diff --git a/docs/index.html b/docs/index.html index c1131f5..f864317 100644 --- a/docs/index.html +++ b/docs/index.html @@ -7,6 +7,6 @@ - + \ No newline at end of file diff --git a/docs/main.1457c096e037997a.js b/docs/main.3d57e84c18aab1d8.js similarity index 92% rename from docs/main.1457c096e037997a.js rename to docs/main.3d57e84c18aab1d8.js index acd63df..4da2c64 100644 --- a/docs/main.1457c096e037997a.js +++ b/docs/main.3d57e84c18aab1d8.js @@ -1 +1 @@ -"use strict";(self.webpackChunkangular4_paystack_lib=self.webpackChunkangular4_paystack_lib||[]).push([[179],{240:()=>{function J(e){return"function"==typeof e}function Gr(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const zr=Gr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function qn(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class it{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(J(r))try{r()}catch(i){t=i instanceof zr?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Ru(i)}catch(s){t=t??[],s instanceof zr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new zr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ru(t);else{if(t instanceof it){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&qn(n,t)}remove(t){const{_finalizers:n}=this;n&&qn(n,t),t instanceof it&&t._removeParent(this)}}it.EMPTY=(()=>{const e=new it;return e.closed=!0,e})();const Ou=it.EMPTY;function ku(e){return e instanceof it||e&&"closed"in e&&J(e.remove)&&J(e.add)&&J(e.unsubscribe)}function Ru(e){J(e)?e():e.unsubscribe()}const Bt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Wr={setTimeout(e,t,...n){const{delegate:r}=Wr;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Wr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Lu(e){Wr.setTimeout(()=>{const{onUnhandledError:t}=Bt;if(!t)throw e;t(e)})}function ju(){}const $g=Ii("C",void 0,void 0);function Ii(e,t,n){return{kind:e,value:t,error:n}}let Vt=null;function qr(e){if(Bt.useDeprecatedSynchronousErrorHandling){const t=!Vt;if(t&&(Vt={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Vt;if(Vt=null,n)throw r}}else e()}class bi extends it{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ku(t)&&t.add(this)):this.destination=Zg}static create(t,n,r){return new Yn(t,n,r)}next(t){this.isStopped?Mi(function Gg(e){return Ii("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Mi(function Ug(e){return Ii("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Mi($g,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Wg=Function.prototype.bind;function Si(e,t){return Wg.call(e,t)}class qg{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Yr(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Yr(r)}else Yr(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Yr(n)}}}class Yn extends bi{constructor(t,n,r){let o;if(super(),J(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Bt.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Si(t.next,i),error:t.error&&Si(t.error,i),complete:t.complete&&Si(t.complete,i)}):o=t}this.destination=new qg(o)}}function Yr(e){Bt.useDeprecatedSynchronousErrorHandling?function zg(e){Bt.useDeprecatedSynchronousErrorHandling&&Vt&&(Vt.errorThrown=!0,Vt.error=e)}(e):Lu(e)}function Mi(e,t){const{onStoppedNotification:n}=Bt;n&&Wr.setTimeout(()=>n(e,t))}const Zg={closed:!0,next:ju,error:function Yg(e){throw e},complete:ju},Ti="function"==typeof Symbol&&Symbol.observable||"@@observable";function Bu(e){return e}let Te=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function Qg(e){return e&&e instanceof bi||function Kg(e){return e&&J(e.next)&&J(e.error)&&J(e.complete)}(e)&&ku(e)}(n)?n:new Yn(n,r,o);return qr(()=>{const{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 new(r=Hu(r))((o,i)=>{const s=new Yn({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Ti](){return this}pipe(...n){return function Vu(e){return 0===e.length?Bu:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Hu(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Hu(e){var t;return null!==(t=e??Bt.Promise)&&void 0!==t?t:Promise}const Xg=Gr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ai=(()=>{class e extends Te{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new $u(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Xg}next(n){qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Ou:(this.currentObservers=null,i.push(n),new it(()=>{this.currentObservers=null,qn(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Te;return n.source=this,n}}return e.create=(t,n)=>new $u(t,n),e})();class $u extends Ai{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Ou}}function Zn(e){return t=>{if(function Jg(e){return J(e?.lift)}(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 Zr(e,t,n,r,o){return new em(e,t,n,r,o)}class em extends bi{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}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()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Ht(e){return this instanceof Ht?(this.v=e,this):new Ht(e)}function om(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(h,g){i.push([f,p,h,g])>1||a(f,p)})})}function a(f,p){try{!function u(f){f.value instanceof Ht?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}(r[f](p))}catch(h){d(i[0][3],h)}}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function im(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function zu(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}const Wu=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function qu(e){return J(e?.then)}function Yu(e){return J(e[Ti])}function Zu(e){return Symbol.asyncIterator&&J(e?.[Symbol.asyncIterator])}function Ku(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Qu=function am(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Xu(e){return J(e?.[Qu])}function Ju(e){return om(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Ht(n.read());if(o)return yield Ht(void 0);yield yield Ht(r)}}finally{n.releaseLock()}})}function ec(e){return J(e?.getReader)}function Nt(e){if(e instanceof Te)return e;if(null!=e){if(Yu(e))return function um(e){return new Te(t=>{const n=e[Ti]();if(J(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Wu(e))return function cm(e){return new Te(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Lu)})}(e);if(Zu(e))return tc(e);if(Xu(e))return function dm(e){return new Te(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(ec(e))return function fm(e){return tc(Ju(e))}(e)}throw Ku(e)}function tc(e){return new Te(t=>{(function pm(e,t){var n,r,o,i;return function nm(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=im(e);!(r=yield n.next()).done;)if(t.next(r.value),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()})})(e,t).catch(n=>t.error(n))})}function Pt(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function nc(e,t,n=1/0){return J(t)?nc((r,o)=>function tm(e,t){return Zn((n,r)=>{let o=0;n.subscribe(Zr(r,i=>{r.next(e.call(t,i,o++))}))})}((i,s)=>t(r,i,o,s))(Nt(e(r,o))),n):("number"==typeof t&&(n=t),Zn((r,o)=>function hm(e,t,n,r,o,i,s,a){const u=[];let c=0,l=0,d=!1;const f=()=>{d&&!u.length&&!c&&t.complete()},p=g=>c{i&&t.next(g),c++;let D=!1;Nt(n(g,l++)).subscribe(Zr(t,v=>{o?.(v),i?p(v):t.next(v)},()=>{D=!0},void 0,()=>{if(D)try{for(c--;u.length&&ch(v)):h(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(Zr(t,p,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const rc=new Te(e=>e.complete());function Pi(e){return e[e.length-1]}function oc(e,t=0){return Zn((n,r)=>{n.subscribe(Zr(r,o=>Pt(r,e,()=>r.next(o),t),()=>Pt(r,e,()=>r.complete(),t),o=>Pt(r,e,()=>r.error(o),t)))})}function ic(e,t=0){return Zn((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function sc(e,t){if(!e)throw new Error("Iterable cannot be null");return new Te(n=>{Pt(n,t,()=>{const r=e[Symbol.asyncIterator]();Pt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Mm(...e){const t=function Dm(e){return function ym(e){return e&&J(e.schedule)}(Pi(e))?e.pop():void 0}(e),n=function vm(e,t){return"number"==typeof Pi(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Nt(r[0]):function gm(e=1/0){return nc(Bu,e)}(n)(function Sm(e,t){return t?function bm(e,t){if(null!=e){if(Yu(e))return function _m(e,t){return Nt(e).pipe(ic(t),oc(t))}(e,t);if(Wu(e))return function Em(e,t){return new Te(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(qu(e))return function wm(e,t){return Nt(e).pipe(ic(t),oc(t))}(e,t);if(Zu(e))return sc(e,t);if(Xu(e))return function Cm(e,t){return new Te(n=>{let r;return Pt(n,t,()=>{r=e[Qu](),Pt(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>J(r?.return)&&r.return()})}(e,t);if(ec(e))return function Im(e,t){return sc(Ju(e),t)}(e,t)}throw Ku(e)}(e,t):Nt(e)}(r,t)):rc}function Fi(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Yn({next:()=>{r.unsubscribe(),e()}});return Nt(t(...n)).subscribe(r)}function G(e){for(let t in e)if(e[t]===G)return t;throw Error("Could not find renamed property on target object.")}function W(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(W).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Oi(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Am=G({__forward_ref__:G});function ki(e){return e.__forward_ref__=ki,e.toString=function(){return W(this())},e}function b(e){return function Ri(e){return"function"==typeof e&&e.hasOwnProperty(Am)&&e.__forward_ref__===ki}(e)?e():e}function Li(e){return e&&!!e.\u0275providers}class C extends Error{constructor(t,n){super(function Kr(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function A(e){return"string"==typeof e?e:null==e?"":String(e)}function Qr(e,t){throw new C(-201,!1)}function $e(e,t){null==e&&function $(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function $t(e){return{providers:e.providers||[],imports:e.imports||[]}}function Xr(e){return uc(e,Jr)||uc(e,lc)}function uc(e,t){return e.hasOwnProperty(t)?e[t]:null}function cc(e){return e&&(e.hasOwnProperty(ji)||e.hasOwnProperty(Lm))?e[ji]:null}const Jr=G({\u0275prov:G}),ji=G({\u0275inj:G}),lc=G({ngInjectableDef:G}),Lm=G({ngInjectorDef:G});var T=(()=>((T=T||{})[T.Default=0]="Default",T[T.Host=1]="Host",T[T.Self=2]="Self",T[T.SkipSelf=4]="SkipSelf",T[T.Optional=8]="Optional",T))();let Bi;function Ue(e){const t=Bi;return Bi=e,t}function dc(e,t,n){const r=Xr(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&T.Optional?null:void 0!==t?t:void Qr(W(e))}const q=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Kn={},Vi="__NG_DI_FLAG__",eo="ngTempTokenPath",Vm=/\n/gm,fc="__source";let Qn;function sn(e){const t=Qn;return Qn=e,t}function $m(e,t=T.Default){if(void 0===Qn)throw new C(-203,!1);return null===Qn?dc(e,void 0,t):Qn.get(e,t&T.Optional?null:void 0,t)}function B(e,t=T.Default){return(function jm(){return Bi}()||$m)(b(e),t)}function to(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Hi(e){const t=[];for(let n=0;n((Ze=Ze||{})[Ze.OnPush=0]="OnPush",Ze[Ze.Default=1]="Default",Ze))(),st=(()=>{return(e=st||(st={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",st;var e})();const mt={},V=[],no=G({\u0275cmp:G}),$i=G({\u0275dir:G}),Ui=G({\u0275pipe:G}),hc=G({\u0275mod:G}),yt=G({\u0275fac:G}),Jn=G({__NG_ELEMENT_ID__:G});let qm=0;function er(e){return xt(()=>{const n=!0===e.standalone,r={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ze.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||V,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||st.Emulated,id:"c"+qm++,styles:e.styles||V,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},i=e.dependencies,s=e.features;return o.inputs=yc(e.inputs,r),o.outputs=yc(e.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(gc).filter(mc):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(we).filter(mc):null,o})}function gc(e){return U(e)||ge(e)}function mc(e){return null!==e}function an(e){return xt(()=>({type:e.type,bootstrap:e.bootstrap||V,declarations:e.declarations||V,imports:e.imports||V,exports:e.exports||V,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function yc(e,t){if(null==e)return mt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const ke=er;function U(e){return e[no]||null}function ge(e){return e[$i]||null}function we(e){return e[Ui]||null}const k=11,K=22;function Le(e){return Array.isArray(e)&&"object"==typeof e[1]}function Qe(e){return Array.isArray(e)&&!0===e[1]}function Wi(e){return 0!=(4&e.flags)}function ir(e){return e.componentOffset>-1}function ao(e){return 1==(1&e.flags)}function Xe(e){return null!==e.template}function Km(e){return 0!=(256&e[2])}function Gt(e,t){return e.hasOwnProperty(yt)?e[yt]:null}class Jm{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Cc(e){return e.type.prototype.ngOnChanges&&(e.setInput=ty),ey}function ey(){const e=bc(this),t=e?.current;if(t){const n=e.previous;if(n===mt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ty(e,t,n,r){const o=this.declaredInputs[n],i=bc(e)||function ny(e,t){return e[Ic]=t}(e,{previous:mt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new Jm(u&&u.currentValue,t,a===mt),e[r]=t}const Ic="__ngSimpleChanges__";function bc(e){return e[Ic]||null}function pe(e){for(;Array.isArray(e);)e=e[0];return e}function co(e,t){return pe(t[e])}function je(e,t){return pe(t[e.index])}function Tc(e,t){return e.data[t]}function Be(e,t){const n=t[e];return Le(n)?n:n[0]}function lo(e){return 64==(64&e[2])}function Ot(e,t){return null==t?null:e[t]}function Ac(e){e[18]=0}function Yi(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const N={lFrame:Bc(null),bindingsEnabled:!0};function Pc(){return N.bindingsEnabled}function y(){return N.lFrame.lView}function j(){return N.lFrame.tView}function fo(e){return N.lFrame.contextLView=e,e[8]}function po(e){return N.lFrame.contextLView=null,e}function he(){let e=Fc();for(;null!==e&&64===e.type;)e=e.parent;return e}function Fc(){return N.lFrame.currentTNode}function ut(e,t){const n=N.lFrame;n.currentTNode=e,n.isParent=t}function Zi(){return N.lFrame.isParent}function Ki(){N.lFrame.isParent=!1}function pn(){return N.lFrame.bindingIndex++}function gy(e,t){const n=N.lFrame;n.bindingIndex=n.bindingRootIndex=e,Qi(t)}function Qi(e){N.lFrame.currentDirectiveIndex=e}function Ji(e){N.lFrame.currentQueryIndex=e}function yy(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Lc(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&T.Host||(o=yy(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=N.lFrame=jc();return r.currentTNode=t,r.lView=e,!0}function es(e){const t=jc(),n=e[1];N.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function jc(){const e=N.lFrame,t=null===e?null:e.child;return null===t?Bc(e):t}function Bc(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Vc(){const e=N.lFrame;return N.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Hc=Vc;function ts(){const e=Vc();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 Ie(){return N.lFrame.selectedIndex}function zt(e){N.lFrame.selectedIndex=e}function ho(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class ar{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function os(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let is=!0;function vo(e){const t=is;return is=e,t}let Py=0;const ct={};function _o(e,t){const n=Zc(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,ss(r.data,e),ss(t,null),ss(r.blueprint,null));const o=as(e,t),i=e.injectorIndex;if(Wc(o)){const s=yo(o),a=Do(o,t),u=a[1].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function ss(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zc(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function as(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=nl(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function us(e,t,n){!function Fy(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Jn)&&(r=n[Jn]),null==r&&(r=n[Jn]=Py++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:Ry:t}(n);if("function"==typeof i){if(!Lc(t,e,r))return r&T.Host?Kc(o,0,r):Qc(t,n,r,o);try{const s=i(r);if(null!=s||r&T.Optional)return s;Qr()}finally{Hc()}}else if("number"==typeof i){let s=null,a=Zc(e,t),u=-1,c=r&T.Host?t[16][6]:null;for((-1===a||r&T.SkipSelf)&&(u=-1===a?as(e,t):t[a+8],-1!==u&&tl(r,!1)?(s=t[1],a=yo(u),t=Do(u,t)):a=-1);-1!==a;){const l=t[1];if(el(i,a,l.data)){const d=Oy(a,t,n,s,r,c);if(d!==ct)return d}u=t[a+8],-1!==u&&tl(r,t[1].data[a+8]===c)&&el(i,a,t)?(s=l,a=yo(u),t=Do(u,t)):a=-1}}return o}function Oy(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],l=function wo(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,l=i>>20,f=o?a+l:e.directiveEnd;for(let p=r?a:a+l;p=u&&h.type===n)return p}if(o){const p=s[u];if(p&&Xe(p)&&p.type===n)return u}return null}(a,s,n,null==r?ir(a)&&is:r!=s&&0!=(3&a.type),o&T.Host&&i===a);return null!==l?Wt(t,s,l,a):ct}function Wt(e,t,n,r){let o=e[n];const i=t.data;if(function My(e){return e instanceof ar}(o)){const s=o;s.resolving&&function Nm(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,`Circular dependency in DI detected for ${e}${n}`)}(function H(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():A(e)}(i[n]));const a=vo(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?Ue(s.injectImpl):null;Lc(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function by(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Cc(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==u&&Ue(u),vo(a),s.resolving=!1,Hc()}}return o}function el(e,t,n){return!!(n[t+(e>>5)]&1<{const r=function ds(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,c,l){const d=u.hasOwnProperty(yn)?u[yn]:Object.defineProperty(u,yn,{value:[]})[yn];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class R{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Z({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function qt(e,t){e.forEach(n=>Array.isArray(n)?qt(n,t):t(n))}function ol(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Eo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function dr(e,t){const n=[];for(let r=0;r=0?e[1|r]=n:(r=~r,function $y(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function ps(e,t){const n=_n(e,t);if(n>=0)return e[1|n]}function _n(e,t){return function il(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<((Ne=Ne||{})[Ne.Important=1]="Important",Ne[Ne.DashCase=2]="DashCase",Ne))();const vs=new Map;let lD=0;const ws="__ngContext__";function De(e,t){Le(t)?(e[ws]=t[20],function fD(e){vs.set(e[20],e)}(t)):e[ws]=t}function Cs(e,t){return undefined(e,t)}function gr(e){const t=e[3];return Qe(t)?t[3]:t}function Is(e){return bl(e[13])}function bs(e){return bl(e[4])}function bl(e){for(;null!==e&&!Qe(e);)e=e[4];return e}function En(e,t,n,r,o){if(null!=r){let i,s=!1;Qe(r)?i=r:Le(r)&&(s=!0,r=r[0]);const a=pe(r);0===e&&null!==n?null==o?Pl(t,n,a):Yt(t,n,a,o||null,!0):1===e&&null!==n?Yt(t,n,a,o||null,!0):2===e?function Fs(e,t,n){const r=To(e,t);r&&function FD(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function kD(e,t,n,r,o){const i=n[7];i!==pe(n)&&En(t,e,r,i,o);for(let a=10;a0&&(e[n-1][4]=r[4]);const i=Eo(e,10+t);!function ID(e,t){mr(e,t,t[k],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Tl(e,t){if(!(128&t[2])){const n=t[k];n.destroyNode&&mr(e,t,n,3,null,null),function MD(e){let t=e[13];if(!t)return As(e[1],e);for(;t;){let n=null;if(Le(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Le(t)&&As(t[1],t),t=t[3];null===t&&(t=e),Le(t)&&As(t[1],t),n=t&&t[4]}t=n}}(t)}}function As(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function PD(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o=s]():r[o=-s].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===st.None||i===st.Emulated)return null}return je(r,n)}}(e,t.parent,n)}function Yt(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Pl(e,t,n){e.appendChild(t,n)}function Fl(e,t,n,r,o){null!==r?Yt(e,t,n,r,o):Pl(e,t,n)}function To(e,t){return e.parentNode(t)}function xl(e,t,n){return kl(e,t,n)}let ks,kl=function Ol(e,t,n){return 40&e.type?je(e,n):null};function Ao(e,t,n,r){const o=Al(e,r,t),i=t[k],a=xl(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u{const s=i;Hs(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&id(o,n),n}function id(e,t){for(let n=0;n{t.push(i)})}}function Hs(e,t,n,r){if(!(e=b(e)))return!1;let o=null,i=cc(e);const s=!i&&U(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=cc(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of u)Hs(c,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{qt(i.imports,l=>{Hs(l,t,n,r)&&(c||(c=[]),c.push(l))})}finally{}void 0!==c&&id(c,t)}if(!a){const c=Gt(o)||(()=>new o);t.push({provide:o,useFactory:c,deps:V},{provide:nd,useValue:o,multi:!0},{provide:ed,useValue:()=>B(o),multi:!0})}const u=i.providers;null==u||a||$s(u,l=>{t.push(l)})}}return o!==e&&void 0!==e.providers}function $s(e,t){for(let n of e)Li(n)&&(n=n.\u0275providers),Array.isArray(n)?$s(n,t):t(n)}const fv=G({provide:String,useValue:G});function Us(e){return null!==e&&"object"==typeof e&&fv in e}function Kt(e){return"function"==typeof e}const Gs=new R("Set Injector scope."),Oo={},hv={};let zs;function ko(){return void 0===zs&&(zs=new rd),zs}class Cn{}class ud extends Cn{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,qs(t,s=>this.processProvider(s)),this.records.set(td,In(void 0,this)),o.has("environment")&&this.records.set(Cn,In(void 0,this));const i=this.records.get(Gs);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(nd.multi,V,T.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=sn(this),r=Ue(void 0);try{return t()}finally{sn(n),Ue(r)}}get(t,n=Kn,r=T.Default){this.assertNotDestroyed(),r=to(r);const o=sn(this),i=Ue(void 0);try{if(!(r&T.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function vv(e){return"function"==typeof e||"object"==typeof e&&e instanceof R}(t)&&Xr(t);a=u&&this.injectableDefInScope(u)?In(Ws(t),Oo):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&T.Self?ko():this.parent).get(t,n=r&T.Optional&&n===Kn?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[eo]=s[eo]||[]).unshift(W(t)),o)throw s;return function zm(e,t,n,r){const o=e[eo];throw t[fc]&&o.unshift(t[fc]),e.message=function Wm(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=W(t);if(Array.isArray(t))o=t.map(W).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):W(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Vm,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[eo]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{Ue(i),sn(o)}}resolveInjectorInitializers(){const t=sn(this),n=Ue(void 0);try{const r=this.get(ed.multi,V,T.Self);for(const o of r)o()}finally{sn(t),Ue(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(W(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=Kt(t=b(t))?t:b(t&&t.provide);const r=function mv(e){return Us(e)?In(void 0,e.useValue):In(function cd(e,t,n){let r;if(Kt(e)){const o=b(e);return Gt(o)||Ws(o)}if(Us(e))r=()=>b(e.useValue);else if(function ad(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Hi(e.deps||[]));else if(function sd(e){return!(!e||!e.useExisting)}(e))r=()=>B(b(e.useExisting));else{const o=b(e&&(e.useClass||e.provide));if(!function yv(e){return!!e.deps}(e))return Gt(o)||Ws(o);r=()=>new o(...Hi(e.deps))}return r}(e),Oo)}(t);if(Kt(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=In(void 0,Oo,!0),o.factory=()=>Hi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Oo&&(n.value=hv,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Dv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=b(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Ws(e){const t=Xr(e),n=null!==t?t.factory:Gt(e);if(null!==n)return n;if(e instanceof R)throw new C(204,!1);if(e instanceof Function)return function gv(e){const t=e.length;if(t>0)throw dr(t,"?"),new C(204,!1);const n=function km(e){const t=e&&(e[Jr]||e[lc]);if(t){const n=function Rm(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new C(204,!1)}function In(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function qs(e,t){for(const n of e)Array.isArray(n)?qs(n,t):n&&Li(n)?qs(n.\u0275providers,t):t(n)}class _v{}class ld{}class Ev{resolveComponentFactory(t){throw function wv(e){const t=Error(`No component factory found for ${W(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ro=(()=>{class e{}return e.NULL=new Ev,e})();function Cv(){return bn(he(),y())}function bn(e,t){return new Sn(je(e,t))}let Sn=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Cv,e})();class fd{}let pd=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function bv(){const e=y(),n=Be(he().index,e);return(Le(n)?n:e)[k]}(),e})(),Sv=(()=>{class e{}return e.\u0275prov=Z({token:e,providedIn:"root",factory:()=>null}),e})();class Ys{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Mv=new Ys("15.1.4"),Zs={};function Qs(e){return e.ngOriginalError}class Mn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Qs(t);for(;n&&Qs(n);)n=Qs(n);return n||null}}function gd(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const md="ng-template";function jv(e,t,n){let r=0;for(;ri?"":o[d+1].toLowerCase();const p=8&r?f:null;if(p&&-1!==gd(p,c,0)||2&r&&c!==f){if(Je(r))return!1;s=!0}}}}else{if(!s&&!Je(r)&&!Je(u))return!1;if(s&&Je(u))continue;s=!1,r=u|1&r}}return Je(r)||s}function Je(e){return 0==(1&e)}function Hv(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Je(s)&&(t+=vd(i,o),o=""),r=s,i=i||!Je(r);n++}return""!==o&&(t+=vd(i,o)),t}const P={};function Qt(e){_d(j(),y(),Ie()+e,!1)}function _d(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&go(t,i,n)}else{const i=e.preOrderHooks;null!==i&&mo(t,i,0,n)}zt(n)}function Id(e,t=null,n=null,r){const o=bd(e,t,n,r);return o.resolveInjectorInitializers(),o}function bd(e,t=null,n=null,r,o=new Set){const i=[n||V,dv(e)];return r=r||("object"==typeof e?void 0:W(e)),new ud(i,t||ko(),r||null,o)}let Xt=(()=>{class e{static create(n,r){if(Array.isArray(n))return Id({name:""},r,n,"");{const o=n.name??"";return Id({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Kn,e.NULL=new rd,e.\u0275prov=Z({token:e,providedIn:"any",factory:()=>B(td)}),e.__NG_ELEMENT_ID__=-1,e})();function F(e,t=T.Default){const n=y();return null===n?B(e,t):Xc(he(),n,b(e),t)}function Fd(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;rK&&_d(e,t,K,!1),n(r,o)}finally{zt(i)}}function oa(e,t,n){if(Wi(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,_r(e,n,o.hostVars,P),o)}function x_(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let u=0;u0&&da(n)}}function da(e){for(let r=Is(e);null!==r;r=bs(r))for(let o=10;o0&&da(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&da(o)}}function j_(e,t){const n=Be(t,e),r=n[1];(function B_(e,t){for(let n=t.length;n-1&&(Ts(t,r),Eo(n,r))}this._attachedToViewContainer=!1}Tl(this._lView[1],this._lView)}onDestroy(t){!function kd(e,t,n,r){const o=$d(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&Ud(e).push(r,o.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){fa(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Ho(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function SD(e,t){mr(e,t,t[k],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t}}class V_ extends wr{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ho(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Wd extends Ro{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=U(t);return new Er(n,this.ngModule)}}function qd(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class $_{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=to(r);const o=this.injector.get(t,Zs,r);return o!==Zs||n===Zs?o:this.parentInjector.get(t,n,r)}}class Er extends ld{get inputs(){return qd(this.componentDef.inputs)}get outputs(){return qd(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function qv(e){return e.map(Wv).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Cn?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new $_(t,i):t,a=s.get(fd,null);if(null===a)throw new C(407,!1);const u=s.get(Sv,null),c=a.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",d=r?function D_(e,t,n){return e.selectRootElement(t,n===st.ShadowDom)}(c,r,this.componentDef.encapsulation):Ms(c,l,function H_(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(l)),f=this.componentDef.onPush?288:272,p=aa(0,null,null,1,0,null,null,null,null,null),h=jo(null,p,null,f,null,null,a,c,u,s,null);let g,D;es(h);try{const v=this.componentDef;let E,m=null;v.findHostDirectiveDefs?(E=[],m=new Map,v.findHostDirectiveDefs(v,E,m),E.push(v)):E=[v];const M=function G_(e,t){const n=e[1];return e[22]=t,Nn(n,22,2,"#host",null)}(h,d),z=function z_(e,t,n,r,o,i,s,a){const u=o[1];!function W_(e,t,n,r){for(const o of e)t.mergedAttrs=ur(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&($o(t,t.mergedAttrs,!0),null!==n&&Vl(r,n,t))}(r,e,t,s);const c=i.createRenderer(t,n),l=jo(o,Od(n),null,n.onPush?32:16,o[e.index],e,i,c,a||null,null,null);return u.firstCreatePass&&ca(u,e,r.length-1),Vo(o,l),o[e.index]=l}(M,d,v,E,h,a,c);D=Tc(p,K),d&&function Y_(e,t,n,r){if(r)os(e,n,["ng-version",Mv.full]);else{const{attrs:o,classes:i}=function Yv(e){const t=[],n=[];let r=1,o=2;for(;r0&&Bl(e,n,i.join(" "))}}(c,v,d,r),void 0!==n&&function Z_(e,t,n){const r=e.projection=[];for(let o=0;os(pe(M[r.index])):r.index;let m=null;if(!s&&a&&(m=function mw(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;iu?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=i,m.__ngLastListenerFn__=i,f=!1;else{i=yf(r,t,l,i,!1);const M=n.listen(D,o,i);d.push(i,M),c&&c.push(o,E,v,v+1)}}else i=yf(r,t,l,i,!1);const p=r.outputs;let h;if(f&&null!==p&&(h=p[o])){const g=h.length;if(g)for(let D=0;D-1?Be(e.index,t):t);let u=mf(t,0,r,s),c=i.__ngNextListenerFn__;for(;c;)u=mf(t,0,c,s)&&u,c=c.__ngNextListenerFn__;return o&&!1===u&&(s.preventDefault(),s.returnValue=!1),u}}function Ir(e=1){return function Dy(e){return(N.lFrame.contextLView=function vy(e,t){for(;e>0;)t=t[15],e--;return t}(e,N.lFrame.contextLView))[8]}(e)}function yw(e,t){let n=null;const r=function $v(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o>17&32767}function Ca(e){return 2|e}function nn(e){return(131068&e)>>2}function Ia(e,t){return-131069&e|t<<2}function ba(e){return 1|e}function Af(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?Rt(i):nn(i),u=!1;for(;0!==a&&(!1===u||s);){const l=e[a+1];Cw(e[a],t)&&(u=!0,e[a+1]=r?ba(l):Ca(l)),a=r?Rt(l):nn(l)}u&&(e[n+1]=r?Ca(i):ba(i))}function Cw(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&_n(e,t)>=0}const le={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Nf(e){return e.substring(le.key,le.keyEnd)}function Pf(e,t){const n=le.textEnd;return n===t?-1:(t=le.keyEnd=function Mw(e,t,n){for(;t32;)t++;return t}(e,le.key=t,n),Vn(e,t,n))}function Vn(e,t,n){for(;t0)&&(c=!0)):l=n,o)if(0!==u){const f=Rt(e[a+1]);e[r+1]=qo(f,a),0!==f&&(e[f+1]=Ia(e[f+1],r)),e[a+1]=function vw(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=qo(a,0),0!==a&&(e[a+1]=Ia(e[a+1],r)),a=r;else e[r+1]=qo(u,0),0===a?a=r:e[u+1]=Ia(e[u+1],r),u=r;c&&(e[r+1]=Ca(e[r+1])),Af(e,l,r,!0),Af(e,l,r,!1),function Ew(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&_n(i,t)>=0&&(n[r+1]=ba(n[r+1]))}(t,l,e,r,i),s=qo(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(o,null,i,r);const s=y();if(n!==P&&ve(s,i,n)){const a=o.data[Ie()];if(Uf(a,r)&&!jf(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;null!==u&&(n=Oi(u,n||"")),ya(o,a,s,n,r)}else!function Rw(e,t,n,r,o,i,s,a){o===P&&(o=V);let u=0,c=0,l=0=0;n=Pf(t,n))Ve(e,Nf(t),!0)}function jf(e,t){return t>=e.expandoStartIndex}function Sa(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=null===l;let f=n[o+1];f===P&&(f=d?V:void 0);let p=d?ps(f,r):l===r?f:void 0;if(c&&!Zo(p)&&(p=ps(u,r)),Zo(p)&&(a=p,s))return a;const h=e[o+1];o=s?Rt(h):nn(h)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=ps(u,r))}return a}function Zo(e){return void 0!==e}function Uf(e,t){return 0!=(e.flags&(t?8:16))}function ht(e,t=""){const n=y(),r=j(),o=e+K,i=r.firstCreatePass?Nn(r,o,1,t,null):r.data[o],s=n[o]=function Ss(e,t){return e.createText(t)}(n[k],t);Ao(r,n,s,i),ut(i,!1)}function Ma(e){return Ko("",e,""),Ma}function Ko(e,t,n){const r=y(),o=function Fn(e,t,n,r){return ve(e,pn(),n)?t+A(n)+r:P}(r,e,t,n);return o!==P&&function Ct(e,t,n){const r=co(t,e);!function Sl(e,t,n){e.setValue(t,n)}(e[k],r,n)}(r,Ie(),o),Ko}const $n="en-US";let dp=$n;class Un{}class rC{}class Lp extends Un{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Wd(this);const r=function Re(e,t){const n=e[hc]||null;if(!n&&!0===t)throw new Error(`Type ${W(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function Et(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=bd(t,n,[{provide:Un,useValue:this},{provide:Ro,useValue:this.componentFactoryResolver}],W(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Oa extends rC{constructor(t){super(),this.moduleType=t}create(t){return new Lp(this.moduleType,t)}}function zp(e,t,n){const r=function Ce(){const e=N.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}()+e,o=y();return o[r]===P?function dt(e,t,n){return e[t]=n}(o,r,n?t.call(n):t()):function Cr(e,t){return e[t]}(o,r)}function Ra(e){return t=>{setTimeout(e,void 0,t)}}const fe=class FC extends Ai{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Ra(i),o&&(o=Ra(o)),s&&(s=Ra(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof it&&t.add(a),a}};let bt=(()=>{class e{}return e.__NG_ELEMENT_ID__=RC,e})();const OC=bt,kC=class extends OC{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=jo(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(r)),ra(r,o,t),new wr(o)}};function RC(){return function ti(e,t){return 4&e.type?new kC(t,e,bn(e,t)):null}(he(),y())}let gt=(()=>{class e{}return e.__NG_ELEMENT_ID__=LC,e})();function LC(){return function Jp(e,t){let n;const r=t[e.index];if(Qe(r))n=r;else{let o;if(8&e.type)o=pe(r);else{const i=t[k];o=i.createComment("");const s=je(e,t);Yt(i,To(i,s),o,function xD(e,t){return e.nextSibling(t)}(i,s),!1)}t[e.index]=n=Hd(r,t,o,e),Vo(t,n)}return new Qp(n,e,t)}(he(),y())}const jC=gt,Qp=class extends jC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return bn(this._hostTNode,this._hostLView)}get injector(){return new gn(this._hostTNode,this._hostLView)}get parentInjector(){const t=as(this._hostTNode,this._hostLView);if(Wc(t)){const n=Do(t,this._hostLView),r=yo(t);return new gn(n[1].data[r+8],n)}return new gn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Xp(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=t.createEmbeddedView(n||{},i);return this.insert(s,o),s}createComponent(t,n,r,o,i){const s=t&&!function lr(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.environmentInjector||d.ngModuleRef}const u=s?t:new Er(U(t)),c=r||this.parentInjector;if(!i&&null==u.ngModule){const f=(s?c:this.parentInjector).get(Cn,null);f&&(i=f)}const l=u.create(c,o,void 0,i);return this.insert(l.hostView,a),l}insert(t,n){const r=t._lView,o=r[1];if(function ay(e){return Qe(e[3])}(r)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const d=r[3],f=new Qp(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function TD(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r{class e{constructor(n){this.appInits=n,this.resolve=ri,this.reject=ri,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{i.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(B(Ch,8))},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Or=new R("AppId",{providedIn:"root",factory:function Ih(){return`${Ya()}${Ya()}${Ya()}`}});function Ya(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const bh=new R("Platform Initializer"),Sh=new R("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),gI=new R("appBootstrapListener"),St=new R("LocaleId",{providedIn:"root",factory:()=>function Um(e,t=T.Default){return B(e,to(t))}(St,T.Optional|T.SkipSelf)||function mI(){return typeof $localize<"u"&&$localize.locale||$n}()}),wI=(()=>Promise.resolve(0))();function Za(e){typeof Zone>"u"?wI.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class _e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new fe(!1),this.onMicrotaskEmpty=new fe(!1),this.onStable=new fe(!1),this.onError=new fe(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function EI(){let e=q.requestAnimationFrame,t=q.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function bI(e){const t=()=>{!function II(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(q,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Qa(e),e.isCheckStableRunning=!0,Ka(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Qa(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return Ah(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Nh(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Ah(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Nh(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Qa(e),Ka(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!_e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(_e.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,CI,ri,ri);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)}}const CI={};function Ka(e){if(0==e._nesting&&!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 Qa(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Ah(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Nh(e){e._nesting--,Ka(e)}class SI{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new fe,this.onMicrotaskEmpty=new fe,this.onStable=new fe,this.onError=new fe}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)}}const Ph=new R(""),ii=new R("");let eu,Xa=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,eu||(function MI(e){eu=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{_e.assertNotInAngularZone(),Za(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Za(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(B(_e),B(Ja),B(ii))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})(),Ja=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return eu?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Lt=null;const Fh=new R("AllowMultipleToken"),tu=new R("PlatformDestroyListeners");function Oh(e,t,n=[]){const r=`Platform: ${t}`,o=new R(r);return(i=[])=>{let s=nu();if(!s||s.injector.get(Fh,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function NI(e){if(Lt&&!Lt.get(Fh,!1))throw new C(400,!1);Lt=e;const t=e.get(Rh);(function xh(e){const t=e.get(bh,null);t&&t.forEach(n=>n())})(e)}(function kh(e=[],t){return Xt.create({name:t,providers:[{provide:Gs,useValue:"platform"},{provide:tu,useValue:new Set([()=>Lt=null])},...e]})}(a,r))}return function FI(e){const t=nu();if(!t)throw new C(401,!1);return t}()}}function nu(){return Lt?.get(Rh)??null}let Rh=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function jh(e,t){let n;return n="noop"===e?new SI:("zone.js"===e?void 0:e)||new _e(t),n}(r?.ngZone,function Lh(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:_e,useValue:o}];return o.run(()=>{const s=Xt.create({providers:i,parent:this.injector,name:n.moduleType.name}),a=n.create(s),u=a.injector.get(Mn,null);if(!u)throw new C(402,!1);return o.runOutsideAngular(()=>{const c=o.onError.subscribe({next:l=>{u.handleError(l)}});a.onDestroy(()=>{si(this._modules,a),c.unsubscribe()})}),function Bh(e,t,n){try{const r=n();return wa(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(u,o,()=>{const c=a.injector.get(oi);return c.runInitializers(),c.donePromise.then(()=>(function fp(e){$e(e,"Expected localeId to be defined"),"string"==typeof e&&(dp=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(St,$n)||$n),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=Vh({},r);return function TI(e,t,n){const r=new Oa(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(ru);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new C(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(tu,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(B(Xt))},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Vh(e,t){return Array.isArray(t)?t.reduce(Vh,e):{...e,...t}}let ru=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new Te(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Te(a=>{let u;this._zone.runOutsideAngular(()=>{u=this._zone.onStable.subscribe(()=>{_e.assertNotInAngularZone(),Za(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{_e.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{u.unsubscribe(),c.unsubscribe()}});this.isStable=Mm(i,s.pipe(function Tm(e={}){const{connector:t=(()=>new Ai),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=u=void 0,l=d=!1},h=()=>{const g=s;p(),g?.unsubscribe()};return Zn((g,D)=>{c++,!d&&!l&&f();const v=u=u??t();D.add(()=>{c--,0===c&&!d&&!l&&(a=Fi(h,o))}),v.subscribe(D),!s&&c>0&&(s=new Yn({next:E=>v.next(E),error:E=>{d=!0,f(),a=Fi(p,n,E),v.error(E)},complete:()=>{l=!0,f(),a=Fi(p,r),v.complete()}}),Nt(g).subscribe(s))})(i)}}()))}bootstrap(n,r){const o=n instanceof ld;if(!this._injector.get(oi).done)throw!o&&function tr(e){const t=U(e)||ge(e)||we(e);return null!==t&&t.standalone}(n),new C(405,false);let s;s=o?n:this._injector.get(Ro).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function AI(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Un),c=s.create(Xt.NULL,[],r||s.selector,a),l=c.location.nativeElement,d=c.injector.get(Ph,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),si(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;si(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(gI,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>si(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(B(_e),B(Cn),B(Mn))},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function si(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class zh{constructor(){}supports(t){return zo(t)}create(t){return new $I(t)}}const HI=(e,t)=>t;class $I{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||HI}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new UI(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Wh),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Wh),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class UI{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class GI{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Wh{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new GI,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function qh(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;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){const 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)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new WI(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;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;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){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?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))}}class WI{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Zh(){return new ci([new zh])}let ci=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Zh()),deps:[[e,new bo,new Io]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new C(901,!1)}}return e.\u0275prov=Z({token:e,providedIn:"root",factory:Zh}),e})();function Kh(){return new kr([new Yh])}let kr=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Kh()),deps:[[e,new bo,new Io]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new C(901,!1)}}return e.\u0275prov=Z({token:e,providedIn:"root",factory:Kh}),e})();const ZI=Oh(null,"core",[]);let KI=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(B(ru))},e.\u0275mod=an({type:e}),e.\u0275inj=$t({}),e})(),uu=null;function Rr(){return uu}class JI{}const Tt=new R("DocumentToken"),Du=/\s+/,sg=[];let ag=(()=>{class e{constructor(n,r,o,i){this._iterableDiffers=n,this._keyValueDiffers=r,this._ngEl=o,this._renderer=i,this.initialClasses=sg,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split(Du):sg}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(Du):n}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const r of n)this._updateState(r,!0);else if(null!=n)for(const r of Object.keys(n))this._updateState(r,Boolean(n[r]));this._applyStateDiff()}_updateState(n,r){const o=this.stateMap.get(n);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const 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()).length>0&&n.split(Du).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return e.\u0275fac=function(n){return new(n||e)(F(ci),F(kr),F(Sn),F(pd))},e.\u0275dir=ke({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})(),dg=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new Ub,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){fg("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){fg("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(F(gt),F(bt))},e.\u0275dir=ke({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class Ub{constructor(){this.$implicit=null,this.ngIf=null}}function fg(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${W(t)}'.`)}let hg=(()=>{class e{constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){const n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){const[o,i]=n.split("."),s=-1===o.indexOf("-")?void 0:Ne.DashCase;null!=r?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_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))}}return e.\u0275fac=function(n){return new(n||e)(F(Sn),F(kr),F(pd))},e.\u0275dir=ke({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),e})(),mg=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=an({type:e}),e.\u0275inj=$t({}),e})();class q0 extends JI{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Su extends q0{static makeCurrent(){!function XI(e){uu||(uu=e)}(new Su)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function Y0(){return Vr=Vr||document.querySelector("base"),Vr?Vr.getAttribute("href"):null}();return null==n?null:function Z0(e){_i=_i||document.createElement("a"),_i.setAttribute("href",e);const t=_i.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Vr=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function jb(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let _i,Vr=null;const Cg=new R("TRANSITION_ID"),Q0=[{provide:Ch,useFactory:function K0(e,t,n){return()=>{n.get(oi).donePromise.then(()=>{const r=Rr(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})();const wi=new R("EventManagerPlugins");let Ei=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})(),Hr=(()=>{class e extends bg{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(Sg),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(Sg))}}return e.\u0275fac=function(n){return new(n||e)(B(Tt))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})();function Sg(e){Rr().remove(e)}const Mu={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Tu=/%COMP%/g;function Au(e,t){return t.flat(100).map(n=>n.replace(Tu,e))}function Ag(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Nu=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new Pu(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case st.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new iS(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case st.ShadowDom:return new sS(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=Au(r.id,r.styles);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(B(Ei),B(Hr),B(Or))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})();class Pu{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(Mu[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(Pg(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Pg(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Mu[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Mu[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Ne.DashCase|Ne.Important)?t.style.setProperty(n,r,o&Ne.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Ne.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,Ag(r)):this.eventManager.addEventListener(t,n,Ag(r))}}function Pg(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class iS extends Pu{constructor(t,n,r,o){super(t),this.component=r;const i=Au(o+"-"+r.id,r.styles);n.addStyles(i),this.contentAttr=function nS(e){return"_ngcontent-%COMP%".replace(Tu,e)}(o+"-"+r.id),this.hostAttr=function rS(e){return"_nghost-%COMP%".replace(Tu,e)}(o+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class sS extends Pu{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=Au(o.id,o.styles);for(let s=0;s{class e extends Ig{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(B(Tt))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})();const Fg=["alt","control","meta","shift"],uS={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},cS={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let lS=(()=>{class e extends Ig{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Rr().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Fg.forEach(c=>{const l=r.indexOf(c);l>-1&&(r.splice(l,1),s+=c+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let o=uS[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Fg.forEach(s=>{s!==o&&(0,cS[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(B(Tt))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})();const hS=Oh(ZI,"browser",[{provide:Sh,useValue:"browser"},{provide:bh,useValue:function dS(){Su.makeCurrent()},multi:!0},{provide:Tt,useFactory:function pS(){return function HD(e){ks=e}(document),document},deps:[]}]),kg=new R(""),Rg=[{provide:ii,useClass:class X0{addToWindow(t){q.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},q.getAllAngularTestabilities=()=>t.getAllTestabilities(),q.getAllAngularRootElements=()=>t.getAllRootElements(),q.frameworkStabilizers||(q.frameworkStabilizers=[]),q.frameworkStabilizers.push(r=>{const o=q.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Rr().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Ph,useClass:Xa,deps:[_e,Ja,ii]},{provide:Xa,useClass:Xa,deps:[_e,Ja,ii]}],Lg=[{provide:Gs,useValue:"root"},{provide:Mn,useFactory:function fS(){return new Mn},deps:[]},{provide:wi,useClass:aS,multi:!0,deps:[Tt,_e,Sh]},{provide:wi,useClass:lS,multi:!0,deps:[Tt]},{provide:Nu,useClass:Nu,deps:[Ei,Hr,Or]},{provide:fd,useExisting:Nu},{provide:bg,useExisting:Hr},{provide:Hr,useClass:Hr,deps:[Tt]},{provide:Ei,useClass:Ei,deps:[wi,_e]},{provide:class _0{},useClass:J0,deps:[]},[]];let gS=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Or,useValue:n.appId},{provide:Cg,useExisting:Or},Q0]}}}return e.\u0275fac=function(n){return new(n||e)(B(kg,12))},e.\u0275mod=an({type:e}),e.\u0275inj=$t({providers:[...Lg,...Rg],imports:[mg,KI]}),e})();function Vg(e,t,n,r,o,i,s){try{var a=e[i](s),u=a.value}catch(c){return void n(c)}a.done?t(u):Promise.resolve(u).then(r,o)}function $r(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(u){Vg(i,r,o,s,a,"next",u)}function a(u){Vg(i,r,o,s,a,"throw",u)}s(void 0)})}}typeof window<"u"&&window;const bS=["*"],Hg=new R("paystack.publickey");let Ci=(()=>{class e{constructor(n){this.token=n}loadScript(){return new Promise(n=>{if(window.PaystackPop&&"function"==typeof window.PaystackPop.setup)return void n();const r=window.document.createElement("script");window.document.head.appendChild(r);const o=()=>{r.removeEventListener("load",o),n()};r.addEventListener("load",o),r.setAttribute("src","https://js.paystack.co/v1/inline.js")})}checkInput(n){return n.key||this.token?n.email?n.amount?n.ref?"":"ANGULAR-PAYSTACK: Paystack ref cannot be empty":"ANGULAR-PAYSTACK: Paystack amount cannot be empty":"ANGULAR-PAYSTACK: Paystack email cannot be empty":"ANGULAR-PAYSTACK: Please insert a your public key"}getPaystackOptions(n){return{key:n.key||this.token,email:n.email,amount:n.amount,ref:n.ref,metadata:n.metadata||{},currency:n.currency||"NGN",plan:n.plan||"",channels:n.channels,quantity:n.quantity||"",subaccount:n.subaccount||"",transaction_charge:n.transaction_charge||0,bearer:n.bearer||""}}}return e.\u0275fac=function(n){return new(n||e)(B(Hg))},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),SS=(()=>{class e{constructor(n){this.paystackService=n,this.paymentInit=new fe,this.onClose=new fe,this.callback=new fe,this.isPaying=!1}pay(){var n=this;return $r(function*(){let r="";return n.paystackOptions&&Object.keys(n.paystackOptions).length>=2?(r=n.valdateInput(n.paystackOptions),n.generateOptions(n.paystackOptions)):(r=n.valdateInput(n),n.generateOptions(n)),r?(console.error(r),r):(yield n.paystackService.loadScript(),n.isPaying?void 0:(n.paymentInit.observers.length&&n.paymentInit.emit(),window.PaystackPop.setup(n._paystackOptions).openIframe(),n.isPaying=!0,""))})()}valdateInput(n){return this.callback.observers.length?this.paystackService.checkInput(n):"ANGULAR-PAYSTACK: Insert a callback output like so (callback)='PaymentComplete($event)' to check payment status"}generateOptions(n){this._paystackOptions=this.paystackService.getPaystackOptions(n),this._paystackOptions.onClose=()=>{this.onClose.observers.length&&(this.isPaying=!1,this.onClose.emit())},this._paystackOptions.callback=(...r)=>{this.isPaying=!1,this.callback.emit(...r)}}}return e.\u0275fac=function(n){return new(n||e)(F(Ci))},e.\u0275cmp=er({type:e,selectors:[["angular4-paystack"]],inputs:{key:"key",email:"email",amount:"amount",metadata:"metadata",ref:"ref",currency:"currency",plan:"plan",quantity:"quantity",channels:"channels",subaccount:"subaccount",transaction_charge:"transaction_charge",bearer:"bearer",class:"class",style:"style",paystackOptions:"paystackOptions"},outputs:{paymentInit:"paymentInit",onClose:"onClose",callback:"callback"},ngContentSelectors:bS,decls:2,vars:2,consts:[[3,"ngClass","ngStyle","click"]],template:function(n,r){1&n&&(function Df(e){const t=y()[16][6];if(!t.projection){const r=t.projection=dr(e?e.length:1,null),o=r.slice();let i=t.child;for(;null!==i;){const s=e?yw(i,e):0;null!==s&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i),i=i.next}}}(),Fe(0,"button",0),It("click",function(){return r.pay()}),function vf(e,t=0,n){const r=y(),o=j(),i=Nn(o,K+e,16,null,n||null);null===i.projection&&(i.projection=t),Ki(),32!=(32&i.flags)&&function OD(e,t,n){jl(t[k],0,t,n,Al(e,n,t),xl(n.parent||t[6],n,t))}(o,r,i)}(1),be()),2&n&&tn("ngClass",r.class)("ngStyle",r.style)},dependencies:[ag,hg],encapsulation:2}),e})(),MS=(()=>{class e{constructor(n){this.paystackService=n,this.paymentInit=new fe,this.onClose=new fe,this.callback=new fe,this.isPaying=!1}pay(){var n=this;return $r(function*(){let r="";return n.paystackOptions&&Object.keys(n.paystackOptions).length>=2?(r=n.valdateInput(n.paystackOptions),n.generateOptions(n.paystackOptions)):(r=n.valdateInput(n),n.generateOptions(n)),r?(console.error(r),r):(yield n.paystackService.loadScript(),n.isPaying?void 0:(n.paymentInit.observers.length&&n.paymentInit.emit(),window.PaystackPop.setup(n._paystackOptions).openIframe(),n.isPaying=!0,""))})()}valdateInput(n){return this.callback.observers.length?this.paystackService.checkInput(n):"ANGULAR-PAYSTACK: Insert a callback output like so (callback)='PaymentComplete($event)' to check payment status"}generateOptions(n){this._paystackOptions=this.paystackService.getPaystackOptions(n),this._paystackOptions.onClose=()=>{this.onClose.observers.length&&(this.isPaying=!1,this.onClose.emit())},this._paystackOptions.callback=(...r)=>{this.isPaying=!1,this.callback.emit(...r)}}buttonClick(){var n=this;return $r(function*(){n.pay()})()}}return e.\u0275fac=function(n){return new(n||e)(F(Ci))},e.\u0275dir=ke({type:e,selectors:[["","angular4-paystack",""]],hostBindings:function(n,r){1&n&&It("click",function(){return r.buttonClick()})},inputs:{key:"key",email:"email",amount:"amount",metadata:"metadata",ref:"ref",currency:"currency",plan:"plan",quantity:"quantity",subaccount:"subaccount",channels:"channels",transaction_charge:"transaction_charge",bearer:"bearer",class:"class",style:"style",paystackOptions:"paystackOptions"},outputs:{paymentInit:"paymentInit",onClose:"onClose",callback:"callback"}}),e})(),TS=(()=>{class e{constructor(n){this.paystackService=n,this.paymentInit=new fe,this.onClose=new fe,this.callback=new fe}pay(){var n=this;return $r(function*(){let r="";return n.paystackOptions&&Object.keys(n.paystackOptions).length>=2?(r=n.valdateInput(n.paystackOptions),n.generateOptions(n.paystackOptions)):(r=n.valdateInput(n),n.generateOptions(n)),r?(console.error(r),r):(yield n.paystackService.loadScript(),n.paymentInit.observers.length&&n.paymentInit.emit(),window.PaystackPop.setup(n._paystackOptions).openIframe(),"")})()}valdateInput(n){return this.callback.observers.length?this.paystackService.checkInput(n):"ANGULAR-PAYSTACK: Insert a callback output like so (callback)='PaymentComplete($event)' to check payment status"}generateOptions(n){this._paystackOptions=this.paystackService.getPaystackOptions(n),this._paystackOptions.onClose=()=>{this.onClose.observers.length&&this.onClose.emit()},this._paystackOptions.callback=(...r)=>{this.callback.emit(...r)}}ngOnInit(){var n=this;return $r(function*(){console.error("ANGULAR-PAYSTACK: The paystack embed option is deprecated. Please use the paystack component or directive"),n.pay()})()}}return e.\u0275fac=function(n){return new(n||e)(F(Ci))},e.\u0275cmp=er({type:e,selectors:[["angular4-paystack-embed"]],inputs:{key:"key",email:"email",amount:"amount",metadata:"metadata",channels:"channels",ref:"ref",currency:"currency",plan:"plan",quantity:"quantity",subaccount:"subaccount",transaction_charge:"transaction_charge",bearer:"bearer",paystackOptions:"paystackOptions"},outputs:{paymentInit:"paymentInit",onClose:"onClose",callback:"callback"},decls:1,vars:0,consts:[["id","paystackEmbedContainer"]],template:function(n,r){1&n&&Da(0,"div",0)},encapsulation:2,changeDetection:0}),e})(),AS=(()=>{class e{static forRoot(n){return{ngModule:e,providers:[Ci,{provide:Hg,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=an({type:e}),e.\u0275inj=$t({imports:[mg]}),e})();const NS=function(){return["card"]};function PS(e,t){if(1&e){const n=function ff(){return y()}();Fe(0,"div")(1,"angular4-paystack-embed",10),It("paymentInit",function(){return fo(n),po(Ir().paymentInit())})("onClose",function(){return fo(n),po(Ir().paymentCancel())})("callback",function(o){return fo(n),po(Ir().paymentDone(o))}),be()()}if(2&e){const n=Ir();Qt(1),Yo("btn btn-primary btn-lg"),tn("email","mailexample@mail.com")("amount",5e6)("ref",n.tRef)("channels",zp(6,NS))}}class Ur{constructor(){this.title="app",this.showEmbed=!1,this.options={amount:5e4,email:"user@mail.com",ref:`${Math.ceil(1e11*Math.random())}`},this.results={name:""},this.tRef="",this.result=""}toggleEmbed(){this.showEmbed=!this.showEmbed}paymentInit(){console.log("Payment initialized")}paymentDone(t){this.title="Payment successfull",console.log(this.title,t)}paymentCancel(){this.title="Payment failed",console.log(this.title)}setRandomPaymentRef(){this.tRef=""+1e13*Math.random()}ngOnInit(){this.setRandomPaymentRef()}}Ur.\u0275fac=function(t){return new(t||Ur)},Ur.\u0275cmp=er({type:Ur,selectors:[["app-root"]],decls:21,vars:11,consts:[[1,"display-4","py-4","px-1","text-center","bg-primary","text-white"],[1,"text-center","lead"],[1,"container"],[1,"paystack-buttons","text-center","d-md-flex","d-lg-flex","d-xl-flex","justify-content-between"],[3,"email","amount","ref","paymentInit","onClose","callback"],["angular4-paystack","",1,"btn","btn-danger","m-3",3,"paystackOptions","onClose","paymentInit","callback"],[1,"btn","btn-outline-dark","mr-3",3,"click"],[1,"btn","btn-outline-dark",3,"click"],[1,"text-center","my-3"],[4,"ngIf"],["angular4-paystack","",3,"email","amount","ref","channels","paymentInit","onClose","callback"]],template:function(t,n){1&t&&(Fe(0,"div",0),ht(1,"Angular4 Paystack"),be(),Fe(2,"div",1),ht(3),be(),Fe(4,"div",2)(5,"div",3)(6,"angular4-paystack",4),It("paymentInit",function(){return n.paymentInit()})("onClose",function(){return n.paymentCancel()})("callback",function(o){return n.paymentDone(o)}),ht(7," Pay With Paystack component "),be(),Fe(8,"button",5),It("onClose",function(){return n.paymentCancel()})("paymentInit",function(){return n.paymentInit()})("callback",function(o){return n.paymentDone(o)}),ht(9," Pay With Paystack Directive "),be()(),Fe(10,"button",6),It("click",function(){return n.toggleEmbed()}),ht(11,"Toggle embed"),be(),Fe(12,"button",7),It("click",function(){return n.setRandomPaymentRef()}),ht(13,"Set random payment Ref"),be(),Fe(14,"h3"),ht(15),be(),Fe(16,"div"),ht(17," You can't have more than one payment Instance at a time. Hide paystack embed to try out paystack directive and paystack component "),be(),Fe(18,"h3",8),ht(19,"Paystack Embed"),be(),function lf(e,t,n,r,o,i,s,a){const u=y(),c=j(),l=e+K,d=c.firstCreatePass?function lw(e,t,n,r,o,i,s,a,u){const c=t.consts,l=Nn(t,e,4,s||null,Ot(c,a));ua(t,n,l,Ot(c,u)),ho(t,l);const d=l.tViews=aa(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}(l,c,u,t,n,r,o,i,s):c.data[l];ut(d,!1);const f=u[k].createComment("");Ao(c,u,f,d),De(f,u),Vo(u,u[l]=Hd(f,u,f,d)),ao(d)&&ia(c,u,d),null!=s&&sa(u,d,a)}(20,PS,2,7,"div",9),be()),2&t&&(Qt(3),Ma(n.title),Qt(3),Yo("btn btn-primary"),tn("email","mailexample@mail.com")("amount",5e6)("ref",n.tRef),Qt(2),Yo("btn btn-primary btn-lg"),tn("paystackOptions",n.options),Qt(7),Ko("Embed ",n.showEmbed?"visible":"hidden",""),Qt(5),tn("ngIf",n.showEmbed))},dependencies:[dg,SS,MS,TS]});class Wn{}Wn.\u0275fac=function(t){return new(t||Wn)},Wn.\u0275mod=an({type:Wn,bootstrap:[Ur]}),Wn.\u0275inj=$t({imports:[gS,AS.forRoot("pk_test_c613fc7d428a64fd1e5daea22f8380551b28c78e")]}),hS().bootstrapModule(Wn).catch(e=>console.error(e))}},J=>{J(J.s=240)}]); \ No newline at end of file +"use strict";(self.webpackChunkangular4_paystack_lib=self.webpackChunkangular4_paystack_lib||[]).push([[179],{240:()=>{function J(e){return"function"==typeof e}function Gr(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const zr=Gr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function qn(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class it{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(J(r))try{r()}catch(i){t=i instanceof zr?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Ru(i)}catch(s){t=t??[],s instanceof zr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new zr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ru(t);else{if(t instanceof it){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&qn(n,t)}remove(t){const{_finalizers:n}=this;n&&qn(n,t),t instanceof it&&t._removeParent(this)}}it.EMPTY=(()=>{const e=new it;return e.closed=!0,e})();const Ou=it.EMPTY;function ku(e){return e instanceof it||e&&"closed"in e&&J(e.remove)&&J(e.add)&&J(e.unsubscribe)}function Ru(e){J(e)?e():e.unsubscribe()}const Bt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Wr={setTimeout(e,t,...n){const{delegate:r}=Wr;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Wr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Lu(e){Wr.setTimeout(()=>{const{onUnhandledError:t}=Bt;if(!t)throw e;t(e)})}function ju(){}const $g=Ii("C",void 0,void 0);function Ii(e,t,n){return{kind:e,value:t,error:n}}let Vt=null;function qr(e){if(Bt.useDeprecatedSynchronousErrorHandling){const t=!Vt;if(t&&(Vt={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=Vt;if(Vt=null,n)throw r}}else e()}class bi extends it{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ku(t)&&t.add(this)):this.destination=Zg}static create(t,n,r){return new Yn(t,n,r)}next(t){this.isStopped?Mi(function Gg(e){return Ii("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Mi(function Ug(e){return Ii("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Mi($g,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Wg=Function.prototype.bind;function Si(e,t){return Wg.call(e,t)}class qg{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Yr(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Yr(r)}else Yr(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Yr(n)}}}class Yn extends bi{constructor(t,n,r){let o;if(super(),J(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Bt.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Si(t.next,i),error:t.error&&Si(t.error,i),complete:t.complete&&Si(t.complete,i)}):o=t}this.destination=new qg(o)}}function Yr(e){Bt.useDeprecatedSynchronousErrorHandling?function zg(e){Bt.useDeprecatedSynchronousErrorHandling&&Vt&&(Vt.errorThrown=!0,Vt.error=e)}(e):Lu(e)}function Mi(e,t){const{onStoppedNotification:n}=Bt;n&&Wr.setTimeout(()=>n(e,t))}const Zg={closed:!0,next:ju,error:function Yg(e){throw e},complete:ju},Ti="function"==typeof Symbol&&Symbol.observable||"@@observable";function Bu(e){return e}let Te=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function Qg(e){return e&&e instanceof bi||function Kg(e){return e&&J(e.next)&&J(e.error)&&J(e.complete)}(e)&&ku(e)}(n)?n:new Yn(n,r,o);return qr(()=>{const{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 new(r=Hu(r))((o,i)=>{const s=new Yn({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Ti](){return this}pipe(...n){return function Vu(e){return 0===e.length?Bu:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Hu(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Hu(e){var t;return null!==(t=e??Bt.Promise)&&void 0!==t?t:Promise}const Xg=Gr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ai=(()=>{class e extends Te{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new $u(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Xg}next(n){qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){qr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Ou:(this.currentObservers=null,i.push(n),new it(()=>{this.currentObservers=null,qn(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Te;return n.source=this,n}}return e.create=(t,n)=>new $u(t,n),e})();class $u extends Ai{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Ou}}function Zn(e){return t=>{if(function Jg(e){return J(e?.lift)}(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 Zr(e,t,n,r,o){return new em(e,t,n,r,o)}class em extends bi{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}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()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Ht(e){return this instanceof Ht?(this.v=e,this):new Ht(e)}function om(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(h,g){i.push([f,p,h,g])>1||a(f,p)})})}function a(f,p){try{!function u(f){f.value instanceof Ht?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}(r[f](p))}catch(h){d(i[0][3],h)}}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function im(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function zu(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}const Wu=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function qu(e){return J(e?.then)}function Yu(e){return J(e[Ti])}function Zu(e){return Symbol.asyncIterator&&J(e?.[Symbol.asyncIterator])}function Ku(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Qu=function am(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Xu(e){return J(e?.[Qu])}function Ju(e){return om(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Ht(n.read());if(o)return yield Ht(void 0);yield yield Ht(r)}}finally{n.releaseLock()}})}function ec(e){return J(e?.getReader)}function Nt(e){if(e instanceof Te)return e;if(null!=e){if(Yu(e))return function um(e){return new Te(t=>{const n=e[Ti]();if(J(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Wu(e))return function cm(e){return new Te(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Lu)})}(e);if(Zu(e))return tc(e);if(Xu(e))return function dm(e){return new Te(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(ec(e))return function fm(e){return tc(Ju(e))}(e)}throw Ku(e)}function tc(e){return new Te(t=>{(function pm(e,t){var n,r,o,i;return function nm(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=im(e);!(r=yield n.next()).done;)if(t.next(r.value),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()})})(e,t).catch(n=>t.error(n))})}function Pt(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function nc(e,t,n=1/0){return J(t)?nc((r,o)=>function tm(e,t){return Zn((n,r)=>{let o=0;n.subscribe(Zr(r,i=>{r.next(e.call(t,i,o++))}))})}((i,s)=>t(r,i,o,s))(Nt(e(r,o))),n):("number"==typeof t&&(n=t),Zn((r,o)=>function hm(e,t,n,r,o,i,s,a){const u=[];let c=0,l=0,d=!1;const f=()=>{d&&!u.length&&!c&&t.complete()},p=g=>c{i&&t.next(g),c++;let D=!1;Nt(n(g,l++)).subscribe(Zr(t,v=>{o?.(v),i?p(v):t.next(v)},()=>{D=!0},void 0,()=>{if(D)try{for(c--;u.length&&ch(v)):h(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(Zr(t,p,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const rc=new Te(e=>e.complete());function Pi(e){return e[e.length-1]}function oc(e,t=0){return Zn((n,r)=>{n.subscribe(Zr(r,o=>Pt(r,e,()=>r.next(o),t),()=>Pt(r,e,()=>r.complete(),t),o=>Pt(r,e,()=>r.error(o),t)))})}function ic(e,t=0){return Zn((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function sc(e,t){if(!e)throw new Error("Iterable cannot be null");return new Te(n=>{Pt(n,t,()=>{const r=e[Symbol.asyncIterator]();Pt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Mm(...e){const t=function Dm(e){return function ym(e){return e&&J(e.schedule)}(Pi(e))?e.pop():void 0}(e),n=function vm(e,t){return"number"==typeof Pi(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Nt(r[0]):function gm(e=1/0){return nc(Bu,e)}(n)(function Sm(e,t){return t?function bm(e,t){if(null!=e){if(Yu(e))return function _m(e,t){return Nt(e).pipe(ic(t),oc(t))}(e,t);if(Wu(e))return function Em(e,t){return new Te(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(qu(e))return function wm(e,t){return Nt(e).pipe(ic(t),oc(t))}(e,t);if(Zu(e))return sc(e,t);if(Xu(e))return function Cm(e,t){return new Te(n=>{let r;return Pt(n,t,()=>{r=e[Qu](),Pt(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>J(r?.return)&&r.return()})}(e,t);if(ec(e))return function Im(e,t){return sc(Ju(e),t)}(e,t)}throw Ku(e)}(e,t):Nt(e)}(r,t)):rc}function Fi(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Yn({next:()=>{r.unsubscribe(),e()}});return Nt(t(...n)).subscribe(r)}function G(e){for(let t in e)if(e[t]===G)return t;throw Error("Could not find renamed property on target object.")}function W(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(W).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Oi(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Am=G({__forward_ref__:G});function ki(e){return e.__forward_ref__=ki,e.toString=function(){return W(this())},e}function b(e){return function Ri(e){return"function"==typeof e&&e.hasOwnProperty(Am)&&e.__forward_ref__===ki}(e)?e():e}function Li(e){return e&&!!e.\u0275providers}class C extends Error{constructor(t,n){super(function Kr(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function A(e){return"string"==typeof e?e:null==e?"":String(e)}function Qr(e,t){throw new C(-201,!1)}function $e(e,t){null==e&&function $(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function $t(e){return{providers:e.providers||[],imports:e.imports||[]}}function Xr(e){return uc(e,Jr)||uc(e,lc)}function uc(e,t){return e.hasOwnProperty(t)?e[t]:null}function cc(e){return e&&(e.hasOwnProperty(ji)||e.hasOwnProperty(Lm))?e[ji]:null}const Jr=G({\u0275prov:G}),ji=G({\u0275inj:G}),lc=G({ngInjectableDef:G}),Lm=G({ngInjectorDef:G});var T=(()=>((T=T||{})[T.Default=0]="Default",T[T.Host=1]="Host",T[T.Self=2]="Self",T[T.SkipSelf=4]="SkipSelf",T[T.Optional=8]="Optional",T))();let Bi;function Ue(e){const t=Bi;return Bi=e,t}function dc(e,t,n){const r=Xr(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&T.Optional?null:void 0!==t?t:void Qr(W(e))}const q=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Kn={},Vi="__NG_DI_FLAG__",eo="ngTempTokenPath",Vm=/\n/gm,fc="__source";let Qn;function sn(e){const t=Qn;return Qn=e,t}function $m(e,t=T.Default){if(void 0===Qn)throw new C(-203,!1);return null===Qn?dc(e,void 0,t):Qn.get(e,t&T.Optional?null:void 0,t)}function B(e,t=T.Default){return(function jm(){return Bi}()||$m)(b(e),t)}function to(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Hi(e){const t=[];for(let n=0;n((Ze=Ze||{})[Ze.OnPush=0]="OnPush",Ze[Ze.Default=1]="Default",Ze))(),st=(()=>{return(e=st||(st={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",st;var e})();const mt={},V=[],no=G({\u0275cmp:G}),$i=G({\u0275dir:G}),Ui=G({\u0275pipe:G}),hc=G({\u0275mod:G}),yt=G({\u0275fac:G}),Jn=G({__NG_ELEMENT_ID__:G});let qm=0;function er(e){return xt(()=>{const n=!0===e.standalone,r={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ze.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||V,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||st.Emulated,id:"c"+qm++,styles:e.styles||V,_:null,setInput:null,schemas:e.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},i=e.dependencies,s=e.features;return o.inputs=yc(e.inputs,r),o.outputs=yc(e.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(gc).filter(mc):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(we).filter(mc):null,o})}function gc(e){return U(e)||ge(e)}function mc(e){return null!==e}function an(e){return xt(()=>({type:e.type,bootstrap:e.bootstrap||V,declarations:e.declarations||V,imports:e.imports||V,exports:e.exports||V,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function yc(e,t){if(null==e)return mt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const ke=er;function U(e){return e[no]||null}function ge(e){return e[$i]||null}function we(e){return e[Ui]||null}const k=11,K=22;function Le(e){return Array.isArray(e)&&"object"==typeof e[1]}function Qe(e){return Array.isArray(e)&&!0===e[1]}function Wi(e){return 0!=(4&e.flags)}function ir(e){return e.componentOffset>-1}function ao(e){return 1==(1&e.flags)}function Xe(e){return null!==e.template}function Km(e){return 0!=(256&e[2])}function Gt(e,t){return e.hasOwnProperty(yt)?e[yt]:null}class Jm{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Cc(e){return e.type.prototype.ngOnChanges&&(e.setInput=ty),ey}function ey(){const e=bc(this),t=e?.current;if(t){const n=e.previous;if(n===mt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ty(e,t,n,r){const o=this.declaredInputs[n],i=bc(e)||function ny(e,t){return e[Ic]=t}(e,{previous:mt,current:null}),s=i.current||(i.current={}),a=i.previous,u=a[o];s[o]=new Jm(u&&u.currentValue,t,a===mt),e[r]=t}const Ic="__ngSimpleChanges__";function bc(e){return e[Ic]||null}function pe(e){for(;Array.isArray(e);)e=e[0];return e}function co(e,t){return pe(t[e])}function je(e,t){return pe(t[e.index])}function Tc(e,t){return e.data[t]}function Be(e,t){const n=t[e];return Le(n)?n:n[0]}function lo(e){return 64==(64&e[2])}function Ot(e,t){return null==t?null:e[t]}function Ac(e){e[18]=0}function Yi(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const N={lFrame:Bc(null),bindingsEnabled:!0};function Pc(){return N.bindingsEnabled}function y(){return N.lFrame.lView}function j(){return N.lFrame.tView}function fo(e){return N.lFrame.contextLView=e,e[8]}function po(e){return N.lFrame.contextLView=null,e}function he(){let e=Fc();for(;null!==e&&64===e.type;)e=e.parent;return e}function Fc(){return N.lFrame.currentTNode}function ut(e,t){const n=N.lFrame;n.currentTNode=e,n.isParent=t}function Zi(){return N.lFrame.isParent}function Ki(){N.lFrame.isParent=!1}function pn(){return N.lFrame.bindingIndex++}function gy(e,t){const n=N.lFrame;n.bindingIndex=n.bindingRootIndex=e,Qi(t)}function Qi(e){N.lFrame.currentDirectiveIndex=e}function Ji(e){N.lFrame.currentQueryIndex=e}function yy(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Lc(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&T.Host||(o=yy(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=N.lFrame=jc();return r.currentTNode=t,r.lView=e,!0}function es(e){const t=jc(),n=e[1];N.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function jc(){const e=N.lFrame,t=null===e?null:e.child;return null===t?Bc(e):t}function Bc(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Vc(){const e=N.lFrame;return N.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Hc=Vc;function ts(){const e=Vc();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 Ie(){return N.lFrame.selectedIndex}function zt(e){N.lFrame.selectedIndex=e}function ho(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class ar{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function os(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let is=!0;function vo(e){const t=is;return is=e,t}let Py=0;const ct={};function _o(e,t){const n=Zc(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,ss(r.data,e),ss(t,null),ss(r.blueprint,null));const o=as(e,t),i=e.injectorIndex;if(Wc(o)){const s=yo(o),a=Do(o,t),u=a[1].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function ss(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zc(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function as(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=nl(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function us(e,t,n){!function Fy(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Jn)&&(r=n[Jn]),null==r&&(r=n[Jn]=Py++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:Ry:t}(n);if("function"==typeof i){if(!Lc(t,e,r))return r&T.Host?Kc(o,0,r):Qc(t,n,r,o);try{const s=i(r);if(null!=s||r&T.Optional)return s;Qr()}finally{Hc()}}else if("number"==typeof i){let s=null,a=Zc(e,t),u=-1,c=r&T.Host?t[16][6]:null;for((-1===a||r&T.SkipSelf)&&(u=-1===a?as(e,t):t[a+8],-1!==u&&tl(r,!1)?(s=t[1],a=yo(u),t=Do(u,t)):a=-1);-1!==a;){const l=t[1];if(el(i,a,l.data)){const d=Oy(a,t,n,s,r,c);if(d!==ct)return d}u=t[a+8],-1!==u&&tl(r,t[1].data[a+8]===c)&&el(i,a,t)?(s=l,a=yo(u),t=Do(u,t)):a=-1}}return o}function Oy(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],l=function wo(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,l=i>>20,f=o?a+l:e.directiveEnd;for(let p=r?a:a+l;p=u&&h.type===n)return p}if(o){const p=s[u];if(p&&Xe(p)&&p.type===n)return u}return null}(a,s,n,null==r?ir(a)&&is:r!=s&&0!=(3&a.type),o&T.Host&&i===a);return null!==l?Wt(t,s,l,a):ct}function Wt(e,t,n,r){let o=e[n];const i=t.data;if(function My(e){return e instanceof ar}(o)){const s=o;s.resolving&&function Nm(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,`Circular dependency in DI detected for ${e}${n}`)}(function H(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():A(e)}(i[n]));const a=vo(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?Ue(s.injectImpl):null;Lc(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function by(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Cc(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==u&&Ue(u),vo(a),s.resolving=!1,Hc()}}return o}function el(e,t,n){return!!(n[t+(e>>5)]&1<{const r=function ds(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,c,l){const d=u.hasOwnProperty(yn)?u[yn]:Object.defineProperty(u,yn,{value:[]})[yn];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class R{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Z({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function qt(e,t){e.forEach(n=>Array.isArray(n)?qt(n,t):t(n))}function ol(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Eo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function dr(e,t){const n=[];for(let r=0;r=0?e[1|r]=n:(r=~r,function $y(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function ps(e,t){const n=_n(e,t);if(n>=0)return e[1|n]}function _n(e,t){return function il(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<((Ne=Ne||{})[Ne.Important=1]="Important",Ne[Ne.DashCase=2]="DashCase",Ne))();const vs=new Map;let lD=0;const ws="__ngContext__";function De(e,t){Le(t)?(e[ws]=t[20],function fD(e){vs.set(e[20],e)}(t)):e[ws]=t}function Cs(e,t){return undefined(e,t)}function gr(e){const t=e[3];return Qe(t)?t[3]:t}function Is(e){return bl(e[13])}function bs(e){return bl(e[4])}function bl(e){for(;null!==e&&!Qe(e);)e=e[4];return e}function En(e,t,n,r,o){if(null!=r){let i,s=!1;Qe(r)?i=r:Le(r)&&(s=!0,r=r[0]);const a=pe(r);0===e&&null!==n?null==o?Pl(t,n,a):Yt(t,n,a,o||null,!0):1===e&&null!==n?Yt(t,n,a,o||null,!0):2===e?function Fs(e,t,n){const r=To(e,t);r&&function FD(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function kD(e,t,n,r,o){const i=n[7];i!==pe(n)&&En(t,e,r,i,o);for(let a=10;a0&&(e[n-1][4]=r[4]);const i=Eo(e,10+t);!function ID(e,t){mr(e,t,t[k],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Tl(e,t){if(!(128&t[2])){const n=t[k];n.destroyNode&&mr(e,t,n,3,null,null),function MD(e){let t=e[13];if(!t)return As(e[1],e);for(;t;){let n=null;if(Le(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Le(t)&&As(t[1],t),t=t[3];null===t&&(t=e),Le(t)&&As(t[1],t),n=t&&t[4]}t=n}}(t)}}function As(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function PD(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o=s]():r[o=-s].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===st.None||i===st.Emulated)return null}return je(r,n)}}(e,t.parent,n)}function Yt(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Pl(e,t,n){e.appendChild(t,n)}function Fl(e,t,n,r,o){null!==r?Yt(e,t,n,r,o):Pl(e,t,n)}function To(e,t){return e.parentNode(t)}function xl(e,t,n){return kl(e,t,n)}let ks,kl=function Ol(e,t,n){return 40&e.type?je(e,n):null};function Ao(e,t,n,r){const o=Al(e,r,t),i=t[k],a=xl(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u{const s=i;Hs(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&id(o,n),n}function id(e,t){for(let n=0;n{t.push(i)})}}function Hs(e,t,n,r){if(!(e=b(e)))return!1;let o=null,i=cc(e);const s=!i&&U(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=cc(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of u)Hs(c,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{qt(i.imports,l=>{Hs(l,t,n,r)&&(c||(c=[]),c.push(l))})}finally{}void 0!==c&&id(c,t)}if(!a){const c=Gt(o)||(()=>new o);t.push({provide:o,useFactory:c,deps:V},{provide:nd,useValue:o,multi:!0},{provide:ed,useValue:()=>B(o),multi:!0})}const u=i.providers;null==u||a||$s(u,l=>{t.push(l)})}}return o!==e&&void 0!==e.providers}function $s(e,t){for(let n of e)Li(n)&&(n=n.\u0275providers),Array.isArray(n)?$s(n,t):t(n)}const fv=G({provide:String,useValue:G});function Us(e){return null!==e&&"object"==typeof e&&fv in e}function Kt(e){return"function"==typeof e}const Gs=new R("Set Injector scope."),Oo={},hv={};let zs;function ko(){return void 0===zs&&(zs=new rd),zs}class Cn{}class ud extends Cn{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,qs(t,s=>this.processProvider(s)),this.records.set(td,In(void 0,this)),o.has("environment")&&this.records.set(Cn,In(void 0,this));const i=this.records.get(Gs);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(nd.multi,V,T.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=sn(this),r=Ue(void 0);try{return t()}finally{sn(n),Ue(r)}}get(t,n=Kn,r=T.Default){this.assertNotDestroyed(),r=to(r);const o=sn(this),i=Ue(void 0);try{if(!(r&T.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function vv(e){return"function"==typeof e||"object"==typeof e&&e instanceof R}(t)&&Xr(t);a=u&&this.injectableDefInScope(u)?In(Ws(t),Oo):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&T.Self?ko():this.parent).get(t,n=r&T.Optional&&n===Kn?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[eo]=s[eo]||[]).unshift(W(t)),o)throw s;return function zm(e,t,n,r){const o=e[eo];throw t[fc]&&o.unshift(t[fc]),e.message=function Wm(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=W(t);if(Array.isArray(t))o=t.map(W).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):W(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Vm,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[eo]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{Ue(i),sn(o)}}resolveInjectorInitializers(){const t=sn(this),n=Ue(void 0);try{const r=this.get(ed.multi,V,T.Self);for(const o of r)o()}finally{sn(t),Ue(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(W(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new C(205,!1)}processProvider(t){let n=Kt(t=b(t))?t:b(t&&t.provide);const r=function mv(e){return Us(e)?In(void 0,e.useValue):In(function cd(e,t,n){let r;if(Kt(e)){const o=b(e);return Gt(o)||Ws(o)}if(Us(e))r=()=>b(e.useValue);else if(function ad(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Hi(e.deps||[]));else if(function sd(e){return!(!e||!e.useExisting)}(e))r=()=>B(b(e.useExisting));else{const o=b(e&&(e.useClass||e.provide));if(!function yv(e){return!!e.deps}(e))return Gt(o)||Ws(o);r=()=>new o(...Hi(e.deps))}return r}(e),Oo)}(t);if(Kt(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=In(void 0,Oo,!0),o.factory=()=>Hi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Oo&&(n.value=hv,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Dv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=b(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Ws(e){const t=Xr(e),n=null!==t?t.factory:Gt(e);if(null!==n)return n;if(e instanceof R)throw new C(204,!1);if(e instanceof Function)return function gv(e){const t=e.length;if(t>0)throw dr(t,"?"),new C(204,!1);const n=function km(e){const t=e&&(e[Jr]||e[lc]);if(t){const n=function Rm(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new C(204,!1)}function In(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function qs(e,t){for(const n of e)Array.isArray(n)?qs(n,t):n&&Li(n)?qs(n.\u0275providers,t):t(n)}class _v{}class ld{}class Ev{resolveComponentFactory(t){throw function wv(e){const t=Error(`No component factory found for ${W(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ro=(()=>{class e{}return e.NULL=new Ev,e})();function Cv(){return bn(he(),y())}function bn(e,t){return new Sn(je(e,t))}let Sn=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Cv,e})();class fd{}let pd=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function bv(){const e=y(),n=Be(he().index,e);return(Le(n)?n:e)[k]}(),e})(),Sv=(()=>{class e{}return e.\u0275prov=Z({token:e,providedIn:"root",factory:()=>null}),e})();class Ys{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Mv=new Ys("15.1.4"),Zs={};function Qs(e){return e.ngOriginalError}class Mn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Qs(t);for(;n&&Qs(n);)n=Qs(n);return n||null}}function gd(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const md="ng-template";function jv(e,t,n){let r=0;for(;ri?"":o[d+1].toLowerCase();const p=8&r?f:null;if(p&&-1!==gd(p,c,0)||2&r&&c!==f){if(Je(r))return!1;s=!0}}}}else{if(!s&&!Je(r)&&!Je(u))return!1;if(s&&Je(u))continue;s=!1,r=u|1&r}}return Je(r)||s}function Je(e){return 0==(1&e)}function Hv(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Je(s)&&(t+=vd(i,o),o=""),r=s,i=i||!Je(r);n++}return""!==o&&(t+=vd(i,o)),t}const P={};function Qt(e){_d(j(),y(),Ie()+e,!1)}function _d(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&go(t,i,n)}else{const i=e.preOrderHooks;null!==i&&mo(t,i,0,n)}zt(n)}function Id(e,t=null,n=null,r){const o=bd(e,t,n,r);return o.resolveInjectorInitializers(),o}function bd(e,t=null,n=null,r,o=new Set){const i=[n||V,dv(e)];return r=r||("object"==typeof e?void 0:W(e)),new ud(i,t||ko(),r||null,o)}let Xt=(()=>{class e{static create(n,r){if(Array.isArray(n))return Id({name:""},r,n,"");{const o=n.name??"";return Id({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Kn,e.NULL=new rd,e.\u0275prov=Z({token:e,providedIn:"any",factory:()=>B(td)}),e.__NG_ELEMENT_ID__=-1,e})();function F(e,t=T.Default){const n=y();return null===n?B(e,t):Xc(he(),n,b(e),t)}function Fd(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;rK&&_d(e,t,K,!1),n(r,o)}finally{zt(i)}}function oa(e,t,n){if(Wi(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,_r(e,n,o.hostVars,P),o)}function x_(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let u=0;u0&&da(n)}}function da(e){for(let r=Is(e);null!==r;r=bs(r))for(let o=10;o0&&da(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&da(o)}}function j_(e,t){const n=Be(t,e),r=n[1];(function B_(e,t){for(let n=t.length;n-1&&(Ts(t,r),Eo(n,r))}this._attachedToViewContainer=!1}Tl(this._lView[1],this._lView)}onDestroy(t){!function kd(e,t,n,r){const o=$d(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&Ud(e).push(r,o.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){fa(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Ho(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function SD(e,t){mr(e,t,t[k],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t}}class V_ extends wr{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ho(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Wd extends Ro{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=U(t);return new Er(n,this.ngModule)}}function qd(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class $_{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=to(r);const o=this.injector.get(t,Zs,r);return o!==Zs||n===Zs?o:this.parentInjector.get(t,n,r)}}class Er extends ld{get inputs(){return qd(this.componentDef.inputs)}get outputs(){return qd(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function qv(e){return e.map(Wv).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Cn?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new $_(t,i):t,a=s.get(fd,null);if(null===a)throw new C(407,!1);const u=s.get(Sv,null),c=a.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",d=r?function D_(e,t,n){return e.selectRootElement(t,n===st.ShadowDom)}(c,r,this.componentDef.encapsulation):Ms(c,l,function H_(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(l)),f=this.componentDef.onPush?288:272,p=aa(0,null,null,1,0,null,null,null,null,null),h=jo(null,p,null,f,null,null,a,c,u,s,null);let g,D;es(h);try{const v=this.componentDef;let E,m=null;v.findHostDirectiveDefs?(E=[],m=new Map,v.findHostDirectiveDefs(v,E,m),E.push(v)):E=[v];const M=function G_(e,t){const n=e[1];return e[22]=t,Nn(n,22,2,"#host",null)}(h,d),z=function z_(e,t,n,r,o,i,s,a){const u=o[1];!function W_(e,t,n,r){for(const o of e)t.mergedAttrs=ur(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&($o(t,t.mergedAttrs,!0),null!==n&&Vl(r,n,t))}(r,e,t,s);const c=i.createRenderer(t,n),l=jo(o,Od(n),null,n.onPush?32:16,o[e.index],e,i,c,a||null,null,null);return u.firstCreatePass&&ca(u,e,r.length-1),Vo(o,l),o[e.index]=l}(M,d,v,E,h,a,c);D=Tc(p,K),d&&function Y_(e,t,n,r){if(r)os(e,n,["ng-version",Mv.full]);else{const{attrs:o,classes:i}=function Yv(e){const t=[],n=[];let r=1,o=2;for(;r0&&Bl(e,n,i.join(" "))}}(c,v,d,r),void 0!==n&&function Z_(e,t,n){const r=e.projection=[];for(let o=0;os(pe(M[r.index])):r.index;let m=null;if(!s&&a&&(m=function mw(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;iu?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=i,m.__ngLastListenerFn__=i,f=!1;else{i=yf(r,t,l,i,!1);const M=n.listen(D,o,i);d.push(i,M),c&&c.push(o,E,v,v+1)}}else i=yf(r,t,l,i,!1);const p=r.outputs;let h;if(f&&null!==p&&(h=p[o])){const g=h.length;if(g)for(let D=0;D-1?Be(e.index,t):t);let u=mf(t,0,r,s),c=i.__ngNextListenerFn__;for(;c;)u=mf(t,0,c,s)&&u,c=c.__ngNextListenerFn__;return o&&!1===u&&(s.preventDefault(),s.returnValue=!1),u}}function Ir(e=1){return function Dy(e){return(N.lFrame.contextLView=function vy(e,t){for(;e>0;)t=t[15],e--;return t}(e,N.lFrame.contextLView))[8]}(e)}function yw(e,t){let n=null;const r=function $v(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let o=0;o>17&32767}function Ca(e){return 2|e}function nn(e){return(131068&e)>>2}function Ia(e,t){return-131069&e|t<<2}function ba(e){return 1|e}function Af(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?Rt(i):nn(i),u=!1;for(;0!==a&&(!1===u||s);){const l=e[a+1];Cw(e[a],t)&&(u=!0,e[a+1]=r?ba(l):Ca(l)),a=r?Rt(l):nn(l)}u&&(e[n+1]=r?Ca(i):ba(i))}function Cw(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&_n(e,t)>=0}const le={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Nf(e){return e.substring(le.key,le.keyEnd)}function Pf(e,t){const n=le.textEnd;return n===t?-1:(t=le.keyEnd=function Mw(e,t,n){for(;t32;)t++;return t}(e,le.key=t,n),Vn(e,t,n))}function Vn(e,t,n){for(;t0)&&(c=!0)):l=n,o)if(0!==u){const f=Rt(e[a+1]);e[r+1]=qo(f,a),0!==f&&(e[f+1]=Ia(e[f+1],r)),e[a+1]=function vw(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=qo(a,0),0!==a&&(e[a+1]=Ia(e[a+1],r)),a=r;else e[r+1]=qo(u,0),0===a?a=r:e[u+1]=Ia(e[u+1],r),u=r;c&&(e[r+1]=Ca(e[r+1])),Af(e,l,r,!0),Af(e,l,r,!1),function Ew(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&_n(i,t)>=0&&(n[r+1]=ba(n[r+1]))}(t,l,e,r,i),s=qo(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(o,null,i,r);const s=y();if(n!==P&&ve(s,i,n)){const a=o.data[Ie()];if(Uf(a,r)&&!jf(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;null!==u&&(n=Oi(u,n||"")),ya(o,a,s,n,r)}else!function Rw(e,t,n,r,o,i,s,a){o===P&&(o=V);let u=0,c=0,l=0=0;n=Pf(t,n))Ve(e,Nf(t),!0)}function jf(e,t){return t>=e.expandoStartIndex}function Sa(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=null===l;let f=n[o+1];f===P&&(f=d?V:void 0);let p=d?ps(f,r):l===r?f:void 0;if(c&&!Zo(p)&&(p=ps(u,r)),Zo(p)&&(a=p,s))return a;const h=e[o+1];o=s?Rt(h):nn(h)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=ps(u,r))}return a}function Zo(e){return void 0!==e}function Uf(e,t){return 0!=(e.flags&(t?8:16))}function ht(e,t=""){const n=y(),r=j(),o=e+K,i=r.firstCreatePass?Nn(r,o,1,t,null):r.data[o],s=n[o]=function Ss(e,t){return e.createText(t)}(n[k],t);Ao(r,n,s,i),ut(i,!1)}function Ma(e){return Ko("",e,""),Ma}function Ko(e,t,n){const r=y(),o=function Fn(e,t,n,r){return ve(e,pn(),n)?t+A(n)+r:P}(r,e,t,n);return o!==P&&function Ct(e,t,n){const r=co(t,e);!function Sl(e,t,n){e.setValue(t,n)}(e[k],r,n)}(r,Ie(),o),Ko}const $n="en-US";let dp=$n;class Un{}class rC{}class Lp extends Un{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Wd(this);const r=function Re(e,t){const n=e[hc]||null;if(!n&&!0===t)throw new Error(`Type ${W(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function Et(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=bd(t,n,[{provide:Un,useValue:this},{provide:Ro,useValue:this.componentFactoryResolver}],W(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Oa extends rC{constructor(t){super(),this.moduleType=t}create(t){return new Lp(this.moduleType,t)}}function zp(e,t,n){const r=function Ce(){const e=N.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}()+e,o=y();return o[r]===P?function dt(e,t,n){return e[t]=n}(o,r,n?t.call(n):t()):function Cr(e,t){return e[t]}(o,r)}function Ra(e){return t=>{setTimeout(e,void 0,t)}}const fe=class FC extends Ai{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Ra(i),o&&(o=Ra(o)),s&&(s=Ra(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof it&&t.add(a),a}};let bt=(()=>{class e{}return e.__NG_ELEMENT_ID__=RC,e})();const OC=bt,kC=class extends OC{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=jo(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(r)),ra(r,o,t),new wr(o)}};function RC(){return function ti(e,t){return 4&e.type?new kC(t,e,bn(e,t)):null}(he(),y())}let gt=(()=>{class e{}return e.__NG_ELEMENT_ID__=LC,e})();function LC(){return function Jp(e,t){let n;const r=t[e.index];if(Qe(r))n=r;else{let o;if(8&e.type)o=pe(r);else{const i=t[k];o=i.createComment("");const s=je(e,t);Yt(i,To(i,s),o,function xD(e,t){return e.nextSibling(t)}(i,s),!1)}t[e.index]=n=Hd(r,t,o,e),Vo(t,n)}return new Qp(n,e,t)}(he(),y())}const jC=gt,Qp=class extends jC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return bn(this._hostTNode,this._hostLView)}get injector(){return new gn(this._hostTNode,this._hostLView)}get parentInjector(){const t=as(this._hostTNode,this._hostLView);if(Wc(t)){const n=Do(t,this._hostLView),r=yo(t);return new gn(n[1].data[r+8],n)}return new gn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Xp(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=t.createEmbeddedView(n||{},i);return this.insert(s,o),s}createComponent(t,n,r,o,i){const s=t&&!function lr(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.environmentInjector||d.ngModuleRef}const u=s?t:new Er(U(t)),c=r||this.parentInjector;if(!i&&null==u.ngModule){const f=(s?c:this.parentInjector).get(Cn,null);f&&(i=f)}const l=u.create(c,o,void 0,i);return this.insert(l.hostView,a),l}insert(t,n){const r=t._lView,o=r[1];if(function ay(e){return Qe(e[3])}(r)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const d=r[3],f=new Qp(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function TD(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r{class e{constructor(n){this.appInits=n,this.resolve=ri,this.reject=ri,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{i.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(B(Ch,8))},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Or=new R("AppId",{providedIn:"root",factory:function Ih(){return`${Ya()}${Ya()}${Ya()}`}});function Ya(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const bh=new R("Platform Initializer"),Sh=new R("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),gI=new R("appBootstrapListener"),St=new R("LocaleId",{providedIn:"root",factory:()=>function Um(e,t=T.Default){return B(e,to(t))}(St,T.Optional|T.SkipSelf)||function mI(){return typeof $localize<"u"&&$localize.locale||$n}()}),wI=(()=>Promise.resolve(0))();function Za(e){typeof Zone>"u"?wI.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class _e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new fe(!1),this.onMicrotaskEmpty=new fe(!1),this.onStable=new fe(!1),this.onError=new fe(!1),typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function EI(){let e=q.requestAnimationFrame,t=q.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function bI(e){const t=()=>{!function II(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(q,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Qa(e),e.isCheckStableRunning=!0,Ka(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Qa(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return Ah(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Nh(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Ah(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Nh(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Qa(e),Ka(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!_e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(_e.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,CI,ri,ri);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)}}const CI={};function Ka(e){if(0==e._nesting&&!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 Qa(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Ah(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Nh(e){e._nesting--,Ka(e)}class SI{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new fe,this.onMicrotaskEmpty=new fe,this.onStable=new fe,this.onError=new fe}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)}}const Ph=new R(""),ii=new R("");let eu,Xa=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,eu||(function MI(e){eu=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{_e.assertNotInAngularZone(),Za(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Za(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(B(_e),B(Ja),B(ii))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})(),Ja=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return eu?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Lt=null;const Fh=new R("AllowMultipleToken"),tu=new R("PlatformDestroyListeners");function Oh(e,t,n=[]){const r=`Platform: ${t}`,o=new R(r);return(i=[])=>{let s=nu();if(!s||s.injector.get(Fh,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function NI(e){if(Lt&&!Lt.get(Fh,!1))throw new C(400,!1);Lt=e;const t=e.get(Rh);(function xh(e){const t=e.get(bh,null);t&&t.forEach(n=>n())})(e)}(function kh(e=[],t){return Xt.create({name:t,providers:[{provide:Gs,useValue:"platform"},{provide:tu,useValue:new Set([()=>Lt=null])},...e]})}(a,r))}return function FI(e){const t=nu();if(!t)throw new C(401,!1);return t}()}}function nu(){return Lt?.get(Rh)??null}let Rh=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function jh(e,t){let n;return n="noop"===e?new SI:("zone.js"===e?void 0:e)||new _e(t),n}(r?.ngZone,function Lh(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:_e,useValue:o}];return o.run(()=>{const s=Xt.create({providers:i,parent:this.injector,name:n.moduleType.name}),a=n.create(s),u=a.injector.get(Mn,null);if(!u)throw new C(402,!1);return o.runOutsideAngular(()=>{const c=o.onError.subscribe({next:l=>{u.handleError(l)}});a.onDestroy(()=>{si(this._modules,a),c.unsubscribe()})}),function Bh(e,t,n){try{const r=n();return wa(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(u,o,()=>{const c=a.injector.get(oi);return c.runInitializers(),c.donePromise.then(()=>(function fp(e){$e(e,"Expected localeId to be defined"),"string"==typeof e&&(dp=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(St,$n)||$n),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=Vh({},r);return function TI(e,t,n){const r=new Oa(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(ru);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new C(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new C(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(tu,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(B(Xt))},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Vh(e,t){return Array.isArray(t)?t.reduce(Vh,e):{...e,...t}}let ru=(()=>{class e{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new Te(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Te(a=>{let u;this._zone.runOutsideAngular(()=>{u=this._zone.onStable.subscribe(()=>{_e.assertNotInAngularZone(),Za(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{_e.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{u.unsubscribe(),c.unsubscribe()}});this.isStable=Mm(i,s.pipe(function Tm(e={}){const{connector:t=(()=>new Ai),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=u=void 0,l=d=!1},h=()=>{const g=s;p(),g?.unsubscribe()};return Zn((g,D)=>{c++,!d&&!l&&f();const v=u=u??t();D.add(()=>{c--,0===c&&!d&&!l&&(a=Fi(h,o))}),v.subscribe(D),!s&&c>0&&(s=new Yn({next:E=>v.next(E),error:E=>{d=!0,f(),a=Fi(p,n,E),v.error(E)},complete:()=>{l=!0,f(),a=Fi(p,r),v.complete()}}),Nt(g).subscribe(s))})(i)}}()))}bootstrap(n,r){const o=n instanceof ld;if(!this._injector.get(oi).done)throw!o&&function tr(e){const t=U(e)||ge(e)||we(e);return null!==t&&t.standalone}(n),new C(405,false);let s;s=o?n:this._injector.get(Ro).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function AI(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Un),c=s.create(Xt.NULL,[],r||s.selector,a),l=c.location.nativeElement,d=c.injector.get(Ph,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),si(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new C(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;si(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(gI,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>si(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(B(_e),B(Cn),B(Mn))},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function si(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class zh{constructor(){}supports(t){return zo(t)}create(t){return new $I(t)}}const HI=(e,t)=>t;class $I{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||HI}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new UI(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new Wh),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Wh),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class UI{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class GI{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class Wh{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new GI,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function qh(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;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){const 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)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new WI(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;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;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){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?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))}}class WI{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Zh(){return new ci([new zh])}let ci=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Zh()),deps:[[e,new bo,new Io]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new C(901,!1)}}return e.\u0275prov=Z({token:e,providedIn:"root",factory:Zh}),e})();function Kh(){return new kr([new Yh])}let kr=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Kh()),deps:[[e,new bo,new Io]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new C(901,!1)}}return e.\u0275prov=Z({token:e,providedIn:"root",factory:Kh}),e})();const ZI=Oh(null,"core",[]);let KI=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(B(ru))},e.\u0275mod=an({type:e}),e.\u0275inj=$t({}),e})(),uu=null;function Rr(){return uu}class JI{}const Tt=new R("DocumentToken"),Du=/\s+/,sg=[];let ag=(()=>{class e{constructor(n,r,o,i){this._iterableDiffers=n,this._keyValueDiffers=r,this._ngEl=o,this._renderer=i,this.initialClasses=sg,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split(Du):sg}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(Du):n}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const r of n)this._updateState(r,!0);else if(null!=n)for(const r of Object.keys(n))this._updateState(r,Boolean(n[r]));this._applyStateDiff()}_updateState(n,r){const o=this.stateMap.get(n);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const 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()).length>0&&n.split(Du).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return e.\u0275fac=function(n){return new(n||e)(F(ci),F(kr),F(Sn),F(pd))},e.\u0275dir=ke({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})(),dg=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new Ub,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){fg("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){fg("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(F(gt),F(bt))},e.\u0275dir=ke({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class Ub{constructor(){this.$implicit=null,this.ngIf=null}}function fg(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${W(t)}'.`)}let hg=(()=>{class e{constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){const n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){const[o,i]=n.split("."),s=-1===o.indexOf("-")?void 0:Ne.DashCase;null!=r?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_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))}}return e.\u0275fac=function(n){return new(n||e)(F(Sn),F(kr),F(pd))},e.\u0275dir=ke({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),e})(),mg=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=an({type:e}),e.\u0275inj=$t({}),e})();class q0 extends JI{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Su extends q0{static makeCurrent(){!function XI(e){uu||(uu=e)}(new Su)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function Y0(){return Vr=Vr||document.querySelector("base"),Vr?Vr.getAttribute("href"):null}();return null==n?null:function Z0(e){_i=_i||document.createElement("a"),_i.setAttribute("href",e);const t=_i.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Vr=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function jb(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let _i,Vr=null;const Cg=new R("TRANSITION_ID"),Q0=[{provide:Ch,useFactory:function K0(e,t,n){return()=>{n.get(oi).donePromise.then(()=>{const r=Rr(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})();const wi=new R("EventManagerPlugins");let Ei=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})(),Hr=(()=>{class e extends bg{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(Sg),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(Sg))}}return e.\u0275fac=function(n){return new(n||e)(B(Tt))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})();function Sg(e){Rr().remove(e)}const Mu={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Tu=/%COMP%/g;function Au(e,t){return t.flat(100).map(n=>n.replace(Tu,e))}function Ag(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Nu=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new Pu(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case st.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new iS(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case st.ShadowDom:return new sS(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=Au(r.id,r.styles);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(B(Ei),B(Hr),B(Or))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})();class Pu{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(Mu[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(Pg(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Pg(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Mu[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Mu[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Ne.DashCase|Ne.Important)?t.style.setProperty(n,r,o&Ne.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Ne.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,Ag(r)):this.eventManager.addEventListener(t,n,Ag(r))}}function Pg(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class iS extends Pu{constructor(t,n,r,o){super(t),this.component=r;const i=Au(o+"-"+r.id,r.styles);n.addStyles(i),this.contentAttr=function nS(e){return"_ngcontent-%COMP%".replace(Tu,e)}(o+"-"+r.id),this.hostAttr=function rS(e){return"_nghost-%COMP%".replace(Tu,e)}(o+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class sS extends Pu{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=Au(o.id,o.styles);for(let s=0;s{class e extends Ig{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(B(Tt))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})();const Fg=["alt","control","meta","shift"],uS={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},cS={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let lS=(()=>{class e extends Ig{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Rr().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Fg.forEach(c=>{const l=r.indexOf(c);l>-1&&(r.splice(l,1),s+=c+".")}),s+=i,0!=r.length||0===i.length)return null;const u={};return u.domEventName=o,u.fullKey=s,u}static matchEventFullKeyCode(n,r){let o=uS[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Fg.forEach(s=>{s!==o&&(0,cS[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(B(Tt))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})();const hS=Oh(ZI,"browser",[{provide:Sh,useValue:"browser"},{provide:bh,useValue:function dS(){Su.makeCurrent()},multi:!0},{provide:Tt,useFactory:function pS(){return function HD(e){ks=e}(document),document},deps:[]}]),kg=new R(""),Rg=[{provide:ii,useClass:class X0{addToWindow(t){q.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},q.getAllAngularTestabilities=()=>t.getAllTestabilities(),q.getAllAngularRootElements=()=>t.getAllRootElements(),q.frameworkStabilizers||(q.frameworkStabilizers=[]),q.frameworkStabilizers.push(r=>{const o=q.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Rr().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Ph,useClass:Xa,deps:[_e,Ja,ii]},{provide:Xa,useClass:Xa,deps:[_e,Ja,ii]}],Lg=[{provide:Gs,useValue:"root"},{provide:Mn,useFactory:function fS(){return new Mn},deps:[]},{provide:wi,useClass:aS,multi:!0,deps:[Tt,_e,Sh]},{provide:wi,useClass:lS,multi:!0,deps:[Tt]},{provide:Nu,useClass:Nu,deps:[Ei,Hr,Or]},{provide:fd,useExisting:Nu},{provide:bg,useExisting:Hr},{provide:Hr,useClass:Hr,deps:[Tt]},{provide:Ei,useClass:Ei,deps:[wi,_e]},{provide:class _0{},useClass:J0,deps:[]},[]];let gS=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Or,useValue:n.appId},{provide:Cg,useExisting:Or},Q0]}}}return e.\u0275fac=function(n){return new(n||e)(B(kg,12))},e.\u0275mod=an({type:e}),e.\u0275inj=$t({providers:[...Lg,...Rg],imports:[mg,KI]}),e})();function Vg(e,t,n,r,o,i,s){try{var a=e[i](s),u=a.value}catch(c){return void n(c)}a.done?t(u):Promise.resolve(u).then(r,o)}function $r(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function s(u){Vg(i,r,o,s,a,"next",u)}function a(u){Vg(i,r,o,s,a,"throw",u)}s(void 0)})}}typeof window<"u"&&window;const bS=["*"],Hg=new R("paystack.publickey");let Ci=(()=>{class e{constructor(n){this.token=n}loadScript(){return new Promise(n=>{if(window.PaystackPop&&"function"==typeof window.PaystackPop.setup)return void n();const r=window.document.createElement("script");window.document.head.appendChild(r);const o=()=>{r.removeEventListener("load",o),n()};r.addEventListener("load",o),r.setAttribute("src","https://js.paystack.co/v1/inline.js")})}checkInput(n){return n.key||this.token?n.email?n.amount?n.ref?"":"ANGULAR-PAYSTACK: Paystack ref cannot be empty":"ANGULAR-PAYSTACK: Paystack amount cannot be empty":"ANGULAR-PAYSTACK: Paystack email cannot be empty":"ANGULAR-PAYSTACK: Please insert a your public key"}getPaystackOptions(n){return{key:n.key||this.token,email:n.email,amount:n.amount,ref:n.ref,metadata:n.metadata||{},currency:n.currency||"NGN",plan:n.plan||"",channels:n.channels,quantity:n.quantity||"",subaccount:n.subaccount||"",transaction_charge:n.transaction_charge||0,bearer:n.bearer||"",split_code:n.split_code||""}}}return e.\u0275fac=function(n){return new(n||e)(B(Hg))},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),SS=(()=>{class e{constructor(n){this.paystackService=n,this.paymentInit=new fe,this.onClose=new fe,this.callback=new fe,this.isPaying=!1}pay(){var n=this;return $r(function*(){let r="";return n.paystackOptions&&Object.keys(n.paystackOptions).length>=2?(r=n.valdateInput(n.paystackOptions),n.generateOptions(n.paystackOptions)):(r=n.valdateInput(n),n.generateOptions(n)),r?(console.error(r),r):(yield n.paystackService.loadScript(),n.isPaying?void 0:(n.paymentInit.observers.length&&n.paymentInit.emit(),window.PaystackPop.setup(n._paystackOptions).openIframe(),n.isPaying=!0,""))})()}valdateInput(n){return this.callback.observers.length?this.paystackService.checkInput(n):"ANGULAR-PAYSTACK: Insert a callback output like so (callback)='PaymentComplete($event)' to check payment status"}generateOptions(n){this._paystackOptions=this.paystackService.getPaystackOptions(n),this._paystackOptions.onClose=()=>{this.onClose.observers.length&&(this.isPaying=!1,this.onClose.emit())},this._paystackOptions.callback=(...r)=>{this.isPaying=!1,this.callback.emit(...r)}}}return e.\u0275fac=function(n){return new(n||e)(F(Ci))},e.\u0275cmp=er({type:e,selectors:[["angular4-paystack"]],inputs:{key:"key",email:"email",amount:"amount",metadata:"metadata",ref:"ref",currency:"currency",plan:"plan",quantity:"quantity",channels:"channels",split_code:"split_code",subaccount:"subaccount",transaction_charge:"transaction_charge",bearer:"bearer",class:"class",style:"style",paystackOptions:"paystackOptions"},outputs:{paymentInit:"paymentInit",onClose:"onClose",callback:"callback"},ngContentSelectors:bS,decls:2,vars:2,consts:[[3,"ngClass","ngStyle","click"]],template:function(n,r){1&n&&(function Df(e){const t=y()[16][6];if(!t.projection){const r=t.projection=dr(e?e.length:1,null),o=r.slice();let i=t.child;for(;null!==i;){const s=e?yw(i,e):0;null!==s&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i),i=i.next}}}(),Fe(0,"button",0),It("click",function(){return r.pay()}),function vf(e,t=0,n){const r=y(),o=j(),i=Nn(o,K+e,16,null,n||null);null===i.projection&&(i.projection=t),Ki(),32!=(32&i.flags)&&function OD(e,t,n){jl(t[k],0,t,n,Al(e,n,t),xl(n.parent||t[6],n,t))}(o,r,i)}(1),be()),2&n&&tn("ngClass",r.class)("ngStyle",r.style)},dependencies:[ag,hg],encapsulation:2}),e})(),MS=(()=>{class e{constructor(n){this.paystackService=n,this.paymentInit=new fe,this.onClose=new fe,this.callback=new fe,this.isPaying=!1}pay(){var n=this;return $r(function*(){let r="";return n.paystackOptions&&Object.keys(n.paystackOptions).length>=2?(r=n.valdateInput(n.paystackOptions),n.generateOptions(n.paystackOptions)):(r=n.valdateInput(n),n.generateOptions(n)),r?(console.error(r),r):(yield n.paystackService.loadScript(),n.isPaying?void 0:(n.paymentInit.observers.length&&n.paymentInit.emit(),window.PaystackPop.setup(n._paystackOptions).openIframe(),n.isPaying=!0,""))})()}valdateInput(n){return this.callback.observers.length?this.paystackService.checkInput(n):"ANGULAR-PAYSTACK: Insert a callback output like so (callback)='PaymentComplete($event)' to check payment status"}generateOptions(n){this._paystackOptions=this.paystackService.getPaystackOptions(n),this._paystackOptions.onClose=()=>{this.onClose.observers.length&&(this.isPaying=!1,this.onClose.emit())},this._paystackOptions.callback=(...r)=>{this.isPaying=!1,this.callback.emit(...r)}}buttonClick(){var n=this;return $r(function*(){n.pay()})()}}return e.\u0275fac=function(n){return new(n||e)(F(Ci))},e.\u0275dir=ke({type:e,selectors:[["","angular4-paystack",""]],hostBindings:function(n,r){1&n&&It("click",function(){return r.buttonClick()})},inputs:{key:"key",email:"email",amount:"amount",metadata:"metadata",ref:"ref",currency:"currency",plan:"plan",quantity:"quantity",subaccount:"subaccount",channels:"channels",split_code:"split_code",transaction_charge:"transaction_charge",bearer:"bearer",class:"class",style:"style",paystackOptions:"paystackOptions"},outputs:{paymentInit:"paymentInit",onClose:"onClose",callback:"callback"}}),e})(),TS=(()=>{class e{constructor(n){this.paystackService=n,this.paymentInit=new fe,this.onClose=new fe,this.callback=new fe}pay(){var n=this;return $r(function*(){let r="";return n.paystackOptions&&Object.keys(n.paystackOptions).length>=2?(r=n.valdateInput(n.paystackOptions),n.generateOptions(n.paystackOptions)):(r=n.valdateInput(n),n.generateOptions(n)),r?(console.error(r),r):(yield n.paystackService.loadScript(),n.paymentInit.observers.length&&n.paymentInit.emit(),window.PaystackPop.setup(n._paystackOptions).openIframe(),"")})()}valdateInput(n){return this.callback.observers.length?this.paystackService.checkInput(n):"ANGULAR-PAYSTACK: Insert a callback output like so (callback)='PaymentComplete($event)' to check payment status"}generateOptions(n){this._paystackOptions=this.paystackService.getPaystackOptions(n),this._paystackOptions.onClose=()=>{this.onClose.observers.length&&this.onClose.emit()},this._paystackOptions.callback=(...r)=>{this.callback.emit(...r)}}ngOnInit(){var n=this;return $r(function*(){console.error("ANGULAR-PAYSTACK: The paystack embed option is deprecated. Please use the paystack component or directive"),n.pay()})()}}return e.\u0275fac=function(n){return new(n||e)(F(Ci))},e.\u0275cmp=er({type:e,selectors:[["angular4-paystack-embed"]],inputs:{key:"key",email:"email",amount:"amount",metadata:"metadata",channels:"channels",ref:"ref",currency:"currency",plan:"plan",quantity:"quantity",subaccount:"subaccount",split_code:"split_code",transaction_charge:"transaction_charge",bearer:"bearer",paystackOptions:"paystackOptions"},outputs:{paymentInit:"paymentInit",onClose:"onClose",callback:"callback"},decls:1,vars:0,consts:[["id","paystackEmbedContainer"]],template:function(n,r){1&n&&Da(0,"div",0)},encapsulation:2,changeDetection:0}),e})(),AS=(()=>{class e{static forRoot(n){return{ngModule:e,providers:[Ci,{provide:Hg,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=an({type:e}),e.\u0275inj=$t({imports:[mg]}),e})();const NS=function(){return["card"]};function PS(e,t){if(1&e){const n=function ff(){return y()}();Fe(0,"div")(1,"angular4-paystack-embed",10),It("paymentInit",function(){return fo(n),po(Ir().paymentInit())})("onClose",function(){return fo(n),po(Ir().paymentCancel())})("callback",function(o){return fo(n),po(Ir().paymentDone(o))}),be()()}if(2&e){const n=Ir();Qt(1),Yo("btn btn-primary btn-lg"),tn("email","mailexample@mail.com")("split_code","SPL_K0t6TE0Fmm")("amount",5e6)("ref",n.tRef)("channels",zp(7,NS))}}class Ur{constructor(){this.title="app",this.showEmbed=!1,this.options={amount:5e4,email:"user@mail.com",split_code:"SPL_nZXNafVgCd",ref:`${Math.ceil(1e11*Math.random())}`},this.results={name:""},this.tRef="",this.result=""}toggleEmbed(){this.showEmbed=!this.showEmbed}paymentInit(){console.log("Payment initialized")}paymentDone(t){this.title="Payment successfull",console.log(this.title,t)}paymentCancel(){this.title="Payment failed",console.log(this.title)}setRandomPaymentRef(){this.tRef=""+1e13*Math.random()}ngOnInit(){this.setRandomPaymentRef()}}Ur.\u0275fac=function(t){return new(t||Ur)},Ur.\u0275cmp=er({type:Ur,selectors:[["app-root"]],decls:21,vars:12,consts:[[1,"display-4","py-4","px-1","text-center","bg-primary","text-white"],[1,"text-center","lead"],[1,"container"],[1,"paystack-buttons","text-center","d-md-flex","d-lg-flex","d-xl-flex","justify-content-between"],[3,"email","amount","split_code","ref","paymentInit","onClose","callback"],["angular4-paystack","",1,"btn","btn-danger","m-3",3,"paystackOptions","onClose","paymentInit","callback"],[1,"btn","btn-outline-dark","mr-3",3,"click"],[1,"btn","btn-outline-dark",3,"click"],[1,"text-center","my-3"],[4,"ngIf"],["angular4-paystack","",3,"email","split_code","amount","ref","channels","paymentInit","onClose","callback"]],template:function(t,n){1&t&&(Fe(0,"div",0),ht(1,"Angular4 Paystack"),be(),Fe(2,"div",1),ht(3),be(),Fe(4,"div",2)(5,"div",3)(6,"angular4-paystack",4),It("paymentInit",function(){return n.paymentInit()})("onClose",function(){return n.paymentCancel()})("callback",function(o){return n.paymentDone(o)}),ht(7," Pay With Paystack component "),be(),Fe(8,"button",5),It("onClose",function(){return n.paymentCancel()})("paymentInit",function(){return n.paymentInit()})("callback",function(o){return n.paymentDone(o)}),ht(9," Pay With Paystack Directive "),be()(),Fe(10,"button",6),It("click",function(){return n.toggleEmbed()}),ht(11,"Toggle embed"),be(),Fe(12,"button",7),It("click",function(){return n.setRandomPaymentRef()}),ht(13,"Set random payment Ref"),be(),Fe(14,"h3"),ht(15),be(),Fe(16,"div"),ht(17," You can't have more than one payment Instance at a time. Hide paystack embed to try out paystack directive and paystack component "),be(),Fe(18,"h3",8),ht(19,"Paystack Embed"),be(),function lf(e,t,n,r,o,i,s,a){const u=y(),c=j(),l=e+K,d=c.firstCreatePass?function lw(e,t,n,r,o,i,s,a,u){const c=t.consts,l=Nn(t,e,4,s||null,Ot(c,a));ua(t,n,l,Ot(c,u)),ho(t,l);const d=l.tViews=aa(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}(l,c,u,t,n,r,o,i,s):c.data[l];ut(d,!1);const f=u[k].createComment("");Ao(c,u,f,d),De(f,u),Vo(u,u[l]=Hd(f,u,f,d)),ao(d)&&ia(c,u,d),null!=s&&sa(u,d,a)}(20,PS,2,8,"div",9),be()),2&t&&(Qt(3),Ma(n.title),Qt(3),Yo("btn btn-primary"),tn("email","mailexample@mail.com")("amount",5e4)("split_code","SPL_K0t6TE0Fmm")("ref",n.tRef),Qt(2),Yo("btn btn-primary btn-lg"),tn("paystackOptions",n.options),Qt(7),Ko("Embed ",n.showEmbed?"visible":"hidden",""),Qt(5),tn("ngIf",n.showEmbed))},dependencies:[dg,SS,MS,TS]});class Wn{}Wn.\u0275fac=function(t){return new(t||Wn)},Wn.\u0275mod=an({type:Wn,bootstrap:[Ur]}),Wn.\u0275inj=$t({imports:[gS,AS.forRoot("pk_test_24673c9637a1bf06e5fb6eb989012747183eb2ae")]}),hS().bootstrapModule(Wn).catch(e=>console.error(e))}},J=>{J(J.s=240)}]); \ No newline at end of file