PageSourceSearch

https://minasidor.mvt.se/chunk-CffQhyGZ.js

js mvt.se collected 2026-10-01 12:21:31 UTC 441,556 bytes, 8 lines download raw bytes

vendor: 15,999 bytes, lines 1-3
1import{a as y,i as x,n as B$1,r as w}from"./chunk-B03JrT7s.js";function k(e){return typeof e==`function`}function Lo(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Ba=Lo(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3  `)}`:``,this.name=`UnsubscriptionError`,this.errors=n});function Or(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Re=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(k(r))try{r()}catch(i){t=i instanceof Ba?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Tm(i)}catch(s){t=t??[],s instanceof Ba?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ba(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Tm(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Or(n,t)}remove(t){let{_finalizers:n}=this;n&&Or(n,t),t instanceof e&&t._removeParent(this)}};Re.EMPTY=(()=>{let e=new Re;return e.closed=!0,e})();var Rd=Re.EMPTY;function Ha(e){return e instanceof Re||e&&`closed`in e&&k(e.remove)&&k(e.add)&&k(e.unsubscribe)}function Tm(e){k(e)?e():e.unsubscribe()}var Ft={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Fo={setTimeout(e,t,...n){let{delegate:r}=Fo;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Fo;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Va(e){Fo.setTimeout(()=>{let{onUnhandledError:t}=Ft;if(t)t(e);else throw e})}function os(){}var Mm=Ad(`C`,void 0,void 0);function xm(e){return Ad(`E`,void 0,e)}function Rm(e){return Ad(`N`,e,void 0)}function Ad(e,t,n){return{kind:e,value:t,error:n}}var kr=null;function jo(e){if(Ft.useDeprecatedSynchronousErrorHandling){let t=!kr;if(t&&(kr={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=kr;if(kr=null,n)throw r}}else e()}function Am(e){Ft.useDeprecatedSynchronousErrorHandling&&kr&&(kr.errorThrown=!0,kr.error=e)}var Pr=class extends Re{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ha(t)&&t.add(this)):this.destination=PI}static create(t,n,r){return new Cn(t,n,r)}next(t){this.isStopped?Od(Rm(t),this):this._next(t)}error(t){this.isStopped?Od(xm(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Od(Mm,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()}}};var OI=Function.prototype.bind;function Nd(e,t){return OI.call(e,t)}var kd=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){za(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){za(r)}else za(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){za(n)}}};var Cn=class extends Pr{constructor(t,n,r){super();let o;if(k(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ft.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Nd(t.next,i),error:t.error&&Nd(t.error,i),complete:t.complete&&Nd(t.complete,i)}):o=t}this.destination=new kd(o)}};function za(e){Ft.useDeprecatedSynchronousErrorHandling?Am(e):Va(e)}function kI(e){throw e}function Od(e,t){let{onStoppedNotification:n}=Ft;n&&Fo.setTimeout(()=>n(e,t))}var PI={closed:!0,next:os,error:kI,complete:os};var Uo=typeof Symbol==`function`&&Symbol.observable||`@@observable`;function ut(e){return e}function qa(...e){return Pd(e)}function Pd(e){return e.length===0?ut:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var j=class e{constructor(t){t&&(this._subscribe=t)}lift(t){let n=new e;return n.source=this,n.operator=t,n}subscribe(t,n,r){let o=FI(t)?t:new Cn(t,n,r);return jo(()=>{let{operator:i,source:s}=this;o.add(i?i.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(n){t.error(n)}}forEach(t,n){return n=Nm(n),new n((r,o)=>{let i=new Cn({next:s=>{try{t(s)}catch(a){o(a),i.unsubscribe()}},error:o,complete:r});this.subscribe(i)})}_subscribe(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)}[Uo](){return this}pipe(...t){return Pd(t)(this)}toPromise(t){return t=Nm(t),new t((n,r)=>{let o;this.subscribe(i=>o=i,i=>r(i),()=>n(o))})}};j.create=e=>new j(e);function Nm(e){var t;return(t=e??Ft.Promise)!==null&&t!==void 0?t:Promise}function LI(e){return e&&k(e.next)&&k(e.error)&&k(e.complete)}function FI(e){return e&&e instanceof Pr||LI(e)&&Ha(e)}var De=new j(e=>e.complete());function km(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Om(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}function Lr(e){return this instanceof Lr?(this.v=e,this):new Lr(e)}function Pm(e,t,n){if(!Symbol.asyncIterator)throw new TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),a(`next`),a(`throw`),a(`return`,s),o[Symbol.asyncIterator]=function(){return this},o;function s(h){return function(p){return Promise.resolve(p).then(h,d)}}function a(h,p){r[h]&&(o[h]=function(v){return new Promise(function(b,E){i.push([h,v,b,E])>1||c(h,v)})},p&&(o[h]=p(o[h])))}function c(h,p){try{u(r[h](p))}catch(v){f(i[0][3],v)}}function u(h){h.value instanceof Lr?Promise.resolve(h.value.v).then(l,d):f(i[0][2],h)}function l(h){c(`next`,h)}function d(h){c(`throw`,h)}function f(h,p){h(p),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Lm(e){if(!Symbol.asyncIterator)throw new TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Om==`function`?Om(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var $o=(e=>e&&typeof e.length==`number`&&typeof e!=`function`);function Ga(e){return k(e?.then)}function Wa(e){return k(e[Uo])}function Ka(e){return Symbol.asyncIterator&&k(e?.[Symbol.asyncIterator])}function Ya(e){return new TypeError(`You provided ${e!==null&&typeof e==`object`?`an invalid object`:`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function jI(){return typeof Symbol!=`function`||!Symbol.iterator?`@@iterator`:Symbol.iterator}var Za=jI();function Qa(e){return k(e?.[Za])}function Ja(e){return Pm(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Lr(n.read());if(o)return yield Lr(void 0);yield yield Lr(r)}}finally{n.releaseLock()}})}function Xa(e){return k(e?.getReader)}function W(e){if(e instanceof j)return e;if(e!=null){if(Wa(e))return UI(e);if($o(e))return $I(e);if(Ga(e))return BI(e);if(Ka(e))return Fm(e);if(Qa(e))return HI(e);if(Xa(e))return VI(e)}throw Ya(e)}function UI(e){return new j(t=>{let n=e[Uo]();if(k(n.subscribe))return n.subscribe(t);throw new TypeError(`Provided object does not correctly implement Symbol.observable`)})}function $I(e){return new j(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function BI(e){return new j(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Va)})}function HI(e){return new j(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Fm(e){return new j(t=>{zI(e,t).catch(n=>t.error(n))})}function VI(e){return Fm(Ja(e))}function zI(e,t){var n,r,o,i;return km(this,void 0,void 0,function*(){try{for(n=Lm(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function rt(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function qI(e){return k(e?.lift)}function B(e){return t=>{if(qI(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 U(e,t,n,r,o){return new Ld(e,t,n,r,o)}var Ld=class extends Pr{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function ec(e,t=0){return B((n,r)=>{n.subscribe(U(r,o=>rt(r,e,()=>r.next(o),t),()=>rt(r,e,()=>r.complete(),t),o=>rt(r,e,()=>r.error(o),t)))})}function tc(e,t=0){return B((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function jm(e,t){return W(e).pipe(tc(t),ec(t))}function Um(e,t){return W(e).pipe(tc(t),ec(t))}function $m(e,t){return new j(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Bm(e,t){return new j(n=>{let r;return rt(n,t,()=>{r=e[Za](),rt(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>k(r?.return)&&r.return()})}function nc(e,t){if(!e)throw new Error(`Iterable cannot be null`);return new j(n=>{rt(n,t,()=>{let r=e[Symbol.asyncIterator]();rt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Hm(e,t){return nc(Ja(e),t)}function Vm(e,t){if(e!=null){if(Wa(e))return jm(e,t);if($o(e))return $m(e,t);if(Ga(e))return Um(e,t);if(Ka(e))return nc(e,t);if(Qa(e))return Bm(e,t);if(Xa(e))return Hm(e,t)}throw Ya(e)}function $(e,t){return t?Vm(e,t):W(e)}function rc(e){return e&&k(e.schedule)}function Fd(e){return e[e.length-1]}function Bo(e){return k(Fd(e))?e.pop():void 0}function Qt(e){return rc(Fd(e))?e.pop():void 0}function zm(e,t){return typeof Fd(e)==`number`?e.pop():t}function D(...e){return $(e,Qt(e))}function R(e,t){return B((n,r)=>{let o=0;n.subscribe(U(r,i=>{r.next(e.call(t,i,o++))}))})}function pe(e){return B((t,n)=>{let r=null,o=!1,i;r=t.subscribe(U(n,void 0,void 0,s=>{i=W(e(s,pe(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var qm=Lo(e=>function(){e(this),this.name=`ObjectUnsubscribedError`,this.message=`object unsubscribed`});var re=class extends j{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let n=new oc(this,this);return n.operator=t,n}_throwIfClosed(){if(this.closed)throw new qm}next(t){jo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(t)}})}error(t){jo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:n}=this;for(;n.length;)n.shift().error(t)}})}complete(){jo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:n,isStopped:r,observers:o}=this;return n||r?Rd:(this.currentObservers=null,o.push(t),new Re(()=>{this.currentObservers=null,Or(o,t)}))}_checkFinalizedStatuses(t){let{hasError:n,thrownError:r,isStopped:o}=this;n?t.error(r):o&&t.complete()}asObservable(){let t=new j;return t.source=this,t}};re.create=(e,t)=>new oc(e,t);var oc=class extends re{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:Rd}};var is={now(){return(is.delegate||Date).now()},delegate:void 0};var qe=class extends re{constructor(t=Infinity,n=Infinity,r=is){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===Infinity,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<Infinity&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function Gm(e={}){let{connector:t=()=>new re,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=c=void 0,l=d=!1},p=()=>{let v=s;h(),v?.unsubscribe()};return B((v,b)=>{u++,!d&&!l&&f();let E=c=c??t();b.add(()=>{u--,u===0&&!d&&!l&&(a=jd(p,o))}),E.subscribe(b),!s&&u>0&&(s=new Cn({next:T=>E.next(T),error:T=>{d=!0,f(),a=jd(h,n,T),E.error(T)},complete:()=>{l=!0,f(),a=jd(h,r),E.complete()}}),W(v).subscribe(s))})(i)}}function jd(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Cn({next:()=>{r.unsubscribe(),e()}});return W(t(...n)).subscribe(r)}function Wm(e,t,n){let r,o=!1;return e&&typeof e==`object`?{bufferSize:r=Infinity,windowTime:t=Infinity,refCount:o=!1,scheduler:n}=e:r=e??Infinity,Gm({connector:()=>new qe(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function oe(e,t,n){let r=k(e)||t||n?{next:e,error:t,complete:n}:e;return r?B((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(U(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;
vendor: 8,730 bytes, line 3
3a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):ut}var ye=class extends re{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var ic=class extends Re{constructor(t,n){super()}schedule(t,n=0){return this}};var ss={setInterval(e,t,...n){let{delegate:r}=ss;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=ss;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var sc=class extends ic{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return ss.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&ss.clearInterval(n)}execute(t,n){if(this.closed)return new Error(`executing a cancelled action`);this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error(`Scheduled action threw falsy error`)}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Or(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Ud=(()=>{class e{constructor(n,r=e.now){this.schedulerActionCtor=n,this.now=r}schedule(n,r=0,o){return new this.schedulerActionCtor(this,n).schedule(o,r)}}return e.now=is.now,e})();var ac=class extends Ud{constructor(t,n=Ud.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Fr=new ac(sc);var Km=Fr;function er(e,t){let n=k(e)?e:()=>e,r=o=>o.error(n());return new j(t?o=>t.schedule(r,0,o):r)}function cc(e){return!!e&&(e instanceof j||k(e.lift)&&k(e.subscribe))}var jr=Lo(e=>function(){e(this),this.name=`EmptyError`,this.message=`no elements in sequence`});function Ym(e){return e instanceof Date&&!isNaN(e)}var{isArray:GI}=Array;function WI(e,t){return GI(t)?e(...t):e(t)}function Ho(e){return R(t=>WI(e,t))}var{isArray:KI}=Array,{getPrototypeOf:YI,prototype:ZI,keys:QI}=Object;function uc(e){if(e.length===1){let t=e[0];if(KI(t))return{args:t,keys:null};if(JI(t)){let n=QI(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function JI(e){return e&&typeof e==`object`&&YI(e)===ZI}function lc(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Jt(...e){let t=Qt(e),n=Bo(e),{args:r,keys:o}=uc(e);if(r.length===0)return $([],t);let i=new j(XI(r,t,o?s=>lc(o,s):ut));return n?i.pipe(Ho(n)):i}function XI(e,t,n=ut){return r=>{Zm(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Zm(t,()=>{let u=$(e[c],t),l=!1;u.subscribe(U(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Zm(e,t,n){e?rt(n,e,t):t()}function Qm(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,f=()=>{d&&!c.length&&!u&&t.complete()},h=v=>u<r?p(v):c.push(v),p=v=>{i&&t.next(v),u++;let b=!1;W(n(v,l++)).subscribe(U(t,E=>{o?.(E),i?h(E):t.next(E)},()=>{b=!0},void 0,()=>{if(b)try{for(u--;c.length&&u<r;){let E=c.shift();s?rt(t,s,()=>p(E)):p(E)}f()}catch(E){t.error(E)}}))};return e.subscribe(U(t,h,()=>{d=!0,f()})),()=>{a?.()}}function Ae(e,t,n=Infinity){return k(t)?Ae((r,o)=>R((i,s)=>t(r,i,o,s))(W(e(r,o))),n):(typeof t==`number`&&(n=t),B((r,o)=>Qm(r,o,e,n)))}function tr(e=Infinity){return Ae(ut,e)}function Jm(){return tr(1)}function Vo(...e){return Jm()($(e,Qt(e)))}function Ur(e){return new j(t=>{W(e()).subscribe(t)})}function je(...e){let t=Bo(e),{args:n,keys:r}=uc(e),o=new j(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;W(n[l]).subscribe(U(i,f=>{d||(d=!0,u--),a[l]=f},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?lc(r,a):a),i.complete())}))}});return t?o.pipe(Ho(t)):o}var eT=[`addListener`,`removeListener`];var tT=[`addEventListener`,`removeEventListener`];var nT=[`on`,`off`];function $d(e,t,n,r){if(k(n)&&(r=n,n=void 0),r)return $d(e,t,n).pipe(Ho(r));let[o,i]=iT(e)?tT.map(s=>a=>e[s](t,a,n)):rT(e)?eT.map(Xm(e,t)):oT(e)?nT.map(Xm(e,t)):[];if(!o&&$o(e))return Ae(s=>$d(s,t,n))(W(e));if(!o)throw new TypeError(`Invalid event target`);return new j(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Xm(e,t){return n=>r=>e[n](t,r)}function rT(e){return k(e.addListener)&&k(e.removeListener)}function oT(e){return k(e.on)&&k(e.off)}function iT(e){return k(e.addEventListener)&&k(e.removeEventListener)}function $r(e,t,n){return Ur(()=>e()?t:n)}function dc(e=0,t,n=Km){let r=-1;return t!=null&&(rc(t)?n=t:r=t),new j(o=>{let i=Ym(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function fc(...e){let t=Qt(e),n=zm(e,Infinity),r=e;return r.length?r.length===1?W(r[0]):tr(n)($(r,t)):De}var{isArray:sT}=Array;function ev(e){return e.length===1&&sT(e[0])?e[0]:e}function Se(e,t){return B((n,r)=>{let o=0;n.subscribe(U(r,i=>e.call(t,i,o++)&&r.next(i)))})}function aT(...e){let t=Bo(e),n=ev(e);return n.length?new j(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)W(n[s]).subscribe(U(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(u=>u.shift());r.next(t?t(...c):c),o.some((u,l)=>!u.length&&i[l])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):De}function tv(e){return B((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(U(n,u=>{r=!0,o=u,i||W(e(u)).subscribe(i=U(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function cT(e,t=Fr){return tv(()=>dc(e,t))}function nr(e,t){return k(t)?Ae(e,t,1):Ae(e,1)}function nv(e,t=Fr){return B((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=t.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}n.subscribe(U(r,u=>{i=u,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Bd(e){return B((t,n)=>{let r=!1;t.subscribe(U(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Ge(e){return e<=0?()=>De:B((t,n)=>{let r=0;t.subscribe(U(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function uT(e,t=ut){return e=e??lT,B((n,r)=>{let o,i=!0;n.subscribe(U(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function lT(e,t){return e===t}function rv(e=dT){return B((t,n)=>{let r=!1;t.subscribe(U(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function dT(){return new jr}function rr(e){return B((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Xt(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Se((o,i)=>e(o,i,r)):ut,Ge(1),n?Bd(t):rv(()=>new jr))}function hc(e){return e<=0?()=>De:B((t,n)=>{let r=[];t.subscribe(U(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function fT(){return B((e,t)=>{let n,r=!1;e.subscribe(U(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function hT(e){return Se((t,n)=>e<=n)}function pc(...e){let t=Qt(e);return B((n,r)=>{(t?Vo(e,n,t):Vo(e,n)).subscribe(r)})}function P(e,t){return B((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(U(r,c=>{o?.unsubscribe();let u=0,l=i++;W(e(c,l)).subscribe(o=U(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function en(e){return B((t,n)=>{W(e).subscribe(U(n,()=>n.complete(),os)),!n.closed&&t.subscribe(n)})}function ov(e,t=!1){return B((n,r)=>{let o=0;n.subscribe(U(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function iv(e,t){return B((n,r)=>{let{leading:o=!0,trailing:i=!1}=t??{},s=!1,a=null,c=null,u=!1,l=()=>{c?.unsubscribe(),c=null,i&&(h(),u&&r.complete())},d=()=>{c=null,u&&r.complete()},f=p=>c=W(e(p)).subscribe(U(r,l,d)),h=()=>
3{if(s){s=!1;let p=a;a=null,r.next(p),!u&&f(p)}};n.subscribe(U(r,p=>{s=!0,a=p,!(c&&!c.closed)&&(o?h():f(p))},()=>{u=!0,!(i&&s&&c&&!c.closed)&&r.complete()}))})}function pT(e,t=Fr,n){let r=dc(e,t);return iv(()=>r,n)}var Xe=null;var gc=!1;var Br=1;var gT=null;var ge=Symbol(`SIGNAL`);function O(e){let t=Xe;return Xe=e,t}function mc(){return Xe}var or={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:`unknown`,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function In(e){if(gc)throw new Error(``);if(Xe===null)return;Xe.consumerOnSignalRead(e);let t=Xe.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=Xe.recomputing;if(r&&(n=t!==void 0?t.nextProducer:Xe.producers,n!==void 0&&n.producer===e)){Xe.producersTail=n,n.lastReadVersion=e.version,n.knownValidAtEpoch=Br;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Xe&&(!r||o.knownValidAtEpoch===Br))return;let i=Go(Xe),s={producer:e,consumer:Xe,nextProducer:n,prevConsumer:void 0,knownValidAtEpoch:Br,lastReadVersion:e.version,nextConsumer:void 0};Xe.producersTail=s,t!==void 0?t.nextProducer=s:Xe.producers=s,i&&uv(e,s)}function sv(){Br++}function zr(e){if(!(Go(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Br)){if(!e.producerMustRecompute(e)&&!qo(e)){zo(e);return}e.producerRecomputeValue(e),zo(e)}}function Hd(e){if(e.consumers===void 0)return;let t=gc;gc=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||mT(r)}}finally{gc=t}}function Vd(){return Xe?.consumerAllowSignalWrites!==!1}function mT(e){e.dirty=!0,Hd(e),e.consumerMarkedDirty?.(e)}function zo(e){e.dirty=!1,e.lastCleanEpoch=Br}function Tn(e){return e&&av(e),O(e)}function av(e){if(e.producersTail?.knownValidAtEpoch===Br){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer}e.producersTail=void 0,e.recomputing=!0}function ir(e,t){O(t),e&&cv(e)}function cv(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Go(e))do n=zd(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function qo(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(zr(n),r!==n.version))return!0}return!1}function sr(e){if(Go(e)){let t=e.producers;for(;t!==void 0;)t=zd(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function uv(e,t){let n=e.consumersTail,r=Go(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)uv(o.producer,o)}function zd(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)
3o.nextConsumer=r;else if(t.consumers=r,!Go(t)){let i=t.producers;for(;i!==void 0;)i=zd(i)}return n}function Go(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function as(e){gT?.(e)}function cs(e,t){return Object.is(e,t)}function us(e,t){let n=Object.create(vT);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(zr(n),In(n),n.value===tn)throw n.error;return n.value};return r[ge]=n,as(n),r}var Hr=Symbol(`UNSET`);var Vr=Symbol(`COMPUTING`);var tn=Symbol(`ERRORED`);var vT=x(w({},or),{value:Hr,dirty:!0,error:null,equal:cs,kind:`computed`,producerMustRecompute(e){return e.value===Hr||e.value===Vr},producerRecomputeValue(e){if(e.value===Vr)throw new Error(``);let t=e.value;e.value=Vr;let n=Tn(e),r,o=!1;try{r=e.computation(),O(null),o=t!==Hr&&t!==tn&&r!==tn&&e.equal(t,r)}catch(i){r=tn,e.error=i}finally{ir(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function yT(){throw new Error}var lv=yT;function dv(e){lv(e)}function qd(e){lv=e}var wT=null;function Gd(e,t){let n=Object.create(Wo);n.value=e,t!==void 0&&(n.equal=t);let r=()=>fv(n);return r[ge]=n,as(n),[r,s=>Mn(n,s),s=>vc(n,s)]}function fv(e){return In(e),e.value}function Mn(e,t){Vd()||dv(e),e.equal(e.value,t)||(e.value=t,DT(e))}function vc(e,t){Vd()||dv(e),Mn(e,t(e.value))}var Wo=x(w({},or),{equal:cs,value:void 0,kind:`signal`});function DT(e){e.version++,sv(),Hd(e),wT?.(e)}var Wd=x(w({},or),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:`effect`});function Kd(e){if(e.dirty=!1,e.version>0&&!qo(e))return;e.version++;let t=Tn(e);try{e.cleanup(),e.fn()}finally{ir(e,t)}}var Yd;function yc(){return Yd}function nn(e){let t=Yd;return Yd=e,t}var hv=Symbol(`NotFound`);function Ko(e){return e===hv||e?.name===`ɵNotFound`}function Zd(e,t,n){let r=Object.create(ST);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(zr(r),In(r),r.value===tn)throw r.error;return r.value};return i[ge]=r,as(r),i}function Qd(e,t){zr(e),Mn(e,t),zo(e)}function pv(e,t){if(zr(e),e.value===tn)throw e.error;vc(e,t),zo(e)}var ST=x(w({},or),{value:Hr,dirty:!0,error:null,equal:cs,kind:`linkedSignal`,producerMustRecompute(e){return e.value===Hr||e.value===Vr},producerRecomputeValue(e){if(e.value===Vr)throw new Error(``);let t=e.value;e.value=Vr;let n=Tn(e),r,o=!1;try{let i=e.source(),s=t!==Hr&&t!==tn,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,O(null),o=s&&r!==tn&&e.equal(t,r)}catch(i){r=tn,e.error=i}finally{ir(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function gv(e){let t=O(null);try{return e()}finally{O(t)}}var Ic=`https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss`;var S=class extends Error{code;constructor(t,n){super(_t(t,n)),this.code=t}};function ET(e){return`NG0${Math.abs(e)}`}function _t(e,t){return`${ET(e)}${t?`: `+t:``}`}function Z(e){for(let t in e)if(e[t]===Z)return t;throw Error(``)}function Sv(e,t){for(let n in t)Object.hasOwn(t,n)&&!Object.hasOwn(e,n)&&(e[n]=t[n])}function ms(e){if(typeof e==`string`)return e;if(Array.isArray(e))return`[${e.map(ms).join(`, `)}]`;if(e==null)return``+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return``+n;let r=n.indexOf(`
4`);return r>=0?n.slice(0,r):n}function Tc(e,t){return e?t?`${e} ${t}`:e:t||``}var bT=Z({__forward_ref__:Z});function Mc(e){return e.__forward_ref__=Mc,e}function Ne(e){return hf(e)?e():e}function hf(e){return typeof e==`function`&&Object.hasOwn(e,bT)&&e.__forward_ref__===Mc}function I(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Zr(e){return{providers:e.providers||[],imports:e.imports||[]}}function vs(e){return _T(e,xc)}function pf(e){return vs(e)!==null}function _T(e,t){return Object.hasOwn(e,t)&&e[t]||null}function CT(e){return(e?.[xc]??null)||null}function Xd(e){return e&&Object.hasOwn(e,Dc)?e[Dc]:null}var xc=Z({ɵprov:Z});var Dc=Z({ɵinj:Z});var _=class{_desc;ngMetadataName=`InjectionToken`;ɵprov;constructor(t,n){this._desc=t,this.ɵprov=void 0,typeof n==`number`?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.ɵprov=I({token:this,providedIn:n.providedIn||`root`,factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function gf(e){return e&&!!e.ɵproviders}var ys=Z({ɵcmp:Z});var ws=Z({ɵdir:Z});var mf=Z({ɵpipe:Z});var vf=Z({ɵmod:Z});var fs=Z({ɵfac:Z});var Qr=Z({__NG_ELEMENT_ID__:Z});var mv=Z({__NG_ENV_ID__:Z});function Ev(e){return Ac(e,`@NgModule`),e[vf]||null}function Nn(e){return Ac(e,`@Component`),e[ys]||null}function Rc(e){return Ac(e,`@Directive`),e[ws]||null}function bv(e){return Ac(e,`@Pipe`),e[mf]||null}function Ac(e,t){if(e==null)throw new S(-919,!1)}function lt(e){return typeof e==`string`?e:e==null?``:String(e)}var _v=Z({ngErrorCode:Z});var IT=Z({ngErrorMessage:Z});var TT=Z({ngTokenPath:Z});function yf(e,t){return Cv(``,-200,t)}function Nc(e,t){throw new S(-201,!1)}function Cv(e,t,n){let r=new S(t,e);return r[_v]=t,r[IT]=e,n&&(r[TT]=n),r}function MT(e){return e[_v]}var ef;function Iv(){return ef}function et(e){let t=ef;return ef=e,t}function wf(e,t,n){let r=vs(e);if(r&&r.providedIn==`root`)return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;Nc(e,``)}var Ct=globalThis;var qr={};var RT=`__NG_DI_FLAG__`;var tf=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Gr(n)||0;try{return this.injector.get(t,r&8?null:qr,r)}catch(o){if(Ko(o))return o;throw o}}};function AT(e,t=0){let n=yc();if(n===void 0)throw new S(-203,!1);if(n===null)return wf(e,void 0,t);{let r=NT(t),o=n.retrieve(e,r);if(Ko(o)){if(r.optional)return null;throw o}return o}}function m(e,t=0){return(Iv()||AT)(Ne(e),t)}function g(e,t){return m(e,Gr(t))}function Gr(e){return typeof e>`u`||typeof e==`number`?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function NT(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function nf(e){let t=[];for(let n=0;n<e.length;n++){let r=Ne(e[n]);if(Array.isArray(r)){if(r.length===0)throw new S(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=OT(a);typeof c==`number`?c===-1?o=a.token:i|=c:o=a}t.push(m(o,i))}else t.push(m(r))}return t}function OT(e){return e[RT]}function cr(e,t){return Object.hasOwn(e,fs)?e[fs]:null}function Tv(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];
vendor: 4,937 bytes, line 4
4if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Mv(e){return e.flat(Number.POSITIVE_INFINITY)}function Oc(e,t){e.forEach(n=>Array.isArray(n)?Oc(n,t):t(n))}function Df(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ds(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function xv(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Rv(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}function kc(e,t,n){let r=Qo(e,t);return r>=0?e[r|1]=n:(r=~r,Rv(e,r,t,n)),r}function Pc(e,t){let n=Qo(e,t);if(n>=0)return e[n|1]}function Qo(e,t){return kT(e,t,1)}function kT(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var ur={};var We=[];var Jo=new _(``);var Ss=new _(``,-1);var Sf=new _(``);var Zo=class{get(t,n=qr){if(n===qr){let o=Cv(``,-201);throw o.name=`ɵNotFound`,o}return n}};function on(e){return{ɵproviders:e}}function Av(...e){return{ɵproviders:Ef(!0,e),ɵfromNgModule:!0}}function Ef(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Oc(t,s=>{let a=s;Sc(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Nv(o,i),n}function Nv(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];bf(o,i=>{t(i,r)})}}function Sc(e,t,n,r){if(e=Ne(e),!e)return!1;let o=null,i=Xd(e),s=!i&&Nn(e);if(!i&&!s){let c=e.ngModule;if(i=Xd(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies==`function`?s.dependencies():s.dependencies;for(let u of c)Sc(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;Oc(i.imports,l=>{Sc(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&Nv(u,t)}if(!a){let u=cr(o)||(()=>new o);t({provide:o,useFactory:u,deps:We},o),t({provide:Sf,useValue:o,multi:!0},o),t({provide:Jo,useValue:()=>m(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;bf(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function bf(e,t){for(let n of e)gf(n)&&(n=n.ɵproviders),Array.isArray(n)?bf(n,t):t(n)}var PT=Z({provide:String,useValue:Z});function Ov(e){return e!==null&&typeof e==`object`&&PT in e}function LT(e){return!!(e&&e.useExisting)}function FT(e){return!!(e&&e.useFactory)}function Wr(e){return typeof e==`function`}function kv(e){return!!e.useClass}var Es=new _(``);var wc={};var vv={};var Jd;function Xo(){return Jd===void 0&&(Jd=new Zo),Jd}var he=class{};var Kr=class extends he{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,of(t,s=>this.processProvider(s)),this.records.set(Ss,Yo(void 0,this)),o.has(`environment`)&&this.records.set(he,Yo(void 0,this));let i=this.records.get(Es);i!=null&&typeof i.value==`string`&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Sf,We,{self:!0}))}retrieve(t,n){let r=Gr(n)||0;try{return this.get(t,qr,r)}catch(o){if(Ko(o))return o;throw o}}destroy(){ls(this),this._destroyed=!0;let t=O(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),O(t)}}onDestroy(t){return ls(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ls(this);let n=nn(this),r=et(void 0);try{return t()}finally{nn(n),et(r)}}get(t,n=qr,r){if(ls(this),Object.hasOwn(t,mv))return t[mv](this);let o=Gr(r),s=nn(this),a=et(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=HT(t)&&vs(t);l&&this.injectableDefInScope(l)?u=Yo(rf(t),wc):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?Xo():this.parent;return n=o&8&&n===qr?null:n,c.get(t,n)}catch(c){let u=MT(c);throw u===-200||u===-201?new S(u,null):c}finally{et(a),nn(s)}}resolveInjectorInitializers(){let t=O(null),n=nn(this),r=et(void 0);try{let i=this.get(Jo,We,{self:!0});for(let s of i)s()}finally{nn(n),et(r),O(t)}}toString(){return`R3Injector[...]`}processProvider(t){t=Ne(t);let n=Wr(t)?t:Ne(t&&t.provide),r=UT(t);if(!Wr(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Yo(void 0,wc,!0),o.factory=()=>nf(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=O(null);try{if(n.value===vv)throw yf(``);return n.value===wc&&(n.value=vv,n.value=n.factory(void 0,r)),typeof n.value==`object`&&n.value&&BT(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{O(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Ne(t.providedIn);return typeof n==`string`?n===`any`||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function rf(e){let t=vs(e),n=t!==null?t.factory:cr(e);
4if(n!==null)return n;if(e instanceof _)throw new S(-204,!1);if(e instanceof Function)return jT(e);throw new S(-204,!1)}function jT(e){if(e.length>0)throw new S(-204,!1);let n=CT(e);return n!==null?()=>n.factory(e):()=>new e}function UT(e){if(Ov(e))return Yo(void 0,e.useValue);return Yo(_f(e),wc)}function _f(e,t,n){let r;if(Wr(e)){let o=Ne(e);return cr(o)||rf(o)}else if(Ov(e))r=()=>Ne(e.useValue);else if(FT(e))r=()=>e.useFactory(...nf(e.deps||[]));else if(LT(e))r=(o,i)=>m(Ne(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Ne(e&&(e.useClass||e.provide));if($T(e))r=()=>new o(...nf(e.deps));else return cr(o)||rf(o)}return r}function ls(e){if(e.destroyed)throw new S(-205,!1)}function Yo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function $T(e){return!!e.deps}function BT(e){return e!==null&&typeof e==`object`&&typeof e.ngOnDestroy==`function`}function HT(e){return typeof e==`function`||typeof e==`object`&&e.ngMetadataName===`InjectionToken`}function of(e,t){for(let n of e)Array.isArray(n)?of(n,t):n&&gf(n)?of(n.ɵproviders,t):t(n)}function Ce(e,t){let n;e instanceof Kr?(ls(e),n=e):n=new tf(e);let o=nn(n),i=et(void 0);try{return t()}finally{nn(o),et(i)}}function Pv(){return Iv()!==void 0||yc()!=null}var jt=0;var A=1;var L=2;var Oe=3;var It=4;var Ue=5;var Jr=6;var ei=7;var Ee=8;var sn=9;var Ut=10;var J=11;var ti=12;var Cf=13;var lr=14;var nt=15;var dr=16;var Xr=17;var an=18;var cn=19;var If=20;var xn=21;var Lc=22;var Rn=23;var dt=24;var eo=25;var un=26;var ie=27;var Lv=1;var Tf=6;var to=7;var bs=8;var no=9;var ve=10;function On(e){return Array.isArray(e)&&typeof e[Lv]==`object`}function Tt(e){return Array.isArray(e)&&e[Lv]===!0}function Mf(e){return(e.flags&4)!==0}function kn(e){return e.componentOffset>-1}function ni(e){return(e.flags&1)===1}function $t(e){return!!e.template}function ri(e){return(e[L]&512)!==0}function ro(e){return(e[L]&256)===256}var ue=(function(e){return e[e.NONE=0]=`NONE`,e[e.HTML=1]=`HTML`,e[e.STYLE=2]=`STYLE`,e[e.SCRIPT=3]=`SCRIPT`,e[e.URL=4]=`URL`,e[e.RESOURCE_URL=5]=`RESOURCE_URL`,e[e.ATTRIBUTE_NO_BINDING=6]=`ATTRIBUTE_NO_BINDING`,e})(ue||{});var ds;var Yr=`svg`;var Fc=`math`;var sf=``;var yv=`*`;var af=()=>Object.create(null);function VT(){return ds||(ds=af(),ar(ue.HTML,void 0,[[`iframe`,[`srcdoc`]],[`*`,[`innerHTML`,`outerHTML`]]]),ar(ue.STYLE,void 0,[[`*`,[`style`]]]),ar(ue.URL,void 0,[[`*`,[`formAction`]],[`area`,[`href`]],[`a`,[`href`,`xlink:href`]],[`form`,[`action`]],[`img`,[`src`]],[`video`,[`src`]]]),ar(ue.URL,Fc,[[`*`,[`href`,`xlink:href`]]]),ar(ue.RESOURCE_URL,void 0,[[`base`,[`href`]],[`embed`,[`src`]],[`frame`,[`src`]],[`iframe`,[`src`]],[`link`,[`href`]],[`object`,[`codebase`,`data`]]]),ar(ue.URL,Yr,[[`a`,[`href`,`xlink:href`]]]),ar(ue.ATTRIBUTE_NO_BINDING,Yr,[[`animate`,[`attributeName`,`values`,`to`,`from`]],[`set`,[`to`,`attributeName`]],[`animateMotion`,[`attributeName`]],[`animateTransform`,[`attributeName`]]]),ar(ue.ATTRIBUTE_NO_BINDING,void 0,[[`unknown`,[`attributeName`,`values`,`to`,`from`,`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]],[`iframe`,[`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]]]),ds)}function ar(e,t,n){let r=t??sf;for(let[o,i]of n){let s=o.toLowerCase();for(let a of i){let c=a.toLowerCase(),u=ds[c]??=af(),l=u[r]??=af();l[s]=e}}}function Fv(e,t,n){let o=VT()[t.toLowerCase()];if(!o)return ue.NONE;let i=e.toLowerCase(),s;if(n){let a=o[n];a&&(s=a[i]??a[yv])}if(s===void 0){let a=o[sf];a&&(s=a[i]??a[yv])}if(s===void 0&&(!n||n===sf)){let a=o[Yr];a&&(s=a[i])}return s??ue.NONE}function $e(e){for(;Array.isArray(e);)e=e[jt];return e}function xf(e,t){return $e(t[e])}function ft(e,t){return $e(t[e.index])}function jc(e,t){return e.data[t]}function oi(e,t){return e[t]}function _s(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Mt(e,t){let n=t[e];return On(n)?n:n[jt]}function jv(e){return(e[L]&4)===4}function Uc(e){return(e[L]&128)===128}function Uv(e){return Tt(e[Oe])}function xt(e,t){return t==null?null:e[t]}function Rf(e){e[Xr]=0}function Af(e){e[L]&1024||(e[L]|=1024,Uc(e)&&oo(e))}function $v(e,t){for(;e>0;)t=t[lr],e--;return t}function Cs(e){return!!(e[L]&9216||e[dt]?.dirty)}function $c(e){e[Ut].changeDetectionScheduler?.notify(8),e[L]&64&&(e[L]|=1024),Cs(e)&&oo(e)}function oo(e){e[Ut].changeDetectionScheduler?.notify(0);let t=An(e);for(;t!==null&&!(t[L]&8192||(t[L]|=8192,!Uc(t)));)t=An(t)}function Bc(e,t){if(ro(e))throw new S(911,!1);e[xn]===null&&(e[xn]=[]),e[xn].push(t)}function Bv(e,t){if(e[xn]===null)return;let n=e[xn].indexOf(t);n!==-1&&e[xn].splice(n,1)}function An(e){let t=e[Oe];return Tt(t)?t[Oe]:t}function Nf(e){return e[ei]??=[]}function Of(e){return e.cleanup??=[]}function Hv(e,t,n,r){let o=Nf(t);o.push(n),e.firstCreatePass&&Of(e).push(r,o.length-1)}var z={lFrame:ey(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var cf=!1;function Vv(){return z.lFrame.elementDepthCount}function zv(){z.lFrame.elementDepthCount++}function kf(){z.lFrame.elementDepthCount--}function Hc(){return z.bindingsEnabled}
vendor: 5,447 bytes, line 4
4function Pf(){return z.skipHydrationRootTNode!==null}function Lf(e){return z.skipHydrationRootTNode===e}function Ff(){z.skipHydrationRootTNode=null}function M(){return z.lFrame.lView}function X(){return z.lFrame.tView}function qv(e){return z.lFrame.contextLView=e,e[Ee]}function Gv(e){return z.lFrame.contextLView=null,e}function Ie(){let e=jf();for(;e!==null&&e.type===64;)e=e.parent;return e}function jf(){return z.lFrame.currentTNode}function Wv(){let e=z.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function io(e,t){let n=z.lFrame;n.currentTNode=e,n.isParent=t}function Uf(){return z.lFrame.isParent}function $f(){z.lFrame.isParent=!1}function Bf(){return z.lFrame.contextLView}function Hf(){return cf}function hs(e){let t=cf;return cf=e,t}function ln(){let e=z.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Vf(){return z.lFrame.bindingIndex}function Kv(e){return z.lFrame.bindingIndex=e}function Pn(){return z.lFrame.bindingIndex++}function Is(e){let t=z.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Yv(){return z.lFrame.inI18n}function Zv(e,t){let n=z.lFrame;n.bindingIndex=n.bindingRootIndex=e,Vc(t)}function Qv(){return z.lFrame.currentDirectiveIndex}function Vc(e){z.lFrame.currentDirectiveIndex=e}function Jv(e){let t=z.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function zc(){return z.lFrame.currentQueryIndex}function Ts(e){z.lFrame.currentQueryIndex=e}function zT(e){let t=e[A];return t.type===2?t.declTNode:t.type===1?e[Ue]:null}function zf(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=zT(i),o===null||(i=i[lr],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=z.lFrame=Xv();return r.currentTNode=t,r.lView=e,!0}function qc(e){let t=Xv(),n=e[A];z.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Xv(){let e=z.lFrame,t=e===null?null:e.child;return t===null?ey(e):t}function ey(e){let 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 e!==null&&(e.child=t),t}function ty(){let e=z.lFrame;return z.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var qf=ty;function Gc(){let e=ty();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 ny(e){return(z.lFrame.contextLView=$v(e,z.lFrame.contextLView))[Ee]}function ht(){return z.lFrame.selectedIndex}function fr(e){z.lFrame.selectedIndex=e}function so(){let e=z.lFrame;return jc(e.tView,e.selectedIndex)}function ry(){z.lFrame.currentNamespace=Yr}function oy(){qT()}function qT(){z.lFrame.currentNamespace=null}function Gf(){return z.lFrame.currentNamespace}var iy=!0;function Wc(){return iy}function Ms(e){iy=e}function uf(e,t=null,n=null,r){let o=Wf(e,t,n,r);return o.resolveInjectorInitializers(),o}function Wf(e,t=null,n=null,r,o=new Set){return new Kr([n||We,Av(e)],t||Xo(),null,o)}var Pe=class e{static THROW_IF_NOT_FOUND=qr;static NULL=new Zo;static create(t,n){if(Array.isArray(t))return uf({name:``},n,t,``);{let r=t.name??``;return uf({name:r},t.parent,t.providers,r)}}static ɵprov=I({token:e,providedIn:`any`,factory:()=>m(Ss)});static __NG_ELEMENT_ID__=-1};var ee=new _(``);var me=class{static __NG_ELEMENT_ID__=GT;static __NG_ENV_ID__=t=>t};var Ec=class extends me{_lView;constructor(t){super(),this._lView=t}get destroyed(){return ro(this._lView)}onDestroy(t){let n=this._lView;return Bc(n,t),()=>Bv(n,t)}};function GT(){return new Ec(M())}var sy=!1;var ay=new _(``);var Ln=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new ye(!1);debugTaskTracker=g(ay,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new j(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static ɵprov=I({token:e,providedIn:`root`,factory:()=>new e})}return e})();var lf=class extends re{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Pv()&&(this.destroyRef=g(me,{optional:!0})??void 0,this.pendingTasks=g(Ln,{optional:!0})??void 0)}emit(t){let n=O(null);try{super.next(t)}finally{O(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t==`object`){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof Re&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}};var tt=lf;function bc(...e){}function Kf(e){let t,n;
4function r(){e=bc;try{n!==void 0&&typeof cancelAnimationFrame==`function`&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch(o){}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame==`function`&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function cy(e){return queueMicrotask(()=>e()),()=>{e=bc}}var Yf=`isAngularZone`;var ps=Yf+`_ID`;var WT=0;var Le=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new tt(!1);onMicrotaskEmpty=new tt(!1);onStable=new tt(!1);onError=new tt(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=sy}=t;if(typeof Zone>`u`)throw new S(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,ZT(s)}static isInAngularZone(){return typeof Zone<`u`&&Zone.current.get(Yf)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new S(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask(`NgZoneEvent: `+o,t,KT,bc,bc);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}};var KT={};function Zf(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function YT(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Kf(()=>{e.callbackScheduled=!1,df(e),e.isCheckStableRunning=!0,Zf(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),df(e)}function ZT(e){let t=()=>{YT(e)},n=WT++;e._inner=e._inner.fork({name:`angular`,properties:{[Yf]:!0,[ps]:n,[ps+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(QT(c))return r.invokeTask(i,s,a,c);try{return wv(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type===`eventTask`||e.shouldCoalesceRunChangeDetection)&&t(),Dv(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return wv(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!JT(c)&&t(),Dv(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change==`microTask`?(e._hasPendingMicrotasks=s.microTask,df(e),Zf(e)):s.change==`macroTask`&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function df(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function wv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Dv(e){e._nesting--,Zf(e)}var gs=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new tt;onMicrotaskEmpty=new tt;onStable=new tt;onError=new tt;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function QT(e){return uy(e,`__ignore_ng_zone__`)}function JT(e){return uy(e,`__scheduler_tick__`)}function uy(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var bt=class{_console=console;handleError(t){this._console.error(`ERROR`,t)}};var pt=new _(``,{factory:()=>{let e=g(Le),t=g(he),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(bt),n.handleError(r))})}}});var ly={provide:Jo,useValue:()=>{g(bt,{optional:!0})},multi:!0};function ce(e,t){let[n,r,o]=Gd(e,t?.equal),i=n;i[ge];return i.set=r,i.update=o,i.asReadonly=xs.bind(i),i}function xs(){let e=this[ge];if(e.readonlyFn===void 0){let t=()=>this();t[ge]=e,e.readonlyFn=t}return e.readonlyFn}var ii=new _(``,{factory:()=>XT});var XT=`ng`;var Kc=new _(``);var Fn=new _(``,{providedIn:`platform`,factory:()=>`unknown`});var eM=new _(``);var Rs=new _(``,{factory:()=>g(ee).body?.querySelector(`[ngCspNonce]`)?.getAttribute(`ngCspNonce`)||null});function _c(){return Object.create(null)}var si=(()=>{class e{static ɵprov=I({token:e,providedIn:`root`,factory:()=>{let n=new e;return n.store=dy(g(ee),g(ii)),n}});store=_c();onSerializeCallbacks=_c();get(n,r){if(!Object.hasOwn(this.store,n))return r;let o=this.store[n];return o!==void 0?o:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return Object.hasOwn(this.store,n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(let n in this.onSerializeCallbacks)if(Object.hasOwn(this.onSerializeCallbacks,n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn(`Exception in onSerialize callback: `,r)}return JSON.stringify(this.store).replace(/</g,`\\u003C`).replace(/\//g,`\\u002F`)}}return e})();
4function dy(e,t){let n=e.getElementById(t+`-state`);if(n?.tagName===`SCRIPT`&&n.textContent)try{return Object.assign(_c(),JSON.parse(n.textContent))}catch(r){console.warn(`Exception while restoring TransferState for app `+t,r)}return _c()}var ai=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=tM}return e})();function tM(){return new ai(M(),Ie())}var rn=class{};var As=new _(``,{factory:()=>!0});var Qf=new _(``);var Yc=(()=>{class e{static ɵprov=I({token:e,providedIn:`root`,factory:()=>new ff})}return e})();var ff=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};var Cc=class{[ge];constructor(t){this[ge]=t}destroy(){this[ge].destroy()}};function Zc(e,t){let n=t?.injector??g(Pe),r=t?.manualCleanup!==!0?n.get(me):null,o,i=n.get(ai,null,{optional:!0}),s=n.get(rn);return i!==null?(o=hy(i.view,s,e),r instanceof Ec&&r._lView===i.view&&(r=null)):o=oM(e,n.get(Yc),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Cc(o)}var fy=x(w({},Wd),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=hs(!1);try{Kd(this)}finally{hs(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=O(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],O(e)}}});var nM=x(w({},fy),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(sr(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}});var rM=x(w({},fy),{consumerMarkedDirty(){this.view[L]|=8192,oo(this.view),this.notifier.notify(13)},destroy(){if(sr(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Rn]?.delete(this)}});function hy(e,t,n){let r=Object.create(rM);return r.view=e,r.zone=typeof Zone<`u`?Zone.current:null,r.notifier=t,r.fn=py(r,n),e[Rn]??=new Set,e[Rn].add(r),r.consumerMarkedDirty(r),r}
4function oM(e,t,n){let r=Object.create(nM);return r.fn=py(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<`u`?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function py(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function Ns(e){return typeof e==`function`&&e[ge]!==void 0}function Qc(e){return Ns(e)&&typeof e.set==`function`}var ao=(()=>{class e{internalPendingTasks=g(Ln);scheduler=g(rn);errorHandler=g(pt);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();try{n().catch(this.errorHandler).finally(r)}catch(o){this.errorHandler(o),r()}}static ɵprov=I({token:e,providedIn:`root`,factory:()=>new e})}return e})();var gi=Symbol(`InputSignalNode#UNSET`);var qh=x(w({},Wo),{transformFn:void 0,applyValueToInputSignal(e,t){Mn(e,t)}});function Gs(e){return{toString:e}.toString()}var K=(function(e){return e[e.TemplateCreateStart=0]=`TemplateCreateStart`,e[e.TemplateCreateEnd=1]=`TemplateCreateEnd`,e[e.TemplateUpdateStart=2]=`TemplateUpdateStart`,e[e.TemplateUpdateEnd=3]=`TemplateUpdateEnd`,e[e.LifecycleHookStart=4]=`LifecycleHookStart`,e[e.LifecycleHookEnd=5]=`LifecycleHookEnd`,e[e.OutputStart=6]=`OutputStart`,e[e.OutputEnd=7]=`OutputEnd`,e[e.BootstrapApplicationStart=8]=`BootstrapApplicationStart`,e[e.BootstrapApplicationEnd=9]=`BootstrapApplicationEnd`,e[e.BootstrapComponentStart=10]=`BootstrapComponentStart`,e[e.BootstrapComponentEnd=11]=`BootstrapComponentEnd`,e[e.ChangeDetectionStart=12]=`ChangeDetectionStart`,e[e.ChangeDetectionEnd=13]=`ChangeDetectionEnd`,e[e.ChangeDetectionSyncStart=14]=`ChangeDetectionSyncStart`,e[e.ChangeDetectionSyncEnd=15]=`ChangeDetectionSyncEnd`,e[e.AfterRenderHooksStart=16]=`AfterRenderHooksStart`,e[e.AfterRenderHooksEnd=17]=`AfterRenderHooksEnd`,e[e.ComponentStart=18]=`ComponentStart`,e[e.ComponentEnd=19]=`ComponentEnd`,e[e.DeferBlockStateStart=20]=`DeferBlockStateStart`,e[e.DeferBlockStateEnd=21]=`DeferBlockStateEnd`,e[e.DynamicComponentStart=22]=`DynamicComponentStart`,e[e.DynamicComponentEnd=23]=`DynamicComponentEnd`,e[e.HostBindingsUpdateStart=24]=`HostBindingsUpdateStart`,e[e.HostBindingsUpdateEnd=25]=`HostBindingsUpdateEnd`,e})(K||{});var su=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function ow(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var iw=null;var yo=(()=>{iw=gy;let e=()=>gy;return e.ngInherit=!0,e})();function fM(){return iw}function gy(e){return e.type.prototype.ngOnChanges&&(e.setInput=pM),hM}function hM(){let e=sw(this),t=e?.current;if(t){let n=e.previous;if(n===ur)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function pM(e,t,n,r,o){let i=this.declaredInputs[r],s=sw(e)||gM(e,{previous:ur,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new su(u&&u.currentValue,n,c===ur),ow(e,t,o,n)}var ch=`__ngSimpleChanges__`;function sw(e){return Object.hasOwn(e,ch)&&e[ch]||null}function gM(e,t){return e[ch]=t}var my=[];var Q=function(e,t=null,n){for(let r=0;r<my.length;r++){let o=my[r];o(e,t,n)}};function mM(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=fM()(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function aw(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=e.data[n].type.prototype;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function nu(e,t,n){cw(e,t,3,n)}function ru(e,t,n,r){(e[L]&3)===n&&cw(e,t,n,r)}function Jf(e,t){let n=e[L];(n&3)===t&&(n&=16383,n+=1,e[L]=n)}function cw(e,t,n,r){let o=r!==void 0?e[Xr]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]==`number`){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Xr]+=65536),(a<i||i==-1)&&(vM(e,n,t,c),e[Xr]=(e[Xr]&4294901760)+c+2),c++}function vy(e,t){Q(K.LifecycleHookStart,e,t);let n=O(null);try{t.call(e)}finally{O(n),Q(K.LifecycleHookEnd,e,t)}}function vM(e,t,n,r){let o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[L]>>14<e[Xr]>>16&&(e[L]&3)===t&&(e[L]+=16384,vy(a,i)):vy(a,i)}var ui=-1;var lo=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function yM(e){return(e.flags&8)!==0}function wM(e){return(e.flags&16)!==0}
vendor: 4,604 bytes, line 4
4function DM(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o==`number`){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];SM(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function uw(e){return e===3||e===4||e===6}function SM(e){return e.charCodeAt(0)===64}function li(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o==`number`?n=o:n===0||(n===-1||n===2?yy(e,n,o,null,t[++r]):yy(e,n,o,null,null))}}return e}function yy(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a==`number`){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a==`number`)break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function lw(e){return e!==ui}function au(e){return e&32767}function EM(e){return e>>16}function cu(e,t){let n=EM(e),r=t;for(;n>0;)r=r[lr],n--;return r}var uh=!0;function uu(e){let t=uh;return uh=e,t}var dw=255;var fw=5;var _M=0;var dn={};function CM(e,t,n){let r;typeof n==`string`?r=n.charCodeAt(0)||0:Object.hasOwn(n,Qr)&&(r=n[Qr]),r??=n[Qr]=_M++;let o=r&dw,i=1<<o;t.data[e+(o>>fw)]|=i}function lu(e,t){let n=hw(e,t);if(n!==-1)return n;let r=t[A];r.firstCreatePass&&(e.injectorIndex=t.length,Xf(r.data,e),Xf(t,null),Xf(r.blueprint,null));let o=Gh(e,t),i=e.injectorIndex;if(lw(o)){let s=au(o),a=cu(o,t),c=a[A].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Xf(e,t){e.push(0,0,0,0,0,0,0,0,t)}function hw(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Gh(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=ww(o),r===null)return ui;if(n++,o=o[lr],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return ui}function lh(e,t,n){CM(e,t,n)}function IM(e,t){if(t===`class`)return e.classes;if(t===`style`)return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(uw(i))break;if(i===0)o=o+2;else if(typeof i==`number`)for(o++;o<r&&typeof n[o]==`string`;)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function pw(e,t,n){if(n&8||e!==void 0)return e;Nc(t,`NodeInjector`)}function gw(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[sn],i=et(void 0);try{return o?o.get(t,r,n&8):wf(t,r,n&8)}finally{et(i)}}return pw(r,t,n)}function mw(e,t,n,r=0,o){if(e!==null){if(t[L]&2048&&!(r&2)){let s=RM(e,t,n,r,dn);if(s!==dn)return s}let i=vw(e,t,n,r,dn);if(i!==dn)return i}return gw(t,n,r,o)}function vw(e,t,n,r,o){let i=MM(n);if(typeof i==`function`){if(!zf(t,e,r))return r&1?pw(o,n,r):gw(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Nc(n);else return s}finally{qf()}}else if(typeof i==`number`){let s=null,a=hw(e,t),c=ui,u=r&1?t[nt][Ue]:null;for((a===-1||r&4)&&(c=a===-1?Gh(e,t):t[a+8],c===ui||!Dy(r,!1)?a=-1:(s=t[A],a=au(c),t=cu(c,t)));a!==-1;){let l=t[A];if(wy(i,a,l.data)){let d=TM(a,t,n,s,r,u);if(d!==dn)return d}c=t[a+8],c!==ui&&Dy(r,t[A].data[a+8]===u)&&wy(i,a,t)?(s=l,a=au(c),t=cu(c,t)):a=-1}}return o}function TM(e,t,n,r,o,i){let s=t[A],a=s.data[e+8],l=ou(a,s,n,r==null?kn(a)&&uh:r!=s&&(a.type&3)!==0,o&1&&i===a);return l!==null?js(t,s,l,a,o):dn}function ou(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,f=o?a+l:u;for(let h=d;h<f;h++){let p=s[h];if(h<c&&n===p||h>=c&&p.type===n)return h}if(o){let h=s[c];if(h&&$t(h)&&h.type===n)return c}return null}function js(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof lo){let a=i;if(a.resolving)throw yf(``);let c=uu(a.canSeeViewProviders);a.resolving=!0;s[n].type||s[n];let d=a.injectImpl?et(a.injectImpl):null;zf(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&mM(n,s[n],t)}finally{d!==null&&et(d),uu(c),a.resolving=!1,qf()}}return i}function MM(e){if(typeof e==`string`)return e.charCodeAt(0)||0;let t=Object.hasOwn(e,Qr)?e[Qr]:void 0;return typeof t==`number`?t>=0?t&dw:xM:t}function wy(e,t,n){let r=1<<e;return!!(n[t+(e>>fw)]&r)}function Dy(e,t){return!(e&2)&&!(e&1&&t)}var hr=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return mw(this._tNode,this._lView,t,Gr(r),n)}};function xM(){return new hr(Ie(),M())}function yw(e){return Gs(()=>{let t=e.prototype.constructor,n=t[fs]||dh(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[fs]||dh(o);if(i&&i!==n)return i;
4o=Object.getPrototypeOf(o)}return i=>new i})}function dh(e){return hf(e)?()=>{let t=dh(Ne(e));return t&&t()}:cr(e)}function RM(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[L]&2048&&!ri(s);){let a=vw(i,s,n,r|2,dn);if(a!==dn)return a;r&=-5;let c=i.parent;if(!c){let u=s[If];if(u){let l=u.get(n,dn,r);if(l!==dn)return l}c=ww(s),s=s[lr]}i=c}return o}function ww(e){let t=e[A],n=t.type;return n===2?t.declTNode:n===1?e[Ue]:null}function Ws(e){return IM(Ie(),e)}function te(e){return{token:e.token,providedIn:e.autoProvided===!1?null:`root`,factory:e.factory,value:void 0}}function AM(){return mi(Ie(),M())}function mi(e,t){return new Un(ft(e,t))}var Un=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=AM}return e})();function Dw(e){return e instanceof Un?e.nativeElement:e}function NM(){return this._results[Symbol.iterator]()}var du=class{_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 re}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Mv(t);(this._changesDetected=!Tv(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=NM};function Sw(e){return(e.flags&128)===128}var Wh=(function(e){return e[e.OnPush=0]=`OnPush`,e[e.Eager=1]=`Eager`,e[e.Default=1]=`Default`,e})(Wh||{});var Ew=new Map;var OM=0;function kM(){return OM++}function PM(e){Ew.set(e[cn],e)}function fh(e){Ew.delete(e[cn])}var Sy=`__ngContext__`;function di(e,t){On(t)?(e[Sy]=t[cn],PM(t)):e[Sy]=t}function bw(e){return Cw(e[ti])}function _w(e){return Cw(e[It])}function Cw(e){for(;e!==null&&!Tt(e);)e=e[It];return e}var hh;function Kh(e){hh=e}function Yh(){if(hh!==void 0)return hh;if(typeof document<`u`)return document;throw new S(210,!1)}var Iw=`r`;var Tw=`di`;var Zh=new _(``);var Mw=!1;var xw=new _(``,{factory:()=>Mw});var _u=new _(``);var Ey=new WeakMap;function LM(e,t){if(e==null||typeof e!=`object`)return;let n=Ey.get(e);n||(n=new WeakSet,Ey.set(e,n)),n.add(t)}function Cu(e){return(e.flags&32)===32}var UM=()=>null;function Rw(e,t,n=!1){return UM(e,t,n)}function Aw(e,t){let n=e.contentQueries;if(n!==null){let r=O(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Ts(i),a.contentQueries(2,t[s],s)}}}finally{O(r)}}}function ph(e,t,n){Ts(0);let r=O(null);try{t(e,n)}finally{O(r)}}function Qh(e,t,n){if(Mf(t)){let r=O(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{O(r)}}}var Vt=(function(e){return e[e.Emulated=0]=`Emulated`,e[e.None=2]=`None`,e[e.ShadowDom=3]=`ShadowDom`,e[e.ExperimentalIsolatedShadowDom=4]=`ExperimentalIsolatedShadowDom`,e})(Vt||{});var $M={"http://www.w3.org/2000/svg":Yr,"http://www.w3.org/1998/Math/MathML":Fc};var Jc;function BM(){if(Jc===void 0&&(Jc=null,Ct.trustedTypes))try{Jc=Ct.trustedTypes.createPolicy(`angular`,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Jc}function Iu(e){return BM()?.createHTML(e)||e}var Xc;function Nw(){if(Xc===void 0&&(Xc=null,Ct.trustedTypes))try{Xc=Ct.trustedTypes.createPolicy(`angular#unsafe-bypass`,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Xc}function by(e){return Nw()?.createHTML(e)||e}function _y(e){return Nw()?.createScriptURL(e)||e}var jn=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ic})`}};var gh=class extends jn{getTypeName(){return`HTML`}};var mh=class extends jn{getTypeName(){return`Style`}};var vh=class extends jn{getTypeName(){return`Script`}};var yh=class extends jn{getTypeName(){return`URL`}};var wh=class extends jn{getTypeName(){return`ResourceURL`}};function ot(e){return e instanceof jn?e.changingThisBreaksApplicationSecurity:e}function hn(e,t){let n=Ow(e);if(n!=null&&n!==t){if(n===`ResourceURL`&&t===`URL`)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ic})`)}return n===t}function Ow(e){return e instanceof jn&&e.getTypeName()||null}function Jh(e){return new gh(e)}function Xh(e){return new mh(e)}function ep(e){return new vh(e)}function tp(e){return new yh(e)}function np(e){return new wh(e)}function HM(e){let t=new Sh(e);return VM()?new Dh(t):t}var Dh=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=`<body><remove></remove>`+t;try{let n=new window.DOMParser().parseFromString(Iu(t),`text/html`).body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}};var Sh=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument(`sanitization-inert`)}getInertBodyElement(t){let n=this.inertDocument.createElement(`template`);return n.innerHTML=Iu(t),n}};
4function VM(){try{return!!new window.DOMParser().parseFromString(Iu(``),`text/html`)}catch(e){return!1}}var zM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ks(e){return e=String(e),e.match(zM)?e:`unsafe:`+e}function $n(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=!0;return t}function Ys(...e){let t=Object.create(null);for(let n of e)for(let r in n)Object.hasOwn(n,r)&&(t[r]=!0);return t}var kw=$n(`area,br,col,hr,img,wbr`);var Pw=$n(`colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr`);var Lw=$n(`rp,rt`);var qM=Ys(Lw,Pw);var Cy=Ys(kw,Ys(Pw,$n(`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`)),Ys(Lw,$n(`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`)),qM);var Fw=$n(`background,cite,href,itemtype,longdesc,poster,src,xlink:href`);var ZM=Ys(Fw,$n(`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`),$n(`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`));var QM=$n(`script,style,template`);var Eh=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];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){o.push(n),n=ex(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=XM(n);if(i){n=i;break}n=o.pop()}}return this.buf.join(``)}startElement(t){let n=Iy(t).toLowerCase();if(!Object.hasOwn(Cy,n))return this.sanitizedSomething=!0,!Object.hasOwn(QM,n);this.buf.push(`<`),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Object.hasOwn(ZM,a)){this.sanitizedSomething=!0;continue}let c=i.value;Fw[a]&&(c=Ks(c)),this.buf.push(` `,s,`="`,Ty(c),`"`)}return this.buf.push(`>`),!0}endElement(t){let n=Iy(t).toLowerCase();Object.hasOwn(Cy,n)&&!Object.hasOwn(kw,n)&&(this.buf.push(`</`),this.buf.push(n),this.buf.push(`>`))}chars(t){this.buf.push(Ty(t))}};function JM(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function XM(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw jw(t);return t}function ex(e){let t=e.firstChild;if(t&&JM(e,t))throw jw(t);return t}function Iy(e){let t=e.nodeName;return typeof t==`string`?t:`FORM`}function jw(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var tx=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;var nx=/([^\#-~ |!])/g;function Ty(e){return e.replace(/&/g,`&amp;`).replace(tx,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return`&#`+((n-55296)*1024+(r-56320)+65536)+`;`}).replace(nx,function(t){return`&#`+t.charCodeAt(0)+`;`}).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}var eu;function Tu(e,t){let n=null;try{eu=eu||HM(e);let r=t?String(t):``;n=eu.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error(`Failed to sanitize html because the input is unstable`);o--,r=i,i=n.innerHTML,n=eu.getInertBodyElement(r)}while(r!==i);return Iu(new Eh().sanitizeChildren(My(n)||n))}finally{if(n){let r=My(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function My(e){return`content`in e&&rx(e)?e.content:null}
4function rx(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName===`TEMPLATE`}var ox=/^>|^->|<!--|-->|--!>|<!-$/g;var ix=/(<|>)/g;var sx=`​$1​`;function ax(e){return e.replace(ox,t=>t.replace(ix,sx))}function cx(e,t){return e.createText(t)}function ux(e,t,n){e.setValue(t,n)}function lx(e,t){return e.createComment(ax(t))}function Uw(e,t,n){return e.createElement(t,n)}function co(e,t,n,r,o){e.insertBefore(t,n,r,o)}function $w(e,t,n){e.appendChild(t,n)}function xy(e,t,n,r,o){r!==null?co(e,t,n,r,o):$w(e,t,n)}function Bw(e,t,n,r){e.removeChild(null,t,n,r)}function dx(e,t,n){e.setAttribute(t,`style`,n)}function fx(e,t,n){n===``?e.removeAttribute(t,`class`):e.setAttribute(t,`class`,n)}function Hw(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&DM(e,t,r),o!==null&&fx(e,t,o),i!==null&&dx(e,t,i)}function hx(e,t=!0){if(e[0]!=`:`)return[null,e];let n=e.indexOf(`:`,1);if(n===-1){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function px(e,t,n){if(t!==void 0&&n!==void 0&&qw(t,n)!==ue.HTML)return e;let r=op();return r?by(r.sanitize(ue.HTML,e)||``):hn(e,`HTML`)?by(ot(e)):Tu(Yh(),lt(e))}function Vw(e){let t=op();return t?t.sanitize(ue.URL,e)||``:hn(e,`URL`)?ot(e):Ks(lt(e))}function zw(e){let t=op();if(t)return _y(t.sanitize(ue.RESOURCE_URL,e)||``);if(hn(e,`ResourceURL`))return _y(ot(e));throw new S(904,!1)}function gx(e,t){switch(qw(e,t)){case ue.RESOURCE_URL:return zw;case ue.URL:return Vw;default:return null}}function rp(e,t,n){return gx(t,n)?.(e)??e}function op(){let e=M();return e&&e[Ut].sanitizer}function qw(e,t){let[n,r]=mx(e);return Fv(r,t,n)}function mx(e){e=e.toLowerCase();let t=hx(e,!1);if(t[0])return t;let r=ht()===-1?null:so(),o=r?.namespace;if(e===`#host`&&r?.type===2){let i=ft(r,M());if(i.tagName&&(e=i.tagName.toLowerCase()),o==null){let s=i.namespaceURI;o=s&&$M[s]}}return[o,e]}function vx(e){return e.ownerDocument}function yx(e){return e instanceof Function?e():e}function wx(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Gw=`ng-template`;function Dx(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]==`string`;o+=2)if(t[o]===`class`&&wx(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(ip(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])==`string`;)if(i.toLowerCase()===n)return!0}return!1}function ip(e){return e.type===4&&e.value!==Gw}function Sx(e,t,n){return t===(e.type===4&&!n?Gw:e.value)}function Ex(e,t,n){let r=4,o=e.attrs,i=o!==null?Cx(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c==`number`){if(!s&&!Bt(r)&&!Bt(c))return!1;if(s&&Bt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==``&&!Sx(e,c,n)||c===``&&t.length===1){if(Bt(r))return!1;s=!0}}else if(r&8){if(o===null||!Dx(e,o,c,n)){if(Bt(r))return!1;s=!0}}else{let u=t[++a],l=bx(c,o,ip(e),n);if(l===-1){if(Bt(r))return!1;s=!0;continue}if(u!==``){let d;if(l>i?d=``:d=o[l+1].toLowerCase(),r&2&&u!==d){if(Bt(r))return!1;s=!0}}}}return Bt(r)||s}function Bt(e){return(e&1)===0}function bx(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a==`string`;)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Ix(t,e)}function Ww(e,t,n=!1){for(let r=0;r<t.length;r++)if(Ex(e,t[r],n))return!0;return!1}function _x(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Cx(e){for(let t=0;t<e.length;t++){let n=e[t];if(uw(n))return t}return e.length}function Ix(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r==`number`)return-1;if(r===t)return n;n++}return-1}function Tx(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Ry(e,t){return e?`:not(`+t.trim()+`)`:t}function Mx(e){let t=e[0],n=1,r=2,o=``,i=!1;for(;n<e.length;){let s=e[n];if(typeof s==`string`)if(r&2){let a=e[++n];o+=`[`+s+(a.length>0?`="`+a+`"`:``)+`]`}else r&8?o+=`.`+s:r&4&&(o+=` `+s);else o!==``&&!Bt(s)&&(t+=Ry(i,o),o=``),r=s,i=i||!Bt(r);n++}return o!==``&&(t+=Ry(i,o)),t}function xx(e){return e.map(Mx).join(`,`)}function Rx(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i==`string`)o===2?i!==``&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Bt(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Be={};var fn=(function(e){return e[e.Important=1]=`Important`,e[e.DashCase=2]=`DashCase`,e})(fn||{});var Ax;function sp(e,t){return Ax(e,t)}var pr=new Set;typeof document<`u`&&document?.documentElement?.getAnimations;var bh=new WeakMap;function Kw(e){return e?e[lr]??e:null}var ks=new WeakSet;function Nx(e,t,n){let r=bh.get(e);if(!r||r.length===0)return;let o=t.parentNode,i=t.previousSibling,s=Kw(n);for(let a=r.length-1;a>=0;a--){let{el:c,declarationView:u}=r[a],l=c.parentNode;c===t?(r.splice(a,1),ks.add(c),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}}))):i&&c===i?(r.splice(a,1),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}})),c.parentNode?.removeChild(c)):l&&o&&l!==o&&(s===null||u===null||s===u)&&(r.splice(a,1),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}})),c.parentNode?.removeChild(c))}}function Ox(e,t,n){let r=Kw(n),o=bh.get(e);o?o.some(i=>i.el===t)||o.push({el:t,declarationView:r}):bh.set(e,[{el:t,declarationView:r}])}var Mu=(function(e){return e[e.CHANGE_DETECTION=0]=`CHANGE_DETECTION`,e[e.AFTER_NEXT_RENDER=1]=`AFTER_NEXT_RENDER`,e})(Mu||{});var zt=new _(``);var Ay=new Set;function gt(e){Ay.has(e)||(Ay.add(e),performance?.mark?.(`mark_feature_usage`,{detail:{feature:e}}))}var xu=(()=>{class e{impl=null;execute(){this.impl?.execute()}static ɵprov=I({token:e,providedIn:`root`,factory:()=>new e})}return e})();var ap=[0,1,2,3];var cp=(()=>{class e{ngZone=g(Le);
4scheduler=g(rn);errorHandler=g(bt,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(zt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&Q(K.AfterRenderHooksStart),this.executing=!0;for(let r of ap)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&Q(K.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[eo]??=[]).push(n),oo(r),r[L]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Mu.AFTER_NEXT_RENDER,n):n()}static ɵprov=I({token:e,providedIn:`root`,factory:()=>new e})}return e})();var Us=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[eo];t&&(this.view[eo]=t.filter(n=>n!==this))}};function Ru(e,t){let n=t?.injector??g(Pe);return gt(`NgAfterNextRender`),Px(e,n,t,!0)}function kx(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Px(e,t,n,r){let o=t.get(xu);o.impl??=t.get(cp);let i=t.get(zt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(me):null,a=t.get(ai,null,{optional:!0}),c=new Us(o.impl,kx(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var up=new _(``,{factory:()=>{let e=g(he),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function Yw(e,t,n){let r=e.get(up);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function Lx(e,t){let n=e.get(up);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t)}function Fx(e,t){let n=e.get(up);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function jx(e,t){for(let[n,r]of t)Yw(e,r.animateFns)}function Ny(e,t,n,r){let o=e?.[un]?.enter;t!==null&&o&&o.has(n.index)&&jx(r,o)}function Oy(e,t,n,r){try{n.get(Ss)}catch(s){return r(!1)}let o=e?.[un];o?.enter?.has(t.index)&&Lx(n,o.enter.get(t.index).animateFns);let i=Ux(e,t,o);if(i.size===0){let s=!1;if(e){let a=[];Au(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&pr.add(e[cn]),Yw(n,()=>$x(e,t,o||void 0,i,r),o||void 0)}function Ux(e,t,n){let r=new Map,o=n?.leave;if(o&&o.has(t.index)&&r.set(t.index,o.get(t.index)),e&&o)for(let[i,s]of o){if(r.has(i))continue;let c=e[A].data[i].parent;for(;c;){if(c===t){r.set(i,s);break}c=c.parent}}return r}function $x(e,t,n,r,o){let i=[];if(n&&n.leave)for(let[s]of r){if(!n.leave.has(s))continue;let a=n.leave.get(s);for(let c of a.animateFns){let{promise:u}=c();i.push(u)}n.detachedLeaveAnimationFns=void 0}if(e&&Au(e,t,i),i.length>0){let s=n||e?.[un];if(s){let a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),Hx(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&pr.delete(e[cn]),o(!0)})}else e&&pr.delete(e[cn]),o(!1)}function Au(e,t,n){if(t.type&12){let o=e[t.index];if(Tt(o))for(let i=ve;i<o.length;i++){let s=o[i];s[A].type===2&&Bx(s,n)}}let r=t.child;for(;r;)Au(e,r,n),r=r.next}function Bx(e,t){let n=e[un];if(n&&n.leave)for(let o of n.leave.values())for(let i of o.animateFns){let{promise:s}=i();t.push(s)}let r=e[A].firstChild;for(;r;)Au(e,r,t),r=r.next}
4function Hx(e,t,n){t.then(()=>{e[un]?.running===t&&(e[un].running=void 0,pr.delete(e[cn])),n(!0)})}function ci(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;Tt(o)?c=o:On(o)&&(u=!0,o=o[jt]);let l=$e(o);e===0&&r!==null?(Ny(a,r,i,n),s==null?$w(t,r,l):co(t,r,l,s||null,!0)):e===1&&r!==null?(Ny(a,r,i,n),co(t,r,l,s||null,!0),Nx(i,l,a)):e===2?(a?.[un]?.leave?.has(i.index)&&Ox(i,l,a),ks.delete(l),Oy(a,i,n,d=>{if(ks.has(l)){ks.delete(l);return}Bw(t,l,u,d)})):e===3&&(ks.delete(l),Oy(a,i,n,()=>{t.destroyNode(l)})),c!=null&&Xx(t,e,n,c,i,r,s)}}function Vx(e,t){Zw(e,t),t[jt]=null,t[Ue]=null}function zx(e,t,n,r,o,i){r[jt]=o,r[Ue]=t,Ou(e,r,n,1,o,i)}function Zw(e,t){t[Ut].changeDetectionScheduler?.notify(9),Ou(e,t,t[J],2,null,null)}function qx(e){let t=e[ti];if(!t)return eh(e[A],e);for(;t;){let n=null;if(On(t))n=t[ti];else{let r=t[ve];r&&(n=r)}if(!n){for(;t&&!t[It]&&t!==e;)On(t)&&eh(t[A],t),t=t[Oe];t===null&&(t=e),On(t)&&eh(t[A],t),n=t&&t[It]}t=n}}function lp(e,t){let n=e[no],r=n.indexOf(t);n.splice(r,1)}function Nu(e,t){if(ro(t))return;let n=t[J];n.destroyNode&&Ou(e,t,n,3,null,null),qx(t)}function eh(e,t){if(ro(t))return;let n=O(null);try{t[L]&=-129,t[L]|=256,t[dt]&&sr(t[dt]),Wx(e,t),Gx(e,t),t[A].type===1&&t[J].destroy();let r=t[dr];if(r!==null&&Tt(t[Oe])){r!==t[Oe]&&lp(r,t);let o=t[an];o!==null&&o.detachView(e)}fh(t)}finally{O(n)}}function Gx(e,t){let n=e.cleanup,r=t[ei];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]==`string`){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[ei]=null);let o=t[xn];if(o!==null){t[xn]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Rn];if(i!==null){t[Rn]=null;for(let s of i)s.destroy()}}function Wx(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof lo)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];Q(K.LifecycleHookStart,a,c);try{c.call(a)}finally{Q(K.LifecycleHookEnd,a,c)}}else{Q(K.LifecycleHookStart,o,i);try{i.call(o)}finally{Q(K.LifecycleHookEnd,o,i)}}}}}function Qw(e,t,n){if(t===null)throw new S(510,!1);return Kx(e,t.parent,n)}function Kx(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[jt];if(kn(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Vt.None||o===Vt.Emulated)return null}return ft(r,n)}
4function Jw(e,t,n){return Zx(e,t,n)}function Yx(e,t,n){return e.type&40?ft(e,n):null}var Zx=Yx;var ky;function dp(e,t,n,r){let o=Qw(e,r,t),i=t[J],a=Jw(r.parent||t[Ue],r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)xy(i,o,n[c],a,!1);else xy(i,o,n,a,!1);ky!==void 0&&ky(i,r,t,n,o)}function Ps(e,t){if(t!==null){let n=t.type;if(n&3)return ft(t,e);if(n&4)return _h(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Ps(e,r);{let o=e[t.index];return Tt(o)?_h(-1,o):$e(o)}}else{if(n&128)return Ps(e,t.next);if(n&32)return sp(t,e)()||$e(e[t.index]);{let r=Xw(e,t);if(r!==null){if(Array.isArray(r))return r[0];return Ps(An(e[nt]),r)}else return Ps(e,t.next)}}}return null}function Xw(e,t){if(t!==null){let r=e[nt][Ue],o=t.projection;return r.projection[o]}return null}function _h(e,t){let n=ve+e+1;if(n<t.length){let r=t[n],o=r[A].firstChild;if(o!==null)return Ps(r,o)}return t[to]}function fp(e,t,n,r,o,i,s){for(;n!=null;){let a=r[sn];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&di($e(c),r),n.flags|=2),!Cu(n))if(u&8)fp(e,t,n.child,r,o,i,!1),ci(t,e,a,o,c,n,i,r);else if(u&32){let l=sp(n,r),d;for(;d=l();)ci(t,e,a,o,d,n,i,r);ci(t,e,a,o,c,n,i,r)}else u&16?eD(e,t,r,n,o,i):ci(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Ou(e,t,n,r,o,i){e.type===3?Qx(n,r,t,o,i):fp(n,r,e.firstChild,t,o,i,!1)}function Qx(e,t,n,r,o){let s=n[A].firstChild,a=s.next,c=$e(n[s.index]),u=$e(n[a.index]),l=a.index+1,d=n[l];if(t===1||t===0)r!==null&&(d&&d.hasChildNodes()?co(e,r,d,o,!0):(co(e,r,c,o,!0),co(e,r,u,o,!0)));else if(t===2){if(d||(d=document.createDocumentFragment(),n[l]=d),c&&c.parentNode===d)return;let f=c;for(;f!==null;){let h=f.nextSibling;if(d.appendChild(f),f===u)break;f=h}}}function Jx(e,t,n){let r=t[J];eD(r,0,t,n,Qw(e,n,t),Jw(n.parent||t[Ue],n,t))}function eD(e,t,n,r,o,i){let s=n[nt],c=s[Ue].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];ci(t,e,n[sn],o,l,r,i,n)}else{let u=c,l=s[Oe];Sw(r)&&(u.flags|=128),fp(e,t,u,l,o,i,!0)}}function Xx(e,t,n,r,o,i,s){let a=r[to];if(a!==$e(r)&&ci(t,e,n,i,a,o,s),(r[L]&4)===0)for(let u=ve;u<r.length;u++){let l=r[u];Ou(l[A],l,e,t,i,a)}}function eR(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf(`-`)===-1?void 0:fn.DashCase;o==null?e.removeStyle(n,r,i):(typeof o==`string`&&o.endsWith(`!important`)&&(o=o.slice(0,-10),i|=fn.Important),e.setStyle(n,r,o,i))}}function hp(e,t,n,r,o,i,s,a,c,u,l){let d=ie+r,f=d+o,h=tR(d,f),p=typeof u==`function`?u():u;return h[A]={type:e,blueprint:h,template:n,queries:null,viewQuery:a,declTNode:t,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i==`function`?i():i,pipeRegistry:typeof s==`function`?s():s,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1,ssrId:l}}function tR(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Be);return n}function nR(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=hp(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function pp(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[jt]=o,d[L]=r|1228,(u!==null||e&&e[L]&2048)&&(d[L]|=2048),Rf(d),d[Oe]=d[lr]=e,d[Ee]=n,d[Ut]=s||e&&e[Ut],d[J]=a||e&&e[J],d[sn]=c||e&&e[sn]||null,d[Ue]=i,d[cn]=kM(),d[Jr]=l,d[If]=u,d[nt]=t.type==2?e[nt]:d,d}function rR(e,t,n){let r=ft(t,e),o=nR(n),i=e[Ut].rendererFactory,s=gp(e,pp(e,o,null,tD(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function tD(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function nD(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function gp(e,t){return e[ti]?e[Cf][It]=t:e[ti]=t,e[Cf]=t,t}function ku(e=1){rD(X(),M(),ht()+e,!1)}function rD(e,t,n,r){if(!r)if((t[L]&3)===3){let i=e.preOrderCheckHooks;i!==null&&nu(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ru(t,i,0,n)}fr(n)}var Zs=(function(e){return e[e.None=0]=`None`,e[e.SignalBased=1]=`SignalBased`,e[e.HasDecoratorInputTransform=2]=`HasDecoratorInputTransform`,e})(Zs||{});function fo(e,t,n,r){let o=O(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Zs.SignalBased)!==0&&(c=t[i][ge]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):ow(t,c,i,r)}finally{O(o)}}function oD(e,t,n,r,o){let i=ht(),s=r&2;try{fr(-1),s&&t.length>ie&&rD(e,t,ie,!1);Q(s?K.TemplateUpdateStart:K.TemplateCreateStart,o,n),n(r,o)}finally{fr(i);Q(s?K.TemplateUpdateEnd:K.TemplateCreateEnd,o,n)}}function Pu(e,t,n){uR(e,t,n),(n.flags&64)===64&&lR(e,t,n)}function Qs(e,t,n=ft){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function oR(e,t,n,r){let i=r.get(xw,Mw)||n===Vt.ShadowDom||n===Vt.ExperimentalIsolatedShadowDom;return e.selectRootElement(t,i)}function aR(e){return e===`class`?`className`:e===`for`?`htmlFor`:e===`formaction`?`formAction`:e===`innerHtml`?`innerHTML`:e===`readonly`?`readOnly`:e===`tabindex`?`tabIndex`:e}function iD(e,t,n,r,o,i){let s=t[A];
4if(wp(e,s,t,n,r)){kn(e)&&cR(t,e.index);return}e.type&3&&(n=aR(n)),sD(e,t,n,r,o,i)}function sD(e,t,n,r,o,i){if(e.type&3){let s=ft(e,t);r=i!=null?i(r,e.value||``,n):r,o.setProperty(s,n,r)}else e.type&12}function cR(e,t){let n=Mt(t,e);n[L]&16||(n[L]|=64)}function uR(e,t,n){let r=n.directiveStart,o=n.directiveEnd;kn(n)&&rR(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||lu(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=js(t,e,s,n);if(di(c,t),i!==null&&pR(t,s-r,c,a,n,i),$t(a)){let u=Mt(n.index,t);u[Ee]=js(t,e,s,n)}}}function lR(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Qv();try{fr(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Vc(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&dR(c,u)}}finally{fr(-1),Vc(s)}}function dR(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function mp(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Ww(t,i.selectors,!1)&&(r??=[],$t(i)?r.unshift(i):r.push(i))}return r}function fR(e,t,n,r,o,i){let s=ft(e,t);hR(t[J],s,i,e.value,n,r,o)}function hR(e,t,n,r,o,i,s){if(i==null)s?.(i,r||``,o),e.removeAttribute(t,o,n);else{let a=s==null?lt(i):s(i,r||``,o);e.setAttribute(t,o,a,n)}}function pR(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];fo(r,n,c,u)}}function vp(e,t,n,r,o){let i=ie+n,s=t[A],a=o(s,t,e,r,n);t[i]=a,io(e,!0);let c=e.type===2;return c?(Hw(t[J],a,e),(Vv()===0||ni(e))&&di(a,t),zv()):di(a,t),Wc()&&(!c||!Cu(e))&&dp(s,t,a,e),e}function yp(e){let t=e;return Uf()?$f():(t=t.parent,io(t,!1)),t}function gR(e,t){let n=e[sn];if(!n)return;let r;try{r=n.get(pt,null)}catch(o){r=null}r?.(t)}function wp(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=t.data[u];fo(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];fo(l,u,r,o),a=!0}return a}function mR(e,t,n,r,o,i){let s=null,a=null,c=null,u=!1,l=e.directiveToIndex.get(r.type);if(typeof l==`number`?s=l:[s,a,c]=l,a!==null&&c!==null&&e.hostDirectiveInputs&&Object.hasOwn(e.hostDirectiveInputs,o)){let d=e.hostDirectiveInputs[o];for(let f=0;f<d.length;f+=2){let h=d[f];if(h>=a&&h<=c){let p=t.data[h],v=d[f+1];fo(p,n[h],v,i),u=!0}else if(h>c)break}}return s!==null&&Object.hasOwn(r.inputs,o)&&(fo(r,n[s],o,i),u=!0),u}function vR(e,t){let n=Mt(t,e),r=n[A];yR(r,n);let o=n[jt];o!==null&&n[Jr]===null&&(n[Jr]=Rw(o,n[sn])),Q(K.ComponentStart);try{Dp(r,n,n[Ee])}finally{Q(K.ComponentEnd,n[Ee])}}function yR(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Dp(e,t,n){qc(t);try{let r=e.viewQuery;r!==null&&ph(1,r,n);let o=e.template;o!==null&&oD(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[an]?.finishViewCreation(e),e.staticContentQueries&&Aw(e,t),e.staticViewQueries&&ph(2,e.viewQuery,n);let i=e.components;i!==null&&wR(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[L]&=-5,Gc()}}function wR(e,t){for(let n=0;n<t.length;n++)vR(e,t[n])}function Js(e,t,n,r){let o=O(null);try{let i=t.tView,c=pp(e,i,n,e[L]&4096?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);c[dr]=e[t.index];let l=e[an];return l!==null&&(c[an]=l.createEmbeddedView(i)),Dp(i,c,n),c}finally{O(o)}}function fi(e,t){return!t||t.firstChild===null||Sw(e)}function $s(e,t,n,r,o=!1){if(e.type===3){let i=e.firstChild,s=i.next,a=$e(t[i.index]),c=$e(t[s.index]),u=a;for(;u!==null&&(r.push(u),u!==c);)u=u.nextSibling;return r}for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];if(i!==null)if(Tt(i)){let a=i[to];a!==i[jt]&&r.push($e(i)),i[L]&4||aD(i,r),r.push(a)}else r.push($e(i));let s=n.type;if(s&8)$s(e,t,n.child,r);else if(s&32){let a=sp(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Xw(t,n);if(Array.isArray(a))r.push(...a);else{let c=An(t[nt]);$s(c[A],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function aD(e,t){for(let n=ve;n<e.length;n++){let r=e[n],o=r[A].firstChild;o!==null&&$s(r[A],r,o,t)}}function cD(e){if(e[eo]!==null){for(let t of e[eo])t.impl.addSequence(t);e[eo].length=0}}var uD=[];function DR(e){return e[dt]??SR(e)}function SR(e){let t=uD.pop()??Object.create(bR);return t.lView=e,t}function ER(e){e.lView[dt]!==e&&(e.lView=null,uD.push(e))}var bR=x(w({},or),{consumerIsAlwaysLive:!0,kind:`template`,consumerMarkedDirty:e=>{oo(e.lView)},consumerOnSignalRead(){this.lView[dt]=this}});function _R(e){let t=e[dt]??Object.create(CR);return t.lView=e,t}var CR=x(w({},or),{consumerIsAlwaysLive:!0,kind:`template`,consumerMarkedDirty:e=>{let t=An(e.lView);for(;t&&!lD(t[A]);)t=An(t);t&&Af(t)},consumerOnSignalRead(){this.lView[dt]=this}});function lD(e){return e.type!==2}function dD(e){if(e[Rn]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Rn])if(r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()),e[Rn]===null))return;t=n&&!!(e[L]&8192)}}var IR=100;function fD(e,t=0){let r=e[Ut].rendererFactory;r.begin?.();try{TR(e,t)}finally{r.end?.()}}function TR(e,t){let n=Hf();try{hs(!0),Ch(e,t);let r=0;for(;Cs(e);){if(r===IR)throw new S(103,!1);r++,Ch(e,1)}}finally{hs(n)}}function MR(e,t,n,r){if(ro(t))return;let o=t[L];qc(t);let a=!0,c=null,u=null;lD(e)?(u=DR(t),c=Tn(u)):mc()===null?(a=!1,u=_R(t),c=Tn(u)):t[dt]&&(sr(t[dt]),t[dt]=null);try{Rf(t),Kv(e.bindingStartIndex),n!==null&&oD(e,t,n,2,r);let l=(o&3)===3;if(l){let h=e.preOrderCheckHooks;h!==null&&nu(t,h,null)}else{let h=e.preOrderHooks;h!==null&&ru(t,h,0,null),Jf(t,0)}if(xR(t),dD(t),hD(t,0),e.contentQueries!==null&&Aw(e,t),true)if(l){let h=e.contentCheckHooks;h!==null&&nu(t,h)}else{let h=e.contentHooks;h!==null&&ru(t,h,1),Jf(t,1)}AR(e,t);let d=e.components;d!==null&&gD(t,d,0);let f=e.viewQuery;if(f!==null&&ph(2,f,r),true)if(l){let h=e.viewCheckHooks;h!==null&&nu(t,h)}else{let h=e.viewHooks;h!==null&&ru(t,h,2),Jf(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Lc]){for(let h of t[Lc])h();t[Lc]=null}cD(t),t[L]&=-73}catch(l){throw oo(t),l}finally{u!==null&&(ir(u,c),a&&ER(u)),Gc()}}function hD(e,t){for(let n=bw(e);n!==null;n=_w(n))for(let r=ve;r<n.length;r++){let o=n[r];pD(o,t)}}function xR(e){for(let t=bw(e);t!==null;t=_w(t)){if(!(t[L]&2))continue;let n=t[no];for(let r=0;r<n.length;r++){let o=n[r];Af(o)}}}
vendor: 4,309 bytes, line 4
4function RR(e,t,n){Q(K.ComponentStart);let r=Mt(t,e);try{pD(r,n)}finally{Q(K.ComponentEnd,r[Ee])}}function pD(e,t){Uc(e)&&Ch(e,t)}function Ch(e,t){let r=e[A],o=e[L],i=e[dt],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&qo(i)),s||=!1,i&&(i.dirty=!1),e[L]&=-9217,s)MR(r,e,r.template,e[Ee]);else if(o&8192){let a=O(null);try{dD(e),hD(e,1);let c=r.components;c!==null&&gD(e,c,1),cD(e)}finally{O(a)}}}function gD(e,t,n){for(let r=0;r<t.length;r++)RR(e,t[r],n)}function AR(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)fr(~o);else{let i=o,s=n[++r],a=n[++r];Zv(s,i);let c=t[i];Q(K.HostBindingsUpdateStart,c);try{a(2,c)}finally{Q(K.HostBindingsUpdateEnd,c)}}}}finally{fr(-1)}}function Sp(e,t){let n=Hf()?64:1088;for(e[Ut].changeDetectionScheduler?.notify(t);e;){e[L]|=n;let r=An(e);if(ri(e)&&!r)return e;e=r}return null}function mD(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function vD(e,t){let n=ve+t;if(n<e.length)return e[n]}function Xs(e,t,n,r=!0){let o=t[A];if(NR(o,t,e,n),r){let s=_h(n,e),a=t[J],c=a.parentNode(e[to]);c!==null&&zx(o,e[Ue],a,t,c,s)}let i=t[Jr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function yD(e,t){let n=Bs(e,t);return n!==void 0&&Nu(n[A],n),n}function Bs(e,t){if(e.length<=ve)return;let n=ve+t,r=e[n];if(r){let o=r[dr];o!==null&&o!==e&&lp(o,r),t>0&&(e[n-1][It]=r[It]);let i=Ds(e,ve+t);Vx(r[A],r);let s=i[an];s!==null&&s.detachView(i[A]),r[Oe]=null,r[It]=null,r[L]&=-129}return r}function NR(e,t,n,r){let o=ve+r,i=n.length;r>0&&(n[o-1][It]=t),r<i-ve?(t[It]=n[o],Df(n,ve+r,t)):(n.push(t),t[It]=null),t[Oe]=n;let s=t[dr];s!==null&&n!==s&&wD(s,t);let a=t[an];a!==null&&a.insertView(e),$c(t),t[L]|=128}function wD(e,t){let n=e[no],r=t[Oe];if(On(r))e[L]|=2;else{let o=r[Oe][nt];t[nt]!==o&&(e[L]|=2)}n===null?e[no]=[t]:n.push(t)}var gr=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[A];return $s(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[Ee]}set context(t){this._lView[Ee]=t}get destroyed(){return ro(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Oe];if(Tt(t)){let n=t[bs],r=n?n.indexOf(this):-1;r>-1&&(Bs(t,r),Ds(n,r))}this._attachedToViewContainer=!1}Nu(this._lView[A],this._lView)}onDestroy(t){Bc(this._lView,t)}markForCheck(){Sp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[L]&=-129}reattach(){$c(this._lView),this._lView[L]|=128}detectChanges(){this._lView[L]|=1024,fD(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ri(this._lView),n=this._lView[dr];n!==null&&!t&&lp(n,this._lView),Zw(this._lView[A],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t;let n=ri(this._lView),r=this._lView[dr];r!==null&&!n&&wD(r,this._lView),$c(this._lView)}};var hi=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=OR;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){return new gr(Js(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o}))}}return e})();function OR(){return Lu(Ie(),M())}function Lu(e,t){return e.type&4?new hi(t,e,mi(e,t)):null}function wo(e,t,n,r,o){let i=e.data[t];if(i===null)i=kR(e,t,n,r,o),Yv()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Wv();i.injectorIndex=s===null?-1:s.injectorIndex}return io(i,!0),i}function kR(e,t,n,r,o){let i=jf(),s=Uf(),a=s?i:i&&i.parent,c=e.data[t]=LR(e,a,n,t,r,o);return PR(e,c,i,s),c}function PR(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function LR(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Pf()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOff
4set:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:Gf(),attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function FR(e){let t=e[Tf]??[],r=e[Oe][J],o=[];for(let i of t)i.data[Tw]!==void 0?o.push(i):jR(i,r);e[Tf]=o}function jR(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Iw];for(;n<o;){let i=r.nextSibling;Bw(t,r,!1),r=i,n++}}}var UR=()=>null;var $R=()=>null;function fu(e,t){return UR(e,t)}function DD(e,t,n){return $R(e,t,n)}var SD=class{};var ho=class{};var po=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>BR()};function BR(){let e=M(),n=Mt(Ie().index,e);return(On(n)?n:e)[J]}var ED=(()=>{class e{static ɵprov=I({token:e,providedIn:`root`,factory:()=>null})}return e})();function bD(e){return e.debugInfo?.className||e.type.name||null}var iu={};var hu=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,iu,r);return o!==iu||n===iu?o:this.parentInjector.get(t,n,r)}};function vi(e,t,n){return e[t]=n}function _D(e,t){return e[t]}function Ke(e,t,n){if(n===Be)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Hs(e,t,n,r){let o=Ke(e,t,n);return Ke(e,t+1,r)||o}function CD(e,t,n,r,o){let i=Hs(e,t,n,r);return Ke(e,t+2,o)||i}function Fu(e,t,n,r,o,i){let s=Hs(e,t,n,r);return Hs(e,t+2,o,i)||s}function uo(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&LM(o,i);Sp(kn(e)?Mt(e.index,t):t,5);let a=t[Ee],c=Py(t,a,n,o),u=r.__ngNextListenerFn__;for(;u;)c=Py(t,a,u,o)&&c,u=u.__ngNextListenerFn__;return c}}function Py(e,t,n,r){let o=O(null);try{return Q(K.OutputStart,t,n),n(r)!==!1}catch(i){return gR(e,i),!1}finally{Q(K.OutputEnd,t,n),O(o)}}function Ep(e,t,n,r,o,i,s,a){let c=ni(e),u=!1,l=null;if(!r&&c&&(l=VR(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=ft(e,n),f=r?r(d):d;r||(a.__ngNativeEl__=d);let h=o.listen(f,i,a);if(!HR(i))ID(r?v=>r($e(v[e.index])):e.index,t,n,i,a,h,!1)}return u}function HR(e){return e.startsWith(`animation`)||e.startsWith(`transition`)}function VR(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[ei],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s==`string`&&(i+=2)}return null}function ID(e,t,n,r,o,i,s){let a=t.firstCreatePass?Of(t):null,c=Nf(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Ly(e,t,n,r,o){let i=null,s=null,a=null,c=!1,u=e.directiveToIndex.get(n.type);if(typeof u==`number`?i=u:[i,s,a]=u,s!==null&&a!==null&&e.hostDirectiveOutputs&&Object.hasOwn(e.hostDirectiveOutputs,r)){let l=e.hostDirectiveOutputs[r];for(let d=0;d<l.length;d+=2){let f=l[d];if(f>=s&&f<=a)c=!0,pu(e,t,f,l[d+1],r,o);else if(f>a)break}}return Object.hasOwn(n.outputs,r)&&(c=!0,pu(e,t,i,r,r,o)),c}function pu(e,t,n,r,o,i){let s=t[n],a=t[A],d=s[a.data[n].outputs[r]].subscribe(i);ID(e.index,a,t,o,i,d,!0)}function zR(){qR()}function qR(){let e=M(),t=X(),n=Ie();if(t.firstCreatePass&&KR(t,n),n.controlDirectiveIndex===-1)return;gt(`NgSignalForms`);let r=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(r,new gu(e,t,n))}function GR(){WR()}function WR(){let e=M(),t=X(),n=so();if(n.controlDirectiveIndex===-1)return;let r=t.data[n.controlDirectiveIndex].controlDef,o=e[n.controlDirectiveIndex];r.update(o,new gu(e,t,n))}var gu=class{lView;tView;tNode;hasPassThrough;constructor(t,n,r){this.lView=t,this.tView=n,this.tNode=r,this.hasPassThrough=!!(r.flags&4096)}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get nativeElement(){return ft(this.tNode,this.lView)}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(t,n){let r=this.tView.data[this.tNode.customControlIndex];Ly(this.tNode,this.lView,r,t,uo(this.tNode,this.lView,n))}listenToCustomControlModel(t){let n=this.tNode.flags&1024?`valueChange`:`checkedChange`,r=this.tView.data[this.tNode.customControlIndex];Ly(this.tNode,this.lView,r,n,uo(this.tNode,this.lView,t))}listenToDom(t,n){Ep(this.tNode,this.tView,this.lView,void 0,this.lView[J],t,n,uo(this.tNode,this.lView,n))}
4setInputOnDirectives(t,n,r){let o=this.tNode.inputs?.[t],i=this.tNode.hostDirectiveInputs?.[t];if(!o&&!i)return!1;let s=!1;if(o)for(let a of o){if(a===this.tNode.controlDirectiveIndex)continue;let c=this.lView[a],u=this.tView.data[a];(!r||r(jy(c,u,t)))&&(fo(u,c,t,n),s=!0)}if(i)for(let a=0;a<i.length;a+=2){let c=i[a];if(c===this.tNode.controlDirectiveIndex)continue;let u=this.lView[c],l=i[a+1],d=this.tView.data[c];(!r||r(jy(u,d,t)))&&(fo(d,u,l,n),s=!0)}return s}setCustomControlModelInput(t){let n=this.tView.data[this.tNode.customControlIndex],r=this.tNode.flags&1024?`value`:`checked`;mR(this.tNode,this.tView,this.lView,n,r,t)}customControlHasInput(t){if(this.tNode.customControlIndex===-1)return!1;let n=this.tView.data[this.tNode.customControlIndex];return(n.signalFormsInputPresence??=this._buildCustomControlInputCache(n))[t]===!0}_buildCustomControlInputCache(t){let n={};for(let r in t.inputs)n[r]=!0;if(t.hostDirectives!==null){let r=[...t.hostDirectives];for(;r.length>0;){let o=r.shift();if(typeof o!=`function`){for(let s in o.inputs)n[o.inputs[s]]=!0;let i=Fy(o.directive);i!==null&&r.push(...i);continue}for(let i of o()){if(typeof i==`function`)continue;if(i.inputs)for(let a=0;a<i.inputs.length;a+=2){let c=i.inputs[a+1]||i.inputs[a];n[c]=!0}let s=Fy(i.directive);s!==null&&r.push(...s)}}}return n}};function Fy(e){return typeof e==`function`&&`ɵdir`in e?e.ɵdir.hostDirectives??null:null}function jy(e,t,n){if(!t.inputs||!Object.hasOwn(t.inputs,n))return;let[r,o]=t.inputs[n];if((o&Zs.SignalBased)!==0){let s=e[r][ge];return s.value===gi?void 0:s.value}return e[r]}function KR(e,t,n){for(let o=t.directiveStart;o<t.directiveEnd;o++)if(e.data[o].controlDef){t.controlDirectiveIndex=o;break}if(t.controlDirectiveIndex===-1)return;let r=e.data[t.controlDirectiveIndex].controlDef;if(r.passThroughInput&&(t.inputs?.[r.passThroughInput]?.length??0)>1){t.flags|=4096;return}YR(e,t)}function YR(e,t){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(!(t.directiveToIndex&&!t.directiveToIndex.has(r.type))){if(Uy(r,`value`)){t.flags|=1024,t.customControlIndex=n;return}if(Uy(r,`checked`)){t.flags|=2048,t.customControlIndex=n;return}}}if(t.hostDirectiveInputs!==null&&t.hostDirectiveOutputs!==null&&t.directiveToIndex!==null){let n=(r,o)=>{let i=t.hostDirectiveInputs[r],s=t.hostDirectiveOutputs[r+`Change`];if(!i||!s)return!1;for(let a=0;a<i.length;a+=2){let c=i[a];for(let u=0;u<s.length;u+=2)if(c===s[u])for(let d of t.directiveToIndex.values()){if(!Array.isArray(d))continue;let[f,h,p]=d;if(c>=h&&c<=p)return t.flags|=o,t.customControlIndex=f,!0}}return!1};if(n(`value`,1024)||n(`checked`,2048))return}}function Uy(e,t){return ZR(e,t)&&QR(e,t+`Change`)}function ZR(e,t){return t in e.inputs}function QR(e,t){return t in e.outputs}var Ih=Symbol(`BINDING`);var Do=new _(``);function mu(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a==`number`)i=a;else if(i==1)o=Tc(o,a);else if(i==2){let c=a,u=t[++s];r=Tc(r,c+`: `+u+`;`)}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function be(e,t=0){let n=M();if(n===null)return m(e,t);return mw(Ie(),n,Ne(e),t)}function ea(){throw new Error(`invalid`)}function TD(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}eA(e,t,n,a,i,c,u)}i!==null&&r!==null&&JR(n,r,i)}function JR(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new S(-301,!1);r.push(t[o],i)}}function XR(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function eA(e,t,n,r,o,i,s){let a=r.length,c=null;for(let f=0;f<a;f++){let h=r[f];c===null&&$t(h)&&(c=h,XR(e,n,f)),lh(lu(n,t),e,h.type)}sA(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let f=0;f<a;f++){let h=r[f];h.providersResolver&&h.providersResolver(h)}let u=!1,l=!1,d=nD(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let f=0;f<a;f++){let h=r[f];if(n.mergedAttrs=li(n.mergedAttrs,h.hostAttrs),nA(e,n,t,d,h),iA(d,h,o),s!==null&&s.has(h)){let[v,b]=s.get(h);n.directiveToIndex.set(h.type,[d,v+n.directiveStart,b+n.directiveStart])}else(i===null||!i.has(h))&&n.directiveToIndex.set(h.type,d);h.contentQueries!==null&&(n.flags|=4),(h.hostBindings!==null||h.hostAttrs!==null||h.hostVars!==0)&&(n.flags|=64);let p=h.type.prototype;!u&&(p.ngOnChanges||p.ngOnInit||p.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(p.ngOnChanges||p.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}tA(e,n,i)}function tA(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))$y(0,t,o,r),$y(1,t,o,r),Hy(t,r,!1);else{let i=n.get(o);By(0,t,i,r),By(1,t,i,r),Hy(t,r,!0)}}}function $y(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(Object.hasOwn(o,i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),MD(t,i)}}function By(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(Object.hasOwn(o,i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),MD(t,s)}}
4function MD(e,t){t===`class`?e.flags|=8:t===`style`&&(e.flags|=16)}function Hy(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||ip(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c==`number`)break;if(!n&&Object.hasOwn(o,c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&Object.hasOwn(i,c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function nA(e,t,n,r,o){e.data[r]=o;let s=new lo(o.factory||(o.factory=cr(o.type,!0)),$t(o),be,null);e.blueprint[r]=s,n[r]=s,rA(e,t,r,nD(e,n,o.hostVars,Be),o)}function rA(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;oA(s)!=a&&s.push(a),s.push(n,r,i)}}function oA(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n==`number`&&n<0)return n}return 0}function iA(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;$t(t)&&(n[``]=e)}}function sA(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function bp(e,t,n,r,o,i,s,a){let c=t[A],u=c.consts,d=wo(c,e,n,r,xt(u,s));return i&&TD(c,t,d,xt(u,a),o),d.mergedAttrs=li(d.mergedAttrs,d.attrs),d.attrs!==null&&mu(d,d.attrs,!1),d.mergedAttrs!==null&&mu(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function _p(e,t){aw(e,t),Mf(t)&&e.queries.elementEnd(t)}function aA(e,t,n,r,o,i){let s=t.consts,c=wo(t,e,n,r,xt(s,o));if(c.mergedAttrs=li(c.mergedAttrs,c.attrs),i!=null){let u=xt(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&mu(c,c.attrs,!1),c.mergedAttrs!==null&&mu(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}var xD=typeof ShadowRoot<`u`;var cA=typeof Document<`u`;function uA(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Zs.SignalBased)!==0};return o&&(i.transform=o),i})}function lA(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function dA(e,t,n){let r=t instanceof he?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new hu(n,r):n}function fA(e){let t=e.get(ho,null);if(t===null)throw new S(407,!1);return{rendererFactory:t,sanitizer:e.get(ED,null),changeDetectionScheduler:e.get(rn,null),ngReflect:!1,tracingService:e.get(zt,null,{optional:!0})}}function hA(e,t,n){let r=RD(e);return Uw(t,r,r===`svg`?Yr:r===`math`?Fc:n)}function pA(e){if((e&&`localName`in e&&typeof e.localName==`string`?e.localName:e?.tagName)?.toLowerCase()===`script`)throw new S(905,!1)}function RD(e){return(e.selectors[0][0]||`div`).toLowerCase()}var go=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=uA(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=lA(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=xx(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s,a){Q(K.DynamicComponentStart);let c=O(null);try{let u=this.componentDef,l=dA(u,o||this.ngModule,t),d=fA(l),f=d.tracingService;return f&&f.componentCreate?f.componentCreate(bD(u),()=>this.createComponentRef(d,l,n,r,i,s,a)):this.createComponentRef(d,l,n,r,i,s,a)}finally{O(c)}}createComponentRef(t,n,r,o,i,s,a){let c=this.componentDef,u=gA(o,c,s,i),l=t.rendererFactory.createRenderer(null,c),d=o?oR(l,o,c.encapsulation,n):hA(c,l,a??null);pA(d);let f=n.get(Do,null),h=mA(d,()=>n.get(ee,null)??Yh());f&&f.addHost(h);let p=s?.some(Vy)||i?.some(E=>typeof E!=`function`&&E.bindings.some(Vy)),v=pp(null,u,null,512|tD(c),null,null,t,l,n,null,Rw(d,n,!0));f&&xD&&h instanceof ShadowRoot&&Bc(v,()=>{f.removeHost(h)}),v[ie]=d,qc(v);let b=null;try{let E=bp(ie,v,2,`#host`,()=>u.directiveRegistry,!0,0);Hw(l,d,E),di(d,v),Pu(u,v,E),Qh(u,E,v),_p(u,E),r!==void 0&&yA(E,this.ngContentSelectors,r),b=Mt(E.index,v),v[Ee]=b[Ee],Dp(u,v,null)}catch(E){throw b!==null&&fh(b),fh(v),E}finally{Q(K.DynamicComponentEnd),Gc()}return new vu(this.componentType,v,!!p)}};function gA(e,t,n,r){let o=e?[`ng-version`,`22.1.6`]:Rx(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Ih].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!=`function`)for(let f of d.bindings){a+=f[Ih].requiredVars;let h=l+1;f.create&&(f.targetIdx=h,(i??=[]).push(f)),f.update&&(f.targetIdx=h,(s??=[]).push(f))}}let c=[t];if(r)for(let l of r){let f=Rc(typeof l==`function`?l:l.type);c.push(f)}return hp(0,null,vA(i,s),1,a,c,null,null,null,[o],null)}function mA(e,t){let n=e.getRootNode?.();return cA&&n instanceof Document?n.head:n&&xD&&n instanceof ShadowRoot?n:t().head}function vA(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();
vendor: 10,165 bytes, line 4
4if(n&2&&t)for(let r of t)r.update()}}function Vy(e){let t=e[Ih].kind;return t===`input`||t===`twoWay`}var vu=class extends SD{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=jc(n[A],ie),this.location=mi(this._tNode,n),this.instance=Mt(this._tNode.index,n)[Ee],this.hostView=this.changeDetectorRef=new gr(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView;wp(r,o[A],o,t,n);this.previousInputValues.set(t,n);Sp(Mt(r.index,o),1)}get injector(){return new hr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function yA(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var mr=(()=>{class e{static __NG_ELEMENT_ID__=wA}return e})();function wA(){return AD(Ie(),M())}var Th=class e extends mr{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return mi(this._hostTNode,this._hostLView)}get injector(){return new hr(this._hostTNode,this._hostLView)}get parentInjector(){let t=Gh(this._hostTNode,this._hostLView);if(lw(t)){let n=cu(t,this._hostLView),r=au(t),o=n[A].data[r+8];return new hr(o,n)}else return new hr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=zy(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-ve}createEmbeddedView(t,n,r){let o,i;typeof r==`number`?o=r:r!=null&&(o=r.index,i=r.injector);let s=fu(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,fi(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c,u=n||{};c=u.index,r=u.injector,o=u.projectableNodes,i=u.environmentInjector||u.ngModuleRef,s=u.directives,a=u.bindings;let l=new go(Nn(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let E=this.parentInjector.get(he,null);E&&(i=E)}let f=Nn(l.componentType??{}),h=fu(this._lContainer,f?.id??null),p=h?.firstChild??null,v=l.create(d,o,p,i,s,a,this._getHostElementNamespace());return this.insertImpl(v.hostView,c,fi(this._hostTNode,h)),v}_getHostElementNamespace(){if(this._hostTNode.type&2){let t=this._hostTNode.parent??this._hostLView[Ue];return t!==null&&t.type&2&&typeof t.value==`string`&&t.value.toLowerCase()===`foreignobject`?null:t?.namespace??null}return this._hostTNode.namespace}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Uv(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[Oe],u=new e(c,c[Ue],c[Oe]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Xs(s,o,i,r),t.attachToViewContainerRef(),Df(th(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=zy(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Bs(this._lContainer,n);r&&(Ds(th(this._lContainer),n),Nu(r[A],r))}detach(t){let n=this._adjustIndex(t,-1),r=Bs(this._lContainer,n);return r&&Ds(th(this._lContainer),n)!=null?new gr(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function zy(e){return e[bs]}function th(e){return e[bs]||(e[bs]=[])}function AD(e,t){let n,r=t[e.index];return Tt(r)?n=r:(n=mD(r,t,null,e),t[e.index]=n,gp(t,n)),SA(n,t,e,r),new Th(n,e,t)}function DA(e,t){let n=e[J],r=n.createComment(``),o=ft(t,e);return co(n,n.parentNode(o),r,n.nextSibling(o),!1),r}var SA=_A;var EA=()=>!1;function bA(e,t,n){return EA(e,t,n)}function _A(e,t,n,r){if(e[to])return;let o;n.type&8?o=$e(r):o=DA(t,n),e[to]=o}var Mh=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}};var xh=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Ip(t,n).matches!==null&&this.queries[n].setDirty()}};var yu=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t==`string`?this.predicate=xA(t):this.predicate=t}};var Rh=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}};var Ah=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,CA(n,i)),this.matchTNodeWithReadOption(t,n,ou(n,t,i,!1,!1))}else r===hi?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ou(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Un||o===mr||o===hi&&n.type&4)this.addMatch(n.index,-2);else{let i=ou(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function CA(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function IA(e,t){return e.type&11?mi(e,t):e.type&4?Lu(e,t):null}function TA(e,t,n,r){return n===-1?IA(t,e):n===-2?MA(e,t,r):js(e,e[A],n,t)}function MA(e,t,n){if(n===Un)return mi(t,e);if(n===hi)return Lu(t,e);if(n===mr)return AD(t,e)}function ND(e,t,n,r){let o=t[an].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(TA(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Nh(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=ND(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=ve;d<l.length;d++){let f=l[d];f[dr]===f[Oe]&&Nh(f[A],f,u,r)}if(l[no]!==null){let d=l[no];for(let f=0;f<d.length;f++){let h=d[f];Nh(h[A],h,u,r)}}}}}return r}function Cp(e,t){return e[an].queries[t].queryList}function OD(e,t,n){let r=new du((n&4)===4);return Hv(e,t,r,r.destroy),(t[an]??=new xh).queries.push(new Mh(r))-1}function kD(e,t,n){let r=X();return r.firstCreatePass&&(LD(r,new yu(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),OD(r,M(),t)}function PD(e,t,n,r){let o=X();if(o.firstCreatePass){let i=Ie();LD(o,new yu(t,n,r),i.index),RA(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return OD(o,M(),n)}function xA(e){return e.split(`,`).map(t=>t.trim())}function LD(e,t,n){e.queries===null&&(e.queries=new Rh),e.queries.track(new Ah(t,n))}function RA(e,t){let n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}function Ip(e,t){return e.queries.getByIndex(t)}function FD(e,t){let n=e[A],r=Ip(n,t);return r.crossesNgTemplate?Nh(n,e,t,[]):ND(n,e,r,t)}function Tp(e,t,n){let r,o=us(()=>{r._dirtyCounter();let i=AA(r,e);if(t&&i===void 0)throw new S(-951,!1);return i});return r=o[ge],r._dirtyCounter=ce(0),r._flatValue=void 0,o}function Mp(e){return Tp(!0,!1,e)}function xp(e){return Tp(!0,!0,e)}function jD(e){return Tp(!1,!1,e)}function UD(e,t){let n=e[ge];n._lView=M(),n._queryIndex=t,n._queryList=Cp(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function AA(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[L]&4)return t?void 0:We;let o=Cp(n,r),i=FD(n,r);return o.reset(i,Dw),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function So(e){return!!e&&typeof e.then==`function`}function ju(e){return!!e&&typeof e.subscribe==`function`}var mo=class{};var Uu=class{};var wu=class extends mo{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Ev(t);this._bootstrapComponents=yx(i.bootstrap),this._r3Injector=Wf(t,n,[{provide:mo,useValue:this},...r],ms(t),new Set([`environment`])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}};var Du=class extends Uu{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new wu(this.moduleType,t,[])}};var Vs=class extends mo{injector;instance=null;constructor(t){super();let n=new Kr([...t.providers,{provide:mo,useValue:this}
vendor: 4,677 bytes, line 4
4],t.parent||Xo(),t.debugName,new Set([`environment`]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function yi(e,t,n=null){return new Vs({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var NA=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Ef(!1,n.type),o=r.length>0?yi([r],this._injector,``):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static ɵprov=I({token:e,providedIn:`environment`,factory:()=>new e(m(he))})}return e})();function ta(e){return Gs(()=>{let t=$D(e),n=x(w({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==Wh.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(NA).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Vt.Emulated,styles:e.styles||We,_:null,schemas:e.schemas||null,tView:null,id:``});t.standalone&&gt(`NgStandalone`),BD(n);let r=e.dependencies;return n.directiveDefs=qy(r,OA),n.pipeDefs=qy(r,bv),n.id=LA(n),n})}function OA(e){return Nn(e)||Rc(e)}function wi(e){return Gs(()=>({type:e.type,bootstrap:e.bootstrap||We,declarations:e.declarations||We,imports:e.imports||We,exports:e.exports||We,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function kA(e,t){if(e==null)return ur;let n={};for(let r in e)if(Object.hasOwn(e,r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Zs.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function PA(e){if(e==null)return ur;let t={};for(let n in e)Object.hasOwn(e,n)&&(t[e[n]]=n);return t}function Bn(e){return Gs(()=>{let t=$D(e);return BD(t),t})}function Hn(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function $D(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||ur,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||We,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:kA(e.inputs,t),outputs:PA(e.outputs),debugInfo:null}}function BD(e){e.features?.forEach(t=>t(e))}function qy(e,t){return e?()=>{let n=typeof e==`function`?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function LA(e){let t=0,n=typeof e.consts==`function`?``:e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join(`|`))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,`c`+t}var Rp=new _(``);function $u(e){return on([{provide:Rp,multi:!0,useValue:e}])}var Ap=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(Rp,{optional:!0})??[];injector=g(Pe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Ce(this.injector,o);if(So(i))n.push(i);else if(ju(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:e.ɵfac})}return e})();function FA(e){return t=>{t.controlDef={create:(n,r)=>{n?.ɵngControlCreate(r)},update:(n,r)=>{n?.ɵngControlUpdate?.(r)},passThroughInput:e}}}function jA(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=UA,n.hostDirectives=r?e.map(Oh):[e]):r?n.hostDirectives.unshift(...e.map(Oh)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function UA(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;
4r??=new Map,o??=new Map,HD(s,t,r,e),o.set(s,[a,t.length-1])}i===0&&$t(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return r!==null&&r.forEach((i,s)=>{$A(s.declaredInputs,i.inputs)}),[t,r,o]}function HD(e,t,n,r){if(e.hostDirectives!==null)for(let o of e.hostDirectives)if(typeof o==`function`){let i=o();for(let s of i)Gy(Oh(s),t,n,r)}else Gy(o,t,n,r)}function Gy(e,t,n,r){let o=Rc(e.directive);if(HD(o,t,n,r),n.has(o)){let i=n.get(o);Wy(i,e.inputs,`input`),Wy(i,e.outputs,`output`)}else r.includes(o)||(n.set(o,e),t.push(o))}function Wy(e,t,n){let r=n===`input`?e.inputs:e.outputs;Object.keys(t).forEach(o=>{let i=t[o];(!Object.hasOwn(r,o)||r[o]===i)&&(r[o]=i)})}function Oh(e){return typeof e==`function`?{directive:Ne(e),inputs:{},outputs:{}}:{directive:Ne(e.directive),inputs:Ky(e.inputs),outputs:Ky(e.outputs)}}function Ky(e){let t={};if(e!==void 0&&e.length>0)for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function $A(e,t){for(let n in t)if(Object.hasOwn(t,n)){let r=t[n];e[r]=e[n]}}function BA(e){return Object.getPrototypeOf(e.prototype).constructor}function VD(e){let t=BA(e.type),n=!0,r=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let o,i=Object.hasOwn(t,ys)?t[ys]:void 0,s=Object.hasOwn(t,ws)?t[ws]:void 0;if($t(e))o=i??s;else{if(i)throw new S(903,!1);o=s}if(o){if(n){r.push(o);let c=e;c.inputs=nh(e.inputs),c.declaredInputs=nh(e.declaredInputs),c.outputs=nh(e.outputs);let u=o.hostBindings;u&&GA(e,u);let l=o.viewQuery,d=o.contentQueries;if(l&&zA(e,l),d&&qA(e,d),HA(e,o),Sv(e.outputs,o.outputs),$t(o)&&o.data.animation){let f=e.data;f.animation=(f.animation||[]).concat(o.data.animation)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let u=a[c];u&&u.ngInherit&&u(e),u===VD&&(n=!1)}}t=Object.getPrototypeOf(t)}VA(r)}function HA(e,t){for(let n in t.inputs){if(!Object.hasOwn(t.inputs,n)||Object.hasOwn(e.inputs,n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function VA(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=li(o.hostAttrs,n=li(n,o.hostAttrs))}}function nh(e){return e===ur?{}:e===We?[]:e}function zA(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function qA(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function GA(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function zD(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=li(e.mergedAttrs,e.attrs);let l=e.tView=hp(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),io(e,!1);let c=KA(n,t,e,r);Wc()&&dp(n,t,c,e),di(c,t);let u=mD(c,t,c,e);t[r+ie]=u,gp(t,u),bA(u,e,t)}function WA(e,t,n,r,o,i,s,a,c,u,l){let d=n+ie,f;return t.firstCreatePass?(f=wo(t,d,4,s||null,a||null),Hc()&&TD(t,e,f,xt(t.consts,u),mp),aw(t,f)):f=t.data[d],zD(f,e,t,n,r,o,i,c),ni(f)&&Pu(t,e,f),u!=null&&Qs(e,f,l),f}function zs(e,t,n,r,o,i,s,a,c,u,l){let d=n+ie,f;if(t.firstCreatePass){if(f=wo(t,d,4,s||null,a||null),u!=null){let h=xt(t.consts,u);f.localNames=[];for(let p=0;p<h.length;p+=2)f.localNames.push(h[p],-1)}}else f=t.data[d];return zD(f,e,t,n,r,o,i,c),u!=null&&Qs(e,f,l),f}function qD(e,t,n,r,o,i,s,a){let c=M(),u=X();return WA(c,u,e,t,n,r,o,xt(u.consts,i),void 0,s,a),qD}var KA=YA;function YA(e,t,n,r){return Ms(!0),t[J].createComment(``)}var Bu=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static ɵfac=function(r){return new(r||e)};static ɵprov=I({token:e,factory:e.ɵfac,providedIn:`platform`})}return e})();var Np=new _(``);var Di=new _(``);function GD(){qd(()=>{throw new S(600,``)})}var ZA=10;var vr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(pt);afterRenderManager=g(xu);zonelessEnabled=g(As);
4rootEffectScheduler=g(Yc);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new re;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(Ln);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(R(n=>!n))}constructor(){g(zt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(he);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Pe.NULL){return this._injector.get(Le).run(()=>{if(Q(K.BootstrapComponentStart),!this._injector.get(Ap).done)throw new S(405,``);let a=Nn(n),c=this._injector.get(mo),u=new go(a,c);this.componentTypes.push(n);let{hostElement:l,directives:d,bindings:f}=QA(r),h=l||u.selector,p=u.create(o,[],h,c.injector,d,f),v=p.location.nativeElement,b=p.injector.get(Np,null);return b?.registerApplication(v),p.onDestroy(()=>{this.detachView(p.hostView),Ls(this.components,p),b?.unregisterApplication(v)}),this._loadComponent(p),Q(K.BootstrapComponentEnd,p),p})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Q(K.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Mu.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Q(K.ChangeDetectionEnd),new S(101,!1);let n=O(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,O(n),this.afterTick.next(),Q(K.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(ho,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<ZA;){Q(K.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Q(K.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Cs(o))continue;fD(o,r&&!this.zonelessEnabled?0:1),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Cs(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Ls(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(Di,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ls(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new S(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:e.ɵfac})}return e})();function QA(e){return e===void 0||typeof e==`string`||e instanceof Element?{hostElement:e}:e}function Ls(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Si(e,t,n,r){let o=M();if(Ke(o,Pn(),t)){X();fR(so(),o,e,t,n,r)}return Si}var kh=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function rh(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function JA(e,t,n,r){let o,i,s=0,a=e.length-1;if(Array.isArray(t)){O(r);let u=t.length-1;for(O(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],f=rh(s,l,s,d,n);if(f!==0){f<0&&e.updateValue(s,d),s++;continue}let h=e.at(a),p=t[u],v=rh(a,h,u,p,n);if(v!==0){v<0&&e.updateValue(a,p),a--,u--;continue}let b=n(s,l),E=n(a,h),T=n(s,d);if(Object.is(T,E)){let w=n(u,p);Object.is(w,b)?(e.swap(s,a),e.updateValue(a,p),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Su,i??=Zy(e,s,a,n),Ph(e,o,s,T))e.updateValue(s,d),s++,a++;else if(i.has(T))o.set(b,e.detach(s)),a--;else{let w=e.create(s,t[s]);e.attach(s,w),s++,a++}}for(;s<=u;)Yy(e,o,n,s,t[s]),s++}else if(t!=null){O(r);let u=t[Symbol.iterator]();O(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),f=l.value,h=rh(s,d,s,f,n);if(h!==0)h<0&&e.updateValue(s,f),s++,l=u.next();
4else{o??=new Su,i??=Zy(e,s,a,n);let p=n(s,f);if(Ph(e,o,s,p))e.updateValue(s,f),s++,a++,l=u.next();else if(!i.has(p))e.attach(s,e.create(s,f)),s++,a++,l=u.next();else{let v=n(s,d);o.set(v,e.detach(s)),a--}}}for(;!l.done;)Yy(e,o,n,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function Ph(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Yy(e,t,n,r,o){if(Ph(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Zy(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Su=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function Op(e,t,n,r,o,i,s,a){gt(`NgControlFlow`);let c=M(),u=X();return zs(c,u,e,t,n,r,o,xt(u.consts,i),256,s,a),kp}function kp(e,t,n,r,o,i,s,a){gt(`NgControlFlow`);let c=M(),u=X();return zs(c,u,e,t,n,r,o,xt(u.consts,i),512,s,a),kp}function Pp(e,t){gt(`NgControlFlow`);let n=M(),r=Pn(),o=n[r]!==Be?n[r]:-1,i=o!==-1?Eu(n,ie+o):void 0,s=0;if(Ke(n,r,e)){let a=O(null);try{if(i!==void 0&&yD(i,s),e!==-1){let c=ie+e,u=Eu(n,c),l=Uh(n[A],c),d=DD(u,l,n);Xs(u,Js(n,l,t,{dehydratedView:d}),s,fi(l,d))}}finally{O(a)}}else if(i!==void 0){let a=vD(i,s);a!==void 0&&(a[Ee]=t)}}var Lh=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-ve}};function XA(e){return e}function eN(e,t){return t}var Fh=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function tN(e,t,n,r,o,i,s,a,c,u,l,d,f){gt(`NgControlFlow`);let h=M(),p=X(),v=c!==void 0,b=M(),T=new Fh(v,a?s.bind(b[nt][Ee]):s);b[ie+e]=T,zs(h,p,e+1,t,n,r,o,xt(p.consts,i),256),v&&zs(h,p,e+2,c,u,l,d,xt(p.consts,f),512)}var jh=class extends kh{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-ve}at(t){return this.getLView(t)[Ee].$implicit}attach(t,n){let r=n[Jr];this.needsIndexUpdate||=t!==this.length,Xs(this.lContainer,n,t,fi(this.templateTNode,r)),rN(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,oN(this.lContainer,t),iN(this.lContainer,t)}create(t,n){let r=fu(this.lContainer,this.templateTNode.tView.ssrId);return Js(this.hostLView,this.templateTNode,new Lh(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Nu(t[A],t)}updateValue(t,n){this.getLView(t)[Ee].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Ee].$index=t}getLView(t){return sN(this.lContainer,t)}};function nN(e){let t=O(null),n=ht();try{let r=M(),o=r[A],i=r[n],s=n+1,a=Eu(r,s);if(i.liveCollection===void 0)i.liveCollection=new jh(a,r,Uh(o,s));else i.liveCollection.reset();let c=i.liveCollection;if(JA(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=Pn(),l=c.length===0;if(Ke(r,u,l)){let d=n+2,f=Eu(r,d);if(l){let h=Uh(o,d),p=DD(f,h,r);Xs(f,Js(r,h,void 0,{dehydratedView:p}),0,fi(h,p))}else o.firstUpdatePass&&FR(f),yD(f,0)}}}finally{O(t)}}function Eu(e,t){return e[t]}function rN(e,t){if(e.length<=ve)return;let r=e[ve+t],o=r?r[un]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[sn];Fx(i,o),pr.delete(r[cn]),o.detachedLeaveAnimationFns=void 0}}function oN(e,t){if(e.length<=ve)return;let r=e[ve+t],o=r?r[un]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function iN(e,t){return Bs(e,t)}function sN(e,t){return vD(e,t)}function Uh(e,t){return jc(e,t)}function Hu(e,t,n){let r=M();if(Ke(r,Pn(),t)){X();iD(so(),r,e,t,r[J],n)}return Hu}function $h(e,t,n,r,o){wp(t,e,n,o?`class`:`style`,r)}function Ye(e,t,n,r){let o=M(),i=o[A],s=e+ie,a=i.firstCreatePass?bp(s,o,2,t,mp,Hc(),n,r):i.data[s];if(kn(a)){let c=o[Ut].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOff
4set];return c.componentCreate(bD(u),()=>(Qy(e,t,o,a,r),Ye))}}return Qy(e,t,o,a,r),Ye}function Qy(e,t,n,r,o){if(vp(r,n,e,t,KD),ni(r)){let i=n[A];Pu(i,n,r),Qh(i,r,n)}o!=null&&Qs(n,r)}function Rt(){let e=X(),n=yp(Ie());return e.firstCreatePass&&_p(e,n),Lf(n)&&Ff(),kf(),n.classesWithoutHost!=null&&yM(n)&&$h(e,n,M(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&wM(n)&&$h(e,n,M(),n.stylesWithoutHost,!1),Rt}function pn(e,t,n,r){return Ye(e,t,n,r),Rt(),pn}function Lp(e,t,n,r){let o=M(),i=o[A],s=e+ie,a=i.firstCreatePass?aA(s,i,2,t,n,r):i.data[s];return vp(a,o,e,t,KD),r!=null&&Qs(o,a),Lp}function Fp(){return Lf(yp(Ie()))&&Ff(),kf(),Fp}function WD(e,t,n,r){return Lp(e,t,n,r),Fp(),WD}var KD=(e,t,n,r,o)=>(Ms(!0),Uw(t[J],r,Gf()));function jp(e,t,n){let r=M(),o=r[A],i=e+ie,s=o.firstCreatePass?bp(i,r,8,`ng-container`,mp,Hc(),t,n):o.data[i];if(vp(s,r,e,`ng-container`,aN),ni(s)){let a=r[A];Pu(a,r,s),Qh(a,s,r)}return n!=null&&Qs(r,s),jp}function Up(){let e=X(),n=yp(Ie());return e.firstCreatePass&&_p(e,n),Up}function YD(e,t,n){return jp(e,t,n),Up(),YD}var aN=(e,t,n,r,o)=>(Ms(!0),lx(t[J],``));function cN(){return M()}function ZD(e,t,n){let r=M();if(Ke(r,Pn(),t)){X();sD(so(),r,e,t,r[J],n)}return ZD}var Os=void 0;function uN(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,``).length;return t===1&&n===0?1:5}var lN=[`en`,[[`a`,`p`],[`AM`,`PM`]],[[`AM`,`PM`]],[[`S`,`M`,`T`,`W`,`T`,`F`,`S`],[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`]],Os,[[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]],Os,[[`B`,`A`],[`BC`,`AD`],[`Before Christ`,`Anno Domini`]],0,[6,0],[`M/d/yy`,`MMM d, y`,`MMMM d, y`,`EEEE, MMMM d, y`],[`h:mm a`,`h:mm:ss a`,`h:mm:ss a z`,`h:mm:ss a zzzz`],[`{1}, {0}`,Os,Os,Os],[`.`,`,`,`;`,`%`,`+`,`-`,`E`,`×`,`‰`,`∞`,`NaN`,`:`],[`#,##0.###`,`#,##0%`,`¤#,##0.00`,`#E0`],`USD`,`$`,`US Dollar`,{},`ltr`,uN];var Fs=Object.create(null);function $p(e,t,n){typeof t!=`string`&&(n=t,t=e[we.LocaleId]),t=t.toLowerCase().replace(/_/g,`-`),Fs[t]=e,n&&(Fs[t][we.ExtraData]=n)}function mt(e){let t=dN(e),n=Jy(t);if(n)return n;let r=t.split(`-`)[0];if(n=Jy(r),n)return n;if(r===`en`)return lN;throw new S(701,!1)}function Jy(e){if(!(e in Fs)){let t=Ct.ng&&Ct.ng.common&&Ct.ng.common.locales&&Ct.ng.common.locales[e];return t!==void 0&&(Fs[e]=t),t}return Fs[e]}var we={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};function dN(e){return e.toLowerCase().replace(/_/g,`-`)}var na=`en-US`;function QD(e){typeof e==`string`&&e.toLowerCase().replace(/_/g,`-`)}function Ei(e,t,n){let r=M(),o=X(),i=Ie();return XD(o,r,r[J],i,e,t,n),Ei}function JD(e,t,n){let r=M(),o=X(),i=Ie();return(i.type&3||n)&&Ep(i,o,r,n,r[J],e,t,uo(i,r,t)),JD}function XD(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=uo(r,t,i),Ep(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let f=l[d],h=l[d+1];c??=uo(r,t,i),pu(r,t,f,h,o,c)}if(u&&u.length)for(let d of u)c??=uo(r,t,i),pu(r,t,d,o,o,c)}}function Bp(e=1){return ny(e)}function hN(e,t){let n=null,r=_x(e);for(let o=0;o<t.length;o++){let i=t[o];if(i===`*`){n=o;continue}if(r===null?Ww(e,i,!0):Tx(r,i))return o}return n}function pN(e){let t=M()[nt][Ue];if(!t.projection){let r=t.projection=xv(e?e.length:1,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?hN(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function gN(e,t=0,n,r,o,i){let s=M(),a=X(),c=r?e+1:null;c!==null&&zs(s,a,c,r,o,i,null,n);let u=wo(a,ie+e,16,null,n||null);u.projection===null&&(u.projection=t),$f();let d=!s[Jr]||Pf();s[nt][Ue].projection[u.projection]===null&&c!==null?mN(s,a,c):d&&!Cu(u)&&Jx(a,s,u)}
4function mN(e,t,n){let r=ie+n,o=t.data[r],i=e[r],s=fu(i,o.tView.ssrId);Xs(i,Js(e,o,void 0,{dehydratedView:s}),0,fi(o,s))}function Hp(e,t,n,r){return PD(e,t,n,r),Hp}function eS(e,t,n){return kD(e,t,n),eS}function tS(e){let t=M(),n=X(),r=zc();Ts(r+1);let o=Ip(n,r);if(e.dirty&&jv(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=FD(t,r);e.reset(i,Dw),e.notifyOnChanges()}return!0}return!1}function nS(){return Cp(M(),zc())}function rS(e,t,n,r,o){return UD(t,PD(e,n,r,o)),rS}function oS(e,t,n,r){return UD(e,kD(t,n,r)),oS}function vN(e=1){Ts(zc()+e)}function yN(e){return oi(Bf(),ie+e)}function tu(e,t){return e<<17|t<<2}function vo(e){return e>>17&32767}function wN(e){return(e&2)==2}function DN(e,t){return e&131071|t<<17}function Bh(e){return e|2}function pi(e){return(e&131068)>>2}function oh(e,t){return e&-131069|t<<2}function SN(e){return(e&1)===1}function Hh(e){return e|1}function EN(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=vo(s),c=pi(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Qo(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let f=vo(e[a+1]);
vendor: 5,042 bytes, line 4
4e[r+1]=tu(f,a),f!==0&&(e[f+1]=oh(e[f+1],r)),e[a+1]=DN(e[a+1],r)}else e[r+1]=tu(a,0),a!==0&&(e[a+1]=oh(e[a+1],r)),a=r;else e[r+1]=tu(c,0),a===0?a=r:e[c+1]=oh(e[c+1],r),c=r;u&&(e[r+1]=Bh(e[r+1])),Xy(e,l,r,!0),Xy(e,l,r,!1),bN(t,l,e,r,i),s=tu(a,c),i?t.classBindings=s:t.styleBindings=s}function bN(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t==`string`&&Qo(i,t)>=0&&(n[r+1]=Hh(n[r+1]))}function Xy(e,t,n,r){let o=e[n+1],i=t===null,s=r?vo(o):pi(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];_N(c,t)&&(a=!0,e[s+1]=r?Hh(u):Bh(u)),s=r?vo(u):pi(u)}a&&(e[n+1]=r?Bh(o):Hh(o))}function _N(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t==`string`?Qo(e,t)>=0:!1}var Ht={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function CN(e){return e.substring(Ht.key,Ht.keyEnd)}function IN(e){return TN(e),iS(e,sS(e,0,Ht.textEnd))}function iS(e,t){let n=Ht.textEnd;return n===t?-1:(t=Ht.keyEnd=MN(e,Ht.key=t,n),sS(e,t,n))}function TN(e){Ht.key=0,Ht.keyEnd=0,Ht.value=0,Ht.valueEnd=0,Ht.textEnd=e.length}function sS(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function MN(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function aS(e,t,n){return cS(e,t,n,!1),aS}function Vu(e,t){return cS(e,t,null,!0),Vu}function xN(e){AN(FN,RN,e,!0)}function RN(e,t){for(let n=IN(t);n>=0;n=iS(t,n))kc(e,CN(t),!0)}function cS(e,t,n,r){let o=M(),i=X(),s=Is(2);if(i.firstUpdatePass&&lS(i,e,s,r),t!==Be&&Ke(o,s,t)){let a=i.data[ht()];dS(i,a,o,o[J],e,o[s+1]=UN(t,n),r,s)}}function AN(e,t,n,r){let o=X(),i=Is(2);o.firstUpdatePass&&lS(o,null,i,r);let s=M();if(n!==Be&&Ke(s,i,n)){let a=o.data[ht()];if(fS(a,r)&&!uS(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Tc(c,n||``)),$h(o,a,s,n,r)}else jN(o,a,s,s[J],s[i+1],s[i+1]=LN(e,t,n),r,i)}}function uS(e,t){return t>=e.expandoStartIndex}function lS(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ht()],s=uS(e,n);fS(i,r)&&t===null&&!s&&(t=!1),t=NN(o,i,t,r),EN(o,i,t,n,s,r)}}function NN(e,t,n,r){let o=Jv(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ih(null,e,t,n,r),n=qs(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ih(o,e,t,n,r),i===null){let c=ON(e,t,r);c!==void 0&&Array.isArray(c)&&(c=ih(null,e,t,c[1],r),c=qs(c,t.attrs,r),kN(e,t,r,c))}else i=PN(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function ON(e,t,n){let r=n?t.classBindings:t.styleBindings;if(pi(r)!==0)return e[vo(r)]}function kN(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[vo(o)]=r}function PN(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=qs(r,s,n)}return qs(r,t.attrs,n)}function ih(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=qs(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function qs(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s==`number`?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:[``,e]),kc(e,s,n?!0:t[++i]))}return e===void 0?null:e}function LN(e,t,n){if(n==null||n===``)return We;let r=[],o=ot(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o==`object`)for(let i in o)Object.hasOwn(o,i)&&e(r,i,o[i]);else typeof o==`string`&&t(r,o);return r}function FN(e,t,n){let r=String(t);r!==``&&!r.includes(` `)&&kc(e,r,n)}function jN(e,t,n,r,o,i,s,a){o===Be&&(o=We);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let f=c<o.length?o[c+1]:void 0,h=u<i.length?i[u+1]:void 0,p=null,v;l===d?(c+=2,u+=2,f!==h&&(p=d,v=h)):d===null||l!==null&&l<d?(c+=2,p=l):(u+=2,p=d,v=h),p!==null&&dS(e,t,n,r,p,v,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function dS(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1];if(!bu(SN(u)?ew(c,t,n,o,pi(u),s):void 0)){bu(i)||wN(u)&&(i=ew(c,null,n,o,a,s));eR(r,s,xf(ht(),n),o,i)}}function ew(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,f=n[o+1];f===Be&&(f=d?We:void 0);let h=d?Pc(f,r):l===r?f:void 0;if(u&&!bu(h)&&(h=Pc(c,r)),bu(h)&&(a=h,s))return a;let p=e[o+1];o=s?vo(p):pi(p)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Pc(c,r))}return a}function bu(e){return e!==void 0}function UN(e,t){return e==null||e===``||(typeof t==`string`?e=ot(e)+t:typeof e==`object`&&(e=ms(ot(e)))),e}function fS(e,t){return(e.flags&(t?8:16))!==0}function Vn(e,t=``){let n=M(),r=X(),o=e+ie,i=r.firstCreatePass?wo(r,o,1,t,null):r.data[o],s=$N(r,n,i,t);n[o]=s,Wc()&&dp(r,n,s,i),io(i,!1)}var $N=(e,t,n,r)=>(Ms(!0),cx(t[J],r));function BN(e,t,n,r=``){return Ke(e,Pn(),n)?t+lt(n)+r:Be}function HN(e,t,n,r,o,i=``){let a=Hs(e,Vf(),n,o);return Is(2),a?t+lt(n)+r+lt(o)+i:Be}function VN(e,t,n,r,o,i,s,a,c,u,l,d=``){let f=Vf(),h=Fu(e,f,n,o,s,c);return h=Ke(e,f+4,l)||h,Is(5),h?t+lt(n)+r+lt(o)+i+lt(s)+a+lt(c)+u+lt(l)+d:Be}function hS(e){return Vp(``,e),hS}
vendor: 4,536 bytes, line 4
4function Vp(e,t,n){let r=M(),o=BN(r,e,t,n);return o!==Be&&zp(r,ht(),o),Vp}function pS(e,t,n,r,o){let i=M(),s=HN(i,e,t,n,r,o);return s!==Be&&zp(i,ht(),s),pS}function gS(e,t,n,r,o,i,s,a,c,u,l){let d=M(),f=VN(d,e,t,n,r,o,i,s,a,c,u,l);return f!==Be&&zp(d,ht(),f),gS}function zp(e,t,n){let r=xf(t,e);ux(e[J],r,n)}function mS(e,t,n){Qc(t)&&(t=t());let r=M();if(Ke(r,Pn(),t)){X();iD(so(),r,e,t,r[J],n)}return mS}function zN(e,t){let n=Qc(e);return n&&e.set(t),n}function vS(e,t){let n=M(),r=X(),o=Ie();return XD(r,n,n[J],o,e,t),vS}var yS={};function wS(e){gt(`NgLet`);let t=X(),n=M(),r=e+ie;return io(wo(t,r,128,null,null),!1),_s(t,n,r,yS),wS}function qN(e){return _s(X(),M(),ht(),e),e}function GN(e){let n=oi(Bf(),ie+e);if(n===yS)throw new S(314,!1);return n}function WN(e){return Ke(M(),Pn(),e)?lt(e):Be}function tw(e,t,n){let r=X();r.firstCreatePass&&DS(t,r.data,r.blueprint,$t(e),n)}function DS(e,t,n,r,o){if(e=Ne(e),Array.isArray(e))for(let i=0;i<e.length;i++)DS(e[i],t,n,r,o);else{let i=X(),s=M(),a=Ie(),c=Wr(e)?e:Ne(e.provide),u=_f(e),l=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(Wr(e)||!e.multi){let h=new lo(u,o,be,null),p=ah(c,t,o?l:l+f,d);p===-1?(lh(lu(a,s),i,c),sh(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{let h=ah(c,t,l+f,d),p=ah(c,t,l,l+f),v=h>=0&&n[h],b=p>=0&&n[p];if(o&&!b||!o&&!v){lh(lu(a,s),i,c);let E=ZN(o?YN:KN,n.length,o,r,u,e);!o&&b&&(n[p].providerFactory=E),sh(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(E),s.push(E)}else{let E=SS(n[o?p:h],u,!o&&r);sh(i,e,h>-1?h:p,E)}!o&&r&&b&&n[p].componentProviders++}}}function sh(e,t,n,r){let o=Wr(t),i=kv(t);if(o||i){let c=(i?Ne(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function SS(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ah(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function KN(e,t,n,r,o){return Vh(this.multi,[])}function YN(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=js(r,r[A],this.providerFactory.index,o);s=c.slice(0,a),Vh(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],Vh(i,s);return s}function Vh(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function ZN(e,t,n,r,o,i){let s=new lo(e,n,be,null);return s.multi=[],s.index=t,s.componentProviders=0,SS(s,o,r&&!n),s}function QN(e,t){return n=>{n.providersResolver=(r,o)=>tw(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>tw(r,o?o(t):t,!0))}}function JN(e,t,n){return ES(M(),ln(),e,t,n)}function XN(e,t,n,r){return bS(M(),ln(),e,t,n,r)}function e0(e,t,n,r,o){return _S(M(),ln(),e,t,n,r,o)}function t0(e,t,n,r,o,i,s){return o0(M(),ln(),e,t,n,r,o,i)}function n0(e,t,n,r,o,i,s){let a=ln()+e,c=M(),u=Fu(c,a,n,r,o,i);return Ke(c,a+4,s)||u?vi(c,a+5,t(n,r,o,i,s)):_D(c,a+5)}function r0(e,t,n,r,o,i,s,a,c){let u=ln()+e,l=M(),d=Fu(l,u,n,r,o,i);return CD(l,u+4,s,a,c)||d?vi(l,u+7,t(n,r,o,i,s,a,c)):_D(l,u+7)}function zu(e,t){let n=e[t];return n===Be?void 0:n}function ES(e,t,n,r,o,i){let s=t+n;return Ke(e,s,o)?vi(e,s+1,i?r.call(i,o):r(o)):zu(e,s+1)}function bS(e,t,n,r,o,i,s){let a=t+n;return Hs(e,a,o,i)?vi(e,a+2,s?r.call(s,o,i):r(o,i)):zu(e,a+2)}function _S(e,t,n,r,o,i,s,a){let c=t+n;return CD(e,c,o,i,s)?vi(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):zu(e,c+3)}function o0(e,t,n,r,o,i,s,a,c){let u=t+n;return Fu(e,u,o,i,s,a)?vi(e,u+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):zu(e,u+4)}function i0(e,t){let n=X(),r,o=e+ie;n.firstCreatePass?(r=s0(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=cr(r.type,!0)),a=et(be);try{let c=uu(!1),u=i();return uu(c),_s(n,M(),o,u),u}finally{et(a)}}function s0(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function a0(e,t,n){let r=e+ie,o=M(),i=oi(o,r);return qp(o,r)?ES(o,ln(),t,i.transform,n,i):i.transform(n)}function c0(e,t,n,r){let o=e+ie,i=M(),s=oi(i,o);return qp(i,o)?bS(i,ln(),t,s.transform,n,r,s):s.transform(n,r)}function u0(e,t,n,r,o){let i=e+ie,s=M(),a=oi(s,i);return qp(s,i)?_S(s,ln(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function qp(e,t){return e[A].data[t].pure}function l0(e,t){return Lu(e,t)}var CS=(()=>{class e{applicationErrorHandler=g(pt);appRef=g(vr);taskService=g(Ln);ngZone=g(Le);zonelessEnabled=g(As);tracing=g(zt,{optional:!0});
4zoneIsDefined=typeof Zone<`u`&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Re;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ps):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(Qf,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:case 2:this.appRef.dirtyFlags|=2;break;case 3:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:this.appRef.dirtyFlags|=2;break;case 12:this.appRef.dirtyFlags|=16;break;case 13:this.appRef.dirtyFlags|=2;break;case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?cy:Kf;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ps+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:e.ɵfac})}return e})();function d0(){return gt(`NgZoneless`),on([...Gp(),[]])}function Gp(){return[{provide:rn,useExisting:CS},{provide:Le,useClass:gs},{provide:As,useValue:!0}]}var Wp=(()=>{class e{compileModuleSync(n){return new Du(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:e.ɵfac})}return e})();function f0(){return typeof $localize<`u`&&$localize.locale||na}var ra=new _(``,{factory:()=>g(ra,{optional:!0,skipSelf:!0})||f0()});var oa=class{destroyed=!1;listeners=null;errorHandler=g(bt,{optional:!0});isEmitting=!1;hasNullListeners=!1;destroyRef=g(me);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new S(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?this.listeners.indexOf(t):-1;n>-1&&(this.isEmitting?(this.hasNullListeners=!0,this.listeners[n]=null):this.listeners.splice(n,1))}}}emit(t){if(this.destroyed){console.warn(_t(953,!1));return}if(this.listeners===null)return;this.isEmitting=!0;let n=O(null);try{for(let r of this.listeners)try{r!==null&&r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{this.hasNullListeners&&(this.hasNullListeners=!1,this.listeners&&h0(this.listeners)),O(n),this.isEmitting=!1}}};function h0(e){let t=e.length-1;for(;t>-1;)e[t]===null&&e.splice(t,1),t--}function bi(e,t){return us(e,t?.equal)}function ne(e){return gv(e)}
4(class e extends Error{_brand;constructor(t){super(t)}static IDLE=new e(`IDLE`);static LOADING=new e(`LOADING`)});var p0=e=>e;function Kp(e,t){if(typeof e==`function`)return TS(Zd(e,p0,t?.equal),t?.debugName,t?.set);else return TS(Zd(e.source,e.computation,e.equal),e.debugName,e.set)}function TS(e,t,n){let r=e[ge],o=e;if(n!==void 0){let i=s=>Qd(r,s);o.set=s=>n(s,i),o.update=s=>n(s(ne(e)),i)}else o.set=i=>Qd(r,i),o.update=i=>pv(r,i);return o.asReadonly=xs.bind(e),o}function PS(e,t){let n=Object.create(qh);n.value=e,n.transformFn=t?.transform;function r(){if(In(n),n.value===gi)throw new S(-950,null);return n.value}return r[ge]=n,r}var Gu=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Ws(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function Jp(e){return I0(e)?e.default:e}function I0(e){return e&&typeof e==`object`&&`default`in e}function T7(e){return new oa}function MS(e,t){return PS(e,t)}function T0(e){return PS(gi,e)}var Wu=(MS.required=T0,MS);function LS(e,t){let n=Object.create(qh),r=new oa;n.value=e;function o(){return In(n),xS(n.value),n.value}return o[ge]=n,o.asReadonly=xs.bind(o),o.set=i=>{n.equal(n.value,i)||(Mn(n,i),r.emit(i))},o.update=i=>{xS(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function xS(e){if(e===gi)throw new S(952,!1)}function RS(e,t){return LS(e,t)}function M0(e){return LS(gi,e)}var M7=(RS.required=M0,RS);function AS(e,t){return Mp(t)}function x0(e,t){return xp(t)}var x7=(AS.required=x0,AS);function R7(e,t){return jD(t)}function NS(e,t){return Mp(t)}function R0(e,t){return xp(t)}var A7=(NS.required=R0,NS);var yr=(()=>{class e{static __NG_ELEMENT_ID__=N0}return e})();function N0(e){return O0(Ie(),M(),(e&16)===16)}function O0(e,t,n){if(kn(e)&&!n){let r=Mt(e.index,t);return new gr(r,r)}else if(e.type&175){let r=t[nt];return new gr(r,t)}return null}var Zp=new _(``);var k0=new _(``);function ia(e){return!e.moduleRef}function P0(e){let t=ia(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Le);return n.run(()=>{ia(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(pt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),ia(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Zp);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Zp);s.add(i),e.moduleRef.onDestroy(()=>{Ls(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return F0(r,n,()=>{let i=t.get(Ln),s=i.add(),a=t.get(Ap);return a.runInitializers(),a.donePromise.then(()=>{if(QD(t.get(ra,na)||na),!t.get(k0,!0))return ia(e)?t.get(vr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ia(e)){let l=t.get(vr);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return L0?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var L0;function F0(e,t,n){try{let r=n();return So(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var qu=null;function j0(e=[],t){return Pe.create({name:t,providers:[{provide:Es,useValue:`platform`},{provide:Zp,useValue:new Set([()=>qu=null])},...e]})}function U0(e=[]){if(qu)return qu;let t=j0(e);return qu=t,GD(),$0(t),t}function $0(e){let t=e.get(Kc,null);Ce(e,()=>{t?.forEach(n=>n())})}function FS(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;Q(K.BootstrapApplicationStart);try{let i=o?.injector??U0(r);return P0({r3Injector:new Vs({providers:[Gp(),ly,...n||[]],parent:i,debugName:``,runEnvironmentInitializers:!1}).injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{Q(K.BootstrapApplicationEnd)}}function Eo(e){return typeof e==`boolean`?e:e!=null&&e!==`false`}function B0(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var Yp=Symbol(`NOT_SET`);var jS=new Set;var H0=x(w({},Wo),{kind:`afterRenderEffectPhase`,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Yp,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Yp&&!qo(this))return this.signal;try{for(let o of this.cleanup??jS)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=Tn(this),r;try{r=this.userFn.apply(null,t)}finally{ir(this,n)}return(this.value===Yp||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}});var Qp=class extends Us{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(me),s),this.scheduler
4=o;for(let a of ap){let c=n[a];if(c===void 0)continue;let u=Object.create(H0);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(In(u),u.value),u.signal[ge]=u,u.registerCleanupFn=l=>(u.cleanup??=new Set).add(l),this.nodes[a]=u,this.hooks[a]=l=>u.phaseFn(l)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??jS)n()}finally{sr(t)}}};function O7(e,t){let n=t?.injector??g(Pe),r=n.get(rn),o=n.get(xu),i=n.get(zt,null,{optional:!0});o.impl??=n.get(cp);let s=e;typeof s==`function`&&(s={mixedReadWrite:e});let a=n.get(ai,null,{optional:!0}),c=new Qp(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function k7(e,t){let n=Nn(e),r=t.elementInjector||Xo();return new go(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function Xp(e){let t=Nn(e);if(!t)return null;let n=new go(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var US=null;function gn(){return US}function eg(e){US??=e}var sa=class{};var zn=(()=>{class e{historyGo(n){throw new Error(``)}static ɵfac=function(r){return new(r||e)};static ɵprov=I({token:e,factory:()=>g($S),providedIn:`platform`})}return e})();var tg=new _(``);var $S=(()=>{class e extends zn{_location;_history;_doc=g(ee);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return gn().getBaseHref(this._doc)}onPopState(n){let r=gn().getGlobalEventTarget(this._doc,`window`);return r.addEventListener(`popstate`,n,!1),()=>r.removeEventListener(`popstate`,n)}onHashChange(n){let r=gn().getGlobalEventTarget(this._doc,`window`);return r.addEventListener(`hashchange`,n,!1),()=>r.removeEventListener(`hashchange`,n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static ɵfac=function(r){return new(r||e)};static ɵprov=I({token:e,factory:()=>new e,providedIn:`platform`})}return e})();function Ku(e,t){return e?t?e.endsWith(`/`)?t.startsWith(`/`)?e+t.slice(1):e+t:t.startsWith(`/`)?e+t:`${e}/${t}`:e:t}function BS(e){let t=e.search(/#|\?|$/);return e[t-1]===`/`?e.slice(0,t-1)+e.slice(t):e}function qt(e){return e&&e[0]!==`?`?`?${e}`:e}var Gt=(()=>{class e{historyGo(n){throw new Error(``)}static ɵfac=function(r){return new(r||e)};static ɵprov=I({token:e,factory:()=>g(Zu),providedIn:`root`})}return e})();var Yu=new _(``);var Zu=(()=>{class e extends Gt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(ee).location?.origin??``}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Ku(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+qt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+qt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+qt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static ɵfac=function(r){return new(r||e)(m(zn),m(Yu,8))};static ɵprov=I({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var wr=(()=>
vendor: 5,735 bytes, line 4
4{class e{_subject=new re;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=q0(BS(HS(r))),this._locationStrategy.onPopState(o=>{let i={url:this.path(!0),pop:!0,state:o.state,type:o.type};o.hasUAVisualTransition&&(i.hasUAVisualTransition=!0),this._subject.next(i)})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=``){return this.path()==this.normalize(n+qt(r))}normalize(n){return e.stripTrailingSlash(z0(this._basePath,HS(n)))}prepareExternalUrl(n){return n&&n[0]!==`/`&&(n=`/`+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r=``,o=null){this._locationStrategy.pushState(o,``,n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+qt(r)),o)}replaceState(n,r=``,o=null){this._locationStrategy.replaceState(o,``,n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+qt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n=``,r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=qt;static joinWithSlash=Ku;static stripTrailingSlash=BS;static ɵfac=function(r){return new(r||e)(m(Gt))};static ɵprov=I({token:e,factory:()=>V0(),providedIn:`root`})}return e})();function V0(){return new wr(m(Gt))}function z0(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===``||[`/`,`;`,`?`,`#`].includes(n[0])?n:t}function HS(e){return e.replace(/\/index\.html$/,``)}function q0(e){if(new RegExp(`^(https?:)?//`).test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var ag=(()=>{class e extends Gt{_platformLocation;_baseHref=``;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??`#`;return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=Ku(this._baseHref,n);return r.length>0?`#`+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+qt(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+qt(i))||this._platformLocation.pathname;this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static ɵfac=function(r){return new(r||e)(m(zn),m(Yu,8))};static ɵprov=I({token:e,factory:e.ɵfac})}return e})();var Ze=(function(e){return e[e.Format=0]=`Format`,e[e.Standalone=1]=`Standalone`,e})(Ze||{});var se=(function(e){return e[e.Narrow=0]=`Narrow`,e[e.Abbreviated=1]=`Abbreviated`,e[e.Wide=2]=`Wide`,e[e.Short=3]=`Short`,e})(se||{});var it=(function(e){return e[e.Short=0]=`Short`,e[e.Medium=1]=`Medium`,e[e.Long=2]=`Long`,e[e.Full=3]=`Full`,e})(it||{});var Gn={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function zS(e){return mt(e)[we.LocaleId]}function qS(e,t,n){let r=mt(e);return At(At([r[we.DayPeriodsFormat],r[we.DayPeriodsStandalone]],t),n)}function GS(e,t,n){let r=mt(e);return At(At([r[we.DaysFormat],r[we.DaysStandalone]],t),n)}function WS(e,t,n){let r=mt(e);return At(At([r[we.MonthsFormat],r[we.MonthsStandalone]],t),n)}function KS(e,t){let r=mt(e)[we.Eras];return At(r,t)}function aa(e,t){return At(mt(e)[we.DateFormat],t)}function ca(e,t){return At(mt(e)[we.TimeFormat],t)}function ua(e,t){let r=mt(e)[we.DateTimeFormat];return At(r,t)}function la(e,t){let n=mt(e),r=n[we.NumberSymbols][t];if(typeof r>`u`){if(t===Gn.CurrencyDecimal)return n[we.NumberSymbols][Gn.Decimal];if(t===Gn.CurrencyGroup)return n[we.NumberSymbols][Gn.Group]}return r}function YS(e){if(!e[we.ExtraData])throw new S(2303,!1)}function ZS(e){let t=mt(e);return YS(t),(t[we.ExtraData][2]||[]).map(r=>typeof r==`string`?ng(r):[ng(r[0]),ng(r[1])])}function QS(e,t,n){let r=mt(e);YS(r);return At(At([r[we.ExtraData][0],r[we.ExtraData][1]],t)||[],n)||[]}function At(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<`u`)return e[n];throw new S(2304,!1)}function ng(e){let[t,n]=e.split(`:`);return{hours:+t,minutes:+n}}var G0=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;var Qu=Object.create(null);var W0=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var K0=256;function JS(e,t,n,r){let o=oO(e);Y0(t),t=qn(n,t)||t;let s=[],a;for(;t;)if(a=W0.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=eE(r,c),o=rO(o,r));let u=``;
vendor: 4,512 bytes, line 4
4return s.forEach(l=>{let d=tO(l);u+=d?d(o,n,c):l===`''`?`'`:l.replace(/(^'|'$)/g,``).replace(/''/g,`'`)}),u}function Y0(e){if(e.length>K0)throw new S(2300,!1)}function nl(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function qn(e,t){let n=zS(e);if(Qu[n]??=Object.create(null),Qu[n][t])return Qu[n][t];let r=``;switch(t){case`shortDate`:r=aa(e,it.Short);break;case`mediumDate`:r=aa(e,it.Medium);break;case`longDate`:r=aa(e,it.Long);break;case`fullDate`:r=aa(e,it.Full);break;case`shortTime`:r=ca(e,it.Short);break;case`mediumTime`:r=ca(e,it.Medium);break;case`longTime`:r=ca(e,it.Long);break;case`fullTime`:r=ca(e,it.Full);break;case`short`:let o=qn(e,`shortTime`),i=qn(e,`shortDate`);r=Ju(ua(e,it.Short),[o,i]);break;case`medium`:let s=qn(e,`mediumTime`),a=qn(e,`mediumDate`);r=Ju(ua(e,it.Medium),[s,a]);break;case`long`:let c=qn(e,`longTime`),u=qn(e,`longDate`);r=Ju(ua(e,it.Long),[c,u]);break;case`full`:let l=qn(e,`fullTime`),d=qn(e,`fullDate`);r=Ju(ua(e,it.Full),[l,d]);break}return r&&(Qu[n][t]=r),r}function Ju(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return Object.hasOwn(t,r)?t[r]:n})),e}function Wt(e,t,n=`-`,r,o){let i=``;(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s=`0`+s;return r&&(s=s.slice(s.length-t)),i+s}function Z0(e,t){return Wt(e,3).substring(0,t)}function Te(e,t,n=0,r=!1,o=!1){return function(i,s){let a=Q0(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return Z0(a,t);let c=la(s,Gn.MinusSign);return Wt(a,t,c,r,o)}}function Q0(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new S(2301,!1)}}function le(e,t,n=Ze.Format,r=!1){return function(o,i){return J0(o,i,e,t,n,r)}}function J0(e,t,n,r,o,i){switch(n){case 2:return WS(t,o,r)[e.getMonth()];case 1:return GS(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=ZS(t),l=QS(t,o,r),d=u.findIndex(f=>{if(Array.isArray(f)){let[h,p]=f,v=s>=h.hours&&a>=h.minutes,b=s<p.hours||s===p.hours&&a<p.minutes;if(h.hours<p.hours){if(v&&b)return!0}else if(v||b)return!0}else if(f.hours===s&&f.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return qS(t,o,r)[s<12?0:1];case 3:return KS(t,r)[e.getFullYear()<=0?0:1];default:throw new S(2302,!1)}}function Xu(e){return function(t,n,r){let o=-1*r,i=la(n,Gn.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?`+`:``)+Wt(s,2,i)+Wt(Math.abs(o%60),2,i);case 1:return`GMT`+(o>=0?`+`:``)+Wt(s,1,i);case 2:return`GMT`+(o>=0?`+`:``)+Wt(s,2,i)+`:`+Wt(Math.abs(o%60),2,i);case 3:return r===0?`Z`:(o>=0?`+`:``)+Wt(s,2,i)+`:`+Wt(Math.abs(o%60),2,i);default:throw new S(2310,!1)}}}var X0=0;var tl=4;function eO(e){let t=nl(e,X0,1).getDay();return nl(e,0,1+(t<=tl?tl:tl+7)-t)}function XS(e){let t=e.getDay(),n=t===0?-3:tl-t;return nl(e.getFullYear(),e.getMonth(),e.getDate()+n)}function rg(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=XS(n),s=eO(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Wt(o,e,la(r,Gn.MinusSign))}}function el(e,t=!1){return function(n,r){return Wt(XS(n).getFullYear(),e,la(r,Gn.MinusSign),t)}}var og=Object.create(null);function tO(e){if(og[e])return og[e];let t;switch(e){case`G`:case`GG`:case`GGG`:t=le(3,se.Abbreviated);break;case`GGGG`:t=le(3,se.Wide);break;case`GGGGG`:t=le(3,se.Narrow);break;case`y`:t=Te(0,1,0,!1,!0);break;case`yy`:t=Te(0,2,0,!0,!0);break;case`yyy`:t=Te(0,3,0,!1,!0);break;case`yyyy`:t=Te(0,4,0,!1,!0);break;case`Y`:t=el(1);break;case`YY`:t=el(2,!0);break;case`YYY`:t=el(3);break;case`YYYY`:t=el(4);break;case`M`:case`L`:t=Te(1,1,1);break;case`MM`:case`LL`:t=Te(1,2,1);break;case`MMM`:t=le(2,se.Abbreviated);break;case`MMMM`:t=le(2,se.Wide);break;case`MMMMM`:t=le(2,se.Narrow);break;case`LLL`:t=le(2,se.Abbreviated,Ze.Standalone);break;case`LLLL`:t=le(2,se.Wide,Ze.Standalone);break;case`LLLLL`:t=le(2,se.Narrow,Ze.Standalone);break;case`w`:t=rg(1);break;case`ww`:t=rg(2);break;case`W`:t=rg(1,!0);break;case`d`:t=Te(2,1);break;case`dd`:t=Te(2,2);break;case`c`:case`cc`:t=Te(7,1);break;case`ccc`:t=le(1,se.Abbreviated,Ze.Standalone);break;case`cccc`:t=le(1,se.Wide,Ze.Standalone);break;case`ccccc`:t=le(1,se.Narrow,Ze.Standalone);break;case`cccccc`:t=le(1,se.Short,Ze.Standalone);break;
vendor: 4,798 bytes, line 4
4case`E`:case`EE`:case`EEE`:t=le(1,se.Abbreviated);break;case`EEEE`:t=le(1,se.Wide);break;case`EEEEE`:t=le(1,se.Narrow);break;case`EEEEEE`:t=le(1,se.Short);break;case`a`:case`aa`:case`aaa`:t=le(0,se.Abbreviated);break;case`aaaa`:t=le(0,se.Wide);break;case`aaaaa`:t=le(0,se.Narrow);break;case`b`:case`bb`:case`bbb`:t=le(0,se.Abbreviated,Ze.Standalone,!0);break;case`bbbb`:t=le(0,se.Wide,Ze.Standalone,!0);break;case`bbbbb`:t=le(0,se.Narrow,Ze.Standalone,!0);break;case`B`:case`BB`:case`BBB`:t=le(0,se.Abbreviated,Ze.Format,!0);break;case`BBBB`:t=le(0,se.Wide,Ze.Format,!0);break;case`BBBBB`:t=le(0,se.Narrow,Ze.Format,!0);break;case`h`:t=Te(3,1,-12);break;case`hh`:t=Te(3,2,-12);break;case`H`:t=Te(3,1);break;case`HH`:t=Te(3,2);break;case`m`:t=Te(4,1);break;case`mm`:t=Te(4,2);break;case`s`:t=Te(5,1);break;case`ss`:t=Te(5,2);break;case`S`:t=Te(6,1);break;case`SS`:t=Te(6,2);break;case`SSS`:t=Te(6,3);break;case`Z`:case`ZZ`:case`ZZZ`:t=Xu(0);break;case`ZZZZZ`:t=Xu(3);break;case`O`:case`OO`:case`OOO`:case`z`:case`zz`:case`zzz`:t=Xu(1);break;case`OOOO`:case`ZZZZ`:case`zzzz`:t=Xu(2);break;default:return null}return og[e]=t,t}function eE(e,t){e=e.replace(/:/g,``);let n=Date.parse(`Jan 01, 1970 00:00:00 `+e)/6e4;return isNaN(n)?t:n}function nO(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function rO(e,t,n){let o=e.getTimezoneOffset();return nO(e,-1*(eE(t,o)-o))}function oO(e){if(VS(e))return e;if(typeof e==`number`&&!isNaN(e))return new Date(e);if(typeof e==`string`){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split(`-`).map(a=>+a);return nl(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(G0))return iO(r)}let t=new Date(e);if(!VS(t))throw new S(2311,!1);return t}function iO(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat(`0.`+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function VS(e){return e instanceof Date&&!isNaN(e.valueOf())}var sO=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(Pe);constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector===`outlet`?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static ɵfac=function(r){return new(r||e)(be(mr))};static ɵdir=Bn({type:e,selectors:[[``,`ngTemplateOutlet`,``]],inputs:{ngTemplateOutletContext:`ngTemplateOutletContext`,ngTemplateOutlet:`ngTemplateOutlet`,ngTemplateOutletInjector:`ngTemplateOutletInjector`},features:[yo]})}return e})();function cg(e,t){return new S(2100,!1)}var ig=class{createSubscription(t,n,r){return ne(()=>t.subscribe({next:n,error:r}))}dispose(t){ne(()=>t.unsubscribe())}};var sg=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}};var aO=new sg;var cO=new ig;var uO=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=g(pt);constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r),r=>this.applicationErrorHandler(r))}_selectStrategy(n){if(So(n))return aO;if(ju(n))return cO;throw cg(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static ɵfac=function(r){return new(r||e)(be(yr,16))};static ɵpipe=Hn({name:`async`,type:e,pure:!1})}return e})();
4var lO=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB
4D3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;var dO=(()=>{class e{transform(n){return n==null?null:(fO(e,n),n.replace(lO,r=>r[0].toUpperCase()+r.slice(1).toLowerCase()))}static ɵfac=function(r){return new(r||e)};static ɵpipe=Hn({name:`titlecase`,type:e,pure:!0})}return e})();function fO(e,t){if(typeof t!=`string`)throw cg(e,t)}var hO=`mediumDate`;var tE=new _(``);var nE=new _(``);var pO=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}
4transform(n,r,o,i){if(n==null||n===``||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??hO,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return JS(n,s,i||this.locale,a)}catch(s){throw cg(e,s.message)}}static ɵfac=function(r){return new(r||e)(be(ra,16),be(tE,24),be(nE,24))};static ɵpipe=Hn({name:`date`,type:e,pure:!0})}return e})();function da(e,t){t=encodeURIComponent(t);for(let n of e.split(`;`)){let r=n.indexOf(`=`),[o,i]=r==-1?[n,``]:[n.slice(0,r),n.slice(r+1)];if(o.trim()!==t)continue;let s=i;try{s=decodeURIComponent(i)}catch(a){}return s.length>1&&s[0]===`"`&&s[s.length-1]===`"`&&(s=s.slice(1,-1)),s}return null}var gO=(()=>{class e{build(){return new XMLHttpRequest}static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:e.ɵfac})}return e})();var ug=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=I({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=m(gO),o},providedIn:`root`})}return e})();function aZ(e,t,n){return $p(e,t,n)}var dg=`browser`;function rl(e){return e===dg}var fg=(()=>{class e{static ɵprov=I({token:e,providedIn:`root`,factory:()=>new lg(g(ee),window)})}return e})();var lg=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo(x(w({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=yO(this.document,t);r&&(this.scrollToElement(r,n),r.focus({preventScroll:!0}))}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch(n){console.warn(_t(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(x(w({},n),{left:o-s[0],top:i-s[1]}))}};function yO(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker==`function`&&e.body&&typeof e.body.attachShadow==`function`){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${CSS.escape(t)}"]`);if(s)return s}o=r.nextNode()}}return null}var fa=class{_doc;constructor(t){this._doc=t}manager};var ol=(()=>{class e extends fa{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static ɵfac=function(r){return new(r||e)(m(ee))};static ɵprov=I({token:e,factory:e.ɵfac})}return e})();var al=new _(``);var mg=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof ol));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof ol);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new S(-5101,!1);return this._eventNameToPlugin.set(n,r),r}static ɵfac=function(r){return new(r||e)(m(al),m(Le))};static ɵprov=I({token:e,factory:e.ɵfac})}return e})();var hg=`ng-app-id`;function rE(e){for(let t of e)t.remove()}function oE(e,t){let n=t.createElement(`style`);return n.textContent=e,n}function DO(e,t,n,r){let o=e.head?.querySelectorAll(`style[${hg}="${t}"],link[${hg}="${t}"]`);if(!o||o.length===0)return!1;for(let i of o)i.removeAttribute(hg),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf(`/`)+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]});return!0}function gg(e,t){let n=t.createElement(`link`);return n.setAttribute(`rel`,`stylesheet`),n.setAttribute(`href`,e),n}var vg=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,DO(n,r,this.inline,this.external)&&this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,oE);r?.forEach(o=>this.addUsage(o,this.external,gg))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(rE(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])rE(n);this.hosts.clear()}addHost(n){if(!this.hosts.has(n)){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,oE(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,gg(r,this.doc)))}}removeHost(n){this.hosts.delete(n);for(let r of[...this.inline.values(),...this.external.values()]){let o=[];for(let i of r.elements)i.parentNode===n?i.remove():o.push(i);r.elements=o}}
4addElement(n,r){return this.nonce&&r.setAttribute(`nonce`,this.nonce),n.appendChild(r)}static ɵfac=function(r){return new(r||e)(m(ee),m(ii),m(Rs,8),m(Fn))};static ɵprov=I({token:e,factory:e.ɵfac})}return e})();var pg={svg:`http://www.w3.org/2000/svg`,xhtml:`http://www.w3.org/1999/xhtml`,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`,math:`http://www.w3.org/1998/Math/MathML`};var yg=/%COMP%/g;var sE=`%COMP%`;var SO=`_nghost-${sE}`;var EO=`_ngcontent-${sE}`;var bO=!0;var _O=new _(``,{factory:()=>bO});var CO=new _(``);function IO(e){return EO.replace(yg,e)}function TO(e){return SO.replace(yg,e)}function aE(e,t){return t.map(n=>n.replace(yg,e))}var wg=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;cssVarNamespace;constructor(n,r,o,i,s,a,c=null,u=null,l=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.cssVarNamespace=l??``,this.defaultRenderer=new ha(n,s,a,this.tracingService,this.cssVarNamespace)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof sl?o.applyToHost(n):o instanceof pa&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case Vt.Emulated:i=new sl(c,u,r,this.appId,l,s,a,d,this.cssVarNamespace);break;case Vt.ShadowDom:return new il(c,n,r,s,a,this.nonce,d,this.cssVarNamespace,u);case Vt.ExperimentalIsolatedShadowDom:return new il(c,n,r,s,a,this.nonce,d,this.cssVarNamespace);default:i=new pa(c,u,r,l,s,a,d,this.cssVarNamespace);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static ɵfac=function(r){return new(r||e)(m(mg),m(Do),m(ii),m(_O),m(ee),m(Le),m(Rs),m(zt,8),m(CO,8))};static ɵprov=I({token:e,factory:e.ɵfac})}return e})();var ha=class{eventManager;doc;ngZone;tracingService;cssVarNamespace;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i=``){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o,this.cssVarNamespace=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(pg[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(iE(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){if(t){let o=iE(t)?t.content:t;if(r!=null&&r.parentNode!==o)throw new S(-5106,!1);o.insertBefore(n,r)}}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t==`string`?this.doc.querySelector(t):t;if(!r)throw new S(-5104,!1);return n||(r.textContent=``),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+`:`+n;let i=pg[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=pg[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){let i=n.startsWith(`--`);i&&(n=n.replace(`%NS%`,this.cssVarNamespace)),i||o&(fn.DashCase|fn.Important)?t.style.setProperty(n,r,o&fn.Important?`important`:``):t.style[n]=r}removeStyle(t,n,r){let o=n.startsWith(`--`);o&&(n=n.replace(`%NS%`,this.cssVarNamespace)),o||r&fn.DashCase?t.style.removeProperty(n):t.style[n]=``}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t==`string`&&(t=gn().getGlobalEventTarget(this.doc,t),!t))throw new S(-5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n===`__ngUnwrap__`)return t;t(n)===!1&&n.preventDefault()}}};function iE(e){return e.tagName===`TEMPLATE`&&e.content!==void 0}var il=class extends ha{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c,u){super(t,o,i,a,c),this.hostEl=n,this.sharedStylesHost=u,this.shadowRoot=n.attachShadow({mode:`open`}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=aE(r.id,l).map(f=>f.replace(/%NS%/g,c));for(let f of l){let h=document.createElement(`style`);s&&h.setAttribute(`nonce`,s),h.textContent=f,this.shadowRoot.appendChild(h)}let d=r.getExternalStyles?.();if(d)for(let f of d){let h=gg(f,o);s&&h.setAttribute(`nonce`,s),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}};var pa=class extends ha{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles,d=u?aE(u,l):l;this.styles=d.map(f=>f.replace(/%NS%/g,c)),this.styleUrls=r.getExternalStyles?.(u)}
vendor: 12,069 bytes, lines 4-5
4applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&pr.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}};var sl=class extends pa{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,u){let l=o+`-`+r.id;super(t,n,r,i,s,a,c,u,l),this.contentAttr=IO(l),this.hostAttr=TO(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,``)}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,``),r}};var cl=class e extends sa{supportsDOMEvents=!0;static makeCurrent(){eg(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument(`fakeTitle`)}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n===`window`?window:n===`document`?t:n===`body`?t.body:null}getBaseHref(t){let n=MO();return n==null?null:xO(n)}resetBaseElement(){ga=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return da(document.cookie,t)}};var ga=null;function MO(){return ga=ga||document.head.querySelector(`base`),ga?ga.getAttribute(`href`):null}function xO(e){return new URL(e,document.baseURI).pathname}var cE=[`alt`,`control`,`meta`,`shift`];var RO={"\b":`Backspace`,"	":`Tab`,"�":`Delete`,"\x1B":`Escape`,Del:`Delete`,Esc:`Escape`,Left:`ArrowLeft`,Right:`ArrowRight`,Up:`ArrowUp`,Down:`ArrowDown`,Menu:`ContextMenu`,Scroll:`ScrollLock`,Win:`OS`};var AO={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};var uE=(()=>{class e extends fa{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>gn().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split(`.`),o=r.shift();if(r.length===0||!(o===`keydown`||o===`keyup`))return null;let i=e._normalizeKey(r.pop()),s=``,a=r.indexOf(`code`);if(a>-1&&(r.splice(a,1),s=`code.`),cE.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+`.`)}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=RO[n.key]||n.key,i=``;return r.indexOf(`code.`)>-1&&(o=n.code,i=`code.`),o==null||!o?!1:(o=o.toLowerCase(),o===` `?o=`space`:o===`.`&&(o=`dot`),cE.forEach(s=>{if(s!==o){let a=AO[s];a(n)&&(i+=s+`.`)}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n===`esc`?`escape`:n}static ɵfac=function(r){return new(r||e)(m(ee))};static ɵprov=I({token:e,factory:e.ɵfac})}return e})();function NO(e,t,n){return B$1(this,null,function*(){return FS(w({rootComponent:e},OO(t,n)))})}function OO(e,t){return{platformRef:t?.platformRef,appProviders:[...jO,...e?.providers??[]],platformProviders:FO}}function kO(){cl.makeCurrent()}function PO(){return new bt}function LO(){return Kh(document),document}var FO=[{provide:Fn,useValue:dg},{provide:Kc,useValue:kO,multi:!0},{provide:ee,useFactory:LO}];var jO=[{provide:Es,useValue:`root`},{provide:bt,useFactory:PO},{provide:al,useClass:ol,multi:!0},{provide:al,useClass:uE,multi:!0},wg,{provide:Do,useClass:vg},{provide:vg,useExisting:Do},mg,{provide:ho,useExisting:wg},[]];var st=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t==`string`?this.lazyInit=()=>{this.headers=new Map,t.split(`
5`).forEach(n=>{let r=n.indexOf(`:`);if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<`u`&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:`a`})}set(t,n){return this.clone({name:t,value:n,op:`s`})}delete(t,n){return this.clone({name:t,value:n,op:`d`})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init();for(let[n,r]of t.headers.entries())this.headers.set(n,r),this.normalizedNames.set(n,t.normalizedNames.get(n))}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case`a`:case`s`:let r=t.value;if(typeof r==`string`&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=t.op===`a`?(this.headers.get(n)||[]).slice():[];o.push(...r),this.headers.set(n,o);break;case`d`:let i=t.value;if(i===void 0)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=Array.isArray(i)?i:[i],a=this.headers.get(n);if(!a)return;a=a.filter(c=>s.indexOf(c)===-1),a.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,a)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var ll=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};var dl=class{encodeKey(t){return lE(t)}encodeValue(t){return lE(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function UO(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,``).split(`&`).forEach(o=>{let i=o.indexOf(`=`),[s,a]=i==-1?[t.decodeKey(o),``]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var $O=/%(\d[a-f0-9])/gi;var BO={40:`@`,"3A":`:`,24:`$`,"2C":`,`,"3B":`;`,"3D":`=`,"3F":`?`,"2F":`/`};function lE(e){return encodeURIComponent(e).replace($O,(t,n)=>BO[n]??t)}function ul(e){return`${e}`}var yt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new dl,t.fromString){if(t.fromObject)throw new S(2805,!1);this.map=UO(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(ul):[ul(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:`a`})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:`a`})}):n.push({param:r,value:o,op:`a`})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:`s`})}delete(t,n){return this.clone({param:t,value:n,op:`d`})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+`=`+this.encoder.encodeValue(r)).join(`&`)}).filter(t=>t!==``).join(`&`)}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[t,n]of this.cloneFrom.map.entries())this.map.set(t,n);this.updates.forEach(t=>{switch(t.op){case`a`:case`s`:let n=t.op===`a`?(this.map.get(t.param)||[]).slice():[];n.push(ul(t.value)),this.map.set(t.param,n);break;case`d`:if(t.value!==void 0){let r=(this.map.get(t.param)||[]).slice(),o=r.indexOf(ul(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null}}};function HO(e){switch(e){case`DELETE`:case`GET`:case`HEAD`:case`OPTIONS`:case`JSONP`:return!1;default:return!0}}function dE(e){return typeof ArrayBuffer<`u`&&e instanceof ArrayBuffer}function fE(e){return typeof Blob<`u`&&e instanceof Blob}function hE(e){return typeof FormData<`u`&&e instanceof FormData}function VO(e){return typeof URLSearchParams<`u`&&e instanceof URLSearchParams}var ma=`Content-Type`;var fl=`Accept`;var vE=`text/plain`;var yE=`application/json`;var wE=`${yE}, ${vE}, */*`;var _i=class e{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType=`json`;method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(HO(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.reportUploadProgress=!!i.reportUploadProgress,this.reportDownloadProgress=!!i.reportDownloadProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout==`number`){if(i.timeout<1||!Number.isInteger(i.timeout))throw new S(2822,``);this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer!==void 0&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new st,this.context??=new ll,!this.params)this.params=new yt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n,c=``,u=n.indexOf(`#`);u!==-1&&(c=n.substring(u),a=n.substring(0,u));let l=a.indexOf(`?`),d=l===-1?`?`:l<a.length-1?`&`:``;this.urlWithParams=a+d+s+c}}}serializeBody(){return this.body===null?null:typeof this.body==`string`||dE(this.body)||fE(this.body)||hE(this.body)||VO(this.body)?this.body:this.body instanceof yt?this.body.toString():typeof this.body==`object`||typeof this.body==`boolean`||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||hE(this.body)?null:fE(this.body)?this.body.type||null:dE(this.body)?null:typeof this.body==`string`?vE:this.body instanceof yt?`application/x-www-form-urlencoded;charset=UTF-8`:typeof this.body==`object`||typeof this.body==`number`||typeof this.body==`boolean`?yE:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer??this.referrer,f=t.integrity||this.integrity,h=t.referrerPolicy||this.referrerPolicy,p=t.transferCache??this.transferCache,v=t.timeout??this.timeout,b=t.body!==void 0?t.body:this.body,E=t.withCredentials??this.withCredentials,T=t.reportProgress??this.reportProgress,w=t.report
5UploadProgress??this.reportUploadProgress,x=t.reportDownloadProgress??this.reportDownloadProgress,F=t.headers||this.headers,q=t.params||this.params,G=t.context??this.context;return t.setHeaders!==void 0&&(F=Object.keys(t.setHeaders).reduce((ae,xe)=>ae.set(xe,t.setHeaders[xe]),F)),t.setParams&&(q=Object.keys(t.setParams).reduce((ae,xe)=>ae.set(xe,t.setParams[xe]),q)),new e(n,r,b,{params:q,headers:F,context:G,reportProgress:T,reportUploadProgress:w,reportDownloadProgress:x,responseType:o,withCredentials:E,transferCache:p,keepalive:i,cache:a,priority:s,timeout:v,mode:c,redirect:u,credentials:l,referrer:d,integrity:f,referrerPolicy:h})}};var mn=(function(e){return e[e.Sent=0]=`Sent`,e[e.UploadProgress=1]=`UploadProgress`,e[e.ResponseHeader=2]=`ResponseHeader`,e[e.DownloadProgress=3]=`DownloadProgress`,e[e.Response=4]=`Response`,e[e.User=5]=`User`,e})(mn||{});var Ci=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r=`OK`){this.headers=t.headers||new st,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}};var va=class e extends Ci{constructor(t={}){super(t)}type=mn.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}};var Ii=class e extends Ci{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=mn.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}};var Qe=class extends Ci{name=`HttpErrorResponse`;message;error;ok=!1;constructor(t){super(t,0,`Unknown Error`),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||`(unknown url)`}`:this.message=`Http failure response for ${t.url||`(unknown url)`}: ${t.status} ${t.statusText}`,this.error=t.error||null}};var DE=200;var zO=204;var qO=/^\)\]\}',?\n/;var SE=new _(``,{factory:()=>null});var hl=(()=>{class e{fetchImpl=g(Sg,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=g(Le);destroyRef=g(me);maxResponseSize=g(SE);handle(n){return new j(r=>{let o=new AbortController,i=!1,s={next:c=>{c.type===mn.Response&&(i=!0),r.next(c)},error:c=>{i=!0,r.error(c)},complete:()=>{i=!0,r.complete()}};this.doRequest(n,o.signal,s).then(Eg,c=>s.error(new Qe({error:c})));let a;return n.timeout&&(a=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException(`signal timed out`,`TimeoutError`))},n.timeout))),()=>{a!==void 0&&clearTimeout(a),!i&&!o.signal.aborted&&o.abort()}})}
5doRequest(n,r,o){return B$1(this,null,function*(){let i=this.createRequestInit(n),s;try{let b=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,w({signal:r},i)));GO(b),o.next({type:mn.Sent}),s=yield b}catch(b){o.error(new Qe({error:b,status:b.status??0,statusText:b.statusText,url:n.urlWithParams,headers:b.headers}));return}let a=new st(s.headers),c=s.statusText,u=s.url||n.urlWithParams,l=s.status,d=null,f=n.reportProgress||n.reportDownloadProgress;if(f&&o.next(new va({headers:a,status:l,statusText:c,url:u})),s.body){let b=s.headers.get(ma)??``,E=s.headers.get(`content-length`),T=E!==null?Number(E):NaN;this.maxResponseSize!==null&&Number.isFinite(T)&&T>this.maxResponseSize&&(yield s.body.cancel(),pE(this.maxResponseSize));let w=[],x=s.body.getReader(),F=0,q,G,ae=typeof Zone<`u`&&Zone.current,xe=!1;if(yield this.ngZone.runOutsideAngular(()=>B$1(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield x.cancel(),xe=!0;break}let{done:ct,value:Po}=yield x.read();if(ct)break;if(w.push(Po),F+=Po.length,this.maxResponseSize!==null&&F>this.maxResponseSize&&(yield x.cancel(),pE(this.maxResponseSize)),f){G=n.responseType===`text`?(G??``)+(q??=gE(b)).decode(Po,{stream:!0}):void 0;let $a=()=>o.next({type:mn.DownloadProgress,total:Number.isFinite(T)?T:void 0,loaded:F,partialText:G});ae?ae.run($a):$a()}}})),xe){o.complete();return}let Zt=this.concatChunks(w,F);try{d=this.parseBody(n,Zt,b,l)}catch(ct){o.error(new Qe({error:ct,headers:new st(s.headers),status:s.status,statusText:s.statusText,url:s.url||n.urlWithParams}));return}}l===0&&(l=d?DE:0);let h=l>=200&&l<300,p=s.redirected,v=s.type;h?(o.next(new Ii({body:d,headers:a,status:l,statusText:c,url:u,redirected:p,responseType:v})),o.complete()):o.error(new Qe({error:d,headers:a,status:l,statusText:c,url:u,redirected:p,responseType:v}))})}parseBody(n,r,o,i){switch(n.responseType){case`json`:let s=new TextDecoder().decode(r).replace(qO,``);if(s===``)return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case`text`:return gE(o).decode(r);case`blob`:return new Blob([r],{type:o});case`arraybuffer`:return r.buffer}}createRequestInit(n){if(n.reportUploadProgress)throw new S(2824,!1);let r={},o;if(o=n.credentials,n.withCredentials&&(o=`include`),n.headers.forEach((i,s)=>r[i]=s.join(`,`)),n.headers.has(fl)||(r[fl]=wE),!n.headers.has(ma)){let i=n.detectContentTypeHeader();i!==null&&(r[ma]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o,keepalive:n.keepalive,cache:n.cache,priority:n.priority,mode:n.mode,redirect:n.redirect,referrer:n.referrer,integrity:n.integrity,referrerPolicy:n.referrerPolicy}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:e.ɵfac})}return e})();var Sg=class{};function Eg(){}function GO(e){e.then(Eg,Eg)}function pE(e){throw new S(-2825,!1)}var WO=/charset=\s*["']?([^;"'\s]+)["']?/i;function gE(e){let t=e.match(WO);if(t!==null)try{return new TextDecoder(t[1])}catch(n){}return new TextDecoder}var KO=new _(``,{factory:()=>!0});var YO=`XSRF-TOKEN`;var ZO=new _(``,{factory:()=>YO});var QO=`X-XSRF-TOKEN`;var JO=new _(``,{factory:()=>QO});var XO=(()=>{class e{cookieName=g(ZO);doc=g(ee);lastCookieString=``;lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||``;return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=da(n,this.cookieName),this.lastCookieString=n),this.lastToken}static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:e.ɵfac})}return e})();var EE=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=I({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=m(XO),o},providedIn:`root`})}return e})();function bE(e,t){if(!g(KO)||e.method===`GET`||e.method===`HEAD`)return t(e);try{let o=g(zn).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch(o){return t(e)}let n=g(EE).getToken(),r=g(JO);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function _E(e,t){return t(e)}function ek(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}
5function tk(e,t,n){return(r,o)=>Ce(n,()=>t(r,i=>e(i,o)))}var gl=new _(``);var _g=new _(``,{factory:()=>[bE]});var CE=new _(``);var Cg=new _(``,{factory:()=>!0});function nk(){let e=null;return(t,n)=>{e===null&&(e=(g(gl,{optional:!0})??[]).reduceRight(ek,_E));let r=g(ao);if(g(Cg)){let i=r.add();return e(t,n).pipe(rr(i))}else return e(t,n)}}var ml=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=I({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=m(hl),o},providedIn:`root`})}return e})();var pl=(()=>{class e{backend;injector;chain=null;pendingTasks=g(ao);contributeToStability=g(Cg);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let o=this.injector.get(vl,null,{skipSelf:!0}),i=o!==null&&this.backend===o,s=this.injector.get(CE,[],i?{self:!0}:void 0),a=Array.from(new Set([...this.injector.get(_g),...s]));this.chain=a.reduceRight((c,u)=>tk(c,u,this.injector),_E)}let r=this.chain;if(this.contributeToStability){let o=this.pendingTasks.add();return ne(()=>r(n,i=>this.backend.handle(i))).pipe(rr(o))}else return ne(()=>r(n,o=>this.backend.handle(o)))}static ɵfac=function(r){return new(r||e)(m(ml),m(he))};static ɵprov=I({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var vl=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=I({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=m(pl),o},providedIn:`root`})}return e})();function Dg(e,t){return w({body:t},e)}var vn=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof _i)i=n;else{let c;o.headers instanceof st?c=o.headers:c=new st(o.headers);let u;o.params&&(o.params instanceof yt?u=o.params:u=new yt({fromObject:o.params})),i=new _i(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,reportUploadProgress:o.reportUploadProgress,reportDownloadProgress:o.reportDownloadProgress,responseType:o.responseType||`json`,withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=D(i).pipe(nr(c=>this.handler.handle(c)));if(n instanceof _i||o.observe===`events`)return s;let a=s.pipe(Se(c=>c instanceof Ii));switch(o.observe||`body`){case`body`:switch(i.responseType){case`arraybuffer`:return a.pipe(R(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new S(2806,!1);return c.body}));case`blob`:return a.pipe(R(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new S(2807,!1);return c.body}));case`text`:return a.pipe(R(c=>{if(c.body!==null&&typeof c.body!=`string`)throw new S(2808,!1);return c.body}));default:return a.pipe(R(c=>c.body))}case`response`:return a;default:throw new S(2809,!1)}}delete(n,r={}){return this.request(`DELETE`,n,r)}get(n,r={}){return this.request(`GET`,n,r)}head(n,r={}){return this.request(`HEAD`,n,r)}jsonp(n,r){return this.request(`JSONP`,n,{params:new yt().append(r,`JSONP_CALLBACK`),observe:`body`,responseType:`json`})}options(n,r={}){return this.request(`OPTIONS`,n,r)}patch(n,r,o={}){return this.request(`PATCH`,n,Dg(o,r))}post(n,r,o={}){return this.request(`POST`,n,Dg(o,r))}put(n,r,o={}){return this.request(`PUT`,n,Dg(o,r))}static ɵfac=function(r){return new(r||e)(m(vl))};static ɵprov=I({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var rk=/^\)\]\}',?\n/;var bg=(()=>{class e{xhrFactory;tracingService=g(zt,{optional:!0});constructor(n){this.xhrFactory=n}maybePropagateTrace(n){return this.tracingService?.propagate?this.tracingService.propagate(n):n}handle(n){if(n.method===`JSONP`)throw new S(-2800,!1);let r=this.xhrFactory;return D(null).pipe(P(()=>new j(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((T,w)=>s.setRequestHeader(T,w.join(`,`))),n.headers.has(fl)||s.setRequestHeader(fl,wE),!n.headers.has(ma)){let T=n.detectContentTypeHeader();T!==null&&s.setRequestHeader(ma,T)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let T=n.responseType.toLowerCase();s.responseType=T!==`json`?T:`text`}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let T=s.statusText||`OK`,w=new st(s.getAllResponseHeaders()),x=s.responseURL||n.url;return c=new va({headers:w,status:s.status,statusText:T,url:x}),c},l=this.maybePropagateTrace(()=>{let{headers:T,status:w,statusText:x,url:F}=u(),q=null;w!==zO&&(q=typeof s.response>`u`?s.responseText:s.response),w===0&&(w=q?DE:0);let G=w>=200&&w<300;if(n.responseType===`json`&&typeof q==`string`){let ae=q;q=q.replace(rk,``);try{q=q!==``?JSON.parse(q):null}catch(xe){q=ae,G&&(G=!1,q={error:xe,text:q})}}G?(i.next(new Ii({body:q,headers:T,status:w,statusText:x,url:F||void 0})),i.complete()):i.error(new Qe({error:q,headers:T,status:w,statusText:x,url:F||void 0}))}),d=this.maybePropagateTrace(T=>{let{url:w}=u(),x=new Qe({error:T,status:s.status||0,statusText:s.statusText||`Unknown Error`,url:w||void 0});i.error(x)}),f=d;n.timeout&&(f=this.maybePropagateTrace(T=>{let{url:w}=u(),x=new Qe({error:new DOMException(`Request timed out`,`TimeoutError`),status:s.status||0,statusText:s.statusText||`Request timeout`,url:w||void 0});i.error(x)}));let h=!1,p=this.maybePropagateTrace(T=>{h||(i.next(u()),h=!0);let w={type:mn.DownloadProgress,loaded:T.loaded};T.lengthComputable&&(w.total=T.total),n.responseType===`text`&&s.responseText&&(w.partialText=s.responseText),i.next(w)}),v=this.maybePropagateTrace(T=>{let w={type:mn.UploadProgress,loaded:T.loaded};T.lengthComputable&&(w.total=T.total),i.next(w)});s.addEventListener(`load`,l),s.addEventListener(`error`,d),s.addEventListener(`timeout`,f),s.addEventListener(`abort`,d);let b=n.reportProgress||n.reportUploadProgress,E=n.reportProgress||n.reportDownloadProgress;return E&&s.addEventListener(`progress`,p),b&&a!==null&&s.upload&&s.upload.addEventListener(`progress`,v),s.send(a),i.next({type:mn.Sent}),()=>{s.removeEventListener(`error`,d),s.removeEventListener(`abort`,d),s.removeEventListener(`load`,l),s.removeEventListener(`timeout`,f),E&&s.removeEventListener(`progress`,p),b&&a!==null&&s.upload&&s.upload.removeEventListener(`progress`,v),s.readyState!==s.DONE&&s.abort()}})))}static ɵfac=function(r){return new(r||e)(m(ug))};static ɵprov=I({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var yl=(function(e){return e[e.Interceptors=0]=`Interceptors`,e[e.LegacyInterceptors=1]=`LegacyInterceptors`,e[e.CustomXsrfConfiguration=2]=`CustomXsrfConfiguration`,e[e.NoXsrfProtection=3]=`NoXsrfProtection`,e[e.JsonpSupport=4]=`JsonpSupport`,e[e.RequestsMadeViaParent=5]=`RequestsMadeViaParent`,e[e.Fetch=6]=`Fetch`,e[e.Xhr=7]=`Xhr`,e})(yl||{});function IE(e,t){return{ɵkind:e,ɵproviders:t}}function ok(...e){let t=[vn,hl,pl,{provide:vl,useExisting:pl},{provide:ml,useFactory:()=>g(hl)},{provide:_g,useValue:bE,multi:!0}];for(let n of e)t.push(...n.ɵproviders);return on(t)}var mE=new _(``);function ik(){return IE(yl.LegacyInterceptors,[{provide:mE,useFactory:nk},{provide:_g,useExisting:mE,multi:!0}])}function sk(){return IE(yl.Xhr,[bg,{provide:ml,useExisting:bg}])}var OE=(()=>{class e{_doc=g(ee);_dom=gn();_cachedHead;addTag(n,r=!1){return n?this._getOrCreateElement(n,r):null}addTags(n,r=!1){return n.filter(o=>!!o).map(o=>this._getOrCreateElement(o,r))}getTag(n){if(!n)return null;let r=this._doc.querySelector(TE(n));return AE(r)?r:null}getTags(n){if(!n)return[];let r=this._doc.querySelectorAll(TE(n));return r?Array.from(r).filter(o=>AE(o)):[]}updateTag(n,r){xE(n),r??=RE(n);let o=this.getTag(r);return o?(ME(n,o),o):this._getOrCreateElement(n,!0)}removeTag(n){this.removeTagElement(this.getTag(n))}removeTagElement(n){n&&this._dom.remove(n)}_getOrCreateElement(n,r=!1){if(xE(n),!r){let s=RE(n),a=this.getTags(s).filter(c=>uk(n,c))[0];if(a!==void 0)return a}let o=this._dom.createElement(`meta`);return ME(n,o),this._doc.getElementsByTagName(`head`)[0].appendChild(o),o}static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:e.ɵfac})}return e})();function TE(e){return`meta[${e}]`}function ME(e,t){Object.keys(e).forEach(n=>t.setAttribute(Ig(n),e[n]))}function xE(e){for(let t of Object.keys(e))if(Ig(t).toLowerCase().startsWith(`on`))throw new S(5203,!1)}function RE(e){let t=e.name?`name`:`property`;return`${t}=${ck(String(e[t]))}`}function ck(e){return`"${e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`)}"`}function uk(e,t){return Object.keys(e).every(n=>t.getAttribute(Ig(n))===e[n])}function Ig(e){return Object.hasOwn(NE,e)?NE[e]:e}function AE(e){return e?.nodeName.toLowerCase()===`meta`}var NE={httpEquiv:`http-equiv`};var wl=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||``}static ɵfac=function(r){return new(r||e)(m(ee))};static ɵprov=I({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var lk=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=I({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=m(dk),o},providedIn:`root`})}return e})();var dk=(()=>{class e extends lk{_doc=g(ee);sanitize(n,r){if(r==null)return null;switch(n){case ue.NONE:return r;case ue.HTML:return hn(r,`HTML`)?ot(r):Tu(this._doc,String(r)).toString();case ue.STYLE:return hn(r,`Style`)?ot(r):r;case ue.SCRIPT:if(hn(r,`Script`))return ot(r);throw new S(5200,!1);case ue.URL:return hn(r,`URL`)?ot(r):Ks(String(r));case ue.RESOURCE_URL:if(hn(r,`ResourceURL`))return ot(r);throw new S(-5201,!1);default:throw new S(5202,!1)}}bypassSecurityTrustHtml(n){return Jh(n)}bypassSecurityTrustStyle(n){return Xh(n)}bypassSecurityTrustScript(n){return ep(n)}bypassSecurityTrustUrl(n){return tp(n)}bypassSecurityTrustResourceUrl(n){return np(n)}static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:e.ɵfac})}return e})();var H=`primary`;var xa=Symbol(`RouteTitle`);var Ag=class{params;constructor(t){this.params=t||{}}has(t){return Object.hasOwn(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function _o(e){return new Ag(e)}function Tg(e,t,n){for(let r=0;r<e.length;r++){let o=e[r],i=t[r];
5if(o[0]===`:`)n[o.substring(1)]=i;else if(o!==i.path)return!1}return!0}function HE(e,t,n){let r=n.path.split(`/`),o=r.indexOf(`**`);if(o===-1){if(r.length>e.length||n.pathMatch===`full`&&(t.hasChildren()||r.length<e.length))return null;let c={},u=e.slice(0,r.length);return Tg(r,u,c)?{consumed:u,posParams:c}:null}if(o!==r.lastIndexOf(`**`))return null;let i=r.slice(0,o),s=r.slice(o+1);if(i.length+s.length>e.length||n.pathMatch===`full`&&t.hasChildren()&&n.path!==`**`)return null;let a={};return!Tg(i,e.slice(0,i.length),a)||!Tg(s,e.slice(e.length-s.length),a)?null:{consumed:e,posParams:a}}function Cl(e){return new Promise((t,n)=>{e.pipe(Xt()).subscribe({next:r=>t(r),error:r=>n(r)})})}function fk(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!yn(e[n],t[n]))return!1;return!0}function yn(e,t){let n=e?Ng(e):void 0,r=t?Ng(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!VE(e[o],t[o]))return!1;return!0}function Ng(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function VE(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}else return e===t}function hk(e){return e.length>0?e[e.length-1]:null}function Io(e){return cc(e)?e:So(e)?$(Promise.resolve(e)):D(e)}function zE(e){return cc(e)?Cl(e):Promise.resolve(e)}var pk={exact:WE,subset:KE};var qE={exact:gk,subset:mk,ignored:()=>!0};var GE={paths:`exact`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`exact`};var Og={paths:`subset`,fragment:`ignored`,matrixParams:`ignored`,queryParams:`subset`};function PE(e,t,n){return pk[n.paths](e.root,t.root,n.matrixParams)&&qE[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment===`exact`&&e.fragment!==t.fragment)}function gk(e,t){return yn(e,t)}function WE(e,t,n){if(!bo(e.segments,t.segments)||!El(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!WE(e.children[r],t.children[r],n))return!1;return!0}function mk(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>VE(e[n],t[n]))}function KE(e,t,n){return YE(e,t,t.segments,n)}function YE(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!bo(o,n)||t.hasChildren()||!El(o,n,r))}else if(e.segments.length===n.length){if(!bo(e.segments,n)||!El(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!KE(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!bo(e.segments,o)||!El(e.segments,o,r)||!e.children[H]?!1:YE(e.children[H],t,i,r)}}function El(e,t,n){return t.every((r,o)=>qE[n](e[o].parameters,r.parameters))}var Dt=class{root;queryParams;fragment;_queryParamMap;constructor(t=new Y([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=_o(this.queryParams),this._queryParamMap}toString(){return wk.serialize(this)}};var Y=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return bl(this)}};var Dr=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=_o(this.parameters),this._parameterMap}toString(){return QE(this)}};function vk(e,t){return bo(e,t)&&e.every((n,r)=>yn(n.parameters,t[r].parameters))}function bo(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function yk(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===H&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==H&&(n=n.concat(t(o,r)))}),n}var _r=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:()=>new Kn})}return e})();var Kn=class{parse(t){let n=new Pg(t);return new Dt(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){return`${`/${ya(t.root,!0)}`}${Ek(t.queryParams)}${typeof t.fragment==`string`?`#${Dk(t.fragment)}`:``}`}};var wk=new Kn;function bl(e){return e.segments.map(t=>QE(t)).join(`/`)}function ya(e,t){if(!e.hasChildren())return bl(e);
5if(t){let n=e.children[H]?ya(e.children[H],!1):``,r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==H&&r.push(`${o}:${ya(i,!1)}`)}),r.length>0?`${n}(${r.join(`//`)})`:n}else{let n=yk(e,(r,o)=>o===H?[ya(e.children[H],!1)]:[`${o}:${ya(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[H]!=null?`${bl(e)}/${n[0]}`:`${bl(e)}/(${n.join(`//`)})`}}function ZE(e){return encodeURIComponent(e).replace(/%40/g,`@`).replace(/%3A/gi,`:`).replace(/%24/g,`$`).replace(/%2C/gi,`,`)}function Dl(e){return ZE(e).replace(/%3B/gi,`;`)}function Dk(e){return encodeURI(e)}function kg(e){return ZE(e).replace(/\(/g,`%28`).replace(/\)/g,`%29`).replace(/%26/gi,`&`)}function _l(e){return decodeURIComponent(e)}function LE(e){return _l(e.replace(/\+/g,`%20`))}function QE(e){return`${kg(e.path)}${Sk(e.parameters)}`}function Sk(e){return Object.entries(e).map(([t,n])=>`;${kg(t)}=${kg(n)}`).join(``)}function Ek(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${Dl(n)}=${Dl(o)}`).join(`&`):`${Dl(n)}=${Dl(r)}`).filter(n=>n);return t.length?`?${t.join(`&`)}`:``}var bk=/^[^\/()?;#]+/;function Mg(e){let t=e.match(bk);return t?t[0]:``}var _k=/^[^\/()?;=#]+/;function Ck(e){let t=e.match(_k);return t?t[0]:``}var Ik=/^[^=?&#]+/;function Tk(e){let t=e.match(Ik);return t?t[0]:``}var Mk=/^[^&#]+/;function xk(e){let t=e.match(Mk);return t?t[0]:``}var Pg=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){for(;this.consumeOptional(`/`););return this.remaining===``||this.peekStartsWith(`?`)||this.peekStartsWith(`#`)?new Y([],{}):new Y([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional(`?`))do this.parseQueryParam(t);while(this.consumeOptional(`&`));return t}parseFragment(){return this.consumeOptional(`#`)?decodeURIComponent(this.remaining):null}parseChildren(t=0){if(t>50)throw new S(4010,!1);if(this.remaining===``)return{};this.consumeOptional(`/`);let n=[];for(this.peekStartsWith(`(`)||n.push(this.parseSegment());this.peekStartsWith(`/`)&&!this.peekStartsWith(`//`)&&!this.peekStartsWith(`/(`);)this.capture(`/`),n.push(this.parseSegment());let r={};this.peekStartsWith(`/(`)&&(this.capture(`/`),r=this.parseParens(!0,t));let o={};return this.peekStartsWith(`(`)&&(o=this.parseParens(!1,t)),(n.length>0||Object.keys(r).length>0)&&(o[H]=new Y(n,r)),o}parseSegment(){let t=Mg(this.remaining);if(t===``&&this.peekStartsWith(`;`))throw new S(4009,!1);return this.capture(t),new Dr(_l(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(`;`);)this.parseParam(t);return t}parseParam(t){let n=Ck(this.remaining);if(!n)return;this.capture(n);let r=``;if(this.consumeOptional(`=`)){let o=Mg(this.remaining);o&&(r=o,this.capture(r))}t[_l(n)]=_l(r)}parseQueryParam(t){let n=Tk(this.remaining);if(!n)return;this.capture(n);let r=``;if(this.consumeOptional(`=`)){let s=xk(this.remaining);s&&(r=s,this.capture(r))}let o=LE(n),i=LE(r);if(Object.hasOwn(t,o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t,n){let r=Object.create(null);for(this.capture(`(`);!this.consumeOptional(`)`)&&this.remaining.length>0;){let o=Mg(this.remaining),i=this.remaining[o.length];if(i!==`/`&&i!==`)`&&i!==`;`)throw new S(4010,!1);let s;o.indexOf(`:`)>-1?(s=o.slice(0,o.indexOf(`:`)),this.capture(s),this.capture(`:`)):t&&(s=H);let a=this.parseChildren(n+1);r[s??H]=Object.keys(a).length===1&&a[H]?a[H]:new Y([],a),this.consumeOptional(`//`)}return r}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new S(4011,!1)}};function JE(e){return e.segments.length>0?new Y([],{[H]:e}):e}function XE(e){let t=Object.create(null);for(let[r,o]of Object.entries(e.children)){let i=XE(o);if(r===H&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return Rk(new Y(e.segments,t))}function Rk(e){if(e.numberOfChildren===1&&e.children[H]){let t=e.children[H];return new Y(e.segments.concat(t.segments),t.children)}return e}function Sr(e){return e instanceof Dt}function eb(e,t,n=null,r=null,o=new Kn){return nb(tb(e),t,n,r,o)}function tb(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new Y(i.url,s);return i===e&&(t=a),a}let o=JE(n(e.root));return t??o}function nb(e,t,n,r,o){let i=e;for(;i.parent;)i=i.parent;if(t.length===0)return xg(i,i,i,n,r,o);let s=Ak(t);if(s.toRoot())return xg(i,i,new Y([],{}),n,r,o);let a=Nk(s,i,e),c=a.processChildren?Da(a.segmentGroup,a.index,s.commands):ob(a.segmentGroup,a.index,s.commands);return xg(i,a.segmentGroup,c,n,r,o)}function Il(e){return typeof e==`object`&&e!=null&&!e.outlets&&!e.segmentPath}function Ea(e){return typeof e==`object`&&e!=null&&e.outlets}function FE(e,t,n){e||=`ɵ`;let r=new Dt;return r.queryParams={[e]:t},n.parse(n.serialize(r)).queryParams[e]}function xg(e,t,n,r,o,i){let s={};for(let[u,l]of Object.entries(r??{}))s[u]=Array.isArray(l)?l.map(d=>FE(u,d,i)):FE(u,l,i);let a;e===t?a=n:a=rb(e,t,n);return new Dt(JE(XE(a)),s,o)}function rb(e,t,n){let r=Object.create(null);
vendor: 4,800 bytes, line 5
5return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=rb(i,t,n)}),new Y(e.segments,r)}var Tl=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Il(r[0]))throw new S(4003,!1);let o=r.find(Ea);if(o&&o!==hk(r))throw new S(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]==`/`}};function Ak(e){if(typeof e[0]==`string`&&e.length===1&&e[0]===`/`)return new Tl(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i==`object`&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u==`string`?u.split(`/`):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!=`string`?[...o,i]:s===0?(i.split(`/`).forEach((a,c)=>{c==0&&a===`.`||(c==0&&a===``?n=!0:a===`..`?t++:a!=``&&o.push(a))}),o):[...o,i]},[]);return new Tl(n,t,r)}var Mi=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function Nk(e,t,n){if(e.isAbsolute)return new Mi(t,!0,0);if(!n)return new Mi(t,!1,NaN);if(n.parent===null)return new Mi(n,!0,0);let r=Il(e.commands[0])?0:1;return Ok(n,n.segments.length-1+r,e.numberOfDoubleDots)}function Ok(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new S(4005,!1);o=r.segments.length}return new Mi(r,!1,o-i)}function kk(e){return Ea(e[0])?e[0].outlets:{[H]:e}}function ob(e,t,n){if(e??=new Y([],{}),e.segments.length===0&&e.hasChildren())return Da(e,t,n);let r=Pk(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new Y(e.segments.slice(0,r.pathIndex),{});return i.children[H]=new Y(e.segments.slice(r.pathIndex),e.children),Da(i,0,o)}else return r.match&&o.length===0?new Y(e.segments,{}):r.match&&!e.hasChildren()?Lg(e,t,n):r.match?Da(e,0,o):Lg(e,t,n)}function Da(e,t,n){if(n.length===0)return new Y(e.segments,{});{let r=kk(n),o=Object.create(null);if(Object.keys(r).some(i=>i!==H)&&e.children[H]&&e.numberOfChildren===1&&e.children[H].segments.length===0){let i=Da(e.children[H],t,n);return new Y(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s==`string`&&(s=[s]),s!==null&&(o[i]=ob(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new Y(e.segments,o)}}function Pk(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;let s=e.segments[o],a=n[r];if(Ea(a))break;let c=`${a}`,u=r<n.length-1?n[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u==`object`&&u.outlets===void 0){if(!UE(c,u,s))return i;r+=2}else{if(!UE(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Lg(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(Ea(i))return new Y(r,Lk(i.outlets));if(o===0&&Il(n[0])){let c=e.segments[t];r.push(new Dr(c.path,jE(n[0]))),o++;continue}let s=Ea(i)?i.outlets[H]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&Il(a)?(r.push(new Dr(s,jE(a))),o+=2):(r.push(new Dr(s,{})),o++)}return new Y(r,{})}function Lk(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r==`string`&&(r=[r]),r!==null&&(t[n]=Lg(new Y([],{}),0,r))}),t}function jE(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function UE(e,t,n){return e==n.path&&yn(t,n.parameters)}var xi=`imperative`;var ke=(function(e){return e[e.NavigationStart=0]=`NavigationStart`,e[e.NavigationEnd=1]=`NavigationEnd`,e[e.NavigationCancel=2]=`NavigationCancel`,e[e.NavigationError=3]=`NavigationError`,e[e.RoutesRecognized=4]=`RoutesRecognized`,e[e.ResolveStart=5]=`ResolveStart`,e[e.ResolveEnd=6]=`ResolveEnd`,e[e.GuardsCheckStart=7]=`GuardsCheckStart`,e[e.GuardsCheckEnd=8]=`GuardsCheckEnd`,e[e.RouteConfigLoadStart=9]=`RouteConfigLoadStart`,e[e.RouteConfigLoadEnd=10]=`RouteConfigLoadEnd`,e[e.ChildActivationStart=11]=`ChildActivationStart`,e[e.ChildActivationEnd=12]=`ChildActivationEnd`,e[e.ActivationStart=13]=`ActivationStart`,e[e.ActivationEnd=14]=`ActivationEnd`,e[e.Scroll=15]=`Scroll`,e[e.NavigationSkipped=16]=`NavigationSkipped`,e})(ke||{});var St=class{id;url;constructor(t,n){this.id=t,this.url=n}};var Er=class extends St{type=ke.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r=`imperative`,o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}};var Ot=class extends St{urlAfterRedirects;type=ke.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}};var Je=(function(e){return e[e.Redirect=0]=`Redirect`,e[e.SupersededByNewNavigation=1]=`SupersededByNewNavigation`,e[e.NoDataFromRe
5solver=2]=`NoDataFromResolver`,e[e.GuardRejected=3]=`GuardRejected`,e[e.Aborted=4]=`Aborted`,e})(Je||{});var Ai=(function(e){return e[e.IgnoredSameUrlNavigation=0]=`IgnoredSameUrlNavigation`,e[e.IgnoredByUrlHandlingStrategy=1]=`IgnoredByUrlHandlingStrategy`,e})(Ai||{});var Nt=class extends St{reason;code;type=ke.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function ib(e){return e instanceof Nt&&(e.code===Je.Redirect||e.code===Je.SupersededByNewNavigation)}var wn=class extends St{reason;code;type=ke.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}};var Co=class extends St{error;target;type=ke.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}};var ba=class extends St{urlAfterRedirects;state;type=ke.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var Ml=class extends St{urlAfterRedirects;state;type=ke.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var xl=class extends St{urlAfterRedirects;state;shouldActivate;type=ke.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}};var Rl=class extends St{urlAfterRedirects;state;type=ke.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var Al=class extends St{urlAfterRedirects;state;type=ke.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}};var Nl=class{route;type=ke.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}};var Ol=class{route;type=ke.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}};var kl=class{snapshot;type=ke.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var Pl=class{snapshot;type=ke.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var Ll=class{snapshot;type=ke.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var Fl=class{snapshot;type=ke.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||``}')`}};var Ni=class{routerEvent;position;anchor;scrollBehavior;type=ke.Scroll;constructor(t,n,r,o){this.routerEvent=t,this.position=n,this.anchor=r,this.scrollBehavior=o}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}};var Oi=class{};var _a=class{};var ki=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function Fk(e){return!(e instanceof Oi)&&!(e instanceof ki)&&!(e instanceof _a)}var jl=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new br(this.rootInjector)}resetChildren(){this.children=new br(this.rootInjector)}};var br=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new jl(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static ɵfac=function(r){return new(r||e)(m(he))};static ɵprov=I({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var Ul=class{_root;constructor(t){this._root=t}get root(){return this._root.value}
5parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=Fg(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Fg(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=jg(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return jg(t,this._root).map(n=>n.value)}};function Fg(e,t){if(e===t.value)return t;for(let n of t.children){let r=Fg(e,n);if(r)return r}return null}function jg(e,t){if(e===t.value)return[t];for(let n of t.children){let r=jg(e,n);if(r.length)return r.unshift(t),r}return[]}var wt=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function Ti(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Ca=class extends Ul{snapshot;constructor(t,n){super(t),this.snapshot=n,Kg(this,t)}toString(){return this.snapshot.toString()}};function sb(e,t){let n=jk(e,t),r=new ye([new Dr(``,{})]),o=new ye({}),i=new ye({}),c=new Dn(r,o,new ye({}),new ye(``),i,H,e,n.root);return c.snapshot=n.root,new Ca(new wt(c,[]),n)}function jk(e,t){return new Ia(``,new wt(new Pi([],{},{},``,{},H,e,null,{},t),[]))}var Dn=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;resources;_localInjector;pending;paramsSignal;queryParamsSignal;paramMapSignal;queryParamMapSignal;fragmentSignal;dataSignal;constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(R(u=>u[xa]))??D(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(R(t=>_o(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(R(t=>_o(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}_setPending(t){this._futureSnapshot=t,this.pending?.set(!0)}};var Uk=`always`;function Wg(e,t,n){let r,{routeConfig:o}=e;return t!==null&&(n===`always`||o?.path===``||!t.component&&!t.routeConfig?.loadComponent)?r={params:w(w({},t.params),e.params),data:w(w({},t.data),e.data),resolve:w(w(w(w({},e.data),t.data),o?.data),e._resolvedData)}:r={params:w({},e.params),data:w({},e.data),resolve:w(w({},e.data),e._resolvedData??{})},o&&cb(o)&&(r.resolve[xa]=o.title),r}var Pi=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;resources;get title(){return this.data?.[xa]}constructor(t,n,r,o,i,s,a,c,u,l){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u,this._environmentInjector=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=_o(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=_o(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join(`/`)}', path:'${this.routeConfig?this.routeConfig.path:``}')`}};var Ia=class extends Ul{url;constructor(t,n){super(n),this.url=t,Kg(this,n)}toString(){return ab(this._root)}};function Kg(e,t){t.value._routerState=e,t.children.forEach(n=>Kg(e,n))}function ab(e){let t=e.children.length>0?` { ${e.children.map(ab).join(`, `)} } `:``;return`${e.value}${t}`}function Rg(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,yn(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),yn(t.params,n.params)||e.paramsSubject.next(n.params),fk(t.url,n.url)||e.urlSubject.next(n.url),yn(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Ug(e,t){let n=yn(e.params,t.params)&&vk(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Ug(e.parent,t.parent))}function cb(e){return typeof e.title==`string`||e.title===null}var ub=new _(``);var Yg=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=H;activateEvents=new tt;deactivateEvents=new tt;attachEvents=new tt;detachEvents=new tt;routerOutletData=Wu();parentContexts=g(br);location=g(mr);changeDetector=g(yr);inputBinder=g(Ra,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new S(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new S(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new S(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new S(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new $g(n,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this,this.location.injector),this.activateEvents.emit(this.activated.instance)}static ɵfac=function(r){return new(r||e)};static ɵdir=Bn({type:e,selectors:[[`router-outlet`]],inputs:{name:`name`,routerOutletData:[1,`routerOutletData`]},outputs:{activateEvents:`activate`,deactivateEvents:`deactivate`,attachEvents:`attach`,detachEvents:`detach`},exportAs:[`outlet`],features:[yo]})}return e})();var $g=class{route;childContexts;parent;outletData;constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===Dn?this.route:t===br?this.childContexts:t===ub?this.outletData:this.parent.get(t,n)}};var Ra=new _(``);var lb=(()=>{class e{options;feature;outletDataSubscriptions=new Map;outletSeenKeys=new Map;outletEffects=new Map;constructor(n,r=null){this.options=n,this.feature=r,this.options.queryParams??=!0}bindActivatedRouteToOutletComponent(n,r){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n,r)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n),this.outletSeenKeys.delete(n),this.outletEffects.get(n)?.forEach(r=>r.destroy()),this.outletEffects.delete(n)}subscribeToRouteData(n,r){let{activatedRoute:o}=n,i=[],s=[];if(this.feature?.createResourceOutletBindingEffects&&n.activatedComponentRef){let{handledKeys:c,createdEffects:u}=this.feature.createResourceOutletBindingEffects(n.activatedComponentRef,o,r);i.push(...u),s=c}i.length>0&&this.outletEffects.set(n,i);let a=Jt([this.options.queryParams?o.queryParams:D({}),o.params,o.data]).pipe(P(([c,u,l],d)=>(l=w(w(w(w({},c),u),l),o.resources||{}),d===0?D(l):Promise.resolve(l)))).subscribe(c=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let u=Xp(o.component);if(!u){this.unsubscribeFromRouteData(n);return}let l=this.outletSeenKeys.get(n);l||(l=new Set,this.outletSeenKeys.set(n,l));for(let f of Object.keys(c))l.add(f);let d=this.options.unmatchedInputBehavior??`alwaysUndefined`;for(let{templateName:f}of u.inputs){if(s.includes(f))continue;let h=c[f];(h!==void 0||d===`alwaysUndefined`||l.has(f))&&n.activatedComponentRef.setInput(f,h)}});this.outletDataSubscriptions.set(n,a)}static ɵfac=function(r){ea()};static ɵprov=I({token:e,factory:e.ɵfac})}return e})();var Zg=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵcmp=ta({type:e,selectors:[[`ng-component`]],exportAs:[`emptyRouterOutlet`],decls:1,vars:0,template:function(r,o){r&1&&pn(0,`router-outlet`)},dependencies:[Yg],encapsulation:2,changeDetection:1})}return e})();function Qg(e){let t=e.children&&e.children.map(Qg),n=t?x(w({},e),{children:t}):w({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==H&&(n.component=Zg),n}
5function $k(e,t,n){let r=new Set;return{newlyCreatedRoutes:r,state:new Ca(Ta(e,t._root,n?n._root:void 0,r),t)}}function Ta(e,t,n,r){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let o=n.value;o._setPending(t.value);return new wt(o,Bk(e,t,n,r))}else{if(e.shouldAttach(t.value)){let s=e.retrieve(t.value);if(s!==null){let a=s.route;return a.value._setPending(t.value),a.children=t.children.map(c=>Ta(e,c,void 0,r)),a}}let o=Hk(t.value);o._setPending(t.value),r.add(o);return new wt(o,t.children.map(s=>Ta(e,s,void 0,r)))}}function Bk(e,t,n,r){return t.children.map(o=>{for(let i of n.children)if(e.shouldReuseRoute(o.value,i.value.snapshot))return Ta(e,o,i,r);return Ta(e,o,void 0,r)})}function Hk(e){return new Dn(new ye(e.url),new ye(e.params),new ye(e.queryParams),new ye(e.fragment),new ye(e.data),e.outlet,e.component,e)}var Li=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}};var db=`ngNavigationCancelingError`;function $l(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=Sr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=fb(!1,Je.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function fb(e,t){let n=new Error(`NavigationCancelingError: ${e||``}`);return n[db]=!0,n.cancellationCode=t,n}function Vk(e){return hb(e)&&Sr(e.url)}function hb(e){return!!e&&e[db]}var Bg=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Rg(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=Ti(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Ti(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.contexts;r.resetChildren(),this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Ti(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null),t.value._localInjector?.destroy()}activateChildRoutes(t,n,r){let o=Ti(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Fl(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Pl(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(Rg(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Rg(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}};var Bl=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}};var Ri=class{component;route;constructor(t,n){this.component=t,this.route=n}};
5function zk(e,t,n){let r=e._root;return wa(r,t?t._root:null,n,[r.value])}function qk(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function ji(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e==`function`&&!pf(e)?e:t.get(e):r}function wa(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Ti(t);return e.children.forEach(s=>{Gk(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Sa(a,n.getContext(s),n,o)),o}function Gk(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=Wk(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Bl(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?wa(e,t,a?a.children:null,r,o):wa(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Ri(a.outlet.component,s))}else s&&Sa(t,a,n,o),o.canActivateChecks.push(new Bl(r)),i.component?wa(e,null,a?a.children:null,r,o):wa(e,null,n,r,o);return o}function Wk(e,t,n){if(typeof n==`function`)return Ce(t._environmentInjector,()=>n(e,t));switch(n){case`pathParamsChange`:return!bo(e.url,t.url);case`pathParamsOrQueryParamsChange`:return!bo(e.url,t.url)||!yn(e.queryParams,t.queryParams);case`always`:return!0;case`paramsOrQueryParamsChange`:return!Ug(e,t)||!yn(e.queryParams,t.queryParams);default:return!Ug(e,t)}}function Sa(e,t,n,r){let o=Ti(e),i=e.value;Object.entries(o).forEach(([s,a])=>{i.component?t?Sa(a,t.children.getContext(s),t.children,r):Sa(a,null,null,r):Sa(a,n?n.getContext(s):null,n,r)}),i.component?t&&t.outlet&&t.outlet.isActivated?r.canDeactivateChecks.push(new Ri(t.outlet.component,i)):r.canDeactivateChecks.push(new Ri(null,i)):r.canDeactivateChecks.push(new Ri(null,i))}function Aa(e){return typeof e==`function`}function Kk(e){return typeof e==`boolean`}function Yk(e){return e&&Aa(e.canLoad)}function Zk(e){return e&&Aa(e.canActivate)}function Qk(e){return e&&Aa(e.canActivateChild)}function Jk(e){return e&&Aa(e.canDeactivate)}function Xk(e){return e&&Aa(e.canMatch)}function pb(e){return e instanceof jr||e?.name===`EmptyError`}var Sl=Symbol(`INITIAL_VALUE`);function Fi(){return P(e=>Jt(e.map(t=>t.pipe(Ge(1),pc(Sl)))).pipe(R(t=>{for(let n of t)if(n!==!0){if(n===Sl)return Sl;if(n===!1||eP(n))return n}return!0}),Se(t=>t!==Sl),Ge(1)))}function eP(e){return Sr(e)||e instanceof Li}function gb(e){return e.aborted?D(void 0).pipe(Ge(1)):new j(t=>{let n=()=>{t.next(),t.complete()};return e.addEventListener(`abort`,n),()=>e.removeEventListener(`abort`,n)})}function mb(e){return en(gb(e))}function tP(e){return Ae(t=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:i}}=t;return i.length===0&&o.length===0?D(x(w({},t),{guardsResult:!0})):nP(i,n,r).pipe(Ae(s=>s&&Kk(s)?rP(n,o,e):D(s)),R(s=>x(w({},t),{guardsResult:s})))})}function nP(e,t,n){return $(e).pipe(Ae(r=>cP(r.component,r.route,n,t)),Xt(r=>r!==!0,!0))}function rP(e,t,n){return $(t).pipe(nr(r=>Vo(iP(r.route.parent,n),oP(r.route,n),aP(e,r.path),sP(e,r.route))),Xt(r=>r!==!0,!0))}function oP(e,t){return e!==null&&t&&t(new Ll(e)),D(!0)}function iP(e,t){return e!==null&&t&&t(new kl(e)),D(!0)}function sP(e,t){let n=t.routeConfig?t.routeConfig.canActivate:null;if(!n||n.length===0)return D(!0);return D(n.map(o=>Ur(()=>{let i=t._environmentInjector,s=ji(o,i);return Io(Zk(s)?s.canActivate(t,e):Ce(i,()=>s(t,e))).pipe(Xt())}))).pipe(Fi())}function aP(e,t){let n=t[t.length-1];return D(t.slice(0,t.length-1).reverse().map(i=>qk(i)).filter(i=>i!==null).map(i=>Ur(()=>{return D(i.guards.map(a=>{let c=i.node._environmentInjector,u=ji(a,c);return Io(Qk(u)?u.canActivateChild(n,e):Ce(c,()=>u(n,e))).pipe(Xt())})).pipe(Fi())}))).pipe(Fi())}function cP(e,t,n,r){let o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!o||o.length===0)return D(!0);return D(o.map(s=>{let a=t._environmentInjector,c=ji(s,a);return Io(Jk(c)?c.canDeactivate(e,t,n,r):Ce(a,()=>c(e,t,n,r))).pipe(Xt())})).pipe(Fi())}function uP(e,t,n,r,o){let i=t.canLoad;if(i===void 0||i.length===0)return D(!0);return D(i.map(a=>{let c=ji(a,e),l=Io(Yk(c)?c.canLoad(t,n):Ce(e,()=>c(t,n)));return o?l.pipe(mb(o)):l})).pipe(Fi(),vb(r))}function vb(e){return qa(oe(t=>{if(typeof t!=`boolean`)throw $l(e,t)}),R(t=>t===!0))}function lP(e,t,n,r,o,i){let s=t.canMatch;if(!s||s.length===0)return D(!0);return D(s.map(c=>{let u=ji(c,e);return Io(Xk(u)?u.canMatch(t,n,o):Ce(e,()=>u(t,n,o))).pipe(mb(i))})).pipe(Fi(),vb(r))}
5var Wn=class e extends Error{segmentGroup;constructor(t){super(),this.segmentGroup=t||null,Object.setPrototypeOf(this,e.prototype)}};var Ma=class e extends Error{urlTree;constructor(t){super(),this.urlTree=t,Object.setPrototypeOf(this,e.prototype)}};function dP(e){throw new S(4e3,!1)}function fP(e){throw fb(!1,Je.GuardRejected)}var Hg=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){return B$1(this,null,function*(){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return r;if(o.numberOfChildren>1||!o.children[H])throw dP(`${t.redirectTo}`);o=o.children[H]}})}applyRedirectCommands(t,n,r,o,i){return B$1(this,null,function*(){let s=yield hP(n,o,i);if(s instanceof Dt)throw new Ma(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]===`/`)throw new Ma(a);return a})}applyRedirectCreateUrlTree(t,n,r,o){return new Dt(this.createSegmentGroup(t,n.root,r,o),this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i==`string`&&i[0]===`:`){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s=Object.create(null);return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new Y(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===`:`?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new S(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}};function hP(e,t,n){if(typeof e==`string`)return Promise.resolve(e);let r=e;return Cl(Io(Ce(n,()=>r(t))))}function pP(e,t){return e.providers&&!e._injector&&(e._injector=yi(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Kt(e){return e.outlet||H}function gP(e,t){let n=e.filter(r=>Kt(r)===t);return n.push(...e.filter(r=>Kt(r)!==t)),n}var Vg={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function yb(e){return{routeConfig:e.routeConfig,url:e.url,params:e.params,queryParams:e.queryParams,fragment:e.fragment,data:e.data,outlet:e.outlet,title:e.title,paramMap:e.paramMap,queryParamMap:e.queryParamMap}}function mP(e,t,n,r,o,i,s){let a=wb(e,t,n);if(!a.matched)return D(a);let c=yb(i(a));return r=pP(t,r),lP(r,t,n,o,c,s).pipe(R(u=>u===!0?a:w({},Vg)))}function wb(e,t,n){if(t.path===``)return t.pathMatch===`full`&&(e.hasChildren()||n.length>0)?w({},Vg):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||HE)(n,e,t);if(!o)return w({},Vg);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?w(w({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function $E(e,t,n,r,o){return n.length>0&&wP(e,n,r,o)?{segmentGroup:new Y(t,yP(r,new Y(n,e.children))),slicedSegments:[]}:n.length===0&&DP(e,n,r)?{segmentGroup:new Y(e.segments,vP(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new Y(e.segments,e.children),slicedSegments:n}}function vP(e,t,n,r){let o={};for(let i of n)if(Vl(e,t,i)&&!r[Kt(i)]){let s=new Y([],{});o[Kt(i)]=s}return w(w({},r),o)}function yP(e,t){let n={};n[H]=t;
5for(let r of e)if(r.path===``&&Kt(r)!==H){let o=new Y([],{});n[Kt(r)]=o}return n}function wP(e,t,n,r){return n.some(o=>!Vl(e,t,o)||!(Kt(o)!==H)?!1:!(r!==void 0&&Kt(o)===r))}function DP(e,t,n){return n.some(r=>Vl(e,t,r))}function Vl(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch===`full`?!1:n.path===``}function SP(e,t,n){return t.length===0&&!e.children[n]}var zg=class{};function EP(e,t,n,r,o,i,s,a){return B$1(this,null,function*(){return new qg(e,t,n,r,o,s,i,a).recognize()})}var bP=31;var qg=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a,c){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new Hg(this.urlSerializer,this.urlTree)}noMatchError(t){return new S(4002,`'${t.segmentGroup}'`)}recognize(){return B$1(this,null,function*(){let t=$E(this.urlTree.root,[],[],this.config).segmentGroup,{children:n,rootSnapshot:r}=yield this.match(t),i=new Ia(``,new wt(r,n)),s=eb(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}})}match(t){return B$1(this,null,function*(){let n=new Pi([],Object.freeze({}),Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),H,this.rootComponentType,null,{},this.injector);try{return{children:yield this.processSegmentGroup(this.injector,this.config,t,H,n),rootSnapshot:n}}catch(r){if(r instanceof Ma)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Wn?this.noMatchError(r):r}})}processSegmentGroup(t,n,r,o,i){return B$1(this,null,function*(){if(r.segments.length===0&&r.hasChildren())return this.processChildren(t,n,r,i);let s=yield this.processSegment(t,n,r,r.segments,o,!0,i);return s instanceof wt?[s]:[]})}processChildren(t,n,r,o){return B$1(this,null,function*(){let i=[];for(let c of Object.keys(r.children))c===`primary`?i.unshift(c):i.push(c);let s=[];for(let c of i){let u=r.children[c],l=gP(n,c),d=yield this.processSegmentGroup(t,l,u,c,o);s.push(...d)}let a=Db(s);return _P(a),a})}processSegment(t,n,r,o,i,s,a){return B$1(this,null,function*(){for(let c of n)try{return yield this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a)}catch(u){if(u instanceof Wn||pb(u))continue;throw u}if(SP(r,o,i))return new zg;throw new Wn(r)})}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return B$1(this,null,function*(){if(Kt(r)!==s&&(s===H||!Vl(o,i,r)))throw new Wn(o);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(t,o,r,i,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c);throw new Wn(o)})}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){return B$1(this,null,function*(){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:f}=wb(n,o,i);if(!c)throw new Wn(n);typeof o.redirectTo==`string`&&o.redirectTo[0]===`/`&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>bP&&(this.allowRedirects=!1));let h=this.createSnapshot(t,o,i,u,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let p=yield this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,yb(h),t),v=yield this.applyRedirects.lineralizeSegments(o,p);return this.processSegment(t,r,n,v.concat(f),s,!1,a)})}createSnapshot(t,n,r,o,i){let s=new Pi(r,o,Object.freeze(w({},this.urlTree.queryParams)),this.urlTree.fragment,IP(n),Kt(n),n.component??n._loadedComponent??null,n,TP(n),t),a=Wg(s,i,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}matchSegmentAgainstRoute(t,n,r,o,i,s){return B$1(this,null,function*(){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=w=>this.createSnapshot(t,r,w.consumedSegments,w.parameters,s),c=yield Cl(mP(n,r,o,t,this.urlSerializer,a,this.abortSignal));if(r.path===`**`&&(n.children={}),!c?.matched)throw new Wn(n);
5t=r._injector??t;let{routes:u}=yield this.getChildConfig(t,r,o),l=r._loadedInjector??t,{parameters:d,consumedSegments:f,remainingSegments:h}=c,p=this.createSnapshot(t,r,f,d,s),{segmentGroup:v,slicedSegments:b}=$E(n,f,h,u,i);if(b.length===0&&v.hasChildren())return new wt(p,yield this.processChildren(l,u,v,p));if(u.length===0&&b.length===0)return new wt(p,[]);let E=Kt(r)===i,T=yield this.processSegment(l,u,v,b,E?H:i,!0,p);return new wt(p,T instanceof wt?[T]:[])})}getChildConfig(t,n,r){return B$1(this,null,function*(){if(n.children)return{routes:n.children,injector:t};if(n.loadChildren){if(n._loadedRoutes!==void 0){let i=n._loadedNgModuleFactory;return i&&!n._loadedInjector&&(n._loadedInjector=i.create(t).injector),{routes:n._loadedRoutes,injector:n._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(yield Cl(uP(t,n,r,this.urlSerializer,this.abortSignal))){let i=yield this.configLoader.loadChildren(t,n);return n._loadedRoutes=i.routes,n._loadedInjector=i.injector,n._loadedNgModuleFactory=i.factory,i}throw fP(n)}return{routes:[],injector:t}})}};function _P(e){e.sort((t,n)=>t.value.outlet===H?-1:n.value.outlet===H?1:t.value.outlet.localeCompare(n.value.outlet))}function CP(e){let t=e.value.routeConfig;return t&&t.path===``}function Db(e){let t=[],n=new Set;for(let r of e){if(!CP(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=Db(r.children);t.push(new wt(r.value,o))}return t.filter(r=>!n.has(r))}function IP(e){return e.data||{}}function TP(e){return e.resolve||{}}function MP(e,t,n,r,o,i,s){return Ae(a=>B$1(null,null,function*(){let{state:c,tree:u}=yield EP(e,t,n,r,a.extractedUrl,o,i,s);return x(w({},a),{targetSnapshot:c,urlAfterRedirects:u})}))}function xP(e){return Ae(t=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=t;if(!r.length)return D(t);let o=new Set(r.map(a=>a.route)),i=new Set;for(let a of o)if(!i.has(a))for(let c of Sb(a))i.add(c);let s=0;return $(i).pipe(nr(a=>o.has(a)?RP(a,n,e):(a.data=Wg(a,a.parent,e).resolve,D(void 0))),oe(()=>s++),hc(1),Ae(a=>s===i.size?D(t):De))})}function Sb(e){return[e,...e.children.map(n=>Sb(n)).flat()]}function RP(e,t,n){let r=e.routeConfig,o=e._resolve;return r?.title!==void 0&&!cb(r)&&(o[xa]=r.title),Ur(()=>(e.data=Wg(e,e.parent,n).resolve,AP(o,e,t).pipe(R(i=>(e._resolvedData=i,e.data=w(w({},e.data),i),null)))))}function AP(e,t,n){let r=Ng(e);if(r.length===0)return D({});let o={};return $(r).pipe(Ae(i=>NP(e[i],t,n).pipe(Xt(),oe(s=>{if(s instanceof Li)throw $l(new Kn,s);o[i]=s}))),hc(1),R(()=>o),pe(i=>pb(i)?De:er(i)))}function NP(e,t,n){let r=t._environmentInjector,o=ji(e,r);return Io(o.resolve?o.resolve(t,n):Ce(r,()=>o(t,n)))}var Jg=new _(``);function Gg(e){return P(t=>{let n=e(t);return n?$(n).pipe(R(()=>t)):D(t)})}var Xg=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===H);return r}getResolvedTitleForRoute(n){return n.data[xa]}static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:()=>g(Eb)})}return e})();var Eb=(()=>{class e extends Xg{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static ɵfac=function(r){return new(r||e)(m(wl))};static ɵprov=I({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var Yn=new _(``,{factory:()=>({})});var To=new _(``);var zl=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=g(Wp);loadComponent(n,r){return B$1(this,null,function*(){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=B$1(this,null,function*(){try{let s=yield _b(Jp(yield zE(Ce(n,()=>r.loadComponent()))));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}});return this.componentLoaders.set(r,o),o})}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=B$1(this,null,function*(){try{let i=yield bb(r,this.compiler,n,this.onLoadEndListener);return r._loadedRoutes=i.routes,r._loadedInjector=i.injector,r._loadedNgModuleFactory=i.factory,i}finally{this.childrenLoaders.delete(r)}});return this.childrenLoaders.set(r,o),o}static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:e.ɵfac})}return e})();function bb(e,t,n,r){return B$1(this,null,function*(){let i=yield _b(Jp(yield zE(Ce(n,()=>e.loadChildren())))),s;i instanceof Uu||Array.isArray(i)?s=i:s=yield t.compileModuleAsync(i),r&&r(e);let a,c,l;return Array.isArray(s)?c=s:(a=s.create(n).injector,l=s,c=a.get(To,[],{optional:!0,self:!0}).flat()),{routes:c.map(Qg),injector:a,factory:l}})}function _b(e){return B$1(this,null,function*(){return e})}var ql=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:()=>g(OP)})}return e})();var OP=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:e.ɵfac})}return e})();var em=new _(``);var tm=new _(``);function Cb(e,t,n,r){let o=e.get(tm),i=e.get(ee);if(r){o.skipNextTransition=!1;return}if(!i.startViewTransition||o.skipNextTransition)return o.skipNextTransition=!1,new Promise(l=>setTimeout(l));let s,a=new Promise(l=>{s=l}),c=i.startViewTransition(()=>(s(),kP(e)));c.updateCallbackDone.catch(l=>{}),c.ready.catch(l=>{}),c.finished.catch(l=>{});let{onViewTransitionCreated:u}=o;return u&&Ce(e,()=>u({transition:c,from:t,to:n})),a}function kP(e){return new Promise(t=>{Ru({read:()=>setTimeout(t)},{injector:e})})}var PP=()=>{};var nm=new _(``);var Gl=(()=>{class e{currentNavigation=ce(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=ce(null);events=new re;
5transitionAbortWithErrorSubject=new re;configLoader=g(zl);environmentInjector=g(he);destroyRef=g(me);urlSerializer=g(_r);rootContexts=g(br);location=g(wr);inputBindingEnabled=g(Ra,{optional:!0})!==null;titleStrategy=g(Xg);options=g(Yn,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||Uk;urlHandlingStrategy=g(ql);createViewTransition=g(em,{optional:!0});navigationErrorHandler=g(nm,{optional:!0});routerResourcesFeature=g(Jg,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>D(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new Nl(o)),r=o=>this.events.next(new Ol(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;ne(()=>{this.transitions?.next(x(w({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(n){return this.transitions=new ye(null),this.transitions.pipe(Se(r=>r!==null),P(r=>{let o=!0,i=!1,s=new AbortController,a=()=>!i&&this.currentTransition?.id===r.id;return D(r).pipe(P(c=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,``,Je.SupersededByNewNavigation),De;this.currentTransition=r;let u=this.lastSuccessfulNavigation();this.currentNavigation.set({id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl==`string`?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:u?x(w({},u),{previousNavigation:null}):null,abort:()=>s.abort(),routesRecognizeHandler:c.routesRecognizeHandler,beforeActivateHandler:c.beforeActivateHandler});let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!==`reload`)return this.events.next(new wn(c.id,this.urlSerializer.serialize(c.rawUrl),``,Ai.IgnoredSameUrlNavigation)),c.resolve(!1),De;if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return D(c).pipe(P(f=>(this.events.next(new Er(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),f.id!==this.navigationId?De:Promise.resolve(f))),MP(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy,s.signal),oe(f=>{r.targetSnapshot=f.targetSnapshot,r.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation.update(h=>(h.finalUrl=f.urlAfterRedirects,h)),this.events.next(new _a)}),P(f=>$(r.routesRecognizeHandler.deferredHandle??D(void 0)).pipe(R(()=>f))),oe(()=>{let f=new ba(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(f)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:h,source:p,restoredState:v,extras:b}=c,E=new Er(f,this.urlSerializer.serialize(h),p,v);this.events.next(E);let T=sb(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=x(w({},c),{targetSnapshot:T,urlAfterRedirects:h,extras:x(w({},b),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(w=>(w.finalUrl=h,w)),D(r)}else return this.events.next(new wn(c.id,this.urlSerializer.serialize(c.extractedUrl),``,Ai.IgnoredByUrlHandlingStrategy)),c.resolve(!1),De}),R(c=>{let u=new Ml(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);return this.events.next(u),this.currentTransition=r=x(w({},c),{guards:zk(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),r}),tP(c=>this.events.next(c)),P(c=>{if(r.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!=`boolean`)throw $l(this.urlSerializer,c.guardsResult);let u=new xl(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);if(this.events.next(u),!a())return De;if(!c.guardsResult)return this.cancelNavigationTransition(c,``,Je.GuardRejected),De;if(c.guards.canActivateChecks.length===0)return D(c);let l=new Rl(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);if(this.events.next(l),!a())return De;let d=!1;return D(c).pipe(xP(this.paramsInheritanceStrategy),oe({next:()=>{d=!0;let f=new Al(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(f)},complete:()=>
5{d||this.cancelNavigationTransition(c,``,Je.NoDataFromResolver)}}))}),Gg(c=>{let u=d=>{let f=[];if(d.routeConfig?._loadedComponent)d.component=d.routeConfig?._loadedComponent;else if(d.routeConfig?.loadComponent){let h=d._environmentInjector;f.push(this.configLoader.loadComponent(h,d.routeConfig).then(p=>{d.component=p}))}for(let h of d.children)f.push(...u(h));return f},l=u(c.targetSnapshot.root);return l.length===0?D(c):$(Promise.all(l).then(()=>c))}),P(c=>{let{newlyCreatedRoutes:u,state:l}=$k(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=r=c=x(w({},c),{targetRouterState:l,newlyCreatedRoutes:u}),this.currentNavigation.update(d=>(d.targetRouterState=l,d)),D(c)}),this.routerResourcesFeature?.setupAndRunResources(s.signal)??(c=>c),Gg(()=>this.afterPreactivation()),P(()=>{let{currentSnapshot:c,targetSnapshot:u}=r,l=this.createViewTransition?.(this.environmentInjector,c.root,u.root,r.hasUAVisualTransition);return l?$(l).pipe(R(()=>r)):D(r)}),Ge(1),P(c=>{o=!1,this.events.next(new Oi);let u=r.beforeActivateHandler.deferredHandle;return u?$(u.then(()=>c)):D(c)}),oe(c=>{new Bg(n.routeReuseStrategy,r.targetRouterState,r.currentRouterState,u=>this.events.next(u),this.inputBindingEnabled).activate(this.rootContexts),c.newlyCreatedRoutes?.clear(),a()&&(Ib(c.targetRouterState),i=!0,this.currentNavigation.update(u=>(u.abort=PP,u)),this.lastSuccessfulNavigation.set(ne(this.currentNavigation)),this.events.next(new Ot(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0))}),en(gb(s.signal).pipe(Se(()=>!i&&o),oe(()=>{this.cancelNavigationTransition(r,s.signal.reason+``,Je.Aborted)}))),oe({complete:()=>{i=!0}}),en(this.transitionAbortWithErrorSubject.pipe(oe(c=>{throw c}))),rr(()=>{s.abort(),i||this.cancelNavigationTransition(r,``,Je.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),pe(c=>{if(i=!0,BE(r),this.destroyed)return r.resolve(!1),De;if(hb(c))this.events.next(new Nt(r.id,this.urlSerializer.serialize(r.extractedUrl),c.message,c.cancellationCode)),Vk(c)?this.events.next(new ki(c.url,c.navigationBehaviorOptions)):r.resolve(!1);else{let u=new Co(r.id,this.urlSerializer.serialize(r.extractedUrl),c,r.targetSnapshot??void 0);try{let l=Ce(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(l instanceof Li){let{message:d,cancellationCode:f}=$l(this.urlSerializer,l);this.events.next(new Nt(r.id,this.urlSerializer.serialize(r.extractedUrl),d,f)),this.events.next(new ki(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(u),c}catch(l){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(l)}}return De}))}))}cancelNavigationTransition(n,r,o){BE(n);let i=new Nt(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=ne(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return n.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:e.ɵfac})}return e})();function LP(e){return e!==xi}function BE(e){for(let t of e.newlyCreatedRoutes??[])t._localInjector?.destroy(),t._localInjector=void 0;Ib(e.targetRouterState)}function Ib(e){if(!e)return;let t=n=>{n.value.pending?.set(!1),n.children.forEach(t)};t(e._root)}var Tb=new _(``);var Mb=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:()=>g(FP)})}return e})();var Hl=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}shouldDestroyInjector(t){return!0}};var FP=(()=>{class e extends Hl{static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:e.ɵfac})}return e})();var Wl=(()=>
5{class e{urlSerializer=g(_r);options=g(Yn,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||`replace`;location=g(wr);urlHandlingStrategy=g(ql);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;currentUrlTree=new Dt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:n,initialUrl:r,targetBrowserUrl:o}){let i=n!==void 0?this.urlHandlingStrategy.merge(n,r):r,s=o??i;return s instanceof Dt?this.urlSerializer.serialize(s):s}routerUrlState(n){return n?.targetBrowserUrl===void 0||n?.finalUrl===void 0?{}:{ɵrouterUrl:this.urlSerializer.serialize(n.finalUrl)}}commitTransition({targetRouterState:n,finalUrl:r,initialUrl:o}){r&&n?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=n):this.rawUrlTree=o}routerState=sb(null,g(he));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:()=>g(jP)})}return e})();var jP=(()=>{class e extends Wl{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!==`computed`?this.currentPageId:this.restoredState()?.ɵrouterPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type===`popstate`&&setTimeout(()=>{n(r.url,r.state,`popstate`,{replaceUrl:!0},r.hasUAVisualTransition)})})}handleRouterEvent(n,r){n instanceof Er?this.updateStateMemento():n instanceof wn?this.commitTransition(r):n instanceof ba?this.urlUpdateStrategy===`eager`&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof Oi?(this.commitTransition(r),this.urlUpdateStrategy===`deferred`&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof Nt&&!ib(n)?this.restoreHistory(r):n instanceof Co?this.restoreHistory(r,!0):n instanceof Ot&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let{extras:o,id:i}=r,{replaceUrl:s,state:a}=o;if(this.location.isCurrentPathEqualTo(n)||s){let c=this.browserPageId,u=w(w({},a),this.generateNgRouterState(i,c,r));this.location.replaceState(n,``,u)}else{let c=w(w({},a),this.generateNgRouterState(i,this.browserPageId+1,r));this.location.go(n,``,c)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution===`computed`){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===n.finalUrl&&i===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution===`replace`&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),``,this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r,o){return this.canceledNavigationResolution===`computed`?w({navigationId:n,ɵrouterPageId:r},this.routerUrlState(o)):w({navigationId:n},this.routerUrlState(o))}static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:e.ɵfac})}return e})();function Kl(e,t){e.events.pipe(Se(n=>n instanceof Ot||n instanceof Nt||n instanceof Co||n instanceof wn),R(n=>n instanceof Ot||n instanceof wn?0:(n instanceof Nt?n.code===Je.Redirect||n.code===Je.SupersededByNewNavigation:!1)?2:1),Se(n=>n!==2),Ge(1)).subscribe(()=>{t()})}var kt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=g(Bu);stateManager=g(Wl);options=g(Yn,{optional:!0})||{};pendingTasks=g(Ln);urlUpdateStrategy=this.options.urlUpdateStrategy||`deferred`;navigationTransitions=g(Gl);
5urlSerializer=g(_r);location=g(wr);urlHandlingStrategy=g(ql);injector=g(he);_events=new re;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=g(Mb);injectorCleanup=g(Tb,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||`ignore`;config=g(To,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!g(Ra,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new Re;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=ne(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Nt&&r.code!==Je.Redirect&&r.code!==Je.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Ot)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof ki){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=w({scroll:o.extras.scroll,browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy===`eager`||LP(o.source)},s);this.scheduleNavigation(a,xi,null,c,o.hasUAVisualTransition,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Fk(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),xi,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o,i,s)=>{this.navigateToSyncWithBrowser(n,o,r,i,s)})}navigateToSyncWithBrowser(n,r,o,i,s){let a=o?.navigationId?o:null,c=o?.ɵrouterUrl??n;if(o?.ɵrouterUrl&&(i=x(w({},i),{browserUrl:n})),o){let l=w({},o);delete l.navigationId,delete l.ɵrouterPageId,delete l.ɵrouterUrl,Object.keys(l).length!==0&&(i.state=l)}let u=this.parseUrl(c);this.scheduleNavigation(u,r,a,i,s).catch(l=>{this.disposed||this.injector.get(pt)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return ne(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Qg),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case`merge`:l=w(w({},this.currentUrlTree.queryParams),i);break;case`preserve`:l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{d=tb(o?o.snapshot:this.routerState.snapshot.root)}catch(f){(typeof n[0]!=`string`||n[0][0]!==`/`)&&(n=[]),d=this.currentUrlTree.root}return nb(d,n,l,u??null,this.urlSerializer)}navigateByUrl(n,r={skipLocationChange:!1}){let o=Sr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,xi,null,r)}navigate(n,r={skipLocationChange:!1}){return UP(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch(r){return this.console.warn(_t(4018,!1)),this.urlSerializer.parse(`/`)}}isActive(n,r){let o;if(r===!0?o=w({}
5,GE):r===!1?o=w({},Og):o=w(w({},Og),r),Sr(n))return PE(this.currentUrlTree,n,o);let i=this.parseUrl(n);return PE(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((f,h)=>{c=f,u=h});let d=this.pendingTasks.add();return Kl(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,hasUAVisualTransition:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(Promise.reject.bind(Promise))}static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:e.ɵfac})}return e})();function UP(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new S(4008,!1)}var BP=(()=>{class e{router=g(kt);stateManager=g(Wl);fragment=ce(``);queryParams=ce({});path=ce(``);serializer=g(_r);constructor(){this.updateState(),this.router.events?.subscribe(n=>{n instanceof Ot&&this.updateState()})}updateState(){let{fragment:n,root:r,queryParams:o}=this.stateManager.getCurrentUrlTree();this.fragment.set(n),this.queryParams.set(o),this.path.set(this.serializer.serialize(new Dt(r)))}static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:e.ɵfac})}return e})();var Yl=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=g(new Gu(`href`),{optional:!0});reactiveHref=Kp(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return ne(this.reactiveHref)}set href(n){this.reactiveHref.set(n)}set target(n){this._target.set(n)}get target(){return ne(this._target)}_target=ce(void 0);set queryParams(n){this._queryParams.set(n)}get queryParams(){return ne(this._queryParams)}_queryParams=ce(void 0,{equal:()=>!1});set fragment(n){this._fragment.set(n)}get fragment(){return ne(this._fragment)}_fragment=ce(void 0);set queryParamsHandling(n){this._queryParamsHandling.set(n)}get queryParamsHandling(){return ne(this._queryParamsHandling)}_queryParamsHandling=ce(void 0);set state(n){this._state.set(n)}get state(){return ne(this._state)}_state=ce(void 0,{equal:()=>!1});set info(n){this._info.set(n)}get info(){return ne(this._info)}_info=ce(void 0,{equal:()=>!1});set relativeTo(n){this._relativeTo.set(n)}get relativeTo(){return ne(this._relativeTo)}_relativeTo=ce(void 0);set preserveFragment(n){this._preserveFragment.set(n)}get preserveFragment(){return ne(this._preserveFragment)}_preserveFragment=ce(!1);set skipLocationChange(n){this._skipLocationChange.set(n)}get skipLocationChange(){return ne(this._skipLocationChange)}_skipLocationChange=ce(!1);set replaceUrl(n){this._replaceUrl.set(n)}get replaceUrl(){return ne(this._replaceUrl)}_replaceUrl=ce(!1);browserUrl=Wu(void 0);isAnchorElement;onChanges=new re;applicationErrorHandler=g(pt);options=g(Yn,{optional:!0});reactiveRouterState=g(BP);constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c===`a`||c===`area`||!!(typeof customElements==`object`&&customElements.get(c)?.observedAttributes?.includes?.(`href`))}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue(`tabindex`,n)}ngOnChanges(n){this.onChanges.next(this)}routerLinkInput=ce(null);set routerLink(n){n==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(Sr(n)?this.routerLinkInput.set(n):this.routerLinkInput.set(Array.isArray(n)?n:[n]),this.setTabIndexIfNotOnNativeEl(`0`))}onClick(n,r,o,i,s){let a=this._urlTree();if(a===null||this.isAnchorElement&&(n!==0||r||o||i||s||typeof this.target==`string`&&this.target!=`_self`))return!0;let c=this.browserUrl(),u=w({skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info},c!==void 0&&{browserUrl:c});return this.router.navigateByUrl(a,u)?.catch(l=>{this.applicationErrorHandler(l)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(n,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,n,r):o.removeAttribute(i,n)}_urlTree=bi(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let n=o=>o===`preserve`||o===`merge`;(n(this._queryParamsHandling())||n(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:Sr(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(n,r)=>this.computeHref(n)===this.computeHref(r)});get urlTree(){return ne(this._urlTree)}computeHref(n){return n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n))??``:null}static ɵfac=function(r){return new(r||e)(be(kt),be(Dn),Ws(`tabindex`),be(po),be(Un),be(Gt))};static ɵdir=Bn({type:e,selectors:[[``,`routerLink`,``]],hostVars:2,hostBindings:function(r,o){r&1&&Ei(`click`,function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Si(`href`,o.reactiveHref(),rp)(`target`,o._target())},inputs:{target:`target`,queryParams:`queryParams`,fragment:`fragment`,queryParamsHandling:`queryParamsHandling`,state:`state`,info:`info`,relativeTo:`relativeTo`,preserveFragment:[2,`preserveFragment`,`preserveFragment`,Eo],skipLocationChange:[2,`skipLocationChange`,`skipLocationChange`,Eo],replaceUrl:[2,`replaceUrl`,`replaceUrl`,Eo],browserUrl:[1,`browserUrl`],routerLink:`routerLink`},features:[yo]})}return e})();var Na=class{};var HP=(()=>{class e{preload(n,r){return r().pipe(pe(()=>D(null)))}static ɵfac=function(r){return new(r||e)};static ɵprov=te({token:e,factory:e.ɵfac})}return e})();var xb=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(n,r,o,i){this.router=n,this.injector=r,this.preloadingStrategy=o,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(Se(n=>n instanceof Ot),nr(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(n,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=yi(i.providers,n,``));let s=i._injector??n;i._loadedNgModuleFactory&&!i._loadedInjector&&(i._loadedInjector=i._loadedNgModuleFactory.create(s).injector);let a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return $(o).pipe(tr())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{if(n.destroyed)return D(null);let o;r.loadChildren&&r.canLoad===void 0?o=$(this.loader.loadChildren(n,r)):o=D(null);let i=o.pipe(Ae(s=>s===null?D(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,r._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??n,s.routes))));if(r.loadComponent&&!r._loadedComponent)return $([i,this.loader.loadComponent(n,r)]).pipe(tr());else return i})}static ɵfac=function(r){return new(r||e)(m(kt),m(he),m(Na),m(zl))};static ɵprov=I({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var om=new _(``);var Rb=(()=>{class e{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=xi;restoredId=0;store={};isHydrating=g(Zh,{optional:!0})??!1;
5urlSerializer=g(_r);zone=g(Le);viewportScroller=g(fg);transitions=g(Gl);constructor(n){this.options=n,this.options.scrollPositionRestoration||=`disabled`,this.options.anchorScrolling||=`disabled`,this.isHydrating&&g(vr).whenStable().then(()=>{this.isHydrating=!1})}init(){this.options.scrollPositionRestoration!==`disabled`&&this.viewportScroller.setHistoryScrollRestoration(`manual`),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Er?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Ot?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof wn&&n.code===Ai.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{if(!(n instanceof Ni)||n.scrollBehavior===`manual`)return;let r={behavior:`instant`};n.position?this.options.scrollPositionRestoration===`top`?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration===`enabled`&&this.viewportScroller.scrollToPosition(n.position,r):n.anchor&&this.options.anchorScrolling===`enabled`?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!==`disabled`&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(n,r){if(this.isHydrating)return;let o=ne(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(()=>B$1(this,null,function*(){yield new Promise(i=>{setTimeout(i),typeof requestAnimationFrame<`u`&&requestAnimationFrame(i)}),this.zone.run(()=>{this.transitions.events.next(new Ni(n,this.lastSource===`popstate`?this.store[this.restoredId]:null,r,o))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static ɵfac=function(r){ea()};static ɵprov=I({token:e,factory:e.ɵfac})}return e})();function VP(e,...t){return on([{provide:To,multi:!0,useValue:e},{provide:Dn,useFactory:Ab},{provide:Di,multi:!0,useFactory:Nb},t.map(n=>n.ɵproviders)])}function Ab(){return g(kt).routerState.root}function Mo(e,t){return{ɵkind:e,ɵproviders:t}}function zP(e={}){return Mo(4,[{provide:om,useFactory:()=>new Rb(e)}])}function Nb(){let e=g(Pe);return t=>{let n=e.get(vr);if(t!==n.components[0])return;let r=e.get(kt),o=e.get(Ob);e.get(im)===1&&r.initialNavigation(),e.get(Lb,null,{optional:!0})?.setUpPreloading(),e.get(om,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var Ob=new _(``,{factory:()=>new re});var im=new _(``,{factory:()=>1});function kb(){return Mo(2,[{provide:_u,useValue:!0},{provide:im,useValue:0},$u(()=>{let t=g(Pe);return t.get(tg,Promise.resolve()).then(()=>new Promise(r=>{let o=t.get(kt),i=t.get(Ob);Kl(o,()=>{r(!0)}),t.get(Gl).afterPreactivation=()=>(r(!0),i.closed?D(void 0):i),o.initialNavigation()}))})])}function Pb(){return Mo(3,[$u(()=>{g(kt).setUpLocationChangeListener()}),{provide:im,useValue:2}])}var Lb=new _(``);function Fb(e){return Mo(0,[{provide:Lb,useExisting:xb},{provide:Na,useExisting:e}])}function qP(e){return Mo(5,[{provide:Yn,useValue:e}])}function jb(e={}){return Mo(8,[{provide:Ra,useFactory:()=>new lb(e,g(Jg,{optional:!0}))}])}function Ub(e){gt(`NgRouterViewTransitions`);return Mo(9,[{provide:em,useValue:Cb},{provide:tm,useValue:w({skipNextTransition:!!e?.skipInitialTransition},e)}])}var $b=[wr,{provide:_r,useClass:Kn},kt,br,{provide:Dn,useFactory:Ab},zl];var GP=(()=>{class e{constructor(){}static forRoot(n,r){return{ngModule:e,providers:[$b,[],{provide:To,multi:!0,useValue:n},[],r?.errorHandler?{provide:nm,useValue:r.errorHandler}:[],{provide:Yn,useValue:r||{}},r?.useHash?KP():YP(),WP(),r?.preloadingStrategy?Fb(r.preloadingStrategy).ɵproviders:[],r?.initialNavigation?ZP(r):[],r?.bindToComponentInputs?jb(typeof r.bindToComponentInputs==`object`?r.bindToComponentInputs:{}).ɵproviders:[],r?.enableViewTransitions?Ub().ɵproviders:[],QP()]}}static forChild(n){return{ngModule:e,providers:[{provide:To,multi:!0,useValue:n}]}}static ɵfac=function(r){return new(r||e)};static ɵmod=wi({type:e});static ɵinj=Zr({})}return e})();function WP(){return{provide:om,useFactory:()=>{let e=g(fg),t=g(Yn);return t.scrollOffset&&e.setOffset(t.scrollOffset),new Rb(t)}}}function KP(){return{provide:Gt,useClass:ag}}function YP(){return{provide:Gt,useClass:Zu}}function ZP(e){return[e.initialNavigation===`disabled`?Pb().ɵproviders:[],e.initialNavigation===`enabledBlocking`?kb().ɵproviders:[]]}var rm=new _(``);function QP(){return[{provide:rm,useFactory:Nb},{provide:Di,multi:!0,useExisting:rm}]}function Bb(e){e||(e=g(me));let t=new j(n=>{if(e.destroyed){n.next();return}return e.onDestroy(n.next.bind(n))});return n=>n.pipe(en(t))}function jJ(e,t){let r=!t?.manualCleanup?t?.injector?.get(me)??g(me):null,o=JP(t?.equal),i;t?.requireSync?i=ce({kind:0},{equal:o}):i=ce({kind:1,value:t?.initialValue},{equal:o});let s,a=e.subscribe({next:c=>i.set({kind:1,value:c}),error:c=>{i.set({kind:2,error:c}),s?.()},complete:()=>{s?.()}});if(t?.requireSync&&i().kind===0)throw new S(601,!1);return s=r?.onDestroy(a.unsubscribe.bind(a)),bi(()=>{let c=i();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new S(601,!1)}},{equal:t?.equal})}function JP(e=Object.is){return(t,n)=>t.kind===1&&n.kind===1&&e(t.value,n.value)}
5var N=(function(e){return e.crmapi=`crmapi`,e.dps3api=`dps3api`,e.dmsapi=`dmsapi`,e.dmsApiEdit=`dmsapi-edit`,e.ipsApi=`ipsapi`,e.vpsApi=`vpsapi`,e.vsApi=`vsapi`,e.vsApiTus=`vsapitus`,e.ips=`ips`,e.crmAuth=`crm-auth`,e.tagApi2=`tagapi2`,e.irisApi=`irisapi`,e.dwApi=`dwapi`,e.evtApi=`evtapi`,e.evtApi2=`evtapi2`,e.dps3Site=`dps3-site`,e.dssApi=`dssapi`,e.origamiApi=`origamiapi`,e.ssoSite=`sso-site`,e})(N||{});var XP=new _(`NtmSettingsConfig`);var Pt=(()=>{let t=class t{constructor(r,o){this.settingsConfig=r,this.platformId=o,this.hosts=new Map([[N.dps3api,{local:`http://localhost:3429/api`,dev:`https://dps3-api-dev.ntm.eu/api`,stage:`https://dps3-api-stage.ntm.eu/api`,prod:`https://dps3-api.ntm.eu/api`}],[N.crmapi,{local:`http://localhost:3429/api`,dev:`https://crm-api-dev.ntm.eu/api`,stage:`https://crm-api-stage.ntm.eu/api`,prod:`https://crm-api.ntm.eu/api`}],[N.crmAuth,{local:`https://crm-auth-dev.ntm.eu/signin`,dev:`https://crm-auth-dev.ntm.eu/signin`,stage:`https://crm-auth.ntm.eu/signin`,prod:`https://crm-auth.ntm.eu/signin`}],[N.dmsapi,{local:`http://localhost:65504/api`,dev:`https://dms-api-dev.ntm.eu/api`,stage:`https://dms-api-stage.ntm.eu/api`,prod:`https://dms-api.ntm.eu/api`}],[N.dmsApiEdit,{local:`http://localhost:65504/api`,dev:`https://dms-api-dev-03.ntm.eu/api`,stage:`https://dms-api-stage.ntm.eu/api`,prod:`https://dms-api-03.ntm.eu/api`}],[N.ipsApi,{local:`http://localhost:65504`,dev:`https://ninfs-apim-dev.azure-api.net/ncmsms/ips`,stage:`https://api.ntm.se/ncmsms/ips`,prod:`https://api.ntm.se/ncmsms/ips`}],[N.vpsApi,{local:`http://localhost:5198`,dev:`https://vps-api-dev.ntm.se/api`,stage:`https://vps-api.ntm.se/api`,prod:`https://vps-api.ntm.se/api`}],[N.vsApi,{local:`http://localhost:5198`,dev:`https://vs-api-dev.ntm.se/api`,stage:`https://vs-api.ntm.se/api`,prod:`https://vs-api.ntm.se/api`}],[N.vsApiTus,{local:`http://localhost:5198`,dev:`https://vs-api-dev.ntm.se/tus`,stage:`https://vs-api.ntm.se/tus`,prod:`https://vs-api.ntm.se/tus`}],[N.ips,{local:`http://localhost:65504`,dev:`https://ips-dev.ntm.se`,stage:`https://ips.ntm.se`,prod:`https://ips.ntm.se`}],[N.tagApi2,{local:`http://localhost:3429/api`,dev:`https://tag2-api-dev.ntm.eu/api`,stage:`https://tag2-api-stage.ntm.eu/api`,prod:`https://tag2-api.ntm.eu/api`}],[N.irisApi,{local:`http://localhost:3429/api`,dev:`https://iris-api-dev.ntm.eu/api`,stage:`https://iris-api-stage.ntm.eu/api`,prod:`https://iris-api.ntm.eu/api`}],[N.dwApi,{local:`http://localhost:3429/api`,dev:`https://dw-api-dev.ntm.eu/api`,stage:`https://dw-api-stage.ntm.eu/api`,prod:`https://dw-api.ntm.eu/api`}],[N.evtApi,{local:`http://localhost:44335/api`,dev:`https://evt-api-dev.ntm.eu/api`,stage:`https://evt-api-stage.ntm.eu/api`,prod:`https://evt-api.ntm.eu/api`}],[N.evtApi2,{local:`http://localhost:44335/api`,dev:`https://ca-collector-dev.purplebay-e83c0c88.swedencentral.azurecontainerapps.io/api`,stage:`https://ca-collector-dev.purplebay-e83c0c88.swedencentral.azurecontainerapps.io/api`,prod:`https://ca-collector-dev.purplebay-e83c0c88.swedencentral.azurecontainerapps.io/api`}],[N.dps3Site,{local:`http://localhost:4200`,dev:`https://dps-dev.ntm.se`,stage:`https://dps.ntm.se`,prod:`https://dps.ntm.se`}],[N.dssApi,{local:`http://localhost:61096/api`,dev:`https://dss-api-dev.ntm.eu/api`,stage:`https://dss-api.ntm.eu/api`,prod:`https://dss-api.ntm.eu/api`}],[N.origamiApi,{local:`http://localhost:61096/api`,dev:`https://origami3-api-dev.ntm.eu/api`,stage:`https://origami3-api-stage.ntm.eu/api`,prod:`https://origami3-api.ntm.eu/api`}],[N.ssoSite,{local:`http://localhost:5000`,dev:`https://login-dev.ntm.se`,stage:`https://login.ntm.se`,prod:`https://login.ntm.se`}]]),this.geocodingApiLink=`https://maps.googleapis.com/maps/api/geocode/json?key=AIzaSyDaQ5uIs8BMEIIhB-435aiV51CTOzI1n1I`,this.selectedEnvSubject=new qe(1),this._defaultInterceptHosts=[N.dps3api,N.crmapi,N.dmsapi,N.dmsApiEdit,N.ipsApi,N.vpsApi,N.vsApi,N.vsApiTus,N.tagApi2,N.irisApi,N.dwApi,N.evtApi,N.crmAuth],this.isBrowser=rl(o),this.settingsConfig&&this.settingsConfig.environment&&(this._selectedEnv=this.settingsConfig.environment,this.selectedEnvSubject.next(this._selectedEnv)),this.settingsConfig&&this.settingsConfig.hosts&&this.updateHosts(),this.settingsConfig&&this.settingsConfig.interceptHosts?this.setInterceptHosts(this.settingsConfig.interceptHosts):this.setInterceptHosts()}getHost(r){let o,i=this.hosts.get(r);return i?(o=i[this._selectedEnv.name],o||console.error(`ntm-settings.service: Invalid env ${this._selectedEnv.name}! Must be either of "local, dev, stage, prod".`)):console.error(`ntm-settings.service: Invalid host ${r}! Custom hosts must be declared when the module is imported.`),o}getInterceptHosts(){return this._interceptHosts}
5updateHosts(){this.settingsConfig.hosts.forEach(r=>{if(r&&r.key&&r.environments){let o=this.hosts.get(r.key);o?(Object.assign(o,r.environments),this.hosts.set(r.key,o)):this.hosts.set(r.key,r.environments)}})}setInterceptHosts(r){r&&(this._defaultInterceptHosts=this._defaultInterceptHosts.concat(r)),this._defaultInterceptHosts.forEach(o=>{let i=this.getHost(o);i?this._interceptHosts+=i+` `:console.error(`ntmSettings.service: We wanted to add ${o} to the intercept whitelist but it has not been declared as a host!`)})}};t.ɵfac=function(o){return new(o||t)(m(XP),m(Fn))},t.ɵprov=I({token:t,factory:t.ɵfac});return t})();var WJ=[Pt];var Hb=(()=>{let t=class t{constructor(){this._userDisabled=!1,this._pending=!1,this.cdr=g(yr),this.destroyRef=g(me)}set disabled(r){this._userDisabled=r,this.cdr.markForCheck()}get disabled(){return this._userDisabled}get isDisabled(){return this._userDisabled||this._pending}handleClick(){if(this._pending||this._userDisabled||!this.asyncClick)return;let r=typeof this.asyncClick==`function`?this.asyncClick():this.asyncClick;if(!r){console.error(`No observable or function provided to asyncClick directive`);return}
5this._pending=!0,this.cdr.markForCheck(),r.pipe(pe(o=>(console.error(o),D(null))),rr(()=>{this._pending=!1,this.cdr.markForCheck()}),Bb(this.destroyRef)).subscribe()}};t.ɵfac=function(o){return new(o||t)},t.ɵdir=Bn({type:t,selectors:[[``,`asyncClick`,``]],hostVars:5,hostBindings:function(o,i){o&1&&Ei(`click`,function(){return i.handleClick()}),o&2&&(Si(`disabled`,i.isDisabled?``:null),Vu(`mat-button-disabled`,i.isDisabled)(`disabled`,i.isDisabled))},inputs:{asyncClick:`asyncClick`,disabled:[2,`disabled`,`disabled`,Eo]}});return t})();var xo=class extends Error{};xo.prototype.name=`InvalidTokenError`;function tL(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let r=n.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r=`0`+r),`%`+r}))}function nL(e){let t=e.replace(/-/g,`+`).replace(/_/g,`/`);switch(t.length%4){case 0:break;case 2:t+=`==`;break;case 3:t+=`=`;break;default:throw new Error(`base64 string is not of the correct length`)}try{return tL(t)}catch(n){return atob(t)}}function Ro(e,t){if(typeof e!=`string`)throw new xo(`Invalid token specified: must be a string`);t||(t={});let n=t.header===!0?0:1,r=e.split(`.`)[n];if(typeof r!=`string`)throw new xo(`Invalid token specified: missing part #${n+1}`);let o;try{o=nL(r)}catch(i){throw new xo(`Invalid token specified: invalid base64 for part #${n+1} (${i.message})`)}try{return JSON.parse(o)}catch(i){throw new xo(`Invalid token specified: invalid json for part #${n+1} (${i.message})`)}}var rL={debug:()=>{},info:()=>{},warn:()=>{},error:()=>{}};var En;var bn;var Ql=(e=>(e[e.NONE=0]=`NONE`,e[e.ERROR=1]=`ERROR`,e[e.WARN=2]=`WARN`,e[e.INFO=3]=`INFO`,e[e.DEBUG=4]=`DEBUG`,e))(Ql||{});(e=>{function t(){En=3,bn=rL}e.reset=t;function n(o){if(!(0<=o&&o<=4))throw new Error(`Invalid log level`);En=o}e.setLevel=n;function r(o){bn=o}e.setLogger=r})(Ql||(Ql={}));var _e=class Sn{constructor(t){this._name=t}debug(...t){En>=4&&bn.debug(Sn._format(this._name,this._method),...t)}info(...t){En>=3&&bn.info(Sn._format(this._name,this._method),...t)}warn(...t){En>=2&&bn.warn(Sn._format(this._name,this._method),...t)}error(...t){En>=1&&bn.error(Sn._format(this._name,this._method),...t)}throw(t){throw this.error(t),t}create(t){let n=Object.create(this);return n._method=t,n.debug(`begin`),n}static createStatic(t,n){let r=new Sn(`${t}.${n}`);return r.debug(`begin`),r}static _format(t,n){let r=`[${t}]`;return n?`${r} ${n}:`:r}static debug(t,...n){En>=4&&bn.debug(Sn._format(t),...n)}static info(t,...n){En>=3&&bn.info(Sn._format(t),...n)}static warn(t,...n){En>=2&&bn.warn(Sn._format(t),...n)}static error(t,...n){En>=1&&bn.error(Sn._format(t),...n)}};Ql.reset();var Oa=class{static decode(e){try{return Ro(e)}catch(t){throw _e.error(`JwtUtils.decode`,t),t}}static generateSignedJwt(e,t,n){return B$1(this,null,function*(){let i=`${He.encodeBase64Url(new TextEncoder().encode(JSON.stringify(e)))}.${He.encodeBase64Url(new TextEncoder().encode(JSON.stringify(t)))}`,s=yield window.crypto.subtle.sign({name:`ECDSA`,hash:{name:`SHA-256`}},n,new TextEncoder().encode(i));return`${i}.${He.encodeBase64Url(new Uint8Array(s))}`})}static generateSignedJwtWithHmac(e,t,n){return B$1(this,null,function*(){let i=`${He.encodeBase64Url(new TextEncoder().encode(JSON.stringify(e)))}.${He.encodeBase64Url(new TextEncoder().encode(JSON.stringify(t)))}`,s=yield window.crypto.subtle.sign(`HMAC`,n,new TextEncoder().encode(i));return`${i}.${He.encodeBase64Url(new Uint8Array(s))}`})}};var oL=`10000000-1000-4000-8000-100000000000`;var am=e=>btoa([...new Uint8Array(e)].map(t=>String.fromCharCode(t)).join(``));var qb=class Yt{static _randomWord(){let t=new Uint32Array(1);return crypto.getRandomValues(t),t[0]}static generateUUIDv4(){return oL.replace(/[018]/g,n=>(+n^Yt._randomWord()&15>>+n/4).toString(16)).replace(/-/g,``)}static generateCodeVerifier(){return Yt.generateUUIDv4()+Yt.generateUUIDv4()+Yt.generateUUIDv4()}static generateCodeChallenge(t){return B$1(this,null,function*(){if(!crypto.subtle)throw new Error(`Crypto.subtle is available only in secure contexts (HTTPS).`);try{let r=new TextEncoder().encode(t);return am(yield crypto.subtle.digest(`SHA-256`,r)).replace(/\+/g,`-`).replace(/\//g,`_`).replace(/=+$/,``)}catch(n){throw _e.error(`CryptoUtils.generateCodeChallenge`,n),n}})}static generateBasicAuth(t,n){return am(new TextEncoder().encode([t,n].join(`:`)))}static hash(t,n){return B$1(this,null,function*(){let r=new TextEncoder().encode(n),o=yield crypto.subtle.digest(t,r);return new Uint8Array(o)})}static customCalculateJwkThumbprint(t){return B$1(this,null,function*(){let n;switch(t.kty){case`RSA`:n={e:t.e,kty:t.kty,n:t.n};break;case`EC`:n={crv:t.crv,kty:t.kty,x:t.x,y:t.y};break;case`OKP`:n={crv:t.crv,kty:t.kty,x:t.x};break;case`oct`:n={crv:t.k,kty:t.kty};break;default:throw new Error(`Unknown jwk type`)}let r=yield Yt.hash(`SHA-256`,JSON.stringify(n));return Yt.encodeBase64Url(r)})}static generateDPoPProof(s){return B$1(this,arguments,function*({url:t,accessToken:n,httpMethod:r,keyPair:o,nonce:i}
5){let a,c,u={jti:window.crypto.randomUUID(),htm:r??`GET`,htu:t,iat:Math.floor(Date.now()/1e3)};n&&(a=yield Yt.hash(`SHA-256`,n),c=Yt.encodeBase64Url(a),u.ath=c),i&&(u.nonce=i);try{let l=yield crypto.subtle.exportKey(`jwk`,o.publicKey),d={alg:`ES256`,typ:`dpop+jwt`,jwk:{crv:l.crv,kty:l.kty,x:l.x,y:l.y}};return yield Oa.generateSignedJwt(d,u,o.privateKey)}catch(l){throw l instanceof TypeError?new Error(`Error exporting dpop public key: ${l.message}`):l}})}static generateDPoPJkt(t){return B$1(this,null,function*(){try{let n=yield crypto.subtle.exportKey(`jwk`,t.publicKey);return yield Yt.customCalculateJwkThumbprint(n)}catch(n){throw n instanceof TypeError?new Error(`Could not retrieve dpop keys from storage: ${n.message}`):n}})}static generateDPoPKeys(){return B$1(this,null,function*(){return yield window.crypto.subtle.generateKey({name:`ECDSA`,namedCurve:`P-256`},!1,[`sign`,`verify`])})}static generateClientAssertionJwt(t,n,r,o=`HS256`){return B$1(this,null,function*(){let i=Math.floor(Date.now()/1e3),s={alg:o,typ:`JWT`},a={iss:t,sub:t,aud:r,jti:Yt.generateUUIDv4(),exp:i+300,iat:i},u={HS256:`SHA-256`,HS384:`SHA-384`,HS512:`SHA-512`}[o];if(!u)throw new Error(`Unsupported algorithm: ${o}. Supported algorithms are: HS256, HS384, HS512`);let l=new TextEncoder,d=yield crypto.subtle.importKey(`raw`,l.encode(n),{name:`HMAC`,hash:u},!1,[`sign`]);return yield Oa.generateSignedJwtWithHmac(s,a,d)})}};qb.encodeBase64Url=e=>am(e).replace(/=/g,``).replace(/\+/g,`-`).replace(/\//g,`_`);var He=qb;var iL=class{constructor(e){this._name=e,this._callbacks=[],this._logger=new _e(`Event('${this._name}')`)}addHandler(e){return this._callbacks.push(e),()=>this.removeHandler(e)}removeHandler(e){let t=this._callbacks.lastIndexOf(e);t>=0&&this._callbacks.splice(t,1)}raise(...e){return B$1(this,null,function*(){this._logger.debug(`raise:`,...e);for(let t of this._callbacks)yield t(...e)})}};var Jl=class Zl extends iL{constructor(){super(...arguments),this._logger=new _e(`Timer('${this._name}')`),this._timerHandle=null,this._expiration=0,this._callback=()=>{let t=this._expiration-Zl.getEpochTime();this._logger.debug(`timer completes in`,t),this._expiration<=Zl.getEpochTime()&&(this.cancel(),super.raise())}}static getEpochTime(){return Math.floor(Date.now()/1e3)}init(t){let n=this._logger.create(`init`);t=Math.max(Math.floor(t),1);let r=Zl.getEpochTime()+t;if(this.expiration===r&&this._timerHandle){n.debug(`skipping since already initialized for expiration at`,this.expiration);return}this.cancel(),n.debug(`using duration`,t),this._expiration=r;let o=Math.min(t,5);this._timerHandle=setInterval(this._callback,o*1e3)}get expiration(){return this._expiration}cancel(){this._logger.create(`cancel`),this._timerHandle&&(clearInterval(this._timerHandle),this._timerHandle=null)}};var Vb=class{static readParams(e,t=`query`){if(!e)throw new TypeError(`Invalid URL`);let r=new URL(e,`http://127.0.0.1`)[t===`fragment`?`hash`:`search`];
5return new URLSearchParams(r.slice(1))}};var Ui=`;`;var ka=class extends Error{constructor(e,t){var n,r,o;if(super(e.error_description||e.error||``),this.form=t,this.name=`ErrorResponse`,!e.error)throw _e.error(`ErrorResponse`,`No error passed`),new Error(`No error passed`);this.error=e.error,this.error_description=(n=e.error_description)!=null?n:null,this.error_uri=(r=e.error_uri)!=null?r:null,this.state=e.userState,this.session_state=(o=e.session_state)!=null?o:null,this.url_state=e.url_state}};var sL=class extends Error{constructor(e){super(e),this.name=`ErrorTimeout`}};var aL=class{constructor(){this._logger=new _e(`InMemoryWebStorage`),this._data={}}clear(){this._logger.create(`clear`),this._data={}}getItem(e){return this._logger.create(`getItem('${e}')`),this._data[e]}setItem(e,t){this._logger.create(`setItem('${e}')`),this._data[e]=t}removeItem(e){this._logger.create(`removeItem('${e}')`),delete this._data[e]}get length(){return Object.getOwnPropertyNames(this._data).length}key(e){return Object.getOwnPropertyNames(this._data)[e]}};var cm=class extends Error{constructor(e,t){super(t),this.name=`ErrorDPoPNonce`,this.nonce=e}};var dm=class{constructor(e=[],t=null,n={}){this._jwtHandler=t,this._extraHeaders=n,this._logger=new _e(`JsonService`),this._contentTypes=[],this._contentTypes.push(...e,`application/json`),t&&this._contentTypes.push(`application/jwt`)}fetchWithTimeout(n){return B$1(this,arguments,function*(e,t={}){let a=t,{timeoutInSeconds:r}=a,o=y(a,[`timeoutInSeconds`]);if(!r)return yield fetch(e,o);let i=new AbortController,s=setTimeout(()=>i.abort(),r*1e3);try{return yield fetch(e,x(w({},t),{signal:i.signal}))}catch(c){throw c instanceof DOMException&&c.name===`AbortError`?new sL(`Network timed out`):c}finally{clearTimeout(s)}})}getJson(o){return B$1(this,arguments,function*(e,{token:t,credentials:n,timeoutInSeconds:r}={}){let i=this._logger.create(`getJson`),s={Accept:this._contentTypes.join(`, `)};t&&(i.debug(`token passed, setting Authorization header`),s.Authorization=`Bearer `+t),this._appendExtraHeaders(s);let a;try{i.debug(`url:`,e),a=yield this.fetchWithTimeout(e,{method:`GET`,headers:s,timeoutInSeconds:r,credentials:n})}catch(l){throw i.error(`Network Error`),l}i.debug(`HTTP response received, status`,a.status);let c=a.headers.get(`Content-Type`);if(c&&!this._contentTypes.find(l=>c.startsWith(l))&&i.throw(new Error(`Invalid response Content-Type: ${c??`undefined`}, from URL: ${e}`)),a.ok&&this._jwtHandler&&c?.startsWith(`application/jwt`))return yield this._jwtHandler(yield a.text());let u;try{u=yield a.json()}catch(l){throw i.error(`Error parsing JSON response`,l),a.ok?l:new Error(`${a.statusText} (${a.status})`)}if(!a.ok)throw i.error(`Error from server:`,u),u.error?new ka(u):new Error(`${a.statusText} (${a.status}): ${JSON.stringify(u)}`);return u})}postForm(s,a){return B$1(this,arguments,function*(e,{body:t,basicAuth:n,timeoutInSeconds:r,initCredentials:o,extraHeaders:i}){let c=this._logger.create(`postForm`),u=w({Accept:this._contentTypes.join(`, `),"Content-Type":`application/x-www-form-urlencoded`},i);n!==void 0&&(u.Authorization=`Basic `+n),this._appendExtraHeaders(u);let l;try{c.debug(`url:`,e),l=yield this.fetchWithTimeout(e,{method:`POST`,headers:u,body:t,timeoutInSeconds:r,credentials:o})}catch(p){throw c.error(`Network error`),p}c.debug(`HTTP response received, status`,l.status);let d=l.headers.get(`Content-Type`);if(d&&!this._contentTypes.find(p=>d.startsWith(p)))throw new Error(`Invalid response Content-Type: ${d??`undefined`}, from URL: ${e}`);let f=yield l.text(),h={};if(f)try{h=JSON.parse(f)}catch(p){throw c.error(`Error parsing JSON response`,p),l.ok?p:new Error(`${l.statusText} (${l.status})`)}if(!l.ok){if(c.error(`Error from server:`,h),l.headers.has(`dpop-nonce`))throw new cm(l.headers.get(`dpop-nonce`),`${JSON.stringify(h)}`);throw h.error?new ka(h,t):new Error(`${l.statusText} (${l.status}): ${JSON.stringify(h)}`)}return h})}_appendExtraHeaders(e){let t=this._logger.create(`appendExtraHeaders`),n=Object.keys(this._extraHeaders),r=[`accept`,`content-type`],o=[`authorization`];
5n.length!==0&&n.forEach(i=>{if(r.includes(i.toLocaleLowerCase())){t.warn(`Protected header could not be set`,i,r);return}if(o.includes(i.toLocaleLowerCase())&&Object.keys(e).includes(i)){t.warn(`Header could not be overridden`,i,o);return}let s=typeof this._extraHeaders[i]==`function`?this._extraHeaders[i]():this._extraHeaders[i];s&&s!==``&&(e[i]=s)})}};var cL=class{constructor(e){this._settings=e,this._logger=new _e(`MetadataService`),this._signingKeys=null,this._metadata=null,this._metadataUrl=this._settings.metadataUrl,this._jsonService=new dm([`application/jwk-set+json`],null,this._settings.extraHeaders),this._settings.signingKeys&&(this._logger.debug(`using signingKeys from settings`),this._signingKeys=this._settings.signingKeys),this._settings.metadata&&(this._logger.debug(`using metadata from settings`),this._metadata=this._settings.metadata),this._settings.fetchRequestCredentials&&(this._logger.debug(`using fetchRequestCredentials from settings`),this._fetchRequestCredentials=this._settings.fetchRequestCredentials)}resetSigningKeys(){this._signingKeys=null}getMetadata(){return B$1(this,null,function*(){let e=this._logger.create(`getMetadata`);if(this._metadata)return e.debug(`using cached values`),this._metadata;if(!this._metadataUrl)throw e.throw(new Error(`No authority or metadataUrl configured on settings`)),null;e.debug(`getting metadata from`,this._metadataUrl);let t=yield this._jsonService.getJson(this._metadataUrl,{credentials:this._fetchRequestCredentials,timeoutInSeconds:this._settings.requestTimeoutInSeconds});return e.debug(`merging remote JSON with seed metadata`),this._metadata=Object.assign({},t,this._settings.metadataSeed),this._metadata})}getIssuer(){return this._getMetadataProperty(`issuer`)}getAuthorizationEndpoint(){return this._getMetadataProperty(`authorization_endpoint`)}getUserInfoEndpoint(){return this._getMetadataProperty(`userinfo_endpoint`)}getTokenEndpoint(e=!0){return this._getMetadataProperty(`token_endpoint`,e)}getCheckSessionIframe(){return this._getMetadataProperty(`check_session_iframe`,!0)}getEndSessionEndpoint(){return this._getMetadataProperty(`end_session_endpoint`,!0)}getRevocationEndpoint(e=!0){return this._getMetadataProperty(`revocation_endpoint`,e)}getKeysEndpoint(e=!0){return this._getMetadataProperty(`jwks_uri`,e)}_getMetadataProperty(e,t=!1){return B$1(this,null,function*(){let n=this._logger.create(`_getMetadataProperty('${e}')`),r=yield this.getMetadata();if(n.debug(`resolved`),r[e]===void 0){if(t===!0){n.warn(`Metadata does not contain optional property`);return}n.throw(new Error(`Metadata does not contain property `+e))}return r[e]})}getSigningKeys(){return B$1(this,null,function*(){let e=this._logger.create(`getSigningKeys`);if(this._signingKeys)return e.debug(`returning signingKeys from cache`),this._signingKeys;let t=yield this.getKeysEndpoint(!1);e.debug(`got jwks_uri`,t);let n=yield this._jsonService.getJson(t,{timeoutInSeconds:this._settings.requestTimeoutInSeconds});if(e.debug(`got key set`,n),!Array.isArray(n.keys))throw e.throw(new Error(`Missing keys on keyset`)),null;return this._signingKeys=n.keys,this._signingKeys})}};var uL=class{constructor({prefix:e=`oidc.`,store:t=localStorage}={}){this._logger=new _e(`WebStorageStateStore`),this._store=t,this._prefix=e}set(e,t){return B$1(this,null,function*(){this._logger.create(`set('${e}')`),e=this._prefix+e,yield this._store.setItem(e,t)})}get(e){return B$1(this,null,function*(){return this._logger.create(`get('${e}')`),e=this._prefix+e,yield this._store.getItem(e)})}remove(e){return B$1(this,null,function*(){this._logger.create(`remove('${e}')`),e=this._prefix+e;let t=yield this._store.getItem(e);return yield this._store.removeItem(e),t})}getAllKeys(){return B$1(this,null,function*(){this._logger.create(`getAllKeys`);let e=yield this._store.length,t=[];for(let n=0;n<e;n++){let r=yield this._store.key(n);r&&r.indexOf(this._prefix)===0&&t.push(r.substr(this._prefix.length))}return t})}};var lL=`code`;var dL=`openid`;var fL=`client_secret_post`;var hL=900;var zb=class{constructor({authority:e,metadataUrl:t,metadata:n,signingKeys:r,metadataSeed:o,client_id:i,client_secret:s,response_type:a=lL,scope:c=dL,redirect_uri:u,post_logout_redirect_uri:l,client_authentication:d=fL,token_endpoint_auth_signing_alg:f=`HS256`,prompt:h,display:p,max_age:v,ui_locales:b,acr_values:E,resource:T,response_mode:w,filterProtocolClaims:x=!0,loadUserInfo:F=!1,requestTimeoutInSeconds:q,staleStateAgeInSeconds:G=hL,mergeClaimsStrategy:ae={array:`replace`},disablePKCE:xe=!1,stateStore:Zt,revokeTokenAdditionalContentTypes:ct,fetchRequestCredentials:Po,refreshTokenAllowedScope:$a,extraQueryParams:TI={},extraTokenParams:MI={},extraHeaders:xI={},dpop:RI,omitScopeWhenRequesting:AI=!1}){var Im;if(this.authority=e,t?this.metadataUrl=t:(this.metadataUrl=e,e&&(this.metadataUrl.endsWith(`/`)||(this.metadataUrl+=`/`),this.metadataUrl+=`.well-known/openid-configuration`)),this.metadata=n,this.metadataSeed=o,this.signingKeys=r,this.client_id=i,this.client_secret=s,this.response_type=a,this.scope=c,this.redirect_uri=u,this.post_logout_redirect_uri=l,this.client_authentication=d,this.token_endpoint_auth_signing_alg=f,this.prompt=h,this.display=p,this.max_age=v,this.ui_locales=b,this.acr_values=E,this.resource=T,this.response_mode=w,this.filterProtocolClaims=x??!0,this.loadUserInfo=!!F,this.staleStateAgeInSeconds=G,this.mergeClaimsStrategy=ae,this.omitScopeWhenRequesting=AI,this.disablePKCE=!!xe,this.revokeTokenAdditionalContentTypes=ct,this.fetchRequestCredentials=Po||`same-origin`,this.requestTimeoutInSeconds=q,Zt)this.stateStore=Zt;else{let NI=typeof window<`u`?window.localStorage:new aL;this.stateStore=new uL({store:NI})}if(this.refreshTokenAllowedScope=$a,this.extraQueryParams=TI,this.extraTokenParams=MI,this.extraHeaders=xI,this.dpop=RI,this.dpop&&!((Im=this.dpop)!=null&&Im.store))throw new Error(`A DPoPStore is required when dpop is enabled`)}};var pL=class{constructor(e,t){this._settings=e,this._metadataService=t,this._logger=new _e(`UserInfoService`),this._getClaimsFromJwt=n=>B$1(this,null,function*(){let r=this._logger.create(`_getClaimsFromJwt`);try{let o=Oa.decode(n);return r.debug(`JWT decoding successful`),o}catch(o){throw r.error(`Error parsing JWT response`),o}}),this._jsonService=new dm(void 0,this._getClaimsFromJwt,this._settings.extraHeaders)}getClaims(e){return B$1(this,null,function*(){let t=this._logger.create(`getClaims`);e||this._logger.throw(new Error(`No token passed`));let n=yield this._metadataService.getUserInfoEndpoint();t.debug(`got userinfo url`,n);let r=yield this._jsonService.getJson(n,{token:e,credentials:this._settings.fetchRequestCredentials,timeoutInSeconds:this._settings.requestTimeoutInSeconds});return t.debug(`got claims`,r),r})}};var Gb=class{constructor(e,t){this._settings=e,this._metadataService=t,this._logger=new _e(`TokenClient`),this._jsonService=new dm(this._settings.revokeTokenAdditionalContentTypes,null,this._settings.extraHeaders)}exchangeCode(s){return B$1(this,null,function*(){var a=s,{grant_type:e=`authorization_code`,redirect_uri:t=this._settings.redirect_uri,client_id:n=this._settings.client_id,client_secret:r=this._settings.client_secret,extraHeaders:o}=a,i=y(a,[`grant_type`,`redirect_uri`,`client_id`,`client_secret`,`extraHeaders`]);let c=this._logger.create(`exchangeCode`);n||c.throw(new Error(`A client_id is required`)),t||c.throw(new Error(`A redirect_uri is required`)),i.code||c.throw(new Error(`A code is required`));let u=new URLSearchParams({grant_type:e,redirect_uri:t});for(let[h,p]of Object.entries(i))p!=null&&u.set(h,p);if((this._settings.client_authentication===`client_secret_basic`||this._settings.client_authentication===`client_secret_jwt`)&&r==null)throw c.throw(new Error(`A client_secret is required`)),null;let l,d=yield this._metadataService.getTokenEndpoint(!1);switch(this._settings.client_authentication){case`client_secret_basic`:l=He.generateBasicAuth(n,r);break;case`client_secret_post`:u.append(`client_id`,n),r&&u.append(`client_secret`,r);break;case`client_secret_jwt`:{let h=yield He.generateClientAssertionJwt(n,r,d,this._settings.token_endpoint_auth_signing_alg);u.append(`client_id`,n),u.append(`client_assertion_type`,`urn:ietf:params:oauth:client-assertion-type:jwt-bearer`),u.append(`client_assertion`,h);break}}c.debug(`got token endpoint`);let f=yield this._jsonService.postForm(d,{body:u,basicAuth:l,timeoutInSeconds:this._settings.requestTimeoutInSeconds,initCredentials:this._settings.fetchRequestCredentials,extraHeaders:o});return c.debug(`got response`),f})}exchangeCredentials(i){return B$1(this,null,function*(){var s=i,{grant_type:e=`password`,client_id:t=this._settings.client_id,client_secret:n=this._settings.client_secret,scope:r=this._settings.scope}=s,o=y(s,[`grant_type`,`client_id`,`client_secret`,`scope`]);let a=this._logger.create(`exchangeCredentials`);t||a.throw(new Error(`A client_id is required`));let c=new URLSearchParams({grant_type:e});this._settings.omitScopeWhenRequesting||c.set(`scope`,r);for(let[f,h]of Object.entries(o))h!=null&&c.set(f,h);if((this._settings.client_authentication===`client_secret_basic`||this._settings.client_authentication===`client_secret_jwt`)&&n==null)throw a.throw(new Error(`A client_secret is required`)),null;let u,l=yield this._metadataService.getTokenEndpoint(!1);switch(this._settings.client_authentication){case`client_secret_basic`:u=He.generateBasicAuth(t,n);break;case`client_secret_post`:c.append(`client_id`,t),n&&c.append(`client_secret`,n);break;case`client_secret_jwt`:{let f=yield He.generateClientAssertionJwt(t,n,l,this._settings.token_endpoint_auth_signing_alg);c.append(`client_id`,t),c.append(`client_assertion_type`,`urn:ietf:params:oauth:client-assertion-type:jwt-bearer`),c.append(`client_assertion`,f);break}}a.debug(`got token endpoint`);let d=yield this._jsonService.postForm(l,{body:c,basicAuth:u,timeoutInSeconds:this._settings.requestTimeoutInSeconds,initCredentials:this._settings.fetchRequestCredentials});return a.debug(`got response`),d})}exchangeRefreshToken(s){return B$1(this,null,function*(){var a=s,{grant_type:e=`refresh_token`,client_id:t=this._settings.client_id,client_secret:n=this._settings.client_secret,timeoutInSeconds:r,extraHeaders:o}=a,i=y(a,[`grant_type`,`client_id`,`client_secret`,`timeoutInSeconds`,`extraHeaders`]);let c=this._logger.create(`exchangeRefreshToken`);t||c.throw(new Error(`A client_id is required`)),i.refresh_token||c.throw(new Error(`A refresh_token is required`));let u=new URLSearchParams({grant_type:e});for(let[h,p]of Object.entries(i))Array.isArray(p)?p.forEach(v=>u.append(h,v)):p!=null&&u.set(h,p);if((this._settings.client_authentication===`client_secret_basic`||this._settings.client_authentication===`client_secret_jwt`)&&n==null)throw c.throw(new Error(`A client_secret is required`)),null;let l,d=yield this._metadataService.getTokenEndpoint(!1);switch(this._settings.client_authentication){case`client_secret_basic`:l=He.generateBasicAuth(t,n);break;case`client_secret_post`:u.append(`client_id`,t),n&&u.append(`client_secret`,n);break;case`client_secret_jwt`:{let h=yield He.generateClientAssertionJwt(t,n,d,this._settings.token_endpoint_auth_signing_alg);u.append(`client_id`,t),u.append(`client_assertion_type`,`urn:ietf:params:oauth:client-assertion-type:jwt-bearer`),u.append(`client_assertion`,h);break}}c.debug(`got token endpoint`);let f=yield this._jsonService.postForm(d,{body:u,basicAuth:l,timeoutInSeconds:r,initCredentials:this._settings.fetchRequestCredentials,extraHeaders:o});return c.debug(`got response`),f})}revoke(e){return B$1(this,null,function*(){var t;let n=this._logger.create(`revoke`);e.token||n.throw(new Error(`A token is required`));let r=yield this._metadataService.getRevocationEndpoint(!1);n.debug(`got revocation endpoint, revoking ${(t=e.token_type_hint)!=null?t:`default token type`}`);let o=new URLSearchParams;for(let[i,s]of Object.entries(e))s!=null&&o.set(i,s);o.set(`client_id`,this._settings.client_id),this._settings.client_secret&&o.set(`client_secret`,this._settings.client_secret),yield this._jsonService.postForm(r,{body:o,timeoutInSeconds:this._settings.requestTimeoutInSeconds}),n.debug(`got response`)})}};var gL=class{constructor(e,t,n){this._settings=e,this._metadataService=t,this._claimsService=n,this._logger=new _e(`ResponseValidator`),this._userInfoService=new pL(this._settings,this._metadataService),this._tokenClient=new Gb(this._settings,this._metadataService)}validateSigninResponse(e,t,n){return B$1(this,null,function*(){let r=this._logger.create(`validateSigninResponse`);this._processSigninState(e,t),r.debug(`state processed`),yield this._processCode(e,t,n),r.debug(`code processed`),e.isOpenId&&this._val
5idateIdTokenAttributes(e,``,t.nonce),r.debug(`tokens validated`),yield this._processClaims(e,t?.skipUserInfo,e.isOpenId),r.debug(`claims processed`)})}validateCredentialsResponse(e,t){return B$1(this,null,function*(){let n=this._logger.create(`validateCredentialsResponse`),r=e.isOpenId&&!!e.id_token;r&&this._validateIdTokenAttributes(e),n.debug(`tokens validated`),yield this._processClaims(e,t,r),n.debug(`claims processed`)})}validateRefreshResponse(e,t){return B$1(this,null,function*(){let o=this._logger.create(`validateRefreshResponse`);e.userState=t.data,e.session_state??=t.session_state,e.scope??=t.scope,e.isOpenId&&e.id_token&&(this._validateIdTokenAttributes(e,t.id_token),o.debug(`ID Token validated`)),e.id_token||(e.id_token=t.id_token,e.profile=t.profile);let i=e.isOpenId&&!!e.id_token;yield this._processClaims(e,!1,i),o.debug(`claims processed`)})}validateSignoutResponse(e,t){let n=this._logger.create(`validateSignoutResponse`);if(t.id!==e.state&&n.throw(new Error(`State does not match`)),n.debug(`state validated`),e.userState=t.data,e.error)throw n.warn(`Response was error`,e.error),new ka(e)}_processSigninState(e,t){let r=this._logger.create(`_processSigninState`);if(t.id!==e.state&&r.throw(new Error(`State does not match`)),t.client_id||r.throw(new Error(`No client_id on state`)),t.authority||r.throw(new Error(`No authority on state`)),this._settings.authority!==t.authority&&r.throw(new Error(`authority mismatch on settings vs. signin state`)),this._settings.client_id&&this._settings.client_id!==t.client_id&&r.throw(new Error(`client_id mismatch on settings vs. signin state`)),r.debug(`state validated`),e.userState=t.data,e.url_state=t.url_state,e.scope??=t.scope,e.error)throw r.warn(`Response was error`,e.error),new ka(e);t.code_verifier&&!e.code&&r.throw(new Error(`Expected code in response`))}_processClaims(e,t=!1,n=!0){return B$1(this,null,function*(){let r=this._logger.create(`_processClaims`);if(e.profile=this._claimsService.filterProtocolClaims(e.profile),t||!this._settings.loadUserInfo||!e.access_token){r.debug(`not loading user info`);return}r.debug(`loading user info`);let o=yield this._userInfoService.getClaims(e.access_token);r.debug(`user info claims received from user info endpoint`),n&&o.sub!==e.profile.sub&&r.throw(new Error(`subject from UserInfo response does not match subject in ID Token`)),e.profile=this._claimsService.mergeClaims(e.profile,this._claimsService.filterProtocolClaims(o)),r.debug(`user info claims received, updated profile:`,e.profile)})}_processCode(e,t,n){return B$1(this,null,function*(){let r=this._logger.create(`_processCode`);if(e.code){r.debug(`Validating code`);let o=yield this._tokenClient.exchangeCode(w({client_id:t.client_id,client_secret:t.client_secret,code:e.code,redirect_uri:t.redirect_uri,code_verifier:t.code_verifier,extraHeaders:n},t.extraTokenParams));Object.assign(e,o)}else r.debug(`No code to process`)})}_validateIdTokenAttributes(e,t,n){var r;let o=this._logger.create(`_validateIdTokenAttributes`);o.debug(`decoding ID Token JWT`);let i=Oa.decode((r=e.id_token)!=null?r:``);if(i.sub||o.throw(new Error(`ID Token is missing a subject claim`)),n&&i.nonce!==n&&o.throw(new Error(`nonce in id_token does not match nonce in client storage`)),t){let s=Oa.decode(t);i.sub!==s.sub&&o.throw(new Error(`sub in id_token does not match current sub`)),i.auth_time&&i.auth_time!==s.auth_time&&o.throw(new Error(`auth_time in id_token does not match original auth_time`)),i.azp&&i.azp!==s.azp&&o.throw(new Error(`azp in id_token does not match original azp`)),!i.azp&&s.azp&&o.throw(new Error(`azp not in id_token, but present in original id_token`))}e.profile=i}};var Xl=class um{constructor(t){this.id=t.id||He.generateUUIDv4(),this.data=t.data,t.created&&t.created>0?this.created=t.created:this.created=Jl.getEpochTime(),this.request_type=t.request_type,this.url_state=t.url_state}toStorageString(){return new _e(`State`).create(`toStorageString`),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,url_state:this.url_state})}static fromStorageString(t){return _e.createStatic(`State`,`fromStorageString`),Promise.resolve(new um(JSON.parse(t)))}static clearStaleState(t,n){return B$1(this,null,function*(){let r=_e.createStatic(`State`,`clearStaleState`),o=Jl.getEpochTime()-n,i=yield t.getAllKeys();r.debug(`got keys`,i);for(let s=0;s<i.length;s++){let a=i[s],c=yield t.get(a),u=!1;if(c)try{let l=yield um.fromStorageString(c);r.debug(`got item from key:`,a,l.created),l.created<=o&&(u=!0)}catch(l){r.error(`Error parsing state for key:`,a,l),u=!0}else r.debug(`no item in storage for key:`,a),u=!0;u&&(r.debug(`removed item for key:`,a),t.remove(a))}})}};var Wb=class lm extends Xl{constructor(t){super(t),this.code_verifier=t.code_verifier,this.co
5de_challenge=t.code_challenge,this.authority=t.authority,this.client_id=t.client_id,this.redirect_uri=t.redirect_uri,this.scope=t.scope,this.client_secret=t.client_secret,this.extraTokenParams=t.extraTokenParams,this.response_mode=t.response_mode,this.skipUserInfo=t.skipUserInfo,this.nonce=t.nonce}static create(t){return B$1(this,null,function*(){let n=t.code_verifier===!0?He.generateCodeVerifier():t.code_verifier||void 0,r=n?yield He.generateCodeChallenge(n):void 0;return new lm(x(w({},t),{code_verifier:n,code_challenge:r}))})}toStorageString(){return new _e(`SigninState`).create(`toStorageString`),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,url_state:this.url_state,code_verifier:this.code_verifier,authority:this.authority,client_id:this.client_id,redirect_uri:this.redirect_uri,scope:this.scope,client_secret:this.client_secret,extraTokenParams:this.extraTokenParams,response_mode:this.response_mode,skipUserInfo:this.skipUserInfo,nonce:this.nonce})}static fromStorageString(t){_e.createStatic(`SigninState`,`fromStorageString`);let n=JSON.parse(t);return lm.create(n)}};var Kb=class Yb{constructor(t){this.url=t.url,this.state=t.state}static create(F){return B$1(this,null,function*(){var q=F,{url:t,authority:n,client_id:r,redirect_uri:o,response_type:i,scope:s,state_data:a,response_mode:c,request_type:u,client_secret:l,nonce:d,url_state:f,resource:h,skipUserInfo:p,extraQueryParams:v,extraTokenParams:b,disablePKCE:E,dpopJkt:T,omitScopeWhenRequesting:w$1}=q,x=y(q,[`url`,`authority`,`client_id`,`redirect_uri`,`response_type`,`scope`,`state_data`,`response_mode`,`request_type`,`client_secret`,`nonce`,`url_state`,`resource`,`skipUserInfo`,`extraQueryParams`,`extraTokenParams`,`disablePKCE`,`dpopJkt`,`omitScopeWhenRequesting`]);if(!t)throw this._logger.error(`create: No url passed`),new Error(`url`);if(!r)throw this._logger.error(`create: No client_id passed`),new Error(`client_id`);if(!o)throw this._logger.error(`create: No redirect_uri passed`),new Error(`redirect_uri`);if(!i)throw this._logger.error(`create: No response_type passed`),new Error(`response_type`);if(!s)throw this._logger.error(`create: No scope passed`),new Error(`scope`);if(!n)throw this._logger.error(`create: No authority passed`),new Error(`authority`);let G=yield Wb.create({data:a,request_type:u,url_state:f,code_verifier:!E,client_id:r,authority:n,redirect_uri:o,response_mode:c,client_secret:l,scope:s,extraTokenParams:b,skipUserInfo:p,nonce:d}),ae=new URL(t);ae.searchParams.append(`client_id`,r),ae.searchParams.append(`redirect_uri`,o),ae.searchParams.append(`response_type`,i),w$1||ae.searchParams.append(`scope`,s),d&&ae.searchParams.append(`nonce`,d),T&&ae.searchParams.append(`dpop_jkt`,T);let xe=G.id;f&&(xe=`${xe}${Ui}${f}`),ae.searchParams.append(`state`,xe),G.code_challenge&&(ae.searchParams.append(`code_challenge`,G.code_challenge),ae.searchParams.append(`code_challenge_method`,`S256`)),h&&(Array.isArray(h)?h:[h]).forEach(ct=>ae.searchParams.append(`resource`,ct));for(let[Zt,ct]of Object.entries(w(w({response_mode:c},x),v)))ct!=null&&ae.searchParams.append(Zt,ct.toString());return new Yb({url:ae.href,state:G})})}};Kb._logger=new _e(`SigninRequest`);var mL=Kb;var vL=`openid`;var sm=class{constructor(e){if(this.access_token=``,this.token_type=``,this.profile={},this.state=e.get(`state`),this.session_state=e.get(`session_state`),this.state){let t=decodeURIComponent(this.state).split(Ui);this.state=t[0],t.length>1&&(this.url_state=t.slice(1).join(Ui))}this.error=e.get(`error`),this.error_description=e.get(`error_description`),this.error_uri=e.get(`error_uri`),this.code=e.get(`code`)}get expires_in(){if(this.expires_at!==void 0)return this.expires_at-Jl.getEpochTime()}set expires_in(e){typeof e==`string`&&(e=Number(e)),e!==void 0&&e>=0&&(this.expires_at=Math.floor(e)+Jl.getEpochTime())}get isOpenId(){var e;return((e=this.scope)==null?void 0:e.split(` `).includes(vL))||!!this.id_token}};var yL=class{constructor({url:e,state_data:t,id_token_hint:n,post_logout_redirect_uri:r,extraQueryParams:o,request_type:i,client_id:s,url_state:a}){if(this._logger=new _e(`SignoutRequest`),!e)throw this._logger.error(`ctor: No url passed`),new Error(`url`);let c=new URL(e);if(n&&c.searchParams.append(`id_token_hint`,n),s&&c.searchParams.append(`client_id`,s),r&&(c.searchParams.append(`post_logout_redirect_uri`,r),t||a)){this.state=new Xl({data:t,request_type:i,url_state:a});let u=this.state.id;a&&(u=`${u}${Ui}${a}`),c.searchParams.append(`state`,u)}for(let[u,l]of Object.entries(w({},o)))l!=null&&c.searchParams.append(u,l.toString());this.url=c.href}};var wL=class{constructor(e){if(this.state=e.get(`state`),this.state){let t=decodeURIComponent(this.state).split(Ui);this.state=t[0],t.length>1&&(this.url_state=t.slice(1).join(Ui))}this.error=e.get(`error`),this.error_description=e.get(`error_description`),this.error_uri=e.get(`error_uri`)}};var DL=[`nbf`,`jti`,`auth_time`,`nonce`,`acr`,`amr`,`azp`,`at_hash`];var SL=[`sub`,`iss`,`aud`,`exp`,`iat`];var EL=class{constructor(e){this._settings=e,this._logger=new _e(`ClaimsService`)}filterProtocolClaims(e){let t=w({},e);if(this._settings.filterProtocolClaims){let n;Array.isArray(this._settings.filterProtocolClaims)?n=this._settings.filterProtocolClaims:n=DL;for(let r of n)SL.includes(r)||delete t[r]}return t}mergeClaims(e,t){let n=w({},e);for(let[r,o]of Object.entries(t))if(n[r]!==o)if(Array.isArray(n[r])||Array.isArray(o))if(this._settings.mergeClaimsStrategy.array==`replace`)n[r]=o;else{let i=Array.isArray(n[r])?n[r]:[n[r]];for(let s of Array.isArray(o)?o:[o])i.includes(s)||i.push(s);n[r]=i}else typeof n[r]==`object`&&typeof o==`object`?n[r]=this.mergeClaims(n[r],o):n[r]=o;return n}};var bL=class{constructor(e,t){this.keys=e,this.nonce=t}};var Zb=class{constructor(e,t){this._logger=new _e(`OidcClient`),this.settings=e instanceof zb?e:new zb(e),this.metadataService=t??new cL(this.settings),this._claimsService=new EL(this.settings),this._val
5idator=new gL(this.settings,this.metadataService,this._claimsService),this._tokenClient=new Gb(this.settings,this.metadataService)}createSigninRequest(G){return B$1(this,arguments,function*({state:e,request:t,request_uri:n,request_type:r,id_token_hint:o,login_hint:i,skipUserInfo:s,nonce:a,url_state:c,response_type:u=this.settings.response_type,scope:l=this.settings.scope,redirect_uri:d=this.settings.redirect_uri,prompt:f=this.settings.prompt,display:h=this.settings.display,max_age:p=this.settings.max_age,ui_locales:v=this.settings.ui_locales,acr_values:b=this.settings.acr_values,resource:E=this.settings.resource,response_mode:T=this.settings.response_mode,extraQueryParams:w=this.settings.extraQueryParams,extraTokenParams:x=this.settings.extraTokenParams,dpopJkt:F,omitScopeWhenRequesting:q=this.settings.omitScopeWhenRequesting}){let ae=this._logger.create(`createSigninRequest`);if(u!==`code`)throw new Error(`Only the Authorization Code flow (with PKCE) is supported`);let xe=yield this.metadataService.getAuthorizationEndpoint();ae.debug(`Received authorization endpoint`,xe);let Zt=yield mL.create({url:xe,authority:this.settings.authority,client_id:this.settings.client_id,redirect_uri:d,response_type:u,scope:l,state_data:e,url_state:c,prompt:f,display:h,max_age:p,ui_locales:v,id_token_hint:o,login_hint:i,acr_values:b,dpopJkt:F,resource:E,request:t,request_uri:n,extraQueryParams:w,extraTokenParams:x,request_type:r,response_mode:T,client_secret:this.settings.client_secret,skipUserInfo:s,nonce:a,disablePKCE:this.settings.disablePKCE,omitScopeWhenRequesting:q});yield this.clearStaleState();let ct=Zt.state;return yield this.settings.stateStore.set(ct.id,ct.toStorageString()),Zt})}readSigninResponseState(e,t=!1){return B$1(this,null,function*(){let n=this._logger.create(`readSigninResponseState`),r=new sm(Vb.readParams(e,this.settings.response_mode));if(!r.state)throw n.throw(new Error(`No state in response`)),null;let o=yield this.settings.stateStore[t?`remove`:`get`](r.state);if(!o)throw n.throw(new Error(`No matching state found in storage`)),null;return{state:yield Wb.fromStorageString(o),response:r}})}processSigninResponse(e,t,n=!0){return B$1(this,null,function*(){let r=this._logger.create(`processSigninResponse`),{state:o,response:i}=yield this.readSigninResponseState(e,n);if(r.debug(`received state from storage; validating response`),this.settings.dpop&&this.settings.dpop.store){let s=yield this.getDpopProof(this.settings.dpop.store);t=x(w({},t),{DPoP:s})}try{yield this._validator.validateSigninResponse(i,o,t)}catch(s){if(s instanceof cm&&this.settings.dpop){let a=yield this.getDpopProof(this.settings.dpop.store,s.nonce);t.DPoP=a,yield this._validator.validateSigninResponse(i,o,t)}else throw s}return i})}getDpopProof(e,t){return B$1(this,null,function*(){let n,r;return(yield e.getAllKeys()).includes(this.settings.client_id)?(r=yield e.get(this.settings.client_id),r.nonce!==t&&t&&(r.nonce=t,yield e.set(this.settings.client_id,r))):(n=yield He.generateDPoPKeys(),r=new bL(n,t),yield e.set(this.settings.client_id,r)),yield He.generateDPoPProof({url:yield this.metadataService.getTokenEndpoint(!1),httpMethod:`POST`,keyPair:r.keys,nonce:r.nonce})})}processResourceOwnerPasswordCredentials(o){return B$1(this,arguments,function*({username:e,password:t,skipUserInfo:n=!1,extraTokenParams:r={}}){let i=yield this._tokenClient.exchangeCredentials(w({username:e,password:t},r)),s=new sm(new URLSearchParams);return Object.assign(s,i),yield this._validator.validateCredentialsResponse(s,n),s})}useRefreshToken(s){return B$1(this,arguments,function*({state:e,redirect_uri:t,resource:n,timeoutInSeconds:r,extraHeaders:o,extraTokenParams:i}){var a;let c=this._logger.create(`useRefreshToken`),u;if(this.settings.refreshTokenAllowedScope===void 0)u=e.scope;else{let f=this.settings.refreshTokenAllowedScope.split(` `);u=(((a=e.scope)==null?void 0:a.split(` `))||[]).filter(p=>f.includes(p)).join(` `)}if(this.settings.dpop&&this.settings.dpop.store){let f=yield this.getDpopProof(this.settings.dpop.store);o=x(w({},o),{DPoP:f})}let l;try{l=yield this._tokenClient.exchangeRefreshToken(w({refresh_token:e.refresh_token,scope:u,redirect_uri:t,resource:n,timeoutInSeconds:r,extraHeaders:o},i))}catch(f){if(f instanceof cm&&this.settings.dpop)o.DPoP=yield this.getDpopProof(this.settings.dpop.store,f.nonce),l=yield this._tokenClient.exchangeRefreshToken(w({refresh_token:e.refresh_token,scope:u,redirect_uri:t,resource:n,timeoutInSeconds:r,extraHeaders:o},i));else throw f}let d=new sm(new URLSearchParams);return Object.assign(d,l),c.debug(`validating response`,d),yield this._val
5idator.validateRefreshResponse(d,x(w({},e),{scope:u})),d})}createSignoutRequest(){return B$1(this,arguments,function*({state:e,id_token_hint:t,client_id:n,request_type:r,url_state:o,post_logout_redirect_uri:i=this.settings.post_logout_redirect_uri,extraQueryParams:s=this.settings.extraQueryParams}={}){let a=this._logger.create(`createSignoutRequest`),c=yield this.metadataService.getEndSessionEndpoint();if(!c)throw a.throw(new Error(`No end session endpoint`)),null;a.debug(`Received end session endpoint`,c),!n&&i&&!t&&(n=this.settings.client_id);let u=new yL({url:c,id_token_hint:t,client_id:n,post_logout_redirect_uri:i,state_data:e,extraQueryParams:s,request_type:r,url_state:o});yield this.clearStaleState();let l=u.state;return l&&(a.debug(`Signout request has state to persist`),yield this.settings.stateStore.set(l.id,l.toStorageString())),u})}readSignoutResponseState(e,t=!1){return B$1(this,null,function*(){let n=this._logger.create(`readSignoutResponseState`),r=new wL(Vb.readParams(e,this.settings.response_mode));if(!r.state){if(n.debug(`No state in response`),r.error)throw n.warn(`Response was error:`,r.error),new ka(r);return{state:void 0,response:r}}let o=yield this.settings.stateStore[t?`remove`:`get`](r.state);if(!o)throw n.throw(new Error(`No matching state found in storage`)),null;return{state:yield Xl.fromStorageString(o),response:r}})}processSignoutResponse(e){return B$1(this,null,function*(){let t=this._logger.create(`processSignoutResponse`),{state:n,response:r}=yield this.readSignoutResponseState(e,!0);return n?(t.debug(`Received state from storage; validating response`),this._validator.validateSignoutResponse(r,n)):t.debug(`No state from storage; skipping response validation`),r})}clearStaleState(){return this._logger.create(`clearStaleState`),Xl.clearStaleState(this.settings.stateStore,this.settings.staleStateAgeInSeconds)}revokeToken(e,t){return B$1(this,null,function*(){return this._logger.create(`revokeToken`),yield this._tokenClient.revoke({token:e,token_type_hint:t})})}};function _L(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var ed=_L;function CL(){this.__data__=[],this.size=0}var Qb=CL;function IL(e,t){return e===t||e!==e&&t!==t}var $i=IL;function TL(e,t){for(var n=e.length;n--;)if($i(e[n][0],t))return n;return-1}var Cr=TL;var xL=Array.prototype.splice;function RL(e){var t=this.__data__,n=Cr(t,e);if(n<0)return!1;return n==t.length-1?t.pop():xL.call(t,n,1),--this.size,!0}var Jb=RL;function AL(e){var t=this.__data__,n=Cr(t,e);return n<0?void 0:t[n][1]}var Xb=AL;function NL(e){return Cr(this.__data__,e)>-1}var e_=NL;function OL(e,t){var n=this.__data__,r=Cr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var t_=OL;function Bi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Bi.prototype.clear=Qb;Bi.prototype.delete=Jb;Bi.prototype.get=Xb;Bi.prototype.has=e_;Bi.prototype.set=t_;var Ir=Bi;function kL(){this.__data__=new Ir,this.size=0}var n_=kL;function PL(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var r_=PL;function LL(e){return this.__data__.get(e)}var o_=LL;function FL(e){return this.__data__.has(e)}var i_=FL;var td=typeof global==`object`&&global&&global.Object===Object&&global;var UL=typeof self==`object`&&self&&self.Object===Object&&self;var Me=td||UL||Function(`return this`)();var Fe=Me.Symbol;var s_=Object.prototype;var HL=s_.hasOwnProperty;var VL=s_.toString;var Pa=Fe?Fe.toStringTag:void 0;function zL(e){var t=HL.call(e,Pa),n=e[Pa];try{e[Pa]=void 0;var r=!0}catch(i){}var o=VL.call(e);return r&&(t?e[Pa]=n:delete e[Pa]),o}var a_=zL;var GL=Object.prototype.toString;function WL(e){return GL.call(e)}var c_=WL;var KL=`[object Null]`;var YL=`[object Undefined]`;var u_=Fe?Fe.toStringTag:void 0;function ZL(e){return e==null?e===void 0?YL:KL:u_&&u_ in Object(e)?a_(e):c_(e)}var Et=ZL;function QL(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var Lt=QL;var JL=`[object AsyncFunction]`;var XL=`[object Function]`;var eF=`[object GeneratorFunction]`;var tF=`[object Proxy]`;function nF(e){if(!Lt(e))return!1;var t=Et(e);return t==XL||t==eF||t==JL||t==tF}var nd=nF;var rd=Me[`__core-js_shared__`];var l_=(function(){var e=/[^.]+$/.exec(rd&&rd.keys&&rd.keys.IE_PROTO||``);
5return e?`Symbol(src)_1.`+e:``})();function oF(e){return!!l_&&l_ in e}var d_=oF;var sF=Function.prototype.toString;function aF(e){if(e!=null){try{return sF.call(e)}catch(t){}try{return e+``}catch(t){}}return``}var Zn=aF;var cF=/[\\^$.*+?()[\]{}|]/g;var uF=/^\[object .+?Constructor\]$/;var lF=Function.prototype;var dF=Object.prototype;var fF=lF.toString;var hF=dF.hasOwnProperty;var pF=RegExp(`^`+fF.call(hF).replace(cF,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function gF(e){if(!Lt(e)||d_(e))return!1;return(nd(e)?pF:uF).test(Zn(e))}var f_=gF;function mF(e,t){return e?.[t]}var h_=mF;function vF(e,t){var n=h_(e,t);return f_(n)?n:void 0}var at=vF;var Tr=at(Me,`Map`);var Qn=at(Object,`create`);function DF(){this.__data__=Qn?Qn(null):{},this.size=0}var p_=DF;function SF(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var g_=SF;var EF=`__lodash_hash_undefined__`;var _F=Object.prototype.hasOwnProperty;function CF(e){var t=this.__data__;if(Qn){var n=t[e];return n===EF?void 0:n}return _F.call(t,e)?t[e]:void 0}var m_=CF;var TF=Object.prototype.hasOwnProperty;function MF(e){var t=this.__data__;return Qn?t[e]!==void 0:TF.call(t,e)}var v_=MF;var xF=`__lodash_hash_undefined__`;function RF(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Qn&&t===void 0?xF:t,this}var y_=RF;function Hi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Hi.prototype.clear=p_;Hi.prototype.delete=g_;Hi.prototype.get=m_;Hi.prototype.has=v_;Hi.prototype.set=y_;var fm=Hi;function AF(){this.size=0,this.__data__={hash:new fm,map:new(Tr||Ir),string:new fm}}var w_=AF;function NF(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}var D_=NF;function OF(e,t){var n=e.__data__;return D_(t)?n[typeof t==`string`?`string`:`hash`]:n.map}var Mr=OF;function kF(e){var t=Mr(this,e).delete(e);return this.size-=t?1:0,t}var S_=kF;function PF(e){return Mr(this,e).get(e)}var E_=PF;function LF(e){return Mr(this,e).has(e)}var b_=LF;function FF(e,t){var n=Mr(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var __=FF;function Vi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Vi.prototype.clear=w_;Vi.prototype.delete=S_;Vi.prototype.get=E_;Vi.prototype.has=b_;Vi.prototype.set=__;var Ao=Vi;var jF=200;function UF(e,t){var n=this.__data__;if(n instanceof Ir){var r=n.__data__;if(!Tr||r.length<jF-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ao(r)}return n.set(e,t),this.size=n.size,this}var C_=UF;function zi(e){var t=this.__data__=new Ir(e);this.size=t.size}zi.prototype.clear=n_;zi.prototype.delete=r_;zi.prototype.get=o_;zi.prototype.has=i_;zi.prototype.set=C_;var xr=zi;function $F(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var I_=$F;var qi=(function(){try{var e=at(Object,`defineProperty`);return e({},``,{}),e}catch(t){}})();function HF(e,t,n){t==`__proto__`&&qi?qi(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var od=HF;var zF=Object.prototype.hasOwnProperty;function qF(e,t,n){var r=e[t];(!(zF.call(e,t)&&$i(r,n))||n===void 0&&!(t in e))&&od(e,t,n)}var id=qF;function GF(e,t,n,r){var o=!n;n||(n={});for(var i=-1,s=t.length;++i<s;){var a=t[i],c=r?r(n[a],e[a],a,n,e):void 0;c===void 0&&(c=e[a]),o?od(n,a,c):id(n,a,c)}return n}var _n=GF;function WF(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var T_=WF;function KF(e){return e!=null&&typeof e==`object`}var Ve=KF;var YF=`[object Arguments]`;function ZF(e){return Ve(e)&&Et(e)==YF}var hm=ZF;var M_=Object.prototype;var QF=M_.hasOwnProperty;var JF=M_.propertyIsEnumerable;var sd=hm((function(){return arguments})())?hm:function(e){return Ve(e)&&QF.call(e,`callee`)&&!JF.call(e,`callee`)};var ze=Array.isArray;function t1(){return!1}var x_=t1;var N_=typeof exports==`object`&&exports&&!exports.nodeType&&exports;var R_=N_&&typeof module==`object`&&module&&!module.nodeType&&module;var A_=R_&&R_.exports===N_?Me.Buffer:void 0;var No=(A_?A_.isBuffer:void 0)||x_;var i1=9007199254740991;var s1=/^(?:0|[1-9]\d*)$/;function a1(e,t){var n=typeof e;return t=t??i1,!!t&&(n==`number`||n!=`symbol`&&s1.test(e))&&e>-1&&e%1==0&&e<t}var O_=a1;var c1=9007199254740991;function u1(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=c1}var ad=u1;var l1=`[object Arguments]`;var d1=`[object Array]`;var f1=`[object Boolean]`;var h1=`[object Date]`;var p1=`[object Error]`;var g1=`[object Function]`;var m1=`[object Map]`;var v1=`[object Number]`;var y1=`[object Object]`;var w1=`[object RegExp]`;var D1=`[object Set]`;var S1=`[object String]`;var E1=`[object WeakMap]`;var b1=`[object ArrayBuffer]`;var _1=`[object DataView]`;var C1=`[object Float32Array]`;
5var I1=`[object Float64Array]`;var T1=`[object Int8Array]`;var M1=`[object Int16Array]`;var x1=`[object Int32Array]`;var R1=`[object Uint8Array]`;var A1=`[object Uint8ClampedArray]`;var N1=`[object Uint16Array]`;var O1=`[object Uint32Array]`;var fe={};fe[C1]=fe[I1]=fe[T1]=fe[M1]=fe[x1]=fe[R1]=fe[A1]=fe[N1]=fe[O1]=!0;fe[l1]=fe[d1]=fe[b1]=fe[f1]=fe[_1]=fe[h1]=fe[p1]=fe[g1]=fe[m1]=fe[v1]=fe[y1]=fe[w1]=fe[D1]=fe[S1]=fe[E1]=!1;function k1(e){return Ve(e)&&ad(e.length)&&!!fe[Et(e)]}var k_=k1;function P1(e){return function(t){return e(t)}}var Gi=P1;var P_=typeof exports==`object`&&exports&&!exports.nodeType&&exports;var La=P_&&typeof module==`object`&&module&&!module.nodeType&&module;var pm=La&&La.exports===P_&&td.process;var Jn=(function(){try{return La&&La.require&&La.require(`util`).types||pm&&pm.binding&&pm.binding(`util`)}catch(t){}})();var L_=Jn&&Jn.isTypedArray;var cd=L_?Gi(L_):k_;var $1=Object.prototype.hasOwnProperty;function B1(e,t){var n=ze(e),r=!n&&sd(e),o=!n&&!r&&No(e),i=!n&&!r&&!o&&cd(e),s=n||r||o||i,a=s?T_(e.length,String):[],c=a.length;for(var u in e)(t||$1.call(e,u))&&!(s&&(u==`length`||o&&(u==`offset`||u==`parent`)||i&&(u==`buffer`||u==`byteLength`||u==`byteOffset`)||O_(u,c)))&&a.push(u);return a}var ud=B1;var H1=Object.prototype;function V1(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||H1)}var Wi=V1;function z1(e,t){return function(n){return e(t(n))}}var ld=z1;var F_=ld(Object.keys,Object);var W1=Object.prototype.hasOwnProperty;function K1(e){if(!Wi(e))return F_(e);var t=[];for(var n in Object(e))W1.call(e,n)&&n!=`constructor`&&t.push(n);return t}var j_=K1;function Y1(e){return e!=null&&ad(e.length)&&!nd(e)}var dd=Y1;function Z1(e){return dd(e)?ud(e):j_(e)}var Rr=Z1;function Q1(e,t){return e&&_n(t,Rr(t),e)}var U_=Q1;function J1(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var $_=J1;var ej=Object.prototype.hasOwnProperty;function tj(e){if(!Lt(e))return $_(e);var t=Wi(e),n=[];for(var r in e)r==`constructor`&&(t||!ej.call(e,r))||n.push(r);return n}var B_=tj;function nj(e){return dd(e)?ud(e,!0):B_(e)}var Ki=nj;function rj(e,t){return e&&_n(t,Ki(t),e)}var H_=rj;var G_=typeof exports==`object`&&exports&&!exports.nodeType&&exports;var V_=G_&&typeof module==`object`&&module&&!module.nodeType&&module;var z_=V_&&V_.exports===G_?Me.Buffer:void 0;var q_=z_?z_.allocUnsafe:void 0;function ij(e,t){if(t)return e.slice();var n=e.length,r=q_?q_(n):new e.constructor(n);return e.copy(r),r}var W_=ij;function sj(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var K_=sj;function aj(e,t){for(var n=-1,r=e==null?0:e.length,o=0,i=[];++n<r;){var s=e[n];t(s,n,e)&&(i[o++]=s)}return i}var Y_=aj;function cj(){return[]}var fd=cj;var lj=Object.prototype.propertyIsEnumerable;var Z_=Object.getOwnPropertySymbols;var Yi=Z_?function(e){return e==null?[]:(e=Object(e),Y_(Z_(e),function(t){return lj.call(e,t)}))}:fd;function fj(e,t){return _n(e,Yi(e),t)}var Q_=fj;function hj(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var Zi=hj;var Qi=ld(Object.getPrototypeOf,Object);var hd=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Zi(t,Yi(e)),e=Qi(e);return t}:fd;function vj(e,t){return _n(e,hd(e),t)}var J_=vj;function yj(e,t,n){var r=t(e);return ze(e)?r:Zi(r,n(e))}var pd=yj;function wj(e){return pd(e,Rr,Yi)}var Fa=wj;function Dj(e){return pd(e,Ki,hd)}var gd=Dj;var md=at(Me,`DataView`);var vd=at(Me,`Promise`);var yd=at(Me,`Set`);var wd=at(Me,`WeakMap`);var X_=`[object Map]`;var Cj=`[object Object]`;var eC=`[object Promise]`;var tC=`[object Set]`;var nC=`[object WeakMap]`;var rC=`[object DataView]`;var Ij=Zn(md);var Tj=Zn(Tr);var Mj=Zn(vd);var xj=Zn(yd);var Rj=Zn(wd);var Oo=Et;(md&&Oo(new md(new ArrayBuffer(1)))!=rC||Tr&&Oo(new Tr)!=X_||vd&&Oo(vd.resolve())!=eC||yd&&Oo(new yd)!=tC||wd&&Oo(new wd)!=nC)&&(Oo=function(e){var t=Et(e),n=t==Cj?e.constructor:void 0,r=n?Zn(n):``;if(r)switch(r){case Ij:return rC;case Tj:return X_;case Mj:return eC;case xj:return tC;case Rj:return nC}return t});var Xn=Oo;var Nj=Object.prototype.hasOwnProperty;function Oj(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&Nj.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}var oC=Oj;var Ji=Me.Uint8Array;function Pj(e){var t=new e.constructor(e.byteLength);return new Ji(t).set(new Ji(e)),t}var Xi=Pj;function Lj(e,t){var n=t?Xi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var iC=Lj;var Fj=/\w*$/;function jj(e){var t=new e.constructor(e.source,Fj.exec(e));return t.lastIndex=e.lastIndex,t}var sC=jj;var aC=Fe?Fe.prototype:void 0;
5var cC=aC?aC.valueOf:void 0;function Uj(e){return cC?Object(cC.call(e)):{}}var uC=Uj;function $j(e,t){var n=t?Xi(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var lC=$j;var Bj=`[object Boolean]`;var Hj=`[object Date]`;var Vj=`[object Map]`;var zj=`[object Number]`;var qj=`[object RegExp]`;var Gj=`[object Set]`;var Wj=`[object String]`;var Kj=`[object Symbol]`;var Yj=`[object ArrayBuffer]`;var Zj=`[object DataView]`;var Qj=`[object Float32Array]`;var Jj=`[object Float64Array]`;var Xj=`[object Int8Array]`;var eU=`[object Int16Array]`;var tU=`[object Int32Array]`;var nU=`[object Uint8Array]`;var rU=`[object Uint8ClampedArray]`;var oU=`[object Uint16Array]`;var iU=`[object Uint32Array]`;function sU(e,t,n){var r=e.constructor;switch(t){case Yj:return Xi(e);case Bj:case Hj:return new r(+e);case Zj:return iC(e,n);case Qj:case Jj:case Xj:case eU:case tU:case nU:case rU:case oU:case iU:return lC(e,n);case Vj:return new r;case zj:case Wj:return new r(e);case qj:return sC(e);case Gj:return new r;case Kj:return uC(e)}}var dC=sU;var fC=Object.create;var hC=(function(){function e(){}return function(t){if(!Lt(t))return{};if(fC)return fC(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}})();function cU(e){return typeof e.constructor==`function`&&!Wi(e)?hC(Qi(e)):{}}var pC=cU;var uU=`[object Map]`;function lU(e){return Ve(e)&&Xn(e)==uU}var gC=lU;var mC=Jn&&Jn.isMap;var vC=mC?Gi(mC):gC;var fU=`[object Set]`;function hU(e){return Ve(e)&&Xn(e)==fU}var yC=hU;var wC=Jn&&Jn.isSet;var DC=wC?Gi(wC):yC;var gU=1;var mU=2;var vU=4;var SC=`[object Arguments]`;var yU=`[object Array]`;var wU=`[object Boolean]`;var DU=`[object Date]`;var SU=`[object Error]`;var EC=`[object Function]`;var EU=`[object GeneratorFunction]`;var bU=`[object Map]`;var _U=`[object Number]`;var bC=`[object Object]`;var CU=`[object RegExp]`;var IU=`[object Set]`;var TU=`[object String]`;var MU=`[object Symbol]`;var xU=`[object WeakMap]`;var RU=`[object ArrayBuffer]`;var AU=`[object DataView]`;var NU=`[object Float32Array]`;var OU=`[object Float64Array]`;var kU=`[object Int8Array]`;var PU=`[object Int16Array]`;var LU=`[object Int32Array]`;var FU=`[object Uint8Array]`;var jU=`[object Uint8ClampedArray]`;var UU=`[object Uint16Array]`;var $U=`[object Uint32Array]`;var de={};de[SC]=de[yU]=de[RU]=de[AU]=de[wU]=de[DU]=de[NU]=de[OU]=de[kU]=de[PU]=de[LU]=de[bU]=de[_U]=de[bC]=de[CU]=de[IU]=de[TU]=de[MU]=de[FU]=de[jU]=de[UU]=de[$U]=!0;de[SU]=de[EC]=de[xU]=!1;function Dd(e,t,n,r,o,i){var s,a=t&gU,c=t&mU,u=t&vU;if(n&&(s=o?n(e,r,o,i):n(e)),s!==void 0)return s;if(!Lt(e))return e;var l=ze(e);if(l){if(s=oC(e),!a)return K_(e,s)}else{var d=Xn(e),f=d==EC||d==EU;if(No(e))return W_(e,a);if(d==bC||d==SC||f&&!o){if(s=c||f?{}:pC(e),!a)return c?J_(e,H_(s,e)):Q_(e,U_(s,e))}else{if(!de[d])return o?e:{};s=dC(e,d,a)}}i||(i=new xr);var h=i.get(e);if(h)return h;i.set(e,s),DC(e)?e.forEach(function(b){s.add(Dd(b,t,n,b,e,i))}):vC(e)&&e.forEach(function(b,E){s.set(E,Dd(b,t,n,E,e,i))});var v=l?void 0:(u?c?gd:Fa:c?Ki:Rr)(e);return I_(v||e,function(b,E){v&&(E=b,b=e[E]),id(s,E,Dd(b,t,n,E,e,i))}),s}var Sd=Dd;var BU=`[object Symbol]`;function HU(e){return typeof e==`symbol`||Ve(e)&&Et(e)==BU}var es=HU;var VU=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;var zU=/^\w*$/;function qU(e,t){if(ze(e))return!1;var n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||es(e)?!0:zU.test(e)||!VU.test(e)||t!=null&&e in Object(t)}var _C=qU;var GU=`Expected a function`;function gm(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw new TypeError(GU);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(gm.Cache||Ao),n}gm.Cache=Ao;var CC=gm;var WU=500;function KU(e){var t=CC(e,function(r){return n.size===WU&&n.clear(),r}),n=t.cache;return t}var IC=KU;var YU=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var ZU=/\\(\\)?/g;var TC=IC(function(e){var t=[];
5return e.charCodeAt(0)===46&&t.push(``),e.replace(YU,function(n,r,o,i){t.push(o?i.replace(ZU,`$1`):r||n)}),t});var JU=Infinity;var MC=Fe?Fe.prototype:void 0;var xC=MC?MC.toString:void 0;function RC(e){if(typeof e==`string`)return e;if(ze(e))return ed(e,RC)+``;if(es(e))return xC?xC.call(e):``;var t=e+``;return t==`0`&&1/e==-JU?`-0`:t}var AC=RC;function XU(e){return e==null?``:AC(e)}var NC=XU;function e$(e,t){return ze(e)?e:_C(e,t)?[e]:TC(NC(e))}var ts=e$;function t$(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var OC=t$;var n$=Infinity;function r$(e){if(typeof e==`string`||es(e))return e;var t=e+``;return t==`0`&&1/e==-n$?`-0`:t}var ja=r$;function o$(e,t){t=ts(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[ja(t[n++])];return n&&n==r?e:void 0}var kC=o$;function i$(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}var PC=i$;function s$(e,t){return t.length<2?e:kC(e,PC(t,0,-1))}var LC=s$;var c$=Object.prototype.hasOwnProperty;function u$(e,t){t=ts(t,e);var n=-1,r=t.length;if(!r)return!0;for(;++n<r;){var o=ja(t[n]);if(o===`__proto__`&&!c$.call(e,`__proto__`)||(o===`constructor`||o===`prototype`)&&n<r-1)return!1}var i=LC(e,t);return i==null||delete i[ja(OC(t))]}var FC=u$;var l$=`[object Object]`;var d$=Function.prototype;var f$=Object.prototype;var jC=d$.toString;var h$=f$.hasOwnProperty;var p$=jC.call(Object);function g$(e){if(!Ve(e)||Et(e)!=l$)return!1;var t=Qi(e);if(t===null)return!0;var n=h$.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&jC.call(n)==p$}var UC=g$;function m$(e){return UC(e)?void 0:e}var $C=m$;var BC=Fe?Fe.isConcatSpreadable:void 0;function v$(e){return ze(e)||sd(e)||!!(BC&&e&&e[BC])}var HC=v$;function VC(e,t,n,r,o){var i=-1,s=e.length;for(n||(n=HC),o||(o=[]);++i<s;){var a=e[i];t>0&&n(a)?t>1?VC(a,t-1,n,r,o):Zi(o,a):r||(o[o.length]=a)}return o}var zC=VC;function y$(e){return(e==null?0:e.length)?zC(e,1):[]}var qC=y$;function w$(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var GC=w$;var WC=Math.max;function D$(e,t,n){return t=WC(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=WC(r.length-t,0),s=Array(i);++o<i;)s[o]=r[t+o];o=-1;for(var a=Array(t+1);++o<t;)a[o]=r[o];return a[t]=n(s),GC(e,this,a)}}var KC=D$;function S$(e){return function(){return e}}var YC=S$;function E$(e){return e}var ZC=E$;var QC=qi?function(e,t){return qi(e,`toString`,{configurable:!0,enumerable:!1,value:YC(t),writable:!0})}:ZC;var _$=800;var C$=16;var I$=Date.now;function T$(e){var t=0,n=0;return function(){var r=I$(),o=C$-(r-n);if(n=r,o>0){if(++t>=_$)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var XC=T$(QC);function x$(e){return XC(KC(e,void 0,qC),e+``)}var eI=x$;var R$=1;var A$=2;var N$=4;var tI=eI(function(e,t){var n={};if(e==null)return n;var r=!1;t=ed(t,function(i){return i=ts(i,e),r||(r=i.length>1),i}),_n(e,gd(e),n),r&&(n=Sd(n,R$|A$|N$,$C));for(var o=t.length;o--;)FC(n,t[o]);return n});var k$=`__lodash_hash_undefined__`;function P$(e){return this.__data__.set(e,k$),this}var nI=P$;function L$(e){return this.__data__.has(e)}var rI=L$;function Ed(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Ao;++t<n;)this.add(e[t])}Ed.prototype.add=Ed.prototype.push=nI;Ed.prototype.has=rI;var oI=Ed;function F$(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var iI=F$;function j$(e,t){return e.has(t)}var sI=j$;var U$=1;var $$=2;function B$(e,t,n,r,o,i){var s=n&U$,a=e.length,c=t.length;if(a!=c&&!(s&&c>a))return!1;var u=i.get(e),l=i.get(t);if(u&&l)return u==t&&l==e;var d=-1,f=!0,h=n&$$?new oI:void 0;for(i.set(e,t),i.set(t,e);++d<a;){var p=e[d],v=t[d];if(r)var b=s?r(v,p,d,t,e,i):r(p,v,d,e,t,i);if(b!==void 0){if(b)continue;f=!1;break}if(h){if(!iI(t,function(E,T){if(!sI(h,T)&&(p===E||o(p,E,n,r,i)))return h.push(T)})){f=!1;break}}else if(!(p===v||o(p,v,n,r,i))){f=!1;break}}return i.delete(e),i.delete(t),f}var bd=B$;function H$(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}var aI=H$;function V$(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var cI=V$;var z$=1;var q$=2;var G$=`[object Boolean]`;var W$=`[object Date]`;var K$=`[object Error]`;var Y$=`[object Map]`;var Z$=`[object Number]`;var Q$=`[object RegExp]`;var J$=`[object Set]`;var X$=`[object String]`;var eB=`[object Symbol]`;var tB=`[object ArrayBuffer]`;var nB=`[object DataView]`;var uI=Fe?Fe.prototype:void 0;
5var mm=uI?uI.valueOf:void 0;function rB(e,t,n,r,o,i,s){switch(n){case nB:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case tB:return!(e.byteLength!=t.byteLength||!i(new Ji(e),new Ji(t)));case G$:case W$:case Z$:return $i(+e,+t);case K$:return e.name==t.name&&e.message==t.message;case Q$:case X$:return e==t+``;case Y$:var a=aI;case J$:var c=r&z$;if(a||(a=cI),e.size!=t.size&&!c)return!1;var u=s.get(e);if(u)return u==t;r|=q$,s.set(e,t);var l=bd(a(e),a(t),r,o,i,s);return s.delete(e),l;case eB:if(mm)return mm.call(e)==mm.call(t)}return!1}var lI=rB;var oB=1;var sB=Object.prototype.hasOwnProperty;function aB(e,t,n,r,o,i){var s=n&oB,a=Fa(e),c=a.length;if(c!=Fa(t).length&&!s)return!1;for(var d=c;d--;){var f=a[d];if(!(s?f in t:sB.call(t,f)))return!1}var h=i.get(e),p=i.get(t);if(h&&p)return h==t&&p==e;var v=!0;i.set(e,t),i.set(t,e);for(var b=s;++d<c;){f=a[d];var E=e[f],T=t[f];if(r)var w=s?r(T,E,f,t,e,i):r(E,T,f,e,t,i);if(!(w===void 0?E===T||o(E,T,n,r,i):w)){v=!1;break}b||(b=f==`constructor`)}if(v&&!b){var x=e.constructor,F=t.constructor;x!=F&&`constructor`in e&&`constructor`in t&&!(typeof x==`function`&&x instanceof x&&typeof F==`function`&&F instanceof F)&&(v=!1)}return i.delete(e),i.delete(t),v}var dI=aB;var cB=1;var fI=`[object Arguments]`;var hI=`[object Array]`;var _d=`[object Object]`;var pI=Object.prototype.hasOwnProperty;function lB(e,t,n,r,o,i){var s=ze(e),a=ze(t),c=s?hI:Xn(e),u=a?hI:Xn(t);c=c==fI?_d:c,u=u==fI?_d:u;var l=c==_d,d=u==_d,f=c==u;if(f&&No(e)){if(!No(t))return!1;s=!0,l=!1}if(f&&!l)return i||(i=new xr),s||cd(e)?bd(e,t,n,r,o,i):lI(e,t,c,n,r,o,i);if(!(n&cB)){var h=l&&pI.call(e,`__wrapped__`),p=d&&pI.call(t,`__wrapped__`);if(h||p){var v=h?e.value():e,b=p?t.value():t;return i||(i=new xr),o(v,b,n,r,i)}}return f?(i||(i=new xr),dI(e,t,n,r,o,i)):!1}var gI=lB;function mI(e,t,n,r,o){return e===t?!0:e==null||t==null||!Ve(e)&&!Ve(t)?e!==e&&t!==t:gI(e,t,n,r,mI,o)}var Cd=mI;function dB(e,t){return Cd(e,t)}var vI=dB;var fB=1;var hB=4;function pB(e){return Sd(e,fB|hB)}var yI=pB;var gB=1;var mB=2;function vB(e,t,n,r){var o=n.length,i=o,s=!r;if(e==null)return!i;for(e=Object(e);o--;){var a=n[o];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++o<i;){a=n[o];var c=a[0],u=e[c],l=a[1];if(s&&a[2]){if(u===void 0&&!(c in e))return!1}else{var d=new xr;if(r)var f=r(u,l,c,e,t,d);if(!(f===void 0?Cd(l,u,gB|mB,r,d):f))return!1}}return!0}var wI=vB;function yB(e){return e===e&&!Lt(e)}var DI=yB;function wB(e){for(var t=Rr(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,DI(o)]}return t}var SI=wB;function DB(e,t){return e===t||wI(e,t,SI(t))}var vm=DB;var SB=Object.create;var EI=Object.defineProperty;var EB=Object.getOwnPropertyDescriptor;var bI=Object.getOwnPropertyNames;var bB=Object.getPrototypeOf;var _B=Object.prototype.hasOwnProperty;var CB=(e,t)=>function(){return t||(0,e[bI(e)[0]])((t={exports:{}}).exports,t),t.exports};var IB=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let o of bI(t))!_B.call(e,o)&&o!==n&&EI(e,o,{get:()=>t[o],enumerable:!(r=EB(t,o))||r.enumerable});return e};var TB=(e,t,n)=>(n=e!=null?SB(bB(e)):{},IB(t||!e||!e.__esModule?EI(n,`default`,{value:e,enumerable:!0}):n,e));var ym=TB(CB({"node_modules/deepmerge/dist/cjs.js"(e,t){"use strict";var n=function(x){return r(x)&&!o(x)};function r(w){return!!w&&typeof w==`object`}function o(w){var x=Object.prototype.toString.call(w);return x===`[object RegExp]`||x===`[object Date]`||a(w)}var s=typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.element`):60103;function a(w){return w.$$typeof===s}function c(w){return Array.isArray(w)?[]:{}}function u(w,x){return x.clone!==!1&&x.isMergeableObject(w)?E(c(w),w,x):w}function l(w,x,F){return w.concat(x).map(function(q){return u(q,F)})}function d(w,x){if(!x.customMerge)return E;var F=x.customMerge(w);return typeof F==`function`?F:E}function f(w){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(w).filter(function(x){return Object.propertyIsEnumerable.call(w,x)}):[]}function h(w){return Object.keys(w).concat(f(w))}function p(w,x){try{return x in w}catch(F){return!1}}function v(w,x){return p(w,x)&&!(Object.hasOwnProperty.call(w,x)&&Object.propertyIsEnumerable.call(w,x))}function b(w,x,F){var q={};
5return F.isMergeableObject(w)&&h(w).forEach(function(G){q[G]=u(w[G],F)}),h(x).forEach(function(G){v(w,G)||(p(w,G)&&F.isMergeableObject(x[G])?q[G]=d(G,F)(w[G],x[G],F):q[G]=u(x[G],F))}),q}function E(w,x,F){F=F||{},F.arrayMerge=F.arrayMerge||l,F.isMergeableObject=F.isMergeableObject||n,F.cloneUnlessOtherwiseSpecified=u;var q=Array.isArray(x);return q===Array.isArray(w)?q?F.arrayMerge(w,x,F):b(w,x,F):u(x,F)}E.all=function(x,F){if(!Array.isArray(x))throw new Error(`first argument should be an array`);return x.reduce(function(q,G){return E(q,G,F)},{})};t.exports=E}})(),1).default;function RB(e,t){e&1&&(Ye(0,`div`,2),pn(1,`div`,3)(2,`p`,4),Rt())}function AB(e,t){e&1&&(Ye(0,`div`,2),pn(1,`div`,3),Ye(2,`p`),Vn(3,`Du loggas in ...`),Rt()())}function NB(e,t){e&1&&(Ye(0,`div`,2),pn(1,`div`,3),Ye(2,`p`),Vn(3,`Du skickas nu tillbaka till sidan du kom ifrån ...`),Rt()())}function OB(e,t){e&1&&(Ye(0,`div`,2),pn(1,`div`,3),Ye(2,`p`),Vn(3,`Du loggas in ...`),Rt()())}function kB(e,t){if(e&1&&(Ye(0,`p`),Vn(1,`Någonting gick fel och inloggningen kunde inte slutföras.`),Rt(),Ye(2,`button`,5),Vn(3,`Logga in igen`),Rt(),pn(4,`hr`),Ye(5,`small`,6)(6,`a`,7),Vn(7,`Tillbaka till startsidan`),Rt()()),e&2){let n=Bp();ku(2),Hu(`asyncClick`,n.authService.ssoLogin$.bind(n.authService))}}function PB(e,t){e&1&&Vn(0,` Unknown state. `)}var ko=new _(`NtmCoreConfig`);var bm=new _(`AsyncStorage`);var LB=new _(`NtmCoreClientNameOverride`);var rs=(()=>{let t=class t{constructor(r,o,i,s){this.coreConfig=r,this.clientNameOverride=o,this.baseUrl=i,this.fullUrl=s,this.clientNames=this.coreConfig.clientNames,this.hostname=this.baseUrl?new URL(this.baseUrl).hostname:window.location.hostname,this.origin=this.baseUrl?new URL(this.baseUrl).origin:window.location.origin,this.href=this.fullUrl?this.fullUrl:window.location.href,this.coreConfig.enableDebugTracing&&console.log(`\u{1F943} client service: hostname: ${this.hostname}, origin: ${this.origin}, href: ${this.href}`);let a=this.clientNames.find(l=>l[0]===this.hostname),c=this.clientNames.find(l=>l[0]===`localhost`),u=a&&a[1]||c&&c[1]||null;if(this.clientNameOverride)this.clientName=this.clientNameOverride;else if(u)this.clientName=u;else throw Error(`NtmClientService: No clientName could be determined, please check mapping for hostname ${this.hostname}`)}};t.ɵfac=function(o){return new(o||t)(m(ko),m(LB,8),m(`BASE_URL`,8),m(`FULL_URL`,8))},t.ɵprov=I({token:t,factory:t.ɵfac});return t})();var ns=class{constructor(){this.id=0}};var wm=class{constructor(){this.application=``,this.service=``,this.level=0}};var Ua=(()=>{let t=class t{constructor(r,o,i){this.httpClient=r,this.settingsService=o,this.coreConfig=i,this.userReplay$=new qe(1),this.hasSubscriptionReplay=new qe,this.hasSubscriptionReplay$=this.hasSubscriptionReplay.asObservable()}setUser(r){let o=new ns;try{r=Ro(r)}catch(i){r=null}r&&(r=tI(r,[`exp`,`iat`,`jti`,`nbf`]),o=r,o.id=+o.userid,o.roles=this.getUserRoles(o.role),o.isEmailConfirmed=r.isemailconfirmed===`True`,o.ageSegment=r.age?.length?r.age:null,o.age=r.age_exact?.length?r.age_exact:null,o.gender=r.gender?.trim()?.length?r.gender:null,o.municipality=r.municipality?.length?r.municipality:null,o.gamSegment=r[`gam-segment`]?.length?r[`gam-segment`]:null,o.ppid=r[`user-ppid`]?.length?r[`user-ppid`]:null),vI(this._user,o)||(this._user=yI(o),this.userReplay$.next(this._user),this.coreConfig.enableIrisMode&&this.checkUserSubscribe())}getUserRoles(r){let o=[];return r?typeof r==`string`||r instanceof String?(o.push(this.parseRole(r.toString())),o):(r.forEach(i=>{o.push(this.parseRole(i))}),o):o}parseRole(r){let o=new wm;if(r){let i=r.toLocaleLowerCase().split(`_`);i.length===3&&(o.application=i[0],o.service=i[1],o.level=Number(i[2]))}return o}userHasRole(r){let o=!1;return r.forEach(i=>{let s=this.parseRole(i);if(o)return!1;this._user.roles.forEach(a=>{if(vm(a,{application:s.application.toLocaleLowerCase()})&&vm(a,{service:s.service.toLocaleLowerCase()})&&a.level>=s.level)return o=!0,!1})}),o}getUserRoleMaxLevel(r){let o=r.toLocaleLowerCase().split(`_`),i=o[0],s=o[1],a=-1;return this._user.roles.forEach(c=>{c.application===i&&c.service===s&&c.level>a&&(a=c.level)}),a}getUserDetails(){return this.httpClient.get(`${this.settingsService.getHost(N.crmapi)}/v1/users/user`)}isEmployee(r){return this.httpClient.get(`${this.settingsService.getHost(N.crmapi)}/v1/users/user/${r}/isEmployee`)}checkUserSubscribe(){if(!this._user||!this._user.id)return this.hasSubscriptionReplay.next(!1);this.httpClient.get(`${this.settingsService.getHost(N.irisApi)}/v1/iris/user/client/service/exists`).subscribe(r=>this.hasSubscriptionReplay.next(r))}};t.ɵfac=function(o){return new(o||t)(m(vn),m(Pt),m(ko))},t.ɵprov=I({token:t,factory:t.ɵfac});return t})();var FB=new _(`Optionally provded prefix for all local storage operations by NtmLocalStorageMemoryFallbackService`);var _m=(()=>{let t=class t{get isSupported(){return!this.useMemoryFallback}constructor(r,o){this.platformId=r,this.localStoragePrefix=o,this.useMemoryFallback=!1,this.memoryFallbackMap=new Map,rl(this.platformId)?this.testLocalStorage():this.useMemoryFallback=!0}get(r){return this.useMemoryFallback?this.memoryFallbackMap.get(r):this.getItem(r)}set(r,o){this.useMemoryFallback?this.memoryFallbackMap.set(r,o):this.setItem(r,o)}remove(r){this.useMemoryFallback?this.memoryFallbackMap.delete(r):this.removeItem(r)}testLocalStorage(){let r=`Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
6			Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
7			Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
8			Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.`,o=`lorem_ipsum_testing_storage`;this.setItem(o,r),this.getItem(o)!==r&&(this.useMemoryFallback=!0),this.removeItem(o)}setItem(r,o){try{o===void 0?o=null:o=JSON.stringify(o),window.localStorage.setItem(this.makeLocalStorageKey(r),o)}catch(i){console.error(`Error saving to localStorage`,r,i)}}getItem(r){try{let o=window.localStorage.getItem(this.makeLocalStorageKey(r));return!o||o===`null`?null:JSON.parse(o)}catch(o){return console.error(`Error getting data from localStorage`,r,o),null}}removeItem(r){window.localStorage.removeItem(this.makeLocalStorageKey(r))}makeLocalStorageKey(r){return this.localStoragePrefix?.length?`${this.localStoragePrefix}.${r}`:r}};t.ɵfac=function(o){return new(o||t)(m(Fn),m(FB,8))},t.ɵprov=I({token:t,factory:t.ɵfac});return t})();
8var Cm=(()=>{let t=class t{getCookie2(r){return this.getCookie(r)}setCookie2(r,o,i=24){let s=this.getCookieHostName(),a=new Date;a.setMonth(a.getMonth()+i),document.cookie=`${r}=${o};domain=${s};path=/;expires=${a.toUTCString()};SameSite=Strict;`}removeCookie2(r){let o=this.getCookieHostName(),i=new Date;i.setFullYear(i.getFullYear()-1),document.cookie=`${r}=;domain=${o};path=/;expires=${i.toUTCString()};SameSite=Strict;`}getCookieHostName(){let r=location.hostname.split(`.`),o;if(r.length>2){r.shift();o=r.join(`.`)}else o=location.hostname;return o===`localhost`||!o.match(/[a-z]/i)?o:`.${o}`}getCookie(r){for(var o=r+`=`,i=document.cookie.split(`;`),s=0;s<i.length;s++){for(var a=i[s];a.charAt(0)==` `;)a=a.substring(1);if(a.indexOf(o)==0)return a.substring(o.length,a.length)}return``}};t.ɵfac=function(o){return new(o||t)},t.ɵprov=I({token:t,factory:t.ɵfac});return t})();var Id=(()=>{let t=class t{constructor(r,o,i,s,a){this.settingsService=r,this.localStorage=o,this.cookieService=i,this.coreConfig=s,this.asyncStorage=a,this.accessTokenKey=`access_token`,this.refreshTokenKey=`refresh_token`}getRefreshToken$(){if(!this.settingsService.isBrowser)return D(null);if(this.asyncStorage)return $(this.asyncStorage.getItem(this.refreshTokenKey));if(this.coreConfig.enableBasicCookies){let r=this.cookieService.getCookie2(this.refreshTokenKey);if(r)return D(r)}if(!this.coreConfig.disableLocalStorage){let r=this.localStorage.get(this.refreshTokenKey);if(r)return D(r)}return D(null)}getAccessToken$(){if(!this.settingsService.isBrowser)return D(null);if(this.asyncStorage)return $(this.asyncStorage.getItem(this.accessTokenKey));if(!this.coreConfig.disableLocalStorage){let r=this.localStorage.get(this.accessTokenKey);if(r)return D(r)}if(this.coreConfig.enableBasicCookies){let r=this.cookieService.getCookie2(this.accessTokenKey);if(r)return D(r)}return D(null)}setTokens$(r,o){let i=[];return r&&(this.asyncStorage&&i.push($(this.asyncStorage.setItem(this.refreshTokenKey,r))),this.coreConfig.enableBasicCookies&&this.cookieService.setCookie2(this.refreshTokenKey,r),this.coreConfig.disableLocalStorage||this.localStorage.set(this.refreshTokenKey,r)),o&&(this.asyncStorage&&i.push($(this.asyncStorage.setItem(this.accessTokenKey,o))),this.coreConfig.enableBasicCookies&&this.cookieService.setCookie2(this.accessTokenKey,o),this.coreConfig.disableLocalStorage||this.localStorage.set(this.accessTokenKey,o)),i.length?je(i):D(null)}deleteTokens$(){return this.coreConfig.enableDebugTracing&&console.error(`🥃 Notice! Deleting tokens`),this.coreConfig.disableLocalStorage||(this.localStorage.remove(this.accessTokenKey),this.localStorage.remove(this.refreshTokenKey)),this.coreConfig.enableBasicCookies&&(this.cookieService.removeCookie2(this.accessTokenKey),this.cookieService.removeCookie2(this.refreshTokenKey)),this.asyncStorage?je([$(this.asyncStorage.removeItem(this.accessTokenKey)),$(this.asyncStorage.removeItem(this.refreshTokenKey))]):D(null)}};t.ɵfac=function(o){return new(o||t)(m(Pt),m(_m),m(Cm),m(ko),m(bm,8))},t.ɵprov=I({token:t,factory:t.ɵfac});return t})();var Td=(()=>{let t=class t{constructor(){this.userStateData$=new qe(1),this.idTokenKey=`sso_id_token`,this.accessTokenKey=`sso_access_token`,this.refreshTokenKey=`sso_refresh_token`,this.httpClient=g(vn),this.settingsService=g(Pt),this.coreConfig=g(ko),this.clientService=g(rs),this.localStorage=g(_m),this.cookieService=g(Cm),this.asyncStorage=g(bm,{optional:!0}),this.tokenService=g(Id),this.userService=g(Ua)}setTokens$({accessToken:r,refreshToken:o,idToken:i}){let s=[];return o&&(this.asyncStorage&&s.push($(this.asyncStorage.setItem(this.refreshTokenKey,o))),this.coreConfig.enableBasicCookies&&this.cookieService.setCookie2(this.refreshTokenKey,o),this.coreConfig.disableLocalStorage||this.localStorage.set(this.refreshTokenKey,o)),r&&(this.asyncStorage&&s.push($(this.asyncStorage.setItem(this.accessTokenKey,r))),this.coreConfig.enableBasicCookies&&this.cookieService.setCookie2(this.accessTokenKey,r),this.coreConfig.disableLocalStorage||this.localStorage.set(this.accessTokenKey,r)),i&&(this.asyncStorage&&s.push($(this.asyncStorage.setItem(this.idTokenKey,i))),this.coreConfig.enableBasicCookies&&this.cookieService.setCookie2(this.idTokenKey,i),this.coreConfig.disableLocalStorage||this.localStorage.set(this.idTokenKey,i)),s.length?je(s).pipe(R(a=>!0),pe(a=>(console.error(`Error when setting SSO tokens: `,a),D(!1)))):D(!0)}getRefreshToken$(){if(!this.settingsService.isBrowser)return D(null);if(this.asyncStorage)return $(this.asyncStorage.getItem(this.refreshTokenKey));if(this.coreConfig.enableBasicCookies){let r=this.cookieService.getCookie2(this.refreshTokenKey);if(r)return D(r)}if(!this.coreConfig.disableLocalStorage){let r=this.localStorage.get(this.refreshTokenKey);if(r)return D(r)}return D(null)}getAccessToken$(){if(!this.settingsService.isBrowser)return D(null);if(this.asyncStorage)return $(this.asyncStorage.getItem(this.accessTokenKey));if(!this.coreConfig.disableLocalStorage){let r=this.localStorage.get(this.accessTokenKey);if(r)return D(r)}if(this.coreConfig.enableBasicCookies){let r=this.cookieService.getCookie2(this.accessTokenKey);if(r)return D(r)}return D(null)}getIdToken$(){if(!this.settingsService.isBrowser)return D(null);if(this.asyncStorage)return $(this.asyncStorage.getItem(this.idTokenKey));if(!this.coreConfig.disableLocalStorage){let r=this.localStorage.get(this.idTokenKey);if(r)return D(r)}if(this.coreConfig.enableBasicCookies){let r=this.cookieService.getCookie2(this.idTokenKey);if(r)return D(r)}return D(null)}deleteTokens$(r){let o=r?.skipIdToken;if(this.coreConfig.enableDebugTracing&&(console.error(`🥃 Notice! Deleting tokens`),o&&console.error(`🥃 Notice! Skipping id token deletion`)),this.coreConfig.disableLocalStorage||(this.localStorage.remove(this.accessTokenKey),this.localStorage.remove(this.refreshTokenKey),o||this.localStorage.remove(this.idTokenKey)),this.coreConfig.enableBasicCookies&&(this.cookieService.removeCookie2(this.accessTokenKey),this.cookieService.removeCookie2(this.refreshTokenKey),o||this.cookieService.removeCookie2(this.idTokenKey)),this.asyncStorage){let i=[];return i.push($(this.asyncStorage.removeItem(this.accessTokenKey))),i.push($(this.asyncStorage.removeItem(this.refreshTokenKey))),o||i.push($(this.asyncStorage.removeItem(this.idTokenKey))),je(i)}else return D(null)}exchangeRefreshToken$(r){if(!r)return this.coreConfig.enableDebugTracing&&console.log(`refreshToken is missing for some reason, skipping requesting POST /connect/token`),D(null);let o=new yt().set(`grant_type`,`refresh_token`).set(`client_id`,this.clientService.clientName).set(`refresh_token`,r);return this.httpClient.post(`${this.settingsService.getHost(N.ssoSite)}/connect/token`,o.toString(),{headers:new st().set(`Content-Type`,`application/x-www-form-urlencoded`)}).pipe(R(i=>{if(i.access_token&&i.refresh_token&&i.id_token)return{accessToken:i.access_token,refreshToken:i.refresh_token,idToken:i.id_token};throw new Error(`Error when trying to exchange refresh token for access token`)}),pe(i=>
8{throw i instanceof Qe&&i.error.error===`invalid_grant`&&(this.coreConfig.enableDebugTracing&&console.log(`SSO refresh return invalid_grant, deleting tokens...`),$r(()=>this.coreConfig.enableSso,je([this.tokenService.deleteTokens$(),this.deleteTokens$()]),this.tokenService.deleteTokens$()).subscribe(()=>{this.userService.setUser(null)})),console.error(`Error when trying to refresh access token: `,i),i}))}exchangeCrmToken$(r){let o=new yt().set(`grant_type`,`urn:ietf:params:oauth:grant-type:token-exchange`).set(`client_id`,this.clientService.clientName).set(`subject_token_type`,`urn:ietf:params:oauth:token-type:refresh_token`).set(`subject_token`,r);return this.httpClient.post(`${this.settingsService.getHost(N.ssoSite)}/connect/token`,o.toString(),{headers:new st().set(`Content-Type`,`application/x-www-form-urlencoded`)}).pipe(R(i=>{if(i.access_token&&i.refresh_token)return{accessToken:i.access_token,refreshToken:i.refresh_token};throw new Error(`Error when trying to exchange CRM token for SSO tokens`)}),pe(i=>{throw i instanceof Qe&&i.error.error===`invalid_grant`&&(this.coreConfig.enableDebugTracing&&console.log(`CRM exchange token return invalid_grant, deleting tokens...`),$r(()=>this.coreConfig.enableSso,je([this.tokenService.deleteTokens$(),this.deleteTokens$()]),this.tokenService.deleteTokens$()).subscribe(()=>{this.userService.setUser(null)})),console.error(`Error when trying to exchange CRM token for SSO tokens: `,i),i}))}exchangeDssOrderTicket$(r){let o=new yt().set(`grant_type`,`urn:ietf:params:oauth:grant-type:token-exchange`).set(`client_id`,this.clientService.clientName).set(`subject_token_type`,`urn:ietf:params:oauth:token-type:jwt`).set(`subject_token`,r);return this.httpClient.post(`${this.settingsService.getHost(N.ssoSite)}/connect/token`,o.toString(),{headers:new st().set(`Content-Type`,`application/x-www-form-urlencoded`)}).pipe(R(i=>{if(i.access_token&&i.refresh_token)return{accessToken:i.access_token,refreshToken:i.refresh_token};throw new Error(`Error when trying to exchange DSS order ticket for SSO tokens`)}),pe(i=>{throw i instanceof Qe&&i.error.error===`invalid_grant`&&(this.coreConfig.enableDebugTracing&&console.log(`OSS exchange order token return invalid_grant, deleting tokens...`),$r(()=>this.coreConfig.enableSso,je([this.tokenService.deleteTokens$(),this.deleteTokens$()]),this.tokenService.deleteTokens$()).subscribe(()=>{this.userService.setUser(null)})),console.error(`Error when trying to exchange DSS order ticket for SSO tokens: `,i),i}))}isLoggedInWithCrm$(){return this.tokenService.getRefreshToken$().pipe(R(r=>!!r))}isLoggedInWithSso$(){return Jt({accessToken:this.getAccessToken$(),refreshToken:this.getRefreshToken$()}).pipe(R(({accessToken:r,refreshToken:o})=>!!r&&!!o))}isSsoEnabled$(){return D(!!this.coreConfig.enableSso)}};t.ɵfac=function(o){return new(o||t)},t.ɵprov=I({token:t,factory:t.ɵfac});return t})();var Md=(()=>{let t=class t{getSsoServerError$(){return this.ssoServerError$.asObservable()}emitSsoServerError(r){this.ssoServerError$.next(r)}constructor(r,o,i,s,a,c,u,l){this.clientService=r,this.httpClient=o,this.userService=i,this.settingsService=s,this.tokensService=a,this.ssoService=c,this.coreConfig=u,this.asyncStorage=l,this.ssoServerError$=new ye(null),this.settingsService.isBrowser&&this.coreConfig.enableSso&&(this.oidcClient=new Zb({authority:this.settingsService.getHost(N.ssoSite),client_id:this.clientService.clientName,redirect_uri:`${this.clientService.origin}/signin-oidc`,post_logout_redirect_uri:`${this.clientService.origin}/signout-callback-oidc`,response_type:`code`,scope:this.coreConfig.ssoClientScopes??`openid legacy offline_access`}))}ssoLogin$(r){let o=r?.loginType?`login_type:${r.loginType}`:``,i=r?.returnPath??`${window.location.pathname}${window.location.hash}`,s=r?.additionalData;return $(this.oidcClient.createSigninRequest({state:{returnPath:i,additionalData:s},acr_values:o})).pipe(R(a=>a.url),oe(a=>{this.coreConfig.enableDebugTracing&&console.log(`\u{1F943} Forwarding to SSO login URL: ${a}`),window.location.href=a}),R(a=>{}))}login$(r,o){return this.httpClient.post(`${this.settingsService.getHost(N.crmapi)}/v1/auth/login`,{Username:r,Password:o,clientName:this.clientService.clientName}).pipe(P(i=>{if(i.token)return this.handleLoginSuccess$(i.token.accessToken,i.token.refreshToken).pipe(R(()=>i));throw new Error(`Failed to login, no token in result.`)}))}redeemExchangeToken$(r){return this.httpClient.post(`${this.settingsService.getHost(N.crmapi)}/v1/auth/exchangeTokens/${r}/redeem`,{}).pipe(P(o=>{if(o.token)return this.handleLoginSuccess$(o.token.accessToken,o.token.refreshToken).pipe(R(()=>o));throw new Error(`Failed to exchange token and login, no token in result.`)}))}refreshUser$(){return this.coreConfig.enableSso?this.isAuthenticatedAsNtmUser$().pipe(P(r=>(this.coreConfig.enableDebugTracing&&r&&console.log(`🥃 Logged in with NTM AD account, skipping token exchange...`),r?this.crmRefreshTokens():this.ssoRefreshTokenOrExchangeCrmTokenForSso$().pipe(P(()=>Jt({accessToken:this.ssoService.getAccessToken$(),refreshToken:this.ssoService.getRefreshToken$()})),P(o=>this.handleLoginSuccess$(o.accessToken,o.refreshToken).pipe(R(()=>o))))))):this.crmRefreshTokens()}ssoRefreshTokenOrExchangeCrmTokenForSso$(){return Jt({loggedInWithCrm:this.ssoService.isLoggedInWithCrm$(),loggedInWithSso:this.ssoService.isLoggedInWithSso$()}).pipe(P(({loggedInWithCrm:r,loggedInWithSso:o})=>r&&!o?this.tokensService.getRefreshToken$().pipe(P(s=>this.ssoService.exchangeCrmToken$(s)),P(s=>s.refreshToken?this.ssoService.exchangeRefreshToken$(s.refreshToken):D(null)),P(s=>this.ssoService.setTokens$(s))):this.ssoService.getRefreshToken$().pipe(P(s=>this.ssoService.exchangeRefreshToken$(s)),P(s=>this.ssoService.setTokens$(s)))),R(r=>{}))}crmRefreshTokens(){return this.getRefreshToken$().pipe(P(r=>r?this.httpClient.post(`${this.settingsService.getHost(N.crmapi)}/v1/auth/refresh`,{refresh_token:r,clientname:this.clientService.clientName}):D(null)),P(r=>{if(r?.token?.accessToken&&r?.token?.refreshToken)return this.handleLoginSuccess$(r.token.accessToken,r.token.refreshToken).pipe(R(()=>({accessToken:r.token.accessToken,refreshToken:r.token.refreshToken}
8)));throw new Error(`Failed to refresh CRM user, no tokens in result.`)}))}handleLoginSuccess$(r,o,i){return(this.coreConfig.enableSso?this.ssoService.setTokens$({refreshToken:o,accessToken:r,idToken:i}):this.tokensService.setTokens$(o,r)).pipe(oe(()=>{this.userService.setUser(r)}))}logout$(r){let{softLogout:o=!1,returnPath:i}=r||{};return this.coreConfig.enableSso?o?D(this.userService.setUser(null)):this.ssoService.getIdToken$().pipe(P(s=>je([this.ssoService.deleteTokens$(),this.tokensService.deleteTokens$()]).pipe(R(()=>s))),P(s=>$(this.oidcClient.createSignoutRequest({id_token_hint:s??void 0,state:i}))),R(s=>s.url),oe(s=>{this.settingsService.isBrowser&&(window.location.href=s)})):this.tokensService.deleteTokens$().pipe(oe(()=>{this.userService.setUser(null)}))}jwtSetUser$(){return this.getAccessToken$().pipe(P(r=>this.handleLoginSuccess$(r,null)))}getAccessToken$(){return this.settingsService.isBrowser?Jt({isSsoEnabled:this.ssoService.isSsoEnabled$(),isLoggedInWithSso:this.ssoService.isLoggedInWithSso$()}).pipe(P(({isSsoEnabled:r,isLoggedInWithSso:o})=>r&&o?this.ssoService.getAccessToken$():this.tokensService.getAccessToken$())):D(null)}setInactiveRefreshTokenForAD$(r){return this.tokensService.setTokens$(r)}getRefreshToken$(){return this.settingsService.isBrowser?Jt({isSsoEnabled:this.ssoService.isSsoEnabled$(),isLoggedInWithSso:this.ssoService.isLoggedInWithSso$()}).pipe(P(({isSsoEnabled:r,isLoggedInWithSso:o})=>r&&o?this.ssoService.getRefreshToken$():this.tokensService.getRefreshToken$())):D(null)}silentLogin$(r){return $(this.oidcClient.createSigninRequest({state:{returnPath:r??`/`,silent:!0},prompt:`none`})).pipe(R(o=>o.url),oe(o=>{this.coreConfig.enableDebugTracing&&console.log(`\u{1F943} Attempting silent login (prompt=none): ${o}`),window.location.href=o}),R(o=>{}))}isAuthenticatedAsNtmUser$(){return this.tokensService.getAccessToken$().pipe(P(r=>{if(!r)return D(!1);return D(Ro(r).usertypeid===CI.AD)}))}};t.ɵfac=function(o){return new(o||t)(m(rs),m(vn),m(Ua),m(Pt),m(Id),m(Td),m(ko),m(bm,8))},t.ɵprov=I({token:t,factory:t.ɵfac});return t})();var _I=(()=>{let t=class t{constructor(r,o,i,s,a,c,u){this.authService=r,this.tokensService=o,this.ssoService=i,this.settingsService=s,this.transferState=a,this.coreConfig=c,this.ssrHeaders=u,this.interceptHosts=this.settingsService.getInterceptHosts(),this.refreshEndpoint=`${this.settingsService.getHost(N.crmapi)}/v1/auth/refresh`,this.refreshInProgress=new ye(!0),this.isAllowedToRefreshSso=!0,this.ssoErrorAt=-1,this.ssoRetryTimeoutId=null,this.ssoRetrySubscription=null,this.ssoErrorFirstDetectedAt=-1,this.currentBackoffMs=1e4,this.initialBackoffMs=1e4,this.maxBackoffMs=6e4,this.maxRetryDurationMs=6e5;let l=`injected-token`,d=()=>{if(this.ssrHeaders?.[`injected-token`]){if(this.injectedToken=this.ssrHeaders[`injected-token`],this.injectedToken?.length){let f=Ro(this.injectedToken)?.userid;f!==`674165`&&f!==`1104386`&&this.transferState.set(l,this.injectedToken)}return this.authService.jwtSetUser$().pipe(oe(()=>this.refreshInProgress.next(!1)))}else return this.transferState.hasKey(l)?(this.injectedToken=this.transferState.get(l,null),this.authService.jwtSetUser$().pipe(oe(()=>this.refreshInProgress.next(!1)))):s.isBrowser&&window.location.pathname.includes(`/logga-ut`)?$r(()=>c.enableSso,je([this.tokensService.deleteTokens$(),this.ssoService.deleteTokens$({skipIdToken:!0})]),this.tokensService.deleteTokens$()).pipe(P(()=>this.authService.jwtSetUser$()),oe(()=>this.refreshInProgress.next(!1))):this.refreshAndLogin$().pipe(Ge(1),pe(()=>D(null)))};setTimeout(()=>d().subscribe())}intercept(r,o){return r.url.indexOf(`http`)===-1||r.url===this.refreshEndpoint||r.url===`${this.settingsService.getHost(N.crmapi)}/v1/auth/inactive`||r.url===`${this.settingsService.getHost(N.crmapi)}/v1/auth/login`||this.interceptHosts.indexOf(new URL(r.url).hostname)===-1||r.headers.get(`NO_JWT_INTERCEPTOR`)?o.handle(r):(this.logDebugTracing(`🥃 jwt intercepting`,r.url),this.setHeader(r,o).pipe(pe(i=>i instanceof Qe&&i.status===401?this.setHeader(r,o):er(i))))}setHeader(r,o){return this.refreshInProgress.pipe(Se(i=>!i),Ge(1),P(()=>this.injectedToken?D(this.injectedToken):this.authService.getAccessToken$()),P(i=>{if(!this.isAllowedToRefreshSso){if(this.getTimeTilAllowedToRefresh()>0)return this.logDebugTracing(`🥃 jwt interceptor tried to refresh but was not allowed to. Allowed to try in: `+this.getTimeTilAllowedToRefresh()),o.handle(r);this.logDebugTracing(`🥃 jwt interceptor timeout has passed, will try to refresh...`)}return!i||!this.isTokenStillValid(i)?(this.coreConfig.enableDebugTracing&&console.error(`🥃 For one reason or another, the access token is not there or it is invali
8d`,i),this.refreshAndLogin$().pipe(P(s=>(r=r.clone({setHeaders:{Authorization:`Bearer `+s.accessToken}}),o.handle(r))),pe(s=>o.handle(r)))):(r=r.clone({setHeaders:{Authorization:`Bearer `+i}}),o.handle(r))}))}refreshAndLogin$(){return this.refreshInProgress.next(!0),this.authService.getRefreshToken$().pipe(pe(r=>(this.refreshInProgress.next(!1),er(`Severe cookie error`))),P(r=>!this.isAllowedToRefreshSso&&this.getTimeTilAllowedToRefresh()>0?(this.logDebugTracing(`🥃 jwt interceptor tried to refresh but was not allowed to. Allowed to try in: `+this.getTimeTilAllowedToRefresh()),this.refreshInProgress.next(!1),er(()=>new Error(`Not allowed to refresh`))):(this.logDebugTracing(`🥃 jwt interceptor wants to refresh with refresh token: `,r),r?this.authService.refreshUser$().pipe(oe(()=>this.refreshInProgress.next(!1)),pe(o=>(console.error(o),this.handleRefreshError$(o).pipe(R(()=>{throw this.refreshInProgress.next(!1),o})))),oe(()=>{this.isAllowedToRefreshSso||(this.authService.emitSsoServerError(null),this.currentBackoffMs=this.initialBackoffMs,this.ssoErrorAt=-1,this.ssoErrorFirstDetectedAt=-1),this.isAllowedToRefreshSso=!0})):(this.refreshInProgress.next(!1),this.authService.logout$({softLogout:!0}).pipe(P(()=>
8er(`There is no refresh token`)))))))}isTokenStillValid(r,o=3){try{let i=Date.now()/1e3,s=Ro(r).exp;return this.logDebugTracing(`🥃 jwt interceptor did a check of exp and got:`,s-i),s-i>o}catch(i){return!1}}handleRefreshError$(r){if(r instanceof Qe){if(r.status===499)return this.authService.logout$({softLogout:!0});if(r.error.error===`expired_token`)return $r(()=>this.coreConfig.enableSso,je([this.tokensService.deleteTokens$(),this.ssoService.deleteTokens$()]),this.tokensService.deleteTokens$()).pipe(P(()=>this.authService.logout$({softLogout:!0})));if((r.status===0||r.status.toString().startsWith(`5`))&&r.url.endsWith(`/connect/token`)){if(this.isAllowedToRefreshSso){this.isAllowedToRefreshSso=!1,this.ssoErrorAt=Date.now(),this.ssoErrorFirstDetectedAt=Date.now(),this.currentBackoffMs=this.initialBackoffMs;let i=this.settingsService.isBrowser?window.location.pathname:``;this.authService.emitSsoServerError({returnPath:i,timestamp:Date.now()}),this.scheduleSsoRetry()}else this.ssoErrorAt=Date.now();return this.authService.jwtSetUser$()}}return this.authService.jwtSetUser$()}getTimeTilAllowedToRefresh(){return this.ssoErrorAt+this.currentBackoffMs-Date.now()}scheduleSsoRetry(){if(this.ssoRetryTimeoutId&&clearTimeout(this.ssoRetryTimeoutId),this.ssoRetrySubscription?.unsubscribe(),this.ssoErrorFirstDetectedAt>0&&Date.now()-this.ssoErrorFirstDetectedAt>this.maxRetryDurationMs){this.logDebugTracing(`🥃 SSO retry duration exceeded, stopping proactive retries`);return}this.logDebugTracing(`🥃 Scheduling SSO retry in`,this.currentBackoffMs,`ms`),this.ssoRetryTimeoutId=setTimeout(()=>{if(this.ssoRetryTimeoutId=null,this.refreshInProgress.value){this.logDebugTracing(`🥃 SSO retry skipped, refresh already in progress`),this.currentBackoffMs=Math.min(this.currentBackoffMs*2,this.maxBackoffMs),this.scheduleSsoRetry();return}this.refreshInProgress.next(!0),this.ssoRetrySubscription=this.authService.refreshUser$().pipe(Ge(1)).subscribe({next:()=>{this.logDebugTracing(`🥃 SSO retry succeeded, recovered`),this.refreshInProgress.next(!1),this.authService.emitSsoServerError(null),this.isAllowedToRefreshSso=!0,this.currentBackoffMs=this.initialBackoffMs,this.ssoErrorAt=-1,this.ssoErrorFirstDetectedAt=-1},error:()=>{this.logDebugTracing(`🥃 SSO retry failed, next attempt in`,Math.min(this.currentBackoffMs*2,this.maxBackoffMs),`ms`),this.refreshInProgress.next(!1),this.ssoErrorAt=Date.now(),this.currentBackoffMs=Math.min(this.currentBackoffMs*2,this.maxBackoffMs),this.scheduleSsoRetry()}})},this.currentBackoffMs)}logDebugTracing(...r){this.coreConfig.enableDebugTracing&&console.log(r)}};t.ɵfac=function(o){return new(o||t)(m(Md),m(Id),m(Td),m(Pt),m(si),m(ko),m(`SSR_HEADERS`,8))},t.ɵprov=I({token:t,factory:t.ɵfac});return t})();var Ar=(function(e){return e[e.userTerm=1]=`userTerm`,e[e.subscriptionTerm=2]=`subscriptionTerm`,e[e.generalTerm=3]=`generalTerm`,e[e.addOnTerm=9]=`addOnTerm`,e[e.voucherTerm=11]=`voucherTerm`,e})(Ar||{});var jB=(()=>{let t=class t{constructor(r,o,i,s){this.clientService=r,this.httpClient=o,this.userService=i,this.settingsService=s,this.unacceptedUserTermsReplay$=new qe(1),this.allClientTermsReplay$=new qe(1),this.allSubscriptionTermsReplay$=new qe(1),this.clientName=this.clientService.clientName,this.settingsService.isBrowser&&(this.userService.userReplay$.pipe(Se(a=>a.id?!0:(this.unacceptedUserTermsReplay$.next([]),!1)),P(()=>this.getUnacceptedUserTerms())).subscribe(),this.getAllClientAndSubscriptionTerms().subscribe())}acceptTerms(r){let o=[];return r.forEach(i=>{let s={termID:i.id,version:i.version,clientName:this.clientName};o.push(this.httpClient.post(`${this.settingsService.getHost(N.crmapi)}/v1/terms/user/accept`,s))}),je(o).pipe(P(()=>this.getUnacceptedUserTerms()))}getAcceptedUserTerms(){return this.httpClient.get(`${this.settingsService.getHost(N.crmapi)}/v1/terms/user/accepted/client`).pipe(P(r=>{let o=[];return r.forEach(i=>o.push(this.getTerm(i.termID))),je(o)}))}getAllClientAndSubscriptionTerms(){return this.httpClient.post(`${this.settingsService.getHost(N.crmapi)}/v1/terms/client`,[this.clientName]).pipe(oe(r=>{this.allClientTermsReplay$.next(r[0].terms.filter(o=>o.termTypeID!==Ar.subscriptionTerm&&o.termTypeID!==Ar.addOnTerm&&o.termTypeID!==Ar.voucherTerm)),this.allSubscriptionTermsReplay$.next(r[0].terms.filter(o=>o.termTypeID===Ar.subscriptionTerm))}))}getUnacceptedUserTerms(){return je([this.httpClient.get(`${this.settingsService.getHost(N.crmapi)}/v1/terms/user`),this.userService.hasSubscriptionReplay$.pipe(Ge(1))]).pipe(R(([i,s])=>(s||(i=i.filter(a=>a.termTypeID!==Ar.subscriptionTerm)),this.unacceptedUserTermsReplay$.next(i.filter(a=>a.termTypeID!==Ar.addOnTerm&&a.termTypeID!==Ar.voucherTerm)),i)))}getTerm(r){return this.httpClient.get(`${this.settingsService.getHost(N.crmapi)}/v1/terms/${r}`)}};t.ɵfac=function(o){return new(o||t)(m(rs),m(vn),m(Ua),m(Pt))},t.ɵprov=I({token:t,factory:t.ɵfac});return t})();var UB=(()=>{let t=class t{constructor(r,o,i,s){this.clientService=r,this.httpClient=o,this.settingsService=i,this.authService=s,this.clientName=this.clientService.clientName}getADLoginURLAndSetToken$(r,o){return o||(o=window.location.href),this.getInactiveToken(r).pipe(P(i=>{let s=i.token;return this.authService.setInactiveRefreshTokenForAD$(s).pipe(R(()=>`${this.settingsService.getHost(N.crmAuth)}?t=${s}&c=${o}`))}))}getInactiveToken(r){return this.httpClient.post(`${this.settingsService.getHost(N.crmapi)}/v1/auth/inactive`,{ClientName:this.clientName,UserName:r})}};t.ɵfac=function(o){return new(o||t)(m(rs),m(vn),m(Pt),m(Md))},t.ɵprov=I({token:t,factory:t.ɵfac});return t})();
8var CI=(function(e){return e.normal=`1`,e.AD=`15`,e.TuloUser=`16`,e.TuloCompany=`17`,e.ExternalUser=`18`,e.TuloCoordNum=`20`,e.ExternalEmployee=`21`,e})(CI||{});var Uae=[...[Td,rs,UB,Md,Cm,jB,Ua,_I,Id,_m],{provide:gl,useClass:_I,multi:!0}];var BB=(()=>{let t=class t{constructor(){this.router=g(kt),this.authService=g(Md),this.ssoService=g(Td),this.isBrowser=g(Pt).isBrowser,this.enableDebugTracing=g(ko).enableDebugTracing,this.loginStateSignal=ce(`pending`)}ngOnInit(){this.isBrowser&&this.handleLogin$().subscribe()}handleLogin$(){return $(this.authService.oidcClient.processSigninResponse(window.location.href)).pipe(P(r=>this.authService.handleLoginSuccess$(r.access_token,r.refresh_token,r.id_token).pipe(R(()=>r))),oe(r=>{this.enableDebugTracing&&console.log(`🥃 callback response:`,r),this.setUserStateData(r.userState),this.handleRedirectFromState(r.userState)}),pe(r=>r.state&&typeof r.state==`object`&&r.state.silent&&(r.error===`login_required`||r.error===`interaction_required`)?(this.enableDebugTracing&&console.log(`🥃 Silent login failed (no session), redirecting without login.`),this.handleRedirectFromState(r.state),D(null)):r.error_description===`request_cancelled`?(this.handleRedirectFromState(r.state,!0),D(null)):(console.error(r),this.loginStateSignal.set(`error`),D(r))))}handleRedirectFromState(r,o=!1){let i=r&&typeof r==`object`&&`returnPath`in r?r.returnPath:null;i&&i.includes(`signin-oidc`)?(this.loginStateSignal.set(`done`),this.router.navigateByUrl(``)):(o?this.loginStateSignal.set(`cancelled`):this.loginStateSignal.set(i?`redirect`:`done`),this.router.navigateByUrl(i??``))}setUserStateData(r){let o=r&&typeof r==`object`&&`additionalData`in r?r.additionalData:null;o&&this.ssoService.userStateData$.next(o)}};t.ɵfac=function(o){return new(o||t)},t.ɵcmp=ta({type:t,selectors:[[`lib-ntm-core-sso-signin-callback`]],decls:8,vars:1,consts:[[1,`d-flex`,`align-items-center`,`justify-content-center`],[1,`mx-3`,`mt-5`,`loading-content`],[1,`loading-spinner`],[1,`spinner`],[1,`no-text-placeholder`],[1,`btn`,`btn-primary`,`btn-login`,3,`asyncClick`],[1,`d-block`],[`routerLink`,``,1,`text-decoration-none`,`alert-link`]],template:function(o,i){if(o&1&&(Ye(0,`div`,0)(1,`div`,1),Op(2,RB,3,0,`div`,2)(3,AB,4,0,`div`,2)(4,NB,4,0,`div`,2)(5,OB,4,0,`div`,2)(6,kB,8,1)(7,PB,1,0),Rt()()),o&2){let s;ku(2),Pp((s=i.loginStateSignal())===`pending`?2:s===`redirect`?3:s===`cancelled`?4:s===`done`?5:s===`error`?6:7)}},dependencies:[Yl,Hb],styles:[`[_nghost-%COMP%]{display:block;min-height:100vh}.loading-content[_ngcontent-%COMP%]{padding:1rem;justify-items:center;text-align:center}.loading-spinner[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;width:100%}.spinner[_ngcontent-%COMP%]{border:4px solid var(--%NS%iris-text-primary-color);border-top:4px solid transparent;border-radius:50%;width:35px;height:35px;animation:_ngcontent-%COMP%_spin 3s linear infinite;opacity:.4;margin-bottom:25px}.no-text-placeholder[_ngcontent-%COMP%]{display:block;min-width:20px;height:24px}.btn-login[_ngcontent-%COMP%]{background-color:transparent;border-color:var(--%NS%iris-text-primary-color);color:var(--%NS%iris-text-primary-color)}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}`]});return t})();var HB=Object.freeze({__proto__:null,SsoSigninCallbackComponent:BB});var $ae=[{path:`signin-oidc`,loadComponent:()=>Promise.resolve().then(function(){return HB}).then(e=>e.SsoSigninCallbackComponent)},{path:`signout-callback-oidc`,loadComponent:()=>import(`./chunk-B-dfx9Mj2.js`).then(e=>e.SsoSignoutCallbackComponent)}];var VB=new _(`NtmSitedataConfig`);var Dm=class{};var Sm=class{};var Em=class{};var II=(()=>{let t=class t{constructor(r,o,i,s,a,c){if(this.sitedataConfig=r,this.httpClient=o,this.settingService=i,this.userService=s,this.clientService=a,this.transferState=c,this.siteDataReplay=new qe(1),this.siteDataReplay$=this.siteDataReplay.asObservable(),this.user=new ns,this.siteData2Keys=[],this.combineMerge=(u,l,d)=>{let f=u.slice();return l.forEach((h,p)=>{typeof f[p]>`u`?f[p]=d.cloneUnlessOtherwiseSpecified(h,d):d.isMergeableObject(h)?f[p]=ym(u[p],h,d):u.indexOf(h)===-1&&f.push(h)}),f},this.settingService.isBrowser&&this.transferState){let u=this.transferState.get(this.makeSiteDataStateKey(),null);if(u){this.siteDataReplay.next(u);return}}if(this.sitedataConfig.secondarySiteDataKeys?.length&&(this.siteData2Keys=JSON.parse(JSON.stringify(this.sitedataConfig.secondarySiteDataKeys))),!this.siteData2Keys?.length&&!this.sitedataConfig.clientSiteDataKeys)this.onInitGetPrimarySiteData().subscribe(u=>{this.siteDataReplay.next(u),!this.settingService.isBrowser&&this.transferState&&this.transferState.set(this.makeSiteDataStateKey(),u)});else{if(this.sitedataConfig.clientSiteDataKeys?.length){let u=this.sitedataConfig.clientSiteDataKeys.find(l=>l[0]===this.clientService.clientName)?.[1];u?this.siteData2Keys.push(u):console.error(`Failed to get SiteData2 ClientKey with clientService.clientName: ${this.clientService.clientName}`)}this.onInitGetPrimaryAndSecondarySiteDatas().subscribe(u=>{this.siteDataReplay.next(u),!this.settingService.isBrowser&&this.transferState&&this.transferState.set(this.makeSiteDataStateKey(),u)})}}onInitGetPrimarySiteData(){return this.sitedataConfig.jwtEndpoint?fc(D(new ns),this.userService.userReplay$.pipe(Se(r=>!(!r.id&&!this.user.id)))).pipe(P(r=>(this.user=r,this.httpClient.get(this.getSiteDataUrl(this.sitedataConfig.primarySiteDataKey))))):this.httpClient.get(this.getSiteDataUrl(this.sitedataConfig.primarySiteDataKey))}onInitGetPrimaryAndSecondarySiteDatas(){return this.sitedataConfig.jwtEndpoint?fc(D(new ns),this.userService.userReplay$.pipe(Se(r=>!(!r.id&&!this.user.id)))).pipe(P(r=>(this.user=r,this.getPrimaryAndSecondarySiteDatas()))):this.getPrimaryAndSecondarySiteDatas()}getPrimaryAndSecondarySiteDatas(){let r=this.httpClient.get(this.getSiteDataUrl(this.sitedataConfig.primarySiteDataKey)),o=[];return this.siteData2Keys.forEach(i=>
8o.push(this.httpClient.get(this.getSiteDataUrl(i)).pipe(pe(()=>D(new Dm))))),je([r,je(o)]).pipe(R(([i,s])=>ym.all([i,...s],this.sitedataConfig.arrayMerge?{arrayMerge:this.combineMerge}:null)))}getSiteDataUrl(r){let o=`${this.settingService.getHost(N.crmapi)}/v1/sitedata/${r}`;return this.user&&this.user.id&&this.sitedataConfig.jwtEndpoint&&(o=`${this.settingService.getHost(N.crmapi)}/v1/sitedata/jwt/${r}`),o}makeSiteDataStateKey(){return`ssr-computed-sitedata-${this.sitedataConfig.primarySiteDataKey}`}};t.ɵfac=function(o){return new(o||t)(m(VB),m(vn),m(Pt),m(Ua),m(rs),m(si,8))},t.ɵprov=I({token:t,factory:t.ɵfac});return t})();var xd=(()=>{let t=class t{constructor(r){this.sitedata2Store=r}getSiteData$(){return this.sitedata2Store.siteDataReplay$}getSitePage$(r){return this.sitedata2Store.siteDataReplay$.pipe(R(o=>o.pages.find(i=>i.id===r)))}getSiteTemplate$(r){return this.sitedata2Store.siteDataReplay$.pipe(R(o=>o.templates.find(i=>i.id===r)))}getSiteModule$(r){return this.sitedata2Store.siteDataReplay$.pipe(R(o=>o.modules.find(i=>i.id===r)))}getSiteSettings$(){return this.sitedata2Store.siteDataReplay$.pipe(R(r=>r.settings))}getSiteBlade$(r){return this.sitedata2Store.siteDataReplay$.pipe(R(o=>o.blades.find(i=>i.routeName===r)))}};t.ɵfac=function(o){return new(o||t)(m(II))},t.ɵprov=I({token:t,factory:t.ɵfac});return t})();var zB=(()=>{let t=class t{constructor(r,o,i,s){this.document=r,this.meta=o,this.title=i,this.siteDataService=s,this.customMetaNames=[],this.customMetaProperties=[],this.siteDataService.getSiteSettings$().subscribe(a=>{a.seoGlobalTitlePrefix?this.titlePrefix=a.seoGlobalTitlePrefix:this.titlePrefix=``,a.seoGlobalTitleSuffix?this.titleSuffix=a.seoGlobalTitleSuffix:this.titleSuffix=``})}updateAllFromSiteData(r){return this.siteDataService.getSitePage$(r).pipe(Ge(1),R(o=>o.texts[0].seo),oe(o=>{this.customMetaNames.forEach(i=>this.meta.removeTag(`name="${i}"`)),this.customMetaNames=[],this.customMetaProperties.forEach(i=>this.meta.removeTag(`property="${i}"`)),this.customMetaProperties=[],this.updateTitle(o.title,o.ogTitle),this.updateType(o.type),this.updateOGImage(o.ogImage,o.ogImageWidth,o.ogImageHeight),this.updateDescription(o.description,o.ogDescription),this.updateUrl(o.ogUrl),this.updateCanonical(o.canonical),this.updateRobots(o.robots)}))}updateTitle(r,o){r?(this.titlePrefix&&(r=this.titlePrefix+r),this.titleSuffix&&(r=r+this.titleSuffix),this.title.setTitle(r)):this.updateCustom(`title`,`og:title`,null),this.meta.updateTag({property:`og:title`,content:o||r})}updatePageTitle(r,o){this.title.setTitle(r),this.meta.updateTag({property:`og:title`,content:o||r})}updateKeywords(r){r?this.meta.updateTag({name:`keywords`,content:r}):this.meta.removeTag(`name="keywords"`)}updateOGImage(r,o,i){r?(this.meta.updateTag({name:`image`,content:this.convertToSsl(r)}),this.meta.updateTag({property:`og:image`,content:this.convertToSsl(r)}),o&&i&&(this.meta.updateTag({property:`og:image:width`,content:`${o}`}),this.meta.updateTag({property:`og:image:height`,content:`${i}`}))):(this.meta.removeTag(`name="image"`),this.meta.removeTag(`property="og:image"`),this.meta.removeTag(`property="og:image:width"`),this.meta.removeTag(`property="og:image:height"`))}updateDescription(r,o){r?(this.meta.updateTag({name:`description`,content:r}),this.meta.updateTag({property:`og:description`,content:o||r})):(this.meta.removeTag(`name="description"`),this.meta.removeTag(`property="og:description"`))}updateUrl(r){r?(this.meta.updateTag({name:`url`,content:r}),this.meta.updateTag({property:`og:url`,content:r})):(this.meta.removeTag(`name="url"`),this.meta.removeTag(`property="og:url"`))}updateCanonical(r){if(r){let o=this.document.createElement(`link`);o.setAttribute(`rel`,`canonical`),o.setAttribute(`href`,r),this.document.head.appendChild(o)}else{let o=this.document.head.querySelector(`link[rel="canonical"]`);o&&this.document.head.removeChild(o)}}updateRobots(r){r?this.meta.updateTag({name:`robots`,content:r}):this.meta.removeTag(`name="robots"`)}updateType(r){r?(this.meta.updateTag({name:`type`,content:r}),this.meta.updateTag({property:`og:type`,content:r})):(this.meta.removeTag(`name="type"`),this.meta.removeTag(`property="og:type"`))}updateCustom(r,o,i){i!=null?(r&&(this.customMetaNames.find(s=>s===r)?this.meta.updateTag({name:r,content:i}):(this.meta.addTag({name:r,content:i}),this.customMetaNames.push(r))),o&&(this.customMetaProperties.find(s=>s===o)?this.meta.updateTag({property:o,content:i}):(this.meta.addTag({property:o,content:i}),this.customMetaProperties.push(o)))):(r&&(this.meta.removeTag(`name="${r}"`),this.customMetaNames=this.customMetaNames.filter(s=>s!==r)),o&&(this.meta.removeTag(`property="${o}"`),this.customMetaProperties=this.customMetaProperties.filter(s=>s!==o)))}convertToSsl(r){return r?r.replace(`http://www.`,`https://`).replace(`http://`,`https://`):``}};t.ɵfac=function(o){return new(o||t)(m(ee),m(OE),m(wl),m(xd))},t.ɵprov=I({token:t,factory:t.ɵfac});return t})();var Bae=(()=>{let t=class t{constructor(r){this.siteData2Service=r,this.ngUnsubscribe=new re,this.siteSettingsBehavior=new ye(new Sm)}transform(r){return this.siteData2Service.getSiteSettings$().pipe(en(this.ngUnsubscribe)).subscribe(o=>{this.siteSettingsBehavior.next(o)}),this.siteSettingsBehavior.asObservable()}ngOnDestroy(){this.ngUnsubscribe.next(null),this.ngUnsubscribe.complete()}};t.ɵfac=function(o){return new(o||t)(be(xd,16))},t.ɵpipe=Hn({name:`siteSettings`,type:t,pure:!0});return t})();var Hae=(()=>{let t=class t{constructor(r){this.siteData2Service=r,this.ngUnsubscribe=new re,this.templateBehavior=new ye(new Em)}transform(r){return this.siteData2Service.getSiteTemplate$(r).pipe(en(this.ngUnsubscribe),R(o=>o?.texts?.[0]?.text)).subscribe(o=>{this.templateBehavior.next(o)}),this.templateBehavior.asObservable()}ngOnDestroy(){this.ngUnsubscribe.next(null),this.ngUnsubscribe.complete()}};t.ɵfac=function(o){return new(o||t)(be(xd,16))},t.ɵpipe=Hn({name:`siteTemplateText`,type:t,pure:!0});return t})();var Vae=[II,xd,zB];export{Ns as $,kt as $n,u0 as $r,ZD as $t,HP as A,g as An,po as Ar,Vae as At,Jt as B,ho as Bn,re as Br,W_ as Bt,Fp as C,zB as Ci,eS as Cn,pN as Cr,Uae as Ct,Ge as D,ze as Di,er as Dn,pc as Dr,VB as Dt,GR as E,zR as Ei,en as En,pT as Er,Ur as Et,Hu as F,gt as Fn,qe as Fr,Vu as Ft,Lp as G,jA as Gn,sd as Gr,XN as Gt,K_ as H,ii as Hn,rs as Hr,Wu as Ht,I,hS as In,qv as Ir,Vw as It,Mc as J,jb as Jn,tN as Jr,YD as Jt,Lt as K,jB as Kn,sk as Kr,XP as Kt,Id as L,hT as Ln,r0 as Lr,WD as Lt,Hb as M,gS as Mn,qD as Mr,Vn as Mt,Hn as N,gl as Nn,qN as Nr,Vo as Nt,Gu as O,zw as Oi,fT as On,pe as Or,VD as Ot,Hp as P,gn as Pn,qP as Pr,Vp as Pt,No as Q,kp as Qn,tt as Qr,ZC as Qt,JD as R,he as Rn,rS as Rr,WJ as Rt,Fn as S,yw as Si,eN as Sn,pC as Sr,Ua as St,GP as T,zP as Ti,ee as Tn,pS as Tr,Un as Tt,Ki as U,ik as Un,ry as Ur,XA as Ut,KC as V,i0 as Vn,rl as Vr,Wm as Vt,Le as W,j as Wn,sO as Wr,XC as Wt,N as X,k7 as Xn,ta as Xr,Yg as Xt,Md as Y,je as Yn,tS as Yr,Ye as Yt,NO as Z,ko as Zn,te as Zr,Yl as Zt,Eo as _,yN as _i,dO as _n,od as _r,Si as _t,A7 as a,vn as ai,a0 as an,mS as ar,Pe as at,FB as b,yr as bi,e0 as bn,ov as br,Td as bt,Bb as c,wS as ci,aZ as cn,mr as cr,QN as ct,Bp as d,wr as di,c0 as dn,nS as dr,Re as dt,uO as ei,Zc as en,ku as er,O7 as et,CI as f,x7 as fi,cN as fn,nd as fr,Rs as ft,Ei as g,yI as gi,d0 as gn,oS as gr,
8Se as gt,Dn as h,xr as hi,ce as hn,nv as hr,S as ht,$i as i,vS as ii,_n as in,m as ir,P as it,Hae as j,gN as jn,px as jr,Ve as jt,Gv as k,fc as kn,pn as kr,VP as kt,Bd as l,wg as li,be as ln,n0 as lr,R as lt,De as m,xd as mi,cd as mn,nr as mr,Ru as mt,$ae as n,ue as ni,_ as nn,lC as nr,Op as nt,B0 as o,vr as oi,aS as on,me as or,Pp as ot,D as p,xN as pi,cT as pn,ne as pr,Rt as pt,M7 as q,jJ as qn,t0 as qr,Xt as qt,$d as r,vN as ri,_m as rn,lk as rr,Ot as rt,Bae as s,vx as si,aT as sn,mo as sr,Pt as st,$ as t,uT as ti,Zr as tn,l0 as tr,O_ as tt,Bn as u,wi as ui,bi as un,nN as ur,R7 as ut,Er as v,ye as vi,dd as vn,oe as vr,So as vt,GN as w,zN as wi,ea as wn,pO as wr,Ub as wt,Fb as x,yt as xi,eM as xn,oy as xr,UC as xt,FA as y,yo as yi,du as yn,ok as yr,T7 as yt,JN as z,hi as zn,ra as zr,WN as zt};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.