UNPKG

@aurigma/ui-framework

Version:

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

1 lines 226 kB
"use strict";(self.webpackChunkcolor_grid=self.webpackChunkcolor_grid||[]).push([[429],{621:()=>{}},c=>{c(c.s=621)}]);(()=>{"use strict";var e,v={},_={};function n(e){var o=_[e];if(void 0!==o)return o.exports;var r=_[e]={exports:{}};return v[e](r,r.exports,n),r.exports}n.m=v,e=[],n.O=(o,r,c,l)=>{if(!r){var s=1/0;for(a=0;a<e.length;a++){for(var[r,c,l]=e[a],i=!0,f=0;f<r.length;f++)(!1&l||s>=l)&&Object.keys(n.O).every(p=>n.O[p](r[f]))?r.splice(f--,1):(i=!1,l<s&&(s=l));if(i){e.splice(a--,1);var u=c();void 0!==u&&(o=u)}}return o}l=l||0;for(var a=e.length;a>0&&e[a-1][2]>l;a--)e[a]=e[a-1];e[a]=[r,c,l]},n.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),(()=>{var e={666:0};n.O.j=c=>0===e[c];var o=(c,l)=>{var f,u,[a,s,i]=l,t=0;if(a.some(h=>0!==e[h])){for(f in s)n.o(s,f)&&(n.m[f]=s[f]);if(i)var d=i(n)}for(c&&c(l);t<a.length;t++)n.o(e,u=a[t])&&e[u]&&e[u][0](),e[u]=0;return n.O(d)},r=self.webpackChunkcolor_grid=self.webpackChunkcolor_grid||[];r.forEach(o.bind(null,0)),r.push=o.bind(null,r.push.bind(r))})()})();"use strict";(self.webpackChunkcolor_grid=self.webpackChunkcolor_grid||[]).push([[179],{682:()=>{function W(e){return"function"==typeof e}function Br(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 jr=Br(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 Un(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 jr?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Ku(o)}catch(s){t=t??[],s instanceof jr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new jr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ku(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)&&Un(n,t)}remove(t){const{_finalizers:n}=this;n&&Un(n,t),t instanceof ze&&t._removeParent(this)}}ze.EMPTY=(()=>{const e=new ze;return e.closed=!0,e})();const Xu=ze.EMPTY;function Qu(e){return e instanceof ze||e&&"closed"in e&&W(e.remove)&&W(e.add)&&W(e.unsubscribe)}function Ku(e){W(e)?e():e.unsubscribe()}const vn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Hr={setTimeout(e,t,...n){const{delegate:i}=Hr;return i?.setTimeout?i.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Hr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Ju(e){Hr.setTimeout(()=>{const{onUnhandledError:t}=vn;if(!t)throw e;t(e)})}function Ns(){}const Uy=Vs("C",void 0,void 0);function Vs(e,t,n){return{kind:e,value:t,error:n}}let yn=null;function $r(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 Ls extends ze{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Qu(t)&&t.add(this)):this.destination=Xy}static create(t,n,i){return new Ni(t,n,i)}next(t){this.isStopped?js(function zy(e){return Vs("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?js(function Gy(e){return Vs("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?js(Uy,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 qy=Function.prototype.bind;function Bs(e,t){return qy.call(e,t)}class Yy{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(i){Ur(i)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(i){Ur(i)}else Ur(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ur(n)}}}class Ni extends Ls{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&&Bs(t.next,o),error:t.error&&Bs(t.error,o),complete:t.complete&&Bs(t.complete,o)}):r=t}this.destination=new Yy(r)}}function Ur(e){vn.useDeprecatedSynchronousErrorHandling?function Wy(e){vn.useDeprecatedSynchronousErrorHandling&&yn&&(yn.errorThrown=!0,yn.error=e)}(e):Ju(e)}function js(e,t){const{onStoppedNotification:n}=vn;n&&Hr.setTimeout(()=>n(e,t))}const Xy={closed:!0,next:Ns,error:function Zy(e){throw e},complete:Ns},Hs="function"==typeof Symbol&&Symbol.observable||"@@observable";function ed(e){return e}let Ie=(()=>{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 Ky(e){return e&&e instanceof Ls||function Qy(e){return e&&W(e.next)&&W(e.error)&&W(e.complete)}(e)&&Qu(e)}(n)?n:new Ni(n,i,r);return $r(()=>{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=nd(i))((r,o)=>{const s=new Ni({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)}[Hs](){return this}pipe(...n){return function td(e){return 0===e.length?ed:1===e.length?e[0]:function(n){return e.reduce((i,r)=>r(i),n)}}(n)(this)}toPromise(n){return new(n=nd(n))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=t=>new e(t),e})();function nd(e){var t;return null!==(t=e??vn.Promise)&&void 0!==t?t:Promise}const Jy=Br(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ke=(()=>{class e extends Ie{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const i=new id(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new Jy}next(n){$r(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(n)}})}error(n){$r(()=>{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(){$r(()=>{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?Xu:(this.currentObservers=null,o.push(n),new ze(()=>{this.currentObservers=null,Un(o,n)}))}_checkFinalizedStatuses(n){const{hasError:i,thrownError:r,isStopped:o}=this;i?n.error(r):o&&n.complete()}asObservable(){const n=new Ie;return n.source=this,n}}return e.create=(t,n)=>new id(t,n),e})();class id extends Ke{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:Xu}}function Rt(e){return t=>{if(function eC(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 lt(e,t,n,i,r){return new tC(e,t,n,i,r)}class tC extends Ls{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 Vi(e,t){return Rt((n,i)=>{let r=0;n.subscribe(lt(i,o=>{i.next(e.call(t,o,r++))}))})}function tn(e){return this instanceof tn?(this.v=e,this):new tn(e)}function sd(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 tn?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 ad(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 zs(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 Ws=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function ld(e){return W(e?.then)}function cd(e){return W(e[Hs])}function ud(e){return Symbol.asyncIterator&&W(e?.[Symbol.asyncIterator])}function dd(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 fd=function bC(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function hd(e){return W(e?.[fd])}function pd(e){return sd(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:i,done:r}=yield tn(n.read());if(r)return yield tn(void 0);yield yield tn(i)}}finally{n.releaseLock()}})}function gd(e){return W(e?.getReader)}function ct(e){if(e instanceof Ie)return e;if(null!=e){if(cd(e))return function EC(e){return new Ie(t=>{const n=e[Hs]();if(W(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Ws(e))return function SC(e){return new Ie(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(ld(e))return function IC(e){return new Ie(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ju)})}(e);if(ud(e))return md(e);if(hd(e))return function MC(e){return new Ie(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(gd(e))return function xC(e){return md(pd(e))}(e)}throw dd(e)}function md(e){return new Ie(t=>{(function TC(e,t){var n,i,r,o;return function rd(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=ad(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 nn(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 qs(e,t,n=1/0){return W(t)?qs((i,r)=>Vi((o,s)=>t(i,o,r,s))(ct(e(i,r))),n):("number"==typeof t&&(n=t),Rt((i,r)=>function AC(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;ct(n(g,u++)).subscribe(lt(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?nn(t,s,()=>p(C)):p(C)}f()}catch(C){t.error(C)}}))};return e.subscribe(lt(t,h,()=>{d=!0,f()})),()=>{a?.()}}(i,r,e,n)))}const Ys=new Ie(e=>e.complete());function _d(e){return e&&W(e.schedule)}function Zs(e){return e[e.length-1]}function vd(e){return _d(Zs(e))?e.pop():void 0}function yd(e,t=0){return Rt((n,i)=>{n.subscribe(lt(i,r=>nn(i,e,()=>i.next(r),t),()=>nn(i,e,()=>i.complete(),t),r=>nn(i,e,()=>i.error(r),t)))})}function Cd(e,t=0){return Rt((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function Dd(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ie(n=>{nn(n,t,()=>{const i=e[Symbol.asyncIterator]();nn(n,t,()=>{i.next().then(r=>{r.done?n.complete():n.next(r.value)})},0,!0)})})}function Xs(e,t){return t?function jC(e,t){if(null!=e){if(cd(e))return function kC(e,t){return ct(e).pipe(Cd(t),yd(t))}(e,t);if(Ws(e))return function VC(e,t){return new Ie(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}(e,t);if(ld(e))return function NC(e,t){return ct(e).pipe(Cd(t),yd(t))}(e,t);if(ud(e))return Dd(e,t);if(hd(e))return function LC(e,t){return new Ie(n=>{let i;return nn(n,t,()=>{i=e[fd](),nn(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(gd(e))return function BC(e,t){return Dd(pd(e),t)}(e,t)}throw dd(e)}(e,t):ct(e)}function Qs(...e){const t=vd(e),n=function PC(e,t){return"number"==typeof Zs(e)?e.pop():t}(e,1/0),i=e;return i.length?1===i.length?ct(i[0]):function OC(e=1/0){return qs(ed,e)}(n)(Xs(i,t)):Ys}function Ks(e,t,...n){if(!0===t)return void e();if(!1===t)return;const i=new Ni({next:()=>{i.unsubscribe(),e()}});return t(...n).subscribe(i)}function Z(e){for(let t in e)if(e[t]===Z)return t;throw Error("Could not find renamed property on target object.")}function Js(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function X(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(X).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 ea(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const $C=Z({__forward_ref__:Z});function Q(e){return e.__forward_ref__=Q,e.toString=function(){return X(this())},e}function A(e){return ta(e)?e():e}function ta(e){return"function"==typeof e&&e.hasOwnProperty($C)&&e.__forward_ref__===Q}class S extends Error{constructor(t,n){super(function Gr(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 zr(e,t){throw new S(-201,!1)}function et(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 Wr(e){return wd(e,qr)||wd(e,Ed)}function wd(e,t){return e.hasOwnProperty(t)?e[t]:null}function bd(e){return e&&(e.hasOwnProperty(na)||e.hasOwnProperty(XC))?e[na]:null}const qr=Z({\u0275prov:Z}),na=Z({\u0275inj:Z}),Ed=Z({ngInjectableDef:Z}),XC=Z({ngInjectorDef:Z});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 ia;function ut(e){const t=ia;return ia=e,t}function Sd(e,t,n){const i=Wr(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 zr(X(e))}function rn(e){return{toString:e}.toString()}var vt=(()=>((vt=vt||{})[vt.OnPush=0]="OnPush",vt[vt.Default=1]="Default",vt))(),Pt=(()=>{return(e=Pt||(Pt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Pt;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)(),Gn={},z=[],Yr=Z({\u0275cmp:Z}),ra=Z({\u0275dir:Z}),oa=Z({\u0275pipe:Z}),Id=Z({\u0275mod:Z}),Ut=Z({\u0275fac:Z}),Li=Z({__NG_ELEMENT_ID__:Z});let KC=0;function on(e){return rn(()=>{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===vt.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||Pt.Emulated,id:"c"+KC++,styles:e.styles||z,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.dependencies,s=e.features;return r.inputs=Td(e.inputs,i),r.outputs=Td(e.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Md).filter(xd):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(Ve).filter(xd):null,r})}function Md(e){return Y(e)||Ne(e)}function xd(e){return null!==e}function pe(e){return rn(()=>({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 Td(e,t){if(null==e)return Gn;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=on;function Y(e){return e[Yr]||null}function Ne(e){return e[ra]||null}function Ve(e){return e[oa]||null}const L=11,J=22;function qe(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ct(e){return Array.isArray(e)&&!0===e[1]}function la(e){return 0!=(8&e.flags)}function Kr(e){return 2==(2&e.flags)}function Jr(e){return 1==(1&e.flags)}function Dt(e){return null!==e.template}function rD(e){return 0!=(256&e[2])}function En(e,t){return e.hasOwnProperty(Ut)?e[Ut]:null}class Fd{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function kt(){return Rd}function Rd(e){return e.type.prototype.ngOnChanges&&(e.setInput=lD),aD}function aD(){const e=kd(this),t=e?.current;if(t){const n=e.previous;if(n===Gn)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function lD(e,t,n,i){const r=kd(e)||function cD(e,t){return e[Pd]=t}(e,{previous:Gn,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[n],l=s[a];o[a]=new Fd(l&&l.currentValue,t,s===Gn),e[i]=t}kt.ngInherit=!0;const Pd="__ngSimpleChanges__";function kd(e){return e[Pd]||null}function ge(e){for(;Array.isArray(e);)e=e[0];return e}function eo(e,t){return ge(t[e])}function it(e,t){return ge(t[e.index])}function ha(e,t){return e.data[t]}function rt(e,t){const n=t[e];return qe(n)?n:n[0]}function to(e){return 64==(64&e[2])}function sn(e,t){return null==t?null:e[t]}function Nd(e){e[18]=0}function pa(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:Yd(null),bindingsEnabled:!0};function Ld(){return R.bindingsEnabled}function v(){return R.lFrame.lView}function H(){return R.lFrame.tView}function Ce(){let e=Hd();for(;null!==e&&64===e.type;)e=e.parent;return e}function Hd(){return R.lFrame.currentTNode}function Nt(e,t){const n=R.lFrame;n.currentTNode=e,n.isParent=t}function ga(){return R.lFrame.isParent}function ma(){R.lFrame.isParent=!1}function Zn(){return R.lFrame.bindingIndex++}function zt(e){const t=R.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ED(e,t){const n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,_a(t)}function _a(e){R.lFrame.currentDirectiveIndex=e}function zd(){return R.lFrame.currentQueryIndex}function ya(e){R.lFrame.currentQueryIndex=e}function ID(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Wd(e,t,n){if(n&O.SkipSelf){let r=t,o=e;for(;!(r=r.parent,null!==r||n&O.Host||(r=ID(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;t=r,e=o}const i=R.lFrame=qd();return i.currentTNode=t,i.lView=e,!0}function Ca(e){const t=qd(),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 qd(){const e=R.lFrame,t=null===e?null:e.child;return null===t?Yd(e):t}function Yd(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 Zd(){const e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Xd=Zd;function Da(){const e=Zd();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 Be(){return R.lFrame.selectedIndex}function an(e){R.lFrame.selectedIndex=e}function re(){const e=R.lFrame;return ha(e.tView,e.selectedIndex)}function no(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 io(e,t,n){Kd(e,t,3,n)}function ro(e,t,n,i){(3&e[2])===n&&Kd(e,t,n,i)}function wa(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Kd(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)&&(PD(e,n,t,l),e[18]=(4294901760&e[18])+l+2),l++}function PD(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 zi{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function oo(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];ef(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),i++}}return i}function Jd(e){return 3===e||4===e||6===e}function ef(e){return 64===e.charCodeAt(0)}function so(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||tf(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function tf(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 nf(e){return-1!==e}function Xn(e){return 32767&e}function Qn(e,t){let n=function BD(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let Ea=!0;function ao(e){const t=Ea;return Ea=e,t}let jD=0;const Vt={};function qi(e,t){const n=Ia(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Sa(i.data,e),Sa(t,null),Sa(i.blueprint,null));const r=lo(e,t),o=e.injectorIndex;if(nf(r)){const s=Xn(r),a=Qn(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 Sa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ia(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function lo(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=hf(r),null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function co(e,t,n){!function HD(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Li)&&(i=n[Li]),null==i&&(i=n[Li]=jD++);const r=255&i;t.data[e+(r>>5)]|=1<<r}(e,t,n)}function af(e,t,n){if(n&O.Optional||void 0!==e)return e;zr()}function lf(e,t,n,i){if(n&O.Optional&&void 0===i&&(i=null),0==(n&(O.Self|O.Host))){const r=e[9],o=ut(void 0);try{return r?r.get(t,i,n&O.Optional):Sd(t,i,n&O.Optional)}finally{ut(o)}}return af(i,0,n)}function cf(e,t,n,i=O.Default,r){if(null!==e){if(1024&t[2]){const s=function WD(e,t,n,i,r){let o=e,s=t;for(;null!==o&&null!==s&&1024&s[2]&&!(256&s[2]);){const a=uf(o,s,n,i|O.Self,Vt);if(a!==Vt)return a;let l=o.parent;if(!l){const c=s[21];if(c){const u=c.get(n,Vt,i);if(u!==Vt)return u}l=hf(s),s=s[15]}o=l}return r}(e,t,n,i,Vt);if(s!==Vt)return s}const o=uf(e,t,n,i,Vt);if(o!==Vt)return o}return lf(t,n,i,r)}function uf(e,t,n,i,r){const o=function GD(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Li)?e[Li]:void 0;return"number"==typeof t?t>=0?255&t:zD:t}(n);if("function"==typeof o){if(!Wd(t,e,i))return i&O.Host?af(r,0,i):lf(t,n,i,r);try{const s=o(i);if(null!=s||i&O.Optional)return s;zr()}finally{Xd()}}else if("number"==typeof o){let s=null,a=Ia(e,t),l=-1,c=i&O.Host?t[16][6]:null;for((-1===a||i&O.SkipSelf)&&(l=-1===a?lo(e,t):t[a+8],-1!==l&&ff(i,!1)?(s=t[1],a=Xn(l),t=Qn(l,t)):a=-1);-1!==a;){const u=t[1];if(df(o,a,u.data)){const d=UD(a,t,n,s,i,c);if(d!==Vt)return d}l=t[a+8],-1!==l&&ff(i,t[1].data[a+8]===c)&&df(o,a,t)?(s=u,a=Xn(l),t=Qn(l,t)):a=-1}}return r}function UD(e,t,n,i,r,o){const s=t[1],a=s.data[e+8],u=uo(a,s,n,null==i?Kr(a)&&Ea:i!=s&&0!=(3&a.type),r&O.Host&&o===a);return null!==u?Yi(t,s,u,a):Vt}function uo(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&&Dt(h)&&h.type===n)return l}return null}function Yi(e,t,n,i){let r=e[n];const o=t.data;if(function kD(e){return e instanceof zi}(r)){const s=r;s.resolving&&function UC(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=ao(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?ut(s.injectImpl):null;Wd(e,i,O.Default);try{r=e[n]=s.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function RD(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=Rd(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&&ut(l),ao(a),s.resolving=!1,Xd()}}return r}function df(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function ff(e,t){return!(e&O.Self||e&O.Host&&t)}class Kn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return cf(this._tNode,this._lView,t,i,n)}}function zD(){return new Kn(Ce(),v())}function Ma(e){return ta(e)?()=>{const t=Ma(A(e));return t&&t()}:En(e)}function hf(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const ei="__parameters__";function ni(e,t,n){return rn(()=>{const i=function Ta(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(ei)?l[ei]:Object.defineProperty(l,ei,{value:[]})[ei];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 ot(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)),ot(i,t)):t!==e&&t.push(i)}return t}function Wt(e,t){e.forEach(n=>Array.isArray(n)?Wt(n,t):t(n))}function gf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function fo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Qi(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function st(e,t,n){let i=ii(e,t);return i>=0?e[1|i]=n:(i=~i,function XD(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 Oa(e,t){const n=ii(e,t);if(n>=0)return e[1|n]}function ii(e,t){return function vf(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 Ki={},Ra="__NG_DI_FLAG__",po="ngTempTokenPath",rw=/\n/gm,yf="__source";let Ji;function ri(e){const t=Ji;return Ji=e,t}function sw(e,t=O.Default){if(void 0===Ji)throw new S(-203,!1);return null===Ji?Sd(e,void 0,t):Ji.get(e,t&O.Optional?null:void 0,t)}function D(e,t=O.Default){return(function QC(){return ia}()||sw)(A(e),t)}function go(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 Pa(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=aw(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 er(e,t){return e[Ra]=t,e.prototype[Ra]=t,e}function aw(e){return e[Ra]}const mo=er(ni("Optional"),8),_o=er(ni("SkipSelf"),4);var Ye=(()=>((Ye=Ye||{})[Ye.Important=1]="Important",Ye[Ye.DashCase=2]="DashCase",Ye))();const Ba=new Map;let Sw=0;const Ha="__ngContext__";function Fe(e,t){qe(t)?(e[Ha]=t[20],function Mw(e){Ba.set(e[20],e)}(t)):e[Ha]=t}function Ua(e,t){return undefined(e,t)}function rr(e){const t=e[3];return Ct(t)?t[3]:t}function Ga(e){return jf(e[13])}function za(e){return jf(e[4])}function jf(e){for(;null!==e&&!Ct(e);)e=e[4];return e}function si(e,t,n,i,r){if(null!=i){let o,s=!1;Ct(i)?o=i:qe(i)&&(s=!0,i=i[0]);const a=ge(i);0===e&&null!==n?null==r?Wf(t,n,a):Sn(t,n,a,r||null,!0):1===e&&null!==n?Sn(t,n,a,r||null,!0):2===e?function Ka(e,t,n){const i=Co(e,t);i&&function Zw(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function Kw(e,t,n,i,r){const o=n[7];o!==ge(n)&&si(t,e,i,o,r);for(let a=10;a<n.length;a++){const l=n[a];or(l[1],l,e,t,i,o)}}(t,e,o,n,r)}}function qa(e,t,n){return e.createElement(t,n)}function $f(e,t){const n=e[9],i=n.indexOf(t),r=t[3];512&t[2]&&(t[2]&=-513,pa(r,-1)),n.splice(i,1)}function Ya(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const r=i[17];null!==r&&r!==e&&$f(r,i),t>0&&(e[n-1][4]=i[4]);const o=fo(e,10+t);!function Hw(e,t){or(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 Uf(e,t){if(!(128&t[2])){const n=t[L];n.destroyNode&&or(e,t,n,3,null,null),function Gw(e){let t=e[13];if(!t)return Za(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)&&Za(t[1],t),t=t[3];null===t&&(t=e),qe(t)&&Za(t[1],t),n=t&&t[4]}t=n}}(t)}}function Za(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Yw(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 zi)){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 qw(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&&Ct(t[3])){n!==t[3]&&$f(n,t);const i=t[19];null!==i&&i.detachView(e)}!function xw(e){Ba.delete(e[20])}(t)}}function Gf(e,t,n){return function zf(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===Pt.None||r===Pt.Emulated)return null}return it(i,n)}(e,t.parent,n)}function Sn(e,t,n,i,r){e.insertBefore(t,n,i,r)}function Wf(e,t,n){e.appendChild(t,n)}function qf(e,t,n,i,r){null!==i?Sn(e,t,n,i,r):Wf(e,t,n)}function Co(e,t){return e.parentNode(t)}function Yf(e,t,n){return Xf(e,t,n)}let nl,Xf=function Zf(e,t,n){return 40&e.type?it(e,n):null};function Do(e,t,n,i){const r=Gf(e,i,t),o=t[L],a=Yf(i.parent||t[6],i,t);if(null!=r)if(Array.isArray(n))for(let l=0;l<n.length;l++)qf(o,r,n[l],a,!1);else qf(o,r,n,a,!1)}function wo(e,t){if(null!==t){const n=t.type;if(3&n)return it(t,e);if(4&n)return Qa(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return wo(e,i);{const r=e[t.index];return Ct(r)?Qa(-1,r):ge(r)}}if(32&n)return Ua(t,e)()||ge(e[t.index]);{const i=Kf(e,t);return null!==i?Array.isArray(i)?i[0]:wo(rr(e[16]),i):wo(e,t.next)}}return null}function Kf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Qa(e,t){const n=10+e+1;if(n<t.length){const i=t[n],r=i[1].firstChild;if(null!==r)return wo(i,r)}return t[7]}function Ja(e,t,n,i,r,o,s){for(;null!=n;){const a=i[n.index],l=n.type;if(s&&0===t&&(a&&Fe(ge(a),i),n.flags|=4),64!=(64&n.flags))if(8&l)Ja(e,t,n.child,i,r,o,!1),si(t,e,r,a,o);else if(32&l){const c=Ua(n,i);let u;for(;u=c();)si(t,e,r,u,o);si(t,e,r,a,o)}else 16&l?Jf(e,t,i,n,r,o):si(t,e,r,a,o);n=s?n.projectionNext:n.next}}function or(e,t,n,i,r,o){Ja(n,i,e.firstChild,t,r,o,!1)}function Jf(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++)si(t,e,r,l[c],o);else Ja(e,t,l,s[3],r,o,!0)}function eh(e,t,n){e.setAttribute(t,"style",n)}function el(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function cn(e){return e instanceof class oh{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 ph=new x("ENVIRONMENT_INITIALIZER"),gh=new x("INJECTOR",-1),mh=new x("INJECTOR_DEF_TYPES");class _h{get(t,n=Ki){if(n===Ki){const i=new Error(`NullInjectorError: No provider for ${X(t)}!`);throw i.name="NullInjectorError",i}return n}}function Mb(...e){return{\u0275providers:vh(0,e)}}function vh(e,...t){const n=[],i=new Set;let r;return Wt(t,o=>{const s=o;ll(s,n,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&yh(r,n),n}function yh(e,t){for(let n=0;n<e.length;n++){const{providers:r}=e[n];Wt(r,o=>{t.push(o)})}}function ll(e,t,n,i){if(!(e=A(e)))return!1;let r=null,o=bd(e);const s=!o&&Y(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=bd(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)ll(c,t,n,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Wt(o.imports,u=>{ll(u,t,n,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&yh(c,t)}if(!a){const c=En(r)||(()=>new r);t.push({provide:r,useFactory:c,deps:z},{provide:mh,useValue:r,multi:!0},{provide:ph,useValue:()=>D(r),multi:!0})}const l=o.providers;null==l||a||Wt(l,u=>{t.push(u)})}}return r!==e&&void 0!==e.providers}const xb=Z({provide:String,useValue:Z});function cl(e){return null!==e&&"object"==typeof e&&xb in e}function Mn(e){return"function"==typeof e}const ul=new x("Set Injector scope."),Io={},Ab={};let dl;function Mo(){return void 0===dl&&(dl=new _h),dl}class ai{}class wh extends ai{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,hl(t,s=>this.processProvider(s)),this.records.set(gh,li(void 0,this)),r.has("environment")&&this.records.set(ai,li(void 0,this));const o=this.records.get(ul);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(mh.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=ri(this),i=ut(void 0);try{return t()}finally{ri(n),ut(i)}}get(t,n=Ki,i=O.Default){this.assertNotDestroyed();const r=ri(this),o=ut(void 0);try{if(!(i&O.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function kb(e){return"function"==typeof e||"object"==typeof e&&e instanceof x}(t)&&Wr(t);a=l&&this.injectableDefInScope(l)?li(fl(t),Io):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&O.Self?Mo():this.parent).get(t,n=i&O.Optional&&n===Ki?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[po]=s[po]||[]).unshift(X(t)),r)throw s;return function lw(e,t,n,i){const r=e[po];throw t[yf]&&r.unshift(t[yf]),e.message=function cw(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=X(t);if(Array.isArray(t))r=t.map(X).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):X(a)))}r=`{${o.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(rw,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[po]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{ut(o),ri(r)}}resolveInjectorInitializers(){const t=ri(this),n=ut(void 0);try{const i=this.get(ph.multi,z,O.Self);for(const r of i)r()}finally{ri(t),ut(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(X(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 Fb(e){return cl(e)?li(void 0,e.useValue):li(bh(e),Io)}(t);if(Mn(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=li(void 0,Io,!0),r.factory=()=>Pa(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===Io&&(n.value=Ab,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Pb(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 fl(e){const t=Wr(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 Ob(e){const t=e.length;if(t>0)throw Qi(t,"?"),new S(204,!1);const n=function YC(e){const t=e&&(e[qr]||e[Ed]);if(t){const n=function ZC(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 bh(e,t,n){let i;if(Mn(e)){const r=A(e);return En(r)||fl(r)}if(cl(e))i=()=>A(e.useValue);else if(function Dh(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Pa(e.deps||[]));else if(function Ch(e){return!(!e||!e.useExisting)}(e))i=()=>D(A(e.useExisting));else{const r=A(e&&(e.useClass||e.provide));if(!function Rb(e){return!!e.deps}(e))return En(r)||fl(r);i=()=>new r(...Pa(e.deps))}return i}function li(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Nb(e){return!!e.\u0275providers}function hl(e,t){for(const n of e)Array.isArray(n)?hl(n,t):Nb(n)?hl(n.\u0275providers,t):t(n)}class Eh{}class Bb{resolveComponentFactory(t){throw function Lb(e){const t=Error(`No component factory found for ${X(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let xn=(()=>{class e{}return e.NULL=new Bb,e})();function jb(){return ci(Ce(),v())}function ci(e,t){return new we(it(e,t))}let we=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=jb,e})();function Hb(e){return e instanceof we?e.nativeElement:e}class Ih{}let Tn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function $b(){const e=v(),n=rt(Ce().index,e);return(qe(n)?n:e)[L]}(),e})(),Ub=(()=>{class e{}return e.\u0275prov=N({token:e,providedIn:"root",factory:()=>null}),e})();class cr{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Gb=new cr("14.3.0"),pl={};function ml(e){return e.ngOriginalError}class ui{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&&ml(t);for(;n&&ml(n);)n=ml(n);return n||null}}function xh(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 Th="ng-template";function tE(e,t,n){let i=0;for(;i<e.length;){let r=e[i++];if(n&&"class"===r){if(r=e[i],-1!==xh(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 Ah(e){return 4===e.type&&e.value!==Th}function nE(e,t,n){return t===(4!==e.type||n?e.value:Th)}function iE(e,t,n){let i=4;const r=e.attrs||[],o=function sE(e){for(let t=0;t<e.length;t++)if(Jd(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&&!nE(e,l,n)||""===l&&1===t.length){if(wt(i))return!1;s=!0}}else{const c=8&i?l:t[++a];if(8&i&&null!==e.attrs){if(!tE(e.attrs,c,n)){if(wt(i))return!1;s=!0}continue}const d=rE(8&i?"class":l,r,Ah(e),n);if(-1===d){if(wt(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!==xh(h,c,0)||2&i&&c!==f){if(wt(i))return!1;s=!0}}}}else{if(!s&&!wt(i)&&!wt(l))return!1;if(s&&wt(l))continue;s=!1,i=l|1&i}}return wt(i)||s}function wt(e){return 0==(1&e)}function rE(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 aE(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 Oh(e,t,n=!1){for(let i=0;i<t.length;i++)if(iE(e,t[i],n))return!0;return!1}function lE(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 Fh(e,t){return e?":not("+t.trim()+")":t}function cE(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&&!wt(s)&&(t+=Fh(o,r),r=""),i=s,o=o||!wt(i);n++}return""!==r&&(t+=Fh(o,r)),t}const k={};function be(e){Rh(H(),v(),Be()+e,!1)}function Rh(e,t,n,i){if(!i)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&io(t,o,n)}else{const o=e.preOrderHooks;null!==o&&ro(t,o,0,n)}an(n)}function Vh(e,t=null,n=null,i){const r=Lh(e,t,n,i);return r.resolveInjectorInitializers(),r}function Lh(e,t=null,n=null,i,r=new Set){const o=[n||z,Mb(e)];return i=i||("object"==typeof e?void 0:X(e)),new wh(o,t||Mo(),i||null,r)}let ht=(()=>{class e{static create(n,i){if(Array.isArray(n))return Vh({name:""},i,n,"");{const r=n.name??"";return Vh({name:r},n.parent,n.providers,r)}}}return e.THROW_IF_NOT_FOUND=Ki,e.NULL=new _h,e.\u0275prov=N({token:e,providedIn:"any",factory:()=>D(gh)}),e.__NG_ELEMENT_ID__=-1,e})();function y(e,t=O.Default){const n=v();return null===n?D(e,t):cf(Ce(),n,A(e),t)}function To(e,t){return e<<17|t<<2}function bt(e){return e>>17&32767}function Dl(e){return 2|e}function Zt(e){return(131068&e)>>2}function wl(e,t){return-131069&e|t<<2}function bl(e){return 1|e}function tp(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];ya(r),s.contentQueries(2,t[o],o)}}}function Fo(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),Nd(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 Iw(){return Sw++}(),d[21]=u,d[16]=2==t.type?e[16]:d,d}function hi(e,t,n,i,r){let o=e.data[t];if(null===o)o=function Ol(e,t,n,i,r){const o=Hd(),s=ga(),l=e.data[t]=function WE(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 bD(){return R.lFrame.inI18n}()&&(o.flags|=64);else if(64&o.type){o.type=n,o.value=i,o.attrs=r;const s=function Gi(){const e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Nt(o,!0),o}function pi(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 Fl(e,t,n){Ca(t);try{const i=e.viewQuery;null!==i&&jl(1,i,n);const r=e.template;null!==r&&np(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&tp(e,t),e.staticViewQueries&&jl(2,e.viewQuery,n);const o=e.components;null!==o&&function UE(e,t){for(let n=0;n<t.length;n++)c0(e,t[n])}(t,o)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[2]&=-5,Da()}}function Ro(e,t,n,i){const r=t[2];if(128!=(128&r)){Ca(t);try{Nd(t),function Ud(e){return R.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&np(e,t,n,2,i);const s=3==(3&r);if(s){const c=e.preOrderCheckHooks;null!==c&&io(t,c,null)}else{const c=e.preOrderHooks;null!==c&&ro(t,c,0,null),wa(t,0)}if(function a0(e){for(let t=Ga(e);null!==t;t=za(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])&&pa(o,1),r[2]|=512}}}(t),function s0(e){for(let t=Ga(e);null!==t;t=za(t))for(let n=10;n<t.length;n++){const i=t[n],r=i[1];to(i)&&Ro(r,i,r.template,i[8])}}(t),null!==e.contentQueries&&tp(e,t),s){const c=e.contentCheckHooks;null!==c&&io(t,c)}else{const c=e.contentHooks;null!==c&&ro(t,c,1),wa(t,1)}!funct