@aurigma/ui-framework
Version:
A platform which allows building print product personalization editors based on Aurigma's Customer's Canvas.
1 lines • 226 kB
HTML
"use strict";(self.webpackChunkimage_grid=self.webpackChunkimage_grid||[]).push([[429],{61:()=>{}},e=>{e(e.s=61)}]);(()=>{"use strict";var e,v={},_={};function n(e){var l=_[e];if(void 0!==l)return l.exports;var r=_[e]={exports:{}};return v[e](r,r.exports,n),r.exports}n.m=v,e=[],n.O=(l,r,u,f)=>{if(!r){var s=1/0;for(a=0;a<e.length;a++){for(var[r,u,f]=e[a],c=!0,o=0;o<r.length;o++)(!1&f||s>=f)&&Object.keys(n.O).every(p=>n.O[p](r[o]))?r.splice(o--,1):(c=!1,f<s&&(s=f));if(c){e.splice(a--,1);var i=u();void 0!==i&&(l=i)}}return l}f=f||0;for(var a=e.length;a>0&&e[a-1][2]>f;a--)e[a]=e[a-1];e[a]=[r,u,f]},n.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),(()=>{var e={666:0};n.O.j=u=>0===e[u];var l=(u,f)=>{var o,i,[a,s,c]=f,t=0;if(a.some(h=>0!==e[h])){for(o in s)n.o(s,o)&&(n.m[o]=s[o]);if(c)var d=c(n)}for(u&&u(f);t<a.length;t++)n.o(e,i=a[t])&&e[i]&&e[i][0](),e[i]=0;return n.O(d)},r=self.webpackChunkimage_grid=self.webpackChunkimage_grid||[];r.forEach(l.bind(null,0)),r.push=l.bind(null,r.push.bind(r))})()})();"use strict";(self.webpackChunkimage_grid=self.webpackChunkimage_grid||[]).push([[179],{657:()=>{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 zn(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class We{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 We){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)&&zn(n,t)}remove(t){const{_finalizers:n}=this;n&&zn(n,t),t instanceof We&&t._removeParent(this)}}We.EMPTY=(()=>{const e=new We;return e.closed=!0,e})();const Xu=We.EMPTY;function Qu(e){return e instanceof We||e&&"closed"in e&&W(e.remove)&&W(e.add)&&W(e.unsubscribe)}function Ku(e){W(e)?e():e.unsubscribe()}const Cn={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}=Cn;if(!t)throw e;t(e)})}function Vs(){}const Uy=Ls("C",void 0,void 0);function Ls(e,t,n){return{kind:e,value:t,error:n}}let Dn=null;function $r(e){if(Cn.useDeprecatedSynchronousErrorHandling){const t=!Dn;if(t&&(Dn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:i}=Dn;if(Dn=null,n)throw i}}else e()}class Bs extends We{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?Hs(function zy(e){return Ls("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Hs(function Gy(e){return Ls("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Hs(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 js(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 Bs{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&&Cn.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&js(t.next,o),error:t.error&&js(t.error,o),complete:t.complete&&js(t.complete,o)}):r=t}this.destination=new Yy(r)}}function Ur(e){Cn.useDeprecatedSynchronousErrorHandling?function Wy(e){Cn.useDeprecatedSynchronousErrorHandling&&Dn&&(Dn.errorThrown=!0,Dn.error=e)}(e):Ju(e)}function Hs(e,t){const{onStoppedNotification:n}=Cn;n&&Hr.setTimeout(()=>n(e,t))}const Xy={closed:!0,next:Vs,error:function Zy(e){throw e},complete:Vs},$s="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 Bs||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)}[$s](){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??Cn.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 We(()=>{this.currentObservers=null,zn(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 ct(e,t,n,i,r){return new tC(e,t,n,i,r)}class tC extends Bs{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(ct(i,o=>{i.next(e.call(t,o,r++))}))})}function nn(e){return this instanceof nn?(this.v=e,this):new nn(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 nn?Promise.resolve(f.value.v).then(c,u):d(o[0][2],f)}(i[f](h))}catch(p){d(o[0][3],p)}}function c(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function 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 Ws(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 qs=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function ld(e){return W(e?.then)}function cd(e){return W(e[$s])}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 nn(n.read());if(r)return yield nn(void 0);yield yield nn(i)}}finally{n.releaseLock()}})}function gd(e){return W(e?.getReader)}function ut(e){if(e instanceof Ie)return e;if(null!=e){if(cd(e))return function EC(e){return new Ie(t=>{const n=e[$s]();if(W(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(qs(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 rn(e,t,n,i=0,r=!1){const o=t.schedule(function(){n(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function Ys(e,t,n=1/0){return W(t)?Ys((i,r)=>Vi((o,s)=>t(i,o,r,s))(ut(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;ut(n(g,u++)).subscribe(ct(t,C=>{r?.(C),o?h(C):t.next(C)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&c<i;){const C=l.shift();s?rn(t,s,()=>p(C)):p(C)}f()}catch(C){t.error(C)}}))};return e.subscribe(ct(t,h,()=>{d=!0,f()})),()=>{a?.()}}(i,r,e,n)))}const Zs=new Ie(e=>e.complete());function _d(e){return e&&W(e.schedule)}function Xs(e){return e[e.length-1]}function vd(e){return _d(Xs(e))?e.pop():void 0}function yd(e,t=0){return Rt((n,i)=>{n.subscribe(ct(i,r=>rn(i,e,()=>i.next(r),t),()=>rn(i,e,()=>i.complete(),t),r=>rn(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=>{rn(n,t,()=>{const i=e[Symbol.asyncIterator]();rn(n,t,()=>{i.next().then(r=>{r.done?n.complete():n.next(r.value)})},0,!0)})})}function Qs(e,t){return t?function jC(e,t){if(null!=e){if(cd(e))return function kC(e,t){return ut(e).pipe(Cd(t),yd(t))}(e,t);if(qs(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 ut(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 rn(n,t,()=>{i=e[fd](),rn(n,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void n.error(s)}o?n.complete():n.next(r)},0,!0)}),()=>W(i?.return)&&i.return()})}(e,t);if(gd(e))return function BC(e,t){return Dd(pd(e),t)}(e,t)}throw dd(e)}(e,t):ut(e)}function Ks(...e){const t=vd(e),n=function PC(e,t){return"number"==typeof Xs(e)?e.pop():t}(e,1/0),i=e;return i.length?1===i.length?ut(i[0]):function OC(e=1/0){return Ys(ed,e)}(n)(Qs(i,t)):Zs}function Js(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 ea(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 ta(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 na(e)?e():e}function na(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 de(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(ia)||e.hasOwnProperty(XC))?e[ia]:null}const qr=Z({\u0275prov:Z}),ia=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 ra;function dt(e){const t=ra;return ra=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 on(e){return{toString:e}.toString()}var yt=(()=>((yt=yt||{})[yt.OnPush=0]="OnPush",yt[yt.Default=1]="Default",yt))(),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)(),Wn={},z=[],Yr=Z({\u0275cmp:Z}),oa=Z({\u0275dir:Z}),sa=Z({\u0275pipe:Z}),Id=Z({\u0275mod:Z}),Ut=Z({\u0275fac:Z}),Li=Z({__NG_ELEMENT_ID__:Z});let KC=0;function sn(e){return on(()=>{const n=!0===e.standalone,i={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===yt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||z,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||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(Le).filter(xd):null,r})}function Md(e){return Y(e)||Ve(e)}function xd(e){return null!==e}function ge(e){return on(()=>({type:e.type,bootstrap:e.bootstrap||z,declarations:e.declarations||z,imports:e.imports||z,exports:e.exports||z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Td(e,t){if(null==e)return Wn;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=sn;function Y(e){return e[Yr]||null}function Ve(e){return e[oa]||null}function Le(e){return e[sa]||null}const L=11,J=22;function Ye(e){return Array.isArray(e)&&"object"==typeof e[1]}function Dt(e){return Array.isArray(e)&&!0===e[1]}function ca(e){return 0!=(8&e.flags)}function Kr(e){return 2==(2&e.flags)}function Jr(e){return 1==(1&e.flags)}function wt(e){return null!==e.template}function rD(e){return 0!=(256&e[2])}function In(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===Wn)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:Wn,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===Wn),e[i]=t}kt.ngInherit=!0;const Pd="__ngSimpleChanges__";function kd(e){return e[Pd]||null}function me(e){for(;Array.isArray(e);)e=e[0];return e}function eo(e,t){return me(t[e])}function it(e,t){return me(t[e.index])}function pa(e,t){return e.data[t]}function rt(e,t){const n=t[e];return Ye(n)?n:n[0]}function to(e){return 64==(64&e[2])}function an(e,t){return null==t?null:e[t]}function Nd(e){e[18]=0}function ga(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 De(){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 ma(){return R.lFrame.isParent}function _a(){R.lFrame.isParent=!1}function Qn(){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,va(t)}function va(e){R.lFrame.currentDirectiveIndex=e}function zd(){return R.lFrame.currentQueryIndex}function Ca(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 Da(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 wa(){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 je(){return R.lFrame.selectedIndex}function ln(e){R.lFrame.selectedIndex=e}function re(){const e=R.lFrame;return pa(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 ba(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 Kn(e){return 32767&e}function Jn(e,t){let n=function BD(e){return e>>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let Sa=!0;function ao(e){const t=Sa;return Sa=e,t}let jD=0;const Vt={};function qi(e,t){const n=Ma(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Ia(i.data,e),Ia(t,null),Ia(i.blueprint,null));const r=lo(e,t),o=e.injectorIndex;if(nf(r)){const s=Kn(r),a=Jn(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 Ia(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ma(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=dt(void 0);try{return r?r.get(t,i,n&O.Optional):Sd(t,i,n&O.Optional)}finally{dt(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=Ma(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=Kn(l),t=Jn(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=Kn(l),t=Jn(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)&&Sa: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&&wt(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?dt(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&&dt(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 ei{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 ei(De(),v())}function xa(e){return na(e)?()=>{const t=xa(A(e));return t&&t()}:In(e)}function hf(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const ni="__parameters__";function ri(e,t,n){return on(()=>{const i=function Aa(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(ni)?l[ni]:Object.defineProperty(l,ni,{value:[]})[ni];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=oi(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 Fa(e,t){const n=oi(e,t);if(n>=0)return e[1|n]}function oi(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={},Pa="__NG_DI_FLAG__",po="ngTempTokenPath",rw=/\n/gm,yf="__source";let Ji;function si(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 ra}()||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 ka(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[Pa]=t,e.prototype[Pa]=t,e}function aw(e){return e[Pa]}const mo=er(ri("Optional"),8),_o=er(ri("SkipSelf"),4);var Ze=(()=>((Ze=Ze||{})[Ze.Important=1]="Important",Ze[Ze.DashCase=2]="DashCase",Ze))();const ja=new Map;let Sw=0;const $a="__ngContext__";function Pe(e,t){Ye(t)?(e[$a]=t[20],function Mw(e){ja.set(e[20],e)}(t)):e[$a]=t}function Ga(e,t){return undefined(e,t)}function rr(e){const t=e[3];return Dt(t)?t[3]:t}function za(e){return jf(e[13])}function Wa(e){return jf(e[4])}function jf(e){for(;null!==e&&!Dt(e);)e=e[4];return e}function li(e,t,n,i,r){if(null!=i){let o,s=!1;Dt(i)?o=i:Ye(i)&&(s=!0,i=i[0]);const a=me(i);0===e&&null!==n?null==r?Wf(t,n,a):Mn(t,n,a,r||null,!0):1===e&&null!==n?Mn(t,n,a,r||null,!0):2===e?function Ja(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!==me(n)&&li(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 Ya(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,ga(r,-1)),n.splice(i,1)}function Za(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 Xa(e[1],e);for(;t;){let n=null;if(Ye(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Ye(t)&&Xa(t[1],t),t=t[3];null===t&&(t=e),Ye(t)&&Xa(t[1],t),n=t&&t[4]}t=n}}(t)}}function Xa(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):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&&Dt(t[3])){n!==t[3]&&$f(n,t);const i=t[19];null!==i&&i.detachView(e)}!function xw(e){ja.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 Mn(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?Mn(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 il,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 Ka(-1,e[t.index]);if(8&n){const i=t.child;if(null!==i)return wo(e,i);{const r=e[t.index];return Dt(r)?Ka(-1,r):me(r)}}if(32&n)return Ga(t,e)()||me(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 Ka(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 el(e,t,n,i,r,o,s){for(;null!=n;){const a=i[n.index],l=n.type;if(s&&0===t&&(a&&Pe(me(a),i),n.flags|=4),64!=(64&n.flags))if(8&l)el(e,t,n.child,i,r,o,!1),li(t,e,r,a,o);else if(32&l){const c=Ga(n,i);let u;for(;u=c();)li(t,e,r,u,o);li(t,e,r,a,o)}else 16&l?Jf(e,t,i,n,r,o):li(t,e,r,a,o);n=s?n.projectionNext:n.next}}function or(e,t,n,i,r,o){el(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++)li(t,e,r,l[c],o);else el(e,t,l,s[3],r,o,!0)}function eh(e,t,n){e.setAttribute(t,"style",n)}function tl(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function un(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;cl(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 cl(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)cl(c,t,n,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Wt(o.imports,u=>{cl(u,t,n,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&yh(c,t)}if(!a){const c=In(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 ul(e){return null!==e&&"object"==typeof e&&xb in e}function Tn(e){return"function"==typeof e}const dl=new x("Set Injector scope."),Io={},Ab={};let fl;function Mo(){return void 0===fl&&(fl=new _h),fl}class ci{}class wh extends ci{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,pl(t,s=>this.processProvider(s)),this.records.set(gh,ui(void 0,this)),r.has("environment")&&this.records.set(ci,ui(void 0,this));const o=this.records.get(dl);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=si(this),i=dt(void 0);try{return t()}finally{si(n),dt(i)}}get(t,n=Ki,i=O.Default){this.assertNotDestroyed();const r=si(this),o=dt(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)?ui(hl(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{dt(o),si(r)}}resolveInjectorInitializers(){const t=si(this),n=dt(void 0);try{const i=this.get(ph.multi,z,O.Self);for(const r of i)r()}finally{si(t),dt(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=Tn(t=A(t))?t:A(t&&t.provide);const i=function Fb(e){return ul(e)?ui(void 0,e.useValue):ui(bh(e),Io)}(t);if(Tn(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=ui(void 0,Io,!0),r.factory=()=>ka(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 hl(e){const t=Wr(e),n=null!==t?t.factory:In(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(Tn(e)){const r=A(e);return In(r)||hl(r)}if(ul(e))i=()=>A(e.useValue);else if(function Dh(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...ka(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 In(r)||hl(r);i=()=>new r(...ka(e.deps))}return i}function ui(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Nb(e){return!!e.\u0275providers}function pl(e,t){for(const n of e)Array.isArray(n)?pl(n,t):Nb(n)?pl(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 An=(()=>{class e{}return e.NULL=new Bb,e})();function jb(){return di(De(),v())}function di(e,t){return new be(it(e,t))}let be=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=jb,e})();function Hb(e){return e instanceof be?e.nativeElement:e}class Ih{}let On=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function $b(){const e=v(),n=rt(De().index,e);return(Ye(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"),gl={};function _l(e){return e.ngOriginalError}class fi{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&&_l(t);for(;n&&_l(n);)n=_l(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(bt(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(bt(i))return!1;s=!0}continue}const d=rE(8&i?"class":l,r,Ah(e),n);if(-1===d){if(bt(i))return!1;s=!0;continue}if(""!==c){let f;f=d>o?"":r[d+1].toLowerCase();const h=8&i?f:null;if(h&&-1!==xh(h,c,0)||2&i&&c!==f){if(bt(i))return!1;s=!0}}}}else{if(!s&&!bt(i)&&!bt(l))return!1;if(s&&bt(l))continue;s=!1,i=l|1&i}}return bt(i)||s}function bt(e){return 0==(1&e)}function 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&&!bt(s)&&(t+=Fh(o,r),r=""),i=s,o=o||!bt(i);n++}return""!==r&&(t+=Fh(o,r)),t}const k={};function le(e){Rh(H(),v(),je()+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)}ln(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 pt=(()=>{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(De(),n,A(e),t)}function To(e,t){return e<<17|t<<2}function Et(e){return e>>17&32767}function wl(e){return 2|e}function Zt(e){return(131068&e)>>2}function bl(e,t){return-131069&e|t<<2}function El(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];Ca(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 gi(e,t,n,i,r){let o=e.data[t];if(null===o)o=function Fl(e,t,n,i,r){const o=Hd(),s=ma(),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 mi(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 Rl(e,t,n){Da(t);try{const i=e.viewQuery;null!==i&&Hl(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&&Hl(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,wa()}}function Ro(e,t,n,i){const r=t[2];if(128!=(128&r)){Da(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),ba(t,0)}if(function a0(e){for(let t=za(e);null!==t;t=Wa(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])&&ga(o,1),r[2]|=512}}}(t),function s0(e){for(let t=za(e);null!==t;t=Wa(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),ba(t,1)}!functio