UNPKG

lforms

Version:

[LForms](http://lhncbc.github.io/lforms/), a.k.a. LHC-Forms, is a feature-rich, open-source Web Component that creates input forms, based on definition files, for Web-based applications. In addition to its native form-definition format, it partially sup

23 lines (21 loc) 1.57 MB
(()=>{"use strict";var e,i={},d={};function a(e){var n=d[e];if(void 0!==n)return n.exports;var r=d[e]={id:e,loaded:!1,exports:{}};return i[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=i,e=[],a.O=(n,r,s,l)=>{if(!r){var o=1/0;for(f=0;f<e.length;f++){for(var[r,s,l]=e[f],u=!0,t=0;t<r.length;t++)(!1&l||o>=l)&&Object.keys(a.O).every(p=>a.O[p](r[t]))?r.splice(t--,1):(u=!1,l<o&&(o=l));if(u){e.splice(f--,1);var c=s();void 0!==c&&(n=c)}}return n}l=l||0;for(var f=e.length;f>0&&e[f-1][2]>l;f--)e[f]=e[f-1];e[f]=[r,s,l]},a.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return a.d(n,{a:n}),n},a.d=(e,n)=>{for(var r in n)a.o(n,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},a.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={121:0};a.O.j=s=>0===e[s];var n=(s,l)=>{var t,c,[f,o,u]=l,v=0;if(f.some(_=>0!==e[_])){for(t in o)a.o(o,t)&&(a.m[t]=o[t]);if(u)var h=u(a)}for(s&&s(l);v<f.length;v++)a.o(e,c=f[v])&&e[c]&&e[c][0](),e[c]=0;return a.O(h)},r=self.webpackChunklforms=self.webpackChunklforms||[];r.forEach(n.bind(null,0)),r.push=n.bind(null,r.push.bind(r))})()})(); (self.webpackChunklforms=self.webpackChunklforms||[]).push([[461],{4050:()=>{}},s=>{s(s.s=4050)}]); (self.webpackChunklforms=self.webpackChunklforms||[]).push([[792],{5464:(ae,le,U)=>{"use strict"; /** * @license Angular v19.1.5 * (c) 2010-2024 Google LLC. https://angular.io/ * License: MIT */ function q(t,n){return Object.is(t,n)}let W=null,$=!1,_=1;const g=Symbol("SIGNAL");function v(t){const n=W;return W=t,n}const b={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 I(t){if($)throw new Error("");if(null===W)return;W.consumerOnSignalRead(t);const n=W.nextProducerIndex++;ft(W),n<W.producerNode.length&&W.producerNode[n]!==t&&He(W)&&Qe(W.producerNode[n],W.producerIndexOfThis[n]),W.producerNode[n]!==t&&(W.producerNode[n]=t,W.producerIndexOfThis[n]=He(W)?C(t,W,n):0),W.producerLastReadVersion[n]=t.version}function j(t){if((!He(t)||t.dirty)&&(t.dirty||t.lastCleanEpoch!==_)){if(!t.producerMustRecompute(t)&&!xe(t))return void ce(t);t.producerRecomputeValue(t),ce(t)}}function N(t){if(void 0===t.liveConsumerNode)return;const n=$;$=!0;try{for(const e of t.liveConsumerNode)e.dirty||Q(e)}finally{$=n}}function K(){return!1!==W?.consumerAllowSignalWrites}function Q(t){t.dirty=!0,N(t),t.consumerMarkedDirty?.(t)}function ce(t){t.dirty=!1,t.lastCleanEpoch=_}function ge(t){return t&&(t.nextProducerIndex=0),v(t)}function De(t,n){if(v(n),t&&void 0!==t.producerNode&&void 0!==t.producerIndexOfThis&&void 0!==t.producerLastReadVersion){if(He(t))for(let e=t.nextProducerIndex;e<t.producerNode.length;e++)Qe(t.producerNode[e],t.producerIndexOfThis[e]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function xe(t){ft(t);for(let n=0;n<t.producerNode.length;n++){const e=t.producerNode[n],i=t.producerLastReadVersion[n];if(i!==e.version||(j(e),i!==e.version))return!0}return!1}function qe(t){if(ft(t),He(t))for(let n=0;n<t.producerNode.length;n++)Qe(t.producerNode[n],t.producerIndexOfThis[n]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function C(t,n,e){if(At(t),0===t.liveConsumerNode.length&&vt(t))for(let i=0;i<t.producerNode.length;i++)t.producerIndexOfThis[i]=C(t.producerNode[i],t,i);return t.liveConsumerIndexOfThis.push(e),t.liveConsumerNode.push(n)-1}function Qe(t,n){if(At(t),1===t.liveConsumerNode.length&&vt(t))for(let i=0;i<t.producerNode.length;i++)Qe(t.producerNode[i],t.producerIndexOfThis[i]);const e=t.liveConsumerNode.length-1;if(t.liveConsumerNode[n]=t.liveConsumerNode[e],t.liveConsumerIndexOfThis[n]=t.liveConsumerIndexOfThis[e],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,n<t.liveConsumerNode.length){const i=t.liveConsumerIndexOfThis[n],r=t.liveConsumerNode[n];ft(r),r.producerIndexOfThis[i]=n}}function He(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function ft(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function At(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function vt(t){return void 0!==t.producerNode}const zt=Symbol("UNSET"),Ut=Symbol("COMPUTING"),mi=Symbol("ERRORED"),Rn={...b,value:zt,dirty:!0,error:null,equal:q,kind:"computed",producerMustRecompute:t=>t.value===zt||t.value===Ut,producerRecomputeValue(t){if(t.value===Ut)throw new Error("Detected cycle in computations.");const n=t.value;t.value=Ut;const e=ge(t);let i,r=!1;try{i=t.computation(),v(null),r=n!==zt&&n!==mi&&i!==mi&&t.equal(n,i)}catch(a){i=mi,t.error=a}finally{De(t,e)}r?t.value=n:(t.value=i,t.version++)}};let $t=function tn(){throw new Error};function Cn(){$t()}function Tt(t,n){K()||Cn(),t.equal(t.value,n)||(t.value=n,function mn(t){t.version++,function V(){_++}(),N(t)}(t))}function Gt(t,n){K()||Cn(),Tt(t,n(t.value))}const kn={...b,equal:q,value:void 0,kind:"signal"};function An(t,n,e){const i=Object.create(fr);i.source=t,i.computation=n,null!=e&&(i.equal=e);const a=()=>{if(j(i),I(i),i.value===mi)throw i.error;return i.value};return a[g]=i,a}const fr={...b,value:zt,dirty:!0,error:null,equal:q,producerMustRecompute:t=>t.value===zt||t.value===Ut,producerRecomputeValue(t){if(t.value===Ut)throw new Error("Detected cycle in computations.");const n=t.value;t.value=Ut;const e=ge(t);let i;try{const r=t.source();i=t.computation(r,n===zt||n===mi?void 0:{source:t.sourceValue,value:n}),t.sourceValue=r}catch(r){i=mi,t.error=r}finally{De(t,e)}n!==zt&&i!==mi&&t.equal(n,i)?t.value=n:(t.value=i,t.version++)}};const go=()=>{};function Bt(t){return"function"==typeof t}function mr(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const _o=mr(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function sr(t,n){if(t){const e=t.indexOf(n);0<=e&&t.splice(e,1)}}class an{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const a of e)a.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(Bt(i))try{i()}catch(a){n=a instanceof _o?a.errors:[a]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const a of r)try{Sn(a)}catch(o){n=n??[],o instanceof _o?n=[...n,...o.errors]:n.push(o)}}if(n)throw new _o(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Sn(n);else{if(n instanceof an){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(n)}}_hasParent(n){const{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){const{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&sr(e,n)}remove(n){const{_finalizers:e}=this;e&&sr(e,n),n instanceof an&&n._removeParent(this)}}an.EMPTY=(()=>{const t=new an;return t.closed=!0,t})();const Ea=an.EMPTY;function bt(t){return t instanceof an||t&&"closed"in t&&Bt(t.remove)&&Bt(t.add)&&Bt(t.unsubscribe)}function Sn(t){Bt(t)?t():t.unsubscribe()}const Ht={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Fr={setTimeout(t,n,...e){const{delegate:i}=Fr;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){const{delegate:n}=Fr;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function yo(t){Fr.setTimeout(()=>{const{onUnhandledError:n}=Ht;if(!n)throw t;n(t)})}function No(){}const $s=ye("C",void 0,void 0);function ye(t,n,e){return{kind:t,value:n,error:e}}let on=null;function Vn(t){if(Ht.useDeprecatedSynchronousErrorHandling){const n=!on;if(n&&(on={errorThrown:!1,error:null}),t(),n){const{errorThrown:e,error:i}=on;if(on=null,e)throw i}}else t()}class _t extends an{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,bt(n)&&n.add(this)):this.destination=Tr}static create(n,e,i){return new tr(n,e,i)}next(n){this.isStopped?ii(function _e(t){return ye("N",t,void 0)}(n),this):this._next(n)}error(n){this.isStopped?ii(function bo(t){return ye("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?ii($s,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ia=Function.prototype.bind;function Aa(t,n){return Ia.call(t,n)}class Oi{constructor(n){this.partialObserver=n}next(n){const{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){za(i)}}error(n){const{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){za(i)}else za(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){za(e)}}}class tr extends _t{constructor(n,e,i){let r;if(super(),Bt(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let a;this&&Ht.useDeprecatedNextContext?(a=Object.create(n),a.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Aa(n.next,a),error:n.error&&Aa(n.error,a),complete:n.complete&&Aa(n.complete,a)}):r=n}this.destination=new Oi(r)}}function za(t){Ht.useDeprecatedSynchronousErrorHandling?function ni(t){Ht.useDeprecatedSynchronousErrorHandling&&on&&(on.errorThrown=!0,on.error=t)}(t):yo(t)}function ii(t,n){const{onStoppedNotification:e}=Ht;e&&Fr.setTimeout(()=>e(t,n))}const Tr={closed:!0,next:No,error:function Jr(t){throw t},complete:No},$a="function"==typeof Symbol&&Symbol.observable||"@@observable";function rs(t){return t}let Ye=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){const a=function lr(t){return t&&t instanceof _t||function Cs(t){return t&&Bt(t.next)&&Bt(t.error)&&Bt(t.complete)}(t)&&bt(t)}(e)?e:new tr(e,i,r);return Vn(()=>{const{operator:o,source:s}=this;a.add(o?o.call(a,s):s?this._subscribe(a):this._trySubscribe(a))}),a}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=Wa(i))((r,a)=>{const o=new tr({next:s=>{try{e(s)}catch(l){a(l),o.unsubscribe()}},error:a,complete:r});this.subscribe(o)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[$a](){return this}pipe(...e){return function Co(t){return 0===t.length?rs:1===t.length?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}(e)(this)}toPromise(e){return new(e=Wa(e))((i,r)=>{let a;this.subscribe(o=>a=o,o=>r(o),()=>i(a))})}}return t.create=n=>new t(n),t})();function Wa(t){var n;return null!==(n=t??Ht.Promise)&&void 0!==n?n:Promise}const Gs=mr(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let at=(()=>{class t extends Ye{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new Fo(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Gs}next(e){Vn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){Vn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){Vn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:r,observers:a}=this;return i||r?Ea:(this.currentObservers=null,a.push(e),new an(()=>{this.currentObservers=null,sr(a,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:a}=this;i?e.error(r):a&&e.complete()}asObservable(){const e=new Ye;return e.source=this,e}}return t.create=(n,e)=>new Fo(n,e),t})();class Fo extends at{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,n)}error(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,n)}complete(){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===e||e.call(n)}_subscribe(n){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(n))&&void 0!==i?i:Ea}}class Ka extends at{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){const{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function ri(t){return n=>{if(function cr(t){return Bt(t?.lift)}(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Hn(t,n,e,i,r){return new pi(t,n,e,i,r)}class pi extends _t{constructor(n,e,i,r,a,o){super(n),this.onFinalize=a,this.shouldUnsubscribe=o,this._next=e?function(s){try{e(s)}catch(l){n.error(l)}}:super._next,this._error=r?function(s){try{r(s)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Tn(t,n){return ri((e,i)=>{let r=0;e.subscribe(Hn(i,a=>{i.next(t.call(n,a,r++))}))})} /** * @license Angular v19.1.5 * (c) 2010-2024 Google LLC. https://angular.io/ * License: MIT */const ca="https://g.co/ng/security#xss";class Se extends Error{code;constructor(n,e){super(function wo(t,n){return`NG0${Math.abs(t)}${n?": "+n:""}`}(n,e)),this.code=n}}const kl=Symbol("InputSignalNode#UNSET"),Ui={...kn,transformFn:void 0,applyValueToInputSignal(t,n){Tt(t,n)}};function lc(t,n){const e=Object.create(Ui);function i(){if(I(e),e.value===kl)throw new Se(-950,!1);return e.value}return e.value=t,e.transformFn=n?.transform,i[g]=e,i}function Za(t){return{toString:t}.toString()}const Ws="__parameters__";function Ss(t,n,e){return Za(()=>{const i=function lu(t){return function(...e){if(t){const i=t(...e);for(const r in i)this[r]=i[r]}}}(n);function r(...a){if(this instanceof r)return i.apply(this,a),this;const o=new r(...a);return s.annotation=o,s;function s(l,c,h){const p=l.hasOwnProperty(Ws)?l[Ws]:Object.defineProperty(l,Ws,{value:[]})[Ws];for(;p.length<=h;)p.push(null);return(p[h]=p[h]||[]).push(o),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}const li=globalThis;function Bn(t){for(let n in t)if(t[n]===Bn)return n;throw Error("Could not find renamed property on target object.")}function El(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Pi(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Pi).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function cc(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const n1=Bn({__forward_ref__:Bn});function yn(t){return t.__forward_ref__=yn,t.toString=function(){return Pi(this())},t}function Nt(t){return Il(t)?t():t}function Il(t){return"function"==typeof t&&t.hasOwnProperty(n1)&&t.__forward_ref__===yn}function tt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Jn(t){return{providers:t.providers||[],imports:t.imports||[]}}function dc(t){return l1(t,ss)||l1(t,hc)}function l1(t,n){return t.hasOwnProperty(n)?t[n]:null}function Al(t){return t&&(t.hasOwnProperty(Xs)||t.hasOwnProperty(uu))?t[Xs]:null}const ss=Bn({\u0275prov:Bn}),Xs=Bn({\u0275inj:Bn}),hc=Bn({ngInjectableDef:Bn}),uu=Bn({ngInjectorDef:Bn});class Be{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=tt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function f(t){return t&&!!t.\u0275providers}const y=Bn({\u0275cmp:Bn}),w=Bn({\u0275dir:Bn}),L=Bn({\u0275pipe:Bn}),O=Bn({\u0275mod:Bn}),B=Bn({\u0275fac:Bn}),ne=Bn({__NG_ELEMENT_ID__:Bn}),ee=Bn({__NG_ENV_ID__:Bn});function ie(t){return"string"==typeof t?t:null==t?"":String(t)}function bn(t,n){throw new Se(-201,!1)}var Ft=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}(Ft||{});let Zi;function Xa(){return Zi}function Ni(t){const n=Zi;return Zi=t,n}function En(t,n,e){const i=dc(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&Ft.Optional?null:void 0!==n?n:void bn()}const gi={},La="__NG_DI_FLAG__",nl="ngTempTokenPath",Ll=/\n/gm,Ro="__source";let da;function Mo(t){const n=da;return da=t,n}function So(t,n=Ft.Default){if(void 0===da)throw new Se(-203,!1);return null===da?En(t,void 0,n):da.get(t,n&Ft.Optional?null:void 0,n)}function ut(t,n=Ft.Default){return(Xa()||So)(Nt(t),n)}function te(t,n=Ft.Default){return ut(t,pc(n))}function pc(t){return typeof t>"u"||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Kn(t){const n=[];for(let e=0;e<t.length;e++){const i=Nt(t[e]);if(Array.isArray(i)){if(0===i.length)throw new Se(900,!1);let r,a=Ft.Default;for(let o=0;o<i.length;o++){const s=i[o],l=Ja(s);"number"==typeof l?-1===l?r=s.token:a|=l:r=s}n.push(ut(r,a))}else n.push(ut(i))}return n}function Vo(t,n){return t[La]=n,t.prototype[La]=n,t}function Ja(t){return t[La]}const gc=Vo(Ss("Optional"),8),Pl=Vo(Ss("SkipSelf"),4);function to(t,n){return t.hasOwnProperty(B)?t[B]:null}function To(t,n){t.forEach(e=>Array.isArray(e)?To(e,n):n(e))}function vc(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function rl(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function ea(t,n,e){let i=se(t,n);return i>=0?t[1|i]=e:(i=~i,function d1(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(1===r)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;)t[r]=t[r-2],r--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function Z(t,n){const e=se(t,n);if(e>=0)return t[1|e]}function se(t,n){return function Me(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){const a=i+(r-i>>1),o=t[a<<e];if(n===o)return a<<e;o>n?r=a:i=a+1}return~(r<<e)}(t,n,1)}const Ie={},Ne=[],it=new Be(""),Dt=new Be("",-1),ht=new Be("");class qt{get(n,e=gi){if(e===gi){const i=new Error(`NullInjectorError: No provider for ${Pi(n)}!`);throw i.name="NullInjectorError",i}return e}}function et(t){return t[y]||null}function Ot(t){return t[w]||null}function pt(t){return t[L]||null}function Fi(t){return{\u0275providers:t}}function ha(...t){return{\u0275providers:Fa(0,t),\u0275fromNgModule:!0}}function Fa(t,...n){const e=[],i=new Set;let r;const a=o=>{e.push(o)};return To(n,o=>{const s=o;gr(s,a,[],i)&&(r||=[],r.push(s))}),void 0!==r&&ks(r,a),e}function ks(t,n){for(let e=0;e<t.length;e++){const{ngModule:i,providers:r}=t[e];U0(r,a=>{n(a,i)})}}function gr(t,n,e,i){if(!(t=Nt(t)))return!1;let r=null,a=Al(t);const o=!a&&et(t);if(a||o){if(o&&!o.standalone)return!1;r=t}else{const l=t.ngModule;if(a=Al(l),!a)return!1;r=l}const s=i.has(r);if(o){if(s)return!1;if(i.add(r),o.dependencies){const l="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const c of l)gr(c,n,e,i)}}else{if(!a)return!1;{if(null!=a.imports&&!s){let c;i.add(r);try{To(a.imports,h=>{gr(h,n,e,i)&&(c||=[],c.push(h))})}finally{}void 0!==c&&ks(c,n)}if(!s){const c=to(r)||(()=>new r);n({provide:r,useFactory:c,deps:Ne},r),n({provide:ht,useValue:r,multi:!0},r),n({provide:it,useValue:()=>ut(r),multi:!0},r)}const l=a.providers;if(null!=l&&!s){const c=t;U0(l,h=>{n(h,c)})}}}return r!==t&&void 0!==t.providers}function U0(t,n){for(let e of t)f(e)&&(e=e.\u0275providers),Array.isArray(e)?U0(e,n):n(e)}const e6=Bn({provide:String,useValue:Bn});function q0(t){return null!==t&&"object"==typeof t&&e6 in t}function Nl(t){return"function"==typeof t}const Y0=new Be(""),f1={},n6={};let _c;function m1(){return void 0===_c&&(_c=new qt),_c}class Ra{}class Fl extends Ra{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,al(n,o=>this.processProvider(o)),this.records.set(Dt,Rl(void 0,this)),r.has("environment")&&this.records.set(Ra,Rl(void 0,this));const a=this.records.get(Y0);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(ht,Ne,Ft.Self))}destroy(){fu(this),this._destroyed=!0;const n=v(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const e=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of e)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),v(n)}}onDestroy(n){return fu(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){fu(this);const e=Mo(this),i=Ni(void 0);try{return n()}finally{Mo(e),Ni(i)}}get(n,e=gi,i=Ft.Default){if(fu(this),n.hasOwnProperty(ee))return n[ee](this);i=pc(i);const a=Mo(this),o=Ni(void 0);try{if(!(i&Ft.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function p1(t){return"function"==typeof t||"object"==typeof t&&t instanceof Be}(n)&&dc(n);l=c&&this.injectableDefInScope(c)?Rl(j0(n),f1):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(i&Ft.Self?m1():this.parent).get(n,e=i&Ft.Optional&&e===gi?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[nl]=s[nl]||[]).unshift(Pi(n)),a)throw s;return function il(t,n,e,i){const r=t[nl];throw n[Ro]&&r.unshift(n[Ro]),t.message=function B0(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let r=Pi(n);if(Array.isArray(n))r=n.map(Pi).join(" -> ");else if("object"==typeof n){let a=[];for(let o in n)if(n.hasOwnProperty(o)){let s=n[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):Pi(s)))}r=`{${a.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${t.replace(Ll,"\n ")}`}("\n"+t.message,r,e,i),t.ngTokenPath=r,t[nl]=null,t}(s,n,"R3InjectorError",this.source)}throw s}finally{Ni(o),Mo(a)}}resolveInjectorInitializers(){const n=v(null),e=Mo(this),i=Ni(void 0);try{const a=this.get(it,Ne,Ft.Self);for(const o of a)o()}finally{Mo(e),Ni(i),v(n)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(Pi(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){let e=Nl(n=Nt(n))?n:Nt(n&&n.provide);const i=function r6(t){return q0(t)?Rl(void 0,t.useValue):Rl(d4(t),f1)}(n);if(!Nl(n)&&!0===n.multi){let r=this.records.get(e);r||(r=Rl(void 0,f1,!0),r.factory=()=>Kn(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e){const i=v(null);try{return e.value===f1&&(e.value=n6,e.value=e.factory()),"object"==typeof e.value&&e.value&&function f4(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{v(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const e=Nt(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){const e=this._onDestroyHooks.indexOf(n);-1!==e&&this._onDestroyHooks.splice(e,1)}}function j0(t){const n=dc(t),e=null!==n?n.factory:to(t);if(null!==e)return e;if(t instanceof Be)throw new Se(204,!1);if(t instanceof Function)return function i6(t){if(t.length>0)throw new Se(204,!1);const e=function V0(t){return t&&(t[ss]||t[hc])||null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new Se(204,!1)}function d4(t,n,e){let i;if(Nl(t)){const r=Nt(t);return to(r)||j0(r)}if(q0(t))i=()=>Nt(t.useValue);else if(function u4(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Kn(t.deps||[]));else if(function c4(t){return!(!t||!t.useExisting)}(t))i=()=>ut(Nt(t.useExisting));else{const r=Nt(t&&(t.useClass||t.provide));if(!function h4(t){return!!t.deps}(t))return to(r)||j0(r);i=()=>new r(...Kn(t.deps))}return i}function fu(t){if(t.destroyed)throw new Se(205,!1)}function Rl(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function al(t,n){for(const e of t)Array.isArray(e)?al(e,n):e&&f(e)?al(e.\u0275providers,n):n(e)}function yc(t,n){t instanceof Fl&&fu(t);const i=Mo(t),r=Ni(void 0);try{return n()}finally{Mo(i),Ni(r)}}function $0(){return void 0!==Xa()||null!=function Na(){return da}()}function no(t){if(!$0())throw new Se(-203,!1)}const g4=Function;function Xi(t){return Array.isArray(t)&&"object"==typeof t[1]}function Re(t){return Array.isArray(t)&&!0===t[1]}function K0(t){return!!(4&t.flags)}function Do(t){return t.componentOffset>-1}function gu(t){return!(1&~t.flags)}function wn(t){return!!t.template}function xo(t){return!!(512&t[2])}function ol(t){return!(256&~t[2])}class g6{previousValue;currentValue;firstChange;constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function w4(t,n,e,i){null!==n?n.applyValueToInputSignal(n,i):t[e]=i}const zn=(()=>{const t=()=>M4;return t.ngInherit=!0,t})();function M4(t){return t.type.prototype.ngOnChanges&&(t.setInput=_6),v6}function v6(){const t=S4(this),n=t?.current;if(n){const e=t.previous;if(e===Ie)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function _6(t,n,e,i,r){const a=this.declaredInputs[i],o=S4(t)||function y6(t,n){return t[ll]=n}(t,{previous:Ie,current:null}),s=o.current||(o.current={}),l=o.previous,c=l[a];s[a]=new g6(c&&c.currentValue,e,l===Ie),w4(t,n,r,e)}const ll="__ngSimpleChanges__";function S4(t){return t[ll]||null}function jn(t){for(;Array.isArray(t);)t=t[0];return t}function Uo(t,n){return jn(n[t])}function pa(t,n){return jn(n[t.index])}function ql(t,n){return t.data[n]}function Yl(t,n){return t[n]}function ga(t,n){const e=n[t];return Xi(e)?e:e[0]}function cl(t){return!(128&~t[2])}function pn(t,n){return null==n?null:t[n]}function d(t){t[17]=0}function m(t){1024&t[2]||(t[2]|=1024,cl(t)&&oe(t))}function z(t){return!!(9216&t[2]||t[24]?.dirty)}function Y(t){t[10].changeDetectionScheduler?.notify(9),64&t[2]&&(t[2]|=1024),z(t)&&oe(t)}function oe(t){t[10].changeDetectionScheduler?.notify(0);let n=nn(t);for(;null!==n&&!(8192&n[2])&&(n[2]|=8192,cl(n));)n=nn(n)}function Ee(t,n){if(ol(t))throw new Se(911,!1);null===t[21]&&(t[21]=[]),t[21].push(n)}function nn(t){const n=t[3];return Re(n)?n[3]:n}function di(t){return t[7]??=[]}function na(t){return t.cleanup??=[]}const Rt={lFrame:Sv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let M6=!1;function k4(){return Rt.bindingsEnabled}function vu(){return null!==Rt.skipHydrationRootTNode}function Te(){return Rt.lFrame.lView}function ln(){return Rt.lFrame.tView}function me(t){return Rt.lFrame.contextLView=t,t[8]}function pe(t){return Rt.lFrame.contextLView=null,t}function Ln(){let t=gv();for(;null!==t&&64===t.type;)t=t.parent;return t}function gv(){return Rt.lFrame.currentTNode}function Os(t,n){const e=Rt.lFrame;e.currentTNode=t,e.isParent=n}function S6(){return Rt.lFrame.isParent}function T6(){Rt.lFrame.isParent=!1}function yv(){return M6}function E4(t){const n=M6;return M6=t,n}function io(){const t=Rt.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function jl(){return Rt.lFrame.bindingIndex}function us(){return Rt.lFrame.bindingIndex++}function $l(t){const n=Rt.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function yA(t,n){const e=Rt.lFrame;e.bindingIndex=e.bindingRootIndex=t,D6(n)}function D6(t){Rt.lFrame.currentDirectiveIndex=t}function k6(){return Rt.lFrame.currentQueryIndex}function I4(t){Rt.lFrame.currentQueryIndex=t}function CA(t){const n=t[1];return 2===n.type?n.declTNode:1===n.type?t[5]:null}function wv(t,n,e){if(e&Ft.SkipSelf){let r=n,a=t;for(;!(r=r.parent,null!==r||e&Ft.Host||(r=CA(a),null===r||(a=a[14],10&r.type))););if(null===r)return!1;n=r,t=a}const i=Rt.lFrame=Mv();return i.currentTNode=n,i.lView=t,!0}function E6(t){const n=Mv(),e=t[1];Rt.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function Mv(){const t=Rt.lFrame,n=null===t?null:t.child;return null===n?Sv(t):n}function Sv(t){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function Tv(){const t=Rt.lFrame;return Rt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Dv=Tv;function I6(){const t=Tv();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 va(){return Rt.lFrame.selectedIndex}function _u(t){Rt.lFrame.selectedIndex=t}function ki(){const t=Rt.lFrame;return ql(t.tView,t.selectedIndex)}let kv=!0;function td(){return kv}function ul(t){kv=t}function A6(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){const a=t.data[e].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:h}=a;o&&(t.contentHooks??=[]).push(-e,o),s&&((t.contentHooks??=[]).push(e,s),(t.contentCheckHooks??=[]).push(e,s)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),null!=h&&(t.destroyHooks??=[]).push(e,h)}}function A4(t,n,e){Ev(t,n,3,e)}function z4(t,n,e,i){(3&t[2])===e&&Ev(t,n,e,i)}function z6(t,n){let e=t[2];(3&e)===n&&(e&=16383,e+=1,t[2]=e)}function Ev(t,n,e,i){const a=i??-1,o=n.length-1;let s=0;for(let l=void 0!==i?65535&t[17]:0;l<o;l++)if("number"==typeof n[l+1]){if(s=n[l],null!=i&&s>=i)break}else n[l]<0&&(t[17]+=65536),(s<a||-1==a)&&(kA(t,e,n,l),t[17]=(4294901760&t[17])+l+2),l++}function Iv(t,n){const e=v(null);try{n.call(t)}finally{v(e)}}function kA(t,n,e,i){const r=e[i]<0,a=e[i+1],s=t[r?-e[i]:e[i]];r?t[2]>>14<t[17]>>16&&(3&t[2])===n&&(t[2]+=16384,Iv(s,a)):Iv(s,a)}class nd{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,i){this.factory=n,this.canSeeViewProviders=e,this.injectImpl=i}}function Av(t){return 3===t||4===t||6===t}function zv(t){return 64===t.charCodeAt(0)}function C1(t,n){if(null!==n&&0!==n.length)if(null===t||0===t.length)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){const r=n[i];"number"==typeof r?e=r:0===e||Lv(t,e,r,null,-1===e||2===e?n[++i]:null)}}return t}function Lv(t,n,e,i,r){let a=0,o=t.length;if(-1===n)o=-1;else for(;a<t.length;){const s=t[a++];if("number"==typeof s){if(s===n){o=-1;break}if(s>n){o=a-1;break}}}for(;a<t.length;){const s=t[a];if("number"==typeof s)break;if(s===e){if(null===i)return void(null!==r&&(t[a+1]=r));if(i===t[a+1])return void(t[a+2]=r)}a++,null!==i&&a++,null!==r&&a++}-1!==o&&(t.splice(o,0,n),a=o+1),t.splice(a++,0,e),null!==i&&t.splice(a++,0,i),null!==r&&t.splice(a++,0,r)}const P6={};class yu{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=pc(i);const r=this.injector.get(n,P6,i);return r!==P6||e===P6?r:this.parentInjector.get(n,e,i)}}function N6(t){return-1!==t}function id(t){return 32767&t}function rd(t,n){let e=function OA(t){return t>>16}(t),i=n;for(;e>0;)i=i[14],e--;return i}let F6=!0;function L4(t){const n=F6;return F6=t,n}let NA=0;const dl={};function O4(t,n){const e=Nv(t,n);if(-1!==e)return e;const i=n[1];i.firstCreatePass&&(t.injectorIndex=n.length,R6(i.data,t),R6(n,null),R6(i.blueprint,null));const r=P4(t,n),a=t.injectorIndex;if(N6(r)){const o=id(r),s=rd(r,n),l=s[1].data;for(let c=0;c<8;c++)n[a+c]=s[o+c]|l[o+c]}return n[a+8]=r,a}function R6(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Nv(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function P4(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;null!==r;){if(i=qv(r),null===i)return-1;if(e++,r=r[14],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function V6(t,n,e){!function FA(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(ne)&&(i=e[ne]),null==i&&(i=e[ne]=NA++);const r=255&i;n.data[t+(r>>5)]|=1<<r}(t,n,e)}function Fv(t,n,e){if(e&Ft.Optional||void 0!==t)return t;bn()}function Rv(t,n,e,i){if(e&Ft.Optional&&void 0===i&&(i=null),!(e&(Ft.Self|Ft.Host))){const r=t[9],a=Ni(void 0);try{return r?r.get(n,i,e&Ft.Optional):En(n,i,e&Ft.Optional)}finally{Ni(a)}}return Fv(i,0,e)}function Vv(t,n,e,i=Ft.Default,r){if(null!==t){if(2048&n[2]&&!(i&Ft.Self)){const o=function UA(t,n,e,i,r){let a=t,o=n;for(;null!==a&&null!==o&&2048&o[2]&&!xo(o);){const s=Hv(a,o,e,i|Ft.Self,dl);if(s!==dl)return s;let l=a.parent;if(!l){const c=o[20];if(c){const h=c.get(e,dl,i);if(h!==dl)return h}l=qv(o),o=o[14]}a=l}return r}(t,n,e,i,dl);if(o!==dl)return o}const a=Hv(t,n,e,i,dl);if(a!==dl)return a}return Rv(n,e,i,r)}function Hv(t,n,e,i,r){const a=function HA(t){if("string"==typeof t)return t.charCodeAt(0)||0;const n=t.hasOwnProperty(ne)?t[ne]:void 0;return"number"==typeof n?n>=0?255&n:BA:n}(e);if("function"==typeof a){if(!wv(n,t,i))return i&Ft.Host?Fv(r,0,i):Rv(n,e,i,r);try{let o;if(o=a(i),null!=o||i&Ft.Optional)return o;bn()}finally{Dv()}}else if("number"==typeof a){let o=null,s=Nv(t,n),l=-1,c=i&Ft.Host?n[15][5]:null;for((-1===s||i&Ft.SkipSelf)&&(l=-1===s?P4(t,n):n[s+8],-1!==l&&Uv(i,!1)?(o=n[1],s=id(l),n=rd(l,n)):s=-1);-1!==s;){const h=n[1];if(Bv(a,s,h.data)){const p=VA(s,n,e,o,i,c);if(p!==dl)return p}l=n[s+8],-1!==l&&Uv(i,n[1].data[s+8]===c)&&Bv(a,s,n)?(o=h,s=id(l),n=rd(l,n)):s=-1}}return r}function VA(t,n,e,i,r,a){const o=n[1],s=o.data[t+8],h=N4(s,o,e,null==i?Do(s)&&F6:i!=o&&!!(3&s.type),r&Ft.Host&&a===s);return null!==h?ad(n,o,h,s):dl}function N4(t,n,e,i,r){const a=t.providerIndexes,o=n.data,s=1048575&a,l=t.directiveStart,h=a>>20,T=r?s+h:t.directiveEnd;for(let x=i?s:s+h;x<T;x++){const F=o[x];if(x<l&&e===F||x>=l&&F.type===e)return x}if(r){const x=o[l];if(x&&wn(x)&&x.type===e)return l}return null}function ad(t,n,e,i){let r=t[e];const a=n.data;if(function EA(t){return t instanceof nd}(r)){const o=r;o.resolving&&function $e(t,n){throw n&&n.join(" > "),new Se(-200,t)}(function ve(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():ie(t)}(a[e]));const s=L4(o.canSeeViewProviders);o.resolving=!0;const c=o.injectImpl?Ni(o.injectImpl):null;wv(t,i,Ft.Default);try{r=t[e]=o.factory(void 0,a,t,i),n.firstCreatePass&&e>=i.directiveStart&&function xA(t,n,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:a}=n.type.prototype;if(i){const o=M4(n);(e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o)}r&&(e.preOrderHooks??=[]).push(0-t,r),a&&((e.preOrderHooks??=[]).push(t,a),(e.preOrderCheckHooks??=[]).push(t,a))}(e,a[e],n)}finally{null!==c&&Ni(c),L4(s),o.resolving=!1,Dv()}}return r}function Bv(t,n,e){return!!(e[n+(t>>5)]&1<<t)}function Uv(t,n){return!(t&Ft.Self||t&Ft.Host&&n)}class vr{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return Vv(this._tNode,this._lView,n,pc(i),e)}}function BA(){return new vr(Ln(),Te())}function ir(t){return Za(()=>{const n=t.prototype.constructor,e=n[B]||H6(n),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const a=r[B]||H6(r);if(a&&a!==e)return a;r=Object.getPrototypeOf(r)}return a=>new a})}function H6(t){return Il(t)?()=>{const n=H6(Nt(t));return n&&n()}:to(t)}function qv(t){const n=t[1],e=n.type;return 2===e?n.declTNode:1===e?t[5]:null}function Wv(t,n=null,e=null,i){const r=Kv(t,n,e,i);return r.resolveInjectorInitializers(),r}function Kv(t,n=null,e=null,i,r=new Set){const a=[e||Ne,ha(t)];return i=i||("object"==typeof t?void 0:Pi(t)),new Fl(a,n||m1(),i||null,r)}class rr{static THROW_IF_NOT_FOUND=gi;static NULL=new qt;static create(n,e){if(Array.isArray(n))return Wv({name:""},e,n,"");{const i=n.name??"";return Wv({name:i},n.parent,n.providers,i)}}static \u0275prov=tt({token:rr,providedIn:"any",factory:()=>ut(Dt)});static __NG_ELEMENT_ID__=-1} /*! * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */new Be("").__NG_ELEMENT_ID__=t=>{const n=Ln();if(null===n)throw new Se(204,!1);if(2&n.type)return n.value;if(t&Ft.Optional)return null;throw new Se(204,!1)};const Qv=!1;let ds=(()=>class t{static __NG_ELEMENT_ID__=ZA;static __NG_ENV_ID__=e=>e})();class Zv extends ds{_lView;constructor(n){super(),this._lView=n}onDestroy(n){return Ee(this._lView,n),()=>function Pt(t,n){if(null===t[21])return;const e=t[21].indexOf(n);-1!==e&&t[21].splice(e,1)}(this._lView,n)}}function ZA(){return new Zv(Te())}class hl{}const od=new Be("",{providedIn:"root",factory:()=>!1}),Xv=new Be(""),U6=new Be("");let fl=(()=>{class t{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Ka(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=tt({token:t,providedIn:"root",factory:()=>new t})}return t})();const en=class JA extends at{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,$0()&&(this.destroyRef=te(ds,{optional:!0})??void 0,this.pendingTasks=te(fl,{optional:!0})??void 0)}emit(n){const e=v(null);try{super.next(n)}finally{v(e)}}subscribe(n,e,i){let r=n,a=e||(()=>null),o=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),a=l.error?.bind(l),o=l.complete?.bind(l)}this.__isAsync&&(a=this.wrapInTimeout(a),r&&(r=this.wrapInTimeout(r)),o&&(o=this.wrapInTimeout(o)));const s=super.subscribe({next:r,error:a,complete:o});return n instanceof an&&n.add(s),s}wrapInTimeout(n){return e=>{const i=this.pendingTasks?.add();setTimeout(()=>{n(e),void 0!==i&&this.pendingTasks?.remove(i)})}}};function sd(...t){}function Jv(t){let n,e;function i(){t=sd;try{void 0!==e&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(e),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),i()}),"function"==typeof requestAnimationFrame&&(e=requestAnimationFrame(()=>{t(),i()})),()=>i()}function e9(t){return queueMicrotask(()=>t()),()=>{t=sd}}const q6="isAngularZone",V4=q6+"_ID";let ez=0;class cn{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new en(!1);onMicrotaskEmpty=new en(!1);onStable=new en(!1);onError=new en(!1);constructor(n){const{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:a=Qv}=n;if(typeof Zone>"u")throw new Se(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&i,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,o.scheduleInRootZone=a,function iz(t){const n=()=>{!function nz(t){function n(){Jv(()=>{t.callbackScheduled=!1,j6(t),t.isCheckStableRunning=!0,Y6(t),t.isCheckStableRunning=!1})}t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),j6(t))}(t)},e=ez++;t._inner=t._inner.fork({name:"angular",properties:{[q6]:!0,[V4]:e,[V4+e]:!0},onInvokeTask:(i,r,a,o,s,l)=>{if(function rz(t){return i9(t,"__ignore_ng_zone__")}(l))return i.invokeTask(a,o,s,l);try{return t9(t),i.invokeTask(a,o,s,l)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&n(),n9(t)}},onInvoke:(i,r,a,o,s,l,c)=>{try{return t9(t),i.invoke(a,o,s,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function az(t){return i9(t,"__scheduler_tick__")}(l)&&n(),n9(t)}},onHasTask:(i,r,a,o)=>{i.hasTask(a,o),r===a&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,j6(t),Y6(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(i,r,a,o)=>(i.handleError(a,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(q6)}static assertInAngularZone(){if(!cn.isInAngularZone())throw new Se(909,!1)}static assertNotInAngularZone(){if(cn.isInAngularZone())throw new Se(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){const a=this._inner,o=a.scheduleEventTask("NgZoneEvent: "+r,n,tz,sd,sd);try{return a.runTask(o,e,i)}finally{a.cancelTask(o)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const tz={};function Y6(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function j6(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function t9(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function n9(t){t._nesting--,Y6(t)}class $6{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new en;onMicrotaskEmpty=new en;onStable=new en;onError=new en;run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}}function i9(t,n){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[n]}class ml{_console=console;handleError(n){this._console.error("ERROR",n)}}const sz=new Be("",{providedIn:"root",factory:()=>{const t=te(cn),n=te(ml);return e=>t.runOutsideAngular(()=>n.handleError(e))}});function a9(t,n){return lc(t,n)}const w1=(a9.required=function lz(t){return lc(kl,t)},a9);function cz(){return M1(Ln(),Te())}function M1(t,n){return new $n(pa(t,n))}let $n=(()=>class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=cz})();function o9(t){return t instanceof $n?t.nativeElement:t}const s9=new Set;function ia(t){s9.has(t)||(s9.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function Eo(t,n){ia("NgSignals");const e=function ke(t){const n=Object.create(kn);n.value=t;const e=()=>(I(n),n.value);return e[g]=n,e}(t),i=e[g];return n?.equal&&(i.equal=n.equal),e.set=r=>Tt(i,r),e.update=r=>Gt(i,r),e.asReadonly=H4.bind(e),e}function H4(){const t=this[g];if(void 0===t.readonlyFn){const n=()=>this();n[g]=t,t.readonlyFn=n}return t.readonlyFn}function c9(t){return function l9(t){return"function"==typeof t&&void 0!==t[g]}(t)&&"function"==typeof t.set}function uz(){return this._results[Symbol.iterator]()}class u9{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new at}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;const i=function xr(t){return t.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function Ds(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],a=n[i];if(e&&(r=e(r),a=e(a)),a!==r)return!1}return!0}(this._results,i,e))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=uz}function cd(t){return!(128&~t.flags)}var B4=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(B4||{});const U4=new Map;let hz=0;function W6(t){U4.delete(t[19])}const q4="__ngContext__";function ao(t,n){Xi(n)?(t[q4]=n[19],function mz(t){U4.set(t[19],t)}(n)):t[q4]=n}function y9(t){return C9(t[12])}function b9(t){return C9(t[4])}function C9(t){for(;null!==t&&!Re(t);)t=t[4];return t}let Z6;function pl(){if(void 0!==Z6)return Z6;if(typeof document<"u")return document;throw new Se(210,!1)}const Dc=new Be("",{providedIn:"root",factory:()=>zz}),zz="ng",X6=new Be(""),xc=new Be("",{providedIn:"platform",factory:()=>"unknown"}),dd=new Be(""),hd=new Be("",{providedIn:"root",factory:()=>pl().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),z9=new Be("",{providedIn:"root",factory:()=>!1});var c8=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(c8||{});const D1=new Be("");var x1=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(x1||{});let u8=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=tt({token:t,providedIn:"root",factory:()=>new t})}return t})();const N9=[x1.EarlyRead,x1.Write,x1.MixedReadWrite,x1.Read];let F9=(()=>{class t{ngZone=te(cn);scheduler=te(hl);errorHandler=te(ml,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){te(D1,{optional:!0})}execute(){this.executing=!0;for(const e of N9)for(const i of this.sequences)if(!i.erroredOrDestroyed&&i.hooks[e])try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>i.hooks[e](i.pipelinedValue),i.snapshot))}catch(r){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(const e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(7))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,i){return i?i.run(c8.AFTER_NEXT_RENDER,e):e()}static \u0275prov=tt({token:t,providedIn:"root",factory:()=>new t})}return t})();class R9{impl;hooks;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,i,r,a=null){this.impl=n,this.hooks=e,this.once=i,this.snapshot=a,this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function Ec(t,n){!n?.injector&&no();const e=n?.injector??te(rr);return ia("NgAfterNextRender"),H9(t,e,n,!0)}function H9(t,n,e,i){const r=n.get(u8);r.impl??=n.get(F9);const a=n.get(D1,null,{optional:!0}),o=e?.phase??x1.MixedReadWrite,s=!0!==e?.manualCleanup?n.get(ds):null,l=new R9(r.impl,function Fz(t,n){if(t instanceof Function){const e=[void 0,void 0,void 0,void 0];return e[n]=t,e}return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}(t,o),i,s,a?.snapshot(null));return r.impl.register(l),l}function c_(t,n){const e=t.contentQueries;if(null!==e){const i=v(null);try{for(let r=0;r<e.length;r+=2){const o=e[r+1];if(-1!==o){const s=t.data[o];I4(e[r]),s.contentQueries(2,n[o],o)}}}finally{v(i)}}}function w8(t,n,e){I4(0);const i=v(null);try{n(t,e)}finally{v(i)}}function M8(t,n,e){if(K0(n)){const i=v(null);try{const a=n.directiveEnd;for(let o=n.directiveStart;o<a;o++){const s=t.data[o];s.contentQueries&&s.contentQueries(1,e[o],o)}}finally{v(i)}}}var hs=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(hs||{});let ih,rh;function P1(t){return function S8(){if(void 0===ih&&(ih=null,li.trustedTypes))try{ih=li.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=