UNPKG

@aurigma/ui-framework

Version:

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

1 lines 217 kB
"use strict";(self.webpackChunkcheckbox=self.webpackChunkcheckbox||[]).push([[429],{765:()=>{}},c=>{c(c.s=765)}]);(()=>{"use strict";var e,i={},h={};function n(e){var f=h[e];if(void 0!==f)return f.exports;var r=h[e]={exports:{}};return i[e](r,r.exports,n),r.exports}n.m=i,e=[],n.O=(f,r,o,c)=>{if(!r){var s=1/0;for(a=0;a<e.length;a++){for(var[r,o,c]=e[a],t=!0,l=0;l<r.length;l++)(!1&c||s>=c)&&Object.keys(n.O).every(d=>n.O[d](r[l]))?r.splice(l--,1):(t=!1,c<s&&(s=c));if(t){e.splice(a--,1);var u=o();void 0!==u&&(f=u)}}return f}c=c||0;for(var a=e.length;a>0&&e[a-1][2]>c;a--)e[a]=e[a-1];e[a]=[r,o,c]},n.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={666:0};n.O.j=o=>0===e[o];var f=(o,c)=>{var l,u,[a,s,t]=c,v=0;if(a.some(b=>0!==e[b])){for(l in s)n.o(s,l)&&(n.m[l]=s[l]);if(t)var _=t(n)}for(o&&o(c);v<a.length;v++)n.o(e,u=a[v])&&e[u]&&e[u][0](),e[u]=0;return n.O(_)},r=self.webpackChunkcheckbox=self.webpackChunkcheckbox||[];r.forEach(f.bind(null,0)),r.push=f.bind(null,r.push.bind(r))})()})();"use strict";(self.webpackChunkcheckbox=self.webpackChunkcheckbox||[]).push([[179],{826:()=>{function z(e){return"function"==typeof e}function jr(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 Hr=jr(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(z(i))try{i()}catch(o){t=o instanceof Hr?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{id(o)}catch(s){t=t??[],s instanceof Hr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Hr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)id(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 td=ze.EMPTY;function nd(e){return e instanceof ze||e&&"closed"in e&&z(e.remove)&&z(e.add)&&z(e.unsubscribe)}function id(e){z(e)?e():e.unsubscribe()}const _n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},$r={setTimeout(e,t,...n){const{delegate:i}=$r;return i?.setTimeout?i.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=$r;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function rd(e){$r.setTimeout(()=>{const{onUnhandledError:t}=_n;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 vn=null;function Ur(e){if(_n.useDeprecatedSynchronousErrorHandling){const t=!vn;if(t&&(vn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:i}=vn;if(vn=null,n)throw i}}else e()}class Ls extends ze{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,nd(t)&&t.add(this)):this.destination=Xy}static create(t,n,i){return new ki(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){Gr(i)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(i){Gr(i)}else Gr(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Gr(n)}}}class ki extends Ls{constructor(t,n,i){let r;if(super(),z(t)||!t)r={next:t??void 0,error:n??void 0,complete:i??void 0};else{let o;this&&_n.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 Gr(e){_n.useDeprecatedSynchronousErrorHandling?function Wy(e){_n.useDeprecatedSynchronousErrorHandling&&vn&&(vn.errorThrown=!0,vn.error=e)}(e):rd(e)}function js(e,t){const{onStoppedNotification:n}=_n;n&&$r.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 od(e){return e}let Se=(()=>{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&&z(e.next)&&z(e.error)&&z(e.complete)}(e)&&nd(e)}(n)?n:new ki(n,i,r);return Ur(()=>{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=ad(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)}[Hs](){return this}pipe(...n){return function sd(e){return 0===e.length?od:1===e.length?e[0]:function(n){return e.reduce((i,r)=>r(i),n)}}(n)(this)}toPromise(n){return new(n=ad(n))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=t=>new e(t),e})();function ad(e){var t;return null!==(t=e??_n.Promise)&&void 0!==t?t:Promise}const Jy=jr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Qe=(()=>{class e extends Se{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const i=new ld(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new Jy}next(n){Ur(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(n)}})}error(n){Ur(()=>{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(){Ur(()=>{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?td:(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 Se;return n.source=this,n}}return e.create=(t,n)=>new ld(t,n),e})();class ld 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:td}}function Ft(e){return t=>{if(function eC(e){return z(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 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 zr(e,t){return Ft((n,i)=>{let r=0;n.subscribe(at(i,o=>{i.next(e.call(t,o,r++))}))})}function tn(e){return this instanceof tn?(this.v=e,this):new tn(e)}function dd(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 fd(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 hd(e){return z(e?.then)}function pd(e){return z(e[Hs])}function gd(e){return Symbol.asyncIterator&&z(e?.[Symbol.asyncIterator])}function md(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 _d=function bC(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function vd(e){return z(e?.[_d])}function yd(e){return dd(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 Cd(e){return z(e?.getReader)}function lt(e){if(e instanceof Se)return e;if(null!=e){if(pd(e))return function EC(e){return new Se(t=>{const n=e[Hs]();if(z(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 Se(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(hd(e))return function IC(e){return new Se(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,rd)})}(e);if(gd(e))return Dd(e);if(vd(e))return function MC(e){return new Se(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Cd(e))return function xC(e){return Dd(yd(e))}(e)}throw md(e)}function Dd(e){return new Se(t=>{(function TC(e,t){var n,i,r,o;return function cd(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=fd(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 z(t)?qs((i,r)=>zr((o,s)=>t(i,o,r,s))(lt(e(i,r))),n):("number"==typeof t&&(n=t),Ft((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;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?nn(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 Ys=new Se(e=>e.complete());function wd(e){return e&&z(e.schedule)}function Zs(e){return e[e.length-1]}function bd(e){return wd(Zs(e))?e.pop():void 0}function Ed(e,t=0){return Ft((n,i)=>{n.subscribe(at(i,r=>nn(i,e,()=>i.next(r),t),()=>nn(i,e,()=>i.complete(),t),r=>nn(i,e,()=>i.error(r),t)))})}function Sd(e,t=0){return Ft((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function Id(e,t){if(!e)throw new Error("Iterable cannot be null");return new Se(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(pd(e))return function kC(e,t){return lt(e).pipe(Sd(t),Ed(t))}(e,t);if(Ws(e))return function VC(e,t){return new Se(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}(e,t);if(hd(e))return function NC(e,t){return lt(e).pipe(Sd(t),Ed(t))}(e,t);if(gd(e))return Id(e,t);if(vd(e))return function LC(e,t){return new Se(n=>{let i;return nn(n,t,()=>{i=e[_d](),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)}),()=>z(i?.return)&&i.return()})}(e,t);if(Cd(e))return function BC(e,t){return Id(yd(e),t)}(e,t)}throw md(e)}(e,t):lt(e)}function Qs(...e){const t=bd(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?lt(i[0]):function FC(e=1/0){return qs(od,e)}(n)(Xs(i,t)):Ys}function Ks(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 Js(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 ea(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const $C=X({__forward_ref__:X});function Z(e){return e.__forward_ref__=Z,e.toString=function(){return Q(this())},e}function A(e){return ta(e)?e():e}function ta(e){return"function"==typeof e&&e.hasOwnProperty($C)&&e.__forward_ref__===Z}class S extends Error{constructor(t,n){super(function Wr(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 qr(e,t){throw new S(-201,!1)}function Je(e,t){null==e&&function W(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 Yr(e){return Md(e,Zr)||Md(e,Td)}function Md(e,t){return e.hasOwnProperty(t)?e[t]:null}function xd(e){return e&&(e.hasOwnProperty(na)||e.hasOwnProperty(XC))?e[na]:null}const Zr=X({\u0275prov:X}),na=X({\u0275inj:X}),Td=X({ngInjectableDef:X}),XC=X({ngInjectorDef:X});var F=(()=>((F=F||{})[F.Default=0]="Default",F[F.Host=1]="Host",F[F.Self=2]="Self",F[F.SkipSelf=4]="SkipSelf",F[F.Optional=8]="Optional",F))();let ia;function ct(e){const t=ia;return ia=e,t}function Ad(e,t,n){const i=Yr(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&F.Optional?null:void 0!==t?t:void qr(Q(e))}function rn(e){return{toString:e}.toString()}var Ct=(()=>((Ct=Ct||{})[Ct.OnPush=0]="OnPush",Ct[Ct.Default=1]="Default",Ct))(),Ot=(()=>{return(e=Ot||(Ot={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ot;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={},G=[],Xr=X({\u0275cmp:X}),ra=X({\u0275dir:X}),oa=X({\u0275pipe:X}),Fd=X({\u0275mod:X}),Ut=X({\u0275fac:X}),Ni=X({__NG_ELEMENT_ID__:X});let KC=0;function yn(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===Ct.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||G,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ot.Emulated,id:"c"+KC++,styles:e.styles||G,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.dependencies,s=e.features;return r.inputs=Pd(e.inputs,i),r.outputs=Pd(e.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Od).filter(Rd):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(Le).filter(Rd):null,r})}function Od(e){return Y(e)||Ve(e)}function Rd(e){return null!==e}function ge(e){return rn(()=>({type:e.type,bootstrap:e.bootstrap||G,declarations:e.declarations||G,imports:e.imports||G,exports:e.exports||G,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Pd(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 O=yn;function Y(e){return e[Xr]||null}function Ve(e){return e[ra]||null}function Le(e){return e[oa]||null}const L=11,J=22;function qe(e){return Array.isArray(e)&&"object"==typeof e[1]}function wt(e){return Array.isArray(e)&&!0===e[1]}function la(e){return 0!=(8&e.flags)}function eo(e){return 2==(2&e.flags)}function to(e){return 1==(1&e.flags)}function bt(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 Vd{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Rt(){return Ld}function Ld(e){return e.type.prototype.ngOnChanges&&(e.setInput=lD),aD}function aD(){const e=jd(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 lD(e,t,n,i){const r=jd(e)||function cD(e,t){return e[Bd]=t}(e,{previous:Un,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[n],l=s[a];o[a]=new Vd(l&&l.currentValue,t,s===Un),e[i]=t}Rt.ngInherit=!0;const Bd="__ngSimpleChanges__";function jd(e){return e[Bd]||null}function me(e){for(;Array.isArray(e);)e=e[0];return e}function no(e,t){return me(t[e])}function nt(e,t){return me(t[e.index])}function ha(e,t){return e.data[t]}function it(e,t){const n=t[e];return qe(n)?n:n[0]}function io(e){return 64==(64&e[2])}function on(e,t){return null==t?null:e[t]}function Hd(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:Qd(null),bindingsEnabled:!0};function Ud(){return R.bindingsEnabled}function v(){return R.lFrame.lView}function H(){return R.lFrame.tView}function ga(e){return R.lFrame.contextLView=e,e[8]}function ma(e){return R.lFrame.contextLView=null,e}function De(){let e=Gd();for(;null!==e&&64===e.type;)e=e.parent;return e}function Gd(){return R.lFrame.currentTNode}function Pt(e,t){const n=R.lFrame;n.currentTNode=e,n.isParent=t}function _a(){return R.lFrame.isParent}function va(){R.lFrame.isParent=!1}function Yn(){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,ya(t)}function ya(e){R.lFrame.currentDirectiveIndex=e}function Yd(){return R.lFrame.currentQueryIndex}function Da(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 Zd(e,t,n){if(n&F.SkipSelf){let r=t,o=e;for(;!(r=r.parent,null!==r||n&F.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=Xd();return i.currentTNode=t,i.lView=e,!0}function wa(e){const t=Xd(),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 Xd(){const e=R.lFrame,t=null===e?null:e.child;return null===t?Qd(e):t}function Qd(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 Kd(){const e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Jd=Kd;function ba(){const e=Kd();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 sn(e){R.lFrame.selectedIndex=e}function re(){const e=R.lFrame;return ha(e.tView,e.selectedIndex)}function ro(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 oo(e,t,n){tf(e,t,3,n)}function so(e,t,n,i){(3&e[2])===n&&tf(e,t,n,i)}function Ea(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function tf(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 Ui{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function ao(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];rf(o)?e.setProperty(t,o,s):e.setAttribute(t,o,s),i++}}return i}function nf(e){return 3===e||4===e||6===e}function rf(e){return 64===e.charCodeAt(0)}function lo(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||sf(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function sf(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 af(e){return-1!==e}function Zn(e){return 32767&e}function Xn(e,t){let n=function BD(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let Ia=!0;function co(e){const t=Ia;return Ia=e,t}let jD=0;const kt={};function zi(e,t){const n=xa(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Ma(i.data,e),Ma(t,null),Ma(i.blueprint,null));const r=uo(e,t),o=e.injectorIndex;if(af(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 Ma(e,t){e.push(0,0,0,0,0,0,0,0,t)}function xa(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function uo(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=mf(r),null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function fo(e,t,n){!function HD(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Ni)&&(i=n[Ni]),null==i&&(i=n[Ni]=jD++);const r=255&i;t.data[e+(r>>5)]|=1<<r}(e,t,n)}function uf(e,t,n){if(n&F.Optional||void 0!==e)return e;qr()}function df(e,t,n,i){if(n&F.Optional&&void 0===i&&(i=null),0==(n&(F.Self|F.Host))){const r=e[9],o=ct(void 0);try{return r?r.get(t,i,n&F.Optional):Ad(t,i,n&F.Optional)}finally{ct(o)}}return uf(i,0,n)}function ff(e,t,n,i=F.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=hf(o,s,n,i|F.Self,kt);if(a!==kt)return a;let l=o.parent;if(!l){const c=s[21];if(c){const u=c.get(n,kt,i);if(u!==kt)return u}l=mf(s),s=s[15]}o=l}return r}(e,t,n,i,kt);if(s!==kt)return s}const o=hf(e,t,n,i,kt);if(o!==kt)return o}return df(t,n,i,r)}function hf(e,t,n,i,r){const o=function GD(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Ni)?e[Ni]:void 0;return"number"==typeof t?t>=0?255&t:zD:t}(n);if("function"==typeof o){if(!Zd(t,e,i))return i&F.Host?uf(r,0,i):df(t,n,i,r);try{const s=o(i);if(null!=s||i&F.Optional)return s;qr()}finally{Jd()}}else if("number"==typeof o){let s=null,a=xa(e,t),l=-1,c=i&F.Host?t[16][6]:null;for((-1===a||i&F.SkipSelf)&&(l=-1===a?uo(e,t):t[a+8],-1!==l&&gf(i,!1)?(s=t[1],a=Zn(l),t=Xn(l,t)):a=-1);-1!==a;){const u=t[1];if(pf(o,a,u.data)){const d=UD(a,t,n,s,i,c);if(d!==kt)return d}l=t[a+8],-1!==l&&gf(i,t[1].data[a+8]===c)&&pf(o,a,t)?(s=u,a=Zn(l),t=Xn(l,t)):a=-1}}return r}function UD(e,t,n,i,r,o){const s=t[1],a=s.data[e+8],u=ho(a,s,n,null==i?eo(a)&&Ia:i!=s&&0!=(3&a.type),r&F.Host&&o===a);return null!==u?Wi(t,s,u,a):kt}function ho(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&&bt(h)&&h.type===n)return l}return null}function Wi(e,t,n,i){let r=e[n];const o=t.data;if(function kD(e){return e instanceof Ui}(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 U(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=co(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?ct(s.injectImpl):null;Zd(e,i,F.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=Ld(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),co(a),s.resolving=!1,Jd()}}return r}function pf(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function gf(e,t){return!(e&F.Self||e&F.Host&&t)}class Qn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,i){return ff(this._tNode,this._lView,t,i,n)}}function zD(){return new Qn(De(),v())}function Ta(e){return ta(e)?()=>{const t=Ta(A(e));return t&&t()}:En(e)}function mf(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 rn(()=>{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 Wt(e,t){e.forEach(n=>Array.isArray(n)?Wt(n,t):t(n))}function vf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function po(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Zi(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 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 Ra(e,t){const n=ni(e,t);if(n>=0)return e[1|n]}function ni(e,t){return function Df(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 Xi={},ka="__NG_DI_FLAG__",mo="ngTempTokenPath",rw=/\n/gm,wf="__source";let Qi;function ii(e){const t=Qi;return Qi=e,t}function sw(e,t=F.Default){if(void 0===Qi)throw new S(-203,!1);return null===Qi?Ad(e,void 0,t):Qi.get(e,t&F.Optional?null:void 0,t)}function D(e,t=F.Default){return(function QC(){return ia}()||sw)(A(e),t)}function _o(e,t=F.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),D(e,t)}function Na(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=F.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 Ki(e,t){return e[ka]=t,e.prototype[ka]=t,e}function aw(e){return e[ka]}const vo=Ki(ti("Optional"),8),yo=Ki(ti("SkipSelf"),4);var Ye=(()=>((Ye=Ye||{})[Ye.Important=1]="Important",Ye[Ye.DashCase=2]="DashCase",Ye))();const Ha=new Map;let Sw=0;const Ua="__ngContext__";function Re(e,t){qe(t)?(e[Ua]=t[20],function Mw(e){Ha.set(e[20],e)}(t)):e[Ua]=t}function za(e,t){return undefined(e,t)}function nr(e){const t=e[3];return wt(t)?t[3]:t}function Wa(e){return Uf(e[13])}function qa(e){return Uf(e[4])}function Uf(e){for(;null!==e&&!wt(e);)e=e[4];return e}function oi(e,t,n,i,r){if(null!=i){let o,s=!1;wt(i)?o=i:qe(i)&&(s=!0,i=i[0]);const a=me(i);0===e&&null!==n?null==r?Zf(t,n,a):Sn(t,n,a,r||null,!0):1===e&&null!==n?Sn(t,n,a,r||null,!0):2===e?function el(e,t,n){const i=wo(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!==me(n)&&oi(t,e,i,o,r);for(let a=10;a<n.length;a++){const l=n[a];ir(l[1],l,e,t,i,o)}}(t,e,o,n,r)}}function Za(e,t,n){return e.createElement(t,n)}function zf(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 Xa(e,t){if(e.length<=10)return;const n=10+t,i=e[n];if(i){const r=i[17];null!==r&&r!==e&&zf(r,i),t>0&&(e[n-1][4]=i[4]);const o=po(e,10+t);!function Hw(e,t){ir(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 Wf(e,t){if(!(128&t[2])){const n=t[L];n.destroyNode&&ir(e,t,n,3,null,null),function Gw(e){let t=e[13];if(!t)return Qa(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)&&Qa(t[1],t),t=t[3];null===t&&(t=e),qe(t)&&Qa(t[1],t),n=t&&t[4]}t=n}}(t)}}function Qa(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 Ui)){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):me(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&&wt(t[3])){n!==t[3]&&zf(n,t);const i=t[19];null!==i&&i.detachView(e)}!function xw(e){Ha.delete(e[20])}(t)}}function qf(e,t,n){return function Yf(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===Ot.None||r===Ot.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 Zf(e,t,n){e.appendChild(t,n)}function Xf(e,t,n,i,r){null!==i?Sn(e,t,n,i,r):Zf(e,t,n)}function wo(e,t){return e.parentNode(t)}function Qf(e,t,n){return Jf(e,t,n)}let rl,Jf=function Kf(e,t,n){return 40&e.type?nt(e,n):null};function bo(e,t,n,i){const r=qf(e,i,t),o=t[L],a=Qf(i.parent||t[6],i,t);if(null!=r)if(Array.isArray(n))for(let l=0;l<n.length;l++)Xf(o,r,n[l],a,!1);else Xf(o,r,n,a,!1)}function Eo(e,t){if(null!==t){const n=t.type;if(3&n)return nt(t,e);if(4&n)return Ja(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return Eo(e,i);{const r=e[t.index];return wt(r)?Ja(-1,r):me(r)}}if(32&n)return za(t,e)()||me(e[t.index]);{const i=th(e,t);return null!==i?Array.isArray(i)?i[0]:Eo(nr(e[16]),i):Eo(e,t.next)}}return null}function th(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Ja(e,t){const n=10+e+1;if(n<t.length){const i=t[n],r=i[1].firstChild;if(null!==r)return Eo(i,r)}return t[7]}function tl(e,t,n,i,r,o,s){for(;null!=n;){const a=i[n.index],l=n.type;if(s&&0===t&&(a&&Re(me(a),i),n.flags|=4),64!=(64&n.flags))if(8&l)tl(e,t,n.child,i,r,o,!1),oi(t,e,r,a,o);else if(32&l){const c=za(n,i);let u;for(;u=c();)oi(t,e,r,u,o);oi(t,e,r,a,o)}else 16&l?nh(e,t,i,n,r,o):oi(t,e,r,a,o);n=s?n.projectionNext:n.next}}function ir(e,t,n,i,r,o){tl(n,i,e.firstChild,t,r,o,!1)}function nh(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 tl(e,t,l,s[3],r,o,!0)}function ih(e,t,n){e.setAttribute(t,"style",n)}function nl(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ln(e){return e instanceof class lh{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 _h=new x("ENVIRONMENT_INITIALIZER"),vh=new x("INJECTOR",-1),yh=new x("INJECTOR_DEF_TYPES");class Ch{get(t,n=Xi){if(n===Xi){const i=new Error(`NullInjectorError: No provider for ${Q(t)}!`);throw i.name="NullInjectorError",i}return n}}function Mb(...e){return{\u0275providers:Dh(0,e)}}function Dh(e,...t){const n=[],i=new Set;let r;return Wt(t,o=>{const s=o;ul(s,n,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&wh(r,n),n}function wh(e,t){for(let n=0;n<e.length;n++){const{providers:r}=e[n];Wt(r,o=>{t.push(o)})}}function ul(e,t,n,i){if(!(e=A(e)))return!1;let r=null,o=xd(e);const s=!o&&Y(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=xd(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)ul(c,t,n,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Wt(o.imports,u=>{ul(u,t,n,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&wh(c,t)}if(!a){const c=En(r)||(()=>new r);t.push({provide:r,useFactory:c,deps:G},{provide:yh,useValue:r,multi:!0},{provide:_h,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=X({provide:String,useValue:X});function dl(e){return null!==e&&"object"==typeof e&&xb in e}function Mn(e){return"function"==typeof e}const fl=new x("Set Injector scope."),xo={},Ab={};let hl;function To(){return void 0===hl&&(hl=new Ch),hl}class si{}class Sh 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,gl(t,s=>this.processProvider(s)),this.records.set(vh,ai(void 0,this)),r.has("environment")&&this.records.set(si,ai(void 0,this));const o=this.records.get(fl);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(yh.multi,G,F.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=Xi,i=F.Default){this.assertNotDestroyed();const r=ii(this),o=ct(void 0);try{if(!(i&F.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)&&Yr(t);a=l&&this.injectableDefInScope(l)?ai(pl(t),xo):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&F.Self?To():this.parent).get(t,n=i&F.Optional&&n===Xi?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[mo]=s[mo]||[]).unshift(Q(t)),r)throw s;return function lw(e,t,n,i){const r=e[mo];throw t[wf]&&r.unshift(t[wf]),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=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(rw,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[mo]=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(_h.multi,G,F.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 dl(e)?ai(void 0,e.useValue):ai(Ih(e),xo)}(t);if(Mn(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=ai(void 0,xo,!0),r.factory=()=>Na(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===xo&&(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 pl(e){const t=Yr(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 Fb(e){const t=e.length;if(t>0)throw Zi(t,"?"),new S(204,!1);const n=function YC(e){const t=e&&(e[Zr]||e[Td]);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 Ih(e,t,n){let i;if(Mn(e)){const r=A(e);return En(r)||pl(r)}if(dl(e))i=()=>A(e.useValue);else if(function Eh(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Na(e.deps||[]));else if(function bh(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)||pl(r);i=()=>new r(...Na(e.deps))}return i}function ai(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Nb(e){return!!e.\u0275providers}function gl(e,t){for(const n of e)Array.isArray(n)?gl(n,t):Nb(n)?gl(n.\u0275providers,t):t(n)}class Mh{}class Bb{resolveComponentFactory(t){throw function Lb(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 Bb,e})();function jb(){return li(De(),v())}function li(e,t){return new Me(nt(e,t))}let Me=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=jb,e})();function Hb(e){return e instanceof Me?e.nativeElement:e}class Th{}let Tn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function $b(){const e=v(),n=it(De().index,e);return(qe(n)?n:e)[L]}(),e})(),Ub=(()=>{class e{}return e.\u0275prov=N({token:e,providedIn:"root",factory:()=>null}),e})();class ar{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 ar("14.3.0"),ml={};function vl(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&&vl(t);for(;n&&vl(n);)n=vl(n);return n||null}}function Fh(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 Oh="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!==Fh(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 Rh(e){return 4===e.type&&e.value!==Oh}function nE(e,t,n){return t===(4!==e.type||n?e.value:Oh)}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(nf(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(Et(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(Et(i))return!1;s=!0}continue}const d=rE(8&i?"class":l,r,Rh(e),n);if(-1===d){if(Et(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!==Fh(h,c,0)||2&i&&c!==f){if(Et(i))return!1;s=!0}}}}else{if(!s&&!Et(i)&&!Et(l))return!1;if(s&&Et(l))continue;s=!1,i=l|1&i}}return Et(i)||s}function Et(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 Ph(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 kh(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&&!Et(s)&&(t+=kh(o,r),r=""),i=s,o=o||!Et(i);n++}return""!==r&&(t+=kh(o,r)),t}const k={};function de(e){Nh(H(),v(),je()+e,!1)}function Nh(e,t,n,i){if(!i)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&oo(t,o,n)}else{const o=e.preOrderHooks;null!==o&&so(t,o,0,n)}sn(n)}function jh(e,t=null,n=null,i){const r=Hh(e,t,n,i);return r.resolveInjectorInitializers(),r}function Hh(e,t=null,n=null,i,r=new Set){const o=[n||G,Mb(e)];return i=i||("object"==typeof e?void 0:Q(e)),new Sh(o,t||To(),i||null,r)}let ft=(()=>{class e{static create(n,i){if(Array.isArray(n))return jh({name:""},i,n,"");{const r=n.name??"";return jh({name:r},n.parent,n.providers,r)}}}return e.THROW_IF_NOT_FOUND=Xi,e.NULL=new Ch,e.\u0275prov=N({token:e,providedIn:"any",factory:()=>D(vh)}),e.__NG_ELEMENT_ID__=-1,e})();function y(e,t=F.Default){const n=v();return null===n?D(e,t):ff(De(),n,A(e),t)}function Fo(e,t){return e<<17|t<<2}function St(e){return e>>17&32767}function bl(e){return 2|e}function Zt(e){return(131068&e)>>2}function El(e,t){return-131069&e|t<<2}function Sl(e){return 1|e}function rp(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];Da(r),s.contentQueries(2,t[o],o)}}}function Po(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),Hd(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 fi(e,t,n,i,r){let o=e.data[t];if(null===o)o=function Rl(e,t,n,i,r){const o=Gd(),s=_a(),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 $i(){const e=R.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return Pt(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 Pl(e,t,n){wa(t);try{const i=e.viewQuery;null!==i&&$l(1,i,n);const r=e.template;null!==r&&op(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&rp(e,t),e.staticViewQueries&&$l(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,ba()}}function ko(e,t,n,i){const r=t[2];if(128!=(128&r)){wa(t);try{Hd(t),function Wd(e){return R.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&op(e,t,n,2,i);const s=3==(3&r);if(s){const c=e.preOrderCheckHooks;null!==c&&oo(t,c,null)}else{const c=e.preOrderHooks;null!==c&&so(t,c,0,null),Ea(t,0)}if(function a0(e){for(let t=Wa(e);null!==t;t=qa(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=Wa(e);null!==t;t=qa(t))for(let n=10;n<t.length;n++){const i=t[n],r=i[1];io(i)&&ko(r,i,r.template,i[8])}}(t),null!==e.contentQueries&&rp(e,t),s){const c=e.contentC