UNPKG

@aurigma/ui-framework

Version:

A platform which allows building print product personalization editors based on Aurigma's Customer's Canvas.

1 lines 223 kB
"use strict";(self.webpackChunkchips=self.webpackChunkchips||[]).push([[429],{330:()=>{}},s=>{s(s.s=330)}]);(()=>{"use strict";var e,v={},h={};function n(e){var l=h[e];if(void 0!==l)return l.exports;var r=h[e]={exports:{}};return v[e](r,r.exports,n),r.exports}n.m=v,e=[],n.O=(l,r,c,f)=>{if(!r){var u=1/0;for(a=0;a<e.length;a++){for(var[r,c,f]=e[a],i=!0,s=0;s<r.length;s++)(!1&f||u>=f)&&Object.keys(n.O).every(d=>n.O[d](r[s]))?r.splice(s--,1):(i=!1,f<u&&(u=f));if(i){e.splice(a--,1);var o=c();void 0!==o&&(l=o)}}return l}f=f||0;for(var a=e.length;a>0&&e[a-1][2]>f;a--)e[a]=e[a-1];e[a]=[r,c,f]},n.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),(()=>{var e={666:0};n.O.j=c=>0===e[c];var l=(c,f)=>{var s,o,[a,u,i]=f,t=0;if(a.some(_=>0!==e[_])){for(s in u)n.o(u,s)&&(n.m[s]=u[s]);if(i)var p=i(n)}for(c&&c(f);t<a.length;t++)n.o(e,o=a[t])&&e[o]&&e[o][0](),e[o]=0;return n.O(p)},r=self.webpackChunkchips=self.webpackChunkchips||[];r.forEach(l.bind(null,0)),r.push=l.bind(null,r.push.bind(r))})()})();"use strict";(self.webpackChunkchips=self.webpackChunkchips||[]).push([[179],{495:()=>{function W(e){return"function"==typeof e}function Vr(e){const n=e(i=>{Error.call(i),i.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Lr=Vr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function $n(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class ze{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 o of n)o.remove(this);else n.remove(this);const{initialTeardown:i}=this;if(W(i))try{i()}catch(o){t=o instanceof Lr?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Ju(o)}catch(s){t=t??[],s instanceof Lr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Lr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ju(t);else{if(t instanceof ze){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)&&$n(n,t)}remove(t){const{_finalizers:n}=this;n&&$n(n,t),t instanceof ze&&t._removeParent(this)}}ze.EMPTY=(()=>{const e=new ze;return e.closed=!0,e})();const Qu=ze.EMPTY;function Ku(e){return e instanceof ze||e&&"closed"in e&&W(e.remove)&&W(e.add)&&W(e.unsubscribe)}function Ju(e){W(e)?e():e.unsubscribe()}const vn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Br={setTimeout(e,t,...n){const{delegate:i}=Br;return i?.setTimeout?i.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Br;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ed(e){Br.setTimeout(()=>{const{onUnhandledError:t}=vn;if(!t)throw e;t(e)})}function Bs(){}const $y=js("C",void 0,void 0);function js(e,t,n){return{kind:e,value:t,error:n}}let yn=null;function jr(e){if(vn.useDeprecatedSynchronousErrorHandling){const t=!yn;if(t&&(yn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:i}=yn;if(yn=null,n)throw i}}else e()}class Hs extends ze{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ku(t)&&t.add(this)):this.destination=Zy}static create(t,n,i){return new ki(t,n,i)}next(t){this.isStopped?Us(function Gy(e){return js("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Us(function Uy(e){return js("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Us($y,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 Wy=Function.prototype.bind;function $s(e,t){return Wy.call(e,t)}class qy{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(i){Hr(i)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(i){Hr(i)}else Hr(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Hr(n)}}}class ki extends Hs{constructor(t,n,i){let r;if(super(),W(t)||!t)r={next:t??void 0,error:n??void 0,complete:i??void 0};else{let o;this&&vn.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&$s(t.next,o),error:t.error&&$s(t.error,o),complete:t.complete&&$s(t.complete,o)}):r=t}this.destination=new qy(r)}}function Hr(e){vn.useDeprecatedSynchronousErrorHandling?function zy(e){vn.useDeprecatedSynchronousErrorHandling&&yn&&(yn.errorThrown=!0,yn.error=e)}(e):ed(e)}function Us(e,t){const{onStoppedNotification:n}=vn;n&&Br.setTimeout(()=>n(e,t))}const Zy={closed:!0,next:Bs,error:function Yy(e){throw e},complete:Bs},Gs="function"==typeof Symbol&&Symbol.observable||"@@observable";function td(e){return e}let Ee=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const i=new e;return i.source=this,i.operator=n,i}subscribe(n,i,r){const o=function Qy(e){return e&&e instanceof Hs||function Xy(e){return e&&W(e.next)&&W(e.error)&&W(e.complete)}(e)&&Ku(e)}(n)?n:new ki(n,i,r);return jr(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(i){n.error(i)}}forEach(n,i){return new(i=id(i))((r,o)=>{const s=new ki({next:a=>{try{n(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(n){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(n)}[Gs](){return this}pipe(...n){return function nd(e){return 0===e.length?td:1===e.length?e[0]:function(n){return e.reduce((i,r)=>r(i),n)}}(n)(this)}toPromise(n){return new(n=id(n))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=t=>new e(t),e})();function id(e){var t;return null!==(t=e??vn.Promise)&&void 0!==t?t:Promise}const Ky=Vr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Qe=(()=>{class e extends Ee{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const i=new rd(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new Ky}next(n){jr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(n)}})}error(n){jr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:i}=this;for(;i.length;)i.shift().error(n)}})}complete(){jr(()=>{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:i,isStopped:r,observers:o}=this;return i||r?Qu:(this.currentObservers=null,o.push(n),new ze(()=>{this.currentObservers=null,$n(o,n)}))}_checkFinalizedStatuses(n){const{hasError:i,thrownError:r,isStopped:o}=this;i?n.error(r):o&&n.complete()}asObservable(){const n=new Ee;return n.source=this,n}}return e.create=(t,n)=>new rd(t,n),e})();class rd extends Qe{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,i;null===(i=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===i||i.call(n,t)}error(t){var n,i;null===(i=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===i||i.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,i;return null!==(i=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==i?i:Qu}}function Ft(e){return t=>{if(function Jy(e){return W(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function at(e,t,n,i,r){return new eC(e,t,n,i,r)}class eC extends Hs{constructor(t,n,i,r,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}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 Ni(e,t){return Ft((n,i)=>{let r=0;n.subscribe(at(i,o=>{i.next(e.call(t,o,r++))}))})}function nn(e){return this instanceof nn?(this.v=e,this):new nn(e)}function ad(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(f){i[f]&&(r[f]=function(h){return new Promise(function(p,g){o.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof nn?Promise.resolve(f.value.v).then(c,u):d(o[0][2],f)}(i[f](h))}catch(p){d(o[0][3],p)}}function c(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function ld(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 Ys(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(o){n[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const Zs=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function cd(e){return W(e?.then)}function ud(e){return W(e[Gs])}function dd(e){return Symbol.asyncIterator&&W(e?.[Symbol.asyncIterator])}function fd(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 hd=function wC(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function pd(e){return W(e?.[hd])}function gd(e){return ad(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:i,done:r}=yield nn(n.read());if(r)return yield nn(void 0);yield yield nn(i)}}finally{n.releaseLock()}})}function md(e){return W(e?.getReader)}function lt(e){if(e instanceof Ee)return e;if(null!=e){if(ud(e))return function bC(e){return new Ee(t=>{const n=e[Gs]();if(W(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Zs(e))return function EC(e){return new Ee(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(cd(e))return function SC(e){return new Ee(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,ed)})}(e);if(dd(e))return _d(e);if(pd(e))return function IC(e){return new Ee(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(md(e))return function MC(e){return _d(gd(e))}(e)}throw fd(e)}function _d(e){return new Ee(t=>{(function xC(e,t){var n,i,r,o;return function od(e,t,n,i){return new(n||(n=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof n?o:new n(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=ld(e);!(i=yield n.next()).done;)if(t.next(i.value),t.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=n.return)&&(yield o.call(n))}finally{if(r)throw r.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function rn(e,t,n,i=0,r=!1){const o=t.schedule(function(){n(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function Xs(e,t,n=1/0){return W(t)?Xs((i,r)=>Ni((o,s)=>t(i,o,r,s))(lt(e(i,r))),n):("number"==typeof t&&(n=t),Ft((i,r)=>function TC(e,t,n,i,r,o,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&t.complete()},h=g=>c<i?p(g):l.push(g),p=g=>{o&&t.next(g),c++;let _=!1;lt(n(g,u++)).subscribe(at(t,C=>{r?.(C),o?h(C):t.next(C)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&c<i;){const C=l.shift();s?rn(t,s,()=>p(C)):p(C)}f()}catch(C){t.error(C)}}))};return e.subscribe(at(t,h,()=>{d=!0,f()})),()=>{a?.()}}(i,r,e,n)))}const Qs=new Ee(e=>e.complete());function vd(e){return e&&W(e.schedule)}function Ks(e){return e[e.length-1]}function yd(e){return vd(Ks(e))?e.pop():void 0}function Cd(e,t=0){return Ft((n,i)=>{n.subscribe(at(i,r=>rn(i,e,()=>i.next(r),t),()=>rn(i,e,()=>i.complete(),t),r=>rn(i,e,()=>i.error(r),t)))})}function Dd(e,t=0){return Ft((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function wd(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ee(n=>{rn(n,t,()=>{const i=e[Symbol.asyncIterator]();rn(n,t,()=>{i.next().then(r=>{r.done?n.complete():n.next(r.value)})},0,!0)})})}function Js(e,t){return t?function BC(e,t){if(null!=e){if(ud(e))return function PC(e,t){return lt(e).pipe(Dd(t),Cd(t))}(e,t);if(Zs(e))return function NC(e,t){return new Ee(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}(e,t);if(cd(e))return function kC(e,t){return lt(e).pipe(Dd(t),Cd(t))}(e,t);if(dd(e))return wd(e,t);if(pd(e))return function VC(e,t){return new Ee(n=>{let i;return rn(n,t,()=>{i=e[hd](),rn(n,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void n.error(s)}o?n.complete():n.next(r)},0,!0)}),()=>W(i?.return)&&i.return()})}(e,t);if(md(e))return function LC(e,t){return wd(gd(e),t)}(e,t)}throw fd(e)}(e,t):lt(e)}function ea(...e){const t=yd(e),n=function RC(e,t){return"number"==typeof Ks(e)?e.pop():t}(e,1/0),i=e;return i.length?1===i.length?lt(i[0]):function AC(e=1/0){return Xs(td,e)}(n)(Js(i,t)):Qs}function ta(e,t,...n){if(!0===t)return void e();if(!1===t)return;const i=new ki({next:()=>{i.unsubscribe(),e()}});return t(...n).subscribe(i)}function X(e){for(let t in e)if(e[t]===X)return t;throw Error("Could not find renamed property on target object.")}function na(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Q(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Q).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 ia(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const HC=X({__forward_ref__:X});function Z(e){return e.__forward_ref__=Z,e.toString=function(){return Q(this())},e}function A(e){return ra(e)?e():e}function ra(e){return"function"==typeof e&&e.hasOwnProperty(HC)&&e.__forward_ref__===Z}class S extends Error{constructor(t,n){super(function $r(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function P(e){return"string"==typeof e?e:null==e?"":String(e)}function Ur(e,t){throw new S(-201,!1)}function Je(e,t){null==e&&function q(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function N(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ue(e){return{providers:e.providers||[],imports:e.imports||[]}}function Gr(e){return bd(e,zr)||bd(e,Sd)}function bd(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ed(e){return e&&(e.hasOwnProperty(oa)||e.hasOwnProperty(ZC))?e[oa]:null}const zr=X({\u0275prov:X}),oa=X({\u0275inj:X}),Sd=X({ngInjectableDef:X}),ZC=X({ngInjectorDef:X});var O=(()=>((O=O||{})[O.Default=0]="Default",O[O.Host=1]="Host",O[O.Self=2]="Self",O[O.SkipSelf=4]="SkipSelf",O[O.Optional=8]="Optional",O))();let sa;function ct(e){const t=sa;return sa=e,t}function Id(e,t,n){const i=Gr(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&O.Optional?null:void 0!==t?t:void Ur(Q(e))}function on(e){return{toString:e}.toString()}var yt=(()=>((yt=yt||{})[yt.OnPush=0]="OnPush",yt[yt.Default=1]="Default",yt))(),Rt=(()=>{return(e=Rt||(Rt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Rt;var e})();const K=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Un={},z=[],Wr=X({\u0275cmp:X}),aa=X({\u0275dir:X}),la=X({\u0275pipe:X}),Md=X({\u0275mod:X}),Ut=X({\u0275fac:X}),Vi=X({__NG_ELEMENT_ID__:X});let QC=0;function Gt(e){return on(()=>{const n=!0===e.standalone,i={},r={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:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===yt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||z,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Rt.Emulated,id:"c"+QC++,styles:e.styles||z,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.dependencies,s=e.features;return r.inputs=Ad(e.inputs,i),r.outputs=Ad(e.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(xd).filter(Td):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(Le).filter(Td):null,r})}function xd(e){return Y(e)||Ve(e)}function Td(e){return null!==e}function pe(e){return on(()=>({type:e.type,bootstrap:e.bootstrap||z,declarations:e.declarations||z,imports:e.imports||z,exports:e.exports||z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ad(e,t){if(null==e)return Un;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,t&&(t[r]=o)}return n}const F=Gt;function Y(e){return e[Wr]||null}function Ve(e){return e[aa]||null}function Le(e){return e[la]||null}const L=11,J=22;function qe(e){return Array.isArray(e)&&"object"==typeof e[1]}function Dt(e){return Array.isArray(e)&&!0===e[1]}function da(e){return 0!=(8&e.flags)}function Xr(e){return 2==(2&e.flags)}function Qr(e){return 1==(1&e.flags)}function wt(e){return null!==e.template}function iD(e){return 0!=(256&e[2])}function En(e,t){return e.hasOwnProperty(Ut)?e[Ut]:null}class Rd{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Pt(){return Pd}function Pd(e){return e.type.prototype.ngOnChanges&&(e.setInput=aD),sD}function sD(){const e=Nd(this),t=e?.current;if(t){const n=e.previous;if(n===Un)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function aD(e,t,n,i){const r=Nd(e)||function lD(e,t){return e[kd]=t}(e,{previous:Un,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[n],l=s[a];o[a]=new Rd(l&&l.currentValue,t,s===Un),e[i]=t}Pt.ngInherit=!0;const kd="__ngSimpleChanges__";function Nd(e){return e[kd]||null}function ge(e){for(;Array.isArray(e);)e=e[0];return e}function Kr(e,t){return ge(t[e])}function nt(e,t){return ge(t[e.index])}function ma(e,t){return e.data[t]}function it(e,t){const n=t[e];return qe(n)?n:n[0]}function Jr(e){return 64==(64&e[2])}function sn(e,t){return null==t?null:e[t]}function Vd(e){e[18]=0}function _a(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const R={lFrame:Zd(null),bindingsEnabled:!0};function Bd(){return R.bindingsEnabled}function v(){return R.lFrame.lView}function H(){return R.lFrame.tView}function Ce(){let e=$d();for(;null!==e&&64===e.type;)e=e.parent;return e}function $d(){return R.lFrame.currentTNode}function kt(e,t){const n=R.lFrame;n.currentTNode=e,n.isParent=t}function va(){return R.lFrame.isParent}function ya(){R.lFrame.isParent=!1}function Yn(){return R.lFrame.bindingIndex++}function Wt(e){const t=R.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function bD(e,t){const n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ca(t)}function Ca(e){R.lFrame.currentDirectiveIndex=e}function Wd(){return R.lFrame.currentQueryIndex}function wa(e){R.lFrame.currentQueryIndex=e}function SD(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function qd(e,t,n){if(n&O.SkipSelf){let r=t,o=e;for(;!(r=r.parent,null!==r||n&O.Host||(r=SD(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;t=r,e=o}const i=R.lFrame=Yd();return i.currentTNode=t,i.lView=e,!0}function ba(e){const t=Yd(),n=e[1];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Yd(){const e=R.lFrame,t=null===e?null:e.child;return null===t?Zd(e):t}function Zd(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 Xd(){const e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Qd=Xd;function Ea(){const e=Xd();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 je(){return R.lFrame.selectedIndex}function an(e){R.lFrame.selectedIndex=e}function re(){const e=R.lFrame;return ma(e.tView,e.selectedIndex)}function eo(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n<i;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:u}=o;s&&(e.contentHooks||(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),l&&(e.viewHooks||(e.viewHooks=[])).push(-n,l),c&&((e.viewHooks||(e.viewHooks=[])).push(n,c),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,c)),null!=u&&(e.destroyHooks||(e.destroyHooks=[])).push(n,u)}}function to(e,t,n){Jd(e,t,3,n)}function no(e,t,n,i){(3&e[2])===n&&Jd(e,t,n,i)}function Sa(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Jd(e,t,n,i){const o=i??-1,s=t.length-1;let a=0;for(let l=void 0!==i?65535&e[18]:0;l<s;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=i&&a>=i)break}else t[l]<0&&(e[18]+=65536),(a<o||-1==o)&&(RD(e,n,t,l),e[18]=(4294901760&e[18])+l+2),l++}function RD(e,t,n,i){const r=n[i]<0,o=n[i+1],a=e[r?-n[i]:n[i]];if(r){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class Gi{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function io(e,t,n){let i=0;for(;i<n.length;){const r=n[i];if("number"==typeof r){if(0!==r)break;i++;const o=n[i++],s=n[i++],a=n[i++];e.setAttribute(t,s,a,o)}else{const o=r,s=n[++i];tf(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),i++}}return i}function ef(e){return 3===e||4===e||6===e}function tf(e){return 64===e.charCodeAt(0)}function ro(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||nf(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function nf(e,t,n,i,r){let o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){const a=e[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<e.length;){const a=e[o];if("number"==typeof a)break;if(a===n){if(null===i)return void(null!==r&&(e[o+1]=r));if(i===e[o+1])return void(e[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i),null!==r&&e.splice(o++,0,r)}function rf(e){return-1!==e}function Zn(e){return 32767&e}function Xn(e,t){let n=function LD(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let Ma=!0;function oo(e){const t=Ma;return Ma=e,t}let BD=0;const Nt={};function Wi(e,t){const n=Ta(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,xa(i.data,e),xa(t,null),xa(i.blueprint,null));const r=so(e,t),o=e.injectorIndex;if(rf(r)){const s=Zn(r),a=Xn(r,t),l=a[1].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=r,o}function xa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ta(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function so(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){if(i=pf(r),null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function ao(e,t,n){!function jD(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Vi)&&(i=n[Vi]),null==i&&(i=n[Vi]=BD++);const r=255&i;t.data[e+(r>>5)]|=1<<r}(e,t,n)}function lf(e,t,n){if(n&O.Optional||void 0!==e)return e;Ur()}function cf(e,t,n,i){if(n&O.Optional&&void 0===i&&(i=null),0==(n&(O.Self|O.Host))){const r=e[9],o=ct(void 0);try{return r?r.get(t,i,n&O.Optional):Id(t,i,n&O.Optional)}finally{ct(o)}}return lf(i,0,n)}function uf(e,t,n,i=O.Default,r){if(null!==e){if(1024&t[2]){const s=function zD(e,t,n,i,r){let o=e,s=t;for(;null!==o&&null!==s&&1024&s[2]&&!(256&s[2]);){const a=df(o,s,n,i|O.Self,Nt);if(a!==Nt)return a;let l=o.parent;if(!l){const c=s[21];if(c){const u=c.get(n,Nt,i);if(u!==Nt)return u}l=pf(s),s=s[15]}o=l}return r}(e,t,n,i,Nt);if(s!==Nt)return s}const o=df(e,t,n,i,Nt);if(o!==Nt)return o}return cf(t,n,i,r)}function df(e,t,n,i,r){const o=function UD(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Vi)?e[Vi]:void 0;return"number"==typeof t?t>=0?255&t:GD:t}(n);if("function"==typeof o){if(!qd(t,e,i))return i&O.Host?lf(r,0,i):cf(t,n,i,r);try{const s=o(i);if(null!=s||i&O.Optional)return s;Ur()}finally{Qd()}}else if("number"==typeof o){let s=null,a=Ta(e,t),l=-1,c=i&O.Host?t[16][6]:null;for((-1===a||i&O.SkipSelf)&&(l=-1===a?so(e,t):t[a+8],-1!==l&&hf(i,!1)?(s=t[1],a=Zn(l),t=Xn(l,t)):a=-1);-1!==a;){const u=t[1];if(ff(o,a,u.data)){const d=$D(a,t,n,s,i,c);if(d!==Nt)return d}l=t[a+8],-1!==l&&hf(i,t[1].data[a+8]===c)&&ff(o,a,t)?(s=u,a=Zn(l),t=Xn(l,t)):a=-1}}return r}function $D(e,t,n,i,r,o){const s=t[1],a=s.data[e+8],u=lo(a,s,n,null==i?Xr(a)&&Ma:i!=s&&0!=(3&a.type),r&O.Host&&o===a);return null!==u?qi(t,s,u,a):Nt}function lo(e,t,n,i,r){const o=e.providerIndexes,s=t.data,a=1048575&o,l=e.directiveStart,u=o>>20,f=r?a+u:e.directiveEnd;for(let h=i?a:a+u;h<f;h++){const p=s[h];if(h<l&&n===p||h>=l&&p.type===n)return h}if(r){const h=s[l];if(h&&wt(h)&&h.type===n)return l}return null}function qi(e,t,n,i){let r=e[n];const o=t.data;if(function PD(e){return e instanceof Gi}(r)){const s=r;s.resolving&&function $C(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${n}`)}(function G(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():P(e)}(o[n]));const a=oo(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?ct(s.injectImpl):null;qd(e,i,O.Default);try{r=e[n]=s.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function FD(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=Pd(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==l&&ct(l),oo(a),s.resolving=!1,Qd()}}return r}function ff(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function hf(e,t){return!(e&O.Self||e&O.Host&&t)}class Qn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return uf(this._tNode,this._lView,t,i,n)}}function GD(){return new Qn(Ce(),v())}function Me(e){return on(()=>{const t=e.prototype.constructor,n=t[Ut]||Aa(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[Ut]||Aa(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Aa(e){return ra(e)?()=>{const t=Aa(A(e));return t&&t()}:En(e)}function pf(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const Jn="__parameters__";function ti(e,t,n){return on(()=>{const i=function Fa(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}(t);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Jn)?l[Jn]:Object.defineProperty(l,Jn,{value:[]})[Jn];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}class x{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=N({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function rt(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let i=e[n];Array.isArray(i)?(t===e&&(t=e.slice(0,n)),rt(i,t)):t!==e&&t.push(i)}return t}function qt(e,t){e.forEach(n=>Array.isArray(n)?qt(n,t):t(n))}function mf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function co(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Xi(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function ot(e,t,n){let i=ni(e,t);return i>=0?e[1|i]=n:(i=~i,function ZD(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Pa(e,t){const n=ni(e,t);if(n>=0)return e[1|n]}function ni(e,t){return function yf(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const o=i+(r-i>>1),s=e[o<<n];if(t===s)return o<<n;s>t?r=o:i=o+1}return~(r<<n)}(e,t,1)}const Qi={},Na="__NG_DI_FLAG__",fo="ngTempTokenPath",iw=/\n/gm,Cf="__source";let Ki;function ii(e){const t=Ki;return Ki=e,t}function ow(e,t=O.Default){if(void 0===Ki)throw new S(-203,!1);return null===Ki?Id(e,void 0,t):Ki.get(e,t&O.Optional?null:void 0,t)}function D(e,t=O.Default){return(function XC(){return sa}()||ow)(A(e),t)}function ho(e,t=O.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),D(e,t)}function Va(e){const t=[];for(let n=0;n<e.length;n++){const i=A(e[n]);if(Array.isArray(i)){if(0===i.length)throw new S(900,!1);let r,o=O.Default;for(let s=0;s<i.length;s++){const a=i[s],l=sw(a);"number"==typeof l?-1===l?r=a.token:o|=l:r=a}t.push(D(r,o))}else t.push(D(i))}return t}function Ji(e,t){return e[Na]=t,e.prototype[Na]=t,e}function sw(e){return e[Na]}const po=Ji(ti("Optional"),8),go=Ji(ti("SkipSelf"),4);var Ye=(()=>((Ye=Ye||{})[Ye.Important=1]="Important",Ye[Ye.DashCase=2]="DashCase",Ye))();const $a=new Map;let Ew=0;const Ga="__ngContext__";function Oe(e,t){qe(t)?(e[Ga]=t[20],function Iw(e){$a.set(e[20],e)}(t)):e[Ga]=t}function Wa(e,t){return undefined(e,t)}function ir(e){const t=e[3];return Dt(t)?t[3]:t}function qa(e){return Hf(e[13])}function Ya(e){return Hf(e[4])}function Hf(e){for(;null!==e&&!Dt(e);)e=e[4];return e}function oi(e,t,n,i,r){if(null!=i){let o,s=!1;Dt(i)?o=i:qe(i)&&(s=!0,i=i[0]);const a=ge(i);0===e&&null!==n?null==r?qf(t,n,a):Sn(t,n,a,r||null,!0):1===e&&null!==n?Sn(t,n,a,r||null,!0):2===e?function tl(e,t,n){const i=vo(e,t);i&&function Yw(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function Qw(e,t,n,i,r){const o=n[7];o!==ge(n)&&oi(t,e,i,o,r);for(let a=10;a<n.length;a++){const l=n[a];rr(l[1],l,e,t,i,o)}}(t,e,o,n,r)}}function Xa(e,t,n){return e.createElement(t,n)}function Uf(e,t){const n=e[9],i=n.indexOf(t),r=t[3];512&t[2]&&(t[2]&=-513,_a(r,-1)),n.splice(i,1)}function Qa(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const r=i[17];null!==r&&r!==e&&Uf(r,i),t>0&&(e[n-1][4]=i[4]);const o=co(e,10+t);!function jw(e,t){rr(e,t,t[L],2,null,null),t[0]=null,t[6]=null}(i[1],i);const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function Gf(e,t){if(!(128&t[2])){const n=t[L];n.destroyNode&&rr(e,t,n,3,null,null),function Uw(e){let t=e[13];if(!t)return Ka(e[1],e);for(;t;){let n=null;if(qe(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)qe(t)&&Ka(t[1],t),t=t[3];null===t&&(t=e),qe(t)&&Ka(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ka(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function qw(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i<n.length;i+=2){const r=t[n[i]];if(!(r instanceof Gi)){const o=n[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=r[o[s]],l=o[s+1];try{l.call(a)}finally{}}else try{o.call(r)}finally{}}}}(e,t),function Ww(e,t){const n=e.cleanup,i=t[7];let r=-1;if(null!==n)for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const s=n[o+1],a="function"==typeof s?s(t):ge(t[s]),l=i[r=n[o+2]],c=n[o+3];"boolean"==typeof c?a.removeEventListener(n[o],l,c):c>=0?i[r=c]():i[r=-c].unsubscribe(),o+=2}else{const s=i[r=n[o+1]];n[o].call(s)}if(null!==i){for(let o=r+1;o<i.length;o++)(0,i[o])();t[7]=null}}(e,t),1===t[1].type&&t[L].destroy();const n=t[17];if(null!==n&&Dt(t[3])){n!==t[3]&&Uf(n,t);const i=t[19];null!==i&&i.detachView(e)}!function Mw(e){$a.delete(e[20])}(t)}}function zf(e,t,n){return function Wf(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){const r=e.data[i.directiveStart].encapsulation;if(r===Rt.None||r===Rt.Emulated)return null}return nt(i,n)}(e,t.parent,n)}function Sn(e,t,n,i,r){e.insertBefore(t,n,i,r)}function qf(e,t,n){e.appendChild(t,n)}function Yf(e,t,n,i,r){null!==i?Sn(e,t,n,i,r):qf(e,t,n)}function vo(e,t){return e.parentNode(t)}function Zf(e,t,n){return Qf(e,t,n)}let ol,Qf=function Xf(e,t,n){return 40&e.type?nt(e,n):null};function yo(e,t,n,i){const r=zf(e,i,t),o=t[L],a=Zf(i.parent||t[6],i,t);if(null!=r)if(Array.isArray(n))for(let l=0;l<n.length;l++)Yf(o,r,n[l],a,!1);else Yf(o,r,n,a,!1)}function Co(e,t){if(null!==t){const n=t.type;if(3&n)return nt(t,e);if(4&n)return el(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return Co(e,i);{const r=e[t.index];return Dt(r)?el(-1,r):ge(r)}}if(32&n)return Wa(t,e)()||ge(e[t.index]);{const i=Jf(e,t);return null!==i?Array.isArray(i)?i[0]:Co(ir(e[16]),i):Co(e,t.next)}}return null}function Jf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function el(e,t){const n=10+e+1;if(n<t.length){const i=t[n],r=i[1].firstChild;if(null!==r)return Co(i,r)}return t[7]}function nl(e,t,n,i,r,o,s){for(;null!=n;){const a=i[n.index],l=n.type;if(s&&0===t&&(a&&Oe(ge(a),i),n.flags|=4),64!=(64&n.flags))if(8&l)nl(e,t,n.child,i,r,o,!1),oi(t,e,r,a,o);else if(32&l){const c=Wa(n,i);let u;for(;u=c();)oi(t,e,r,u,o);oi(t,e,r,a,o)}else 16&l?eh(e,t,i,n,r,o):oi(t,e,r,a,o);n=s?n.projectionNext:n.next}}function rr(e,t,n,i,r,o){nl(n,i,e.firstChild,t,r,o,!1)}function eh(e,t,n,i,r,o){const s=n[16],l=s[6].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++)oi(t,e,r,l[c],o);else nl(e,t,l,s[3],r,o,!0)}function th(e,t,n){e.setAttribute(t,"style",n)}function il(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function cn(e){return e instanceof class sh{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}?e.changingThisBreaksApplicationSecurity:e}const gh=new x("ENVIRONMENT_INITIALIZER"),mh=new x("INJECTOR",-1),_h=new x("INJECTOR_DEF_TYPES");class vh{get(t,n=Qi){if(n===Qi){const i=new Error(`NullInjectorError: No provider for ${Q(t)}!`);throw i.name="NullInjectorError",i}return n}}function Ib(...e){return{\u0275providers:yh(0,e)}}function yh(e,...t){const n=[],i=new Set;let r;return qt(t,o=>{const s=o;dl(s,n,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&Ch(r,n),n}function Ch(e,t){for(let n=0;n<e.length;n++){const{providers:r}=e[n];qt(r,o=>{t.push(o)})}}function dl(e,t,n,i){if(!(e=A(e)))return!1;let r=null,o=Ed(e);const s=!o&&Y(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=Ed(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)dl(c,t,n,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{qt(o.imports,u=>{dl(u,t,n,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&Ch(c,t)}if(!a){const c=En(r)||(()=>new r);t.push({provide:r,useFactory:c,deps:z},{provide:_h,useValue:r,multi:!0},{provide:gh,useValue:()=>D(r),multi:!0})}const l=o.providers;null==l||a||qt(l,u=>{t.push(u)})}}return r!==e&&void 0!==e.providers}const Mb=X({provide:String,useValue:X});function fl(e){return null!==e&&"object"==typeof e&&Mb in e}function Mn(e){return"function"==typeof e}const hl=new x("Set Injector scope."),Eo={},Tb={};let pl;function So(){return void 0===pl&&(pl=new vh),pl}class si{}class bh extends si{constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ml(t,s=>this.processProvider(s)),this.records.set(mh,ai(void 0,this)),r.has("environment")&&this.records.set(si,ai(void 0,this));const o=this.records.get(hl);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(_h.multi,z,O.Self))}get destroyed(){return this._destroyed}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=ii(this),i=ct(void 0);try{return t()}finally{ii(n),ct(i)}}get(t,n=Qi,i=O.Default){this.assertNotDestroyed();const r=ii(this),o=ct(void 0);try{if(!(i&O.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function Pb(e){return"function"==typeof e||"object"==typeof e&&e instanceof x}(t)&&Gr(t);a=l&&this.injectableDefInScope(l)?ai(gl(t),Eo):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&O.Self?So():this.parent).get(t,n=i&O.Optional&&n===Qi?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[fo]=s[fo]||[]).unshift(Q(t)),r)throw s;return function aw(e,t,n,i){const r=e[fo];throw t[Cf]&&r.unshift(t[Cf]),e.message=function lw(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=Q(t);if(Array.isArray(t))r=t.map(Q).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Q(a)))}r=`{${o.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(iw,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[fo]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{ct(o),ii(r)}}resolveInjectorInitializers(){const t=ii(this),n=ct(void 0);try{const i=this.get(gh.multi,z,O.Self);for(const r of i)r()}finally{ii(t),ct(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(Q(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){let n=Mn(t=A(t))?t:A(t&&t.provide);const i=function Ob(e){return fl(e)?ai(void 0,e.useValue):ai(Eh(e),Eo)}(t);if(Mn(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=ai(void 0,Eo,!0),r.factory=()=>Va(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===Eo&&(n.value=Tb,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Rb(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=A(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function gl(e){const t=Gr(e),n=null!==t?t.factory:En(e);if(null!==n)return n;if(e instanceof x)throw new S(204,!1);if(e instanceof Function)return function Ab(e){const t=e.length;if(t>0)throw Xi(t,"?"),new S(204,!1);const n=function qC(e){const t=e&&(e[zr]||e[Sd]);if(t){const n=function YC(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 S(204,!1)}function Eh(e,t,n){let i;if(Mn(e)){const r=A(e);return En(r)||gl(r)}if(fl(e))i=()=>A(e.useValue);else if(function wh(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Va(e.deps||[]));else if(function Dh(e){return!(!e||!e.useExisting)}(e))i=()=>D(A(e.useExisting));else{const r=A(e&&(e.useClass||e.provide));if(!function Fb(e){return!!e.deps}(e))return En(r)||gl(r);i=()=>new r(...Va(e.deps))}return i}function ai(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function kb(e){return!!e.\u0275providers}function ml(e,t){for(const n of e)Array.isArray(n)?ml(n,t):kb(n)?ml(n.\u0275providers,t):t(n)}class Sh{}class Lb{resolveComponentFactory(t){throw function Vb(e){const t=Error(`No component factory found for ${Q(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let xn=(()=>{class e{}return e.NULL=new Lb,e})();function Bb(){return li(Ce(),v())}function li(e,t){return new Ie(nt(e,t))}let Ie=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Bb,e})();function jb(e){return e instanceof Ie?e.nativeElement:e}class Mh{}let Tn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Hb(){const e=v(),n=it(Ce().index,e);return(qe(n)?n:e)[L]}(),e})(),$b=(()=>{class e{}return e.\u0275prov=N({token:e,providedIn:"root",factory:()=>null}),e})();class lr{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ub=new lr("14.3.0"),_l={};function yl(e){return e.ngOriginalError}class ci{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&&yl(t);for(;n&&yl(n);)n=yl(n);return n||null}}function Th(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}n=r+1}}const Ah="ng-template";function eE(e,t,n){let i=0;for(;i<e.length;){let r=e[i++];if(n&&"class"===r){if(r=e[i],-1!==Th(r.toLowerCase(),t,0))return!0}else if(1===r){for(;i<e.length&&"string"==typeof(r=e[i++]);)if(r.toLowerCase()===t)return!0;return!1}}return!1}function Oh(e){return 4===e.type&&e.value!==Ah}function tE(e,t,n){return t===(4!==e.type||n?e.value:Ah)}function nE(e,t,n){let i=4;const r=e.attrs||[],o=function oE(e){for(let t=0;t<e.length;t++)if(ef(e[t]))return t;return e.length}(r);let s=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!tE(e,l,n)||""===l&&1===t.length){if(bt(i))return!1;s=!0}}else{const c=8&i?l:t[++a];if(8&i&&null!==e.attrs){if(!eE(e.attrs,c,n)){if(bt(i))return!1;s=!0}continue}const d=iE(8&i?"class":l,r,Oh(e),n);if(-1===d){if(bt(i))return!1;s=!0;continue}if(""!==c){let f;f=d>o?"":r[d+1].toLowerCase();const h=8&i?f:null;if(h&&-1!==Th(h,c,0)||2&i&&c!==f){if(bt(i))return!1;s=!0}}}}else{if(!s&&!bt(i)&&!bt(l))return!1;if(s&&bt(l))continue;s=!1,i=l|1&i}}return bt(i)||s}function bt(e){return 0==(1&e)}function iE(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let o=!1;for(;r<t.length;){const s=t[r];if(s===e)return r;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=t[++r];for(;"string"==typeof a;)a=t[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=o?1:2}return-1}return function sE(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function Fh(e,t,n=!1){for(let i=0;i<t.length;i++)if(nE(e,t[i],n))return!0;return!1}function aE(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function Rh(e,t){return e?":not("+t.trim()+")":t}function lE(e){let t=e[0],n=1,i=2,r="",o=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&i){const a=e[++n];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!bt(s)&&(t+=Rh(o,r),r=""),i=s,o=o||!bt(i);n++}return""!==r&&(t+=Rh(o,r)),t}const k={};function xe(e){Ph(H(),v(),je()+e,!1)}function Ph(e,t,n,i){if(!i)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&to(t,o,n)}else{const o=e.preOrderHooks;null!==o&&no(t,o,0,n)}an(n)}function Lh(e,t=null,n=null,i){const r=Bh(e,t,n,i);return r.resolveInjectorInitializers(),r}function Bh(e,t=null,n=null,i,r=new Set){const o=[n||z,Ib(e)];return i=i||("object"==typeof e?void 0:Q(e)),new bh(o,t||So(),i||null,r)}let ft=(()=>{class e{static create(n,i){if(Array.isArray(n))return Lh({name:""},i,n,"");{const r=n.name??"";return Lh({name:r},n.parent,n.providers,r)}}}return e.THROW_IF_NOT_FOUND=Qi,e.NULL=new vh,e.\u0275prov=N({token:e,providedIn:"any",factory:()=>D(mh)}),e.__NG_ELEMENT_ID__=-1,e})();function y(e,t=O.Default){const n=v();return null===n?D(e,t):uf(Ce(),n,A(e),t)}function Mo(e,t){return e<<17|t<<2}function Et(e){return e>>17&32767}function El(e){return 2|e}function Xt(e){return(131068&e)>>2}function Sl(e,t){return-131069&e|t<<2}function Il(e){return 1|e}function np(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const r=n[i],o=n[i+1];if(-1!==o){const s=e.data[o];wa(r),s.contentQueries(2,t[o],o)}}}function Ao(e,t,n,i,r,o,s,a,l,c,u){const d=t.blueprint.slice();return d[0]=r,d[2]=76|i,(null!==u||e&&1024&e[2])&&(d[2]|=1024),Vd(d),d[3]=d[15]=e,d[8]=n,d[10]=s||e&&e[10],d[L]=a||e&&e[L],d[12]=l||e&&e[12]||null,d[9]=c||e&&e[9]||null,d[6]=o,d[20]=function Sw(){return Ew++}(),d[21]=u,d[16]=2==t.type?e[16]:d,d}function fi(e,t,n,i,r){let o=e.data[t];if(null===o)o=function Pl(e,t,n,i,r){const o=$d(),s=va(),l=e.data[t]=function zE(e,t,n,i,r,o){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,n,t,i,r);return null===e.firstChild&&(e.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l)),l}(e,t,n,i,r),function wD(){return R.lFrame.inI18n}()&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=i,o.attrs=r;const s=function Ui(){const e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return kt(o,!0),o}function hi(e,t,n,i){if(0===n)return-1;const r=t.length;for(let o=0;o<n;o++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function kl(e,t,n){ba(t);try{const i=e.viewQuery;null!==i&&Ul(1,i,n);const r=e.template;null!==r&&ip(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&np(e,t),e.staticViewQueries&&Ul(2,e.viewQuery,n);const o=e.components;null!==o&&function $E(e,t){for(let n=0;n<t.length;n++)l0(e,t[n])}(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,Ea()}}function Oo(e,t,n,i){const r=t[2];if(128!=(128&r)){ba(t);try{Vd(t),function Gd(e){return R.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&ip(e,t,n,2,i);const s=3==(3&r);if(s){const c=e.preOrderCheckHooks;null!==c&&to(t,c,null)}else{const c=e.preOrderHooks;null!==c&&no(t,c,0,null),Sa(t,0)}if(function s0(e){for(let t=qa(e);null!==t;t=Ya(t)){if(!t[2])continue;const n=t[9];for(let i=0;i<n.length;i++){const r=n[i],o=r[3];0==(512&r[2])&&_a(o,1),r[2]|=512}}}(t),function o0(e){for(let t=qa(e);null!==t;t=Ya(t))for(let