@rero/rero-ils-ui
Version:
User interface for RERO integrated library system (RERO ILS).
7 lines • 192 kB
JavaScript
var Dp=Object.create;var ti=Object.defineProperty,wp=Object.defineProperties,bp=Object.getOwnPropertyDescriptor,Mp=Object.getOwnPropertyDescriptors,_p=Object.getOwnPropertyNames,er=Object.getOwnPropertySymbols,Cp=Object.getPrototypeOf,ni=Object.prototype.hasOwnProperty,ic=Object.prototype.propertyIsEnumerable;var oc=(e,t,n)=>t in e?ti(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,G=(e,t)=>{for(var n in t||={})ni.call(t,n)&&oc(e,n,t[n]);if(er)for(var n of er(t))ic.call(t,n)&&oc(e,n,t[n]);return e},ne=(e,t)=>wp(e,Mp(t));var YD=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var JD=e=>typeof e=="symbol"?e:e+"",KD=(e,t)=>{var n={};for(var r in e)ni.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&er)for(var r of er(e))t.indexOf(r)<0&&ic.call(e,r)&&(n[r]=e[r]);return n};var XD=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var xp=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of _p(t))!ni.call(e,o)&&o!==n&&ti(e,o,{get:()=>t[o],enumerable:!(r=bp(t,o))||r.enumerable});return e};var ew=(e,t,n)=>(n=e!=null?Dp(Cp(e)):{},xp(t||!e||!e.__esModule?ti(n,"default",{value:e,enumerable:!0}):n,e));var sc=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(l){o(l)}},s=c=>{try{a(n.throw(c))}catch(l){o(l)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function si(e,t){return Object.is(e,t)}var H=null,tr=!1,ai=1,J=Symbol("SIGNAL");function w(e){let t=H;return H=e,t}function ci(){return H}var bt={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 Mt(e){if(tr)throw new Error("");if(H===null)return;H.consumerOnSignalRead(e);let t=H.nextProducerIndex++;if(sr(H),t<H.producerNode.length&&H.producerNode[t]!==e&&gn(H)){let n=H.producerNode[t];ir(n,H.producerIndexOfThis[t])}H.producerNode[t]!==e&&(H.producerNode[t]=e,H.producerIndexOfThis[t]=gn(H)?cc(e,H,t):0),H.producerLastReadVersion[t]=e.version}function ac(){ai++}function li(e){if(!(gn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ai)){if(!e.producerMustRecompute(e)&&!or(e)){ii(e);return}e.producerRecomputeValue(e),ii(e)}}function ui(e){if(e.liveConsumerNode===void 0)return;let t=tr;tr=!0;try{for(let n of e.liveConsumerNode)n.dirty||Tp(n)}finally{tr=t}}function di(){return H?.consumerAllowSignalWrites!==!1}function Tp(e){e.dirty=!0,ui(e),e.consumerMarkedDirty?.(e)}function ii(e){e.dirty=!1,e.lastCleanEpoch=ai}function mn(e){return e&&(e.nextProducerIndex=0),w(e)}function rr(e,t){if(w(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(gn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)ir(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function or(e){sr(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(li(n),r!==n.version))return!0}return!1}function yn(e){if(sr(e),gn(e))for(let t=0;t<e.producerNode.length;t++)ir(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function cc(e,t,n){if(lc(e),e.liveConsumerNode.length===0&&uc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=cc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function ir(e,t){if(lc(e),e.liveConsumerNode.length===1&&uc(e))for(let r=0;r<e.producerNode.length;r++)ir(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];sr(o),o.producerIndexOfThis[r]=t}}function gn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function sr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function lc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function uc(e){return e.producerNode!==void 0}function ar(e,t){let n=Object.create(Np);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(li(n),Mt(n),n.value===nr)throw n.error;return n.value};return r[J]=n,r}var ri=Symbol("UNSET"),oi=Symbol("COMPUTING"),nr=Symbol("ERRORED"),Np=ne(G({},bt),{value:ri,dirty:!0,error:null,equal:si,kind:"computed",producerMustRecompute(e){return e.value===ri||e.value===oi},producerRecomputeValue(e){if(e.value===oi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=oi;let n=mn(e),r,o=!1;try{r=e.computation(),w(null),o=t!==ri&&t!==nr&&r!==nr&&e.equal(t,r)}catch(i){r=nr,e.error=i}finally{rr(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Sp(){throw new Error}var dc=Sp;function fc(e){dc(e)}function fi(e){dc=e}var kp=null;function pi(e,t){let n=Object.create(cr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>(Mt(n),n.value);return r[J]=n,r}function _t(e,t){di()||fc(e),e.equal(e.value,t)||(e.value=t,Rp(e))}function hi(e,t){di()||fc(e),_t(e,t(e.value))}var cr=ne(G({},bt),{equal:si,value:void 0,kind:"signal"});function Rp(e){e.version++,ac(),ui(e),kp?.()}function gi(e){let t=w(null);try{return e()}finally{w(t)}}var mi;function vn(){return mi}function ke(e){let t=mi;return mi=e,t}var lr=Symbol("NotFound");function y(e){return typeof e=="function"}function Ct(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var ur=Ct(e=>function(n){e(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 Xe(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var j=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(y(r))try{r()}catch(i){t=i instanceof ur?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{pc(i)}catch(s){t=t??[],s instanceof ur?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ur(t)}}add(t){var n;if(t&&t!==this)if(this.closed)pc(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Xe(n,t)}remove(t){let{_finalizers:n}=this;n&&Xe(n,t),t instanceof e&&t._removeParent(this)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var yi=j.EMPTY;function dr(e){return e instanceof j||e&&"closed"in e&&y(e.remove)&&y(e.add)&&y(e.unsubscribe)}function pc(e){y(e)?e():e.unsubscribe()}var he={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var xt={setTimeout(e,t,...n){let{delegate:r}=xt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=xt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function fr(e){xt.setTimeout(()=>{let{onUnhandledError:t}=he;if(t)t(e);else throw e})}function ge(){}var hc=vi("C",void 0,void 0);function gc(e){return vi("E",void 0,e)}function mc(e){return vi("N",e,void 0)}function vi(e,t,n){return{kind:e,value:t,error:n}}var et=null;function Tt(e){if(he.useDeprecatedSynchronousErrorHandling){let t=!et;if(t&&(et={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=et;if(et=null,n)throw r}}else e()}function yc(e){he.useDeprecatedSynchronousErrorHandling&&et&&(et.errorThrown=!0,et.error=e)}var tt=class extends j{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,dr(t)&&t.add(this)):this.destination=jp}static create(t,n,r){return new Re(t,n,r)}next(t){this.isStopped?Ei(mc(t),this):this._next(t)}error(t){this.isStopped?Ei(gc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ei(hc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Fp=Function.prototype.bind;function Ii(e,t){return Fp.call(e,t)}var Di=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){pr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){pr(r)}else pr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){pr(n)}}},Re=class extends tt{constructor(t,n,r){super();let o;if(y(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&he.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ii(t.next,i),error:t.error&&Ii(t.error,i),complete:t.complete&&Ii(t.complete,i)}):o=t}this.destination=new Di(o)}};function pr(e){he.useDeprecatedSynchronousErrorHandling?yc(e):fr(e)}function Lp(e){throw e}function Ei(e,t){let{onStoppedNotification:n}=he;n&&xt.setTimeout(()=>n(e,t))}var jp={closed:!0,next:ge,error:Lp,complete:ge};var Nt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function K(e){return e}function Vp(...e){return wi(e)}function wi(e){return e.length===0?K:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var T=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Bp(n)?n:new Re(n,r,o);return Tt(()=>{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=vc(r),new r((o,i)=>{let s=new Re({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Nt](){return this}pipe(...n){return wi(n)(this)}toPromise(n){return n=vc(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function vc(e){var t;return(t=e??he.Promise)!==null&&t!==void 0?t:Promise}function Hp(e){return e&&y(e.next)&&y(e.error)&&y(e.complete)}function Bp(e){return e&&e instanceof tt||Hp(e)&&dr(e)}function bi(e){return y(e?.lift)}function I(e){return t=>{if(bi(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function E(e,t,n,r,o){return new Mi(e,t,n,r,o)}var Mi=class extends tt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function _i(){return I((e,t)=>{let n=null;e._refCount++;let r=E(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Ci=class extends T{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,bi(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new j;let n=this.getSubject();t.add(this.source.subscribe(E(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=j.EMPTY)}return t}refCount(){return _i()(this)}};var St={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=St;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new j(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=St;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=St;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Ic=Ct(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ue=(()=>{class e extends T{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new hr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ic}next(n){Tt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Tt(()=>{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(){Tt(()=>{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?yi:(this.currentObservers=null,i.push(n),new j(()=>{this.currentObservers=null,Xe(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new T;return n.source=this,n}}return e.create=(t,n)=>new hr(t,n),e})(),hr=class extends ue{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:yi}};var In=class extends ue{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var En={now(){return(En.delegate||Date).now()},delegate:void 0};var Dn=class extends ue{constructor(t=1/0,n=1/0,r=En){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var gr=class extends j{constructor(t,n){super()}schedule(t,n=0){return this}};var wn={setInterval(e,t,...n){let{delegate:r}=wn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=wn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var kt=class extends gr{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return wn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&wn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Xe(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Rt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Rt.now=En.now;var Ot=class extends Rt{constructor(t,n=Rt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Oe=new Ot(kt),Ec=Oe;var mr=class extends kt{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=St.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(St.cancelAnimationFrame(n),t._scheduled=void 0)}};var yr=class extends Ot{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var $p=new yr(mr);var nt=new T(e=>e.complete());function vr(e){return e&&y(e.schedule)}function xi(e){return e[e.length-1]}function Ir(e){return y(xi(e))?e.pop():void 0}function Ee(e){return vr(xi(e))?e.pop():void 0}function Dc(e,t){return typeof xi(e)=="number"?e.pop():t}function bc(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function wc(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function rt(e){return this instanceof rt?(this.v=e,this):new rt(e)}function Mc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(m){return new Promise(function(N,_){i.push([f,m,N,_])>1||c(f,m)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(m){p(i[0][3],m)}}function l(f){f.value instanceof rt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function _c(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof wc=="function"?wc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var At=e=>e&&typeof e.length=="number"&&typeof e!="function";function Er(e){return y(e?.then)}function Dr(e){return y(e[Nt])}function wr(e){return Symbol.asyncIterator&&y(e?.[Symbol.asyncIterator])}function br(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Up(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Mr=Up();function _r(e){return y(e?.[Mr])}function Cr(e){return Mc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield rt(n.read());if(o)return yield rt(void 0);yield yield rt(r)}}finally{n.releaseLock()}})}function xr(e){return y(e?.getReader)}function k(e){if(e instanceof T)return e;if(e!=null){if(Dr(e))return qp(e);if(At(e))return Wp(e);if(Er(e))return zp(e);if(wr(e))return Cc(e);if(_r(e))return Gp(e);if(xr(e))return Qp(e)}throw br(e)}function qp(e){return new T(t=>{let n=e[Nt]();if(y(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Wp(e){return new T(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function zp(e){return new T(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,fr)})}function Gp(e){return new T(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Cc(e){return new T(t=>{Zp(e,t).catch(n=>t.error(n))})}function Qp(e){return Cc(Cr(e))}function Zp(e,t){var n,r,o,i;return bc(this,void 0,void 0,function*(){try{for(n=_c(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function re(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Tr(e,t=0){return I((n,r)=>{n.subscribe(E(r,o=>re(r,e,()=>r.next(o),t),()=>re(r,e,()=>r.complete(),t),o=>re(r,e,()=>r.error(o),t)))})}function Nr(e,t=0){return I((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function xc(e,t){return k(e).pipe(Nr(t),Tr(t))}function Tc(e,t){return k(e).pipe(Nr(t),Tr(t))}function Nc(e,t){return new T(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Sc(e,t){return new T(n=>{let r;return re(n,t,()=>{r=e[Mr](),re(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>y(r?.return)&&r.return()})}function Sr(e,t){if(!e)throw new Error("Iterable cannot be null");return new T(n=>{re(n,t,()=>{let r=e[Symbol.asyncIterator]();re(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function kc(e,t){return Sr(Cr(e),t)}function Rc(e,t){if(e!=null){if(Dr(e))return xc(e,t);if(At(e))return Nc(e,t);if(Er(e))return Tc(e,t);if(wr(e))return Sr(e,t);if(_r(e))return Sc(e,t);if(xr(e))return kc(e,t)}throw br(e)}function De(e,t){return t?Rc(e,t):k(e)}function Yp(...e){let t=Ee(e);return De(e,t)}function Jp(e,t){let n=y(e)?e:()=>e,r=o=>o.error(n());return new T(t?o=>t.schedule(r,0,o):r)}function Kp(e){return!!e&&(e instanceof T||y(e.lift)&&y(e.subscribe))}var ot=Ct(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Oc(e){return e instanceof Date&&!isNaN(e)}function we(e,t){return I((n,r)=>{let o=0;n.subscribe(E(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Xp}=Array;function eh(e,t){return Xp(t)?e(...t):e(t)}function Pt(e){return we(t=>eh(e,t))}var{isArray:th}=Array,{getPrototypeOf:nh,prototype:rh,keys:oh}=Object;function kr(e){if(e.length===1){let t=e[0];if(th(t))return{args:t,keys:null};if(ih(t)){let n=oh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function ih(e){return e&&typeof e=="object"&&nh(e)===rh}function Rr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function sh(...e){let t=Ee(e),n=Ir(e),{args:r,keys:o}=kr(e);if(r.length===0)return De([],t);let i=new T(ah(r,t,o?s=>Rr(o,s):K));return n?i.pipe(Pt(n)):i}function ah(e,t,n=K){return r=>{Ac(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Ac(t,()=>{let l=De(e[c],t),u=!1;l.subscribe(E(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ac(e,t,n){e?re(n,e,t):t()}function Pc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=m=>l<r?h(m):c.push(m),h=m=>{i&&t.next(m),l++;let N=!1;k(n(m,u++)).subscribe(E(t,_=>{o?.(_),i?f(_):t.next(_)},()=>{N=!0},void 0,()=>{if(N)try{for(l--;c.length&&l<r;){let _=c.shift();s?re(t,s,()=>h(_)):h(_)}p()}catch(_){t.error(_)}}))};return e.subscribe(E(t,f,()=>{d=!0,p()})),()=>{a?.()}}function de(e,t,n=1/0){return y(t)?de((r,o)=>we((i,s)=>t(r,i,o,s))(k(e(r,o))),n):(typeof t=="number"&&(n=t),I((r,o)=>Pc(r,o,e,n)))}function bn(e=1/0){return de(K,e)}function Fc(){return bn(1)}function Ft(...e){return Fc()(De(e,Ee(e)))}function ch(e){return new T(t=>{k(e()).subscribe(t)})}function lh(...e){let t=Ir(e),{args:n,keys:r}=kr(e),o=new T(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;k(n[u]).subscribe(E(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Rr(r,a):a),i.complete())}))}});return t?o.pipe(Pt(t)):o}var uh=["addListener","removeListener"],dh=["addEventListener","removeEventListener"],fh=["on","off"];function Ti(e,t,n,r){if(y(n)&&(r=n,n=void 0),r)return Ti(e,t,n).pipe(Pt(r));let[o,i]=gh(e)?dh.map(s=>a=>e[s](t,a,n)):ph(e)?uh.map(Lc(e,t)):hh(e)?fh.map(Lc(e,t)):[];if(!o&&At(e))return de(s=>Ti(s,t,n))(k(e));if(!o)throw new TypeError("Invalid event target");return new T(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Lc(e,t){return n=>r=>e[n](t,r)}function ph(e){return y(e.addListener)&&y(e.removeListener)}function hh(e){return y(e.on)&&y(e.off)}function gh(e){return y(e.addEventListener)&&y(e.removeEventListener)}function it(e=0,t,n=Ec){let r=-1;return t!=null&&(vr(t)?n=t:r=t),new T(o=>{let i=Oc(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function mh(e=0,t=Oe){return e<0&&(e=0),it(e,e,t)}function yh(...e){let t=Ee(e),n=Dc(e,1/0),r=e;return r.length?r.length===1?k(r[0]):bn(n)(De(r,t)):nt}var vh=new T(ge);function qe(e,t){return I((n,r)=>{let o=0;n.subscribe(E(r,i=>e.call(t,i,o++)&&r.next(i)))})}function jc(e){return I((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(E(n,l=>{r=!0,o=l,i||k(e(l)).subscribe(i=E(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Ih(e,t=Oe){return jc(()=>it(e,t))}function Ni(e){return I((t,n)=>{let r=null,o=!1,i;r=t.subscribe(E(n,void 0,void 0,s=>{i=k(e(s,Ni(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Or(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(E(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Vc(e,t){return I(Or(e,t,arguments.length>=2,!1,!0))}var Eh=(e,t)=>(e.push(t),e);function Dh(){return I((e,t)=>{Vc(Eh,[])(e).subscribe(t)})}function Hc(e,t){return y(t)?de(e,t,1):de(e,1)}function wh(e){return I((t,n)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,n.next(a)}};t.subscribe(E(n,a=>{i?.unsubscribe(),r=!0,o=a,i=E(n,s,ge),k(e(a)).subscribe(i)},()=>{s(),n.complete()},void 0,()=>{o=i=null}))})}function bh(e,t=Oe){return I((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(E(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Mn(e){return I((t,n)=>{let r=!1;t.subscribe(E(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Lt(e){return e<=0?()=>nt:I((t,n)=>{let r=0;t.subscribe(E(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Bc(){return I((e,t)=>{e.subscribe(E(t,ge))})}function $c(e){return we(()=>e)}function Si(e,t){return t?n=>Ft(t.pipe(Lt(1),Bc()),n.pipe(Si(e))):de((n,r)=>k(e(n,r)).pipe(Lt(1),$c(n)))}function Mh(e,t=Oe){let n=it(e,t);return Si(()=>n)}function _h(e,t=K){return e=e??Ch,I((n,r)=>{let o,i=!0;n.subscribe(E(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Ch(e,t){return e===t}function Ar(e=xh){return I((t,n)=>{let r=!1;t.subscribe(E(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function xh(){return new ot}function Th(e){return I((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Nh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?qe((o,i)=>e(o,i,r)):K,Lt(1),n?Mn(t):Ar(()=>new ot))}function ki(e){return e<=0?()=>nt:I((t,n)=>{let r=[];t.subscribe(E(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Sh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?qe((o,i)=>e(o,i,r)):K,ki(1),n?Mn(t):Ar(()=>new ot))}function kh(e,t){return I(Or(e,t,arguments.length>=2,!0))}function Uc(e={}){let{connector:t=()=>new ue,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let m=s;f(),m?.unsubscribe()};return I((m,N)=>{l++,!d&&!u&&p();let _=c=c??t();N.add(()=>{l--,l===0&&!d&&!u&&(a=Ri(h,o))}),_.subscribe(N),!s&&l>0&&(s=new Re({next:te=>_.next(te),error:te=>{d=!0,p(),a=Ri(f,n,te),_.error(te)},complete:()=>{u=!0,p(),a=Ri(f,r),_.complete()}}),k(m).subscribe(s))})(i)}}function Ri(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Re({next:()=>{r.unsubscribe(),e()}});return k(t(...n)).subscribe(r)}function Rh(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Uc({connector:()=>new Dn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Oh(e){return qe((t,n)=>e<=n)}function Ah(...e){let t=Ee(e);return I((n,r)=>{(t?Ft(e,n,t):Ft(e,n)).subscribe(r)})}function qc(e,t){return I((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(E(r,c=>{o?.unsubscribe();let l=0,u=i++;k(e(c,u)).subscribe(o=E(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ph(e){return I((t,n)=>{k(e).subscribe(E(n,()=>n.complete(),ge)),!n.closed&&t.subscribe(n)})}function Wc(e,t,n){let r=y(e)||t||n?{next:e,error:t,complete:n}:e;return r?I((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(E(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):K}var Jl="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(t,n){super(Kl(t,n)),this.code=t}};function Fh(e){return`NG0${Math.abs(e)}`}function Kl(e,t){return`${Fh(e)}${t?": "+t:""}`}var To=Symbol("InputSignalNode#UNSET"),Xl=ne(G({},cr),{transformFn:void 0,applyValueToInputSignal(e,t){_t(e,t)}});function eu(e,t){let n=Object.create(Xl);n.value=e,n.transformFn=t?.transform;function r(){if(Mt(n),n.value===To){let o=null;throw new b(-950,o)}return n.value}return r[J]=n,r}function Un(e){return{toString:e}.toString()}var Pr="__parameters__";function Lh(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function tu(e,t,n){return Un(()=>{let r=Lh(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Pr)?c[Pr]:Object.defineProperty(c,Pr,{value:[]})[Pr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Ae=globalThis;function A(e){for(let t in e)if(e[t]===A)return t;throw Error("Could not find renamed property on target object.")}function jh(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function se(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(se).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
`);return r>=0?n.slice(0,r):n}function Zi(e,t){return e?t?`${e} ${t}`:e:t||""}var Vh=A({__forward_ref__:A});function nu(e){return e.__forward_ref__=nu,e.toString=function(){return se(this())},e}function q(e){return ru(e)?e():e}function ru(e){return typeof e=="function"&&e.hasOwnProperty(Vh)&&e.__forward_ref__===nu}function L(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Hh(e){return{providers:e.providers||[],imports:e.imports||[]}}function No(e){return zc(e,ou)||zc(e,iu)}function DS(e){return No(e)!==null}function zc(e,t){return e.hasOwnProperty(t)?e[t]:null}function Bh(e){let t=e&&(e[ou]||e[iu]);return t||null}function Gc(e){return e&&(e.hasOwnProperty(Qc)||e.hasOwnProperty($h))?e[Qc]:null}var ou=A({\u0275prov:A}),Qc=A({\u0275inj:A}),iu=A({ngInjectableDef:A}),$h=A({ngInjectorDef:A}),S=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=L({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function su(e){return e&&!!e.\u0275providers}var Uh=A({\u0275cmp:A}),qh=A({\u0275dir:A}),Wh=A({\u0275pipe:A}),zh=A({\u0275mod:A}),Gr=A({\u0275fac:A}),Tn=A({__NG_ELEMENT_ID__:A}),Zc=A({__NG_ENV_ID__:A});function Me(e){return typeof e=="string"?e:e==null?"":String(e)}function Gh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Me(e)}function au(e,t){throw new b(-200,e)}function sa(e,t){throw new b(-201,!1)}var x=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}(x||{}),Yi;function cu(){return Yi}function oe(e){let t=Yi;return Yi=e,t}function lu(e,t,n){let r=No(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&x.Optional)return null;if(t!==void 0)return t;sa(e,"Injector")}var Qh={},ct=Qh,Ji="__NG_DI_FLAG__",Qr=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=n;return this.injector.get(t,r.optional?lr:ct,r)}},Zr="ngTempTokenPath",Zh="ngTokenPath",Yh=/\n/gm,Jh="\u0275",Yc="__source";function Kh(e,t=x.Default){if(vn()===void 0)throw new b(-203,!1);if(vn()===null)return lu(e,void 0,t);{let n=vn(),r;return n instanceof Qr?r=n.injector:r=n,r.get(e,t&x.Optional?null:void 0,t)}}function ce(e,t=x.Default){return(cu()||Kh)(q(e),t)}function C(e,t=x.Default){return ce(e,So(t))}function So(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ki(e){let t=[];for(let n=0;n<e.length;n++){let r=q(e[n]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=x.Default;for(let s=0;s<r.length;s++){let a=r[s],c=Xh(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(ce(o,i))}else t.push(ce(r))}return t}function uu(e,t){return e[Ji]=t,e.prototype[Ji]=t,e}function Xh(e){return e[Ji]}function eg(e,t,n,r){let o=e[Zr];throw t[Yc]&&o.unshift(t[Yc]),e.message=tg(`
`+e.message,o,n,r),e[Zh]=o,e[Zr]=null,e}function tg(e,t,n,r=null){e=e&&e.charAt(0)===`
`&&e.charAt(1)==Jh?e.slice(2):e;let o=se(t);if(Array.isArray(t))o=t.map(se).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):se(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Yh,`
`)}`}var du=uu(tu("Optional"),8);var fu=uu(tu("SkipSelf"),4);function ut(e,t){let n=e.hasOwnProperty(Gr);return n?e[Gr]:null}function ng(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function rg(e){return e.flat(Number.POSITIVE_INFINITY)}function aa(e,t){e.forEach(n=>Array.isArray(n)?aa(n,t):t(n))}function pu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Yr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function og(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function ig(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function qn(e,t,n){let r=Wn(e,t);return r>=0?e[r|1]=n:(r=~r,ig(e,r,t,n)),r}function Oi(e,t){let n=Wn(e,t);if(n>=0)return e[n|1]}function Wn(e,t){return sg(e,t,1)}function sg(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var _e={},X=[],Jr=new S(""),hu=new S("",-1),gu=new S(""),Kr=class{get(t,n=ct){if(n===ct){let r=new Error(`NullInjectorError: No provider for ${se(t)}!`);throw r.name="NullInjectorError",r}return n}};function mu(e,t){let n=e[zh]||null;if(!n&&t===!0)throw new Error(`Type ${se(e)} does not have '\u0275mod' property.`);return n}function Pe(e){return e[Uh]||null}function ca(e){return e[qh]||null}function yu(e){return e[Wh]||null}function ag(e){return{\u0275providers:e}}function cg(...e){return{\u0275providers:la(!0,e),\u0275fromNgModule:!0}}function la(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return aa(t,s=>{let a=s;Xi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&vu(o,i),n}function vu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ua(o,i=>{t(i,r)})}}function Xi(e,t,n,r){if(e=q(e),!e)return!1;let o=null,i=Gc(e),s=!i&&Pe(e);if(!i&&!s){let c=e.ngModule;if(i=Gc(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Xi(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{aa(i.imports,u=>{Xi(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&vu(l,t)}if(!a){let l=ut(o)||(()=>new o);t({provide:o,useFactory:l,deps:X},o),t({provide:gu,useValue:o,multi:!0},o),t({provide:Jr,useValue:()=>ce(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;ua(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function ua(e,t){for(let n of e)su(n)&&(n=n.\u0275providers),Array.isArray(n)?ua(n,t):t(n)}var lg=A({provide:String,useValue:A});function Iu(e){return e!==null&&typeof e=="object"&&lg in e}function ug(e){return!!(e&&e.useExisting)}function dg(e){return!!(e&&e.useFactory)}function Wt(e){return typeof e=="function"}function fg(e){return!!e.useClass}var Eu=new S(""),Br={},Jc={},Ai;function ko(){return Ai===void 0&&(Ai=new Kr),Ai}var Fe=class{},kn=class extends Fe{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,ts(t,s=>this.processProvider(s)),this.records.set(hu,jt(void 0,this)),o.has("environment")&&this.records.set(Fe,jt(void 0,this));let i=this.records.get(Eu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(gu,X,x.Self))}retrieve(t,n){let r=n;return this.get(t,r.optional?lr:ct,r)}destroy(){Cn(this),this._destroyed=!0;let t=w(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(),w(t)}}onDestroy(t){return Cn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Cn(this);let n=ke(this),r=oe(void 0),o;try{return t()}finally{ke(n),oe(r)}}get(t,n=ct,r=x.Default){if(Cn(this),t.hasOwnProperty(Zc))return t[Zc](this);r=So(r);let o,i=ke(this),s=oe(void 0);try{if(!(r&x.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=yg(t)&&No(t);l&&this.injectableDefInScope(l)?c=jt(es(t),Br):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c,r)}let a=r&x.Self?ko():this.parent;return n=r&x.Optional&&n===ct?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Zr]=a[Zr]||[]).unshift(se(t)),i)throw a;return eg(a,t,"R3InjectorError",this.source)}else throw a}finally{oe(s),ke(i)}}resolveInjectorInitializers(){let t=w(null),n=ke(this),r=oe(void 0),o;try{let i=this.get(Jr,X,x.Self);for(let s of i)s()}finally{ke(n),oe(r),w(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(se(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=q(t);let n=Wt(t)?t:q(t&&t.provide),r=hg(t);if(!Wt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=jt(void 0,Br,!0),o.factory=()=>Ki(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=w(null);try{return n.value===Jc?au(se(t)):n.value===Br&&(n.value=Jc,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&mg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{w(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=q(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function es(e){let t=No(e),n=t!==null?t.factory:ut(e);if(n!==null)return n;if(e instanceof S)throw new b(204,!1);if(e instanceof Function)return pg(e);throw new b(204,!1)}function pg(e){if(e.length>0)throw new b(204,!1);let n=Bh(e);return n!==null?()=>n.factory(e):()=>new e}function hg(e){if(Iu(e))return jt(void 0,e.useValue);{let t=Du(e);return jt(t,Br)}}function Du(e,t,n){let r;if(Wt(e)){let o=q(e);return ut(o)||es(o)}else if(Iu(e))r=()=>q(e.useValue);else if(dg(e))r=()=>e.useFactory(...Ki(e.deps||[]));else if(ug(e))r=(o,i)=>ce(q(e.useExisting),i!==void 0&&i&x.Optional?x.Optional:void 0);else{let o=q(e&&(e.useClass||e.provide));if(gg(e))r=()=>new o(...Ki(e.deps));else return ut(o)||es(o)}return r}function Cn(e){if(e.destroyed)throw new b(205,!1)}function jt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function gg(e){return!!e.deps}function mg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function yg(e){return typeof e=="function"||typeof e=="object"&&e instanceof S}function ts(e,t){for(let n of e)Array.isArray(n)?ts(n,t):n&&su(n)?ts(n.\u0275providers,t):t(n)}function wu(e,t){let n;e instanceof kn?(Cn(e),n=e):n=new Qr(e);let r,o=ke(n),i=oe(void 0);try{return t()}finally{ke(o),oe(i)}}function da(){return cu()!==void 0||vn()!=null}function bu(e){if(!da())throw new b(-203,!1)}function vg(e){let t=Ae.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}var wS=Function;function Ig(e){return typeof e=="function"}var Be=0,v=1,D=2,W=3,ye=4,ae=5,zt=6,Xr=7,$=8,pe=9,Le=10,F=11,Rn=12,Kc=13,tn=14,le=15,dt=16,Vt=17,je=18,Ro=19,Mu=20,ze=21,Pi=22,ft=23,fe=24,$t=25,P=26,_u=1,On=6,pt=7,eo=8,Gt=9,Q=10;function Ge(e){return Array.isArray(e)&&typeof e[_u]=="object"}function $e(e){return Array.isArray(e)&&e[_u]===!0}function fa(e){return(e.flags&4)!==0}function nn(e){return e.componentOffset>-1}function Oo(e){return(e.flags&1)===1}function Ce(e){return!!e.template}function to(e){return(e[D]&512)!==0}function Et(e){return(e[D]&256)===256}var ns=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Cu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var bS=(()=>{let e=()=>xu;return e.ngInherit=!0,e})();function xu(e){return e.type.prototype.ngOnChanges&&(e.setInput=Dg),Eg}function Eg(){let e=Nu(this),t=e?.current;if(t){let n=e.previous;if(n===_e)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Dg(e,t,n,r,o){let i=this.declaredInputs[r],s=Nu(e)||wg(e,{previous:_e,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new ns(l&&l.currentValue,n,c===_e),Cu(e,t,o,n)}var Tu="__ngSimpleChanges__";function Nu(e){return e[Tu]||null}function wg(e,t){return e[Tu]=t}var Xc=null;var R=function(e,t=null,n){Xc?.(e,t,n)},Su="svg",bg="math";function xe(e){for(;Array.isArray(e);)e=e[Be];return e}function ku(e,t){return xe(t[e])}function Ne(e,t){return xe(t[e.index])}function zn(e,t){return e.data[t]}function Dt(e,t){return e[t]}function pa(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Te(e,t){let n=t[e];return Ge(n)?n:n[Be]}function Mg(e){return(e[D]&4)===4}function ha(e){return(e[D]&128)===128}function _g(e){return $e(e[W])}function Qe(e,t){return t==null?null:e[t]}function Ru(e){e[Vt]=0}function Ou(e){e[D]&1024||(e[D]|=1024,ha(e)&&rn(e))}function Cg(e,t){for(;e>0;)t=t[tn],e--;return t}function Ao(e){return!!(e[D]&9216||e[fe]?.dirty)}function rs(e){e[Le].changeDetectionScheduler?.notify(8),e[D]&64&&(e[D]|=1024),Ao(e)&&rn(e)}function rn(e){e[Le].changeDetectionScheduler?.notify(0);let t=ht(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!ha(t)));)t=ht(t)}function ga(e,t){if(Et(e))throw new b(911,!1);e[ze]===null&&(e[ze]=[]),e[ze].push(t)}function Au(e,t){if(e[ze]===null)return;let n=e[ze].indexOf(t);n!==-1&&e[ze].splice(n,1)}function ht(e){let t=e[W];return $e(t)?t[W]:t}function ma(e){return e[Xr]??=[]}function ya(e){return e.cleanup??=[]}function xg(e,t,n,r){let o=ma(t);o.push(n),e.firstCreatePass&&ya(e).push(r,o.length-1)}var M={lFrame:$u(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var os=!1;function Tg(){return M.lFrame.elementDepthCount}function Ng(){M.lFrame.elementDepthCount++}function Sg(){M.lFrame.elementDepthCount--}function va(){return M.bindingsEnabled}function Pu(){return M.skipHydrationRootTNode!==null}function kg(e){return M.skipHydrationRootTNode===e}function Rg(){M.skipHydrationRootTNode=null}function g(){return M.lFrame.lView}function O(){return M.lFrame.tView}function MS(e){return M.lFrame.contextLView=e,e[$]}function _S(e){return M.lFrame.contextLView=null,e}function U(){let e=Fu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Fu(){return M.lFrame.currentTNode}function Og(){let e=M.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Je(e,t){let n=M.lFrame;n.currentTNode=e,n.isParent=t}function Ia(){return M.lFrame.isParent}function Ea(){M.lFrame.isParent=!1}function Lu(){return M.lFrame.contextLView}function ju(){return os}function no(e){let t=os;return os=e,t}function ee(){let e=M.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Vu(){return M.lFrame.bindingIndex}function Ag(e){return M.lFrame.bindingIndex=e}function Ke(){return M.lFrame.bindingIndex++}function Po(e){let t=M.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Pg(){return M.lFrame.inI18n}function Fg(e,t){let n=M.lFrame;n.bindingIndex=n.bindingRootIndex=e,is(t)}function Lg(){return M.lFrame.currentDirectiveIndex}function is(e){M.lFrame.currentDirectiveIndex=e}function jg(e){let t=M.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Da(){return M.lFrame.currentQueryIndex}function Fo(e){M.lFrame.currentQueryIndex=e}function Vg(e){let t=e[v];return t.type===2?t.declTNode:t.type===1?e[ae]:null}function Hu(e,t,n){if(n&x.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&x.Host);)if(o=Vg(i),o===null||(i=i[tn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=M.lFrame=Bu();return r.currentTNode=t,r.lView=e,!0}function wa(e){let t=Bu(),n=e[v];M.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Bu(){let e=M.lFrame,t=e===null?null:e.child;return t===null?$u(e):t}function $u(e){let t={currentT