vendor: 6,206 bytes, line 1
1import{d as dh,i as Vi,j as fh,k as hh}from"./chunk-IZQOVDKO.js";import{a as ee,b as ce,c as lh,d as eI,f as tI,g as ue}from"./chunk-6IZLXKZM.js";var ME=eI((Gf,Wf)=>{(function(e,t){typeof Gf=="object"&&typeof Wf<"u"?Wf.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self).dayjs=t()})(Gf,function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",i="minute",s="hour",a="day",c="week",u="month",l="quarter",d="year",h="date",f="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(k){var w=["th","st","nd","rd"],E=k%100;return"["+k+(w[(E-20)%10]||w[E]||w[0])+"]"}},v=function(k,w,E){var _=String(k);return!_||_.length>=w?k:""+Array(w+1-_.length).join(E)+k},D={s:v,z:function(k){var w=-k.utcOffset(),E=Math.abs(w),_=Math.floor(E/60),C=E%60;return(w<=0?"+":"-")+v(_,2,"0")+":"+v(C,2,"0")},m:function k(w,E){if(w.date()<E.date())return-k(E,w);var _=12*(E.year()-w.year())+(E.month()-w.month()),C=w.clone().add(_,u),B=E-C<0,V=w.clone().add(_+(B?-1:1),u);return+(-(_+(E-C)/(B?C-V:V-C))||0)},a:function(k){return k<0?Math.ceil(k)||0:Math.floor(k)},p:function(k){return{M:u,y:d,w:c,d:a,D:h,h:s,m:i,s:o,ms:r,Q:l}[k]||String(k||"").toLowerCase().replace(/s$/,"")},u:function(k){return k===void 0}},$="en",P={};P[$]=y;var he="$isDayjsObject",Z=function(k){return k instanceof ne||!(!k||!k[he])},De=function k(w,E,_){var C;if(!w)return $;if(typeof w=="string"){var B=w.toLowerCase();P[B]&&(C=B),E&&(P[B]=E,C=B);var V=w.split("-");if(!C&&V.length>1)return k(V[0])}else{var X=w.name;P[X]=w,C=X}return!_&&C&&($=C),C||!_&&$},K=function(k,w){if(Z(k))return k.clone();var E=typeof w=="object"?w:{};return E.date=k,E.args=arguments,new ne(E)},z=D;z.l=De,z.i=Z,z.w=function(k,w){return K(k,{locale:w.$L,utc:w.$u,x:w.$x,$offset:w.$offset})};var ne=(function(){function k(E){this.$L=De(E.locale,null,!0),this.parse(E),this.$x=this.$x||E.x||{},this[he]=!0}var w=k.prototype;return w.parse=function(E){this.$d=(function(_){var C=_.date,B=_.utc;if(C===null)return new Date(NaN);if(z.u(C))return new Date;if(C instanceof Date)return new Date(C);if(typeof C=="string"&&!/Z$/i.test(C)){var V=C.match(p);if(V){var X=V[2]-1||0,le=(V[7]||"0").substring(0,3);return B?new Date(Date.UTC(V[1],X,V[3]||1,V[4]||0,V[5]||0,V[6]||0,le)):new Date(V[1],X,V[3]||1,V[4]||0,V[5]||0,V[6]||0,le)}}return new Date(C)})(E),this.init()},w.init=function(){var E=this.$d;this.$y=E.getFullYear(),this.$M=E.getMonth(),this.$D=E.getDate(),this.$W=E.getDay(),this.$H=E.getHours(),this.$m=E.getMinutes(),this.$s=E.getSeconds(),this.$ms=E.getMilliseconds()},w.$utils=function(){return z},w.isValid=function(){return this.$d.toString()!==f},w.isSame=function(E,_){var C=K(E);return this.startOf(_)<=C&&C<=this.endOf(_)},w.isAfter=function(E,_){return K(E)<this.startOf(_)},w.isBefore=function(E,_){return this.endOf(_)<K(E)},w.$g=function(E,_,C){return z.u(E)?this[_]:this.set(C,E)},w.unix=function(){return Math.floor(this.valueOf()/1e3)},w.valueOf=function(){return this.$d.getTime()},w.startOf=function(E,_){var C=this,B=!!z.u(_)||_,V=z.p(E),X=function(Un,Ke){var pn=z.w(C.$u?Date.UTC(C.$y,Ke,Un):new Date(C.$y,Ke,Un),C);return B?pn:pn.endOf(a)},le=function(Un,Ke){return z.w(C.toDate()[Un].apply(C.toDate("s"),(B?[0,0,0,0]:[23,59,59,999]).slice(Ke)),C)},Se=this.$W,Le=this.$M,ft=this.$D,Ir="set"+(this.$u?"UTC":"");switch(V){case d:return B?X(1,0):X(31,11);case u:return B?X(1,Le):X(0,Le+1);case c:var jn=this.$locale().weekStart||0,mo=(Se<jn?Se+7:Se)-jn;return X(B?ft-mo:ft+(6-mo),Le);case a:case h:return le(Ir+"Hours",0);case s:return le(Ir+"Minutes",1);case i:return le(Ir+"Seconds",2);case o:return le(Ir+"Milliseconds",3);default:return this.clone()}},w.endOf=function(E){return this.startOf(E,!1)},w.$set=function(E,_){var C,B=z.p(E),V="set"+(this.$u?"UTC":""),X=(C={},C[a]=V+"Date",C[h]=V+"Date",C[u]=V+"Month",C[d]=V+"FullYear",C[s]=V+"Hours",C[i]=V+"Minutes",C[o]=V+"Seconds",C[r]=V+"Milliseconds",C)[B],le=B===a?this.$D+(_-this.$W):_;if(B===u||B===d){var Se=this.clone().set(h,1);Se.$d[X](le),Se.init(),this.$d=Se.set(h,Math.min(this.$D,Se.daysInMonth())).$d}else X&&this.$d[X](le);return this.init(),this},w.set=function(E,_){return this.clone().$set(E,_)},w.get=function(E){return this[z.p(E)]()},w.add=function(E,_){var C,B=this;E=Number(E);var V=z.p(_),X=function(Le){var ft=K(B);return z.w(ft.date(ft.date()+Math.round(Le*E)),B)};if(V===u)return this.set(u,this.$M+E);if(V===d)return this.set(d,this.$y+E);if(V===a)return X(1);if(V===c)return X(7);var le=(C={},C[i]=t,C[s]=n,C[o]=e,C)[V]||1,Se=this.$d.getTime()+E*le;return z.w(Se,this)},w.subtract=function(E,_){return this.add(-1*E,_)},w.format=function(E){var _=this,C=this.$locale();if(!this.isValid())return C.invalidDate||f;var B=E||"YYYY-MM-DDTHH:mm:ssZ",V=z.z(this),X=this.$H,le=this.$m,Se=this.$M,Le=C.weekdays,ft=C.months,Ir=C.meridiem,jn=function(Ke,pn,yo,Bi){return Ke&&(Ke[pn]||Ke(_,B))||yo[pn].slice(0,Bi)},mo=function(Ke){return z.s(X%12||12,Ke,"0")},Un=Ir||function(Ke,pn,yo){var Bi=Ke<12?"AM":"PM";return yo?Bi.toLowerCase():Bi};return B.replace(m,function(Ke,pn){return pn||(function(yo){switch(yo){case"YY":return String(_.$y).slice(-2);case"YYYY":return z.s(_.$y,4,"0");case"M":return Se+1;case"MM":return z.s(Se+1,2,"0");case"MMM":return jn(C.monthsShort,Se,ft,3);case"MMMM":return jn(ft,Se);case"D":return _.$D;case"DD":return z.s(_.$D,2,"0");case"d":return String(_.$W);case"dd":return jn(C.weekdaysMin,_.$W,Le,2);case"ddd":return jn(C.weekdaysShort,_.$W,Le,3);case"dddd":return Le[_.$W];case"H":return String(X);case"HH":return z.s(X,2,"0");case"h":return mo(1);case"hh":return mo(2);case"a":return Un(X,le,!0);case"A":return Un(X,le,!1);case"m":return String(le);case"mm":return z.s(le,2,"0");case"s":return String(_.$s);case"ss":return z.s(_.$s,2,"0");case"SSS":return z.s(_.$ms,3,"0");case"Z":return V}return null})(Ke)||V.replace(":","")})}
1,w.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},w.diff=function(E,_,C){var B,V=this,X=z.p(_),le=K(E),Se=(le.utcOffset()-this.utcOffset())*t,Le=this-le,ft=function(){return z.m(V,le)};switch(X){case d:B=ft()/12;break;case u:B=ft();break;case l:B=ft()/3;break;case c:B=(Le-Se)/6048e5;break;case a:B=(Le-Se)/864e5;break;case s:B=Le/n;break;case i:B=Le/t;break;case o:B=Le/e;break;default:B=Le}return C?B:z.a(B)},w.daysInMonth=function(){return this.endOf(u).$D},w.$locale=function(){return P[this.$L]},w.locale=function(E,_){if(!E)return this.$L;var C=this.clone(),B=De(E,_,!0);return B&&(C.$L=B),C},w.clone=function(){return z.w(this.$d,this)},w.toDate=function(){return new Date(this.valueOf())},w.toJSON=function(){return this.isValid()?this.toISOString():null},w.toISOString=function(){return this.$d.toISOString()},w.toString=function(){return this.$d.toUTCString()},k})(),Ft=ne.prototype;return K.prototype=Ft,[["$ms",r],["$s",o],["$m",i],["$H",s],["$W",a],["$M",u],["$y",d],["$D",h]].forEach(function(k){Ft[k[1]]=function(w){return this.$g(w,k[0],k[1])}}),K.extend=function(k,w){return k.$i||(k(w,ne,K),k.$i=!0),K},K.locale=De,K.isDayjs=Z,K.unix=function(k){return K(1e3*k)},K.en=P[$],K.Ls=P,K.p={},K})});function A(e){return typeof e=="function"}function gn(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 Hi=gn(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 Bn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var xe=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(A(r))try{r()}catch(i){t=i instanceof Hi?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ph(i)}catch(s){t=t??[],s instanceof Hi?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Hi(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ph(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)&&Bn(n,t)}remove(t){let{_finalizers:n}=this;n&&Bn(n,t),t instanceof e&&t._removeParent(this)}};xe.EMPTY=(()=>{let e=new xe;return e.closed=!0,e})();var Pc=xe.EMPTY;function $i(e){return e instanceof xe||e&&"closed"in e&&A(e.remove)&&A(e.add)&&A(e.unsubscribe)}function ph(e){A(e)?e():e.unsubscribe()}var It={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var wr={setTimeout(e,t,...n){let{delegate:r}=wr;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=wr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function zi(e){wr.setTimeout(()=>{let{onUnhandledError:t}=It;if(t)t(e);else throw e})}function Zt(){}var gh=Lc("C",void 0,void 0);function mh(e){return Lc("E",void 0,e)}function yh(e){return Lc("N",e,void 0)}function Lc(e,t,n){return{kind:e,value:t,error:n}}var Vn=null;function Cr(e){if(It.useDeprecatedSynchronousErrorHandling){let t=!Vn;if(t&&(Vn={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Vn;if(Vn=null,n)throw r}}else e()}function vh(e){It.useDeprecatedSynchronousErrorHandling&&Vn&&(Vn.errorThrown=!0,Vn.error=e)}var Hn=class extends xe{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,$i(t)&&t.add(this)):this.destination=oI}static create(t,n,r){return new wt(t,n,r)}next(t){this.isStopped?Uc(yh(t),this):this._next(t)}error(t){this.isStopped?Uc(mh(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Uc(gh,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()}}},nI=Function.prototype.bind;function jc(e,t){return nI.call(e,t)}var Bc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Gi(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Gi(r)}else Gi(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Gi(n)}}},wt=class extends Hn{constructor(t,n,r){super();let o;if(A(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;
vendor: 5,759 bytes, line 3
3this&&It.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&jc(t.next,i),error:t.error&&jc(t.error,i),complete:t.complete&&jc(t.complete,i)}):o=t}this.destination=new Bc(o)}};function Gi(e){It.useDeprecatedSynchronousErrorHandling?vh(e):zi(e)}function rI(e){throw e}function Uc(e,t){let{onStoppedNotification:n}=It;n&&wr.setTimeout(()=>n(e,t))}var oI={closed:!0,next:Zt,error:rI,complete:Zt};var br=typeof Symbol=="function"&&Symbol.observable||"@@observable";function $e(e){return e}function iI(...e){return Vc(e)}function Vc(e){return e.length===0?$e:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var O=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=aI(n)?n:new wt(n,r,o);return Cr(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Dh(r),new r((o,i)=>{let s=new wt({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[br](){return this}pipe(...n){return Vc(n)(this)}toPromise(n){return n=Dh(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Dh(e){var t;return(t=e??It.Promise)!==null&&t!==void 0?t:Promise}function sI(e){return e&&A(e.next)&&A(e.error)&&A(e.complete)}function aI(e){return e&&e instanceof Hn||sI(e)&&$i(e)}var Eh=gn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var pe=(()=>{class e extends O{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Wi(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Eh}next(n){Cr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Cr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Cr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Pc:(this.currentObservers=null,i.push(n),new xe(()=>{this.currentObservers=null,Bn(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new O;return n.source=this,n}}return e.create=(t,n)=>new Wi(t,n),e})(),Wi=class extends pe{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:Pc}};var nt=class extends pe{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 Qt=new O(e=>e.complete());var $n=gn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function cI(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new wt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new $n)}});e.subscribe(i)})}function uI(e){return A(e?.lift)}function U(e){return t=>{if(uI(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 F(e,t,n,r,o){return new Hc(e,t,n,r,o)}var Hc=class extends Hn{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 Ee(e,t){return U((n,r)=>{let o=0;n.subscribe(F(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:lI}=Array,{getPrototypeOf:dI,prototype:fI,keys:hI}=Object;function qi(e){if(e.length===1){let t=e[0];if(lI(t))return{args:t,keys:null};if(pI(t)){let n=hI(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function pI(e){return e&&typeof e=="object"&&dI(e)===fI}var Tr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Yi(e){return A(e?.then)}function Zi(e){return A(e[br])}function Qi(e){return Symbol.asyncIterator&&A(e?.[Symbol.asyncIterator])}function Ki(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invali
3d object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function gI(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ji=gI();function Xi(e){return A(e?.[Ji])}function es(e){return fh(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Vi(n.read());if(o)return yield Vi(void 0);yield yield Vi(r)}}finally{n.releaseLock()}})}function ts(e){return A(e?.getReader)}function H(e){if(e instanceof O)return e;if(e!=null){if(Zi(e))return mI(e);if(Tr(e))return yI(e);if(Yi(e))return vI(e);if(Qi(e))return Ih(e);if(Xi(e))return DI(e);if(ts(e))return EI(e)}throw Ki(e)}function mI(e){return new O(t=>{let n=e[br]();if(A(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function yI(e){return new O(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function vI(e){return new O(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,zi)})}function DI(e){return new O(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ih(e){return new O(t=>{II(e,t).catch(n=>t.error(n))})}function EI(e){return Ih(es(e))}function II(e,t){var n,r,o,i;return dh(this,void 0,void 0,function*(){try{for(n=hh(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 je(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 ns(e,t=0){return U((n,r)=>{n.subscribe(F(r,o=>je(r,e,()=>r.next(o),t),()=>je(r,e,()=>r.complete(),t),o=>je(r,e,()=>r.error(o),t)))})}function rs(e,t=0){return U((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function wh(e,t){return H(e).pipe(rs(t),ns(t))}function Ch(e,t){return H(e).pipe(rs(t),ns(t))}function bh(e,t){return new O(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Th(e,t){return new O(n=>{let r;return je(n,t,()=>{r=e[Ji](),je(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)}),()=>A(r?.return)&&r.return()})}function os(e,t){if(!e)throw new Error("Iterable cannot be null");return new O(n=>{je(n,t,()=>{let r=e[Symbol.asyncIterator]();je(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Sh(e,t){return os(es(e),t)}function _h(e,t){if(e!=null){if(Zi(e))return wh(e,t);if(Tr(e))return bh(e,t);if(Yi(e))return Ch(e,t);if(Qi(e))return os(e,t);if(Xi(e))return Th(e,t);if(ts(e))return Sh(e,t)}throw Ki(e)}function ht(e,t){return t?_h(e,t):H(e)}var{isArray:wI}=Array;function CI(e,t){return wI(t)?e(...t):e(t)}function Sr(e){return Ee(t=>CI(e,t))}function is(e){return e&&A(e.schedule)}function $c(e){return e[e.length-1]}function mn(e){return A($c(e))?e.pop():void 0}function Pt(e){return is($c(e))?e.pop():void 0}function Mh(e,t){return typeof $c(e)=="number"?e.pop():t}function ss(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function vo(...e){let t=Pt(e),n=mn(e),{args:r,keys:o}=qi(e);if(r.length===0)return ht([],t);let i=new O(bI(r,t,o?s=>ss(o,s):$e));return n?i.pipe(Sr(n)):i}function bI(e,t,n=$e){return r=>{Nh(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Nh(t,()=>{let u=ht(e[c],t),l=!1;u.subscribe(F(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Nh(e,t,n){e?je(n,e,t):t()}var as=class extends xe{constructor(t,n){super()}schedule(t,n=0){return this}};var Do={setInterval(e,t,...n){let{delegate:r}=Do;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Do;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var cs=class extends as{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
vendor: 5,277 bytes, line 3
3)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Do.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&&Do.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,Bn(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Eo={now(){return(Eo.delegate||Date).now()},delegate:void 0};var _r=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};_r.now=Eo.now;var us=class extends _r{constructor(t,n=_r.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 Kt=new us(cs),xh=Kt;function ls(e){return e instanceof Date&&!isNaN(e)}function Io(e=0,t,n=xh){let r=-1;return t!=null&&(is(t)?n=t:r=t),new O(o=>{let i=ls(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 TI(e=0,t=Kt){return e<0&&(e=0),Io(e,e,t)}function Ct(e){return e<=0?()=>Qt:U((t,n)=>{let r=0;t.subscribe(F(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function wo(e){return U((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function yn(e,t){return U((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(F(r,c=>{o?.unsubscribe();let u=0,l=i++;H(e(c,l)).subscribe(o=F(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Co(e,t,n){let r=A(e)||t||n?{next:e,error:t,complete:n}:e;return r?U((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(F(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!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)}))}):$e}var zn=class extends pe{constructor(t=1/0,n=1/0,r=Eo){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function re(...e){let t=Pt(e);return ht(e,t)}function bo(e,t){let n=A(e)?e:()=>e,r=o=>o.error(n());return new O(t?o=>t.schedule(r,0,o):r)}function SI(e){return!!e&&(e instanceof O||A(e.lift)&&A(e.subscribe))}var _I=gn(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function zc(e,t){let{first:n,each:r,with:o=MI,scheduler:i=t??Kt,meta:s=null}=ls(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return U((a,c)=>{let u,l,d=null,h=0,f=p=>{l=je(c,i,()=>{try{u.unsubscribe(),H(o({meta:s,lastValue:d,seen:h})).subscribe(c)}catch(m){c.error(m)}},p)};u=a.subscribe(F(c,p=>{l?.unsubscribe(),h++,c.next(d=p),r>0&&f(r)},void 0,void 0,()=>{l?.closed||l?.unsubscribe(),d=null})),!h&&f(n!=null?typeof n=="number"?n:+n-i.now():r)})}function MI(e){throw new _I(e)}function Ah(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=m=>u<r?p(m):c.push(m),p=m=>{i&&t.next(m),u++;let y=!1;H(n(m,l++)).subscribe(F(t,v=>{o?.(v),i?f(v):t.next(v)},()=>{y=!0},void 0,()=>{if(y)try{for(u--;c.length&&u<r;){let v=c.shift();s?je(t,s,()=>p(v)):p(v)}h()}catch(v){t.error(v)}}))};return e.subscribe(F(t,f,()=>{d=!0,h()})),()=>{a?.()}}function rt(e,t,n=1/0){return A(t)?rt((r,o)=>Ee((i,s)=>t(r,i,o,s))(H(e(r,o))),n):(typeof t=="number"&&(n=t),U((r,o)=>Ah(r,o,e,n)))}function To(e=1/0){return rt($e,e)}function kh(){return To(1)}function vn(...e){return kh()(ht(e,Pt(e)))}function NI(e){return new O(t=>{H(e()).subscribe(t)})}function xI(...e){let t=mn(e),{args:n,keys:r}=qi(e),o=new O(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;H(n[l]).subscribe(F(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>
vendor: 4,198 bytes, line 3
3{(!c||!d)&&(u||i.next(r?ss(r,a):a),i.complete())}))}});return t?o.pipe(Sr(t)):o}var AI=["addListener","removeListener"],kI=["addEventListener","removeEventListener"],RI=["on","off"];function Gc(e,t,n,r){if(A(n)&&(r=n,n=void 0),r)return Gc(e,t,n).pipe(Sr(r));let[o,i]=PI(e)?kI.map(s=>a=>e[s](t,a,n)):OI(e)?AI.map(Rh(e,t)):FI(e)?RI.map(Rh(e,t)):[];if(!o&&Tr(e))return rt(s=>Gc(s,t,n))(H(e));if(!o)throw new TypeError("Invalid event target");return new O(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Rh(e,t){return n=>r=>e[n](t,r)}function OI(e){return A(e.addListener)&&A(e.removeListener)}function FI(e){return A(e.on)&&A(e.off)}function PI(e){return A(e.addEventListener)&&A(e.removeEventListener)}function Wc(...e){let t=Pt(e),n=Mh(e,1/0),r=e;return r.length?r.length===1?H(r[0]):To(n)(ht(r,t)):Qt}var{isArray:LI}=Array;function ds(e){return e.length===1&&LI(e[0])?e[0]:e}function Ie(e,t){return U((n,r)=>{let o=0;n.subscribe(F(r,i=>e.call(t,i,o++)&&r.next(i)))})}function qc(...e){return e=ds(e),e.length===1?H(e[0]):new O(jI(e))}function jI(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push(H(e[r]).subscribe(F(t,o=>{if(n){for(let i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(o)})))}}function UI(...e){let t=mn(e),n=ds(e);return n.length?new O(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)H(n[s]).subscribe(F(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}}):Qt}function Jt(e){return U((t,n)=>{let r=null,o=!1,i;r=t.subscribe(F(n,void 0,void 0,s=>{i=H(e(s,Jt(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Yc(e,t){return A(t)?rt(e,t,1):rt(e,1)}function Zc(e,t=Kt){return U((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(F(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 Oh(e){return U((t,n)=>{let r=!1;t.subscribe(F(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Fh(){return U((e,t)=>{e.subscribe(F(t,Zt))})}function Ph(e){return Ee(()=>e)}function Qc(e,t){return t?n=>vn(t.pipe(Ct(1),Fh()),n.pipe(Qc(e))):rt((n,r)=>H(e(n,r)).pipe(Ct(1),Ph(n)))}function So(e,t=Kt){let n=Io(e,t);return Qc(()=>n)}function BI(e,t=$e){return e=e??VI,U((n,r)=>{let o,i=!0;n.subscribe(F(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function VI(e,t){return e===t}function Lh(e=HI){return U((t,n)=>{let r=!1;t.subscribe(F(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function HI(){return new $n}function $I(...e){return t=>vn(t,re(...e))}function _o(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ie((o,i)=>e(o,i,r)):$e,Ct(1),n?Oh(t):Lh(()=>new $n))}function zI(e){return e<=0?()=>Qt:U((t,n)=>{let r=[];t.subscribe(F(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 jh(e={}){let{connector:t=()=>new pe,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,l=d=!1},p=()=>{let m=s;f(),m?.unsubscribe()};return U((m,y)=>{u++,!d&&!l&&h();let v=c=c??t();y.add(()=>{u--,u===0&&!d&&!l&&(a=Kc(p,o))}),v.subscribe(y),!s&&u>0&&(s=new wt({next:D=>v.next(D),error:D=>{d=!0,h(),a=Kc(f,n,D),v.error(D)},complete:()=>{l=!0,h(),a=Kc(f,r),v.complete()}}),H(m).subscribe(s))})(i)}}function Kc(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new wt({next:()=>{r.unsubscribe(),e()}});return H(t(...n)).subscribe(r)}function GI(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,jh({connector:()=>new zn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function WI(e){return Ie((t,n)=>e<=n)}function qI(...e){let t=Pt(e);return U((n,r)=>{(t?vn(e,n,t):vn(e,n)).subscribe(r)})}
vendor: 8,012 bytes, lines 3-4
3function Jc(e){return U((t,n)=>{H(e).subscribe(F(n,()=>n.complete(),Zt)),!n.closed&&t.subscribe(n)})}function YI(...e){let t=mn(e);return U((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)H(e[c]).subscribe(F(r,u=>{i[c]=u,!a&&!s[c]&&(s[c]=!0,(a=s.every($e))&&(s=null))},Zt));n.subscribe(F(r,c=>{if(a){let u=[c,...i];r.next(t?t(...u):u)}}))})}var Ue=null,fs=!1,Xc=1,ZI=null,ge=Symbol("SIGNAL");function M(e){let t=Ue;return Ue=e,t}function hs(){return Ue}var Dn={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 qn(e){if(fs)throw new Error("");if(Ue===null)return;Ue.consumerOnSignalRead(e);let t=Ue.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=Ue.recomputing;if(r&&(n=t!==void 0?t.nextProducer:Ue.producers,n!==void 0&&n.producer===e)){Ue.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Ue&&(!r||KI(o,Ue)))return;let i=Nr(Ue),s={producer:e,consumer:Ue,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};Ue.producersTail=s,t!==void 0?t.nextProducer=s:Ue.producers=s,i&&Hh(e,s)}function Uh(){Xc++}function Yn(e){if(!(Nr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Xc)){if(!e.producerMustRecompute(e)&&!Mo(e)){Mr(e);return}e.producerRecomputeValue(e),Mr(e)}}function eu(e){if(e.consumers===void 0)return;let t=fs;fs=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||QI(r)}}finally{fs=t}}function tu(){return Ue?.consumerAllowSignalWrites!==!1}function QI(e){e.dirty=!0,eu(e),e.consumerMarkedDirty?.(e)}function Mr(e){e.dirty=!1,e.lastCleanEpoch=Xc}function En(e){return e&&Bh(e),M(e)}function Bh(e){e.producersTail=void 0,e.recomputing=!0}function Zn(e,t){M(t),e&&Vh(e)}function Vh(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Nr(e))do n=nu(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Mo(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Yn(n),r!==n.version))return!0}return!1}function Qn(e){if(Nr(e)){let t=e.producers;for(;t!==void 0;)t=nu(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Hh(e,t){let n=e.consumersTail,r=Nr(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)Hh(o.producer,o)}function nu(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)o.nextConsumer=r;else if(t.consumers=r,!Nr(t)){let i=t.producers;for(;i!==void 0;)i=nu(i)}return n}function Nr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function No(e){ZI?.(e)}function KI(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function xo(e,t){return Object.is(e,t)}function Ao(e,t){let n=Object.create(JI);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Yn(n),qn(n),n.value===Lt)throw n.error;return n.value};return r[ge]=n,No(n),r}var Gn=Symbol("UNSET"),Wn=Symbol("COMPUTING"),Lt=Symbol("ERRORED"),JI=ce(ee({},Dn),{value:Gn,dirty:!0,error:null,equal:xo,kind:"computed",producerMustRecompute(e){return e.value===Gn||e.value===Wn},producerRecomputeValue(e){if(e.value===Wn)throw new Error("");let t=e.value;e.value=Wn;let n=En(e),r,o=!1;try{r=e.computation(),M(null),o=t!==Gn&&t!==Lt&&r!==Lt&&e.equal(t,r)}catch(i){r=Lt,e.error=i}finally{Zn(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function XI(){throw new Error}var $h=XI;function zh(e){$h(e)}function ru(e){$h=e}var ew=null;function ou(e,t){let n=Object.create(gs);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Gh(n);return r[ge]=n,No(n),[r,s=>Kn(n,s),s=>ps(n,s)]}function Gh(e){return qn(e),e.value}function Kn(e,t){tu()||zh(e),e.equal(e.value,t)||(e.value=t,tw(e))}function ps(e,t){tu()||zh(e),Kn(e,t(e.value))}var gs=ce(ee({},Dn),{equal:xo,value:void 0,kind:"signal"});function tw(e){e.version++,Uh(),eu(e),ew?.(e)}var iu=ce(ee({},Dn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function su(e){if(e.dirty=!1,e.version>0&&!Mo(e))return;e.version++;let t=En(e);try{e.cleanup(),e.fn()}finally{Zn(e,t)}}var au;function ms(){return au}function jt(e){let t=au;return au=e,t}var Wh=Symbol("NotFound");function xr(e){return e===Wh||e?.name==="\u0275NotFound"}function cu(e,t,n){let r=Object.create(nw);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(Yn(r),qn(r),r.value===Lt)throw r.error;return r.value};return i[ge]=r,No(r),i}function qh(e,t){Yn(e),Kn(e,t),Mr(e)}function Yh(e,t){if(Yn(e),e.value===Lt)throw e.error;ps(e,t),Mr(e)}var nw=ce(ee({},Dn),{value:Gn,dirty:!0,error:null,equal:xo,kind:"linkedSignal",producerMustRecompute(e){return e.value===Gn||e.value===Wn},producerRecomputeValue(e){if(e.value===Wn)throw new Error("");let t=e.value;e.value=Wn;let n=En(e),r,o=!1;try{let i=e.source(),s=t!==Gn&&t!==Lt,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,M(null),o=s&&r!==Lt&&e.equal(t,r)}catch(i){r=Lt,e.error=i}finally{Zn(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Zh(e){let t=M(null);try{return e()}finally{M(t)}}var bs="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",I=class extends Error{code;constructor(t,n){super(Bt(t,n)),this.code=t}};function rw(e){return`NG0${Math.abs(e)}`}function Bt(e,t){return`${rw(e)}${t?": "+t:""}`}var Vt=globalThis;function Q(e){for(let t in e)if(e[t]===Q)return t;throw Error("")}function ep(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Uo(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Uo).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 Ts(e,t){return e?t?`${e} ${t}`:e:t||""}var ow=Q({__forward_ref__:Q});function Ss(e){return e.__forward_ref__=Ss,e}function we(e){return Iu(e)?e():e}function Iu(e){return typeof e=="function"&&e.hasOwnProperty(ow)&&e.__forward_ref__===Ss}function N(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Bo(e){return{providers:e.providers||[],imports:e.imports||[]}}function Vo(e){return sw(e,_s)}function iw(e){return Vo(e)!==null}function sw(e,t){return e.hasOwnProperty(t)&&e[t]||null}function aw(e){let t=e?.[_s]??null;return t||null}function lu(e){return e&&e.hasOwnProperty(Ds)?e[Ds]:null}var _s=Q({\u0275prov:Q}),Ds=Q({\u0275inj:Q}),S=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=N({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function wu(e){return e&&!!e.\u0275providers}var Ho=Q({\u0275cmp:Q}),$o=Q({\u0275dir:Q}),Cu=Q({\u0275pipe:Q}),bu=Q({\u0275mod:Q}),Ro=Q({\u0275fac:Q}),nr=Q({__NG_ELEMENT_ID__:Q}),Qh=Q({__NG_ENV_ID__:Q});function Tu(e){return Ms(e,"@NgModule"),e[bu]||null}function bt(e){return Ms(e,"@Component"),e[Ho]||null}function zo(e){return Ms(e,"@Directive"),e[$o]||null}function Su(e){return Ms(e,"@Pipe"),e[Cu]||null}function Ms(e,t){if(e==null)throw new I(-919,!1)}function Ce(e){return typeof e=="string"?e:e==null?"":String(e)}var tp=Q({ngErrorCode:Q}),cw=Q({ngErrorMessage:Q}),uw=Q({ngTokenPath:Q});function _u(e,t){return np("",-200,t)}function Ns(e,t){throw new I(-201,!1)}
vendor: 7,966 bytes, line 4
4function np(e,t,n){let r=new I(t,e);return r[tp]=t,r[cw]=e,n&&(r[uw]=n),r}function lw(e){return e[tp]}var du;function rp(){return du}function ze(e){let t=du;return du=e,t}function Mu(e,t,n){let r=Vo(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;Ns(e,"")}var dw={},Jn=dw,fw="__NG_DI_FLAG__",fu=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Xn(n)||0;try{return this.injector.get(t,r&8?null:Jn,r)}catch(o){if(xr(o))return o;throw o}}};function hw(e,t=0){let n=ms();if(n===void 0)throw new I(-203,!1);if(n===null)return Mu(e,void 0,t);{let r=pw(t),o=n.retrieve(e,r);if(xr(o)){if(r.optional)return null;throw o}return o}}function L(e,t=0){return(rp()||hw)(we(e),t)}function g(e,t){return L(e,Xn(t))}function Xn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function pw(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function hu(e){let t=[];for(let n=0;n<e.length;n++){let r=we(e[n]);if(Array.isArray(r)){if(r.length===0)throw new I(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=gw(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(L(o,i))}else t.push(L(r))}return t}function gw(e){return e[fw]}function wn(e,t){let n=e.hasOwnProperty(Ro);return n?e[Ro]:null}function op(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function ip(e){return e.flat(Number.POSITIVE_INFINITY)}function xs(e,t){e.forEach(n=>Array.isArray(n)?xs(n,t):t(n))}function Nu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Go(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function sp(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function ap(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function As(e,t,n){let r=kr(e,t);return r>=0?e[r|1]=n:(r=~r,ap(e,r,t,n)),r}function ks(e,t){let n=kr(e,t);if(n>=0)return e[n|1]}function kr(e,t){return mw(e,t,1)}function mw(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 Tt={},Be=[],rr=new S(""),xu=new S("",-1),Au=new S(""),Oo=class{get(t,n=Jn){if(n===Jn){let o=np("",-201);throw o.name="\u0275NotFound",o}return n}};function Tn(e){return{\u0275providers:e}}function cp(...e){return{\u0275providers:Rs(!0,e),\u0275fromNgModule:!0}}function Rs(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return xs(t,s=>{let a=s;Es(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&up(o,i),n}function up(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ku(o,i=>{t(i,r)})}}function Es(e,t,n,r){if(e=we(e),!e)return!1;let o=null,i=lu(e),s=!i&&bt(e);if(!i&&!s){let c=e.ngModule;if(i=lu(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)Es(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;xs(i.imports,l=>{Es(l,t,n,r)&&(u||=[],u.push(l))}),u!==void 0&&up(u,t)}if(!a){let u=wn(o)||(()=>new o);t({provide:o,useFactory:u,deps:Be},o),t({provide:Au,useValue:o,multi:!0},o),t({provide:rr,useValue:()=>L(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;ku(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function ku(e,t){for(let n of e)wu(n)&&(n=n.\u0275providers),Array.isArray(n)?ku(n,t):t(n)}var yw=Q({provide:String,useValue:Q});function lp(e){return e!==null&&typeof e=="object"&&yw in e}function vw(e){return!!(e&&e.useExisting)}function Dw(e){return!!(e&&e.useFactory)}function er(e){return typeof e=="function"}function dp(e){return!!e.useClass}var Ru=new S(""),ys={},Kh={},uu;function Rr(){return uu===void 0&&(uu=new Oo),uu}var Ve=class{},tr=class extends Ve{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,gu(t,s=>this.processProvider(s)),this.records.set(xu,Ar(void 0,this)),o.has("environment")&&this.records.set(Ve,Ar(void 0,this));let i=this.records.get(Ru);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Au,Be,{self:!0}))}retrieve(t,n){let r=Xn(n)||0;try{return this.get(t,Jn,r)}catch(o){if(xr(o))return o;throw o}}destroy(){ko(this),this._destroyed=!0;let t=M(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),M(t)}}onDestroy(t){return ko(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){ko(this);let n=jt(this),r=ze(void 0),o;try{return t()}finally{jt(n),ze(r)}}get(t,n=Jn,r){if(ko(this),t.hasOwnProperty(Qh))return t[Qh](this);let o=Xn(r),i,s=jt(this),a=ze(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=bw(t)&&Vo(t);l&&this.injectableDefInScope(l)?u=Ar(pu(t),ys):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?Rr():this.parent;return n=o&8&&n===Jn?null:n,c.get(t,n)}catch(c){let u=lw(c);throw u===-200||u===-201?new I(u,null):c}finally{ze(a),jt(s)}}resolveInjectorInitializers(){let t=M(null),n=jt(this),r=ze(void 0),o;try{let i=this.get(rr,Be,{self:!0});for(let s of i)s()}finally{jt(n),ze(r),M(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=we(t);let n=er(t)?t:we(t&&t.provide),r=Iw(t);if(!er(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ar(void 0,ys,!0),o.factory=()=>hu(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=M(null);try{if(n.value===Kh)throw _u("");return n.value===ys&&(n.value=Kh,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Cw(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{M(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=we(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 pu(e){let t=Vo(e),n=t!==null?t.factory:wn(e);if(n!==null)return n;if(e instanceof S)throw new I(-204,!1);if(e instanceof Function)return Ew(e);throw new I(-204,!1)}function Ew(e){if(e.length>0)throw new I(-204,!1);let n=aw(e);return n!==null?()=>n.factory(e):()=>new e}function Iw(e){if(lp(e))return Ar(void 0,e.useValue);{let t=Ou(e);return Ar(t,ys)}}function Ou(e,t,n){let r;if(er(e)){let o=we(e);return wn(o)||pu(o)}else if(lp(e))r=()=>we(e.useValue);else if(Dw(e))r=()=>e.useFactory(...hu(e.deps||[]));else if(vw(e))r=(o,i)=>L(we(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=we(e&&(e.useClass||e.provide));if(ww(e))r=()=>new o(...hu(e.deps));else return wn(o)||pu(o)}return r}function ko(e){if(e.destroyed)throw new I(-205,!1)}function Ar(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ww(e){return!!e.deps}function Cw(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function bw(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function gu(e,t){for(let n of e)Array.isArray(n)?gu(n,t):n&&wu(n)?gu(n.\u0275providers,t):t(n)}function Or(e,t){let n;e instanceof tr?(ko(e),n=e):n=new fu(e);let r,o=jt(n),i=ze(void 0);try{return t()}finally{jt(o),ze(i)}}function fp(){return rp()!==void 0||ms()!=null}var Ge=0,b=1,R=2,de=3,pt=4,We=5,qe=6,Fr=7,fe=8,ot=9,St=10,q=11,Pr=12,Fu=13,or=14,Ae=15,Sn=16,ir=17,Ht=18,nn=19,Pu=20,en=21,Os=22,Cn=23,it=24,sr=25,_n=26,G=27,hp=1,_t=6,$t=7,Wo=8,ar=9,ie=10;function gt(e){return Array.isArray(e)&&typeof e[hp]=="object"}function st(e){return Array.isArray(e)&&e[hp]===!0}function Lu(e){return(e.flags&4)!==0}
vendor: 5,176 bytes, line 4
4function zt(e){return e.componentOffset>-1}function Lr(e){return(e.flags&1)===1}function Mt(e){return!!e.template}function cr(e){return(e[R]&512)!==0}function Mn(e){return(e[R]&256)===256}var _e=(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})(_e||{}),vs,Fo="svg",ju="math";function pp(){return vs||(vs={},In(_e.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),In(_e.STYLE,void 0,[["*",["style"]]]),In(_e.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),In(_e.URL,ju,[["*",["href","xlink:href"]],["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),In(_e.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),In(_e.URL,Fo,[["a",["href","xlink:href"]]]),In(_e.ATTRIBUTE_NO_BINDING,Fo,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),In(_e.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),vs}function In(e,t,n){for(let[r,o]of n){let i=t&&r!=="unknown"?`:${t}:${r}`:r;i=i.toLowerCase();for(let s of o)vs[`${i}|${s.toLowerCase()}`]=e}}function gp(e,t,n){let r=pp(),o=e.toLowerCase(),i=t.toLowerCase(),s=n&&o!=="*"&&o!=="unknown"?r[`:${n}:${o}|${i}`]:void 0,a=n?r[`:${n}:*|${i}`]:void 0;return s??a??r[`${o}|${i}`]??r[`*|${i}`]??_e.NONE}function at(e){for(;Array.isArray(e);)e=e[Ge];return e}function Uu(e,t){return at(t[e])}function ct(e,t){return at(t[e.index])}function jr(e,t){return e.data[t]}function qo(e,t){return e[t]}function Bu(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 gt(n)?n:n[Ge]}function mp(e){return(e[R]&4)===4}function Fs(e){return(e[R]&128)===128}function yp(e){return st(e[de])}function yt(e,t){return t==null?null:e[t]}function Vu(e){e[ir]=0}function Hu(e){e[R]&1024||(e[R]|=1024,Fs(e)&&ur(e))}function vp(e,t){for(;e>0;)t=t[or],e--;return t}function Yo(e){return!!(e[R]&9216||e[it]?.dirty)}function Ps(e){e[St].changeDetectionScheduler?.notify(8),e[R]&64&&(e[R]|=1024),Yo(e)&&ur(e)}function ur(e){e[St].changeDetectionScheduler?.notify(0);let t=bn(e);for(;t!==null&&!(t[R]&8192||(t[R]|=8192,!Fs(t)));)t=bn(t)}function $u(e,t){if(Mn(e))throw new I(911,!1);e[en]===null&&(e[en]=[]),e[en].push(t)}function Dp(e,t){if(e[en]===null)return;let n=e[en].indexOf(t);n!==-1&&e[en].splice(n,1)}function bn(e){let t=e[de];return st(t)?t[de]:t}function zu(e){return e[Fr]??=[]}function Gu(e){return e.cleanup??=[]}function Ep(e,t,n,r){let o=zu(t);o.push(n),e.firstCreatePass&&Gu(e).push(r,o.length-1)}var j={lFrame:Op(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var mu=!1;function Ip(){return j.lFrame.elementDepthCount}function wp(){j.lFrame.elementDepthCount++}function Wu(){j.lFrame.elementDepthCount--}function Ls(){return j.bindingsEnabled}function js(){return j.skipHydrationRootTNode!==null}function qu(e){return j.skipHydrationRootTNode===e}function Cp(e){j.skipHydrationRootTNode=e}function Yu(){j.skipHydrationRootTNode=null}function T(){return j.lFrame.lView}function oe(){return j.lFrame.tView}function bp(e){return j.lFrame.contextLView=e,e[fe]}function Tp(e){return j.lFrame.contextLView=null,e}function me(){let e=Zu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Zu(){return j.lFrame.currentTNode}function Sp(){let e=j.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ur(e,t){let n=j.lFrame;n.currentTNode=e,n.isParent=t}function Qu(){return j.lFrame.isParent}function Ku(){j.lFrame.isParent=!1}function _p(){return j.lFrame.contextLView}function Ju(){return mu}function Po(e){let t=mu;return mu=e,t}function Nn(){let e=j.lFrame,t=e.bindingRootIndex;
vendor: 20,267 bytes, line 4
4return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Us(){return j.lFrame.bindingIndex}function Mp(e){return j.lFrame.bindingIndex=e}function rn(){return j.lFrame.bindingIndex++}function Br(e){let t=j.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Np(){return j.lFrame.inI18n}function xp(e,t){let n=j.lFrame;n.bindingIndex=n.bindingRootIndex=e,Bs(t)}function Ap(){return j.lFrame.currentDirectiveIndex}function Bs(e){j.lFrame.currentDirectiveIndex=e}function kp(e){let t=j.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Vs(){return j.lFrame.currentQueryIndex}function Zo(e){j.lFrame.currentQueryIndex=e}function Tw(e){let t=e[b];return t.type===2?t.declTNode:t.type===1?e[We]:null}function Xu(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=Tw(i),o===null||(i=i[or],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=j.lFrame=Rp();return r.currentTNode=t,r.lView=e,!0}function Hs(e){let t=Rp(),n=e[b];j.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Rp(){let e=j.lFrame,t=e===null?null:e.child;return t===null?Op(e):t}function Op(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 Fp(){let e=j.lFrame;return j.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var el=Fp;function $s(){let e=Fp();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 Pp(e){return(j.lFrame.contextLView=vp(e,j.lFrame.contextLView))[fe]}function vt(){return j.lFrame.selectedIndex}function xn(e){j.lFrame.selectedIndex=e}function Vr(){let e=j.lFrame;return jr(e.tView,e.selectedIndex)}function Lp(){j.lFrame.currentNamespace=Fo}function jp(){Sw()}function Sw(){j.lFrame.currentNamespace=null}function zs(){return j.lFrame.currentNamespace}var Up=!0;function Gs(){return Up}function on(e){Up=e}function yu(e,t=null,n=null,r){let o=tl(e,t,n,r);return o.resolveInjectorInitializers(),o}function tl(e,t=null,n=null,r,o=new Set){let i=[n||Be,cp(e)],s;return new tr(i,t||Rr(),s||null,o)}var Me=class e{static THROW_IF_NOT_FOUND=Jn;static NULL=new Oo;static create(t,n){if(Array.isArray(t))return yu({name:""},n,t,"");{let r=t.name??"";return yu({name:r},t.parent,t.providers,r)}}static \u0275prov=N({token:e,providedIn:"any",factory:()=>L(xu)});static __NG_ELEMENT_ID__=-1},ke=new S(""),Re=(()=>{class e{static __NG_ELEMENT_ID__=_w;static __NG_ENV_ID__=n=>n}return e})(),Is=class extends Re{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Mn(this._lView)}onDestroy(t){let n=this._lView;return $u(n,t),()=>Dp(n,t)}};function _w(){return new Is(T())}var Bp=!1,Vp=new S(""),An=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new nt(!1);debugTaskTracker=g(Vp,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new O(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 \u0275prov=N({token:e,providedIn:"root",factory:()=>new e})}return e})(),vu=class extends pe{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,fp()&&(this.destroyRef=g(Re,{optional:!0})??void 0,this.pendingTasks=g(An,{optional:!0})??void 0)}emit(t){let n=M(null);try{super.next(t)}finally{M(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 xe&&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)}})}}},Xt=vu;function ws(...e){}function nl(e){let t,n;function r(){e=ws;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 Hp(e){return queueMicrotask(()=>e()),()=>{e=ws}}var rl="isAngularZone",Lo=rl+"_ID",Mw=0,Je=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Xt(!1);onMicrotaskEmpty=new Xt(!1);onStable=new Xt(!1);onError=new Xt(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Bp}=t;if(typeof Zone>"u")throw new I(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,Aw(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(rl)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new I(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new I(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,Nw,ws,ws);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)}},Nw={};function ol(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 xw(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){nl(()=>{e.callbackScheduled=!1,Du(e),e.isCheckStableRunning=!0,ol(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Du(e)}function Aw(e){let t=()=>{xw(e)},n=Mw++;e._inner=e._inner.fork({name:"angular",properties:{[rl]:!0,[Lo]:n,[Lo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(kw(c))return r.invokeTask(i,s,a,c);try{return Jh(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Xh(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Jh(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Rw(c)&&t(),Xh(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Du(e),ol(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 Du(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Jh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Xh(e){e._nesting--,ol(e)}var jo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Xt;onMicrotaskEmpty=new Xt;onStable=new Xt;onError=new Xt;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 kw(e){return $p(e,"__ignore_ng_zone__")}function Rw(e){return $p(e,"__scheduler_tick__")}function $p(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var tn=class{_console=console;handleError(t){this._console.error("ERROR",t)}},sn=new S("",{factory:()=>{let e=g(Je),t=g(Ve),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(tn),n.handleError(r))})}}}),zp={provide:rr,useValue:()=>{let e=g(tn,{optional:!0})},multi:!0};function Oe(e,t){let[n,r,o]=ou(e,t?.equal),i=n,s=i[ge];return i.set=r,i.update=o,i.asReadonly=Qo.bind(i),i}function Qo(){let e=this[ge];if(e.readonlyFn===void 0){let t=()=>this();t[ge]=e,e.readonlyFn=t}return e.readonlyFn}var Ko=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Ow}return e})();function Ow(){return new Ko(T(),me())}var Ut=class{},Jo=new S("",{factory:()=>!0});var il=new S(""),an=(()=>{class e{internalPendingTasks=g(An);scheduler=g(Ut);errorHandler=g(sn);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();n().catch(this.errorHandler).finally(r)}static \u0275prov=N({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ws=(()=>{class e{static \u0275prov=N({token:e,providedIn:"root",factory:()=>new Eu})}return e})(),Eu=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}},Cs=class{[ge];constructor(t){this[ge]=t}destroy(){this[ge].destroy()}};function Xo(e,t){let n=t?.injector??g(Me),r=t?.manualCleanup!==!0?n.get(Re):null,o,i=n.get(Ko,null,{optional:!0}),s=n.get(Ut);return i!==null?(o=Lw(i.view,s,e),r instanceof Is&&r._lView===i.view&&(r=null)):o=jw(e,n.get(Ws),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Cs(o)}var Gp=ce(ee({},iu),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Po(!1);try{su(this)}finally{Po(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=M(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],M(e)}}}),Fw=ce(ee({},Gp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Qn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Pw=ce(ee({},Gp),{consumerMarkedDirty(){this.view[R]|=8192,ur(this.view),this.notifier.notify(13)},destroy(){if(Qn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Cn]?.delete(this)}});function Lw(e,t,n){let r=Object.create(Pw);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Wp(r,n),e[Cn]??=new Set,e[Cn].add(r),r.consumerMarkedDirty(r),r}function jw(e,t,n){let r=Object.create(Fw);return r.fn=Wp(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 Wp(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}var qs={JSACTION:"jsaction"};function gi(e){return{toString:e}.toString()}function Ww(e){return typeof e=="function"}function jg(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var ia=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},ad=(()=>{let e=()=>Ug;return e.ngInherit=!0,e})();function Ug(e){return e.type.prototype.ngOnChanges&&(e.setInput=Yw),qw}function qw(){let e=Vg(this),t=e?.current;if(t){let n=e.previous;if(n===Tt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Yw(e,t,n,r,o){let i=this.declaredInputs[r],s=Vg(e)||Zw(e,{previous:Tt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new ia(u&&u.currentValue,n,c===Tt),jg(e,t,o,n)}var Bg="__ngSimpleChanges__";function Vg(e){return e[Bg]||null}function Zw(e,t){return e[Bg]=t}var qp=[];var Y=function(e,t=null,n){for(let r=0;r<qp.length;r++){let o=qp[r];o(e,t,n)}},W=(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})(W||{});function Qw(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Ug(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 Hg(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;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 Js(e,t,n){$g(e,t,3,n)}function Xs(e,t,n,r){(e[R]&3)===n&&$g(e,t,n,r)}function sl(e,t){let n=e[R];(n&3)===t&&(n&=16383,n+=1,e[R]=n)}function $g(e,t,n,r){let o=r!==void 0?e[ir]&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[ir]+=65536),(a<i||i==-1)&&(Kw(e,n,t,c),e[ir]=(e[ir]&4294901760)+c+2),c++}function Yp(e,t){Y(W.LifecycleHookStart,e,t);let n=M(null);try{t.call(e)}finally{M(n),Y(W.LifecycleHookEnd,e,t)}}function Kw(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[R]>>14<e[ir]>>16&&(e[R]&3)===t&&(e[R]+=16384,Yp(a,i)):Yp(a,i)}var $r=-1,fr=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 Jw(e){return(e.flags&8)!==0}function Xw(e){return(e.flags&16)!==0}function eC(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];tC(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function zg(e){return e===3||e===4||e===6}function tC(e){return e.charCodeAt(0)===64}function Wr(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?Zp(e,n,o,null,t[++r]):Zp(e,n,o,null,null))}}return e}function Zp(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 Gg(e){return e!==$r}function sa(e){return e&32767}function nC(e){return e>>16}function aa(e,t){let n=nC(e),r=t;for(;n>0;)r=r[or],n--;return r}var El=!0;function ca(e){let t=El;return El=e,t}var rC=256,Wg=rC-1,qg=5,oC=0,Gt={};function iC(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(nr)&&(r=n[nr]),r==null&&(r=n[nr]=oC++);let o=r&Wg,i=1<<o;t.data[e+(o>>qg)]|=i}function ua(e,t){let n=Yg(e,t);if(n!==-1)return n;let r=t[b];r.firstCreatePass&&(e.injectorIndex=t.length,al(r.data,e),al(t,null),al(r.blueprint,null));let o=cd(e,t),i=e.injectorIndex;if(Gg(o)){let s=sa(o),a=aa(o,t),c=a[b].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function al(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Yg(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function cd(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=Xg(o),r===null)return $r;if(n++,o=o[or],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return $r}function Il(e,t,n){iC(e,t,n)}function sC(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(zg(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 Zg(e,t,n){if(n&8||e!==void 0)return e;Ns(t,"NodeInjector")}function Qg(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[ot],i=ze(void 0);try{return o?o.get(t,r,n&8):Mu(t,r,n&8)}finally{ze(i)}}return Zg(r,t,n)}function Kg(e,t,n,r=0,o){if(e!==null){if(t[R]&2048&&!(r&2)){let s=lC(e,t,n,r,Gt);if(s!==Gt)return s}let i=Jg(e,t,n,r,Gt);if(i!==Gt)return i}return Qg(t,n,r,o)}function Jg(e,t,n,r,o){let i=cC(n);if(typeof i=="function"){if(!Xu(t,e,r))return r&1?Zg(o,n,r):Qg(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Ns(n);else return s}finally{el()}}else if(typeof i=="number"){let s=null,a=Yg(e,t),c=$r,u=r&1?t[Ae][We]:null;for((a===-1||r&4)&&(c=a===-1?cd(e,t):t[a+8],c===$r||!Kp(r,!1)?a=-1:(s=t[b],a=sa(c),t=aa(c,t)));a!==-1;){let l=t[b];if(Qp(i,a,l.data)){let d=aC(a,t,n,s,r,u);if(d!==Gt)return d}c=t[a+8],c!==$r&&Kp(r,t[b].data[a+8]===u)&&Qp(i,a,t)?(s=l,a=sa(c),t=aa(c,t)):a=-1}}return o}function aC(e,t,n,r,o,i){let s=t[b],a=s.data[e+8],c=r==null?zt(a)&&El:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=ea(a,s,n,c,u);return l!==null?oi(t,s,l,a,o):Gt}function ea(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,h=o?a+l:u;for(let f=d;f<h;f++){let p=s[f];if(f<c&&n===p||f>=c&&p.type===n)return f}if(o){let f=s[c];if(f&&Mt(f)&&f.type===n)return c}return null}function oi(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof fr){let a=i;if(a.resolving)throw _u("");let c=ca(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?ze(a.injectImpl):null,h=Xu(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Qw(n,s[n],t)}finally{d!==null&&ze(d),ca(c),a.resolving=!1,el()}}return i}function cC(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(nr)?e[nr]:void 0;return typeof t=="number"?t>=0?t&Wg:uC:t}function Qp(e,t,n){let r=1<<e;return!!(n[t+(e>>qg)]&r)}function Kp(e,t){return!(e&2)&&!(e&1&&t)}var dr=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Kg(this._tNode,this._lView,t,Xn(r),n)}};function uC(){return new dr(me(),T())}function Sa(e){return gi(()=>{let t=e.prototype.constructor,n=t[Ro]||wl(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Ro]||wl(o);if(i&&i!==n)return i;
4o=Object.getPrototypeOf(o)}return i=>new i})}function wl(e){return Iu(e)?()=>{let t=wl(we(e));return t&&t()}:wn(e)}function lC(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[R]&2048&&!cr(s);){let a=Jg(i,s,n,r|2,Gt);if(a!==Gt)return a;let c=i.parent;if(!c){let u=s[Pu];if(u){let l=u.get(n,Gt,r&-5);if(l!==Gt)return l}c=Xg(s),s=s[or]}i=c}return o}function Xg(e){let t=e[b],n=t.type;return n===2?t.declTNode:n===1?e[We]:null}function ud(e){return sC(me(),e)}function dC(){return Kr(me(),T())}function Kr(e,t){return new un(ct(e,t))}var un=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=dC}return e})();function em(e){return e instanceof un?e.nativeElement:e}function fC(){return this._results[Symbol.iterator]()}var la=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 pe}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=ip(t);(this._changesDetected=!op(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]=fC},tm="ngSkipHydration",hC="ngskiphydration";function nm(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;n<t.length;n+=2){let r=t[n];if(typeof r=="number")return!1;if(typeof r=="string"&&r.toLowerCase()===hC)return!0}return!1}function rm(e){return e.hasAttribute(tm)}function da(e){return(e.flags&128)===128}function om(e){if(da(e))return!0;let t=e.parent;for(;t;){if(da(e)||nm(t))return!0;t=t.parent}return!1}var ld=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(ld||{}),im=new Map,pC=0;function gC(){return pC++}function mC(e){im.set(e[nn],e)}function Cl(e){im.delete(e[nn])}var Jp="__ngContext__";function qr(e,t){gt(t)?(e[Jp]=t[nn],mC(t)):e[Jp]=t}function sm(e){return cm(e[Pr])}function am(e){return cm(e[pt])}function cm(e){for(;e!==null&&!st(e);)e=e[pt];return e}var bl;function yC(e){bl=e}function dd(){if(bl!==void 0)return bl;if(typeof document<"u")return document;throw new I(210,!1)}var yr=new S("",{factory:()=>vC}),vC="ng";var um=new S(""),fd=new S("",{providedIn:"platform",factory:()=>"unknown"});var hd=new S("",{factory:()=>g(ke).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Jr=(()=>{class e{static \u0275prov=N({token:e,providedIn:"root",factory:()=>{let n=new e;return n.store=DC(g(ke),g(yr)),n}});store={};onSerializeCallbacks={};get(n,r){return this.store[n]!==void 0?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(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(this.onSerializeCallbacks.hasOwnProperty(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})();function DC(e,t){let n=e.getElementById(t+"-state");if(n?.tagName==="SCRIPT"&&n.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}var lm="h",dm="b",EC="f",IC="n",fm="e",hm="t",_a="c",pd="x",ii="r",pm="i",gm="n",gd="d";var mm="di",ym="s",vm="p";var mi=new S(""),Dm=!1,md=new S("",{factory:()=>Dm});var yd=new S(""),Em=!1,Im=new S("",{factory:()=>[]}),wm=new S(""),vd=new S("",{factory:()=>new Map}),wC=new S("");var yi="ngb";var Cm=(e,t,n)=>{let r=e,o=r.__jsaction_fns??new Map,i=o.get(t)??[];i.push(n),o.set(t,i),r.__jsaction_fns=o},bm=(e,t)=>
4{let n=e,r=n.getAttribute(yi)??"",o=t.get(r)??new Set;o.has(n)||o.add(n),t.set(r,o)};var Tm=e=>{e.removeAttribute(qs.JSACTION),e.removeAttribute(yi),e.__jsaction_fns=void 0},Sm=new S("",{factory:()=>({})}),Tl=new WeakMap;function CC(e,t){if(e==null||typeof e!="object")return;let n=Tl.get(e);n||(n=new WeakSet,Tl.set(e,n)),n.add(t)}function Dd(e,t){let n=t?.__jsaction_fns?.get(e.type);if(!(!n||!t?.isConnected)&&!(t&&Tl.get(e)?.has(t)))for(let r of n)r(e)}var Sl=new Map;function _m(e,t){return Sl.set(e,t),()=>Sl.delete(e)}var Xp=!1,Mm=(e,t,n,r)=>{};function bC(e,t,n,r){Mm(e,t,n,r)}function Nm(){Xp||(Mm=(e,t,n,r)=>{let o=e[ot].get(yr);Sl.get(o)?.(t,n,r)},Xp=!0)}var Ma=new S("");function vi(e){return(e.flags&32)===32}var TC="__nghData__",Ed=TC,SC="__nghDeferData__",xm=SC;var ta="ngh",Am="nghm",km=()=>null;function _C(e,t,n=!1){let r=e.getAttribute(ta);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,c={};if(r!==""){let l=t.get(Jr,null,{optional:!0});l!==null&&(c=l.get(Ed,[])[Number(r)])}let u={data:c,firstChild:e.firstChild??null};return n&&(u.firstChild=e,Na(u,0,e.nextSibling)),a?e.setAttribute(ta,a):e.removeAttribute(ta),u}function Rm(){km=_C}function Om(e,t,n=!1){return km(e,t,n)}function Fm(e){let t=e._lView;return t[b].type===2?null:(cr(t)&&(t=t[G]),t)}function MC(e){return e.textContent?.replace(/\s/gm,"")}function NC(e){let t=dd(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=MC(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function Na(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function _l(e,t){return e.segmentHeads?.[t]??null}function Pm(e){return e.get(wm,!1,{optional:!0})}function xC(e,t){let n=e.data,r=n[fm]?.[t]??null;return r===null&&n[_a]?.[t]&&(r=Id(e,t)),r}function Lm(e,t){return e.data[_a]?.[t]??null}function Id(e,t){let n=Lm(e,t)??[],r=0;for(let o of n)r+=o[ii]*(o[pd]??1);return r}function AC(e){if(typeof e.disconnectedNodes>"u"){let t=e.data[gd];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}function jm(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[gd];e.disconnectedNodes=n?new Set(n):null}return!!AC(e)?.has(t)}function xa(e,t){let n=e[qe];return n!==null&&!js()&&!vi(t)&&!jm(n,t.index-G)}function kC(e,t){let n=t.get(Ma),o=t.get(Jr).get(xm,{}),i=!1,s=e,a=null,c=[];for(;!i&&s;){i=n.has(s);let u=n.hydrating.get(s);if(a===null&&u!=null){a=u.promise;break}c.unshift(s),s=o[s][vm]}return{parentBlockPromise:a,hydrationQueue:c}}function cl(e){return!!e&&e.nodeType===Node.COMMENT_NODE&&e.textContent?.trim()===Am}function eg(e){for(;e&&e.nodeType===Node.TEXT_NODE;)e=e.previousSibling;return e}function Um(e){for(let r of e.body.childNodes)if(cl(r))return;let t=eg(e.body.previousSibling);if(cl(t))return;let n=eg(e.head.lastChild);if(!cl(n))throw new I(-507,!1)}function Bm(e,t){let n=e.contentQueries;if(n!==null){let r=M(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];Zo(i),a.contentQueries(2,t[s],s)}}}finally{M(r)}}}function Ml(e,t,n){Zo(0);let r=M(null);try{t(e,n)}finally{M(r)}}function wd(e,t,n){if(Lu(t)){let r=M(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{M(r)}}}var hr=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(hr||{});var RC="svg",OC="math",FC={"http://www.w3.org/2000/svg":RC,"http://www.w3.org/1998/Math/MathML":OC},Ys;function Vm(){if(Ys===void 0&&(Ys=null,Vt.trustedTypes))try{Ys=Vt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Ys}function Aa(e){return Vm()?.createHTML(e)||e}function PC(e){return Vm()?.createScriptURL(e)||e}var Zs;function Hm(){if(Zs===void 0&&(Zs=null,Vt.trustedTypes))try{Zs=Vt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Zs}function tg(e){return Hm()?.createHTML(e)||e}function ng(e){return Hm()?.createScriptURL(e)||e}var cn=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${bs})`}},Nl=class extends cn{getTypeName(){return"HTML"}},xl=class extends cn{getTypeName(){return"Style"}}
vendor: 13,739 bytes, line 4
4,Al=class extends cn{getTypeName(){return"Script"}},kl=class extends cn{getTypeName(){return"URL"}},Rl=class extends cn{getTypeName(){return"ResourceURL"}};function vr(e){return e instanceof cn?e.changingThisBreaksApplicationSecurity:e}function ka(e,t){let n=$m(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${bs})`)}return n===t}function $m(e){return e instanceof cn&&e.getTypeName()||null}function LC(e){return new Nl(e)}function jC(e){return new xl(e)}function UC(e){return new Al(e)}function BC(e){return new kl(e)}function VC(e){return new Rl(e)}function HC(e){let t=new Fl(e);return $C()?new Ol(t):t}var Ol=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Aa(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}},Fl=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=Aa(t),n}};function $C(){try{return!!new window.DOMParser().parseFromString(Aa(""),"text/html")}catch(e){return!1}}var zC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Cd(e){return e=String(e),e.match(zC)?e:"unsafe:"+e}function ln(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Di(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var zm=ln("area,br,col,hr,img,wbr"),Gm=ln("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wm=ln("rp,rt"),GC=Di(Wm,Gm),WC=Di(Gm,ln("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")),qC=Di(Wm,ln("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")),rg=Di(zm,WC,qC,GC),qm=ln("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),YC=ln("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"),ZC=ln("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"),QC=Di(qm,YC,ZC),KC=ln("script,style,template"),Pl=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=eb(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=XC(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=og(t).toLowerCase();if(!rg.hasOwnProperty(n))return this.sanitizedSomething=!0,!KC.hasOwnProperty(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(!QC.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;qm[a]&&(c=Cd(c)),this.buf.push(" ",s,'="',ig(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=og(t).toLowerCase();rg.hasOwnProperty(n)&&!zm.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ig(t))}};function JC(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function XC(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ym(t);return t}function eb(e){let t=e.firstChild;if(t&&JC(e,t))throw Ym(t);return t}function og(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Ym(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var tb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,nb=/([^\#-~ |!])/g;function ig(e){return e.replace(/&/g,"&").replace(tb,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(nb,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Qs;function Zm(e,t){let n=null;try{Qs=Qs||HC(e);let r=t?String(t):"";n=Qs.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=Qs.getInertBodyElement(r)}while(r!==i);let a=new Pl().sanitizeChildren(sg(n)||n);return Aa(a)}finally{if(n){let r=sg(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function sg(e){return"content"in e&&rb(e)?e.content:null}function rb(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var ob=/^>|^->|<!--|-->|--!>|<!-$/g,ib=/(<|>)/g,sb="\u200B$1\u200B";function ab(e){return e.replace(ob,t=>t.replace(ib,sb))}function Qm(e,t){return e.createText(t)}function cb(e,t,n){e.setValue(t,n)}function Km(e,t){return e.createComment(ab(t))}function bd(e,t,n){return e.createElement(t,n)}function fa(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Jm(e,t,n){e.appendChild(t,n)}function ag(e,t,n,r,o){r!==null?fa(e,t,n,r,o):Jm(e,t,n)}function Td(e,t,n,r){e.removeChild(null,t,n,r)}function Xm(e){e.textContent=""}function ub(e,t,n){e.setAttribute(t,"style",n)}function lb(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ey(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&eC(e,t,r),o!==null&&lb(e,t,o),i!==null&&ub(e,t,i)}function db(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 fb(e,t,n){if(t!==void 0&&n!==void 0&&ry(t,n)!==_e.HTML)return e;let r=Sd();return r?tg(r.sanitize(_e.HTML,e)||""):ka(e,"HTML")?tg(vr(e)):Zm(dd(),Ce(e))}function ty(e){let t=Sd();return t?t.sanitize(_e.URL,e)||"":ka(e,"URL")?vr(e):Cd(Ce(e))}function ny(e){let t=Sd();if(t)return ng(t.sanitize(_e.RESOURCE_URL,e)||"");if(ka(e,"ResourceURL"))return ng(vr(e));throw new I(904,!1)}function hb(e){return PC(e[0])}function pb(e,t){switch(ry(e,t)){case _e.RESOURCE_URL:return ny;case _e.URL:return ty;default:return null}}function gb(e,t,n){return pb(t,n)?.(e)??e}function Sd(){let e=T();return e&&e[St].sanitizer}function ry(e,t){let[n,r]=mb(e);return gp(r,t,n)}function mb(e){e=e.toLowerCase();let t=db(e,!1);if(t[0])return t;let r=vt()===-1?null:Vr(),o=r?.namespace;if(e==="#host"&&r?.type===2){let i=ct(r,T());if(i.tagName&&(e=i.tagName.toLowerCase()),o==null){let s=i.namespaceURI;o=s&&FC[s]}}return[o,e]}function oy(e){return e.ownerDocument.body}function iy(e){return e instanceof Function?e():e}function yb(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 sy="ng-template";function vb(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&yb(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(_d(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 _d(e){return e.type===4&&e.value!==sy}function Db(e,t,n){let r=e.type===4&&!n?sy:e.value;return t===r}function Eb(e,t,n){let r=4,o=e.attrs,i=o!==null?Cb(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Nt(r)&&!Nt(c))return!1;if(s&&Nt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Db(e,c,n)||c===""&&t.length===1){if(Nt(r))return!1;s=!0}}else if(r&8){if(o===null||!vb(e,o,c,n)){if(Nt(r))return!1;s=!0}}else{let u=t[++a],l=Ib(c,o,_d(e),n);if(l===-1){if(Nt(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Nt(r))return!1;s=!0}}}}return Nt(r)||s}function Nt(e){return(e&1)===0}function Ib(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 bb(t,e)}function ay(e,t,n=!1){for(let r=0;r<t.length;r++)if(Eb(e,t[r],n))return!0;return!1}function wb(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Cb(e){for(let t=0;t<e.length;t++){let n=e[t];if(zg(n))return t}return e.length}function bb(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 Tb(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 cg(e,t){return e?":not("+t.trim()+")":t}function Sb(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!==""&&!Nt(s)&&(t+=cg(i,o),o=""),r=s,i=i||!Nt(r);n++}return o!==""&&(t+=cg(i,o)),t}function _b(e){return e.map(Sb).join(",")}function Mb(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(!Nt(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var be={};function Md(e,t,n,r,o,i,s,a,c,u,l){let d=G+r,h=d+o,f=Nb(d,h),p=typeof u=="function"?u():u;return f[b]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,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 Nb(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:be);return n}function xb(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Md(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Nd(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Ge]=o,d[R]=r|4|128|8|64|1024,(u!==null||e&&e[R]&2048)&&(d[R]|=2048),Vu(d),d[de]=d[or]=e,d[fe]=n,d[St]=s||e&&e[St],d[q]=a||e&&e[q],d[ot]=c||e&&e[ot]||null,d[We]=i,d[nn]=gC(),d[qe]=l,d[Pu]=u,d[Ae]=t.type==2?e[Ae]:d,d}function Ab(e,t,n){let r=ct(t,e),o=xb(n),i=e[St].rendererFactory,s=xd(e,Nd(e,o,null,cy(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function cy(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function uy(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 xd(e,t){return e[Pr]?e[Fu][pt]=t:e[Pr]=t,e[Fu]=t,t}function kb(e=1){ly(oe(),T(),vt()+e,!1)}function ly(e,t,n,r){if(!r)if((t[R]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Js(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Xs(t,i,0,n)}xn(n)}var Ra=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ra||{});function Ll(e,t,n,r){let o=M(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Ra.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):jg(t,c,i,r)}finally{M(o)}}var Yr=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Yr||{}),Rb;function Ad(e,t){return Rb(e,t)}var dU=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var jl=new WeakMap,ti=new WeakSet;function Ob(e,t){let n=jl.get(e);if(!n||n.length===0)return;let r=t.parentNode,o=t.previousSibling;for(let i=n.length-1;i>=0;i--){let s=n[i],a=s.parentNode;s===t?(n.splice(i,1),ti.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function Fb(e,t){let n=jl.get(e);n?n.includes(t)||n.push(t):jl.set(e,[t])}var si=new Set,Oa=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Oa||{}),On=new S(""),ug=new Set;function lt(e){ug.has(e)||(ug.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var kd=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=N({token:e,providedIn:"root",factory:()=>new e})}return e})(),dy=[0,1,2,3],fy=(()=>{class e{ngZone=g(Je);
vendor: 15,536 bytes, line 4
4scheduler=g(Ut);errorHandler=g(tn,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){g(On,{optional:!0})}execute(){let n=this.sequences.size>0;n&&Y(W.AfterRenderHooksStart),this.executing=!0;for(let r of dy)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&&Y(W.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[sr]??=[]).push(n),ur(r),r[R]|=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(Oa.AFTER_NEXT_RENDER,n):n()}static \u0275prov=N({token:e,providedIn:"root",factory:()=>new e})}return e})(),ha=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?.[sr];t&&(this.view[sr]=t.filter(n=>n!==this))}};function Pb(e,t){let n=t?.injector??g(Me);return lt("NgAfterRender"),py(e,n,t,!1)}function hy(e,t){let n=t?.injector??g(Me);return lt("NgAfterNextRender"),py(e,n,t,!0)}function Lb(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function py(e,t,n,r){let o=t.get(kd);o.impl??=t.get(fy);let i=t.get(On,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Re):null,a=t.get(Ko,null,{optional:!0}),c=new ha(o.impl,Lb(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var gy=new S("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:g(Ve)})});function my(e,t,n){let r=e.get(gy);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 jb(e,t){let n=e.get(gy);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function Ub(e,t){for(let[n,r]of t)my(e,r.animateFns)}function lg(e,t,n,r){let o=e?.[_n]?.enter;t!==null&&o&&o.has(n.index)&&Ub(r,o)}function Hr(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;st(o)?c=o:gt(o)&&(u=!0,o=o[Ge]);let l=at(o);e===0&&r!==null?(lg(a,r,i,n),s==null?Jm(t,r,l):fa(t,r,l,s||null,!0)):e===1&&r!==null?(lg(a,r,i,n),fa(t,r,l,s||null,!0),Ob(i,l)):e===2?(a?.[_n]?.leave?.has(i.index)&&Fb(i,l),ti.delete(l),dg(a,i,n,d=>{if(ti.has(l)){ti.delete(l);return}Td(t,l,u,d)})):e===3&&(ti.delete(l),dg(a,i,n,()=>{t.destroyNode(l)})),c!=null&&Qb(t,e,n,c,i,r,s)}}function Bb(e,t){yy(e,t),t[Ge]=null,t[We]=null}function Vb(e,t,n,r,o,i){r[Ge]=o,r[We]=t,Pa(e,r,n,1,o,i)}function yy(e,t){t[St].changeDetectionScheduler?.notify(9),Pa(e,t,t[q],2,null,null)}function Hb(e){let t=e[Pr];if(!t)return ul(e[b],e);for(;t;){let n=null;if(gt(t))n=t[Pr];else{let r=t[ie];r&&(n=r)}if(!n){for(;t&&!t[pt]&&t!==e;)gt(t)&&ul(t[b],t),t=t[de];t===null&&(t=e),gt(t)&&ul(t[b],t),n=t&&t[pt]}t=n}}function Rd(e,t){let n=e[ar],r=n.indexOf(t);n.splice(r,1)}function Fa(e,t){if(Mn(t))return;let n=t[q];n.destroyNode&&Pa(e,t,n,3,null,null),Hb(t)}function ul(e,t){if(Mn(t))return;let n=M(null);try{t[R]&=-129,t[R]|=256,t[it]&&Qn(t[it]),Gb(e,t),zb(e,t),t[b].type===1&&t[q].destroy();let r=t[Sn];if(r!==null&&st(t[de])){r!==t[de]&&Rd(r,t);let o=t[Ht];o!==null&&o.detachView(e)}Cl(t)}finally{M(n)}}function dg(e,t,n,r){let o=e?.[_n];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&si.add(e[nn]),my(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),$b(e,r)}else e&&si.delete(e[nn]),r(!1)},o)}function $b(e,t){let n=e[_n]?.running;if(n){n.then(()=>{e[_n].running=void 0,si.delete(e[nn]),t(!0)});return}t(!1)}function zb(e,t){let n=e.cleanup,r=t[Fr];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[Fr]=null);let o=t[en];if(o!==null){t[en]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Cn];if(i!==null){t[Cn]=null;for(let s of i)s.destroy()}}function Gb(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 fr)){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];Y(W.LifecycleHookStart,a,c);try{c.call(a)}finally{Y(W.LifecycleHookEnd,a,c)}}else{Y(W.LifecycleHookStart,o,i);try{i.call(o)}finally{Y(W.LifecycleHookEnd,o,i)}}}}}function vy(e,t,n){return Wb(e,t.parent,n)}function Wb(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ge];if(zt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===hr.None||o===hr.Emulated)return null}return ct(r,n)}function Dy(e,t,n){return Yb(e,t,n)}function qb(e,t,n){return e.type&40?ct(e,n):null}var Yb=qb,fg;function Od(e,t,n,r){let o=vy(e,r,t),i=t[q],s=r.parent||t[We],a=Dy(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)ag(i,o,n[c],a,!1);else ag(i,o,n,a,!1);fg!==void 0&&fg(i,r,t,n,o)}function ni(e,t){if(t!==null){let n=t.type;if(n&3)return ct(t,e);if(n&4)return Ul(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return ni(e,r);{let o=e[t.index];return st(o)?Ul(-1,o):at(o)}}else{if(n&128)return ni(e,t.next);if(n&32)return Ad(t,e)()||at(e[t.index]);{let r=Ey(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=bn(e[Ae]);return ni(o,r)}else return ni(e,t.next)}}}return null}function Ey(e,t){if(t!==null){let r=e[Ae][We],o=t.projection;return r.projection[o]}return null}function Ul(e,t){let n=ie+e+1;if(n<t.length){let r=t[n],o=r[b].firstChild;if(o!==null)return ni(r,o)}return t[$t]}function Fd(e,t,n,r,o,i,s){for(;n!=null;){let a=r[ot];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&qr(at(c),r),n.flags|=2),!vi(n))if(u&8)Fd(e,t,n.child,r,o,i,!1),Hr(t,e,a,o,c,n,i,r);else if(u&32){let l=Ad(n,r),d;for(;d=l();)Hr(t,e,a,o,d,n,i,r);Hr(t,e,a,o,c,n,i,r)}else u&16?Iy(e,t,r,n,o,i):Hr(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Pa(e,t,n,r,o,i){Fd(n,r,e.firstChild,t,o,i,!1)}function Zb(e,t,n){let r=t[q],o=vy(e,n,t),i=n.parent||t[We],s=Dy(i,n,t);Iy(r,0,t,n,o,s)}function Iy(e,t,n,r,o,i){let s=n[Ae],c=s[We].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Hr(t,e,n[ot],o,l,r,i,n)}else{let u=c,l=s[de];da(r)&&(u.flags|=128),Fd(e,t,u,l,o,i,!0)}}function Qb(e,t,n,r,o,i,s){let a=r[$t],c=at(r);a!==c&&Hr(t,e,n,i,a,o,s);for(let u=ie;u<r.length;u++){let l=r[u];Pa(l[b],l,e,t,i,a)}}function Kb(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Yr.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Yr.Important),e.setStyle(n,r,o,i))}}function wy(e,t,n,r,o){let i=vt(),s=r&2;try{xn(-1),s&&t.length>G&&ly(e,t,G,!1);let a=s?W.TemplateUpdateStart:W.TemplateCreateStart;Y(a,o,n),n(r,o)}finally{xn(i);let a=s?W.TemplateUpdateEnd:W.TemplateCreateEnd;Y(a,o,n)}}function La(e,t,n){rT(e,t,n),(n.flags&64)===64&&oT(e,t,n)}function Xr(e,t,n=ct){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 Jb(e,t,n,r){let i=r.get(md,Dm)||n===hr.ShadowDom||n===hr.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return Xb(s),s}function Xb(e){Cy(e)}var Cy=()=>null;function eT(e){rm(e)?Xm(e):NC(e)}function by(){Cy=eT}function tT(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Ty(e,t,n,r,o,i){let s=t[b];if(jd(e,s,t,n,r)){zt(e)&&nT(t,e.index);return}e.type&3&&(n=tT(n)),Sy(e,t,n,r,o,i)}function Sy(e,t,n,r,o,i){if(e.type&3){let s=ct(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function nT(e,t){let n=mt(t,e);n[R]&16||(n[R]|=64)}function rT(e,t,n){let r=n.directiveStart,o=n.directiveEnd;zt(n)&&Ab(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||ua(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=oi(t,e,s,n);if(qr(c,t),i!==null&&cT(t,s-r,c,a,n,i),Mt(a)){let u=mt(n.index,t);u[fe]=oi(t,e,s,n)}}}function oT(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Ap();try{xn(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Bs(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&iT(c,u)}}finally{xn(-1),Bs(s)}}function iT(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Pd(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];ay(t,i.selectors,!1)&&(r??=[],Mt(i)?r.unshift(i):r.push(i))}return r}function sT(e,t,n,r,o,i){let s=ct(e,t);aT(t[q],s,i,e.value,n,r,o)}function aT(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Ce(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function cT(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];Ll(r,n,c,u)}}function ja(e,t,n,r,o){let i=G+n,s=t[b],a=o(s,t,e,r,n);t[i]=a,Ur(e,!0);let c=e.type===2;return c?(ey(t[q],a,e),(Ip()===0||Lr(e))&&qr(a,t),wp()):qr(a,t),Gs()&&(!c||!vi(e))&&Od(s,t,a,e),e}function Ua(e){let t=e;return Qu()?Ku():(t=t.parent,Ur(t,!1)),t}function Ld(e,t){let n=e[ot];if(!n)return;let r;try{r=n.get(sn,null)}catch(o){r=null}r?.(t)}function jd(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];Ll(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];Ll(l,u,r,o),a=!0}return a}function uT(e,t){let n=mt(t,e),r=n[b];lT(r,n);let o=n[Ge];o!==null&&n[qe]===null&&(n[qe]=Om(o,n[ot])),Y(W.ComponentStart);try{Ud(r,n,n[fe])}finally{Y(W.ComponentEnd,n[fe])}}function lT(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ud(e,t,n){Hs(t);try{let r=e.viewQuery;r!==null&&Ml(1,r,n);let o=e.template;o!==null&&wy(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ht]?.finishViewCreation(e),e.staticContentQueries&&Bm(e,t),e.staticViewQueries&&Ml(2,e.viewQuery,n);let i=e.components;i!==null&&dT(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[R]&=-5,$s()}}function dT(e,t){for(let n=0;n<t.length;n++)uT(e,t[n])}function eo(e,t,n,r){let o=M(null);try{let i=t.tView,a=e[R]&4096?4096:16,c=Nd(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[Sn]=u;let l=e[Ht];return l!==null&&(c[Ht]=l.createEmbeddedView(i)),Ud(i,c,n),c}finally{M(o)}}function pr(e,t){return!t||t.firstChild===null||da(e)}function ai(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(at(i)),st(i)&&_y(i,r);let s=n.type;if(s&8)ai(e,t,n.child,r);else if(s&32){let a=Ad(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Ey(t,n);if(Array.isArray(a))r.push(...a);else{let c=bn(t[Ae]);ai(c[b],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function _y(e,t){for(let n=ie;n<e.length;n++){let r=e[n],o=r[b].firstChild;o!==null&&ai(r[b],r,o,t)}e[$t]!==e[Ge]&&t.push(e[$t])}function My(e){if(e[sr]!==null){for(let t of e[sr])t.impl.addSequence(t);e[sr].length=0}}var Ny=[];function fT(e){return e[it]??hT(e)}function hT(e){let t=Ny.pop()??Object.create(gT);return t.lView=e,t}function pT(e){e.lView[it]!==e&&(e.lView=null,Ny.push(e))}var gT=ce(ee({},Dn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{ur(e.lView)},consumerOnSignalRead(){this.lView[it]=this}});function mT(e){let t=e[it]??Object.create(yT);return t.lView=e,t}var yT=ce(ee({},Dn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=bn(e.lView);for(;t&&!xy(t[b]);)t=bn(t);t&&Hu(t)},consumerOnSignalRead(){this.lView[it]=this}});function xy(e){return e.type!==2}function Ay(e){if(e[Cn]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Cn])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[R]&8192)}}var vT=100;function ky(e,t=0){let r=e[St].rendererFactory,o=!1;o||r.begin?.();try{DT(e,t)}finally{o||r.end?.()}}function DT(e,t){let n=Ju();try{Po(!0),Bl(e,t);let r=0;for(;Yo(e);){if(r===vT)throw new I(103,!1);r++,Bl(e,1)}}finally{Po(n)}}function ET(e,t,n,r){if(Mn(t))return;let o=t[R],i=!1,s=!1;Hs(t);let a=!0,c=null,u=null;i||(xy(e)?(u=fT(t),c=En(u)):hs()===null?(a=!1,u=mT(t),c=En(u)):t[it]&&(Qn(t[it]),t[it]=null));try{Vu(t),Mp(e.bindingStartIndex),n!==null&&wy(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Js(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Xs(t,f,0,null),sl(t,0)}if(s||IT(t),Ay(t),Ry(t,0),e.contentQueries!==null&&Bm(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Js(t,f)}else{let f=e.contentHooks;f!==null&&Xs(t,f,1),sl(t,1)}CT(e,t);let d=e.components;d!==null&&Fy(t,d,0);let h=e.viewQuery;if(h!==null&&Ml(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Js(t,f)}else{let f=e.viewHooks;f!==null&&Xs(t,f,2),sl(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Os]){for(let f of t[Os])f();t[Os]=null}i||(My(t),t[R]&=-73)}catch(l){throw i||ur(t),l}finally{u!==null&&(Zn(u,c),a&&pT(u)),$s()}}function Ry(e,t){for(let n=sm(e);n!==null;n=am(n))for(let r=ie;r<n.length;r++){let o=n[r];Oy(o,t)}}function IT(e){for(let t=sm(e);t!==null;t=am(t)){if(!(t[R]&2))continue;let n=t[ar];for(let r=0;r<n.length;r++){let o=n[r];Hu(o)}}}function wT(e,t,n){Y(W.ComponentStart);let r=mt(t,e);try{Oy(r,n)}finally{Y(W.ComponentEnd,r[fe])}}function Oy(e,t){Fs(e)&&Bl(e,t)}function Bl(e,t){let r=e[b],o=e[R],i=e[it],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Mo(i)),s||=!1,i&&(i.dirty=!1),e[R]&=-9217,s)ET(r,e,r.template,e[fe]);else if(o&8192){let a=M(null);try{Ay(e),Ry(e,1);let c=r.components;c!==null&&Fy(e,c,1),My(e)}finally{M(a)}}}function Fy(e,t,n){for(let r=0;r<t.length;r++)wT(e,t[r],n)}function CT(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)xn(~o);else{let i=o,s=n[++r],a=n[++r];xp(s,i);let c=t[i];Y(W.HostBindingsUpdateStart,c);try{a(2,c)}finally{Y(W.HostBindingsUpdateEnd,c)}}}}finally{xn(-1)}}function Ba(e,t){let n=Ju()?64:1088;for(e[St].changeDetectionScheduler?.notify(t);e;){e[R]|=n;let r=bn(e);if(cr(e)&&!r)return e;e=r}return null}function Py(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Ly(e,t){let n=ie+t;if(n<e.length)return e[n]}function to(e,t,n,r=!0){let o=t[b];if(bT(o,t,e,n),r){let s=Ul(n,e),a=t[q],c=a.parentNode(e[$t]);c!==null&&Vb(o,e[We],a,t,c,s)}let i=t[qe];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Bd(e,t){let n=ci(e,t);return n!==void 0&&Fa(n[b],n),n}function ci(e,t){if(e.length<=ie)return;
4let n=ie+t,r=e[n];if(r){let o=r[Sn];o!==null&&o!==e&&Rd(o,r),t>0&&(e[n-1][pt]=r[pt]);let i=Go(e,ie+t);Bb(r[b],r);let s=i[Ht];s!==null&&s.detachView(i[b]),r[de]=null,r[pt]=null,r[R]&=-129}return r}function bT(e,t,n,r){let o=ie+r,i=n.length;r>0&&(n[o-1][pt]=t),r<i-ie?(t[pt]=n[o],Nu(n,ie+r,t)):(n.push(t),t[pt]=null),t[de]=n;let s=t[Sn];s!==null&&n!==s&&jy(s,t);let a=t[Ht];a!==null&&a.insertView(e),Ps(t),t[R]|=128}function jy(e,t){let n=e[ar],r=t[de];if(gt(r))e[R]|=2;else{let o=r[de][Ae];t[Ae]!==o&&(e[R]|=2)}n===null?e[ar]=[t]:n.push(t)}var kn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[b];return ai(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[fe]}set context(t){this._lView[fe]=t}get destroyed(){return Mn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[de];if(st(t)){let n=t[Wo],r=n?n.indexOf(this):-1;r>-1&&(ci(t,r),Go(n,r))}this._attachedToViewContainer=!1}Fa(this._lView[b],this._lView)}onDestroy(t){$u(this._lView,t)}markForCheck(){Ba(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[R]&=-129}reattach(){Ps(this._lView),this._lView[R]|=128}detectChanges(){this._lView[R]|=1024,ky(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new I(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=cr(this._lView),n=this._lView[Sn];n!==null&&!t&&Rd(n,this._lView),yy(this._lView[b],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new I(902,!1);this._appRef=t;let n=cr(this._lView),r=this._lView[Sn];r!==null&&!n&&jy(r,this._lView),Ps(this._lView)}};var Zr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=TT;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){let i=eo(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new kn(i)}}return e})();function TT(){return Va(me(),T())}function Va(e,t){return e.type&4?new Zr(t,e,Kr(e,t)):null}function no(e,t,n,r,o){let i=e.data[t];if(i===null)i=ST(e,t,n,r,o),Np()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Sp();i.injectorIndex=s===null?-1:s.injectorIndex}return Ur(i,!0),i}function ST(e,t,n,r,o){let i=Zu(),s=Qu(),a=s?i:i&&i.parent,c=e.data[t]=MT(e,a,n,t,r,o);return _T(e,c,i,s),c}function _T(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 MT(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return js()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:zs(),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}}var NT=new RegExp(`^(\\d+)*(${dm}|${lm})*(.*)`);function xT(e){let t=e.match(NT),[n,r,o,i]=t,s=r?parseInt(r,10):o,a=[];for(let[c,u,l]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(l,10)||1;a.push(u,d)}return[s,...a]}function AT(e){return!e.prev&&e.parent?.type===8}function ll(e){return e.index-G}function kT(e,t){let n=e.i18nNodes;if(n)return n.get(t)}function Ha(e,t,n,r){let o=ll(r),i=kT(e,o);if(i===void 0){let s=e.data[gm];if(s?.[o])i=OT(s[o],n);else if(t.firstChild===r)i=e.firstChild;else{let a=r.prev===null,c=r.prev??r.parent;if(AT(r)){let u=ll(r.parent);i=_l(e,u)}else{let u=ct(c,n);if(a)i=u.firstChild;else{let l=ll(c),d=_l(e,l);if(c.type===2&&d){let f=Id(e,l)+1;i=$a(f,d)}else i=u.nextSibling}}}}return i}function $a(e,t){let n=t;for(let r=0;r<e;r++)n=n.nextSibling;return n}function RT(e,t){let n=e;for(let r=0;r<t.length;r+=2){let o=t[r],i=t[r+1];for(let s=0;s<i;s++)switch(o){case EC:n=n.firstChild;break;case IC:n=n.nextSibling;break}}return n}function OT(e,t){let[n,...r]=xT(e),o;if(n===lm)o=t[Ae][Ge];else if(n===dm)o=oy(t[Ae][Ge]);else{let i=Number(n);o=at(t[i+G])}return RT(o,r)}var FT=!1;function Uy(e){FT=e}function PT(e){let t=e[qe];if(t){let{i18nNodes:n,dehydratedIcuData:r}=t;if(n&&r){let o=e[q];for(let i of r.values())LT(o,n,i)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}function LT(e,t,n){for(let r of n.node.cases[n.case]){let o=t.get(r.index-G);o&&Td(e,o,!1)}}function za(e){let t=e[_t]??[],r=e[de][q],o=[];for(let i of t)i.data[mm]!==void 0?o.push(i):By(i,r);e[_t]=o}function jT(e){let{lContainer:t}=e,n=t[_t];if(n===null)return;let o=t[de][q];for(let i of n)By(i,o)}function By(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[ii];for(;n<o;){let i=r.nextSibling;Td(t,r,!1),r=i,n++}
4}}function Ga(e){za(e);let t=e[Ge];gt(t)&&pa(t);for(let n=ie;n<e.length;n++)pa(e[n])}function pa(e){PT(e);let t=e[b];for(let n=G;n<t.bindingStartIndex;n++)if(st(e[n])){let r=e[n];Ga(r)}else gt(e[n])&&pa(e[n])}function Vd(e){let t=e._views;for(let n of t){let r=Fm(n);r!==null&&r[Ge]!==null&&(gt(r)?pa(r):Ga(r))}}function UT(e,t,n,r){e!==null&&(n.cleanup(t),Ga(e.lContainer),Vd(r))}function BT(e,t){let n=[];for(let r of t)for(let o=0;o<(r[pd]??1);o++){let i={data:r,firstChild:null};r[ii]>0&&(i.firstChild=e,e=$a(r[ii],e)),n.push(i)}return[e,n]}var Vy=()=>null,Hy=()=>null;function $y(){Vy=VT,Hy=HT}function VT(e,t){return Gy(e,t)?e[_t].shift():(za(e),null)}function ui(e,t){return Vy(e,t)}function HT(e,t,n){if(t.tView.ssrId===null)return null;let r=ui(e,t.tView.ssrId);return n[b].firstUpdatePass&&r===null&&$T(n,t),r}function zy(e,t,n){return Hy(e,t,n)}function $T(e,t){let n=t;for(;n;){if(hg(e,n))return;if((n.flags&256)===256)break;n=n.prev}for(n=t.next;n&&(n.flags&512)===512;){if(hg(e,n))return;n=n.next}}function Gy(e,t){let n=e[_t];return!t||n===null||n.length===0?!1:n[0].data[pm]===t}function hg(e,t){let n=t.tView?.ssrId;if(n==null)return!1;let r=e[t.index];return st(r)&&Gy(r,n)?(za(r),!0):!1}var Wy=class{},Wa=class{},Vl=class{resolveComponentFactory(t){throw new I(917,!1)}},Ei=class{static NULL=new Vl},li=class{},Ii=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>zT()}return e})();function zT(){let e=T(),t=me(),n=mt(t.index,e);return(gt(n)?n:e)[q]}var qy=(()=>{class e{static \u0275prov=N({token:e,providedIn:"root",factory:()=>null})}return e})();var na={},zr=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,na,r);return o!==na||n===na?o:this.parentInjector.get(t,n,r)}};function ga(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=Ts(o,a);else if(i==2){let c=a,u=t[++s];r=Ts(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Ne(e,t=0){let n=T();if(n===null)return L(e,t);let r=me();return Kg(r,n,we(e),t)}function GT(){let e="invalid";throw new Error(e)}function Yy(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}YT(e,t,n,a,i,c,u)}i!==null&&r!==null&&WT(n,r,i)}function WT(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 I(-301,!1);r.push(t[o],i)}}function qT(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function YT(e,t,n,r,o,i,s){let a=r.length,c=null;for(let h=0;h<a;h++){let f=r[h];c===null&&Mt(f)&&(c=f,qT(e,n,h)),Il(ua(n,t),e,f.type)}eS(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let h=0;h<a;h++){let f=r[h];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=uy(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=r[h];if(n.mergedAttrs=Wr(n.mergedAttrs,f.hostAttrs),QT(e,n,t,d,f),XT(d,f,o),s!==null&&s.has(f)){let[m,y]=s.get(f);n.directiveToIndex.set(f.type,[d,m+n.directiveStart,y+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let p=f.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++}ZT(e,n,i)}function ZT(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))pg(0,t,o,r),pg(1,t,o,r),mg(t,r,!1);else{let i=n.get(o);gg(0,t,i,r),gg(1,t,i,r),mg(t,r,!0)}}}function pg(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Zy(t,i)}}function gg(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Zy(t,s)}}function Zy(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function mg(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||_d(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&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(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 QT(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=wn(o.type,!0)),s=new fr(i,Mt(o),Ne,null);e.blueprint[r]=s,n[r]=s,KT(e,t,r,uy(e,n,o.hostVars,be),o)}function KT(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;JT(s)!=a&&s.push(a),s.push(n,r,i)}}function JT(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function XT(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Mt(t)&&(n[""]=e)}}
vendor: 11,564 bytes, line 4
4function eS(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Hd(e,t,n,r,o,i,s,a){let c=t[b],u=c.consts,l=yt(u,s),d=no(c,e,n,r,l);return i&&Yy(c,t,d,yt(u,a),o),d.mergedAttrs=Wr(d.mergedAttrs,d.attrs),d.attrs!==null&&ga(d,d.attrs,!1),d.mergedAttrs!==null&&ga(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function $d(e,t){Hg(e,t),Lu(t)&&e.queries.elementEnd(t)}function Qy(e,t,n,r,o,i){let s=t.consts,a=yt(s,o),c=no(t,e,n,r,a);if(c.mergedAttrs=Wr(c.mergedAttrs,c.attrs),i!=null){let u=yt(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&ga(c,c.attrs,!1),c.mergedAttrs!==null&&ga(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function zd(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function wi(e,t,n){return e[t]=n}function tS(e,t){return e[t]}function Xe(e,t,n){if(n===be)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function di(e,t,n,r){let o=Xe(e,t,n);return Xe(e,t+1,r)||o}function Ky(e,t,n,r,o){let i=di(e,t,n,r);return Xe(e,t+2,o)||i}function Hl(e,t,n,r,o,i){let s=di(e,t,n,r);return di(e,t+2,o,i)||s}function ra(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&CC(o,i);let s=zt(e)?mt(e.index,t):t;Ba(s,5);let a=t[fe],c=yg(t,a,n,o),u=r.__ngNextListenerFn__;for(;u;)c=yg(t,a,u,o)&&c,u=u.__ngNextListenerFn__;return c}}function yg(e,t,n,r){let o=M(null);try{return Y(W.OutputStart,t,n),n(r)!==!1}catch(i){return Ld(e,i),!1}finally{Y(W.OutputEnd,t,n),M(o)}}function Jy(e,t,n,r,o,i,s,a){let c=Lr(e),u=!1,l=null;if(!r&&c&&(l=rS(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=ct(e,n),h=r?r(d):d;bC(n,h,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(h,i,a);if(!nS(i)){let p=r?m=>r(at(m[e.index])):e.index;Xy(p,t,n,i,a,f,!1)}}return u}function nS(e){return e.startsWith("animation")||e.startsWith("transition")}function rS(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[Fr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Xy(e,t,n,r,o,i,s){let a=t.firstCreatePass?Gu(t):null,c=zu(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function vg(e,t,n,r,o,i){let s=t[n],a=t[b],u=a.data[n].outputs[r],d=s[u].subscribe(i);Xy(e.index,a,t,o,i,d,!0)}var $l=Symbol("BINDING");function ev(e){return e.debugInfo?.className||e.type.name||null}var ma=class extends Ei{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=bt(t);return new Rn(n,this.ngModule)}};function oS(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Ra.SignalBased)!==0};return o&&(i.transform=o),i})}function iS(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function sS(e,t,n){let r=t instanceof Ve?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new zr(n,r):n}function aS(e){let t=e.get(li,null);if(t===null)throw new I(407,!1);let n=e.get(qy,null),r=e.get(Ut,null),o=e.get(On,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function cS(e,t){let n=tv(e);return bd(t,n,n==="svg"?Fo:n==="math"?ju:null)}function uS(e){if(e?.toLowerCase()==="script")throw new I(905,!1)}function tv(e){return(e.selectors[0][0]||"div").toLowerCase()}var Rn=class extends Wa{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=oS(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=iS(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=_b(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){Y(W.DynamicComponentStart);let a=M(null);try{let c=this.componentDef,u=sS(c,o||this.ngModule,t),l=aS(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(ev(c),()=>this.createComponentRef(l,u,n,r,i,s)):this.createComponentRef(l,u,n,r,i,s)}finally{M(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=lS(o,a,s,i),u=t.rendererFactory.createRenderer(null,a),l=o?Jb(u,o,a.encapsulation,n):cS(a,u);uS(l?.tagName);let d=s?.some(Dg)||i?.some(p=>typeof p!="function"&&p.bindings.some(Dg)),h=Nd(null,c,null,512|cy(a),null,null,t,u,n,null,Om(l,n,!0));h[G]=l,Hs(h);let f=null;try{let p=Hd(G,h,2,"#host",()=>c.directiveRegistry,!0,0);ey(u,l,p),qr(l,h),La(c,h,p),wd(c,p,h),$d(c,p),r!==void 0&&fS(p,this.ngContentSelectors,r),f=mt(p.index,h),h[fe]=f[fe],Ud(c,h,null)}catch(p){throw f!==null&&Cl(f),Cl(h),p}finally{Y(W.DynamicComponentEnd),$s()}return new ya(this.componentType,h,!!d)}};function lS(e,t,n,r){let o=e?["ng-version","21.2.24"]:Mb(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[$l].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 h of d.bindings){a+=h[$l].requiredVars;let f=l+1;h.create&&(h.targetIdx=f,(i??=[]).push(h)),h.update&&(h.targetIdx=f,(s??=[]).push(h))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,h=zo(d);c.push(h)}return Md(0,null,dS(i,s),1,a,c,null,null,null,[o],null)}function dS(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Dg(e){let t=e[$l].kind;return t==="input"||t==="twoWay"}var ya=class extends Wy{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=jr(n[b],G),this.location=Kr(this._tNode,n),this.instance=mt(this._tNode.index,n)[fe],this.hostView=this.changeDetectorRef=new kn(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,i=jd(r,o[b],o,t,n);this.previousInputValues.set(t,n);let s=mt(r.index,o);Ba(s,1)}get injector(){return new dr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function fS(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 ro=(()=>{class e{static __NG_ELEMENT_ID__=hS}return e})();function hS(){let e=me();return nv(e,T())}var zl=class e extends ro{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Kr(this._hostTNode,this._hostLView)}get injector(){return new dr(this._hostTNode,this._hostLView)}get parentInjector(){let t=cd(this._hostTNode,this._hostLView);if(Gg(t)){let n=aa(t,this._hostLView),r=sa(t),o=n[b].data[r+8];return new dr(o,n)}else return new dr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Eg(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-ie}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ui(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,pr(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Ww(t),u;if(c)u=n;else{let y=n||{};u=y.index,r=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef,s=y.directives,a=y.bindings}let l=c?t:new Rn(bt(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let v=(c?d:this.parentInjector).get(Ve,null);v&&(i=v)}let h=bt(l.componentType??{}),f=ui(this._lContainer,h?.id??null),p=f?.firstChild??null,m=l.create(d,o,p,i,s,a);return this.insertImpl(m.hostView,u,pr(this._hostTNode,f)),m}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(yp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[de],u=new e(c,c[We],c[de]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return to(s,o,i,r),t.attachToViewContainerRef(),Nu(dl(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Eg(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=ci(this._lContainer,n);r&&(Go(dl(this._lContainer),n),Fa(r[b],r))}detach(t){let n=this._adjustIndex(t,-1),r=ci(this._lContainer,n);return r&&Go(dl(this._lContainer),n)!=null?new kn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Eg(e){return e[Wo]}function dl(e){return e[Wo]||(e[Wo]=[])}function nv(e,t){let n,r=t[e.index];return st(r)?n=r:(n=Py(r,t,null,e),t[e.index]=n,xd(t,n)),rv(n,t,e,r),new zl(n,e,t)}function pS(e,t){let n=e[q],r=n.createComment(""),o=ct(t,e),i=n.parentNode(o);return fa(n,i,r,n.nextSibling(o),!1),r}var rv=ov,Gd=()=>!1;function gS(e,t,n){return Gd(e,t,n)}function ov(e,t,n,r){if(e[$t])return;let o;n.type&8?o=at(r):o=pS(t,n),e[$t]=o}function mS(e,t,n){if(e[$t]&&e[_t])return!0;let r=n[qe],o=t.index-G;if(!r||om(t)||jm(r,o))return!1;let s=_l(r,o),a=r.data[_a]?.[o];if(a===void 0)return!1;let[c,u]=BT(s,a);return e[$t]=c,e[_t]=u,!0}function yS(e,t,n,r){Gd(e,n,t)||ov(e,t,n,r)}function iv(){rv=yS,Gd=mS}var Gl=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Wl=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++)qd(t,n).matches!==null&&this.queries[n].setDirty()}},va=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=CS(t):this.predicate=t}},ql=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)}},Yl=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}
vendor: 4,172 bytes, line 4
4matchTNode(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,vS(n,i)),this.matchTNodeWithReadOption(t,n,ea(n,t,i,!1,!1))}else r===Zr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ea(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===un||o===ro||o===Zr&&n.type&4)this.addMatch(n.index,-2);else{let i=ea(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 vS(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 DS(e,t){return e.type&11?Kr(e,t):e.type&4?Va(e,t):null}function ES(e,t,n,r){return n===-1?DS(t,e):n===-2?IS(e,t,r):oi(e,e[b],n,t)}function IS(e,t,n){if(n===un)return Kr(t,e);if(n===Zr)return Va(t,e);if(n===ro)return nv(t,e)}function sv(e,t,n,r){let o=t[Ht].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(ES(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Zl(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=sv(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=ie;d<l.length;d++){let h=l[d];h[Sn]===h[de]&&Zl(h[b],h,u,r)}if(l[ar]!==null){let d=l[ar];for(let h=0;h<d.length;h++){let f=d[h];Zl(f[b],f,u,r)}}}}}return r}function Wd(e,t){return e[Ht].queries[t].queryList}function av(e,t,n){let r=new la((n&4)===4);return Ep(e,t,r,r.destroy),(t[Ht]??=new Wl).queries.push(new Gl(r))-1}function cv(e,t,n){let r=oe();return r.firstCreatePass&&(uv(r,new va(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),av(r,T(),t)}function wS(e,t,n,r){let o=oe();if(o.firstCreatePass){let i=me();uv(o,new va(t,n,r),i.index),bS(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return av(o,T(),n)}function CS(e){return e.split(",").map(t=>t.trim())}function uv(e,t,n){e.queries===null&&(e.queries=new ql),e.queries.track(new Yl(t,n))}function bS(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function qd(e,t){return e.queries.getByIndex(t)}function lv(e,t){let n=e[b],r=qd(n,t);return r.crossesNgTemplate?Zl(n,e,t,[]):sv(n,e,r,t)}function dv(e,t,n){let r,o=Ao(()=>{r._dirtyCounter();let i=SS(r,e);if(t&&i===void 0)throw new I(-951,!1);return i});return r=o[ge],r._dirtyCounter=Oe(0),r._flatValue=void 0,o}function fv(e){return dv(!0,!1,e)}function hv(e){return dv(!0,!0,e)}function TS(e,t){let n=e[ge];n._lView=T(),n._queryIndex=t,n._queryList=Wd(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function SS(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[R]&4)return t?void 0:Be;let o=Wd(n,r),i=lv(n,r);return o.reset(i,em),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var gr=class{},pv=class{};var Da=class extends gr{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ma(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Tu(t);this._bootstrapComponents=iy(i.bootstrap),this._r3Injector=tl(t,n,[{provide:gr,useValue:this},{provide:Ei,useValue:this.componentFactoryResolver},...r],Uo(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)}},Ea=class extends pv{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Da(this.moduleType,t,[])}};var fi=class extends gr{injector;componentFactoryResolver=new ma(this);instance=null;constructor(t){super();let n=new tr([...t.providers,{provide:gr,useValue:this},{provide:Ei,useValue:this.componentFactoryResolver}
vendor: 4,284 bytes, line 4
4],t.parent||Rr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Yd(e,t,n=null){return new fi({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var _S=(()=>{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=Rs(!1,n.type),o=r.length>0?Yd([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 \u0275prov=N({token:e,providedIn:"environment",factory:()=>new e(L(Ve))})}return e})();function MS(e){return gi(()=>{let t=gv(e),n=ce(ee({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ld.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(_S).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||hr.Emulated,styles:e.styles||Be,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&<("NgStandalone"),mv(n);let r=e.dependencies;return n.directiveDefs=Ig(r,NS),n.pipeDefs=Ig(r,Su),n.id=kS(n),n})}function NS(e){return bt(e)||zo(e)}function qa(e){return gi(()=>({type:e.type,bootstrap:e.bootstrap||Be,declarations:e.declarations||Be,imports:e.imports||Be,exports:e.exports||Be,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function xS(e,t){if(e==null)return Tt;let n={};for(let r in e)if(e.hasOwnProperty(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=Ra.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function AS(e){if(e==null)return Tt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Ci(e){return gi(()=>{let t=gv(e);return mv(t),t})}function oo(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 gv(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||Tt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Be,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:xS(e.inputs,t),outputs:AS(e.outputs),debugInfo:null}}function mv(e){e.features?.forEach(t=>t(e))}function Ig(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 kS(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}function RS(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=OS,n.hostDirectives=r?e.map(Ql):[e]):r?n.hostDirectives.unshift(...e.map(Ql)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function OS(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;r??=new Map,o??=new Map,yv(s,t,r),o.set(s,[a,t.length-1])}i===0&&Mt(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function yv(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)wg(Ql(i),t,n)}else wg(r,t,n)}function wg(e,t,n){let r=zo(e.directive);FS(r.declaredInputs,e.inputs),yv(r,t,n),n.set(r,e),t.push(r)}function Ql(e){return typeof e=="function"?{directive:we(e),inputs:Tt,outputs:Tt}
4:{directive:we(e.directive),inputs:Cg(e.inputs),outputs:Cg(e.outputs)}}function Cg(e){if(e===void 0||e.length===0)return Tt;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function FS(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function PS(e){return Object.getPrototypeOf(e.prototype).constructor}function vv(e){let t=PS(e.type),n=!0,r=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let o,i=Object.hasOwn(t,Ho)?t[Ho]:void 0,s=Object.hasOwn(t,$o)?t[$o]:void 0;if(Mt(e))o=i??s;else{if(i)throw new I(903,!1);o=s}if(o){if(n){r.push(o);let c=e;c.inputs=fl(e.inputs),c.declaredInputs=fl(e.declaredInputs),c.outputs=fl(e.outputs);let u=o.hostBindings;u&&VS(e,u);let l=o.viewQuery,d=o.contentQueries;if(l&&US(e,l),d&&BS(e,d),LS(e,o),ep(e.outputs,o.outputs),Mt(o)&&o.data.animation){let h=e.data;h.animation=(h.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===vv&&(n=!1)}}t=Object.getPrototypeOf(t)}jS(r)}function LS(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function jS(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=Wr(o.hostAttrs,n=Wr(n,o.hostAttrs))}}function fl(e){return e===Tt?{}:e===Be?[]:e}function US(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function BS(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function VS(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Dv(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Wr(e.mergedAttrs,e.attrs);let l=e.tView=Md(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),Ur(e,!1);let c=Iv(n,t,e,r);Gs()&&Od(n,t,c,e),qr(c,t);let u=Py(c,t,c,e);t[r+G]=u,xd(t,u),gS(u,e,t)}function HS(e,t,n,r,o,i,s,a,c,u,l){let d=n+G,h;return t.firstCreatePass?(h=no(t,d,4,s||null,a||null),Ls()&&Yy(t,e,h,yt(t.consts,u),Pd),Hg(t,h)):h=t.data[d],Dv(h,e,t,n,r,o,i,c),Lr(h)&&La(t,e,h),u!=null&&Xr(e,h,l),h}function hi(e,t,n,r,o,i,s,a,c,u,l){let d=n+G,h;if(t.firstCreatePass){if(h=no(t,d,4,s||null,a||null),u!=null){let f=yt(t.consts,u);h.localNames=[];for(let p=0;p<f.length;p+=2)h.localNames.push(f[p],-1)}}else h=t.data[d];return Dv(h,e,t,n,r,o,i,c),u!=null&&Xr(e,h,l),h}function Ev(e,t,n,r,o,i,s,a){let c=T(),u=oe(),l=yt(u.consts,i);return HS(c,u,e,t,n,r,o,l,void 0,s,a),Ev}var Iv=wv;function wv(e,t,n,r){return on(!0),t[q].createComment("")}function $S(e,t,n,r){let o=!xa(t,n);on(o);let i=t[qe]?.data[hm]?.[r]??null;if(i!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=i),o)return wv(e,t);let s=t[qe],a=Ha(s,e,t,n);Na(s,r,a);let c=Id(s,r);return $a(c,a)}function Cv(){Iv=$S}var ut=(function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e})(ut||{}),bg=0,zS=1,ye=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(ye||{});var GS=0,bi=1;var WS=4,qS=5;var YS=7,Gr=8,ZS=9,Zd=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(Zd||{});function oa(e,t){let n=KS(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function QS(e){oa(1,e),oa(0,e),oa(2,e)}function KS(e){let t=WS;return e===1?t=qS:e===2&&(t=ZS),t}function bv(e){return e+1}function io(e,t){let n=e[b],r=bv(t.index);return e[r]}function Ti(e,t){let n=bv(t.index);return e.data[n]}function JS(e,t,n){let r=t[b],o=Ti(r,n);switch(e){case ye.Complete:return o.primaryTmplIndex;case ye.Loading:return o.loadingTmplIndex;case ye.Error:return o.errorTmplIndex;case ye.Placeholder:return o.placeholderTmplIndex;default:return null}}function Tg(e,t){return t===ye.Placeholder?e.placeholderBlockConfig?.[bg]??null:t===ye.Loading?e.loadingBlockConfig?.[bg]??null:null}function XS(e){return e.loadingBlockConfig?.[zS]??null}function Sg(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function e_(e,t){let n=t.primaryTmplIndex+G;return jr(e,n)}var t_=(()=>{class e{cachedInjectors=new Map;
4getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Yd(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=N({token:e,providedIn:"environment",factory:()=>new e})}return e})();var Tv=new S("");function hl(e,t,n){return e.get(t_).getOrCreateInjector(t,e,n,"")}function n_(e,t,n){if(e instanceof zr){let o=e.injector,i=e.parentInjector,s=hl(i,t,n);return new zr(o,s)}let r=e.get(Ve);if(r!==e){let o=hl(r,t,n);return new zr(e,o)}return hl(e,t,n)}function lr(e,t,n,r=!1){let o=n[de],i=o[b];if(Mn(o))return;let s=io(o,t),a=s[bi],c=s[YS];if(!(c!==null&&e<c)&&_g(a,e)&&_g(s[GS]??-1,e)){let u=Ti(i,t),d=!r&&!0&&(XS(u)!==null||Tg(u,ye.Loading)!==null||Tg(u,ye.Placeholder))?i_:o_;try{d(e,s,n,t,o)}catch(h){Ld(o,h)}}}function r_(e,t){let n=e[_t]?.findIndex(o=>o.data[ym]===t[bi])??-1;return{dehydratedView:n>-1?e[_t][n]:null,dehydratedViewIx:n}}function o_(e,t,n,r,o){Y(W.DeferBlockStateStart);let i=JS(e,o,r);if(i!==null){t[bi]=e;let s=o[b],a=i+G,c=jr(s,a),u=0;Bd(n,u);let l;if(e===ye.Complete){let p=Ti(s,r),m=p.providers;m&&m.length>0&&(l=n_(o[ot],p,m))}let{dehydratedView:d,dehydratedViewIx:h}=r_(n,t),f=eo(o,c,null,{injector:l,dehydratedView:d});if(to(n,f,u,pr(c,d)),Ba(f,2),h>-1&&n[_t]?.splice(h,1),(e===ye.Complete||e===ye.Error)&&Array.isArray(t[Gr])){for(let p of t[Gr])p();t[Gr]=null}}Y(W.DeferBlockStateEnd)}function _g(e,t){return e<t}function Mg(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ut.COMPLETE?lr(ye.Complete,t,n):e.loadingState===ut.FAILED&&lr(ye.Error,t,n)})}var i_=null;var s_=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Qd(e){return typeof e=="function"&&e[ge]!==void 0}function Kd(e){return Qd(e)&&typeof e.set=="function"}var Sv=new S("");function Si(e){return!!e&&typeof e.then=="function"}function Ya(e){return!!e&&typeof e.subscribe=="function"}var Jd=new S("");function a_(e){return Tn([{provide:Jd,multi:!0,useValue:e}])}var Xd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=g(Jd,{optional:!0})??[];injector=g(Me);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Or(this.injector,o);if(Si(i))n.push(i);else if(Ya(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 \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),so=new S("");function _v(){ru(()=>{let e="";throw new I(600,e)})}function Mv(e){return e.isBoundToModule}var c_=10;var Wt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=g(sn);afterRenderManager=g(kd);zonelessEnabled=g(Jo);
4rootEffectScheduler=g(Ws);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new pe;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=g(An);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Ee(n=>!n))}constructor(){g(On,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=g(Ve);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Me.NULL){return this._injector.get(Je).run(()=>{Y(W.BootstrapComponentStart);let s=n instanceof Wa;if(!this._injector.get(Xd).done){let p="";throw new I(405,p)}let c;s?c=n:c=this._injector.get(Ei).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=Mv(c)?void 0:this._injector.get(gr),l=r||c.selector,d=c.create(o,[],l,u),h=d.location.nativeElement,f=d.injector.get(Sv,null);return f?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),ri(this.components,d),f?.unregisterApplication(h)}),this._loadComponent(d),Y(W.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Y(W.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Oa.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Y(W.ChangeDetectionEnd),new I(101,!1);let n=M(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,M(n),this.afterTick.next(),Y(W.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(li,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<c_;){Y(W.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Y(W.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&&!Yo(o))continue;let i=r&&!this.zonelessEnabled?0:1;ky(o,i),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})=>Yo(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;ri(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(so,[]).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),()=>ri(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new I(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ri(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Nv(){let e,t;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}}function xv(e,t,n){let r=t[ot],o=t[b];if(e.loadingState!==ut.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=io(t,n),s=e_(o,e);e.loadingState=ut.IN_PROGRESS,oa(1,i);let a=e.dependencyResolverFn,c=r.get(an).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(u=>{let l=!1,d=null,h=[],f=[];for(let p=0;p<u.length;p++){let m=u[p];if(m.status==="fulfilled"){let y=m.value,v=bt(y)||zo(y);if(v)h.push(v);else{let D=Su(y);D&&f.push(D)}}else{l=!0,d=m.reason instanceof Error?m.reason:new Error(String(m.reason));break}}if(l){if(e.loadingState=ut.FAILED,e.errorTmplIndex===null){let m="",y=new I(-750,m);Ld(t,y)}}else{e.loadingState=ut.COMPLETE;let p=s.tView;if(h.length>0){p.directiveRegistry=Sg(p.directiveRegistry,h);let m=h.map(v=>v.type),y=Rs(!1,...m);e.providers=y}f.length>0&&(p.pipeRegistry=Sg(p.pipeRegistry,f))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ut.COMPLETE,c()}),e.loadingPromise)}function u_(e,t){return t[ot].get(Tv,null,{optional:!0})?.behavior!==Zd.Manual}function l_(e,t,n){let r=t[b],o=t[n.index];if(!u_(e,t))return;let i=io(t,n),s=Ti(r,n);switch(QS(i),s.loadingState){case ut.NOT_STARTED:lr(ye.Loading,n,o),xv(s,t,n),s.loadingState===ut.IN_PROGRESS&&Mg(s,n,o);break;case ut.IN_PROGRESS:lr(ye.Loading,n,o),Mg(s,n,o);break;case ut.COMPLETE:lr(ye.Complete,n,o);break;case ut.FAILED:lr(ye.Error,n,o);break;default:}}function Av(e,t,n){return ue(this,null,function*(){let r=e.get(Ma);if(r.hydrating.has(t))return;let{parentBlockPromise:i,hydrationQueue:s}=kC(t,e);if(s.length===0)return;i!==null&&s.shift(),h_(r,s),i!==null&&(yield i);let a=s[0];r.has(a)?yield Ng(e,s,n):r.awaitParentBlock(a,()=>ue(null,null,function*(){return yield Ng(e,s,n)}))})}function Ng(e,t,n){return ue(this,null,function*(){let r=e.get(Ma),o=r.hydrating,i=e.get(An),s=i.add();for(let c=0;c<t.length;c++){let u=t[c],l=r.get(u);if(l!=null){if(yield g_(l),yield p_(e),d_(l)){jT(l),xg(t.slice(c),r);break}o.get(u).resolve()}else{f_(c,t,r),xg(t.slice(c),r);break}}let a=t[t.length-1];yield o.get(a)?.promise,i.remove(s),n&&n(t),UT(r.get(a),t,r,e.get(Wt))})}function d_(e){return io(e.lView,e.tNode)[bi]===ye.Error}function f_(e,t,n){let r=e-1,o=r>-1?n.get(t[r]):null;o&&Ga(o.lContainer)}function xg(e,t){let n=t.hydrating;for(let r in e)n.get(r)?.reject();t.cleanup(e)}function h_(e,t){for(let n of t)e.hydrating.set(n,Nv())}function p_(e){return new Promise(t=>hy(t,{injector:e}))}
vendor: 4,546 bytes, line 4
4function g_(e){return ue(this,null,function*(){let{tNode:t,lView:n}=e,r=io(n,t);return new Promise(o=>{m_(r,o),l_(2,n,t)})})}function m_(e,t){Array.isArray(e[Gr])||(e[Gr]=[]),e[Gr].push(t)}function kv(e,t,n,r){let o=T(),i=rn();if(Xe(o,i,t)){let s=oe(),a=Vr();sT(a,o,e,t,n,r)}return kv}var Kl=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 pl(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function y_(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){M(r);let u=t.length-1;for(M(null);s<=a&&s<=u;){let l=e.at(s),d=t[s],h=pl(s,l,s,d,n);if(h!==0){h<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),p=t[u],m=pl(a,f,u,p,n);if(m!==0){m<0&&e.updateValue(a,p),a--,u--;continue}let y=n(s,l),v=n(a,f),D=n(s,d);if(Object.is(D,v)){let $=n(u,p);Object.is($,y)?(e.swap(s,a),e.updateValue(a,p),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Ia,i??=kg(e,s,a,n),Jl(e,o,s,D))e.updateValue(s,d),s++,a++;else if(i.has(D))o.set(y,e.detach(s)),a--;else{let $=e.create(s,t[s]);e.attach(s,$),s++,a++}}for(;s<=u;)Ag(e,o,n,s,t[s]),s++}else if(t!=null){M(r);let u=t[Symbol.iterator]();M(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),h=l.value,f=pl(s,d,s,h,n);if(f!==0)f<0&&e.updateValue(s,h),s++,l=u.next();else{o??=new Ia,i??=kg(e,s,a,n);let p=n(s,h);if(Jl(e,o,s,p))e.updateValue(s,h),s++,a++,l=u.next();else if(!i.has(p))e.attach(s,e.create(s,h)),s++,a++,l=u.next();else{let m=n(s,d);o.set(m,e.detach(s)),a--}}}for(;!l.done;)Ag(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 Jl(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ag(e,t,n,r,o){if(Jl(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function kg(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 Ia=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 v_(e,t,n,r,o,i,s,a){lt("NgControlFlow");let c=T(),u=oe(),l=yt(u.consts,i);return hi(c,u,e,t,n,r,o,l,256,s,a),ef}function ef(e,t,n,r,o,i,s,a){lt("NgControlFlow");let c=T(),u=oe(),l=yt(u.consts,i);return hi(c,u,e,t,n,r,o,l,512,s,a),ef}function D_(e,t){lt("NgControlFlow");let n=T(),r=rn(),o=n[r]!==be?n[r]:-1,i=o!==-1?wa(n,G+o):void 0,s=0;if(Xe(n,r,e)){let a=M(null);try{if(i!==void 0&&Bd(i,s),e!==-1){let c=G+e,u=wa(n,c),l=nd(n[b],c),d=zy(u,l,n),h=eo(n,l,t,{dehydratedView:d});to(u,h,s,pr(l,d))}}finally{M(a)}}else if(i!==void 0){let a=Ly(i,s);a!==void 0&&(a[fe]=t)}}var Xl=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-ie}};function E_(e){return e}function I_(e,t){return t}var ed=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function w_(e,t,n,r,o,i,s,a,c,u,l,d,h){lt("NgControlFlow");let f=T(),p=oe(),m=c!==void 0,y=T(),v=a?s.bind(y[Ae][fe]):s,D=new ed(m,v);y[G+e]=D,hi(f,p,e+1,t,n,r,o,yt(p.consts,i),256),m&&hi(f,p,e+2,c,u,l,d,yt(p.consts,h),512)}var td=class extends Kl{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-ie}at(t){return this.getLView(t)[fe].$implicit}attach(t,n){let r=n[qe];this.needsIndexUpdate||=t!==this.length,to(this.lContainer,n,t,pr(this.templateTNode,r)),b_(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,T_(this.lContainer,t),S_(this.lContainer,t)}create(t,n){let r=ui(this.lContainer,this.templateTNode.tView.ssrId);return eo(this.hostLView,this.templateTNode,new Xl(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Fa(t[b],t)}updateValue(t,n){this.getLView(t)[fe].$implicit=n}reset(){this.needsIndexUpdate=!1}
4updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[fe].$index=t}getLView(t){return __(this.lContainer,t)}};function C_(e){let t=M(null),n=vt();try{let r=T(),o=r[b],i=r[n],s=n+1,a=wa(r,s);if(i.liveCollection===void 0){let u=nd(o,s);i.liveCollection=new td(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(y_(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let u=rn(),l=c.length===0;if(Xe(r,u,l)){let d=n+2,h=wa(r,d);if(l){let f=nd(o,d),p=zy(h,f,r),m=eo(r,f,void 0,{dehydratedView:p});to(h,m,0,pr(f,p))}else o.firstUpdatePass&&za(h),Bd(h,0)}}}finally{M(t)}}function wa(e,t){return e[t]}function b_(e,t){if(e.length<=ie)return;let n=ie+t,r=e[n],o=r?r[_n]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[ot];jb(i,o),si.delete(r[nn]),o.detachedLeaveAnimationFns=void 0}}function T_(e,t){if(e.length<=ie)return;let n=ie+t,r=e[n],o=r?r[_n]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function S_(e,t){return ci(e,t)}function __(e,t){return Ly(e,t)}function nd(e,t){return jr(e,t)}function Rv(e,t,n){let r=T(),o=rn();if(Xe(r,o,t)){let i=oe(),s=Vr();Ty(s,r,e,t,r[q],n)}return Rv}function rd(e,t,n,r,o){jd(t,e,n,o?"class":"style",r)}function Ca(e,t,n,r){let o=T(),i=o[b],s=e+G,a=i.firstCreatePass?Hd(s,o,2,t,Pd,Ls(),n,r):i.data[s];if(zt(a)){let c=o[St].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(ev(u),()=>(Rg(e,t,o,a,r),Ca))}}return Rg(e,t,o,a,r),Ca}function Rg(e,t,n,r,o){if(ja(r,n,e,t,of),Lr(r)){let i=n[b];La(i,n,r),wd(i,r,n)}o!=null&&Xr(n,r)}function tf(){let e=oe(),t=me(),n=Ua(t);return e.firstCreatePass&&$d(e,n),qu(n)&&Yu(),Wu(),n.classesWithoutHost!=null&&Jw(n)&&rd(e,n,T(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Xw(n)&&rd(e,n,T(),n.stylesWithoutHost,!1),tf}function Ov(e,t,n,r){return Ca(e,t,n,r),tf(),Ov}function nf(e,t,n,r){let o=T(),i=o[b],s=e+G,a=i.firstCreatePass?Qy(s,i,2,t,n,r):i.data[s];return ja(a,o,e,t,of),r!=null&&Xr(o,a),nf}function rf(){let e=me(),t=Ua(e);return qu(t)&&Yu(),Wu(),rf}function Fv(e,t,n,r){return nf(e,t,n,r),rf(),Fv}var of=(e,t,n,r,o)=>(on(!0),bd(t[q],r,zs()));function M_(e,t,n,r,o){let i=!xa(t,n);if(on(i),i)return bd(t[q],r,zs());let s=t[qe],a=Ha(s,e,t,n);return Lm(s,o)&&Na(s,o,a.nextSibling),s&&(nm(n)||rm(a))&&zt(n)&&(Cp(n),Xm(a)),a}function Pv(){of=M_}function Lv(e,t,n){let r=T(),o=r[b],i=e+G,s=o.firstCreatePass?Hd(i,r,8,"ng-container",Pd,Ls(),t,n):o.data[i];if(ja(s,r,e,"ng-container",cf),Lr(s)){let a=r[b];La(a,r,s),wd(a,s,r)}return n!=null&&Xr(r,s),Lv}function sf(){let e=oe(),t=me(),n=Ua(t);return e.firstCreatePass&&$d(e,n),sf}function af(e,t,n){let r=T(),o=r[b],i=e+G,s=o.firstCreatePass?Qy(i,o,8,"ng-container",t,n):o.data[i];return ja(s,r,e,"ng-container",cf),n!=null&&Xr(r,s),af}function jv(){let e=me(),t=Ua(e);return sf}function Uv(e,t,n){return af(e,t,n),jv(),Uv}var cf=(e,t,n,r,o)=>(on(!0),Km(t[q],""));function N_(e,t,n,r,o){let i,s=!xa(t,n);if(on(s),s)return Km(t[q],"");let a=t[qe],c=Ha(a,e,t,n),u=xC(a,o);return Na(a,o,c),i=$a(u,c),i}function Bv(){cf=N_}function x_(){return T()}function Vv(e,t,n){let r=T(),o=rn();if(Xe(r,o,t)){let i=oe(),s=Vr();Sy(s,r,e,t,r[q],n)}return Vv}var ei=void 0;function A_(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var k_=["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"]],ei,[["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"]],ei,[["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\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",ei,ei,ei],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",A_],gl=Object.create(null);function Ye(e){let t=R_(e),n=Og(t);if(n)return n;let r=t.split("-")[0];if(n=Og(r),n)return n;if(r==="en")return k_;throw new I(701,!1)}function Og(e){if(!(e in gl)){let t=Vt.ng&&Vt.ng.common&&Vt.ng.common.locales&&Vt.ng.common.locales[e];return t!==void 0&&(gl[e]=t),t}return gl[e]}var se=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(se||{});function R_(e){return e.toLowerCase().replace(/_/g,"-")}var _i="en-US",O_="USD";var F_=_i;function Hv(e){typeof e=="string"&&(F_=e.toLowerCase().replace(/_/g,"-"))}function $v(e,t,n){let r=T(),o=oe(),i=me();return Gv(o,r,r[q],i,e,t,n),$v}function zv(e,t,n){let r=T(),o=oe(),i=me();return(i.type&3||n)&&Jy(i,o,r,n,r[q],e,t,ra(i,r,t)),zv}function Gv(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=ra(r,t,i),Jy(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 h=l[d],f=l[d+1];c??=ra(r,t,i),vg(r,t,h,f,o,c)}if(u&&u.length)for(let d of u)c??=ra(r,t,i),vg(r,t,d,o,o,c)}}function P_(e=1){return Pp(e)}function L_(e,t){let n=null,r=wb(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?ay(e,i,!0):Tb(r,i))return o}return n}function j_(e){let t=T()[Ae][We];if(!t.projection){let n=e?e.length:1,r=t.projection=sp(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?L_(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function U_(e,t=0,n,r,o,i){let s=T(),a=oe(),c=r?e+1:null;c!==null&&hi(s,a,c,r,o,i,null,n);let u=no(a,G+e,16,null,n||null);u.projection===null&&(u.projection=t),Ku();let d=!s[qe]||js();s[Ae][We].projection[u.projection]===null&&c!==null?B_(s,a,c):d&&!vi(u)&&Zb(a,s,u)}function B_(e,t,n){let r=G+n,o=t.data[r],i=e[r],s=ui(i,o.tView.ssrId),a=eo(e,o,void 0,{dehydratedView:s});
vendor: 4,346 bytes, line 4
4to(i,a,0,pr(o,s))}function Wv(e,t,n,r){return wS(e,t,n,r),Wv}function qv(e,t,n){return cv(e,t,n),qv}function V_(e){let t=T(),n=oe(),r=Vs();Zo(r+1);let o=qd(n,r);if(e.dirty&&mp(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=lv(t,r);e.reset(i,em),e.notifyOnChanges()}return!0}return!1}function H_(){return Wd(T(),Vs())}function Yv(e,t,n,r){return TS(e,cv(t,n,r)),Yv}function $_(e=1){Zo(Vs()+e)}function z_(e){let t=_p();return qo(t,G+e)}function Ks(e,t){return e<<17|t<<2}function mr(e){return e>>17&32767}function G_(e){return(e&2)==2}function W_(e,t){return e&131071|t<<17}function od(e){return e|2}function Qr(e){return(e&131068)>>2}function ml(e,t){return e&-131069|t<<2}function q_(e){return(e&1)===1}function id(e){return e|1}function Y_(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=mr(s),c=Qr(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||kr(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=mr(e[a+1]);e[r+1]=Ks(h,a),h!==0&&(e[h+1]=ml(e[h+1],r)),e[a+1]=W_(e[a+1],r)}else e[r+1]=Ks(a,0),a!==0&&(e[a+1]=ml(e[a+1],r)),a=r;else e[r+1]=Ks(c,0),a===0?a=r:e[c+1]=ml(e[c+1],r),c=r;u&&(e[r+1]=od(e[r+1])),Fg(e,l,r,!0),Fg(e,l,r,!1),Z_(t,l,e,r,i),s=Ks(a,c),i?t.classBindings=s:t.styleBindings=s}function Z_(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&kr(i,t)>=0&&(n[r+1]=id(n[r+1]))}function Fg(e,t,n,r){let o=e[n+1],i=t===null,s=r?mr(o):Qr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];Q_(c,t)&&(a=!0,e[s+1]=r?id(u):od(u)),s=r?mr(u):Qr(u)}a&&(e[n+1]=r?od(o):id(o))}function Q_(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?kr(e,t)>=0:!1}var xt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function K_(e){return e.substring(xt.key,xt.keyEnd)}function J_(e){return X_(e),Zv(e,Qv(e,0,xt.textEnd))}function Zv(e,t){let n=xt.textEnd;return n===t?-1:(t=xt.keyEnd=eM(e,xt.key=t,n),Qv(e,t,n))}function X_(e){xt.key=0,xt.keyEnd=0,xt.value=0,xt.valueEnd=0,xt.textEnd=e.length}function Qv(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function eM(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Kv(e,t,n){return Xv(e,t,n,!1),Kv}function Jv(e,t){return Xv(e,t,null,!0),Jv}function tM(e){rM(uM,nM,e,!0)}function nM(e,t){for(let n=J_(t);n>=0;n=Zv(t,n))As(e,K_(t),!0)}function Xv(e,t,n,r){let o=T(),i=oe(),s=Br(2);if(i.firstUpdatePass&&tD(i,e,s,r),t!==be&&Xe(o,s,t)){let a=i.data[vt()];nD(i,a,o,o[q],e,o[s+1]=dM(t,n),r,s)}}function rM(e,t,n,r){let o=oe(),i=Br(2);o.firstUpdatePass&&tD(o,null,i,r);let s=T();if(n!==be&&Xe(s,i,n)){let a=o.data[vt()];if(rD(a,r)&&!eD(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ts(c,n||"")),rd(o,a,s,n,r)}else lM(o,a,s,s[q],s[i+1],s[i+1]=cM(e,t,n),r,i)}}function eD(e,t){return t>=e.expandoStartIndex}function tD(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[vt()],s=eD(e,n);rD(i,r)&&t===null&&!s&&(t=!1),t=oM(o,i,t,r),Y_(o,i,t,n,s,r)}}function oM(e,t,n,r){let o=kp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=yl(null,e,t,n,r),n=pi(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=yl(o,e,t,n,r),i===null){let c=iM(e,t,r);c!==void 0&&Array.isArray(c)&&(c=yl(null,e,t,c[1],r),c=pi(c,t.attrs,r),sM(e,t,r,c))}else i=aM(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function iM(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Qr(r)!==0)return e[mr(r)]}function sM(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[mr(o)]=r}function aM(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=pi(r,s,n)}return pi(r,t.attrs,n)}function yl(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=pi(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function pi(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]),As(e,s,n?!0:t[++i]))}return e===void 0?null:e}function cM(e,t,n){if(n==null||n==="")return Be;let r=[],o=vr(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)o.hasOwnProperty(i)&&e(r,i,o[i]);
vendor: 5,162 bytes, line 4
4else typeof o=="string"&&t(r,o);return r}function uM(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&As(e,r,n)}function lM(e,t,n,r,o,i,s,a){o===be&&(o=Be);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 h=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,p=null,m;l===d?(c+=2,u+=2,h!==f&&(p=d,m=f)):d===null||l!==null&&l<d?(c+=2,p=l):(u+=2,p=d,m=f),p!==null&&nD(e,t,n,r,p,m,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function nD(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=q_(u)?Pg(c,t,n,o,Qr(u),s):void 0;if(!ba(l)){ba(i)||G_(u)&&(i=Pg(c,null,n,o,a,s));let d=Uu(vt(),n);Kb(r,s,d,o,i)}}function Pg(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,h=n[o+1];h===be&&(h=d?Be:void 0);let f=d?ks(h,r):l===r?h:void 0;if(u&&!ba(f)&&(f=ks(c,r)),ba(f)&&(a=f,s))return a;let p=e[o+1];o=s?mr(p):Qr(p)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=ks(c,r))}return a}function ba(e){return e!==void 0}function dM(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Uo(vr(e)))),e}function rD(e,t){return(e.flags&(t?8:16))!==0}function fM(e,t=""){let n=T(),r=oe(),o=e+G,i=r.firstCreatePass?no(r,o,1,t,null):r.data[o],s=oD(r,n,i,t);n[o]=s,Gs()&&Od(r,n,s,i),Ur(i,!1)}var oD=(e,t,n,r)=>(on(!0),Qm(t[q],r));function hM(e,t,n,r){let o=!xa(t,n);if(on(o),o)return Qm(t[q],r);let i=t[qe];return Ha(i,e,t,n)}function iD(){oD=hM}function sD(e,t,n,r=""){return Xe(e,rn(),n)?t+Ce(n)+r:be}function aD(e,t,n,r,o,i=""){let s=Us(),a=di(e,s,n,o);return Br(2),a?t+Ce(n)+r+Ce(o)+i:be}function cD(e,t,n,r,o,i,s,a=""){let c=Us(),u=Ky(e,c,n,o,s);return Br(3),u?t+Ce(n)+r+Ce(o)+i+Ce(s)+a:be}function pM(e,t,n,r,o,i,s,a,c,u,l,d,h,f,p,m,y,v=""){let D=Us(),$=Hl(e,D,n,o,s,c);return $=Hl(e,D+4,l,h,p,y)||$,Br(8),$?t+Ce(n)+r+Ce(o)+i+Ce(s)+a+Ce(c)+u+Ce(l)+d+Ce(h)+f+Ce(p)+m+Ce(y)+v:be}function uD(e){return uf("",e),uD}function uf(e,t,n){let r=T(),o=sD(r,e,t,n);return o!==be&&lf(r,vt(),o),uf}function lD(e,t,n,r,o){let i=T(),s=aD(i,e,t,n,r,o);return s!==be&&lf(i,vt(),s),lD}function dD(e,t,n,r,o,i,s){let a=T(),c=cD(a,e,t,n,r,o,i,s);return c!==be&&lf(a,vt(),c),dD}function lf(e,t,n){let r=Uu(t,e);cb(e[q],r,n)}function fD(e,t,n){Kd(t)&&(t=t());let r=T(),o=rn();if(Xe(r,o,t)){let i=oe(),s=Vr();Ty(s,r,e,t,r[q],n)}return fD}function gM(e,t){let n=Kd(e);return n&&e.set(t),n}function hD(e,t){let n=T(),r=oe(),o=me();return Gv(r,n,n[q],o,e,t),hD}function mM(e){return Xe(T(),rn(),e)?Ce(e):be}function yM(e,t,n=""){return sD(T(),e,t,n)}function vM(e,t,n,r,o=""){return aD(T(),e,t,n,r,o)}function DM(e,t,n,r,o,i,s=""){return cD(T(),e,t,n,r,o,i,s)}function EM(e,t,n,r,o,i,s,a,c,u,l,d,h,f,p,m,y=""){return pM(T(),e,t,n,r,o,i,s,a,c,u,l,d,h,f,p,m,y)}function Lg(e,t,n){let r=oe();r.firstCreatePass&&pD(t,r.data,r.blueprint,Mt(e),n)}function pD(e,t,n,r,o){if(e=we(e),Array.isArray(e))for(let i=0;i<e.length;i++)pD(e[i],t,n,r,o);else{let i=oe(),s=T(),a=me(),c=er(e)?e:we(e.provide),u=Ou(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(er(e)||!e.multi){let f=new fr(u,o,Ne,null),p=Dl(c,t,o?l:l+h,d);p===-1?(Il(ua(a,s),i,c),vl(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[p]=f,s[p]=f)}else{let f=Dl(c,t,l+h,d),p=Dl(c,t,l,l+h),m=f>=0&&n[f],y=p>=0&&n[p];if(o&&!y||!o&&!m){Il(ua(a,s),i,c);let v=CM(o?wM:IM,n.length,o,r,u,e);!o&&y&&(n[p].providerFactory=v),vl(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else{let v=gD(n[o?p:f],u,!o&&r);vl(i,e,f>-1?f:p,v)}!o&&r&&y&&n[p].componentProviders++}}}function vl(e,t,n,r){let o=er(t),i=dp(t);if(o||i){let c=(i?we(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 gD(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Dl(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function IM(e,t,n,r,o){return sd(this.multi,[])}function wM(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=oi(r,r[b],this.providerFactory.index,o);s=c.slice(0,a),sd(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],sd(i,s);return s}function sd(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function CM(e,t,n,r,o,i){let s=new fr(e,n,Ne,null);return s.multi=[],s.index=t,s.componentProviders=0,gD(s,o,r&&!n),s}function bM(e,t){return n=>{n.providersResolver=(r,o)=>Lg(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>Lg(r,o?o(t):t,!0))}}function TM(e,t){let n=Nn()+e,r=T();return r[n]===be?wi(r,n,t()):tS(r,n)}function SM(e,t,n){return mD(T(),Nn(),e,t,n)}function _M(e,t,n,r){return yD(T(),Nn(),e,t,n,r)}function MM(e,t,n,r,o){return NM(T(),Nn(),e,t,n,r,o)}function Za(e,t){let n=e[t];return n===be?void 0:n}function mD(e,t,n,r,o,i){let s=t+n;return Xe(e,s,o)?wi(e,s+1,i?r.call(i,o):r(o)):Za(e,s+1)}function yD(e,t,n,r,o,i,s){let a=t+n;return di(e,a,o,i)?wi(e,a+2,s?r.call(s,o,i):r(o,i)):Za(e,a+2)}function NM(e,t,n,r,o,i,s,a){let c=t+n;
4return Ky(e,c,o,i,s)?wi(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Za(e,c+3)}function xM(e,t,n,r,o,i,s,a,c){let u=t+n;return Hl(e,u,o,i,s,a)?wi(e,u+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Za(e,u+4)}function AM(e,t){let n=oe(),r,o=e+G;n.firstCreatePass?(r=kM(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=wn(r.type,!0)),s,a=ze(Ne);try{let c=ca(!1),u=i();return ca(c),Bu(n,T(),o,u),u}finally{ze(a)}}function kM(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function RM(e,t,n){let r=e+G,o=T(),i=qo(o,r);return df(o,r)?mD(o,Nn(),t,i.transform,n,i):i.transform(n)}function OM(e,t,n,r){let o=e+G,i=T(),s=qo(i,o);return df(i,o)?yD(i,Nn(),t,s.transform,n,r,s):s.transform(n,r)}function FM(e,t,n,r,o,i){let s=e+G,a=T(),c=qo(a,s);return df(a,s)?xM(a,Nn(),t,c.transform,n,r,o,i,c):c.transform(n,r,o,i)}function df(e,t){return e[b].data[t].pure}function PM(e,t){return Va(e,t)}var Ta=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},LM=(()=>{class e{compileModuleSync(n){return new Ea(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Tu(n),i=iy(o.declarations).reduce((s,a)=>{let c=bt(a);return c&&s.push(new Rn(c)),s},[]);return new Ta(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var vD=(()=>{class e{applicationErrorHandler=g(sn);appRef=g(Wt);taskService=g(An);ngZone=g(Je);zonelessEnabled=g(Jo);tracing=g(On,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new xe;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Lo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(g(il,{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:{this.appRef.dirtyFlags|=2;break}case 3:case 2: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?Hp:nl;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(Lo+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 \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function DD(){return[{provide:Ut,useExisting:vD},{provide:Je,useClass:jo},{provide:Jo,useValue:!0}]}function jM(){return typeof $localize<"u"&&$localize.locale||_i}var ao=new S("",{factory:()=>g(ao,{optional:!0,skipSelf:!0})||jM()}),ff=new S("",{factory:()=>O_});var Qa=class{destroyed=!1;listeners=null;errorHandler=g(tn,{optional:!0});destroyRef=g(Re);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new I(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(Bt(953,!1));return}if(this.listeners===null)return;let n=M(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{M(n)}}};function Fe(e){return Zh(e)}function At(e,t){return Ao(e,t?.equal)}var UM=e=>e;function Ka(e,t){if(typeof e=="function"){let n=cu(e,UM,t?.equal);return ED(n,t?.debugName)}else{let n=cu(e.source,e.computation,e.equal);return ED(n,e.debugName)}}function ED(e,t){let n=e[ge],r=e;return r.set=o=>qh(n,o),r.update=o=>Yh(n,o),r.asReadonly=Qo.bind(e),r}function mf(e){let t=e.request,n=e.params??t??(()=>null);return new Mi(n,VM(e),e.defaultValue,e.equal?BM(e.equal):void 0,e.debugName,e.injector??g(Me))}var hf=class{value;isLoading;constructor(t,n){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=Qo,this.isLoading=At(()=>this.status()==="loading"||this.status()==="reloading",void 0)}isError=At(()=>this.status()==="error");update(t){this.set(t(Fe(this.value)))}isValueDefined=At(()=>this.isError()?!1:this.value()!==void 0);_snapshot;get snapshot(){return this._snapshot??=At(()=>{let t=this.status();return t==="error"?{status:"error",error:this.error()}:{status:t,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}},Mi=class extends hf{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(t,n,r,o,i,s,a){super(At(()=>{let c=this.state().stream?.();if(!c||this.state().status==="loading"&&this.error())return r;if(!pf(c))throw new Ja(this.error());return c.value},{equal:o}),i),this.loaderFn=n,this.equal=o,this.debugName=i,this.extRequest=Ka({source:t,computation:c=>({request:c,reload:0})}),this.state=Ka({source:this.extRequest,computation:(c,u)=>{if(u){let l=c.request===void 0?"idle":"loading";return{extRequest:c,status:l,previousStatus:ID(u.value),stream:u.value.extRequest.request===c.request?u.value.stream
4:void 0}}else{let l=a?.(c.request);a=void 0;let d=c.request===void 0?"idle":l?"resolved":"loading";return{extRequest:c,status:d,previousStatus:"idle",stream:l}}}}),this.effectRef=Xo(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(an),this.unregisterOnDestroy=s.get(Re).onDestroy(()=>this.destroy()),this.status=At(()=>ID(this.state()),void 0),this.error=At(()=>{let c=this.state().stream?.();return c&&!pf(c)?c.error:void 0},void 0)}set(t){if(this.destroyed)return;let n=Fe(this.error),r=Fe(this.state);if(!n){let o=Fe(this.value);if(r.status==="local"&&(this.equal?this.equal(o,t):o===t))return}this.state.set({extRequest:r.extRequest,status:"local",previousStatus:"local",stream:Oe({value:t},void 0)}),this.abortInProgressLoad()}reload(){let{status:t}=Fe(this.state);return t==="idle"||t==="loading"?!1:(this.extRequest.update(({request:n,reload:r})=>({request:n,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}loadEffect(){return ue(this,null,function*(){let t=this.extRequest(),{status:n,previousStatus:r}=Fe(this.state);if(t.request===void 0)return;if(n!=="loading")return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=yield Fe(()=>this.loaderFn({params:t.request,abortSignal:i,previous:{status:r}}));if(i.aborted||Fe(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(i.aborted||Fe(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"error",stream:Oe({error:co(s)},void 0)})}finally{o?.(),o=void 0}})}abortInProgressLoad(){Fe(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function BM(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function VM(e){return HM(e)?e.stream:t=>ue(null,null,function*(){try{return Oe({value:yield e.loader(t)},void 0)}catch(n){return Oe({error:co(n)},void 0)}})}function HM(e){return!!e.stream}function ID(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return pf(e.stream())?"resolved":"error";default:return e.status}}function pf(e){return e.error===void 0}function co(e){return $M(e)?e:new gf(e)}function $M(e){return e instanceof Error||typeof e=="object"&&typeof e.name=="string"&&typeof e.message=="string"}var Ja=class extends Error{constructor(t){super(t.message,{cause:t})}},gf=class extends Error{constructor(t){super(String(t),{cause:t})}};var If={JSACTION:"__jsaction",OWNER:"__owner"},TD={};function zM(e){return e[If.JSACTION]}function wD(e,t){e[If.JSACTION]=t}function GM(e){return TD[e]}function WM(e,t){TD[e]=t}var x={CLICK:"click",CLICKMOD:"clickmod",DBLCLICK:"dblclick",FOCUS:"focus",FOCUSIN:"focusin",BLUR:"blur",FOCUSOUT:"focusout",SUBMIT:"submit",KEYDOWN:"keydown",KEYPRESS:"keypress",KEYUP:"keyup",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEENTER:"mouseenter",MOUSELEAVE:"mouseleave",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",ERROR:"error",LOAD:"load",TOUCHSTART:"touchstart",TOUCHEND:"touchend",TOUCHMOVE:"touchmove",TOGGLE:"toggle"},qM=[x.MOUSEENTER,x.MOUSELEAVE,"pointerenter","pointerleave"],SU=[x.CLICK,x.DBLCLICK,x.FOCUSIN,x.FOCUSOUT,x.KEYDOWN,x.KEYUP,x.KEYPRESS,x.MOUSEOVER,x.MOUSEOUT,x.SUBMIT,x.TOUCHSTART,x.TOUCHEND,x.TOUCHMOVE,"touchcancel","auxclick","change","compositionstart","compositionupdate","compositionend","beforeinput","input","select","copy","cut","paste","mousedown","mouseup","wheel","contextmenu","dragover","dragenter","dragleave","drop","dragstart","dragend","pointerdown","pointermove","pointerup","pointercancel","pointerover","pointerout","gotpointercapture","lostpointercapture","ended","loadedmetadata","pagehide","pageshow","visibilitychange","beforematch"],YM=[x.FOCUS,x.BLUR,x.ERROR,x.LOAD,x.TOGGLE],wf=e=>YM.indexOf(e)>=0;function ZM(e){return e===x.MOUSEENTER?x.MOUSEOVER:e===x.MOUSELEAVE?x.MOUSEOUT:e===x.POINTERENTER?x.POINTEROVER:e===x.POINTERLEAVE?x.POINTEROUT:e}function QM(e,t,n,r){let o=!1;wf(t)&&(o=!0);let i=typeof r=="boolean"?{capture:o,passive:r}:o;return e.addEventListener(t,n,i),{eventType:t,handler:n,capture:o,passive:r}}function KM(e,t){if(e.removeEventListener){let n=typeof t.passive=="boolean"?{capture:t.capture}:t.capture;e.removeEventListener(t.eventType,t.handler,n)}else e.detachEvent&&e.detachEvent(`on${t.eventType}`,t.handler)}function JM(e){e.preventDefault?e.preventDefault():e.returnValue=!1}var CD=typeof navigator<"u"&&/Macintosh/.test(navigator.userAgent);function XM(e){return e.which===2||e.which==null&&e.button===4}function e0(e){return CD&&e.metaKey||!CD&&e.ctrlKey||XM(e)||e.shiftKey}
4function t0(e,t,n){let r=e.relatedTarget;return(e.type===x.MOUSEOVER&&t===x.MOUSEENTER||e.type===x.MOUSEOUT&&t===x.MOUSELEAVE||e.type===x.POINTEROVER&&t===x.POINTERENTER||e.type===x.POINTEROUT&&t===x.POINTERLEAVE)&&(!r||r!==n&&!n.contains(r))}function n0(e,t){let n={};for(let r in e){if(r==="srcElement"||r==="target")continue;let o=r,i=e[o];typeof i!="function"&&(n[o]=i)}return e.type===x.MOUSEOVER?n.type=x.MOUSEENTER:e.type===x.MOUSEOUT?n.type=x.MOUSELEAVE:e.type===x.POINTEROVER?n.type=x.POINTERENTER:n.type=x.POINTERLEAVE,n.target=n.srcElement=t,n.bubbles=!1,n._originalEvent=e,n}var nc=class{element;handlerInfos=[];constructor(t){this.element=t}addEventListener(t,n,r){this.handlerInfos.push(QM(this.element,t,n(this.element),r))}cleanUp(){for(let t=0;t<this.handlerInfos.length;t++)KM(this.element,this.handlerInfos[t]);this.handlerInfos=[]}},r0={EVENT_ACTION_SEPARATOR:":"};function Fn(e){return e.eventType}function Cf(e,t){e.eventType=t}function ec(e){return e.event}function SD(e,t){e.event=t}function _D(e){return e.targetElement}function MD(e,t){e.targetElement=t}function ND(e){return e.eic}function o0(e,t){e.eic=t}function i0(e){return e.timeStamp}function s0(e,t){e.timeStamp=t}function tc(e){return e.eia}function xD(e,t,n){e.eia=[t,n]}function yf(e){e.eia=void 0}function Xa(e){return e[1]}function a0(e){return e.eirp}function AD(e,t){e.eirp=t}function kD(e){return e.eir}function RD(e,t){e.eir=t}function OD(e){return{eventType:e.eventType,event:e.event,targetElement:e.targetElement,eic:e.eic,eia:e.eia,timeStamp:e.timeStamp,eirp:e.eirp,eiack:e.eiack,eir:e.eir}}function c0(e,t,n,r,o,i,s,a){return{eventType:e,event:t,targetElement:n,eic:r,timeStamp:o,eia:i,eirp:s,eiack:a}}var vf=class e{eventInfo;constructor(t){this.eventInfo=t}getEventType(){return Fn(this.eventInfo)}setEventType(t){Cf(this.eventInfo,t)}getEvent(){return ec(this.eventInfo)}setEvent(t){SD(this.eventInfo,t)}getTargetElement(){return _D(this.eventInfo)}setTargetElement(t){MD(this.eventInfo,t)}getContainer(){return ND(this.eventInfo)}setContainer(t){o0(this.eventInfo,t)}getTimestamp(){return i0(this.eventInfo)}setTimestamp(t){s0(this.eventInfo,t)}getAction(){let t=tc(this.eventInfo);if(t)return{name:t[0],element:t[1]}}setAction(t){if(!t){yf(this.eventInfo);return}xD(this.eventInfo,t.name,t.element)}getIsReplay(){return a0(this.eventInfo)}setIsReplay(t){AD(this.eventInfo,t)}getResolved(){return kD(this.eventInfo)}setResolved(t){RD(this.eventInfo,t)}clone(){return new e(OD(this.eventInfo))}},u0={},l0=/\s*;\s*/,d0=x.CLICK,Df=class{a11yClickSupport=!1;clickModSupport=!0;syntheticMouseEventSupport;updateEventInfoForA11yClick=void 0;preventDefaultForA11yClick=void 0;populateClickOnlyAction=void 0;constructor({syntheticMouseEventSupport:t=!1,clickModSupport:n=!0}={}){this.syntheticMouseEventSupport=t,this.clickModSupport=n}resolveEventType(t){this.clickModSupport&&Fn(t)===x.CLICK&&e0(ec(t))?Cf(t,x.CLICKMOD):this.a11yClickSupport&&this.updateEventInfoForA11yClick(t)}resolveAction(t){kD(t)||(this.populateAction(t,_D(t)),RD(t,!0))}resolveParentAction(t){let n=tc(t),r=n&&Xa(n);yf(t);let o=r&&this.getParentNode(r);o&&this.populateAction(t,o)}populateAction(t,n){let r=n;for(;r&&r!==ND(t)&&(r.nodeType===Node.ELEMENT_NODE&&this.populateActionOnElement(r,t),!tc(t));)r=this.getParentNode(r);let o=tc(t);if(o&&(this.a11yClickSupport&&this.preventDefaultForA11yClick(t),this.syntheticMouseEventSupport&&(Fn(t)===x.MOUSEENTER||Fn(t)===x.MOUSELEAVE||Fn(t)===x.POINTERENTER||Fn(t)===x.POINTERLEAVE)))if(t0(ec(t),Fn(t),Xa(o))){let i=n0(ec(t),Xa(o));SD(t,i),MD(t,Xa(o))}else yf(t)}getParentNode(t){let n=t[If.OWNER];if(n)return n;let r=t.parentNode;return r?.nodeName==="#document-fragment"?r?.host??null:r}populateActionOnElement(t,n){let r=this.parseActions(t),o=r[Fn(n)];o!==void 0&&xD(n,o,t),this.a11yClickSupport&&this.populateClickOnlyAction(t,n,r)}parseActions(t){let n=zM(t);if(!n){let r=t.getAttribute(qs.JSACTION);if(!r)n=u0,wD(t,n);else{if(n=GM(r),!n){n={};let o=r.split(l0);for(let i=0;i<o.length;i++){let s=o[i];if(!s)continue;let a=s.indexOf(r0.EVENT_ACTION_SEPARATOR),c=a!==-1,u=c?s.substr(0,a).trim():d0,l=c?s.substr(a+1).trim():s;n[u]=l}WM(r,n)}
4wD(t,n)}}return n}addA11yClickSupport(t,n,r){this.a11yClickSupport=!0,this.updateEventInfoForA11yClick=t,this.preventDefaultForA11yClick=n,this.populateClickOnlyAction=r}},FD=(function(e){return e[e.I_AM_THE_JSACTION_FRAMEWORK=0]="I_AM_THE_JSACTION_FRAMEWORK",e})(FD||{}),Ef=class{dispatchDelegate;actionResolver;eventReplayer;eventReplayScheduled=!1;replayEventInfoWrappers=[];constructor(t,{actionResolver:n,eventReplayer:r}={}){this.dispatchDelegate=t,this.actionResolver=n,this.eventReplayer=r}dispatch(t){let n=new vf(t);this.actionResolver?.resolveEventType(t),this.actionResolver?.resolveAction(t);let r=n.getAction();if(r&&f0(r.element,n)&&JM(n.getEvent()),this.eventReplayer&&n.getIsReplay()){this.scheduleEventInfoWrapperReplay(n);return}this.dispatchDelegate(n)}scheduleEventInfoWrapperReplay(t){this.replayEventInfoWrappers.push(t),!this.eventReplayScheduled&&(this.eventReplayScheduled=!0,Promise.resolve().then(()=>{this.eventReplayScheduled=!1,this.eventReplayer(this.replayEventInfoWrappers)}))}};function f0(e,t){return e.tagName==="A"&&(t.getEventType()===x.CLICK||t.getEventType()===x.CLICKMOD)}var PD=Symbol.for("propagationStopped"),bf={REPLAY:101};var h0="`preventDefault` called during event replay.";var p0="`composedPath` called during event replay.",rc=class{dispatchDelegate;clickModSupport;actionResolver;dispatcher;constructor(t,n=!0){this.dispatchDelegate=t,this.clickModSupport=n,this.actionResolver=new Df({clickModSupport:n}),this.dispatcher=new Ef(r=>{this.dispatchToDelegate(r)},{actionResolver:this.actionResolver})}dispatch(t){this.dispatcher.dispatch(t)}dispatchToDelegate(t){for(t.getIsReplay()&&y0(t),g0(t);t.getAction();){if(v0(t),wf(t.getEventType())&&t.getAction().element!==t.getTargetElement()||(this.dispatchDelegate(t.getEvent(),t.getAction().name),m0(t)))return;this.actionResolver.resolveParentAction(t.eventInfo)}}};function g0(e){let t=e.getEvent(),n=e.getEvent().stopPropagation.bind(t),r=()=>{t[PD]=!0,n()};Dr(t,"stopPropagation",r),Dr(t,"stopImmediatePropagation",r)}function m0(e){return!!e.getEvent()[PD]}function y0(e){let t=e.getEvent(),n=e.getTargetElement(),r=t.preventDefault.bind(t);Dr(t,"target",n),Dr(t,"eventPhase",bf.REPLAY),Dr(t,"preventDefault",()=>{throw r(),new Error(h0+"")}),Dr(t,"composedPath",()=>{throw new Error(p0+"")})}function v0(e){let t=e.getEvent(),n=e.getAction()?.element;n&&Dr(t,"currentTarget",n,{configurable:!0})}function Dr(e,t,n,{configurable:r=!1}={}){Object.defineProperty(e,t,{value:n,configurable:r})}function LD(e,t){e.ecrd(n=>{t.dispatch(n)},FD.I_AM_THE_JSACTION_FRAMEWORK)}function D0(e){return e?.q??[]}function E0(e){e&&(bD(e.c,e.et,e.h),bD(e.c,e.etc,e.h,!0))}function bD(e,t,n,r){for(let o=0;o<t.length;o++)e.removeEventListener(t[o],n,r)}var I0=!1,jD=(()=>{class e{static MOUSE_SPECIAL_SUPPORT=I0;containerManager;eventHandlers={};browserEventTypeToExtraEventTypes={};dispatcher=null;queuedEventInfos=[];constructor(n){this.containerManager=n}handleEvent(n,r,o){let i=c0(n,r,r.target,o,Date.now());this.handleEventInfo(i)}handleEventInfo(n){if(!this.dispatcher){AD(n,!0),this.queuedEventInfos?.push(n);return}this.dispatcher(n)}addEvent(n,r,o){if(n in this.eventHandlers||!this.containerManager||!e.MOUSE_SPECIAL_SUPPORT&&qM.indexOf(n)>=0)return;let i=(a,c,u)=>{this.handleEvent(a,c,u)};this.eventHandlers[n]=i;let s=ZM(r||n);if(s!==n){let a=this.browserEventTypeToExtraEventTypes[s]||[];a.push(n),this.browserEventTypeToExtraEventTypes[s]=a}this.containerManager.addEventListener(s,a=>c=>{i(n,c,a)},o)}replayEarlyEvents(n=window._ejsa){n&&(this.replayEarlyEventInfos(n.q),E0(n),delete window._ejsa)}replayEarlyEventInfos(n){for(let r=0;r<n.length;r++){let o=n[r],i=this.getEventTypesForBrowserEventType(o.eventType);for(let s=0;s<i.length;s++){let a=OD(o);Cf(a,i[s]),this.handleEventInfo(a)}}}getEventTypesForBrowserEventType(n){let r=[];return this.eventHandlers[n]&&r.push(n),this.browserEventTypeToExtraEventTypes[n]&&r.push(...this.browserEventTypeToExtraEventTypes[n]),r}handler(n){return this.eventHandlers[n]}cleanUp(){this.containerManager?.cleanUp(),this.containerManager=null,this.eventHandlers={},this.browserEventTypeToExtraEventTypes={},this.dispatcher=null,this.queuedEventInfos=[]}registerDispatcher(n,r){this.ecrd(n,r)}ecrd(n,r){if(this.dispatcher=n,this.queuedEventInfos?.length){for(let o=0;o<this.queuedEventInfos.length;o++)this.handleEventInfo(this.queuedEventInfos[o]);this.queuedEventInfos=null}}}return e})();function UD(e,t=window){return D0(t._ejsas?.[e])}function Tf(e,t=window){t._ejsas&&(t._ejsas[e]=void 0)}var YD=Symbol("InputSignalNode#UNSET"),A0=ce(ee({},gs),{transformFn:void 0,applyValueToInputSignal(e,t){Kn(e,t)}});function ZD(e,t){let n=Object.create(A0);n.value=e,n.transformFn=t?.transform;function r(){if(qn(n),n.value===YD){let o=null;throw new I(-950,o)}return n.value}return r[ge]=n,r}var BD=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>ud(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function ZH(e){return new Qa}function VD(e,t){return ZD(e,t)}function k0(e){return ZD(YD,e)}var QH=(VD.required=k0,VD);function HD(e,t){return fv(t)}function R0(e,t){return hv(t)}var KH=(HD.required=R0,HD);var Sf=new S(""),O0=new S("");function Ni(e){return!e.moduleRef}function F0(e){let t=Ni(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Je);return n.run(()=>
4{Ni(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(sn),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Ni(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Sf);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Sf);s.add(i),e.moduleRef.onDestroy(()=>{ri(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return L0(r,n,()=>{let i=t.get(An),s=i.add(),a=t.get(Xd);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(ao,_i);if(Hv(c||_i),!t.get(O0,!0))return Ni(e)?t.get(Wt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Ni(e)){let l=t.get(Wt);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return P0?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var P0;function L0(e,t,n){try{let r=n();return Si(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var ic=null;function j0(e=[],t){return Me.create({name:t,providers:[{provide:Ru,useValue:"platform"},{provide:Sf,useValue:new Set([()=>ic=null])},...e]})}function U0(e=[]){if(ic)return ic;let t=j0(e);return ic=t,_v(),B0(t),t}function B0(e){let t=e.get(um,null);Or(e,()=>{t?.forEach(n=>n())})}var oc=new WeakSet,$D="";function zD(e){return e.get(yd,Em)}function JH(){let e=[{provide:yd,useFactory:()=>{let t=!0;{let n=g(yr);t=!!window._ejsas?.[n]}return t&<("NgEventReplay"),t}}];return e.push({provide:rr,useValue:()=>{let t=g(Wt),{injector:n}=t;if(!oc.has(t)){let r=g(vd);if(zD(n)){Nm();let o=n.get(yr),i=_m(o,(s,a,c)=>{s.nodeType===Node.ELEMENT_NODE&&(Cm(s,a,c),bm(s,r))});t.onDestroy(i)}}},multi:!0},{provide:so,useFactory:()=>{let t=g(Wt),{injector:n}=t;return()=>{if(!zD(n)||oc.has(t))return;oc.add(t);let r=n.get(yr);t.onDestroy(()=>{oc.delete(t),Tf(r)}),t.whenStable().then(()=>{if(t.destroyed)return;let o=n.get(Sm);V0(o,n);let i=n.get(vd);i.get($D)?.forEach(Tm),i.delete($D);let s=o.instance;Pm(n)?t.onDestroy(()=>s.cleanUp()):s.cleanUp()})}},multi:!0}),e}var V0=(e,t)=>{let n=t.get(yr),r=window._ejsas[n],o=e.instance=new jD(new nc(r.c));for(let a of r.et)o.addEvent(a);for(let a of r.etc)o.addEvent(a);let i=UD(n);o.replayEarlyEventInfos(i),Tf(n);let s=new rc(a=>{H0(t,a,a.currentTarget)});LD(o,s)};function H0(e,t,n){let r=(n&&n.getAttribute(yi))??"";/d\d+/.test(r)?$0(r,e,t,n):t.eventPhase===bf.REPLAY&&Dd(t,n)}function $0(e,t,n,r){let o=t.get(Im);o.push({event:n,currentTarget:r}),Av(t,e,z0(o))}function z0(e){return t=>{let n=new Set(t),r=[];for(let{event:o,currentTarget:i}of e){let s=i.getAttribute(yi);n.has(s)?Dd(o,i):r.push({event:o,currentTarget:i})}e.length=0,e.push(...r)}}var GD=!1;var G0=1e4;function W0(){GD||(GD=!0,Rm(),Pv(),iD(),Bv(),Cv(),iv(),$y(),by())}function q0(e){return e.whenStable()}function XH(){let e=[{provide:mi,useFactory:()=>{let t=!0;return t=!!g(Jr,{optional:!0})?.get(Ed,null),t&<("NgHydration"),t}},{provide:rr,useValue:()=>{Uy(!1);let t=g(ke);g(mi)&&(Um(t),W0())},multi:!0}];return e.push({provide:md,useFactory:()=>g(mi)},{provide:so,useFactory:()=>{let t=g(Ut);if(g(mi)){let n=g(Wt);return()=>{q0(n).then(()=>{n.destroyed||(Vd(n),t.notify(7))})}}return()=>{}},multi:!0}),Tn(e)}var e$=G0-1e3;var xf=(()=>{class e{static __NG_ELEMENT_ID__=Y0}return e})();function Y0(e){return Z0(me(),T(),(e&16)===16)}function Z0(e,t,n){if(zt(e)&&!n){let r=mt(e.index,t);return new kn(r,r)}else if(e.type&175){let r=t[Ae];return new kn(r,t)}return null}var _f=class{supports(t){return t instanceof Map||zd(t)}create(){return new Mf}},Mf=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;
vendor: 6,275 bytes, line 4
4n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||zd(t)))throw new I(900,!1);return this.check(t)?this:null}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Nf(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Nf=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function WD(){return new Af([new _f])}var Af=(()=>{class e{static \u0275prov=N({token:e,providedIn:"root",factory:WD});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=g(e,{optional:!0,skipSelf:!0});return e.create(n,r||WD())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new I(901,!1)}}return e})();function t$(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;Y(W.BootstrapApplicationStart);try{let i=o?.injector??U0(r),s=[DD(),zp,...n||[]],a=new fi({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return F0({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{Y(W.BootstrapApplicationEnd)}}function Q0(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function n$(e,t){let n=bt(e),r=t.elementInjector||Rr();return new Rn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function r$(e){let t=bt(e);if(!t)return null;let n=new Rn(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 o$=new S("",{providedIn:"platform",factory:()=>null});var QD=null;function sc(){return QD}function K0(e){QD??=e}var kf=class{},Pn=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:()=>g(KD),providedIn:"platform"})}return e})(),J0=new S(""),KD=(()=>{class e extends Pn{_location;_history;_doc=g(ke);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return sc().getBaseHref(this._doc)}onPopState(n){let r=sc().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=sc().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 \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function ac(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function JD(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function kt(e){return e&&e[0]!=="?"?`?${e}`:e}var uo=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:()=>g(eE),providedIn:"root"})}return e})(),cc=new S(""),eE=(()=>{class e extends uo{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??g(ke).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.on
vendor: 7,804 bytes, line 4
4HashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return ac(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+kt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+kt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+kt(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 \u0275fac=function(r){return new(r||e)(L(Pn),L(cc,8))};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var tE=(()=>{class e{_subject=new pe;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=tN(JD(XD(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}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+kt(r))}normalize(n){return e.stripTrailingSlash(eN(this._basePath,XD(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+kt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+kt(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=kt;static joinWithSlash=ac;static stripTrailingSlash=JD;static \u0275fac=function(r){return new(r||e)(L(uo))};static \u0275prov=N({token:e,factory:()=>X0(),providedIn:"root"})}return e})();function X0(){return new tE(L(uo))}function eN(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function XD(e){return e.replace(/\/index\.html$/,"")}function tN(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var nN=(()=>{class e extends uo{_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=ac(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+kt(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+kt(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 \u0275fac=function(r){return new(r||e)(L(Pn),L(cc,8))};static \u0275prov=N({token:e,factory:e.\u0275fac})}return e})(),sE={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KGS:[void 0,"\u20C0"],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XCG:["Cg."],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},Vf=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(Vf||{});var He=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(He||{}),J=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(J||{}),et=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(et||{}),tt={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 aE(e){return Ye(e)[se.LocaleId]}function cE(e,t,n){let r=Ye(e),o=[r[se.DayPeriodsFormat],r[se.DayPeriodsStandalone]],i=Dt(o,t);return Dt(i,n)}
vendor: 5,438 bytes, line 4
4function uE(e,t,n){let r=Ye(e),o=[r[se.DaysFormat],r[se.DaysStandalone]],i=Dt(o,t);return Dt(i,n)}function lE(e,t,n){let r=Ye(e),o=[r[se.MonthsFormat],r[se.MonthsStandalone]],i=Dt(o,t);return Dt(i,n)}function dE(e,t){let r=Ye(e)[se.Eras];return Dt(r,t)}function xi(e,t){let n=Ye(e);return Dt(n[se.DateFormat],t)}function Ai(e,t){let n=Ye(e);return Dt(n[se.TimeFormat],t)}function ki(e,t){let r=Ye(e)[se.DateTimeFormat];return Dt(r,t)}function qt(e,t){let n=Ye(e),r=n[se.NumberSymbols][t];if(typeof r>"u"){if(t===tt.CurrencyDecimal)return n[se.NumberSymbols][tt.Decimal];if(t===tt.CurrencyGroup)return n[se.NumberSymbols][tt.Group]}return r}function fE(e,t){return Ye(e)[se.NumberFormats][t]}function rN(e){return Ye(e)[se.Currencies]}function hE(e){if(!e[se.ExtraData])throw new I(2303,!1)}function pE(e){let t=Ye(e);return hE(t),(t[se.ExtraData][2]||[]).map(r=>typeof r=="string"?Rf(r):[Rf(r[0]),Rf(r[1])])}function gE(e,t,n){let r=Ye(e);hE(r);let o=[r[se.ExtraData][0],r[se.ExtraData][1]],i=Dt(o,t)||[];return Dt(i,n)||[]}function Dt(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new I(2304,!1)}function Rf(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}function mE(e,t,n="en"){let r=rN(n)[e]||sE[e]||[],o=r[1];return t==="narrow"&&typeof o=="string"?o:r[0]||e}var oN=2;function yE(e){let t,n=sE[e];return n&&(t=n[2]),typeof t=="number"?t:oN}var iN=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,uc={},sN=/((?:[^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]*)/,aN=256;function vE(e,t,n,r){let o=yN(e);cN(t),t=fn(n,t)||t;let s=[],a;for(;t;)if(a=sN.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=mN(o,r));let u="";return s.forEach(l=>{let d=pN(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function cN(e){if(e.length>aN)throw new I(2300,!1)}function pc(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function fn(e,t){let n=aE(e);if(uc[n]??={},uc[n][t])return uc[n][t];let r="";switch(t){case"shortDate":r=xi(e,et.Short);break;case"mediumDate":r=xi(e,et.Medium);break;case"longDate":r=xi(e,et.Long);break;case"fullDate":r=xi(e,et.Full);break;case"shortTime":r=Ai(e,et.Short);break;case"mediumTime":r=Ai(e,et.Medium);break;case"longTime":r=Ai(e,et.Long);break;case"fullTime":r=Ai(e,et.Full);break;case"short":let o=fn(e,"shortTime"),i=fn(e,"shortDate");r=lc(ki(e,et.Short),[o,i]);break;case"medium":let s=fn(e,"mediumTime"),a=fn(e,"mediumDate");r=lc(ki(e,et.Medium),[s,a]);break;case"long":let c=fn(e,"longTime"),u=fn(e,"longDate");r=lc(ki(e,et.Long),[c,u]);break;case"full":let l=fn(e,"fullTime"),d=fn(e,"fullDate");r=lc(ki(e,et.Full),[l,d]);break}return r&&(uc[n][t]=r),r}function lc(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Rt(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 uN(e,t){return Rt(e,3).substring(0,t)}function ve(e,t,n=0,r=!1,o=!1){return function(i,s){let a=lN(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return uN(a,t);let c=qt(s,tt.MinusSign);return Rt(a,t,c,r,o)}}function lN(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 I(2301,!1)}}function te(e,t,n=He.Format,r=!1){return function(o,i){return dN(o,i,e,t,n,r)}}function dN(e,t,n,r,o,i){switch(n){case 2:return lE(t,o,r)[e.getMonth()];case 1:return uE(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=pE(t),l=gE(t,o,r),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,p]=h,m=s>=f.hours&&a>=f.minutes,y=s<p.hours||s===p.hours&&a<p.minutes;if(f.hours<p.hours){if(m&&y)return!0}else if(m||y)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return cE(t,o,r)[s<12?0:1];case 3:return dE(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new I(2302,!1)}}function dc(e){return function(t,n,r){let o=-1*r,i=qt(n,tt.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+Rt(s,2,i)+Rt(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+Rt(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+Rt(s,2,i)+":"+Rt(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+Rt(s,2,i)+":"+Rt(Math.abs(o%60),2,i);default:throw new I(2310,!1)}}}var fN=0,hc=4;function hN(e){let t=pc(e,fN,1).getDay();return pc(e,0,1+(t<=hc?hc:hc+7)-t)}function DE(e){let t=e.getDay(),n=t===0?-3:hc-t;return pc(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Of(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=DE(n),s=hN(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Rt(o,e,qt(r,tt.MinusSign))}}function fc(e,t=!1){return function(n,r){let i=DE(n).getFullYear();return Rt(i,e,qt(r,tt.MinusSign),t)}}var Ff={};function pN(e){if(Ff[e])return Ff[e];let t;switch(e){case"G":case"GG":case"GGG":t=te(3,J.Abbreviated);break;
vendor: 8,070 bytes, line 4
4case"GGGG":t=te(3,J.Wide);break;case"GGGGG":t=te(3,J.Narrow);break;case"y":t=ve(0,1,0,!1,!0);break;case"yy":t=ve(0,2,0,!0,!0);break;case"yyy":t=ve(0,3,0,!1,!0);break;case"yyyy":t=ve(0,4,0,!1,!0);break;case"Y":t=fc(1);break;case"YY":t=fc(2,!0);break;case"YYY":t=fc(3);break;case"YYYY":t=fc(4);break;case"M":case"L":t=ve(1,1,1);break;case"MM":case"LL":t=ve(1,2,1);break;case"MMM":t=te(2,J.Abbreviated);break;case"MMMM":t=te(2,J.Wide);break;case"MMMMM":t=te(2,J.Narrow);break;case"LLL":t=te(2,J.Abbreviated,He.Standalone);break;case"LLLL":t=te(2,J.Wide,He.Standalone);break;case"LLLLL":t=te(2,J.Narrow,He.Standalone);break;case"w":t=Of(1);break;case"ww":t=Of(2);break;case"W":t=Of(1,!0);break;case"d":t=ve(2,1);break;case"dd":t=ve(2,2);break;case"c":case"cc":t=ve(7,1);break;case"ccc":t=te(1,J.Abbreviated,He.Standalone);break;case"cccc":t=te(1,J.Wide,He.Standalone);break;case"ccccc":t=te(1,J.Narrow,He.Standalone);break;case"cccccc":t=te(1,J.Short,He.Standalone);break;case"E":case"EE":case"EEE":t=te(1,J.Abbreviated);break;case"EEEE":t=te(1,J.Wide);break;case"EEEEE":t=te(1,J.Narrow);break;case"EEEEEE":t=te(1,J.Short);break;case"a":case"aa":case"aaa":t=te(0,J.Abbreviated);break;case"aaaa":t=te(0,J.Wide);break;case"aaaaa":t=te(0,J.Narrow);break;case"b":case"bb":case"bbb":t=te(0,J.Abbreviated,He.Standalone,!0);break;case"bbbb":t=te(0,J.Wide,He.Standalone,!0);break;case"bbbbb":t=te(0,J.Narrow,He.Standalone,!0);break;case"B":case"BB":case"BBB":t=te(0,J.Abbreviated,He.Format,!0);break;case"BBBB":t=te(0,J.Wide,He.Format,!0);break;case"BBBBB":t=te(0,J.Narrow,He.Format,!0);break;case"h":t=ve(3,1,-12);break;case"hh":t=ve(3,2,-12);break;case"H":t=ve(3,1);break;case"HH":t=ve(3,2);break;case"m":t=ve(4,1);break;case"mm":t=ve(4,2);break;case"s":t=ve(5,1);break;case"ss":t=ve(5,2);break;case"S":t=ve(6,1);break;case"SS":t=ve(6,2);break;case"SSS":t=ve(6,3);break;case"Z":case"ZZ":case"ZZZ":t=dc(0);break;case"ZZZZZ":t=dc(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=dc(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=dc(2);break;default:return null}return Ff[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 gN(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function mN(e,t,n){let o=e.getTimezoneOffset(),i=EE(t,o);return gN(e,-1*(i-o))}function yN(e){if(nE(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 pc(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(iN))return vN(r)}let t=new Date(e);if(!nE(t))throw new I(2311,!1);return t}function vN(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 nE(e){return e instanceof Date&&!isNaN(e.valueOf())}var DN=/^(\d+)?\.((\d+)(-(\d+))?)?$/,rE=22,gc=".",Ri="0",EN=";",IN=",",Pf="#",oE="\xA4";function wN(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=qt(n,tt.Infinity);else{let u=TN(e);s&&(u=bN(u));let l=t.minInt,d=t.minFrac,h=t.maxFrac;if(i){let D=i.match(DN);if(D===null)throw new I(2306,!1);let $=D[1],P=D[3],he=D[5];$!=null&&(l=Lf($)),P!=null&&(d=Lf(P)),he!=null?h=Lf(he):P!=null&&d>h&&(h=d);let Z=100;if(l>Z||d>Z||h>Z)throw new I(2306,!1)}SN(u,d,h);let f=u.digits,p=u.integerLen,m=u.exponent,y=[];for(c=f.every(D=>!D);p<l;p++)f.unshift(0);for(;p<0;p++)f.unshift(0);p>0?y=f.splice(p,f.length):(y=f,f=[0]);let v=[];for(f.length>=t.lgSize&&v.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)v.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&v.unshift(f.join("")),a=v.join(qt(n,r)),y.length&&(a+=qt(n,o)+y.join("")),m&&(a+=qt(n,tt.Exponential)+"+"+m)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function IE(e,t,n,r,o){let i=fE(t,Vf.Currency),s=CN(i,qt(t,tt.MinusSign));return s.minFrac=yE(r),s.maxFrac=s.minFrac,wN(e,s,t,tt.CurrencyGroup,tt.CurrencyDecimal,o).replace(oE,n).replace(oE,"").trim()}function CN(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(EN),o=r[0],i=r[1],s=o.indexOf(gc)!==-1?o.split(gc):[o.substring(0,o.lastIndexOf(Ri)+1),o.substring(o.lastIndexOf(Ri)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(Pf));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===Ri?n.minFrac=n.maxFrac=l+1:d===Pf?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(IN);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(Pf);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+l).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function bN(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function TN(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(gc))>-1&&(t=t.replace(gc,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===Ri;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===Ri;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>rE&&(r=r.splice(0,rE-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function SN(e,t,n){if(t>n)throw new I(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,u=t+e.integerLen,l=r.reduceRight(function(d,h,f,p){return h=h+d,p[f]=h<10?h:h-10,c&&(p[f]===0&&f>=u?p.pop():c=!1),h>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function Lf(e){let t=parseInt(e);if(isNaN(t))throw new I(2305,!1);return t}var jf=/\s+/,iE=[],_N=(()=>{class e{_ngEl;_renderer;initialClasses=iE;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(jf):iE}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(jf):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(jf).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(Ne(un),Ne(Ii))};static \u0275dir=Ci({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var MN=(()=>{class e{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:Yr.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}
4_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||e)(Ne(un),Ne(Af),Ne(Ii))};static \u0275dir=Ci({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return e})(),NN=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=g(Me);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 \u0275fac=function(r){return new(r||e)(Ne(ro))};static \u0275dir=Ci({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[ad]})}return e})();function mc(e,t){return new I(2100,!1)}var Uf=class{createSubscription(t,n,r){return Fe(()=>t.subscribe({next:n,error:r}))}dispose(t){Fe(()=>t.unsubscribe())}},Bf=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},xN=new Bf,AN=new Uf,kN=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=g(sn);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(Si(n))return xN;if(Ya(n))return AN;throw mc(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 \u0275fac=function(r){return new(r||e)(Ne(xf,16))};static \u0275pipe=oo({name:"async",type:e,pure:!1})}return e})();var RN=(()=>{class e{transform(n){return n==null?null:(ON(e,n),n.toUpperCase())}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=oo({name:"uppercase",type:e,pure:!0})}return e})();function ON(e,t){if(typeof t!="string")throw mc(e,t)}var FN="mediumDate",wE=new S(""),CE=new S(""),PN=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??FN,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return vE(n,s,i||this.locale,a)}catch(s){throw mc(e,s.message)}}static \u0275fac=function(r){return new(r||e)(Ne(ao,16),Ne(wE,24),Ne(CE,24))};static \u0275pipe=oo({name:"date",type:e,pure:!0})}return e})();var LN=(()=>{class e{_locale;_defaultCurrencyCode;constructor(n,r="USD"){this._locale=n,this._defaultCurrencyCode=r}transform(n,r=this._defaultCurrencyCode,o="symbol",i,s){if(!jN(n))return null;s||=this._locale,typeof o=="boolean"&&(o=o?"symbol":"code");let a=r||this._defaultCurrencyCode;o!=="code"&&(o==="symbol"||o==="symbol-narrow"?a=mE(a,o==="symbol"?"wide":"narrow",s):a=o);try{let c=UN(n);return IE(c,s,a,r,i)}catch(c){throw mc(e,c.message)}}static \u0275fac=function(r){return new(r||e)(Ne(ao,16),Ne(ff,16))};static \u0275pipe=oo({name:"currency",type:e,pure:!0})}return e})();function jN(e){return!(e==null||e===""||e!==e)}function UN(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new I(2309,!1);return e}function Hf(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)return decodeURIComponent(i)}return null}var Oi=class{};var HN="browser";function yc(e){return e===HN}var w8=(()=>{class e{static \u0275prov=N({token:e,providedIn:"root",factory:()=>new $f(g(ke),window)})}return e})(),$f=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(ce(ee({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=$N(this.document,t);
4r&&(this.scrollToElement(r,n),r.focus({preventScroll:!0}))}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch(n){console.warn(Bt(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(ce(ee({},n),{left:o-s[0],top:i-s[1]}))}};function $N(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="${t}"]`);if(s)return s}o=r.nextNode()}}return null}function P8(e){e||(e=g(Re));let t=new O(n=>{if(e.destroyed){n.next();return}return e.onDestroy(n.next.bind(n))});return n=>n.pipe(Jc(t))}function bE(e,t){let n=t?.injector??g(Me),r=new zn(1),o=Xo(()=>{let i;try{i=e()}catch(s){Fe(()=>r.error(s));return}Fe(()=>r.next(i))},{injector:n,manualCleanup:!0});return n.get(Re).onDestroy(()=>{o.destroy(),r.complete()}),r.asObservable()}function L8(e,t){let r=!t?.manualCleanup?t?.injector?.get(Re)??g(Re):null,o=zN(t?.equal),i;t?.requireSync?i=Oe({kind:0},{equal:o}):i=Oe({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 I(601,!1);return s=r?.onDestroy(a.unsubscribe.bind(a)),At(()=>{let c=i();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new I(601,!1)}},{equal:t?.equal})}function zN(e=Object.is){return(t,n)=>t.kind===1&&n.kind===1&&e(t.value,n.value)}function j8(e){return mf(ce(ee({},e),{loader:void 0,stream:t=>{let n,r=()=>n?.unsubscribe();t.abortSignal.addEventListener("abort",r);let o=Oe({value:void 0}),i,s=new Promise(u=>i=u);function a(u){o.set(u),i?.(o),i=void 0}let c=e.stream;if(c===void 0)throw new I(990,!1);return n=c(t).subscribe({next:u=>a({value:u}),error:u=>{a({error:co(u)}),t.abortSignal.removeEventListener("abort",r)},complete:()=>{i&&a({error:new I(991,!1)}),t.abortSignal.removeEventListener("abort",r)}}),s}}))}var TE=(()=>{class e{constructor(){this.initialUserInfo={},this.impersonationStateChanged=new pe,this.initialize()}get isUserInitialized(){return this.user$.value!==this.initialUserInfo}mapGroupBasket(n,r){this.groupBaskets[n]?this.groupBaskets[n].set(r):this.groupBaskets[n]=Oe(r)}initialize(){this.user$=new nt(this.initialUserInfo),this.basket$=new nt(null),this.userAddresses$=new nt(null),this.subscriptionStatus$=new nt(null),this.loggedIn$=new nt(!1),this.groupBaskets={},this.userData$=new nt(null),this.countries$=new nt(null),this.impersonationStateChanged.subscribe(()=>{this.groupBaskets={}})}resetUserData(n){this.userData$.next(n),this.groupBaskets={}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var SE={production:!0,apiUrl:"https://api.nbmedical.com",publicUrl:"https://www.nbmedical.com",dashboardUrl:"https://dashboard.nbmedical.com",videoHostUrl:"https://cdn.nbmedical.com",googleMapsApiKey:"AIzaSyDRTDyMguGSuakSd1jFCVHvV6ndQG96GFk",idealPostcodesApiKey:"ak_hr19shxjfa0mtFMs
456ZgD2xb5gqo2",stripePublicKey:"pk_live_51LyzwGBD2Goc4sObNAV5hZF9WhOzL9jeQEzNNGORVxGPNWFzdOb9aufs3KzVlCW1LdO4t57n6jtdeEopr4uRiCcX00gb27i9l3",clientSettings:{authority:"https://account.nbmedical.com/",client_id:"website",scope:"openid profile email api file-download"},licenceAdminUrl:"https://licence.nbmedical.com",featureFlags:{showNBPlusBookPicker:!0,useApiV2:!1,showPromo:!0},amplitudeApiKey:"",sessionReplaySampleRate:.01};var _E=typeof Storage<"u"?localStorage:null,zf=class{get oauthStorage(){return _E}get internalStorage(){return _E}get hasStorage(){return this.internalStorage!==null}get isSSR(){return this.internalStorage===null}getItem(t){return this.internalStorage?.getItem(t)}setItem(t,n){this.internalStorage?.setItem(t,n)}removeItem(t){return this.internalStorage?.removeItem(t)}},dt=new zf;var Te=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 Ec=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()}},Ic=class{encodeKey(t){return NE(t)}encodeValue(t){return NE(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function GN(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 WN=/%(\d[a-f0-9])/gi,qN={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function NE(e){return encodeURIComponent(e).replace(WN,(t,n)=>qN[n]??t)}function vc(e){return`${e}`}var Ze=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new Ic,t.fromString){if(t.fromObject)throw new I(2805,!1);this.map=GN(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(vc):[vc(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}
vendor: 4,796 bytes, line 5
5keys(){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(vc(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(vc(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 YN(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function xE(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function AE(e){return typeof Blob<"u"&&e instanceof Blob}function kE(e){return typeof FormData<"u"&&e instanceof FormData}function ZN(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Fi="Content-Type",wc="Accept",FE="text/plain",PE="application/json",LE=`${PE}, ${FE}, */*`,lo=class e{url;body=null;headers;context;reportProgress=!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(YN(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,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 I(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 Te,this.context??=new Ec,!this.params)this.params=new Ze,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||xE(this.body)||AE(this.body)||kE(this.body)||ZN(this.body)?this.body:this.body instanceof Ze?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||kE(this.body)?null:AE(this.body)?this.body.type||null:xE(this.body)?null:typeof this.body=="string"?FE:this.body instanceof Ze?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?PE: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,h=t.integrity||this.integrity,f=t.referrerPolicy||this.referrerPolicy,p=t.transferCache??this.transferCache,m=t.timeout??this.timeout,y=t.body!==void 0?t.body:this.body,v=t.withCredentials??this.withCredentials,D=t.reportProgress??this.reportProgress,$=t.headers||this.headers,P=t.params||this.params,he=t.context??this.context;return t.setHeaders!==void 0&&($=Object.keys(t.setHeaders).reduce((Z,De)=>Z.set(De,t.setHeaders[De]),$)),t.setParams&&(P=Object.keys(t.setParams).reduce((Z,De)=>Z.set(De,t.setParams[De]),P)),new e(n,r,y,{params:P,headers:$,context:he,reportProgress:D,responseType:o,withCredentials:v,transferCache:p,keepalive:i,cache:a,priority:s,timeout:m,mode:c,redirect:u,credentials:l,referrer:d,integrity:h,referrerPolicy:f})}}
vendor: 6,703 bytes, line 5
5,Yt=(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})(Yt||{}),fo=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r="OK"){this.headers=t.headers||new Te,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}},Pi=class e extends fo{constructor(t={}){super(t)}type=Yt.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})}},Ln=class e extends fo{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=Yt.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})}},Et=class extends fo{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}},Qf=200,QN=204;var KN=/^\)\]\}',?\n/,jE=new S(""),Dc=(()=>{class e{fetchImpl=g(Yf,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=g(Je);destroyRef=g(Re);handle(n){return new O(r=>{let o=new AbortController;this.doRequest(n,o.signal,r).then(Zf,s=>r.error(new Et({error:s})));let i;return n.timeout&&(i=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException("signal timed out","TimeoutError"))},n.timeout))),()=>{i!==void 0&&clearTimeout(i),o.abort()}})}doRequest(n,r,o){return ue(this,null,function*(){let i=this.createRequestInit(n),s;try{let m=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,ee({signal:r},i)));JN(m),o.next({type:Yt.Sent}),s=yield m}catch(m){o.error(new Et({error:m,status:m.status??0,statusText:m.statusText,url:n.urlWithParams,headers:m.headers}));return}let a=new Te(s.headers),c=s.statusText,u=s.url||n.urlWithParams,l=s.status,d=null;if(n.reportProgress&&o.next(new Pi({headers:a,status:l,statusText:c,url:u})),s.body){let m=s.headers.get("content-length"),y=[],v=s.body.getReader(),D=0,$,P,he=typeof Zone<"u"&&Zone.current,Z=!1;if(yield this.ngZone.runOutsideAngular(()=>ue(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield v.cancel(),Z=!0;break}let{done:K,value:z}=yield v.read();if(K)break;if(y.push(z),D+=z.length,n.reportProgress){P=n.responseType==="text"?(P??"")+($??=new TextDecoder).decode(z,{stream:!0}):void 0;let ne=()=>o.next({type:Yt.DownloadProgress,total:m?+m:void 0,loaded:D,partialText:P});he?he.run(ne):ne()}}})),Z){o.complete();return}let De=this.concatChunks(y,D);try{let K=s.headers.get(Fi)??"";d=this.parseBody(n,De,K,l)}catch(K){o.error(new Et({error:K,headers:new Te(s.headers),status:s.status,statusText:s.statusText,url:s.url||n.urlWithParams}));return}}l===0&&(l=d?Qf:0);let h=l>=200&&l<300,f=s.redirected,p=s.type;h?(o.next(new Ln({body:d,headers:a,status:l,statusText:c,url:u,redirected:f,responseType:p})),o.complete()):o.error(new Et({error:d,headers:a,status:l,statusText:c,url:u,redirected:f,responseType:p}))})}parseBody(n,r,o,i){switch(n.responseType){case"json":let s=new TextDecoder().decode(r).replace(KN,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},o;if(o=n.credentials,n.withCredentials&&(o="include"),n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has(wc)||(r[wc]=LE),!n.headers.has(Fi)){let i=n.detectContentTypeHeader();i!==null&&(r[Fi]=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 \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:e.\u0275fac})}return e})(),Yf=class{};function Zf(){}function JN(e){e.then(Zf,Zf)}var XN=/^\)\]\}',?\n/;var Kf=(()=>{class e{xhrFactory;tracingService=g(On,{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 I(-2800,!1);let r=this.xhrFactory;return re(null).pipe(yn(()=>new O(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((y,v)=>s.setRequestHeader(y,v.join(","))),n.headers.has(wc)||s.setRequestHeader(wc,LE),!n.headers.has(Fi)){let y=n.detectContentTypeHeader();y!==null&&s.setRequestHeader(Fi,y)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let y=n.responseType.toLowerCase();s.responseType=y!=="json"?y:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let y=s.statusText||"OK",v=new Te(s.getAllResponseHeaders()),D=s.responseURL||n.url;return c=new Pi({headers:v,status:s.status,statusText:y,url:D}),c},l=this.maybePropagateTrace(()=>{let{headers:y,status:v,statusText:D,url:$}=u(),P=null;v!==QN&&(P=typeof s.response>"u"?s.responseText:s.response),v===0&&(v=P?Qf:0);let he=v>=200&&v<300;if(n.responseType==="json"&&typeof P=="string"){let Z=P;P=P.replace(XN,"");try{P=P!==""?JSON.parse(P):null}catch(De){P=Z,he&&(he=!1,P={error:De,text:P})}}he?(i.next(new Ln({body:P,headers:y,status:v,statusText:D,url:$||void 0})),i.complete()):i.error(new Et({error:P,headers:y,status:v,statusText:D,url:$||void 0}))}),d=this.maybePropagateTrace(y=>{let{url:v}=u(),D=new Et({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:v||void 0});i.error(D)}),h=d;n.timeout&&(h=this.maybePropagateTrace(y=>{let{url:v}=u(),D=new Et({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:v||void 0});i.error(D)}));let f=!1,p=this.maybePropagateTrace(y=>{f||(i.next(u()),f=!0);let v={type:Yt.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),n.responseType==="text"&&s.responseText&&(v.partialText=s.responseText),i.next(v)}
5),m=this.maybePropagateTrace(y=>{let v={type:Yt.UploadProgress,loaded:y.loaded};y.lengthComputable&&(v.total=y.total),i.next(v)});return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",p),a!==null&&s.upload&&s.upload.addEventListener("progress",m)),s.send(a),i.next({type:Yt.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",h),n.reportProgress&&(s.removeEventListener("progress",p),a!==null&&s.upload&&s.upload.removeEventListener("progress",m)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(L(Oi))};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ex=new S("",{factory:()=>!0}),tx="XSRF-TOKEN",nx=new S("",{factory:()=>tx}),rx="X-XSRF-TOKEN",ox=new S("",{factory:()=>rx}),ix=(()=>{class e{cookieName=g(nx);doc=g(ke);lastCookieString="";lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Hf(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),UE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=L(ix),o},providedIn:"root"})}return e})();function BE(e,t){if(!g(ex)||e.method==="GET"||e.method==="HEAD")return t(e);try{let o=g(Pn).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(UE).getToken(),r=g(ox);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function VE(e,t){return t(e)}function sx(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}function ax(e,t,n){return(r,o)=>Or(n,()=>t(r,i=>e(i,o)))}var Tc=new S(""),Sc=new S("",{factory:()=>[BE]}),Jf=new S(""),Xf=new S("",{factory:()=>!0});function cx(){let e=null;return(t,n)=>{e===null&&(e=(g(Tc,{optional:!0})??[]).reduceRight(sx,VE));let r=g(an);if(g(Xf)){let i=r.add();return e(t,n).pipe(wo(i))}else return e(t,n)}}var _c=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=L(Kf),o},providedIn:"root"})}return e})();var Cc=(()=>{class e{backend;injector;chain=null;pendingTasks=g(an);contributeToStability=g(Xf);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=this.injector.get(Mc,null,{skipSelf:!0}),o=r!==null&&this.backend===r,i=this.injector.get(Jf,[],o?{self:!0}:void 0),s=Array.from(new Set([...this.injector.get(Sc),...i]));this.chain=s.reduceRight((a,c)=>ax(a,c,this.injector),VE)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(wo(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(L(_c),L(Ve))};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Mc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=N({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=L(Cc),o},providedIn:"root"})}return e})();function qf(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var ho=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof lo)i=n;else{let c;o.headers instanceof Te?c=o.headers:c=new Te(o.headers);let u;o.params&&(o.params instanceof Ze?u=o.params:u=new Ze({fromObject:o.params})),i=new lo(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,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=re(i).pipe(Yc(c=>this.handler.handle(c)));if(n instanceof lo||o.observe==="events")return s;let a=s.pipe(Ie(c=>c instanceof Ln));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Ee(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new I(2806,!1);return c.body}));case"blob":return a.pipe(Ee(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new I(2807,!1);return c.body}));case"text":return a.pipe(Ee(c=>{if(c.body!==null&&typeof c.body!="string")throw new I(2808,!1);return c.body}));default:return a.pipe(Ee(c=>c.body))}case"response":return a;default:throw new I(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 Ze().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,qf(o,r))}post(n,r,o={}){return this.request("POST",n,qf(o,r))}put(n,r,o={}){return this.request("PUT",n,qf(o,r))}static \u0275fac=function(r){return new(r||e)(L(Mc))};static \u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ux=0,RE,lx="JSONP injected script did not invoke callback.";var bc=class{};function dx(){return typeof window=="object"?window:{}}var eh=(()=>{class e{callbackMap;document;resolvedPromise=Promise.resolve();nonce=g(hd,{optional:!0});constructor(n,r){this.callbackMap=n,this.document=r}
5nextCallback(){return`ng_jsonp_callback_${ux++}`}handle(n){if(n.method!=="JSONP")throw new I(2810,!1);if(n.responseType!=="json")throw new I(2811,!1);if(n.headers.keys().length>0)throw new I(2812,!1);if(!this.isAllowedJsonpUrl(n.urlWithParams))throw new I(2826,!1);return new O(r=>{let o=this.nextCallback(),i=n.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${o}$1`),s=this.document.createElement("script");s.src=i,this.nonce&&s.setAttribute("nonce",this.nonce);let a=null,c=!1;this.callbackMap[o]=h=>{delete this.callbackMap[o],a=h,c=!0};let u=()=>{s.removeEventListener("load",l),s.removeEventListener("error",d),s.remove(),delete this.callbackMap[o]},l=()=>{this.resolvedPromise.then(()=>{if(u(),!c){r.error(new Et({url:i,status:0,statusText:"JSONP Error",error:new Error(lx)}));return}r.next(new Ln({body:a,status:Qf,statusText:"OK",url:i})),r.complete()})},d=h=>{u(),r.error(new Et({error:h,status:0,statusText:"JSONP Error",url:i}))};return s.addEventListener("load",l),s.addEventListener("error",d),this.document.body.appendChild(s),r.next({type:Yt.Sent}),()=>{c||this.removeListeners(s),u()}})}removeListeners(n){RE??=this.document.implementation.createHTMLDocument(),RE.adoptNode(n)}isAllowedJsonpUrl(n){return/^https?:\/\//i.test(n)}static \u0275fac=function(r){return new(r||e)(L(bc),L(ke))};static \u0275prov=N({token:e,factory:e.\u0275fac})}return e})();function fx(e,t){return e.method==="JSONP"?g(eh).handle(e):t(e)}var Li=(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})(Li||{});function th(e,t){return{\u0275kind:e,\u0275providers:t}}function hx(...e){let t=[ho,Cc,{provide:Mc,useExisting:Cc},{provide:_c,useFactory:()=>g(jE,{optional:!0})??g(Kf)},{provide:Sc,useValue:BE,multi:!0}];for(let n of e)t.push(...n.\u0275providers);return Tn(t)}var OE=new S("");function px(){return th(Li.LegacyInterceptors,[{provide:OE,useFactory:cx},{provide:Sc,useExisting:OE,multi:!0}])}function gx(){return th(Li.JsonpSupport,[eh,{provide:bc,useFactory:dx},{provide:Sc,useValue:fx,multi:!0}])}function mx(){return th(Li.Fetch,[Dc,{provide:jE,useExisting:Dc},{provide:_c,useExisting:Dc}])}var yx=new S(""),vx="b",Dx="h",Ex="s",Ix="st",wx="u",Cx="rt",nh=new S(""),bx=["GET","HEAD"];function GE(e,t){let s=t,{isCacheActive:n}=s,r=lh(s,["isCacheActive"]),{transferCache:o,method:i}=e;return!(!n||o===!1||Mx(e)||i==="POST"&&!r.includePostRequests&&!o||i!=="POST"&&!bx.includes(i)||!r.includeRequestsWithAuthHeaders&&_x(e)||xx(e.headers)||Ax(e.cache)||r.filter?.(e)===!1)}function Tx(e,t,n,r,o,i=!1){if(!i&&!GE(e,t))return null;if(r)throw new I(2803,!1);if(!o){let m=e.url;o=WE(e,m)}let s=n.get(o,null);if(!s)return null;let{[vx]:a,[Cx]:c,[Dx]:u,[Ex]:l,[Ix]:d,[wx]:h}=s,f=a;switch(c){case"arraybuffer":f=$E(a);break;case"blob":f=new Blob([$E(a)]);break}let p=new Te(u);return new Ln({body:f,headers:p,status:l,statusText:d,url:h})}function Sx(e,t){let n=g(nh);if(!GE(e,n))return t(e);let r=g(Jr),o=g(yx,{optional:!0}),i=e.url,s=WE(e,i),a=Tx(e,n,r,null,s,!0);return a?re(a):t(e)}function _x(e){let t=e.headers;return t.has("authorization")||t.has("proxy-authorization")||t.has("cookie")}function Mx(e){let{withCredentials:t,credentials:n}=e;return t||n==="include"||n==="same-origin"}var Nx=new Set(["no-store","private","no-cache"]);function xx(e){let t=e.get("cache-control");return t?t.split(",").some(n=>{let r=n.split("=",1)[0].trim().toLowerCase();return Nx.has(r)}):!1}function Ax(e){return e==="no-cache"||e==="no-store"}function HE(e){let t=new URLSearchParams(e instanceof URLSearchParams?e:e.toString());return t.sort(),t.toString()}function WE(e,t){let{params:n,method:r,responseType:o}=e,i=HE(n),s=e.serializeBody();s instanceof URLSearchParams?s=HE(s):typeof s!="string"&&(s="");let a=[r,o,t,s,i].join("|"),c=Rx(a);return c}function $E(e){let t=atob(e);return Uint8Array.from(t,r=>r.charCodeAt(0)).buffer}function D3(e){return[{provide:nh,useFactory:()=>(lt("NgHttpTransferCache"),ee({isCacheActive:!0},e))},{provide:Jf,useValue:Sx,multi:!0},{provide:so,multi:!0,useFactory:()=>{let t=g(Wt),n=g(nh);return()=>{t.whenStable().then(()=>{n.isCacheActive=!1})}}}]}var kx=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756
5734187,3204031479,3329325298]),zE;function Rx(e){zE??=new TextEncoder;let t=zE.encode(e),n=1779033703,r=3144134277,o=1013904242,i=2773480762,s=1359893119,a=2600822924,c=528734635,u=1541459225,l=t.length*8,d=(t.length+8>>6)+1<<6,h=new Uint8Array(d);h.set(t),h[t.length]=128;let f=new DataView(h.buffer),p=l>>>0,m=l/4294967296>>>0;f.setUint32(d-8,m,!1),f.setUint32(d-4,p,!1);let y=new Uint32Array(64);for(let v=0;v<d;v+=64){for(let ne=0;ne<16;ne++)y[ne]=f.getUint32(v+ne*4,!1);for(let ne=16;ne<64;ne++){let Ft=y[ne-15],k=((Ft>>>7|Ft<<25)^(Ft>>>18|Ft<<14)^Ft>>>3)>>>0,w=y[ne-2],E=((w>>>17|w<<15)^(w>>>19|w<<13)^w>>>10)>>>0;y[ne]=y[ne-16]+k+y[ne-7]+E>>>0}let D=n,$=r,P=o,he=i,Z=s,De=a,K=c,z=u;for(let ne=0;ne<64;ne++){let Ft=((Z>>>6|Z<<26)^(Z>>>11|Z<<21)^(Z>>>25|Z<<7))>>>0,k=(Z&De^~Z&K)>>>0,w=z+Ft+k+kx[ne]+y[ne]>>>0,E=((D>>>2|D<<30)^(D>>>13|D<<19)^(D>>>22|D<<10))>>>0,_=(D&$^D&P^$&P)>>>0,C=E+_>>>0;z=K,K=De,De=Z,Z=he+w>>>0,he=P,P=$,$=D,D=w+C>>>0}n=n+D>>>0,r=r+$>>>0,o=o+P>>>0,i=i+he>>>0,s=s+Z>>>0,a=a+De>>>0,c=c+K>>>0,u=u+z>>>0}return[n,r,o,i,s,a,c,u].map(v=>v.toString(16).padStart(8,"0")).join("")}var oh=class{validateSignature(t){return Promise.resolve(null)}validateAtHash(t){return Promise.resolve(!0)}},Nc=class{};var ji=class{},Fx=(()=>{class e extends ji{now(){return Date.now()}new(){return new Date}static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Sa(e)))(o||e)}})()}static{this.\u0275prov=N({token:e,factory:e.\u0275fac})}}return e})();var xc=class{},Ac=class{},Px=(()=>{class e{constructor(){this.data=new Map}getItem(n){return this.data.get(n)}removeItem(n){this.data.delete(n)}setItem(n,r){this.data.set(n,r)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=N({token:e,factory:e.\u0275fac})}}return e})();var Ui=class{constructor(t){this.type=t}},Qe=class extends Ui{constructor(t,n=null){super(t),this.info=n}},Ot=class extends Ui{constructor(t,n=null){super(t),this.info=n}},ae=class extends Ui{constructor(t,n,r=null){super(t),this.reason=n,this.params=r}};function qE(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");return decodeURIComponent(atob(t).split("").map(function(n){return"%"+("00"+n.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function YE(e){return btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}var po=class{constructor(t){this.clientId="",this.redirectUri="",this.postLogoutRedirectUri="",this.redirectUriAsPostLogoutRedirectUriFallback=!0,this.loginUrl="",this.scope="openid profile",this.resource="",this.rngUrl="",this.oidc=!0,this.requestAccessToken=!0,this.options=null,this.issuer="",this.logoutUrl="",this.clearHashAfterLogin=!0,this.tokenEndpoint=null,this.revocationEndpoint=null,this.customTokenParameters=[],this.userinfoEndpoint=null,this.responseType="",this.showDebugInformation=!1,this.silentRefreshRedirectUri="",this.silentRefreshMessagePrefix="",this.silentRefreshShowIFrame=!1,this.siletRefreshTimeout=1e3*20,this.silentRefreshTimeout=1e3*20,this.dummyClientSecret="",this.requireHttps="remoteOnly",this.strictDiscoveryDocumentValidation=!0,this.jwks=null,this.customQueryParams=null,this.silentRefresh
5IFrameName="angular-oauth-oidc-silent-refresh-iframe",this.timeoutFactor=.75,this.sessionChecksEnabled=!1,this.sessionCheckIntervall=3*1e3,this.sessionCheckIFrameUrl=null,this.sessionCheckIFrameName="angular-oauth-oidc-check-session-iframe",this.disableAtHashCheck=!1,this.skipSubjectCheck=!1,this.useIdTokenHintForSilentRefresh=!1,this.skipIssuerCheck=!1,this.nonceStateSeparator=";",this.useHttpBasicAuth=!1,this.decreaseExpirationBySec=0,this.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.disableIdTokenTimer=!1,this.checkOrigin=!1,this.openUri=n=>{location.href=n},t&&Object.assign(this,t)}},Er=class{encodeKey(t){return encodeURIComponent(t)}encodeValue(t){return encodeURIComponent(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}},kc=class{};var ZE=(()=>{class e{getHashFragmentParams(n){let r=n||window.location.hash;if(r=decodeURIComponent(r),r.indexOf("#")!==0)return{};let o=r.indexOf("?");return o>-1?r=r.substr(o+1):r=r.substr(1),this.parseQueryString(r)}parseQueryString(n){let r={},o,i,s,a,c,u;if(n===null)return r;let l=n.split("&");for(let d=0;d<l.length;d++)o=l[d],i=o.indexOf("="),i===-1?(s=o,a=null):(s=o.substr(0,i),a=o.substr(i+1)),c=decodeURIComponent(s),u=decodeURIComponent(a),c.substr(0,1)==="/"&&(c=c.substr(1)),r[c]=u;return r}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=N({token:e,factory:e.\u0275fac})}}return e})(),QE=32,Lx=64,jx=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);function rh(e,t,n,r,o){let i,s,a,c,u,l,d,h,f,p,m,y,v;for(;o>=64;){for(i=t[0],s=t[1],a=t[2],c=t[3],u=t[4],l=t[5],d=t[6],h=t[7],p=0;p<16;p++)m=r+p*4,e[p]=(n[m]&255)<<24|(n[m+1]&255)<<16|(n[m+2]&255)<<8|n[m+3]&255;for(p=16;p<64;p++)f=e[p-2],y=(f>>>17|f<<15)^(f>>>19|f<<13)^f>>>10,f=e[p-15],v=(f>>>7|f<<25)^(f>>>18|f<<14)^f>>>3,e[p]=(y+e[p-7]|0)+(v+e[p-16]|0);for(p=0;p<64;p++)y=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&l^~u&d)|0)+(h+(jx[p]+e[p]|0)|0)|0,v=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&s^i&a^s&a)|0,h=d,d=l,l=u,u=c+y|0,c=a,a=s,s=i,i=y+v|0;t[0]+=i,t[1]+=s,t[2]+=a,t[3]+=c,t[4]+=u,t[5]+=l,t[6]+=d,t[7]+=h,r+=64,o-=64}return r}var ih=class{constructor(){this.digestLength=QE,this.blockSize=Lx,this.state=new Int32Array(8),this.temp=new Int32Array(64),this.buffer=new Uint8Array(128),this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this.reset()}reset(){return this.state[0]=1779033703,this.state[1]=3144134277,this.state[2]=1013904242,this.state[3]=2773480762,this.state[4]=1359893119,this.state[5]=2600822924,this.state[6]=528734635,this.state[7]=1541459225,this.bufferLength=0,this.bytesHashed=0,this.finished=!1,this}clean(){for(let t=0;t<this.buffer.length;t++)this.buffer[t]=0;for(let t=0;t<this.temp.length;t++)this.temp[t]=0;this.reset()}update(t,n=t.length){if(this.finished)throw new Error("SHA256: can't update because hash was finished.");let r=0;if(this.bytesHashed+=n,this.bufferLength>0){for(;this.bufferLength<64&&n>0;)this.buffer[this.bufferLength++]=t[r++],n--;this.bufferLength===64&&(rh(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(n>=64&&(r=rh(this.temp,this.state,t,r,n),n%=64);n>0;)this.buffer[this.bufferLength++]=t[r++],n--;return this}finish(t){if(!this.finished){let n=this.bytesHashed,r=this.bufferLength,o=n/536870912|0,i=n<<3,s=n%64<56?64:128;this.buffer[r]=128;for(let a=r+1;a<s-8;a++)this.buffer[a]=0;this.buffer[s-8]=o>>>24&255,this.buffer[s-7]=o>>>16&255,this.buffer[s-6]=o>>>8&255,this.buffer[s-5]=o>>>0&255,this.buffer[s-4]=i>>>24&255,this.buffer[s-3]=i>>>16&255,this.buffer[s-2]=i>>>8&255,this.buffer[s-1]=i>>>0&255,rh(this.temp,this.state,this.buffer,0,s),this.finished=!0}for(let n=0;n<8;n++)t[n*4+0]=this.state[n]>>>24&255,t[n*4+1]=this.state[n]>>>16&255,t[n*4+2]=this.state[n]>>>8&255,t[n*4+3]=this.state[n]>>>0&255;return this}
5digest(){let t=new Uint8Array(this.digestLength);return this.finish(t),t}_saveState(t){for(let n=0;n<this.state.length;n++)t[n]=this.state[n]}_restoreState(t,n){for(let r=0;r<this.state.length;r++)this.state[r]=t[r];this.bytesHashed=n,this.finished=!1,this.bufferLength=0}};function Ux(e){let t=new ih().update(e),n=t.digest();return t.clean(),n}var A3=new Uint8Array(QE);var Rc=class{};function Bx(e){if(typeof e!="string")throw new TypeError("expected string");let t=e,n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}function Vx(e){let t=[];for(let n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}var Hx=(()=>{class e{calcHash(n,r){return ue(this,null,function*(){return Vx(Ux(Bx(n)))})}toHashString2(n){let r="";for(let o of n)r+=String.fromCharCode(o);return r}toHashString(n){let r=new Uint8Array(n),o="";for(let i of r)o+=String.fromCharCode(i);return o}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=N({token:e,factory:e.\u0275fac})}}return e})(),go=(()=>{class e extends po{constructor(n,r,o,i,s,a,c,u,l,d){super(),this.ngZone=n,this.http=r,this.config=s,this.urlHelper=a,this.logger=c,this.crypto=u,this.dateTimeService=d,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new pe,this.discoveryDocumentLoadedSubject=new pe,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=l,s||(s={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),i&&(this.tokenValidationHandler=i),s&&this.configure(s);try{o?this.setStorage(o):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(h){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",h)}if(this.checkLocalStorageAccessable()){let h=window?.navigator?.userAgent;(h?.includes("MSIE ")||h?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;let n="test";try{return typeof window.localStorage>"u"?!1:(localStorage.setItem(n,n),localStorage.removeItem(n),!0)}catch(r){return!1}}configure(n){Object.assign(this,new po,n),this.config=Object.assign({},new po,n),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe(Ie(n=>n.type==="token_received")).subscribe(()=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(n={},r,o=!0){let i=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe(Co(s=>{s.type==="token_received"?i=!0:s.type==="logout"&&(i=!1)}),Ie(s=>s.type==="token_expires"&&(r==null||r==="any"||s.info===r)),Zc(1e3)).subscribe(()=>{i&&this.refreshInternal(n,o).catch(()=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(n,r){return!this.useSilentRefresh&&this.responseType==="code"?this.refreshToken():this.silentRefresh(n,r)}loadDiscoveryDocumentAndTryLogin(n=null){return this.loadDiscoveryDocument().then(()=>this.tryLogin(n))}loadDiscoveryDocumentAndLogin(n=null){return n=n||{},this.loadDiscoveryDocumentAndTryLogin(n).then(()=>{if(!this.hasValidIdToken()||!this.hasValidAccessToken()){let r=typeof n.state=="string"?n.state:"";return this.initLoginFlow(r),!1}else return!0})}debug(...n){this.showDebugInformation&&this.logger.debug(...n)}validateUrlFromDiscoveryDocument(n){let r=[],o=this.validateUrlForHttps(n),i=this.validateUrlAgainstIssuer(n);return o||r.push("https for all urls required. Also for urls received by discovery."),i||r.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),r}validateUrlForHttps(n){if(!n)return!0;let r=n.toLowerCase();return this.requireHttps===!1||(r.match(/^http:\/\/localhost($|[:/])/)||r.match(/^http:\/\/localhost($|[:/])/))&&this.requireHttps==="remoteOnly"?!0:r.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(n,r){if(!n)throw new Error(`'${r}' should not be null`);if(!this.validateUrlForHttps(n))throw new Error(`'${r}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(n){return!this.strictDiscoveryDocumentValidation||!n?!0:n.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){if(typeof window>"u"){this.debug("timer not supported on this plattform");return}(this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe(Ie(n=>n.type==="token_received")).subscribe(()=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){let n=this.getAccessTokenExpiration(),r=this.getAccessTokenStoredAt(),o=this.calcTimeout(r,n);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=re(new Ot("token_expires","access_token")).pipe(So(o)).subscribe(i=>{this.ngZone.run(()=>{this.eventsSubject.next(i)})})})}setupIdTokenTimer(){let n=this.getIdTokenExpiration(),r=this.getIdTokenStoredAt(),o=this.calcTimeout(r,n);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=re(new Ot("token_expires","id_token")).pipe(So(o)).subscribe(i=>{this.ngZone.run(()=>{this.eventsSubject.next(i)})})})}stopAutomaticRefresh(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.clearAutomaticRefreshTimer()}clearAccessTokenTimer(){this.accessTokenTimeoutSubscription&&this.accessTokenTimeoutSubscription.unsubscribe()}clearIdTokenTimer(){this.idTokenTimeoutSubscription&&this.idTokenTimeoutSubscription.unsubscribe()}clearAutomaticRefreshTimer(){this.automaticRefreshSubscription&&this.automaticRefreshSubscription.unsubscribe()}
5calcTimeout(n,r){let o=this.dateTimeService.now(),i=(r-n)*this.timeoutFactor-(o-n),s=Math.max(0,i),a=2147483647;return s>a?a:s}setStorage(n){this._storage=n,this.configChanged()}loadDiscoveryDocument(n=null){return new Promise((r,o)=>{if(n||(n=this.issuer||"",n.endsWith("/")||(n+="/"),n+=".well-known/openid-configuration"),!this.validateUrlForHttps(n)){o("issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return}this.http.get(n).subscribe(i=>{if(!this.validateDiscoveryDocument(i)){this.eventsSubject.next(new ae("discovery_document_validation_error",null)),o("discovery_document_validation_error");return}this.loginUrl=i.authorization_endpoint,this.logoutUrl=i.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=i.grant_types_supported,this.issuer=i.issuer,this.tokenEndpoint=i.token_endpoint,this.userinfoEndpoint=i.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=i.jwks_uri,this.sessionCheckIFrameUrl=i.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(i),this.revocationEndpoint=i.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(s=>{let a={discoveryDocument:i,jwks:s},c=new Qe("discovery_document_loaded",a);this.eventsSubject.next(c),r(c)}).catch(s=>{this.eventsSubject.next(new ae("discovery_document_load_error",s)),o(s)})},i=>{this.logger.error("error loading discovery document",i),this.eventsSubject.next(new ae("discovery_document_load_error",i)),o(i)})})}loadJwks(){return new Promise((n,r)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(o=>{this.jwks=o,n(o)},o=>{this.logger.error("error loading jwks",o),this.eventsSubject.next(new ae("jwks_load_error",o)),r(o)}):n(null)})}validateDiscoveryDocument(n){let r;return!this.skipIssuerCheck&&n.issuer!==this.issuer?(this.logger.error("invalid issuer in discovery document","expected: "+this.issuer,"current: "+n.issuer),!1):(r=this.validateUrlFromDiscoveryDocument(n.authorization_endpoint),r.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",r),!1):(r=this.validateUrlFromDiscoveryDocument(n.end_session_endpoint),r.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",r),!1):(r=this.validateUrlFromDiscoveryDocument(n.token_endpoint),r.length>0&&this.logger.error("error validating token_endpoint in discovery document",r),r=this.validateUrlFromDiscoveryDocument(n.revocation_endpoint),r.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",r),r=this.validateUrlFromDiscoveryDocument(n.userinfo_endpoint),r.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",r),!1):(r=this.validateUrlFromDiscoveryDocument(n.jwks_uri),r.length>0?(this.logger.error("error validating jwks_uri in discovery document",r),!1):(this.sessionChecksEnabled&&!n.check_session_iframe&&this.logger.warn("sessionChecksEnabled is activated but discovery document does not contain a check_session_iframe field"),!0)))))}fetchTokenUsingPasswordFlowAndLoadUserProfile(n,r,o=new Te){return this.fetchTokenUsingPasswordFlow(n,r,o).then(()=>this.loadUserProfile())}loadUserProfile(){if(!this.hasValidAccessToken())throw new Error("Can not load User Profile without access_token");if(!this.validateUrlForHttps(this.userinfoEndpoint))throw new Error("userinfoEndpoint must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");return new Promise((n,r)=>{let o=new Te().set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:o,observe:"response",responseType:"text"}).subscribe(i=>{if(this.debug("userinfo received",JSON.stringify(i)),i.headers.get("content-type").startsWith("application/json")){let s=JSON.parse(i.body),a=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!a.sub||s.sub!==a.sub)){r(`if property oidc is true, the received user-id (sub) has to be the user-id of the user that has logged in with oidc. 6if you are not using oidc but just oauth2 password flow set oidc to fal
6se`);return}s=Object.assign({},a,s),this._storage.setItem("id_token_claims_obj",JSON.stringify(s)),this.eventsSubject.next(new Qe("user_profile_loaded")),n({info:s})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new Qe("user_profile_loaded")),n(JSON.parse(i.body))},i=>{this.logger.error("error loading user info",i),this.eventsSubject.next(new ae("user_profile_load_error",i)),r(i)})})}fetchTokenUsingPasswordFlow(n,r,o=new Te){let i={username:n,password:r};return this.fetchTokenUsingGrant("password",i,o)}fetchTokenUsingGrant(n,r,o=new Te){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let i=new Ze({encoder:new Er}).set("grant_type",n).set("scope",this.scope);if(this.useHttpBasicAuth){let s=btoa(`${this.clientId}:${this.dummyClientSecret}`);o=o.set("Authorization","Basic "+s)}if(this.useHttpBasicAuth||(i=i.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(i=i.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(let s of Object.getOwnPropertyNames(this.customQueryParams))i=i.set(s,this.customQueryParams[s]);for(let s of Object.keys(r))i=i.set(s,r[s]);return o=o.set("Content-Type","application/x-www-form-urlencoded"),new Promise((s,a)=>{this.http.post(this.tokenEndpoint,i,{headers:o}).subscribe(c=>{this.debug("tokenResponse",c),this.storeAccessTokenResponse(c.access_token,c.refresh_token,c.expires_in||this.fallbackAccessTokenExpirationTimeInSec,c.scope,this.extractRecognizedCustomParameters(c)),this.oidc&&c.id_token&&this.processIdToken(c.id_token,c.access_token).then(u=>{this.storeIdToken(u),s(c)}),this.eventsSubject.next(new Qe("token_received")),s(c)},c=>{this.logger.error("Error performing ${grantType} flow",c),this.eventsSubject.next(new ae("token_error",c)),a(c)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((n,r)=>{let o=new Ze({encoder:new Er}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),i=new Te().set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){let s=btoa(`${this.clientId}:${this.dummyClientSecret}`);i=i.set("Authorization","Basic "+s)}if(this.useHttpBasicAuth||(o=o.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(o=o.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(let s of Object.getOwnPropertyNames(this.customQueryParams))o=o.set(s,this.customQueryParams[s]);this.http.post(this.tokenEndpoint,o,{headers:i}).pipe(yn(s=>this.oidc&&s.id_token?ht(this.processIdToken(s.id_token,s.access_token,!0)).pipe(Co(a=>this.storeIdToken(a)),Ee(()=>s)):re(s))).subscribe(s=>{this.debug("refresh tokenResponse",s),this.storeAccessTokenResponse(s.access_token,s.refresh_token,s.expires_in||this.fallbackAccessTokenExpirationTimeInSec,s.scope,this.extractRecognizedCustomParameters(s)),this.eventsSubject.next(new Qe("token_received")),this.eventsSubject.next(new Qe("token_refreshed")),n(s)},s=>{this.logger.error("Error refreshing token",s),this.eventsSubject.next(new ae("token_refresh_error",s)),r(s)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=n=>{let r=this.processMessageEventMessage(n);this.checkOrigin&&n.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:r,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(o=>this.debug("tryLogin during silent refresh failed",o))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(n={},r=!0){let o=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(n.id_token_hint=this.getIdToken()),!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(typeof this.document>"u")throw new Error("silent refresh is not supported on this platform");
6let i=this.document.getElementById(this.silentRefreshIFrameName);i&&this.document.body.removeChild(i),this.silentRefreshSubject=o.sub;let s=this.document.createElement("iframe");s.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener();let a=this.silentRefreshRedirectUri||this.redirectUri;this.createLoginUrl(null,null,a,r,n).then(d=>{s.setAttribute("src",d),this.silentRefreshShowIFrame||(s.style.display="none"),this.document.body.appendChild(s)});let c=this.events.pipe(Ie(d=>d instanceof ae),_o()),u=this.events.pipe(Ie(d=>d.type==="token_received"),_o()),l=re(new ae("silent_refresh_timeout",null)).pipe(So(this.silentRefreshTimeout));return qc([c,u,l]).pipe(Ee(d=>{if(d instanceof ae)throw d.type==="silent_refresh_timeout"?this.eventsSubject.next(d):(d=new ae("silent_refresh_error",d),this.eventsSubject.next(d)),d;return d.type==="token_received"&&(d=new Qe("silently_refreshed"),this.eventsSubject.next(d)),d})).toPromise()}initImplicitFlowInPopup(n){return this.initLoginFlowInPopup(n)}initLoginFlowInPopup(n){return n=n||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(r=>new Promise((o,i)=>{let a=null;n.windowRef?n.windowRef&&!n.windowRef.closed&&(a=n.windowRef,a.location.href=r):a=window.open(r,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(n));let c,u=p=>{this.tryLogin({customHashFragment:p,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{d(),o(!0)},m=>{d(),i(m)})},l=()=>{(!a||a.closed)&&(d(),i(new ae("popup_closed",{})))};a?c=window.setInterval(l,500):i(new ae("popup_blocked",{}));let d=()=>{window.clearInterval(c),window.removeEventListener("storage",f),window.removeEventListener("message",h),a!==null&&a.close(),a=null},h=p=>{let m=this.processMessageEventMessage(p);m&&m!==null?(window.removeEventListener("storage",f),u(m)):console.log("false event firing")},f=p=>{p.key==="auth_hash"&&(window.removeEventListener("message",h),u(p.newValue))};window.addEventListener("message",h),window.addEventListener("storage",f)}))}calculatePopupFeatures(n){let r=n.height||470,o=n.width||500,i=window.screenLeft+(window.outerWidth-o)/2,s=window.screenTop+(window.outerHeight-r)/2;return`location=no,toolbar=no,width=${o},height=${r},top=${s},left=${i}`}processMessageEventMessage(n){let r="#";if(this.silentRefreshMessagePrefix&&(r+=this.silentRefreshMessagePrefix),!n||!n.data||typeof n.data!="string")return;let o=n.data;if(o.startsWith(r))return"#"+o.substr(r.length)}canPerformSessionCheck(){return this.sessionChecksEnabled?this.sessionCheckIFrameUrl?this.get
6SessionState()?!(typeof this.document>"u"):(console.warn("sessionChecksEnabled is activated but there is no session_state"),!1):(console.warn("sessionChecksEnabled is activated but there is no sessionCheckIFrameUrl"),!1):!1}setupSessionCheckEventListener(){this.removeSessionCheckEventListener(),this.sessionCheckEventListener=n=>{let r=n.origin.toLowerCase(),o=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),!o.startsWith(r)){this.debug("sessionCheckEventListener","wrong origin",r,"expected",o,"event",n);return}switch(n.data){case"unchanged":this.ngZone.run(()=>{this.handleSessionUnchanged()});break;case"changed":this.ngZone.run(()=>{this.handleSessionChange()});break;case"error":this.ngZone.run(()=>{this.handleSessionError()});break}this.debug("got info from session check inframe",n)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new Ot("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new Ot("session_changed")),this.stopSessionCheckTimer(),!this.useSilentRefresh&&this.responseType==="code"?this.refreshToken().then(()=>{this.debug("token refresh after session change worked")}).catch(()=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new Ot("session_terminated")),this.logOut(!0)}):this.silentRefreshRedirectUri?(this.silentRefresh().catch(()=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new Ot("session_terminated")),this.logOut(!0))}waitForSilentRefreshAfterSessionChange(){this.events.pipe(Ie(n=>n.type==="silently_refreshed"||n.type==="silent_refresh_timeout"||n.type==="silent_refresh_error"),_o()).subscribe(n=>{n.type!=="silently_refreshed"&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new Ot("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new Ot("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;let n=this.document.getElementById(this.sessionCheckIFrameName);n&&this.document.body.removeChild(n);let r=this.document.createElement("iframe");r.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener();let o=this.sessionCheckIFrameUrl;r.setAttribute("src",o),r.style.display="none",this.document.body.appendChild(r),this.startSessionCheckTimer()}startSessionCheckTimer(){this.stopSessionCheckTimer(),this.ngZone.runOutsideAngular(()=>{this.sessionCheckTimer=setInterval(this.checkSession.bind(this),this.sessionCheckIntervall)})}stopSessionCheckTimer(){this.sessionCheckTimer&&(clearInterval(this.sessionCheckTimer),this.sessionCheckTimer=null)}checkSession(){let n=this.document.getElementById(this.sessionCheckIFrameName);n||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);let r=this.getSessionState();r||this.stopSessionCheckTimer();let o=this.clientId+" "+r;n.contentWindow.postMessage(o,this.issuer)}createLoginUrl(){return ue(this,arguments,function*(n="",r="",o="",i=!1,s={}){let a=this,c;o?c=o:c=this.redirectUri;let u=yield this.createAndSaveNonce();if(n?n=u+this.config.nonceStateSeparator+encodeURIComponent(n):n=u,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.config.responseType?this.responseType=this.config.responseType:this.oidc&&this.requestAccessToken?this.responseType="id_token token":this.oidc&&!this.requestAccessToken?this.responseType="id_token":this.responseType="token";let l=a.loginUrl.indexOf("?")>-1?"&":"?",d=a.scope;this.oidc&&!d.match(/(^|\s)openid($|\s)/)&&(d="openid "+d);let h=a.loginUrl+l+"response_type="+encodeURIComponent(a.responseType)+"&client_id="+encodeURIComponent(a.clientId)+"&state="+encodeURIComponent(n)+"&redirect_uri="+encodeURIComponent(c)+"&scope="+encodeURIComponent(d);if(this.responseType.includes("code")&&!this.disablePKCE){let[f,p]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",p):this._storage.setItem("PKCE_verifier",p),h+="&c
6ode_challenge="+f,h+="&code_challenge_method=S256"}r&&(h+="&login_hint="+encodeURIComponent(r)),a.resource&&(h+="&resource="+encodeURIComponent(a.resource)),a.oidc&&(h+="&nonce="+encodeURIComponent(u)),i&&(h+="&prompt=none");for(let f of Object.keys(s))h+="&"+encodeURIComponent(f)+"="+encodeURIComponent(s[f]);if(this.customQueryParams)for(let f of Object.getOwnPropertyNames(this.customQueryParams))h+="&"+f+"="+encodeURIComponent(this.customQueryParams[f]);return h})}initImplicitFlowInternal(n="",r=""){if(this.inImplicitFlow)return;if(this.inImplicitFlow=!0,!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let o={},i=null;typeof r=="string"?i=r:typeof r=="object"&&(o=r),this.createLoginUrl(n,i,null,!1,o).then(this.config.openUri).catch(s=>{console.error("Error in initImplicitFlow",s),this.inImplicitFlow=!1})}initImplicitFlow(n="",r=""){this.loginUrl!==""?this.initImplicitFlowInternal(n,r):this.events.pipe(Ie(o=>o.type==="discovery_document_loaded")).subscribe(()=>this.initImplicitFlowInternal(n,r))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(n){let r=this;if(n.onTokenReceived){let o={idClaims:r.getIdentityClaims(),idToken:r.getIdToken(),accessToken:r.getAccessToken(),state:r.state};n.onTokenReceived(o)}}storeAccessTokenResponse(n,r,o,i,s){if(this._storage.setItem("access_token",n),i&&!Array.isArray(i)?this._storage.setItem("granted_scopes",JSON.stringify(i.split(" "))):i&&Array.isArray(i)&&this._storage.setItem("granted_scopes",JSON.stringify(i)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.n
6ow()),o){let a=o*1e3,u=this.dateTimeService.new().getTime()+a;this._storage.setItem("expires_at",""+u)}r&&this._storage.setItem("refresh_token",r),s&&s.forEach((a,c)=>{this._storage.setItem(c,a)})}tryLogin(n=null){return this.config.responseType==="code"?this.tryLoginCodeFlow(n).then(()=>!0):this.tryLoginImplicitFlow(n)}parseQueryString(n){return!n||n.length===0?{}:(n.charAt(0)==="?"&&(n=n.substr(1)),this.urlHelper.parseQueryString(n))}tryLoginCodeFlow(n=null){return ue(this,null,function*(){n=n||{};let r=n.customHashFragment?n.customHashFragment.substring(1):window.location.search,o=this.getCodePartsFromUrl(r),i=o.code,s=o.state,a=o.session_state;if(!n.preventClearHashAfterLogin){let l=location.origin+location.pathname+location.search.replace(/code=[^&$]*/,"").replace(/scope=[^&$]*/,"").replace(/state=[^&$]*/,"").replace(/session_state=[^&$]*/,"").replace(/^\?&/,"?").replace(/&$/,"").replace(/^\?$/,"").replace(/&+/g,"&").replace(/\?&/,"?").replace(/\?$/,"")+location.hash;history.replaceState(null,window.name,l)}let[c,u]=this.parseState(s);if(this.state=u,o.error){this.debug("error trying to login"),this.handleLoginError(n,o);let l=new ae("code_error",{},o);return this.eventsSubject.next(l),Promise.reject(l)}if(!n.disableNonceCheck){if(!c)return this.saveRequestedRoute(),Promise.resolve();if(!n.disableOAuth2StateCheck&&!this.validateNonce(c)){let d=new ae("invalid_nonce_in_state",null);return this.eventsSubject.next(d),Promise.reject(d)}}return this.storeSessionState(a),i&&(yield this.getTokenFromCode(i,n),this.restoreRequestedRoute()),Promise.resolve()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){let n=this._storage.getItem("requested_route");n&&history.replaceState(null,"",window.location.origin+n)}getCodePartsFromUrl(n){return!n||n.length===0?this.urlHelper.getHashFragmentParams():(n.charAt(0)==="?"&&(n=n.substr(1)),this.urlHelper.parseQueryString(n))}getTokenFromCode(n,r){let o=new Ze({encoder:new Er}).set("grant_type","authorization_code").set("code",n).set("redirect_uri",r.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let i;this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?i=localStorage.getItem("PKCE_verifier"):i=this._storage.getItem("PKCE_verifier"),i?o=o.set("code_verifier",i):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(o,r)}fetchAndProcessToken(n,r){r=r||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let o=new Te().set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){let i=btoa(`${this.clientId}:${this.dummyClientSecret}`);o=o.set("Authorization","Basic "+i)}return this.useHttpBasicAuth||(n=n.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(n=n.set("client_secret",this.dummyClientSecret)),new Promise((i,s)=>{if(this.customQueryParams)for(let a of Object.getOwnPropertyNames(this.customQueryParams))n=n.set(a,this.customQueryParams[a]);this.http.post(this.tokenEndpoint,n,{headers:o}).subscribe(a=>{this.debug("refresh tokenResponse",a),this.storeAccessTokenResponse(a.access_token,a.refresh_token,a.expires_in||this.fallbackAccessTokenExpirationTimeInSec,a.scope,this.extractRecognizedCustomParameters(a)),this.oidc&&a.id_token?this.processIdToken(a.id_token,a.access_token,r.disableNonceCheck).then(c=>{this.storeIdToken(c),this.eventsSubject.next(new Qe("token_received")),this.eventsSubject.next(new Qe("token_refreshed")),i(a)}).catch(c=>{this.eventsSubject.next(new ae("token_validation_error",c)),console.error("Error validating tokens"),console.error(c),s(c)}):(this.eventsSubject.next(new Qe("token_received")),this.eventsSubject.next(new Qe("token_refreshed")),i(a))},a=>{console.error("Error getting token",a),this.eventsSubject.next(new ae("token_error",a)),s(a)})})}tryLoginImplicitFlow(n=null){n=n||{};let r;n.customHashFragment?r=this.urlHelper.getHashFragmentParams(n.customHashFragment):r=this.urlHelper.getHashFragmentParams(),this.debug("parsed url",r);let o=r.state,[i,s]=this.parseState(o);if(this.state=s,r.error){this.debug("error trying to login"),this.handleLoginError(n,r);let d=new ae("token_error",{},r);return this.eventsSubject.next(d),Promise.reject(d)}let a=r.access_token,c=r.id_token,u=r.session_state,l=r.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!a||this.requestAccessToken&&!n.disableOAuth2StateCheck&&!o||this.oidc&&!c)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!u&&this.logger.warn("session checks (Session Status Change Notification) were activated in the configuration but the id_token does not contain a session_state claim"),this.requestAccessToken&&!n.disableNonceCheck&&!this.validateNonce(i)){let h=new ae("invalid_nonce_in_state",null);return this.eventsSubject.next(h),Promise.reject(h)}return this.requestAccessToken&&this.storeAccessTokenResponse(a,null,r.expires_in||this.fallbackAccessTokenExpirationTimeInSec,l),this.oidc?this.processIdToken(c,a,n.disableNonceCheck).then(d=>n.validationHandler?n.validationHandler({accessToken:a,idClaims:d.idTokenClaims,idToken:d.idToken,state:o}).then(()=>d):d).then(d=>(this.storeIdToken(d),this.storeSessionState(u),this.clearHashAfterLogin&&!n.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new Qe("token_received")),this.callOnToken
6ReceivedIfExists(n),this.inImplicitFlow=!1,!0)).catch(d=>(this.eventsSubject.next(new ae("token_validation_error",d)),this.logger.error("Error validating tokens"),this.logger.error(d),Promise.reject(d))):(this.eventsSubject.next(new Qe("token_received")),this.clearHashAfterLogin&&!n.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(n),Promise.resolve(!0))}parseState(n){let r=n,o="";if(n){let i=n.indexOf(this.config.nonceStateSeparator);i>-1&&(r=n.substr(0,i),o=n.substr(i+this.config.nonceStateSeparator.length))}return[r,o]}validateNonce(n){let r;return this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?r=localStorage.getItem("nonce"):r=this._storage.getItem("nonce"),r!==n?(console.error("Validating access_token failed, wrong state/nonce.",r,n),!1):!0}storeIdToken(n){this._storage.setItem("id_token",n.idToken),this._storage.setItem("id_token_claims_obj",n.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+n.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.n
6ow())}storeSessionState(n){this._storage.setItem("session_state",n)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(n,r){n.onLoginError&&n.onLoginError(r),this.clearHashAfterLogin&&!n.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(n=6e5){return!this.clockSkewInSec&&this.clockSkewInSec!==0?n:this.clockSkewInSec*1e3}processIdToken(n,r,o=!1){let i=n.split("."),s=this.padBase64(i[0]),a=qE(s),c=JSON.parse(a),u=this.padBase64(i[1]),l=qE(u),d=JSON.parse(l),h;if(this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?h=localStorage.getItem("nonce"):h=this._storage.getItem("nonce"),Array.isArray(d.aud)){if(d.aud.every(D=>D!==this.clientId)){let D="Wrong audience: "+d.aud.join(",");return this.logger.warn(D),Promise.reject(D)}}else if(d.aud!==this.clientId){let D="Wrong audience: "+d.aud;return this.logger.warn(D),Promise.reject(D)}if(!d.sub){let D="No sub claim in id_token";return this.logger.warn(D),Promise.reject(D)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==d.sub){let D=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${d.sub}`;return this.logger.warn(D),Promise.reject(D)}if(!d.iat){let D="No iat claim in id_token";return this.logger.warn(D),Promise.reject(D)}if(!this.skipIssuerCheck&&d.iss!==this.issuer){let D="Wrong issuer: "+d.iss;return this.logger.warn(D),Promise.reject(D)}if(!o&&d.nonce!==h){let D="Wrong nonce: "+d.nonce;return this.logger.warn(D),Promise.reject(D)}if(Object.prototype.hasOwnProperty.call(this,"responseType")&&(this.responseType==="code"||this.responseType==="id_token")&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!d.at_hash){let D="An at_hash is needed!";return this.logger.warn(D),Promise.reject(D)}
6let f=this.dateTimeService.now(),p=d.iat*1e3,m=d.exp*1e3,y=this.getClockSkewInMsec();if(p-y>=f||m+y-this.decreaseExpirationBySec<=f){let D="Token has expired";return console.error(D),console.error({now:f,issuedAtMSec:p,expiresAtMSec:m}),Promise.reject(D)}let v={accessToken:r,idToken:n,jwks:this.jwks,idTokenClaims:d,idTokenHeader:c,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(v).then(()=>({idToken:n,idTokenClaims:d,idTokenClaimsJson:l,idTokenHeader:c,idTokenHeaderJson:a,idTokenExpiresAt:m})):this.checkAtHash(v).then(D=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!D){let $="Wrong at_hash";return this.logger.warn($),Promise.reject($)}return this.checkSignature(v).then(()=>{let $=!this.disableAtHashCheck,P={idToken:n,idTokenClaims:d,idTokenClaimsJson:l,idTokenHeader:c,idTokenHeaderJson:a,idTokenExpiresAt:m};return $?this.checkAtHash(v).then(he=>{if(this.requestAccessToken&&!he){let Z="Wrong at_hash";return this.logger.warn(Z),Promise.reject(Z)}else return P}):P})})}getIdentityClaims(){let n=this._storage.getItem("id_token_claims_obj");return n?JSON.parse(n):null}getGrantedScopes(){let n=this._storage.getItem("granted_scopes");return n?JSON.parse(n):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(n){for(;n.length%4!==0;)n+="=";return n}getAccessToken(){return this._storage?this._storage.getItem("access_token"):null}getRefreshToken(){return this._storage?this._storage.getItem("refresh_token"):null}getAccessTokenExpiration(){return this._storage.getItem("expires_at")?parseInt(this._storage.getItem("expires_at"),10):null}getAccessTokenStoredAt(){return parseInt(this._storage.getItem("access_token_stored_at"),10)}getIdTokenStoredAt(){return parseInt(this._storage.getItem("id_token_stored_at"),10)}getIdTokenExpiration(){return this._storage.getItem("id_token_expires_at")?parseInt(this._storage.getItem("id_token_expires_at"),10):null}hasValidAccessToken(){if(this.getAccessToken()){let n=this._storage.getItem("expires_at"),r=this.dateTimeService.new();return!(n&&parseInt(n,10)-this.decreaseExpirationBySec<r.getTime()-this.getClockSkewInMsec())}return!1}hasValidIdToken(){if(this.getIdToken()){let n=this._storage.getItem("id_token_expires_at"),r=this.dateTimeService.new();return!(n&&parseInt(n,10)-this.decreaseExpirationBySec<r.getTime()-this.getClockSkewInMsec())}return!1}getCustomTokenResponseProperty(n){return this._storage&&this.config.customTokenParameters&&this.config.customTokenParameters.indexOf(n)>=0&&this._storage.getItem(n)!==null?JSON.parse(this._storage.getItem(n)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(n={},r=""){let o=!1;typeof n=="boolean"&&(o=n,n={});let i=this.getIdToken();if(this._storage.removeItem("access_token"),this._storage.removeItem("id_token"),this._storage.removeItem("refresh_token"),this.saveNoncesInLocalStorage?(localStorage.removeItem("nonce"),localStorage.removeItem("PKCE_verifier")):(this._storage.removeItem("nonce"),this._storage.removeItem("PKCE_verifier")),this._storage.removeItem("expires_at"),this._storage.removeItem("id_token_claims_obj"),this._storage.removeItem("id_token_expires_at"),this._storage.removeItem("id_token_stored_at"),this._storage.removeItem("access_token_stored_at"),this._storage.removeItem("granted_scopes"),this._storage.removeItem("session_state"),this.config.customTokenParameters&&this.config.customTokenParameters.forEach(a=>this._storage.removeItem(a)),this.silentRefreshSubject=null,this.eventsSubject.next(new Ot("logout")),!this.logoutUrl||o)return;let s;if(!this.validateUrlForHttps(this.logoutUrl))throw new Error("logoutUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");if(this.logoutUrl.indexOf("{{")>-1)s=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(i)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let a=new Ze({encoder:new Er});i&&(a=a.set("id_token_hint",i));let c=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";c&&(a=a.set("post_logout_redirect_uri",c),r&&(a=a.set("state",r)));for(let u in n)a=a.set(u,n[u]);s=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+a.toString()}this.config.openUri(s)}createAndSaveNonce(){let n=this;return this.createNonce().then(function(r){return n.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",r):n._storage.setItem("nonce",r),r})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();
6let n=this.document.getElementById(this.silentRefreshIFrameName);n&&n.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();let r=this.document.getElementById(this.sessionCheckIFrameName);r&&r.remove()}createNonce(){return new Promise(n=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");let r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",o=45,i="",s=typeof self>"u"?null:self.crypto||self.msCrypto;if(s){let a=new Uint8Array(o);s.getRandomValues(a),a.map||(a.map=Array.prototype.map),a=a.map(c=>r.charCodeAt(c%r.length)),i=String.fromCharCode.apply(null,a)}else for(;0<o--;)i+=r[Math.random()*r.length|0];n(YE(i))})}checkAtHash(n){return ue(this,null,function*(){return this.tokenValidationHandler?this.tokenValidationHandler.validateAtHash(n):(this.logger.warn("No tokenValidationHandler configured. Cannot check at_hash."),!0)})}checkSignature(n){return this.tokenValidationHandler?this.tokenValidationHandler.validateSignature(n):(this.logger.warn("No tokenValidationHandler configured. Cannot check signature."),Promise.resolve(null))}initLoginFlow(n="",r={}){return this.responseType==="code"?this.initCodeFlow(n,r):this.initImplicitFlow(n,r)}initCodeFlow(n="",r={}){this.loginUrl!==""?this.initCodeFlowInternal(n,r):this.events.pipe(Ie(o=>o.type==="discovery_document_loaded")).subscribe(()=>this.initCodeFlowInternal(n,r))}initCodeFlowInternal(n="",r={}){if(!this.validateUrlForHttps(this.loginUrl))throw new Error("loginUrl must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).");let o={},i=null;typeof r=="string"?i=r:typeof r=="object"&&(o=r),this.createLoginUrl(n,i,null,!1,o).then(this.config.openUri).catch(s=>{console.error("Error in initAuthorizationCodeFlow"),console.error(s)})}createChallangeVerifierPairForPKCE(){return ue(this,null,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");let n=yield this.createNonce(),r=yield this.crypto.calcHash(n,"sha-256");return[YE(r),n]})}extractRecognizedCustomParameters(n){let r=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(o=>{n[o]&&r.set(o,JSON.stringify(n[o]))}),r}revokeTokenAndLogout(n={},r=!1){let o=this.revocationEndpoint,i=this.getAccessToken(),s=this.getRefreshToken();if(!i)return Promise.resolve();let a=new Ze({encoder:new Er}),c=new Te().set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){let u=btoa(`${this.clientId}:${this.dummyClientSecret}`);c=c.set("Authorization","Basic "+u)}if(this.useHttpBasicAuth||(a=a.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(a=a.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(let u of Object.getOwnPropertyNames(this.customQueryParams))a=a.set(u,this.customQueryParams[u]);return new Promise((u,l)=>{let d,h;if(i){let f=a.set("token",i).set("token_type_hint","access_token");d=this.http.post(o,f,{headers:c})}else d=re(null);if(s){let f=a.set("token",s).set("token_type_hint","refresh_token");h=this.http.post(o,f,{headers:c})}else h=re(null);r&&(d=d.pipe(Jt(f=>f.status===0?re(null):bo(f))),h=h.pipe(Jt(f=>f.status===0?re(null):bo(f)))),vo([d,h]).subscribe(f=>{this.logOut(n),u(f),this.logger.info("Token successfully revoked")},f=>{this.logger.error("Error revoking token",f),this.eventsSubject.next(new ae("token_revoke_error",f)),l(f)})})}clearLocationHash(){location.hash!=""&&(location.hash="")}static{this.\u0275fac=function(r){return new(r||e)(L(Je),L(ho),L(Ac,8),L(kc,8),L(po,8),L(ZE),L(xc),L(Rc,8),L(ke),L(ji))}}static{this.\u0275prov=N({token:e,factory:e.\u0275fac})}}return e})(),Oc=class{},sh=class{handleError(t){return bo(t)}},$x=(()=>{class e{constructor(n,r,o){this.oAuthService=n,this.errorHandler=r,this.moduleConfig=o}checkUrl(n){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(n):this.moduleConfig.resourceServer.allowedUrls?!!this.moduleConfig.resourceServer.allowedUrls.find(r=>n.toLowerCase().startsWith(r.toLowerCase())):!0}intercept(n,r){let o=n.url.toLowerCase();return!this.moduleConfig||!this.moduleConfig.resourceServer||!this.checkUrl(o)?r.handle(n):this.moduleConfig.resourceServer.sendAccessToken?Wc(re(this.oAuthService.getAccessToken()).pipe(Ie(s=>!!s)),this.oAuthService.events.pipe(Ie(s=>s.type==="token_received"),zc(this.oAuthService.waitForTokenInMsec||0),Jt(()=>re(null)),Ee(()=>this.oAuthService.getAccessToken()))).pipe(Ct(1),rt(s=>
6{if(s){let a="Bearer "+s,c=n.headers.set("Authorization",a);n=n.clone({headers:c})}return r.handle(n).pipe(Jt(a=>this.errorHandler.handleError(a)))})):r.handle(n).pipe(Jt(s=>this.errorHandler.handleError(s)))}static{this.\u0275fac=function(r){return new(r||e)(L(go),L(Oc),L(Nc,8))}}static{this.\u0275prov=N({token:e,factory:e.\u0275fac})}}return e})();function zx(){return console}function Gx(){return typeof sessionStorage<"u"?sessionStorage:new Px}function k3(e=null,t=oh){return Tn([go,ZE,{provide:xc,useFactory:zx},{provide:Ac,useFactory:Gx},{provide:kc,useClass:t},{provide:Rc,useClass:Hx},{provide:Oc,useClass:sh},{provide:Nc,useValue:e},{provide:Tc,useClass:$x,multi:!0},{provide:ji,useClass:Fx}])}var ch=tI(ME());var Pe=[];for(let e=0;e<256;++e)Pe.push((e+256).toString(16).slice(1));function KE(e,t=0){return(Pe[e[t+0]]+Pe[e[t+1]]+Pe[e[t+2]]+Pe[e[t+3]]+"-"+Pe[e[t+4]]+Pe[e[t+5]]+"-"+Pe[e[t+6]]+Pe[e[t+7]]+"-"+Pe[e[t+8]]+Pe[e[t+9]]+"-"+Pe[e[t+10]]+Pe[e[t+11]]+Pe[e[t+12]]+Pe[e[t+13]]+Pe[e[t+14]]+Pe[e[t+15]]).toLowerCase()}var Wx=new Uint8Array(16);function ah(){return crypto.getRandomValues(Wx)}function qx(e,t,n){return!t&&!e&&crypto.randomUUID?crypto.randomUUID():Yx(e,t,n)}function Yx(e,t,n){e=e||{};let r=e.random??e.rng?.()??ah();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n=n||0,n<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let o=0;o<16;++o)t[n+o]=r[o];return t}return KE(r)}var Fc=qx;var JE="user.userIdKey",hn=(()=>{class e{constructor(){this.appState=g(TE),this.oauthService=g(go)}get currentUser$(){return this.appState.user$}get currentUserValue(){return this.appState.user$.value}static isAuthenticated(n){if(!n)return!1;let r=dt.getItem("expires_at");if(!r)return!1;let o=parseInt(r,10);return isNaN(o)||o<=0?!1:(0,ch.default)().isBefore((0,ch.default)(o))}static getUserRoles(n){return n!=null&&this.isAuthenticated&&n.role?Array.isArray(n.role)?n.role:[n.role]:[]}static userIsInRole(n,r){return this.getUserRoles(n).some(i=>i===r)}static canImpersonate(n){return e.userIsInRole(n,"Impersonator")}static isAdmin(n){return e.userIsInRole(n,"WebsiteAdmin")}static isNBPlusSubscriber(n){return n!==null&&n.isNBPlusSubscriber==="true"}static getAuthorizationHeaderValue(n){return this.isAuthenticated(n)?`${n.token_type} ${n.access_token}`:null}static getUserName(n){return n?.name||""}static getUserId(n){return n?n?.sub:this.getLocalUserId()}static getLocalUserId(){if(dt.hasStorage){let n=dt.getItem(JE);if(n)return n;let r=Fc();return dt.setItem(JE,r),r}return Fc()}reloadUserToken(){return ue(this,null,function*(){try{return this.oauthService.hasValidAccessToken()&&(yield this.oauthService.silentRefresh()),!0}catch(n){return!1}})}reloadUserProfile(){return ue(this,null,function*(){let n=!1;try{yield this.oauthService.loadDiscoveryDocument(),n=this.oauthService.hasValidAccessToken()}catch(r){}if(!n)return this.appState.user$.next(null),!1;try{let o=(yield this.oauthService.loadUserProfile())?.info??null;return this.appState.user$.next(o),o!==null}catch(r){return this.appState.user$.next(null),this.oauthService.logOut(!0),location.reload(),!1}})}setUserFromAuthServer(){return ue(this,null,function*(){yield this.oauthService.loadDiscoveryDocument();let n=yield this.oauthService.loadUserProfile();this.appState.user$.next(n?.info??null)})}setUser(n){this.appState.user$.next(n)}getAccessToken(){return this.oauthService.getAccessToken()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var uh="impersonated-user-data",XE=(()=>{class e{constructor(){this.userService=g(hn),this._data=Oe(this.loadFromLocalStorage()),this._data$=bE(this._data)}setData(n,r=!0){dt.setItem(uh,JSON.stringify(n)),this._data.set(n),r&&window.location.reload()}getData(){return this._data$}loadFromLocalStorage(){if(dt.isSSR)return null;if(!this.userService.currentUserValue)return dt.removeItem(uh),null;let n=dt.getItem(uh);return n?JSON.parse(n):null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Zx="x-impersonation-data",h4=(()=>{class e{constructor(){this.http=g(ho),this.userService=g(hn),this.impersonationDataService=g(XE),this.oauthService=g(go),this.platformId=g(fd)}get useApiV2(){return SE.featureFlags?.useApiV2??!1}publicQuery(n,r){return this.mapForCurrentUser((o,i)=>this.useApiV2?this.http.get(`/public/query/${n}`,{responseType:"json",params:{data:r?JSON.stringify(r):"{}",_uid:new Date().getTime().toString()},headers:this.getUserHeaders(o,i)}):this.http.get("/public/query",{responseType:"json",params:{type:n,data:r?JSON.stringify(r):void 0,_uid:new Date().getTime().toString()},headers:this.getUserHeaders(o,i)}))}publicCommand(n,r){return this.mapForCurrentUser((o,i)=>this.useApiV2?this.http.post(`/public/command/${n}`,r,{responseType:"json",headers:this.getUserHeaders(o,i)}):this.http.post("/public/command",{type:n,data:r},{responseType:"json",headers:this.getUserHeaders(o,i)}))}mapForCurrentUser(n){return vo([this.userService.currentUser$,this.impersonationDataService.getData()]).pipe(Ct(1)).pipe(yn(([r,o])=>n(r,o)))}basketQuery(n,r){return yc(this.platformId)?this.mapForCurrentUser((o,i)=>
6(hn.isAuthenticated(o)||(r.userId=hn.getUserId(o)),this.useApiV2?this.http.get(`/basket/query/${n}`,{responseType:"json",params:{data:r?JSON.stringify(r):"{}",_uid:new Date().getTime().toString()},headers:this.getUserHeaders(o,i)}):this.http.get("/basket/query",{responseType:"json",params:{type:n,data:r?JSON.stringify(r):void 0,_uid:new Date().getTime().toString()},headers:this.getUserHeaders(o,i)}))):re()}basketCommand(n,r){return this.mapForCurrentUser((o,i)=>(hn.isAuthenticated(o)||(r.userId=hn.getUserId(o)),this.useApiV2?this.http.post(`/basket/command/${n}`,r,{responseType:"json",headers:this.getUserHeaders(o,i)}):this.http.post("/basket/command",{type:n,data:r},{responseType:"json",headers:this.getUserHeaders(o,i)})))}userQuery(n,r){return yc(this.platformId)?this.mapForCurrentUser((o,i)=>{if(dt.isSSR)return re();let s=this.getUserHeaders(o,i);return this.useApiV2?this.http.get(`/user/query/${n}`,{responseType:"json",params:{data:r?JSON.stringify(r):"{}",_uid:new Date().getTime().toString()},headers:s}):this.http.get("/user/query",{responseType:"json",params:{type:n,data:r?JSON.stringify(r):void 0,_uid:new Date().getTime().toString()},headers:s})}):re()}userCommand(n,r){return this.mapForCurrentUser((o,i)=>this.useApiV2?this.http.post(`/user/command/${n}`,r,{responseType:"json",headers:this.getUserHeaders(o,i)}):this.http.post("/user/command",{type:n,data:r},{responseType:"json",headers:this.getUserHeaders(o,i)}))}userDownload(n,r){return yc(this.platformId)?this.mapForCurrentUser((o,i)=>dt.isSSR?re(null):this.useApiV2?this.http.get(`/user/download/${n}`,{responseType:"blob",params:{data:r?JSON.stringify(r):"{}"},headers:this.getUserHeaders(o,i)}):this.http.get("/user/download",{responseType:"blob",params:{type:n,data:r?JSON.stringify(r):""},headers:this.getUserHeaders(o,i)})):re()}licenceCommand(n,r){return this.mapForCurrentUser((o,i)=>this.useApiV2?this.http.post(`/licence/command/${n}`,r,{responseType:"json",headers:this.getUserHeaders(o,i)}):this.http.post("/licence/command",{type:n,data:r},{responseType:"json",headers:this.getUserHeaders(o,i)}))}getUserHeaders(n,r){if(!hn.isAuthenticated(n))return;let o={Authorization:`Bearer ${this.oauthService.getAccessToken()}`};return r&&(o[Zx]=escape(JSON.stringify(r))),o}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();export{xe as a,iI as b,O as c,pe as d,nt as e,Qt as f,ht as g,re as h,bo as i,SI as j,$n as k,cI as l,Ee as m,vo as n,rt as o,To as p,vn as q,NI as r,xI as s,Gc as t,Io as u,TI as v,Wc as w,Ie as x,qc as y,UI as z,Jt as A,Yc as B,Zc as C,Ct as D,So as E,BI as F,$I as G,wo as H,_o as I,zI as J,GI as K,WI as L,qI as M,yn as N,Jc as O,Co as P,YI as Q,I as R,Bt as S,Ss as T,N as U,Bo as V,iw as W,S as X,L as Y,g as Z,Tn as _,Ru as $,Ve as aa,Or as ba,_e as ca,bp as da,Tp as ea,Lp as fa,jp as ga,Me as ha,ke as ia,Re as ja,An as ka,Xt as la,Je as ma,tn as na,sn as oa,Oe as pa,Xo as qa,ad as ra,Sa as sa,ud as ta,un as ua,yC as va,yr as wa,um as xa,fd as ya,hd as za,mi as Aa,wC as Ba,hr as Ca,vr as Da,ka as Ea,LC as Fa,jC as Ga,UC as Ha,BC as Ia,VC as Ja,Cd as Ka,Zm as La,fb as Ma,ty as Na,ny as Oa,hb as Pa,gb as Qa,kb as Ra,Yr as Sa,si as Ta,On as Ua,lt as Va,Pb as Wa,hy as Xa,Zr as Ya,li as Za,Ii as _a,Ne as $a,GT as ab,ro as bb,pv as cb,Yd as db,MS as eb,qa as fb,Ci as gb,oo as hb,RS as ib,vv as jb,Ev as kb,s_ as lb,Si as mb,Jd as nb,a_ as ob,so as pb,Wt as qb,kv as rb,v_ as sb,ef as tb,D_ as ub,E_ as vb,I_ as wb,w_ as xb,C_ as yb,Rv as zb,Ca as Ab,tf as Bb,Ov as Cb,nf as Db,rf as Eb,Fv as Fb,Lv as Gb,sf as Hb,af as Ib,jv as Jb,Uv as Kb,x_ as Lb,Vv as Mb,$v as Nb,zv as Ob,P_ as Pb,j_ as Qb,U_ as Rb,Wv as Sb,qv as Tb,V_ as Ub,H_ as Vb,Yv as Wb,$_ as Xb,z_ as Yb,Kv as Zb,Jv as _b,tM as $b,fM as ac,uD as bc,uf as cc,lD as dc,dD as ec,fD as fc,gM as gc,hD as hc,mM as ic,yM as jc,vM as kc,DM as lc,EM as mc,bM as nc,TM as oc,SM as pc,_M as qc,MM as rc,AM as sc,RM as tc,OM as uc,FM as vc,PM as wc,LM as xc,ao as yc,Fe as zc,At as Ac,Ka as Bc,BD as Cc,ZH as Dc,QH as Ec,KH as Fc,JH as Gc,XH as Hc,xf as Ic,t$ as Jc,Q0 as Kc,n$ as Lc,r$ as Mc,o$ as Nc,sc as Oc,K0 as Pc,kf as Qc,J0 as Rc,uo as Sc,eE as Tc,tE as Uc,nN as Vc,vE as Wc,_N as Xc,MN as Yc,NN as Zc,kN as _c,RN as $c,PN as ad,LN as bd,Hf as cd,Oi as dd,HN as ed,yc as fd,w8 as gd,Ln as hd,Et as id,Tc as jd,ho as kd,hx as ld,px as md,gx as nd,mx as od,D3 as pd,P8 as qd,bE as rd,L8 as sd,j8 as td,TE as ud,SE as vd,dt as wd,Ac as xd,go as yd,k3 as zd,ME as Ad,hn as Bd,XE as Cd,h4 as Dd};
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.