UNPKG

@gouvfr-anct/cartographie-nationale

Version:

💻 Client pour l'affichage de la cartographie nationale de l’offre de médiation numérique dans un navigateur web.

1 lines • 902 kB
(self.webpackChunkorientation=self.webpackChunkorientation||[]).push([["main"],{242:(Q,ot,ue)=>{"use strict";function te(e){return"function"==typeof e}function ht(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const st=ht(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function lt(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Je{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const a of n)a.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(te(r))try{r()}catch(a){t=a instanceof st?a.errors:[a]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const a of i)try{Xr(a)}catch(o){t=t??[],o instanceof st?t=[...t,...o.errors]:t.push(o)}}if(t)throw new st(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Xr(t);else{if(t instanceof Je){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&lt(n,t)}remove(t){const{_finalizers:n}=this;n&&lt(n,t),t instanceof Je&&t._removeParent(this)}}Je.EMPTY=(()=>{const e=new Je;return e.closed=!0,e})();const jt=Je.EMPTY;function Gn(e){return e instanceof Je||e&&"closed"in e&&te(e.remove)&&te(e.add)&&te(e.unsubscribe)}function Xr(e){te(e)?e():e.unsubscribe()}const dr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Kt={setTimeout(e,t,...n){const{delegate:r}=Kt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Kt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function dn(e){Kt.setTimeout(()=>{const{onUnhandledError:t}=dr;if(!t)throw e;t(e)})}function ut(){}const An=Er("C",void 0,void 0);function Er(e,t,n){return{kind:e,value:t,error:n}}let $t=null;function Ln(e){if(dr.useDeprecatedSynchronousErrorHandling){const t=!$t;if(t&&($t={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=$t;if($t=null,n)throw r}}else e()}class ei extends Je{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Gn(t)&&t.add(this)):this.destination=Sa}static create(t,n,r){return new fn(t,n,r)}next(t){this.isStopped?yi(function _n(e){return Er("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?yi(function Sr(e){return Er("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?yi(An,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()}}}const Hi=Function.prototype.bind;function mi(e,t){return Hi.call(e,t)}class Wn{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Vn(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Vn(r)}else Vn(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Vn(n)}}}class fn extends ei{constructor(t,n,r){let i;if(super(),te(t)||!t)i={next:t??void 0,error:n??void 0,complete:r??void 0};else{let a;this&&dr.useDeprecatedNextContext?(a=Object.create(t),a.unsubscribe=()=>this.unsubscribe(),i={next:t.next&&mi(t.next,a),error:t.error&&mi(t.error,a),complete:t.complete&&mi(t.complete,a)}):i=t}this.destination=new Wn(i)}}function Vn(e){dr.useDeprecatedSynchronousErrorHandling?function fr(e){dr.useDeprecatedSynchronousErrorHandling&&$t&&($t.errorThrown=!0,$t.error=e)}(e):dn(e)}function yi(e,t){const{onStoppedNotification:n}=dr;n&&Kt.setTimeout(()=>n(e,t))}const Sa={closed:!0,next:ut,error:function gi(e){throw e},complete:ut},ti="function"==typeof Symbol&&Symbol.observable||"@@observable";function hr(e){return e}function ni(e){return 0===e.length?hr:1===e.length?e[0]:function(n){return e.reduce((r,i)=>i(r),n)}}let Pt=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,i){const a=function Ue(e){return e&&e instanceof ei||function Z(e){return e&&te(e.next)&&te(e.error)&&te(e.complete)}(e)&&Gn(e)}(n)?n:new fn(n,r,i);return Ln(()=>{const{operator:o,source:s}=this;a.add(o?o.call(a,s):s?this._subscribe(a):this._trySubscribe(a))}),a}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Ce(r))((i,a)=>{const o=new fn({next:s=>{try{n(s)}catch(l){a(l),o.unsubscribe()}},error:a,complete:i});this.subscribe(o)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[ti](){return this}pipe(...n){return ni(n)(this)}toPromise(n){return new(n=Ce(n))((r,i)=>{let a;this.subscribe(o=>a=o,o=>i(o),()=>r(a))})}}return e.create=t=>new e(t),e})();function Ce(e){var t;return null!==(t=e??dr.Promise)&&void 0!==t?t:Promise}const Ut=ht(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Le=(()=>{class e extends Pt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Gt(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ut}next(n){Ln(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Ln(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ln(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{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(null===(n=this.observers)||void 0===n?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){const{hasError:r,isStopped:i,observers:a}=this;return r||i?jt:(this.currentObservers=null,a.push(n),new Je(()=>{this.currentObservers=null,lt(a,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:i,isStopped:a}=this;r?n.error(i):a&&n.complete()}asObservable(){const n=new Pt;return n.source=this,n}}return e.create=(t,n)=>new Gt(t,n),e})();class Gt extends Le{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:jt}}function Ht(e){return te(e?.lift)}function Ve(e){return t=>{if(Ht(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 Ye(e,t,n,r,i){return new er(e,t,n,r,i)}class er extends ei{constructor(t,n,r,i,a,o){super(t),this.onFinalize=a,this.shouldUnsubscribe=o,this._next=n?function(s){try{n(s)}catch(l){t.error(l)}}:super._next,this._error=i?function(s){try{i(s)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){t.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function K(e,t){return Ve((n,r)=>{let i=0;n.subscribe(Ye(r,a=>{r.next(e.call(t,a,i++))}))})}function Jn(e,t){return function(n,r){t(n,r,e)}}function zr(e){return this instanceof zr?(this.v=e,this):new zr(e)}function Yn(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),a=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(y){r[y]&&(i[y]=function(D){return new Promise(function(M,P){a.push([y,D,M,P])>1||s(y,D)})})}function s(y,D){try{!function l(y){y.value instanceof zr?Promise.resolve(y.value.v).then(u,c):h(a[0][2],y)}(r[y](D))}catch(M){h(a[0][3],M)}}function u(y){s("next",y)}function c(y){s("throw",y)}function h(y,D){y(D),a.shift(),a.length&&s(a[0][0],a[0][1])}}function vt(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Ur(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)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.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(a){n[a]=e[a]&&function(o){return new Promise(function(s,l){!function i(a,o,s,l){Promise.resolve(l).then(function(u){a({value:u,done:s})},o)}(s,l,(o=e[a](o)).done,o.value)})}}}const Jt=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function it(e){return te(e?.then)}function Oe(e){return te(e[ti])}function Qn(e){return Symbol.asyncIterator&&te(e?.[Symbol.asyncIterator])}function Ao(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const ls=function Et(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Di(e){return te(e?.[ls])}function aa(e){return Yn(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:i}=yield zr(n.read());if(i)return yield zr(void 0);yield yield zr(r)}}finally{n.releaseLock()}})}function I(e){return te(e?.getReader)}function b(e){if(e instanceof Pt)return e;if(null!=e){if(Oe(e))return function v(e){return new Pt(t=>{const n=e[ti]();if(te(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Jt(e))return function g(e){return new Pt(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(it(e))return function p(e){return new Pt(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,dn)})}(e);if(Qn(e))return C(e);if(Di(e))return function _(e){return new Pt(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(I(e))return function k(e){return C(aa(e))}(e)}throw Ao(e)}function C(e){return new Pt(t=>{(function R(e,t){var n,r,i,a;return function vl(e,t,n,r){return new(n||(n=Promise))(function(a,o){function s(c){try{u(r.next(c))}catch(h){o(h)}}function l(c){try{u(r.throw(c))}catch(h){o(h)}}function u(c){c.done?a(c.value):function i(a){return a instanceof n?a:new n(function(o){o(a)})}(c.value).then(s,l)}u((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=vt(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(o){i={error:o}}finally{try{r&&!r.done&&(a=n.return)&&(yield a.call(n))}finally{if(i)throw i.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function W(e,t,n,r=0,i=!1){const a=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(a),!i)return a}function S(e,t,n=1/0){return te(t)?S((r,i)=>K((a,o)=>t(r,a,i,o))(b(e(r,i))),n):("number"==typeof t&&(n=t),Ve((r,i)=>function X(e,t,n,r,i,a,o,s){const l=[];let u=0,c=0,h=!1;const y=()=>{h&&!l.length&&!u&&t.complete()},D=P=>u<r?M(P):l.push(P),M=P=>{a&&t.next(P),u++;let H=!1;b(n(P,c++)).subscribe(Ye(t,j=>{i?.(j),a?D(j):t.next(j)},()=>{H=!0},void 0,()=>{if(H)try{for(u--;l.length&&u<r;){const j=l.shift();o?W(t,o,()=>M(j)):M(j)}y()}catch(j){t.error(j)}}))};return e.subscribe(Ye(t,D,()=>{h=!0,y()})),()=>{s?.()}}(r,i,e,n)))}function se(e=1/0){return S(hr,e)}const oe=new Pt(e=>e.complete());function ze(e){return e&&te(e.schedule)}function me(e){return e[e.length-1]}function De(e){return te(me(e))?e.pop():void 0}function xt(e){return ze(me(e))?e.pop():void 0}function Mt(e,t){return"number"==typeof me(e)?e.pop():t}function In(e,t=0){return Ve((n,r)=>{n.subscribe(Ye(r,i=>W(r,e,()=>r.next(i),t),()=>W(r,e,()=>r.complete(),t),i=>W(r,e,()=>r.error(i),t)))})}function rr(e,t=0){return Ve((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ir(e,t){if(!e)throw new Error("Iterable cannot be null");return new Pt(n=>{W(n,t,()=>{const r=e[Symbol.asyncIterator]();W(n,t,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function Ot(e,t){return t?function us(e,t){if(null!=e){if(Oe(e))return function wi(e,t){return b(e).pipe(rr(t),In(t))}(e,t);if(Jt(e))return function qr(e,t){return new Pt(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(it(e))return function oa(e,t){return b(e).pipe(rr(t),In(t))}(e,t);if(Qn(e))return Ir(e,t);if(Di(e))return function Ci(e,t){return new Pt(n=>{let r;return W(n,t,()=>{r=e[ls](),W(n,t,()=>{let i,a;try{({value:i,done:a}=r.next())}catch(o){return void n.error(o)}a?n.complete():n.next(i)},0,!0)}),()=>te(r?.return)&&r.return()})}(e,t);if(I(e))return function Ma(e,t){return Ir(aa(e),t)}(e,t)}throw Ao(e)}(e,t):b(e)}function Aa(...e){const t=xt(e),n=Mt(e,1/0),r=e;return r.length?1===r.length?b(r[0]):se(n)(Ot(r,t)):oe}function Ia(e={}){const{connector:t=(()=>new Le),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return a=>{let o,s,l,u=0,c=!1,h=!1;const y=()=>{s?.unsubscribe(),s=void 0},D=()=>{y(),o=l=void 0,c=h=!1},M=()=>{const P=o;D(),P?.unsubscribe()};return Ve((P,H)=>{u++,!h&&!c&&y();const j=l=l??t();H.add(()=>{u--,0===u&&!h&&!c&&(s=ji(M,i))}),j.subscribe(H),!o&&u>0&&(o=new fn({next:ne=>j.next(ne),error:ne=>{h=!0,y(),s=ji(D,n,ne),j.error(ne)},complete:()=>{c=!0,y(),s=ji(D,r),j.complete()}}),b(P).subscribe(o))})(a)}}function ji(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new fn({next:()=>{r.unsubscribe(),e()}});return b(t(...n)).subscribe(r)}function Rt(e){for(let t in e)if(e[t]===Rt)return t;throw Error("Could not find renamed property on target object.")}function Ta(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function At(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(At).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Gr(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const cs=Rt({__forward_ref__:Rt});function Lt(e){return e.__forward_ref__=Lt,e.toString=function(){return At(this())},e}function Re(e){return d(e)?e():e}function d(e){return"function"==typeof e&&e.hasOwnProperty(cs)&&e.__forward_ref__===Lt}function f(e){return e&&!!e.\u0275providers}const A="https://g.co/ng/security#xss";class m extends Error{constructor(t,n){super(function N(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function w(e){return"string"==typeof e?e:null==e?"":String(e)}function ce(e,t){throw new m(-201,!1)}function tt(e,t){null==e&&function he(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Te(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function en(e){return{providers:e.providers||[],imports:e.imports||[]}}function ir(e){return io(e,ec)||io(e,T1)}function io(e,t){return e.hasOwnProperty(t)?e[t]:null}function I1(e){return e&&(e.hasOwnProperty(Lf)||e.hasOwnProperty(KE))?e[Lf]:null}const ec=Rt({\u0275prov:Rt}),Lf=Rt({\u0275inj:Rt}),T1=Rt({ngInjectableDef:Rt}),KE=Rt({ngInjectorDef:Rt});var $e=(()=>(($e=$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))();let Vf;function Si(e){const t=Vf;return Vf=e,t}function P1(e,t,n){const r=ir(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&$e.Optional?null:void 0!==t?t:void ce(At(e))}const tn=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Dl={},Hf="__NG_DI_FLAG__",tc="ngTempTokenPath",QE=/\n/gm,F1="__source";let wl;function ds(e){const t=wl;return wl=e,t}function ex(e,t=$e.Default){if(void 0===wl)throw new m(-203,!1);return null===wl?P1(e,void 0,t):wl.get(e,t&$e.Optional?null:void 0,t)}function Ee(e,t=$e.Default){return(function YE(){return Vf}()||ex)(Re(e),t)}function mt(e,t=$e.Default){return Ee(e,nc(t))}function nc(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Bf(e){const t=[];for(let n=0;n<e.length;n++){const r=Re(e[n]);if(Array.isArray(r)){if(0===r.length)throw new m(900,!1);let i,a=$e.Default;for(let o=0;o<r.length;o++){const s=r[o],l=tx(s);"number"==typeof l?-1===l?i=s.token:a|=l:i=s}t.push(Ee(i,a))}else t.push(Ee(r))}return t}function Cl(e,t){return e[Hf]=t,e.prototype[Hf]=t,e}function tx(e){return e[Hf]}function ao(e){return{toString:e}.toString()}var $i=(()=>(($i=$i||{})[$i.OnPush=0]="OnPush",$i[$i.Default=1]="Default",$i))(),Ui=(()=>{return(e=Ui||(Ui={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ui;var e})();const Pa={},Bt=[],rc=Rt({\u0275cmp:Rt}),jf=Rt({\u0275dir:Rt}),$f=Rt({\u0275pipe:Rt}),k1=Rt({\u0275mod:Rt}),Fa=Rt({\u0275fac:Rt}),Sl=Rt({__NG_ELEMENT_ID__:Rt});let ix=0;function Yt(e){return ao(()=>{const n=!0===e.standalone,r={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===$i.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||Bt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ui.Emulated,id:"c"+ix++,styles:e.styles||Bt,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},a=e.dependencies,o=e.features;return i.inputs=V1(e.inputs,r),i.outputs=V1(e.outputs),o&&o.forEach(s=>s(i)),i.directiveDefs=a?()=>("function"==typeof a?a():a).map(R1).filter(L1):null,i.pipeDefs=a?()=>("function"==typeof a?a():a).map(Fr).filter(L1):null,i})}function R1(e){return zt(e)||pr(e)}function L1(e){return null!==e}function Tn(e){return ao(()=>({type:e.type,bootstrap:e.bootstrap||Bt,declarations:e.declarations||Bt,imports:e.imports||Bt,exports:e.exports||Bt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function V1(e,t){if(null==e)return Pa;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],a=i;Array.isArray(i)&&(a=i[1],i=i[0]),n[i]=r,t&&(t[i]=a)}return n}const qe=Yt;function Pr(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function zt(e){return e[rc]||null}function pr(e){return e[jf]||null}function Fr(e){return e[$f]||null}function ri(e,t){const n=e[k1]||null;if(!n&&!0===t)throw new Error(`Type ${At(e)} does not have '\u0275mod' property.`);return n}function ii(e){return Array.isArray(e)&&"object"==typeof e[1]}function qi(e){return Array.isArray(e)&&!0===e[1]}function qf(e){return 0!=(4&e.flags)}function Al(e){return e.componentOffset>-1}function lc(e){return 1==(1&e.flags)}function Gi(e){return null!==e.template}function ox(e){return 0!=(256&e[2])}function To(e,t){return e.hasOwnProperty(Fa)?e[Fa]:null}class z1{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function kr(){return q1}function q1(e){return e.type.prototype.ngOnChanges&&(e.setInput=cx),ux}function ux(){const e=W1(this),t=e?.current;if(t){const n=e.previous;if(n===Pa)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function cx(e,t,n,r){const i=this.declaredInputs[n],a=W1(e)||function dx(e,t){return e[G1]=t}(e,{previous:Pa,current:null}),o=a.current||(a.current={}),s=a.previous,l=s[i];o[i]=new z1(l&&l.currentValue,t,s===Pa),e[r]=t}kr.ngInherit=!0;const G1="__ngSimpleChanges__";function W1(e){return e[G1]||null}function ar(e){for(;Array.isArray(e);)e=e[0];return e}function uc(e,t){return ar(t[e])}function ai(e,t){return ar(t[e.index])}function Y1(e,t){return e.data[t]}function ys(e,t){return e[t]}function oi(e,t){const n=t[e];return ii(n)?n:n[0]}function cc(e){return 64==(64&e[2])}function oo(e,t){return null==t?null:e[t]}function Z1(e){e[18]=0}function Wf(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const nt={lFrame:l2(null),bindingsEnabled:!0};function X1(){return nt.bindingsEnabled}function G(){return nt.lFrame.lView}function It(){return nt.lFrame.tView}function ge(e){return nt.lFrame.contextLView=e,e[8]}function ye(e){return nt.lFrame.contextLView=null,e}function or(){let e=e2();for(;null!==e&&64===e.type;)e=e.parent;return e}function e2(){return nt.lFrame.currentTNode}function la(e,t){const n=nt.lFrame;n.currentTNode=e,n.isParent=t}function Jf(){return nt.lFrame.isParent}function Kf(){nt.lFrame.isParent=!1}function Nr(){const e=nt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function _s(){return nt.lFrame.bindingIndex++}function Na(e){const t=nt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Sx(e,t){const n=nt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Yf(t)}function Yf(e){nt.lFrame.currentDirectiveIndex=e}function a2(){return nt.lFrame.currentQueryIndex}function Qf(e){nt.lFrame.currentQueryIndex=e}function xx(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function o2(e,t,n){if(n&$e.SkipSelf){let i=t,a=e;for(;!(i=i.parent,null!==i||n&$e.Host||(i=xx(a),null===i||(a=a[15],10&i.type))););if(null===i)return!1;t=i,e=a}const r=nt.lFrame=s2();return r.currentTNode=t,r.lView=e,!0}function Xf(e){const t=s2(),n=e[1];nt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function s2(){const e=nt.lFrame,t=null===e?null:e.child;return null===t?l2(e):t}function l2(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function u2(){const e=nt.lFrame;return nt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const c2=u2;function eh(){const e=u2();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Rr(){return nt.lFrame.selectedIndex}function Po(e){nt.lFrame.selectedIndex=e}function pn(){const e=nt.lFrame;return Y1(e.tView,e.selectedIndex)}function dc(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const a=e.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=a;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),s&&((e.contentHooks||(e.contentHooks=[])).push(n,s),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,s)),l&&(e.viewHooks||(e.viewHooks=[])).push(-n,l),u&&((e.viewHooks||(e.viewHooks=[])).push(n,u),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,u)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(n,c)}}function fc(e,t,n){h2(e,t,3,n)}function hc(e,t,n,r){(3&e[2])===n&&h2(e,t,n,r)}function th(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function h2(e,t,n,r){const a=r??-1,o=t.length-1;let s=0;for(let l=void 0!==r?65535&e[18]:0;l<o;l++)if("number"==typeof t[l+1]){if(s=t[l],null!=r&&s>=r)break}else t[l]<0&&(e[18]+=65536),(s<a||-1==a)&&(Ox(e,n,t,l),e[18]=(4294901760&e[18])+l+2),l++}function Ox(e,t,n,r){const i=n[r]<0,a=n[r+1],s=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{a.call(s)}finally{}}}else try{a.call(s)}finally{}}class Tl{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function rh(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const a=n[r++],o=n[r++],s=n[r++];e.setAttribute(t,o,s,a)}else{const a=i,o=n[++r];m2(a)?e.setProperty(t,a,o):e.setAttribute(t,a,o),r++}}return r}function p2(e){return 3===e||4===e||6===e}function m2(e){return 64===e.charCodeAt(0)}function Pl(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||g2(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function g2(e,t,n,r,i){let a=0,o=e.length;if(-1===t)o=-1;else for(;a<e.length;){const s=e[a++];if("number"==typeof s){if(s===t){o=-1;break}if(s>t){o=a-1;break}}}for(;a<e.length;){const s=e[a];if("number"==typeof s)break;if(s===n){if(null===r)return void(null!==i&&(e[a+1]=i));if(r===e[a+1])return void(e[a+2]=i)}a++,null!==r&&a++,null!==i&&a++}-1!==o&&(e.splice(o,0,t),a=o+1),e.splice(a++,0,n),null!==r&&e.splice(a++,0,r),null!==i&&e.splice(a++,0,i)}function y2(e){return-1!==e}function pc(e){return 32767&e}function mc(e,t){let n=function Lx(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ih=!0;function gc(e){const t=ih;return ih=e,t}let Vx=0;const ua={};function yc(e,t){const n=b2(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,ah(r.data,e),ah(t,null),ah(r.blueprint,null));const i=oh(e,t),a=e.injectorIndex;if(y2(i)){const o=pc(i),s=mc(i,t),l=s[1].data;for(let u=0;u<8;u++)t[a+u]=s[o+u]|l[o+u]}return t[a+8]=i,a}function ah(e,t){e.push(0,0,0,0,0,0,0,0,t)}function b2(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function oh(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=M2(i),null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function sh(e,t,n){!function Hx(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Sl)&&(r=n[Sl]),null==r&&(r=n[Sl]=Vx++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function D2(e,t,n){if(n&$e.Optional||void 0!==e)return e;ce()}function w2(e,t,n,r){if(n&$e.Optional&&void 0===r&&(r=null),!(n&($e.Self|$e.Host))){const i=e[9],a=Si(void 0);try{return i?i.get(t,r,n&$e.Optional):P1(t,r,n&$e.Optional)}finally{Si(a)}}return D2(r,0,n)}function C2(e,t,n,r=$e.Default,i){if(null!==e){if(1024&t[2]){const o=function zx(e,t,n,r,i){let a=e,o=t;for(;null!==a&&null!==o&&1024&o[2]&&!(256&o[2]);){const s=S2(a,o,n,r|$e.Self,ua);if(s!==ua)return s;let l=a.parent;if(!l){const u=o[21];if(u){const c=u.get(n,ua,r);if(c!==ua)return c}l=M2(o),o=o[15]}a=l}return i}(e,t,n,r,ua);if(o!==ua)return o}const a=S2(e,t,n,r,ua);if(a!==ua)return a}return w2(t,n,r,i)}function S2(e,t,n,r,i){const a=function $x(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Sl)?e[Sl]:void 0;return"number"==typeof t?t>=0?255&t:Ux:t}(n);if("function"==typeof a){if(!o2(t,e,r))return r&$e.Host?D2(i,0,r):w2(t,n,r,i);try{const o=a(r);if(null!=o||r&$e.Optional)return o;ce()}finally{c2()}}else if("number"==typeof a){let o=null,s=b2(e,t),l=-1,u=r&$e.Host?t[16][6]:null;for((-1===s||r&$e.SkipSelf)&&(l=-1===s?oh(e,t):t[s+8],-1!==l&&x2(r,!1)?(o=t[1],s=pc(l),t=mc(l,t)):s=-1);-1!==s;){const c=t[1];if(E2(a,s,c.data)){const h=jx(s,t,n,o,r,u);if(h!==ua)return h}l=t[s+8],-1!==l&&x2(r,t[1].data[s+8]===u)&&E2(a,s,t)?(o=c,s=pc(l),t=mc(l,t)):s=-1}}return i}function jx(e,t,n,r,i,a){const o=t[1],s=o.data[e+8],c=_c(s,o,n,null==r?Al(s)&&ih:r!=o&&0!=(3&s.type),i&$e.Host&&a===s);return null!==c?Fo(t,o,c,s):ua}function _c(e,t,n,r,i){const a=e.providerIndexes,o=t.data,s=1048575&a,l=e.directiveStart,c=a>>20,y=i?s+c:e.directiveEnd;for(let D=r?s:s+c;D<y;D++){const M=o[D];if(D<l&&n===M||D>=l&&M.type===n)return D}if(i){const D=o[l];if(D&&Gi(D)&&D.type===n)return l}return null}function Fo(e,t,n,r){let i=e[n];const a=t.data;if(function kx(e){return e instanceof Tl}(i)){const o=i;o.resolving&&function Y(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new m(-200,`Circular dependency in DI detected for ${e}${n}`)}(function L(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():w(e)}(a[n]));const s=gc(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?Si(o.injectImpl):null;o2(e,r,$e.Default);try{i=e[n]=o.factory(void 0,a,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Fx(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:a}=t.type.prototype;if(r){const o=q1(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{null!==l&&Si(l),gc(s),o.resolving=!1,c2()}}return i}function E2(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function x2(e,t){return!(e&$e.Self||e&$e.Host&&t)}class bs{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return C2(this._tNode,this._lView,t,nc(r),n)}}function Ux(){return new bs(or(),G())}function sr(e){return ao(()=>{const t=e.prototype.constructor,n=t[Fa]||lh(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const a=i[Fa]||lh(i);if(a&&a!==n)return a;i=Object.getPrototypeOf(i)}return a=>new a})}function lh(e){return d(e)?()=>{const t=lh(Re(e));return t&&t()}:To(e)}function M2(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}function vc(e){return function Bx(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const a=n[i];if(p2(a))break;if(0===a)i+=2;else if("number"==typeof a)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(a===t)return n[i+1];i+=2}}}return null}(or(),e)}const ws="__parameters__";function Ss(e,t,n){return ao(()=>{const r=function uh(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...a){if(this instanceof i)return r.apply(this,a),this;const o=new i(...a);return s.annotation=o,s;function s(l,u,c){const h=l.hasOwnProperty(ws)?l[ws]:Object.defineProperty(l,ws,{value:[]})[ws];for(;h.length<=c;)h.push(null);return(h[c]=h[c]||[]).push(o),l}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}class xe{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Te({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Oo(e,t){e.forEach(n=>Array.isArray(n)?Oo(n,t):t(n))}function I2(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function bc(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function kl(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function si(e,t,n){let r=Es(e,t);return r>=0?e[1|r]=n:(r=~r,function Jx(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function dh(e,t){const n=Es(e,t);if(n>=0)return e[1|n]}function Es(e,t){return function T2(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const a=r+(i-r>>1),o=e[a<<n];if(t===o)return a<<n;o>t?i=a:r=a+1}return~(i<<n)}(e,t,1)}const Nl=Cl(Ss("Inject",e=>({token:e})),-1),Rl=Cl(Ss("Optional"),8),Ll=Cl(Ss("SkipSelf"),4);var Jr=(()=>((Jr=Jr||{})[Jr.Important=1]="Important",Jr[Jr.DashCase=2]="DashCase",Jr))();const gh=new Map;let gM=0;const _h="__ngContext__";function yr(e,t){ii(t)?(e[_h]=t[20],function _M(e){gh.set(e[20],e)}(t)):e[_h]=t}function bh(e,t){return undefined(e,t)}function jl(e){const t=e[3];return qi(t)?t[3]:t}function Dh(e){return Y2(e[13])}function wh(e){return Y2(e[4])}function Y2(e){for(;null!==e&&!qi(e);)e=e[4];return e}function Ms(e,t,n,r,i){if(null!=r){let a,o=!1;qi(r)?a=r:ii(r)&&(o=!0,r=r[0]);const s=ar(r);0===e&&null!==n?null==i?ny(t,n,s):ko(t,n,s,i||null,!0):1===e&&null!==n?ko(t,n,s,i||null,!0):2===e?function Ih(e,t,n){const r=Sc(e,t);r&&function VM(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,s,o):3===e&&t.destroyNode(s),null!=a&&function jM(e,t,n,r,i){const a=n[7];a!==ar(n)&&Ms(t,e,r,a,i);for(let s=10;s<n.length;s++){const l=n[s];$l(l[1],l,e,t,r,a)}}(t,e,a,n,i)}}function Sh(e,t,n){return e.createElement(t,n)}function Q2(e,t){const n=e[9],r=n.indexOf(t),i=t[3];512&t[2]&&(t[2]&=-513,Wf(i,-1)),n.splice(r,1)}function Eh(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&Q2(i,r),t>0&&(e[n-1][4]=r[4]);const a=bc(e,10+t);!function TM(e,t){$l(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const o=a[19];null!==o&&o.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function X2(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&$l(e,t,n,3,null,null),function OM(e){let t=e[13];if(!t)return xh(e[1],e);for(;t;){let n=null;if(ii(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)ii(t)&&xh(t[1],t),t=t[3];null===t&&(t=e),ii(t)&&xh(t[1],t),n=t&&t[4]}t=n}}(t)}}function xh(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function LM(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof Tl)){const a=n[r+1];if(Array.isArray(a))for(let o=0;o<a.length;o+=2){const s=i[a[o]],l=a[o+1];try{l.call(s)}finally{}}else try{a.call(i)}finally{}}}}(e,t),function RM(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const o=n[a+3];o>=0?r[i=o]():r[i=-o].unsubscribe(),a+=2}else{const o=r[i=n[a+1]];n[a].call(o)}if(null!==r){for(let a=i+1;a<r.length;a++)(0,r[a])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const n=t[17];if(null!==n&&qi(t[3])){n!==t[3]&&Q2(n,t);const r=t[19];null!==r&&r.detachView(e)}!function vM(e){gh.delete(e[20])}(t)}}function ey(e,t,n){return function ty(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];{const{componentOffset:i}=r;if(i>-1){const{encapsulation:a}=e.data[r.directiveStart+i];if(a===Ui.None||a===Ui.Emulated)return null}return ai(r,n)}}(e,t.parent,n)}function ko(e,t,n,r,i){e.insertBefore(t,n,r,i)}function ny(e,t,n){e.appendChild(t,n)}function ry(e,t,n,r,i){null!==r?ko(e,t,n,r,i):ny(e,t,n)}function Sc(e,t){return e.parentNode(t)}function iy(e,t,n){return oy(e,t,n)}let Mc,Fh,Ac,oy=function ay(e,t,n){return 40&e.type?ai(e,n):null};function Ec(e,t,n,r){const i=ey(e,r,t),a=t[11],s=iy(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let l=0;l<n.length;l++)ry(a,i,n[l],s,!1);else ry(a,i,n,s,!1)}function xc(e,t){if(null!==t){const n=t.type;if(3&n)return ai(t,e);if(4&n)return Ah(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return xc(e,r);{const i=e[t.index];return qi(i)?Ah(-1,i):ar(i)}}if(32&n)return bh(t,e)()||ar(e[t.index]);{const r=ly(e,t);return null!==r?Array.isArray(r)?r[0]:xc(jl(e[16]),r):xc(e,t.next)}}return null}function ly(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Ah(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return xc(r,i)}return t[7]}function Th(e,t,n,r,i,a,o){for(;null!=n;){const s=r[n.index],l=n.type;if(o&&0===t&&(s&&yr(ar(s),r),n.flags|=2),32!=(32&n.flags))if(8&l)Th(e,t,n.child,r,i,a,!1),Ms(t,e,i,s,a);else if(32&l){const u=bh(n,r);let c;for(;c=u();)Ms(t,e,i,c,a);Ms(t,e,i,s,a)}else 16&l?uy(e,t,r,n,i,a):Ms(t,e,i,s,a);n=o?n.projectionNext:n.next}}function $l(e,t,n,r,i,a){Th(n,r,e.firstChild,t,i,a,!1)}function uy(e,t,n,r,i,a){const o=n[16],l=o[6].projection[r.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++)Ms(t,e,i,l[u],a);else Th(e,t,l,o[3],i,a,!0)}function cy(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function dy(e,t,n){const{mergedAttrs:r,classes:i,styles:a}=n;null!==r&&rh(e,t,r),null!==i&&cy(e,t,i),null!==a&&function UM(e,t,n){e.setAttribute(t,"style",n)}(e,t,a)}function No(e){return function Ph(){if(void 0===Mc&&(Mc=null,tn.trustedTypes))try{Mc=tn.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Mc}()?.createHTML(e)||e}function Oh(){if(void 0===Ac&&(Ac=null,tn.trustedTypes))try{Ac=tn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ac}function hy(e){return Oh()?.createHTML(e)||e}function my(e){return Oh()?.createScriptURL(e)||e}class gy{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${A})`}}function so(e){return e instanceof gy?e.changingThisBreaksApplicationSecurity:e}function Ul(e,t){const n=function XM(e){return e instanceof gy&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${A})`)}return n===t}class eA{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(No(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class tA{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=No(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=No(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const o=n.item(i).name;("xmlns:ns1"===o||0===o.indexOf("ns1:"))&&t.removeAttribute(o)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const rA=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function kh(e){return(e=String(e)).match(rA)?e:"unsafe:"+e}function Ra(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function zl(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const _y=Ra("area,br,col,hr,img,wbr"),vy=Ra("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),by=Ra("rp,rt"),Nh=zl(_y,zl(vy,Ra("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),zl(by,Ra("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),zl(by,vy)),Rh=Ra("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Dy=zl(Rh,Ra("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ra("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),iA=Ra("script,style,template");class aA{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Nh.hasOwnProperty(n))return this.sanitizedSomething=!0,!iA.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const a=r.item(i),o=a.name,s=o.toLowerCase();if(!Dy.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=a.value;Rh[s]&&(l=kh(l)),this.buf.push(" ",o,'="',wy(l),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Nh.hasOwnProperty(n)&&!_y.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(wy(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const oA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sA=/([^\#-~ |!])/g;function wy(e){return e.replace(/&/g,"&amp;").replace(oA,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(sA,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Ic;function Lh(e){return"content"in e&&function uA(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Pn=(()=>((Pn=Pn||{})[Pn.NONE=0]="NONE",Pn[Pn.HTML=1]="HTML",Pn[Pn.STYLE=2]="STYLE",Pn[Pn.SCRIPT=3]="SCRIPT",Pn[Pn.URL=4]="URL",Pn[Pn.RESOURCE_URL=5]="RESOURCE_URL",Pn))();function Cy(e){const t=ql();return t?hy(t.sanitize(Pn.HTML,e)||""):Ul(e,"HTML")?hy(so(e)):function lA(e,t){let n=null;try{Ic=Ic||function yy(e){const t=new tA(e);return function nA(){try{return!!(new window.DOMParser).parseFromString(No(""),"text/html")}catch{return!1}}()?new eA(t):t}(e);let r=t?String(t):"";n=Ic.getInertBodyElement(r);let i=5,a=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=a,a=n.innerHTML,n=Ic.getInertBodyElement(r)}while(r!==a);return No((new aA).sanitizeChildren(Lh(n)||n))}finally{if(n){const r=Lh(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(function fy(){return void 0!==Fh?Fh:typeof document<"u"?document:void 0}(),w(e))}function La(e){const t=ql();return t?t.sanitize(Pn.URL,e)||"":Ul(e,"URL")?so(e):kh(w(e))}function Sy(e){const t=ql();if(t)return my(t.sanitize(Pn.RESOURCE_URL,e)||"");if(Ul(e,"ResourceURL"))return my(so(e));throw new m(904,!1)}function ql(){const e=G();return e&&e[12]}const Tc=new xe("ENVIRONMENT_INITIALIZER"),xy=new xe("INJECTOR",-1),My=new xe("INJECTOR_DEF_TYPES");class Ay{get(t,n=Dl){if(n===Dl){const r=new Error(`NullInjectorError: No provider for ${At(t)}!`);throw r.name="NullInjectorError",r}return n}}function gA(...e){return{\u0275providers:Iy(0,e),\u0275fromNgModule:!0}}function Iy(e,...t){const n=[],r=new Set;let i;return Oo(t,a=>{const o=a;Vh(o,n,[],r)&&(i||(i=[]),i.push(o))}),void 0!==i&&Ty(i,n),n}function Ty(e,t){for(let n=0;n<e.length;n++){const{providers:i}=e[n];Hh(i,a=>{t.push(a)})}}function Vh(e,t,n,r){if(!(e=Re(e)))return!1;let i=null,a=I1(e);const o=!a&&zt(e);if(a||o){if(o&&!o.standalone)return!1;i=e}else{const l=e.ngModule;if(a=I1(l),!a)return!1;i=l}const s=r.has(i);if(o){if(s)return!1;if(r.add(i),o.dependencies){const l="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const u of l)Vh(u,t,n,r)}}else{if(!a)return!1;{if(null!=a.imports&&!s){let u;r.add(i);try{Oo(a.imports,c=>{Vh(c,t,n,r)&&(u||(u=[]),u.push(c))})}finally{}void 0!==u&&Ty(u,t)}if(!s){const u=To(i)||(()=>new i);t.push({provide:i,useFactory:u,deps:Bt},{provide:My,useValue:i,multi:!0},{provide:Tc,useValue:()=>Ee(i),multi:!0})}const l=a.providers;null==l||s||Hh(l,c=>{t.push(c)})}}return i!==e&&void 0!==e.providers}function Hh(e,t){for(let n of e)f(n)&&(n=n.\u0275providers),Array.isArray(n)?Hh(n,t):t(n)}const yA=Rt({provide:String,useValue:Rt});function Bh(e){return null!==e&&"object"==typeof e&&yA in e}function Ro(e){return"function"==typeof e}const jh=new xe("Set Injector scope."),Pc={},vA={};let $h;function Fc(){return void 0===$h&&($h=new Ay),$h}class ca{}class Oy extends ca{get destroyed(){return this._destroyed}constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,zh(t,o=>this.processProvider(o)),this.records.set(xy,As(void 0,this)),i.has("environment")&&this.records.set(ca,As(void 0,this));const a=this.records.get(jh);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(My.multi,Bt,$e.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=ds(this),r=Si(void 0);try{return t()}finally{ds(n),Si(r)}}get(t,n=Dl,r=$e.Default){this.assertNotDestroyed(),r=nc(r);const i=ds(this),a=Si(void 0);try{if(!(r&$e.SkipSelf)){let s=this.records.get(t);if(void 0===s){const l=function SA(e){return"function"==typeof e||"object"==typeof e&&e instanceof xe}(t)&&ir(t);s=l&&this.injectableDefInScope(l)?As(Uh(t),Pc):null,this.records.set(t,s)}if(null!=s)return this.hydrate(t,s)}return(r&$e.Self?Fc():this.parent).get(t,n=r&$e.Optional&&n===Dl?null:n)}catch(o){if("NullInjectorError"===o.name){if((o[tc]=o[tc]||[]).unshift(At(t)),i)throw o;return function nx(e,t,n,r){const i=e[tc];throw t[F1]&&i.unshift(t[F1]),e.message=function rx(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=At(t);if(Array.isArray(t))i=t.map(At).join(" -> ");else if("object"==typeof t){let a=[];for(let o in t)if(t.hasOwnProperty(o)){let s=t[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):At(s)))}i=`{${a.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(QE,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[tc]=null,e}(o,t,"R3InjectorError",this.source)}throw o}finally{Si(a),ds(i)}}resolveInjectorInitializers(){const t=ds(this),n=Si(void 0);try{const r=this.get(Tc.multi,Bt,$e.Self);for(const i of r)i()}finally{ds(t),Si(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(At(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new m(205,!1)}processProvider(t){let n=Ro(t=Re(t))?t:Re(t&&t.provide);const r=function DA(e){return Bh(e)?As(void 0,e.useValue):As(ky(e),Pc)}(t);if(Ro(t)||!0!==t.multi)this.records.get(n);else{let i=this.records.get(n);i||(i=As(void 0,Pc,!0),i.factory=()=>Bf(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Pc&&(n.value=vA,n.value=n.factory()),"object"==typeof n.value&&n.value&&function CA(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Re(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Uh(e){const t=ir(e),n=null!==t?t.factory:To(e);if(null!==n)return n;if(e instanceof xe)throw new m(204,!1);if(e instanceof Function)return function bA(e){const t=e.length;if(t>0)throw kl(t,"?"),new m(204,!1);const n=function Rf(e){const t=e&&(e[ec]||e[T1]);if(t){const n=function JE(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n