UNPKG

@rero/rero-ils-ui

Version:

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

7 lines 252 kB
var Jg=Object.create;var is=Object.defineProperty,Xg=Object.defineProperties,em=Object.getOwnPropertyDescriptor,tm=Object.getOwnPropertyDescriptors,nm=Object.getOwnPropertyNames,jr=Object.getOwnPropertySymbols,rm=Object.getPrototypeOf,ss=Object.prototype.hasOwnProperty,Gc=Object.prototype.propertyIsEnumerable;var Wc=(t,e,n)=>e in t?is(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,G=(t,e)=>{for(var n in e||={})ss.call(e,n)&&Wc(t,n,e[n]);if(jr)for(var n of jr(e))Gc.call(e,n)&&Wc(t,n,e[n]);return t},pe=(t,e)=>Xg(t,tm(e));var yT=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,n)=>(typeof require<"u"?require:e)[n]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var vT=t=>typeof t=="symbol"?t:t+"",Qc=(t,e)=>{var n={};for(var r in t)ss.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&jr)for(var r of jr(t))e.indexOf(r)<0&&Gc.call(t,r)&&(n[r]=t[r]);return n};var ET=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var om=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of nm(e))!ss.call(t,o)&&o!==n&&is(t,o,{get:()=>e[o],enumerable:!(r=em(e,o))||r.enumerable});return t};var IT=(t,e,n)=>(n=t!=null?Jg(rm(t)):{},om(e||!t||!t.__esModule?is(n,"default",{value:t,enumerable:!0}):n,t));var Kc=(t,e,n)=>new Promise((r,o)=>{var i=l=>{try{a(n.next(l))}catch(c){o(c)}},s=l=>{try{a(n.throw(l))}catch(c){o(c)}},a=l=>l.done?r(l.value):Promise.resolve(l.value).then(i,s);a((n=n.apply(t,e)).next())});function us(t,e){return Object.is(t,e)}var Z=null,Hr=!1,ds=1,ae=Symbol("SIGNAL");function M(t){let e=Z;return Z=t,e}function fs(){return Z}var Jt={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,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Xt(t){if(Hr)throw new Error("");if(Z===null)return;Z.consumerOnSignalRead(t);let e=Z.nextProducerIndex++;if(zr(Z),e<Z.producerNode.length&&Z.producerNode[e]!==t&&Bn(Z)){let n=Z.producerNode[e];qr(n,Z.producerIndexOfThis[e])}Z.producerNode[e]!==t&&(Z.producerNode[e]=t,Z.producerIndexOfThis[e]=Bn(Z)?Yc(t,Z,e):0),Z.producerLastReadVersion[e]=t.version}function Zc(){ds++}function ps(t){if(!(Bn(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===ds)){if(!t.producerMustRecompute(t)&&!Ur(t)){cs(t);return}t.producerRecomputeValue(t),cs(t)}}function hs(t){if(t.liveConsumerNode===void 0)return;let e=Hr;Hr=!0;try{for(let n of t.liveConsumerNode)n.dirty||im(n)}finally{Hr=e}}function gs(){return Z?.consumerAllowSignalWrites!==!1}function im(t){t.dirty=!0,hs(t),t.consumerMarkedDirty?.(t)}function cs(t){t.dirty=!1,t.lastCleanEpoch=ds}function $n(t){return t&&(t.nextProducerIndex=0),M(t)}function $r(t,e){if(M(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Bn(t))for(let n=t.nextProducerIndex;n<t.producerNode.length;n++)qr(t.producerNode[n],t.producerIndexOfThis[n]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Ur(t){zr(t);for(let e=0;e<t.producerNode.length;e++){let n=t.producerNode[e],r=t.producerLastReadVersion[e];if(r!==n.version||(ps(n),r!==n.version))return!0}return!1}function Un(t){if(zr(t),Bn(t))for(let e=0;e<t.producerNode.length;e++)qr(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Yc(t,e,n){if(Jc(t),t.liveConsumerNode.length===0&&Xc(t))for(let r=0;r<t.producerNode.length;r++)t.producerIndexOfThis[r]=Yc(t.producerNode[r],t,r);return t.liveConsumerIndexOfThis.push(n),t.liveConsumerNode.push(e)-1}function qr(t,e){if(Jc(t),t.liveConsumerNode.length===1&&Xc(t))for(let r=0;r<t.producerNode.length;r++)qr(t.producerNode[r],t.producerIndexOfThis[r]);let n=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[n],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[n],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let r=t.liveConsumerIndexOfThis[e],o=t.liveConsumerNode[e];zr(o),o.producerIndexOfThis[r]=e}}function Bn(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function zr(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Jc(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Xc(t){return t.producerNode!==void 0}function Wr(t,e){let n=Object.create(sm);n.computation=t,e!==void 0&&(n.equal=e);let r=()=>{if(ps(n),Xt(n),n.value===Br)throw n.error;return n.value};return r[ae]=n,r}var as=Symbol("UNSET"),ls=Symbol("COMPUTING"),Br=Symbol("ERRORED"),sm=pe(G({},Jt),{value:as,dirty:!0,error:null,equal:us,kind:"computed",producerMustRecompute(t){return t.value===as||t.value===ls},producerRecomputeValue(t){if(t.value===ls)throw new Error("Detected cycle in computations.");let e=t.value;t.value=ls;let n=$n(t),r,o=!1;try{r=t.computation(),M(null),o=e!==as&&e!==Br&&r!==Br&&t.equal(e,r)}catch(i){r=Br,t.error=i}finally{$r(t,n)}if(o){t.value=e;return}t.value=r,t.version++}});function am(){throw new Error}var eu=am;function tu(t){eu(t)}function ms(t){eu=t}var lm=null;function ys(t,e){let n=Object.create(Gr);n.value=t,e!==void 0&&(n.equal=e);let r=()=>(Xt(n),n.value);return r[ae]=n,r}function en(t,e){gs()||tu(t),t.equal(t.value,e)||(t.value=e,cm(t))}function vs(t,e){gs()||tu(t),en(t,e(t.value))}var Gr=pe(G({},Jt),{equal:us,value:void 0,kind:"signal"});function cm(t){t.version++,Zc(),hs(t),lm?.()}function Es(t){let e=M(null);try{return t()}finally{M(e)}}var Is;function qn(){return Is}function Qe(t){let e=Is;return Is=t,e}var Qr=Symbol("NotFound");function S(t){return typeof t=="function"}function tn(t){let n=t(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Kr=tn(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription: ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` `)}`:"",this.name="UnsubscriptionError",this.errors=n});function bt(t,e){if(t){let n=t.indexOf(e);0<=n&&t.splice(n,1)}}var z=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(S(r))try{r()}catch(i){e=i instanceof Kr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{nu(i)}catch(s){e=e??[],s instanceof Kr?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Kr(e)}}add(e){var n;if(e&&e!==this)if(this.closed)nu(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}}_hasParent(e){let{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){let{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&bt(n,e)}remove(e){let{_finalizers:n}=this;n&&bt(n,e),e instanceof t&&e._removeParent(this)}};z.EMPTY=(()=>{let t=new z;return t.closed=!0,t})();var _s=z.EMPTY;function Zr(t){return t instanceof z||t&&"closed"in t&&S(t.remove)&&S(t.add)&&S(t.unsubscribe)}function nu(t){S(t)?t():t.unsubscribe()}var Ne={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var nn={setTimeout(t,e,...n){let{delegate:r}=nn;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=nn;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Yr(t){nn.setTimeout(()=>{let{onUnhandledError:e}=Ne;if(e)e(t);else throw t})}function zn(){}var ru=ws("C",void 0,void 0);function ou(t){return ws("E",void 0,t)}function iu(t){return ws("N",t,void 0)}function ws(t,e,n){return{kind:t,value:e,error:n}}var Dt=null;function rn(t){if(Ne.useDeprecatedSynchronousErrorHandling){let e=!Dt;if(e&&(Dt={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=Dt;if(Dt=null,n)throw r}}else t()}function su(t){Ne.useDeprecatedSynchronousErrorHandling&&Dt&&(Dt.errorThrown=!0,Dt.error=t)}var Tt=class extends z{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Zr(e)&&e.add(this)):this.destination=gm}static create(e,n,r){return new Ke(e,n,r)}next(e){this.isStopped?Ds(iu(e),this):this._next(e)}error(e){this.isStopped?Ds(ou(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Ds(ru,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},pm=Function.prototype.bind;function bs(t,e){return pm.call(t,e)}var Ts=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){Jr(r)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){Jr(r)}else Jr(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){Jr(n)}}},Ke=class extends Tt{constructor(e,n,r){super();let o;if(S(e)||!e)o={next:e??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ne.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&bs(e.next,i),error:e.error&&bs(e.error,i),complete:e.complete&&bs(e.complete,i)}):o=e}this.destination=new Ts(o)}};function Jr(t){Ne.useDeprecatedSynchronousErrorHandling?su(t):Yr(t)}function hm(t){throw t}function Ds(t,e){let{onStoppedNotification:n}=Ne;n&&nn.setTimeout(()=>n(t,e))}var gm={closed:!0,next:zn,error:hm,complete:zn};var on=typeof Symbol=="function"&&Symbol.observable||"@@observable";function le(t){return t}function mm(...t){return Ms(t)}function Ms(t){return t.length===0?le:t.length===1?t[0]:function(n){return t.reduce((r,o)=>o(r),n)}}var P=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=vm(n)?n:new Ke(n,r,o);return rn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=au(r),new r((o,i)=>{let s=new Ke({next:a=>{try{n(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[on](){return this}pipe(...n){return Ms(n)(this)}toPromise(n){return n=au(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return t.create=e=>new t(e),t})();function au(t){var e;return(e=t??Ne.Promise)!==null&&e!==void 0?e:Promise}function ym(t){return t&&S(t.next)&&S(t.error)&&S(t.complete)}function vm(t){return t&&t instanceof Tt||ym(t)&&Zr(t)}function Ss(t){return S(t?.lift)}function N(t){return e=>{if(Ss(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function C(t,e,n,r,o){return new Cs(t,e,n,r,o)}var Cs=class extends Tt{constructor(e,n,r,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){e.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function Ns(){return N((t,e)=>{let n=null;t._refCount++;let r=C(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){n=null;return}let o=t._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(r),r.closed||(n=t.connect())})}var xs=class extends P{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ss(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new z;let n=this.getSubject();e.add(this.source.subscribe(C(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=z.EMPTY)}return e}refCount(){return Ns()(this)}};var sn={schedule(t){let e=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=sn;r&&(e=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=e(i=>{n=void 0,t(i)});return new z(()=>n?.(o))},requestAnimationFrame(...t){let{delegate:e}=sn;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=sn;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var lu=tn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Me=(()=>{class t extends P{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Xr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new lu}next(n){rn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){rn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){rn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?_s:(this.currentObservers=null,i.push(n),new z(()=>{this.currentObservers=null,bt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new P;return n.source=this,n}}return t.create=(e,n)=>new Xr(e,n),t})(),Xr=class extends Me{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,e)}error(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,e)}complete(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)}_subscribe(e){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&r!==void 0?r:_s}};var Wn=class extends Me{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){let{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}};var Gn={now(){return(Gn.delegate||Date).now()},delegate:void 0};var Qn=class extends Me{constructor(e=1/0,n=1/0,r=Gn){super(),this._bufferSize=e,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,n)}next(e){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(e),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(e),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!e.closed;s+=r?1:2)e.next(i[s]);return this._checkFinalizedStatuses(e),n}_trimBuffer(){let{_bufferSize:e,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*e;if(e<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}}};var eo=class extends z{constructor(e,n){super()}schedule(e,n=0){return this}};var Kn={setInterval(t,e,...n){let{delegate:r}=Kn;return r?.setInterval?r.setInterval(t,e,...n):setInterval(t,e,...n)},clearInterval(t){let{delegate:e}=Kn;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var an=class extends eo{constructor(e,n){super(e,n),this.scheduler=e,this.work=n,this.pending=!1}schedule(e,n=0){var r;if(this.closed)return this;this.state=e;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(e,n,r=0){return Kn.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Kn.clearInterval(n)}execute(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,n){let r=!1,o;try{this.work(e)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:e,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,bt(r,this),e!=null&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null,super.unsubscribe()}}};var ln=class t{constructor(e,n=t.now){this.schedulerActionCtor=e,this.now=n}schedule(e,n=0,r){return new this.schedulerActionCtor(this,e).schedule(r,n)}};ln.now=Gn.now;var cn=class extends ln{constructor(e,n=ln.now){super(e,n),this.actions=[],this._active=!1}flush(e){let{actions:n}=this;if(this._active){n.push(e);return}let r;this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,r){for(;e=n.shift();)e.unsubscribe();throw r}}};var Mt=new cn(an),cu=Mt;var to=class extends an{constructor(e,n){super(e,n),this.scheduler=e,this.work=n}requestAsyncId(e,n,r=0){return r!==null&&r>0?super.requestAsyncId(e,n,r):(e.actions.push(this),e._scheduled||(e._scheduled=sn.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(e,n,r);let{actions:i}=e;n!=null&&n===e._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(sn.cancelAnimationFrame(n),e._scheduled=void 0)}};var no=class extends cn{flush(e){this._active=!0;let n;e?n=e.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;e=e||r.shift();do if(o=e.execute(e.state,e.delay))break;while((e=r[0])&&e.id===n&&r.shift());if(this._active=!1,o){for(;(e=r[0])&&e.id===n&&r.shift();)e.unsubscribe();throw o}}};var Em=new no(to);var St=new P(t=>t.complete());function ro(t){return t&&S(t.schedule)}function As(t){return t[t.length-1]}function oo(t){return S(As(t))?t.pop():void 0}function Ve(t){return ro(As(t))?t.pop():void 0}function uu(t,e){return typeof As(t)=="number"?t.pop():e}function fu(t,e,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):o(u.value).then(a,l)}c((r=r.apply(t,e||[])).next())})}function du(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ct(t){return this instanceof Ct?(this.v=t,this):new Ct(t)}function pu(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(E,v){i.push([f,g,E,v])>1||l(f,g)})},h&&(o[f]=h(o[f])))}function l(f,h){try{c(r[f](h))}catch(g){p(i[0][3],g)}}function c(f){f.value instanceof Ct?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){l("next",f)}function d(f){l("throw",f)}function p(f,h){f(h),i.shift(),i.length&&l(i[0][0],i[0][1])}}function hu(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof du=="function"?du(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=t[i]&&function(s){return new Promise(function(a,l){s=t[i](s),o(a,l,s.done,s.value)})}}function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}}var io=t=>t&&typeof t.length=="number"&&typeof t!="function";function so(t){return S(t?.then)}function ao(t){return S(t[on])}function lo(t){return Symbol.asyncIterator&&S(t?.[Symbol.asyncIterator])}function co(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Im(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var uo=Im();function fo(t){return S(t?.[uo])}function po(t){return pu(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:o}=yield Ct(n.read());if(o)return yield Ct(void 0);yield yield Ct(r)}}finally{n.releaseLock()}})}function ho(t){return S(t?.getReader)}function V(t){if(t instanceof P)return t;if(t!=null){if(ao(t))return _m(t);if(io(t))return wm(t);if(so(t))return bm(t);if(lo(t))return gu(t);if(fo(t))return Dm(t);if(ho(t))return Tm(t)}throw co(t)}function _m(t){return new P(e=>{let n=t[on]();if(S(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function wm(t){return new P(e=>{for(let n=0;n<t.length&&!e.closed;n++)e.next(t[n]);e.complete()})}function bm(t){return new P(e=>{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,Yr)})}function Dm(t){return new P(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function gu(t){return new P(e=>{Mm(t,e).catch(n=>e.error(n))})}function Tm(t){return gu(po(t))}function Mm(t,e){var n,r,o,i;return fu(this,void 0,void 0,function*(){try{for(n=hu(t);r=yield n.next(),!r.done;){let s=r.value;if(e.next(s),e.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}e.complete()})}function he(t,e,n,r=0,o=!1){let i=e.schedule(function(){n(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(i),!o)return i}function go(t,e=0){return N((n,r)=>{n.subscribe(C(r,o=>he(r,t,()=>r.next(o),e),()=>he(r,t,()=>r.complete(),e),o=>he(r,t,()=>r.error(o),e)))})}function mo(t,e=0){return N((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function mu(t,e){return V(t).pipe(mo(e),go(e))}function yu(t,e){return V(t).pipe(mo(e),go(e))}function vu(t,e){return new P(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function Eu(t,e){return new P(n=>{let r;return he(n,e,()=>{r=t[uo](),he(n,e,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>S(r?.return)&&r.return()})}function yo(t,e){if(!t)throw new Error("Iterable cannot be null");return new P(n=>{he(n,e,()=>{let r=t[Symbol.asyncIterator]();he(n,e,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Iu(t,e){return yo(po(t),e)}function _u(t,e){if(t!=null){if(ao(t))return mu(t,e);if(io(t))return vu(t,e);if(so(t))return yu(t,e);if(lo(t))return yo(t,e);if(fo(t))return Eu(t,e);if(ho(t))return Iu(t,e)}throw co(t)}function je(t,e){return e?_u(t,e):V(t)}function Sm(...t){let e=Ve(t);return je(t,e)}function Cm(t,e){let n=S(t)?t:()=>t,r=o=>o.error(n());return new P(e?o=>e.schedule(r,0,o):r)}function Nm(t){return!!t&&(t instanceof P||S(t.lift)&&S(t.subscribe))}var Nt=tn(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function wu(t){return t instanceof Date&&!isNaN(t)}function ut(t,e){return N((n,r)=>{let o=0;n.subscribe(C(r,i=>{r.next(t.call(e,i,o++))}))})}var{isArray:xm}=Array;function Am(t,e){return xm(e)?t(...e):t(e)}function vo(t){return ut(e=>Am(t,e))}var{isArray:km}=Array,{getPrototypeOf:Rm,prototype:Om,keys:Pm}=Object;function Eo(t){if(t.length===1){let e=t[0];if(km(e))return{args:e,keys:null};if(Fm(e)){let n=Pm(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function Fm(t){return t&&typeof t=="object"&&Rm(t)===Om}function Io(t,e){return t.reduce((n,r,o)=>(n[r]=e[o],n),{})}function Lm(...t){let e=Ve(t),n=oo(t),{args:r,keys:o}=Eo(t);if(r.length===0)return je([],e);let i=new P(Vm(r,e,o?s=>Io(o,s):le));return n?i.pipe(vo(n)):i}function Vm(t,e,n=le){return r=>{bu(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let l=0;l<o;l++)bu(e,()=>{let c=je(t[l],e),u=!1;c.subscribe(C(r,d=>{i[l]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function bu(t,e,n){t?he(n,t,e):e()}function Du(t,e,n,r,o,i,s,a){let l=[],c=0,u=0,d=!1,p=()=>{d&&!l.length&&!c&&e.complete()},f=g=>c<r?h(g):l.push(g),h=g=>{i&&e.next(g),c++;let E=!1;V(n(g,u++)).subscribe(C(e,v=>{o?.(v),i?f(v):e.next(v)},()=>{E=!0},void 0,()=>{if(E)try{for(c--;l.length&&c<r;){let v=l.shift();s?he(e,s,()=>h(v)):h(v)}p()}catch(v){e.error(v)}}))};return t.subscribe(C(e,f,()=>{d=!0,p()})),()=>{a?.()}}function xt(t,e,n=1/0){return S(e)?xt((r,o)=>ut((i,s)=>e(r,i,o,s))(V(t(r,o))),n):(typeof e=="number"&&(n=e),N((r,o)=>Du(r,o,t,n)))}function Zn(t=1/0){return xt(le,t)}function Tu(){return Zn(1)}function _o(...t){return Tu()(je(t,Ve(t)))}function jm(t){return new P(e=>{V(t()).subscribe(e)})}function Hm(...t){let e=oo(t),{args:n,keys:r}=Eo(t),o=new P(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),l=s,c=s;for(let u=0;u<s;u++){let d=!1;V(n[u]).subscribe(C(i,p=>{d||(d=!0,c--),a[u]=p},()=>l--,void 0,()=>{(!l||!d)&&(c||i.next(r?Io(r,a):a),i.complete())}))}});return e?o.pipe(vo(e)):o}function Yn(t=0,e,n=cu){let r=-1;return e!=null&&(ro(e)?n=e:r=e),new P(o=>{let i=wu(t)?+t-n.now():t;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Bm(t=0,e=Mt){return t<0&&(t=0),Yn(t,t,e)}function $m(...t){let e=Ve(t),n=uu(t,1/0),r=t;return r.length?r.length===1?V(r[0]):Zn(n)(je(r,e)):St}function un(t,e){return N((n,r)=>{let o=0;n.subscribe(C(r,i=>t.call(e,i,o++)&&r.next(i)))})}function Mu(t){return N((e,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},l=()=>{i=null,s&&n.complete()};e.subscribe(C(n,c=>{r=!0,o=c,i||V(t(c)).subscribe(i=C(n,a,l))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Um(t,e=Mt){return Mu(()=>Yn(t,e))}function ks(t){return N((e,n)=>{let r=null,o=!1,i;r=e.subscribe(C(n,void 0,void 0,s=>{i=V(t(s,ks(t)(e))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Su(t,e,n,r,o){return(i,s)=>{let a=n,l=e,c=0;i.subscribe(C(s,u=>{let d=c++;l=a?t(l,u,d):(a=!0,u),r&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}function qm(t,e){return S(e)?xt(t,e,1):xt(t,1)}function zm(t,e=Mt){return N((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function l(){let c=s+t,u=e.now();if(u<c){o=this.schedule(void 0,c-u),r.add(o);return}a()}n.subscribe(C(r,c=>{i=c,s=e.now(),o||(o=e.schedule(l,t),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Jn(t){return N((e,n)=>{let r=!1;e.subscribe(C(n,o=>{r=!0,n.next(o)},()=>{r||n.next(t),n.complete()}))})}function Rs(t){return t<=0?()=>St:N((e,n)=>{let r=0;e.subscribe(C(n,o=>{++r<=t&&(n.next(o),t<=r&&n.complete())}))})}function Wm(t,e=le){return t=t??Gm,N((n,r)=>{let o,i=!0;n.subscribe(C(r,s=>{let a=e(s);(i||!t(o,a))&&(i=!1,o=a,r.next(s))}))})}function Gm(t,e){return t===e}function wo(t=Qm){return N((e,n)=>{let r=!1;e.subscribe(C(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(t())))})}function Qm(){return new Nt}function Km(t){return N((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function Zm(t,e){let n=arguments.length>=2;return r=>r.pipe(t?un((o,i)=>t(o,i,r)):le,Rs(1),n?Jn(e):wo(()=>new Nt))}function Os(t){return t<=0?()=>St:N((e,n)=>{let r=[];e.subscribe(C(n,o=>{r.push(o),t<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Ym(t,e){let n=arguments.length>=2;return r=>r.pipe(t?un((o,i)=>t(o,i,r)):le,Os(1),n?Jn(e):wo(()=>new Nt))}function Jm(t,e){return N(Su(t,e,arguments.length>=2,!0))}function Cu(t={}){let{connector:e=()=>new Me,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,l,c=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=l=void 0,u=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return N((g,E)=>{c++,!d&&!u&&p();let v=l=l??e();E.add(()=>{c--,c===0&&!d&&!u&&(a=Ps(h,o))}),v.subscribe(E),!s&&c>0&&(s=new Ke({next:R=>v.next(R),error:R=>{d=!0,p(),a=Ps(f,n,R),v.error(R)},complete:()=>{u=!0,p(),a=Ps(f,r),v.complete()}}),V(g).subscribe(s))})(i)}}function Ps(t,e,...n){if(e===!0){t();return}if(e===!1)return;let r=new Ke({next:()=>{r.unsubscribe(),t()}});return V(e(...n)).subscribe(r)}function Xm(t,e,n){let r,o=!1;return t&&typeof t=="object"?{bufferSize:r=1/0,windowTime:e=1/0,refCount:o=!1,scheduler:n}=t:r=t??1/0,Cu({connector:()=>new Qn(r,e,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function ey(...t){let e=Ve(t);return N((n,r)=>{(e?_o(t,n,e):_o(t,n)).subscribe(r)})}function Nu(t,e){return N((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(C(r,l=>{o?.unsubscribe();let c=0,u=i++;V(t(l,u)).subscribe(o=C(r,d=>r.next(e?e(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ty(t){return N((e,n)=>{V(t).subscribe(C(n,()=>n.complete(),zn)),!n.closed&&e.subscribe(n)})}function xu(t,e,n){let r=S(t)||e||n?{next:t,error:e,complete:n}:t;return r?N((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(C(i,l=>{var c;(c=r.next)===null||c===void 0||c.call(r,l),i.next(l)},()=>{var l;a=!1,(l=r.complete)===null||l===void 0||l.call(r),i.complete()},l=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,l),i.error(l)},()=>{var l,c;a&&((l=r.unsubscribe)===null||l===void 0||l.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):le}var Fd="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(e,n){super(Ld(e,n)),this.code=e}};function ny(t){return`NG0${Math.abs(t)}`}function Ld(t,e){return`${ny(t)}${e?": "+e:""}`}var hi=Symbol("InputSignalNode#UNSET"),Vd=pe(G({},Gr),{transformFn:void 0,applyValueToInputSignal(t,e){en(t,e)}});function jd(t,e){let n=Object.create(Vd);n.value=t,n.transformFn=e?.transform;function r(){if(Xt(n),n.value===hi){let o=null;throw new m(-950,o)}return n.value}return r[ae]=n,r}function vr(t){return{toString:t}.toString()}var bo="__parameters__";function ry(t){return function(...n){if(t){let r=t(...n);for(let o in r)this[o]=r[o]}}}function Hd(t,e,n){return vr(()=>{let r=ry(e);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(l,c,u){let d=l.hasOwnProperty(bo)?l[bo]:Object.defineProperty(l,bo,{value:[]})[bo];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var Ze=globalThis;function j(t){for(let e in t)if(t[e]===j)return e;throw Error("Could not find renamed property on target object.")}function oy(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function ye(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(ye).join(", ")}]`;if(t==null)return""+t;let e=t.overriddenName||t.name;if(e)return`${e}`;let n=t.toString();if(n==null)return""+n;let r=n.indexOf(` `);return r>=0?n.slice(0,r):n}function Js(t,e){return t?e?`${t} ${e}`:t:e||""}var iy=j({__forward_ref__:j});function Bd(t){return t.__forward_ref__=Bd,t.toString=function(){return ye(this())},t}function ee(t){return $d(t)?t():t}function $d(t){return typeof t=="function"&&t.hasOwnProperty(iy)&&t.__forward_ref__===Bd}function U(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function sy(t){return{providers:t.providers||[],imports:t.imports||[]}}function gi(t){return Au(t,Ud)||Au(t,qd)}function Gk(t){return gi(t)!==null}function Au(t,e){return t.hasOwnProperty(e)?t[e]:null}function ay(t){let e=t&&(t[Ud]||t[qd]);return e||null}function ku(t){return t&&(t.hasOwnProperty(Ru)||t.hasOwnProperty(ly))?t[Ru]:null}var Ud=j({\u0275prov:j}),Ru=j({\u0275inj:j}),qd=j({ngInjectableDef:j}),ly=j({ngInjectorDef:j}),F=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(e,n){this._desc=e,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=U({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function zd(t){return t&&!!t.\u0275providers}var cy=j({\u0275cmp:j}),uy=j({\u0275dir:j}),dy=j({\u0275pipe:j}),fy=j({\u0275mod:j}),Po=j({\u0275fac:j}),nr=j({__NG_ELEMENT_ID__:j}),Ou=j({__NG_ENV_ID__:j});function Pt(t){return typeof t=="string"?t:t==null?"":String(t)}function py(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Pt(t)}function Wd(t,e){throw new m(-200,t)}function ul(t,e){throw new m(-201,!1)}var k=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(k||{}),Xs;function Gd(){return Xs}function ge(t){let e=Xs;return Xs=t,e}function Qd(t,e,n){let r=gi(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&k.Optional)return null;if(e!==void 0)return e;ul(t,"Injector")}var hy={},Rt=hy,ea="__NG_DI_FLAG__",Fo=class{injector;constructor(e){this.injector=e}retrieve(e,n){let r=n;return this.injector.get(e,r.optional?Qr:Rt,r)}},Lo="ngTempTokenPath",gy="ngTokenPath",my=/\n/gm,yy="\u0275",Pu="__source";function vy(t,e=k.Default){if(qn()===void 0)throw new m(-203,!1);if(qn()===null)return Qd(t,void 0,e);{let n=qn(),r;return n instanceof Fo?r=n.injector:r=n,r.get(t,e&k.Optional?null:void 0,e)}}function we(t,e=k.Default){return(Gd()||vy)(ee(t),e)}function A(t,e=k.Default){return we(t,mi(e))}function mi(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function ta(t){let e=[];for(let n=0;n<t.length;n++){let r=ee(t[n]);if(Array.isArray(r)){if(r.length===0)throw new m(900,!1);let o,i=k.Default;for(let s=0;s<r.length;s++){let a=r[s],l=Ey(a);typeof l=="number"?l===-1?o=a.token:i|=l:o=a}e.push(we(o,i))}else e.push(we(r))}return e}function Kd(t,e){return t[ea]=e,t.prototype[ea]=e,t}function Ey(t){return t[ea]}function Iy(t,e,n,r){let o=t[Lo];throw e[Pu]&&o.unshift(e[Pu]),t.message=_y(` `+t.message,o,n,r),t[gy]=o,t[Lo]=null,t}function _y(t,e,n,r=null){t=t&&t.charAt(0)===` `&&t.charAt(1)==yy?t.slice(2):t;let o=ye(e);if(Array.isArray(e))o=e.map(ye).join(" -> ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ye(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(my,` `)}`}var Zd=Kd(Hd("Optional"),8);var Yd=Kd(Hd("SkipSelf"),4);function Ft(t,e){let n=t.hasOwnProperty(Po);return n?t[Po]:null}function wy(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++){let o=t[r],i=e[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function by(t){return t.flat(Number.POSITIVE_INFINITY)}function dl(t,e){t.forEach(n=>Array.isArray(n)?dl(n,e):e(n))}function Jd(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Vo(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Dy(t,e){let n=[];for(let r=0;r<t;r++)n.push(e);return n}function Ty(t,e,n,r){let o=t.length;if(o==e)t.push(n,r);else if(o===1)t.push(r,t[0]),t[0]=n;else{for(o--,t.push(t[o-1],t[o]);o>e;){let i=o-2;t[o]=t[i],o--}t[e]=n,t[e+1]=r}}function Er(t,e,n){let r=Ir(t,e);return r>=0?t[r|1]=n:(r=~r,Ty(t,r,e,n)),r}function Fs(t,e){let n=Ir(t,e);if(n>=0)return t[n|1]}function Ir(t,e){return My(t,e,1)}function My(t,e,n){let r=0,o=t.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=t[i<<n];if(e===s)return i<<n;s>e?o=i:r=i+1}return~(o<<n)}var Be={},ce=[],jo=new F(""),Xd=new F("",-1),ef=new F(""),Ho=class{get(e,n=Rt){if(n===Rt){let r=new Error(`NullInjectorError: No provider for ${ye(e)}!`);throw r.name="NullInjectorError",r}return n}};function tf(t,e){let n=t[fy]||null;if(!n&&e===!0)throw new Error(`Type ${ye(t)} does not have '\u0275mod' property.`);return n}function Ye(t){return t[cy]||null}function fl(t){return t[uy]||null}function nf(t){return t[dy]||null}function Sy(t){return{\u0275providers:t}}function Cy(...t){return{\u0275providers:pl(!0,t),\u0275fromNgModule:!0}}function pl(t,...e){let n=[],r=new Set,o,i=s=>{n.push(s)};return dl(e,s=>{let a=s;na(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&rf(o,i),n}function rf(t,e){for(let n=0;n<t.length;n++){let{ngModule:r,providers:o}=t[n];hl(o,i=>{e(i,r)})}}function na(t,e,n,r){if(t=ee(t),!t)return!1;let o=null,i=ku(t),s=!i&&Ye(t);if(!i&&!s){let l=t.ngModule;if(i=ku(l),i)o=l;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)na(c,e,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{dl(i.imports,u=>{na(u,e,n,r)&&(c||=[],c.push(u))})}finally{}c!==void 0&&rf(c,e)}if(!a){let c=Ft(o)||(()=>new o);e({provide:o,useFactory:c,deps:ce},o),e({provide:ef,useValue:o,multi:!0},o),e({provide:jo,useValue:()=>we(o),multi:!0},o)}let l=i.providers;if(l!=null&&!a){let c=t;hl(l,u=>{e(u,c)})}}else return!1;return o!==t&&t.providers!==void 0}function hl(t,e){for(let n of t)zd(n)&&(n=n.\u0275providers),Array.isArray(n)?hl(n,e):e(n)}var Ny=j({provide:String,useValue:j});function of(t){return t!==null&&typeof t=="object"&&Ny in t}function xy(t){return!!(t&&t.useExisting)}function Ay(t){return!!(t&&t.useFactory)}function vn(t){return typeof t=="function"}function ky(t){return!!t.useClass}var sf=new F(""),No={},Fu={},Ls;function yi(){return Ls===void 0&&(Ls=new Ho),Ls}var Je=class{},ir=class extends Je{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,oa(e,s=>this.processProvider(s)),this.records.set(Xd,dn(void 0,this)),o.has("environment")&&this.records.set(Je,dn(void 0,this));let i=this.records.get(sf);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ef,ce,k.Self))}retrieve(e,n){let r=n;return this.get(e,r.optional?Qr:Rt,r)}destroy(){er(this),this._destroyed=!0;let e=M(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),M(e)}}onDestroy(e){return er(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){er(this);let n=Qe(this),r=ge(void 0),o;try{return e()}finally{Qe(n),ge(r)}}get(e,n=Rt,r=k.Default){if(er(this),e.hasOwnProperty(Ou))return e[Ou](this);r=mi(r);let o,i=Qe(this),s=ge(void 0);try{if(!(r&k.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=Ly(e)&&gi(e);c&&this.injectableDefInScope(c)?l=dn(ra(e),No):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l,r)}let a=r&k.Self?yi():this.parent;return n=r&k.Optional&&n===Rt?null:n,a.get(e,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Lo]=a[Lo]||[]).unshift(ye(e)),i)throw a;return Iy(a,e,"R3InjectorError",this.source)}else throw a}finally{ge(s),Qe(i)}}resolveInjectorInitializers(){let e=M(null),n=Qe(this),r=ge(void 0),o;try{let i=this.get(jo,ce,k.Self);for(let s of i)s()}finally{Qe(n),ge(r),M(e)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push(ye(r));return`R3Injector[${e.join(", ")}]`}processProvider(e){e=ee(e);let n=vn(e)?e:ee(e&&e.provide),r=Oy(e);if(!vn(e)&&e.multi===!0){let o=this.records.get(n);o||(o=dn(void 0,No,!0),o.factory=()=>ta(o.multi),this.records.set(n,o)),n=e,o.multi.push(e)}this.records.set(n,r)}hydrate(e,n,r){let o=M(null);try{return n.value===Fu?Wd(ye(e)):n.value===No&&(n.value=Fu,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Fy(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{M(o)}}injectableDefInScope(e){if(!e.providedIn)return!1;let n=ee(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function ra(t){let e=gi(t),n=e!==null?e.factory:Ft(t);if(n!==null)return n;if(t instanceof F)throw new m(204,!1);if(t instanceof Function)return Ry(t);throw new m(204,!1)}function Ry(t){if(t.length>0)throw new m(204,!1);let n=ay(t);return n!==null?()=>n.factory(t):()=>new t}function Oy(t){if(of(t))return dn(void 0,t.useValue);{let e=af(t);return dn(e,No)}}function af(t,e,n){let r;if(vn(t)){let o=ee(t);return Ft(o)||ra(o)}else if(of(t))r=()=>ee(t.useValue);else if(Ay(t))r=()=>t.useFactory(...ta(t.deps||[]));else if(xy(t))r=(o,i)=>we(ee(t.useExisting),i!==void 0&&i&k.Optional?k.Optional:void 0);else{let o=ee(t&&(t.useClass||t.provide));if(Py(t))r=()=>new o(...ta(t.deps));else return Ft(o)||ra(o)}return r}function er(t){if(t.destroyed)throw new m(205,!1)}function dn(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Py(t){return!!t.deps}function Fy(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function Ly(t){return typeof t=="function"||typeof t=="object"&&t instanceof F}function oa(t,e){for(let n of t)Array.isArray(n)?oa(n,e):n&&zd(n)?oa(n.\u0275providers,e):e(n)}function lf(t,e){let n;t instanceof ir?(er(t),n=t):n=new Fo(t);let r,o=Qe(n),i=ge(void 0);try{return e()}finally{Qe(o),ge(i)}}function gl(){return Gd()!==void 0||qn()!=null}function cf(t){if(!gl())throw new m(-203,!1)}function Vy(t){let e=Ze.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}var Qk=Function;function jy(t){return typeof t=="function"}var rt=0,w=1,D=2,te=3,Ae=4,ve=5,En=6,Bo=7,J=8,ke=9,Xe=10,B=11,sr=12,Lu=13,Mn=14,be=15,Lt=16,fn=17,et=18,vi=19,uf=20,ft=21,Vs=22,Vt=23,Se=24,gn=25,$=26,df=1,ar=6,jt=7,$o=8,In=9,re=10;function pt(t){return Array.isArray(t)&&typeof t[df]=="object"}function ot(t){return Array.isArray(t)&&t[df]===!0}function ml(t){return(t.flags&4)!==0}function Sn(t){return t.componentOffset>-1}function Ei(t){return(t.flags&1)===1}function $e(t){return!!t.template}function Uo(t){return(t[D]&512)!==0}function Wt(t){return(t[D]&256)===256}var ia=class{previousValue;currentValue;firstChange;constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function ff(t,e,n,r){e!==null?e.applyValueToInputSignal(e,r):t[n]=r}var Kk=(()=>{let t=()=>pf;return t.ngInherit=!0,t})();function pf(t){return t.type.prototype.ngOnChanges&&(t.setInput=By),Hy}function Hy(){let t=gf(this),e=t?.current;if(e){let n=t.previous;if(n===Be)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function By(t,e,n,r,o){let i=this.declaredInputs[r],s=gf(t)||$y(t,{previous:Be,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[i];a[i]=new ia(c&&c.currentValue,n,l===Be),ff(t,e,o,n)}var hf="__ngSimpleChanges__";function gf(t){return t[hf]||null}function $y(t,e){return t[hf]=e}var Vu=null;var L=function(t,e=null,n){Vu?.(t,e,n)},mf="svg",Uy="math";function Ue(t){for(;Array.isArray(t);)t=t[rt];return t}function yf(t,e){return Ue(e[t])}function ze(t,e){return Ue(e[t.index])}function _r(t,e){return t.data[e]}function Ii(t,e){return t[e]}function vf(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}function qe(t,e){let n=e[t];return pt(n)?n:n[rt]}function qy(t){return(t[D]&4)===4}function yl(t){return(t[D]&128)===128}function zy(t){return ot(t[te])}function ht(t,e){return e==null?null:t[e]}function Ef(t){t[fn]=0}function vl(t){t[D]&1024||(t[D]|=1024,yl(t)&&Cn(t))}function Wy(t,e){for(;t>0;)e=e[Mn],t--;return e}function wr(t){return!!(t[D]&9216||t[Se]?.dirty)}function sa(t){t[Xe].changeDetectionScheduler?.notify(8),t[D]&64&&(t[D]|=1024),wr(t)&&Cn(t)}function Cn(t){t[Xe].changeDetectionScheduler?.notify(0);let e=Ht(t);for(;e!==null&&!(e[D]&8192||(e[D]|=8192,!yl(e)));)e=Ht(e)}function El(t,e){if(Wt(t))throw new m(911,!1);t[ft]===null&&(t[ft]=[]),t[ft].push(e)}function If(t,e){if(t[ft]===null)return;let n=t[ft].indexOf(e);n!==-1&&t[ft].splice(n,1)}function Ht(t){let e=t[te];return ot(e)?e[te]:e}function Il(t){return t[Bo]??=[]}function _l(t){return t.cleanup??=[]}function Gy(t,e,n,r){let o=Il(e);o.push(n),t.firstCreatePass&&_l(t).push(r,o.length-1)}var x={lFrame:Mf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var aa=!1;function Qy(){return x.lFrame.elementDepthCount}function Ky(){x.lFrame.elementDepthCount++}function Zy(){x.lFrame.elementDepthCount--}function wl(){return x.bindingsEnabled}function _f(){return x.skipHydrationRootTNode!==null}function Yy(t){return x.skipHydrationRootTNode===t}function Jy(){x.skipHydrationRootTNode=null}function I(){return x.lFrame.lView}function H(){return x.lFrame.tView}function Zk(t){return x.lFrame.contextLView=t,t[J]}function Yk(t){return x.lFrame.contextLView=null,t}function ie(){let t=wf();for(;t!==null&&t.type===64;)t=t.parent;return t}function wf(){return x.lFrame.currentTNode}function Xy(){let t=x.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function yt(t,e){let n=x.lFrame;n.currentTNode=t,n.isParent=e}function bl(){return x.lFrame.isParent}function Dl(){x.lFrame.isParent=!1}function ev(){return x.lFrame.contextLView}function bf(){return aa}function qo(t){let e=aa;return aa=t,e}function We(){let t=x.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function tv(){return x.lFrame.bindingIndex}function nv(t){return x.lFrame.bindingIndex=t}function vt(){return x.lFrame.bindingIndex++}function Tl(t){let e=x.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function rv(){return x.lFrame.inI18n}function ov(t,e){let n=x.lFrame;n.bindingIndex=n.bindingRootIndex=t,la(e)}function iv(){return x.lFrame.currentDirectiveIndex}function la(t){x.lFrame.currentDirectiveIndex=t}function sv(t){let e=x.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Ml(){return x.lFrame.currentQueryIndex}function _i(t){x.lFrame.currentQueryIndex=t}function av(t){let e=t[w];return e.type===2?e.declTNode:e.type===1?t[ve]:null}function Df(t,e,n){if(n&k.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(n&k.Host);)if(o=av(i),o===null||(i=i[Mn],o.type&10))break;if(o===null)return!1;e=o,t=i}let r=x.lFrame=Tf();return r.currentTNode=e,r.lView=t,!0}function Sl(t){let e=Tf(),n=t[w];x.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Tf(){let t=x.lFrame,e=t===null?null:t.child;return e===null?Mf(t):e}function Mf(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Sf(){let t=x.lFrame;return x.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Cf=Sf;function Cl(){let t=Sf();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function lv(t){return(x.lFrame.contextLView=Wy(t,x.lFrame.contextLView))[J]}function it(){return x.lFrame.selectedIndex}function Bt(t){x.lFrame.selectedIndex=t}function Gt(){let t=x.lFrame;return _r(t.tView,t.selectedIndex)}function Jk(){x.lFrame.currentNamespace=mf}function cv(){return x.lFrame.currentNamespace}var Nf=!0;function wi(){return Nf}function bi(t){Nf=t}function uv(t,e,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){let s=pf(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}o&&(n.preOrderHooks??=[]).push(0-t,o),i&&((n.preOrderHooks??=[]).push(t,i),(n.preOrderCheckHooks??=[]).push(t,i))}function Nl(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){let i=t.da