@formbird/angular-elements 7.5.8 → 7.5.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- (self.webpackChunkwpSignatureJsonp=self.webpackChunkwpSignatureJsonp||[]).push([[179],{7670:(Ee,H,J)=>{"use strict";function F(n){return"function"==typeof n}let _=!1;const oe={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else _&&console.log("RxJS: Back to a better error behavior. Thank you. <3");_=n},get useDeprecatedSynchronousErrorHandling(){return _}};function U(n){setTimeout(()=>{throw n},0)}const G={closed:!0,next(n){},error(n){if(oe.useDeprecatedSynchronousErrorHandling)throw n;U(n)},complete(){}},R=Array.isArray||(n=>n&&"number"==typeof n.length);function k(n){return null!==n&&"object"==typeof n}const q=(()=>{function n(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((t,r)=>`${r+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return n.prototype=Object.create(Error.prototype),n})();class w{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:t,_ctorUnsubscribe:r,_unsubscribe:i,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof w)t.remove(this);else if(null!==t)for(let o=0;o<t.length;++o)t[o].remove(this);if(F(i)){r&&(this._unsubscribe=void 0);try{i.call(this)}catch(o){e=o instanceof q?B(o.errors):[o]}}if(R(s)){let o=-1,l=s.length;for(;++o<l;){const c=s[o];if(k(c))try{c.unsubscribe()}catch(f){e=e||[],f instanceof q?e=e.concat(B(f.errors)):e.push(f)}}}if(e)throw new q(e)}add(e){let t=e;if(!e)return w.EMPTY;switch(typeof e){case"function":t=new w(e);case"object":if(t===this||t.closed||"function"!=typeof t.unsubscribe)return t;if(this.closed)return t.unsubscribe(),t;if(!(t instanceof w)){const s=t;t=new w,t._subscriptions=[s]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:r}=t;if(null===r)t._parentOrParents=this;else if(r instanceof w){if(r===this)return t;t._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return t;r.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[t]:i.push(t),t}remove(e){const t=this._subscriptions;if(t){const r=t.indexOf(e);-1!==r&&t.splice(r,1)}}}var n;function B(n){return n.reduce((e,t)=>e.concat(t instanceof q?t.errors:t),[])}w.EMPTY=((n=new w).closed=!0,n);const g="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class E extends w{constructor(e,t,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=G;break;case 1:if(!e){this.destination=G;break}if("object"==typeof e){e instanceof E?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new S(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new S(this,e,t,r)}}[g](){return this}static create(e,t,r){const i=new E(e,t,r);return i.syncErrorThrowable=!1,i}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class S extends E{constructor(e,t,r,i){super(),this._parentSubscriber=e;let s,o=this;F(t)?s=t:t&&(s=t.next,r=t.error,i=t.complete,t!==G&&(o=Object.create(t),F(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=s,this._error=r,this._complete=i}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;oe.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:r}=oe;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=e,t.syncErrorThrown=!0):U(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;U(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);oe.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(r){if(this.unsubscribe(),oe.useDeprecatedSynchronousErrorHandling)throw r;U(r)}}__tryOrSetError(e,t,r){if(!oe.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(i){return oe.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(U(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const z="function"==typeof Symbol&&Symbol.observable||"@@observable";function X(n){return n}let se=(()=>{class n{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(t){const r=new n;return r.source=this,r.operator=t,r}subscribe(t,r,i){const{operator:s}=this,o=function T(n,e,t){if(n){if(n instanceof E)return n;if(n[g])return n[g]()}return n||e||t?new E(n,e,t):new E(G)}(t,r,i);if(o.add(s?s.call(o,this.source):this.source||oe.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),oe.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(t){try{return this._subscribe(t)}catch(r){oe.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=r),function N(n){for(;n;){const{closed:e,destination:t,isStopped:r}=n;if(e||r)return!1;n=t&&t instanceof E?t:null}return!0}(t)?t.error(r):console.warn(r)}}forEach(t,r){return new(r=pe(r))((i,s)=>{let o;o=this.subscribe(l=>{try{t(l)}catch(c){s(c),o&&o.unsubscribe()}},s,i)})}_subscribe(t){const{source:r}=this;return r&&r.subscribe(t)}[z](){return this}pipe(...t){return 0===t.length?this:function re(n){return 0===n.length?X:1===n.length?n[0]:function(t){return n.reduce((r,i)=>i(r),t)}}(t)(this)}toPromise(t){return new(t=pe(t))((r,i)=>{let s;this.subscribe(o=>s=o,o=>i(o),()=>r(s))})}}return n.create=e=>new n(e),n})();function pe(n){if(n||(n=oe.Promise||Promise),!n)throw new Error("no Promise impl found");return n}const Ne=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class Dt extends w{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const r=t.indexOf(this.subscriber);-1!==r&&t.splice(r,1)}}class ke extends E{constructor(e){super(e),this.destination=e}}let ye=(()=>{class n extends se{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[g](){return new ke(this)}lift(t){const r=new Se(this,this);return r.operator=t,r}next(t){if(this.closed)throw new Ne;if(!this.isStopped){const{observers:r}=this,i=r.length,s=r.slice();for(let o=0;o<i;o++)s[o].next(t)}}error(t){if(this.closed)throw new Ne;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:r}=this,i=r.length,s=r.slice();for(let o=0;o<i;o++)s[o].error(t);this.observers.length=0}complete(){if(this.closed)throw new Ne;this.isStopped=!0;const{observers:t}=this,r=t.length,i=t.slice();for(let s=0;s<r;s++)i[s].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new Ne;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new Ne;return this.hasError?(t.error(this.thrownError),w.EMPTY):this.isStopped?(t.complete(),w.EMPTY):(this.observers.push(t),new Dt(this,t))}asObservable(){const t=new se;return t.source=this,t}}return n.create=(e,t)=>new Se(e,t),n})();class Se extends ye{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):w.EMPTY}}function st(n){return n&&"function"==typeof n.schedule}function tt(n,e){return function(r){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new an(n,e))}}class an{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new Et(e,this.project,this.thisArg))}}class Et extends E{constructor(e,t,r){super(e),this.project=t,this.count=0,this.thisArg=r||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(t)}}const fn=n=>e=>{for(let t=0,r=n.length;t<r&&!e.closed;t++)e.next(n[t]);e.complete()},sr=function Ba(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),ji=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function vi(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const ra=n=>{if(n&&"function"==typeof n[z])return(n=>e=>{const t=n[z]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)})(n);if(ji(n))return fn(n);if(vi(n))return(n=>e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,U),e))(n);if(n&&"function"==typeof n[sr])return(n=>e=>{const t=n[sr]();for(;;){let r;try{r=t.next()}catch(i){return e.error(i),e}if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof t.return&&e.add(()=>{t.return&&t.return()}),e})(n);{const t=`You provided ${k(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(t)}};function ia(n,e){return new se(t=>{const r=new w;let i=0;return r.add(e.schedule(function(){i!==n.length?(t.next(n[i++]),t.closed||r.add(this.schedule())):t.complete()})),r})}function bi(n,e){return e?function jr(n,e){if(null!=n){if(function ja(n){return n&&"function"==typeof n[z]}(n))return function Ct(n,e){return new se(t=>{const r=new w;return r.add(e.schedule(()=>{const i=n[z]();r.add(i.subscribe({next(s){r.add(e.schedule(()=>t.next(s)))},error(s){r.add(e.schedule(()=>t.error(s)))},complete(){r.add(e.schedule(()=>t.complete()))}}))})),r})}(n,e);if(vi(n))return function Sr(n,e){return new se(t=>{const r=new w;return r.add(e.schedule(()=>n.then(i=>{r.add(e.schedule(()=>{t.next(i),r.add(e.schedule(()=>t.complete()))}))},i=>{r.add(e.schedule(()=>t.error(i)))}))),r})}(n,e);if(ji(n))return ia(n,e);if(function sa(n){return n&&"function"==typeof n[sr]}(n)||"string"==typeof n)return function Ha(n,e){if(!n)throw new Error("Iterable cannot be null");return new se(t=>{const r=new w;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(()=>{i=n[sr](),r.add(e.schedule(function(){if(t.closed)return;let s,o;try{const l=i.next();s=l.value,o=l.done}catch(l){return void t.error(l)}o?t.complete():(t.next(s),this.schedule())}))})),r})}(n,e)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}(n,e):n instanceof se?n:new se(ra(n))}class co extends E{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class fo extends E{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function gn(n,e){if(e.closed)return;if(n instanceof se)return n.subscribe(e);let t;try{t=ra(n)(e)}catch(r){e.error(r)}return t}function or(n,e,t=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(or((i,s)=>bi(n(i,s)).pipe(tt((o,l)=>e(i,o,s,l))),t)):("number"==typeof e&&(t=e),r=>r.lift(new ho(n,t)))}class ho{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new oa(e,this.project,this.concurrent))}}class oa extends fo{constructor(e,t,r=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const r=this.index++;try{t=this.project(e,r)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(t)}_innerSub(e){const t=new co(this),r=this.destination;r.add(t);const i=gn(e,t);i!==t&&r.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function hs(n=Number.POSITIVE_INFINITY){return or(X,n)}function Bl(n,e){return e?ia(n,e):new se(fn(n))}function ps(...n){let e=Number.POSITIVE_INFINITY,t=null,r=n[n.length-1];return st(r)?(t=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(e=n.pop())):"number"==typeof r&&(e=n.pop()),null===t&&1===n.length&&n[0]instanceof se?n[0]:hs(e)(Bl(n,t))}function ms(){return function(e){return e.lift(new Hl(e))}}class Hl{constructor(e){this.connectable=e}call(e,t){const{connectable:r}=this;r._refCount++;const i=new jl(e,r),s=t.subscribe(i);return i.closed||(i.connection=r.connect()),s}}class jl extends E{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:r}=this,i=e._connection;this.connection=null,i&&(!r||i===r)&&i.unsubscribe()}}class Ul extends se{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new w,e.add(this.source.subscribe(new Gl(this.getSubject(),this))),e.closed&&(this._connection=null,e=w.EMPTY)),e}refCount(){return ms()(this)}}const Wl=(()=>{const n=Ul.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}})();class Gl extends ke{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}class $l{constructor(e,t){this.subjectFactory=e,this.selector=t}call(e,t){const{selector:r}=this,i=this.subjectFactory(),s=r(i).subscribe(e);return s.add(t.subscribe(i)),s}}function af(){return new ye}function oc(){return n=>ms()(function ql(n,e){return function(r){let i;if(i="function"==typeof n?n:function(){return n},"function"==typeof e)return r.lift(new $l(i,e));const s=Object.create(r,Wl);return s.source=r,s.subjectFactory=i,s}}(af)(n))}function Ft(n){for(let e in n)if(n[e]===Ft)return e;throw Error("Could not find renamed property on target object.")}function Ua(n,e){for(const t in e)e.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=e[t])}function dt(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(dt).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const e=n.toString();if(null==e)return""+e;const t=e.indexOf("\n");return-1===t?e:e.substring(0,t)}function Yl(n,e){return null==n||""===n?null===e?"":e:null==e||""===e?n:n+" "+e}const lf=Ft({__forward_ref__:Ft});function Ut(n){return n.__forward_ref__=Ut,n.toString=function(){return dt(this())},n}function Be(n){return function Kl(n){return"function"==typeof n&&n.hasOwnProperty(lf)&&n.__forward_ref__===Ut}(n)?n():n}class gs extends Error{constructor(e,t){super(function aa(n,e){return`${n?`NG0${n}: `:""}${e}`}(e,t)),this.code=e}}function rt(n){return"string"==typeof n?n:null==n?"":String(n)}function Mn(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():rt(n)}function Wa(n,e){const t=e?` in ${e}`:"";throw new gs("201",`No provider for ${Mn(n)} found${t}`)}function Fn(n,e){null==n&&function Yt(n,e,t,r){throw new Error(`ASSERTION ERROR: ${n}`+(null==r?"":` [Expected=> ${t} ${r} ${e} <=Actual]`))}(e,n,null,"!=")}function Ce(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Nt(n){return{providers:n.providers||[],imports:n.imports||[]}}function Ei(n){return Wr(n,la)||Wr(n,Ci)}function Wr(n,e){return n.hasOwnProperty(e)?n[e]:null}function _n(n){return n&&(n.hasOwnProperty(ua)||n.hasOwnProperty(_s))?n[ua]:null}const la=Ft({\u0275prov:Ft}),ua=Ft({\u0275inj:Ft}),Ci=Ft({ngInjectableDef:Ft}),_s=Ft({ngInjectorDef:Ft});var He=(()=>((He=He||{})[He.Default=0]="Default",He[He.Host=1]="Host",He[He.Self=2]="Self",He[He.SkipSelf=4]="SkipSelf",He[He.Optional=8]="Optional",He))();let ys;function Yn(n){const e=ys;return ys=n,e}function Gi(n,e,t){const r=Ei(n);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&He.Optional?null:void 0!==e?e:void Wa(dt(n),"Injector")}function Di(n){return{toString:n}.toString()}var Bn=(()=>((Bn=Bn||{})[Bn.OnPush=0]="OnPush",Bn[Bn.Default=1]="Default",Bn))(),rn=(()=>(function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(rn||(rn={})),rn))();const dc="undefined"!=typeof globalThis&&globalThis,fc="undefined"!=typeof window&&window,pf="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,St=dc||"undefined"!=typeof global&&global||fc||pf,mo={},Vt=[],ca=Ft({\u0275cmp:Ft}),da=Ft({\u0275dir:Ft}),fa=Ft({\u0275pipe:Ft}),hc=Ft({\u0275mod:Ft}),wi=Ft({\u0275fac:Ft}),ha=Ft({__NG_ELEMENT_ID__:Ft});let Zl=0;function vs(n){return Di(()=>{const t={},r={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===Bn.OnPush,directiveDefs:null,pipeDefs:null,selectors:n.selectors||Vt,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||rn.Emulated,id:"c",styles:n.styles||Vt,_:null,setInput:null,schemas:n.schemas||null,tView:null},i=n.directives,s=n.features,o=n.pipes;return r.id+=Zl++,r.inputs=_c(n.inputs,t),r.outputs=_c(n.outputs),s&&s.forEach(l=>l(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(pc):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(mc):null,r})}function pc(n){return xn(n)||function zi(n){return n[da]||null}(n)}function mc(n){return function bs(n){return n[fa]||null}(n)}const gc={};function We(n){return Di(()=>{const e={type:n.type,bootstrap:n.bootstrap||Vt,declarations:n.declarations||Vt,imports:n.imports||Vt,exports:n.exports||Vt,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null};return null!=n.id&&(gc[n.id]=n.type),e})}function _c(n,e){if(null==n)return mo;const t={};for(const r in n)if(n.hasOwnProperty(r)){let i=n[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),t[i]=r,e&&(e[i]=s)}return t}const ze=vs;function Kn(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,onDestroy:n.type.prototype.ngOnDestroy||null}}function xn(n){return n[ca]||null}function ar(n,e){const t=n[hc]||null;if(!t&&!0===e)throw new Error(`Type ${dt(n)} does not have '\u0275mod' property.`);return t}function Zn(n){return Array.isArray(n)&&"object"==typeof n[1]}function dn(n){return Array.isArray(n)&&!0===n[1]}function ui(n){return 0!=(8&n.flags)}function Ds(n){return 2==(2&n.flags)}function _o(n){return 1==(1&n.flags)}function cr(n){return null!==n.template}function yo(n){return 0!=(512&n[2])}function Xn(n,e){return n.hasOwnProperty(wi)?n[wi]:null}class Co{constructor(e,t,r){this.previousValue=e,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Sc(n){return n.type.prototype.ngOnChanges&&(n.setInput=dr),Do}function Do(){const n=So(this),e=null==n?void 0:n.current;if(e){const t=n.previous;if(t===mo)n.previous=e;else for(let r in e)t[r]=e[r];n.current=null,this.ngOnChanges(e)}}function dr(n,e,t,r){const i=So(n)||function Ja(n,e){return n[wo]=e}(n,{previous:mo,current:null}),s=i.current||(i.current={}),o=i.previous,l=this.declaredInputs[t],c=o[l];s[l]=new Co(c&&c.currentValue,e,o===mo),n[r]=e}const wo="__ngSimpleChanges__";function So(n){return n[wo]||null}let ae;function Ue(n){return!!n.listen}const sn={createRenderer:(n,e)=>function Me(){return void 0!==ae?ae:"undefined"!=typeof document?document:void 0}()};function Jt(n){for(;Array.isArray(n);)n=n[0];return n}function Si(n,e){return Jt(e[n])}function hr(n,e){return Jt(e[n.index])}function Ai(n,e){return n.data[e]}function Ir(n,e){return n[e]}function lt(n,e){const t=e[n];return Zn(t)?t:t[0]}function Jl(n){return 4==(4&n[2])}function _a(n){return 128==(128&n[2])}function Ti(n,e){return null==e?null:n[e]}function eu(n){n[18]=0}function Io(n,e){n[5]+=e;let t=n,r=n[3];for(;null!==r&&(1===e&&1===t[5]||-1===e&&0===t[5]);)r[5]+=e,t=r,r=r[3]}const Ge={lFrame:Mc(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function nl(){return Ge.bindingsEnabled}function ge(){return Ge.lFrame.lView}function gt(){return Ge.lFrame.tView}function Mr(n){return Ge.lFrame.contextLView=n,n[8]}function on(){let n=nu();for(;null!==n&&64===n.type;)n=n.parent;return n}function nu(){return Ge.lFrame.currentTNode}function Gr(n,e){const t=Ge.lFrame;t.currentTNode=n,t.isParent=e}function Ms(){return Ge.lFrame.isParent}function Xi(){Ge.lFrame.isParent=!1}function ya(){return Ge.isInCheckNoChangesMode}function b(n){Ge.isInCheckNoChangesMode=n}function x(){const n=Ge.lFrame;let e=n.bindingRootIndex;return-1===e&&(e=n.bindingRootIndex=n.tView.bindingStartIndex),e}function te(){return Ge.lFrame.bindingIndex++}function ee(n){const e=Ge.lFrame,t=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,t}function De(n,e){const t=Ge.lFrame;t.bindingIndex=t.bindingRootIndex=n,we(e)}function we(n){Ge.lFrame.currentDirectiveIndex=n}function Rt(){return Ge.lFrame.currentQueryIndex}function ln(n){Ge.lFrame.currentQueryIndex=n}function pr(n){const e=n[1];return 2===e.type?e.declTNode:1===e.type?n[6]:null}function An(n,e,t){if(t&He.SkipSelf){let i=e,s=n;for(;!(i=i.parent,null!==i||t&He.Host||(i=pr(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;e=i,n=s}const r=Ge.lFrame=Ic();return r.currentTNode=e,r.lView=n,!0}function mr(n){const e=Ic(),t=n[1];Ge.lFrame=e,e.currentTNode=t.firstChild,e.lView=n,e.tView=t,e.contextLView=n,e.bindingIndex=t.bindingStartIndex,e.inI18n=!1}function Ic(){const n=Ge.lFrame,e=null===n?null:n.child;return null===e?Mc(n):e}function Mc(n){const e={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:n,child:null,inI18n:!1};return null!==n&&(n.child=e),e}function Kt(){const n=Ge.lFrame;return Ge.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const en=Kt;function tn(){const n=Kt();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function C(){return Ge.lFrame.selectedIndex}function Un(n){Ge.lFrame.selectedIndex=n}function Qt(){const n=Ge.lFrame;return Ai(n.tView,n.selectedIndex)}function xc(n,e){for(let t=e.directiveStart,r=e.directiveEnd;t<r;t++){const s=n.data[t].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:l,ngAfterViewInit:c,ngAfterViewChecked:f,ngOnDestroy:h}=s;o&&(n.contentHooks||(n.contentHooks=[])).push(-t,o),l&&((n.contentHooks||(n.contentHooks=[])).push(t,l),(n.contentCheckHooks||(n.contentCheckHooks=[])).push(t,l)),c&&(n.viewHooks||(n.viewHooks=[])).push(-t,c),f&&((n.viewHooks||(n.viewHooks=[])).push(t,f),(n.viewCheckHooks||(n.viewCheckHooks=[])).push(t,f)),null!=h&&(n.destroyHooks||(n.destroyHooks=[])).push(t,h)}}function Oc(n,e,t){nm(n,e,3,t)}function Rc(n,e,t,r){(3&n[2])===t&&nm(n,e,t,r)}function Ef(n,e){let t=n[2];(3&t)===e&&(t&=2047,t+=1,n[2]=t)}function nm(n,e,t,r){const s=null!=r?r:-1,o=e.length-1;let l=0;for(let c=void 0!==r?65535&n[18]:0;c<o;c++)if("number"==typeof e[c+1]){if(l=e[c],null!=r&&l>=r)break}else e[c]<0&&(n[18]+=65536),(l<s||-1==s)&&(Os(n,t,e,c),n[18]=(4294901760&n[18])+c+2),c++}function Os(n,e,t,r){const i=t[r]<0,s=t[r+1],l=n[i?-t[r]:t[r]];if(i){if(n[2]>>11<n[18]>>16&&(3&n[2])===e){n[2]+=2048;try{s.call(l)}finally{}}}else try{s.call(l)}finally{}}class iu{constructor(e,t,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Pc(n,e,t){const r=Ue(n);let i=0;for(;i<t.length;){const s=t[i];if("number"==typeof s){if(0!==s)break;i++;const o=t[i++],l=t[i++],c=t[i++];r?n.setAttribute(e,l,c,o):e.setAttributeNS(o,l,c)}else{const o=s,l=t[++i];Cf(o)?r&&n.setProperty(e,o,l):r?n.setAttribute(e,o,l):e.setAttribute(o,l),i++}}return i}function Ro(n){return 3===n||4===n||6===n}function Cf(n){return 64===n.charCodeAt(0)}function Fc(n,e){if(null!==e&&0!==e.length)if(null===n||0===n.length)n=e.slice();else{let t=-1;for(let r=0;r<e.length;r++){const i=e[r];"number"==typeof i?t=i:0===t||di(n,t,i,null,-1===t||2===t?e[++r]:null)}}return n}function di(n,e,t,r,i){let s=0,o=n.length;if(-1===e)o=-1;else for(;s<n.length;){const l=n[s++];if("number"==typeof l){if(l===e){o=-1;break}if(l>e){o=s-1;break}}}for(;s<n.length;){const l=n[s];if("number"==typeof l)break;if(l===t){if(null===r)return void(null!==i&&(n[s+1]=i));if(r===n[s+1])return void(n[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==o&&(n.splice(o,0,e),s=o+1),n.splice(s++,0,t),null!==r&&n.splice(s++,0,r),null!==i&&n.splice(s++,0,i)}function rm(n){return-1!==n}function il(n){return 32767&n}function sl(n,e){let t=function iv(n){return n>>16}(n),r=e;for(;t>0;)r=r[15],t--;return r}let Df=!0;function ou(n){const e=Df;return Df=n,e}let wf=0;function Po(n,e){const t=Nc(n,e);if(-1!==t)return t;const r=e[1];r.firstCreatePass&&(n.injectorIndex=e.length,Sf(r.data,n),Sf(e,null),Sf(r.blueprint,null));const i=kc(n,e),s=n.injectorIndex;if(rm(i)){const o=il(i),l=sl(i,e),c=l[1].data;for(let f=0;f<8;f++)e[s+f]=l[o+f]|c[o+f]}return e[s+8]=i,s}function Sf(n,e){n.push(0,0,0,0,0,0,0,0,e)}function Nc(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===e[n.injectorIndex+8]?-1:n.injectorIndex}function kc(n,e){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let t=0,r=null,i=e;for(;null!==i;){const s=i[1],o=s.type;if(r=2===o?s.declTNode:1===o?i[6]:null,null===r)return-1;if(t++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return-1}function fi(n,e,t){!function au(n,e,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(ha)&&(r=t[ha]),null==r&&(r=t[ha]=wf++);const i=255&r;e.data[n+(i>>5)]|=1<<i}(n,e,t)}function Fo(n,e,t){if(t&He.Optional)return n;Wa(e,"NodeInjector")}function zr(n,e,t,r){if(t&He.Optional&&void 0===r&&(r=null),0==(t&(He.Self|He.Host))){const i=n[9],s=Yn(void 0);try{return i?i.get(e,r,t&He.Optional):Gi(e,r,t&He.Optional)}finally{Yn(s)}}return Fo(r,e,t)}function om(n,e,t,r=He.Default,i){if(null!==n){const s=function ov(n){if("string"==typeof n)return n.charCodeAt(0)||0;const e=n.hasOwnProperty(ha)?n[ha]:void 0;return"number"==typeof e?e>=0?255&e:am:e}(t);if("function"==typeof s){if(!An(e,n,r))return r&He.Host?Fo(i,t,r):zr(e,t,r,i);try{const o=s(r);if(null!=o||r&He.Optional)return o;Wa(t)}finally{en()}}else if("number"==typeof s){let o=null,l=Nc(n,e),c=-1,f=r&He.Host?e[16][6]:null;for((-1===l||r&He.SkipSelf)&&(c=-1===l?kc(n,e):e[l+8],-1!==c&&lm(r,!1)?(o=e[1],l=il(c),e=sl(c,e)):l=-1);-1!==l;){const h=e[1];if(uu(s,l,h.data)){const m=lu(l,e,t,o,r,f);if(m!==Tf)return m}c=e[l+8],-1!==c&&lm(r,e[1].data[l+8]===f)&&uu(s,l,e)?(o=h,l=il(c),e=sl(c,e)):l=-1}}}return zr(e,t,r,i)}const Tf={};function am(){return new ba(on(),ge())}function lu(n,e,t,r,i,s){const o=e[1],l=o.data[n+8],h=Mi(l,o,t,null==r?Ds(l)&&Df:r!=o&&0!=(3&l.type),i&He.Host&&s===l);return null!==h?ol(e,o,h,l):Tf}function Mi(n,e,t,r,i){const s=n.providerIndexes,o=e.data,l=1048575&s,c=n.directiveStart,h=s>>20,y=i?l+h:n.directiveEnd;for(let D=r?l:l+h;D<y;D++){const O=o[D];if(D<c&&t===O||D>=c&&O.type===t)return D}if(i){const D=o[c];if(D&&cr(D)&&D.type===t)return c}return null}function ol(n,e,t,r){let i=n[t];const s=e.data;if(function ev(n){return n instanceof iu}(i)){const o=i;o.resolving&&function uf(n,e){const t=e?`. Dependency path: ${e.join(" > ")} > ${n}`:"";throw new gs("200",`Circular dependency in DI detected for ${n}${t}`)}(Mn(s[t]));const l=ou(o.canSeeViewProviders);o.resolving=!0;const c=o.injectImpl?Yn(o.injectImpl):null;An(n,r,He.Default);try{i=n[t]=o.factory(void 0,s,n,r),e.firstCreatePass&&t>=r.directiveStart&&function va(n,e,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=e.type.prototype;if(r){const o=Sc(e);(t.preOrderHooks||(t.preOrderHooks=[])).push(n,o),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,o)}i&&(t.preOrderHooks||(t.preOrderHooks=[])).push(0-n,i),s&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n,s),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,s))}(t,s[t],e)}finally{null!==c&&Yn(c),ou(l),o.resolving=!1,en()}}return i}function uu(n,e,t){return!!(t[e+(n>>5)]&1<<n)}function lm(n,e){return!(n&He.Self||n&He.Host&&e)}class ba{constructor(e,t){this._tNode=e,this._lView=t}get(e,t,r){return om(this._tNode,this._lView,e,r,t)}}const No="__parameters__";function vn(n,e,t){return Di(()=>{const r=function Lc(n){return function(...t){if(n){const r=n(...t);for(const i in r)this[i]=r[i]}}}(e);function i(...s){if(this instanceof i)return r.apply(this,s),this;const o=new i(...s);return l.annotation=o,l;function l(c,f,h){const m=c.hasOwnProperty(No)?c[No]:Object.defineProperty(c,No,{value:[]})[No];for(;m.length<=h;)m.push(null);return(m[h]=m[h]||[]).push(o),c}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=n,i.annotationCls=i,i})}class Le{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=Ce({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}function hi(n,e){void 0===e&&(e=n);for(let t=0;t<n.length;t++){let r=n[t];Array.isArray(r)?(e===n&&(e=n.slice(0,t)),hi(r,e)):e!==n&&e.push(r)}return e}function pi(n,e){n.forEach(t=>Array.isArray(t)?pi(t,e):e(t))}function hu(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function Lo(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function Ps(n,e){const t=[];for(let r=0;r<n;r++)t.push(e);return t}function qr(n,e,t){let r=Ca(n,e);return r>=0?n[1|r]=t:(r=~r,function cm(n,e,t,r){let i=n.length;if(i==e)n.push(t,r);else if(1===i)n.push(r,n[0]),n[0]=t;else{for(i--,n.push(n[i-1],n[i]);i>e;)n[i]=n[i-2],i--;n[e]=t,n[e+1]=r}}(n,r,e,t)),r}function mu(n,e){const t=Ca(n,e);if(t>=0)return n[1|t]}function Ca(n,e){return function fm(n,e,t){let r=0,i=n.length>>t;for(;i!==r;){const s=r+(i-r>>1),o=n[s<<t];if(e===o)return s<<t;o>e?i=s:r=s+1}return~(i<<t)}(n,e,1)}const _u={},ll="__NG_DI_FLAG__",Vo="ngTempTokenPath",pm=/\n/gm,Ji="__source",yu=Ft({provide:String,useValue:Ft});let ul;function Fs(n){const e=ul;return ul=n,e}function mm(n,e=He.Default){if(void 0===ul)throw new Error("inject() must be called from an injection context");return null===ul?Gi(n,void 0,e):ul.get(n,e&He.Optional?null:void 0,e)}function le(n,e=He.Default){return(function lc(){return ys}()||mm)(Be(n),e)}const vu=le;function Ns(n){const e=[];for(let t=0;t<n.length;t++){const r=Be(n[t]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let i,s=He.Default;for(let o=0;o<r.length;o++){const l=r[o],c=mv(l);"number"==typeof c?-1===c?i=l.token:s|=c:i=l}e.push(le(i,s))}else e.push(le(r))}return e}function mi(n,e){return n[ll]=e,n.prototype[ll]=e,n}function mv(n){return n[ll]}function ks(n,e,t,r){const i=n[Vo];throw e[Ji]&&i.unshift(e[Ji]),n.message=function Nf(n,e,t,r=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.substr(2):n;let i=dt(e);if(Array.isArray(e))i=e.map(dt).join(" -> ");else if("object"==typeof e){let s=[];for(let o in e)if(e.hasOwnProperty(o)){let l=e[o];s.push(o+":"+("string"==typeof l?JSON.stringify(l):dt(l)))}i=`{${s.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${n.replace(pm,"\n ")}`}("\n"+n.message,i,t,r),n.ngTokenPath=i,n[Vo]=null,n}const cl=mi(vn("Inject",n=>({token:n})),-1),yr=mi(vn("Optional"),8),Bo=mi(vn("SkipSelf"),4);let Ho;function wa(n){var e;return(null===(e=function Bf(){if(void 0===Ho&&(Ho=null,St.trustedTypes))try{Ho=St.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch(n){}return Ho}())||void 0===e?void 0:e.createHTML(n))||n}class es{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Em extends es{getTypeName(){return"HTML"}}class jf extends es{getTypeName(){return"Style"}}class Ev extends es{getTypeName(){return"Script"}}class Cm extends es{getTypeName(){return"URL"}}class Ls extends es{getTypeName(){return"ResourceURL"}}function Rr(n){return n instanceof es?n.changingThisBreaksApplicationSecurity:n}function Oi(n,e){const t=Dm(n);if(null!=t&&t!==e){if("ResourceURL"===t&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${t} (see https://g.co/ng/security#xss)`)}return t===e}function Dm(n){return n instanceof es&&n.getTypeName()||null}class Wf{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(wa(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(t){return null}}}class qc{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const r=this.inertDocument.createElement("body");t.appendChild(r)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=wa(e),t;const r=this.inertDocument.createElement("body");return r.innerHTML=wa(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(e){const t=e.attributes;for(let i=t.length-1;0<i;i--){const o=t.item(i).name;("xmlns:ns1"===o||0===o.indexOf("ns1:"))&&e.removeAttribute(o)}let r=e.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const qe=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,zf=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Ri(n){return(n=String(n)).match(qe)||n.match(zf)?n:"unsafe:"+n}function Sm(n){return(n=String(n)).split(",").map(e=>Ri(e.trim())).join(", ")}function gi(n){const e={};for(const t of n.split(","))e[t]=!0;return e}function hl(...n){const e={};for(const t of n)for(const r in t)t.hasOwnProperty(r)&&(e[r]=!0);return e}const Wn=gi("area,br,col,hr,img,wbr"),Am=gi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Tm=gi("rp,rt"),qf=hl(Wn,hl(Am,gi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),hl(Tm,gi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),hl(Tm,Am)),$f=gi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Yf=gi("srcset"),$c=hl($f,Yf,gi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),gi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Av=gi("script,style,template");class Kf{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,r=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=this.checkClobberedElement(t,t.nextSibling);if(i){t=i;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!qf.hasOwnProperty(t))return this.sanitizedSomething=!0,!Av.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const r=e.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),o=s.name,l=o.toLowerCase();if(!$c.hasOwnProperty(l)){this.sanitizedSomething=!0;continue}let c=s.value;$f[l]&&(c=Ri(c)),Yf[l]&&(c=Sm(c)),this.buf.push(" ",o,'="',pl(c),'"')}return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();qf.hasOwnProperty(t)&&!Wn.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(pl(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const Tv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Iv=/([^\#-~ |!])/g;function pl(n){return n.replace(/&/g,"&amp;").replace(Tv,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Iv,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Du;function Qf(n,e){let t=null;try{Du=Du||function zc(n){const e=new qc(n);return function fl(){try{return!!(new window.DOMParser).parseFromString(wa(""),"text/html")}catch(n){return!1}}()?new Wf(e):e}(n);let r=e?String(e):"";t=Du.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=t.innerHTML,t=Du.getInertBodyElement(r)}while(r!==s);return wa((new Kf).sanitizeChildren(Zf(t)||t))}finally{if(t){const r=Zf(t)||t;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Zf(n){return"content"in n&&function Mv(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Pt=(()=>((Pt=Pt||{})[Pt.NONE=0]="NONE",Pt[Pt.HTML=1]="HTML",Pt[Pt.STYLE=2]="STYLE",Pt[Pt.SCRIPT=3]="SCRIPT",Pt[Pt.URL=4]="URL",Pt[Pt.RESOURCE_URL=5]="RESOURCE_URL",Pt))();const nh="__ngContext__";function er(n,e){n[nh]=e}function rh(n){const e=function Su(n){return n[nh]||null}(n);return e?Array.isArray(e)?e:e.lView:null}function Yc(n){return n.ngOriginalError}function Hv(n,...e){n.error(...e)}class ts{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),r=this._findContext(e),i=function Bv(n){return n&&n.ngErrorLogger||Hv}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t),r&&i(this._console,"ERROR CONTEXT",r)}_findContext(e){return e?function Bm(n){return n.ngDebugContext}(e)||this._findContext(Yc(e)):null}_findOriginalError(e){let t=e&&Yc(e);for(;t&&Yc(t);)t=Yc(t);return t||null}}const Kc=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(St))();function ns(n){return n instanceof Function?n():n}var Yr=(()=>((Yr=Yr||{})[Yr.Important=1]="Important",Yr[Yr.DashCase=2]="DashCase",Yr))();function ah(n,e){return undefined(n,e)}function Tu(n){const e=n[3];return dn(e)?e[3]:e}function lh(n){return qm(n[13])}function uh(n){return qm(n[4])}function qm(n){for(;null!==n&&!dn(n);)n=n[4];return n}function Aa(n,e,t,r,i){if(null!=r){let s,o=!1;dn(r)?s=r:Zn(r)&&(o=!0,r=r[0]);const l=Jt(r);0===n&&null!==t?null==i?Jm(e,t,l):Ta(e,t,l,i||null,!0):1===n&&null!==t?Ta(e,t,l,i||null,!0):2===n?function Mu(n,e,t){const r=Qc(n,e);r&&function sb(n,e,t,r){Ue(n)?n.removeChild(e,t,r):e.removeChild(t)}(n,r,e,t)}(e,l,o):3===n&&e.destroyNode(l),null!=s&&function lb(n,e,t,r,i){const s=t[7];s!==Jt(t)&&Aa(e,n,r,s,i);for(let l=10;l<t.length;l++){const c=t[l];xu(c[1],c,n,e,r,s)}}(e,n,s,t,i)}}function dh(n,e,t){return Ue(n)?n.createElement(e,t):null===t?n.createElement(e):n.createElementNS(t,e)}function Iu(n,e){const t=n[9],r=t.indexOf(e),i=e[3];1024&e[2]&&(e[2]&=-1025,Io(i,-1)),t.splice(r,1)}function fh(n,e){if(n.length<=10)return;const t=10+e,r=n[t];if(r){const i=r[17];null!==i&&i!==n&&Iu(i,r),e>0&&(n[t-1][4]=r[4]);const s=Lo(n,10+e);!function Xv(n,e){xu(n,e,e[11],2,null,null),e[0]=null,e[6]=null}(r[1],r);const o=s[19];null!==o&&o.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Qm(n,e){if(!(256&e[2])){const t=e[11];Ue(t)&&t.destroyNode&&xu(n,e,t,3,null,null),function tb(n){let e=n[13];if(!e)return hh(n[1],n);for(;e;){let t=null;if(Zn(e))t=e[13];else{const r=e[10];r&&(t=r)}if(!t){for(;e&&!e[4]&&e!==n;)Zn(e)&&hh(e[1],e),e=e[3];null===e&&(e=n),Zn(e)&&hh(e[1],e),t=e&&e[4]}e=t}}(e)}}function hh(n,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function ib(n,e){let t;if(null!=n&&null!=(t=n.destroyHooks))for(let r=0;r<t.length;r+=2){const i=e[t[r]];if(!(i instanceof iu)){const s=t[r+1];if(Array.isArray(s))for(let o=0;o<s.length;o+=2){const l=i[s[o]],c=s[o+1];try{c.call(l)}finally{}}else try{s.call(i)}finally{}}}}(n,e),function rb(n,e){const t=n.cleanup,r=e[7];let i=-1;if(null!==t)for(let s=0;s<t.length-1;s+=2)if("string"==typeof t[s]){const o=t[s+1],l="function"==typeof o?o(e):Jt(e[o]),c=r[i=t[s+2]],f=t[s+3];"boolean"==typeof f?l.removeEventListener(t[s],c,f):f>=0?r[i=f]():r[i=-f].unsubscribe(),s+=2}else{const o=r[i=t[s+1]];t[s].call(o)}if(null!==r){for(let s=i+1;s<r.length;s++)r[s]();e[7]=null}}(n,e),1===e[1].type&&Ue(e[11])&&e[11].destroy();const t=e[17];if(null!==t&&dn(e[3])){t!==e[3]&&Iu(t,e);const r=e[19];null!==r&&r.detachView(n)}}}function Zm(n,e,t){return function Xm(n,e,t){let r=e;for(;null!==r&&40&r.type;)r=(e=r).parent;if(null===r)return t[0];if(2&r.flags){const i=n.data[r.directiveStart].encapsulation;if(i===rn.None||i===rn.Emulated)return null}return hr(r,t)}(n,e.parent,t)}function Ta(n,e,t,r,i){Ue(n)?n.insertBefore(e,t,r,i):e.insertBefore(t,r,i)}function Jm(n,e,t){Ue(n)?n.appendChild(e,t):e.appendChild(t)}function eg(n,e,t,r,i){null!==r?Ta(n,e,t,r,i):Jm(n,e,t)}function Qc(n,e){return Ue(n)?n.parentNode(e):e.parentNode}function tg(n,e,t){return rg(n,e,t)}let rg=function ng(n,e,t){return 40&n.type?hr(n,t):null};function Xc(n,e,t,r){const i=Zm(n,r,e),s=e[11],l=tg(r.parent||e[6],r,e);if(null!=i)if(Array.isArray(t))for(let c=0;c<t.length;c++)eg(s,i,t[c],l,!1);else eg(s,i,t,l,!1)}function Jc(n,e){if(null!==e){const t=e.type;if(3&t)return hr(e,n);if(4&t)return mh(-1,n[e.index]);if(8&t){const r=e.child;if(null!==r)return Jc(n,r);{const i=n[e.index];return dn(i)?mh(-1,i):Jt(i)}}if(32&t)return ah(e,n)()||Jt(n[e.index]);{const r=ig(n,e);return null!==r?Array.isArray(r)?r[0]:Jc(Tu(n[16]),r):Jc(n,e.next)}}return null}function ig(n,e){return null!==e?n[16][6].projection[e.projection]:null}function mh(n,e){const t=10+n+1;if(t<e.length){const r=e[t],i=r[1].firstChild;if(null!==i)return Jc(r,i)}return e[7]}function gh(n,e,t,r,i,s,o){for(;null!=t;){const l=r[t.index],c=t.type;if(o&&0===e&&(l&&er(Jt(l),r),t.flags|=4),64!=(64&t.flags))if(8&c)gh(n,e,t.child,r,i,s,!1),Aa(e,n,i,l,s);else if(32&c){const f=ah(t,r);let h;for(;h=f();)Aa(e,n,i,h,s);Aa(e,n,i,l,s)}else 16&c?sg(n,e,r,t,i,s):Aa(e,n,i,l,s);t=o?t.projectionNext:t.next}}function xu(n,e,t,r,i,s){gh(t,r,n.firstChild,e,i,s,!1)}function sg(n,e,t,r,i,s){const o=t[16],c=o[6].projection[r.projection];if(Array.isArray(c))for(let f=0;f<c.length;f++)Aa(e,n,i,c[f],s);else gh(n,e,c,o[3],i,s,!0)}function og(n,e,t){Ue(n)?n.setAttribute(e,"style",t):e.style.cssText=t}function _h(n,e,t){Ue(n)?""===t?n.removeAttribute(e,"class"):n.setAttribute(e,"class",t):e.className=t}function ag(n,e,t){let r=n.length;for(;;){const i=n.indexOf(e,t);if(-1===i)return i;if(0===i||n.charCodeAt(i-1)<=32){const s=e.length;if(i+s===r||n.charCodeAt(i+s)<=32)return i}t=i+1}}const lg="ng-template";function ed(n,e,t){let r=0;for(;r<n.length;){let i=n[r++];if(t&&"class"===i){if(i=n[r],-1!==ag(i.toLowerCase(),e,0))return!0}else if(1===i){for(;r<n.length&&"string"==typeof(i=n[r++]);)if(i.toLowerCase()===e)return!0;return!1}}return!1}function ug(n){return 4===n.type&&n.value!==lg}function cg(n,e,t){return e===(4!==n.type||t?n.value:lg)}function dg(n,e,t){let r=4;const i=n.attrs||[],s=function pg(n){for(let e=0;e<n.length;e++)if(Ro(n[e]))return e;return n.length}(i);let o=!1;for(let l=0;l<e.length;l++){const c=e[l];if("number"!=typeof c){if(!o)if(4&r){if(r=2|1&r,""!==c&&!cg(n,c,t)||""===c&&1===e.length){if(Kr(r))return!1;o=!0}}else{const f=8&r?c:e[++l];if(8&r&&null!==n.attrs){if(!ed(n.attrs,f,t)){if(Kr(r))return!1;o=!0}continue}const m=fg(8&r?"class":c,i,ug(n),t);if(-1===m){if(Kr(r))return!1;o=!0;continue}if(""!==f){let y;y=m>s?"":i[m+1].toLowerCase();const D=8&r?y:null;if(D&&-1!==ag(D,f,0)||2&r&&f!==y){if(Kr(r))return!1;o=!0}}}}else{if(!o&&!Kr(r)&&!Kr(c))return!1;if(o&&Kr(c))continue;o=!1,r=c|1&r}}return Kr(r)||o}function Kr(n){return 0==(1&n)}function fg(n,e,t,r){if(null===e)return-1;let i=0;if(r||!t){let s=!1;for(;i<e.length;){const o=e[i];if(o===n)return i;if(3===o||6===o)s=!0;else{if(1===o||2===o){let l=e[++i];for(;"string"==typeof l;)l=e[++i];continue}if(4===o)break;if(0===o){i+=4;continue}}i+=s?1:2}return-1}return function cb(n,e){let t=n.indexOf(4);if(t>-1)for(t++;t<n.length;){const r=n[t];if("number"==typeof r)return-1;if(r===e)return t;t++}return-1}(e,n)}function yh(n,e,t=!1){for(let r=0;r<e.length;r++)if(dg(n,e[r],t))return!0;return!1}function db(n,e){e:for(let t=0;t<e.length;t++){const r=e[t];if(n.length===r.length){for(let i=0;i<n.length;i++)if(n[i]!==r[i])continue e;return!0}}return!1}function mg(n,e){return n?":not("+e.trim()+")":e}function td(n){let e=n[0],t=1,r=2,i="",s=!1;for(;t<n.length;){let o=n[t];if("string"==typeof o)if(2&r){const l=n[++t];i+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""!==i&&!Kr(o)&&(e+=mg(s,i),i=""),r=o,s=s||!Kr(r);t++}return""!==i&&(e+=mg(s,i)),e}const ut={};function Qr(n){vh(gt(),ge(),C()+n,ya())}function vh(n,e,t,r){if(!r)if(3==(3&e[2])){const s=n.preOrderCheckHooks;null!==s&&Oc(e,s,t)}else{const s=n.preOrderHooks;null!==s&&Rc(e,s,0,t)}Un(t)}function rd(n,e){return n<<17|e<<2}function Pi(n){return n>>17&32767}function bh(n){return 2|n}function Hs(n){return(131068&n)>>2}function Eh(n,e){return-131069&n|e<<2}function Ch(n){return 1|n}function Th(n,e){const t=n.contentQueries;if(null!==t)for(let r=0;r<t.length;r+=2){const i=t[r],s=t[r+1];if(-1!==s){const o=n.data[s];ln(i),o.contentQueries(2,e[s],s)}}}function yl(n,e,t,r,i,s,o,l,c,f){const h=e.blueprint.slice();return h[0]=i,h[2]=140|r,eu(h),h[3]=h[15]=n,h[8]=t,h[10]=o||n&&n[10],h[11]=l||n&&n[11],h[12]=c||n&&n[12]||null,h[9]=f||n&&n[9]||null,h[6]=s,h[16]=2==e.type?n[16]:h,h}function Gn(n,e,t,r,i){let s=n.data[e];if(null===s)s=function ud(n,e,t,r,i){const s=nu(),o=Ms(),c=n.data[e]=function Eb(n,e,t,r,i,s){return{type:t,index:r,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?s:s&&s.parent,t,e,r,i);return null===n.firstChild&&(n.firstChild=c),null!==s&&(o?null==s.child&&null!==c.parent&&(s.child=c):null===s.next&&(s.next=c)),c}(n,e,t,r,i),function ce(){return Ge.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=t,s.value=r,s.attrs=i;const o=function xo(){const n=Ge.lFrame,e=n.currentTNode;return n.isParent?e:e.parent}();s.injectorIndex=null===o?-1:o.injectorIndex}return Gr(s,!0),s}function vl(n,e,t,r){if(0===t)return-1;const i=e.length;for(let s=0;s<t;s++)e.push(r),n.blueprint.push(r),n.data.push(null);return i}function xt(n,e,t){mr(e);try{const r=n.viewQuery;null!==r&&Bh(1,r,t);const i=n.template;null!==i&&Ru(n,e,i,1,t),n.firstCreatePass&&(n.firstCreatePass=!1),n.staticContentQueries&&Th(n,e),n.staticViewQueries&&Bh(2,n.viewQuery,t);const s=n.components;null!==s&&function mt(n,e){for(let t=0;t<e.length;t++)Lg(n,e[t])}(e,s)}catch(r){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),r}finally{e[2]&=-5,tn()}}function bl(n,e,t,r){const i=e[2];if(256==(256&i))return;mr(e);const s=ya();try{eu(e),function j(n){return Ge.lFrame.bindingIndex=n}(n.bindingStartIndex),null!==t&&Ru(n,e,t,2,r);const o=3==(3&i);if(!s)if(o){const f=n.preOrderCheckHooks;null!==f&&Oc(e,f,null)}else{const f=n.preOrderHooks;null!==f&&Rc(e,f,0,null),Ef(e,0)}if(function Rb(n){for(let e=lh(n);null!==e;e=uh(e)){if(!e[2])continue;const t=e[9];for(let r=0;r<t.length;r++){const i=t[r],s=i[3];0==(1024&i[2])&&Io(s,1),i[2]|=1024}}}(e),function Ob(n){for(let e=lh(n);null!==e;e=uh(e))for(let t=10;t<e.length;t++){const r=e[t],i=r[1];_a(r)&&bl(i,r,i.template,r[8])}}(e),null!==n.contentQueries&&Th(n,e),!s)if(o){const f=n.contentCheckHooks;null!==f&&Oc(e,f)}else{const f=n.contentHooks;null!==f&&Rc(e,f,1),Ef(e,1)}!function vb(n,e){const t=n.hostBindingOpCodes;if(null!==t)try{for(let r=0;r<t.length;r++){const i=t[r];if(i<0)Un(~i);else{const s=i,o=t[++r],l=t[++r];De(o,s),l(2,e[s])}}}finally{Un(-1)}}(n,e);const l=n.components;null!==l&&function Gs(n,e){for(let t=0;t<e.length;t++)Pb(n,e[t])}(e,l);const c=n.viewQuery;if(null!==c&&Bh(2,c,r),!s)if(o){const f=n.viewCheckHooks;null!==f&&Oc(e,f)}else{const f=n.viewHooks;null!==f&&Rc(e,f,2),Ef(e,2)}!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),s||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Io(e[3],-1))}finally{tn()}}function wg(n,e,t,r){const i=e[10],s=!ya(),o=Jl(e);try{s&&!o&&i.begin&&i.begin(),o&&xt(n,e,r),bl(n,e,t,r)}finally{s&&!o&&i.end&&i.end()}}function Ru(n,e,t,r,i){const s=C(),o=2&r;try{Un(-1),o&&e.length>20&&vh(n,e,20,ya()),t(r,i)}finally{Un(s)}}function Ih(n,e,t){!nl()||(function Sb(n,e,t,r){const i=t.directiveStart,s=t.directiveEnd;n.firstCreatePass||Po(t,e),er(r,e);const o=t.initialInputs;for(let l=i;l<s;l++){const c=n.data[l],f=cr(c);f&&Mb(e,t,c);const h=ol(e,n,l,t);er(h,e),null!==o&&xb(0,l-i,h,c,0,o),f&&(lt(t.index,e)[8]=h)}}(n,e,t,hr(t,e)),128==(128&t.flags)&&function Ab(n,e,t){const r=t.directiveStart,i=t.directiveEnd,o=t.index,l=function Fe(){return Ge.lFrame.currentDirectiveIndex}();try{Un(o);for(let c=r;c<i;c++){const f=n.data[c],h=e[c];we(c),(null!==f.hostBindings||0!==f.hostVars||null!==f.hostAttrs)&&Pg(f,h)}}finally{Un(-1),we(l)}}(n,e,t))}function Mh(n,e,t=hr){const r=e.localNames;if(null!==r){let i=e.index+1;for(let s=0;s<r.length;s+=2){const o=r[s+1],l=-1===o?t(e,n):n[o];n[i++]=l}}}function Ag(n){const e=n.tView;return null===e||e.incompleteFirstPass?n.tView=cd(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts):e}function cd(n,e,t,r,i,s,o,l,c,f){const h=20+r,m=h+i,y=function bb(n,e){const t=[];for(let r=0;r<e;r++)t.push(r<n?null:ut);return t}(h,m),D="function"==typeof f?f():f;return y[1]={type:n,blueprint:y,template:t,queries:null,viewQuery:l,declTNode:e,data:y.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:m,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:c,consts:D,incompleteFirstPass:!1}}function Mg(n,e,t,r){const i=Bg(e);null===t?i.push(r):(i.push(t),n.firstCreatePass&&Hg(n).push(r,i.length-1))}function xg(n,e,t){for(let r in n)if(n.hasOwnProperty(r)){const i=n[r];(t=null===t?{}:t).hasOwnProperty(r)?t[r].push(e,i):t[r]=[e,i]}return t}function Xr(n,e,t,r,i,s,o,l){const c=hr(e,t);let h,f=e.inputs;!l&&null!=f&&(h=f[r])?(Wg(n,t,h,r,i),Ds(e)&&function Oh(n,e){const t=lt(e,n);16&t[2]||(t[2]|=64)}(t,e.index)):3&e.type&&(r=function xh(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(r),i=null!=o?o(i,e.value||"",r):i,Ue(s)?s.setProperty(c,r,i):Cf(r)||(c.setProperty?c.setProperty(r,i):c[r]=i))}function Rh(n,e,t,r){let i=!1;if(nl()){const s=function Fg(n,e,t){const r=n.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const o=r[s];yh(t,o.selectors,!1)&&(i||(i=[]),fi(Po(t,e),n,o.type),cr(o)?(Ng(n,t),i.unshift(o)):i.push(o))}return i}(n,e,t),o=null===r?null:{"":-1};if(null!==s){i=!0,Ph(t,n.data.length,s.length);for(let h=0;h<s.length;h++){const m=s[h];m.providersResolver&&m.providersResolver(m)}let l=!1,c=!1,f=vl(n,e,s.length,null);for(let h=0;h<s.length;h++){const m=s[h];t.mergedAttrs=Fc(t.mergedAttrs,m.hostAttrs),Fh(n,t,e,f,m),Ib(f,m,o),null!==m.contentQueries&&(t.flags|=8),(null!==m.hostBindings||null!==m.hostAttrs||0!==m.hostVars)&&(t.flags|=128);const y=m.type.prototype;!l&&(y.ngOnChanges||y.ngOnInit||y.ngDoCheck)&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t.index),l=!0),!c&&(y.ngOnChanges||y.ngDoCheck)&&((n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t.index),c=!0),f++}!function Cb(n,e){const r=e.directiveEnd,i=n.data,s=e.attrs,o=[];let l=null,c=null;for(let f=e.directiveStart;f<r;f++){const h=i[f],m=h.inputs,y=null===s||ug(e)?null:El(m,s);o.push(y),l=xg(m,f,l),c=xg(h.outputs,f,c)}null!==l&&(l.hasOwnProperty("class")&&(e.flags|=16),l.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=o,e.inputs=l,e.outputs=c}(n,t)}o&&function Tb(n,e,t){if(e){const r=n.localNames=[];for(let i=0;i<e.length;i+=2){const s=t[e[i+1]];if(null==s)throw new gs("301",`Export of name '${e[i+1]}' not found!`);r.push(e[i],s)}}}(t,r,o)}return t.mergedAttrs=Fc(t.mergedAttrs,t.attrs),i}function Og(n,e,t,r,i,s){const o=s.hostBindings;if(o){let l=n.hostBindingOpCodes;null===l&&(l=n.hostBindingOpCodes=[]);const c=~e.index;(function Rg(n){let e=n.length;for(;e>0;){const t=n[--e];if("number"==typeof t&&t<0)return t}return 0})(l)!=c&&l.push(c),l.push(r,i,o)}}function Pg(n,e){null!==n.hostBindings&&n.hostBindings(1,e)}function Ng(n,e){e.flags|=2,(n.components||(n.components=[])).push(e.index)}function Ib(n,e,t){if(t){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)t[e.exportAs[r]]=n;cr(e)&&(t[""]=n)}}function Ph(n,e,t){n.flags|=1,n.directiveStart=e,n.directiveEnd=e+t,n.providerIndexes=e}function Fh(n,e,t,r,i){n.data[r]=i;const s=i.factory||(i.factory=Xn(i.type)),o=new iu(s,cr(i),null);n.blueprint[r]=o,t[r]=o,Og(n,e,0,r,vl(n,t,i.hostVars,ut),i)}function Mb(n,e,t){const r=hr(e,n),i=Ag(t),s=n[10],o=fd(n,yl(n,i,null,t.onPush?64:16,r,e,s,s.createRenderer(r,t),null,null));n[e.index]=o}function is(n,e,t,r,i,s){const o=hr(n,e);!function Nh(n,e,t,r,i,s,o){if(null==s)Ue(n)?n.removeAttribute(e,i,t):e.removeAttribute(i);else{const l=null==o?rt(s):o(s,r||"",i);Ue(n)?n.setAttribute(e,i,l,t):t?e.setAttributeNS(t,i,l):e.setAttribute(i,l)}}(e[11],o,s,n.value,t,r,i)}function xb(n,e,t,r,i,s){const o=s[e];if(null!==o){const l=r.setInput;for(let c=0;c<o.length;){const f=o[c++],h=o[c++],m=o[c++];null!==l?r.setInput(t,m,f,h):t[h]=m}}}function El(n,e){let t=null,r=0;for(;r<e.length;){const i=e[r];if(0!==i)if(5!==i){if("number"==typeof i)break;n.hasOwnProperty(i)&&(null===t&&(t=[]),t.push(i,n[i],e[r+1])),r+=2}else r+=2;else r+=4}return t}function kg(n,e,t,r){return new Array(n,!0,!1,e,null,0,r,t,null,null)}function Pb(n,e){const t=lt(e,n);if(_a(t)){const r=t[1];80&t[2]?bl(r,t,r.template,t[8]):t[5]>0&&dd(t)}}function dd(n){for(let r=lh(n);null!==r;r=uh(r))for(let i=10;i<r.length;i++){const s=r[i];if(1024&s[2]){const o=s[1];bl(o,s,o.template,s[8])}else s[5]>0&&dd(s)}const t=n[1].components;if(null!==t)for(let r=0;r<t.length;r++){const i=lt(t[r],n);_a(i)&&i[5]>0&&dd(i)}}function Lg(n,e){const t=lt(e,n),r=t[1];(function Fb(n,e){for(let t=e.length;t<n.blueprint.length;t++)e.push(n.blueprint[t])})(r,t),xt(r,t,t[8])}function fd(n,e){return n[13]?n[14][4]=e:n[13]=e,n[14]=e,e}function kh(n){for(;n;){n[2]|=64;const e=Tu(n);if(yo(n)&&!e)return n;n=e}return null}function Vh(n,e,t){const r=e[10];r.begin&&r.begin();try{bl(n,e,n.template,t)}catch(i){throw Ug(e,i),i}finally{r.end&&r.end()}}function Vg(n){!function Lh(n){for(let e=0;e<n.components.length;e++){const t=n.components[e],r=rh(t),i=r[1];wg(i,r,i.template,t)}}(n[8])}function Bh(n,e,t){ln(0),e(n,t)}const Vb=(()=>Promise.resolve(null))();function Bg(n){return n[7]||(n[7]=[])}function Hg(n){return n.cleanup||(n.cleanup=[])}function Ug(n,e){const t=n[9],r=t?t.get(ts,null):null;r&&r.handleError(e)}function Wg(n,e,t,r,i){for(let s=0;s<t.length;){const o=t[s++],l=t[s++],c=e[o],f=n.data[o];null!==f.setInput?f.setInput(c,i,r,l):c[l]=i}}function zs(n,e,t){const r=Si(e,n);!function Ym(n,e,t){Ue(n)?n.setValue(e,t):e.textContent=t}(n[11],r,t)}function hd(n,e,t){let r=t?n.styles:null,i=t?n.classes:null,s=0;if(null!==e)for(let o=0;o<e.length;o++){const l=e[o];"number"==typeof l?s=l:1==s?i=Yl(i,l):2==s&&(r=Yl(r,l+": "+e[++o]+";"))}t?n.styles=r:n.stylesWithoutHost=r,t?n.classes=i:n.classesWithoutHost=i}const Pu=new Le("INJECTOR",-1);class Gg{get(e,t=_u){if(t===_u){const r=new Error(`NullInjectorError: No provider for ${dt(e)}!`);throw r.name="NullInjectorError",r}return t}}const Fu=new Le("Set Injector scope."),Ma={},zg={};let pd;function qg(){return void 0===pd&&(pd=new Gg),pd}function $g(n,e=null,t=null,r){return new Hh(n,t,e||qg(),r)}class Hh{constructor(e,t,r,i=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];t&&pi(t,l=>this.processProvider(l,e,t)),pi([e],l=>this.processInjectorType(l,[],s)),this.records.set(Pu,Go(void 0,this));const o=this.records.get(Fu);this.scope=null!=o?o.value:null,this.source=i||("object"==typeof e?null:dt(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=_u,r=He.Default){this.assertNotDestroyed();const i=Fs(this),s=Yn(void 0);try{if(!(r&He.SkipSelf)){let l=this.records.get(e);if(void 0===l){const c=function $b(n){return"function"==typeof n||"object"==typeof n&&n instanceof Le}(e)&&Ei(e);l=c&&this.injectableDefInScope(c)?Go(jh(e),Ma):null,this.records.set(e,l)}if(null!=l)return this.hydrate(e,l)}return(r&He.Self?qg():this.parent).get(e,t=r&He.Optional&&t===_u?null:t)}catch(o){if("NullInjectorError"===o.name){if((o[Vo]=o[Vo]||[]).unshift(dt(e)),i)throw o;return ks(o,e,"R3InjectorError",this.source)}throw o}finally{Yn(s),Fs(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((r,i)=>e.push(dt(i))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,r){if(!(e=Be(e)))return!1;let i=_n(e);const s=null==i&&e.ngModule||void 0,o=void 0===s?e:s,l=-1!==r.indexOf(o);if(void 0!==s&&(i=_n(s)),null==i)return!1;if(null!=i.imports&&!l){let h;r.push(o);try{pi(i.imports,m=>{this.processInjectorType(m,t,r)&&(void 0===h&&(h=[]),h.push(m))})}finally{}if(void 0!==h)for(let m=0;m<h.length;m++){const{ngModule:y,providers:D}=h[m];pi(D,O=>this.processProvider(O,y,D||Vt))}}this.injectorDefTypes.add(o);const c=Xn(o)||(()=>new o);this.records.set(o,Go(c,Ma));const f=i.providers;if(null!=f&&!l){const h=e;pi(f,m=>this.processProvider(m,h,f))}return void 0!==s&&void 0!==e.providers}processProvider(e,t,r){let i=Cl(e=Be(e))?e:Be(e&&e.provide);const s=function Wb(n,e,t){return Yg(n)?Go(void 0,n.useValue):Go(function Er(n,e,t){let r;if(Cl(n)){const i=Be(n);return Xn(i)||jh(i)}if(Yg(n))r=()=>Be(n.useValue);else if(function zb(n){return!(!n||!n.useFactory)}(n))r=()=>n.useFactory(...Ns(n.deps||[]));else if(function Gb(n){return!(!n||!n.useExisting)}(n))r=()=>le(Be(n.useExisting));else{const i=Be(n&&(n.useClass||n.provide));if(!function qb(n){return!!n.deps}(n))return Xn(i)||jh(i);r=()=>new i(...Ns(n.deps))}return r}(n),Ma)}(e);if(Cl(e)||!0!==e.multi)this.records.get(i);else{let o=this.records.get(i);o||(o=Go(void 0,Ma,!0),o.factory=()=>Ns(o.multi),this.records.set(i,o)),i=e,o.multi.push(e)}this.records.set(i,s)}hydrate(e,t){return t.value===Ma&&(t.value=zg,t.value=t.factory()),"object"==typeof t.value&&t.value&&function Wh(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(t.value)&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){if(!e.providedIn)return!1;const t=Be(e.providedIn);return"string"==typeof t?"any"===t||t===this.scope:this.injectorDefTypes.has(t)}}function jh(n){const e=Ei(n),t=null!==e?e.factory:Xn(n);if(null!==t)return t;if(n instanceof Le)throw new Error(`Token ${dt(n)} is missing a \u0275prov definition.`);if(n instanceof Function)return function Ub(n){const e=n.length;if(e>0){const r=Ps(e,"?");throw new Error(`Can't resolve all parameters for ${dt(n)}: (${r.join(", ")}).`)}const t=function qa(n){const e=n&&(n[la]||n[Ci]);if(e){const t=function Wi(n){if(n.hasOwnProperty("name"))return n.name;const e=(""+n).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${t}" 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 "${t}" class.`),e}return null}(n);return null!==t?()=>t.factory(n):()=>new n}(n);throw new Error("unreachable")}function Go(n,e,t=!1){return{factory:n,value:e,multi:t?[]:void 0}}function Yg(n){return null!==n&&"object"==typeof n&&yu in n}function Cl(n){return"function"==typeof n}const Kg=function Yb(n,e,t){return function jb(n,e=null,t=null,r){const i=$g(n,e,t,r);return i._resolveInjectorDefTypes(),i}({name:t},e,n,t)};let Ht=(()=>{class n{static create(t,r){return Array.isArray(t)?Kg(t,r,""):Kg(t.providers,t.parent,t.name||"")}}return n.THROW_IF_NOT_FOUND=_u,n.NULL=new Gg,n.\u0275prov=Ce({token:n,providedIn:"any",factory:()=>le(Pu)}),n.__NG_ELEMENT_ID__=-1,n})();function Ze(n,e){xc(rh(n)[1],on())}function Re(n){let e=function $e(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),t=!0;const r=[n];for(;e;){let i;if(cr(n))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(t){r.push(i);const o=n;o.inputs=Cr(n.inputs),o.declaredInputs=Cr(n.declaredInputs),o.outputs=Cr(n.outputs);const l=i.hostBindings;l&&Cn(n,l);const c=i.viewQuery,f=i.contentQueries;if(c&&Dr(n,c),f&&ei(n,f),Ua(n.inputs,i.inputs),Ua(n.declaredInputs,i.declaredInputs),Ua(n.outputs,i.outputs),cr(i)&&i.data.animation){const h=n.data;h.animation=(h.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let o=0;o<s.length;o++){const l=s[o];l&&l.ngInherit&&l(n),l===Re&&(t=!1)}}e=Object.getPrototypeOf(e)}!function At(n){let e=0,t=null;for(let r=n.length-1;r>=0;r--){const i=n[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Fc(i.hostAttrs,t=Fc(t,i.hostAttrs))}}(r)}function Cr(n){return n===mo?{}:n===Vt?[]:n}function Dr(n,e){const t=n.viewQuery;n.viewQuery=t?(r,i)=>{e(r,i),t(r,i)}:e}function ei(n,e){const t=n.contentQueries;n.contentQueries=t?(r,i,s)=>{e(r,i,s),t(r,i,s)}:e}function Cn(n,e){const t=n.hostBindings;n.hostBindings=t?(r,i)=>{e(r,i),t(r,i)}:e}let a_=null;function md(){if(!a_){const n=St.Symbol;if(n&&n.iterator)a_=n.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const r=e[t];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(a_=r)}}}return a_}function Yh(n){return!!rE(n)&&(Array.isArray(n)||!(n instanceof Map)&&md()in n)}function rE(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function Fr(n,e,t){return!Object.is(n[e],t)&&(n[e]=t,!0)}function Ys(n,e,t,r){const i=ge();return Fr(i,te(),e)&&(gt(),is(Qt(),i,n,e,t,r)),Ys}function _d(n,e,t,r){return Fr(n,te(),t)?e+rt(t)+r:ut}function Qh(n){return Ir(function Tc(){return Ge.lFrame.contextLView}(),20+n)}function de(n,e=He.Default){const t=ge();return null===t?le(n,e):om(on(),t,Be(n),e)}function Ks(n,e,t){const r=ge();return Fr(r,te(),e)&&Xr(gt(),Qt(),r,n,e,r[11],t,!1),Ks}function lE(n,e,t,r,i){const o=i?"class":"style";Wg(n,t,e.inputs[o],o,r)}function Ni(n,e,t,r){const i=ge(),s=gt(),o=20+n,l=i[11],c=i[o]=dh(l,e,function Jy(){return Ge.lFrame.currentNamespace}()),f=s.firstCreatePass?function uO(n,e,t,r,i,s,o){const l=e.consts,f=Gn(e,n,2,i,Ti(l,s));return Rh(e,t,f,Ti(l,o)),null!==f.attrs&&hd(f,f.attrs,!1),null!==f.mergedAttrs&&hd(f,f.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,f),f}(o,s,i,0,e,t,r):s.data[o];Gr(f,!0);const h=f.mergedAttrs;null!==h&&Pc(l,c,h);const m=f.classes;null!==m&&_h(l,c,m);const y=f.styles;null!==y&&og(l,c,y),64!=(64&f.flags)&&Xc(s,i,c,f),0===function Ts(){return Ge.lFrame.elementDepthCount}()&&er(c,i),function Mo(){Ge.lFrame.elementDepthCount++}(),_o(f)&&(Ih(s,i,f),function Sg(n,e,t){if(ui(e)){const i=e.directiveEnd;for(let s=e.directiveStart;s<i;s++){const o=n.data[s];o.contentQueries&&o.contentQueries(1,t[s],s)}}}(s,f,i)),null!==r&&Mh(i,f)}function ki(){let n=on();Ms()?Xi():(n=n.parent,Gr(n,!1));const e=n;!function Is(){Ge.lFrame.elementDepthCount--}();const t=gt();t.firstCreatePass&&(xc(t,n),ui(n)&&t.queries.elementEnd(n)),null!=e.classesWithoutHost&&function nv(n){return 0!=(16&n.flags)}(e)&&lE(t,e,ge(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function rv(n){return 0!=(32&n.flags)}(e)&&lE(t,e,ge(),e.stylesWithoutHost,!1)}function Dl(n,e,t,r){Ni(n,e,t,r),ki()}function uE(){return ge()}function c_(n){return!!n&&"function"==typeof n.then}function Dw(n){return!!n&&"function"==typeof n.subscribe}const cE=Dw;function ti(n,e,t,r){const i=ge(),s=gt(),o=on();return function Sw(n,e,t,r,i,s,o,l){const c=_o(r),h=n.firstCreatePass&&Hg(n),m=e[8],y=Bg(e);let D=!0;if(3&r.type||l){const W=hr(r,e),ue=l?l(W):W,ne=y.length,Te=l?Oe=>l(Jt(Oe[r.index])):r.index;if(Ue(t)){let Oe=null;if(!l&&c&&(Oe=function fO(n,e,t,r){const i=n.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const o=i[s];if(o===t&&i[s+1]===r){const l=e[7],c=i[s+2];return l.length>c?l[c]:null}"string"==typeof o&&(s+=2)}return null}(n,e,i,r.index)),null!==Oe)(Oe.__ngLastListenerFn__||Oe).__ngNextListenerFn__=s,Oe.__ngLastListenerFn__=s,D=!1;else{s=dE(r,e,m,s,!1);const at=t.listen(ue,i,s);y.push(s,at),h&&h.push(i,Te,ne,ne+1)}}else s=dE(r,e,m,s,!0),ue.addEventListener(i,s,o),y.push(s),h&&h.push(i,Te,ne,o)}else s=dE(r,e,m,s,!1);const O=r.outputs;let $;if(D&&null!==O&&($=O[i])){const W=$.length;if(W)for(let ue=0;ue<W;ue+=2){const $t=e[$[ue]][$[ue+1]].subscribe(s),nn=y.length;y.push(s,$t),h&&h.push(i,r.index,nn,-(nn+1))}}}(s,i,i[11],o,n,e,!!t,r),ti}function Aw(n,e,t,r){try{return!1!==t(r)}catch(i){return Ug(n,i),!1}}function dE(n,e,t,r,i){return function s(o){if(o===Function)return r;const l=2&n.flags?lt(n.index,e):e;0==(32&e[2])&&kh(l);let c=Aw(e,0,r,o),f=s.__ngNextListenerFn__;for(;f;)c=Aw(e,0,f,o)&&c,f=f.__ngNextListenerFn__;return i&&!1===c&&(o.preventDefault(),o.returnValue=!1),c}}function fE(n=1){return function gr(n){return(Ge.lFrame.contextLView=function xs(n,e){for(;n>0;)e=e[15],n--;return e}(n,Ge.lFrame.contextLView))[8]}(n)}function hO(n,e){let t=null;const r=function hg(n){const e=n.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(n);for(let i=0;i<e.length;i++){const s=e[i];if("*"!==s){if(null===r?yh(n,s,!0):db(r,s))return i}else t=i}return t}function hE(n){const e=ge()[16][6];if(!e.projection){const r=e.projection=Ps(n?n.length:1,null),i=r.slice();let s=e.child;for(;null!==s;){const o=n?hO(s,n):0;null!==o&&(i[o]?i[o].projectionNext=s:r[o]=s,i[o]=s),s=s.next}}}function pE(n,e=0,t){const r=ge(),i=gt(),s=Gn(i,20+n,16,null,t||null);null===s.projection&&(s.projection=e),Xi(),64!=(64&s.flags)&&function ab(n,e,t){sg(e[11],0,e,t,Zm(n,t,e),tg(t.parent||e[6],t,e))}(i,r,s)}function mE(n,e,t){return gE(n,"",e,"",t),mE}function gE(n,e,t,r,i){const s=ge(),o=_d(s,e,t,r);return o!==ut&&Xr(gt(),Qt(),s,n,o,s[11],i,!1),gE}function Nw(n,e,t,r,i){const s=n[t+1],o=null===e;let l=r?Pi(s):Hs(s),c=!1;for(;0!==l&&(!1===c||o);){const h=n[l+1];gO(n[l],e)&&(c=!0,n[l+1]=r?Ch(h):bh(h)),l=r?Pi(h):Hs(h)}c&&(n[t+1]=r?bh(s):Ch(s))}function gO(n,e){return null===n||null==e||(Array.isArray(n)?n[1]:n)===e||!(!Array.isArray(n)||"string"!=typeof e)&&Ca(n,e)>=0}const zn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function kw(n){return n.substring(zn.key,zn.keyEnd)}function Lw(n,e){const t=zn.textEnd;return t===e?-1:(e=zn.keyEnd=function bO(n,e,t){for(;e<t&&n.charCodeAt(e)>32;)e++;return e}(n,zn.key=e,t),Ad(n,e,t))}function Ad(n,e,t){for(;e<t&&n.charCodeAt(e)<=32;)e++;return e}function d_(n,e,t){return Qs(n,e,t,!1),d_}function xa(n,e){return Qs(n,e,null,!0),xa}function Uw(n){!function Zs(n,e,t,r){const i=gt(),s=ee(2);i.firstUpdatePass&&Gw(i,null,s,r);const o=ge();if(t!==ut&&Fr(o,s,t)){const l=i.data[C()];if(Yw(l,r)&&!Ww(i,s)){let c=r?l.classesWithoutHost:l.stylesWithoutHost;null!==c&&(t=Yl(c,t||"")),lE(i,l,o,t,r)}else!function MO(n,e,t,r,i,s,o,l){i===ut&&(i=Vt);let c=0,f=0,h=0<i.length?i[0]:null,m=0<s.length?s[0]:null;for(;null!==h||null!==m;){const y=c<i.length?i[c+1]:void 0,D=f<s.length?s[f+1]:void 0;let $,O=null;h===m?(c+=2,f+=2,y!==D&&(O=m,$=D)):null===m||null!==h&&h<m?(c+=2,O=h):(f+=2,O=m,$=D),null!==O&&qw(n,e,t,r,O,$,o,l),h=c<i.length?i[c]:null,m=f<s.length?s[f]:null}}(i,l,o,o[11],o[s+1],o[s+1]=function IO(n,e,t){if(null==t||""===t)return Vt;const r=[],i=Rr(t);if(Array.isArray(i))for(let s=0;s<i.length;s++)n(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&n(r,s,i[s]);else"string"==typeof i&&e(r,i);return r}(n,e,t),r,s)}}(qr,$o,n,!0)}function $o(n,e){for(let t=function yO(n){return function Bw(n){zn.key=0,zn.keyEnd=0,zn.value=0,zn.valueEnd=0,zn.textEnd=n.length}(n),Lw(n,Ad(n,0,zn.textEnd))}(e);t>=0;t=Lw(e,t))qr(n,kw(e),!0)}function Qs(n,e,t,r){const i=ge(),s=gt(),o=ee(2);s.firstUpdatePass&&Gw(s,n,o,r),e!==ut&&Fr(i,o,e)&&qw(s,s.data[C()],i,i[11],n,i[o+1]=function xO(n,e){return null==n||("string"==typeof e?n+=e:"object"==typeof n&&(n=dt(Rr(n)))),n}(e,t),r,o)}function Ww(n,e){return e>=n.expandoStartIndex}function Gw(n,e,t,r){const i=n.data;if(null===i[t+1]){const s=i[C()],o=Ww(n,t);Yw(s,r)&&null===e&&!o&&(e=!1),e=function wO(n,e,t,r){const i=function je(n){const e=Ge.lFrame.currentDirectiveIndex;return-1===e?null:n[e]}(n);let s=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(t=Zh(t=_E(null,n,e,t,r),e.attrs,r),s=null);else{const o=e.directiveStylingLast;if(-1===o||n[o]!==i)if(t=_E(i,n,e,t,r),null===s){let c=function SO(n,e,t){const r=t?e.classBindings:e.styleBindings;if(0!==Hs(r))return n[Pi(r)]}(n,e,r);void 0!==c&&Array.isArray(c)&&(c=_E(null,n,e,c[1],r),c=Zh(c,e.attrs,r),function AO(n,e,t,r){n[Pi(t?e.classBindings:e.styleBindings)]=r}(n,e,r,c))}else s=function TO(n,e,t){let r;const i=e.directiveEnd;for(let s=1+e.directiveStylingLast;s<i;s++)r=Zh(r,n[s].hostAttrs,t);return Zh(r,e.attrs,t)}(n,e,r)}return void 0!==s&&(r?e.residualClasses=s:e.residualStyles=s),t}(i,s,e,r),function pO(n,e,t,r,i,s){let o=s?e.classBindings:e.styleBindings,l=Pi(o),c=Hs(o);n[r]=t;let h,f=!1;if(Array.isArray(t)){const m=t;h=m[1],(null===h||Ca(m,h)>0)&&(f=!0)}else h=t;if(i)if(0!==c){const y=Pi(n[l+1]);n[r+1]=rd(y,l),0!==y&&(n[y+1]=Eh(n[y+1],r)),n[l+1]=function hb(n,e){return 131071&n|e<<17}(n[l+1],r)}else n[r+1]=rd(l,0),0!==l&&(n[l+1]=Eh(n[l+1],r)),l=r;else n[r+1]=rd(c,0),0===l?l=r:n[c+1]=Eh(n[c+1],r),c=r;f&&(n[r+1]=bh(n[r+1])),Nw(n,h,r,!0),Nw(n,h,r,!1),function mO(n,e,t,r,i){const s=i?n.residualClasses:n.residualStyles;null!=s&&"string"==typeof e&&Ca(s,e)>=0&&(t[r+1]=Ch(t[r+1]))}(e,h,n,r,s),o=rd(l,c),s?e.classBindings=o:e.styleBindings=o}(i,s,e,t,o,r)}}function _E(n,e,t,r,i){let s=null;const o=t.directiveEnd;let l=t.directiveStylingLast;for(-1===l?l=t.directiveStart:l++;l<o&&(s=e[l],r=Zh(r,s.hostAttrs,i),s!==n);)l++;return null!==n&&(t.directiveStylingLast=l),r}function Zh(n,e,t){const r=t?1:2;let i=-1;if(null!==e)for(let s=0;s<e.length;s++){const o=e[s];"number"==typeof o?i=o:i===r&&(Array.isArray(n)||(n=void 0===n?[]:["",n]),qr(n,o,!!t||e[++s]))}return void 0===n?null:n}function qw(n,e,t,r,i,s,o,l){if(!(3&e.type))return;const c=n.data,f=c[l+1];f_(function yg(n){return 1==(1&n)}(f)?$w(c,e,t,i,Hs(f),o):void 0)||(f_(s)||function _g(n){return 2==(2&n)}(f)&&(s=$w(c,null,t,i,l,o)),function ub(n,e,t,r,i){const s=Ue(n);if(e)i?s?n.addClass(t,r):t.classList.add(r):s?n.removeClass(t,r):t.classList.remove(r);else{let o=-1===r.indexOf("-")?void 0:Yr.DashCase;if(null==i)s?n.removeStyle(t,r,o):t.style.removeProperty(r);else{const l="string"==typeof i&&i.endsWith("!important");l&&(i=i.slice(0,-10),o|=Yr.Important),s?n.setStyle(t,r,i,o):t.style.setProperty(r,i,l?"important":"")}}}(r,o,Si(C(),t),i,s))}function $w(n,e,t,r,i,s){const o=null===e;let l;for(;i>0;){const c=n[i],f=Array.isArray(c),h=f?c[1]:c,m=null===h;let y=t[i+1];y===ut&&(y=m?Vt:void 0);let D=m?mu(y,r):h===r?y:void 0;if(f&&!f_(D)&&(D=mu(c,r)),f_(D)&&(l=D,o))return l;const O=n[i+1];i=o?Pi(O):Hs(O)}if(null!==e){let c=s?e.residualClasses:e.residualStyles;null!=c&&(l=mu(c,r))}return l}function f_(n){return void 0!==n}function Yw(n,e){return 0!=(n.flags&(e?16:32))}function Td(n,e=""){const t=ge(),r=gt(),i=n+20,s=r.firstCreatePass?Gn(r,i,1,e,null):r.data[i],o=t[i]=function ch(n,e){return Ue(n)?n.createText(e):n.createTextNode(e)}(t[11],e);Xc(r,t,o,s),Gr(s,!1)}function yE(n){return h_("",n,""),yE}function h_(n,e,t){const r=ge(),i=_d(r,n,e,t);return i!==ut&&zs(r,C(),i),h_}const Vu=void 0;var QO=["en",[["a","p"],["AM","PM"],Vu],[["AM","PM"],Vu,Vu],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Vu,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Vu,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Vu,"{1} 'at' {0}",Vu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function KO(n){const t=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}];let Id={};function mS(n){return n in Id||(Id[n]=St.ng&&St.ng.common&&St.ng.common.locales&&St.ng.common.locales[n]),Id[n]}var xe=(()=>((xe=xe||{})[xe.LocaleId=0]="LocaleId",xe[xe.DayPeriodsFormat=1]="DayPeriodsFormat",xe[xe.DayPeriodsStandalone=2]="DayPeriodsStandalone",xe[xe.DaysFormat=3]="DaysFormat",xe[xe.DaysStandalone=4]="DaysStandalone",xe[xe.MonthsFormat=5]="MonthsFormat",xe[xe.MonthsStandalone=6]="MonthsStandalone",xe[xe.Eras=7]="Eras",xe[xe.FirstDayOfWeek=8]="FirstDayOfWeek",xe[xe.WeekendRange=9]="WeekendRange",xe[xe.DateFormat=10]="DateFormat",xe[xe.TimeFormat=11]="TimeFormat",xe[xe.DateTimeFormat=12]="DateTimeFormat",xe[xe.NumberSymbols=13]="NumberSymbols",xe[xe.NumberFormats=14]="NumberFormats",xe[xe.CurrencyCode=15]="CurrencyCode",xe[xe.CurrencySymbol=16]="CurrencySymbol",xe[xe.CurrencyName=17]="CurrencyName",xe[xe.Currencies=18]="Currencies",xe[xe.Directionality=19]="Directionality",xe[xe.PluralCase=20]="PluralCase",xe[xe.ExtraData=21]="ExtraData",xe))();const p_="en-US";let gS=p_;class jS{}const WS="ngComponent";class ZR{resolveComponentFactory(e){throw function US(n){const e=Error(`No component factory found for ${dt(n)}. Did you add it to @NgModule.entryComponents?`);return e[WS]=n,e}(e)}}let Oa=(()=>{class n{}return n.NULL=new ZR,n})();function v_(...n){}function xd(n,e){return new mn(hr(n,e))}const eP=function XR(){return xd(on(),ge())};let mn=(()=>{class n{constructor(t){this.nativeElement=t}}return n.__NG_ELEMENT_ID__=eP,n})();function GS(n){return n instanceof mn?n.nativeElement:n}class Bu{}let Hu=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>nP(),n})();const nP=function iP(){const n=ge(),t=lt(on().index,n);return function rP(n){return n[11]}(Zn(t)?t:n)};let AE=(()=>{class n{}return n.\u0275prov=Ce({token:n,providedIn:"root",factory:()=>null}),n})();class wl{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const zS=new wl("13.0.1"),Od={};function b_(n,e,t,r,i=!1){for(;null!==t;){const s=e[t.index];if(null!==s&&r.push(Jt(s)),dn(s))for(let l=10;l<s.length;l++){const c=s[l],f=c[1].firstChild;null!==f&&b_(c[1],c,f,r)}const o=t.type;if(8&o)b_(n,e,t.child,r);else if(32&o){const l=ah(t,e);let c;for(;c=l();)r.push(c)}else if(16&o){const l=ig(e,t);if(Array.isArray(l))r.push(...l);else{const c=Tu(e[16]);b_(c[1],c,l,r,!0)}}t=i?t.projectionNext:t.next}return r}class np{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,t=e[1];return b_(t,e,t.firstChild,[])}get context(){return this._lView[8]}set context(e){this._lView[8]=e}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(dn(e)){const t=e[8],r=t?t.indexOf(this):-1;r>-1&&(fh(e,r),Lo(t,r))}this._attachedToViewContainer=!1}Qm(this._lView[1],this._lView)}onDestroy(e){Mg(this._lView[1],this._lView,null,e)}markForCheck(){kh(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Vh(this._lView[1],this._lView,this.context)}checkNoChanges(){!function kb(n,e,t){b(!0);try{Vh(n,e,t)}finally{b(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function eb(n,e){xu(n,e,e[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class sP extends np{constructor(e){super(e),this._view=e}detectChanges(){Vg(this._view)}checkNoChanges(){!function Lb(n){b(!0);try{Vg(n)}finally{b(!1)}}(this._view)}get context(){return null}}class qS extends Oa{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=xn(e);return new TE(t,this.ngModule)}}function $S(n){const e=[];for(let t in n)n.hasOwnProperty(t)&&e.push({propName:n[t],templateName:t});return e}const aP=new Le("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Kc});class TE extends jS{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=function nd(n){return n.map(td).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return $S(this.componentDef.inputs)}get outputs(){return $S(this.componentDef.outputs)}create(e,t,r,i){const s=(i=i||this.ngModule)?function lP(n,e){return{get:(t,r,i)=>{const s=n.get(t,Od,i);return s!==Od||r===Od?s:e.get(t,r,i)}}}(e,i.injector):e,o=s.get(Bu,sn),l=s.get(AE,null),c=o.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?function Ig(n,e,t){if(Ue(n))return n.selectRootElement(e,t===rn.ShadowDom);let r="string"==typeof e?n.querySelector(e):e;return r.textContent="",r}(c,r,this.componentDef.encapsulation):dh(o.createRenderer(null,this.componentDef),f,function oP(n){const e=n.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(f)),m=this.componentDef.onPush?576:528,y=function Ve(n,e){return{components:[],scheduler:n||Kc,clean:Vb,playerHandler:e||null,flags:0}}(),D=cd(0,null,null,1,0,null,null,null,null,null),O=yl(null,D,y,m,null,null,o,c,l,s);let $,W;mr(O);try{const ue=function _e(n,e,t,r,i,s){const o=t[1];t[20]=n;const c=Gn(o,20,2,"#host",null),f=c.mergedAttrs=e.hostAttrs;null!==f&&(hd(c,f,!0),null!==n&&(Pc(i,n,f),null!==c.classes&&_h(i,n,c.classes),null!==c.styles&&og(i,n,c.styles)));const h=r.createRenderer(n,e),m=yl(t,Ag(e),null,e.onPush?64:16,t[20],c,r,h,s||null,null);return o.firstCreatePass&&(fi(Po(c,t),o,e.type),Ng(o,c),Ph(c,t.length,1)),fd(t,m),t[20]=m}(h,this.componentDef,O,o,c);if(h)if(r)Pc(c,h,["ng-version",zS.full]);else{const{attrs:ne,classes:Te}=function fb(n){const e=[],t=[];let r=1,i=2;for(;r<n.length;){let s=n[r];if("string"==typeof s)2===i?""!==s&&e.push(s,n[++r]):8===i&&t.push(s);else{if(!Kr(i))break;i=s}r++}return{attrs:e,classes:t}}(this.componentDef.selectors[0]);ne&&Pc(c,h,ne),Te&&Te.length>0&&_h(c,h,Te.join(" "))}if(W=Ai(D,20),void 0!==t){const ne=W.projection=[];for(let Te=0;Te<this.ngContentSelectors.length;Te++){const Oe=t[Te];ne.push(null!=Oe?Array.from(Oe):null)}}$=function Ie(n,e,t,r,i){const s=t[1],o=function wb(n,e,t){const r=on();n.firstCreatePass&&(t.providersResolver&&t.providersResolver(t),Fh(n,r,e,vl(n,e,1,null),t));const i=ol(e,n,r.directiveStart,r);er(i,e);const s=hr(r,e);return s&&er(s,e),i}(s,t,e);if(r.components.push(o),n[8]=o,i&&i.forEach(c=>c(o,e)),e.contentQueries){const c=on();e.contentQueries(1,o,c.directiveStart)}const l=on();return!s.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(Un(l.index),Og(t[1],l,0,l.directiveStart,l.directiveEnd,e),Pg(e,o)),o}(ue,this.componentDef,O,y,[Ze]),xt(D,O,null)}finally{tn()}return new cP(this.componentType,$,xd(W,O),O,W)}}class cP extends class QR{}{constructor(e,t,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=t,this.hostView=this.changeDetectorRef=new sP(i),this.componentType=e}get injector(){return new ba(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}class ju{}const Rd=new Map;class KS extends ju{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new qS(this);const r=ar(e);this._bootstrapComponents=ns(r.bootstrap),this._r3Injector=$g(e,t,[{provide:ju,useValue:this},{provide:Oa,useValue:this.componentFactoryResolver}],dt(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=Ht.THROW_IF_NOT_FOUND,r=He.Default){return e===Ht||e===ju||e===Pu?this:this._r3Injector.get(e,t,r)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class ME extends class fP{}{constructor(e){super(),this.moduleType=e,null!==ar(e)&&function hP(n){const e=new Set;!function t(r){const i=ar(r,!0),s=i.id;null!==s&&(function YS(n,e,t){if(e&&e!==t)throw new Error(`Duplicate module registered for ${n} - ${dt(e)} vs ${dt(e.name)}`)}(s,Rd.get(s),r),Rd.set(s,r));const o=ns(i.imports);for(const l of o)e.has(l)||(e.add(l),t(l))}(n)}(e)}create(e){return new KS(this.moduleType,e)}}function ZS(n,e,t,r,i,s){const o=e+t;return Fr(n,o,i)?function zo(n,e,t){return n[e]=t}(n,o+1,s?r.call(s,i):r(i)):function rp(n,e){const t=n[e];return t===ut?void 0:t}(n,o+1)}function xE(n){return e=>{setTimeout(n,void 0,e)}}const tr=class IP extends ye{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,r){var i,s,o;let l=e,c=t||(()=>null),f=r;if(e&&"object"==typeof e){const m=e;l=null===(i=m.next)||void 0===i?void 0:i.bind(m),c=null===(s=m.error)||void 0===s?void 0:s.bind(m),f=null===(o=m.complete)||void 0===o?void 0:o.bind(m)}this.__isAsync&&(c=xE(c),l&&(l=xE(l)),f&&(f=xE(f)));const h=super.subscribe({next:l,error:c,complete:f});return e instanceof w&&e.add(h),h}};function MP(){return this._results[md()]()}class E_{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=md(),r=E_.prototype;r[t]||(r[t]=MP)}get changes(){return this._changes||(this._changes=new tr)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){const r=this;r.dirty=!1;const i=hi(e);(this._changesDetected=!function xf(n,e,t){if(n.length!==e.length)return!1;for(let r=0;r<n.length;r++){let i=n[r],s=e[r];if(t&&(i=t(i),s=t(s)),s!==i)return!1}return!0}(r._results,i,t))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;const OP=function FP(){return C_(on(),ge())};let Ra=(()=>{class n{}return n.__NG_ELEMENT_ID__=OP,n})();const RP=Ra,PP=class extends RP{constructor(e,t,r){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=r}createEmbeddedView(e){const t=this._declarationTContainer.tViews,r=yl(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(t)),xt(t,r,e),new np(r)}};function C_(n,e){return 4&n.type?new PP(e,n,xd(n,e)):null}const kP=function LP(){return oA(on(),ge())};let Xs=(()=>{class n{}return n.__NG_ELEMENT_ID__=kP,n})();const VP=Xs,iA=class extends VP{constructor(e,t,r){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=r}get element(){return xd(this._hostTNode,this._hostLView)}get injector(){return new ba(this._hostTNode,this._hostLView)}get parentInjector(){const e=kc(this._hostTNode,this._hostLView);if(rm(e)){const t=sl(e,this._hostLView),r=il(e);return new ba(t[1].data[r+8],t)}return new ba(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=sA(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,r){const i=e.createEmbeddedView(t||{});return this.insert(i,r),i}createComponent(e,t,r,i,s){const o=e&&!function fu(n){return"function"==typeof n}(e);let l;if(o)l=t;else{const m=t||{};l=m.index,r=m.injector,i=m.projectableNodes,s=m.ngModuleRef}const c=o?e:new TE(xn(e)),f=r||this.parentInjector;if(!s&&null==c.ngModule&&f){const m=f.get(ju,null);m&&(s=m)}const h=c.create(f,i,void 0,s);return this.insert(h.hostView,l),h}insert(e,t){const r=e._lView,i=r[1];if(function To(n){return dn(n[3])}(r)){const h=this.indexOf(e);if(-1!==h)this.detach(h);else{const m=r[3],y=new iA(m,m[6],m[3]);y.detach(y.indexOf(e))}}const s=this._adjustIndex(t),o=this._lContainer;!function Km(n,e,t,r){const i=10+r,s=t.length;r>0&&(t[i-1][4]=e),r<s-10?(e[4]=t[i],hu(t,10+r,e)):(t.push(e),e[4]=null),e[3]=t;const o=e[17];null!==o&&t!==o&&function nb(n,e){const t=n[9];e[16]!==e[3][3][16]&&(n[2]=!0),null===t?n[9]=[e]:t.push(e)}(o,e);const l=e[19];null!==l&&l.insertView(n),e[2]|=128}(i,r,o,s);const l=mh(s,o),c=r[11],f=Qc(c,o[7]);return null!==f&&function Jv(n,e,t,r,i,s){r[0]=i,r[6]=e,xu(n,r,t,1,i,s)}(i,o[6],c,r,f,l),e.attachToViewContainerRef(),hu(OE(o),s,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=sA(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),r=fh(this._lContainer,t);r&&(Lo(OE(this._lContainer),t),Qm(r[1],r))}detach(e){const t=this._adjustIndex(e,-1),r=fh(this._lContainer,t);return r&&null!=Lo(OE(this._lContainer),t)?new np(r):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}};function sA(n){return n[8]}function OE(n){return n[8]||(n[8]=[])}function oA(n,e){let t;const r=e[n.index];if(dn(r))t=r;else{let i;if(8&n.type)i=Jt(r);else{const s=e[11];i=s.createComment("");const o=hr(n,e);Ta(s,Qc(s,o),i,function ob(n,e){return Ue(n)?n.nextSibling(e):e.nextSibling}(s,o),!1)}e[n.index]=t=kg(r,e,i,n),fd(e,t)}return new iA(t,n,e)}class RE{constructor(e){this.queryList=e,this.matches=null}clone(){return new RE(this.queryList)}setDirty(){this.queryList.setDirty()}}class PE{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const r=null!==e.contentQueries?e.contentQueries[0]:t.length,i=[];for(let s=0;s<r;s++){const o=t.getByIndex(s);i.push(this.queries[o.indexInDeclarationView].clone())}return new PE(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==dA(e,t).matches&&this.queries[t].setDirty()}}class aA{constructor(e,t,r=null){this.predicate=e,this.flags=t,this.read=r}}class FE{constructor(e=[]){this.queries=e}elementStart(e,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let r=0;r<this.length;r++){const i=null!==t?t.length:0,s=this.getByIndex(r).embeddedTView(e,i);s&&(s.indexInDeclarationView=r,null!==t?t.push(s):t=[s])}return null!==t?new FE(t):null}template(e,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class NE{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new NE(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let r=e.parent;for(;null!==r&&8&r.type&&r.index!==t;)r=r.parent;return t===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(e,t,jP(t,s)),this.matchTNodeWithReadOption(e,t,Mi(t,e,s,!1,!1))}else r===Ra?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Mi(t,e,r,!1,!1))}matchTNodeWithReadOption(e,t,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===mn||i===Xs||i===Ra&&4&t.type)this.addMatch(t.index,-2);else{const s=Mi(t,e,i,!1,!1);null!==s&&this.addMatch(t.index,s)}else this.addMatch(t.index,r)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function jP(n,e){const t=n.localNames;if(null!==t)for(let r=0;r<t.length;r+=2)if(t[r]===e)return t[r+1];return null}function WP(n,e,t,r){return-1===t?function UP(n,e){return 11&n.type?xd(n,e):4&n.type?C_(n,e):null}(e,n):-2===t?function GP(n,e,t){return t===mn?xd(e,n):t===Ra?C_(e,n):t===Xs?oA(e,n):void 0}(n,e,r):ol(n,n[1],t,e)}function lA(n,e,t,r){const i=e[19].queries[r];if(null===i.matches){const s=n.data,o=t.matches,l=[];for(let c=0;c<o.length;c+=2){const f=o[c];l.push(f<0?null:WP(e,s[f],o[c+1],t.metadata.read))}i.matches=l}return i.matches}function kE(n,e,t,r){const i=n.queries.getByIndex(t),s=i.matches;if(null!==s){const o=lA(n,e,i,t);for(let l=0;l<s.length;l+=2){const c=s[l];if(c>0)r.push(o[l/2]);else{const f=s[l+1],h=e[-c];for(let m=10;m<h.length;m++){const y=h[m];y[17]===y[3]&&kE(y[1],y,f,r)}if(null!==h[9]){const m=h[9];for(let y=0;y<m.length;y++){const D=m[y];kE(D[1],D,f,r)}}}}}return r}function Pd(n){const e=ge(),t=gt(),r=Rt();ln(r+1);const i=dA(t,r);if(n.dirty&&Jl(e)===(2==(2&i.metadata.flags))){if(null===i.matches)n.reset([]);else{const s=i.crossesNgTemplate?kE(t,e,r,[]):lA(t,e,i,r);n.reset(s,GS),n.notifyOnChanges()}return!0}return!1}function Fd(n,e,t){const r=gt();r.firstCreatePass&&(function cA(n,e,t){null===n.queries&&(n.queries=new FE),n.queries.track(new NE(e,t))}(r,new aA(n,e,t),-1),2==(2&e)&&(r.staticViewQueries=!0)),function uA(n,e,t){const r=new E_(4==(4&t));Mg(n,e,r,r.destroy),null===e[19]&&(e[19]=new PE),e[19].queries.push(new RE(r))}(r,ge(),e)}function Nd(){return function qP(n,e){return n[19].queries[e].queryList}(ge(),Rt())}function dA(n,e){return n.queries.getByIndex(e)}const S_=new Le("Application Initializer");let Ld=(()=>{class n{constructor(t){this.appInits=t,this.resolve=v_,this.reject=v_,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const t=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const s=this.appInits[i]();if(c_(s))t.push(s);else if(cE(s)){const o=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});t.push(o)}}Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}}return n.\u0275fac=function(t){return new(t||n)(le(S_,8))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();const op=new Le("AppId"),pF={provide:op,useFactory:function hF(){return`${UE()}${UE()}${UE()}`},deps:[]};function UE(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const IA=new Le("Platform Initializer"),A_=new Le("Platform ID"),mF=new Le("appBootstrapListener");let WE=(()=>{class n{log(t){console.log(t)}warn(t){console.warn(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();const Pa=new Le("LocaleId"),MA=new Le("DefaultCurrencyCode");class _F{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const GE=function(n){return new ME(n)},yF=GE,vF=function(n){return Promise.resolve(GE(n))},OA=function(n){const e=GE(n),r=ns(ar(n).declarations).reduce((i,s)=>{const o=xn(s);return o&&i.push(new TE(o)),i},[]);return new _F(e,r)},bF=OA,EF=function(n){return Promise.resolve(OA(n))};let RA=(()=>{class n{constructor(){this.compileModuleSync=yF,this.compileModuleAsync=vF,this.compileModuleAndAllComponentsSync=bF,this.compileModuleAndAllComponentsAsync=EF}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();const wF=(()=>Promise.resolve(0))();function zE(n){"undefined"==typeof Zone?wF.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class Zt{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new tr(!1),this.onMicrotaskEmpty=new tr(!1),this.onStable=new tr(!1),this.onError=new tr(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&t,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function SF(){let n=St.requestAnimationFrame,e=St.cancelAnimationFrame;if("undefined"!=typeof Zone&&n&&e){const t=n[Zone.__symbol__("OriginalDelegate")];t&&(n=t);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function IF(n){const e=()=>{!function TF(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(St,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,$E(n),n.isCheckStableRunning=!0,qE(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),$E(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,i,s,o,l)=>{try{return PA(n),t.invokeTask(i,s,o,l)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||n.shouldCoalesceRunChangeDetection)&&e(),FA(n)}},onInvoke:(t,r,i,s,o,l,c)=>{try{return PA(n),t.invoke(i,s,o,l,c)}finally{n.shouldCoalesceRunChangeDetection&&e(),FA(n)}},onHasTask:(t,r,i,s)=>{t.hasTask(i,s),r===i&&("microTask"==s.change?(n._hasPendingMicrotasks=s.microTask,$E(n),qE(n)):"macroTask"==s.change&&(n.hasPendingMacrotasks=s.macroTask))},onHandleError:(t,r,i,s)=>(t.handleError(i,s),n.runOutsideAngular(()=>n.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Zt.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Zt.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,r){return this._inner.run(e,t,r)}runTask(e,t,r,i){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,e,AF,v_,v_);try{return s.runTask(o,t,r)}finally{s.cancelTask(o)}}runGuarded(e,t,r){return this._inner.runGuarded(e,t,r)}runOutsideAngular(e){return this._outer.run(e)}}const AF={};function qE(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function $E(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function PA(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function FA(n){n._nesting--,qE(n)}class MF{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new tr,this.onMicrotaskEmpty=new tr,this.onStable=new tr,this.onError=new tr}run(e,t,r){return e.apply(t,r)}runGuarded(e,t,r){return e.apply(t,r)}runOutsideAngular(e){return e()}runTask(e,t,r,i){return e.apply(t,r)}}let YE=(()=>{class n{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Zt.assertNotInAngularZone(),zE(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())zE(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:s,updateCb:i})}whenStable(t,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,r,i){return[]}}return n.\u0275fac=function(t){return new(t||n)(le(Zt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})(),NA=(()=>{class n{constructor(){this._applications=new Map,KE.addToWindow(this)}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return KE.findTestabilityInTree(this,t,r)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();class xF{addToWindow(e){}findTestabilityInTree(e,t,r){return null}}let KE=new xF,kA=!0,LA=!1;function QE(){return LA=!0,kA}let Js;const VA=new Le("AllowMultipleToken");function BA(n,e,t=[]){const r=`Platform: ${e}`,i=new Le(r);return(s=[])=>{let o=HA();if(!o||o.injector.get(VA,!1))if(n)n(t.concat(s).concat({provide:i,useValue:!0}));else{const l=t.concat(s).concat({provide:i,useValue:!0},{provide:Fu,useValue:"platform"});!function HF(n){if(Js&&!Js.destroyed&&!Js.injector.get(VA,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Js=n.get(jA);const e=n.get(IA,null);e&&e.forEach(t=>t())}(Ht.create({providers:l,name:r}))}return function jF(n){const e=HA();if(!e)throw new Error("No platform exists!");if(!e.injector.get(n,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function HA(){return Js&&!Js.destroyed?Js:null}let jA=(()=>{class n{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const l=function UF(n,e){let t;return t="noop"===n?new MF:("zone.js"===n?void 0:n)||new Zt({enableLongStackTrace:QE(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),t}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),c=[{provide:Zt,useValue:l}];return l.run(()=>{const f=Ht.create({providers:c,parent:this.injector,name:t.moduleType.name}),h=t.create(f),m=h.injector.get(ts,null);if(!m)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return l.runOutsideAngular(()=>{const y=l.onError.subscribe({next:D=>{m.handleError(D)}});h.onDestroy(()=>{ZE(this._modules,h),y.unsubscribe()})}),function WF(n,e,t){try{const r=t();return c_(r)?r.catch(i=>{throw e.runOutsideAngular(()=>n.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>n.handleError(r)),r}}(m,l,()=>{const y=h.injector.get(Ld);return y.runInitializers(),y.donePromise.then(()=>(function tR(n){Fn(n,"Expected localeId to be defined"),"string"==typeof n&&(gS=n.toLowerCase().replace(/_/g,"-"))}(h.injector.get(Pa,p_)||p_),this._moduleDoBootstrap(h),h))})})}bootstrapModule(t,r=[]){const i=UA({},r);return function FF(n,e,t){const r=new ME(t);return Promise.resolve(r)}(0,0,t).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(t){const r=t.injector.get(Uu);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${dt(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(t){return new(t||n)(le(Ht))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();function UA(n,e){return Array.isArray(e)?e.reduce(UA,n):Object.assign(Object.assign({},n),e)}let Uu=(()=>{class n{constructor(t,r,i,s,o){this._zone=t,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=s,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new se(f=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{f.next(this._stable),f.complete()})}),c=new se(f=>{let h;this._zone.runOutsideAngular(()=>{h=this._zone.onStable.subscribe(()=>{Zt.assertNotInAngularZone(),zE(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,f.next(!0))})})});const m=this._zone.onUnstable.subscribe(()=>{Zt.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{f.next(!1)}))});return()=>{h.unsubscribe(),m.unsubscribe()}});this.isStable=ps(l,c.pipe(oc()))}bootstrap(t,r){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let i;i=t instanceof jS?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(i.componentType);const s=function VF(n){return n.isBoundToModule}(i)?void 0:this._injector.get(ju),l=i.create(Ht.NULL,[],r||i.selector,s),c=l.location.nativeElement,f=l.injector.get(YE,null),h=f&&l.injector.get(NA);return f&&h&&h.registerApplication(c,f),l.onDestroy(()=>{this.detachView(l.hostView),ZE(this.components,l),h&&h.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;ZE(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(mF,[]).concat(this._bootstrapListeners).forEach(i=>i(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return n.\u0275fac=function(t){return new(t||n)(le(Zt),le(Ht),le(ts),le(Oa),le(Ld))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();function ZE(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}const qF=function $F(n){return function YF(n,e,t){if(Ds(n)&&!t){const r=lt(n.index,e);return new np(r,r)}return 47&n.type?new np(e[16],e):null}(on(),ge(),16==(16&n))};let Vd=(()=>{class n{}return n.__NG_ELEMENT_ID__=qF,n})();class KA{constructor(){}supports(e){return Yh(e)}create(e){return new sN(e)}}const iN=(n,e)=>e;class sN{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||iN}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,r=this._removalsHead,i=0,s=null;for(;t||r;){const o=!r||t&&t.currentIndex<ZA(r,i,s)?t:r,l=ZA(o,i,s),c=o.currentIndex;if(o===r)i--,r=r._nextRemoved;else if(t=t._next,null==o.previousIndex)i++;else{s||(s=[]);const f=l-i,h=c-i;if(f!=h){for(let y=0;y<f;y++){const D=y<s.length?s[y]:s[y]=0,O=D+y;h<=O&&O<f&&(s[y]=D+1)}s[o.previousIndex]=h-f}}l!==c&&e(o,l,c)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!Yh(e))throw new Error(`Error trying to diff '${dt(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i,s,o,t=this._itHead,r=!1;if(Array.isArray(e)){this.length=e.length;for(let l=0;l<this.length;l++)s=e[l],o=this._trackByFn(l,s),null!==t&&Object.is(t.trackById,o)?(r&&(t=this._verifyReinsertion(t,s,o,l)),Object.is(t.item,s)||this._addIdentityChange(t,s)):(t=this._mismatch(t,s,o,l),r=!0),t=t._next}else i=0,function Vx(n,e){if(Array.isArray(n))for(let t=0;t<n.length;t++)e(n[t]);else{const t=n[md()]();let r;for(;!(r=t.next()).done;)e(r.value)}}(e,l=>{o=this._trackByFn(i,l),null!==t&&Object.is(t.trackById,o)?(r&&(t=this._verifyReinsertion(t,l,o,i)),Object.is(t.item,l)||this._addIdentityChange(t,l)):(t=this._mismatch(t,l,o,i),r=!0),t=t._next,i++}),this.length=i;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,r,i){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,i)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,i)):e=this._addAfter(new oN(t,r),s,i),e}_verifyReinsertion(e,t,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?e=this._reinsertAfter(s,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,s=e._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(e,t,r),this._addToMoves(e,r),e}_moveAfter(e,t,r){return this._unlink(e),this._insertAfter(e,t,r),this._addToMoves(e,r),e}_addAfter(e,t,r){return this._insertAfter(e,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,r){const i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new QA),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,r=e._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new QA),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class oN{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class aN{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){const t=e._prevDup,r=e._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class QA{constructor(){this.map=new Map}put(e){const t=e.trackById;let r=this.map.get(t);r||(r=new aN,this.map.set(t,r)),r.add(e)}get(e,t){const i=this.map.get(e);return i?i.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ZA(n,e,t){const r=n.previousIndex;if(null===r)return r;let i=0;return t&&r<t.length&&(i=t[r]),r+e+i}class XA{constructor(){}supports(e){return e instanceof Map||rE(e)}create(){return new lN}}class lN{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||rE(e)))throw new Error(`Error trying to diff '${dt(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(r,i)=>{if(t&&t.key===i)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{const s=this._getOrCreateRecordForKey(i,r);t=this._insertBeforeOrAppend(t,s)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const r=e._prev;return t._next=e,t._prev=r,e._prev=t,r&&(r._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const i=this._records.get(e);this._maybeAddToChanges(i,t);const s=i._prev,o=i._next;return s&&(s._next=o),o&&(o._prev=s),i._next=null,i._prev=null,i}const r=new uN(e);return this._records.set(e,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(r=>t(e[r],r))}}class uN{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function JA(){return new ap([new KA])}let ap=(()=>{class n{constructor(t){this.factories=t}static create(t,r){if(null!=r){const i=r.factories.slice();t=t.concat(i)}return new n(t)}static extend(t){return{provide:n,useFactory:r=>n.create(t,r||JA()),deps:[[n,new Bo,new yr]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(null!=r)return r;throw new Error(`Cannot find a differ supporting object '${t}' of type '${function cN(n){return n.name||typeof n}(t)}'`)}}return n.\u0275prov=Ce({token:n,providedIn:"root",factory:JA}),n})();function eT(){return new Bd([new XA])}let Bd=(()=>{class n{constructor(t){this.factories=t}static create(t,r){if(r){const i=r.factories.slice();t=t.concat(i)}return new n(t)}static extend(t){return{provide:n,useFactory:r=>n.create(t,r||eT()),deps:[[n,new Bo,new yr]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(r)return r;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return n.\u0275prov=Ce({token:n,providedIn:"root",factory:eT}),n})();const dN=[new XA],hN=new ap([new KA]),pN=new Bd(dN),mN=BA(null,"core",[{provide:A_,useValue:"unknown"},{provide:jA,deps:[Ht]},{provide:NA,deps:[]},{provide:WE,deps:[]}]),bN=[{provide:Uu,useClass:Uu,deps:[Zt,Ht,ts,Oa,Ld]},{provide:aP,deps:[Zt],useFactory:function EN(n){let e=[];return n.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Ld,useClass:Ld,deps:[[new yr,S_]]},{provide:RA,useClass:RA,deps:[]},pF,{provide:ap,useFactory:function gN(){return hN},deps:[]},{provide:Bd,useFactory:function _N(){return pN},deps:[]},{provide:Pa,useFactory:function yN(n){return n||function vN(){return"undefined"!=typeof $localize&&$localize.locale||p_}()},deps:[[new cl(Pa),new yr,new Bo]]},{provide:MA,useValue:"USD"}];let CN=(()=>{class n{constructor(t){}}return n.\u0275fac=function(t){return new(t||n)(le(Uu))},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:bN}),n})(),H_=null;function Yo(){return H_}const Tt=new Le("DocumentToken");let vp=(()=>{class n{historyGo(t){throw new Error("Not implemented")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:function(){return function g2(){return le(VT)}()},providedIn:"platform"}),n})(),VT=(()=>{class n extends vp{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Yo().getBaseHref(this._doc)}onPopState(t){const r=Yo().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=Yo().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,r,i){BT()?this._history.pushState(t,r,i):this.location.hash=i}replaceState(t,r,i){BT()?this._history.replaceState(t,r,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return n.\u0275fac=function(t){return new(t||n)(le(Tt))},n.\u0275prov=Ce({token:n,factory:function(){return function _2(){return new VT(le(Tt))}()},providedIn:"platform"}),n})();function BT(){return!!window.history.pushState}function HT(n,e){if(0==n.length)return e;if(0==e.length)return n;let t=0;return n.endsWith("/")&&t++,e.startsWith("/")&&t++,2==t?n+e.substring(1):1==t?n+e:n+"/"+e}function jT(n){const e=n.match(/#|\?|$/),t=e&&e.index||n.length;return n.slice(0,t-("/"===n[t-1]?1:0))+n.slice(t)}function $u(n){return n&&"?"!==n[0]?"?"+n:n}let SC=(()=>{class n{historyGo(t){throw new Error("Not implemented")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:function(){return function y2(n){const e=le(Tt).location;return new b2(le(vp),e&&e.origin||"")}()},providedIn:"root"}),n})();const v2=new Le("appBaseHref");let b2=(()=>{class n extends SC{constructor(t,r){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==r&&(r=this._platformLocation.getBaseHrefFromDOM()),null==r)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=r}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return HT(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+$u(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${r}${i}`:r}pushState(t,r,i,s){const o=this.prepareExternalUrl(i+$u(s));this._platformLocation.pushState(t,r,o)}replaceState(t,r,i,s){const o=this.prepareExternalUrl(i+$u(s));this._platformLocation.replaceState(t,r,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,t)}}return n.\u0275fac=function(t){return new(t||n)(le(vp),le(v2,8))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})(),UT=(()=>{class n{constructor(t,r){this._subject=new tr,this._urlChangeListeners=[],this._platformStrategy=t;const i=this._platformStrategy.getBaseHref();this._platformLocation=r,this._baseHref=jT(WT(i)),this._platformStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+$u(r))}normalize(t){return n.stripTrailingSlash(function C2(n,e){return n&&e.startsWith(n)?e.substring(n.length):e}(this._baseHref,WT(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,r="",i=null){this._platformStrategy.pushState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+$u(r)),i)}replaceState(t,r="",i=null){this._platformStrategy.replaceState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+$u(r)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var r,i;null===(i=(r=this._platformStrategy).historyGo)||void 0===i||i.call(r,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}))}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(i=>i(t,r))}subscribe(t,r,i){return this._subject.subscribe({next:t,error:r,complete:i})}}return n.normalizeQueryParams=$u,n.joinWithSlash=HT,n.stripTrailingSlash=jT,n.\u0275fac=function(t){return new(t||n)(le(SC),le(vp))},n.\u0275prov=Ce({token:n,factory:function(){return function E2(){return new UT(le(SC),le(vp))}()},providedIn:"root"}),n})();function WT(n){return n.replace(/\/index.html$/,"")}var kn=(()=>((kn=kn||{})[kn.Zero=0]="Zero",kn[kn.One=1]="One",kn[kn.Two=2]="Two",kn[kn.Few=3]="Few",kn[kn.Many=4]="Many",kn[kn.Other=5]="Other",kn))();const M2=function pS(n){return function ni(n){const e=function ZO(n){return n.toLowerCase().replace(/_/g,"-")}(n);let t=mS(e);if(t)return t;const r=e.split("-")[0];if(t=mS(r),t)return t;if("en"===r)return QO;throw new Error(`Missing locale data for the locale "${n}".`)}(n)[xe.PluralCase]};class Q_{}let iL=(()=>{class n extends Q_{constructor(t){super(),this.locale=t}getPluralCategory(t,r){switch(M2(r||this.locale)(t)){case kn.Zero:return"zero";case kn.One:return"one";case kn.Two:return"two";case kn.Few:return"few";case kn.Many:return"many";default:return"other"}}}return n.\u0275fac=function(t){return new(t||n)(le(Pa))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})(),FC=(()=>{class n{constructor(t,r,i,s){this._iterableDiffers=t,this._keyValueDiffers=r,this._ngEl=i,this._renderer=s,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Yh(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(r=>this._toggleClass(r.key,r.currentValue)),t.forEachChangedItem(r=>this._toggleClass(r.key,r.currentValue)),t.forEachRemovedItem(r=>{r.previousValue&&this._toggleClass(r.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(r=>{if("string"!=typeof r.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${dt(r.item)}`);this._toggleClass(r.item,!0)}),t.forEachRemovedItem(r=>this._toggleClass(r.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(r=>this._toggleClass(r,!0)):Object.keys(t).forEach(r=>this._toggleClass(r,!!t[r])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(r=>this._toggleClass(r,!1)):Object.keys(t).forEach(r=>this._toggleClass(r,!1)))}_toggleClass(t,r){(t=t.trim())&&t.split(/\s+/g).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}}return n.\u0275fac=function(t){return new(t||n)(de(ap),de(Bd),de(mn),de(Hu))},n.\u0275dir=ze({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),n})(),JT=(()=>{class n{constructor(t,r){this._viewContainer=t,this._context=new cL,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){eI("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){eI("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,r){return!0}}return n.\u0275fac=function(t){return new(t||n)(de(Xs),de(Ra))},n.\u0275dir=ze({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),n})();class cL{constructor(){this.$implicit=null,this.ngIf=null}}function eI(n,e){if(e&&!e.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${dt(e)}'.`)}class gL{createSubscription(e,t){return e.subscribe({next:t,error:r=>{throw r}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class _L{createSubscription(e,t){return e.then(t,r=>{throw r})}dispose(e){}onDestroy(e){}}const yL=new _L,vL=new gL;let nI=(()=>{class n{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,r=>this._updateLatestValue(t,r))}_selectStrategy(t){if(c_(t))return yL;if(Dw(t))return vL;throw function so(n,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${dt(n)}'`)}(n,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,r){t===this._obj&&(this._latestValue=r,this._ref.markForCheck())}}return n.\u0275fac=function(t){return new(t||n)(de(Vd,16))},n.\u0275pipe=Kn({name:"async",type:n,pure:!1}),n})(),zd=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:[{provide:Q_,useClass:iL}]}),n})();const iI="browser";class BC extends class UL extends class m2{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function p2(n){H_||(H_=n)}(new BC)}onAndCancel(e,t,r){return e.addEventListener(t,r,!1),()=>{e.removeEventListener(t,r,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=function WL(){return Cp=Cp||document.querySelector("base"),Cp?Cp.getAttribute("href"):null}();return null==t?null:function GL(n){Z_=Z_||document.createElement("a"),Z_.setAttribute("href",n);const e=Z_.pathname;return"/"===e.charAt(0)?e:`/${e}`}(t)}resetBaseElement(){Cp=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return function sL(n,e){e=encodeURIComponent(e);for(const t of n.split(";")){const r=t.indexOf("="),[i,s]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===e)return decodeURIComponent(s)}return null}(document.cookie,e)}}let Z_,Cp=null;const oI=new Le("TRANSITION_ID"),qL=[{provide:S_,useFactory:function zL(n,e,t){return()=>{t.get(Ld).donePromise.then(()=>{const r=Yo(),i=e.querySelectorAll(`style[ng-transition="${n}"]`);for(let s=0;s<i.length;s++)r.remove(i[s])})}},deps:[oI,Tt,Ht],multi:!0}];class HC{static init(){!function OF(n){KE=n}(new HC)}addToWindow(e){St.getAngularTestability=(r,i=!0)=>{const s=e.findTestabilityInTree(r,i);if(null==s)throw new Error("Could not find testability for element.");return s},St.getAllAngularTestabilities=()=>e.getAllTestabilities(),St.getAllAngularRootElements=()=>e.getAllRootElements(),St.frameworkStabilizers||(St.frameworkStabilizers=[]),St.frameworkStabilizers.push(r=>{const i=St.getAllAngularTestabilities();let s=i.length,o=!1;const l=function(c){o=o||c,s--,0==s&&r(o)};i.forEach(function(c){c.whenStable(l)})})}findTestabilityInTree(e,t,r){if(null==t)return null;const i=e.getTestability(t);return null!=i?i:r?Yo().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}let $L=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();const Dp=new Le("EventManagerPlugins");let J_=(()=>{class n{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>i.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}addGlobalEventListener(t,r,i){return this._findPluginFor(r).addGlobalEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){const r=this._eventNameToPlugin.get(t);if(r)return r;const i=this._plugins;for(let s=0;s<i.length;s++){const o=i[s];if(o.supports(t))return this._eventNameToPlugin.set(t,o),o}throw new Error(`No event manager plugin found for event ${t}`)}}return n.\u0275fac=function(t){return new(t||n)(le(Dp),le(Zt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();class jC{constructor(e){this._doc=e}addGlobalEventListener(e,t,r){const i=Yo().getGlobalEventTarget(this._doc,e);if(!i)throw new Error(`Unsupported event target ${i} for event ${t}`);return this.addEventListener(i,t,r)}}let lI=(()=>{class n{constructor(){this._stylesSet=new Set}addStyles(t){const r=new Set;t.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})(),wp=(()=>{class n extends lI{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,r,i){t.forEach(s=>{const o=this._doc.createElement("style");o.textContent=s,i.push(r.appendChild(o))})}addHost(t){const r=[];this._addStylesToHost(this._stylesSet,t,r),this._hostNodes.set(t,r)}removeHost(t){const r=this._hostNodes.get(t);r&&r.forEach(uI),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(t,i,r)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(uI))}}return n.\u0275fac=function(t){return new(t||n)(le(Tt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();function uI(n){Yo().remove(n)}const UC={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},WC=/%COMP%/g;function ey(n,e,t){for(let r=0;r<e.length;r++){let i=e[r];Array.isArray(i)?ey(n,i,t):(i=i.replace(WC,n),t.push(i))}return t}function fI(n){return e=>{if("__ngUnwrap__"===e)return n;!1===n(e)&&(e.preventDefault(),e.returnValue=!1)}}let ty=(()=>{class n{constructor(t,r,i){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new GC(t)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;switch(r.encapsulation){case rn.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new lV(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(t),i}case 1:case rn.ShadowDom:return new uV(this.eventManager,this.sharedStylesHost,t,r);default:if(!this.rendererByCompId.has(r.id)){const i=ey(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(t){return new(t||n)(le(J_),le(wp),le(op))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();class GC{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,t){return t?document.createElementNS(UC[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,r){e&&e.insertBefore(t,r)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let r="string"==typeof e?document.querySelector(e):e;if(!r)throw new Error(`The selector "${e}" did not match any elements`);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,i){if(i){t=i+":"+t;const s=UC[i];s?e.setAttributeNS(s,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){const i=UC[r];i?e.removeAttributeNS(i,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,i){i&(Yr.DashCase|Yr.Important)?e.style.setProperty(t,r,i&Yr.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&Yr.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e[t]=r}setValue(e,t){e.nodeValue=t}listen(e,t,r){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,fI(r)):this.eventManager.addEventListener(e,t,fI(r))}}class lV extends GC{constructor(e,t,r,i){super(e),this.component=r;const s=ey(i+"-"+r.id,r.styles,[]);t.addStyles(s),this.contentAttr=function sV(n){return"_ngcontent-%COMP%".replace(WC,n)}(i+"-"+r.id),this.hostAttr=function oV(n){return"_nghost-%COMP%".replace(WC,n)}(i+"-"+r.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const r=super.createElement(e,t);return super.setAttribute(r,this.contentAttr,""),r}}class uV extends GC{constructor(e,t,r,i){super(e),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=ey(i.id,i.styles,[]);for(let o=0;o<s.length;o++){const l=document.createElement("style");l.textContent=s[o],this.shadowRoot.appendChild(l)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,r){return super.insertBefore(this.nodeOrShadowRoot(e),t,r)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let cV=(()=>{class n extends jC{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}}return n.\u0275fac=function(t){return new(t||n)(le(Tt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();const mI=["alt","control","meta","shift"],_V={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},gI={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},yV={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let vV=(()=>{class n extends jC{constructor(t){super(t)}supports(t){return null!=n.parseEventName(t)}addEventListener(t,r,i){const s=n.parseEventName(r),o=n.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Yo().onAndCancel(t,s.domEventName,o))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const s=n._normalizeKey(r.pop());let o="";if(mI.forEach(c=>{const f=r.indexOf(c);f>-1&&(r.splice(f,1),o+=c+".")}),o+=s,0!=r.length||0===s.length)return null;const l={};return l.domEventName=i,l.fullKey=o,l}static getEventFullKey(t){let r="",i=function bV(n){let e=n.key;if(null==e){if(e=n.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===n.location&&gI.hasOwnProperty(e)&&(e=gI[e]))}return _V[e]||e}(t);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),mI.forEach(s=>{s!=i&&yV[s](t)&&(r+=s+".")}),r+=i,r}static eventCallback(t,r,i){return s=>{n.getEventFullKey(s)===t&&i.runGuarded(()=>r(s))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return n.\u0275fac=function(t){return new(t||n)(le(Tt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})(),Sp=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:function(t){let r=null;return r=t?new(t||n):le(qC),r},providedIn:"root"}),n})(),qC=(()=>{class n extends Sp{constructor(t){super(),this._doc=t}sanitize(t,r){if(null==r)return null;switch(t){case Pt.NONE:return r;case Pt.HTML:return Oi(r,"HTML")?Rr(r):Qf(this._doc,String(r)).toString();case Pt.STYLE:return Oi(r,"Style")?Rr(r):r;case Pt.SCRIPT:if(Oi(r,"Script"))return Rr(r);throw new Error("unsafe value used in a script context");case Pt.URL:return Dm(r),Oi(r,"URL")?Rr(r):Ri(String(r));case Pt.RESOURCE_URL:if(Oi(r,"ResourceURL"))return Rr(r);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return function wm(n){return new Em(n)}(t)}bypassSecurityTrustStyle(t){return function Cv(n){return new jf(n)}(t)}bypassSecurityTrustScript(t){return function Dv(n){return new Ev(n)}(t)}bypassSecurityTrustUrl(t){return function Vs(n){return new Cm(n)}(t)}bypassSecurityTrustResourceUrl(t){return function Uf(n){return new Ls(n)}(t)}}return n.\u0275fac=function(t){return new(t||n)(le(Tt))},n.\u0275prov=Ce({token:n,factory:function(t){let r=null;return r=t?new t:function EV(n){return new qC(n.get(Tt))}(le(Ht)),r},providedIn:"root"}),n})();const SV=[{provide:A_,useValue:iI},{provide:IA,useValue:function CV(){BC.makeCurrent(),HC.init()},multi:!0},{provide:Tt,useFactory:function wV(){return function ie(n){ae=n}(document),document},deps:[]}],TV=BA(mN,"browser",SV),IV=[[],{provide:Fu,useValue:"root"},{provide:ts,useFactory:function DV(){return new ts},deps:[]},{provide:Dp,useClass:cV,multi:!0,deps:[Tt,Zt,A_]},{provide:Dp,useClass:vV,multi:!0,deps:[Tt]},[],{provide:ty,useClass:ty,deps:[J_,wp,op]},{provide:Bu,useExisting:ty},{provide:lI,useExisting:wp},{provide:wp,useClass:wp,deps:[Tt]},{provide:YE,useClass:YE,deps:[Zt]},{provide:J_,useClass:J_,deps:[Dp,Zt]},{provide:class jL{},useClass:$L,deps:[]},[]];let MV=(()=>{class n{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:n,providers:[{provide:op,useValue:t.appId},{provide:oI,useExisting:op},qL]}}}return n.\u0275fac=function(t){return new(t||n)(le(n,12))},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:IV,imports:[zd,CN]}),n})();"undefined"!=typeof window&&window;class ny{constructor(e,t,r,i){if(isNaN(e)||isNaN(t))throw new Error(`Point is invalid: (${e}, ${t})`);this.x=+e,this.y=+t,this.pressure=r||0,this.time=i||Date.now()}distanceTo(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))}equals(e){return this.x===e.x&&this.y===e.y&&this.pressure===e.pressure&&this.time===e.time}velocityFrom(e){return this.time!==e.time?this.distanceTo(e)/(this.time-e.time):0}}class YC{constructor(e,t,r,i,s,o){this.startPoint=e,this.control2=t,this.control1=r,this.endPoint=i,this.startWidth=s,this.endWidth=o}static fromPoints(e,t){const r=this.calculateControlPoints(e[0],e[1],e[2]).c2,i=this.calculateControlPoints(e[1],e[2],e[3]).c1;return new YC(e[1],r,i,e[2],t.start,t.end)}static calculateControlPoints(e,t,r){const i=e.x-t.x,s=e.y-t.y,o=t.x-r.x,l=t.y-r.y,c_x=(e.x+t.x)/2,c_y=(e.y+t.y)/2,f_x=(t.x+r.x)/2,f_y=(t.y+r.y)/2,h=Math.sqrt(i*i+s*s),m=Math.sqrt(o*o+l*l),O=m/(h+m),W=t.x-(f_x+(c_x-f_x)*O),ue=t.y-(f_y+(c_y-f_y)*O);return{c1:new ny(c_x+W,c_y+ue),c2:new ny(f_x+W,f_y+ue)}}length(){let r,i,t=0;for(let s=0;s<=10;s+=1){const o=s/10,l=this.point(o,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),c=this.point(o,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(s>0){const f=l-r,h=c-i;t+=Math.sqrt(f*f+h*h)}r=l,i=c}return t}point(e,t,r,i,s){return t*(1-e)*(1-e)*(1-e)+3*r*(1-e)*(1-e)*e+3*i*(1-e)*e*e+s*e*e*e}}class ry extends class LV{constructor(){try{this._et=new EventTarget}catch(e){this._et=document}}addEventListener(e,t,r){this._et.addEventListener(e,t,r)}dispatchEvent(e){return this._et.dispatchEvent(e)}removeEventListener(e,t,r){this._et.removeEventListener(e,t,r)}}{constructor(e,t={}){super(),this.canvas=e,this._handleMouseDown=r=>{1===r.buttons&&(this._drawningStroke=!0,this._strokeBegin(r))},this._handleMouseMove=r=>{this._drawningStroke&&this._strokeMoveUpdate(r)},this._handleMouseUp=r=>{1===r.buttons&&this._drawningStroke&&(this._drawningStroke=!1,this._strokeEnd(r))},this._handleTouchStart=r=>{r.cancelable&&r.preventDefault(),1===r.targetTouches.length&&this._strokeBegin(r.changedTouches[0])},this._handleTouchMove=r=>{r.cancelable&&r.preventDefault(),this._strokeMoveUpdate(r.targetTouches[0])},this._handleTouchEnd=r=>{r.target===this.canvas&&(r.cancelable&&r.preventDefault(),this._strokeEnd(r.changedTouches[0]))},this._handlePointerStart=r=>{this._drawningStroke=!0,r.preventDefault(),this._strokeBegin(r)},this._handlePointerMove=r=>{this._drawningStroke&&(r.preventDefault(),this._strokeMoveUpdate(r))},this._handlePointerEnd=r=>{this._drawningStroke&&(r.preventDefault(),this._drawningStroke=!1,this._strokeEnd(r))},this.velocityFilterWeight=t.velocityFilterWeight||.7,this.minWidth=t.minWidth||.5,this.maxWidth=t.maxWidth||2.5,this.throttle="throttle"in t?t.throttle:16,this.minDistance="minDistance"in t?t.minDistance:5,this.dotSize=t.dotSize||0,this.penColor=t.penColor||"black",this.backgroundColor=t.backgroundColor||"rgba(0,0,0,0)",this._strokeMoveUpdate=this.throttle?function VV(n,e=250){let i,s,o,t=0,r=null;const l=()=>{t=Date.now(),r=null,i=n.apply(s,o),r||(s=null,o=[])};return function(...f){const h=Date.now(),m=e-(h-t);return s=this,o=f,m<=0||m>e?(r&&(clearTimeout(r),r=null),t=h,i=n.apply(s,o),r||(s=null,o=[])):r||(r=window.setTimeout(l,m)),i}}(ry.prototype._strokeUpdate,this.throttle):ry.prototype._strokeUpdate,this._ctx=e.getContext("2d"),this.clear(),this.on()}clear(){const{_ctx:e,canvas:t}=this;e.fillStyle=this.backgroundColor,e.clearRect(0,0,t.width,t.height),e.fillRect(0,0,t.width,t.height),this._data=[],this._reset(this._getPointGroupOptions()),this._isEmpty=!0}fromDataURL(e,t={}){return new Promise((r,i)=>{const s=new Image,o=t.ratio||window.devicePixelRatio||1,l=t.width||this.canvas.width/o,c=t.height||this.canvas.height/o,f=t.xOffset||0,h=t.yOffset||0;this._reset(this._getPointGroupOptions()),s.onload=()=>{this._ctx.drawImage(s,f,h,l,c),r()},s.onerror=m=>{i(m)},s.crossOrigin="anonymous",s.src=e,this._isEmpty=!1})}toDataURL(e="image/png",t){return"image/svg+xml"===e?("object"!=typeof t&&(t=void 0),`data:image/svg+xml;base64,${btoa(this.toSVG(t))}`):("number"!=typeof t&&(t=void 0),this.canvas.toDataURL(e,t))}on(){this.canvas.style.touchAction="none",this.canvas.style.msTouchAction="none",this.canvas.style.userSelect="none";const e=/Macintosh/.test(navigator.userAgent)&&"ontouchstart"in document;window.PointerEvent&&!e?this._handlePointerEvents():(this._handleMouseEvents(),"ontouchstart"in window&&this._handleTouchEvents())}off(){this.canvas.style.touchAction="auto",this.canvas.style.msTouchAction="auto",this.canvas.style.userSelect="auto",this.canvas.removeEventListener("pointerdown",this._handlePointerStart),this.canvas.removeEventListener("pointermove",this._handlePointerMove),this.canvas.ownerDocument.removeEventListener("pointerup",this._handlePointerEnd),this.canvas.removeEventListener("mousedown",this._handleMouseDown),this.canvas.removeEventListener("mousemove",this._handleMouseMove),this.canvas.ownerDocument.removeEventListener("mouseup",this._handleMouseUp),this.canvas.removeEventListener("touchstart",this._handleTouchStart),this.canvas.removeEventListener("touchmove",this._handleTouchMove),this.canvas.removeEventListener("touchend",this._handleTouchEnd)}isEmpty(){return this._isEmpty}fromData(e,{clear:t=!0}={}){t&&this.clear(),this._fromData(e,this._drawCurve.bind(this),this._drawDot.bind(this)),this._data=this._data.concat(e)}toData(){return this._data}_getPointGroupOptions(e){return{penColor:e&&"penColor"in e?e.penColor:this.penColor,dotSize:e&&"dotSize"in e?e.dotSize:this.dotSize,minWidth:e&&"minWidth"in e?e.minWidth:this.minWidth,maxWidth:e&&"maxWidth"in e?e.maxWidth:this.maxWidth,velocityFilterWeight:e&&"velocityFilterWeight"in e?e.velocityFilterWeight:this.velocityFilterWeight}}_strokeBegin(e){this.dispatchEvent(new CustomEvent("beginStroke",{detail:e}));const t=this._getPointGroupOptions(),r=Object.assign(Object.assign({},t),{points:[]});this._data.push(r),this._reset(t),this._strokeUpdate(e)}_strokeUpdate(e){if(0===this._data.length)return void this._strokeBegin(e);this.dispatchEvent(new CustomEvent("beforeUpdateStroke",{detail:e}));const s=this._createPoint(e.clientX,e.clientY,void 0!==e.pressure?e.pressure:void 0!==e.force?e.force:0),o=this._data[this._data.length-1],l=o.points,c=l.length>0&&l[l.length-1],f=!!c&&s.distanceTo(c)<=this.minDistance,h=this._getPointGroupOptions(o);if(!c||!c||!f){const m=this._addPoint(s,h);c?m&&this._drawCurve(m,h):this._drawDot(s,h),l.push({time:s.time,x:s.x,y:s.y,pressure:s.pressure})}this.dispatchEvent(new CustomEvent("afterUpdateStroke",{detail:e}))}_strokeEnd(e){this._strokeUpdate(e),this.dispatchEvent(new CustomEvent("endStroke",{detail:e}))}_handlePointerEvents(){this._drawningStroke=!1,this.canvas.addEventListener("pointerdown",this._handlePointerStart),this.canvas.addEventListener("pointermove",this._handlePointerMove),this.canvas.ownerDocument.addEventListener("pointerup",this._handlePointerEnd)}_handleMouseEvents(){this._drawningStroke=!1,this.canvas.addEventListener("mousedown",this._handleMouseDown),this.canvas.addEventListener("mousemove",this._handleMouseMove),this.canvas.ownerDocument.addEventListener("mouseup",this._handleMouseUp)}_handleTouchEvents(){this.canvas.addEventListener("touchstart",this._handleTouchStart),this.canvas.addEventListener("touchmove",this._handleTouchMove),this.canvas.addEventListener("touchend",this._handleTouchEnd)}_reset(e){this._lastPoints=[],this._lastVelocity=0,this._lastWidth=(e.minWidth+e.maxWidth)/2,this._ctx.fillStyle=e.penColor}_createPoint(e,t,r){const i=this.canvas.getBoundingClientRect();return new ny(e-i.left,t-i.top,r,(new Date).getTime())}_addPoint(e,t){const{_lastPoints:r}=this;if(r.push(e),r.length>2){3===r.length&&r.unshift(r[0]);const i=this._calculateCurveWidths(r[1],r[2],t),s=YC.fromPoints(r,i);return r.shift(),s}return null}_calculateCurveWidths(e,t,r){const i=r.velocityFilterWeight*t.velocityFrom(e)+(1-r.velocityFilterWeight)*this._lastVelocity,s=this._strokeWidth(i,r),o={end:s,start:this._lastWidth};return this._lastVelocity=i,this._lastWidth=s,o}_strokeWidth(e,t){return Math.max(t.maxWidth/(e+1),t.minWidth)}_drawCurveSegment(e,t,r){const i=this._ctx;i.moveTo(e,t),i.arc(e,t,r,0,2*Math.PI,!1),this._isEmpty=!1}_drawCurve(e,t){const r=this._ctx,i=e.endWidth-e.startWidth,s=2*Math.ceil(e.length());r.beginPath(),r.fillStyle=t.penColor;for(let o=0;o<s;o+=1){const l=o/s,c=l*l,f=c*l,h=1-l,m=h*h,y=m*h;let D=y*e.startPoint.x;D+=3*m*l*e.control1.x,D+=3*h*c*e.control2.x,D+=f*e.endPoint.x;let O=y*e.startPoint.y;O+=3*m*l*e.control1.y,O+=3*h*c*e.control2.y,O+=f*e.endPoint.y;const $=Math.min(e.startWidth+f*i,t.maxWidth);this._drawCurveSegment(D,O,$)}r.closePath(),r.fill()}_drawDot(e,t){const r=this._ctx,i=t.dotSize>0?t.dotSize:(t.minWidth+t.maxWidth)/2;r.beginPath(),this._drawCurveSegment(e.x,e.y,i),r.closePath(),r.fillStyle=t.penColor,r.fill()}_fromData(e,t,r){for(const i of e){const{points:s}=i,o=this._getPointGroupOptions(i);if(s.length>1)for(let l=0;l<s.length;l+=1){const c=s[l],f=new ny(c.x,c.y,c.pressure,c.time);0===l&&this._reset(o);const h=this._addPoint(f,o);h&&t(h,o)}else this._reset(o),r(s[0],o)}}toSVG({includeBackgroundColor:e=!1}={}){const t=this._data,r=Math.max(window.devicePixelRatio||1,1),o=this.canvas.width/r,l=this.canvas.height/r,c=document.createElementNS("http://www.w3.org/2000/svg","svg");if(c.setAttribute("xmlns","http://www.w3.org/2000/svg"),c.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),c.setAttribute("viewBox",`0 0 ${o} ${l}`),c.setAttribute("width",o.toString()),c.setAttribute("height",l.toString()),e&&this.backgroundColor){const f=document.createElement("rect");f.setAttribute("width","100%"),f.setAttribute("height","100%"),f.setAttribute("fill",this.backgroundColor),c.appendChild(f)}return this._fromData(t,(f,{penColor:h})=>{const m=document.createElement("path");if(!(isNaN(f.control1.x)||isNaN(f.control1.y)||isNaN(f.control2.x)||isNaN(f.control2.y))){const y=`M ${f.startPoint.x.toFixed(3)},${f.startPoint.y.toFixed(3)} C ${f.control1.x.toFixed(3)},${f.control1.y.toFixed(3)} ${f.control2.x.toFixed(3)},${f.control2.y.toFixed(3)} ${f.endPoint.x.toFixed(3)},${f.endPoint.y.toFixed(3)}`;m.setAttribute("d",y),m.setAttribute("stroke-width",(2.25*f.endWidth).toFixed(3)),m.setAttribute("stroke",h),m.setAttribute("fill","none"),m.setAttribute("stroke-linecap","round"),c.appendChild(m)}},(f,{penColor:h,dotSize:m,minWidth:y,maxWidth:D})=>{const O=document.createElement("circle");O.setAttribute("r",(m>0?m:(y+D)/2).toString()),O.setAttribute("cx",f.x.toString()),O.setAttribute("cy",f.y.toString()),O.setAttribute("fill",h),c.appendChild(O)}),c.outerHTML}}let Lr=(()=>{class n{constructor(){if(this.injector=window.FormbirdServiceInjector,!this.injector){const t=document.querySelectorAll("#bodyAngularJS div[ui-view]");this.injector=angular.element(t).injector()}}get(t){return this.injector.get(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),BV=(()=>{class n{constructor(t){this.formbirdInjectorService=t,this.searchService=t.get("SearchService")}search(t,r){return this.searchService.search(t,r)}generatePit(){return this.searchService.generatePit()}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),HV=(()=>{class n{constructor(){}clientConfig(){return window.ftClientConfig}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),jV=(()=>{class n{constructor(t){this.injector=t,this.ajsService=t.get("ModifiedFieldService")}resetFormDirty(){this.ajsService.resetFormDirty()}isDirty(){return this.ajsService.isDirty()}addModifiedField(t,r,i,s,o){return this.ajsService.addModifiedField(t,r,i,s,o)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),UV=(()=>{class n{constructor(t){this.injector=t,this.ajsService=t.get("UnsavedDocumentService")}setDocument(t,r){return this.ajsService.setDocument(t,r)}setTemplate(t,r,i){return this.ajsService.setTemplate(t,r,i)}removeDocumentList(t){return this.ajsService.removeDocumentList(t)}createUnsavedDocumentList(t,r){return this.ajsService.createUnsavedDocumentList(t,r)}updateDocumentListInfo(t,r){this.ajsService.updateDocumentListInfo(t,r)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),WV=(()=>{class n{constructor(t){this.injector=t,this.ajsClientRulesService=t.get("ClientRulesService")}getSharedValue(t){return this.ajsClientRulesService.getSharedValue(t)}setSharedValue(t,r){return this.ajsClientRulesService.setSharedValue(t,r)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),GV=(()=>{class n{constructor(t){this.formbirdInjectorService=t,this.ajsService=t.get("OfflineUtilService")}getNextId(){return this.ajsService.getNextId()}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),zV=(()=>{class n{constructor(t){this.injector=t,this.ajsService=t.get("BroadcastService"),this.rebroadcastAngularJSEvents()}rebroadcastAngularJSEvents(){if("undefined"!=typeof angular){const t=document.querySelectorAll("div[ui-view]"),r=angular.element(t).injector();r&&r.get("$rootScope").$on("document:updated",(s,o)=>{this.broadcast("document:updated",o)})}}broadcast(t,r){this.ajsService?this.ajsService.broadcast(t,r):console.log("No BroadcastService provided.")}on(t){if(this.ajsService)return this.ajsService.on(t);console.log("No BroadcastService provided.")}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),qV=(()=>{class n{constructor(t){this.injector=t,this.ajsService=t.get("NotificationService")}printMessage(t,r,i,s,o,l,c,f,h){return this.ajsService.printMessage(t,r,i,s,o,l,c,f,h)}success(t,r,i){return this.ajsService.success(t,r,i)}error(t,r,i){return this.ajsService.error(t,r,i)}warning(t,r,i){return this.ajsService.warning(t,r,i)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),$V=(()=>{class n{constructor(){if(window.angular){const t=document.querySelectorAll("div[ui-view]"),r=angular.element(t).injector();this.ajsService=r.get("$location")}}go(t){return this.ajsService.path(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),YV=(()=>{class n{constructor(t){this.formbirdInjectorService=t,this.ajsService=t.get("ModalService")}showDialog(t,r,i,s,o){this.ajsService.showDialog(t,r,i,s,o)}openDialog(t){this.ajsService.openDialog(t)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),KV=(()=>{class n{constructor(t){this.injector=t,this.ajsService=t.get("DocumentListService")}setupDocumentListId(){return this.ajsService.setupDocumentListId()}save(){return this.ajsService.save()}clearDocuments(t){this.ajsService.clearDocuments(t)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),QV=(()=>{class n{constructor(t){this.injector=t,this.validationCtrlValues={},this.ajsService=t.get("ValidationService"),this.validationCtrlValues=this.ajsService.validationCtrlValues}loadValidators(t,r){return this.ajsService.loadValidators(t,r)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})(),ZV=(()=>{class n{constructor(t){this.injector=t,this.ajsService=t.get("WebSocketService")}emit(t,r){return this.ajsService.emit(t,r)}addEventListener(t,r){return this.ajsService.addEventListener(t,r)}removeEventListener(t){return this.ajsService.removeEventListener(t)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),KC=(()=>{class n{constructor(t){this.injector=t,this.ajsService=t.get("ChangedDocumentService")}watch(t,r,i,s){return this.ajsService.watch(t,r,i,s)}valueChanged(t,r,i,s){this.ajsService.valueChanged(t,r,i,s)}dispatchChanged(t){this.ajsService.dispatchChanged(t)}executeOnFieldChangeWithNoChanges(t){this.ajsService.executeOnFieldChangeWithNoChanges(t)}watchDocument(t){return this.ajsService.watchDocument(t)}watchStoreChanges(){return this.ajsService.watchStoreChanges()}dispatchAction(t){this.ajsService.dispatchAction(t)}watchComponentTemplate(t){return this.ajsService.watchComponentTemplate(t)}watchComponentDef(t,r){return this.ajsService.watchComponentDef(t,r)}notifyIntializedField(t,r){return this.ajsService.notifyIntializedField(t,r)}notifyDocumentChanged(t){return this.ajsService.notifyDocumentChanged(t)}notifyComponentDefinitionUpdated(t,r,i,s){return this.ajsService.notifyComponentDefinitionUpdated(t,r,i,s)}setOrgDocument(t){return this.ajsService.setOrgDocument(t)}setDocumentInfo(t,r){return this.ajsService.setDocumentInfo(t,r)}setDocument(t){return this.ajsService.setDocument(t)}setComponentFlagTemplate(t,r,i,s){return this.ajsService.setComponentFlagTemplate(t,r,i,s)}isLoadedDocument(t,r){return this.ajsService.isLoadedDocument(t,r)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),XV=(()=>{class n{constructor(t){this.injector=t,this.ajsService=t.get("FinaliseValueFieldService")}addFinaliseValueFunction(t,r,i){this.ajsService.addFinaliseValueFunction(t,r,i)}getFinaliseValueFunction(t,r){return this.ajsService.getFinaliseValueFunction(t,r)}finaliseFieldValues(t,r){this.ajsService.finaliseFieldValues(t,r)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),JV=(()=>{class n{constructor(t){this.formbirdInjectorService=t,this.offlineStatusService=t.get("OfflineStatusService"),this.offlineStatus$=this.offlineStatusService.offlineStatus$,this.offlineStatus=this.offlineStatusService.offlineStatus,this.pageDownloadProgress=this.offlineStatusService.pageDownloadProgress}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),eB=(()=>{class n{constructor(t){this.injector=t,this.service=t.get("RouterService")}getActivatedRouteSnapshot(){return this.service.getActivatedRouteSnapshot()}navigate(t){return this.service.navigate(t)}navigateByUrl(t,r){return this.service.navigateByUrl(t,r)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),tB=(()=>{class n{constructor(){}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:[HV,zV,WV,jV,GV,JV,BV,UV,qV,YV,$V,KV,QV,ZV,KC,XV,eB],imports:[[]]}),n})();class nB extends w{constructor(e,t){super()}schedule(e,t=0){return this}}class iy extends nB{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}requestAsyncId(e,t,r=0){return setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,t,r=0){if(null!==r&&this.delay===r&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let i,r=!1;try{this.work(e)}catch(s){r=!0,i=!!s&&s||new Error(s)}if(r)return this.unsubscribe(),i}_unsubscribe(){const e=this.id,t=this.scheduler,r=t.actions,i=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&r.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}let vI=(()=>{class n{constructor(t,r=n.now){this.SchedulerAction=t,this.now=r}schedule(t,r=0,i){return new this.SchedulerAction(this,t).schedule(i,r)}}return n.now=()=>Date.now(),n})();class oo extends vI{constructor(e,t=vI.now){super(e,()=>oo.delegate&&oo.delegate!==this?oo.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,r){return oo.delegate&&oo.delegate!==this?oo.delegate.schedule(e,t,r):super.schedule(e,t,r)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let r;this.active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}}const QC=new oo(iy);function bI(n,e=QC){return t=>t.lift(new rB(n,e))}class rB{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new iB(e,this.dueTime,this.scheduler))}}class iB extends E{constructor(e,t,r){super(e),this.dueTime=t,this.scheduler=r,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(sB,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function sB(n){n.debouncedNext()}function EI(...n){if(1===n.length){const e=n[0];if(R(e))return sy(e,null);if(k(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return sy(t.map(r=>e[r]),t)}}if("function"==typeof n[n.length-1]){const e=n.pop();return sy(n=1===n.length&&R(n[0])?n[0]:n,null).pipe(tt(t=>e(...t)))}return sy(n,null)}function sy(n,e){return new se(t=>{const r=n.length;if(0===r)return void t.complete();const i=new Array(r);let s=0,o=0;for(let l=0;l<r;l++){const c=bi(n[l]);let f=!1;t.add(c.subscribe({next:h=>{f||(f=!0,o++),i[l]=h},error:h=>t.error(h),complete:()=>{s++,(s===r||!f)&&(o===r&&t.next(e?e.reduce((h,m,y)=>(h[m]=i[y],h),{}):i),t.complete())}}))}})}function Il(n){return null==n||0===n.length}function wI(n){return null!=n&&"number"==typeof n.length}const cB=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class dB{static min(e){return function SI(n){return e=>{if(Il(e.value)||Il(n))return null;const t=parseFloat(e.value);return!isNaN(t)&&t<n?{min:{min:n,actual:e.value}}:null}}(e)}static max(e){return function AI(n){return e=>{if(Il(e.value)||Il(n))return null;const t=parseFloat(e.value);return!isNaN(t)&&t>n?{max:{max:n,actual:e.value}}:null}}(e)}static required(e){return function TI(n){return Il(n.value)?{required:!0}:null}(e)}static requiredTrue(e){return function II(n){return!0===n.value?null:{required:!0}}(e)}static email(e){return function MI(n){return Il(n.value)||cB.test(n.value)?null:{email:!0}}(e)}static minLength(e){return function xI(n){return e=>Il(e.value)||!wI(e.value)?null:e.value.length<n?{minlength:{requiredLength:n,actualLength:e.value.length}}:null}(e)}static maxLength(e){return function OI(n){return e=>wI(e.value)&&e.value.length>n?{maxlength:{requiredLength:n,actualLength:e.value.length}}:null}(e)}static pattern(e){return function RI(n){if(!n)return Ap;let e,t;return"string"==typeof n?(t="","^"!==n.charAt(0)&&(t+="^"),t+=n,"$"!==n.charAt(n.length-1)&&(t+="$"),e=new RegExp(t)):(t=n.toString(),e=n),r=>{if(Il(r.value))return null;const i=r.value;return e.test(i)?null:{pattern:{requiredPattern:t,actualValue:i}}}}(e)}static nullValidator(e){return null}static compose(e){return VI(e)}static composeAsync(e){return BI(e)}}function Ap(n){return null}function PI(n){return null!=n}function FI(n){const e=c_(n)?bi(n):n;return cE(e),e}function NI(n){let e={};return n.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function kI(n,e){return e.map(t=>t(n))}function LI(n){return n.map(e=>function fB(n){return!n.validate}(e)?e:t=>e.validate(t))}function VI(n){if(!n)return null;const e=n.filter(PI);return 0==e.length?null:function(t){return NI(kI(t,e))}}function BI(n){if(!n)return null;const e=n.filter(PI);return 0==e.length?null:function(t){return EI(kI(t,e).map(FI)).pipe(tt(NI))}}function e0(n){return n?Array.isArray(n)?n:[n]:[]}function oy(n,e){return Array.isArray(n)?n.includes(e):n===e}function WI(n,e){const t=e0(e);return e0(n).forEach(i=>{oy(t,i)||t.push(i)}),t}function GI(n,e){return e0(e).filter(t=>!oy(n,t))}function fy(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}const Ip="VALID",hy="INVALID",qd="PENDING",Mp="DISABLED";function a0(n){return(u0(n)?n.validators:n)||null}function QI(n){return Array.isArray(n)?function XC(n){return null!=n?VI(LI(n)):null}(n):n||null}function l0(n,e){return(u0(e)?e.asyncValidators:n)||null}function ZI(n){return Array.isArray(n)?function JC(n){return null!=n?BI(LI(n)):null}(n):n||null}function u0(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}class c0{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=QI(this._rawValidators),this._composedAsyncValidatorFn=ZI(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Ip}get invalid(){return this.status===hy}get pending(){return this.status==qd}get disabled(){return this.status===Mp}get enabled(){return this.status!==Mp}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=QI(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=ZI(e)}addValidators(e){this.setValidators(WI(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(WI(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(GI(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(GI(e,this._rawAsyncValidators))}hasValidator(e){return oy(this._rawValidators,e)}hasAsyncValidator(e){return oy(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=qd,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=Mp,this.errors=null,this._forEachChild(r=>{r.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=Ip,this._forEachChild(r=>{r.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ip||this.status===qd)&&this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Mp:Ip}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=qd,this._hasOwnPendingAsyncValidator=!0;const t=FI(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function SB(n,e,t){if(null==e||(Array.isArray(e)||(e=e.split(t)),Array.isArray(e)&&0===e.length))return null;let r=n;return e.forEach(i=>{r=r instanceof py?r.controls.hasOwnProperty(i)?r.controls[i]:null:r instanceof AB&&r.at(i)||null}),r}(this,e,".")}getError(e,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new tr,this.statusChanges=new tr}_calculateStatus(){return this._allControlsDisabled()?Mp:this.errors?hy:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(qd)?qd:this._anyControlsHaveStatus(hy)?hy:Ip}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){u0(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class $d extends c0{constructor(e=null,t,r){super(a0(t),l0(r,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){fy(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){fy(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class py extends c0{constructor(e,t,r){super(a0(t),l0(r,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,r={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(r=>{this._throwIfControlMissing(r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(r=>{this.controls[r]&&this.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((r,i)=>{r.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,r)=>(e[r]=t instanceof $d?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&e(r,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const r=this.controls[t];if(this.contains(t)&&e(r))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,r)=>((t.enabled||this.disabled)&&(e[r]=t.value),e))}_reduceChildren(e,t){let r=e;return this._forEachChild((i,s)=>{r=t(r,i,s)}),r}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,r)=>{if(void 0===e[r])throw new Error(`Must supply a value for form control with name: '${r}'.`)})}}class AB extends c0{constructor(e,t,r){super(a0(t),l0(r,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[e]}push(e,t={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(e,t,r={}){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(e,t,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((r,i)=>{this._throwIfControlMissing(i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((r,i)=>{r.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof $d?e.value:e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_syncPendingControls(){let e=this.controls.reduce((t,r)=>!!r._syncPendingControls()||t,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error(`Cannot find form control at index ${e}`)}_forEachChild(e){this.controls.forEach((t,r)=>{e(t,r)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,r)=>{if(void 0===e[r])throw new Error(`Must supply a value for form control at index: ${r}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}let r1=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({}),n})(),e3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[r1]]}),n})(),t3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[e3]}),n})();const kt="api/",ve={appHome:"/",appLogin:"/",appForgotPass:"forgotpass",appForgotPassAction:"auth/forgotpass",appResetPass:"resetpass",appResetpassAction:"auth/resetpass",appActivateAccount:"activateAccount",appActivateAccountAction:"auth/activateAccount",appDefault:"default",logout:"auth/logout",logoutAllDevices:"auth/logoutAllDevices",login:"auth/login/local",loginSaml:"auth/login/saml",loginGoogle:"auth/login/google",loginGoogleCallback:"auth/login/google/callback",loginFacebook:"auth/login/facebook",loginFacebookCallback:"auth/login/facebook/callback",loggedUser:"api/loggedUser",loggedUserData:"api/loggedUserData"};ve.loggedUserAccountControlDocument=ve.loggedUser+"/accountControlDocument",ve.loggedUserAccountGroupConfigDocument=ve.loggedUser+"/accountGroupConfigDocument",ve.testPassword="password/test",ve.publicLogin="/auth/login/public",ve.uploadFiles=kt+"uploadFiles",ve.deleteFile=kt+"deleteFile",ve.loadFile=kt+"getFile",ve.getFile=kt+"getFile/:fileNo",ve.getFileWithName=kt+"getFile/:fileNo/:fileName",ve.packageImport=kt+"uploadPackage",ve.packageExport=kt+"packageExport/:id",ve.packageCleanUp=kt+"packageCleanUp/:type/:id",ve.document=kt+"document",ve.documentWithUser=kt+"document/:userId",ve.documentWithUserBase=kt+"documentWithUser",ve.templateAndDocument=kt+"templateAndDocument",ve.templateAndDocumentId=ve.templateAndDocument+"/:id",ve.templateAndDocumentWithTemplateId=ve.templateAndDocument+"/:id/:templateId",ve.documentDeepDiffUpdate=ve.document+"/deepDiffUpdate",ve.documentDeepDiffUpdateSingle=ve.documentDeepDiffUpdate+"/:id",ve.documentExists=ve.document+"/exists",ve.documentExistsFull=ve.documentExists+"/:id",ve.documentExistsIncludeDeleted=ve.documentExists+"/:id/:includeDeleted",ve.documentSingle=ve.document+"/:id",ve.documentSingleWithUser=ve.documentWithUserBase+"/:id/:userId",ve.documentDestroy=ve.document+"/:id",ve.documentDestroyWithTemplateIdAndPreviousVersionId=ve.document+"/:id/:templateId/:previousVersionId",ve.documentSingleOverrideTpl=ve.documentDeepDiffUpdate+"/:id/:template",ve.documentDeepDiffUpdateWithUser=ve.document+"/deepDiffUpdateWithUser",ve.documentDeepDiffUpdateSingleWithUser=ve.documentDeepDiffUpdateWithUser+"/:id/:userId",ve.syncDocuments=kt+"syncDocuments",ve.syncRecordsByServerUpdatedDateWithPagination=ve.syncDocuments+"/:startTime/:pageNumber",ve.syncDocumentsCountURL=kt+"syncDocumentsCount",ve.syncDocumentsCountByDateRoute=ve.syncDocumentsCountURL+"/:startTime",ve.undeleteDocument=kt+"undelete/:id",ve.bulkUploadDocuments=kt+"bulkUploadDocuments",ve.documentAudit=kt+"documentAudit",ve.indexHtml="/index.html",ve.documentSearch=kt+"documentSearch",ve.documentFind=kt+"documentFind/:query",ve.documentsBaseUrl=kt+"documents",ve.documentsUrl=ve.documentsBaseUrl+"/:query",ve.documentFetch=kt+"documentFetch",ve.versionFetch=kt+"versionFetch",ve.loadDocsForRulesBaseUrl=kt+"documents/loadDocsForRules",ve.loadDocsForRulesUrl=ve.loadDocsForRulesBaseUrl+"/:userId",ve.loadIncludeDocs=kt+"loadIncludeDocs",ve.template=kt+"template",ve.templateSingle=ve.template+"/:id",ve.sessionTest=kt+"sessionTest",ve.serverTime=kt+"time/current",ve.executeFunction=kt+"execute",ve.loadComponentDoc=kt+"loadComponentDoc/:componentName",ve.loadVendorLibrary=kt+"loadVendorLibrary/:name",ve.loadVendorLibraries=kt+"loadVendorLibraries",ve.loadClientConfig="clientConfig",ve.clientResources=kt+"clientResources";var C1=J(8784);J(3071),console,console,J(1116);var C0=J(5947);class S1{static generateId(){const e="undefined"!=typeof window?window.crypto:void 0;if(void 0!==e&&e.randomUUID)return e.randomUUID();{const t=C0.v4(),r=Math.random().toString();return C0.v5(r,t)}}static isValid(e){return e&&36===e.length}}const et={ACCEPTED:202,BAD_GATEWAY:502,BAD_REQUEST:400,CONFLICT:409,CONTINUE:100,CREATED:201,EXPECTATION_FAILED:417,FORBIDDEN:403,GATEWAY_TIMEOUT:504,GONE:410,HTTP_VERSION_NOT_SUPPORTED:505,INSUFFICIENT_SPACE_ON_RESOURCE:419,INSUFFICIENT_STORAGE:507,INTERNAL_SERVER_ERROR:500,LENGTH_REQUIRED:411,LOCKED:423,METHOD_FAILURE:420,METHOD_NOT_ALLOWED:405,MOVED_PERMANENTLY:301,MOVED_TEMPORARILY:302,MULTI_STATUS:207,MULTIPLE_CHOICES:300,NO_CONTENT:204,NON_AUTHORITATIVE_INFORMATION:203,NOT_ACCEPTABLE:406,NOT_FOUND:404,NOT_IMPLEMENTED:501,NOT_MODIFIED:304,OK:200,PARTIAL_CONTENT:206,PAYMENT_REQUIRED:402,PRECONDITION_FAILED:412,PROCESSING:102,PROXY_AUTHENTICATION_REQUIRED:407,REQUEST_TIMEOUT:408,REQUEST_TOO_LONG:413,REQUEST_URI_TOO_LONG:414,REQUESTED_RANGE_NOT_SATISFIABLE:416,RESET_CONTENT:205,SEE_OTHER:303,SERVICE_UNAVAILABLE:503,SWITCHING_PROTOCOLS:101,TEMPORARY_REDIRECT:307,UNAUTHORIZED:401,UNPROCESSABLE_ENTITY:422,UNSUPPORTED_MEDIA_TYPE:415,USE_PROXY:305,ELASTICSEARCH:306,SERVER_UNRESPONSIVE:0,EARLY_HINTS:103},Xe={};Xe[et.ACCEPTED]="Accepted",Xe[et.BAD_GATEWAY]="Bad Gateway",Xe[et.BAD_REQUEST]="Bad Request",Xe[et.CONFLICT]="Conflict",Xe[et.CONTINUE]="Continue",Xe[et.CREATED]="Created",Xe[et.EXPECTATION_FAILED]="Expectation Failed",Xe[et.FORBIDDEN]="Forbidden",Xe[et.GATEWAY_TIMEOUT]="Gateway Timeout",Xe[et.GONE]="Gone",Xe[et.HTTP_VERSION_NOT_SUPPORTED]="HTTP Version Not Supported",Xe[et.INSUFFICIENT_SPACE_ON_RESOURCE]="Insufficient Space on Resource",Xe[et.INSUFFICIENT_STORAGE]="Insufficient Storage",Xe[et.INTERNAL_SERVER_ERROR]="Server Error",Xe[et.LENGTH_REQUIRED]="Length Required",Xe[et.LOCKED]="Locked",Xe[et.METHOD_FAILURE]="Method Failure",Xe[et.METHOD_NOT_ALLOWED]="Method Not Allowed",Xe[et.MOVED_PERMANENTLY]="Moved Permanently",Xe[et.MOVED_TEMPORARILY]="Moved Temporarily",Xe[et.MULTI_STATUS]="Multi-Status",Xe[et.MULTIPLE_CHOICES]="Multiple Choices",Xe[et.NO_CONTENT]="No Content",Xe[et.NON_AUTHORITATIVE_INFORMATION]="Non Authoritative Information",Xe[et.NOT_ACCEPTABLE]="Not Acceptable",Xe[et.NOT_FOUND]="Not Found",Xe[et.NOT_IMPLEMENTED]="Not Implemented",Xe[et.NOT_MODIFIED]="Not Modified",Xe[et.OK]="OK",Xe[et.PARTIAL_CONTENT]="Partial Content",Xe[et.PAYMENT_REQUIRED]="Payment Required",Xe[et.PRECONDITION_FAILED]="Precondition Failed",Xe[et.PROCESSING]="Processing",Xe[et.PROXY_AUTHENTICATION_REQUIRED]="Proxy Authentication Required",Xe[et.REQUEST_TIMEOUT]="Request Timeout",Xe[et.REQUEST_TOO_LONG]="Request Entity Too Large",Xe[et.REQUEST_URI_TOO_LONG]="Request-URI Too Long",Xe[et.REQUESTED_RANGE_NOT_SATISFIABLE]="Requested Range Not Satisfiable",Xe[et.RESET_CONTENT]="Reset Content",Xe[et.SEE_OTHER]="See Other",Xe[et.SERVICE_UNAVAILABLE]="Service Unavailable",Xe[et.SWITCHING_PROTOCOLS]="Switching Protocols",Xe[et.TEMPORARY_REDIRECT]="Temporary Redirect",Xe[et.UNAUTHORIZED]="Unauthorized",Xe[et.UNPROCESSABLE_ENTITY]="Unprocessable Entity",Xe[et.UNSUPPORTED_MEDIA_TYPE]="Unsupported Media Type",Xe[et.USE_PROXY]="Use Proxy",Xe[et.ELASTICSEARCH]="Error - search is not running. Please contact a system administrator to configure it",Xe[et.SERVER_UNRESPONSIVE]="Aborted/Timed out request: Server is down or client not connected.",Xe[et.EARLY_HINTS]="Early Hints",et.getStatusText=function m3(n){if(Xe.hasOwnProperty(n))return Xe[n];throw new Error("Status code does not exist: "+n)},J(8372);let w0=(()=>{class n{constructor(){this.formGroups={}}setupStandardProperties(t){const r=t.componentDefinition;r&&(t.disabled=!1===r.enabled),t.elementName=t.fieldName,t.registeredControlName=t.fieldName+t.key+S1.generateId()}setupStandardComponent(t,r){this.setupStandardProperties(t);const s=this.ensureFormGroupExisted(t.document.documentId),o=t.componentDefinition;this.setupDefaultValidator(o,r);const l=new $d({value:t.fieldValue,disabled:this.isComponentDisabled(o)},r);return s.registerControl(t.registeredControlName,l)}setupControl(t,r,i,s){const o=this.ensureFormGroupExisted(t.document.documentId),l=new $d(i,s),c=r+t.key+S1.generateId();return o.registerControl(c,l)}enableField(t,r){r&&(!1===t.enabled?r.disable({emitEvent:!1}):r.enable({emitEvent:!1}))}enableFieldByFlag(t,r){r&&(!1===t?r.disable({emitEvent:!1}):r.enable({emitEvent:!1}))}setupDefaultValidator(t,r){r=r||[],t.mandatory&&r.push(dB.required)}isComponentDisabled(t){return!1===t.enabled}ensureFormGroupExisted(t){return this.formGroups[t]||(this.formGroups[t]=new py({})),this.formGroups[t]}getControl(t,r){return this.formGroups[t]?this.formGroups[t].get(r):null}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class D3{isErrorState(e,t){return!!(e&&e.invalid&&(e.dirty||e.touched||t&&t.submitted))}}let w3=(()=>{class n{constructor(t,r,i,s){this.formbirdInjectorService=t,this.changedDocumentService=r,this.componentSetupService=i,this.cdr=s,this.shouldNotifyCompInitializedInSuper=!0,this.shouldDispatchEmptyFieldValue=!0,this.subs=new w,this.matcher=new D3,this.broadcastService=t.get("BroadcastService")}ngOnInit(){this.setupComponent(),this.initializeFieldValue(),this.setupChangeDetection(),this.shouldNotifyCompInitializedInSuper&&this.notifyComponentIntialized()}ngOnDestroy(){this.subs.unsubscribe()}setupComponent(){this.formControl=this.componentSetupService.setupStandardComponent(this,this.validators),this.setFieldActivation(!1)}setupChangeDetection(t){if(this.fieldName){const i=this.changedDocumentService.watch(this.fieldName,this.document.documentId,this.registeredControlName).subscribe(s=>{this.onFieldValueChanged(s)});this.subs.add(i)}const r=this.changedDocumentService.watchComponentDef(this.fieldName,this.template.documentId).subscribe(i=>{this.onComponentDefChanged(i)});if(this.subs.add(r),this.formControl){let i;i=t?this.formControl.valueChanges.subscribe(s=>{this.onControlValueChanged(s)}):this.formControl.valueChanges.pipe(bI(500)).subscribe(s=>{this.onControlValueChanged(s)}),this.subs.add(i)}this.setupDocumentCreatedDetection()}setFieldActivation(t){this.componentSetupService.enableField(this.componentDefinition,this.formControl),this.detectChanges(t)}valueChanged(t){this.fieldValue=t,this.changedDocumentService.valueChanged(this,t,this.registeredControlName)}dispatchChanged(t){this.changedDocumentService.notifyDocumentChanged({documentId:this.document.documentId,fieldName:this.fieldName,newValue:this.fieldValue,isInitValue:t})}detectChanges(t){!1!==t&&!this.cdr.destroyed&&this.cdr.detectChanges()}updateComponentDefChange(t){this.componentDefinition=t}onControlValueChanged(t){this.valueChanged(t)}onComponentDefChanged(t){console.log("Change detection on template: ",t.name),this.updateComponentDefChange(t);const r=!1===t.enabled;this.disabled!==r?(this.disabled=r,this.setFieldActivation()):this.detectChanges()}isEqualFieldValue(t){return this.fieldValue===t}onFieldValueChanged(t,r=!0){this.isEqualFieldValue(t)||(console.log(`On field value changed for component: ${this.registeredControlName} - has label: ${this.componentDefinition.label}`),this.fieldValue=t,this.formControl&&this.formControl.patchValue(this.fieldValue,{emitEvent:!1,onlySelf:!0}),r&&this.detectChanges())}setupDocumentCreatedDetection(){const t=this.broadcastService.on("document:new").subscribe(r=>{this.onDocumentCreated(r),this.detectChanges()});this.subs.add(t)}onDocumentCreated(t){const r=null==t?void 0:t.document;if(r){const s=r.documentId;(null==t?void 0:t.unsavedDocumentListId)===this.formParameters.unsavedDocumentListId&&this.document.documentId===s&&(this.fieldValue=r[this.fieldName],this.initializeFieldValue(),this.notifyComponentIntialized())}}initializeFieldValue(){}notifyComponentIntialized(){this.changedDocumentService.notifyIntializedField(this,this.shouldDispatchEmptyFieldValue)}notifyComponentDefChanged(){}}return n.\u0275fac=function(t){return new(t||n)(de(Lr),de(KC),de(w0),de(Vd))},n.\u0275cmp=vs({type:n,selectors:[["ng-component"]],inputs:{document:"document",fieldValue:"fieldValue",template:"template",fieldName:"fieldName",formParameters:"formParameters",key:"key",responsiveLayouts:"responsiveLayouts",message:"message",componentDefinition:"componentDefinition"},decls:0,vars:0,template:function(t,r){},encapsulation:2}),n})(),S3=(()=>{class n{constructor(){if(this.injector=window.FormbirdServiceInjector,!this.injector){const t=document.querySelectorAll("#bodyAngularJS div[ui-view]");this.injector=angular.element(t).injector()}}get(t){return this.injector.get(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),A3=(()=>{class n{constructor(){this.chunkSeparator="_",this.charmap={},this.charmapReverse={},this.minus="Z",this.plus="Y",this.acceptedformat="image/jsignature;base30",this.allchars="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX".split(""),this.bitness=this.allchars.length/2;for(let t=this.bitness-1;t>-1;t--)this.charmap[this.allchars[t]]=this.allchars[t+this.bitness],this.charmapReverse[this.allchars[t+this.bitness]]=this.allchars[t]}remapTailChars(t){const r=t.split(""),i=r.length;for(let s=1;s<i;s++)r[s]=this.charmap[r[s]];return r.join("")}compressstrokeleg(t){const r=[];let i=0,o=1;const l=t.length;let c,f,h;for(let m=0;m<l;m++)c=Math.round(t[m]),f=c-i,i=c,f<0&&o>0?(o=-1,r.push(this.minus)):f>0&&o<0&&(o=1,r.push(this.plus)),h=Math.abs(f),r.push(h>=this.bitness?this.remapTailChars(h.toString(this.bitness)):h.toString(this.bitness));return r.join("")}uncompressstrokeleg(t){const r=[],i=t.split(""),s=i.length;let o,h,l=1,c=[],f=0;for(let m=0;m<s;m++)o=i[m],o in this.charmap||o===this.minus||o===this.plus?(0!==c.length&&(h=parseInt(c.join(""),this.bitness)*l+f,r.push(h),f=h),o===this.minus?(l=-1,c=[]):o===this.plus?(l=1,c=[]):c=[o]):c.push(this.charmapReverse[o]);return r.push(parseInt(c.join(""),this.bitness)*l+f),r}compressstrokes(t){const r=[],i=t.length;let s;for(let o=0;o<i;o++)s=t[o],r.push(this.compressstrokeleg(s.x)),r.push(this.compressstrokeleg(s.y));return r.join(this.chunkSeparator)}uncompressstrokes(t){const r=[],i=t.split(this.chunkSeparator),s=i.length/2;for(let o=0;o<s;o++)r.push({x:this.uncompressstrokeleg(i[2*o]),y:this.uncompressstrokeleg(i[2*o+1])});return r}pluginCompressor(t){return[this.acceptedformat,this.compressstrokes(t)]}pluginDecompressor(t,r,i){"string"==typeof t&&(t.substring(0,this.acceptedformat.length).toLowerCase()===this.acceptedformat&&(t=t.substring(this.acceptedformat.length+1)),i(this.uncompressstrokes(t)))}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),T3=(()=>{class n{constructor(){this.uuidLength=36}generateId(){return C0.v1()}isValid(t){return t&&t.length===this.uuidLength}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),I3=(()=>{class n{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),T1=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:[I3]}),n})();const M3=new Le("cdk-dir-doc",{providedIn:"root",factory:function x3(){return vu(Tt)}});let I1=(()=>{class n{constructor(t){if(this.value="ltr",this.change=new tr,t){const i=t.documentElement?t.documentElement.dir:null,s=(t.body?t.body.dir:null)||i;this.value="ltr"===s||"rtl"===s?s:"ltr"}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(t){return new(t||n)(le(M3,8))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Fp=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({}),n})();const M1=new wl("13.0.1");let S0;try{S0="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){S0=!1}let Np,Qu,A0,ao=(()=>{class n{constructor(t){this._platformId=t,this.isBrowser=this._platformId?function BL(n){return n===iI}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!S0)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(t){return new(t||n)(le(A_))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gy=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({}),n})();function kp(n){return function O3(){if(null==Np&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Np=!0}))}finally{Np=Np||!1}return Np}()?n:!!n.capture}function R3(){if(null==Qu){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Qu=!1,Qu;if("scrollBehavior"in document.documentElement.style)Qu=!0;else{const n=Element.prototype.scrollTo;Qu=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return Qu}function Zu(n){return n.composedPath?n.composedPath()[0]:n.target}function T0(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}class N3 extends ye{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Ne;return this._value}next(e){super.next(this._value=e)}}function Qo(...n){let e=n[n.length-1];return st(e)?(n.pop(),ia(n,e)):Bl(n)}function O1(n){return e=>e.lift(new W3(n))}class W3{constructor(e){this.total=e}call(e,t){return t.subscribe(new G3(e,this.total))}}class G3 extends E{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}class q3{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new $3(e,this.compare,this.keySelector))}}class $3 extends E{constructor(e,t,r){super(e),this.keySelector=r,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:i}=this;t=i?i(e):e}catch(i){return this.destination.error(i)}let r=!1;if(this.hasKey)try{const{compare:i}=this;r=i(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=t,this.destination.next(e))}}function Zo(n){return e=>e.lift(new Y3(n))}class Y3{constructor(e){this.notifier=e}call(e,t){const r=new K3(e),i=gn(this.notifier,new co(r));return i&&!r.seenValue?(r.add(i),t.subscribe(r)):r}}class K3 extends fo{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}function yy(n){return null!=n&&"false"!=`${n}`}function vy(n){return Array.isArray(n)?n:[n]}function Vn(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Kd(n){return n instanceof mn?n.nativeElement:n}function by(n,e){return(n.getAttribute(e)||"").match(/\S+/g)||[]}const P1="cdk-describedby-message-container",F1="cdk-describedby-message",Ey="cdk-describedby-host";let J3=0;const Xo=new Map;let Li=null,e8=(()=>{class n{constructor(t){this._document=t}describe(t,r,i){if(!this._canBeDescribed(t,r))return;const s=I0(r,i);"string"!=typeof r?(N1(r),Xo.set(s,{messageElement:r,referenceCount:0})):Xo.has(s)||this._createMessageElement(r,i),this._isElementDescribedByMessage(t,s)||this._addMessageReference(t,s)}removeDescription(t,r,i){if(!r||!this._isElementNode(t))return;const s=I0(r,i);if(this._isElementDescribedByMessage(t,s)&&this._removeMessageReference(t,s),"string"==typeof r){const o=Xo.get(s);o&&0===o.referenceCount&&this._deleteMessageElement(s)}Li&&0===Li.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const t=this._document.querySelectorAll(`[${Ey}]`);for(let r=0;r<t.length;r++)this._removeCdkDescribedByReferenceIds(t[r]),t[r].removeAttribute(Ey);Li&&this._deleteMessagesContainer(),Xo.clear()}_createMessageElement(t,r){const i=this._document.createElement("div");N1(i),i.textContent=t,r&&i.setAttribute("role",r),this._createMessagesContainer(),Li.appendChild(i),Xo.set(I0(t,r),{messageElement:i,referenceCount:0})}_deleteMessageElement(t){var r;const i=Xo.get(t);null===(r=null==i?void 0:i.messageElement)||void 0===r||r.remove(),Xo.delete(t)}_createMessagesContainer(){if(!Li){const t=this._document.getElementById(P1);null==t||t.remove(),Li=this._document.createElement("div"),Li.id=P1,Li.style.visibility="hidden",Li.classList.add("cdk-visually-hidden"),this._document.body.appendChild(Li)}}_deleteMessagesContainer(){Li&&(Li.remove(),Li=null)}_removeCdkDescribedByReferenceIds(t){const r=by(t,"aria-describedby").filter(i=>0!=i.indexOf(F1));t.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(t,r){const i=Xo.get(r);(function Z3(n,e,t){const r=by(n,e);r.some(i=>i.trim()==t.trim())||(r.push(t.trim()),n.setAttribute(e,r.join(" ")))})(t,"aria-describedby",i.messageElement.id),t.setAttribute(Ey,""),i.referenceCount++}_removeMessageReference(t,r){const i=Xo.get(r);i.referenceCount--,function X3(n,e,t){const i=by(n,e).filter(s=>s!=t.trim());i.length?n.setAttribute(e,i.join(" ")):n.removeAttribute(e)}(t,"aria-describedby",i.messageElement.id),t.removeAttribute(Ey)}_isElementDescribedByMessage(t,r){const i=by(t,"aria-describedby"),s=Xo.get(r),o=s&&s.messageElement.id;return!!o&&-1!=i.indexOf(o)}_canBeDescribed(t,r){if(!this._isElementNode(t))return!1;if(r&&"object"==typeof r)return!0;const i=null==r?"":`${r}`.trim(),s=t.getAttribute("aria-label");return!(!i||s&&s.trim()===i)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(t){return new(t||n)(le(Tt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function I0(n,e){return"string"==typeof n?`${e||""}/${n}`:n}function N1(n){n.id||(n.id=`${F1}-${J3++}`)}function L1(n){return 0===n.offsetX&&0===n.offsetY}function V1(n){const e=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}const o8=new Le("cdk-input-modality-detector-options"),a8={ignoreKeys:[18,17,224,91,16]},Qd=kp({passive:!0,capture:!0});let l8=(()=>{class n{constructor(t,r,i,s){this._platform=t,this._mostRecentTarget=null,this._modality=new N3(null),this._lastTouchMs=0,this._onKeydown=o=>{var l,c;(null===(c=null===(l=this._options)||void 0===l?void 0:l.ignoreKeys)||void 0===c?void 0:c.some(f=>f===o.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=Zu(o))},this._onMousedown=o=>{Date.now()-this._lastTouchMs<650||(this._modality.next(L1(o)?"keyboard":"mouse"),this._mostRecentTarget=Zu(o))},this._onTouchstart=o=>{V1(o)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Zu(o))},this._options=Object.assign(Object.assign({},a8),s),this.modalityDetected=this._modality.pipe(O1(1)),this.modalityChanged=this.modalityDetected.pipe(function z3(n,e){return t=>t.lift(new q3(n,e))}()),t.isBrowser&&r.runOutsideAngular(()=>{i.addEventListener("keydown",this._onKeydown,Qd),i.addEventListener("mousedown",this._onMousedown,Qd),i.addEventListener("touchstart",this._onTouchstart,Qd)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Qd),document.removeEventListener("mousedown",this._onMousedown,Qd),document.removeEventListener("touchstart",this._onTouchstart,Qd))}}return n.\u0275fac=function(t){return new(t||n)(le(ao),le(Zt),le(Tt),le(o8,8))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const c8=new Le("cdk-focus-monitor-default-options"),Cy=kp({passive:!0,capture:!0});let H1=(()=>{class n{constructor(t,r,i,s,o){this._ngZone=t,this._platform=r,this._inputModalityDetector=i,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new ye,this._rootNodeFocusAndBlurListener=l=>{const c=Zu(l),f="focus"===l.type?this._onFocus:this._onBlur;for(let h=c;h;h=h.parentElement)f.call(this,l,h)},this._document=s,this._detectionMode=(null==o?void 0:o.detectionMode)||0}monitor(t,r=!1){const i=Kd(t);if(!this._platform.isBrowser||1!==i.nodeType)return Qo(null);const s=function F3(n){if(function P3(){if(null==A0){const n="undefined"!=typeof document?document.head:null;A0=!(!n||!n.createShadowRoot&&!n.attachShadow)}return A0}()){const e=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}(i)||this._getDocument(),o=this._elementInfo.get(i);if(o)return r&&(o.checkChildren=!0),o.subject;const l={checkChildren:r,subject:new ye,rootNode:s};return this._elementInfo.set(i,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(t){const r=Kd(t),i=this._elementInfo.get(r);i&&(i.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(i))}focusVia(t,r,i){const s=Kd(t);s===this._getDocument().activeElement?this._getClosestElementsInfo(s).forEach(([l,c])=>this._originChanged(l,r,c)):(this._setOrigin(r),"function"==typeof s.focus&&s.focus(i))}ngOnDestroy(){this._elementInfo.forEach((t,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(t){return 1===this._detectionMode||!!(null==t?void 0:t.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(t,r){t.classList.toggle("cdk-focused",!!r),t.classList.toggle("cdk-touch-focused","touch"===r),t.classList.toggle("cdk-keyboard-focused","keyboard"===r),t.classList.toggle("cdk-mouse-focused","mouse"===r),t.classList.toggle("cdk-program-focused","program"===r)}_setOrigin(t,r=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&r,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,r){const i=this._elementInfo.get(r),s=Zu(t);!i||!i.checkChildren&&r!==s||this._originChanged(r,this._getFocusOrigin(s),i)}_onBlur(t,r){const i=this._elementInfo.get(r);!i||i.checkChildren&&t.relatedTarget instanceof Node&&r.contains(t.relatedTarget)||(this._setClasses(r),this._emitOrigin(i.subject,null))}_emitOrigin(t,r){this._ngZone.run(()=>t.next(r))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const r=t.rootNode,i=this._rootNodeFocusListenerCount.get(r)||0;i||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,Cy),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,Cy)}),this._rootNodeFocusListenerCount.set(r,i+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Zo(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(t){const r=t.rootNode;if(this._rootNodeFocusListenerCount.has(r)){const i=this._rootNodeFocusListenerCount.get(r);i>1?this._rootNodeFocusListenerCount.set(r,i-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Cy),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Cy),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,r,i){this._setClasses(t,r),this._emitOrigin(i.subject,r),this._lastFocusOrigin=r}_getClosestElementsInfo(t){const r=[];return this._elementInfo.forEach((i,s)=>{(s===t||i.checkChildren&&s.contains(t))&&r.push([s,i])}),r}}return n.\u0275fac=function(t){return new(t||n)(le(Zt),le(ao),le(l8),le(Tt,8),le(c8,8))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const j1="cdk-high-contrast-black-on-white",U1="cdk-high-contrast-white-on-black",M0="cdk-high-contrast-active";let W1=(()=>{class n{constructor(t,r){this._platform=t,this._document=r}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.getComputedStyle(t):null,s=(i&&i.backgroundColor||"").replace(/ /g,"");switch(t.remove(),s){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(M0),t.remove(j1),t.remove(U1),this._hasCheckedHighContrastMode=!0;const r=this.getHighContrastMode();1===r?(t.add(M0),t.add(j1)):2===r&&(t.add(M0),t.add(U1))}}}return n.\u0275fac=function(t){return new(t||n)(le(ao),le(Tt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),d8=(()=>{class n{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(t){return new(t||n)(le(W1))},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[gy,T1]]}),n})();function z1(n,e){return{type:7,name:n,definitions:e,options:{}}}function x0(n,e=null){return{type:4,styles:e,timings:n}}function Jo(n){return{type:6,styles:n,offset:null}}function O0(n,e,t){return{type:0,name:n,styles:e,options:t}}function h8(n){return{type:5,steps:n}}function R0(n,e,t=null){return{type:1,expr:n,animation:e,options:t}}function K1(){return"undefined"!=typeof window&&void 0!==window.document}function F0(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}let V0=(n,e)=>!1,B0=(n,e)=>!1,X1=(n,e,t)=>[];const J1=F0();(J1||"undefined"!=typeof Element)&&(V0=K1()?(n,e)=>{for(;e&&e!==document.documentElement;){if(e===n)return!0;e=e.parentNode||e.host}return!1}:(n,e)=>n.contains(e),B0=(()=>{if(J1||Element.prototype.matches)return(n,e)=>n.matches(e);{const n=Element.prototype,e=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;return e?(t,r)=>e.apply(t,[r]):B0}})(),X1=(n,e,t)=>{let r=[];if(t){const i=n.querySelectorAll(e);for(let s=0;s<i.length;s++)r.push(i[s])}else{const i=n.querySelector(e);i&&r.push(i)}return r});const jy=new Le("AnimationModuleType"),WM=new wl("13.0.1"),VH=new Le("mat-sanity-checks",{providedIn:"root",factory:function LH(){return!0}});let lo=(()=>{class n{constructor(t,r,i){this._hasDoneGlobalChecks=!1,this._document=i,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=r,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!(!QE()||T0())&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}_checkDoctypeIsDefined(){this._checkIsEnabled("doctype")&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checkIsEnabled("theme")||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const r=getComputedStyle(t);r&&"none"!==r.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),t.remove()}_checkCdkVersionMatch(){this._checkIsEnabled("version")&&WM.full!==M1.full&&console.warn("The Angular Material version ("+WM.full+") does not match the Angular CDK version ("+M1.full+").\nPlease ensure the versions of these two packages exactly match.")}}return n.\u0275fac=function(t){return new(t||n)(le(W1),le(VH,8),le(Tt))},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[Fp],Fp]}),n})();function BH(n){return class extends n{constructor(...e){super(...e),this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=yy(e)}}}function GM(n,e){return class extends n{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const r=t||this.defaultColor;r!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),r&&this._elementRef.nativeElement.classList.add(`mat-${r}`),this._color=r)}}}function HH(n){return class extends n{constructor(...e){super(...e),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=yy(e)}}}let UH=(()=>{class n{isErrorState(t,r){return!!(t&&t.invalid&&(t.touched||r&&r.submitted))}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class WH{constructor(e,t,r){this._renderer=e,this.element=t,this.config=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const zM={enterDuration:225,exitDuration:150},cD=kp({passive:!0}),qM=["mousedown","touchstart"],$M=["mouseup","mouseleave","touchend","touchcancel"];class zH{constructor(e,t,r,i){this._target=e,this._ngZone=t,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Kd(r))}fadeInRipple(e,t,r={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},zM),r.animation);r.centered&&(e=i.left+i.width/2,t=i.top+i.height/2);const o=r.radius||function $H(n,e,t){const r=Math.max(Math.abs(n-t.left),Math.abs(n-t.right)),i=Math.max(Math.abs(e-t.top),Math.abs(e-t.bottom));return Math.sqrt(r*r+i*i)}(e,t,i),l=e-i.left,c=t-i.top,f=s.enterDuration,h=document.createElement("div");h.classList.add("mat-ripple-element"),h.style.left=l-o+"px",h.style.top=c-o+"px",h.style.height=2*o+"px",h.style.width=2*o+"px",null!=r.color&&(h.style.backgroundColor=r.color),h.style.transitionDuration=`${f}ms`,this._containerElement.appendChild(h),function qH(n){window.getComputedStyle(n).getPropertyValue("opacity")}(h),h.style.transform="scale(1)";const m=new WH(this,h,r);return m.state=0,this._activeRipples.add(m),r.persistent||(this._mostRecentTransientRipple=m),this._runTimeoutOutsideZone(()=>{const y=m===this._mostRecentTransientRipple;m.state=1,!r.persistent&&(!y||!this._isPointerDown)&&m.fadeOut()},f),m}fadeOutRipple(e){const t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!t)return;const r=e.element,i=Object.assign(Object.assign({},zM),e.config.animation);r.style.transitionDuration=`${i.exitDuration}ms`,r.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(()=>{e.state=3,r.remove()},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){const t=Kd(e);!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(qM))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents($M),this._pointerUpEventsRegistered=!0)}_onMousedown(e){const t=L1(e),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!t&&!r&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!V1(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=e.changedTouches;for(let r=0;r<t.length;r++)this.fadeInRipple(t[r].clientX,t[r].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(e=>{!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}_runTimeoutOutsideZone(e,t=0){this._ngZone.runOutsideAngular(()=>setTimeout(e,t))}_registerEvents(e){this._ngZone.runOutsideAngular(()=>{e.forEach(t=>{this._triggerElement.addEventListener(t,this,cD)})})}_removeTriggerEvents(){this._triggerElement&&(qM.forEach(e=>{this._triggerElement.removeEventListener(e,this,cD)}),this._pointerUpEventsRegistered&&$M.forEach(e=>{this._triggerElement.removeEventListener(e,this,cD)}))}}const YH=new Le("mat-ripple-global-options");let YM=(()=>{class n{constructor(t,r,i,s,o){this._elementRef=t,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new zH(this,r,t,i)}get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,r=0,i){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,r,Object.assign(Object.assign({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return n.\u0275fac=function(t){return new(t||n)(de(mn),de(Zt),de(ao),de(YH,8),de(jy,8))},n.\u0275dir=ze({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,r){2&t&&xa("mat-ripple-unbounded",r.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),KH=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[lo,gy],lo]}),n})(),e4=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=ze({type:n,selectors:[["mat-label"]]}),n})(),dD=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[zd,lo,T1],lo]}),n})();function KM(n,e,t,r){return F(t)&&(r=t,t=void 0),r?KM(n,e,t).pipe(tt(i=>R(i)?r(...i):r(i))):new se(i=>{QM(n,e,function s(o){i.next(arguments.length>1?Array.prototype.slice.call(arguments):o)},i,t)})}function QM(n,e,t,r,i){let s;if(function r4(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const o=n;n.addEventListener(e,t,i),s=()=>o.removeEventListener(e,t,i)}else if(function n4(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const o=n;n.on(e,t),s=()=>o.off(e,t)}else if(function t4(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const o=n;n.addListener(e,t),s=()=>o.removeListener(e,t)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let o=0,l=n.length;o<l;o++)QM(n[o],e,t,r,i)}r.add(s)}new class o4 extends oo{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let r,i=-1,s=t.length;e=e||t.shift();do{if(r=e.execute(e.state,e.delay))break}while(++i<s&&(e=t.shift()));if(this.active=!1,r){for(;++i<s&&(e=t.shift());)e.unsubscribe();throw r}}}(class s4 extends iy{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,r=0){return null!==r&&r>0?super.requestAsyncId(e,t,r):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,r=0){if(null!==r&&r>0||null===r&&this.delay>0)return super.recycleAsyncId(e,t,r);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}});let l4=1;const u4=Promise.resolve(),Uy={};function ZM(n){return n in Uy&&(delete Uy[n],!0)}const XM={setImmediate(n){const e=l4++;return Uy[e]=!0,u4.then(()=>ZM(e)&&n()),e},clearImmediate(n){ZM(n)}};new class d4 extends oo{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let r,i=-1,s=t.length;e=e||t.shift();do{if(r=e.execute(e.state,e.delay))break}while(++i<s&&(e=t.shift()));if(this.active=!1,r){for(;++i<s&&(e=t.shift());)e.unsubscribe();throw r}}}(class c4 extends iy{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,r=0){return null!==r&&r>0?super.requestAsyncId(e,t,r):(e.actions.push(this),e.scheduled||(e.scheduled=XM.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,r=0){if(null!==r&&r>0||null===r&&this.delay>0)return super.recycleAsyncId(e,t,r);0===e.actions.length&&(XM.clearImmediate(t),e.scheduled=void 0)}});class p4{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new m4(e,this.durationSelector))}}class m4 extends fo{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let t;try{const{durationSelector:i}=this;t=i(e)}catch(i){return this.destination.error(i)}const r=gn(t,new co(this));!r||r.closed?this.clearThrottle():this.add(this.throttled=r)}}clearThrottle(){const{value:e,hasValue:t,throttled:r}=this;r&&(this.remove(r),this.throttled=void 0,r.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function JM(n){return!R(n)&&n-parseFloat(n)+1>=0}function _4(n){const{index:e,period:t,subscriber:r}=n;if(r.next(e),!r.closed){if(-1===t)return r.complete();n.index=e+1,this.schedule(n,t)}}function ex(n,e=QC){return function h4(n){return function(t){return t.lift(new p4(n))}}(()=>function g4(n=0,e,t){let r=-1;return JM(e)?r=Number(e)<1?1:Number(e):st(e)&&(t=e),st(t)||(t=QC),new se(i=>{const s=JM(n)?n:+n-t.now();return t.schedule(_4,s,{index:0,period:r,subscriber:i})})}(n,e))}function tx(n,e){return function(r){return r.lift(new y4(n,e))}}class y4{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new v4(e,this.predicate,this.thisArg))}}class v4 extends E{constructor(e,t,r){super(e),this.predicate=t,this.thisArg=r,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(r){return void this.destination.error(r)}t&&this.destination.next(e)}}let nx=(()=>{class n{constructor(t,r,i){this._ngZone=t,this._platform=r,this._scrolled=new ye,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const r=this.scrollContainers.get(t);r&&(r.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new se(r=>{this._globalSubscription||this._addGlobalListener();const i=t>0?this._scrolled.pipe(ex(t)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Qo()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(t,r){const i=this.getAncestorScrollContainers(t);return this.scrolled(r).pipe(tx(s=>!s||i.indexOf(s)>-1))}getAncestorScrollContainers(t){const r=[];return this.scrollContainers.forEach((i,s)=>{this._scrollableContainsElement(s,t)&&r.push(s)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,r){let i=Kd(r),s=t.getElementRef().nativeElement;do{if(i==s)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>KM(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(t){return new(t||n)(le(Zt),le(ao),le(Tt,8))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),rx=(()=>{class n{constructor(t,r,i){this._platform=t,this._change=new ye,this._changeListener=s=>{this._change.next(s)},this._document=i,r.runOutsideAngular(()=>{if(t.isBrowser){const s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:r,height:i}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+r,height:i,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,r=this._getWindow(),i=t.documentElement,s=i.getBoundingClientRect();return{top:-s.top||t.body.scrollTop||r.scrollY||i.scrollTop||0,left:-s.left||t.body.scrollLeft||r.scrollX||i.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(ex(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(t){return new(t||n)(le(ao),le(Zt),le(Tt,8))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),fD=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({}),n})(),ix=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[Fp,gy,fD],Fp,fD]}),n})();class hD{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class sx extends hD{constructor(e,t,r,i){super(),this.component=e,this.viewContainerRef=t,this.injector=r,this.componentFactoryResolver=i}}class C4 extends hD{constructor(e,t,r){super(),this.templateRef=e,this.viewContainerRef=t,this.context=r}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class D4 extends hD{constructor(e){super(),this.element=e instanceof mn?e.nativeElement:e}}class S4 extends class w4{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof sx?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof C4?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof D4?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}{constructor(e,t,r,i,s){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=r,this._defaultInjector=i,this.attachDomPortal=o=>{const l=o.element,c=this._document.createComment("dom-portal");l.parentNode.insertBefore(c,l),this.outletElement.appendChild(l),this._attachedPortal=o,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(l,c)})},this._document=s}attachComponentPortal(e){const r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let i;return e.viewContainerRef?(i=e.viewContainerRef.createComponent(r,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>i.destroy())):(i=r.create(e.injector||this._defaultInjector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=e,i}attachTemplatePortal(e){let t=e.viewContainerRef,r=t.createEmbeddedView(e.templateRef,e.context);return r.rootNodes.forEach(i=>this.outletElement.appendChild(i)),r.detectChanges(),this.setDisposeFn(()=>{let i=t.indexOf(r);-1!==i&&t.remove(i)}),this._attachedPortal=e,r}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let A4=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({}),n})();const T4=(()=>{function n(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return n.prototype=Object.create(Error.prototype),n})(),I4=new se(n=>n.complete());function ox(n){return n?function M4(n){return new se(e=>n.schedule(()=>e.complete()))}(n):I4}function Wy(n){return e=>0===n?ox():e.lift(new x4(n))}class x4{constructor(e){if(this.total=e,this.total<0)throw new T4}call(e,t){return t.subscribe(new O4(e,this.total))}}class O4 extends E{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,r=++this.count;r<=t&&(this.destination.next(e),r===t&&(this.destination.complete(),this.unsubscribe()))}}const ax=R3();class R4{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Vn(-this._previousScrollPosition.left),e.style.top=Vn(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,r=e.style,i=this._document.body.style,s=r.scrollBehavior||"",o=i.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),ax&&(r.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ax&&(r.scrollBehavior=s,i.scrollBehavior=o)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,r=this._viewportRuler.getViewportSize();return t.scrollHeight>r.height||t.scrollWidth>r.width}}class P4{constructor(e,t,r,i){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=r,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class lx{enable(){}disable(){}attach(){}}function pD(n,e){return e.some(t=>n.bottom<t.top||n.top>t.bottom||n.right<t.left||n.left>t.right)}function ux(n,e){return e.some(t=>n.top<t.top||n.bottom>t.bottom||n.left<t.left||n.right>t.right)}class F4{constructor(e,t,r,i){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=r,this._config=i,this._scrollSubscription=null}attach(e){this._overlayRef=e}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:i}=this._viewportRuler.getViewportSize();pD(t,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let N4=(()=>{class n{constructor(t,r,i,s){this._scrollDispatcher=t,this._viewportRuler=r,this._ngZone=i,this.noop=()=>new lx,this.close=o=>new P4(this._scrollDispatcher,this._ngZone,this._viewportRuler,o),this.block=()=>new R4(this._viewportRuler,this._document),this.reposition=o=>new F4(this._scrollDispatcher,this._viewportRuler,this._ngZone,o),this._document=s}}return n.\u0275fac=function(t){return new(t||n)(le(nx),le(rx),le(Zt),le(Tt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class k4{constructor(e){if(this.scrollStrategy=new lx,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const r of t)void 0!==e[r]&&(this[r]=e[r])}}}class L4{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}class V4{constructor(e,t,r,i,s,o,l,c,f){this._portalOutlet=e,this._host=t,this._pane=r,this._config=i,this._ngZone=s,this._keyboardDispatcher=o,this._document=l,this._location=c,this._outsideClickDispatcher=f,this._backdropElement=null,this._backdropClick=new ye,this._attachments=new ye,this._detachments=new ye,this._locationChanges=w.EMPTY,this._backdropClickHandler=h=>this._backdropClick.next(h),this._keydownEvents=new ye,this._outsidePointerEvents=new ye,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){let t=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Wy(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){var e;const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(e=this._host)||void 0===e||e.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=Vn(this._config.width),e.height=Vn(this._config.height),e.minWidth=Vn(this._config.minWidth),e.minHeight=Vn(this._config.minHeight),e.maxWidth=Vn(this._config.maxWidth),e.maxHeight=Vn(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){const e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const e=this._backdropElement;if(!e)return;let t;const r=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",r),this._disposeBackdrop(e)),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",r)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(r,500))}_toggleClasses(e,t,r){const i=vy(t||[]).filter(s=>!!s);i.length&&(r?e.classList.add(...i):e.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe(Zo(ps(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.remove(),this._backdropElement===e&&(this._backdropElement=null))}}let cx=(()=>{class n{constructor(t,r){this._platform=r,this._document=t}ngOnDestroy(){var t;null===(t=this._containerElement)||void 0===t||t.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||T0()){const i=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let s=0;s<i.length;s++)i[s].remove()}const r=this._document.createElement("div");r.classList.add(t),T0()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}}return n.\u0275fac=function(t){return new(t||n)(le(Tt),le(ao))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const dx="cdk-overlay-connected-position-bounding-box",B4=/([A-Za-z%]+)$/;class H4{constructor(e,t,r,i,s){this._viewportRuler=t,this._document=r,this._platform=i,this._overlayContainer=s,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new ye,this._resizeSubscription=w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._validatePositions(),e.hostElement.classList.add(dx),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const e=this._originRect,t=this._overlayRect,r=this._viewportRect,i=[];let s;for(let o of this._preferredPositions){let l=this._getOriginPoint(e,o),c=this._getOverlayPoint(l,t,o),f=this._getOverlayFit(c,t,r,o);if(f.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(o,l);this._canFitWithFlexibleDimensions(f,c,r)?i.push({position:o,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,o)}):(!s||s.overlayFit.visibleArea<f.visibleArea)&&(s={overlayFit:f,overlayPoint:c,originPoint:l,position:o,overlayRect:t})}if(i.length){let o=null,l=-1;for(const c of i){const f=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);f>l&&(l=f,o=c)}return this._isPushed=!1,void this._applyPosition(o.position,o.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&nc(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(dx),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t){let r,i;if("center"==t.originX)r=e.left+e.width/2;else{const s=this._isRtl()?e.right:e.left,o=this._isRtl()?e.left:e.right;r="start"==t.originX?s:o}return i="center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom,{x:r,y:i}}_getOverlayPoint(e,t,r){let i,s;return i="center"==r.overlayX?-t.width/2:"start"===r.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,s="center"==r.overlayY?-t.height/2:"top"==r.overlayY?0:-t.height,{x:e.x+i,y:e.y+s}}_getOverlayFit(e,t,r,i){const s=hx(t);let{x:o,y:l}=e,c=this._getOffset(i,"x"),f=this._getOffset(i,"y");c&&(o+=c),f&&(l+=f);let y=0-l,D=l+s.height-r.height,O=this._subtractOverflows(s.width,0-o,o+s.width-r.width),$=this._subtractOverflows(s.height,y,D),W=O*$;return{visibleArea:W,isCompletelyWithinViewport:s.width*s.height===W,fitsInViewportVertically:$===s.height,fitsInViewportHorizontally:O==s.width}}_canFitWithFlexibleDimensions(e,t,r){if(this._hasFlexibleDimensions){const i=r.bottom-t.y,s=r.right-t.x,o=fx(this._overlayRef.getConfig().minHeight),l=fx(this._overlayRef.getConfig().minWidth),f=e.fitsInViewportHorizontally||null!=l&&l<=s;return(e.fitsInViewportVertically||null!=o&&o<=i)&&f}return!1}_pushOverlayOnScreen(e,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const i=hx(t),s=this._viewportRect,o=Math.max(e.x+i.width-s.width,0),l=Math.max(e.y+i.height-s.height,0),c=Math.max(s.top-r.top-e.y,0),f=Math.max(s.left-r.left-e.x,0);let h=0,m=0;return h=i.width<=s.width?f||-o:e.x<this._viewportMargin?s.left-r.left-e.x:0,m=i.height<=s.height?c||-l:e.y<this._viewportMargin?s.top-r.top-e.y:0,this._previousPushAmount={x:h,y:m},{x:e.x+h,y:e.y+m}}_applyPosition(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){const r=this._getScrollVisibility(),i=new L4(e,r);this._positionChanges.next(i)}this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let r,i=e.overlayY;r="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(let s=0;s<t.length;s++)t[s].style.transformOrigin=`${r} ${i}`}_calculateBoundingBoxRect(e,t){const r=this._viewportRect,i=this._isRtl();let s,o,l,h,m,y;if("top"===t.overlayY)o=e.y,s=r.height-o+this._viewportMargin;else if("bottom"===t.overlayY)l=r.height-e.y+2*this._viewportMargin,s=r.height-l+this._viewportMargin;else{const D=Math.min(r.bottom-e.y+r.top,e.y),O=this._lastBoundingBoxSize.height;s=2*D,o=e.y-D,s>O&&!this._isInitialRender&&!this._growAfterOpen&&(o=e.y-O/2)}if("end"===t.overlayX&&!i||"start"===t.overlayX&&i)y=r.width-e.x+this._viewportMargin,h=e.x-this._viewportMargin;else if("start"===t.overlayX&&!i||"end"===t.overlayX&&i)m=e.x,h=r.right-e.x;else{const D=Math.min(r.right-e.x+r.left,e.x),O=this._lastBoundingBoxSize.width;h=2*D,m=e.x-D,h>O&&!this._isInitialRender&&!this._growAfterOpen&&(m=e.x-O/2)}return{top:o,left:m,bottom:l,right:y,width:h,height:s}}_setBoundingBoxStyles(e,t){const r=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const s=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;i.height=Vn(r.height),i.top=Vn(r.top),i.bottom=Vn(r.bottom),i.width=Vn(r.width),i.left=Vn(r.left),i.right=Vn(r.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",s&&(i.maxHeight=Vn(s)),o&&(i.maxWidth=Vn(o))}this._lastBoundingBoxSize=r,nc(this._boundingBox.style,i)}_resetBoundingBoxStyles(){nc(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){nc(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const r={},i=this._hasExactPosition(),s=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){const h=this._viewportRuler.getViewportScrollPosition();nc(r,this._getExactOverlayY(t,e,h)),nc(r,this._getExactOverlayX(t,e,h))}else r.position="static";let l="",c=this._getOffset(t,"x"),f=this._getOffset(t,"y");c&&(l+=`translateX(${c}px) `),f&&(l+=`translateY(${f}px)`),r.transform=l.trim(),o.maxHeight&&(i?r.maxHeight=Vn(o.maxHeight):s&&(r.maxHeight="")),o.maxWidth&&(i?r.maxWidth=Vn(o.maxWidth):s&&(r.maxWidth="")),nc(this._pane.style,r)}_getExactOverlayY(e,t,r){let i={top:"",bottom:""},s=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,r));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=o,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":i.top=Vn(s.y),i}_getExactOverlayX(e,t,r){let o,i={left:"",right:""},s=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,r)),o=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===o?i.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":i.left=Vn(s.x),i}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ux(e,r),isOriginOutsideView:pD(e,r),isOverlayClipped:ux(t,r),isOverlayOutsideView:pD(t,r)}}_subtractOverflows(e,...t){return t.reduce((r,i)=>r-Math.max(i,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+e-this._viewportMargin,bottom:r.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&vy(e).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof mn)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const t=e.width||0,r=e.height||0;return{top:e.y,bottom:e.y+r,left:e.x,right:e.x+t,height:r,width:t}}}function nc(n,e){for(let t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function fx(n){if("number"!=typeof n&&null!=n){const[e,t]=n.split(B4);return t&&"px"!==t?null:parseFloat(e)}return n||null}function hx(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const px="cdk-global-overlay-wrapper";class j4{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(e){const t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(px),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._justifyContent="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:i,height:s,maxWidth:o,maxHeight:l}=r,c=!("100%"!==i&&"100vw"!==i||o&&"100%"!==o&&"100vw"!==o),f=!("100%"!==s&&"100vh"!==s||l&&"100%"!==l&&"100vh"!==l);e.position=this._cssPosition,e.marginLeft=c?"0":this._leftOffset,e.marginTop=f?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,c?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=f?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(px),r.justifyContent=r.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let U4=(()=>{class n{constructor(t,r,i,s){this._viewportRuler=t,this._document=r,this._platform=i,this._overlayContainer=s}global(){return new j4}flexibleConnectedTo(t){return new H4(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(t){return new(t||n)(le(rx),le(Tt),le(ao),le(cx))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),mx=(()=>{class n{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const r=this._attachedOverlays.indexOf(t);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(t){return new(t||n)(le(Tt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),W4=(()=>{class n extends mx{constructor(t){super(t),this._keydownListener=r=>{const i=this._attachedOverlays;for(let s=i.length-1;s>-1;s--)if(i[s]._keydownEvents.observers.length>0){i[s]._keydownEvents.next(r);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(t){return new(t||n)(le(Tt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),G4=(()=>{class n extends mx{constructor(t,r){super(t),this._platform=r,this._cursorStyleIsSet=!1,this._pointerDownListener=i=>{this._pointerDownEventTarget=Zu(i)},this._clickListener=i=>{const s=Zu(i),o="click"===i.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const f=l[c];if(!(f._outsidePointerEvents.observers.length<1)&&f.hasAttached()){if(f.overlayElement.contains(s)||f.overlayElement.contains(o))break;f._outsidePointerEvents.next(i)}}}}add(t){if(super.add(t),!this._isAttached){const r=this._document.body;r.addEventListener("pointerdown",this._pointerDownListener,!0),r.addEventListener("click",this._clickListener,!0),r.addEventListener("auxclick",this._clickListener,!0),r.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return n.\u0275fac=function(t){return new(t||n)(le(Tt),le(ao))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),z4=0,Gy=(()=>{class n{constructor(t,r,i,s,o,l,c,f,h,m,y){this.scrollStrategies=t,this._overlayContainer=r,this._componentFactoryResolver=i,this._positionBuilder=s,this._keyboardDispatcher=o,this._injector=l,this._ngZone=c,this._document=f,this._directionality=h,this._location=m,this._outsideClickDispatcher=y}create(t){const r=this._createHostElement(),i=this._createPaneElement(r),s=this._createPortalOutlet(i),o=new k4(t);return o.direction=o.direction||this._directionality.value,new V4(s,r,i,o,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const r=this._document.createElement("div");return r.id="cdk-overlay-"+z4++,r.classList.add("cdk-overlay-pane"),t.appendChild(r),r}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Uu)),new S4(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(t){return new(t||n)(le(N4),le(cx),le(Oa),le(U4),le(W4),le(Ht),le(Zt),le(Tt),le(I1),le(UT),le(G4))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();const Y4={provide:new Le("cdk-connected-overlay-scroll-strategy"),deps:[Gy],useFactory:function $4(n){return()=>n.scrollStrategies.reposition()}};let K4=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:[Gy,Y4],imports:[[Fp,A4,ix],ix]}),n})();class Q4 extends E{notifyNext(e,t,r,i,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class Z4 extends E{constructor(e,t,r){super(),this.parent=e,this.outerValue=t,this.outerIndex=r,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function X4(n,e,t,r,i=new Z4(n,t,r)){if(!i.closed)return e instanceof se?e.subscribe(i):ra(e)(i)}const gx={};class e5{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new t5(e,this.resultSelector))}}class t5 extends Q4{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(gx),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let r=0;r<t;r++)this.add(X4(this,e[r],void 0,r))}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,r){const i=this.values,o=this.toRespond?i[r]===gx?--this.toRespond:this.toRespond:0;i[r]=t,0===o&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(r){return void this.destination.error(r)}this.destination.next(t)}}function mD(...n){return function n5(){return hs(1)}()(Qo(...n))}function r5(...n){const e=n[n.length-1];return st(e)?(n.pop(),t=>mD(n,t,e)):t=>mD(n,t)}const _x=new Set;let ef,s5=(()=>{class n{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):a5}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function o5(n){if(!_x.has(n))try{ef||(ef=document.createElement("style"),ef.setAttribute("type","text/css"),document.head.appendChild(ef)),ef.sheet&&(ef.sheet.insertRule(`@media ${n} {body{ }}`,0),_x.add(n))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return n.\u0275fac=function(t){return new(t||n)(le(ao))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function a5(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let l5=(()=>{class n{constructor(t,r){this._mediaMatcher=t,this._zone=r,this._queries=new Map,this._destroySubject=new ye}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return yx(vy(t)).some(i=>this._registerQuery(i).mql.matches)}observe(t){let s=function J4(...n){let e,t;return st(n[n.length-1])&&(t=n.pop()),"function"==typeof n[n.length-1]&&(e=n.pop()),1===n.length&&R(n[0])&&(n=n[0]),Bl(n,t).lift(new e5(e))}(yx(vy(t)).map(o=>this._registerQuery(o).observable));return s=mD(s.pipe(Wy(1)),s.pipe(O1(1),bI(0))),s.pipe(tt(o=>{const l={matches:!1,breakpoints:{}};return o.forEach(({matches:c,query:f})=>{l.matches=l.matches||c,l.breakpoints[f]=c}),l}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const r=this._mediaMatcher.matchMedia(t),s={observable:new se(o=>{const l=c=>this._zone.run(()=>o.next(c));return r.addListener(l),()=>{r.removeListener(l)}}).pipe(r5(r),tt(({matches:o})=>({query:t,matches:o})),Zo(this._destroySubject)),mql:r};return this._queries.set(t,s),s}}return n.\u0275fac=function(t){return new(t||n)(le(s5),le(Zt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function yx(n){return n.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}const c5={tooltipState:z1("state",[O0("initial, void, hidden",Jo({opacity:0,transform:"scale(0)"})),O0("visible",Jo({transform:"scale(1)"})),R0("* => visible",x0("200ms cubic-bezier(0, 0, 0.2, 1)",h8([Jo({opacity:0,transform:"scale(0)",offset:0}),Jo({opacity:.5,transform:"scale(0.99)",offset:.5}),Jo({opacity:1,transform:"scale(1)",offset:1})]))),R0("* => hidden",x0("100ms cubic-bezier(0, 0, 0.2, 1)",Jo({opacity:0})))])},vx="tooltip-panel",bx=kp({passive:!0}),Ex=new Le("mat-tooltip-scroll-strategy"),p5={provide:Ex,deps:[Gy],useFactory:function h5(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},m5=new Le("mat-tooltip-default-options",{providedIn:"root",factory:function g5(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let _5=(()=>{class n{constructor(t,r,i,s,o,l,c,f,h,m,y,D){this._overlay=t,this._elementRef=r,this._scrollDispatcher=i,this._viewContainerRef=s,this._ngZone=o,this._platform=l,this._ariaDescriber=c,this._focusMonitor=f,this._dir=m,this._defaultOptions=y,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new ye,this._handleKeydown=O=>{this._isTooltipVisible()&&27===O.keyCode&&!function U3(n,...e){return e.length?e.some(t=>n[t]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}(O)&&(O.preventDefault(),O.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=h,this._document=D,y&&(y.position&&(this.position=y.position),y.touchGestures&&(this.touchGestures=y.touchGestures)),m.change.pipe(Zo(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),o.runOutsideAngular(()=>{r.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){var r;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(r=this._tooltipInstance)||void 0===r||r.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=yy(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Zo(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([r,i])=>{t.removeEventListener(r,i,bx)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const r=this._createOverlay();this._detach(),this._portal=this._portal||new sx(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=r.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Zo(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return r.positionChanges.pipe(Zo(this._destroyed)).subscribe(i=>{this._updateCurrentPositionClass(i.connectionPair),this._tooltipInstance&&i.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${vx}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Zo(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Zo(this._destroyed)).subscribe(()=>{var i;return null===(i=this._tooltipInstance)||void 0===i?void 0:i._handleBodyInteraction()}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){const r=t.getConfig().positionStrategy,i=this._getOrigin(),s=this._getOverlayPosition();r.withPositions([this._addOffset(Object.assign(Object.assign({},i.main),s.main)),this._addOffset(Object.assign(Object.assign({},i.fallback),s.fallback))])}_addOffset(t){return t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,r=this.position;let i;"above"==r||"below"==r?i={originX:"center",originY:"above"==r?"top":"bottom"}:"before"==r||"left"==r&&t||"right"==r&&!t?i={originX:"start",originY:"center"}:("after"==r||"right"==r&&t||"left"==r&&!t)&&(i={originX:"end",originY:"center"});const{x:s,y:o}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:s,originY:o}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,r=this.position;let i;"above"==r?i={overlayX:"center",overlayY:"bottom"}:"below"==r?i={overlayX:"center",overlayY:"top"}:"before"==r||"left"==r&&t||"right"==r&&!t?i={overlayX:"end",overlayY:"center"}:("after"==r||"right"==r&&t||"left"==r&&!t)&&(i={overlayX:"start",overlayY:"center"});const{x:s,y:o}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:s,overlayY:o}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Wy(1),Zo(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,r){return"above"===this.position||"below"===this.position?"top"===r?r="bottom":"bottom"===r&&(r="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:r}}_updateCurrentPositionClass(t){const{overlayY:r,originX:i,originY:s}=t;let o;if(o="center"===r?this._dir&&"rtl"===this._dir.value?"end"===i?"left":"right":"start"===i?"left":"right":"bottom"===r&&"top"===s?"above":"below",o!==this._currentPosition){const l=this._overlayRef;if(l){const c=`${this._cssClassPrefix}-${vx}-`;l.removePanelClass(c+this._currentPosition),l.addPanelClass(c+o)}this._currentPosition=o}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()],["wheel",r=>this._wheelListener(r)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const r=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",r],["touchcancel",r])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([r,i])=>{this._elementRef.nativeElement.addEventListener(r,i,bx)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const r=this._document.elementFromPoint(t.clientX,t.clientY),i=this._elementRef.nativeElement;r!==i&&!i.contains(r)&&this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const r=this._elementRef.nativeElement,i=r.style;("on"===t||"INPUT"!==r.nodeName&&"TEXTAREA"!==r.nodeName)&&(i.userSelect=i.msUserSelect=i.webkitUserSelect=i.MozUserSelect="none"),("on"===t||!r.draggable)&&(i.webkitUserDrag="none"),i.touchAction="none",i.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(t){!function bw(){throw new Error("invalid")}()},n.\u0275dir=ze({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),y5=(()=>{class n extends _5{constructor(t,r,i,s,o,l,c,f,h,m,y,D){super(t,r,i,s,o,l,c,f,h,m,y,D),this._tooltipComponent=b5}}return n.\u0275fac=function(t){return new(t||n)(de(Gy),de(mn),de(nx),de(Xs),de(Zt),de(ao),de(e8),de(H1),de(Ex),de(I1,8),de(m5,8),de(Tt))},n.\u0275dir=ze({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[Re]}),n})(),v5=(()=>{class n{constructor(t){this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new ye}show(t){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},t)}hide(t){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},t)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const r=t.toState;"hidden"===r&&!this.isVisible()&&this._onHide.next(),("visible"===r||"hidden"===r)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return n.\u0275fac=function(t){return new(t||n)(de(Vd))},n.\u0275dir=ze({type:n}),n})(),b5=(()=>{class n extends v5{constructor(t,r){super(t),this._breakpointObserver=r,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return n.\u0275fac=function(t){return new(t||n)(de(Vd),de(l5))},n.\u0275cmp=vs({type:n,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,r){2&t&&d_("zoom","visible"===r._visibility?1:null)},features:[Re],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,r){if(1&t&&(Ni(0,"div",0),ti("@state.start",function(){return r._animationStart()})("@state.done",function(s){return r._animationDone(s)}),function nA(n,e){const t=gt();let r;const i=n+20;t.firstCreatePass?(r=function DP(n,e){if(e)for(let t=e.length-1;t>=0;t--){const r=e[t];if(n===r.name)return r}throw new gs("302",`The pipe '${n}' could not be found!`)}(e,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(i,r.onDestroy)):r=t.data[i];const s=r.factory||(r.factory=Xn(r.type)),o=Yn(de);try{const l=ou(!1),c=s();return ou(l),function Hx(n,e,t,r){t>=n.data.length&&(n.data[t]=null,n.blueprint[t]=null),e[t]=r}(t,ge(),i,c),c}finally{Yn(o)}}(1,"async"),Td(2),ki()),2&t){let i;xa("mat-tooltip-handset",null==(i=function rA(n,e,t){const r=n+20,i=ge(),s=Ir(i,r);return function ip(n,e){return n[1].data[e].pure}(i,r)?ZS(i,x(),e,s.transform,t,s):s.transform(t)}(1,5,r._isHandset))?null:i.matches),Ks("ngClass",r.tooltipClass)("@state",r._visibility),Qr(2),yE(r.message)}},directives:[FC],pipes:[nI],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[c5.tooltipState]},changeDetection:0}),n})(),E5=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:[p5],imports:[[d8,zd,K4,lo],lo,fD]}),n})();const C5=["mat-button",""],D5=["*"],S5=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],A5=GM(BH(HH(class{constructor(n){this._elementRef=n}})));let T5=(()=>{class n extends A5{constructor(t,r,i){super(t),this._focusMonitor=r,this._animationMode=i,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const s of S5)this._hasHostAttributes(s)&&this._getHostElement().classList.add(s);t.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,r){t?this._focusMonitor.focusVia(this._getHostElement(),t,r):this._getHostElement().focus(r)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(r=>this._getHostElement().hasAttribute(r))}}return n.\u0275fac=function(t){return new(t||n)(de(mn),de(H1),de(jy,8))},n.\u0275cmp=vs({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,r){if(1&t&&Fd(YM,5),2&t){let i;Pd(i=Nd())&&(r.ripple=i.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,r){2&t&&(Ys("disabled",r.disabled||null),xa("_mat-animation-noopable","NoopAnimations"===r._animationMode)("mat-button-disabled",r.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Re],attrs:C5,ngContentSelectors:D5,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,r){1&t&&(hE(),Ni(0,"span",0),pE(1),ki(),Dl(2,"span",1),Dl(3,"span",2)),2&t&&(Qr(2),xa("mat-button-ripple-round",r.isRoundButton||r.isIconButton),Ks("matRippleDisabled",r._isRippleDisabled())("matRippleCentered",r.isIconButton)("matRippleTrigger",r._getHostElement()))},directives:[YM],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),n})(),I5=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[KH,lo],lo]}),n})();function Cx(n,e){return new se(e?t=>e.schedule(M5,0,{error:n,subscriber:t}):t=>t.error(n))}function M5({error:n,subscriber:e}){e.error(n)}function Fl(){}function gD(n,e,t){return function(i){return i.lift(new x5(n,e,t))}}class x5{constructor(e,t,r){this.nextOrObserver=e,this.error=t,this.complete=r}call(e,t){return t.subscribe(new O5(e,this.nextOrObserver,this.error,this.complete))}}class O5 extends E{constructor(e,t,r,i){super(e),this._tapNext=Fl,this._tapError=Fl,this._tapComplete=Fl,this._tapError=r||Fl,this._tapComplete=i||Fl,F(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Fl,this._tapError=t.error||Fl,this._tapComplete=t.complete||Fl)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}class P5{constructor(e){this.selector=e}call(e,t){return t.subscribe(new F5(e,this.selector,this.caught))}}class F5 extends fo{constructor(e,t,r){super(e),this.selector=t,this.caught=r}error(e){if(!this.isStopped){let t;try{t=this.selector(e,this.caught)}catch(s){return void super.error(s)}this._unsubscribeAndRecycle();const r=new co(this);this.add(r);const i=gn(t,r);i!==r&&this.add(i)}}}class k5{constructor(e){this.callback=e}call(e,t){return t.subscribe(new L5(e,this.callback))}}class L5 extends E{constructor(e,t){super(e),this.add(new w(t))}}class B5{}class Nl{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const i=t.slice(0,r),s=i.toLowerCase(),o=t.slice(r+1).trim();this.maybeSetNormalizedName(i,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let r=e[t];const i=t.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(i,r),this.maybeSetNormalizedName(t,i))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof Nl?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new Nl;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Nl?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(e.name,t);const i=("a"===e.op?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case"d":const s=e.value;if(s){let o=this.headers.get(t);if(!o)return;o=o.filter(l=>-1===s.indexOf(l)),0===o.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,o)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class H5{encodeKey(e){return Dx(e)}encodeValue(e){return Dx(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const U5=/%(\d[a-f0-9])/gi,W5={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function Dx(n){return encodeURIComponent(n).replace(U5,(e,t)=>{var r;return null!==(r=W5[t])&&void 0!==r?r:e})}function wx(n){return`${n}`}class kl{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new H5,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function j5(n,e){const t=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{const s=i.indexOf("="),[o,l]=-1==s?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,s)),e.decodeValue(i.slice(s+1))],c=t.get(o)||[];c.push(l),t.set(o,c)}),t}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const r=e.fromObject[t];this.map.set(t,Array.isArray(r)?r:[r])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach(r=>{const i=e[r];Array.isArray(i)?i.forEach(s=>{t.push({param:r,value:s,op:"a"})}):t.push({param:r,value:i,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new kl({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(wx(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let r=this.map.get(e.param)||[];const i=r.indexOf(wx(e.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(e.param,r):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}class G5{constructor(){this.map=new Map}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}keys(){return this.map.keys()}}function Sx(n){return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer}function Ax(n){return"undefined"!=typeof Blob&&n instanceof Blob}function Tx(n){return"undefined"!=typeof FormData&&n instanceof FormData}class Hp{constructor(e,t,r,i){let s;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function z5(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,s=i):s=r,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new Nl),this.context||(this.context=new G5),this.params){const o=this.params.toString();if(0===o.length)this.urlWithParams=t;else{const l=t.indexOf("?");this.urlWithParams=t+(-1===l?"?":l<t.length-1?"&":"")+o}}else this.params=new kl,this.urlWithParams=t}serializeBody(){return null===this.body?null:Sx(this.body)||Ax(this.body)||Tx(this.body)||function q5(n){return"undefined"!=typeof URLSearchParams&&n instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof kl?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Tx(this.body)?null:Ax(this.body)?this.body.type||null:Sx(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof kl?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(e={}){var t;const r=e.method||this.method,i=e.url||this.url,s=e.responseType||this.responseType,o=void 0!==e.body?e.body:this.body,l=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,c=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let f=e.headers||this.headers,h=e.params||this.params;const m=null!==(t=e.context)&&void 0!==t?t:this.context;return void 0!==e.setHeaders&&(f=Object.keys(e.setHeaders).reduce((y,D)=>y.set(D,e.setHeaders[D]),f)),e.setParams&&(h=Object.keys(e.setParams).reduce((y,D)=>y.set(D,e.setParams[D]),h)),new Hp(r,i,o,{params:h,headers:f,context:m,reportProgress:c,responseType:s,withCredentials:l})}}var wr=(()=>((wr=wr||{})[wr.Sent=0]="Sent",wr[wr.UploadProgress=1]="UploadProgress",wr[wr.ResponseHeader=2]="ResponseHeader",wr[wr.DownloadProgress=3]="DownloadProgress",wr[wr.Response=4]="Response",wr[wr.User=5]="User",wr))();class _D extends class $5{constructor(e,t=200,r="OK"){this.headers=e.headers||new Nl,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}{constructor(e={}){super(e),this.type=wr.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new _D({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}function yD(n,e){return{body:e,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let Mx=(()=>{class n{constructor(t){this.handler=t}request(t,r,i={}){let s;if(t instanceof Hp)s=t;else{let c,f;c=i.headers instanceof Nl?i.headers:new Nl(i.headers),i.params&&(f=i.params instanceof kl?i.params:new kl({fromObject:i.params})),s=new Hp(t,r,void 0!==i.body?i.body:null,{headers:c,context:i.context,params:f,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const o=Qo(s).pipe(function V5(n,e){return or(n,e,1)}(c=>this.handler.handle(c)));if(t instanceof Hp||"events"===i.observe)return o;const l=o.pipe(tx(c=>c instanceof _D));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(tt(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(tt(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(tt(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return l.pipe(tt(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new kl).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,i={}){return this.request("PATCH",t,yD(i,r))}post(t,r,i={}){return this.request("POST",t,yD(i,r))}put(t,r,i={}){return this.request("PUT",t,yD(i,r))}}return n.\u0275fac=function(t){return new(t||n)(le(B5))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();const K5=["*"];let zy;function jp(n){var e;return(null===(e=function Q5(){if(void 0===zy&&(zy=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(zy=n.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return zy}())||void 0===e?void 0:e.createHTML(n))||n}function xx(n){return Error(`Unable to find icon with the name "${n}"`)}function Ox(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function Rx(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class rc{constructor(e,t,r){this.url=e,this.svgText=t,this.options=r}}let qy=(()=>{class n{constructor(t,r,i,s){this._httpClient=t,this._sanitizer=r,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=i}addSvgIcon(t,r,i){return this.addSvgIconInNamespace("",t,r,i)}addSvgIconLiteral(t,r,i){return this.addSvgIconLiteralInNamespace("",t,r,i)}addSvgIconInNamespace(t,r,i,s){return this._addSvgIconConfig(t,r,new rc(i,null,s))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,r,i,s){const o=this._sanitizer.sanitize(Pt.HTML,i);if(!o)throw Rx(i);const l=jp(o);return this._addSvgIconConfig(t,r,new rc("",l,s))}addSvgIconSet(t,r){return this.addSvgIconSetInNamespace("",t,r)}addSvgIconSetLiteral(t,r){return this.addSvgIconSetLiteralInNamespace("",t,r)}addSvgIconSetInNamespace(t,r,i){return this._addSvgIconSetConfig(t,new rc(r,null,i))}addSvgIconSetLiteralInNamespace(t,r,i){const s=this._sanitizer.sanitize(Pt.HTML,r);if(!s)throw Rx(r);const o=jp(s);return this._addSvgIconSetConfig(t,new rc("",o,i))}registerFontClassAlias(t,r=t){return this._fontCssClassesByAlias.set(t,r),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const r=this._sanitizer.sanitize(Pt.RESOURCE_URL,t);if(!r)throw Ox(t);const i=this._cachedIconsByUrl.get(r);return i?Qo($y(i)):this._loadSvgIconFromConfig(new rc(t,null)).pipe(gD(s=>this._cachedIconsByUrl.set(r,s)),tt(s=>$y(s)))}getNamedSvgIcon(t,r=""){const i=Px(r,t);let s=this._svgIconConfigs.get(i);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(r,t),s)return this._svgIconConfigs.set(i,s),this._getSvgFromConfig(s);const o=this._iconSetConfigs.get(r);return o?this._getSvgFromIconSetConfigs(t,o):Cx(xx(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?Qo($y(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(tt(r=>$y(r)))}_getSvgFromIconSetConfigs(t,r){const i=this._extractIconWithNameFromAnySet(t,r);if(i)return Qo(i);const s=r.filter(o=>!o.svgText).map(o=>this._loadSvgIconSetFromConfig(o).pipe(function R5(n){return function(t){const r=new P5(n),i=t.lift(r);return r.caught=i}}(l=>{const f=`Loading icon set URL: ${this._sanitizer.sanitize(Pt.RESOURCE_URL,o.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(f)),Qo(null)})));return EI(s).pipe(tt(()=>{const o=this._extractIconWithNameFromAnySet(t,r);if(!o)throw xx(t);return o}))}_extractIconWithNameFromAnySet(t,r){for(let i=r.length-1;i>=0;i--){const s=r[i];if(s.svgText&&s.svgText.toString().indexOf(t)>-1){const o=this._svgElementFromConfig(s),l=this._extractSvgIconFromSet(o,t,s.options);if(l)return l}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(gD(r=>t.svgText=r),tt(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?Qo(null):this._fetchIcon(t).pipe(gD(r=>t.svgText=r))}_extractSvgIconFromSet(t,r,i){const s=t.querySelector(`[id="${r}"]`);if(!s)return null;const o=s.cloneNode(!0);if(o.removeAttribute("id"),"svg"===o.nodeName.toLowerCase())return this._setSvgAttributes(o,i);if("symbol"===o.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(o),i);const l=this._svgElementFromString(jp("<svg></svg>"));return l.appendChild(o),this._setSvgAttributes(l,i)}_svgElementFromString(t){const r=this._document.createElement("DIV");r.innerHTML=t;const i=r.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(t){const r=this._svgElementFromString(jp("<svg></svg>")),i=t.attributes;for(let s=0;s<i.length;s++){const{name:o,value:l}=i[s];"id"!==o&&r.setAttribute(o,l)}for(let s=0;s<t.childNodes.length;s++)t.childNodes[s].nodeType===this._document.ELEMENT_NODE&&r.appendChild(t.childNodes[s].cloneNode(!0));return r}_setSvgAttributes(t,r){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),r&&r.viewBox&&t.setAttribute("viewBox",r.viewBox),t}_fetchIcon(t){var r;const{url:i,options:s}=t,o=null!==(r=null==s?void 0:s.withCredentials)&&void 0!==r&&r;if(!this._httpClient)throw function Z5(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==i)throw Error(`Cannot fetch icon from URL "${i}".`);const l=this._sanitizer.sanitize(Pt.RESOURCE_URL,i);if(!l)throw Ox(i);const c=this._inProgressUrlFetches.get(l);if(c)return c;const f=this._httpClient.get(l,{responseType:"text",withCredentials:o}).pipe(tt(h=>jp(h)),function N5(n){return e=>e.lift(new k5(n))}(()=>this._inProgressUrlFetches.delete(l)),oc());return this._inProgressUrlFetches.set(l,f),f}_addSvgIconConfig(t,r,i){return this._svgIconConfigs.set(Px(t,r),i),this}_addSvgIconSetConfig(t,r){const i=this._iconSetConfigs.get(t);return i?i.push(r):this._iconSetConfigs.set(t,[r]),this}_svgElementFromConfig(t){if(!t.svgElement){const r=this._svgElementFromString(t.svgText);this._setSvgAttributes(r,t.options),t.svgElement=r}return t.svgElement}_getIconConfigFromResolvers(t,r){for(let i=0;i<this._resolvers.length;i++){const s=this._resolvers[i](r,t);if(s)return J5(s)?new rc(s.url,null,s.options):new rc(s,null)}}}return n.\u0275fac=function(t){return new(t||n)(le(Mx,8),le(Sp),le(Tt,8),le(ts))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function $y(n){return n.cloneNode(!0)}function Px(n,e){return n+":"+e}function J5(n){return!(!n.url||!n.options)}const ej=GM(class{constructor(n){this._elementRef=n}}),tj=new Le("mat-icon-location",{providedIn:"root",factory:function nj(){const n=vu(Tt),e=n?n.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}}),Fx=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],rj=Fx.map(n=>`[${n}]`).join(", "),ij=/^url\(['"]?#(.*?)['"]?\)$/;let sj=(()=>{class n extends ej{constructor(t,r,i,s,o){super(t),this._iconRegistry=r,this._location=s,this._errorHandler=o,this._inline=!1,this._currentIconFetch=w.EMPTY,i||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=yy(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const r=this._cleanupFontValue(t);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const r=this._cleanupFontValue(t);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const r=t.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const r=t.querySelectorAll("style");for(let s=0;s<r.length;s++)r[s].textContent+=" ";const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let r=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){const i=t.childNodes[r];(1!==i.nodeType||"svg"===i.nodeName.toLowerCase())&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,r=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();r!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),r&&t.classList.add(r),this._previousFontSetClass=r),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const r=this._elementsWithExternalReferences;r&&r.forEach((i,s)=>{i.forEach(o=>{s.setAttribute(o.name,`url('${t}#${o.value}')`)})})}_cacheChildrenWithExternalReferences(t){const r=t.querySelectorAll(rj),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s<r.length;s++)Fx.forEach(o=>{const l=r[s],c=l.getAttribute(o),f=c?c.match(ij):null;if(f){let h=i.get(l);h||(h=[],i.set(l,h)),h.push({name:o,value:f[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[r,i]=this._splitIconName(t);r&&(this._svgNamespace=r),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,r).pipe(Wy(1)).subscribe(s=>this._setSvgElement(s),s=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${r}:${i}! ${s.message}`))})}}}return n.\u0275fac=function(t){return new(t||n)(de(mn),de(qy),function du(n){return function Af(n,e){if("class"===e)return n.classes;if("style"===e)return n.styles;const t=n.attrs;if(t){const r=t.length;let i=0;for(;i<r;){const s=t[i];if(Ro(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof t[i];)i++;else{if(s===e)return t[i+1];i+=2}}}return null}(on(),n)}("aria-hidden"),de(tj),de(ts))},n.\u0275cmp=vs({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,r){2&t&&(Ys("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet),xa("mat-icon-inline",r.inline)("mat-icon-no-color","primary"!==r.color&&"accent"!==r.color&&"warn"!==r.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Re],ngContentSelectors:K5,decls:1,vars:0,template:function(t,r){1&t&&(hE(),pE(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),n})(),oj=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[lo],lo]}),n})();const aj=["elSignature"],lj=["cvSignature"],uj=["divUndo"],cj=["imgSignHere"];function dj(n,e){if(1&n){const t=uE();Ni(0,"button",17),ti("click",function(){return Mr(t),fE().downloadBtnAction()}),Ni(1,"span",18),Td(2,"Download"),ki(),Dl(3,"span",19),Dl(4,"span",20),ki()}2&n&&Ks("disabled",fE().disabled)}const fj=function(n){return{"disable-element-temp":n}};let hj=(()=>{class n extends w3{constructor(t,r,i,s,o,l,c){super(t,s,o,r),this.formbirdInjectorService=t,this.cdRef=r,this.el=i,this.changedDocumentService=s,this.componentSetupService=o,this.compressorBase30Service=l,this.utilService=c,this.visible=!0,this.disableSave=!1,this.enabled=!0,this.saveAsImage=!1,this.uploadOld=!1,this.onInit=!0,this.notificationService=this.formbirdInjectorService.get("NotificationService"),this.modifiedFieldService=this.formbirdInjectorService.get("ModifiedFieldService")}ngOnInit(){this.componentSetupService.setupStandardProperties(this),null==this.componentDefinition.visible||(this.visible=this.componentDefinition.visible),null==this.componentDefinition.disableSave||(this.disableSave=this.componentDefinition.disableSave),this.penColor="black",null==this.componentDefinition.penColor||(this.penColor=this.componentDefinition.penColor),null==this.componentDefinition.saveAsImage||(this.saveAsImage=this.componentDefinition.saveAsImage),null==this.componentDefinition.uploadOld||(this.uploadOld=this.componentDefinition.uploadOld),null==this.componentDefinition.enabled||(this.enabled=this.componentDefinition.enabled),this.signaturePad=new ry(this.cvSignature.nativeElement,{penColor:this.penColor}),this.setupChangeDetection(),this.initializeFieldValue();const t=this.broadcastService.on("formReset").subscribe(()=>{this.signaturePad.clear(),this.hasSignature(!1)});this.subs.add(t),this.loadData(),this.notifyComponentIntialized()}ngOnDestroy(){this.observer.unobserve(this.elSignature.nativeElement)}ngAfterViewInit(){var t;this.signaturePad.addEventListener("endStroke",()=>{this.hasSignature(!0);const r=this.signaturePad.toData();this.onValueChanged(r)}),this.observer=new ResizeObserver(()=>{this.resizeCanvas()}),this.observer.observe(this.elSignature.nativeElement),!this.dataID&&this.saveAsImage&&(this.dataID=this.utilService.generateId()),this.setFieldActivation(),this.onInit=!1,this.detectChanges(),this.saveAsImage&&this.uploadOld&&(null===(t=this.fieldValue)||void 0===t?void 0:t.length)>0&&this.fieldValue[0].length>0&&"a"!==this.fieldValue[0][0]&&this.createFilePNG().then(r=>{let i;i=r,this.componentDefinition.image=i}).catch(r=>{console.error("ERROR in local file processing")})}onFieldValueChanged(t){if((!this.onInit||t)&&!(0,C1.isEqual)(this.fieldValue,t)){if(t)this.fieldValue=(0,C1.cloneDeep)(t);else{if(this.fieldValue)return;this.signaturePad.clear(),this.hasSignature(!1)}this.detectChanges()}}onValueChanged(t){t&&(this.saveAsImage&&t.length>0?this.createFilePNG().then(r=>{let i;i=r,this.componentDefinition.image=i,this.valueChanged(t)}).catch(r=>{console.error("ERROR in local file processing")}):0==t.length?super.valueChanged(void 0):(this.componentDefinition.image&&(this.componentDefinition.image=void 0),this.valueChanged(t)))}valueChanged(t){super.valueChanged(t.map(r=>JSON.stringify(r)))}initializeFieldValue(){this.document[this.fieldName]&&(this.fieldValue=this.document[this.fieldName])}loadData(){if((()=>this.fieldValue&&Array.isArray(this.fieldValue))())try{if(this.fieldValue.length>0){let r,i,s;"a"===this.fieldValue[0][0]?(s=this.fieldValue[0],this.dataID=s.slice(12,-14),i=this.fieldValue.slice(1),r=i.map(o=>JSON.parse(o))):r=this.fieldValue.map(o=>JSON.parse(o)),this.signaturePad.fromData(r),this.hasSignature(!0)}}catch(r){let i=JSON.parse(JSON.stringify(this.fieldValue));(null==i?void 0:i.length)>0&&"a"===i[0][0]&&(i=i.slice(1)),null!=i[1]&&i[1].trim().length>0&&this.compressorBase30Service.pluginDecompressor(i[1],i[0],s=>{const o=this.convertStringDataToPoint(s).map(l=>Object.assign({dotSize:0,maxWidth:2.5,minWidth:.5},l));this.signaturePad.fromData(o),this.hasSignature(!0)})}else if(this.fieldValue&&"string"==typeof this.fieldValue)try{this.compressorBase30Service.pluginDecompressor(this.fieldValue,"image/jsignature;base30",r=>{const i=this.convertStringDataToPoint(r);this.signaturePad.fromData(i),this.hasSignature(!0)})}catch(r){console.log("Issue loading Signature Date string")}else this.hasSignature(!1)}convertStringDataToPoint(t){const r=[];for(let i=0;i<t.length;i++){const s=[];for(let o=0;o<t[i].x.length;o++)s.push({time:0,x:t[i].x[o],y:t[i].y[o]});r.push({penColor:this.penColor,points:s})}return r}resizeCanvas(){const t=this.signaturePad.toData(),r=Math.max(window.devicePixelRatio||1,1);this.cvSignature.nativeElement.width=this.cvSignature.nativeElement.offsetWidth*r,this.cvSignature.nativeElement.height=this.cvSignature.nativeElement.offsetHeight*r,this.cvSignature.nativeElement.getContext("2d").scale(r,r),t&&0!=t.length&&this.signaturePad.fromData(t)}undo(){const t=this.signaturePad.toData();t&&(t.pop(),this.signaturePad.fromData(t),this.onValueChanged(t)),(!t||0===t.length)&&this.hasSignature(!1)}setFieldActivation(){this.disabled?(this.elSignature.nativeElement.style.cursor="not-allowed",this.divUndo.nativeElement.style["pointer-events"]="none",this.cvSignature.nativeElement.style["pointer-events"]="none"):(this.elSignature.nativeElement.style.cursor="pointer",this.divUndo.nativeElement.style["pointer-events"]="auto",this.cvSignature.nativeElement.style["pointer-events"]="auto")}watchDoc(){this.loadData(),this.modifiedFieldService.addModifiedField(this.template.documentId,this.fieldName,this.formParameters.unsavedDocumentListId,!1)}showToolTip(t,r,i){return i.offsetWidth<=r.scrollWidth}toggleTooltip(t){setTimeout(()=>{t.toggle()})}hasSignature(t){t?(this.divUndo.nativeElement.style.display="block",this.imgSignHere.nativeElement.style.display="none"):(this.divUndo.nativeElement.style.display="none",this.imgSignHere.nativeElement.style.display="block")}downloadBtnAction(){if(this.enabled&&this.signaturePad.toData().length>0){const r=document.createElement("a");r.download=this.fieldName+".png",r.href=this.signaturePad.toDataURL(),r.click(),r.remove()}}createFilePNG(){const t=this.dataID;return new Promise((r,i)=>{let s;this.cvSignature.nativeElement.toBlob(function(o){s=new File([o],t+".png",{type:"image/png"}),r(s)})})}}return n.\u0275fac=function(t){return new(t||n)(de(S3),de(Vd),de(mn),de(KC),de(w0),de(A3),de(T3))},n.\u0275cmp=vs({type:n,selectors:[["ng-component"]],viewQuery:function(t,r){if(1&t&&(Fd(aj,7),Fd(lj,7),Fd(uj,7),Fd(cj,7)),2&t){let i;Pd(i=Nd())&&(r.elSignature=i.first),Pd(i=Nd())&&(r.cvSignature=i.first),Pd(i=Nd())&&(r.divUndo=i.first),Pd(i=Nd())&&(r.imgSignHere=i.first)}},inputs:{responsiveLayouts:"responsiveLayouts"},features:[Re],decls:21,vars:15,consts:[[1,"signature-wrapper"],["formFieldContainer",""],[3,"click"],["labelContainer",""],[1,"labelToolTipContainer",3,"matTooltip","matTooltipDisabled"],["tooltip","matTooltip"],[1,"ft-signature",3,"ngClass"],[2,"border","2px dotted #000000","background-color","gray",3,"id"],["elSignature",""],["src","data:image/gif;base64,R0lGODlhtABJAOf/AAABAAACAAEEAAIFAQQHAgUIBAcJBQoJAAgLBwwLAAoMCA0MAA8OAwwPCxMQAA8RDRURABYSARITERMVBBQVExcXABgYAhYYFRkaBBwbABkaGB0cAR4dAhocGRsdGh8fBSIgAB0fHB4gHSAhHyQjBSckACIjISgmASQlIyooBSYnJSwpAC0qAC4rAS8rAikqKCssKjEuBTMvAC0uLDUwAjcyBS8xLzg0Bjs1ATIzMTw3Azk5BDQ2MzY3NTs7Bjw8Bzg5Nz49ADo7OUA/AkJABEJBBTw+O0RCBj5APUVECEdFAUFCQElGAkpIBERGQ0xKBk5LB09MCEdJRlJOAlNPA0pLSVRQBFZSBk1PTFdTB1hUCVtVAE9RTlxXAl5YBFJUUVRVU2BaBmFbCFZXVWJcCVZYVVlbWWZgAmhhBGliBVxeW15gXWxlCW1mC2BiX25nDHBoAXJqA2NlYnRrBmZnZXFuCGhpZ3NwCnRxDHVyAHdzAWxta3l1A3p2BW9xbnx4CX55DIB7AHN1coJ8AYN+A3Z4dXh6d4eBCYiCDImDDnt9eoyFAI2GAo6HA36AfZCJBoCCf4KEgZOLDJWND4WHhJiQAYiKh5qSBZ2UCouNip+VDqGXAI6QjaSaA5CSj6ecB5SWk6ieC6qfDq2hAJeZlq+jAJmbmLCkAqynBJyem66oCZ2fnLCqDaCin7StALKsEKOloriwA7qyCaeppry0DamrqL+2AL21EMG4AKyuq8O6Aq6wrca8CbCyr7O1ssm/EcvBAM3DALa4tc/EAri6t7q8udLHCdPIDr2/vNXKEtjMANrNAMDCvtvPAsLEwd3QB8PFwsXHxN/SDcfJxuHUEuTWAOXXAOfYAMvNyejaBc3PzOrcC9DSz+zdEOjgE+viANPV0uzjAO3kAO7lANfZ1vDnBvLoC9nb2PPpD/brAPTqEtze2/ftAPnuAPrvAN/h3vvwAPzxBeHk4P7yCeXn5Ofp5unr6Ovt6u7w7fHz8PP18vX49Pn7+Pv9+v7//P///yH5BAEKAP8ALAAAAAC0AEkAAAj+AP8JHEhQoL+DCAsqXMiwocOHECNKnEixosWHCDNq9Hexo8ePIEOKhHiwXiQVFy6M+EKJ2L2NHEfKnEmz5sWDoAgE2MmT50pLxfDBtEm0qNGQBzntpGJLnLhqqgAxqdAzgIkxmZDlG3q0q9evBqHt1DSvrFmz1VD1URKhqgozmZht3Qi2rl2QB8EEGHS2r19qo/QcadtThRpO0OZqvMu4cUN/8ggs8Oa3cmVpovAQYVAVxhpP0fZxdUy6rr9ZAaxYXm053rJPdYIsqDrDDahpoumW3m3zoKAAiVgLXx1P2ac5O2bzJGBDDils/Ebznt7x4JIAt4ZrZ93u2KY3OJT+7ySQgw4pbdF1U19P0l+DAOK2yxfezpgmNjUM9DTQw04qbuktxt6ABPlDTgAnzKegdu0Ec0kaNOjEkwFA7NEKOAFmROB6/sASwBYLhrgdO8BUckYMEu5kgBB+XNiPdBvadZAfATQi4o3ysfPLJGK4UJUCRvgBCzkwxRSjVwcZEQAuODY5Hzq8SOIFC1U1gIQgs5xT5JFF+dOPAgGY4+SYCpqDSyNdnFDVA0sUUss6W3I5kj/gBMACmXiGWI4ti2hBQlUSOGFILu/EKedNrQQQBoOjeEHCCTggUk2eeYpDSyJXgFAVBVIosos8hh6KkT97BCDJcMrQUFUABPBV1ij+kuASDqVOhiMLIlRwUNUFVTjSCz2hilqgP0AEwItw3nAmwyeyGCPLGZzNKk5PJMARizq0OulNLINEsUFVHWABiS/1wHioP/wYQAC2rNURwAbs9IXOpGUhEl5PCzShSrZkbuPKIE1YAC4XkQhjj7kE+sNNADIM10UAOmz3RAAuELaAX7h4EYQYyfAb4jVRTVWVCCy5hDBv/qQSwBnDfbITFLzEw1o8beHSjix1kGUWOmhUlUV8HouYVh9JEOYTGEAJpV5pB9kRQCXaLUIYBnrQ61cwARgQr1/WUBkAEYPgsJMMMs8jjhixBB0iYHoQAUFVJpSRlWIaNnYQDwEEs13+OYhQtdOpfjESwA+VlePjAqiUFU8lEBhA2Tx/BBDBNWrjiNkdm7llBidynUwUugYY0M587GiSwk6b+MVEAH/41c7qBhx7VjfSmJXFTnNY1s4zlcvn2nGyVfXCYdDo4/mc2ARQQ4jtTBEAB6Ob1c5ssvilyU6fCFfDTgsA3RcgAYjS+4LtKNMJcuLt5BlouR3UJSkBsMFaNY1E3xc1O1Fz1jE7odOXOBNg3XDeph9EVMZ5YhgfjrrznXstpzbEcF9NDiKHAOjMMnkIQO78soydUM4sowgACfwSuQ+UbTXd+FsALLC1s2hhZasJRgWyp0AG2Qc/+mFVLiQ4k4PkIAD+xmDN9QjQCfvNgx3OO0JfBhEAKvjlT3yJxzV4MYpYKINdZZFFADAQjxhY0C8Tc1Vl4BAAPdSQfMHAA6t2wcM57UMyRnSdFXaygUFIAhF/+BYBZGeWK+ylL1gLQDW8UYJVVYAJ35jHIpo4D1QEIAUnLIuaLugXL7piNaJg0hktw0QC9KKNSJlGAHAwnHZ84garcoHezhKPAFbvLJUIwA7mUY309SSIL2TEPOLho0tKTydpq8y04GMZl4FoHrwAAR4GYUdVdOOMnfQFKD/iD1AEAA7yAUYf0JAFQMTCfq7AwRHmGABVeG8eTCRCWcTRjXCUgx3HKGBZ/qTJUzDMfs/+2EnHKqOKANBgNTsIAA3fsCoCMOET/hsf+AwgjGnexB9uCEAnxjSHVQVAmWXRgyxd9wM7jS6FASiH4nwEuHm8ImtxNIsa72CZcuzkcVF4JBSsEIRv7YQBzxxfH7IWQSN55CAzCIAyxsQOUSxiDle4gXIWMDpXBKACH1zn6rBTln6C4CwhXMAHGxGAG6yGCAFIXGW0iAGz+IiGZflFG2o2D2kwgQiJ2Ce/NGqAYjiUIge5ADFpFY9njOIXZVHHtzbQh1GoQg8YYFXqyrLTKbBSVVooSxoC8IbVtKV2lWHiFcryjZ1g9izt+GAbejKFofLrDllDxl0lkte9Vu4ZNu3+SQReWZYg/PEswNhJ9WyL1r5cg1W8CEYwjrEMb0RvdVBr5LuEY9smyGA8tPCLLS5xjWpYI6XyqagBVOvTihykA0JVoDk2oYQayOCgWJwHOoDpl9GWQB2c4R0/LbqTCaRAP8soCxkXxZpvMWkUbWGAac2iqZ58YA6rVFBFFcCM1Y6KDhrc5Gq0yIAWmkUcVAmD5FZDxgq4gAUpOMEG0rcBswagDso451nMsRNrlOUaqwPB445IX4qNYkEEVQA0HOwQOgVgAQmW8FmWEYHWVcZlO2nCaqgkvr6UQxoa5q8yqrIAEhBBDJOI3kktAFoqya8s0mDVNr6xDWBcAqwB+ED+iNgQAAVEg8cMOYgaJMdHIZvFwn45wk4mYZltvNQyvC2LyxaQ2FVpcrT8NYsjSyxoO/nlGo3Y14LiMdkGTAPOC0HXF3aCg0ocA7t29m0MIpBTv7jsn5Z5G2bPEIA2zKMd1aBiI+Zwh6396cZnwdrFJNtqSsWD1Q3ABqYVgi5H6JV7OoBDJ5QBajujQ6SWYbUZK5NCppaFyazJpwGgXRZ0xPROkgwArvMUDzEE4AHC7i5r0VULN8wgRT/2wRw+oYxIhno1p7OFZXBBsbK0QyefrYwkdlKDJkxBC10IoEBfvJNS56kdXgiABLQx7IJoZB/R8MQaYEDlINThE8+w973+y4IHKoD6elkoizX6x5rbWdQCTZ4HVxFEBC/ooRKqCEaz5wNxiXOj4sTeiD6gwQk1vKAqDCACHkYR8JGvhomAKEtud43vAExBQgsYRDAi+TD6qnNM7diCz4H+mI3kgxmZMIMKqhKBI+hhFPpzul+OsQV6hYNVbfgFnsvCjp08IxheS0Mcv7UIo87BCjhIrGPJ1I4XUgAcZG+PRvCBDEuMwQRsV0IfUGE1uZ+F1eNJgRYG8YnoGQOlR3TXh+wXZteaReRNasccLwB5dcsEJvggBiW+IIKqHBIQqoiq3F+xBaP9rdGoLgsTI9xocFeuHVQIwAWIZPsJbuQewqAEFzz+UBULNAEQr9iG3OszikFsQQmmdVkd+hLxALwyEQFQ8vjaEVMNaKn6XdpIPXwBCSyAtycbAAWDEAsO53m8kFB3ZlslUBYVlUAK1A4T0wH35xgwQQ+94AhVcGw8sQFTQAixkEie5xfhQARpkFEBwAQz1jvs0AQB0AFwgn9gUSTykAuKIAUSUBUgYAWIIAsqFoLzcAsqQgRwoAm/kIL8wg6rEwKFAoN3USTvkAuG4AQ32BMgkAWLcAs9OHKvoCZVwQI7R1RJEAAisIQbUiTrUAuFsATv0RMlsAWMgAvcNnLPIAlioANtEQFiojbqoGcjACpMiDIwcQ6zIAhIACY9kQL+XRAreeh03rCIaoMOYGUCfigs/1Ak5AALfmAEhsgTLOAFknCAPsgv1bAIPhIAKFAuf1iGG9EP4NAKewAEOcQTLoBlv5BeoRgi3TAJAbUTDeAGxBAglBhnG8EP3LAKdtADscgqMXAGlQAMe3eLliEOmqBnKlIGu9A+qRiMlTiM2mAKdJAD8EYANJAGl6Bz0NgX5vAJTyAhBIAFs0A32vhTw4gNpCAHNgBvBlADbKAJxvCFm8QOqqAF4uEEq6A0kRePPbYR+zANoOBuVIYDbbAJn2Zn7RALYsAZO2EEoICKB4mQeKWQGWd0VJZsy+aPYxIPuMAGRpMDmeCHHemR1GS+ds5QdGuHL/JGb7DXJMBQB7H1ApBwfy8Jkz1kdsiQCWWAAh33cSGHI8fwB3+yEyZgCD9XN0LJHrhXDJYABpjXE0m3dE3HGtIwCKXYgn5waVRZlVwCE/ege7zHdm4Hd5UBaduzExJAB8jwIgmBlggJE/YgDJHABf/HExGgeaigDJVgW7yoBsKQIXrZmNuoEfvnCFigARZlAGCQC9jomJppcRshD72gCFXQAVUAC/C4maaZaUWSl6e5mgkZlBYREAA7","alt","sign here",1,"sign-here"],["imgSignHere",""],[3,"id"],["cvSignature",""],[1,"undo-wrapper"],["divUndo",""],["type","button","mat-raised-button","","color","primary",3,"disabled","click"],["mat-raised-button","","color","secondary","type","button",3,"disabled","click",4,"ngIf"],["mat-raised-button","","color","secondary","type","button",3,"disabled","click"],[1,"mat-button-wrapper"],["matripple","",1,"mat-ripple","mat-button-ripple"],[1,"mat-button-focus-overlay"]],template:function(t,r){if(1&t){const i=uE();Ni(0,"div",0,1),Ni(2,"mat-label",2,3),ti("click",function(){Mr(i);const o=Qh(6);return r.toggleTooltip(o)}),Td(4),ki(),Dl(5,"div",4,5),Ni(7,"div",6),Ni(8,"div",7,8),Dl(10,"img",9,10),Dl(12,"canvas",11,12),Ni(14,"div",13,14),Ni(16,"button",15),ti("click",function(){return r.undo()}),Ni(17,"mat-icon"),Td(18,"undo"),ki(),Td(19," Undo Last Stroke "),ki(),ki(),ki(),ki(),function lw(n,e,t,r,i,s,o,l){const c=ge(),f=gt(),h=n+20,m=f.firstCreatePass?function Bx(n,e,t,r,i,s,o,l,c){const f=e.consts,h=Gn(e,n,4,o||null,Ti(f,l));Rh(e,t,h,Ti(f,c)),xc(e,h);const m=h.tViews=cd(2,h,r,i,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,f);return null!==e.queries&&(e.queries.template(e,h),m.queries=e.queries.embeddedTView(h)),h}(h,f,c,e,t,r,i,s,o):f.data[h];Gr(m,!1);const y=c[11].createComment("");Xc(f,c,y,m),er(y,c),fd(c,c[h]=kg(y,c,y,m)),_o(m)&&Ih(f,c,m),null!=o&&Mh(c,m,l)}(20,dj,5,1,"button",16),ki()}if(2&t){const i=Qh(1),s=Qh(3),o=Qh(6);Qr(2),Uw(null!=r.componentDefinition&&r.componentDefinition.mandatory?"mandatory":""),Qr(2),h_(" ",null==r.componentDefinition?null:r.componentDefinition.label," "),Qr(1),mE("matTooltip",r.componentDefinition.label),Ks("matTooltipDisabled",r.showToolTip(o,i,s)),Qr(2),Ks("ngClass",function QS(n,e,t,r){return ZS(ge(),x(),n,e,t,r)}(13,fj,r.disabled)),Qr(1),Ks("id",r.fieldName),Qr(4),d_("pointer-events",r.disabled?"none":"auto"),Ks("id","cv"+r.fieldName),Qr(4),Ks("disabled",r.disabled),Qr(4),Ks("ngIf",1==r.componentDefinition.downloadImage)}},directives:[e4,y5,FC,T5,sj,JT],styles:["html.touch #content{float:left;width:92%}html.touch #scrollgrabber{float:right;width:4%;margin-right:2%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAFCAAAAACh79lDAAAAAXNSR0IArs4c6QAAABJJREFUCB1jmMmQxjCT4T/DfwAPLgOXlrt3IwAAAABJRU5ErkJggg==)}html.borderradius #scrollgrabber{border-radius:1em}.signature-wrapper .ft-signature{margin-top:5px;margin-bottom:10px}@media screen and (max-width: 520.98px){.signature-wrapper .ft-signature{margin:0}}.signature-wrapper canvas{background-color:transparent!important;touch-action:none;min-height:200px!important;width:100%}.signature-wrapper .sign-here{position:absolute;min-width:90px!important;max-width:180px!important;width:8%!important;-webkit-user-drag:none;-webkit-user-select:none;user-select:none;pointer-events:none}.signature-wrapper .undo-wrapper{display:none;touch-action:none;position:relative;padding:0!important;margin:-1.5em 0 1.5em!important;width:100%!important;height:0!important;text-align:center}.signature-wrapper .undo-wrapper button{position:relative;top:auto;margin:-9px 0 0!important}.ft-signature.disable-element-temp{opacity:.54}\n"],encapsulation:2,changeDetection:0}),n})(),pj=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:[w0],imports:[[zd,tB]]}),n})();let Nx=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[gy]]}),n})(),gj=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:[UH],imports:[[Nx,dD,lo],Nx,dD]}),n})();const vj=new class yj extends oo{}(class _j extends iy{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,r=0){return null!==r&&r>0||null===r&&this.delay>0?super.requestAsyncId(e,t,r):e.flush(this)}});class fs{constructor(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return r&&r()}}accept(e,t,r){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,r)}toObservable(){switch(this.kind){case"N":return Qo(this.value);case"E":return Cx(this.error);case"C":return ox()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new fs("N",e):fs.undefinedValueNotification}static createError(e){return new fs("E",void 0,e)}static createComplete(){return fs.completeNotification}}fs.completeNotification=new fs("C"),fs.undefinedValueNotification=new fs("N",void 0);class Yy extends E{constructor(e,t,r=0){super(e),this.scheduler=t,this.delay=r}static dispatch(e){const{notification:t,destination:r}=e;t.observe(r),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(Yy.dispatch,this.delay,new Ej(e,this.destination)))}_next(e){this.scheduleMessage(fs.createNext(e))}_error(e){this.scheduleMessage(fs.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(fs.createComplete()),this.unsubscribe()}}class Ej{constructor(e,t){this.notification=e,this.destination=t}}class Cj extends ye{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,r){super(),this.scheduler=r,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new Dj(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,r=t?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,s=r.length;let o;if(this.closed)throw new Ne;if(this.isStopped||this.hasError?o=w.EMPTY:(this.observers.push(e),o=new Dt(this,e)),i&&e.add(e=new Yy(e,i)),t)for(let l=0;l<s&&!e.closed;l++)e.next(r[l]);else for(let l=0;l<s&&!e.closed;l++)e.next(r[l].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),o}_getNow(){return(this.scheduler||vj).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,r=this._windowTime,i=this._events,s=i.length;let o=0;for(;o<s&&!(e-i[o].time<r);)o++;return s>t&&(o=Math.max(o,s-t)),o>0&&i.splice(0,o),i}}class Dj{constructor(e,t){this.time=e,this.value=t}}function kx(n,e){return"function"==typeof e?t=>t.pipe(kx((r,i)=>bi(n(r,i)).pipe(tt((s,o)=>e(r,s,i,o))))):t=>t.lift(new wj(n))}class wj{constructor(e){this.project=e}call(e,t){return t.subscribe(new Sj(e,this.project))}}class Sj extends fo{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const r=this.index++;try{t=this.project(e,r)}catch(i){return void this.destination.error(i)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const r=new co(this),i=this.destination;i.add(r),this.innerSubscription=gn(e,r),this.innerSubscription!==r&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;(!e||e.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}const Ky={schedule(n,e){const t=setTimeout(n,e);return()=>clearTimeout(t)},scheduleBeforeRender(n){if("undefined"==typeof window)return Ky.schedule(n,0);if(void 0===window.requestAnimationFrame)return Ky.schedule(n,16);const e=window.requestAnimationFrame(n);return()=>window.cancelAnimationFrame(e)}};let vD;function Nj(n,e,t){let r=t;return function Ij(n){return!!n&&n.nodeType===Node.ELEMENT_NODE}(n)&&e.some((i,s)=>!("*"===i||!function xj(n,e){if(!vD){const t=Element.prototype;vD=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return n.nodeType===Node.ELEMENT_NODE&&vD.call(n,e)}(n,i)||(r=s,0))),r}class Lj{constructor(e,t){this.componentFactory=t.get(Oa).resolveComponentFactory(e)}create(e){return new Vj(this.componentFactory,e)}}class Vj{constructor(e,t){this.componentFactory=e,this.injector=t,this.eventEmitters=new Cj(1),this.events=this.eventEmitters.pipe(kx(r=>ps(...r))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:r})=>r)),this.ngZone=this.injector.get(Zt),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Ky.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(e){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){this.runInZone(()=>{null!==this.componentRef?function Oj(n,e){return n===e||n!=n&&e!=e}(t,this.getInputValue(e))&&(void 0!==t||!this.unchangedInputs.has(e))||(this.recordInputChange(e,t),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=t,this.scheduleDetectChanges()):this.initialInputValues.set(e,t)})}initializeComponent(e){const t=Ht.create({providers:[],parent:this.injector}),r=function Fj(n,e){const t=n.childNodes,r=e.map(()=>[]);let i=-1;e.some((s,o)=>"*"===s&&(i=o,!0));for(let s=0,o=t.length;s<o;++s){const l=t[s],c=Nj(l,e,i);-1!==c&&r[c].push(l)}return r}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,r,e),this.viewChangeDetectorRef=this.componentRef.injector.get(Vd),this.implementsOnChanges=function Mj(n){return"function"==typeof n}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Uu).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e))}),this.initialInputValues.clear()}initializeOutputs(e){const t=this.componentFactory.outputs.map(({propName:r,templateName:i})=>e.instance[r].pipe(tt(o=>({name:i,value:o}))));this.eventEmitters.next(t)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Ky.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,t){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const r=this.inputChanges[e];if(r)return void(r.currentValue=t);const i=this.unchangedInputs.has(e),s=i?void 0:this.getInputValue(e);this.inputChanges[e]=new Co(s,t,i)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class Bj extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}let jj=(()=>{class n{constructor(){this.convertToCustomElement=(t,r,i,s,o)=>{if(s||(s="NOT-SET"),!customElements.get(r)){const l=function Hj(n,e){const t=function Pj(n,e){return e.get(Oa).resolveComponentFactory(n).inputs}(n,e.injector),r=e.strategyFactory||new Lj(n,e.injector),i=function Rj(n){const e={};return n.forEach(({propName:t,templateName:r})=>{e[function Aj(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}(r)]=t}),e}(t);class s extends Bj{constructor(l){super(),this.injector=l}get ngElementStrategy(){if(!this._ngElementStrategy){const l=this._ngElementStrategy=r.create(this.injector||e.injector);t.forEach(({propName:c})=>{if(!this.hasOwnProperty(c))return;const f=this[c];delete this[c],l.setInputValue(c,f)})}return this._ngElementStrategy}attributeChangedCallback(l,c,f,h){this.ngElementStrategy.setInputValue(i[l],f)}connectedCallback(){let l=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),l=!0),this.ngElementStrategy.connect(this),l||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(l=>{const c=function Tj(n,e,t){if("function"!=typeof CustomEvent){const s=n.createEvent("CustomEvent");return s.initCustomEvent(e,!1,!1,t),s}return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t})}(this.ownerDocument,l.name,l.value);this.dispatchEvent(c)})}}return s.observedAttributes=Object.keys(i),t.forEach(({propName:o})=>{Object.defineProperty(s.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(l){this.ngElementStrategy.setInputValue(o,l)},configurable:!0,enumerable:!0})}),s}(t,{injector:i}),c=l.prototype.connectedCallback||function(){};l.prototype.connectedCallback=function(){this.setAttribute("fb-component-version",s),o&&this.setAttribute("is-static-panel",o.isStaticPanel),c.call(this)},customElements.define(r,l)}}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Uj=(()=>{class n{constructor(t,r){this.injector=t,this.customElementService=r,r.convertToCustomElement(hj,"sc-signature",this.injector,"7.5.7")}}return n.\u0275fac=function(t){return new(t||n)(le(Ht),le(jj))},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[zd,t3,I5,oj,gj,dD,E5,pj]]}),n})(),Wj=(()=>{class n{constructor(){}ngDoBootstrap(){}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:[],imports:[[zd,MV,Uj]]}),n})();(function RF(){if(LA)throw new Error("Cannot enable prod mode after platform setup.");kA=!1})(),TV().bootstrapModule(Wj).catch(n=>console.error(n))},1116:function(Ee,H,J){Ee=J.nmd(Ee),function(F){"use strict";function _(b,x){x|=0;for(var P=Math.max(b.length-x,0),j=Array(P),te=0;te<P;te++)j[te]=b[x+te];return j}var oe=function(b){var x=_(arguments,1);return function(){var P=_(arguments);return b.apply(null,x.concat(P))}},U=function(b){return function(){var x=_(arguments),P=x.pop();b.call(this,x,P)}};function G(b){var x=typeof b;return null!=b&&("object"==x||"function"==x)}var R="function"==typeof setImmediate&&setImmediate,k="object"==typeof process&&"function"==typeof process.nextTick;function L(b){setTimeout(b,0)}function q(b){return function(x){var P=_(arguments,1);b(function(){x.apply(null,P)})}}var B=q(R?setImmediate:k?process.nextTick:L);function g(b){return U(function(x,P){var j;try{j=b.apply(this,x)}catch(te){return P(te)}G(j)&&"function"==typeof j.then?j.then(function(te){M(P,null,te)},function(te){M(P,te.message?te:new Error(te))}):P(null,j)})}function M(b,x,P){try{b(x,P)}catch(j){B(E,j)}}function E(b){throw b}var S="function"==typeof Symbol;function N(b){return S&&"AsyncFunction"===b[Symbol.toStringTag]}function T(b){return N(b)?g(b):b}function z(b){return function(x){var P=_(arguments,1),j=U(function(te,ee){var ce=this;return b(x,function(me,De){T(me).apply(ce,te.concat(De))},ee)});return P.length?j.apply(this,P):j}}var X="object"==typeof global&&global&&global.Object===Object&&global,be="object"==typeof self&&self&&self.Object===Object&&self,re=X||be||Function("return this")(),se=re.Symbol,pe=Object.prototype,Ke=pe.hasOwnProperty,Ne=pe.toString,Dt=se?se.toStringTag:void 0;var Se=Object.prototype.toString;var Et=se?se.toStringTag:void 0;function fn(b){return null==b?void 0===b?"[object Undefined]":"[object Null]":Et&&Et in Object(b)?function ke(b){var x=Ke.call(b,Dt),P=b[Dt];try{b[Dt]=void 0;var j=!0}catch(ee){}var te=Ne.call(b);return j&&(x?b[Dt]=P:delete b[Dt]),te}(b):function st(b){return Se.call(b)}(b)}function ji(b){return"number"==typeof b&&b>-1&&b%1==0&&b<=9007199254740991}function vi(b){return null!=b&&ji(b.length)&&!function rf(b){if(!G(b))return!1;var x=fn(b);return"[object Function]"==x||"[object GeneratorFunction]"==x||"[object AsyncFunction]"==x||"[object Proxy]"==x}(b)}var ra={};function Ct(){}function Sr(b){return function(){if(null!==b){var x=b;b=null,x.apply(this,arguments)}}}var ia="function"==typeof Symbol&&Symbol.iterator;function sa(b){return null!=b&&"object"==typeof b}function bi(b){return sa(b)&&"[object Arguments]"==fn(b)}var co=Object.prototype,Ui=co.hasOwnProperty,fo=co.propertyIsEnumerable,Gp=bi(function(){return arguments}())?bi:function(b){return sa(b)&&Ui.call(b,"callee")&&!fo.call(b,"callee")},gn=Array.isArray;var ho="object"==typeof F&&F&&!F.nodeType&&F,oa=ho&&Ee&&!Ee.nodeType&&Ee,hs=oa&&oa.exports===ho?re.Buffer:void 0,ps=(hs?hs.isBuffer:void 0)||function or(){return!1},Hl=/^(?:0|[1-9]\d*)$/;function jl(b,x){var P=typeof b;return!!(x=null==x?9007199254740991:x)&&("number"==P||"symbol"!=P&&Hl.test(b))&&b>-1&&b%1==0&&b<x}var Xt={};Xt["[object Float32Array]"]=Xt["[object Float64Array]"]=Xt["[object Int8Array]"]=Xt["[object Int16Array]"]=Xt["[object Int32Array]"]=Xt["[object Uint8Array]"]=Xt["[object Uint8ClampedArray]"]=Xt["[object Uint16Array]"]=Xt["[object Uint32Array]"]=!0,Xt["[object Arguments]"]=Xt["[object Array]"]=Xt["[object ArrayBuffer]"]=Xt["[object Boolean]"]=Xt["[object DataView]"]=Xt["[object Date]"]=Xt["[object Error]"]=Xt["[object Function]"]=Xt["[object Map]"]=Xt["[object Number]"]=Xt["[object Object]"]=Xt["[object RegExp]"]=Xt["[object Set]"]=Xt["[object String]"]=Xt["[object WeakMap]"]=!1;var $n="object"==typeof F&&F&&!F.nodeType&&F,Ga=$n&&Ee&&!Ee.nodeType&&Ee,ac=Ga&&Ga.exports===$n&&X.process,Ur=function(){try{return Ga&&Ga.require&&Ga.require("util").types||ac&&ac.binding&&ac.binding("util")}catch(x){}}(),df=Ur&&Ur.isTypedArray,Kp=df?function Wa(b){return function(x){return b(x)}}(df):function Yp(b){return sa(b)&&ji(b.length)&&!!Xt[fn(b)]},Zp=Object.prototype.hasOwnProperty;function ff(b,x){var P=gn(b),j=!P&&Gp(b),te=!P&&!j&&ps(b),ee=!P&&!j&&!te&&Kp(b),ce=P||j||te||ee,me=ce?function ja(b,x){for(var P=-1,j=Array(b);++P<b;)j[P]=x(P);return j}(b.length,String):[],De=me.length;for(var Fe in b)(x||Zp.call(b,Fe))&&(!ce||!("length"==Fe||te&&("offset"==Fe||"parent"==Fe)||ee&&("buffer"==Fe||"byteLength"==Fe||"byteOffset"==Fe)||jl(Fe,De)))&&me.push(Fe);return me}var Xp=Object.prototype;var Fn=function Jp(b,x){return function(P){return b(x(P))}}(Object.keys,Object),em=Object.prototype.hasOwnProperty;function tm(b){if(!function za(b){var x=b&&b.constructor;return b===("function"==typeof x&&x.prototype||Xp)}(b))return Fn(b);var x=[];for(var P in Object(b))em.call(b,P)&&"constructor"!=P&&x.push(P);return x}function Ql(b){return vi(b)?ff(b):tm(b)}function Ei(b){if(vi(b))return function Ce(b){var x=-1,P=b.length;return function(){return++x<P?{value:b[x],key:x}:null}}(b);var x=function(b){return ia&&b[ia]&&b[ia]()}(b);return x?function hf(b){var x=-1;return function(){var j=b.next();return j.done?null:(x++,{value:j.value,key:x})}}(x):function Nt(b){var x=Ql(b),P=-1,j=x.length;return function te(){var ee=x[++P];return"__proto__"===ee?te():P<j?{value:b[ee],key:ee}:null}}(b)}function Wr(b){return function(){if(null===b)throw new Error("Callback was already called.");var x=b;b=null,x.apply(this,arguments)}}function qa(b){return function(x,P,j){if(j=Sr(j||Ct),b<=0||!x)return j(null);var te=Ei(x),ee=!1,ce=0,me=!1;function De(we,je){if(ce-=1,we)ee=!0,j(we);else{if(je===ra||ee&&ce<=0)return ee=!0,j(null);me||Fe()}}function Fe(){for(me=!0;ce<b&&!ee;){var we=te();if(null===we)return ee=!0,void(ce<=0&&j(null));ce+=1,P(we.value,we.key,Wr(De))}me=!1}Fe()}}function Wi(b,x,P,j){qa(x)(b,T(P),j)}function _n(b,x){return function(P,j,te){return b(P,x,j,te)}}function la(b,x,P){P=Sr(P||Ct);var j=0,te=0,ee=b.length;function ce(me,De){me?P(me):(++te===ee||De===ra)&&P(null)}for(0===ee&&P(null);j<ee;j++)x(b[j],j,Wr(ce))}var ua=_n(Wi,1/0),Ci=function(b,x,P){(vi(b)?la:ua)(b,T(x),P)};function _s(b){return function(x,P,j){return b(Ci,x,T(P),j)}}function He(b,x,P,j){j=j||Ct,x=x||[];var te=[],ee=0,ce=T(P);b(x,function(me,De,Fe){var we=ee++;ce(me,function(je,Rt){te[we]=Rt,Fe(je)})},function(me){j(me,te)})}var ys=_s(He),lc=z(ys);function Yn(b){return function(x,P,j,te){return b(qa(P),x,T(j),te)}}var Gi=Yn(He),$a=_n(Gi,1),Di=z($a);function Bn(b,x){for(var P=-1,j=null==b?0:b.length;++P<j&&!1!==x(b[P],P,b););return b}var cc=function uc(b){return function(x,P,j){for(var te=-1,ee=Object(x),ce=j(x),me=ce.length;me--;){var De=ce[b?me:++te];if(!1===P(ee[De],De,ee))break}return x}}();function rn(b,x){return b&&cc(b,x,Ql)}function fc(b){return b!=b}function Ya(b,x,P){return x==x?function pf(b,x,P){for(var j=P-1,te=b.length;++j<te;)if(b[j]===x)return j;return-1}(b,x,P):function dc(b,x,P,j){for(var te=b.length,ee=P+(j?1:-1);j?ee--:++ee<te;)if(x(b[ee],ee,b))return ee;return-1}(b,fc,P)}var St=function(b,x,P){"function"==typeof x&&(P=x,x=null),P=Sr(P||Ct);var te=Ql(b).length;if(!te)return P(null);x||(x=te);var ee={},ce=0,me=!1,De=Object.create(null),Fe=[],we=[],je={};function Rt(Kt,en){Fe.push(function(){!function mr(Kt,en){if(!me){var tn=Wr(function(xs,C){if(ce--,arguments.length>2&&(C=_(arguments,1)),xs){var Un={};rn(ee,function(Qt,xr){Un[xr]=Qt}),Un[Kt]=C,me=!0,De=Object.create(null),P(xs,Un)}else ee[Kt]=C,An(Kt)});ce++;var gr=T(en[en.length-1]);en.length>1?gr(ee,tn):gr(tn)}}(Kt,en)})}function ln(){if(0===Fe.length&&0===ce)return P(null,ee);for(;Fe.length&&ce<x;)Fe.shift()()}function An(Kt){Bn(De[Kt]||[],function(tn){tn()}),ln()}function Mc(Kt){var en=[];return rn(b,function(tn,gr){gn(tn)&&Ya(tn,Kt,0)>=0&&en.push(gr)}),en}rn(b,function(Kt,en){if(!gn(Kt))return Rt(en,[Kt]),void we.push(en);var tn=Kt.slice(0,Kt.length-1),gr=tn.length;if(0===gr)return Rt(en,Kt),void we.push(en);je[en]=gr,Bn(tn,function(xs){if(!b[xs])throw new Error("async.auto task `"+en+"` has a non-existent dependency `"+xs+"` in "+tn.join(", "));!function pr(Kt,en){var tn=De[Kt];tn||(tn=De[Kt]=[]),tn.push(en)}(xs,function(){0==--gr&&Rt(en,Kt)})})}),function Ic(){for(var en=0;we.length;)en++,Bn(Mc(we.pop()),function(tn){0==--je[tn]&&we.push(tn)});if(en!==te)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}(),ln()};function po(b,x){for(var P=-1,j=null==b?0:b.length,te=Array(j);++P<j;)te[P]=x(b[P],P,b);return te}var ca=se?se.prototype:void 0,da=ca?ca.toString:void 0;function fa(b){if("string"==typeof b)return b;if(gn(b))return po(b,fa)+"";if(function mo(b){return"symbol"==typeof b||sa(b)&&"[object Symbol]"==fn(b)}(b))return da?da.call(b):"";var x=b+"";return"0"==x&&1/b==-Infinity?"-0":x}function wi(b,x,P){var j=b.length;return P=void 0===P?j:P,!x&&P>=j?b:function hc(b,x,P){var j=-1,te=b.length;x<0&&(x=-x>te?0:te+x),(P=P>te?te:P)<0&&(P+=te),te=x>P?0:P-x>>>0,x>>>=0;for(var ee=Array(te);++j<te;)ee[j]=b[j+x];return ee}(b,x,P)}var ze=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var xn="\\ud800-\\udfff",go="["+xn+"]",ai="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",li="\\ud83c[\\udffb-\\udfff]",lr="[^"+xn+"]",Qn="(?:\\ud83c[\\udde6-\\uddff]){2}",Ae="[\\ud800-\\udbff][\\udc00-\\udfff]",Gt="(?:"+ai+"|"+li+")?",Hn="[\\ufe0e\\ufe0f]?",Ot=Hn+Gt+("(?:\\u200d(?:"+[lr,Qn,Ae].join("|")+")"+Hn+Gt+")*"),Es="(?:"+[lr+ai+"?",ai,Qn,Ae,go].join("|")+")",Mt=RegExp(li+"(?="+li+")|"+Es+Ot,"g");function $i(b){return function Kn(b){return ze.test(b)}(b)?function pa(b){return b.match(Mt)||[]}(b):function vs(b){return b.split("")}(b)}var Cs=/^\s+|\s+$/g;function Yi(b,x,P){if((b=function Qe(b){return null==b?"":fa(b)}(b))&&(P||void 0===x))return b.replace(Cs,"");if(!b||!(x=fa(x)))return b;var j=$i(b),te=$i(x);return wi(j,function Zl(b,x){for(var P=-1,j=b.length;++P<j&&Ya(x,b[P],0)>-1;);return P}(j,te),function ha(b,x){for(var P=b.length;P--&&Ya(x,b[P],0)>-1;);return P}(j,te)+1).join("")}var zt=/^(?:async\s+)?(function)?\s*[^\(]*\(\s*([^\)]*)\)/m,ur=/,/,Nn=/(=.+)?(\s*)$/,ma=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm;function Ar(b,x){var P={};rn(b,function(j,te){var ee,ce=N(j),me=!ce&&1===j.length||ce&&0===j.length;if(gn(j))ee=j.slice(0,-1),j=j[j.length-1],P[te]=ee.concat(ee.length>0?De:j);else if(me)P[te]=j;else{if(ee=function Ki(b){return(b=(b=(b=b.toString().replace(ma,"")).match(zt)[2].replace(" ",""))?b.split(ur):[]).map(function(x){return Yi(x.replace(Nn,""))})}(j),0===j.length&&!ce&&0===ee.length)throw new Error("autoInject task functions require explicit parameters.");ce||ee.pop(),P[te]=ee.concat(De)}function De(Fe,we){var je=po(ee,function(Rt){return Fe[Rt]});je.push(we),T(j).apply(null,je)}}),St(P,x)}function bt(){this.head=this.tail=null,this.length=0}function yc(b,x){b.length=1,b.head=b.tail=x}function Xl(b,x,P){if(null==x)x=1;else if(0===x)throw new Error("Concurrency must not be zero");var j=T(b),te=0,ee=[],ce=!1;function me(je,Rt,ln){if(null!=ln&&"function"!=typeof ln)throw new Error("task callback must be a function");if(we.started=!0,gn(je)||(je=[je]),0===je.length&&we.idle())return B(function(){we.drain()});for(var pr=0,An=je.length;pr<An;pr++){var mr={data:je[pr],callback:ln||Ct};Rt?we._tasks.unshift(mr):we._tasks.push(mr)}ce||(ce=!0,B(function(){ce=!1,we.process()}))}function De(je){return function(Rt){te-=1;for(var ln=0,pr=je.length;ln<pr;ln++){var An=je[ln],mr=Ya(ee,An,0);0===mr?ee.shift():mr>0&&ee.splice(mr,1),An.callback.apply(An,arguments),null!=Rt&&we.error(Rt,An.data)}te<=we.concurrency-we.buffer&&we.unsaturated(),we.idle()&&we.drain(),we.process()}}var Fe=!1,we={_tasks:new bt,concurrency:x,payload:P,saturated:Ct,unsaturated:Ct,buffer:x/4,empty:Ct,drain:Ct,error:Ct,started:!1,paused:!1,push:function(je,Rt){me(je,!1,Rt)},kill:function(){we.drain=Ct,we._tasks.empty()},unshift:function(je,Rt){me(je,!0,Rt)},remove:function(je){we._tasks.remove(je)},process:function(){if(!Fe){for(Fe=!0;!we.paused&&te<we.concurrency&&we._tasks.length;){var je=[],Rt=[],ln=we._tasks.length;we.payload&&(ln=Math.min(ln,we.payload));for(var pr=0;pr<ln;pr++){var An=we._tasks.shift();je.push(An),ee.push(An),Rt.push(An.data)}te+=1,0===we._tasks.length&&we.empty(),te===we.concurrency&&we.saturated();var mr=Wr(De(je));j(Rt,mr)}Fe=!1}},length:function(){return we._tasks.length},running:function(){return te},workersList:function(){return ee},idle:function(){return we._tasks.length+te===0},pause:function(){we.paused=!0},resume:function(){!1!==we.paused&&(we.paused=!1,B(we.process))}};return we}function Zn(b,x){return Xl(b,1,x)}bt.prototype.removeLink=function(b){return b.prev?b.prev.next=b.next:this.head=b.next,b.next?b.next.prev=b.prev:this.tail=b.prev,b.prev=b.next=null,this.length-=1,b},bt.prototype.empty=function(){for(;this.head;)this.shift();return this},bt.prototype.insertAfter=function(b,x){x.prev=b,x.next=b.next,b.next?b.next.prev=x:this.tail=x,b.next=x,this.length+=1},bt.prototype.insertBefore=function(b,x){x.prev=b.prev,x.next=b,b.prev?b.prev.next=x:this.head=x,b.prev=x,this.length+=1},bt.prototype.unshift=function(b){this.head?this.insertBefore(this.head,b):yc(this,b)},bt.prototype.push=function(b){this.tail?this.insertAfter(this.tail,b):yc(this,b)},bt.prototype.shift=function(){return this.head&&this.removeLink(this.head)},bt.prototype.pop=function(){return this.tail&&this.removeLink(this.tail)},bt.prototype.toArray=function(){for(var b=Array(this.length),x=this.head,P=0;P<this.length;P++)b[P]=x.data,x=x.next;return b},bt.prototype.remove=function(b){for(var x=this.head;x;){var P=x.next;b(x)&&this.removeLink(x),x=P}return this};var dn=_n(Wi,1);function ui(b,x,P,j){j=Sr(j||Ct);var te=T(P);dn(b,function(ee,ce,me){te(x,ee,function(De,Fe){x=Fe,me(De)})},function(ee){j(ee,x)})}function Ds(){var b=po(arguments,T);return function(){var x=_(arguments),P=this,j=x[x.length-1];"function"==typeof j?x.pop():j=Ct,ui(b,x,function(te,ee,ce){ee.apply(P,te.concat(function(me){var De=_(arguments,1);ce(me,De)}))},function(te,ee){j.apply(P,[te].concat(ee))})}}var _o=function(){return Ds.apply(null,_(arguments).reverse())},cr=Array.prototype.concat,yo=function(b,x,P,j){j=j||Ct;var te=T(P);Gi(b,x,function(ee,ce){te(ee,function(me){return me?ce(me):ce(null,_(arguments,1))})},function(ee,ce){for(var me=[],De=0;De<ce.length;De++)ce[De]&&(me=cr.apply(me,ce[De]));return j(ee,me)})},vc=_n(yo,1/0),bc=_n(yo,1),Qa=function(){var b=_(arguments),x=[null].concat(b);return function(){return arguments[arguments.length-1].apply(this,x)}};function vo(b){return b}function ga(b,x){return function(P,j,te,ee){ee=ee||Ct;var me,ce=!1;P(j,function(De,Fe,we){te(De,function(je,Rt){je?we(je):b(Rt)&&!me?(ce=!0,me=x(!0,De),we(null,ra)):we()})},function(De){De?ee(De):ee(null,ce?me:x(!1))})}}function Ec(b,x){return x}var jn=_s(ga(vo,Ec)),bo=Yn(ga(vo,Ec)),ws=_n(bo,1);function Cc(b){return function(x){var P=_(arguments,1);P.push(function(j){var te=_(arguments,1);"object"==typeof console&&(j?console.error&&console.error(j):console[b]&&Bn(te,function(ee){console[b](ee)}))}),T(x).apply(null,P)}}var Dc=Cc("dir");function _f(b,x,P){P=Wr(P||Ct);var j=T(b),te=T(x);function ee(me){if(me)return P(me);var De=_(arguments,1);De.push(ce),te.apply(this,De)}function ce(me,De){return me?P(me):De?void j(ee):P(null)}ce(null,!0)}function wc(b,x,P){P=Wr(P||Ct);var j=T(b),te=function(ee){if(ee)return P(ee);var ce=_(arguments,1);if(x.apply(this,ce))return j(te);P.apply(null,[null].concat(ce))};j(te)}function yf(b,x,P){wc(b,function(){return!x.apply(this,arguments)},P)}function vf(b,x,P){P=Wr(P||Ct);var j=T(x),te=T(b);function ee(me){if(me)return P(me);te(ce)}function ce(me,De){return me?P(me):De?void j(ee):P(null)}te(ce)}function bf(b){return function(x,P,j){return b(x,j)}}function Qi(b,x,P){Ci(b,bf(T(x)),P)}function Eo(b,x,P,j){qa(x)(b,bf(T(P)),j)}var Ss=_n(Eo,1);function Za(b){return N(b)?b:U(function(x,P){var j=!0;x.push(function(){var te=arguments;j?B(function(){P.apply(null,te)}):P.apply(null,te)}),b.apply(this,x),j=!1})}function Xa(b){return!b}var ci=_s(ga(Xa,Xa)),Xn=Yn(ga(Xa,Xa)),Co=_n(Xn,1);function Jn(b){return function(x){return null==x?void 0:x[b]}}function Sc(b,x,P,j){var te=new Array(x.length);b(x,function(ee,ce,me){P(ee,function(De,Fe){te[ce]=!!Fe,me(De)})},function(ee){if(ee)return j(ee);for(var ce=[],me=0;me<x.length;me++)te[me]&&ce.push(x[me]);j(null,ce)})}function Do(b,x,P,j){var te=[];b(x,function(ee,ce,me){P(ee,function(De,Fe){De?me(De):(Fe&&te.push({index:ce,value:ee}),me())})},function(ee){ee?j(ee):j(null,po(te.sort(function(ce,me){return ce.index-me.index}),Jn("value")))})}function dr(b,x,P,j){(vi(x)?Sc:Do)(b,x,T(P),j||Ct)}var wo=_s(dr),So=Yn(dr),Ja=_n(So,1);function el(b,x){var P=Wr(x||Ct),j=T(Za(b));!function te(ee){if(ee)return P(ee);j(te)}()}var tl=function(b,x,P,j){j=j||Ct;var te=T(P);Gi(b,x,function(ee,ce){te(ee,function(me,De){return me?ce(me):ce(null,{key:De,val:ee})})},function(ee,ce){for(var me={},De=Object.prototype.hasOwnProperty,Fe=0;Fe<ce.length;Fe++)if(ce[Fe]){var we=ce[Fe].key,je=ce[Fe].val;De.call(me,we)?me[we].push(je):me[we]=[je]}return j(ee,me)})},fr=_n(tl,1/0),Ao=_n(tl,1),K=Cc("log");function ae(b,x,P,j){j=Sr(j||Ct);var te={},ee=T(P);Wi(b,x,function(ce,me,De){ee(ce,me,function(Fe,we){if(Fe)return De(Fe);te[me]=we,De()})},function(ce){j(ce,te)})}var ie=_n(ae,1/0),Me=_n(ae,1);function it(b,x){return x in b}function Ue(b,x){var P=Object.create(null),j=Object.create(null);x=x||vo;var te=T(b),ee=U(function(me,De){var Fe=x.apply(null,me);it(P,Fe)?B(function(){De.apply(null,P[Fe])}):it(j,Fe)?j[Fe].push(De):(j[Fe]=[De],te.apply(null,me.concat(function(){var we=_(arguments);P[Fe]=we;var je=j[Fe];delete j[Fe];for(var Rt=0,ln=je.length;Rt<ln;Rt++)je[Rt].apply(null,we)})))});return ee.memo=P,ee.unmemoized=b,ee}var Bt=q(k?process.nextTick:R?setImmediate:L);function Jt(b,x,P){P=P||Ct;var j=vi(x)?[]:{};b(x,function(te,ee,ce){T(te)(function(me,De){arguments.length>2&&(De=_(arguments,1)),j[ee]=De,ce(me)})},function(te){P(te,j)})}function Ac(b,x){Jt(Ci,b,x)}function Tr(b,x,P){Jt(qa(x),b,P)}var Si=function(b,x){var P=T(b);return Xl(function(j,te){P(j[0],te)},x,1)},hr=function(b,x){var P=Si(b,x);return P.push=function(j,te,ee){if(null==ee&&(ee=Ct),"function"!=typeof ee)throw new Error("task callback must be a function");if(P.started=!0,gn(j)||(j=[j]),0===j.length)return B(function(){P.drain()});te=te||0;for(var ce=P._tasks.head;ce&&te>=ce.priority;)ce=ce.next;for(var me=0,De=j.length;me<De;me++){var Fe={data:j[me],priority:te,callback:ee};ce?P._tasks.insertBefore(ce,Fe):P._tasks.push(Fe)}B(P.process)},delete P.unshift,P};function As(b,x){if(x=Sr(x||Ct),!gn(b))return x(new TypeError("First argument to race must be an array of functions"));if(!b.length)return x();for(var P=0,j=b.length;P<j;P++)T(b[P])(x)}function Ai(b,x,P,j){ui(_(b).reverse(),x,P,j)}function Ir(b){var x=T(b);return U(function(j,te){return j.push(function(ce,me){var De;ce?te(null,{error:ce}):(De=arguments.length<=2?me:_(arguments,1),te(null,{value:De}))}),x.apply(this,j)})}function lt(b){var x;return gn(b)?x=po(b,Ir):(x={},rn(b,function(P,j){x[j]=Ir.call(this,P)})),x}function Jl(b,x,P,j){dr(b,x,function(te,ee){P(te,function(ce,me){ee(ce,!me)})},j)}var _a=_s(Jl),To=Yn(Jl),Ti=_n(To,1);function eu(b){return function(){return b}}function Io(b,x,P){var j=5,te=0,ee={times:j,intervalFunc:eu(te)};function ce(we,je){if("object"==typeof je)we.times=+je.times||j,we.intervalFunc="function"==typeof je.interval?je.interval:eu(+je.interval||te),we.errorFilter=je.errorFilter;else{if("number"!=typeof je&&"string"!=typeof je)throw new Error("Invalid arguments for async.retry");we.times=+je||j}}if(arguments.length<3&&"function"==typeof b?(P=x||Ct,x=b):(ce(ee,b),P=P||Ct),"function"!=typeof x)throw new Error("Invalid arguments for async.retry");var me=T(x),De=1;function Fe(){me(function(we){we&&De++<ee.times&&("function"!=typeof ee.errorFilter||ee.errorFilter(we))?setTimeout(Fe,ee.intervalFunc(De)):P.apply(null,arguments)})}Fe()}var Ge=function(b,x){x||(x=b,b=null);var P=T(x);return U(function(j,te){function ee(ce){P.apply(null,j.concat(ce))}b?Io(b,ee,te):Io(ee,te)})};function Zi(b,x){Jt(dn,b,x)}var Ts=_s(ga(Boolean,vo)),Mo=Yn(ga(Boolean,vo)),Is=_n(Mo,1);function nl(b,x,P){var j=T(x);function te(ee,ce){var me=ee.criteria,De=ce.criteria;return me<De?-1:me>De?1:0}ys(b,function(ee,ce){j(ee,function(me,De){if(me)return ce(me);ce(null,{value:ee,criteria:De})})},function(ee,ce){if(ee)return P(ee);P(null,po(ce.sort(te),Jn("value")))})}function tu(b,x,P){var j=T(b);return U(function(te,ee){var me,ce=!1;te.push(function(){ce||(ee.apply(null,arguments),clearTimeout(me))}),me=setTimeout(function De(){var we=new Error('Callback function "'+(b.name||"anonymous")+'" timed out.');we.code="ETIMEDOUT",P&&(we.info=P),ce=!0,ee(we)},x),j.apply(null,te)})}var rl=Math.ceil,ge=Math.max;function Mr(b,x,P,j){var te=T(P);Gi(function gt(b,x,P,j){for(var te=-1,ee=ge(rl((x-b)/(P||1)),0),ce=Array(ee);ee--;)ce[j?ee:++te]=b,b+=P;return ce}(0,b,1),x,te,j)}var on=_n(Mr,1/0),nu=_n(Mr,1);function xo(b,x,P,j){arguments.length<=3&&(j=P,P=x,x=gn(b)?[]:{}),j=Sr(j||Ct);var te=T(P);Ci(b,function(ee,ce,me){te(x,ee,ce,me)},function(ee){j(ee,x)})}function Gr(b,x){var j,P=null;x=x||Ct,Ss(b,function(te,ee){T(te)(function(ce,me){j=arguments.length>2?_(arguments,1):me,P=ce,ee(!ce)})},function(){x(P,j)})}function Ms(b){return function(){return(b.unmemoized||b).apply(null,arguments)}}function Xi(b,x,P){P=Wr(P||Ct);var j=T(x);if(!b())return P(null);var te=function(ee){if(ee)return P(ee);if(b())return j(te);var ce=_(arguments,1);P.apply(null,[null].concat(ce))};j(te)}function ru(b,x,P){Xi(function(){return!b.apply(this,arguments)},x,P)}var Tc=function(b,x){if(x=Sr(x||Ct),!gn(b))return x(new Error("First argument to waterfall must be an array of functions"));if(!b.length)return x();var P=0;function j(ee){var ce=T(b[P++]);ee.push(Wr(te)),ce.apply(null,ee)}function te(ee){if(ee||P===b.length)return x.apply(null,arguments);j(_(arguments,1))}j([])};F.default={apply:oe,applyEach:lc,applyEachSeries:Di,asyncify:g,auto:St,autoInject:Ar,cargo:Zn,compose:_o,concat:vc,concatLimit:yo,concatSeries:bc,constant:Qa,detect:jn,detectLimit:bo,detectSeries:ws,dir:Dc,doDuring:_f,doUntil:yf,doWhilst:wc,during:vf,each:Qi,eachLimit:Eo,eachOf:Ci,eachOfLimit:Wi,eachOfSeries:dn,eachSeries:Ss,ensureAsync:Za,every:ci,everyLimit:Xn,everySeries:Co,filter:wo,filterLimit:So,filterSeries:Ja,forever:el,groupBy:fr,groupByLimit:tl,groupBySeries:Ao,log:K,map:ys,mapLimit:Gi,mapSeries:$a,mapValues:ie,mapValuesLimit:ae,mapValuesSeries:Me,memoize:Ue,nextTick:Bt,parallel:Ac,parallelLimit:Tr,priorityQueue:hr,queue:Si,race:As,reduce:ui,reduceRight:Ai,reflect:Ir,reflectAll:lt,reject:_a,rejectLimit:To,rejectSeries:Ti,retry:Io,retryable:Ge,seq:Ds,series:Zi,setImmediate:B,some:Ts,someLimit:Mo,someSeries:Is,sortBy:nl,timeout:tu,times:on,timesLimit:Mr,timesSeries:nu,transform:xo,tryEach:Gr,unmemoize:Ms,until:ru,waterfall:Tc,whilst:Xi,all:ci,allLimit:Xn,allSeries:Co,any:Ts,anyLimit:Mo,anySeries:Is,find:jn,findLimit:bo,findSeries:ws,forEach:Qi,forEachSeries:Ss,forEachLimit:Eo,forEachOf:Ci,forEachOfSeries:dn,forEachOfLimit:Wi,inject:ui,foldl:ui,foldr:Ai,select:wo,selectLimit:So,selectSeries:Ja,wrapSync:g},F.apply=oe,F.applyEach=lc,F.applyEachSeries=Di,F.asyncify=g,F.auto=St,F.autoInject=Ar,F.cargo=Zn,F.compose=_o,F.concat=vc,F.concatLimit=yo,F.concatSeries=bc,F.constant=Qa,F.detect=jn,F.detectLimit=bo,F.detectSeries=ws,F.dir=Dc,F.doDuring=_f,F.doUntil=yf,F.doWhilst=wc,F.during=vf,F.each=Qi,F.eachLimit=Eo,F.eachOf=Ci,F.eachOfLimit=Wi,F.eachOfSeries=dn,F.eachSeries=Ss,F.ensureAsync=Za,F.every=ci,F.everyLimit=Xn,F.everySeries=Co,F.filter=wo,F.filterLimit=So,F.filterSeries=Ja,F.forever=el,F.groupBy=fr,F.groupByLimit=tl,F.groupBySeries=Ao,F.log=K,F.map=ys,F.mapLimit=Gi,F.mapSeries=$a,F.mapValues=ie,F.mapValuesLimit=ae,F.mapValuesSeries=Me,F.memoize=Ue,F.nextTick=Bt,F.parallel=Ac,F.parallelLimit=Tr,F.priorityQueue=hr,F.queue=Si,F.race=As,F.reduce=ui,F.reduceRight=Ai,F.reflect=Ir,F.reflectAll=lt,F.reject=_a,F.rejectLimit=To,F.rejectSeries=Ti,F.retry=Io,F.retryable=Ge,F.seq=Ds,F.series=Zi,F.setImmediate=B,F.some=Ts,F.someLimit=Mo,F.someSeries=Is,F.sortBy=nl,F.timeout=tu,F.times=on,F.timesLimit=Mr,F.timesSeries=nu,F.transform=xo,F.tryEach=Gr,F.unmemoize=Ms,F.until=ru,F.waterfall=Tc,F.whilst=Xi,F.all=ci,F.allLimit=Xn,F.allSeries=Co,F.any=Ts,F.anyLimit=Mo,F.anySeries=Is,F.find=jn,F.findLimit=bo,F.findSeries=ws,F.forEach=Qi,F.forEachSeries=Ss,F.forEachLimit=Eo,F.forEachOf=Ci,F.forEachOfSeries=dn,F.forEachOfLimit=Wi,F.inject=ui,F.foldl=ui,F.foldr=Ai,F.select=wo,F.selectLimit=So,F.selectSeries=Ja,F.wrapSync=g,Object.defineProperty(F,"__esModule",{value:!0})}(H)},3299:(Ee,H,J)=>{"use strict";function F(T){return T&&T.__esModule?T:{default:T}}H.__esModule=!0;var oe=F(J(6678)),G=F(J(2930)),R=J(1067),k=J(8968),q=F(J(950)),B=F(J(2117)),M=F(J(7843)),E=oe.default.create;function S(){var T=E();return T.compile=function(z,X){return k.compile(z,X,T)},T.precompile=function(z,X){return k.precompile(z,X,T)},T.AST=G.default,T.Compiler=k.Compiler,T.JavaScriptCompiler=q.default,T.Parser=R.parser,T.parse=R.parse,T.parseWithoutProcessing=R.parseWithoutProcessing,T}var N=S();N.create=S,M.default(N),N.Visitor=B.default,N.default=N,H.default=N,Ee.exports=H.default},6678:(Ee,H,J)=>{"use strict";function F(T){return T&&T.__esModule?T:{default:T}}function _(T){if(T&&T.__esModule)return T;var z={};if(null!=T)for(var X in T)Object.prototype.hasOwnProperty.call(T,X)&&(z[X]=T[X]);return z.default=T,z}H.__esModule=!0;var U=_(J(5075)),R=F(J(6997)),L=F(J(5118)),w=_(J(8587)),g=_(J(1010)),E=F(J(7843));function S(){var T=new U.HandlebarsEnvironment;return w.extend(T,U),T.SafeString=R.default,T.Exception=L.default,T.Utils=w,T.escapeExpression=w.escapeExpression,T.VM=g,T.template=function(z){return g.template(z,T)},T}var N=S();N.create=S,E.default(N),N.default=N,H.default=N,Ee.exports=H.default},5075:(Ee,H,J)=>{"use strict";function F(T){return T&&T.__esModule?T:{default:T}}H.__esModule=!0,H.HandlebarsEnvironment=S;var _=J(8587),U=F(J(5118)),G=J(8246),R=J(9450),L=F(J(1932)),q=J(1446);H.VERSION="4.7.7",H.COMPILER_REVISION=8,H.LAST_COMPATIBLE_COMPILER_REVISION=7,H.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var E="[object Object]";function S(T,z,X){this.helpers=T||{},this.partials=z||{},this.decorators=X||{},G.registerDefaultHelpers(this),R.registerDefaultDecorators(this)}S.prototype={constructor:S,logger:L.default,log:L.default.log,registerHelper:function(z,X){if(_.toString.call(z)===E){if(X)throw new U.default("Arg not supported with multiple helpers");_.extend(this.helpers,z)}else this.helpers[z]=X},unregisterHelper:function(z){delete this.helpers[z]},registerPartial:function(z,X){if(_.toString.call(z)===E)_.extend(this.partials,z);else{if(void 0===X)throw new U.default('Attempting to register a partial called "'+z+'" as undefined');this.partials[z]=X}},unregisterPartial:function(z){delete this.partials[z]},registerDecorator:function(z,X){if(_.toString.call(z)===E){if(X)throw new U.default("Arg not supported with multiple decorators");_.extend(this.decorators,z)}else this.decorators[z]=X},unregisterDecorator:function(z){delete this.decorators[z]},resetLoggedPropertyAccesses:function(){q.resetLoggedProperties()}},H.log=L.default.log,H.createFrame=_.createFrame,H.logger=L.default},2930:(Ee,H)=>{"use strict";H.__esModule=!0;var J={helpers:{helperExpression:function(_){return"SubExpression"===_.type||("MustacheStatement"===_.type||"BlockStatement"===_.type)&&!!(_.params&&_.params.length||_.hash)},scopedId:function(_){return/^\.|this\b/.test(_.original)},simpleId:function(_){return 1===_.parts.length&&!J.helpers.scopedId(_)&&!_.depth}}};H.default=J,Ee.exports=H.default},1067:(Ee,H,J)=>{"use strict";function _(M){return M&&M.__esModule?M:{default:M}}H.__esModule=!0,H.parseWithoutProcessing=B,H.parse=function g(M,E){var S=B(M,E);return new R.default(E).accept(S)};var U=_(J(1618)),R=_(J(9092)),L=function F(M){if(M&&M.__esModule)return M;var E={};if(null!=M)for(var S in M)Object.prototype.hasOwnProperty.call(M,S)&&(E[S]=M[S]);return E.default=M,E}(J(2935)),q=J(8587);H.parser=U.default;var w={};function B(M,E){return"Program"===M.type?M:(U.default.yy=w,w.locInfo=function(N){return new w.SourceLocation(E&&E.srcName,N)},U.default.parse(M))}q.extend(w,L)},7012:(Ee,H,J)=>{"use strict";H.__esModule=!0;var F=J(8587),_=void 0;function U(R,k,L){if(F.isArray(R)){for(var q=[],w=0,B=R.length;w<B;w++)q.push(k.wrap(R[w],L));return q}return"boolean"==typeof R||"number"==typeof R?R+"":R}function G(R){this.srcFile=R,this.source=[]}_||((_=function(R,k,L,q){this.src="",q&&this.add(q)}).prototype={add:function(k){F.isArray(k)&&(k=k.join("")),this.src+=k},prepend:function(k){F.isArray(k)&&(k=k.join("")),this.src=k+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),G.prototype={isEmpty:function(){return!this.source.length},prepend:function(k,L){this.source.unshift(this.wrap(k,L))},push:function(k,L){this.source.push(this.wrap(k,L))},merge:function(){var k=this.empty();return this.each(function(L){k.add([" ",L,"\n"])}),k},each:function(k){for(var L=0,q=this.source.length;L<q;L++)k(this.source[L])},empty:function(){var k=this.currentLocation||{start:{}};return new _(k.start.line,k.start.column,this.srcFile)},wrap:function(k){var L=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return k instanceof _?k:(k=U(k,this,L),new _(L.start.line,L.start.column,this.srcFile,k))},functionCall:function(k,L,q){return q=this.generateList(q),this.wrap([k,L?"."+L+"(":"(",q,")"])},quotedString:function(k){return'"'+(k+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(k){var L=this,q=[];Object.keys(k).forEach(function(B){var g=U(k[B],L);"undefined"!==g&&q.push([L.quotedString(B),":",g])});var w=this.generateList(q);return w.prepend("{"),w.add("}"),w},generateList:function(k){for(var L=this.empty(),q=0,w=k.length;q<w;q++)q&&L.add(","),L.add(U(k[q],this));return L},generateArray:function(k){var L=this.generateList(k);return L.prepend("["),L.add("]"),L}},H.default=G,Ee.exports=H.default},8968:(Ee,H,J)=>{"use strict";function F(M){return M&&M.__esModule?M:{default:M}}H.__esModule=!0,H.Compiler=L,H.precompile=function q(M,E,S){if(null==M||"string"!=typeof M&&"Program"!==M.type)throw new oe.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+M);"data"in(E=E||{})||(E.data=!0),E.compat&&(E.useDepths=!0);var N=S.parse(M,E),T=(new S.Compiler).compile(N,E);return(new S.JavaScriptCompiler).compile(T,E)},H.compile=function w(M,E,S){if(void 0===E&&(E={}),null==M||"string"!=typeof M&&"Program"!==M.type)throw new oe.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+M);"data"in(E=U.extend({},E))||(E.data=!0),E.compat&&(E.useDepths=!0);var N=void 0;function T(){var X=S.parse(M,E),be=(new S.Compiler).compile(X,E),re=(new S.JavaScriptCompiler).compile(be,E,void 0,!0);return S.template(re)}function z(X,be){return N||(N=T()),N.call(this,X,be)}return z._setup=function(X){return N||(N=T()),N._setup(X)},z._child=function(X,be,re,se){return N||(N=T()),N._child(X,be,re,se)},z};var oe=F(J(5118)),U=J(8587),R=F(J(2930)),k=[].slice;function L(){}function B(M,E){if(M===E)return!0;if(U.isArray(M)&&U.isArray(E)&&M.length===E.length){for(var S=0;S<M.length;S++)if(!B(M[S],E[S]))return!1;return!0}}function g(M){if(!M.path.parts){var E=M.path;M.path={type:"PathExpression",data:!1,depth:0,parts:[E.original+""],original:E.original+"",loc:E.loc}}}L.prototype={compiler:L,equals:function(E){var S=this.opcodes.length;if(E.opcodes.length!==S)return!1;for(var N=0;N<S;N++){var T=this.opcodes[N],z=E.opcodes[N];if(T.opcode!==z.opcode||!B(T.args,z.args))return!1}for(S=this.children.length,N=0;N<S;N++)if(!this.children[N].equals(E.children[N]))return!1;return!0},guid:0,compile:function(E,S){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=S,this.stringParams=S.stringParams,this.trackIds=S.trackIds,S.blockParams=S.blockParams||[],S.knownHelpers=U.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},S.knownHelpers),this.accept(E)},compileProgram:function(E){var N=(new this.compiler).compile(E,this.options),T=this.guid++;return this.usePartial=this.usePartial||N.usePartial,this.children[T]=N,this.useDepths=this.useDepths||N.useDepths,T},accept:function(E){if(!this[E.type])throw new oe.default("Unknown type: "+E.type,E);this.sourceNode.unshift(E);var S=this[E.type](E);return this.sourceNode.shift(),S},Program:function(E){this.options.blockParams.unshift(E.blockParams);for(var S=E.body,N=S.length,T=0;T<N;T++)this.accept(S[T]);return this.options.blockParams.shift(),this.isSimple=1===N,this.blockParams=E.blockParams?E.blockParams.length:0,this},BlockStatement:function(E){g(E);var S=E.program,N=E.inverse;S=S&&this.compileProgram(S),N=N&&this.compileProgram(N);var T=this.classifySexpr(E);"helper"===T?this.helperSexpr(E,S,N):"simple"===T?(this.simpleSexpr(E),this.opcode("pushProgram",S),this.opcode("pushProgram",N),this.opcode("emptyHash"),this.opcode("blockValue",E.path.original)):(this.ambiguousSexpr(E,S,N),this.opcode("pushProgram",S),this.opcode("pushProgram",N),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(E){var S=E.program&&this.compileProgram(E.program),N=this.setupFullMustacheParams(E,S,void 0),T=E.path;this.useDecorators=!0,this.opcode("registerDecorator",N.length,T.original)},PartialStatement:function(E){this.usePartial=!0;var S=E.program;S&&(S=this.compileProgram(E.program));var N=E.params;if(N.length>1)throw new oe.default("Unsupported number of partial arguments: "+N.length,E);N.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):N.push({type:"PathExpression",parts:[],depth:0}));var T=E.name.original,z="SubExpression"===E.name.type;z&&this.accept(E.name),this.setupFullMustacheParams(E,S,void 0,!0);var X=E.indent||"";this.options.preventIndent&&X&&(this.opcode("appendContent",X),X=""),this.opcode("invokePartial",z,T,X),this.opcode("append")},PartialBlockStatement:function(E){this.PartialStatement(E)},MustacheStatement:function(E){this.SubExpression(E),this.opcode(E.escaped&&!this.options.noEscape?"appendEscaped":"append")},Decorator:function(E){this.DecoratorBlock(E)},ContentStatement:function(E){E.value&&this.opcode("appendContent",E.value)},CommentStatement:function(){},SubExpression:function(E){g(E);var S=this.classifySexpr(E);"simple"===S?this.simpleSexpr(E):"helper"===S?this.helperSexpr(E):this.ambiguousSexpr(E)},ambiguousSexpr:function(E,S,N){var T=E.path,z=T.parts[0],X=null!=S||null!=N;this.opcode("getContext",T.depth),this.opcode("pushProgram",S),this.opcode("pushProgram",N),T.strict=!0,this.accept(T),this.opcode("invokeAmbiguous",z,X)},simpleSexpr:function(E){var S=E.path;S.strict=!0,this.accept(S),this.opcode("resolvePossibleLambda")},helperSexpr:function(E,S,N){var T=this.setupFullMustacheParams(E,S,N),z=E.path,X=z.parts[0];if(this.options.knownHelpers[X])this.opcode("invokeKnownHelper",T.length,X);else{if(this.options.knownHelpersOnly)throw new oe.default("You specified knownHelpersOnly, but used the unknown helper "+X,E);z.strict=!0,z.falsy=!0,this.accept(z),this.opcode("invokeHelper",T.length,z.original,R.default.helpers.simpleId(z))}},PathExpression:function(E){this.addDepth(E.depth),this.opcode("getContext",E.depth);var S=E.parts[0],N=R.default.helpers.scopedId(E),T=!E.depth&&!N&&this.blockParamIndex(S);T?this.opcode("lookupBlockParam",T,E.parts):S?E.data?(this.options.data=!0,this.opcode("lookupData",E.depth,E.parts,E.strict)):this.opcode("lookupOnContext",E.parts,E.falsy,E.strict,N):this.opcode("pushContext")},StringLiteral:function(E){this.opcode("pushString",E.value)},NumberLiteral:function(E){this.opcode("pushLiteral",E.value)},BooleanLiteral:function(E){this.opcode("pushLiteral",E.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(E){var S=E.pairs,N=0,T=S.length;for(this.opcode("pushHash");N<T;N++)this.pushParam(S[N].value);for(;N--;)this.opcode("assignToHash",S[N].key);this.opcode("popHash")},opcode:function(E){this.opcodes.push({opcode:E,args:k.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(E){!E||(this.useDepths=!0)},classifySexpr:function(E){var S=R.default.helpers.simpleId(E.path),N=S&&!!this.blockParamIndex(E.path.parts[0]),T=!N&&R.default.helpers.helperExpression(E),z=!N&&(T||S);if(z&&!T){var be=this.options;be.knownHelpers[E.path.parts[0]]?T=!0:be.knownHelpersOnly&&(z=!1)}return T?"helper":z?"ambiguous":"simple"},pushParams:function(E){for(var S=0,N=E.length;S<N;S++)this.pushParam(E[S])},pushParam:function(E){var S=null!=E.value?E.value:E.original||"";if(this.stringParams)S.replace&&(S=S.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),E.depth&&this.addDepth(E.depth),this.opcode("getContext",E.depth||0),this.opcode("pushStringParam",S,E.type),"SubExpression"===E.type&&this.accept(E);else{if(this.trackIds){var N=void 0;if(E.parts&&!R.default.helpers.scopedId(E)&&!E.depth&&(N=this.blockParamIndex(E.parts[0])),N){var T=E.parts.slice(1).join(".");this.opcode("pushId","BlockParam",N,T)}else(S=E.original||S).replace&&(S=S.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",E.type,S)}this.accept(E)}},setupFullMustacheParams:function(E,S,N,T){var z=E.params;return this.pushParams(z),this.opcode("pushProgram",S),this.opcode("pushProgram",N),E.hash?this.accept(E.hash):this.opcode("emptyHash",T),z},blockParamIndex:function(E){for(var S=0,N=this.options.blockParams.length;S<N;S++){var T=this.options.blockParams[S],z=T&&U.indexOf(T,E);if(T&&z>=0)return[S,z]}}}},2935:(Ee,H,J)=>{"use strict";H.__esModule=!0,H.SourceLocation=function G(S,N){this.source=S,this.start={line:N.first_line,column:N.first_column},this.end={line:N.last_line,column:N.last_column}},H.id=function R(S){return/^\[.*\]$/.test(S)?S.substring(1,S.length-1):S},H.stripFlags=function k(S,N){return{open:"~"===S.charAt(2),close:"~"===N.charAt(N.length-3)}},H.stripComment=function L(S){return S.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")},H.preparePath=function q(S,N,T){T=this.locInfo(T);for(var z=S?"@":"",X=[],be=0,re=0,se=N.length;re<se;re++){var pe=N[re].part;if(z+=(N[re].separator||"")+pe,N[re].original!==pe||".."!==pe&&"."!==pe&&"this"!==pe)X.push(pe);else{if(X.length>0)throw new oe.default("Invalid path: "+z,{loc:T});".."===pe&&be++}}return{type:"PathExpression",data:S,depth:be,parts:X,original:z,loc:T}},H.prepareMustache=function w(S,N,T,z,X,be){var re=z.charAt(3)||z.charAt(2),se="{"!==re&&"&"!==re;return{type:/\*/.test(z)?"Decorator":"MustacheStatement",path:S,params:N,hash:T,escaped:se,strip:X,loc:this.locInfo(be)}},H.prepareRawBlock=function B(S,N,T,z){return U(S,T),z=this.locInfo(z),{type:"BlockStatement",path:S.path,params:S.params,hash:S.hash,program:{type:"Program",body:N,strip:{},loc:z},openStrip:{},inverseStrip:{},closeStrip:{},loc:z}},H.prepareBlock=function g(S,N,T,z,X,be){z&&z.path&&U(S,z);var re=/\*/.test(S.open);N.blockParams=S.blockParams;var se=void 0,pe=void 0;if(T){if(re)throw new oe.default("Unexpected inverse block on decorator",T);T.chain&&(T.program.body[0].closeStrip=z.strip),pe=T.strip,se=T.program}return X&&(X=se,se=N,N=X),{type:re?"DecoratorBlock":"BlockStatement",path:S.path,params:S.params,hash:S.hash,program:N,inverse:se,openStrip:S.strip,inverseStrip:pe,closeStrip:z&&z.strip,loc:this.locInfo(be)}},H.prepareProgram=function M(S,N){if(!N&&S.length){var T=S[0].loc,z=S[S.length-1].loc;T&&z&&(N={source:T.source,start:{line:T.start.line,column:T.start.column},end:{line:z.end.line,column:z.end.column}})}return{type:"Program",body:S,strip:{},loc:N}},H.preparePartialBlock=function E(S,N,T,z){return U(S,T),{type:"PartialBlockStatement",name:S.path,params:S.params,hash:S.hash,program:N,openStrip:S.strip,closeStrip:T&&T.strip,loc:this.locInfo(z)}};var oe=function F(S){return S&&S.__esModule?S:{default:S}}(J(5118));function U(S,N){if(S.path.original!==(N=N.path?N.path.original:N))throw new oe.default(S.path.original+" doesn't match "+N,{loc:S.path.loc})}},950:(Ee,H,J)=>{"use strict";function F(B){return B&&B.__esModule?B:{default:B}}H.__esModule=!0;var _=J(5075),U=F(J(5118)),G=J(8587),k=F(J(7012));function L(B){this.value=B}function q(){}q.prototype={nameLookup:function(g,M){return this.internalNameLookup(g,M)},depthedLookup:function(g){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(g),")"]},compilerInfo:function(){var g=_.COMPILER_REVISION;return[g,_.REVISION_CHANGES[g]]},appendToBuffer:function(g,M,E){return G.isArray(g)||(g=[g]),g=this.source.wrap(g,M),this.environment.isSimple?["return ",g,";"]:E?["buffer += ",g,";"]:(g.appendToBuffer=!0,g)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(g,M){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",g,",",JSON.stringify(M),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(g,M,E,S){this.environment=g,this.options=M,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!S,this.name=this.environment.name,this.isChild=!!E,this.context=E||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(g,M),this.useDepths=this.useDepths||g.useDepths||g.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||g.useBlockParams;var N=g.opcodes,T=void 0,z=void 0,X=void 0,be=void 0;for(X=0,be=N.length;X<be;X++)this.source.currentLocation=(T=N[X]).loc,z=z||T.loc,this[T.opcode].apply(this,T.args);if(this.source.currentLocation=z,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new U.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),";\n"]),this.decorators.push("return fn;"),S?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var re=this.createFunctionContext(S);if(this.isChild)return re;var se={compiler:this.compilerInfo(),main:re};this.decorators&&(se.main_d=this.decorators,se.useDecorators=!0);var pe=this.context,Ke=pe.programs,Ne=pe.decorators;for(X=0,be=Ke.length;X<be;X++)Ke[X]&&(se[X]=Ke[X],Ne[X]&&(se[X+"_d"]=Ne[X],se.useDecorators=!0));return this.environment.usePartial&&(se.usePartial=!0),this.options.data&&(se.useData=!0),this.useDepths&&(se.useDepths=!0),this.useBlockParams&&(se.useBlockParams=!0),this.options.compat&&(se.compat=!0),S?se.compilerOptions=this.options:(se.compiler=JSON.stringify(se.compiler),this.source.currentLocation={start:{line:1,column:0}},se=this.objectLiteral(se),M.srcName?(se=se.toStringWithSourceMap({file:M.destName})).map=se.map&&se.map.toString():se=se.toString()),se},preamble:function(){this.lastContext=0,this.source=new k.default(this.options.srcName),this.decorators=new k.default(this.options.srcName)},createFunctionContext:function(g){var M=this,E="",S=this.stackVars.concat(this.registers.list);S.length>0&&(E+=", "+S.join(", "));var N=0;Object.keys(this.aliases).forEach(function(X){var be=M.aliases[X];be.children&&be.referenceCount>1&&(E+=", alias"+ ++N+"="+X,be.children[0]="alias"+N)}),this.lookupPropertyFunctionIsUsed&&(E+=", "+this.lookupPropertyFunctionVarDeclaration());var T=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&T.push("blockParams"),this.useDepths&&T.push("depths");var z=this.mergeSource(E);return g?(T.push(z),Function.apply(this,T)):this.source.wrap(["function(",T.join(","),") {\n ",z,"}"])},mergeSource:function(g){var M=this.environment.isSimple,E=!this.forceBuffer,S=void 0,N=void 0,T=void 0,z=void 0;return this.source.each(function(X){X.appendToBuffer?(T?X.prepend(" + "):T=X,z=X):(T&&(N?T.prepend("buffer += "):S=!0,z.add(";"),T=z=void 0),N=!0,M||(E=!1))}),E?T?(T.prepend("return "),z.add(";")):N||this.source.push('return "";'):(g+=", buffer = "+(S?"":this.initializeBuffer()),T?(T.prepend("return buffer + "),z.add(";")):this.source.push("return buffer;")),g&&this.source.prepend("var "+g.substring(2)+(S?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function(g){var M=this.aliasable("container.hooks.blockHelperMissing"),E=[this.contextName(0)];this.setupHelperArgs(g,0,E);var S=this.popStack();E.splice(1,0,S),this.push(this.source.functionCall(M,"call",E))},ambiguousBlockValue:function(){var g=this.aliasable("container.hooks.blockHelperMissing"),M=[this.contextName(0)];this.setupHelperArgs("",0,M,!0),this.flushInline();var E=this.topStack();M.splice(1,0,E),this.pushSource(["if (!",this.lastHelper,") { ",E," = ",this.source.functionCall(g,"call",M),"}"])},appendContent:function(g){this.pendingContent?g=this.pendingContent+g:this.pendingLocation=this.source.currentLocation,this.pendingContent=g},append:function(){if(this.isInline())this.replaceStack(function(M){return[" != null ? ",M,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var g=this.popStack();this.pushSource(["if (",g," != null) { ",this.appendToBuffer(g,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(g){this.lastContext=g},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(g,M,E,S){var N=0;S||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(g[N++])),this.resolvePath("context",g,N,M,E)},lookupBlockParam:function(g,M){this.useBlockParams=!0,this.push(["blockParams[",g[0],"][",g[1],"]"]),this.resolvePath("context",M,1)},lookupData:function(g,M,E){this.pushStackLiteral(g?"container.data(data, "+g+")":"data"),this.resolvePath("data",M,0,!0,E)},resolvePath:function(g,M,E,S,N){var T=this;if(this.options.strict||this.options.assumeObjects)this.push(function w(B,g,M,E){var S=g.popStack(),N=0,T=M.length;for(B&&T--;N<T;N++)S=g.nameLookup(S,M[N],E);return B?[g.aliasable("container.strict"),"(",S,", ",g.quotedString(M[N]),", ",JSON.stringify(g.source.currentLocation)," )"]:S}(this.options.strict&&N,this,M,g));else for(var z=M.length;E<z;E++)this.replaceStack(function(X){var be=T.nameLookup(X,M[E],g);return S?[" && ",be]:[" != null ? ",be," : ",X]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(g,M){this.pushContext(),this.pushString(M),"SubExpression"!==M&&("string"==typeof g?this.pushString(g):this.pushStackLiteral(g))},emptyHash:function(g){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(g?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var g=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(g.ids)),this.stringParams&&(this.push(this.objectLiteral(g.contexts)),this.push(this.objectLiteral(g.types))),this.push(this.objectLiteral(g.values))},pushString:function(g){this.pushStackLiteral(this.quotedString(g))},pushLiteral:function(g){this.pushStackLiteral(g)},pushProgram:function(g){this.pushStackLiteral(null!=g?this.programExpression(g):null)},registerDecorator:function(g,M){var E=this.nameLookup("decorators",M,"decorator"),S=this.setupHelperArgs(M,g);this.decorators.push(["fn = ",this.decorators.functionCall(E,"",["fn","props","container",S])," || fn;"])},invokeHelper:function(g,M,E){var S=this.popStack(),N=this.setupHelper(g,M),T=[];E&&T.push(N.name),T.push(S),this.options.strict||T.push(this.aliasable("container.hooks.helperMissing"));var z=["(",this.itemsSeparatedBy(T,"||"),")"],X=this.source.functionCall(z,"call",N.callParams);this.push(X)},itemsSeparatedBy:function(g,M){var E=[];E.push(g[0]);for(var S=1;S<g.length;S++)E.push(M,g[S]);return E},invokeKnownHelper:function(g,M){var E=this.setupHelper(g,M);this.push(this.source.functionCall(E.name,"call",E.callParams))},invokeAmbiguous:function(g,M){this.useRegister("helper");var E=this.popStack();this.emptyHash();var S=this.setupHelper(0,g,M),T=["(","(helper = ",this.lastHelper=this.nameLookup("helpers",g,"helper")," || ",E,")"];this.options.strict||(T[0]="(helper = ",T.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",T,S.paramsInit?["),(",S.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",S.callParams)," : helper))"])},invokePartial:function(g,M,E){var S=[],N=this.setupParams(M,1,S);g&&(M=this.popStack(),delete N.name),E&&(N.indent=JSON.stringify(E)),N.helpers="helpers",N.partials="partials",N.decorators="container.decorators",S.unshift(g?M:this.nameLookup("partials",M,"partial")),this.options.compat&&(N.depths="depths"),N=this.objectLiteral(N),S.push(N),this.push(this.source.functionCall("container.invokePartial","",S))},assignToHash:function(g){var M=this.popStack(),E=void 0,S=void 0,N=void 0;this.trackIds&&(N=this.popStack()),this.stringParams&&(S=this.popStack(),E=this.popStack());var T=this.hash;E&&(T.contexts[g]=E),S&&(T.types[g]=S),N&&(T.ids[g]=N),T.values[g]=M},pushId:function(g,M,E){"BlockParam"===g?this.pushStackLiteral("blockParams["+M[0]+"].path["+M[1]+"]"+(E?" + "+JSON.stringify("."+E):"")):"PathExpression"===g?this.pushString(M):this.pushStackLiteral("SubExpression"===g?"true":"null")},compiler:q,compileChildren:function(g,M){for(var E=g.children,S=void 0,N=void 0,T=0,z=E.length;T<z;T++){S=E[T],N=new this.compiler;var X=this.matchExistingProgram(S);if(null==X){this.context.programs.push("");var be=this.context.programs.length;S.index=be,S.name="program"+be,this.context.programs[be]=N.compile(S,M,this.context,!this.precompile),this.context.decorators[be]=N.decorators,this.context.environments[be]=S,this.useDepths=this.useDepths||N.useDepths,this.useBlockParams=this.useBlockParams||N.useBlockParams,S.useDepths=this.useDepths,S.useBlockParams=this.useBlockParams}else S.index=X.index,S.name="program"+X.index,this.useDepths=this.useDepths||X.useDepths,this.useBlockParams=this.useBlockParams||X.useBlockParams}},matchExistingProgram:function(g){for(var M=0,E=this.context.environments.length;M<E;M++){var S=this.context.environments[M];if(S&&S.equals(g))return S}},programExpression:function(g){var M=this.environment.children[g],E=[M.index,"data",M.blockParams];return(this.useBlockParams||this.useDepths)&&E.push("blockParams"),this.useDepths&&E.push("depths"),"container.program("+E.join(", ")+")"},useRegister:function(g){this.registers[g]||(this.registers[g]=!0,this.registers.list.push(g))},push:function(g){return g instanceof L||(g=this.source.wrap(g)),this.inlineStack.push(g),g},pushStackLiteral:function(g){this.push(new L(g))},pushSource:function(g){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),g&&this.source.push(g)},replaceStack:function(g){var M=["("],E=void 0,S=void 0,N=void 0;if(!this.isInline())throw new U.default("replaceStack on non-inline");var T=this.popStack(!0);if(T instanceof L)M=["(",E=[T.value]],N=!0;else{S=!0;var z=this.incrStack();M=["((",this.push(z)," = ",T,")"],E=this.topStack()}var X=g.call(this,E);N||this.popStack(),S&&this.stackSlot--,this.push(M.concat(X,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var g=this.inlineStack;this.inlineStack=[];for(var M=0,E=g.length;M<E;M++){var S=g[M];if(S instanceof L)this.compileStack.push(S);else{var N=this.incrStack();this.pushSource([N," = ",S,";"]),this.compileStack.push(N)}}},isInline:function(){return this.inlineStack.length},popStack:function(g){var M=this.isInline(),E=(M?this.inlineStack:this.compileStack).pop();if(!g&&E instanceof L)return E.value;if(!M){if(!this.stackSlot)throw new U.default("Invalid stack pop");this.stackSlot--}return E},topStack:function(){var g=this.isInline()?this.inlineStack:this.compileStack,M=g[g.length-1];return M instanceof L?M.value:M},contextName:function(g){return this.useDepths&&g?"depths["+g+"]":"depth"+g},quotedString:function(g){return this.source.quotedString(g)},objectLiteral:function(g){return this.source.objectLiteral(g)},aliasable:function(g){var M=this.aliases[g];return M?(M.referenceCount++,M):((M=this.aliases[g]=this.source.wrap(g)).aliasable=!0,M.referenceCount=1,M)},setupHelper:function(g,M,E){var S=[];return{params:S,paramsInit:this.setupHelperArgs(M,g,S,E),name:this.nameLookup("helpers",M,"helper"),callParams:[this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})")].concat(S)}},setupParams:function(g,M,E){var S={},N=[],T=[],z=[],X=!E,be=void 0;X&&(E=[]),S.name=this.quotedString(g),S.hash=this.popStack(),this.trackIds&&(S.hashIds=this.popStack()),this.stringParams&&(S.hashTypes=this.popStack(),S.hashContexts=this.popStack());var re=this.popStack(),se=this.popStack();(se||re)&&(S.fn=se||"container.noop",S.inverse=re||"container.noop");for(var pe=M;pe--;)be=this.popStack(),E[pe]=be,this.trackIds&&(z[pe]=this.popStack()),this.stringParams&&(T[pe]=this.popStack(),N[pe]=this.popStack());return X&&(S.args=this.source.generateArray(E)),this.trackIds&&(S.ids=this.source.generateArray(z)),this.stringParams&&(S.types=this.source.generateArray(T),S.contexts=this.source.generateArray(N)),this.options.data&&(S.data="data"),this.useBlockParams&&(S.blockParams="blockParams"),S},setupHelperArgs:function(g,M,E,S){var N=this.setupParams(g,M,E);return N.loc=JSON.stringify(this.source.currentLocation),N=this.objectLiteral(N),S?(this.useRegister("options"),E.push("options"),["options=",N]):E?(E.push(N),""):N}},function(){for(var B="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),g=q.RESERVED_WORDS={},M=0,E=B.length;M<E;M++)g[B[M]]=!0}(),q.isValidJavaScriptVariableName=function(B){return!q.RESERVED_WORDS[B]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(B)},H.default=q,Ee.exports=H.default},1618:(Ee,H)=>{"use strict";H.__esModule=!0;var J=function(){var F={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(G,R,k,L,q,w,B){var g=w.length-1;switch(q){case 1:return w[g-1];case 2:this.$=L.prepareProgram(w[g]);break;case 3:case 4:case 5:case 6:case 7:case 8:case 20:case 27:case 28:case 33:case 34:case 40:case 41:this.$=w[g];break;case 9:this.$={type:"CommentStatement",value:L.stripComment(w[g]),strip:L.stripFlags(w[g],w[g]),loc:L.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:w[g],value:w[g],loc:L.locInfo(this._$)};break;case 11:this.$=L.prepareRawBlock(w[g-2],w[g-1],w[g],this._$);break;case 12:this.$={path:w[g-3],params:w[g-2],hash:w[g-1]};break;case 13:this.$=L.prepareBlock(w[g-3],w[g-2],w[g-1],w[g],!1,this._$);break;case 14:this.$=L.prepareBlock(w[g-3],w[g-2],w[g-1],w[g],!0,this._$);break;case 15:this.$={open:w[g-5],path:w[g-4],params:w[g-3],hash:w[g-2],blockParams:w[g-1],strip:L.stripFlags(w[g-5],w[g])};break;case 16:case 17:this.$={path:w[g-4],params:w[g-3],hash:w[g-2],blockParams:w[g-1],strip:L.stripFlags(w[g-5],w[g])};break;case 18:this.$={strip:L.stripFlags(w[g-1],w[g-1]),program:w[g]};break;case 19:var M=L.prepareBlock(w[g-2],w[g-1],w[g],w[g],!1,this._$),E=L.prepareProgram([M],w[g-1].loc);E.chained=!0,this.$={strip:w[g-2].strip,program:E,chain:!0};break;case 21:this.$={path:w[g-1],strip:L.stripFlags(w[g-2],w[g])};break;case 22:case 23:this.$=L.prepareMustache(w[g-3],w[g-2],w[g-1],w[g-4],L.stripFlags(w[g-4],w[g]),this._$);break;case 24:this.$={type:"PartialStatement",name:w[g-3],params:w[g-2],hash:w[g-1],indent:"",strip:L.stripFlags(w[g-4],w[g]),loc:L.locInfo(this._$)};break;case 25:this.$=L.preparePartialBlock(w[g-2],w[g-1],w[g],this._$);break;case 26:this.$={path:w[g-3],params:w[g-2],hash:w[g-1],strip:L.stripFlags(w[g-4],w[g])};break;case 29:this.$={type:"SubExpression",path:w[g-3],params:w[g-2],hash:w[g-1],loc:L.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:w[g],loc:L.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:L.id(w[g-2]),value:w[g],loc:L.locInfo(this._$)};break;case 32:this.$=L.id(w[g-1]);break;case 35:this.$={type:"StringLiteral",value:w[g],original:w[g],loc:L.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(w[g]),original:Number(w[g]),loc:L.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===w[g],original:"true"===w[g],loc:L.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:L.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:L.locInfo(this._$)};break;case 42:this.$=L.preparePath(!0,w[g],this._$);break;case 43:this.$=L.preparePath(!1,w[g],this._$);break;case 44:w[g-2].push({part:L.id(w[g]),original:w[g],separator:w[g-1]}),this.$=w[g-2];break;case 45:this.$=[{part:L.id(w[g]),original:w[g]}];break;case 46:case 48:case 50:case 58:case 64:case 70:case 78:case 82:case 86:case 90:case 94:this.$=[];break;case 47:case 49:case 51:case 59:case 65:case 71:case 79:case 83:case 87:case 91:case 95:case 99:case 101:w[g-1].push(w[g]);break;case 98:case 100:this.$=[w[g]]}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(G,R){throw new Error(G)},parse:function(G){var k=[0],L=[null],q=[],w=this.table,B="",g=0,M=0,E=0;this.lexer.setInput(G),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var T=this.lexer.yylloc;q.push(T);var Et,z=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var re,se,pe,Ke,Dt,ye,Se,tt,ke={};;){if(this.defaultActions[pe=k[k.length-1]]?Ke=this.defaultActions[pe]:(null==re&&(Et=void 0,"number"!=typeof(Et=this.lexer.lex()||1)&&(Et=this.symbols_[Et]||Et),re=Et),Ke=w[pe]&&w[pe][re]),void 0===Ke||!Ke.length||!Ke[0]){var an="";if(!E){for(ye in tt=[],w[pe])this.terminals_[ye]&&ye>2&&tt.push("'"+this.terminals_[ye]+"'");an=this.lexer.showPosition?"Parse error on line "+(g+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+tt.join(", ")+", got '"+(this.terminals_[re]||re)+"'":"Parse error on line "+(g+1)+": Unexpected "+(1==re?"end of input":"'"+(this.terminals_[re]||re)+"'"),this.parseError(an,{text:this.lexer.match,token:this.terminals_[re]||re,line:this.lexer.yylineno,loc:T,expected:tt})}}if(Ke[0]instanceof Array&&Ke.length>1)throw new Error("Parse Error: multiple actions possible at state: "+pe+", token: "+re);switch(Ke[0]){case 1:k.push(re),L.push(this.lexer.yytext),q.push(this.lexer.yylloc),k.push(Ke[1]),re=null,se?(re=se,se=null):(M=this.lexer.yyleng,B=this.lexer.yytext,g=this.lexer.yylineno,T=this.lexer.yylloc,E>0&&E--);break;case 2:if(ke.$=L[L.length-(Se=this.productions_[Ke[1]][1])],ke._$={first_line:q[q.length-(Se||1)].first_line,last_line:q[q.length-1].last_line,first_column:q[q.length-(Se||1)].first_column,last_column:q[q.length-1].last_column},z&&(ke._$.range=[q[q.length-(Se||1)].range[0],q[q.length-1].range[1]]),void 0!==(Dt=this.performAction.call(ke,B,M,g,this.yy,Ke[1],L,q)))return Dt;Se&&(k=k.slice(0,-1*Se*2),L=L.slice(0,-1*Se),q=q.slice(0,-1*Se)),k.push(this.productions_[Ke[1]][0]),L.push(ke.$),q.push(ke._$),k.push(w[k[k.length-2]][k[k.length-1]]);break;case 3:return!0}}return!0}};function oe(){this.yy={}}return F.lexer={EOF:1,parseError:function(R,k){if(!this.yy.parser)throw new Error(R);this.yy.parser.parseError(R,k)},setInput:function(R){return this._input=R,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var R=this._input[0];return this.yytext+=R,this.yyleng++,this.offset++,this.match+=R,this.matched+=R,R.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),R},unput:function(R){var k=R.length,L=R.split(/(?:\r\n?|\n)/g);this._input=R+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-k-1),this.offset-=k;var q=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),L.length-1&&(this.yylineno-=L.length-1);var w=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:L?(L.length===q.length?this.yylloc.first_column:0)+q[q.length-L.length].length-L[0].length:this.yylloc.first_column-k},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-k]),this},more:function(){return this._more=!0,this},less:function(R){this.unput(this.match.slice(R))},pastInput:function(){var R=this.matched.substr(0,this.matched.length-this.match.length);return(R.length>20?"...":"")+R.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var R=this.match;return R.length<20&&(R+=this._input.substr(0,20-R.length)),(R.substr(0,20)+(R.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var R=this.pastInput(),k=new Array(R.length+1).join("-");return R+this.upcomingInput()+"\n"+k+"^"},next:function(){if(this.done)return this.EOF;var R,k,L,q,B;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var g=this._currentRules(),M=0;M<g.length&&(!(L=this._input.match(this.rules[g[M]]))||k&&!(L[0].length>k[0].length)||(k=L,q=M,this.options.flex));M++);return k?((B=k[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=B.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:B?B[B.length-1].length-B[B.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+k[0].length},this.yytext+=k[0],this.match+=k[0],this.matches=k,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(k[0].length),this.matched+=k[0],R=this.performAction.call(this,this.yy,this,g[q],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),R||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var R=this.next();return void 0!==R?R:this.lex()},begin:function(R){this.conditionStack.push(R)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(R){this.begin(R)},options:{},performAction:function(R,k,L,q){function w(g,M){return k.yytext=k.yytext.substring(g,k.yyleng-M+g)}switch(L){case 0:if("\\\\"===k.yytext.slice(-2)?(w(0,1),this.begin("mu")):"\\"===k.yytext.slice(-1)?(w(0,1),this.begin("emu")):this.begin("mu"),k.yytext)return 15;break;case 1:case 5:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(w(5,9),"END_RAW_BLOCK");case 6:case 22:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:case 23:return 48;case 21:this.unput(k.yytext),this.popState(),this.begin("com");break;case 24:return 73;case 25:case 26:case 41:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return k.yytext=w(1,2).replace(/\\"/g,'"'),80;case 32:return k.yytext=w(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 42:return k.yytext=k.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}},oe.prototype=F,F.Parser=oe,new oe}();H.default=J,Ee.exports=H.default},7913:(Ee,H,J)=>{"use strict";H.__esModule=!0,H.print=function U(R){return(new G).accept(R)},H.PrintVisitor=G;var oe=function F(R){return R&&R.__esModule?R:{default:R}}(J(2117));function G(){this.padding=0}(G.prototype=new oe.default).pad=function(R){for(var k="",L=0,q=this.padding;L<q;L++)k+=" ";return k+(R+"\n")},G.prototype.Program=function(R){var k="",L=R.body,q=void 0,w=void 0;if(R.blockParams){var B="BLOCK PARAMS: [";for(q=0,w=R.blockParams.length;q<w;q++)B+=" "+R.blockParams[q];k+=this.pad(B+=" ]")}for(q=0,w=L.length;q<w;q++)k+=this.accept(L[q]);return this.padding--,k},G.prototype.MustacheStatement=function(R){return this.pad("{{ "+this.SubExpression(R)+" }}")},G.prototype.Decorator=function(R){return this.pad("{{ DIRECTIVE "+this.SubExpression(R)+" }}")},G.prototype.BlockStatement=G.prototype.DecoratorBlock=function(R){var k="";return k+=this.pad(("DecoratorBlock"===R.type?"DIRECTIVE ":"")+"BLOCK:"),this.padding++,k+=this.pad(this.SubExpression(R)),R.program&&(k+=this.pad("PROGRAM:"),this.padding++,k+=this.accept(R.program),this.padding--),R.inverse&&(R.program&&this.padding++,k+=this.pad("{{^}}"),this.padding++,k+=this.accept(R.inverse),this.padding--,R.program&&this.padding--),this.padding--,k},G.prototype.PartialStatement=function(R){var k="PARTIAL:"+R.name.original;return R.params[0]&&(k+=" "+this.accept(R.params[0])),R.hash&&(k+=" "+this.accept(R.hash)),this.pad("{{> "+k+" }}")},G.prototype.PartialBlockStatement=function(R){var k="PARTIAL BLOCK:"+R.name.original;return R.params[0]&&(k+=" "+this.accept(R.params[0])),R.hash&&(k+=" "+this.accept(R.hash)),k+=" "+this.pad("PROGRAM:"),this.padding++,k+=this.accept(R.program),this.padding--,this.pad("{{> "+k+" }}")},G.prototype.ContentStatement=function(R){return this.pad("CONTENT[ '"+R.value+"' ]")},G.prototype.CommentStatement=function(R){return this.pad("{{! '"+R.value+"' }}")},G.prototype.SubExpression=function(R){for(var q,k=R.params,L=[],w=0,B=k.length;w<B;w++)L.push(this.accept(k[w]));return k="["+L.join(", ")+"]",q=R.hash?" "+this.accept(R.hash):"",this.accept(R.path)+" "+k+q},G.prototype.PathExpression=function(R){var k=R.parts.join("/");return(R.data?"@":"")+"PATH:"+k},G.prototype.StringLiteral=function(R){return'"'+R.value+'"'},G.prototype.NumberLiteral=function(R){return"NUMBER{"+R.value+"}"},G.prototype.BooleanLiteral=function(R){return"BOOLEAN{"+R.value+"}"},G.prototype.UndefinedLiteral=function(){return"UNDEFINED"},G.prototype.NullLiteral=function(){return"NULL"},G.prototype.Hash=function(R){for(var k=R.pairs,L=[],q=0,w=k.length;q<w;q++)L.push(this.accept(k[q]));return"HASH{"+L.join(", ")+"}"},G.prototype.HashPair=function(R){return R.key+"="+this.accept(R.value)}},2117:(Ee,H,J)=>{"use strict";H.__esModule=!0;var oe=function F(L){return L&&L.__esModule?L:{default:L}}(J(5118));function U(){this.parents=[]}function G(L){this.acceptRequired(L,"path"),this.acceptArray(L.params),this.acceptKey(L,"hash")}function R(L){G.call(this,L),this.acceptKey(L,"program"),this.acceptKey(L,"inverse")}function k(L){this.acceptRequired(L,"name"),this.acceptArray(L.params),this.acceptKey(L,"hash")}U.prototype={constructor:U,mutating:!1,acceptKey:function(q,w){var B=this.accept(q[w]);if(this.mutating){if(B&&!U.prototype[B.type])throw new oe.default('Unexpected node type "'+B.type+'" found when accepting '+w+" on "+q.type);q[w]=B}},acceptRequired:function(q,w){if(this.acceptKey(q,w),!q[w])throw new oe.default(q.type+" requires "+w)},acceptArray:function(q){for(var w=0,B=q.length;w<B;w++)this.acceptKey(q,w),q[w]||(q.splice(w,1),w--,B--)},accept:function(q){if(q){if(!this[q.type])throw new oe.default("Unknown type: "+q.type,q);this.current&&this.parents.unshift(this.current),this.current=q;var w=this[q.type](q);if(this.current=this.parents.shift(),!this.mutating||w)return w;if(!1!==w)return q}},Program:function(q){this.acceptArray(q.body)},MustacheStatement:G,Decorator:G,BlockStatement:R,DecoratorBlock:R,PartialStatement:k,PartialBlockStatement:function(q){k.call(this,q),this.acceptKey(q,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:G,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(q){this.acceptArray(q.pairs)},HashPair:function(q){this.acceptRequired(q,"value")}},H.default=U,Ee.exports=H.default},9092:(Ee,H,J)=>{"use strict";H.__esModule=!0;var oe=function F(q){return q&&q.__esModule?q:{default:q}}(J(2117));function U(){var q=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=q}function G(q,w,B){void 0===w&&(w=q.length);var g=q[w-1];return g?"ContentStatement"===g.type?(q[w-2]||!B?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(g.original):void 0:B}function R(q,w,B){void 0===w&&(w=-1);var g=q[w+1];return g?"ContentStatement"===g.type?(q[w+2]||!B?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(g.original):void 0:B}function k(q,w,B){var g=q[null==w?0:w+1];if(g&&"ContentStatement"===g.type&&(B||!g.rightStripped)){var M=g.value;g.value=g.value.replace(B?/^\s+/:/^[ \t]*\r?\n?/,""),g.rightStripped=g.value!==M}}function L(q,w,B){var g=q[null==w?q.length-1:w-1];if(g&&"ContentStatement"===g.type&&(B||!g.leftStripped)){var M=g.value;return g.value=g.value.replace(B?/\s+$/:/[ \t]+$/,""),g.leftStripped=g.value!==M,g.leftStripped}}(U.prototype=new oe.default).Program=function(q){var w=!this.options.ignoreStandalone,B=!this.isRootSeen;this.isRootSeen=!0;for(var g=q.body,M=0,E=g.length;M<E;M++){var S=g[M],N=this.accept(S);if(N){var T=G(g,M,B),z=R(g,M,B),X=N.openStandalone&&T,be=N.closeStandalone&&z,re=N.inlineStandalone&&T&&z;N.close&&k(g,M,!0),N.open&&L(g,M,!0),w&&re&&(k(g,M),L(g,M)&&"PartialStatement"===S.type&&(S.indent=/([ \t]+$)/.exec(g[M-1].original)[1])),w&&X&&(k((S.program||S.inverse).body),L(g,M)),w&&be&&(k(g,M),L((S.inverse||S.program).body))}}return q},U.prototype.BlockStatement=U.prototype.DecoratorBlock=U.prototype.PartialBlockStatement=function(q){this.accept(q.program),this.accept(q.inverse);var w=q.program||q.inverse,B=q.program&&q.inverse,g=B,M=B;if(B&&B.chained)for(g=B.body[0].program;M.chained;)M=M.body[M.body.length-1].program;var E={open:q.openStrip.open,close:q.closeStrip.close,openStandalone:R(w.body),closeStandalone:G((g||w).body)};if(q.openStrip.close&&k(w.body,null,!0),B){var S=q.inverseStrip;S.open&&L(w.body,null,!0),S.close&&k(g.body,null,!0),q.closeStrip.open&&L(M.body,null,!0),!this.options.ignoreStandalone&&G(w.body)&&R(g.body)&&(L(w.body),k(g.body))}else q.closeStrip.open&&L(w.body,null,!0);return E},U.prototype.Decorator=U.prototype.MustacheStatement=function(q){return q.strip},U.prototype.PartialStatement=U.prototype.CommentStatement=function(q){var w=q.strip||{};return{inlineStandalone:!0,open:w.open,close:w.close}},H.default=U,Ee.exports=H.default},9450:(Ee,H,J)=>{"use strict";H.__esModule=!0,H.registerDefaultDecorators=function U(G){oe.default(G)};var oe=function F(G){return G&&G.__esModule?G:{default:G}}(J(6284))},6284:(Ee,H,J)=>{"use strict";H.__esModule=!0;var F=J(8587);H.default=function(_){_.registerDecorator("inline",function(oe,U,G,R){var k=oe;return U.partials||(U.partials={},k=function(L,q){var w=G.partials;G.partials=F.extend({},w,U.partials);var B=oe(L,q);return G.partials=w,B}),U.partials[R.args[0]]=R.fn,k})},Ee.exports=H.default},5118:(Ee,H)=>{"use strict";H.__esModule=!0;var J=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function F(_,oe){var U=oe&&oe.loc,G=void 0,R=void 0,k=void 0,L=void 0;U&&(R=U.end.line,L=U.end.column,_+=" - "+(G=U.start.line)+":"+(k=U.start.column));for(var q=Error.prototype.constructor.call(this,_),w=0;w<J.length;w++)this[J[w]]=q[J[w]];Error.captureStackTrace&&Error.captureStackTrace(this,F);try{U&&(this.lineNumber=G,this.endLineNumber=R,Object.defineProperty?(Object.defineProperty(this,"column",{value:k,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:L,enumerable:!0})):(this.column=k,this.endColumn=L))}catch(B){}}F.prototype=new Error,H.default=F,Ee.exports=H.default},8246:(Ee,H,J)=>{"use strict";function F(z){return z&&z.__esModule?z:{default:z}}H.__esModule=!0,H.registerDefaultHelpers=function N(z){oe.default(z),G.default(z),k.default(z),q.default(z),B.default(z),M.default(z),S.default(z)},H.moveHelperToHooks=function T(z,X,be){z.helpers[X]&&(z.hooks[X]=z.helpers[X],be||delete z.helpers[X])};var oe=F(J(806)),G=F(J(6073)),k=F(J(5436)),q=F(J(338)),B=F(J(8932)),M=F(J(3649)),S=F(J(849))},806:(Ee,H,J)=>{"use strict";H.__esModule=!0;var F=J(8587);H.default=function(_){_.registerHelper("blockHelperMissing",function(oe,U){var G=U.inverse,R=U.fn;if(!0===oe)return R(this);if(!1===oe||null==oe)return G(this);if(F.isArray(oe))return oe.length>0?(U.ids&&(U.ids=[U.name]),_.helpers.each(oe,U)):G(this);if(U.data&&U.ids){var k=F.createFrame(U.data);k.contextPath=F.appendContextPath(U.data.contextPath,U.name),U={data:k}}return R(oe,U)})},Ee.exports=H.default},6073:(Ee,H,J)=>{"use strict";H.__esModule=!0;var _=J(8587),U=function F(G){return G&&G.__esModule?G:{default:G}}(J(5118));H.default=function(G){G.registerHelper("each",function(R,k){if(!k)throw new U.default("Must pass iterator to #each");var X,L=k.fn,q=k.inverse,w=0,B="",g=void 0,M=void 0;function E(X,be,re){g&&(g.key=X,g.index=be,g.first=0===be,g.last=!!re,M&&(g.contextPath=M+X)),B+=L(R[X],{data:g,blockParams:_.blockParams([R[X],X],[M+X,null])})}if(k.data&&k.ids&&(M=_.appendContextPath(k.data.contextPath,k.ids[0])+"."),_.isFunction(R)&&(R=R.call(this)),k.data&&(g=_.createFrame(k.data)),R&&"object"==typeof R)if(_.isArray(R))for(var S=R.length;w<S;w++)w in R&&E(w,w,w===R.length-1);else if(global.Symbol&&R[global.Symbol.iterator]){for(var N=[],T=R[global.Symbol.iterator](),z=T.next();!z.done;z=T.next())N.push(z.value);for(S=(R=N).length;w<S;w++)E(w,w,w===R.length-1)}else X=void 0,Object.keys(R).forEach(function(be){void 0!==X&&E(X,w-1),X=be,w++}),void 0!==X&&E(X,w-1,!0);return 0===w&&(B=q(this)),B})},Ee.exports=H.default},5436:(Ee,H,J)=>{"use strict";H.__esModule=!0;var oe=function F(U){return U&&U.__esModule?U:{default:U}}(J(5118));H.default=function(U){U.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new oe.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},Ee.exports=H.default},338:(Ee,H,J)=>{"use strict";H.__esModule=!0;var _=J(8587),U=function F(G){return G&&G.__esModule?G:{default:G}}(J(5118));H.default=function(G){G.registerHelper("if",function(R,k){if(2!=arguments.length)throw new U.default("#if requires exactly one argument");return _.isFunction(R)&&(R=R.call(this)),!k.hash.includeZero&&!R||_.isEmpty(R)?k.inverse(this):k.fn(this)}),G.registerHelper("unless",function(R,k){if(2!=arguments.length)throw new U.default("#unless requires exactly one argument");return G.helpers.if.call(this,R,{fn:k.inverse,inverse:k.fn,hash:k.hash})})},Ee.exports=H.default},8932:(Ee,H)=>{"use strict";H.__esModule=!0,H.default=function(J){J.registerHelper("log",function(){for(var F=[void 0],_=arguments[arguments.length-1],oe=0;oe<arguments.length-1;oe++)F.push(arguments[oe]);var U=1;null!=_.hash.level?U=_.hash.level:_.data&&null!=_.data.level&&(U=_.data.level),F[0]=U,J.log.apply(J,F)})},Ee.exports=H.default},3649:(Ee,H)=>{"use strict";H.__esModule=!0,H.default=function(J){J.registerHelper("lookup",function(F,_,oe){return F&&oe.lookupProperty(F,_)})},Ee.exports=H.default},849:(Ee,H,J)=>{"use strict";H.__esModule=!0;var _=J(8587),U=function F(G){return G&&G.__esModule?G:{default:G}}(J(5118));H.default=function(G){G.registerHelper("with",function(R,k){if(2!=arguments.length)throw new U.default("#with requires exactly one argument");_.isFunction(R)&&(R=R.call(this));var L=k.fn;if(_.isEmpty(R))return k.inverse(this);var q=k.data;return k.data&&k.ids&&((q=_.createFrame(k.data)).contextPath=_.appendContextPath(k.data.contextPath,k.ids[0])),L(R,{data:q,blockParams:_.blockParams([R],[q&&q.contextPath])})})},Ee.exports=H.default},2800:(Ee,H,J)=>{"use strict";H.__esModule=!0,H.createNewLookupObject=function _(){for(var oe=arguments.length,U=Array(oe),G=0;G<oe;G++)U[G]=arguments[G];return F.extend.apply(void 0,[Object.create(null)].concat(U))};var F=J(8587)},1446:(Ee,H,J)=>{"use strict";H.__esModule=!0,H.createProtoAccessControl=function R(B){var g=Object.create(null);g.constructor=!1,g.__defineGetter__=!1,g.__defineSetter__=!1,g.__lookupGetter__=!1;var M=Object.create(null);return M.__proto__=!1,{properties:{whitelist:_.createNewLookupObject(M,B.allowedProtoProperties),defaultValue:B.allowProtoPropertiesByDefault},methods:{whitelist:_.createNewLookupObject(g,B.allowedProtoMethods),defaultValue:B.allowProtoMethodsByDefault}}},H.resultIsAllowed=function k(B,g,M){return function L(B,g){return void 0!==B.whitelist[g]?!0===B.whitelist[g]:void 0!==B.defaultValue?B.defaultValue:(function q(B){!0!==G[B]&&(G[B]=!0,U.log("error",'Handlebars: Access has been denied to resolve the property "'+B+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}(g),!1)}("function"==typeof B?g.methods:g.properties,M)},H.resetLoggedProperties=function w(){Object.keys(G).forEach(function(B){delete G[B]})};var _=J(2800),U=function F(B){if(B&&B.__esModule)return B;var g={};if(null!=B)for(var M in B)Object.prototype.hasOwnProperty.call(B,M)&&(g[M]=B[M]);return g.default=B,g}(J(1932)),G=Object.create(null)},6611:(Ee,H)=>{"use strict";H.__esModule=!0,H.wrapHelper=function J(F,_){return"function"!=typeof F?F:function(){return arguments[arguments.length-1]=_(arguments[arguments.length-1]),F.apply(this,arguments)}}},1932:(Ee,H,J)=>{"use strict";H.__esModule=!0;var F=J(8587),_={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(U){if("string"==typeof U){var G=F.indexOf(_.methodMap,U.toLowerCase());U=G>=0?G:parseInt(U,10)}return U},log:function(U){if(U=_.lookupLevel(U),"undefined"!=typeof console&&_.lookupLevel(_.level)<=U){var G=_.methodMap[U];console[G]||(G="log");for(var R=arguments.length,k=Array(R>1?R-1:0),L=1;L<R;L++)k[L-1]=arguments[L];console[G].apply(console,k)}}};H.default=_,Ee.exports=H.default},7843:(Ee,H)=>{"use strict";H.__esModule=!0,H.default=function(J){var F="undefined"!=typeof global?global:window,_=F.Handlebars;J.noConflict=function(){return F.Handlebars===J&&(F.Handlebars=_),J}},Ee.exports=H.default},1010:(Ee,H,J)=>{"use strict";H.__esModule=!0,H.checkRevision=function B(re){var se=re&&re[0]||1;if(!(se>=k.LAST_COMPATIBLE_COMPILER_REVISION&&se<=k.COMPILER_REVISION)){if(se<k.LAST_COMPATIBLE_COMPILER_REVISION)throw new R.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+k.REVISION_CHANGES[k.COMPILER_REVISION]+") or downgrade your runtime to an older version ("+k.REVISION_CHANGES[se]+").");throw new R.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+re[1]+").")}},H.template=function g(re,se){if(!se)throw new R.default("No environment passed to template");if(!re||!re.main)throw new R.default("Unknown template object: "+typeof re);re.main.decorator=re.main_d,se.VM.checkRevision(re.compiler);var pe=re.compiler&&7===re.compiler[0],Ne={strict:function(ye,Se,st){if(!ye||!(Se in ye))throw new R.default('"'+Se+'" not defined in '+ye,{loc:st});return Ne.lookupProperty(ye,Se)},lookupProperty:function(ye,Se){var st=ye[Se];if(null==st||Object.prototype.hasOwnProperty.call(ye,Se)||w.resultIsAllowed(st,Ne.protoAccessControl,Se))return st},lookup:function(ye,Se){for(var st=ye.length,tt=0;tt<st;tt++)if(null!=(ye[tt]&&Ne.lookupProperty(ye[tt],Se)))return ye[tt][Se]},lambda:function(ye,Se){return"function"==typeof ye?ye.call(Se):ye},escapeExpression:U.escapeExpression,invokePartial:function Ke(ke,ye,Se){Se.hash&&(ye=U.extend({},ye,Se.hash),Se.ids&&(Se.ids[0]=!0)),ke=se.VM.resolvePartial.call(this,ke,ye,Se);var st=U.extend({},Se,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),tt=se.VM.invokePartial.call(this,ke,ye,st);if(null==tt&&se.compile&&(Se.partials[Se.name]=se.compile(ke,re.compilerOptions,se),tt=Se.partials[Se.name](ye,st)),null!=tt){if(Se.indent){for(var an=tt.split("\n"),Et=0,fn=an.length;Et<fn&&(an[Et]||Et+1!==fn);Et++)an[Et]=Se.indent+an[Et];tt=an.join("\n")}return tt}throw new R.default("The partial "+Se.name+" could not be compiled when running in runtime-only mode")},fn:function(ye){var Se=re[ye];return Se.decorator=re[ye+"_d"],Se},programs:[],program:function(ye,Se,st,tt,an){var Et=this.programs[ye],fn=this.fn(ye);return Se||an||tt||st?Et=M(this,ye,fn,Se,st,tt,an):Et||(Et=this.programs[ye]=M(this,ye,fn)),Et},data:function(ye,Se){for(;ye&&Se--;)ye=ye._parent;return ye},mergeIfNeeded:function(ye,Se){var st=ye||Se;return ye&&Se&&ye!==Se&&(st=U.extend({},Se,ye)),st},nullContext:Object.seal({}),noop:se.VM.noop,compilerInfo:re.compiler};function Dt(ke){var ye=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],Se=ye.data;Dt._setup(ye),!ye.partial&&re.useData&&(Se=T(ke,Se));var st=void 0,tt=re.useBlockParams?[]:void 0;function an(Et){return""+re.main(Ne,Et,Ne.helpers,Ne.partials,Se,tt,st)}return re.useDepths&&(st=ye.depths?ke!=ye.depths[0]?[ke].concat(ye.depths):ye.depths:[ke]),(an=z(re.main,an,Ne,ye.depths||[],Se,tt))(ke,ye)}return Dt.isTop=!0,Dt._setup=function(ke){if(ke.partial)Ne.protoAccessControl=ke.protoAccessControl,Ne.helpers=ke.helpers,Ne.partials=ke.partials,Ne.decorators=ke.decorators,Ne.hooks=ke.hooks;else{var ye=U.extend({},se.helpers,ke.helpers);(function X(re,se){Object.keys(re).forEach(function(pe){re[pe]=function be(re,se){var pe=se.lookupProperty;return q.wrapHelper(re,function(Ke){return U.extend({lookupProperty:pe},Ke)})}(re[pe],se)})})(ye,Ne),Ne.helpers=ye,re.usePartial&&(Ne.partials=Ne.mergeIfNeeded(ke.partials,se.partials)),(re.usePartial||re.useDecorators)&&(Ne.decorators=U.extend({},se.decorators,ke.decorators)),Ne.hooks={},Ne.protoAccessControl=w.createProtoAccessControl(ke);var Se=ke.allowCallsToHelperMissing||pe;L.moveHelperToHooks(Ne,"helperMissing",Se),L.moveHelperToHooks(Ne,"blockHelperMissing",Se)}},Dt._child=function(ke,ye,Se,st){if(re.useBlockParams&&!Se)throw new R.default("must pass block params");if(re.useDepths&&!st)throw new R.default("must pass parent depths");return M(Ne,ke,re[ke],ye,0,Se,st)},Dt},H.wrapProgram=M,H.resolvePartial=function E(re,se,pe){return re?!re.call&&!pe.name&&(pe.name=re,re=pe.partials[re]):re="@partial-block"===pe.name?pe.data["partial-block"]:pe.partials[pe.name],re},H.invokePartial=function S(re,se,pe){var Ke=pe.data&&pe.data["partial-block"];pe.partial=!0,pe.ids&&(pe.data.contextPath=pe.ids[0]||pe.data.contextPath);var Ne=void 0;if(pe.fn&&pe.fn!==N&&function(){pe.data=k.createFrame(pe.data);var Dt=pe.fn;Ne=pe.data["partial-block"]=function(ye){var Se=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return Se.data=k.createFrame(Se.data),Se.data["partial-block"]=Ke,Dt(ye,Se)},Dt.partials&&(pe.partials=U.extend({},pe.partials,Dt.partials))}(),void 0===re&&Ne&&(re=Ne),void 0===re)throw new R.default("The partial "+pe.name+" could not be found");if(re instanceof Function)return re(se,pe)},H.noop=N;var U=function _(re){if(re&&re.__esModule)return re;var se={};if(null!=re)for(var pe in re)Object.prototype.hasOwnProperty.call(re,pe)&&(se[pe]=re[pe]);return se.default=re,se}(J(8587)),R=function F(re){return re&&re.__esModule?re:{default:re}}(J(5118)),k=J(5075),L=J(8246),q=J(6611),w=J(1446);function M(re,se,pe,Ke,Ne,Dt,ke){function ye(Se){var st=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],tt=ke;return ke&&Se!=ke[0]&&!(Se===re.nullContext&&null===ke[0])&&(tt=[Se].concat(ke)),pe(re,Se,re.helpers,re.partials,st.data||Ke,Dt&&[st.blockParams].concat(Dt),tt)}return(ye=z(pe,ye,re,ke,Ke,Dt)).program=se,ye.depth=ke?ke.length:0,ye.blockParams=Ne||0,ye}function N(){return""}function T(re,se){return(!se||!("root"in se))&&((se=se?k.createFrame(se):{}).root=re),se}function z(re,se,pe,Ke,Ne,Dt){if(re.decorator){var ke={};se=re.decorator(se,ke,pe,Ke&&Ke[0],Ne,Dt,Ke),U.extend(se,ke)}return se}},6997:(Ee,H)=>{"use strict";function J(F){this.string=F}H.__esModule=!0,J.prototype.toString=J.prototype.toHTML=function(){return""+this.string},H.default=J,Ee.exports=H.default},8587:(Ee,H)=>{"use strict";H.__esModule=!0,H.extend=U,H.indexOf=function L(E,S){for(var N=0,T=E.length;N<T;N++)if(E[N]===S)return N;return-1},H.escapeExpression=function q(E){if("string"!=typeof E){if(E&&E.toHTML)return E.toHTML();if(null==E)return"";if(!E)return E+"";E=""+E}return _.test(E)?E.replace(F,oe):E},H.isEmpty=function w(E){return!E&&0!==E||!(!k(E)||0!==E.length)},H.createFrame=function B(E){var S=U({},E);return S._parent=E,S},H.blockParams=function g(E,S){return E.path=S,E},H.appendContextPath=function M(E,S){return(E?E+".":"")+S};var J={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},F=/[&<>"'`=]/g,_=/[&<>"'`=]/;function oe(E){return J[E]}function U(E){for(var S=1;S<arguments.length;S++)for(var N in arguments[S])Object.prototype.hasOwnProperty.call(arguments[S],N)&&(E[N]=arguments[S][N]);return E}var G=Object.prototype.toString;H.toString=G;var R=function(S){return"function"==typeof S};R(/x/)&&(H.isFunction=R=function(E){return"function"==typeof E&&"[object Function]"===G.call(E)}),H.isFunction=R;var k=Array.isArray||function(E){return!(!E||"object"!=typeof E)&&"[object Array]"===G.call(E)};H.isArray=k},8372:(Ee,H,J)=>{var F=J(3299).default,_=J(7913);function oe(U,G){var k=J(9062).readFileSync(G,"utf8");U.exports=F.compile(k)}F.PrintVisitor=_.PrintVisitor,F.print=_.print,Ee.exports=F,J(6575).extensions&&(J(6575).extensions[".handlebars"]=oe,J(6575).extensions[".hbs"]=oe)},8784:function(Ee,H,J){var F;Ee=J.nmd(Ee),function(){var _,R="Expected a function",L="__lodash_hash_undefined__",w="__lodash_placeholder__",Et=1/0,fn=9007199254740991,sr=4294967295,sf=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],ji="[object Arguments]",vi="[object Array]",Ct="[object Boolean]",Sr="[object Date]",Ha="[object Error]",ja="[object Function]",sa="[object GeneratorFunction]",jr="[object Map]",bi="[object Number]",Ui="[object Object]",fo="[object Promise]",gn="[object RegExp]",or="[object Set]",ho="[object String]",oa="[object Symbol]",hs="[object WeakMap]",ps="[object ArrayBuffer]",ms="[object DataView]",Hl="[object Float32Array]",jl="[object Float64Array]",Ul="[object Int8Array]",Wl="[object Int16Array]",Gl="[object Int32Array]",sc="[object Uint8Array]",zl="[object Uint8ClampedArray]",ql="[object Uint16Array]",$l="[object Uint32Array]",af=/\b__p \+= '';/g,oc=/\b(__p \+=) '' \+/g,Ft=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ua=/&(?:amp|lt|gt|quot|#39);/g,dt=/[&<>"']/g,Yl=RegExp(Ua.source),lf=RegExp(dt.source),Ut=/<%-([\s\S]+?)%>/g,Be=/<%([\s\S]+?)%>/g,Kl=/<%=([\s\S]+?)%>/g,qp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,gs=/^\w*$/,$p=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,aa=/[\\^$.*+?()[\]{}|]/g,rt=RegExp(aa.source),Mn=/^\s+/,uf=/\s/,Xt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Yp=/\{\n\/\* \[wrapped with (.+)\] \*/,Wa=/,? & /,$n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ga=/[()=,{}\[\]\/\s]/,cf=/\\(\\)?/g,ac=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ur=/\w*$/,df=/^[-+]0x[0-9a-f]+$/i,Kp=/^0b[01]+$/i,Qp=/^\[object .+?Constructor\]$/,Zp=/^0o[0-7]+$/i,ff=/^(?:0|[1-9]\d*)$/,Xp=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,za=/($^)/,Jp=/['\n\r\u2028\u2029\\]/g,Fn="\\ud800-\\udfff",Ql="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ce="\\u2700-\\u27bf",hf="a-z\\xdf-\\xf6\\xf8-\\xff",Wi="A-Z\\xc0-\\xd6\\xd8-\\xde",_n="\\ufe0e\\ufe0f",la="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ci="["+Fn+"]",_s="["+la+"]",He="["+Ql+"]",ys="\\d+",lc="["+Ce+"]",Yn="["+hf+"]",Gi="[^"+Fn+la+ys+Ce+hf+Wi+"]",$a="\\ud83c[\\udffb-\\udfff]",Bn="[^"+Fn+"]",uc="(?:\\ud83c[\\udde6-\\uddff]){2}",cc="[\\ud800-\\udbff][\\udc00-\\udfff]",rn="["+Wi+"]",fc="(?:"+Yn+"|"+Gi+")",pf="(?:"+rn+"|"+Gi+")",Ya="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",St="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",po="(?:"+He+"|"+$a+")?",mf="["+_n+"]?",da=mf+po+"(?:\\u200d(?:"+[Bn,uc,cc].join("|")+")"+mf+po+")*",fa="(?:"+[lc,uc,cc].join("|")+")"+da,hc="(?:"+[Bn+He+"?",He,uc,cc,Ci].join("|")+")",wi=RegExp("['\u2019]","g"),ha=RegExp(He,"g"),Zl=RegExp($a+"(?="+$a+")|"+hc+da,"g"),vs=RegExp([rn+"?"+Yn+"+"+Ya+"(?="+[_s,rn,"$"].join("|")+")",pf+"+"+St+"(?="+[_s,rn+fc,"$"].join("|")+")",rn+"?"+fc+"+"+Ya,rn+"+"+St,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ys,fa].join("|"),"g"),gf=RegExp("[\\u200d"+Fn+Ql+_n+"]"),pc=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,mc=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],gc=-1,We={};We[Hl]=We[jl]=We[Ul]=We[Wl]=We[Gl]=We[sc]=We[zl]=We[ql]=We[$l]=!0,We[ji]=We[vi]=We[ps]=We[Ct]=We[ms]=We[Sr]=We[Ha]=We[ja]=We[jr]=We[bi]=We[Ui]=We[gn]=We[or]=We[ho]=We[hs]=!1;var Wt={};Wt[ji]=Wt[vi]=Wt[ps]=Wt[ms]=Wt[Ct]=Wt[Sr]=Wt[Hl]=Wt[jl]=Wt[Ul]=Wt[Wl]=Wt[Gl]=Wt[jr]=Wt[bi]=Wt[Ui]=Wt[gn]=Wt[or]=Wt[ho]=Wt[oa]=Wt[sc]=Wt[zl]=Wt[ql]=Wt[$l]=!0,Wt[Ha]=Wt[ja]=Wt[hs]=!1;var xn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},zi=parseFloat,bs=parseInt,ar="object"==typeof global&&global&&global.Object===Object&&global,Ka="object"==typeof self&&self&&self.Object===Object&&self,yn=ar||Ka||Function("return this")(),go=H&&!H.nodeType&&H,ai=go&&Ee&&!Ee.nodeType&&Ee,li=ai&&ai.exports===go,Sn=li&&ar.process,lr=function(){try{return ai&&ai.require&&ai.require("util").types||Sn&&Sn.binding&&Sn.binding("util")}catch(ae){}}(),Qn=lr&&lr.isArrayBuffer,Ae=lr&&lr.isDate,pt=lr&&lr.isMap,Gt=lr&&lr.isRegExp,Hn=lr&&lr.isSet,qi=lr&&lr.isTypedArray;function Ot(K,ae,ie){switch(ie.length){case 0:return K.call(ae);case 1:return K.call(ae,ie[0]);case 2:return K.call(ae,ie[0],ie[1]);case 3:return K.call(ae,ie[0],ie[1],ie[2])}return K.apply(ae,ie)}function Es(K,ae,ie,Me){for(var it=-1,Ue=null==K?0:K.length;++it<Ue;){var sn=K[it];ae(Me,sn,ie(sn),K)}return Me}function Mt(K,ae){for(var ie=-1,Me=null==K?0:K.length;++ie<Me&&!1!==ae(K[ie],ie,K););return K}function pa(K,ae){for(var ie=null==K?0:K.length;ie--&&!1!==ae(K[ie],ie,K););return K}function $i(K,ae){for(var ie=-1,Me=null==K?0:K.length;++ie<Me;)if(!ae(K[ie],ie,K))return!1;return!0}function Qe(K,ae){for(var ie=-1,Me=null==K?0:K.length,it=0,Ue=[];++ie<Me;){var sn=K[ie];ae(sn,ie,K)&&(Ue[it++]=sn)}return Ue}function Cs(K,ae){return!(null==K||!K.length)&&dn(K,ae,0)>-1}function Yi(K,ae,ie){for(var Me=-1,it=null==K?0:K.length;++Me<it;)if(ie(ae,K[Me]))return!0;return!1}function zt(K,ae){for(var ie=-1,Me=null==K?0:K.length,it=Array(Me);++ie<Me;)it[ie]=ae(K[ie],ie,K);return it}function ur(K,ae){for(var ie=-1,Me=ae.length,it=K.length;++ie<Me;)K[it+ie]=ae[ie];return K}function Nn(K,ae,ie,Me){var it=-1,Ue=null==K?0:K.length;for(Me&&Ue&&(ie=K[++it]);++it<Ue;)ie=ae(ie,K[it],it,K);return ie}function ma(K,ae,ie,Me){var it=null==K?0:K.length;for(Me&&it&&(ie=K[--it]);it--;)ie=ae(ie,K[it],it,K);return ie}function Ki(K,ae){for(var ie=-1,Me=null==K?0:K.length;++ie<Me;)if(ae(K[ie],ie,K))return!0;return!1}var Ar=cr("length");function Xl(K,ae,ie){var Me;return ie(K,function(it,Ue,sn){if(ae(it,Ue,sn))return Me=Ue,!1}),Me}function Zn(K,ae,ie,Me){for(var it=K.length,Ue=ie+(Me?1:-1);Me?Ue--:++Ue<it;)if(ae(K[Ue],Ue,K))return Ue;return-1}function dn(K,ae,ie){return ae==ae?function Jn(K,ae,ie){for(var Me=ie-1,it=K.length;++Me<it;)if(K[Me]===ae)return Me;return-1}(K,ae,ie):Zn(K,Ds,ie)}function ui(K,ae,ie,Me){for(var it=ie-1,Ue=K.length;++it<Ue;)if(Me(K[it],ae))return it;return-1}function Ds(K){return K!=K}function _o(K,ae){var ie=null==K?0:K.length;return ie?Qa(K,ae)/ie:NaN}function cr(K){return function(ae){return null==ae?_:ae[K]}}function yo(K){return function(ae){return null==K?_:K[ae]}}function vc(K,ae,ie,Me,it){return it(K,function(Ue,sn,Bt){ie=Me?(Me=!1,Ue):ae(ie,Ue,sn,Bt)}),ie}function Qa(K,ae){for(var ie,Me=-1,it=K.length;++Me<it;){var Ue=ae(K[Me]);Ue!==_&&(ie=ie===_?Ue:ie+Ue)}return ie}function vo(K,ae){for(var ie=-1,Me=Array(K);++ie<K;)Me[ie]=ae(ie);return Me}function Ec(K){return K&&K.slice(0,wo(K)+1).replace(Mn,"")}function jn(K){return function(ae){return K(ae)}}function bo(K,ae){return zt(ae,function(ie){return K[ie]})}function ws(K,ae){return K.has(ae)}function Cc(K,ae){for(var ie=-1,Me=K.length;++ie<Me&&dn(ae,K[ie],0)>-1;);return ie}function Dc(K,ae){for(var ie=K.length;ie--&&dn(ae,K[ie],0)>-1;);return ie}function _f(K,ae){for(var ie=K.length,Me=0;ie--;)K[ie]===ae&&++Me;return Me}var wc=yo({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),yf=yo({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function vf(K){return"\\"+xn[K]}function Qi(K){return gf.test(K)}function Za(K){var ae=-1,ie=Array(K.size);return K.forEach(function(Me,it){ie[++ae]=[it,Me]}),ie}function Xa(K,ae){return function(ie){return K(ae(ie))}}function ci(K,ae){for(var ie=-1,Me=K.length,it=0,Ue=[];++ie<Me;){var sn=K[ie];(sn===ae||sn===w)&&(K[ie]=w,Ue[it++]=ie)}return Ue}function Xn(K){var ae=-1,ie=Array(K.size);return K.forEach(function(Me){ie[++ae]=Me}),ie}function Do(K){return Qi(K)?function Ja(K){for(var ae=Zl.lastIndex=0;Zl.test(K);)++ae;return ae}(K):Ar(K)}function dr(K){return Qi(K)?function el(K){return K.match(Zl)||[]}(K):function bt(K){return K.split("")}(K)}function wo(K){for(var ae=K.length;ae--&&uf.test(K.charAt(ae)););return ae}var So=yo({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),Ao=function K(ae){var a,ie=(ae=null==ae?yn:Ao.defaults(yn.Object(),ae,Ao.pick(yn,mc))).Array,Me=ae.Date,it=ae.Error,Ue=ae.Function,sn=ae.Math,Bt=ae.Object,Jt=ae.RegExp,Ac=ae.String,Tr=ae.TypeError,Si=ie.prototype,As=Bt.prototype,Ai=ae["__core-js_shared__"],Ir=Ue.prototype.toString,lt=As.hasOwnProperty,Jl=0,_a=(a=/[^.]+$/.exec(Ai&&Ai.keys&&Ai.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"",To=As.toString,Ti=Ir.call(Bt),eu=yn._,Io=Jt("^"+Ir.call(lt).replace(aa,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ge=li?ae.Buffer:_,Zi=ae.Symbol,Ts=ae.Uint8Array,Mo=Ge?Ge.allocUnsafe:_,Is=Xa(Bt.getPrototypeOf,Bt),nl=Bt.create,tu=As.propertyIsEnumerable,rl=Si.splice,ge=Zi?Zi.isConcatSpreadable:_,gt=Zi?Zi.iterator:_,Mr=Zi?Zi.toStringTag:_,on=function(){try{var a=Ri(Bt,"defineProperty");return a({},"",{}),a}catch(u){}}(),nu=ae.clearTimeout!==yn.clearTimeout&&ae.clearTimeout,xo=Me&&Me.now!==yn.Date.now&&Me.now,Gr=ae.setTimeout!==yn.setTimeout&&ae.setTimeout,Ms=sn.ceil,Xi=sn.floor,ru=Bt.getOwnPropertySymbols,Tc=Ge?Ge.isBuffer:_,ya=ae.isFinite,b=Si.join,x=Xa(Bt.keys,Bt),P=sn.max,j=sn.min,te=Me.now,ee=ae.parseInt,ce=sn.random,me=Si.reverse,De=Ri(ae,"DataView"),Fe=Ri(ae,"Map"),we=Ri(ae,"Promise"),je=Ri(ae,"Set"),Rt=Ri(ae,"WeakMap"),ln=Ri(Bt,"create"),pr=Rt&&new Rt,An={},mr=Bs(De),Ic=Bs(Fe),Mc=Bs(we),Kt=Bs(je),en=Bs(Rt),tn=Zi?Zi.prototype:_,gr=tn?tn.valueOf:_,xs=tn?tn.toString:_;function C(a){if(En(a)&&!ot(a)&&!(a instanceof wt)){if(a instanceof xr)return a;if(lt.call(a,"__wrapped__"))return nh(a)}return new xr(a)}var Un=function(){function a(){}return function(u){if(!hn(u))return{};if(nl)return nl(u);a.prototype=u;var d=new a;return a.prototype=_,d}}();function Qt(){}function xr(a,u){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=_}function wt(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=sr,this.__views__=[]}function va(a){var u=-1,d=null==a?0:a.length;for(this.clear();++u<d;){var p=a[u];this.set(p[0],p[1])}}function Os(a){var u=-1,d=null==a?0:a.length;for(this.clear();++u<d;){var p=a[u];this.set(p[0],p[1])}}function Ii(a){var u=-1,d=null==a?0:a.length;for(this.clear();++u<d;){var p=a[u];this.set(p[0],p[1])}}function Ro(a){var u=-1,d=null==a?0:a.length;for(this.__data__=new Ii;++u<d;)this.add(a[u])}function di(a){var u=this.__data__=new Os(a);this.size=u.size}function ou(a,u){var d=ot(a),p=!d&&js(a),v=!d&&!p&&Uo(a),I=!d&&!p&&!v&&_l(a),V=d||p||v||I,Y=V?vo(a.length,Ac):[],Q=Y.length;for(var fe in a)(u||lt.call(a,fe))&&(!V||!("length"==fe||v&&("offset"==fe||"parent"==fe)||I&&("buffer"==fe||"byteLength"==fe||"byteOffset"==fe)||jo(fe,Q)))&&Y.push(fe);return Y}function sv(a){var u=a.length;return u?a[dm(0,u-1)]:_}function im(a,u){return th(Or(a),Fo(u,0,a.length))}function sm(a){return th(Or(a))}function wf(a,u,d){(d!==_&&!rs(a[u],d)||d===_&&!(u in a))&&fi(a,u,d)}function au(a,u,d){var p=a[u];(!lt.call(a,u)||!rs(p,d)||d===_&&!(u in a))&&fi(a,u,d)}function Po(a,u){for(var d=a.length;d--;)if(rs(a[d][0],u))return d;return-1}function Sf(a,u,d,p){return Mi(a,function(v,I,V){u(p,v,d(v),V)}),p}function Nc(a,u){return a&&vr(u,Rn(u),a)}function fi(a,u,d){"__proto__"==u&&on?on(a,u,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[u]=d}function Af(a,u){for(var d=-1,p=u.length,v=ie(p),I=null==a;++d<p;)v[d]=I?_:xh(a,u[d]);return v}function Fo(a,u,d){return a==a&&(d!==_&&(a=a<=d?a:d),u!==_&&(a=a>=u?a:u)),a}function zr(a,u,d,p,v,I){var V,Y=1&u,Q=2&u,fe=4&u;if(d&&(V=v?d(a,p,v,I):d(a)),V!==_)return V;if(!hn(a))return a;var he=ot(a);if(he){if(V=function xD(a){var u=a.length,d=new a.constructor(u);return u&&"string"==typeof a[0]&&lt.call(a,"index")&&(d.index=a.index,d.input=a.input),d}(a),!Y)return Or(a,V)}else{var _e=Wn(a),Ie=_e==ja||_e==sa;if(Uo(a))return cl(a,Y);if(_e==Ui||_e==ji||Ie&&!v){if(V=Q||Ie?{}:Sv(a),!Y)return Q?function _v(a,u){return vr(a,hl(a),u)}(a,function kc(a,u){return a&&vr(u,Jr(u),a)}(V,a)):function bu(a,u){return vr(a,gi(a),u)}(a,Nc(V,a))}else{if(!Wt[_e])return v?a:{};V=function qf(a,u,d){var p=a.constructor;switch(u){case ps:return yr(a);case Ct:case Sr:return new p(+a);case ms:return function jc(a,u){var d=u?yr(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}(a,d);case Hl:case jl:case Ul:case Wl:case Gl:case sc:case zl:case ql:case $l:return kf(a,d);case jr:return new p;case bi:case ho:return new p(a);case gn:return function Bo(a){var u=new a.constructor(a.source,Ur.exec(a));return u.lastIndex=a.lastIndex,u}(a);case or:return new p;case oa:return function gv(a){return gr?Bt(gr.call(a)):{}}(a)}}(a,_e,Y)}}I||(I=new di);var Ve=I.get(a);if(Ve)return Ve;I.set(a,V),ld(a)?a.forEach(function($e){V.add(zr($e,u,d,$e,a,I))}):_b(a)&&a.forEach(function($e,Re){V.set(Re,zr($e,u,d,Re,a,I))});var yt=he?_:(fe?Q?zc:Uf:Q?Jr:Rn)(a);return Mt(yt||a,function($e,Re){yt&&($e=a[Re=$e]),au(V,Re,zr($e,u,d,Re,a,I))}),V}function Tf(a,u,d){var p=d.length;if(null==a)return!p;for(a=Bt(a);p--;){var v=d[p],V=a[v];if(V===_&&!(v in a)||!(0,u[v])(V))return!1}return!0}function am(a,u,d){if("function"!=typeof a)throw new Tr(R);return wu(function(){a.apply(_,d)},u)}function lu(a,u,d,p){var v=-1,I=Cs,V=!0,Y=a.length,Q=[],fe=u.length;if(!Y)return Q;d&&(u=zt(u,jn(d))),p?(I=Yi,V=!1):u.length>=200&&(I=ws,V=!1,u=new Ro(u));e:for(;++v<Y;){var he=a[v],_e=null==d?he:d(he);if(he=p||0!==he?he:0,V&&_e==_e){for(var Ie=fe;Ie--;)if(u[Ie]===_e)continue e;Q.push(he)}else I(u,_e,p)||Q.push(he)}return Q}C.templateSettings={escape:Ut,evaluate:Be,interpolate:Kl,variable:"",imports:{_:C}},(C.prototype=Qt.prototype).constructor=C,(xr.prototype=Un(Qt.prototype)).constructor=xr,(wt.prototype=Un(Qt.prototype)).constructor=wt,va.prototype.clear=function xc(){this.__data__=ln?ln(null):{},this.size=0},va.prototype.delete=function Oc(a){var u=this.has(a)&&delete this.__data__[a];return this.size-=u?1:0,u},va.prototype.get=function Rc(a){var u=this.__data__;if(ln){var d=u[a];return d===L?_:d}return lt.call(u,a)?u[a]:_},va.prototype.has=function Ef(a){var u=this.__data__;return ln?u[a]!==_:lt.call(u,a)},va.prototype.set=function nm(a,u){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=ln&&u===_?L:u,this},Os.prototype.clear=function Oo(){this.__data__=[],this.size=0},Os.prototype.delete=function iu(a){var u=this.__data__,d=Po(u,a);return!(d<0||(d==u.length-1?u.pop():rl.call(u,d,1),--this.size,0))},Os.prototype.get=function ev(a){var u=this.__data__,d=Po(u,a);return d<0?_:u[d][1]},Os.prototype.has=function tv(a){return Po(this.__data__,a)>-1},Os.prototype.set=function su(a,u){var d=this.__data__,p=Po(d,a);return p<0?(++this.size,d.push([a,u])):d[p][1]=u,this},Ii.prototype.clear=function nv(){this.size=0,this.__data__={hash:new va,map:new(Fe||Os),string:new va}},Ii.prototype.delete=function rv(a){var u=Gf(this,a).delete(a);return this.size-=u?1:0,u},Ii.prototype.get=function ED(a){return Gf(this,a).get(a)},Ii.prototype.has=function CD(a){return Gf(this,a).has(a)},Ii.prototype.set=function Pc(a,u){var d=Gf(this,a),p=d.size;return d.set(a,u),this.size+=d.size==p?0:1,this},Ro.prototype.add=Ro.prototype.push=function Cf(a){return this.__data__.set(a,L),this},Ro.prototype.has=function Fc(a){return this.__data__.has(a)},di.prototype.clear=function rm(){this.__data__=new Os,this.size=0},di.prototype.delete=function il(a){var u=this.__data__,d=u.delete(a);return this.size=u.size,d},di.prototype.get=function iv(a){return this.__data__.get(a)},di.prototype.has=function sl(a){return this.__data__.has(a)},di.prototype.set=function Df(a,u){var d=this.__data__;if(d instanceof Os){var p=d.__data__;if(!Fe||p.length<199)return p.push([a,u]),this.size=++d.size,this;d=this.__data__=new Ii(p)}return d.set(a,u),this.size=d.size,this};var Mi=_m(_r),ol=_m(No,!0);function ov(a,u){var d=!0;return Mi(a,function(p,v,I){return d=!!u(p,v,I)}),d}function uu(a,u,d){for(var p=-1,v=a.length;++p<v;){var I=a[p],V=u(I);if(null!=V&&(Y===_?V==V&&!br(V):d(V,Y)))var Y=V,Q=I}return Q}function ba(a,u){var d=[];return Mi(a,function(p,v,I){u(p,v,I)&&d.push(p)}),d}function jt(a,u,d,p,v){var I=-1,V=a.length;for(d||(d=Yf),v||(v=[]);++I<V;){var Y=a[I];u>0&&d(Y)?u>1?jt(Y,u-1,d,p,v):ur(v,Y):p||(v[v.length]=Y)}return v}var cu=yv(),du=yv(!0);function _r(a,u){return a&&cu(a,u,Rn)}function No(a,u){return a&&du(a,u,Rn)}function Rs(a,u){return Qe(u,function(d){return Us(a[d])})}function ko(a,u){for(var d=0,p=(u=mi(u,a)).length;null!=a&&d<p;)a=a[un(u[d++])];return d&&d==p?a:_}function Lc(a,u,d){var p=u(a);return ot(a)?p:ur(p,d(a))}function vn(a){return null==a?a===_?"[object Undefined]":"[object Null]":Mr&&Mr in Bt(a)?function Sm(a){var u=lt.call(a,Mr),d=a[Mr];try{a[Mr]=_;var p=!0}catch(I){}var v=To.call(a);return p&&(u?a[Mr]=d:delete a[Mr]),v}(a):function xv(a){return To.call(a)}(a)}function um(a,u){return a>u}function DD(a,u){return null!=a&&lt.call(a,u)}function av(a,u){return null!=a&&u in Bt(a)}function If(a,u,d){for(var p=d?Yi:Cs,v=a[0].length,I=a.length,V=I,Y=ie(I),Q=1/0,fe=[];V--;){var he=a[V];V&&u&&(he=zt(he,jn(u))),Q=j(he.length,Q),Y[V]=!d&&(u||v>=120&&he.length>=120)?new Ro(V&&he):_}he=a[0];var _e=-1,Ie=Y[0];e:for(;++_e<v&&fe.length<Q;){var Ve=he[_e],Ze=u?u(Ve):Ve;if(Ve=d||0!==Ve?Ve:0,!(Ie?ws(Ie,Ze):p(fe,Ze,d))){for(V=I;--V;){var yt=Y[V];if(!(yt?ws(yt,Ze):p(a[V],Ze,d)))continue e}Ie&&Ie.push(Ze),fe.push(Ve)}}return fe}function Vc(a,u,d){var p=null==(a=Xf(a,u=mi(u,a)))?a:a[un(_i(u))];return null==p?_:Ot(p,a,d)}function lv(a){return En(a)&&vn(a)==ji}function Bc(a,u,d,p,v){return a===u||(null==a||null==u||!En(a)&&!En(u)?a!=a&&u!=u:function TD(a,u,d,p,v,I){var V=ot(a),Y=ot(u),Q=V?vi:Wn(a),fe=Y?vi:Wn(u),he=(Q=Q==ji?Ui:Q)==Ui,_e=(fe=fe==ji?Ui:fe)==Ui,Ie=Q==fe;if(Ie&&Uo(a)){if(!Uo(u))return!1;V=!0,he=!1}if(Ie&&!he)return I||(I=new di),V||_l(a)?wm(a,u,d,p,v,I):function Cv(a,u,d,p,v,I,V){switch(d){case ms:if(a.byteLength!=u.byteLength||a.byteOffset!=u.byteOffset)return!1;a=a.buffer,u=u.buffer;case ps:return!(a.byteLength!=u.byteLength||!I(new Ts(a),new Ts(u)));case Ct:case Sr:case bi:return rs(+a,+u);case Ha:return a.name==u.name&&a.message==u.message;case gn:case ho:return a==u+"";case jr:var Y=Za;case or:if(Y||(Y=Xn),a.size!=u.size&&!(1&p))return!1;var fe=V.get(a);if(fe)return fe==u;p|=2,V.set(a,u);var he=wm(Y(a),Y(u),p,v,I,V);return V.delete(a),he;case oa:if(gr)return gr.call(a)==gr.call(u)}return!1}(a,u,Q,d,p,v,I);if(!(1&d)){var Ve=he&&lt.call(a,"__wrapped__"),Ze=_e&&lt.call(u,"__wrapped__");if(Ve||Ze){var yt=Ve?a.value():a,$e=Ze?u.value():u;return I||(I=new di),v(yt,$e,d,p,I)}}return!!Ie&&(I||(I=new di),function Dv(a,u,d,p,v,I){var V=1&d,Y=Uf(a),Q=Y.length;if(Q!=Uf(u).length&&!V)return!1;for(var _e=Q;_e--;){var Ie=Y[_e];if(!(V?Ie in u:lt.call(u,Ie)))return!1}var Ve=I.get(a),Ze=I.get(u);if(Ve&&Ze)return Ve==u&&Ze==a;var yt=!0;I.set(a,u),I.set(u,a);for(var $e=V;++_e<Q;){var Re=a[Ie=Y[_e]],At=u[Ie];if(p)var Cr=V?p(At,Re,Ie,u,a,I):p(Re,At,Ie,a,u,I);if(!(Cr===_?Re===At||v(Re,At,d,p,I):Cr)){yt=!1;break}$e||($e="constructor"==Ie)}if(yt&&!$e){var Dr=a.constructor,ei=u.constructor;Dr!=ei&&"constructor"in a&&"constructor"in u&&!("function"==typeof Dr&&Dr instanceof Dr&&"function"==typeof ei&&ei instanceof ei)&&(yt=!1)}return I.delete(a),I.delete(u),yt}(a,u,d,p,v,I))}(a,u,d,p,Bc,v))}function Ea(a,u,d,p){var v=d.length,I=v,V=!p;if(null==a)return!I;for(a=Bt(a);v--;){var Y=d[v];if(V&&Y[2]?Y[1]!==a[Y[0]]:!(Y[0]in a))return!1}for(;++v<I;){var Q=(Y=d[v])[0],fe=a[Q],he=Y[1];if(V&&Y[2]){if(fe===_&&!(Q in a))return!1}else{var _e=new di;if(p)var Ie=p(fe,he,Q,a,u,_e);if(!(Ie===_?Bc(he,fe,3,p,_e):Ie))return!1}}return!0}function uv(a){return!(!hn(a)||function Tv(a){return!!_a&&_a in a}(a))&&(Us(a)?Io:Qp).test(Bs(a))}function cv(a){return"function"==typeof a?a:null==a?Er:"object"==typeof a?ot(a)?Ps(a[0],a[1]):Lo(a):Ht(a)}function xf(a){if(!pl(a))return x(a);var u=[];for(var d in Bt(a))lt.call(a,d)&&"constructor"!=d&&u.push(d);return u}function pi(a,u){return a<u}function hu(a,u){var d=-1,p=Zr(a)?ie(a.length):[];return Mi(a,function(v,I,V){p[++d]=u(v,I,V)}),p}function Lo(a){var u=zf(a);return 1==u.length&&u[0][2]?Qf(u[0][0],u[0][1]):function(d){return d===a||Ea(d,a,u)}}function Ps(a,u){return $c(a)&&Du(u)?Qf(un(a),u):function(d){var p=xh(d,a);return p===_&&p===u?Oh(d,a):Bc(u,p,3)}}function pu(a,u,d,p,v){a!==u&&cu(u,function(I,V){if(v||(v=new di),hn(I))!function dv(a,u,d,p,v,I,V){var Y=Jf(a,d),Q=Jf(u,d),fe=V.get(Q);if(fe)wf(a,d,fe);else{var he=I?I(Y,Q,d+"",a,u,V):_,_e=he===_;if(_e){var Ie=ot(Q),Ve=!Ie&&Uo(Q),Ze=!Ie&&!Ve&&_l(Q);he=Q,Ie||Ve||Ze?ot(Y)?he=Y:bn(Y)?he=Or(Y):Ve?(_e=!1,he=cl(Q,!0)):Ze?(_e=!1,he=kf(Q,!0)):he=[]:Ia(Q)||js(Q)?(he=Y,js(Y)?he=ud(Y):(!hn(Y)||Us(Y))&&(he=Sv(Q))):_e=!1}_e&&(V.set(Q,he),v(he,Q,p,I,V),V.delete(Q)),wf(a,d,he)}}(a,u,V,d,pu,p,v);else{var Y=p?p(Jf(a,V),I,V+"",a,u,v):_;Y===_&&(Y=I),wf(a,V,Y)}},Jr)}function cm(a,u){var d=a.length;if(d)return jo(u+=u<0?d:0,d)?a[u]:_}function fv(a,u,d){u=u.length?zt(u,function(I){return ot(I)?function(V){return ko(V,1===I.length?I[0]:I)}:I}):[Er];var p=-1;return u=zt(u,jn(qe())),function bc(K,ae){var ie=K.length;for(K.sort(ae);ie--;)K[ie]=K[ie].value;return K}(hu(a,function(I,V,Y){return{criteria:zt(u,function(fe){return fe(I)}),index:++p,value:I}}),function(I,V){return function Wc(a,u,d){for(var p=-1,v=a.criteria,I=u.criteria,V=v.length,Y=d.length;++p<V;){var Q=Uc(v[p],I[p]);if(Q)return p>=Y?Q:Q*("desc"==d[p]?-1:1)}return a.index-u.index}(I,V,d)})}function Of(a,u,d){for(var p=-1,v=u.length,I={};++p<v;){var V=u[p],Y=ko(a,V);d(Y,V)&&gu(I,mi(V,a),Y)}return I}function mu(a,u,d,p){var v=p?ui:dn,I=-1,V=u.length,Y=a;for(a===u&&(u=Or(u)),d&&(Y=zt(a,jn(d)));++I<V;)for(var Q=0,fe=u[I],he=d?d(fe):fe;(Q=v(Y,he,Q,p))>-1;)Y!==a&&rl.call(Y,Q,1),rl.call(a,Q,1);return a}function Ca(a,u){for(var d=a?u.length:0,p=d-1;d--;){var v=u[d];if(d==p||v!==I){var I=v;jo(v)?rl.call(a,v,1):yu(a,v)}}return a}function dm(a,u){return a+Xi(ce()*(u-a+1))}function Rf(a,u){var d="";if(!a||u<1||u>fn)return d;do{u%2&&(d+=a),(u=Xi(u/2))&&(a+=a)}while(u);return d}function _t(a,u){return eh(Im(a,u,Er),a+"")}function hv(a){return sv(El(a))}function pv(a,u){var d=El(a);return th(d,Fo(u,0,d.length))}function gu(a,u,d,p){if(!hn(a))return a;for(var v=-1,I=(u=mi(u,a)).length,V=I-1,Y=a;null!=Y&&++v<I;){var Q=un(u[v]),fe=d;if("__proto__"===Q||"constructor"===Q||"prototype"===Q)return a;if(v!=V){var he=Y[Q];(fe=p?p(he,Q,Y):_)===_&&(fe=hn(he)?he:jo(u[v+1])?[]:{})}au(Y,Q,fe),Y=Y[Q]}return a}var al=pr?function(a,u){return pr.set(a,u),a}:Er,Pf=on?function(a,u){return on(a,"toString",{configurable:!0,enumerable:!1,value:Hh(u),writable:!0})}:Er;function Hc(a){return th(El(a))}function xi(a,u,d){var p=-1,v=a.length;u<0&&(u=-u>v?0:v+u),(d=d>v?v:d)<0&&(d+=v),v=u>d?0:d-u>>>0,u>>>=0;for(var I=ie(v);++p<v;)I[p]=a[p+u];return I}function _u(a,u){var d;return Mi(a,function(p,v,I){return!(d=u(p,v,I))}),!!d}function ll(a,u,d){var p=0,v=null==a?p:a.length;if("number"==typeof u&&u==u&&v<=2147483647){for(;p<v;){var I=p+v>>>1,V=a[I];null!==V&&!br(V)&&(d?V<=u:V<u)?p=I+1:v=I}return v}return Vo(a,u,Er,d)}function Vo(a,u,d,p){var v=0,I=null==a?0:a.length;if(0===I)return 0;for(var V=(u=d(u))!=u,Y=null===u,Q=br(u),fe=u===_;v<I;){var he=Xi((v+I)/2),_e=d(a[he]),Ie=_e!==_,Ve=null===_e,Ze=_e==_e,yt=br(_e);if(V)var $e=p||Ze;else $e=fe?Ze&&(p||Ie):Y?Ze&&Ie&&(p||!Ve):Q?Ze&&Ie&&!Ve&&(p||!yt):!Ve&&!yt&&(p?_e<=u:_e<u);$e?v=he+1:I=he}return j(I,4294967294)}function hm(a,u){for(var d=-1,p=a.length,v=0,I=[];++d<p;){var V=a[d],Y=u?u(V):V;if(!d||!rs(Y,Q)){var Q=Y;I[v++]=0===V?0:V}}return I}function pm(a){return"number"==typeof a?a:br(a)?NaN:+a}function $r(a){if("string"==typeof a)return a;if(ot(a))return zt(a,$r)+"";if(br(a))return xs?xs.call(a):"";var u=a+"";return"0"==u&&1/a==-Et?"-0":u}function Ji(a,u,d){var p=-1,v=Cs,I=a.length,V=!0,Y=[],Q=Y;if(d)V=!1,v=Yi;else if(I>=200){var fe=u?null:Ev(a);if(fe)return Xn(fe);V=!1,v=ws,Q=new Ro}else Q=u?[]:Y;e:for(;++p<I;){var he=a[p],_e=u?u(he):he;if(he=d||0!==he?he:0,V&&_e==_e){for(var Ie=Q.length;Ie--;)if(Q[Ie]===_e)continue e;u&&Q.push(_e),Y.push(he)}else v(Q,_e,d)||(Q!==Y&&Q.push(_e),Y.push(he))}return Y}function yu(a,u){return null==(a=Xf(a,u=mi(u,a)))||delete a[un(_i(u))]}function ul(a,u,d,p){return gu(a,u,d(ko(a,u)),p)}function Fs(a,u,d,p){for(var v=a.length,I=p?v:-1;(p?I--:++I<v)&&u(a[I],I,a););return d?xi(a,p?0:I,p?I+1:v):xi(a,p?I+1:0,p?v:I)}function mm(a,u){var d=a;return d instanceof wt&&(d=d.value()),Nn(u,function(p,v){return v.func.apply(v.thisArg,ur([p],v.args))},d)}function le(a,u,d){var p=a.length;if(p<2)return p?Ji(a[0]):[];for(var v=-1,I=ie(p);++v<p;)for(var V=a[v],Y=-1;++Y<p;)Y!=v&&(I[v]=lu(I[v]||V,a[Y],u,d));return Ji(jt(I,1),u,d)}function Ff(a,u,d){for(var p=-1,v=a.length,I=u.length,V={};++p<v;)d(V,a[p],p<I?u[p]:_);return V}function vu(a){return bn(a)?a:[]}function Ns(a){return"function"==typeof a?a:Er}function mi(a,u){return ot(a)?a:$c(a,u)?[a]:ml(xt(a))}var mv=_t;function ks(a,u,d){var p=a.length;return d=d===_?p:d,!u&&d>=p?a:xi(a,u,d)}var Nf=nu||function(a){return yn.clearTimeout(a)};function cl(a,u){if(u)return a.slice();var d=a.length,p=Mo?Mo(d):new a.constructor(d);return a.copy(p),p}function yr(a){var u=new a.constructor(a.byteLength);return new Ts(u).set(new Ts(a)),u}function kf(a,u){var d=u?yr(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function Uc(a,u){if(a!==u){var d=a!==_,p=null===a,v=a==a,I=br(a),V=u!==_,Y=null===u,Q=u==u,fe=br(u);if(!Y&&!fe&&!I&&a>u||I&&V&&Q&&!Y&&!fe||p&&V&&Q||!d&&Q||!v)return 1;if(!p&&!I&&!fe&&a<u||fe&&d&&v&&!p&&!I||Y&&d&&v||!V&&v||!Q)return-1}return 0}function Lf(a,u,d,p){for(var v=-1,I=a.length,V=d.length,Y=-1,Q=u.length,fe=P(I-V,0),he=ie(Q+fe),_e=!p;++Y<Q;)he[Y]=u[Y];for(;++v<V;)(_e||v<I)&&(he[d[v]]=a[v]);for(;fe--;)he[Y++]=a[v++];return he}function gm(a,u,d,p){for(var v=-1,I=a.length,V=-1,Y=d.length,Q=-1,fe=u.length,he=P(I-Y,0),_e=ie(he+fe),Ie=!p;++v<he;)_e[v]=a[v];for(var Ve=v;++Q<fe;)_e[Ve+Q]=u[Q];for(;++V<Y;)(Ie||v<I)&&(_e[Ve+d[V]]=a[v++]);return _e}function Or(a,u){var d=-1,p=a.length;for(u||(u=ie(p));++d<p;)u[d]=a[d];return u}function vr(a,u,d,p){var v=!d;d||(d={});for(var I=-1,V=u.length;++I<V;){var Y=u[I],Q=p?p(d[Y],a[Y],Y,d,a):_;Q===_&&(Q=a[Y]),v?fi(d,Y,Q):au(d,Y,Q)}return d}function Vf(a,u){return function(d,p){var v=ot(d)?Es:Sf,I=u?u():{};return v(d,a,qe(p,2),I)}}function Da(a){return _t(function(u,d){var p=-1,v=d.length,I=v>1?d[v-1]:_,V=v>2?d[2]:_;for(I=a.length>3&&"function"==typeof I?(v--,I):_,V&&Pr(d[0],d[1],V)&&(I=v<3?_:I,v=1),u=Bt(u);++p<v;){var Y=d[p];Y&&a(u,Y,p,I)}return u})}function _m(a,u){return function(d,p){if(null==d)return d;if(!Zr(d))return a(d,p);for(var v=d.length,I=u?v:-1,V=Bt(d);(u?I--:++I<v)&&!1!==p(V[I],I,V););return d}}function yv(a){return function(u,d,p){for(var v=-1,I=Bt(u),V=p(u),Y=V.length;Y--;){var Q=V[a?Y:++v];if(!1===d(I[Q],Q,I))break}return u}}function ym(a){return function(u){var d=Qi(u=xt(u))?dr(u):_,p=d?d[0]:u.charAt(0),v=d?ks(d,1).join(""):u.slice(1);return p[a]()+v}}function dl(a){return function(u){return Nn(zg(Lg(u).replace(wi,"")),a,"")}}function Ho(a){return function(){var u=arguments;switch(u.length){case 0:return new a;case 1:return new a(u[0]);case 2:return new a(u[0],u[1]);case 3:return new a(u[0],u[1],u[2]);case 4:return new a(u[0],u[1],u[2],u[3]);case 5:return new a(u[0],u[1],u[2],u[3],u[4]);case 6:return new a(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new a(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var d=Un(a.prototype),p=a.apply(d,u);return hn(p)?p:d}}function wa(a){return function(u,d,p){var v=Bt(u);if(!Zr(u)){var I=qe(d,3);u=Rn(u),d=function(Y){return I(v[Y],Y,v)}}var V=a(u,d,p);return V>-1?v[I?u[V]:V]:_}}function vm(a){return Vs(function(u){var d=u.length,p=d,v=xr.prototype.thru;for(a&&u.reverse();p--;){var I=u[p];if("function"!=typeof I)throw new Tr(R);if(v&&!V&&"wrapper"==qc(I))var V=new xr([],!0)}for(p=V?p:d;++p<d;){var Y=qc(I=u[p]),Q="wrapper"==Y?Wf(I):_;V=Q&&Kf(Q[0])&&424==Q[1]&&!Q[4].length&&1==Q[9]?V[qc(Q[0])].apply(V,Q[3]):1==I.length&&Kf(I)?V[Y]():V.thru(I)}return function(){var fe=arguments,he=fe[0];if(V&&1==fe.length&&ot(he))return V.plant(he).value();for(var _e=0,Ie=d?u[_e].apply(this,fe):he;++_e<d;)Ie=u[_e].call(this,Ie);return Ie}})}function Gc(a,u,d,p,v,I,V,Y,Q,fe){var he=128&u,_e=1&u,Ie=2&u,Ve=24&u,Ze=512&u,yt=Ie?_:Ho(a);return function $e(){for(var Re=arguments.length,At=ie(Re),Cr=Re;Cr--;)At[Cr]=arguments[Cr];if(Ve)var Dr=fl($e),ei=_f(At,Dr);if(p&&(At=Lf(At,p,v,Ve)),I&&(At=gm(At,I,V,Ve)),Re-=ei,Ve&&Re<fe){var Cn=ci(At,Dr);return Em(a,u,Gc,$e.placeholder,d,At,Cn,Y,Q,fe-Re)}var Fi=_e?d:this,$s=Ie?Fi[a]:a;return Re=At.length,Y?At=Mm(At,Y):Ze&&Re>1&&At.reverse(),he&&Q<Re&&(At.length=Q),this&&this!==yn&&this instanceof $e&&($s=yt||Ho($s)),$s.apply(Fi,At)}}function bv(a,u){return function(d,p){return function Le(a,u,d,p){return _r(a,function(v,I,V){u(p,d(v),I,V)}),p}(d,a,u(p),{})}}function Sa(a,u){return function(d,p){var v;if(d===_&&p===_)return u;if(d!==_&&(v=d),p!==_){if(v===_)return p;"string"==typeof d||"string"==typeof p?(d=$r(d),p=$r(p)):(d=pm(d),p=pm(p)),v=a(d,p)}return v}}function Eu(a){return Vs(function(u){return u=zt(u,jn(qe())),_t(function(d){var p=this;return a(u,function(v){return Ot(v,p,d)})})})}function Cu(a,u){var d=(u=u===_?" ":$r(u)).length;if(d<2)return d?Rf(u,a):u;var p=Rf(u,Ms(a/Do(u)));return Qi(u)?ks(dr(p),0,a).join(""):p.slice(0,a)}function Hf(a){return function(u,d,p){return p&&"number"!=typeof p&&Pr(u,d,p)&&(d=p=_),u=Gs(u),d===_?(d=u,u=0):d=Gs(d),function fm(a,u,d,p){for(var v=-1,I=P(Ms((u-a)/(d||1)),0),V=ie(I);I--;)V[p?I:++v]=a,a+=d;return V}(u,d,p=p===_?u<d?1:-1:Gs(p),a)}}function es(a){return function(u,d){return"string"==typeof u&&"string"==typeof d||(u=Gn(u),d=Gn(d)),a(u,d)}}function Em(a,u,d,p,v,I,V,Y,Q,fe){var he=8&u;u|=he?32:64,4&(u&=~(he?64:32))||(u&=-4);var yt=[a,u,v,he?I:_,he?V:_,he?_:I,he?_:V,Y,Q,fe],$e=d.apply(_,yt);return Kf(a)&&xm($e,yt),$e.placeholder=p,Om($e,a,u)}function jf(a){var u=sn[a];return function(d,p){if(d=Gn(d),(p=null==p?0:j(mt(p),292))&&ya(d)){var v=(xt(d)+"e").split("e");return+((v=(xt(u(v[0]+"e"+(+v[1]+p)))+"e").split("e"))[0]+"e"+(+v[1]-p))}return u(d)}}var Ev=je&&1/Xn(new je([,-0]))[1]==Et?function(a){return new je(a)}:Wh;function Cm(a){return function(u){var d=Wn(u);return d==jr?Za(u):d==or?function Co(K){var ae=-1,ie=Array(K.size);return K.forEach(function(Me){ie[++ae]=[Me,Me]}),ie}(u):function ga(K,ae){return zt(ae,function(ie){return[ie,K[ie]]})}(u,a(u))}}function Ls(a,u,d,p,v,I,V,Y){var Q=2&u;if(!Q&&"function"!=typeof a)throw new Tr(R);var fe=p?p.length:0;if(fe||(u&=-97,p=v=_),V=V===_?V:P(mt(V),0),Y=Y===_?Y:mt(Y),fe-=v?v.length:0,64&u){var he=p,_e=v;p=v=_}var Ie=Q?_:Wf(a),Ve=[a,u,d,p,v,he,_e,I,V,Y];if(Ie&&function Mv(a,u){var d=a[1],p=u[1],v=d|p;if(!(v<131||(128==p&&8==d||128==p&&256==d&&a[7].length<=u[8]||384==p&&u[7].length<=u[8]&&8==d)))return a;1&p&&(a[2]=u[2],v|=1&d?0:4);var Y=u[3];if(Y){var Q=a[3];a[3]=Q?Lf(Q,Y,u[4]):Y,a[4]=Q?ci(a[3],w):u[4]}(Y=u[5])&&(a[5]=(Q=a[5])?gm(Q,Y,u[6]):Y,a[6]=Q?ci(a[5],w):u[6]),(Y=u[7])&&(a[7]=Y),128&p&&(a[8]=null==a[8]?u[8]:j(a[8],u[8])),null==a[9]&&(a[9]=u[9]),a[0]=u[0],a[1]=v}(Ve,Ie),a=Ve[0],u=Ve[1],d=Ve[2],p=Ve[3],v=Ve[4],!(Y=Ve[9]=Ve[9]===_?Q?0:a.length:P(Ve[9]-fe,0))&&24&u&&(u&=-25),u&&1!=u)Ze=8==u||16==u?function Bf(a,u,d){var p=Ho(a);return function v(){for(var I=arguments.length,V=ie(I),Y=I,Q=fl(v);Y--;)V[Y]=arguments[Y];var fe=I<3&&V[0]!==Q&&V[I-1]!==Q?[]:ci(V,Q);return(I-=fe.length)<d?Em(a,u,Gc,v.placeholder,_,V,fe,_,_,d-I):Ot(this&&this!==yn&&this instanceof v?p:a,this,V)}}(a,u,Y):32!=u&&33!=u||v.length?Gc.apply(_,Ve):function bm(a,u,d,p){var v=1&u,I=Ho(a);return function V(){for(var Y=-1,Q=arguments.length,fe=-1,he=p.length,_e=ie(he+Q),Ie=this&&this!==yn&&this instanceof V?I:a;++fe<he;)_e[fe]=p[fe];for(;Q--;)_e[fe++]=arguments[++Y];return Ot(Ie,v?d:this,_e)}}(a,u,d,p);else var Ze=function vv(a,u,d){var p=1&u,v=Ho(a);return function I(){return(this&&this!==yn&&this instanceof I?v:a).apply(p?d:this,arguments)}}(a,u,d);return Om((Ie?al:xm)(Ze,Ve),a,u)}function Rr(a,u,d,p){return a===_||rs(a,As[d])&&!lt.call(p,d)?u:a}function Oi(a,u,d,p,v,I){return hn(a)&&hn(u)&&(I.set(u,a),pu(a,u,_,Oi,I),I.delete(u)),a}function Dm(a){return Ia(a)?_:a}function wm(a,u,d,p,v,I){var V=1&d,Y=a.length,Q=u.length;if(Y!=Q&&!(V&&Q>Y))return!1;var fe=I.get(a),he=I.get(u);if(fe&&he)return fe==u&&he==a;var _e=-1,Ie=!0,Ve=2&d?new Ro:_;for(I.set(a,u),I.set(u,a);++_e<Y;){var Ze=a[_e],yt=u[_e];if(p)var $e=V?p(yt,Ze,_e,u,a,I):p(Ze,yt,_e,a,u,I);if($e!==_){if($e)continue;Ie=!1;break}if(Ve){if(!Ki(u,function(Re,At){if(!ws(Ve,At)&&(Ze===Re||v(Ze,Re,d,p,I)))return Ve.push(At)})){Ie=!1;break}}else if(Ze!==yt&&!v(Ze,yt,d,p,I)){Ie=!1;break}}return I.delete(a),I.delete(u),Ie}function Vs(a){return eh(Im(a,_,ih),a+"")}function Uf(a){return Lc(a,Rn,gi)}function zc(a){return Lc(a,Jr,hl)}var Wf=pr?function(a){return pr.get(a)}:Wh;function qc(a){for(var u=a.name+"",d=An[u],p=lt.call(An,u)?d.length:0;p--;){var v=d[p],I=v.func;if(null==I||I==a)return v.name}return u}function fl(a){return(lt.call(C,"placeholder")?C:a).placeholder}function qe(){var a=C.iteratee||Go;return a=a===Go?cv:a,arguments.length?a(arguments[0],arguments[1]):a}function Gf(a,u){var d=a.__data__;return function Av(a){var u=typeof a;return"string"==u||"number"==u||"symbol"==u||"boolean"==u?"__proto__"!==a:null===a}(u)?d["string"==typeof u?"string":"hash"]:d.map}function zf(a){for(var u=Rn(a),d=u.length;d--;){var p=u[d],v=a[p];u[d]=[p,v,Du(v)]}return u}function Ri(a,u){var d=function bf(K,ae){return null==K?_:K[ae]}(a,u);return uv(d)?d:_}var gi=ru?function(a){return null==a?[]:(a=Bt(a),Qe(ru(a),function(u){return tu.call(a,u)}))}:Nu,hl=ru?function(a){for(var u=[];a;)ur(u,gi(a)),a=Is(a);return u}:Nu,Wn=vn;function wv(a,u,d){for(var p=-1,v=(u=mi(u,a)).length,I=!1;++p<v;){var V=un(u[p]);if(!(I=null!=a&&d(a,V)))break;a=a[V]}return I||++p!=v?I:!!(v=null==a?0:a.length)&&wh(v)&&jo(V,v)&&(ot(a)||js(a))}function Sv(a){return"function"!=typeof a.constructor||pl(a)?{}:Un(Is(a))}function Yf(a){return ot(a)||js(a)||!!(ge&&a&&a[ge])}function jo(a,u){var d=typeof a;return!!(u=null==u?fn:u)&&("number"==d||"symbol"!=d&&ff.test(a))&&a>-1&&a%1==0&&a<u}function Pr(a,u,d){if(!hn(d))return!1;var p=typeof u;return!!("number"==p?Zr(d)&&jo(u,d.length):"string"==p&&u in d)&&rs(d[u],a)}function $c(a,u){if(ot(a))return!1;var d=typeof a;return!("number"!=d&&"symbol"!=d&&"boolean"!=d&&null!=a&&!br(a))||gs.test(a)||!qp.test(a)||null!=u&&a in Bt(u)}function Kf(a){var u=qc(a),d=C[u];if("function"!=typeof d||!(u in wt.prototype))return!1;if(a===d)return!0;var p=Wf(d);return!!p&&a===p[0]}(De&&Wn(new De(new ArrayBuffer(1)))!=ms||Fe&&Wn(new Fe)!=jr||we&&Wn(we.resolve())!=fo||je&&Wn(new je)!=or||Rt&&Wn(new Rt)!=hs)&&(Wn=function(a){var u=vn(a),d=u==Ui?a.constructor:_,p=d?Bs(d):"";if(p)switch(p){case mr:return ms;case Ic:return jr;case Mc:return fo;case Kt:return or;case en:return hs}return u});var Iv=Ai?Us:qh;function pl(a){var u=a&&a.constructor;return a===("function"==typeof u&&u.prototype||As)}function Du(a){return a==a&&!hn(a)}function Qf(a,u){return function(d){return null!=d&&d[a]===u&&(u!==_||a in Bt(d))}}function Im(a,u,d){return u=P(u===_?a.length-1:u,0),function(){for(var p=arguments,v=-1,I=P(p.length-u,0),V=ie(I);++v<I;)V[v]=p[u+v];v=-1;for(var Y=ie(u+1);++v<u;)Y[v]=p[v];return Y[u]=d(V),Ot(a,this,Y)}}function Xf(a,u){return u.length<2?a:ko(a,xi(u,0,-1))}function Mm(a,u){for(var d=a.length,p=j(u.length,d),v=Or(a);p--;){var I=u[p];a[p]=jo(I,d)?v[I]:_}return a}function Jf(a,u){if(("constructor"!==u||"function"!=typeof a[u])&&"__proto__"!=u)return a[u]}var xm=Ov(al),wu=Gr||function(a,u){return yn.setTimeout(a,u)},eh=Ov(Pf);function Om(a,u,d){var p=u+"";return eh(a,function $f(a,u){var d=u.length;if(!d)return a;var p=d-1;return u[p]=(d>1?"& ":"")+u[p],u=u.join(d>2?", ":" "),a.replace(Xt,"{\n/* [wrapped with "+u+"] */\n")}(p,function Rm(a,u){return Mt(sf,function(d){var p="_."+d[0];u&d[1]&&!Cs(a,p)&&a.push(p)}),a.sort()}(function Tm(a){var u=a.match(Yp);return u?u[1].split(Wa):[]}(p),d)))}function Ov(a){var u=0,d=0;return function(){var p=te(),v=16-(p-d);if(d=p,v>0){if(++u>=800)return arguments[0]}else u=0;return a.apply(_,arguments)}}function th(a,u){var d=-1,p=a.length,v=p-1;for(u=u===_?p:u;++d<u;){var I=dm(d,v),V=a[I];a[I]=a[d],a[d]=V}return a.length=u,a}var ml=function Zf(a){var u=td(a,function(p){return 500===d.size&&d.clear(),p}),d=u.cache;return u}(function(a){var u=[];return 46===a.charCodeAt(0)&&u.push(""),a.replace($p,function(d,p,v,I){u.push(v?I.replace(cf,"$1"):p||d)}),u});function un(a){if("string"==typeof a||br(a))return a;var u=a+"";return"0"==u&&1/a==-Et?"-0":u}function Bs(a){if(null!=a){try{return Ir.call(a)}catch(u){}try{return a+""}catch(u){}}return""}function nh(a){if(a instanceof wt)return a.clone();var u=new xr(a.__wrapped__,a.__chain__);return u.__actions__=Or(a.__actions__),u.__index__=a.__index__,u.__values__=a.__values__,u}var Rv=_t(function(a,u){return bn(a)?lu(a,jt(u,1,bn,!0)):[]}),Pv=_t(function(a,u){var d=_i(u);return bn(d)&&(d=_),bn(a)?lu(a,jt(u,1,bn,!0),qe(d,2)):[]}),Pm=_t(function(a,u){var d=_i(u);return bn(d)&&(d=_),bn(a)?lu(a,jt(u,1,bn,!0),_,d):[]});function km(a,u,d){var p=null==a?0:a.length;if(!p)return-1;var v=null==d?0:mt(d);return v<0&&(v=P(p+v,0)),Zn(a,qe(u,3),v)}function Lm(a,u,d){var p=null==a?0:a.length;if(!p)return-1;var v=p-1;return d!==_&&(v=mt(d),v=d<0?P(p+v,0):j(v,p-1)),Zn(a,qe(u,3),v,!0)}function ih(a){return null!=a&&a.length?jt(a,1):[]}function Vv(a){return a&&a.length?a[0]:_}var Bv=_t(function(a){var u=zt(a,vu);return u.length&&u[0]===a[0]?If(u):[]}),Hv=_t(function(a){var u=_i(a),d=zt(a,vu);return u===_i(d)?u=_:d.pop(),d.length&&d[0]===a[0]?If(d,qe(u,2)):[]}),ts=_t(function(a){var u=_i(a),d=zt(a,vu);return(u="function"==typeof u?u:_)&&d.pop(),d.length&&d[0]===a[0]?If(d,_,u):[]});function _i(a){var u=null==a?0:a.length;return u?a[u-1]:_}var Gv=_t(Au);function Au(a,u){return a&&a.length&&u&&u.length?mu(a,u):a}var qv=Vs(function(a,u){var d=null==a?0:a.length,p=Af(a,u);return Ca(a,zt(u,function(v){return jo(v,d)?+v:v}).sort(Uc)),p});function Kc(a){return null==a?a:me.call(a)}var Tu=_t(function(a){return Ji(jt(a,1,bn,!0))}),Gm=_t(function(a){var u=_i(a);return bn(u)&&(u=_),Ji(jt(a,1,bn,!0),qe(u,2))}),zm=_t(function(a){var u=_i(a);return u="function"==typeof u?u:_,Ji(jt(a,1,bn,!0),_,u)});function $m(a){if(!a||!a.length)return[];var u=0;return a=Qe(a,function(d){if(bn(d))return u=P(d.length,u),!0}),vo(u,function(d){return zt(a,cr(d))})}function Aa(a,u){if(!a||!a.length)return[];var d=$m(a);return null==u?d:zt(d,function(p){return Ot(u,_,p)})}var ch=_t(function(a,u){return bn(a)?lu(a,u):[]}),Ym=_t(function(a){return le(Qe(a,bn))}),Zv=_t(function(a){var u=_i(a);return bn(u)&&(u=_),le(Qe(a,bn),qe(u,2))}),dh=_t(function(a){var u=_i(a);return u="function"==typeof u?u:_,le(Qe(a,bn),_,u)}),Xv=_t($m),tb=_t(function(a){var u=a.length,d=u>1?a[u-1]:_;return d="function"==typeof d?(a.pop(),d):_,Aa(a,d)});function Km(a){var u=C(a);return u.__chain__=!0,u}function Iu(a,u){return u(a)}var fh=Vs(function(a){var u=a.length,d=u?a[0]:0,p=this.__wrapped__,v=function(I){return Af(I,a)};return!(u>1||this.__actions__.length)&&p instanceof wt&&jo(d)?((p=p.slice(d,+d+(u?1:0))).__actions__.push({func:Iu,args:[v],thisArg:_}),new xr(p,this.__chain__).thru(function(I){return u&&!I.length&&I.push(_),I})):this.thru(v)}),Jm=Vf(function(a,u,d){lt.call(a,d)?++a[d]:fi(a,d,1)}),Qc=wa(km),ob=wa(Lm);function Zc(a,u){return(ot(a)?Mt:Mi)(a,qe(u,3))}function ph(a,u){return(ot(a)?pa:ol)(a,qe(u,3))}var Xc=Vf(function(a,u,d){lt.call(a,d)?a[d].push(u):fi(a,d,[u])}),ig=_t(function(a,u,d){var p=-1,v="function"==typeof u,I=Zr(a)?ie(a.length):[];return Mi(a,function(V){I[++p]=v?Ot(u,V,d):Vc(V,u,d)}),I}),mh=Vf(function(a,u,d){fi(a,d,u)});function Mu(a,u){return(ot(a)?zt:hu)(a,qe(u,3))}var xu=Vf(function(a,u,d){a[d?0:1].push(u)},function(){return[[],[]]}),lg=_t(function(a,u){if(null==a)return[];var d=u.length;return d>1&&Pr(a,u[0],u[1])?u=[]:d>2&&Pr(u[0],u[1],u[2])&&(u=[u[0]]),fv(a,jt(u,1),[])}),ed=xo||function(){return yn.Date.now()};function cg(a,u,d){return u=d?_:u,Ls(a,128,_,_,_,_,u=a&&null==u?a.length:u)}function dg(a,u){var d;if("function"!=typeof u)throw new Tr(R);return a=mt(a),function(){return--a>0&&(d=u.apply(this,arguments)),a<=1&&(u=_),d}}var Kr=_t(function(a,u,d){var p=1;if(d.length){var v=ci(d,fl(Kr));p|=32}return Ls(a,p,u,d,v)}),fg=_t(function(a,u,d){var p=3;if(d.length){var v=ci(d,fl(fg));p|=32}return Ls(u,p,a,d,v)});function pg(a,u,d){var p,v,I,V,Y,Q,fe=0,he=!1,_e=!1,Ie=!0;if("function"!=typeof a)throw new Tr(R);function Ve(Cn){var Fi=p,$s=v;return p=v=_,fe=Cn,V=a.apply($s,Fi)}function Ze(Cn){return fe=Cn,Y=wu(Re,u),he?Ve(Cn):V}function $e(Cn){var Fi=Cn-Q;return Q===_||Fi>=u||Fi<0||_e&&Cn-fe>=I}function Re(){var Cn=ed();if($e(Cn))return At(Cn);Y=wu(Re,function yt(Cn){var o_=u-(Cn-Q);return _e?j(o_,I-(Cn-fe)):o_}(Cn))}function At(Cn){return Y=_,Ie&&p?Ve(Cn):(p=v=_,V)}function ei(){var Cn=ed(),Fi=$e(Cn);if(p=arguments,v=this,Q=Cn,Fi){if(Y===_)return Ze(Q);if(_e)return Nf(Y),Y=wu(Re,u),Ve(Q)}return Y===_&&(Y=wu(Re,u)),V}return u=Gn(u)||0,hn(d)&&(he=!!d.leading,I=(_e="maxWait"in d)?P(Gn(d.maxWait)||0,u):I,Ie="trailing"in d?!!d.trailing:Ie),ei.cancel=function Cr(){Y!==_&&Nf(Y),fe=0,p=Q=v=Y=_},ei.flush=function Dr(){return Y===_?V:At(ed())},ei}var cb=_t(function(a,u){return am(a,1,u)}),db=_t(function(a,u,d){return am(a,Gn(u)||0,d)});function td(a,u){if("function"!=typeof a||null!=u&&"function"!=typeof u)throw new Tr(R);var d=function(){var p=arguments,v=u?u.apply(this,p):p[0],I=d.cache;if(I.has(v))return I.get(v);var V=a.apply(this,p);return d.cache=I.set(v,V)||I,V};return d.cache=new(td.Cache||Ii),d}function nd(a){if("function"!=typeof a)throw new Tr(R);return function(){var u=arguments;switch(u.length){case 0:return!a.call(this);case 1:return!a.call(this,u[0]);case 2:return!a.call(this,u[0],u[1]);case 3:return!a.call(this,u[0],u[1],u[2])}return!a.apply(this,u)}}td.Cache=Ii;var ut=mv(function(a,u){var d=(u=1==u.length&&ot(u[0])?zt(u[0],jn(qe())):zt(jt(u,1),jn(qe()))).length;return _t(function(p){for(var v=-1,I=j(p.length,d);++v<I;)p[v]=u[v].call(this,p[v]);return Ot(a,this,p)})}),Qr=_t(function(a,u){var d=ci(u,fl(Qr));return Ls(a,32,_,u,d)}),vh=_t(function(a,u){var d=ci(u,fl(vh));return Ls(a,64,_,u,d)}),gg=Vs(function(a,u){return Ls(a,256,_,_,_,u)});function rs(a,u){return a===u||a!=a&&u!=u}var id=es(um),sd=es(function(a,u){return a>=u}),js=lv(function(){return arguments}())?lv:function(a){return En(a)&&lt.call(a,"callee")&&!tu.call(a,"callee")},ot=ie.isArray,Dh=Qn?jn(Qn):function SD(a){return En(a)&&vn(a)==ps};function Zr(a){return null!=a&&wh(a.length)&&!Us(a)}function bn(a){return En(a)&&Zr(a)}var Uo=Tc||qh,mb=Ae?jn(Ae):function AD(a){return En(a)&&vn(a)==Sr};function od(a){if(!En(a))return!1;var u=vn(a);return u==Ha||"[object DOMException]"==u||"string"==typeof a.message&&"string"==typeof a.name&&!Ia(a)}function Us(a){if(!hn(a))return!1;var u=vn(a);return u==ja||u==sa||"[object AsyncFunction]"==u||"[object Proxy]"==u}function ad(a){return"number"==typeof a&&a==mt(a)}function wh(a){return"number"==typeof a&&a>-1&&a%1==0&&a<=fn}function hn(a){var u=typeof a;return null!=a&&("object"==u||"function"==u)}function En(a){return null!=a&&"object"==typeof a}var _b=pt?jn(pt):function ID(a){return En(a)&&Wn(a)==jr};function Ws(a){return"number"==typeof a||En(a)&&vn(a)==bi}function Ia(a){if(!En(a)||vn(a)!=Ui)return!1;var u=Is(a);if(null===u)return!0;var d=lt.call(u,"constructor")&&u.constructor;return"function"==typeof d&&d instanceof d&&Ir.call(d)==Ti}var Sh=Gt?jn(Gt):function On(a){return En(a)&&vn(a)==gn},ld=Hn?jn(Hn):function Mf(a){return En(a)&&Wn(a)==or};function Ou(a){return"string"==typeof a||!ot(a)&&En(a)&&vn(a)==ho}function br(a){return"symbol"==typeof a||En(a)&&vn(a)==oa}var _l=qi?jn(qi):function fu(a){return En(a)&&wh(a.length)&&!!We[vn(a)]},Ah=es(pi),vb=es(function(a,u){return a<=u});function Th(a){if(!a)return[];if(Zr(a))return Ou(a)?dr(a):Or(a);if(gt&&a[gt])return function Ss(K){for(var ae,ie=[];!(ae=K.next()).done;)ie.push(ae.value);return ie}(a[gt]());var u=Wn(a);return(u==jr?Za:u==or?Xn:El)(a)}function Gs(a){return a?(a=Gn(a))===Et||a===-Et?17976931348623157e292*(a<0?-1:1):a==a?a:0:0===a?a:0}function mt(a){var u=Gs(a),d=u%1;return u==u?d?u-d:u:0}function yl(a){return a?Fo(mt(a),0,sr):0}function Gn(a){if("number"==typeof a)return a;if(br(a))return NaN;if(hn(a)){var u="function"==typeof a.valueOf?a.valueOf():a;a=hn(u)?u+"":u}if("string"!=typeof a)return 0===a?a:+a;a=Ec(a);var d=Kp.test(a);return d||Zp.test(a)?bs(a.slice(2),d?2:8):df.test(a)?NaN:+a}function ud(a){return vr(a,Jr(a))}function xt(a){return null==a?"":$r(a)}var bl=Da(function(a,u){if(pl(u)||Zr(u))vr(u,Rn(u),a);else for(var d in u)lt.call(u,d)&&au(a,d,u[d])}),wg=Da(function(a,u){vr(u,Jr(u),a)}),Ru=Da(function(a,u,d,p){vr(u,Jr(u),a,p)}),Sg=Da(function(a,u,d,p){vr(u,Rn(u),a,p)}),Ih=Vs(Af),Ag=_t(function(a,u){a=Bt(a);var d=-1,p=u.length,v=p>2?u[2]:_;for(v&&Pr(u[0],u[1],v)&&(p=1);++d<p;)for(var I=u[d],V=Jr(I),Y=-1,Q=V.length;++Y<Q;){var fe=V[Y],he=a[fe];(he===_||rs(he,As[fe])&&!lt.call(a,fe))&&(a[fe]=I[fe])}return a}),cd=_t(function(a){return a.push(_,Oi),Ot(Rg,_,a)});function xh(a,u,d){var p=null==a?_:ko(a,u);return p===_?d:p}function Oh(a,u){return null!=a&&wv(a,u,av)}var Db=bv(function(a,u,d){null!=u&&"function"!=typeof u.toString&&(u=To.call(u)),a[u]=d},Hh(Er)),zD=bv(function(a,u,d){null!=u&&"function"!=typeof u.toString&&(u=To.call(u)),lt.call(a,u)?a[u].push(d):a[u]=[d]},qe),qD=_t(Vc);function Rn(a){return Zr(a)?ou(a):xf(a)}function Jr(a){return Zr(a)?ou(a,!0):function hi(a){if(!hn(a))return function Pt(a){var u=[];if(null!=a)for(var d in Bt(a))u.push(d);return u}(a);var u=pl(a),d=[];for(var p in a)"constructor"==p&&(u||!lt.call(a,p))||d.push(p);return d}(a)}var Og=Da(function(a,u,d){pu(a,u,d)}),Rg=Da(function(a,u,d,p){pu(a,u,d,p)}),Sb=Vs(function(a,u){var d={};if(null==a)return d;var p=!1;u=zt(u,function(I){return I=mi(I,a),p||(p=I.length>1),I}),vr(a,zc(a),d),p&&(d=zr(d,7,Dm));for(var v=u.length;v--;)yu(d,u[v]);return d}),Pg=Vs(function(a,u){return null==a?{}:function MD(a,u){return Of(a,u,function(d,p){return Oh(a,p)})}(a,u)});function Fg(a,u){if(null==a)return{};var d=zt(zc(a),function(p){return[p]});return u=qe(u),Of(a,d,function(p,v){return u(p,v[0])})}var Ph=Cm(Rn),Fh=Cm(Jr);function El(a){return null==a?[]:bo(a,Rn(a))}var Pb=dl(function(a,u,d){return u=u.toLowerCase(),a+(d?dd(u):u)});function dd(a){return Ma(xt(a).toLowerCase())}function Lg(a){return(a=xt(a))&&a.replace(Xp,wc).replace(ha,"")}var Nb=dl(function(a,u,d){return a+(d?"-":"")+u.toLowerCase()}),Lh=dl(function(a,u,d){return a+(d?" ":"")+u.toLowerCase()}),Vh=ym("toLowerCase"),Bg=dl(function(a,u,d){return a+(d?"_":"")+u.toLowerCase()}),jg=dl(function(a,u,d){return a+(d?" ":"")+Ma(u)}),Fu=dl(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),Ma=ym("toUpperCase");function zg(a,u,d){return a=xt(a),(u=d?_:u)===_?function Eo(K){return pc.test(K)}(a)?function tl(K){return K.match(vs)||[]}(a):function yc(K){return K.match($n)||[]}(a):a.match(u)||[]}var pd=_t(function(a,u){try{return Ot(a,_,u)}catch(d){return od(d)?d:new it(d)}}),qg=Vs(function(a,u){return Mt(u,function(d){d=un(d),fi(a,d,Kr(a[d],a))}),a});function Hh(a){return function(){return a}}var Ub=vm(),Wb=vm(!0);function Er(a){return a}function Go(a){return cv("function"==typeof a?a:zr(a,1))}var zb=_t(function(a,u){return function(d){return Vc(d,a,u)}}),Cl=_t(function(a,u){return function(d){return Vc(a,d,u)}});function Uh(a,u,d){var p=Rn(u),v=Rs(u,p);null==d&&(!hn(u)||!v.length&&p.length)&&(d=u,u=a,a=this,v=Rs(u,Rn(u)));var I=!(hn(d)&&"chain"in d&&!d.chain),V=Us(a);return Mt(v,function(Y){var Q=u[Y];a[Y]=Q,V&&(a.prototype[Y]=function(){var fe=this.__chain__;if(I||fe){var he=a(this.__wrapped__),_e=he.__actions__=Or(this.__actions__);return _e.push({func:Q,args:arguments,thisArg:a}),he.__chain__=fe,he}return Q.apply(a,ur([this.value()],arguments))})}),a}function Wh(){}var QD=Eu(zt),Yb=Eu($i),Kg=Eu(Ki);function Ht(a){return $c(a)?cr(un(a)):function qr(a){return function(u){return ko(u,a)}}(a)}var qs=Hf(),zh=Hf(!0);function Nu(){return[]}function qh(){return!1}var Zb=Sa(function(a,u){return a+u},0),ku=jf("ceil"),$h=Sa(function(a,u){return a/u},1),e_=jf("floor"),tE=Sa(function(a,u){return a*u},1),i_=jf("round"),ZD=Sa(function(a,u){return a-u},0);return C.after=function ug(a,u){if("function"!=typeof u)throw new Tr(R);return a=mt(a),function(){if(--a<1)return u.apply(this,arguments)}},C.ary=cg,C.assign=bl,C.assignIn=wg,C.assignInWith=Ru,C.assignWith=Sg,C.at=Ih,C.before=dg,C.bind=Kr,C.bindAll=qg,C.bindKey=fg,C.castArray=function Hs(){if(!arguments.length)return[];var a=arguments[0];return ot(a)?a:[a]},C.chain=Km,C.chunk=function er(a,u,d){u=(d?Pr(a,u,d):u===_)?1:P(mt(u),0);var p=null==a?0:a.length;if(!p||u<1)return[];for(var v=0,I=0,V=ie(Ms(p/u));v<p;)V[I++]=xi(a,v,v+=u);return V},C.compact=function Su(a){for(var u=-1,d=null==a?0:a.length,p=0,v=[];++u<d;){var I=a[u];I&&(v[p++]=I)}return v},C.concat=function rh(){var a=arguments.length;if(!a)return[];for(var u=ie(a-1),d=arguments[0],p=a;p--;)u[p-1]=arguments[p];return ur(ot(d)?Or(d):[d],jt(u,1))},C.cond=function jb(a){var u=null==a?0:a.length,d=qe();return a=u?zt(a,function(p){if("function"!=typeof p[1])throw new Tr(R);return[d(p[0]),p[1]]}):[],_t(function(p){for(var v=-1;++v<u;){var I=a[v];if(Ot(I[0],this,p))return Ot(I[1],this,p)}})},C.conforms=function $g(a){return function om(a){var u=Rn(a);return function(d){return Tf(d,a,u)}}(zr(a,1))},C.constant=Hh,C.countBy=Jm,C.create=function Mh(a,u){var d=Un(a);return null==u?d:Nc(d,u)},C.curry=function yh(a,u,d){var p=Ls(a,8,_,_,_,_,_,u=d?_:u);return p.placeholder=yh.placeholder,p},C.curryRight=function hg(a,u,d){var p=Ls(a,16,_,_,_,_,_,u=d?_:u);return p.placeholder=hg.placeholder,p},C.debounce=pg,C.defaults=Ag,C.defaultsDeep=cd,C.defer=cb,C.delay=db,C.difference=Rv,C.differenceBy=Pv,C.differenceWith=Pm,C.drop=function Fv(a,u,d){var p=null==a?0:a.length;return p?xi(a,(u=d||u===_?1:mt(u))<0?0:u,p):[]},C.dropRight=function Fm(a,u,d){var p=null==a?0:a.length;return p?xi(a,0,(u=p-(u=d||u===_?1:mt(u)))<0?0:u):[]},C.dropRightWhile=function Nv(a,u){return a&&a.length?Fs(a,qe(u,3),!0,!0):[]},C.dropWhile=function Nm(a,u){return a&&a.length?Fs(a,qe(u,3),!0):[]},C.fill=function kv(a,u,d,p){var v=null==a?0:a.length;return v?(d&&"number"!=typeof d&&Pr(a,u,d)&&(d=0,p=v),function lm(a,u,d,p){var v=a.length;for((d=mt(d))<0&&(d=-d>v?0:v+d),(p=p===_||p>v?v:mt(p))<0&&(p+=v),p=d>p?0:yl(p);d<p;)a[d++]=u;return a}(a,u,d,p)):[]},C.filter=function sb(a,u){return(ot(a)?Qe:ba)(a,qe(u,3))},C.flatMap=function tg(a,u){return jt(Mu(a,u),1)},C.flatMapDeep=function ng(a,u){return jt(Mu(a,u),Et)},C.flatMapDepth=function rg(a,u,d){return d=d===_?1:mt(d),jt(Mu(a,u),d)},C.flatten=ih,C.flattenDeep=function sh(a){return null!=a&&a.length?jt(a,Et):[]},C.flattenDepth=function Vm(a,u){return null!=a&&a.length?jt(a,u=u===_?1:mt(u)):[]},C.flip=function mg(a){return Ls(a,512)},C.flow=Ub,C.flowRight=Wb,C.fromPairs=function Lv(a){for(var u=-1,d=null==a?0:a.length,p={};++u<d;){var v=a[u];p[v[0]]=v[1]}return p},C.functions=function xg(a){return null==a?[]:Rs(a,Rn(a))},C.functionsIn=function Cb(a){return null==a?[]:Rs(a,Jr(a))},C.groupBy=Xc,C.initial=function Yc(a){return null!=a&&a.length?xi(a,0,-1):[]},C.intersection=Bv,C.intersectionBy=Hv,C.intersectionWith=ts,C.invert=Db,C.invertBy=zD,C.invokeMap=ig,C.iteratee=Go,C.keyBy=mh,C.keys=Rn,C.keysIn=Jr,C.map=Mu,C.mapKeys=function wb(a,u){var d={};return u=qe(u,3),_r(a,function(p,v,I){fi(d,u(p,v,I),p)}),d},C.mapValues=function Rh(a,u){var d={};return u=qe(u,3),_r(a,function(p,v,I){fi(d,v,u(p,v,I))}),d},C.matches=function Yg(a){return Lo(zr(a,1))},C.matchesProperty=function Gb(a,u){return Ps(a,zr(u,1))},C.memoize=td,C.merge=Og,C.mergeWith=Rg,C.method=zb,C.methodOf=Cl,C.mixin=Uh,C.negate=nd,C.nthArg=function $b(a){return a=mt(a),_t(function(u){return cm(u,a)})},C.omit=Sb,C.omitBy=function Ab(a,u){return Fg(a,nd(qe(u)))},C.once=function fb(a){return dg(2,a)},C.orderBy=function gh(a,u,d,p){return null==a?[]:(ot(u)||(u=null==u?[]:[u]),ot(d=p?_:d)||(d=null==d?[]:[d]),fv(a,u,d))},C.over=QD,C.overArgs=ut,C.overEvery=Yb,C.overSome=Kg,C.partial=Qr,C.partialRight=vh,C.partition=xu,C.pick=Pg,C.pickBy=Fg,C.property=Ht,C.propertyOf=function Gh(a){return function(u){return null==a?_:ko(a,u)}},C.pull=Gv,C.pullAll=Au,C.pullAllBy=function Hm(a,u,d){return a&&a.length&&u&&u.length?mu(a,u,qe(d,2)):a},C.pullAllWith=function zv(a,u,d){return a&&a.length&&u&&u.length?mu(a,u,_,d):a},C.pullAt=qv,C.range=qs,C.rangeRight=zh,C.rearg=gg,C.reject=function lb(a,u){return(ot(a)?Qe:ba)(a,nd(qe(u,3)))},C.remove=function jm(a,u){var d=[];if(!a||!a.length)return d;var p=-1,v=[],I=a.length;for(u=qe(u,3);++p<I;){var V=a[p];u(V,p,a)&&(d.push(V),v.push(p))}return Ca(a,v),d},C.rest=function rd(a,u){if("function"!=typeof a)throw new Tr(R);return _t(a,u=u===_?u:mt(u))},C.reverse=Kc,C.sampleSize=function og(a,u,d){return u=(d?Pr(a,u,d):u===_)?1:mt(u),(ot(a)?im:pv)(a,u)},C.set=function Tb(a,u,d){return null==a?a:gu(a,u,d)},C.setWith=function Ib(a,u,d,p){return p="function"==typeof p?p:_,null==a?a:gu(a,u,d,p)},C.shuffle=function _h(a){return(ot(a)?sm:Hc)(a)},C.slice=function $v(a,u,d){var p=null==a?0:a.length;return p?(d&&"number"!=typeof d&&Pr(a,u,d)?(u=0,d=p):(u=null==u?0:mt(u),d=d===_?p:mt(d)),xi(a,u,d)):[]},C.sortBy=lg,C.sortedUniq=function Um(a){return a&&a.length?hm(a):[]},C.sortedUniqBy=function PD(a,u){return a&&a.length?hm(a,qe(u,2)):[]},C.split=function Hg(a,u,d){return d&&"number"!=typeof d&&Pr(a,u,d)&&(u=d=_),(d=d===_?sr:d>>>0)?(a=xt(a))&&("string"==typeof u||null!=u&&!Sh(u))&&!(u=$r(u))&&Qi(a)?ks(dr(a),0,d):a.split(u,d):[]},C.spread=function Pi(a,u){if("function"!=typeof a)throw new Tr(R);return u=null==u?0:P(mt(u),0),_t(function(d){var p=d[u],v=ks(d,0,u);return p&&ur(v,p),Ot(a,this,v)})},C.tail=function Yr(a){var u=null==a?0:a.length;return u?xi(a,1,u):[]},C.take=function oh(a,u,d){return a&&a.length?xi(a,0,(u=d||u===_?1:mt(u))<0?0:u):[]},C.takeRight=function ah(a,u,d){var p=null==a?0:a.length;return p?xi(a,(u=p-(u=d||u===_?1:mt(u)))<0?0:u,p):[]},C.takeRightWhile=function Qv(a,u){return a&&a.length?Fs(a,qe(u,3),!1,!0):[]},C.takeWhile=function Wm(a,u){return a&&a.length?Fs(a,qe(u,3)):[]},C.tap=function nb(a,u){return u(a),a},C.throttle=function _g(a,u,d){var p=!0,v=!0;if("function"!=typeof a)throw new Tr(R);return hn(d)&&(p="leading"in d?!!d.leading:p,v="trailing"in d?!!d.trailing:v),pg(a,u,{leading:p,maxWait:u,trailing:v})},C.thru=Iu,C.toArray=Th,C.toPairs=Ph,C.toPairsIn=Fh,C.toPath=function Jg(a){return ot(a)?zt(a,un):br(a)?[a]:Or(ml(xt(a)))},C.toPlainObject=ud,C.transform=function Mb(a,u,d){var p=ot(a),v=p||Uo(a)||_l(a);if(u=qe(u,4),null==d){var I=a&&a.constructor;d=v?p?new I:[]:hn(a)&&Us(I)?Un(Is(a)):{}}return(v?Mt:_r)(a,function(V,Y,Q){return u(d,V,Y,Q)}),d},C.unary=function hb(a){return cg(a,1)},C.union=Tu,C.unionBy=Gm,C.unionWith=zm,C.uniq=function lh(a){return a&&a.length?Ji(a):[]},C.uniqBy=function uh(a,u){return a&&a.length?Ji(a,qe(u,2)):[]},C.uniqWith=function qm(a,u){return u="function"==typeof u?u:_,a&&a.length?Ji(a,_,u):[]},C.unset=function is(a,u){return null==a||yu(a,u)},C.unzip=$m,C.unzipWith=Aa,C.update=function Nh(a,u,d){return null==a?a:ul(a,u,Ns(d))},C.updateWith=function xb(a,u,d,p){return p="function"==typeof p?p:_,null==a?a:ul(a,u,Ns(d),p)},C.values=El,C.valuesIn=function $D(a){return null==a?[]:bo(a,Jr(a))},C.without=ch,C.words=zg,C.wrap=function bh(a,u){return Qr(Ns(u),a)},C.xor=Ym,C.xorBy=Zv,C.xorWith=dh,C.zip=Xv,C.zipObject=function Jv(a,u){return Ff(a||[],u||[],au)},C.zipObjectDeep=function eb(a,u){return Ff(a||[],u||[],gu)},C.zipWith=tb,C.entries=Ph,C.entriesIn=Fh,C.extend=wg,C.extendWith=Ru,Uh(C,C),C.add=Zb,C.attempt=pd,C.camelCase=Pb,C.capitalize=dd,C.ceil=ku,C.clamp=function kg(a,u,d){return d===_&&(d=u,u=_),d!==_&&(d=(d=Gn(d))==d?d:0),u!==_&&(u=(u=Gn(u))==u?u:0),Fo(Gn(a),u,d)},C.clone=function Eh(a){return zr(a,4)},C.cloneDeep=function Ch(a){return zr(a,5)},C.cloneDeepWith=function ND(a,u){return zr(a,5,u="function"==typeof u?u:_)},C.cloneWith=function yg(a,u){return zr(a,4,u="function"==typeof u?u:_)},C.conformsTo=function vg(a,u){return null==u||Tf(a,u,Rn(u))},C.deburr=Lg,C.defaultTo=function jh(a,u){return null==a||a!=a?u:a},C.divide=$h,C.endsWith=function Fb(a,u,d){a=xt(a),u=$r(u);var p=a.length,v=d=d===_?p:Fo(mt(d),0,p);return(d-=u.length)>=0&&a.slice(d,v)==u},C.eq=rs,C.escape=function fd(a){return(a=xt(a))&&lf.test(a)?a.replace(dt,yf):a},C.escapeRegExp=function kh(a){return(a=xt(a))&&rt.test(a)?a.replace(aa,"\\$&"):a},C.every=function eg(a,u,d){var p=ot(a)?$i:ov;return d&&Pr(a,u,d)&&(u=_),p(a,qe(u,3))},C.find=Qc,C.findIndex=km,C.findKey=function bb(a,u){return Xl(a,qe(u,3),_r)},C.findLast=ob,C.findLastIndex=Lm,C.findLastKey=function Tg(a,u){return Xl(a,qe(u,3),No)},C.floor=e_,C.forEach=Zc,C.forEachRight=ph,C.forIn=function GD(a,u){return null==a?a:cu(a,qe(u,3),Jr)},C.forInRight=function Ig(a,u){return null==a?a:du(a,qe(u,3),Jr)},C.forOwn=function Mg(a,u){return a&&_r(a,qe(u,3))},C.forOwnRight=function Eb(a,u){return a&&No(a,qe(u,3))},C.get=xh,C.gt=id,C.gte=sd,C.has=function Xr(a,u){return null!=a&&wv(a,u,DD)},C.hasIn=Oh,C.head=Vv,C.identity=Er,C.includes=function Jc(a,u,d,p){a=Zr(a)?a:El(a),d=d&&!p?mt(d):0;var v=a.length;return d<0&&(d=P(v+d,0)),Ou(a)?d<=v&&a.indexOf(u,d)>-1:!!v&&dn(a,u,d)>-1},C.indexOf=function Bm(a,u,d){var p=null==a?0:a.length;if(!p)return-1;var v=null==d?0:mt(d);return v<0&&(v=P(p+v,0)),dn(a,u,v)},C.inRange=function Ob(a,u,d){return u=Gs(u),d===_?(d=u,u=0):d=Gs(d),function wD(a,u,d){return a>=j(u,d)&&a<P(u,d)}(a=Gn(a),u,d)},C.invoke=qD,C.isArguments=js,C.isArray=ot,C.isArrayBuffer=Dh,C.isArrayLike=Zr,C.isArrayLikeObject=bn,C.isBoolean=function pb(a){return!0===a||!1===a||En(a)&&vn(a)==Ct},C.isBuffer=Uo,C.isDate=mb,C.isElement=function bg(a){return En(a)&&1===a.nodeType&&!Ia(a)},C.isEmpty=function kD(a){if(null==a)return!0;if(Zr(a)&&(ot(a)||"string"==typeof a||"function"==typeof a.splice||Uo(a)||_l(a)||js(a)))return!a.length;var u=Wn(a);if(u==jr||u==or)return!a.size;if(pl(a))return!xf(a).length;for(var d in a)if(lt.call(a,d))return!1;return!0},C.isEqual=function gb(a,u){return Bc(a,u)},C.isEqualWith=function LD(a,u,d){var p=(d="function"==typeof d?d:_)?d(a,u):_;return p===_?Bc(a,u,_,d):!!p},C.isError=od,C.isFinite=function Eg(a){return"number"==typeof a&&ya(a)},C.isFunction=Us,C.isInteger=ad,C.isLength=wh,C.isMap=_b,C.isMatch=function VD(a,u){return a===u||Ea(a,u,zf(u))},C.isMatchWith=function BD(a,u,d){return d="function"==typeof d?d:_,Ea(a,u,zf(u),d)},C.isNaN=function HD(a){return Ws(a)&&a!=+a},C.isNative=function jD(a){if(Iv(a))throw new it("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return uv(a)},C.isNil=function WD(a){return null==a},C.isNull=function UD(a){return null===a},C.isNumber=Ws,C.isObject=hn,C.isObjectLike=En,C.isPlainObject=Ia,C.isRegExp=Sh,C.isSafeInteger=function Cg(a){return ad(a)&&a>=-fn&&a<=fn},C.isSet=ld,C.isString=Ou,C.isSymbol=br,C.isTypedArray=_l,C.isUndefined=function Wo(a){return a===_},C.isWeakMap=function Dg(a){return En(a)&&Wn(a)==hs},C.isWeakSet=function yb(a){return En(a)&&"[object WeakSet]"==vn(a)},C.join=function jv(a,u){return null==a?"":b.call(a,u)},C.kebabCase=Nb,C.last=_i,C.lastIndexOf=function Uv(a,u,d){var p=null==a?0:a.length;if(!p)return-1;var v=p;return d!==_&&(v=(v=mt(d))<0?P(p+v,0):j(v,p-1)),u==u?function Sc(K,ae,ie){for(var Me=ie+1;Me--;)if(K[Me]===ae)return Me;return Me}(a,u,v):Zn(a,Ds,v,!0)},C.lowerCase=Lh,C.lowerFirst=Vh,C.lt=Ah,C.lte=vb,C.max=function t_(a){return a&&a.length?uu(a,Er,um):_},C.maxBy=function n_(a,u){return a&&a.length?uu(a,qe(u,2),um):_},C.mean=function r_(a){return _o(a,Er)},C.meanBy=function Xb(a,u){return _o(a,qe(u,2))},C.min=function Jb(a){return a&&a.length?uu(a,Er,pi):_},C.minBy=function eE(a,u){return a&&a.length?uu(a,qe(u,2),pi):_},C.stubArray=Nu,C.stubFalse=qh,C.stubObject=function Kb(){return{}},C.stubString=function Qg(){return""},C.stubTrue=function Zg(){return!0},C.multiply=tE,C.nth=function Wv(a,u){return a&&a.length?cm(a,mt(u)):_},C.noConflict=function qb(){return yn._===this&&(yn._=eu),this},C.noop=Wh,C.now=ed,C.pad=function Vg(a,u,d){a=xt(a);var p=(u=mt(u))?Do(a):0;if(!u||p>=u)return a;var v=(u-p)/2;return Cu(Xi(v),d)+a+Cu(Ms(v),d)},C.padEnd=function kb(a,u,d){a=xt(a);var p=(u=mt(u))?Do(a):0;return u&&p<u?a+Cu(u-p,d):a},C.padStart=function Lb(a,u,d){a=xt(a);var p=(u=mt(u))?Do(a):0;return u&&p<u?Cu(u-p,d)+a:a},C.parseInt=function Bh(a,u,d){return d||null==u?u=0:u&&(u=+u),ee(xt(a).replace(Mn,""),u||0)},C.random=function Rb(a,u,d){if(d&&"boolean"!=typeof d&&Pr(a,u,d)&&(u=d=_),d===_&&("boolean"==typeof u?(d=u,u=_):"boolean"==typeof a&&(d=a,a=_)),a===_&&u===_?(a=0,u=1):(a=Gs(a),u===_?(u=a,a=0):u=Gs(u)),a>u){var p=a;a=u,u=p}if(d||a%1||u%1){var v=ce();return j(a+v*(u-a+zi("1e-"+((v+"").length-1))),u)}return dm(a,u)},C.reduce=function ab(a,u,d){var p=ot(a)?Nn:vc,v=arguments.length<3;return p(a,qe(u,4),d,v,Mi)},C.reduceRight=function sg(a,u,d){var p=ot(a)?ma:vc,v=arguments.length<3;return p(a,qe(u,4),d,v,ol)},C.repeat=function YD(a,u,d){return u=(d?Pr(a,u,d):u===_)?1:mt(u),Rf(xt(a),u)},C.replace=function Vb(){var a=arguments,u=xt(a[0]);return a.length<3?u:u.replace(a[1],a[2])},C.result=function Ng(a,u,d){var p=-1,v=(u=mi(u,a)).length;for(v||(v=1,a=_);++p<v;){var I=null==a?_:a[un(u[p])];I===_&&(p=v,I=d),a=Us(I)?I.call(a):I}return a},C.round=i_,C.runInContext=K,C.sample=function ub(a){return(ot(a)?sv:hv)(a)},C.size=function ag(a){if(null==a)return 0;if(Zr(a))return Ou(a)?Do(a):a.length;var u=Wn(a);return u==jr||u==or?a.size:xf(a).length},C.snakeCase=Bg,C.some=function FD(a,u,d){var p=ot(a)?Ki:_u;return d&&Pr(a,u,d)&&(u=_),p(a,qe(u,3))},C.sortedIndex=function Yv(a,u){return ll(a,u)},C.sortedIndexBy=function Kv(a,u,d){return Vo(a,u,qe(d,2))},C.sortedIndexOf=function gl(a,u){var d=null==a?0:a.length;if(d){var p=ll(a,u);if(p<d&&rs(a[p],u))return p}return-1},C.sortedLastIndex=function ns(a,u){return ll(a,u,!0)},C.sortedLastIndexBy=function OD(a,u,d){return Vo(a,u,qe(d,2),!0)},C.sortedLastIndexOf=function RD(a,u){if(null!=a&&a.length){var p=ll(a,u,!0)-1;if(rs(a[p],u))return p}return-1},C.startCase=jg,C.startsWith=function Ug(a,u,d){return a=xt(a),d=null==d?0:Fo(mt(d),0,a.length),u=$r(u),a.slice(d,d+u.length)==u},C.subtract=ZD,C.sum=function s_(a){return a&&a.length?Qa(a,Er):0},C.sumBy=function nE(a,u){return a&&a.length?Qa(a,qe(u,2)):0},C.template=function Wg(a,u,d){var p=C.templateSettings;d&&Pr(a,u,d)&&(u=_),a=xt(a),u=Ru({},u,p,Rr);var Y,Q,v=Ru({},u.imports,p.imports,Rr),I=Rn(v),V=bo(v,I),fe=0,he=u.interpolate||za,_e="__p += '",Ie=Jt((u.escape||za).source+"|"+he.source+"|"+(he===Kl?ac:za).source+"|"+(u.evaluate||za).source+"|$","g"),Ve="//# sourceURL="+(lt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++gc+"]")+"\n";a.replace(Ie,function($e,Re,At,Cr,Dr,ei){return At||(At=Cr),_e+=a.slice(fe,ei).replace(Jp,vf),Re&&(Y=!0,_e+="' +\n__e("+Re+") +\n'"),Dr&&(Q=!0,_e+="';\n"+Dr+";\n__p += '"),At&&(_e+="' +\n((__t = ("+At+")) == null ? '' : __t) +\n'"),fe=ei+$e.length,$e}),_e+="';\n";var Ze=lt.call(u,"variable")&&u.variable;if(Ze){if(Ga.test(Ze))throw new it("Invalid `variable` option passed into `_.template`")}else _e="with (obj) {\n"+_e+"\n}\n";_e=(Q?_e.replace(af,""):_e).replace(oc,"$1").replace(Ft,"$1;"),_e="function("+(Ze||"obj")+") {\n"+(Ze?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Y?", __e = _.escape":"")+(Q?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+_e+"return __p\n}";var yt=pd(function(){return Ue(I,Ve+"return "+_e).apply(_,V)});if(yt.source=_e,od(yt))throw yt;return yt},C.times=function Xg(a,u){if((a=mt(a))<1||a>fn)return[];var d=sr,p=j(a,sr);u=qe(u),a-=sr;for(var v=vo(p,u);++d<a;)u(d);return v},C.toFinite=Gs,C.toInteger=mt,C.toLength=yl,C.toLower=function zs(a){return xt(a).toLowerCase()},C.toNumber=Gn,C.toSafeInteger=function vl(a){return a?Fo(mt(a),-fn,fn):0===a?a:0},C.toString=xt,C.toUpper=function hd(a){return xt(a).toUpperCase()},C.trim=function Bb(a,u,d){if((a=xt(a))&&(d||u===_))return Ec(a);if(!a||!(u=$r(u)))return a;var p=dr(a),v=dr(u);return ks(p,Cc(p,v),Dc(p,v)+1).join("")},C.trimEnd=function Hb(a,u,d){if((a=xt(a))&&(d||u===_))return a.slice(0,wo(a)+1);if(!a||!(u=$r(u)))return a;var p=dr(a);return ks(p,0,Dc(p,dr(u))+1).join("")},C.trimStart=function KD(a,u,d){if((a=xt(a))&&(d||u===_))return a.replace(Mn,"");if(!a||!(u=$r(u)))return a;var p=dr(a);return ks(p,Cc(p,dr(u))).join("")},C.truncate=function Pu(a,u){var d=30,p="...";if(hn(u)){var v="separator"in u?u.separator:v;d="length"in u?mt(u.length):d,p="omission"in u?$r(u.omission):p}var I=(a=xt(a)).length;if(Qi(a)){var V=dr(a);I=V.length}if(d>=I)return a;var Y=d-Do(p);if(Y<1)return p;var Q=V?ks(V,0,Y).join(""):a.slice(0,Y);if(v===_)return Q+p;if(V&&(Y+=Q.length-Y),Sh(v)){if(a.slice(Y).search(v)){var fe,he=Q;for(v.global||(v=Jt(v.source,xt(Ur.exec(v))+"g")),v.lastIndex=0;fe=v.exec(he);)var _e=fe.index;Q=Q.slice(0,_e===_?Y:_e)}}else if(a.indexOf($r(v),Y)!=Y){var Ie=Q.lastIndexOf(v);Ie>-1&&(Q=Q.slice(0,Ie))}return Q+p},C.unescape=function Gg(a){return(a=xt(a))&&Yl.test(a)?a.replace(Ua,So):a},C.uniqueId=function Qb(a){var u=++Jl;return xt(a)+u},C.upperCase=Fu,C.upperFirst=Ma,C.each=Zc,C.eachRight=ph,C.first=Vv,Uh(C,function(){var a={};return _r(C,function(u,d){lt.call(C.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),C.VERSION="4.17.21",Mt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){C[a].placeholder=C}),Mt(["drop","take"],function(a,u){wt.prototype[a]=function(d){d=d===_?1:P(mt(d),0);var p=this.__filtered__&&!u?new wt(this):this.clone();return p.__filtered__?p.__takeCount__=j(d,p.__takeCount__):p.__views__.push({size:j(d,sr),type:a+(p.__dir__<0?"Right":"")}),p},wt.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),Mt(["filter","map","takeWhile"],function(a,u){var d=u+1,p=1==d||3==d;wt.prototype[a]=function(v){var I=this.clone();return I.__iteratees__.push({iteratee:qe(v,3),type:d}),I.__filtered__=I.__filtered__||p,I}}),Mt(["head","last"],function(a,u){var d="take"+(u?"Right":"");wt.prototype[a]=function(){return this[d](1).value()[0]}}),Mt(["initial","tail"],function(a,u){var d="drop"+(u?"":"Right");wt.prototype[a]=function(){return this.__filtered__?new wt(this):this[d](1)}}),wt.prototype.compact=function(){return this.filter(Er)},wt.prototype.find=function(a){return this.filter(a).head()},wt.prototype.findLast=function(a){return this.reverse().find(a)},wt.prototype.invokeMap=_t(function(a,u){return"function"==typeof a?new wt(this):this.map(function(d){return Vc(d,a,u)})}),wt.prototype.reject=function(a){return this.filter(nd(qe(a)))},wt.prototype.slice=function(a,u){a=mt(a);var d=this;return d.__filtered__&&(a>0||u<0)?new wt(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),u!==_&&(d=(u=mt(u))<0?d.dropRight(-u):d.take(u-a)),d)},wt.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},wt.prototype.toArray=function(){return this.take(sr)},_r(wt.prototype,function(a,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),p=/^(?:head|last)$/.test(u),v=C[p?"take"+("last"==u?"Right":""):u],I=p||/^find/.test(u);!v||(C.prototype[u]=function(){var V=this.__wrapped__,Y=p?[1]:arguments,Q=V instanceof wt,fe=Y[0],he=Q||ot(V),_e=function(Re){var At=v.apply(C,ur([Re],Y));return p&&Ie?At[0]:At};he&&d&&"function"==typeof fe&&1!=fe.length&&(Q=he=!1);var Ie=this.__chain__,Ve=!!this.__actions__.length,Ze=I&&!Ie,yt=Q&&!Ve;if(!I&&he){V=yt?V:new wt(this);var $e=a.apply(V,Y);return $e.__actions__.push({func:Iu,args:[_e],thisArg:_}),new xr($e,Ie)}return Ze&&yt?a.apply(this,Y):($e=this.thru(_e),Ze?p?$e.value()[0]:$e.value():$e)})}),Mt(["pop","push","shift","sort","splice","unshift"],function(a){var u=Si[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",p=/^(?:pop|shift)$/.test(a);C.prototype[a]=function(){var v=arguments;if(p&&!this.__chain__){var I=this.value();return u.apply(ot(I)?I:[],v)}return this[d](function(V){return u.apply(ot(V)?V:[],v)})}}),_r(wt.prototype,function(a,u){var d=C[u];if(d){var p=d.name+"";lt.call(An,p)||(An[p]=[]),An[p].push({name:u,func:d})}}),An[Gc(_,2).name]=[{name:"wrapper",func:_}],wt.prototype.clone=function Zy(){var a=new wt(this.__wrapped__);return a.__actions__=Or(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=Or(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=Or(this.__views__),a},wt.prototype.reverse=function Xy(){if(this.__filtered__){var a=new wt(this);a.__dir__=-1,a.__filtered__=!0}else(a=this.clone()).__dir__*=-1;return a},wt.prototype.value=function Jy(){var a=this.__wrapped__.value(),u=this.__dir__,d=ot(a),p=u<0,v=d?a.length:0,I=function Am(a,u,d){for(var p=-1,v=d.length;++p<v;){var I=d[p],V=I.size;switch(I.type){case"drop":a+=V;break;case"dropRight":u-=V;break;case"take":u=j(u,a+V);break;case"takeRight":a=P(a,u-V)}}return{start:a,end:u}}(0,v,this.__views__),V=I.start,Y=I.end,Q=Y-V,fe=p?Y:V-1,he=this.__iteratees__,_e=he.length,Ie=0,Ve=j(Q,this.__takeCount__);if(!d||!p&&v==Q&&Ve==Q)return mm(a,this.__actions__);var Ze=[];e:for(;Q--&&Ie<Ve;){for(var yt=-1,$e=a[fe+=u];++yt<_e;){var Re=he[yt],Cr=Re.type,Dr=(0,Re.iteratee)($e);if(2==Cr)$e=Dr;else if(!Dr){if(1==Cr)continue e;break e}}Ze[Ie++]=$e}return Ze},C.prototype.at=fh,C.prototype.chain=function Qm(){return Km(this)},C.prototype.commit=function hh(){return new xr(this.value(),this.__chain__)},C.prototype.next=function rb(){this.__values__===_&&(this.__values__=Th(this.value()));var a=this.__index__>=this.__values__.length;return{done:a,value:a?_:this.__values__[this.__index__++]}},C.prototype.plant=function Zm(a){for(var u,d=this;d instanceof Qt;){var p=nh(d);p.__index__=0,p.__values__=_,u?v.__wrapped__=p:u=p;var v=p;d=d.__wrapped__}return v.__wrapped__=a,u},C.prototype.reverse=function Xm(){var a=this.__wrapped__;if(a instanceof wt){var u=a;return this.__actions__.length&&(u=new wt(this)),(u=u.reverse()).__actions__.push({func:Iu,args:[Kc],thisArg:_}),new xr(u,this.__chain__)}return this.thru(Kc)},C.prototype.toJSON=C.prototype.valueOf=C.prototype.value=function Ta(){return mm(this.__wrapped__,this.__actions__)},C.prototype.first=C.prototype.head,gt&&(C.prototype[gt]=function ib(){return this}),C}();yn._=Ao,(F=function(){return Ao}.call(H,J,H,Ee))!==_&&(Ee.exports=F)}.call(this)},7248:(Ee,H,J)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.diffAny=H.diffObjects=H.diffArrays=H.intersection=H.subtract=H.isDestructive=void 0;var F=J(371),_=J(6480);function U(g,M){var E={};for(var S in g)_.hasOwnProperty.call(g,S)&&void 0!==g[S]&&(E[S]=1);for(var N in M)_.hasOwnProperty.call(M,N)&&void 0!==M[N]&&delete E[N];return Object.keys(E)}function G(g){for(var M=g.length,E={},S=0;S<M;S++){var N=g[S];for(var T in N)_.hasOwnProperty.call(N,T)&&void 0!==N[T]&&(E[T]=(E[T]||0)+1)}for(var T in E)E[T]<M&&delete E[T];return Object.keys(E)}function L(g,M){return{operations:g.operations.concat(M),cost:g.cost+1}}function q(g,M,E,S){void 0===S&&(S=B);var N={"0,0":{operations:[],cost:0}},z=isNaN(g.length)||g.length<=0?0:g.length,X=isNaN(M.length)||M.length<=0?0:M.length;return function T(se,pe){var Ke=se+","+pe,Ne=N[Ke];if(void 0===Ne){if(se>0&&pe>0&&F.compare(g[se-1],M[pe-1]))Ne=T(se-1,pe-1);else{var Dt=[];if(se>0){var ke=T(se-1,pe);Dt.push(L(ke,{op:"remove",index:se-1}))}if(pe>0){var Se=T(se,pe-1);Dt.push(L(Se,{op:"add",index:se-1,value:M[pe-1]}))}if(se>0&&pe>0){var tt=T(se-1,pe-1);Dt.push(L(tt,{op:"replace",index:se-1,original:g[se-1],value:M[pe-1]}))}Ne=Dt.sort(function(fn,Vl){return fn.cost-Vl.cost})[0]}N[Ke]=Ne}return Ne}(z,X).operations.reduce(function(se,pe){var Ke=se[0],Ne=se[1];if(function R(g){return"add"===g.op}(pe)){var Dt=pe.index+1+Ne,ke=Dt<z+Ne?String(Dt):"-",ye={op:pe.op,path:E.add(ke).toString(),value:pe.value};return[Ke.concat(ye),Ne+1]}if(function k(g){return"remove"===g.op}(pe))return ye={op:pe.op,path:E.add(String(pe.index+Ne)).toString()},[Ke.concat(ye),Ne-1];var Se=E.add(String(pe.index+Ne)),st=S(pe.original,pe.value,Se);return[Ke.concat.apply(Ke,st),Ne]},[[],0])[0]}function w(g,M,E,S){void 0===S&&(S=B);var N=[];return U(g,M).forEach(function(T){N.push({op:"remove",path:E.add(T).toString()})}),U(M,g).forEach(function(T){N.push({op:"add",path:E.add(T).toString(),value:M[T]})}),G([g,M]).forEach(function(T){N.push.apply(N,S(g[T],M[T],E.add(T)))}),N}function B(g,M,E,S){if(void 0===S&&(S=B),g===M)return[];var N=_.objectType(g),T=_.objectType(M);return"array"==N&&"array"==T?q(g,M,E,S):"object"==N&&"object"==T?w(g,M,E,S):[{op:"replace",path:E.toString(),value:M}]}H.isDestructive=function oe(g){var M=g.op;return"remove"===M||"replace"===M||"copy"===M||"move"===M},H.subtract=U,H.intersection=G,H.diffArrays=q,H.diffObjects=w,H.diffAny=B},371:(Ee,H,J)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.compare=void 0;var F=J(6480);H.compare=function U(G,R){if(G===R)return!0;var k=F.objectType(G),L=F.objectType(R);return"array"==k&&"array"==L?function _(G,R){var k=G.length;if(k!==R.length)return!1;for(var L=0;L<k;L++)if(!U(G[L],R[L]))return!1;return!0}(G,R):"object"==k&&"object"==L&&function oe(G,R){var k=Object.keys(G),L=Object.keys(R),q=k.length;if(q!==L.length)return!1;for(var w=0;w<q;w++){var B=k[w];if(!F.hasOwnProperty.call(R,B)||!U(G[B],R[B]))return!1}return!0}(G,R)}},3071:(Ee,H,J)=>{"use strict";J(4914),J(1240),J(7248)},1240:function(Ee,H,J){"use strict";var T,F=this&&this.__extends||(T=function(z,X){return(T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(be,re){be.__proto__=re}||function(be,re){for(var se in re)re.hasOwnProperty(se)&&(be[se]=re[se])})(z,X)},function(z,X){function be(){this.constructor=z}T(z,X),z.prototype=null===X?Object.create(X):(be.prototype=X.prototype,new be)});Object.defineProperty(H,"__esModule",{value:!0}),H.apply=H.InvalidOperationError=H.test=H.copy=H.move=H.replace=H.remove=H.add=H.TestError=H.MissingError=void 0;var _=J(4914),oe=J(6480),U=J(371),G=function(T){function z(X){var be=T.call(this,"Value required at path: "+X)||this;return be.path=X,be.name="MissingError",be}return F(z,T),z}(Error);H.MissingError=G;var R=function(T){function z(X,be){var re=T.call(this,"Test failed: "+X+" != "+be)||this;return re.actual=X,re.expected=be,re.name="TestError",re}return F(z,T),z}(Error);function k(T,z,X){if(Array.isArray(T))if("-"==z)T.push(X);else{var be=parseInt(z,10);T.splice(be,0,X)}else T[z]=X}function L(T,z){if(Array.isArray(T)){var X=parseInt(z,10);T.splice(X,1)}else delete T[z]}function q(T,z){var X=_.Pointer.fromJSON(z.path).evaluate(T);return void 0===X.parent?new G(z.path):(k(X.parent,X.key,oe.clone(z.value)),null)}function w(T,z){var X=_.Pointer.fromJSON(z.path).evaluate(T);return void 0===X.value?new G(z.path):(L(X.parent,X.key),null)}function B(T,z){var X=_.Pointer.fromJSON(z.path).evaluate(T);if(null===X.parent)return new G(z.path);if(Array.isArray(X.parent)){if(parseInt(X.key,10)>=X.parent.length)return new G(z.path)}else if(void 0===X.value)return new G(z.path);return X.parent[X.key]=z.value,null}function g(T,z){var X=_.Pointer.fromJSON(z.from).evaluate(T);if(void 0===X.value)return new G(z.from);var be=_.Pointer.fromJSON(z.path).evaluate(T);return void 0===be.parent?new G(z.path):(L(X.parent,X.key),k(be.parent,be.key,X.value),null)}function M(T,z){var X=_.Pointer.fromJSON(z.from).evaluate(T);if(void 0===X.value)return new G(z.from);var be=_.Pointer.fromJSON(z.path).evaluate(T);return void 0===be.parent?new G(z.path):(k(be.parent,be.key,oe.clone(X.value)),null)}function E(T,z){var X=_.Pointer.fromJSON(z.path).evaluate(T);return U.compare(X.value,z.value)?null:new R(X.value,z.value)}H.TestError=R,H.add=q,H.remove=w,H.replace=B,H.move=g,H.copy=M,H.test=E;var S=function(T){function z(X){var be=T.call(this,"Invalid operation: "+X.op)||this;return be.operation=X,be.name="InvalidOperationError",be}return F(z,T),z}(Error);H.InvalidOperationError=S,H.apply=function N(T,z){switch(z.op){case"add":return q(T,z);case"remove":return w(T,z);case"replace":return B(T,z);case"move":return g(T,z);case"copy":return M(T,z);case"test":return E(T,z)}return new S(z)}},4914:(Ee,H)=>{"use strict";function J(oe){return oe.replace(/~1/g,"/").replace(/~0/g,"~")}function F(oe){return oe.replace(/~/g,"~0").replace(/\//g,"~1")}Object.defineProperty(H,"__esModule",{value:!0}),H.Pointer=void 0;var _=function(){function oe(U){void 0===U&&(U=[""]),this.tokens=U}return oe.fromJSON=function(U){var G=U.split("/").map(J);if(""!==G[0])throw new Error("Invalid JSON Pointer: "+U);return new oe(G)},oe.prototype.toString=function(){return this.tokens.map(F).join("/")},oe.prototype.evaluate=function(U){for(var G=null,R="",k=U,L=1,q=this.tokens.length;L<q;L++)k=((G=k)||{})[R=this.tokens[L]];return{parent:G,key:R,value:k}},oe.prototype.get=function(U){return this.evaluate(U).value},oe.prototype.set=function(U,G){for(var R=U,k=1,L=this.tokens.length-1,q=this.tokens[k];k<L;k++)R=(R||{})[q];R&&(R[this.tokens[this.tokens.length-1]]=G)},oe.prototype.push=function(U){this.tokens.push(U)},oe.prototype.add=function(U){return new oe(this.tokens.concat(String(U)))},oe}();H.Pointer=_},6480:(Ee,H)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.clone=H.objectType=H.hasOwnProperty=void 0,H.hasOwnProperty=Object.prototype.hasOwnProperty,H.objectType=function J(_){return void 0===_?"undefined":null===_?"null":Array.isArray(_)?"array":typeof _},H.clone=function F(_){if(null==_||"object"!=typeof _)return _;if(_.constructor==Array){for(var oe=_.length,U=new Array(oe),G=0;G<oe;G++)U[G]=F(_[G]);return U}var R={};for(var k in _)H.hasOwnProperty.call(_,k)&&(R[k]=F(_[k]));return R}},5947:(Ee,H,J)=>{var F=J(9361),_=J(666),oe=_;oe.v1=F,oe.v4=_,Ee.exports=oe},8894:Ee=>{for(var H=[],J=0;J<256;++J)H[J]=(J+256).toString(16).substr(1);Ee.exports=function F(_,oe){var U=oe||0;return[H[_[U++]],H[_[U++]],H[_[U++]],H[_[U++]],"-",H[_[U++]],H[_[U++]],"-",H[_[U++]],H[_[U++]],"-",H[_[U++]],H[_[U++]],"-",H[_[U++]],H[_[U++]],H[_[U++]],H[_[U++]],H[_[U++]],H[_[U++]]].join("")}},4017:Ee=>{var H="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(H){var J=new Uint8Array(16);Ee.exports=function(){return H(J),J}}else{var F=new Array(16);Ee.exports=function(){for(var U,oe=0;oe<16;oe++)0==(3&oe)&&(U=4294967296*Math.random()),F[oe]=U>>>((3&oe)<<3)&255;return F}}},9361:(Ee,H,J)=>{var oe,U,F=J(4017),_=J(8894),G=0,R=0;Ee.exports=function k(L,q,w){var B=q&&w||0,g=q||[],M=(L=L||{}).node||oe,E=void 0!==L.clockseq?L.clockseq:U;if(null==M||null==E){var S=F();null==M&&(M=oe=[1|S[0],S[1],S[2],S[3],S[4],S[5]]),null==E&&(E=U=16383&(S[6]<<8|S[7]))}var N=void 0!==L.msecs?L.msecs:(new Date).getTime(),T=void 0!==L.nsecs?L.nsecs:R+1,z=N-G+(T-R)/1e4;if(z<0&&void 0===L.clockseq&&(E=E+1&16383),(z<0||N>G)&&void 0===L.nsecs&&(T=0),T>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");G=N,R=T,U=E;var X=(1e4*(268435455&(N+=122192928e5))+T)%4294967296;g[B++]=X>>>24&255,g[B++]=X>>>16&255,g[B++]=X>>>8&255,g[B++]=255&X;var be=N/4294967296*1e4&268435455;g[B++]=be>>>8&255,g[B++]=255&be,g[B++]=be>>>24&15|16,g[B++]=be>>>16&255,g[B++]=E>>>8|128,g[B++]=255&E;for(var re=0;re<6;++re)g[B+re]=M[re];return q||_(g)}},666:(Ee,H,J)=>{var F=J(4017),_=J(8894);Ee.exports=function oe(U,G,R){var k=G&&R||0;"string"==typeof U&&(G="binary"===U?new Array(16):null,U=null);var L=(U=U||{}).random||(U.rng||F)();if(L[6]=15&L[6]|64,L[8]=63&L[8]|128,G)for(var q=0;q<16;++q)G[k+q]=L[q];return G||_(L)}},6575:Ee=>{function H(J){var F=new Error("Cannot find module '"+J+"'");throw F.code="MODULE_NOT_FOUND",F}H.keys=()=>[],H.resolve=H,H.id=6575,Ee.exports=H},9062:()=>{}},Ee=>{Ee(Ee.s=7670)}]);
1
+ (self.webpackChunkwpSignatureJsonp=self.webpackChunkwpSignatureJsonp||[]).push([[179],{7670:(Ee,H,J)=>{"use strict";function F(n){return"function"==typeof n}let _=!1;const oe={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else _&&console.log("RxJS: Back to a better error behavior. Thank you. <3");_=n},get useDeprecatedSynchronousErrorHandling(){return _}};function U(n){setTimeout(()=>{throw n},0)}const G={closed:!0,next(n){},error(n){if(oe.useDeprecatedSynchronousErrorHandling)throw n;U(n)},complete(){}},R=Array.isArray||(n=>n&&"number"==typeof n.length);function k(n){return null!==n&&"object"==typeof n}const q=(()=>{function n(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((t,r)=>`${r+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return n.prototype=Object.create(Error.prototype),n})();class w{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:t,_ctorUnsubscribe:r,_unsubscribe:i,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof w)t.remove(this);else if(null!==t)for(let o=0;o<t.length;++o)t[o].remove(this);if(F(i)){r&&(this._unsubscribe=void 0);try{i.call(this)}catch(o){e=o instanceof q?B(o.errors):[o]}}if(R(s)){let o=-1,l=s.length;for(;++o<l;){const c=s[o];if(k(c))try{c.unsubscribe()}catch(f){e=e||[],f instanceof q?e=e.concat(B(f.errors)):e.push(f)}}}if(e)throw new q(e)}add(e){let t=e;if(!e)return w.EMPTY;switch(typeof e){case"function":t=new w(e);case"object":if(t===this||t.closed||"function"!=typeof t.unsubscribe)return t;if(this.closed)return t.unsubscribe(),t;if(!(t instanceof w)){const s=t;t=new w,t._subscriptions=[s]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:r}=t;if(null===r)t._parentOrParents=this;else if(r instanceof w){if(r===this)return t;t._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return t;r.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[t]:i.push(t),t}remove(e){const t=this._subscriptions;if(t){const r=t.indexOf(e);-1!==r&&t.splice(r,1)}}}var n;function B(n){return n.reduce((e,t)=>e.concat(t instanceof q?t.errors:t),[])}w.EMPTY=((n=new w).closed=!0,n);const g="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class E extends w{constructor(e,t,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=G;break;case 1:if(!e){this.destination=G;break}if("object"==typeof e){e instanceof E?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new S(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new S(this,e,t,r)}}[g](){return this}static create(e,t,r){const i=new E(e,t,r);return i.syncErrorThrowable=!1,i}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class S extends E{constructor(e,t,r,i){super(),this._parentSubscriber=e;let s,o=this;F(t)?s=t:t&&(s=t.next,r=t.error,i=t.complete,t!==G&&(o=Object.create(t),F(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=s,this._error=r,this._complete=i}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;oe.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:r}=oe;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=e,t.syncErrorThrown=!0):U(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;U(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);oe.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(r){if(this.unsubscribe(),oe.useDeprecatedSynchronousErrorHandling)throw r;U(r)}}__tryOrSetError(e,t,r){if(!oe.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(i){return oe.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(U(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const z="function"==typeof Symbol&&Symbol.observable||"@@observable";function X(n){return n}let se=(()=>{class n{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(t){const r=new n;return r.source=this,r.operator=t,r}subscribe(t,r,i){const{operator:s}=this,o=function T(n,e,t){if(n){if(n instanceof E)return n;if(n[g])return n[g]()}return n||e||t?new E(n,e,t):new E(G)}(t,r,i);if(o.add(s?s.call(o,this.source):this.source||oe.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),oe.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(t){try{return this._subscribe(t)}catch(r){oe.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=r),function N(n){for(;n;){const{closed:e,destination:t,isStopped:r}=n;if(e||r)return!1;n=t&&t instanceof E?t:null}return!0}(t)?t.error(r):console.warn(r)}}forEach(t,r){return new(r=pe(r))((i,s)=>{let o;o=this.subscribe(l=>{try{t(l)}catch(c){s(c),o&&o.unsubscribe()}},s,i)})}_subscribe(t){const{source:r}=this;return r&&r.subscribe(t)}[z](){return this}pipe(...t){return 0===t.length?this:function re(n){return 0===n.length?X:1===n.length?n[0]:function(t){return n.reduce((r,i)=>i(r),t)}}(t)(this)}toPromise(t){return new(t=pe(t))((r,i)=>{let s;this.subscribe(o=>s=o,o=>i(o),()=>r(s))})}}return n.create=e=>new n(e),n})();function pe(n){if(n||(n=oe.Promise||Promise),!n)throw new Error("no Promise impl found");return n}const Ne=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class Dt extends w{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const r=t.indexOf(this.subscriber);-1!==r&&t.splice(r,1)}}class ke extends E{constructor(e){super(e),this.destination=e}}let ye=(()=>{class n extends se{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[g](){return new ke(this)}lift(t){const r=new Se(this,this);return r.operator=t,r}next(t){if(this.closed)throw new Ne;if(!this.isStopped){const{observers:r}=this,i=r.length,s=r.slice();for(let o=0;o<i;o++)s[o].next(t)}}error(t){if(this.closed)throw new Ne;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:r}=this,i=r.length,s=r.slice();for(let o=0;o<i;o++)s[o].error(t);this.observers.length=0}complete(){if(this.closed)throw new Ne;this.isStopped=!0;const{observers:t}=this,r=t.length,i=t.slice();for(let s=0;s<r;s++)i[s].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new Ne;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new Ne;return this.hasError?(t.error(this.thrownError),w.EMPTY):this.isStopped?(t.complete(),w.EMPTY):(this.observers.push(t),new Dt(this,t))}asObservable(){const t=new se;return t.source=this,t}}return n.create=(e,t)=>new Se(e,t),n})();class Se extends ye{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):w.EMPTY}}function st(n){return n&&"function"==typeof n.schedule}function tt(n,e){return function(r){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new an(n,e))}}class an{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new Et(e,this.project,this.thisArg))}}class Et extends E{constructor(e,t,r){super(e),this.project=t,this.count=0,this.thisArg=r||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(t)}}const fn=n=>e=>{for(let t=0,r=n.length;t<r&&!e.closed;t++)e.next(n[t]);e.complete()},sr=function Ba(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),ji=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function vi(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const ra=n=>{if(n&&"function"==typeof n[z])return(n=>e=>{const t=n[z]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)})(n);if(ji(n))return fn(n);if(vi(n))return(n=>e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,U),e))(n);if(n&&"function"==typeof n[sr])return(n=>e=>{const t=n[sr]();for(;;){let r;try{r=t.next()}catch(i){return e.error(i),e}if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof t.return&&e.add(()=>{t.return&&t.return()}),e})(n);{const t=`You provided ${k(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(t)}};function ia(n,e){return new se(t=>{const r=new w;let i=0;return r.add(e.schedule(function(){i!==n.length?(t.next(n[i++]),t.closed||r.add(this.schedule())):t.complete()})),r})}function bi(n,e){return e?function jr(n,e){if(null!=n){if(function ja(n){return n&&"function"==typeof n[z]}(n))return function Ct(n,e){return new se(t=>{const r=new w;return r.add(e.schedule(()=>{const i=n[z]();r.add(i.subscribe({next(s){r.add(e.schedule(()=>t.next(s)))},error(s){r.add(e.schedule(()=>t.error(s)))},complete(){r.add(e.schedule(()=>t.complete()))}}))})),r})}(n,e);if(vi(n))return function Sr(n,e){return new se(t=>{const r=new w;return r.add(e.schedule(()=>n.then(i=>{r.add(e.schedule(()=>{t.next(i),r.add(e.schedule(()=>t.complete()))}))},i=>{r.add(e.schedule(()=>t.error(i)))}))),r})}(n,e);if(ji(n))return ia(n,e);if(function sa(n){return n&&"function"==typeof n[sr]}(n)||"string"==typeof n)return function Ha(n,e){if(!n)throw new Error("Iterable cannot be null");return new se(t=>{const r=new w;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(()=>{i=n[sr](),r.add(e.schedule(function(){if(t.closed)return;let s,o;try{const l=i.next();s=l.value,o=l.done}catch(l){return void t.error(l)}o?t.complete():(t.next(s),this.schedule())}))})),r})}(n,e)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}(n,e):n instanceof se?n:new se(ra(n))}class co extends E{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class fo extends E{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function gn(n,e){if(e.closed)return;if(n instanceof se)return n.subscribe(e);let t;try{t=ra(n)(e)}catch(r){e.error(r)}return t}function or(n,e,t=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(or((i,s)=>bi(n(i,s)).pipe(tt((o,l)=>e(i,o,s,l))),t)):("number"==typeof e&&(t=e),r=>r.lift(new ho(n,t)))}class ho{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new oa(e,this.project,this.concurrent))}}class oa extends fo{constructor(e,t,r=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const r=this.index++;try{t=this.project(e,r)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(t)}_innerSub(e){const t=new co(this),r=this.destination;r.add(t);const i=gn(e,t);i!==t&&r.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function hs(n=Number.POSITIVE_INFINITY){return or(X,n)}function Bl(n,e){return e?ia(n,e):new se(fn(n))}function ps(...n){let e=Number.POSITIVE_INFINITY,t=null,r=n[n.length-1];return st(r)?(t=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(e=n.pop())):"number"==typeof r&&(e=n.pop()),null===t&&1===n.length&&n[0]instanceof se?n[0]:hs(e)(Bl(n,t))}function ms(){return function(e){return e.lift(new Hl(e))}}class Hl{constructor(e){this.connectable=e}call(e,t){const{connectable:r}=this;r._refCount++;const i=new jl(e,r),s=t.subscribe(i);return i.closed||(i.connection=r.connect()),s}}class jl extends E{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:r}=this,i=e._connection;this.connection=null,i&&(!r||i===r)&&i.unsubscribe()}}class Ul extends se{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new w,e.add(this.source.subscribe(new Gl(this.getSubject(),this))),e.closed&&(this._connection=null,e=w.EMPTY)),e}refCount(){return ms()(this)}}const Wl=(()=>{const n=Ul.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:n._subscribe},_isComplete:{value:n._isComplete,writable:!0},getSubject:{value:n.getSubject},connect:{value:n.connect},refCount:{value:n.refCount}}})();class Gl extends ke{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}class $l{constructor(e,t){this.subjectFactory=e,this.selector=t}call(e,t){const{selector:r}=this,i=this.subjectFactory(),s=r(i).subscribe(e);return s.add(t.subscribe(i)),s}}function af(){return new ye}function oc(){return n=>ms()(function ql(n,e){return function(r){let i;if(i="function"==typeof n?n:function(){return n},"function"==typeof e)return r.lift(new $l(i,e));const s=Object.create(r,Wl);return s.source=r,s.subjectFactory=i,s}}(af)(n))}function Ft(n){for(let e in n)if(n[e]===Ft)return e;throw Error("Could not find renamed property on target object.")}function Ua(n,e){for(const t in e)e.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=e[t])}function dt(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(dt).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const e=n.toString();if(null==e)return""+e;const t=e.indexOf("\n");return-1===t?e:e.substring(0,t)}function Yl(n,e){return null==n||""===n?null===e?"":e:null==e||""===e?n:n+" "+e}const lf=Ft({__forward_ref__:Ft});function Ut(n){return n.__forward_ref__=Ut,n.toString=function(){return dt(this())},n}function Be(n){return function Kl(n){return"function"==typeof n&&n.hasOwnProperty(lf)&&n.__forward_ref__===Ut}(n)?n():n}class gs extends Error{constructor(e,t){super(function aa(n,e){return`${n?`NG0${n}: `:""}${e}`}(e,t)),this.code=e}}function rt(n){return"string"==typeof n?n:null==n?"":String(n)}function Mn(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():rt(n)}function Wa(n,e){const t=e?` in ${e}`:"";throw new gs("201",`No provider for ${Mn(n)} found${t}`)}function Fn(n,e){null==n&&function Yt(n,e,t,r){throw new Error(`ASSERTION ERROR: ${n}`+(null==r?"":` [Expected=> ${t} ${r} ${e} <=Actual]`))}(e,n,null,"!=")}function Ce(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function Nt(n){return{providers:n.providers||[],imports:n.imports||[]}}function Ei(n){return Wr(n,la)||Wr(n,Ci)}function Wr(n,e){return n.hasOwnProperty(e)?n[e]:null}function _n(n){return n&&(n.hasOwnProperty(ua)||n.hasOwnProperty(_s))?n[ua]:null}const la=Ft({\u0275prov:Ft}),ua=Ft({\u0275inj:Ft}),Ci=Ft({ngInjectableDef:Ft}),_s=Ft({ngInjectorDef:Ft});var He=(()=>((He=He||{})[He.Default=0]="Default",He[He.Host=1]="Host",He[He.Self=2]="Self",He[He.SkipSelf=4]="SkipSelf",He[He.Optional=8]="Optional",He))();let ys;function Yn(n){const e=ys;return ys=n,e}function Gi(n,e,t){const r=Ei(n);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&He.Optional?null:void 0!==e?e:void Wa(dt(n),"Injector")}function Di(n){return{toString:n}.toString()}var Bn=(()=>((Bn=Bn||{})[Bn.OnPush=0]="OnPush",Bn[Bn.Default=1]="Default",Bn))(),rn=(()=>(function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(rn||(rn={})),rn))();const dc="undefined"!=typeof globalThis&&globalThis,fc="undefined"!=typeof window&&window,pf="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,St=dc||"undefined"!=typeof global&&global||fc||pf,mo={},Vt=[],ca=Ft({\u0275cmp:Ft}),da=Ft({\u0275dir:Ft}),fa=Ft({\u0275pipe:Ft}),hc=Ft({\u0275mod:Ft}),wi=Ft({\u0275fac:Ft}),ha=Ft({__NG_ELEMENT_ID__:Ft});let Zl=0;function vs(n){return Di(()=>{const t={},r={type:n.type,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===Bn.OnPush,directiveDefs:null,pipeDefs:null,selectors:n.selectors||Vt,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||rn.Emulated,id:"c",styles:n.styles||Vt,_:null,setInput:null,schemas:n.schemas||null,tView:null},i=n.directives,s=n.features,o=n.pipes;return r.id+=Zl++,r.inputs=_c(n.inputs,t),r.outputs=_c(n.outputs),s&&s.forEach(l=>l(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(pc):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(mc):null,r})}function pc(n){return xn(n)||function zi(n){return n[da]||null}(n)}function mc(n){return function bs(n){return n[fa]||null}(n)}const gc={};function We(n){return Di(()=>{const e={type:n.type,bootstrap:n.bootstrap||Vt,declarations:n.declarations||Vt,imports:n.imports||Vt,exports:n.exports||Vt,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null};return null!=n.id&&(gc[n.id]=n.type),e})}function _c(n,e){if(null==n)return mo;const t={};for(const r in n)if(n.hasOwnProperty(r)){let i=n[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),t[i]=r,e&&(e[i]=s)}return t}const ze=vs;function Kn(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,onDestroy:n.type.prototype.ngOnDestroy||null}}function xn(n){return n[ca]||null}function ar(n,e){const t=n[hc]||null;if(!t&&!0===e)throw new Error(`Type ${dt(n)} does not have '\u0275mod' property.`);return t}function Zn(n){return Array.isArray(n)&&"object"==typeof n[1]}function dn(n){return Array.isArray(n)&&!0===n[1]}function ui(n){return 0!=(8&n.flags)}function Ds(n){return 2==(2&n.flags)}function _o(n){return 1==(1&n.flags)}function cr(n){return null!==n.template}function yo(n){return 0!=(512&n[2])}function Xn(n,e){return n.hasOwnProperty(wi)?n[wi]:null}class Co{constructor(e,t,r){this.previousValue=e,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Sc(n){return n.type.prototype.ngOnChanges&&(n.setInput=dr),Do}function Do(){const n=So(this),e=null==n?void 0:n.current;if(e){const t=n.previous;if(t===mo)n.previous=e;else for(let r in e)t[r]=e[r];n.current=null,this.ngOnChanges(e)}}function dr(n,e,t,r){const i=So(n)||function Ja(n,e){return n[wo]=e}(n,{previous:mo,current:null}),s=i.current||(i.current={}),o=i.previous,l=this.declaredInputs[t],c=o[l];s[l]=new Co(c&&c.currentValue,e,o===mo),n[r]=e}const wo="__ngSimpleChanges__";function So(n){return n[wo]||null}let ae;function Ue(n){return!!n.listen}const sn={createRenderer:(n,e)=>function Me(){return void 0!==ae?ae:"undefined"!=typeof document?document:void 0}()};function Jt(n){for(;Array.isArray(n);)n=n[0];return n}function Si(n,e){return Jt(e[n])}function hr(n,e){return Jt(e[n.index])}function Ai(n,e){return n.data[e]}function Ir(n,e){return n[e]}function lt(n,e){const t=e[n];return Zn(t)?t:t[0]}function Jl(n){return 4==(4&n[2])}function _a(n){return 128==(128&n[2])}function Ti(n,e){return null==e?null:n[e]}function eu(n){n[18]=0}function Io(n,e){n[5]+=e;let t=n,r=n[3];for(;null!==r&&(1===e&&1===t[5]||-1===e&&0===t[5]);)r[5]+=e,t=r,r=r[3]}const Ge={lFrame:Mc(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function nl(){return Ge.bindingsEnabled}function ge(){return Ge.lFrame.lView}function gt(){return Ge.lFrame.tView}function Mr(n){return Ge.lFrame.contextLView=n,n[8]}function on(){let n=nu();for(;null!==n&&64===n.type;)n=n.parent;return n}function nu(){return Ge.lFrame.currentTNode}function Gr(n,e){const t=Ge.lFrame;t.currentTNode=n,t.isParent=e}function Ms(){return Ge.lFrame.isParent}function Xi(){Ge.lFrame.isParent=!1}function ya(){return Ge.isInCheckNoChangesMode}function b(n){Ge.isInCheckNoChangesMode=n}function x(){const n=Ge.lFrame;let e=n.bindingRootIndex;return-1===e&&(e=n.bindingRootIndex=n.tView.bindingStartIndex),e}function te(){return Ge.lFrame.bindingIndex++}function ee(n){const e=Ge.lFrame,t=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,t}function De(n,e){const t=Ge.lFrame;t.bindingIndex=t.bindingRootIndex=n,we(e)}function we(n){Ge.lFrame.currentDirectiveIndex=n}function Rt(){return Ge.lFrame.currentQueryIndex}function ln(n){Ge.lFrame.currentQueryIndex=n}function pr(n){const e=n[1];return 2===e.type?e.declTNode:1===e.type?n[6]:null}function An(n,e,t){if(t&He.SkipSelf){let i=e,s=n;for(;!(i=i.parent,null!==i||t&He.Host||(i=pr(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;e=i,n=s}const r=Ge.lFrame=Ic();return r.currentTNode=e,r.lView=n,!0}function mr(n){const e=Ic(),t=n[1];Ge.lFrame=e,e.currentTNode=t.firstChild,e.lView=n,e.tView=t,e.contextLView=n,e.bindingIndex=t.bindingStartIndex,e.inI18n=!1}function Ic(){const n=Ge.lFrame,e=null===n?null:n.child;return null===e?Mc(n):e}function Mc(n){const e={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:n,child:null,inI18n:!1};return null!==n&&(n.child=e),e}function Kt(){const n=Ge.lFrame;return Ge.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const en=Kt;function tn(){const n=Kt();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function C(){return Ge.lFrame.selectedIndex}function Un(n){Ge.lFrame.selectedIndex=n}function Qt(){const n=Ge.lFrame;return Ai(n.tView,n.selectedIndex)}function xc(n,e){for(let t=e.directiveStart,r=e.directiveEnd;t<r;t++){const s=n.data[t].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:l,ngAfterViewInit:c,ngAfterViewChecked:f,ngOnDestroy:h}=s;o&&(n.contentHooks||(n.contentHooks=[])).push(-t,o),l&&((n.contentHooks||(n.contentHooks=[])).push(t,l),(n.contentCheckHooks||(n.contentCheckHooks=[])).push(t,l)),c&&(n.viewHooks||(n.viewHooks=[])).push(-t,c),f&&((n.viewHooks||(n.viewHooks=[])).push(t,f),(n.viewCheckHooks||(n.viewCheckHooks=[])).push(t,f)),null!=h&&(n.destroyHooks||(n.destroyHooks=[])).push(t,h)}}function Oc(n,e,t){nm(n,e,3,t)}function Rc(n,e,t,r){(3&n[2])===t&&nm(n,e,t,r)}function Ef(n,e){let t=n[2];(3&t)===e&&(t&=2047,t+=1,n[2]=t)}function nm(n,e,t,r){const s=null!=r?r:-1,o=e.length-1;let l=0;for(let c=void 0!==r?65535&n[18]:0;c<o;c++)if("number"==typeof e[c+1]){if(l=e[c],null!=r&&l>=r)break}else e[c]<0&&(n[18]+=65536),(l<s||-1==s)&&(Os(n,t,e,c),n[18]=(4294901760&n[18])+c+2),c++}function Os(n,e,t,r){const i=t[r]<0,s=t[r+1],l=n[i?-t[r]:t[r]];if(i){if(n[2]>>11<n[18]>>16&&(3&n[2])===e){n[2]+=2048;try{s.call(l)}finally{}}}else try{s.call(l)}finally{}}class iu{constructor(e,t,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Pc(n,e,t){const r=Ue(n);let i=0;for(;i<t.length;){const s=t[i];if("number"==typeof s){if(0!==s)break;i++;const o=t[i++],l=t[i++],c=t[i++];r?n.setAttribute(e,l,c,o):e.setAttributeNS(o,l,c)}else{const o=s,l=t[++i];Cf(o)?r&&n.setProperty(e,o,l):r?n.setAttribute(e,o,l):e.setAttribute(o,l),i++}}return i}function Ro(n){return 3===n||4===n||6===n}function Cf(n){return 64===n.charCodeAt(0)}function Fc(n,e){if(null!==e&&0!==e.length)if(null===n||0===n.length)n=e.slice();else{let t=-1;for(let r=0;r<e.length;r++){const i=e[r];"number"==typeof i?t=i:0===t||di(n,t,i,null,-1===t||2===t?e[++r]:null)}}return n}function di(n,e,t,r,i){let s=0,o=n.length;if(-1===e)o=-1;else for(;s<n.length;){const l=n[s++];if("number"==typeof l){if(l===e){o=-1;break}if(l>e){o=s-1;break}}}for(;s<n.length;){const l=n[s];if("number"==typeof l)break;if(l===t){if(null===r)return void(null!==i&&(n[s+1]=i));if(r===n[s+1])return void(n[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==o&&(n.splice(o,0,e),s=o+1),n.splice(s++,0,t),null!==r&&n.splice(s++,0,r),null!==i&&n.splice(s++,0,i)}function rm(n){return-1!==n}function il(n){return 32767&n}function sl(n,e){let t=function iv(n){return n>>16}(n),r=e;for(;t>0;)r=r[15],t--;return r}let Df=!0;function ou(n){const e=Df;return Df=n,e}let wf=0;function Po(n,e){const t=Nc(n,e);if(-1!==t)return t;const r=e[1];r.firstCreatePass&&(n.injectorIndex=e.length,Sf(r.data,n),Sf(e,null),Sf(r.blueprint,null));const i=kc(n,e),s=n.injectorIndex;if(rm(i)){const o=il(i),l=sl(i,e),c=l[1].data;for(let f=0;f<8;f++)e[s+f]=l[o+f]|c[o+f]}return e[s+8]=i,s}function Sf(n,e){n.push(0,0,0,0,0,0,0,0,e)}function Nc(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===e[n.injectorIndex+8]?-1:n.injectorIndex}function kc(n,e){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let t=0,r=null,i=e;for(;null!==i;){const s=i[1],o=s.type;if(r=2===o?s.declTNode:1===o?i[6]:null,null===r)return-1;if(t++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return-1}function fi(n,e,t){!function au(n,e,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(ha)&&(r=t[ha]),null==r&&(r=t[ha]=wf++);const i=255&r;e.data[n+(i>>5)]|=1<<i}(n,e,t)}function Fo(n,e,t){if(t&He.Optional)return n;Wa(e,"NodeInjector")}function zr(n,e,t,r){if(t&He.Optional&&void 0===r&&(r=null),0==(t&(He.Self|He.Host))){const i=n[9],s=Yn(void 0);try{return i?i.get(e,r,t&He.Optional):Gi(e,r,t&He.Optional)}finally{Yn(s)}}return Fo(r,e,t)}function om(n,e,t,r=He.Default,i){if(null!==n){const s=function ov(n){if("string"==typeof n)return n.charCodeAt(0)||0;const e=n.hasOwnProperty(ha)?n[ha]:void 0;return"number"==typeof e?e>=0?255&e:am:e}(t);if("function"==typeof s){if(!An(e,n,r))return r&He.Host?Fo(i,t,r):zr(e,t,r,i);try{const o=s(r);if(null!=o||r&He.Optional)return o;Wa(t)}finally{en()}}else if("number"==typeof s){let o=null,l=Nc(n,e),c=-1,f=r&He.Host?e[16][6]:null;for((-1===l||r&He.SkipSelf)&&(c=-1===l?kc(n,e):e[l+8],-1!==c&&lm(r,!1)?(o=e[1],l=il(c),e=sl(c,e)):l=-1);-1!==l;){const h=e[1];if(uu(s,l,h.data)){const m=lu(l,e,t,o,r,f);if(m!==Tf)return m}c=e[l+8],-1!==c&&lm(r,e[1].data[l+8]===f)&&uu(s,l,e)?(o=h,l=il(c),e=sl(c,e)):l=-1}}}return zr(e,t,r,i)}const Tf={};function am(){return new ba(on(),ge())}function lu(n,e,t,r,i,s){const o=e[1],l=o.data[n+8],h=Mi(l,o,t,null==r?Ds(l)&&Df:r!=o&&0!=(3&l.type),i&He.Host&&s===l);return null!==h?ol(e,o,h,l):Tf}function Mi(n,e,t,r,i){const s=n.providerIndexes,o=e.data,l=1048575&s,c=n.directiveStart,h=s>>20,y=i?l+h:n.directiveEnd;for(let D=r?l:l+h;D<y;D++){const O=o[D];if(D<c&&t===O||D>=c&&O.type===t)return D}if(i){const D=o[c];if(D&&cr(D)&&D.type===t)return c}return null}function ol(n,e,t,r){let i=n[t];const s=e.data;if(function ev(n){return n instanceof iu}(i)){const o=i;o.resolving&&function uf(n,e){const t=e?`. Dependency path: ${e.join(" > ")} > ${n}`:"";throw new gs("200",`Circular dependency in DI detected for ${n}${t}`)}(Mn(s[t]));const l=ou(o.canSeeViewProviders);o.resolving=!0;const c=o.injectImpl?Yn(o.injectImpl):null;An(n,r,He.Default);try{i=n[t]=o.factory(void 0,s,n,r),e.firstCreatePass&&t>=r.directiveStart&&function va(n,e,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=e.type.prototype;if(r){const o=Sc(e);(t.preOrderHooks||(t.preOrderHooks=[])).push(n,o),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,o)}i&&(t.preOrderHooks||(t.preOrderHooks=[])).push(0-n,i),s&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n,s),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,s))}(t,s[t],e)}finally{null!==c&&Yn(c),ou(l),o.resolving=!1,en()}}return i}function uu(n,e,t){return!!(t[e+(n>>5)]&1<<n)}function lm(n,e){return!(n&He.Self||n&He.Host&&e)}class ba{constructor(e,t){this._tNode=e,this._lView=t}get(e,t,r){return om(this._tNode,this._lView,e,r,t)}}const No="__parameters__";function vn(n,e,t){return Di(()=>{const r=function Lc(n){return function(...t){if(n){const r=n(...t);for(const i in r)this[i]=r[i]}}}(e);function i(...s){if(this instanceof i)return r.apply(this,s),this;const o=new i(...s);return l.annotation=o,l;function l(c,f,h){const m=c.hasOwnProperty(No)?c[No]:Object.defineProperty(c,No,{value:[]})[No];for(;m.length<=h;)m.push(null);return(m[h]=m[h]||[]).push(o),c}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=n,i.annotationCls=i,i})}class Le{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=Ce({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}function hi(n,e){void 0===e&&(e=n);for(let t=0;t<n.length;t++){let r=n[t];Array.isArray(r)?(e===n&&(e=n.slice(0,t)),hi(r,e)):e!==n&&e.push(r)}return e}function pi(n,e){n.forEach(t=>Array.isArray(t)?pi(t,e):e(t))}function hu(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function Lo(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function Ps(n,e){const t=[];for(let r=0;r<n;r++)t.push(e);return t}function qr(n,e,t){let r=Ca(n,e);return r>=0?n[1|r]=t:(r=~r,function cm(n,e,t,r){let i=n.length;if(i==e)n.push(t,r);else if(1===i)n.push(r,n[0]),n[0]=t;else{for(i--,n.push(n[i-1],n[i]);i>e;)n[i]=n[i-2],i--;n[e]=t,n[e+1]=r}}(n,r,e,t)),r}function mu(n,e){const t=Ca(n,e);if(t>=0)return n[1|t]}function Ca(n,e){return function fm(n,e,t){let r=0,i=n.length>>t;for(;i!==r;){const s=r+(i-r>>1),o=n[s<<t];if(e===o)return s<<t;o>e?i=s:r=s+1}return~(i<<t)}(n,e,1)}const _u={},ll="__NG_DI_FLAG__",Vo="ngTempTokenPath",pm=/\n/gm,Ji="__source",yu=Ft({provide:String,useValue:Ft});let ul;function Fs(n){const e=ul;return ul=n,e}function mm(n,e=He.Default){if(void 0===ul)throw new Error("inject() must be called from an injection context");return null===ul?Gi(n,void 0,e):ul.get(n,e&He.Optional?null:void 0,e)}function le(n,e=He.Default){return(function lc(){return ys}()||mm)(Be(n),e)}const vu=le;function Ns(n){const e=[];for(let t=0;t<n.length;t++){const r=Be(n[t]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let i,s=He.Default;for(let o=0;o<r.length;o++){const l=r[o],c=mv(l);"number"==typeof c?-1===c?i=l.token:s|=c:i=l}e.push(le(i,s))}else e.push(le(r))}return e}function mi(n,e){return n[ll]=e,n.prototype[ll]=e,n}function mv(n){return n[ll]}function ks(n,e,t,r){const i=n[Vo];throw e[Ji]&&i.unshift(e[Ji]),n.message=function Nf(n,e,t,r=null){n=n&&"\n"===n.charAt(0)&&"\u0275"==n.charAt(1)?n.substr(2):n;let i=dt(e);if(Array.isArray(e))i=e.map(dt).join(" -> ");else if("object"==typeof e){let s=[];for(let o in e)if(e.hasOwnProperty(o)){let l=e[o];s.push(o+":"+("string"==typeof l?JSON.stringify(l):dt(l)))}i=`{${s.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${n.replace(pm,"\n ")}`}("\n"+n.message,i,t,r),n.ngTokenPath=i,n[Vo]=null,n}const cl=mi(vn("Inject",n=>({token:n})),-1),yr=mi(vn("Optional"),8),Bo=mi(vn("SkipSelf"),4);let Ho;function wa(n){var e;return(null===(e=function Bf(){if(void 0===Ho&&(Ho=null,St.trustedTypes))try{Ho=St.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch(n){}return Ho}())||void 0===e?void 0:e.createHTML(n))||n}class es{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Em extends es{getTypeName(){return"HTML"}}class jf extends es{getTypeName(){return"Style"}}class Ev extends es{getTypeName(){return"Script"}}class Cm extends es{getTypeName(){return"URL"}}class Ls extends es{getTypeName(){return"ResourceURL"}}function Rr(n){return n instanceof es?n.changingThisBreaksApplicationSecurity:n}function Oi(n,e){const t=Dm(n);if(null!=t&&t!==e){if("ResourceURL"===t&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${t} (see https://g.co/ng/security#xss)`)}return t===e}function Dm(n){return n instanceof es&&n.getTypeName()||null}class Wf{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(wa(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(t){return null}}}class qc{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const r=this.inertDocument.createElement("body");t.appendChild(r)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=wa(e),t;const r=this.inertDocument.createElement("body");return r.innerHTML=wa(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(e){const t=e.attributes;for(let i=t.length-1;0<i;i--){const o=t.item(i).name;("xmlns:ns1"===o||0===o.indexOf("ns1:"))&&e.removeAttribute(o)}let r=e.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const qe=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,zf=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Ri(n){return(n=String(n)).match(qe)||n.match(zf)?n:"unsafe:"+n}function Sm(n){return(n=String(n)).split(",").map(e=>Ri(e.trim())).join(", ")}function gi(n){const e={};for(const t of n.split(","))e[t]=!0;return e}function hl(...n){const e={};for(const t of n)for(const r in t)t.hasOwnProperty(r)&&(e[r]=!0);return e}const Wn=gi("area,br,col,hr,img,wbr"),Am=gi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Tm=gi("rp,rt"),qf=hl(Wn,hl(Am,gi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),hl(Tm,gi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),hl(Tm,Am)),$f=gi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Yf=gi("srcset"),$c=hl($f,Yf,gi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),gi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Av=gi("script,style,template");class Kf{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,r=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=this.checkClobberedElement(t,t.nextSibling);if(i){t=i;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!qf.hasOwnProperty(t))return this.sanitizedSomething=!0,!Av.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const r=e.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),o=s.name,l=o.toLowerCase();if(!$c.hasOwnProperty(l)){this.sanitizedSomething=!0;continue}let c=s.value;$f[l]&&(c=Ri(c)),Yf[l]&&(c=Sm(c)),this.buf.push(" ",o,'="',pl(c),'"')}return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();qf.hasOwnProperty(t)&&!Wn.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(pl(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const Tv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Iv=/([^\#-~ |!])/g;function pl(n){return n.replace(/&/g,"&amp;").replace(Tv,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Iv,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Du;function Qf(n,e){let t=null;try{Du=Du||function zc(n){const e=new qc(n);return function fl(){try{return!!(new window.DOMParser).parseFromString(wa(""),"text/html")}catch(n){return!1}}()?new Wf(e):e}(n);let r=e?String(e):"";t=Du.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=t.innerHTML,t=Du.getInertBodyElement(r)}while(r!==s);return wa((new Kf).sanitizeChildren(Zf(t)||t))}finally{if(t){const r=Zf(t)||t;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Zf(n){return"content"in n&&function Mv(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Pt=(()=>((Pt=Pt||{})[Pt.NONE=0]="NONE",Pt[Pt.HTML=1]="HTML",Pt[Pt.STYLE=2]="STYLE",Pt[Pt.SCRIPT=3]="SCRIPT",Pt[Pt.URL=4]="URL",Pt[Pt.RESOURCE_URL=5]="RESOURCE_URL",Pt))();const nh="__ngContext__";function er(n,e){n[nh]=e}function rh(n){const e=function Su(n){return n[nh]||null}(n);return e?Array.isArray(e)?e:e.lView:null}function Yc(n){return n.ngOriginalError}function Hv(n,...e){n.error(...e)}class ts{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),r=this._findContext(e),i=function Bv(n){return n&&n.ngErrorLogger||Hv}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t),r&&i(this._console,"ERROR CONTEXT",r)}_findContext(e){return e?function Bm(n){return n.ngDebugContext}(e)||this._findContext(Yc(e)):null}_findOriginalError(e){let t=e&&Yc(e);for(;t&&Yc(t);)t=Yc(t);return t||null}}const Kc=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(St))();function ns(n){return n instanceof Function?n():n}var Yr=(()=>((Yr=Yr||{})[Yr.Important=1]="Important",Yr[Yr.DashCase=2]="DashCase",Yr))();function ah(n,e){return undefined(n,e)}function Tu(n){const e=n[3];return dn(e)?e[3]:e}function lh(n){return qm(n[13])}function uh(n){return qm(n[4])}function qm(n){for(;null!==n&&!dn(n);)n=n[4];return n}function Aa(n,e,t,r,i){if(null!=r){let s,o=!1;dn(r)?s=r:Zn(r)&&(o=!0,r=r[0]);const l=Jt(r);0===n&&null!==t?null==i?Jm(e,t,l):Ta(e,t,l,i||null,!0):1===n&&null!==t?Ta(e,t,l,i||null,!0):2===n?function Mu(n,e,t){const r=Qc(n,e);r&&function sb(n,e,t,r){Ue(n)?n.removeChild(e,t,r):e.removeChild(t)}(n,r,e,t)}(e,l,o):3===n&&e.destroyNode(l),null!=s&&function lb(n,e,t,r,i){const s=t[7];s!==Jt(t)&&Aa(e,n,r,s,i);for(let l=10;l<t.length;l++){const c=t[l];xu(c[1],c,n,e,r,s)}}(e,n,s,t,i)}}function dh(n,e,t){return Ue(n)?n.createElement(e,t):null===t?n.createElement(e):n.createElementNS(t,e)}function Iu(n,e){const t=n[9],r=t.indexOf(e),i=e[3];1024&e[2]&&(e[2]&=-1025,Io(i,-1)),t.splice(r,1)}function fh(n,e){if(n.length<=10)return;const t=10+e,r=n[t];if(r){const i=r[17];null!==i&&i!==n&&Iu(i,r),e>0&&(n[t-1][4]=r[4]);const s=Lo(n,10+e);!function Xv(n,e){xu(n,e,e[11],2,null,null),e[0]=null,e[6]=null}(r[1],r);const o=s[19];null!==o&&o.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Qm(n,e){if(!(256&e[2])){const t=e[11];Ue(t)&&t.destroyNode&&xu(n,e,t,3,null,null),function tb(n){let e=n[13];if(!e)return hh(n[1],n);for(;e;){let t=null;if(Zn(e))t=e[13];else{const r=e[10];r&&(t=r)}if(!t){for(;e&&!e[4]&&e!==n;)Zn(e)&&hh(e[1],e),e=e[3];null===e&&(e=n),Zn(e)&&hh(e[1],e),t=e&&e[4]}e=t}}(e)}}function hh(n,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function ib(n,e){let t;if(null!=n&&null!=(t=n.destroyHooks))for(let r=0;r<t.length;r+=2){const i=e[t[r]];if(!(i instanceof iu)){const s=t[r+1];if(Array.isArray(s))for(let o=0;o<s.length;o+=2){const l=i[s[o]],c=s[o+1];try{c.call(l)}finally{}}else try{s.call(i)}finally{}}}}(n,e),function rb(n,e){const t=n.cleanup,r=e[7];let i=-1;if(null!==t)for(let s=0;s<t.length-1;s+=2)if("string"==typeof t[s]){const o=t[s+1],l="function"==typeof o?o(e):Jt(e[o]),c=r[i=t[s+2]],f=t[s+3];"boolean"==typeof f?l.removeEventListener(t[s],c,f):f>=0?r[i=f]():r[i=-f].unsubscribe(),s+=2}else{const o=r[i=t[s+1]];t[s].call(o)}if(null!==r){for(let s=i+1;s<r.length;s++)r[s]();e[7]=null}}(n,e),1===e[1].type&&Ue(e[11])&&e[11].destroy();const t=e[17];if(null!==t&&dn(e[3])){t!==e[3]&&Iu(t,e);const r=e[19];null!==r&&r.detachView(n)}}}function Zm(n,e,t){return function Xm(n,e,t){let r=e;for(;null!==r&&40&r.type;)r=(e=r).parent;if(null===r)return t[0];if(2&r.flags){const i=n.data[r.directiveStart].encapsulation;if(i===rn.None||i===rn.Emulated)return null}return hr(r,t)}(n,e.parent,t)}function Ta(n,e,t,r,i){Ue(n)?n.insertBefore(e,t,r,i):e.insertBefore(t,r,i)}function Jm(n,e,t){Ue(n)?n.appendChild(e,t):e.appendChild(t)}function eg(n,e,t,r,i){null!==r?Ta(n,e,t,r,i):Jm(n,e,t)}function Qc(n,e){return Ue(n)?n.parentNode(e):e.parentNode}function tg(n,e,t){return rg(n,e,t)}let rg=function ng(n,e,t){return 40&n.type?hr(n,t):null};function Xc(n,e,t,r){const i=Zm(n,r,e),s=e[11],l=tg(r.parent||e[6],r,e);if(null!=i)if(Array.isArray(t))for(let c=0;c<t.length;c++)eg(s,i,t[c],l,!1);else eg(s,i,t,l,!1)}function Jc(n,e){if(null!==e){const t=e.type;if(3&t)return hr(e,n);if(4&t)return mh(-1,n[e.index]);if(8&t){const r=e.child;if(null!==r)return Jc(n,r);{const i=n[e.index];return dn(i)?mh(-1,i):Jt(i)}}if(32&t)return ah(e,n)()||Jt(n[e.index]);{const r=ig(n,e);return null!==r?Array.isArray(r)?r[0]:Jc(Tu(n[16]),r):Jc(n,e.next)}}return null}function ig(n,e){return null!==e?n[16][6].projection[e.projection]:null}function mh(n,e){const t=10+n+1;if(t<e.length){const r=e[t],i=r[1].firstChild;if(null!==i)return Jc(r,i)}return e[7]}function gh(n,e,t,r,i,s,o){for(;null!=t;){const l=r[t.index],c=t.type;if(o&&0===e&&(l&&er(Jt(l),r),t.flags|=4),64!=(64&t.flags))if(8&c)gh(n,e,t.child,r,i,s,!1),Aa(e,n,i,l,s);else if(32&c){const f=ah(t,r);let h;for(;h=f();)Aa(e,n,i,h,s);Aa(e,n,i,l,s)}else 16&c?sg(n,e,r,t,i,s):Aa(e,n,i,l,s);t=o?t.projectionNext:t.next}}function xu(n,e,t,r,i,s){gh(t,r,n.firstChild,e,i,s,!1)}function sg(n,e,t,r,i,s){const o=t[16],c=o[6].projection[r.projection];if(Array.isArray(c))for(let f=0;f<c.length;f++)Aa(e,n,i,c[f],s);else gh(n,e,c,o[3],i,s,!0)}function og(n,e,t){Ue(n)?n.setAttribute(e,"style",t):e.style.cssText=t}function _h(n,e,t){Ue(n)?""===t?n.removeAttribute(e,"class"):n.setAttribute(e,"class",t):e.className=t}function ag(n,e,t){let r=n.length;for(;;){const i=n.indexOf(e,t);if(-1===i)return i;if(0===i||n.charCodeAt(i-1)<=32){const s=e.length;if(i+s===r||n.charCodeAt(i+s)<=32)return i}t=i+1}}const lg="ng-template";function ed(n,e,t){let r=0;for(;r<n.length;){let i=n[r++];if(t&&"class"===i){if(i=n[r],-1!==ag(i.toLowerCase(),e,0))return!0}else if(1===i){for(;r<n.length&&"string"==typeof(i=n[r++]);)if(i.toLowerCase()===e)return!0;return!1}}return!1}function ug(n){return 4===n.type&&n.value!==lg}function cg(n,e,t){return e===(4!==n.type||t?n.value:lg)}function dg(n,e,t){let r=4;const i=n.attrs||[],s=function pg(n){for(let e=0;e<n.length;e++)if(Ro(n[e]))return e;return n.length}(i);let o=!1;for(let l=0;l<e.length;l++){const c=e[l];if("number"!=typeof c){if(!o)if(4&r){if(r=2|1&r,""!==c&&!cg(n,c,t)||""===c&&1===e.length){if(Kr(r))return!1;o=!0}}else{const f=8&r?c:e[++l];if(8&r&&null!==n.attrs){if(!ed(n.attrs,f,t)){if(Kr(r))return!1;o=!0}continue}const m=fg(8&r?"class":c,i,ug(n),t);if(-1===m){if(Kr(r))return!1;o=!0;continue}if(""!==f){let y;y=m>s?"":i[m+1].toLowerCase();const D=8&r?y:null;if(D&&-1!==ag(D,f,0)||2&r&&f!==y){if(Kr(r))return!1;o=!0}}}}else{if(!o&&!Kr(r)&&!Kr(c))return!1;if(o&&Kr(c))continue;o=!1,r=c|1&r}}return Kr(r)||o}function Kr(n){return 0==(1&n)}function fg(n,e,t,r){if(null===e)return-1;let i=0;if(r||!t){let s=!1;for(;i<e.length;){const o=e[i];if(o===n)return i;if(3===o||6===o)s=!0;else{if(1===o||2===o){let l=e[++i];for(;"string"==typeof l;)l=e[++i];continue}if(4===o)break;if(0===o){i+=4;continue}}i+=s?1:2}return-1}return function cb(n,e){let t=n.indexOf(4);if(t>-1)for(t++;t<n.length;){const r=n[t];if("number"==typeof r)return-1;if(r===e)return t;t++}return-1}(e,n)}function yh(n,e,t=!1){for(let r=0;r<e.length;r++)if(dg(n,e[r],t))return!0;return!1}function db(n,e){e:for(let t=0;t<e.length;t++){const r=e[t];if(n.length===r.length){for(let i=0;i<n.length;i++)if(n[i]!==r[i])continue e;return!0}}return!1}function mg(n,e){return n?":not("+e.trim()+")":e}function td(n){let e=n[0],t=1,r=2,i="",s=!1;for(;t<n.length;){let o=n[t];if("string"==typeof o)if(2&r){const l=n[++t];i+="["+o+(l.length>0?'="'+l+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""!==i&&!Kr(o)&&(e+=mg(s,i),i=""),r=o,s=s||!Kr(r);t++}return""!==i&&(e+=mg(s,i)),e}const ut={};function Qr(n){vh(gt(),ge(),C()+n,ya())}function vh(n,e,t,r){if(!r)if(3==(3&e[2])){const s=n.preOrderCheckHooks;null!==s&&Oc(e,s,t)}else{const s=n.preOrderHooks;null!==s&&Rc(e,s,0,t)}Un(t)}function rd(n,e){return n<<17|e<<2}function Pi(n){return n>>17&32767}function bh(n){return 2|n}function Hs(n){return(131068&n)>>2}function Eh(n,e){return-131069&n|e<<2}function Ch(n){return 1|n}function Th(n,e){const t=n.contentQueries;if(null!==t)for(let r=0;r<t.length;r+=2){const i=t[r],s=t[r+1];if(-1!==s){const o=n.data[s];ln(i),o.contentQueries(2,e[s],s)}}}function yl(n,e,t,r,i,s,o,l,c,f){const h=e.blueprint.slice();return h[0]=i,h[2]=140|r,eu(h),h[3]=h[15]=n,h[8]=t,h[10]=o||n&&n[10],h[11]=l||n&&n[11],h[12]=c||n&&n[12]||null,h[9]=f||n&&n[9]||null,h[6]=s,h[16]=2==e.type?n[16]:h,h}function Gn(n,e,t,r,i){let s=n.data[e];if(null===s)s=function ud(n,e,t,r,i){const s=nu(),o=Ms(),c=n.data[e]=function Eb(n,e,t,r,i,s){return{type:t,index:r,insertBeforeIndex:null,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?s:s&&s.parent,t,e,r,i);return null===n.firstChild&&(n.firstChild=c),null!==s&&(o?null==s.child&&null!==c.parent&&(s.child=c):null===s.next&&(s.next=c)),c}(n,e,t,r,i),function ce(){return Ge.lFrame.inI18n}()&&(s.flags|=64);else if(64&s.type){s.type=t,s.value=r,s.attrs=i;const o=function xo(){const n=Ge.lFrame,e=n.currentTNode;return n.isParent?e:e.parent}();s.injectorIndex=null===o?-1:o.injectorIndex}return Gr(s,!0),s}function vl(n,e,t,r){if(0===t)return-1;const i=e.length;for(let s=0;s<t;s++)e.push(r),n.blueprint.push(r),n.data.push(null);return i}function xt(n,e,t){mr(e);try{const r=n.viewQuery;null!==r&&Bh(1,r,t);const i=n.template;null!==i&&Ru(n,e,i,1,t),n.firstCreatePass&&(n.firstCreatePass=!1),n.staticContentQueries&&Th(n,e),n.staticViewQueries&&Bh(2,n.viewQuery,t);const s=n.components;null!==s&&function mt(n,e){for(let t=0;t<e.length;t++)Lg(n,e[t])}(e,s)}catch(r){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),r}finally{e[2]&=-5,tn()}}function bl(n,e,t,r){const i=e[2];if(256==(256&i))return;mr(e);const s=ya();try{eu(e),function j(n){return Ge.lFrame.bindingIndex=n}(n.bindingStartIndex),null!==t&&Ru(n,e,t,2,r);const o=3==(3&i);if(!s)if(o){const f=n.preOrderCheckHooks;null!==f&&Oc(e,f,null)}else{const f=n.preOrderHooks;null!==f&&Rc(e,f,0,null),Ef(e,0)}if(function Rb(n){for(let e=lh(n);null!==e;e=uh(e)){if(!e[2])continue;const t=e[9];for(let r=0;r<t.length;r++){const i=t[r],s=i[3];0==(1024&i[2])&&Io(s,1),i[2]|=1024}}}(e),function Ob(n){for(let e=lh(n);null!==e;e=uh(e))for(let t=10;t<e.length;t++){const r=e[t],i=r[1];_a(r)&&bl(i,r,i.template,r[8])}}(e),null!==n.contentQueries&&Th(n,e),!s)if(o){const f=n.contentCheckHooks;null!==f&&Oc(e,f)}else{const f=n.contentHooks;null!==f&&Rc(e,f,1),Ef(e,1)}!function vb(n,e){const t=n.hostBindingOpCodes;if(null!==t)try{for(let r=0;r<t.length;r++){const i=t[r];if(i<0)Un(~i);else{const s=i,o=t[++r],l=t[++r];De(o,s),l(2,e[s])}}}finally{Un(-1)}}(n,e);const l=n.components;null!==l&&function Gs(n,e){for(let t=0;t<e.length;t++)Pb(n,e[t])}(e,l);const c=n.viewQuery;if(null!==c&&Bh(2,c,r),!s)if(o){const f=n.viewCheckHooks;null!==f&&Oc(e,f)}else{const f=n.viewHooks;null!==f&&Rc(e,f,2),Ef(e,2)}!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),s||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,Io(e[3],-1))}finally{tn()}}function wg(n,e,t,r){const i=e[10],s=!ya(),o=Jl(e);try{s&&!o&&i.begin&&i.begin(),o&&xt(n,e,r),bl(n,e,t,r)}finally{s&&!o&&i.end&&i.end()}}function Ru(n,e,t,r,i){const s=C(),o=2&r;try{Un(-1),o&&e.length>20&&vh(n,e,20,ya()),t(r,i)}finally{Un(s)}}function Ih(n,e,t){!nl()||(function Sb(n,e,t,r){const i=t.directiveStart,s=t.directiveEnd;n.firstCreatePass||Po(t,e),er(r,e);const o=t.initialInputs;for(let l=i;l<s;l++){const c=n.data[l],f=cr(c);f&&Mb(e,t,c);const h=ol(e,n,l,t);er(h,e),null!==o&&xb(0,l-i,h,c,0,o),f&&(lt(t.index,e)[8]=h)}}(n,e,t,hr(t,e)),128==(128&t.flags)&&function Ab(n,e,t){const r=t.directiveStart,i=t.directiveEnd,o=t.index,l=function Fe(){return Ge.lFrame.currentDirectiveIndex}();try{Un(o);for(let c=r;c<i;c++){const f=n.data[c],h=e[c];we(c),(null!==f.hostBindings||0!==f.hostVars||null!==f.hostAttrs)&&Pg(f,h)}}finally{Un(-1),we(l)}}(n,e,t))}function Mh(n,e,t=hr){const r=e.localNames;if(null!==r){let i=e.index+1;for(let s=0;s<r.length;s+=2){const o=r[s+1],l=-1===o?t(e,n):n[o];n[i++]=l}}}function Ag(n){const e=n.tView;return null===e||e.incompleteFirstPass?n.tView=cd(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts):e}function cd(n,e,t,r,i,s,o,l,c,f){const h=20+r,m=h+i,y=function bb(n,e){const t=[];for(let r=0;r<e;r++)t.push(r<n?null:ut);return t}(h,m),D="function"==typeof f?f():f;return y[1]={type:n,blueprint:y,template:t,queries:null,viewQuery:l,declTNode:e,data:y.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:m,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:c,consts:D,incompleteFirstPass:!1}}function Mg(n,e,t,r){const i=Bg(e);null===t?i.push(r):(i.push(t),n.firstCreatePass&&Hg(n).push(r,i.length-1))}function xg(n,e,t){for(let r in n)if(n.hasOwnProperty(r)){const i=n[r];(t=null===t?{}:t).hasOwnProperty(r)?t[r].push(e,i):t[r]=[e,i]}return t}function Xr(n,e,t,r,i,s,o,l){const c=hr(e,t);let h,f=e.inputs;!l&&null!=f&&(h=f[r])?(Wg(n,t,h,r,i),Ds(e)&&function Oh(n,e){const t=lt(e,n);16&t[2]||(t[2]|=64)}(t,e.index)):3&e.type&&(r=function xh(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(r),i=null!=o?o(i,e.value||"",r):i,Ue(s)?s.setProperty(c,r,i):Cf(r)||(c.setProperty?c.setProperty(r,i):c[r]=i))}function Rh(n,e,t,r){let i=!1;if(nl()){const s=function Fg(n,e,t){const r=n.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const o=r[s];yh(t,o.selectors,!1)&&(i||(i=[]),fi(Po(t,e),n,o.type),cr(o)?(Ng(n,t),i.unshift(o)):i.push(o))}return i}(n,e,t),o=null===r?null:{"":-1};if(null!==s){i=!0,Ph(t,n.data.length,s.length);for(let h=0;h<s.length;h++){const m=s[h];m.providersResolver&&m.providersResolver(m)}let l=!1,c=!1,f=vl(n,e,s.length,null);for(let h=0;h<s.length;h++){const m=s[h];t.mergedAttrs=Fc(t.mergedAttrs,m.hostAttrs),Fh(n,t,e,f,m),Ib(f,m,o),null!==m.contentQueries&&(t.flags|=8),(null!==m.hostBindings||null!==m.hostAttrs||0!==m.hostVars)&&(t.flags|=128);const y=m.type.prototype;!l&&(y.ngOnChanges||y.ngOnInit||y.ngDoCheck)&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t.index),l=!0),!c&&(y.ngOnChanges||y.ngDoCheck)&&((n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t.index),c=!0),f++}!function Cb(n,e){const r=e.directiveEnd,i=n.data,s=e.attrs,o=[];let l=null,c=null;for(let f=e.directiveStart;f<r;f++){const h=i[f],m=h.inputs,y=null===s||ug(e)?null:El(m,s);o.push(y),l=xg(m,f,l),c=xg(h.outputs,f,c)}null!==l&&(l.hasOwnProperty("class")&&(e.flags|=16),l.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=o,e.inputs=l,e.outputs=c}(n,t)}o&&function Tb(n,e,t){if(e){const r=n.localNames=[];for(let i=0;i<e.length;i+=2){const s=t[e[i+1]];if(null==s)throw new gs("301",`Export of name '${e[i+1]}' not found!`);r.push(e[i],s)}}}(t,r,o)}return t.mergedAttrs=Fc(t.mergedAttrs,t.attrs),i}function Og(n,e,t,r,i,s){const o=s.hostBindings;if(o){let l=n.hostBindingOpCodes;null===l&&(l=n.hostBindingOpCodes=[]);const c=~e.index;(function Rg(n){let e=n.length;for(;e>0;){const t=n[--e];if("number"==typeof t&&t<0)return t}return 0})(l)!=c&&l.push(c),l.push(r,i,o)}}function Pg(n,e){null!==n.hostBindings&&n.hostBindings(1,e)}function Ng(n,e){e.flags|=2,(n.components||(n.components=[])).push(e.index)}function Ib(n,e,t){if(t){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)t[e.exportAs[r]]=n;cr(e)&&(t[""]=n)}}function Ph(n,e,t){n.flags|=1,n.directiveStart=e,n.directiveEnd=e+t,n.providerIndexes=e}function Fh(n,e,t,r,i){n.data[r]=i;const s=i.factory||(i.factory=Xn(i.type)),o=new iu(s,cr(i),null);n.blueprint[r]=o,t[r]=o,Og(n,e,0,r,vl(n,t,i.hostVars,ut),i)}function Mb(n,e,t){const r=hr(e,n),i=Ag(t),s=n[10],o=fd(n,yl(n,i,null,t.onPush?64:16,r,e,s,s.createRenderer(r,t),null,null));n[e.index]=o}function is(n,e,t,r,i,s){const o=hr(n,e);!function Nh(n,e,t,r,i,s,o){if(null==s)Ue(n)?n.removeAttribute(e,i,t):e.removeAttribute(i);else{const l=null==o?rt(s):o(s,r||"",i);Ue(n)?n.setAttribute(e,i,l,t):t?e.setAttributeNS(t,i,l):e.setAttribute(i,l)}}(e[11],o,s,n.value,t,r,i)}function xb(n,e,t,r,i,s){const o=s[e];if(null!==o){const l=r.setInput;for(let c=0;c<o.length;){const f=o[c++],h=o[c++],m=o[c++];null!==l?r.setInput(t,m,f,h):t[h]=m}}}function El(n,e){let t=null,r=0;for(;r<e.length;){const i=e[r];if(0!==i)if(5!==i){if("number"==typeof i)break;n.hasOwnProperty(i)&&(null===t&&(t=[]),t.push(i,n[i],e[r+1])),r+=2}else r+=2;else r+=4}return t}function kg(n,e,t,r){return new Array(n,!0,!1,e,null,0,r,t,null,null)}function Pb(n,e){const t=lt(e,n);if(_a(t)){const r=t[1];80&t[2]?bl(r,t,r.template,t[8]):t[5]>0&&dd(t)}}function dd(n){for(let r=lh(n);null!==r;r=uh(r))for(let i=10;i<r.length;i++){const s=r[i];if(1024&s[2]){const o=s[1];bl(o,s,o.template,s[8])}else s[5]>0&&dd(s)}const t=n[1].components;if(null!==t)for(let r=0;r<t.length;r++){const i=lt(t[r],n);_a(i)&&i[5]>0&&dd(i)}}function Lg(n,e){const t=lt(e,n),r=t[1];(function Fb(n,e){for(let t=e.length;t<n.blueprint.length;t++)e.push(n.blueprint[t])})(r,t),xt(r,t,t[8])}function fd(n,e){return n[13]?n[14][4]=e:n[13]=e,n[14]=e,e}function kh(n){for(;n;){n[2]|=64;const e=Tu(n);if(yo(n)&&!e)return n;n=e}return null}function Vh(n,e,t){const r=e[10];r.begin&&r.begin();try{bl(n,e,n.template,t)}catch(i){throw Ug(e,i),i}finally{r.end&&r.end()}}function Vg(n){!function Lh(n){for(let e=0;e<n.components.length;e++){const t=n.components[e],r=rh(t),i=r[1];wg(i,r,i.template,t)}}(n[8])}function Bh(n,e,t){ln(0),e(n,t)}const Vb=(()=>Promise.resolve(null))();function Bg(n){return n[7]||(n[7]=[])}function Hg(n){return n.cleanup||(n.cleanup=[])}function Ug(n,e){const t=n[9],r=t?t.get(ts,null):null;r&&r.handleError(e)}function Wg(n,e,t,r,i){for(let s=0;s<t.length;){const o=t[s++],l=t[s++],c=e[o],f=n.data[o];null!==f.setInput?f.setInput(c,i,r,l):c[l]=i}}function zs(n,e,t){const r=Si(e,n);!function Ym(n,e,t){Ue(n)?n.setValue(e,t):e.textContent=t}(n[11],r,t)}function hd(n,e,t){let r=t?n.styles:null,i=t?n.classes:null,s=0;if(null!==e)for(let o=0;o<e.length;o++){const l=e[o];"number"==typeof l?s=l:1==s?i=Yl(i,l):2==s&&(r=Yl(r,l+": "+e[++o]+";"))}t?n.styles=r:n.stylesWithoutHost=r,t?n.classes=i:n.classesWithoutHost=i}const Pu=new Le("INJECTOR",-1);class Gg{get(e,t=_u){if(t===_u){const r=new Error(`NullInjectorError: No provider for ${dt(e)}!`);throw r.name="NullInjectorError",r}return t}}const Fu=new Le("Set Injector scope."),Ma={},zg={};let pd;function qg(){return void 0===pd&&(pd=new Gg),pd}function $g(n,e=null,t=null,r){return new Hh(n,t,e||qg(),r)}class Hh{constructor(e,t,r,i=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];t&&pi(t,l=>this.processProvider(l,e,t)),pi([e],l=>this.processInjectorType(l,[],s)),this.records.set(Pu,Go(void 0,this));const o=this.records.get(Fu);this.scope=null!=o?o.value:null,this.source=i||("object"==typeof e?null:dt(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=_u,r=He.Default){this.assertNotDestroyed();const i=Fs(this),s=Yn(void 0);try{if(!(r&He.SkipSelf)){let l=this.records.get(e);if(void 0===l){const c=function $b(n){return"function"==typeof n||"object"==typeof n&&n instanceof Le}(e)&&Ei(e);l=c&&this.injectableDefInScope(c)?Go(jh(e),Ma):null,this.records.set(e,l)}if(null!=l)return this.hydrate(e,l)}return(r&He.Self?qg():this.parent).get(e,t=r&He.Optional&&t===_u?null:t)}catch(o){if("NullInjectorError"===o.name){if((o[Vo]=o[Vo]||[]).unshift(dt(e)),i)throw o;return ks(o,e,"R3InjectorError",this.source)}throw o}finally{Yn(s),Fs(i)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((r,i)=>e.push(dt(i))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,r){if(!(e=Be(e)))return!1;let i=_n(e);const s=null==i&&e.ngModule||void 0,o=void 0===s?e:s,l=-1!==r.indexOf(o);if(void 0!==s&&(i=_n(s)),null==i)return!1;if(null!=i.imports&&!l){let h;r.push(o);try{pi(i.imports,m=>{this.processInjectorType(m,t,r)&&(void 0===h&&(h=[]),h.push(m))})}finally{}if(void 0!==h)for(let m=0;m<h.length;m++){const{ngModule:y,providers:D}=h[m];pi(D,O=>this.processProvider(O,y,D||Vt))}}this.injectorDefTypes.add(o);const c=Xn(o)||(()=>new o);this.records.set(o,Go(c,Ma));const f=i.providers;if(null!=f&&!l){const h=e;pi(f,m=>this.processProvider(m,h,f))}return void 0!==s&&void 0!==e.providers}processProvider(e,t,r){let i=Cl(e=Be(e))?e:Be(e&&e.provide);const s=function Wb(n,e,t){return Yg(n)?Go(void 0,n.useValue):Go(function Er(n,e,t){let r;if(Cl(n)){const i=Be(n);return Xn(i)||jh(i)}if(Yg(n))r=()=>Be(n.useValue);else if(function zb(n){return!(!n||!n.useFactory)}(n))r=()=>n.useFactory(...Ns(n.deps||[]));else if(function Gb(n){return!(!n||!n.useExisting)}(n))r=()=>le(Be(n.useExisting));else{const i=Be(n&&(n.useClass||n.provide));if(!function qb(n){return!!n.deps}(n))return Xn(i)||jh(i);r=()=>new i(...Ns(n.deps))}return r}(n),Ma)}(e);if(Cl(e)||!0!==e.multi)this.records.get(i);else{let o=this.records.get(i);o||(o=Go(void 0,Ma,!0),o.factory=()=>Ns(o.multi),this.records.set(i,o)),i=e,o.multi.push(e)}this.records.set(i,s)}hydrate(e,t){return t.value===Ma&&(t.value=zg,t.value=t.factory()),"object"==typeof t.value&&t.value&&function Wh(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(t.value)&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){if(!e.providedIn)return!1;const t=Be(e.providedIn);return"string"==typeof t?"any"===t||t===this.scope:this.injectorDefTypes.has(t)}}function jh(n){const e=Ei(n),t=null!==e?e.factory:Xn(n);if(null!==t)return t;if(n instanceof Le)throw new Error(`Token ${dt(n)} is missing a \u0275prov definition.`);if(n instanceof Function)return function Ub(n){const e=n.length;if(e>0){const r=Ps(e,"?");throw new Error(`Can't resolve all parameters for ${dt(n)}: (${r.join(", ")}).`)}const t=function qa(n){const e=n&&(n[la]||n[Ci]);if(e){const t=function Wi(n){if(n.hasOwnProperty("name"))return n.name;const e=(""+n).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(n);return console.warn(`DEPRECATED: DI is instantiating a token "${t}" 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 "${t}" class.`),e}return null}(n);return null!==t?()=>t.factory(n):()=>new n}(n);throw new Error("unreachable")}function Go(n,e,t=!1){return{factory:n,value:e,multi:t?[]:void 0}}function Yg(n){return null!==n&&"object"==typeof n&&yu in n}function Cl(n){return"function"==typeof n}const Kg=function Yb(n,e,t){return function jb(n,e=null,t=null,r){const i=$g(n,e,t,r);return i._resolveInjectorDefTypes(),i}({name:t},e,n,t)};let Ht=(()=>{class n{static create(t,r){return Array.isArray(t)?Kg(t,r,""):Kg(t.providers,t.parent,t.name||"")}}return n.THROW_IF_NOT_FOUND=_u,n.NULL=new Gg,n.\u0275prov=Ce({token:n,providedIn:"any",factory:()=>le(Pu)}),n.__NG_ELEMENT_ID__=-1,n})();function Ze(n,e){xc(rh(n)[1],on())}function Re(n){let e=function $e(n){return Object.getPrototypeOf(n.prototype).constructor}(n.type),t=!0;const r=[n];for(;e;){let i;if(cr(n))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(t){r.push(i);const o=n;o.inputs=Cr(n.inputs),o.declaredInputs=Cr(n.declaredInputs),o.outputs=Cr(n.outputs);const l=i.hostBindings;l&&Cn(n,l);const c=i.viewQuery,f=i.contentQueries;if(c&&Dr(n,c),f&&ei(n,f),Ua(n.inputs,i.inputs),Ua(n.declaredInputs,i.declaredInputs),Ua(n.outputs,i.outputs),cr(i)&&i.data.animation){const h=n.data;h.animation=(h.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let o=0;o<s.length;o++){const l=s[o];l&&l.ngInherit&&l(n),l===Re&&(t=!1)}}e=Object.getPrototypeOf(e)}!function At(n){let e=0,t=null;for(let r=n.length-1;r>=0;r--){const i=n[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Fc(i.hostAttrs,t=Fc(t,i.hostAttrs))}}(r)}function Cr(n){return n===mo?{}:n===Vt?[]:n}function Dr(n,e){const t=n.viewQuery;n.viewQuery=t?(r,i)=>{e(r,i),t(r,i)}:e}function ei(n,e){const t=n.contentQueries;n.contentQueries=t?(r,i,s)=>{e(r,i,s),t(r,i,s)}:e}function Cn(n,e){const t=n.hostBindings;n.hostBindings=t?(r,i)=>{e(r,i),t(r,i)}:e}let a_=null;function md(){if(!a_){const n=St.Symbol;if(n&&n.iterator)a_=n.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const r=e[t];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(a_=r)}}}return a_}function Yh(n){return!!rE(n)&&(Array.isArray(n)||!(n instanceof Map)&&md()in n)}function rE(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function Fr(n,e,t){return!Object.is(n[e],t)&&(n[e]=t,!0)}function Ys(n,e,t,r){const i=ge();return Fr(i,te(),e)&&(gt(),is(Qt(),i,n,e,t,r)),Ys}function _d(n,e,t,r){return Fr(n,te(),t)?e+rt(t)+r:ut}function Qh(n){return Ir(function Tc(){return Ge.lFrame.contextLView}(),20+n)}function de(n,e=He.Default){const t=ge();return null===t?le(n,e):om(on(),t,Be(n),e)}function Ks(n,e,t){const r=ge();return Fr(r,te(),e)&&Xr(gt(),Qt(),r,n,e,r[11],t,!1),Ks}function lE(n,e,t,r,i){const o=i?"class":"style";Wg(n,t,e.inputs[o],o,r)}function Ni(n,e,t,r){const i=ge(),s=gt(),o=20+n,l=i[11],c=i[o]=dh(l,e,function Jy(){return Ge.lFrame.currentNamespace}()),f=s.firstCreatePass?function uO(n,e,t,r,i,s,o){const l=e.consts,f=Gn(e,n,2,i,Ti(l,s));return Rh(e,t,f,Ti(l,o)),null!==f.attrs&&hd(f,f.attrs,!1),null!==f.mergedAttrs&&hd(f,f.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,f),f}(o,s,i,0,e,t,r):s.data[o];Gr(f,!0);const h=f.mergedAttrs;null!==h&&Pc(l,c,h);const m=f.classes;null!==m&&_h(l,c,m);const y=f.styles;null!==y&&og(l,c,y),64!=(64&f.flags)&&Xc(s,i,c,f),0===function Ts(){return Ge.lFrame.elementDepthCount}()&&er(c,i),function Mo(){Ge.lFrame.elementDepthCount++}(),_o(f)&&(Ih(s,i,f),function Sg(n,e,t){if(ui(e)){const i=e.directiveEnd;for(let s=e.directiveStart;s<i;s++){const o=n.data[s];o.contentQueries&&o.contentQueries(1,t[s],s)}}}(s,f,i)),null!==r&&Mh(i,f)}function ki(){let n=on();Ms()?Xi():(n=n.parent,Gr(n,!1));const e=n;!function Is(){Ge.lFrame.elementDepthCount--}();const t=gt();t.firstCreatePass&&(xc(t,n),ui(n)&&t.queries.elementEnd(n)),null!=e.classesWithoutHost&&function nv(n){return 0!=(16&n.flags)}(e)&&lE(t,e,ge(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function rv(n){return 0!=(32&n.flags)}(e)&&lE(t,e,ge(),e.stylesWithoutHost,!1)}function Dl(n,e,t,r){Ni(n,e,t,r),ki()}function uE(){return ge()}function c_(n){return!!n&&"function"==typeof n.then}function Dw(n){return!!n&&"function"==typeof n.subscribe}const cE=Dw;function ti(n,e,t,r){const i=ge(),s=gt(),o=on();return function Sw(n,e,t,r,i,s,o,l){const c=_o(r),h=n.firstCreatePass&&Hg(n),m=e[8],y=Bg(e);let D=!0;if(3&r.type||l){const W=hr(r,e),ue=l?l(W):W,ne=y.length,Te=l?Oe=>l(Jt(Oe[r.index])):r.index;if(Ue(t)){let Oe=null;if(!l&&c&&(Oe=function fO(n,e,t,r){const i=n.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const o=i[s];if(o===t&&i[s+1]===r){const l=e[7],c=i[s+2];return l.length>c?l[c]:null}"string"==typeof o&&(s+=2)}return null}(n,e,i,r.index)),null!==Oe)(Oe.__ngLastListenerFn__||Oe).__ngNextListenerFn__=s,Oe.__ngLastListenerFn__=s,D=!1;else{s=dE(r,e,m,s,!1);const at=t.listen(ue,i,s);y.push(s,at),h&&h.push(i,Te,ne,ne+1)}}else s=dE(r,e,m,s,!0),ue.addEventListener(i,s,o),y.push(s),h&&h.push(i,Te,ne,o)}else s=dE(r,e,m,s,!1);const O=r.outputs;let $;if(D&&null!==O&&($=O[i])){const W=$.length;if(W)for(let ue=0;ue<W;ue+=2){const $t=e[$[ue]][$[ue+1]].subscribe(s),nn=y.length;y.push(s,$t),h&&h.push(i,r.index,nn,-(nn+1))}}}(s,i,i[11],o,n,e,!!t,r),ti}function Aw(n,e,t,r){try{return!1!==t(r)}catch(i){return Ug(n,i),!1}}function dE(n,e,t,r,i){return function s(o){if(o===Function)return r;const l=2&n.flags?lt(n.index,e):e;0==(32&e[2])&&kh(l);let c=Aw(e,0,r,o),f=s.__ngNextListenerFn__;for(;f;)c=Aw(e,0,f,o)&&c,f=f.__ngNextListenerFn__;return i&&!1===c&&(o.preventDefault(),o.returnValue=!1),c}}function fE(n=1){return function gr(n){return(Ge.lFrame.contextLView=function xs(n,e){for(;n>0;)e=e[15],n--;return e}(n,Ge.lFrame.contextLView))[8]}(n)}function hO(n,e){let t=null;const r=function hg(n){const e=n.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(n);for(let i=0;i<e.length;i++){const s=e[i];if("*"!==s){if(null===r?yh(n,s,!0):db(r,s))return i}else t=i}return t}function hE(n){const e=ge()[16][6];if(!e.projection){const r=e.projection=Ps(n?n.length:1,null),i=r.slice();let s=e.child;for(;null!==s;){const o=n?hO(s,n):0;null!==o&&(i[o]?i[o].projectionNext=s:r[o]=s,i[o]=s),s=s.next}}}function pE(n,e=0,t){const r=ge(),i=gt(),s=Gn(i,20+n,16,null,t||null);null===s.projection&&(s.projection=e),Xi(),64!=(64&s.flags)&&function ab(n,e,t){sg(e[11],0,e,t,Zm(n,t,e),tg(t.parent||e[6],t,e))}(i,r,s)}function mE(n,e,t){return gE(n,"",e,"",t),mE}function gE(n,e,t,r,i){const s=ge(),o=_d(s,e,t,r);return o!==ut&&Xr(gt(),Qt(),s,n,o,s[11],i,!1),gE}function Nw(n,e,t,r,i){const s=n[t+1],o=null===e;let l=r?Pi(s):Hs(s),c=!1;for(;0!==l&&(!1===c||o);){const h=n[l+1];gO(n[l],e)&&(c=!0,n[l+1]=r?Ch(h):bh(h)),l=r?Pi(h):Hs(h)}c&&(n[t+1]=r?bh(s):Ch(s))}function gO(n,e){return null===n||null==e||(Array.isArray(n)?n[1]:n)===e||!(!Array.isArray(n)||"string"!=typeof e)&&Ca(n,e)>=0}const zn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function kw(n){return n.substring(zn.key,zn.keyEnd)}function Lw(n,e){const t=zn.textEnd;return t===e?-1:(e=zn.keyEnd=function bO(n,e,t){for(;e<t&&n.charCodeAt(e)>32;)e++;return e}(n,zn.key=e,t),Ad(n,e,t))}function Ad(n,e,t){for(;e<t&&n.charCodeAt(e)<=32;)e++;return e}function d_(n,e,t){return Qs(n,e,t,!1),d_}function xa(n,e){return Qs(n,e,null,!0),xa}function Uw(n){!function Zs(n,e,t,r){const i=gt(),s=ee(2);i.firstUpdatePass&&Gw(i,null,s,r);const o=ge();if(t!==ut&&Fr(o,s,t)){const l=i.data[C()];if(Yw(l,r)&&!Ww(i,s)){let c=r?l.classesWithoutHost:l.stylesWithoutHost;null!==c&&(t=Yl(c,t||"")),lE(i,l,o,t,r)}else!function MO(n,e,t,r,i,s,o,l){i===ut&&(i=Vt);let c=0,f=0,h=0<i.length?i[0]:null,m=0<s.length?s[0]:null;for(;null!==h||null!==m;){const y=c<i.length?i[c+1]:void 0,D=f<s.length?s[f+1]:void 0;let $,O=null;h===m?(c+=2,f+=2,y!==D&&(O=m,$=D)):null===m||null!==h&&h<m?(c+=2,O=h):(f+=2,O=m,$=D),null!==O&&qw(n,e,t,r,O,$,o,l),h=c<i.length?i[c]:null,m=f<s.length?s[f]:null}}(i,l,o,o[11],o[s+1],o[s+1]=function IO(n,e,t){if(null==t||""===t)return Vt;const r=[],i=Rr(t);if(Array.isArray(i))for(let s=0;s<i.length;s++)n(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&n(r,s,i[s]);else"string"==typeof i&&e(r,i);return r}(n,e,t),r,s)}}(qr,$o,n,!0)}function $o(n,e){for(let t=function yO(n){return function Bw(n){zn.key=0,zn.keyEnd=0,zn.value=0,zn.valueEnd=0,zn.textEnd=n.length}(n),Lw(n,Ad(n,0,zn.textEnd))}(e);t>=0;t=Lw(e,t))qr(n,kw(e),!0)}function Qs(n,e,t,r){const i=ge(),s=gt(),o=ee(2);s.firstUpdatePass&&Gw(s,n,o,r),e!==ut&&Fr(i,o,e)&&qw(s,s.data[C()],i,i[11],n,i[o+1]=function xO(n,e){return null==n||("string"==typeof e?n+=e:"object"==typeof n&&(n=dt(Rr(n)))),n}(e,t),r,o)}function Ww(n,e){return e>=n.expandoStartIndex}function Gw(n,e,t,r){const i=n.data;if(null===i[t+1]){const s=i[C()],o=Ww(n,t);Yw(s,r)&&null===e&&!o&&(e=!1),e=function wO(n,e,t,r){const i=function je(n){const e=Ge.lFrame.currentDirectiveIndex;return-1===e?null:n[e]}(n);let s=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(t=Zh(t=_E(null,n,e,t,r),e.attrs,r),s=null);else{const o=e.directiveStylingLast;if(-1===o||n[o]!==i)if(t=_E(i,n,e,t,r),null===s){let c=function SO(n,e,t){const r=t?e.classBindings:e.styleBindings;if(0!==Hs(r))return n[Pi(r)]}(n,e,r);void 0!==c&&Array.isArray(c)&&(c=_E(null,n,e,c[1],r),c=Zh(c,e.attrs,r),function AO(n,e,t,r){n[Pi(t?e.classBindings:e.styleBindings)]=r}(n,e,r,c))}else s=function TO(n,e,t){let r;const i=e.directiveEnd;for(let s=1+e.directiveStylingLast;s<i;s++)r=Zh(r,n[s].hostAttrs,t);return Zh(r,e.attrs,t)}(n,e,r)}return void 0!==s&&(r?e.residualClasses=s:e.residualStyles=s),t}(i,s,e,r),function pO(n,e,t,r,i,s){let o=s?e.classBindings:e.styleBindings,l=Pi(o),c=Hs(o);n[r]=t;let h,f=!1;if(Array.isArray(t)){const m=t;h=m[1],(null===h||Ca(m,h)>0)&&(f=!0)}else h=t;if(i)if(0!==c){const y=Pi(n[l+1]);n[r+1]=rd(y,l),0!==y&&(n[y+1]=Eh(n[y+1],r)),n[l+1]=function hb(n,e){return 131071&n|e<<17}(n[l+1],r)}else n[r+1]=rd(l,0),0!==l&&(n[l+1]=Eh(n[l+1],r)),l=r;else n[r+1]=rd(c,0),0===l?l=r:n[c+1]=Eh(n[c+1],r),c=r;f&&(n[r+1]=bh(n[r+1])),Nw(n,h,r,!0),Nw(n,h,r,!1),function mO(n,e,t,r,i){const s=i?n.residualClasses:n.residualStyles;null!=s&&"string"==typeof e&&Ca(s,e)>=0&&(t[r+1]=Ch(t[r+1]))}(e,h,n,r,s),o=rd(l,c),s?e.classBindings=o:e.styleBindings=o}(i,s,e,t,o,r)}}function _E(n,e,t,r,i){let s=null;const o=t.directiveEnd;let l=t.directiveStylingLast;for(-1===l?l=t.directiveStart:l++;l<o&&(s=e[l],r=Zh(r,s.hostAttrs,i),s!==n);)l++;return null!==n&&(t.directiveStylingLast=l),r}function Zh(n,e,t){const r=t?1:2;let i=-1;if(null!==e)for(let s=0;s<e.length;s++){const o=e[s];"number"==typeof o?i=o:i===r&&(Array.isArray(n)||(n=void 0===n?[]:["",n]),qr(n,o,!!t||e[++s]))}return void 0===n?null:n}function qw(n,e,t,r,i,s,o,l){if(!(3&e.type))return;const c=n.data,f=c[l+1];f_(function yg(n){return 1==(1&n)}(f)?$w(c,e,t,i,Hs(f),o):void 0)||(f_(s)||function _g(n){return 2==(2&n)}(f)&&(s=$w(c,null,t,i,l,o)),function ub(n,e,t,r,i){const s=Ue(n);if(e)i?s?n.addClass(t,r):t.classList.add(r):s?n.removeClass(t,r):t.classList.remove(r);else{let o=-1===r.indexOf("-")?void 0:Yr.DashCase;if(null==i)s?n.removeStyle(t,r,o):t.style.removeProperty(r);else{const l="string"==typeof i&&i.endsWith("!important");l&&(i=i.slice(0,-10),o|=Yr.Important),s?n.setStyle(t,r,i,o):t.style.setProperty(r,i,l?"important":"")}}}(r,o,Si(C(),t),i,s))}function $w(n,e,t,r,i,s){const o=null===e;let l;for(;i>0;){const c=n[i],f=Array.isArray(c),h=f?c[1]:c,m=null===h;let y=t[i+1];y===ut&&(y=m?Vt:void 0);let D=m?mu(y,r):h===r?y:void 0;if(f&&!f_(D)&&(D=mu(c,r)),f_(D)&&(l=D,o))return l;const O=n[i+1];i=o?Pi(O):Hs(O)}if(null!==e){let c=s?e.residualClasses:e.residualStyles;null!=c&&(l=mu(c,r))}return l}function f_(n){return void 0!==n}function Yw(n,e){return 0!=(n.flags&(e?16:32))}function Td(n,e=""){const t=ge(),r=gt(),i=n+20,s=r.firstCreatePass?Gn(r,i,1,e,null):r.data[i],o=t[i]=function ch(n,e){return Ue(n)?n.createText(e):n.createTextNode(e)}(t[11],e);Xc(r,t,o,s),Gr(s,!1)}function yE(n){return h_("",n,""),yE}function h_(n,e,t){const r=ge(),i=_d(r,n,e,t);return i!==ut&&zs(r,C(),i),h_}const Vu=void 0;var QO=["en",[["a","p"],["AM","PM"],Vu],[["AM","PM"],Vu,Vu],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Vu,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Vu,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Vu,"{1} 'at' {0}",Vu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function KO(n){const t=Math.floor(Math.abs(n)),r=n.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}];let Id={};function mS(n){return n in Id||(Id[n]=St.ng&&St.ng.common&&St.ng.common.locales&&St.ng.common.locales[n]),Id[n]}var xe=(()=>((xe=xe||{})[xe.LocaleId=0]="LocaleId",xe[xe.DayPeriodsFormat=1]="DayPeriodsFormat",xe[xe.DayPeriodsStandalone=2]="DayPeriodsStandalone",xe[xe.DaysFormat=3]="DaysFormat",xe[xe.DaysStandalone=4]="DaysStandalone",xe[xe.MonthsFormat=5]="MonthsFormat",xe[xe.MonthsStandalone=6]="MonthsStandalone",xe[xe.Eras=7]="Eras",xe[xe.FirstDayOfWeek=8]="FirstDayOfWeek",xe[xe.WeekendRange=9]="WeekendRange",xe[xe.DateFormat=10]="DateFormat",xe[xe.TimeFormat=11]="TimeFormat",xe[xe.DateTimeFormat=12]="DateTimeFormat",xe[xe.NumberSymbols=13]="NumberSymbols",xe[xe.NumberFormats=14]="NumberFormats",xe[xe.CurrencyCode=15]="CurrencyCode",xe[xe.CurrencySymbol=16]="CurrencySymbol",xe[xe.CurrencyName=17]="CurrencyName",xe[xe.Currencies=18]="Currencies",xe[xe.Directionality=19]="Directionality",xe[xe.PluralCase=20]="PluralCase",xe[xe.ExtraData=21]="ExtraData",xe))();const p_="en-US";let gS=p_;class jS{}const WS="ngComponent";class ZR{resolveComponentFactory(e){throw function US(n){const e=Error(`No component factory found for ${dt(n)}. Did you add it to @NgModule.entryComponents?`);return e[WS]=n,e}(e)}}let Oa=(()=>{class n{}return n.NULL=new ZR,n})();function v_(...n){}function xd(n,e){return new mn(hr(n,e))}const eP=function XR(){return xd(on(),ge())};let mn=(()=>{class n{constructor(t){this.nativeElement=t}}return n.__NG_ELEMENT_ID__=eP,n})();function GS(n){return n instanceof mn?n.nativeElement:n}class Bu{}let Hu=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>nP(),n})();const nP=function iP(){const n=ge(),t=lt(on().index,n);return function rP(n){return n[11]}(Zn(t)?t:n)};let AE=(()=>{class n{}return n.\u0275prov=Ce({token:n,providedIn:"root",factory:()=>null}),n})();class wl{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const zS=new wl("13.0.1"),Od={};function b_(n,e,t,r,i=!1){for(;null!==t;){const s=e[t.index];if(null!==s&&r.push(Jt(s)),dn(s))for(let l=10;l<s.length;l++){const c=s[l],f=c[1].firstChild;null!==f&&b_(c[1],c,f,r)}const o=t.type;if(8&o)b_(n,e,t.child,r);else if(32&o){const l=ah(t,e);let c;for(;c=l();)r.push(c)}else if(16&o){const l=ig(e,t);if(Array.isArray(l))r.push(...l);else{const c=Tu(e[16]);b_(c[1],c,l,r,!0)}}t=i?t.projectionNext:t.next}return r}class np{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const e=this._lView,t=e[1];return b_(t,e,t.firstChild,[])}get context(){return this._lView[8]}set context(e){this._lView[8]=e}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[3];if(dn(e)){const t=e[8],r=t?t.indexOf(this):-1;r>-1&&(fh(e,r),Lo(t,r))}this._attachedToViewContainer=!1}Qm(this._lView[1],this._lView)}onDestroy(e){Mg(this._lView[1],this._lView,null,e)}markForCheck(){kh(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Vh(this._lView[1],this._lView,this.context)}checkNoChanges(){!function kb(n,e,t){b(!0);try{Vh(n,e,t)}finally{b(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function eb(n,e){xu(n,e,e[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class sP extends np{constructor(e){super(e),this._view=e}detectChanges(){Vg(this._view)}checkNoChanges(){!function Lb(n){b(!0);try{Vg(n)}finally{b(!1)}}(this._view)}get context(){return null}}class qS extends Oa{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=xn(e);return new TE(t,this.ngModule)}}function $S(n){const e=[];for(let t in n)n.hasOwnProperty(t)&&e.push({propName:n[t],templateName:t});return e}const aP=new Le("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Kc});class TE extends jS{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=function nd(n){return n.map(td).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return $S(this.componentDef.inputs)}get outputs(){return $S(this.componentDef.outputs)}create(e,t,r,i){const s=(i=i||this.ngModule)?function lP(n,e){return{get:(t,r,i)=>{const s=n.get(t,Od,i);return s!==Od||r===Od?s:e.get(t,r,i)}}}(e,i.injector):e,o=s.get(Bu,sn),l=s.get(AE,null),c=o.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?function Ig(n,e,t){if(Ue(n))return n.selectRootElement(e,t===rn.ShadowDom);let r="string"==typeof e?n.querySelector(e):e;return r.textContent="",r}(c,r,this.componentDef.encapsulation):dh(o.createRenderer(null,this.componentDef),f,function oP(n){const e=n.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(f)),m=this.componentDef.onPush?576:528,y=function Ve(n,e){return{components:[],scheduler:n||Kc,clean:Vb,playerHandler:e||null,flags:0}}(),D=cd(0,null,null,1,0,null,null,null,null,null),O=yl(null,D,y,m,null,null,o,c,l,s);let $,W;mr(O);try{const ue=function _e(n,e,t,r,i,s){const o=t[1];t[20]=n;const c=Gn(o,20,2,"#host",null),f=c.mergedAttrs=e.hostAttrs;null!==f&&(hd(c,f,!0),null!==n&&(Pc(i,n,f),null!==c.classes&&_h(i,n,c.classes),null!==c.styles&&og(i,n,c.styles)));const h=r.createRenderer(n,e),m=yl(t,Ag(e),null,e.onPush?64:16,t[20],c,r,h,s||null,null);return o.firstCreatePass&&(fi(Po(c,t),o,e.type),Ng(o,c),Ph(c,t.length,1)),fd(t,m),t[20]=m}(h,this.componentDef,O,o,c);if(h)if(r)Pc(c,h,["ng-version",zS.full]);else{const{attrs:ne,classes:Te}=function fb(n){const e=[],t=[];let r=1,i=2;for(;r<n.length;){let s=n[r];if("string"==typeof s)2===i?""!==s&&e.push(s,n[++r]):8===i&&t.push(s);else{if(!Kr(i))break;i=s}r++}return{attrs:e,classes:t}}(this.componentDef.selectors[0]);ne&&Pc(c,h,ne),Te&&Te.length>0&&_h(c,h,Te.join(" "))}if(W=Ai(D,20),void 0!==t){const ne=W.projection=[];for(let Te=0;Te<this.ngContentSelectors.length;Te++){const Oe=t[Te];ne.push(null!=Oe?Array.from(Oe):null)}}$=function Ie(n,e,t,r,i){const s=t[1],o=function wb(n,e,t){const r=on();n.firstCreatePass&&(t.providersResolver&&t.providersResolver(t),Fh(n,r,e,vl(n,e,1,null),t));const i=ol(e,n,r.directiveStart,r);er(i,e);const s=hr(r,e);return s&&er(s,e),i}(s,t,e);if(r.components.push(o),n[8]=o,i&&i.forEach(c=>c(o,e)),e.contentQueries){const c=on();e.contentQueries(1,o,c.directiveStart)}const l=on();return!s.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(Un(l.index),Og(t[1],l,0,l.directiveStart,l.directiveEnd,e),Pg(e,o)),o}(ue,this.componentDef,O,y,[Ze]),xt(D,O,null)}finally{tn()}return new cP(this.componentType,$,xd(W,O),O,W)}}class cP extends class QR{}{constructor(e,t,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=t,this.hostView=this.changeDetectorRef=new sP(i),this.componentType=e}get injector(){return new ba(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}class ju{}const Rd=new Map;class KS extends ju{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new qS(this);const r=ar(e);this._bootstrapComponents=ns(r.bootstrap),this._r3Injector=$g(e,t,[{provide:ju,useValue:this},{provide:Oa,useValue:this.componentFactoryResolver}],dt(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=Ht.THROW_IF_NOT_FOUND,r=He.Default){return e===Ht||e===ju||e===Pu?this:this._r3Injector.get(e,t,r)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class ME extends class fP{}{constructor(e){super(),this.moduleType=e,null!==ar(e)&&function hP(n){const e=new Set;!function t(r){const i=ar(r,!0),s=i.id;null!==s&&(function YS(n,e,t){if(e&&e!==t)throw new Error(`Duplicate module registered for ${n} - ${dt(e)} vs ${dt(e.name)}`)}(s,Rd.get(s),r),Rd.set(s,r));const o=ns(i.imports);for(const l of o)e.has(l)||(e.add(l),t(l))}(n)}(e)}create(e){return new KS(this.moduleType,e)}}function ZS(n,e,t,r,i,s){const o=e+t;return Fr(n,o,i)?function zo(n,e,t){return n[e]=t}(n,o+1,s?r.call(s,i):r(i)):function rp(n,e){const t=n[e];return t===ut?void 0:t}(n,o+1)}function xE(n){return e=>{setTimeout(n,void 0,e)}}const tr=class IP extends ye{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,r){var i,s,o;let l=e,c=t||(()=>null),f=r;if(e&&"object"==typeof e){const m=e;l=null===(i=m.next)||void 0===i?void 0:i.bind(m),c=null===(s=m.error)||void 0===s?void 0:s.bind(m),f=null===(o=m.complete)||void 0===o?void 0:o.bind(m)}this.__isAsync&&(c=xE(c),l&&(l=xE(l)),f&&(f=xE(f)));const h=super.subscribe({next:l,error:c,complete:f});return e instanceof w&&e.add(h),h}};function MP(){return this._results[md()]()}class E_{constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=md(),r=E_.prototype;r[t]||(r[t]=MP)}get changes(){return this._changes||(this._changes=new tr)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){const r=this;r.dirty=!1;const i=hi(e);(this._changesDetected=!function xf(n,e,t){if(n.length!==e.length)return!1;for(let r=0;r<n.length;r++){let i=n[r],s=e[r];if(t&&(i=t(i),s=t(s)),s!==i)return!1}return!0}(r._results,i,t))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;const OP=function FP(){return C_(on(),ge())};let Ra=(()=>{class n{}return n.__NG_ELEMENT_ID__=OP,n})();const RP=Ra,PP=class extends RP{constructor(e,t,r){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=r}createEmbeddedView(e){const t=this._declarationTContainer.tViews,r=yl(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(t)),xt(t,r,e),new np(r)}};function C_(n,e){return 4&n.type?new PP(e,n,xd(n,e)):null}const kP=function LP(){return oA(on(),ge())};let Xs=(()=>{class n{}return n.__NG_ELEMENT_ID__=kP,n})();const VP=Xs,iA=class extends VP{constructor(e,t,r){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=r}get element(){return xd(this._hostTNode,this._hostLView)}get injector(){return new ba(this._hostTNode,this._hostLView)}get parentInjector(){const e=kc(this._hostTNode,this._hostLView);if(rm(e)){const t=sl(e,this._hostLView),r=il(e);return new ba(t[1].data[r+8],t)}return new ba(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=sA(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,r){const i=e.createEmbeddedView(t||{});return this.insert(i,r),i}createComponent(e,t,r,i,s){const o=e&&!function fu(n){return"function"==typeof n}(e);let l;if(o)l=t;else{const m=t||{};l=m.index,r=m.injector,i=m.projectableNodes,s=m.ngModuleRef}const c=o?e:new TE(xn(e)),f=r||this.parentInjector;if(!s&&null==c.ngModule&&f){const m=f.get(ju,null);m&&(s=m)}const h=c.create(f,i,void 0,s);return this.insert(h.hostView,l),h}insert(e,t){const r=e._lView,i=r[1];if(function To(n){return dn(n[3])}(r)){const h=this.indexOf(e);if(-1!==h)this.detach(h);else{const m=r[3],y=new iA(m,m[6],m[3]);y.detach(y.indexOf(e))}}const s=this._adjustIndex(t),o=this._lContainer;!function Km(n,e,t,r){const i=10+r,s=t.length;r>0&&(t[i-1][4]=e),r<s-10?(e[4]=t[i],hu(t,10+r,e)):(t.push(e),e[4]=null),e[3]=t;const o=e[17];null!==o&&t!==o&&function nb(n,e){const t=n[9];e[16]!==e[3][3][16]&&(n[2]=!0),null===t?n[9]=[e]:t.push(e)}(o,e);const l=e[19];null!==l&&l.insertView(n),e[2]|=128}(i,r,o,s);const l=mh(s,o),c=r[11],f=Qc(c,o[7]);return null!==f&&function Jv(n,e,t,r,i,s){r[0]=i,r[6]=e,xu(n,r,t,1,i,s)}(i,o[6],c,r,f,l),e.attachToViewContainerRef(),hu(OE(o),s,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=sA(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),r=fh(this._lContainer,t);r&&(Lo(OE(this._lContainer),t),Qm(r[1],r))}detach(e){const t=this._adjustIndex(e,-1),r=fh(this._lContainer,t);return r&&null!=Lo(OE(this._lContainer),t)?new np(r):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}};function sA(n){return n[8]}function OE(n){return n[8]||(n[8]=[])}function oA(n,e){let t;const r=e[n.index];if(dn(r))t=r;else{let i;if(8&n.type)i=Jt(r);else{const s=e[11];i=s.createComment("");const o=hr(n,e);Ta(s,Qc(s,o),i,function ob(n,e){return Ue(n)?n.nextSibling(e):e.nextSibling}(s,o),!1)}e[n.index]=t=kg(r,e,i,n),fd(e,t)}return new iA(t,n,e)}class RE{constructor(e){this.queryList=e,this.matches=null}clone(){return new RE(this.queryList)}setDirty(){this.queryList.setDirty()}}class PE{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const r=null!==e.contentQueries?e.contentQueries[0]:t.length,i=[];for(let s=0;s<r;s++){const o=t.getByIndex(s);i.push(this.queries[o.indexInDeclarationView].clone())}return new PE(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==dA(e,t).matches&&this.queries[t].setDirty()}}class aA{constructor(e,t,r=null){this.predicate=e,this.flags=t,this.read=r}}class FE{constructor(e=[]){this.queries=e}elementStart(e,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let r=0;r<this.length;r++){const i=null!==t?t.length:0,s=this.getByIndex(r).embeddedTView(e,i);s&&(s.indexInDeclarationView=r,null!==t?t.push(s):t=[s])}return null!==t?new FE(t):null}template(e,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class NE{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new NE(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let r=e.parent;for(;null!==r&&8&r.type&&r.index!==t;)r=r.parent;return t===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(e,t,jP(t,s)),this.matchTNodeWithReadOption(e,t,Mi(t,e,s,!1,!1))}else r===Ra?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Mi(t,e,r,!1,!1))}matchTNodeWithReadOption(e,t,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===mn||i===Xs||i===Ra&&4&t.type)this.addMatch(t.index,-2);else{const s=Mi(t,e,i,!1,!1);null!==s&&this.addMatch(t.index,s)}else this.addMatch(t.index,r)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function jP(n,e){const t=n.localNames;if(null!==t)for(let r=0;r<t.length;r+=2)if(t[r]===e)return t[r+1];return null}function WP(n,e,t,r){return-1===t?function UP(n,e){return 11&n.type?xd(n,e):4&n.type?C_(n,e):null}(e,n):-2===t?function GP(n,e,t){return t===mn?xd(e,n):t===Ra?C_(e,n):t===Xs?oA(e,n):void 0}(n,e,r):ol(n,n[1],t,e)}function lA(n,e,t,r){const i=e[19].queries[r];if(null===i.matches){const s=n.data,o=t.matches,l=[];for(let c=0;c<o.length;c+=2){const f=o[c];l.push(f<0?null:WP(e,s[f],o[c+1],t.metadata.read))}i.matches=l}return i.matches}function kE(n,e,t,r){const i=n.queries.getByIndex(t),s=i.matches;if(null!==s){const o=lA(n,e,i,t);for(let l=0;l<s.length;l+=2){const c=s[l];if(c>0)r.push(o[l/2]);else{const f=s[l+1],h=e[-c];for(let m=10;m<h.length;m++){const y=h[m];y[17]===y[3]&&kE(y[1],y,f,r)}if(null!==h[9]){const m=h[9];for(let y=0;y<m.length;y++){const D=m[y];kE(D[1],D,f,r)}}}}}return r}function Pd(n){const e=ge(),t=gt(),r=Rt();ln(r+1);const i=dA(t,r);if(n.dirty&&Jl(e)===(2==(2&i.metadata.flags))){if(null===i.matches)n.reset([]);else{const s=i.crossesNgTemplate?kE(t,e,r,[]):lA(t,e,i,r);n.reset(s,GS),n.notifyOnChanges()}return!0}return!1}function Fd(n,e,t){const r=gt();r.firstCreatePass&&(function cA(n,e,t){null===n.queries&&(n.queries=new FE),n.queries.track(new NE(e,t))}(r,new aA(n,e,t),-1),2==(2&e)&&(r.staticViewQueries=!0)),function uA(n,e,t){const r=new E_(4==(4&t));Mg(n,e,r,r.destroy),null===e[19]&&(e[19]=new PE),e[19].queries.push(new RE(r))}(r,ge(),e)}function Nd(){return function qP(n,e){return n[19].queries[e].queryList}(ge(),Rt())}function dA(n,e){return n.queries.getByIndex(e)}const S_=new Le("Application Initializer");let Ld=(()=>{class n{constructor(t){this.appInits=t,this.resolve=v_,this.reject=v_,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const t=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const s=this.appInits[i]();if(c_(s))t.push(s);else if(cE(s)){const o=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});t.push(o)}}Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}}return n.\u0275fac=function(t){return new(t||n)(le(S_,8))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();const op=new Le("AppId"),pF={provide:op,useFactory:function hF(){return`${UE()}${UE()}${UE()}`},deps:[]};function UE(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const IA=new Le("Platform Initializer"),A_=new Le("Platform ID"),mF=new Le("appBootstrapListener");let WE=(()=>{class n{log(t){console.log(t)}warn(t){console.warn(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();const Pa=new Le("LocaleId"),MA=new Le("DefaultCurrencyCode");class _F{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const GE=function(n){return new ME(n)},yF=GE,vF=function(n){return Promise.resolve(GE(n))},OA=function(n){const e=GE(n),r=ns(ar(n).declarations).reduce((i,s)=>{const o=xn(s);return o&&i.push(new TE(o)),i},[]);return new _F(e,r)},bF=OA,EF=function(n){return Promise.resolve(OA(n))};let RA=(()=>{class n{constructor(){this.compileModuleSync=yF,this.compileModuleAsync=vF,this.compileModuleAndAllComponentsSync=bF,this.compileModuleAndAllComponentsAsync=EF}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();const wF=(()=>Promise.resolve(0))();function zE(n){"undefined"==typeof Zone?wF.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class Zt{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new tr(!1),this.onMicrotaskEmpty=new tr(!1),this.onStable=new tr(!1),this.onError=new tr(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&t,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function SF(){let n=St.requestAnimationFrame,e=St.cancelAnimationFrame;if("undefined"!=typeof Zone&&n&&e){const t=n[Zone.__symbol__("OriginalDelegate")];t&&(n=t);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function IF(n){const e=()=>{!function TF(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(St,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,$E(n),n.isCheckStableRunning=!0,qE(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),$E(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,i,s,o,l)=>{try{return PA(n),t.invokeTask(i,s,o,l)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||n.shouldCoalesceRunChangeDetection)&&e(),FA(n)}},onInvoke:(t,r,i,s,o,l,c)=>{try{return PA(n),t.invoke(i,s,o,l,c)}finally{n.shouldCoalesceRunChangeDetection&&e(),FA(n)}},onHasTask:(t,r,i,s)=>{t.hasTask(i,s),r===i&&("microTask"==s.change?(n._hasPendingMicrotasks=s.microTask,$E(n),qE(n)):"macroTask"==s.change&&(n.hasPendingMacrotasks=s.macroTask))},onHandleError:(t,r,i,s)=>(t.handleError(i,s),n.runOutsideAngular(()=>n.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Zt.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Zt.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,r){return this._inner.run(e,t,r)}runTask(e,t,r,i){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+i,e,AF,v_,v_);try{return s.runTask(o,t,r)}finally{s.cancelTask(o)}}runGuarded(e,t,r){return this._inner.runGuarded(e,t,r)}runOutsideAngular(e){return this._outer.run(e)}}const AF={};function qE(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function $E(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function PA(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function FA(n){n._nesting--,qE(n)}class MF{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new tr,this.onMicrotaskEmpty=new tr,this.onStable=new tr,this.onError=new tr}run(e,t,r){return e.apply(t,r)}runGuarded(e,t,r){return e.apply(t,r)}runOutsideAngular(e){return e()}runTask(e,t,r,i){return e.apply(t,r)}}let YE=(()=>{class n{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Zt.assertNotInAngularZone(),zE(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())zE(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==s),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:s,updateCb:i})}whenStable(t,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,r,i){return[]}}return n.\u0275fac=function(t){return new(t||n)(le(Zt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})(),NA=(()=>{class n{constructor(){this._applications=new Map,KE.addToWindow(this)}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return KE.findTestabilityInTree(this,t,r)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();class xF{addToWindow(e){}findTestabilityInTree(e,t,r){return null}}let KE=new xF,kA=!0,LA=!1;function QE(){return LA=!0,kA}let Js;const VA=new Le("AllowMultipleToken");function BA(n,e,t=[]){const r=`Platform: ${e}`,i=new Le(r);return(s=[])=>{let o=HA();if(!o||o.injector.get(VA,!1))if(n)n(t.concat(s).concat({provide:i,useValue:!0}));else{const l=t.concat(s).concat({provide:i,useValue:!0},{provide:Fu,useValue:"platform"});!function HF(n){if(Js&&!Js.destroyed&&!Js.injector.get(VA,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Js=n.get(jA);const e=n.get(IA,null);e&&e.forEach(t=>t())}(Ht.create({providers:l,name:r}))}return function jF(n){const e=HA();if(!e)throw new Error("No platform exists!");if(!e.injector.get(n,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function HA(){return Js&&!Js.destroyed?Js:null}let jA=(()=>{class n{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const l=function UF(n,e){let t;return t="noop"===n?new MF:("zone.js"===n?void 0:n)||new Zt({enableLongStackTrace:QE(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),t}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),c=[{provide:Zt,useValue:l}];return l.run(()=>{const f=Ht.create({providers:c,parent:this.injector,name:t.moduleType.name}),h=t.create(f),m=h.injector.get(ts,null);if(!m)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return l.runOutsideAngular(()=>{const y=l.onError.subscribe({next:D=>{m.handleError(D)}});h.onDestroy(()=>{ZE(this._modules,h),y.unsubscribe()})}),function WF(n,e,t){try{const r=t();return c_(r)?r.catch(i=>{throw e.runOutsideAngular(()=>n.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>n.handleError(r)),r}}(m,l,()=>{const y=h.injector.get(Ld);return y.runInitializers(),y.donePromise.then(()=>(function tR(n){Fn(n,"Expected localeId to be defined"),"string"==typeof n&&(gS=n.toLowerCase().replace(/_/g,"-"))}(h.injector.get(Pa,p_)||p_),this._moduleDoBootstrap(h),h))})})}bootstrapModule(t,r=[]){const i=UA({},r);return function FF(n,e,t){const r=new ME(t);return Promise.resolve(r)}(0,0,t).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(t){const r=t.injector.get(Uu);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${dt(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(t){return new(t||n)(le(Ht))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();function UA(n,e){return Array.isArray(e)?e.reduce(UA,n):Object.assign(Object.assign({},n),e)}let Uu=(()=>{class n{constructor(t,r,i,s,o){this._zone=t,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=s,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new se(f=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{f.next(this._stable),f.complete()})}),c=new se(f=>{let h;this._zone.runOutsideAngular(()=>{h=this._zone.onStable.subscribe(()=>{Zt.assertNotInAngularZone(),zE(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,f.next(!0))})})});const m=this._zone.onUnstable.subscribe(()=>{Zt.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{f.next(!1)}))});return()=>{h.unsubscribe(),m.unsubscribe()}});this.isStable=ps(l,c.pipe(oc()))}bootstrap(t,r){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let i;i=t instanceof jS?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(i.componentType);const s=function VF(n){return n.isBoundToModule}(i)?void 0:this._injector.get(ju),l=i.create(Ht.NULL,[],r||i.selector,s),c=l.location.nativeElement,f=l.injector.get(YE,null),h=f&&l.injector.get(NA);return f&&h&&h.registerApplication(c,f),l.onDestroy(()=>{this.detachView(l.hostView),ZE(this.components,l),h&&h.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;ZE(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(mF,[]).concat(this._bootstrapListeners).forEach(i=>i(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return n.\u0275fac=function(t){return new(t||n)(le(Zt),le(Ht),le(ts),le(Oa),le(Ld))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();function ZE(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}const qF=function $F(n){return function YF(n,e,t){if(Ds(n)&&!t){const r=lt(n.index,e);return new np(r,r)}return 47&n.type?new np(e[16],e):null}(on(),ge(),16==(16&n))};let Vd=(()=>{class n{}return n.__NG_ELEMENT_ID__=qF,n})();class KA{constructor(){}supports(e){return Yh(e)}create(e){return new sN(e)}}const iN=(n,e)=>e;class sN{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||iN}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,r=this._removalsHead,i=0,s=null;for(;t||r;){const o=!r||t&&t.currentIndex<ZA(r,i,s)?t:r,l=ZA(o,i,s),c=o.currentIndex;if(o===r)i--,r=r._nextRemoved;else if(t=t._next,null==o.previousIndex)i++;else{s||(s=[]);const f=l-i,h=c-i;if(f!=h){for(let y=0;y<f;y++){const D=y<s.length?s[y]:s[y]=0,O=D+y;h<=O&&O<f&&(s[y]=D+1)}s[o.previousIndex]=h-f}}l!==c&&e(o,l,c)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!Yh(e))throw new Error(`Error trying to diff '${dt(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let i,s,o,t=this._itHead,r=!1;if(Array.isArray(e)){this.length=e.length;for(let l=0;l<this.length;l++)s=e[l],o=this._trackByFn(l,s),null!==t&&Object.is(t.trackById,o)?(r&&(t=this._verifyReinsertion(t,s,o,l)),Object.is(t.item,s)||this._addIdentityChange(t,s)):(t=this._mismatch(t,s,o,l),r=!0),t=t._next}else i=0,function Vx(n,e){if(Array.isArray(n))for(let t=0;t<n.length;t++)e(n[t]);else{const t=n[md()]();let r;for(;!(r=t.next()).done;)e(r.value)}}(e,l=>{o=this._trackByFn(i,l),null!==t&&Object.is(t.trackById,o)?(r&&(t=this._verifyReinsertion(t,l,o,i)),Object.is(t.item,l)||this._addIdentityChange(t,l)):(t=this._mismatch(t,l,o,i),r=!0),t=t._next,i++}),this.length=i;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,r,i){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,i)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,i)):e=this._addAfter(new oN(t,r),s,i),e}_verifyReinsertion(e,t,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?e=this._reinsertAfter(s,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,s=e._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(e,t,r),this._addToMoves(e,r),e}_moveAfter(e,t,r){return this._unlink(e),this._insertAfter(e,t,r),this._addToMoves(e,r),e}_addAfter(e,t,r){return this._insertAfter(e,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,r){const i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new QA),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,r=e._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new QA),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class oN{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class aN{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){const t=e._prevDup,r=e._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class QA{constructor(){this.map=new Map}put(e){const t=e.trackById;let r=this.map.get(t);r||(r=new aN,this.map.set(t,r)),r.add(e)}get(e,t){const i=this.map.get(e);return i?i.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ZA(n,e,t){const r=n.previousIndex;if(null===r)return r;let i=0;return t&&r<t.length&&(i=t[r]),r+e+i}class XA{constructor(){}supports(e){return e instanceof Map||rE(e)}create(){return new lN}}class lN{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||rE(e)))throw new Error(`Error trying to diff '${dt(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(r,i)=>{if(t&&t.key===i)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{const s=this._getOrCreateRecordForKey(i,r);t=this._insertBeforeOrAppend(t,s)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const r=e._prev;return t._next=e,t._prev=r,e._prev=t,r&&(r._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const i=this._records.get(e);this._maybeAddToChanges(i,t);const s=i._prev,o=i._next;return s&&(s._next=o),o&&(o._prev=s),i._next=null,i._prev=null,i}const r=new uN(e);return this._records.set(e,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(r=>t(e[r],r))}}class uN{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function JA(){return new ap([new KA])}let ap=(()=>{class n{constructor(t){this.factories=t}static create(t,r){if(null!=r){const i=r.factories.slice();t=t.concat(i)}return new n(t)}static extend(t){return{provide:n,useFactory:r=>n.create(t,r||JA()),deps:[[n,new Bo,new yr]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(null!=r)return r;throw new Error(`Cannot find a differ supporting object '${t}' of type '${function cN(n){return n.name||typeof n}(t)}'`)}}return n.\u0275prov=Ce({token:n,providedIn:"root",factory:JA}),n})();function eT(){return new Bd([new XA])}let Bd=(()=>{class n{constructor(t){this.factories=t}static create(t,r){if(r){const i=r.factories.slice();t=t.concat(i)}return new n(t)}static extend(t){return{provide:n,useFactory:r=>n.create(t,r||eT()),deps:[[n,new Bo,new yr]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(r)return r;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return n.\u0275prov=Ce({token:n,providedIn:"root",factory:eT}),n})();const dN=[new XA],hN=new ap([new KA]),pN=new Bd(dN),mN=BA(null,"core",[{provide:A_,useValue:"unknown"},{provide:jA,deps:[Ht]},{provide:NA,deps:[]},{provide:WE,deps:[]}]),bN=[{provide:Uu,useClass:Uu,deps:[Zt,Ht,ts,Oa,Ld]},{provide:aP,deps:[Zt],useFactory:function EN(n){let e=[];return n.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Ld,useClass:Ld,deps:[[new yr,S_]]},{provide:RA,useClass:RA,deps:[]},pF,{provide:ap,useFactory:function gN(){return hN},deps:[]},{provide:Bd,useFactory:function _N(){return pN},deps:[]},{provide:Pa,useFactory:function yN(n){return n||function vN(){return"undefined"!=typeof $localize&&$localize.locale||p_}()},deps:[[new cl(Pa),new yr,new Bo]]},{provide:MA,useValue:"USD"}];let CN=(()=>{class n{constructor(t){}}return n.\u0275fac=function(t){return new(t||n)(le(Uu))},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:bN}),n})(),H_=null;function Yo(){return H_}const Tt=new Le("DocumentToken");let vp=(()=>{class n{historyGo(t){throw new Error("Not implemented")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:function(){return function g2(){return le(VT)}()},providedIn:"platform"}),n})(),VT=(()=>{class n extends vp{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Yo().getBaseHref(this._doc)}onPopState(t){const r=Yo().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=Yo().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,r,i){BT()?this._history.pushState(t,r,i):this.location.hash=i}replaceState(t,r,i){BT()?this._history.replaceState(t,r,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return n.\u0275fac=function(t){return new(t||n)(le(Tt))},n.\u0275prov=Ce({token:n,factory:function(){return function _2(){return new VT(le(Tt))}()},providedIn:"platform"}),n})();function BT(){return!!window.history.pushState}function HT(n,e){if(0==n.length)return e;if(0==e.length)return n;let t=0;return n.endsWith("/")&&t++,e.startsWith("/")&&t++,2==t?n+e.substring(1):1==t?n+e:n+"/"+e}function jT(n){const e=n.match(/#|\?|$/),t=e&&e.index||n.length;return n.slice(0,t-("/"===n[t-1]?1:0))+n.slice(t)}function $u(n){return n&&"?"!==n[0]?"?"+n:n}let SC=(()=>{class n{historyGo(t){throw new Error("Not implemented")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:function(){return function y2(n){const e=le(Tt).location;return new b2(le(vp),e&&e.origin||"")}()},providedIn:"root"}),n})();const v2=new Le("appBaseHref");let b2=(()=>{class n extends SC{constructor(t,r){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==r&&(r=this._platformLocation.getBaseHrefFromDOM()),null==r)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=r}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return HT(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+$u(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${r}${i}`:r}pushState(t,r,i,s){const o=this.prepareExternalUrl(i+$u(s));this._platformLocation.pushState(t,r,o)}replaceState(t,r,i,s){const o=this.prepareExternalUrl(i+$u(s));this._platformLocation.replaceState(t,r,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var r,i;null===(i=(r=this._platformLocation).historyGo)||void 0===i||i.call(r,t)}}return n.\u0275fac=function(t){return new(t||n)(le(vp),le(v2,8))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})(),UT=(()=>{class n{constructor(t,r){this._subject=new tr,this._urlChangeListeners=[],this._platformStrategy=t;const i=this._platformStrategy.getBaseHref();this._platformLocation=r,this._baseHref=jT(WT(i)),this._platformStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+$u(r))}normalize(t){return n.stripTrailingSlash(function C2(n,e){return n&&e.startsWith(n)?e.substring(n.length):e}(this._baseHref,WT(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,r="",i=null){this._platformStrategy.pushState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+$u(r)),i)}replaceState(t,r="",i=null){this._platformStrategy.replaceState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+$u(r)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var r,i;null===(i=(r=this._platformStrategy).historyGo)||void 0===i||i.call(r,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}))}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(i=>i(t,r))}subscribe(t,r,i){return this._subject.subscribe({next:t,error:r,complete:i})}}return n.normalizeQueryParams=$u,n.joinWithSlash=HT,n.stripTrailingSlash=jT,n.\u0275fac=function(t){return new(t||n)(le(SC),le(vp))},n.\u0275prov=Ce({token:n,factory:function(){return function E2(){return new UT(le(SC),le(vp))}()},providedIn:"root"}),n})();function WT(n){return n.replace(/\/index.html$/,"")}var kn=(()=>((kn=kn||{})[kn.Zero=0]="Zero",kn[kn.One=1]="One",kn[kn.Two=2]="Two",kn[kn.Few=3]="Few",kn[kn.Many=4]="Many",kn[kn.Other=5]="Other",kn))();const M2=function pS(n){return function ni(n){const e=function ZO(n){return n.toLowerCase().replace(/_/g,"-")}(n);let t=mS(e);if(t)return t;const r=e.split("-")[0];if(t=mS(r),t)return t;if("en"===r)return QO;throw new Error(`Missing locale data for the locale "${n}".`)}(n)[xe.PluralCase]};class Q_{}let iL=(()=>{class n extends Q_{constructor(t){super(),this.locale=t}getPluralCategory(t,r){switch(M2(r||this.locale)(t)){case kn.Zero:return"zero";case kn.One:return"one";case kn.Two:return"two";case kn.Few:return"few";case kn.Many:return"many";default:return"other"}}}return n.\u0275fac=function(t){return new(t||n)(le(Pa))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})(),FC=(()=>{class n{constructor(t,r,i,s){this._iterableDiffers=t,this._keyValueDiffers=r,this._ngEl=i,this._renderer=s,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Yh(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(r=>this._toggleClass(r.key,r.currentValue)),t.forEachChangedItem(r=>this._toggleClass(r.key,r.currentValue)),t.forEachRemovedItem(r=>{r.previousValue&&this._toggleClass(r.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(r=>{if("string"!=typeof r.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${dt(r.item)}`);this._toggleClass(r.item,!0)}),t.forEachRemovedItem(r=>this._toggleClass(r.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(r=>this._toggleClass(r,!0)):Object.keys(t).forEach(r=>this._toggleClass(r,!!t[r])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(r=>this._toggleClass(r,!1)):Object.keys(t).forEach(r=>this._toggleClass(r,!1)))}_toggleClass(t,r){(t=t.trim())&&t.split(/\s+/g).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}}return n.\u0275fac=function(t){return new(t||n)(de(ap),de(Bd),de(mn),de(Hu))},n.\u0275dir=ze({type:n,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),n})(),JT=(()=>{class n{constructor(t,r){this._viewContainer=t,this._context=new cL,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){eI("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){eI("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,r){return!0}}return n.\u0275fac=function(t){return new(t||n)(de(Xs),de(Ra))},n.\u0275dir=ze({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),n})();class cL{constructor(){this.$implicit=null,this.ngIf=null}}function eI(n,e){if(e&&!e.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${dt(e)}'.`)}class gL{createSubscription(e,t){return e.subscribe({next:t,error:r=>{throw r}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class _L{createSubscription(e,t){return e.then(t,r=>{throw r})}dispose(e){}onDestroy(e){}}const yL=new _L,vL=new gL;let nI=(()=>{class n{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,r=>this._updateLatestValue(t,r))}_selectStrategy(t){if(c_(t))return yL;if(Dw(t))return vL;throw function so(n,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${dt(n)}'`)}(n,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,r){t===this._obj&&(this._latestValue=r,this._ref.markForCheck())}}return n.\u0275fac=function(t){return new(t||n)(de(Vd,16))},n.\u0275pipe=Kn({name:"async",type:n,pure:!1}),n})(),zd=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:[{provide:Q_,useClass:iL}]}),n})();const iI="browser";class BC extends class UL extends class m2{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function p2(n){H_||(H_=n)}(new BC)}onAndCancel(e,t,r){return e.addEventListener(t,r,!1),()=>{e.removeEventListener(t,r,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=function WL(){return Cp=Cp||document.querySelector("base"),Cp?Cp.getAttribute("href"):null}();return null==t?null:function GL(n){Z_=Z_||document.createElement("a"),Z_.setAttribute("href",n);const e=Z_.pathname;return"/"===e.charAt(0)?e:`/${e}`}(t)}resetBaseElement(){Cp=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return function sL(n,e){e=encodeURIComponent(e);for(const t of n.split(";")){const r=t.indexOf("="),[i,s]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===e)return decodeURIComponent(s)}return null}(document.cookie,e)}}let Z_,Cp=null;const oI=new Le("TRANSITION_ID"),qL=[{provide:S_,useFactory:function zL(n,e,t){return()=>{t.get(Ld).donePromise.then(()=>{const r=Yo(),i=e.querySelectorAll(`style[ng-transition="${n}"]`);for(let s=0;s<i.length;s++)r.remove(i[s])})}},deps:[oI,Tt,Ht],multi:!0}];class HC{static init(){!function OF(n){KE=n}(new HC)}addToWindow(e){St.getAngularTestability=(r,i=!0)=>{const s=e.findTestabilityInTree(r,i);if(null==s)throw new Error("Could not find testability for element.");return s},St.getAllAngularTestabilities=()=>e.getAllTestabilities(),St.getAllAngularRootElements=()=>e.getAllRootElements(),St.frameworkStabilizers||(St.frameworkStabilizers=[]),St.frameworkStabilizers.push(r=>{const i=St.getAllAngularTestabilities();let s=i.length,o=!1;const l=function(c){o=o||c,s--,0==s&&r(o)};i.forEach(function(c){c.whenStable(l)})})}findTestabilityInTree(e,t,r){if(null==t)return null;const i=e.getTestability(t);return null!=i?i:r?Yo().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}let $L=(()=>{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();const Dp=new Le("EventManagerPlugins");let J_=(()=>{class n{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>i.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}addGlobalEventListener(t,r,i){return this._findPluginFor(r).addGlobalEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){const r=this._eventNameToPlugin.get(t);if(r)return r;const i=this._plugins;for(let s=0;s<i.length;s++){const o=i[s];if(o.supports(t))return this._eventNameToPlugin.set(t,o),o}throw new Error(`No event manager plugin found for event ${t}`)}}return n.\u0275fac=function(t){return new(t||n)(le(Dp),le(Zt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();class jC{constructor(e){this._doc=e}addGlobalEventListener(e,t,r){const i=Yo().getGlobalEventTarget(this._doc,e);if(!i)throw new Error(`Unsupported event target ${i} for event ${t}`);return this.addEventListener(i,t,r)}}let lI=(()=>{class n{constructor(){this._stylesSet=new Set}addStyles(t){const r=new Set;t.forEach(i=>{this._stylesSet.has(i)||(this._stylesSet.add(i),r.add(i))}),this.onStylesAdded(r)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})(),wp=(()=>{class n extends lI{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,r,i){t.forEach(s=>{const o=this._doc.createElement("style");o.textContent=s,i.push(r.appendChild(o))})}addHost(t){const r=[];this._addStylesToHost(this._stylesSet,t,r),this._hostNodes.set(t,r)}removeHost(t){const r=this._hostNodes.get(t);r&&r.forEach(uI),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((r,i)=>{this._addStylesToHost(t,i,r)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(uI))}}return n.\u0275fac=function(t){return new(t||n)(le(Tt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();function uI(n){Yo().remove(n)}const UC={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},WC=/%COMP%/g;function ey(n,e,t){for(let r=0;r<e.length;r++){let i=e[r];Array.isArray(i)?ey(n,i,t):(i=i.replace(WC,n),t.push(i))}return t}function fI(n){return e=>{if("__ngUnwrap__"===e)return n;!1===n(e)&&(e.preventDefault(),e.returnValue=!1)}}let ty=(()=>{class n{constructor(t,r,i){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new GC(t)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;switch(r.encapsulation){case rn.Emulated:{let i=this.rendererByCompId.get(r.id);return i||(i=new lV(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,i)),i.applyToHost(t),i}case 1:case rn.ShadowDom:return new uV(this.eventManager,this.sharedStylesHost,t,r);default:if(!this.rendererByCompId.has(r.id)){const i=ey(r.id,r.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return n.\u0275fac=function(t){return new(t||n)(le(J_),le(wp),le(op))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();class GC{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,t){return t?document.createElementNS(UC[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,r){e&&e.insertBefore(t,r)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let r="string"==typeof e?document.querySelector(e):e;if(!r)throw new Error(`The selector "${e}" did not match any elements`);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,i){if(i){t=i+":"+t;const s=UC[i];s?e.setAttributeNS(s,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){const i=UC[r];i?e.removeAttributeNS(i,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,i){i&(Yr.DashCase|Yr.Important)?e.style.setProperty(t,r,i&Yr.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&Yr.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e[t]=r}setValue(e,t){e.nodeValue=t}listen(e,t,r){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,fI(r)):this.eventManager.addEventListener(e,t,fI(r))}}class lV extends GC{constructor(e,t,r,i){super(e),this.component=r;const s=ey(i+"-"+r.id,r.styles,[]);t.addStyles(s),this.contentAttr=function sV(n){return"_ngcontent-%COMP%".replace(WC,n)}(i+"-"+r.id),this.hostAttr=function oV(n){return"_nghost-%COMP%".replace(WC,n)}(i+"-"+r.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const r=super.createElement(e,t);return super.setAttribute(r,this.contentAttr,""),r}}class uV extends GC{constructor(e,t,r,i){super(e),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=ey(i.id,i.styles,[]);for(let o=0;o<s.length;o++){const l=document.createElement("style");l.textContent=s[o],this.shadowRoot.appendChild(l)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,r){return super.insertBefore(this.nodeOrShadowRoot(e),t,r)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let cV=(()=>{class n extends jC{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}}return n.\u0275fac=function(t){return new(t||n)(le(Tt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();const mI=["alt","control","meta","shift"],_V={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},gI={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},yV={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let vV=(()=>{class n extends jC{constructor(t){super(t)}supports(t){return null!=n.parseEventName(t)}addEventListener(t,r,i){const s=n.parseEventName(r),o=n.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Yo().onAndCancel(t,s.domEventName,o))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const s=n._normalizeKey(r.pop());let o="";if(mI.forEach(c=>{const f=r.indexOf(c);f>-1&&(r.splice(f,1),o+=c+".")}),o+=s,0!=r.length||0===s.length)return null;const l={};return l.domEventName=i,l.fullKey=o,l}static getEventFullKey(t){let r="",i=function bV(n){let e=n.key;if(null==e){if(e=n.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===n.location&&gI.hasOwnProperty(e)&&(e=gI[e]))}return _V[e]||e}(t);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),mI.forEach(s=>{s!=i&&yV[s](t)&&(r+=s+".")}),r+=i,r}static eventCallback(t,r,i){return s=>{n.getEventFullKey(s)===t&&i.runGuarded(()=>r(s))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return n.\u0275fac=function(t){return new(t||n)(le(Tt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})(),Sp=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:function(t){let r=null;return r=t?new(t||n):le(qC),r},providedIn:"root"}),n})(),qC=(()=>{class n extends Sp{constructor(t){super(),this._doc=t}sanitize(t,r){if(null==r)return null;switch(t){case Pt.NONE:return r;case Pt.HTML:return Oi(r,"HTML")?Rr(r):Qf(this._doc,String(r)).toString();case Pt.STYLE:return Oi(r,"Style")?Rr(r):r;case Pt.SCRIPT:if(Oi(r,"Script"))return Rr(r);throw new Error("unsafe value used in a script context");case Pt.URL:return Dm(r),Oi(r,"URL")?Rr(r):Ri(String(r));case Pt.RESOURCE_URL:if(Oi(r,"ResourceURL"))return Rr(r);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return function wm(n){return new Em(n)}(t)}bypassSecurityTrustStyle(t){return function Cv(n){return new jf(n)}(t)}bypassSecurityTrustScript(t){return function Dv(n){return new Ev(n)}(t)}bypassSecurityTrustUrl(t){return function Vs(n){return new Cm(n)}(t)}bypassSecurityTrustResourceUrl(t){return function Uf(n){return new Ls(n)}(t)}}return n.\u0275fac=function(t){return new(t||n)(le(Tt))},n.\u0275prov=Ce({token:n,factory:function(t){let r=null;return r=t?new t:function EV(n){return new qC(n.get(Tt))}(le(Ht)),r},providedIn:"root"}),n})();const SV=[{provide:A_,useValue:iI},{provide:IA,useValue:function CV(){BC.makeCurrent(),HC.init()},multi:!0},{provide:Tt,useFactory:function wV(){return function ie(n){ae=n}(document),document},deps:[]}],TV=BA(mN,"browser",SV),IV=[[],{provide:Fu,useValue:"root"},{provide:ts,useFactory:function DV(){return new ts},deps:[]},{provide:Dp,useClass:cV,multi:!0,deps:[Tt,Zt,A_]},{provide:Dp,useClass:vV,multi:!0,deps:[Tt]},[],{provide:ty,useClass:ty,deps:[J_,wp,op]},{provide:Bu,useExisting:ty},{provide:lI,useExisting:wp},{provide:wp,useClass:wp,deps:[Tt]},{provide:YE,useClass:YE,deps:[Zt]},{provide:J_,useClass:J_,deps:[Dp,Zt]},{provide:class jL{},useClass:$L,deps:[]},[]];let MV=(()=>{class n{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:n,providers:[{provide:op,useValue:t.appId},{provide:oI,useExisting:op},qL]}}}return n.\u0275fac=function(t){return new(t||n)(le(n,12))},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:IV,imports:[zd,CN]}),n})();"undefined"!=typeof window&&window;class ny{constructor(e,t,r,i){if(isNaN(e)||isNaN(t))throw new Error(`Point is invalid: (${e}, ${t})`);this.x=+e,this.y=+t,this.pressure=r||0,this.time=i||Date.now()}distanceTo(e){return Math.sqrt(Math.pow(this.x-e.x,2)+Math.pow(this.y-e.y,2))}equals(e){return this.x===e.x&&this.y===e.y&&this.pressure===e.pressure&&this.time===e.time}velocityFrom(e){return this.time!==e.time?this.distanceTo(e)/(this.time-e.time):0}}class YC{constructor(e,t,r,i,s,o){this.startPoint=e,this.control2=t,this.control1=r,this.endPoint=i,this.startWidth=s,this.endWidth=o}static fromPoints(e,t){const r=this.calculateControlPoints(e[0],e[1],e[2]).c2,i=this.calculateControlPoints(e[1],e[2],e[3]).c1;return new YC(e[1],r,i,e[2],t.start,t.end)}static calculateControlPoints(e,t,r){const i=e.x-t.x,s=e.y-t.y,o=t.x-r.x,l=t.y-r.y,c_x=(e.x+t.x)/2,c_y=(e.y+t.y)/2,f_x=(t.x+r.x)/2,f_y=(t.y+r.y)/2,h=Math.sqrt(i*i+s*s),m=Math.sqrt(o*o+l*l),O=m/(h+m),W=t.x-(f_x+(c_x-f_x)*O),ue=t.y-(f_y+(c_y-f_y)*O);return{c1:new ny(c_x+W,c_y+ue),c2:new ny(f_x+W,f_y+ue)}}length(){let r,i,t=0;for(let s=0;s<=10;s+=1){const o=s/10,l=this.point(o,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),c=this.point(o,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(s>0){const f=l-r,h=c-i;t+=Math.sqrt(f*f+h*h)}r=l,i=c}return t}point(e,t,r,i,s){return t*(1-e)*(1-e)*(1-e)+3*r*(1-e)*(1-e)*e+3*i*(1-e)*e*e+s*e*e*e}}class ry extends class LV{constructor(){try{this._et=new EventTarget}catch(e){this._et=document}}addEventListener(e,t,r){this._et.addEventListener(e,t,r)}dispatchEvent(e){return this._et.dispatchEvent(e)}removeEventListener(e,t,r){this._et.removeEventListener(e,t,r)}}{constructor(e,t={}){super(),this.canvas=e,this._handleMouseDown=r=>{1===r.buttons&&(this._drawningStroke=!0,this._strokeBegin(r))},this._handleMouseMove=r=>{this._drawningStroke&&this._strokeMoveUpdate(r)},this._handleMouseUp=r=>{1===r.buttons&&this._drawningStroke&&(this._drawningStroke=!1,this._strokeEnd(r))},this._handleTouchStart=r=>{r.cancelable&&r.preventDefault(),1===r.targetTouches.length&&this._strokeBegin(r.changedTouches[0])},this._handleTouchMove=r=>{r.cancelable&&r.preventDefault(),this._strokeMoveUpdate(r.targetTouches[0])},this._handleTouchEnd=r=>{r.target===this.canvas&&(r.cancelable&&r.preventDefault(),this._strokeEnd(r.changedTouches[0]))},this._handlePointerStart=r=>{this._drawningStroke=!0,r.preventDefault(),this._strokeBegin(r)},this._handlePointerMove=r=>{this._drawningStroke&&(r.preventDefault(),this._strokeMoveUpdate(r))},this._handlePointerEnd=r=>{this._drawningStroke&&(r.preventDefault(),this._drawningStroke=!1,this._strokeEnd(r))},this.velocityFilterWeight=t.velocityFilterWeight||.7,this.minWidth=t.minWidth||.5,this.maxWidth=t.maxWidth||2.5,this.throttle="throttle"in t?t.throttle:16,this.minDistance="minDistance"in t?t.minDistance:5,this.dotSize=t.dotSize||0,this.penColor=t.penColor||"black",this.backgroundColor=t.backgroundColor||"rgba(0,0,0,0)",this._strokeMoveUpdate=this.throttle?function VV(n,e=250){let i,s,o,t=0,r=null;const l=()=>{t=Date.now(),r=null,i=n.apply(s,o),r||(s=null,o=[])};return function(...f){const h=Date.now(),m=e-(h-t);return s=this,o=f,m<=0||m>e?(r&&(clearTimeout(r),r=null),t=h,i=n.apply(s,o),r||(s=null,o=[])):r||(r=window.setTimeout(l,m)),i}}(ry.prototype._strokeUpdate,this.throttle):ry.prototype._strokeUpdate,this._ctx=e.getContext("2d"),this.clear(),this.on()}clear(){const{_ctx:e,canvas:t}=this;e.fillStyle=this.backgroundColor,e.clearRect(0,0,t.width,t.height),e.fillRect(0,0,t.width,t.height),this._data=[],this._reset(this._getPointGroupOptions()),this._isEmpty=!0}fromDataURL(e,t={}){return new Promise((r,i)=>{const s=new Image,o=t.ratio||window.devicePixelRatio||1,l=t.width||this.canvas.width/o,c=t.height||this.canvas.height/o,f=t.xOffset||0,h=t.yOffset||0;this._reset(this._getPointGroupOptions()),s.onload=()=>{this._ctx.drawImage(s,f,h,l,c),r()},s.onerror=m=>{i(m)},s.crossOrigin="anonymous",s.src=e,this._isEmpty=!1})}toDataURL(e="image/png",t){return"image/svg+xml"===e?("object"!=typeof t&&(t=void 0),`data:image/svg+xml;base64,${btoa(this.toSVG(t))}`):("number"!=typeof t&&(t=void 0),this.canvas.toDataURL(e,t))}on(){this.canvas.style.touchAction="none",this.canvas.style.msTouchAction="none",this.canvas.style.userSelect="none";const e=/Macintosh/.test(navigator.userAgent)&&"ontouchstart"in document;window.PointerEvent&&!e?this._handlePointerEvents():(this._handleMouseEvents(),"ontouchstart"in window&&this._handleTouchEvents())}off(){this.canvas.style.touchAction="auto",this.canvas.style.msTouchAction="auto",this.canvas.style.userSelect="auto",this.canvas.removeEventListener("pointerdown",this._handlePointerStart),this.canvas.removeEventListener("pointermove",this._handlePointerMove),this.canvas.ownerDocument.removeEventListener("pointerup",this._handlePointerEnd),this.canvas.removeEventListener("mousedown",this._handleMouseDown),this.canvas.removeEventListener("mousemove",this._handleMouseMove),this.canvas.ownerDocument.removeEventListener("mouseup",this._handleMouseUp),this.canvas.removeEventListener("touchstart",this._handleTouchStart),this.canvas.removeEventListener("touchmove",this._handleTouchMove),this.canvas.removeEventListener("touchend",this._handleTouchEnd)}isEmpty(){return this._isEmpty}fromData(e,{clear:t=!0}={}){t&&this.clear(),this._fromData(e,this._drawCurve.bind(this),this._drawDot.bind(this)),this._data=this._data.concat(e)}toData(){return this._data}_getPointGroupOptions(e){return{penColor:e&&"penColor"in e?e.penColor:this.penColor,dotSize:e&&"dotSize"in e?e.dotSize:this.dotSize,minWidth:e&&"minWidth"in e?e.minWidth:this.minWidth,maxWidth:e&&"maxWidth"in e?e.maxWidth:this.maxWidth,velocityFilterWeight:e&&"velocityFilterWeight"in e?e.velocityFilterWeight:this.velocityFilterWeight}}_strokeBegin(e){this.dispatchEvent(new CustomEvent("beginStroke",{detail:e}));const t=this._getPointGroupOptions(),r=Object.assign(Object.assign({},t),{points:[]});this._data.push(r),this._reset(t),this._strokeUpdate(e)}_strokeUpdate(e){if(0===this._data.length)return void this._strokeBegin(e);this.dispatchEvent(new CustomEvent("beforeUpdateStroke",{detail:e}));const s=this._createPoint(e.clientX,e.clientY,void 0!==e.pressure?e.pressure:void 0!==e.force?e.force:0),o=this._data[this._data.length-1],l=o.points,c=l.length>0&&l[l.length-1],f=!!c&&s.distanceTo(c)<=this.minDistance,h=this._getPointGroupOptions(o);if(!c||!c||!f){const m=this._addPoint(s,h);c?m&&this._drawCurve(m,h):this._drawDot(s,h),l.push({time:s.time,x:s.x,y:s.y,pressure:s.pressure})}this.dispatchEvent(new CustomEvent("afterUpdateStroke",{detail:e}))}_strokeEnd(e){this._strokeUpdate(e),this.dispatchEvent(new CustomEvent("endStroke",{detail:e}))}_handlePointerEvents(){this._drawningStroke=!1,this.canvas.addEventListener("pointerdown",this._handlePointerStart),this.canvas.addEventListener("pointermove",this._handlePointerMove),this.canvas.ownerDocument.addEventListener("pointerup",this._handlePointerEnd)}_handleMouseEvents(){this._drawningStroke=!1,this.canvas.addEventListener("mousedown",this._handleMouseDown),this.canvas.addEventListener("mousemove",this._handleMouseMove),this.canvas.ownerDocument.addEventListener("mouseup",this._handleMouseUp)}_handleTouchEvents(){this.canvas.addEventListener("touchstart",this._handleTouchStart),this.canvas.addEventListener("touchmove",this._handleTouchMove),this.canvas.addEventListener("touchend",this._handleTouchEnd)}_reset(e){this._lastPoints=[],this._lastVelocity=0,this._lastWidth=(e.minWidth+e.maxWidth)/2,this._ctx.fillStyle=e.penColor}_createPoint(e,t,r){const i=this.canvas.getBoundingClientRect();return new ny(e-i.left,t-i.top,r,(new Date).getTime())}_addPoint(e,t){const{_lastPoints:r}=this;if(r.push(e),r.length>2){3===r.length&&r.unshift(r[0]);const i=this._calculateCurveWidths(r[1],r[2],t),s=YC.fromPoints(r,i);return r.shift(),s}return null}_calculateCurveWidths(e,t,r){const i=r.velocityFilterWeight*t.velocityFrom(e)+(1-r.velocityFilterWeight)*this._lastVelocity,s=this._strokeWidth(i,r),o={end:s,start:this._lastWidth};return this._lastVelocity=i,this._lastWidth=s,o}_strokeWidth(e,t){return Math.max(t.maxWidth/(e+1),t.minWidth)}_drawCurveSegment(e,t,r){const i=this._ctx;i.moveTo(e,t),i.arc(e,t,r,0,2*Math.PI,!1),this._isEmpty=!1}_drawCurve(e,t){const r=this._ctx,i=e.endWidth-e.startWidth,s=2*Math.ceil(e.length());r.beginPath(),r.fillStyle=t.penColor;for(let o=0;o<s;o+=1){const l=o/s,c=l*l,f=c*l,h=1-l,m=h*h,y=m*h;let D=y*e.startPoint.x;D+=3*m*l*e.control1.x,D+=3*h*c*e.control2.x,D+=f*e.endPoint.x;let O=y*e.startPoint.y;O+=3*m*l*e.control1.y,O+=3*h*c*e.control2.y,O+=f*e.endPoint.y;const $=Math.min(e.startWidth+f*i,t.maxWidth);this._drawCurveSegment(D,O,$)}r.closePath(),r.fill()}_drawDot(e,t){const r=this._ctx,i=t.dotSize>0?t.dotSize:(t.minWidth+t.maxWidth)/2;r.beginPath(),this._drawCurveSegment(e.x,e.y,i),r.closePath(),r.fillStyle=t.penColor,r.fill()}_fromData(e,t,r){for(const i of e){const{points:s}=i,o=this._getPointGroupOptions(i);if(s.length>1)for(let l=0;l<s.length;l+=1){const c=s[l],f=new ny(c.x,c.y,c.pressure,c.time);0===l&&this._reset(o);const h=this._addPoint(f,o);h&&t(h,o)}else this._reset(o),r(s[0],o)}}toSVG({includeBackgroundColor:e=!1}={}){const t=this._data,r=Math.max(window.devicePixelRatio||1,1),o=this.canvas.width/r,l=this.canvas.height/r,c=document.createElementNS("http://www.w3.org/2000/svg","svg");if(c.setAttribute("xmlns","http://www.w3.org/2000/svg"),c.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),c.setAttribute("viewBox",`0 0 ${o} ${l}`),c.setAttribute("width",o.toString()),c.setAttribute("height",l.toString()),e&&this.backgroundColor){const f=document.createElement("rect");f.setAttribute("width","100%"),f.setAttribute("height","100%"),f.setAttribute("fill",this.backgroundColor),c.appendChild(f)}return this._fromData(t,(f,{penColor:h})=>{const m=document.createElement("path");if(!(isNaN(f.control1.x)||isNaN(f.control1.y)||isNaN(f.control2.x)||isNaN(f.control2.y))){const y=`M ${f.startPoint.x.toFixed(3)},${f.startPoint.y.toFixed(3)} C ${f.control1.x.toFixed(3)},${f.control1.y.toFixed(3)} ${f.control2.x.toFixed(3)},${f.control2.y.toFixed(3)} ${f.endPoint.x.toFixed(3)},${f.endPoint.y.toFixed(3)}`;m.setAttribute("d",y),m.setAttribute("stroke-width",(2.25*f.endWidth).toFixed(3)),m.setAttribute("stroke",h),m.setAttribute("fill","none"),m.setAttribute("stroke-linecap","round"),c.appendChild(m)}},(f,{penColor:h,dotSize:m,minWidth:y,maxWidth:D})=>{const O=document.createElement("circle");O.setAttribute("r",(m>0?m:(y+D)/2).toString()),O.setAttribute("cx",f.x.toString()),O.setAttribute("cy",f.y.toString()),O.setAttribute("fill",h),c.appendChild(O)}),c.outerHTML}}let Lr=(()=>{class n{constructor(){if(this.injector=window.FormbirdServiceInjector,!this.injector){const t=document.querySelectorAll("#bodyAngularJS div[ui-view]");this.injector=angular.element(t).injector()}}get(t){return this.injector.get(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),BV=(()=>{class n{constructor(t){this.formbirdInjectorService=t,this.searchService=t.get("SearchService")}search(t,r){return this.searchService.search(t,r)}generatePit(){return this.searchService.generatePit()}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),HV=(()=>{class n{constructor(){}clientConfig(){return window.ftClientConfig}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),jV=(()=>{class n{constructor(t){this.injector=t,this.ajsService=t.get("ModifiedFieldService")}resetFormDirty(){this.ajsService.resetFormDirty()}isDirty(){return this.ajsService.isDirty()}addModifiedField(t,r,i,s,o){return this.ajsService.addModifiedField(t,r,i,s,o)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),UV=(()=>{class n{constructor(t){this.injector=t,this.ajsService=t.get("UnsavedDocumentService")}setDocument(t,r){return this.ajsService.setDocument(t,r)}setTemplate(t,r,i){return this.ajsService.setTemplate(t,r,i)}removeDocumentList(t){return this.ajsService.removeDocumentList(t)}createUnsavedDocumentList(t,r){return this.ajsService.createUnsavedDocumentList(t,r)}updateDocumentListInfo(t,r){this.ajsService.updateDocumentListInfo(t,r)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),WV=(()=>{class n{constructor(t){this.injector=t,this.ajsClientRulesService=t.get("ClientRulesService")}getSharedValue(t){return this.ajsClientRulesService.getSharedValue(t)}setSharedValue(t,r){return this.ajsClientRulesService.setSharedValue(t,r)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),GV=(()=>{class n{constructor(t){this.formbirdInjectorService=t,this.ajsService=t.get("OfflineUtilService")}getNextId(){return this.ajsService.getNextId()}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),zV=(()=>{class n{constructor(t){this.injector=t,this.ajsService=t.get("BroadcastService"),this.rebroadcastAngularJSEvents()}rebroadcastAngularJSEvents(){if("undefined"!=typeof angular){const t=document.querySelectorAll("div[ui-view]"),r=angular.element(t).injector();r&&r.get("$rootScope").$on("document:updated",(s,o)=>{this.broadcast("document:updated",o)})}}broadcast(t,r){this.ajsService?this.ajsService.broadcast(t,r):console.log("No BroadcastService provided.")}on(t){if(this.ajsService)return this.ajsService.on(t);console.log("No BroadcastService provided.")}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),qV=(()=>{class n{constructor(t){this.injector=t,this.ajsService=t.get("NotificationService")}printMessage(t,r,i,s,o,l,c,f,h){return this.ajsService.printMessage(t,r,i,s,o,l,c,f,h)}success(t,r,i){return this.ajsService.success(t,r,i)}error(t,r,i){return this.ajsService.error(t,r,i)}warning(t,r,i){return this.ajsService.warning(t,r,i)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),$V=(()=>{class n{constructor(){if(window.angular){const t=document.querySelectorAll("div[ui-view]"),r=angular.element(t).injector();this.ajsService=r.get("$location")}}go(t){return this.ajsService.path(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),YV=(()=>{class n{constructor(t){this.formbirdInjectorService=t,this.ajsService=t.get("ModalService")}showDialog(t,r,i,s,o){this.ajsService.showDialog(t,r,i,s,o)}openDialog(t){this.ajsService.openDialog(t)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),KV=(()=>{class n{constructor(t){this.injector=t,this.ajsService=t.get("DocumentListService")}setupDocumentListId(){return this.ajsService.setupDocumentListId()}save(){return this.ajsService.save()}clearDocuments(t){this.ajsService.clearDocuments(t)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),QV=(()=>{class n{constructor(t){this.injector=t,this.validationCtrlValues={},this.ajsService=t.get("ValidationService"),this.validationCtrlValues=this.ajsService.validationCtrlValues}loadValidators(t,r){return this.ajsService.loadValidators(t,r)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})(),ZV=(()=>{class n{constructor(t){this.injector=t,this.ajsService=t.get("WebSocketService")}emit(t,r){return this.ajsService.emit(t,r)}addEventListener(t,r){return this.ajsService.addEventListener(t,r)}removeEventListener(t){return this.ajsService.removeEventListener(t)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),KC=(()=>{class n{constructor(t){this.injector=t,this.ajsService=t.get("ChangedDocumentService")}watch(t,r,i,s){return this.ajsService.watch(t,r,i,s)}valueChanged(t,r,i,s){this.ajsService.valueChanged(t,r,i,s)}dispatchChanged(t){this.ajsService.dispatchChanged(t)}executeOnFieldChangeWithNoChanges(t){this.ajsService.executeOnFieldChangeWithNoChanges(t)}watchDocument(t){return this.ajsService.watchDocument(t)}watchStoreChanges(){return this.ajsService.watchStoreChanges()}dispatchAction(t){this.ajsService.dispatchAction(t)}watchComponentTemplate(t){return this.ajsService.watchComponentTemplate(t)}watchComponentDef(t,r){return this.ajsService.watchComponentDef(t,r)}notifyIntializedField(t,r){return this.ajsService.notifyIntializedField(t,r)}notifyDocumentChanged(t){return this.ajsService.notifyDocumentChanged(t)}notifyComponentDefinitionUpdated(t,r,i,s){return this.ajsService.notifyComponentDefinitionUpdated(t,r,i,s)}setOrgDocument(t){return this.ajsService.setOrgDocument(t)}setDocumentInfo(t,r){return this.ajsService.setDocumentInfo(t,r)}setDocument(t){return this.ajsService.setDocument(t)}setComponentFlagTemplate(t,r,i,s){return this.ajsService.setComponentFlagTemplate(t,r,i,s)}isLoadedDocument(t,r){return this.ajsService.isLoadedDocument(t,r)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),XV=(()=>{class n{constructor(t){this.injector=t,this.ajsService=t.get("FinaliseValueFieldService")}addFinaliseValueFunction(t,r,i){this.ajsService.addFinaliseValueFunction(t,r,i)}getFinaliseValueFunction(t,r){return this.ajsService.getFinaliseValueFunction(t,r)}finaliseFieldValues(t,r){this.ajsService.finaliseFieldValues(t,r)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),JV=(()=>{class n{constructor(t){this.formbirdInjectorService=t,this.offlineStatusService=t.get("OfflineStatusService"),this.offlineStatus$=this.offlineStatusService.offlineStatus$,this.offlineStatus=this.offlineStatusService.offlineStatus,this.pageDownloadProgress=this.offlineStatusService.pageDownloadProgress}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),eB=(()=>{class n{constructor(t){this.injector=t,this.service=t.get("RouterService")}getActivatedRouteSnapshot(){return this.service.getActivatedRouteSnapshot()}navigate(t){return this.service.navigate(t)}navigateByUrl(t,r){return this.service.navigateByUrl(t,r)}}return n.\u0275fac=function(t){return new(t||n)(le(Lr))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),tB=(()=>{class n{constructor(){}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:[HV,zV,WV,jV,GV,JV,BV,UV,qV,YV,$V,KV,QV,ZV,KC,XV,eB],imports:[[]]}),n})();class nB extends w{constructor(e,t){super()}schedule(e,t=0){return this}}class iy extends nB{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}requestAsyncId(e,t,r=0){return setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,t,r=0){if(null!==r&&this.delay===r&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let i,r=!1;try{this.work(e)}catch(s){r=!0,i=!!s&&s||new Error(s)}if(r)return this.unsubscribe(),i}_unsubscribe(){const e=this.id,t=this.scheduler,r=t.actions,i=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&r.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}let vI=(()=>{class n{constructor(t,r=n.now){this.SchedulerAction=t,this.now=r}schedule(t,r=0,i){return new this.SchedulerAction(this,t).schedule(i,r)}}return n.now=()=>Date.now(),n})();class oo extends vI{constructor(e,t=vI.now){super(e,()=>oo.delegate&&oo.delegate!==this?oo.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,r){return oo.delegate&&oo.delegate!==this?oo.delegate.schedule(e,t,r):super.schedule(e,t,r)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let r;this.active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}}const QC=new oo(iy);function bI(n,e=QC){return t=>t.lift(new rB(n,e))}class rB{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new iB(e,this.dueTime,this.scheduler))}}class iB extends E{constructor(e,t,r){super(e),this.dueTime=t,this.scheduler=r,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(sB,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function sB(n){n.debouncedNext()}function EI(...n){if(1===n.length){const e=n[0];if(R(e))return sy(e,null);if(k(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return sy(t.map(r=>e[r]),t)}}if("function"==typeof n[n.length-1]){const e=n.pop();return sy(n=1===n.length&&R(n[0])?n[0]:n,null).pipe(tt(t=>e(...t)))}return sy(n,null)}function sy(n,e){return new se(t=>{const r=n.length;if(0===r)return void t.complete();const i=new Array(r);let s=0,o=0;for(let l=0;l<r;l++){const c=bi(n[l]);let f=!1;t.add(c.subscribe({next:h=>{f||(f=!0,o++),i[l]=h},error:h=>t.error(h),complete:()=>{s++,(s===r||!f)&&(o===r&&t.next(e?e.reduce((h,m,y)=>(h[m]=i[y],h),{}):i),t.complete())}}))}})}function Il(n){return null==n||0===n.length}function wI(n){return null!=n&&"number"==typeof n.length}const cB=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class dB{static min(e){return function SI(n){return e=>{if(Il(e.value)||Il(n))return null;const t=parseFloat(e.value);return!isNaN(t)&&t<n?{min:{min:n,actual:e.value}}:null}}(e)}static max(e){return function AI(n){return e=>{if(Il(e.value)||Il(n))return null;const t=parseFloat(e.value);return!isNaN(t)&&t>n?{max:{max:n,actual:e.value}}:null}}(e)}static required(e){return function TI(n){return Il(n.value)?{required:!0}:null}(e)}static requiredTrue(e){return function II(n){return!0===n.value?null:{required:!0}}(e)}static email(e){return function MI(n){return Il(n.value)||cB.test(n.value)?null:{email:!0}}(e)}static minLength(e){return function xI(n){return e=>Il(e.value)||!wI(e.value)?null:e.value.length<n?{minlength:{requiredLength:n,actualLength:e.value.length}}:null}(e)}static maxLength(e){return function OI(n){return e=>wI(e.value)&&e.value.length>n?{maxlength:{requiredLength:n,actualLength:e.value.length}}:null}(e)}static pattern(e){return function RI(n){if(!n)return Ap;let e,t;return"string"==typeof n?(t="","^"!==n.charAt(0)&&(t+="^"),t+=n,"$"!==n.charAt(n.length-1)&&(t+="$"),e=new RegExp(t)):(t=n.toString(),e=n),r=>{if(Il(r.value))return null;const i=r.value;return e.test(i)?null:{pattern:{requiredPattern:t,actualValue:i}}}}(e)}static nullValidator(e){return null}static compose(e){return VI(e)}static composeAsync(e){return BI(e)}}function Ap(n){return null}function PI(n){return null!=n}function FI(n){const e=c_(n)?bi(n):n;return cE(e),e}function NI(n){let e={};return n.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function kI(n,e){return e.map(t=>t(n))}function LI(n){return n.map(e=>function fB(n){return!n.validate}(e)?e:t=>e.validate(t))}function VI(n){if(!n)return null;const e=n.filter(PI);return 0==e.length?null:function(t){return NI(kI(t,e))}}function BI(n){if(!n)return null;const e=n.filter(PI);return 0==e.length?null:function(t){return EI(kI(t,e).map(FI)).pipe(tt(NI))}}function e0(n){return n?Array.isArray(n)?n:[n]:[]}function oy(n,e){return Array.isArray(n)?n.includes(e):n===e}function WI(n,e){const t=e0(e);return e0(n).forEach(i=>{oy(t,i)||t.push(i)}),t}function GI(n,e){return e0(e).filter(t=>!oy(n,t))}function fy(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}const Ip="VALID",hy="INVALID",qd="PENDING",Mp="DISABLED";function a0(n){return(u0(n)?n.validators:n)||null}function QI(n){return Array.isArray(n)?function XC(n){return null!=n?VI(LI(n)):null}(n):n||null}function l0(n,e){return(u0(e)?e.asyncValidators:n)||null}function ZI(n){return Array.isArray(n)?function JC(n){return null!=n?BI(LI(n)):null}(n):n||null}function u0(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}class c0{constructor(e,t){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=e,this._rawAsyncValidators=t,this._composedValidatorFn=QI(this._rawValidators),this._composedAsyncValidatorFn=ZI(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Ip}get invalid(){return this.status===hy}get pending(){return this.status==qd}get disabled(){return this.status===Mp}get enabled(){return this.status!==Mp}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._rawValidators=e,this._composedValidatorFn=QI(e)}setAsyncValidators(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=ZI(e)}addValidators(e){this.setValidators(WI(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(WI(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(GI(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(GI(e,this._rawAsyncValidators))}hasValidator(e){return oy(this._rawValidators,e)}hasAsyncValidator(e){return oy(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=qd,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=Mp,this.errors=null,this._forEachChild(r=>{r.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=Ip,this._forEachChild(r=>{r.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ip||this.status===qd)&&this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Mp:Ip}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=qd,this._hasOwnPendingAsyncValidator=!0;const t=FI(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function SB(n,e,t){if(null==e||(Array.isArray(e)||(e=e.split(t)),Array.isArray(e)&&0===e.length))return null;let r=n;return e.forEach(i=>{r=r instanceof py?r.controls.hasOwnProperty(i)?r.controls[i]:null:r instanceof AB&&r.at(i)||null}),r}(this,e,".")}getError(e,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new tr,this.statusChanges=new tr}_calculateStatus(){return this._allControlsDisabled()?Mp:this.errors?hy:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(qd)?qd:this._anyControlsHaveStatus(hy)?hy:Ip}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){u0(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class $d extends c0{constructor(e=null,t,r){super(a0(t),l0(r,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){fy(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){fy(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class py extends c0{constructor(e,t,r){super(a0(t),l0(r,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,r={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(r=>{this._throwIfControlMissing(r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(r=>{this.controls[r]&&this.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((r,i)=>{r.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,r)=>(e[r]=t instanceof $d?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&e(r,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const r=this.controls[t];if(this.contains(t)&&e(r))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,r)=>((t.enabled||this.disabled)&&(e[r]=t.value),e))}_reduceChildren(e,t){let r=e;return this._forEachChild((i,s)=>{r=t(r,i,s)}),r}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,r)=>{if(void 0===e[r])throw new Error(`Must supply a value for form control with name: '${r}'.`)})}}class AB extends c0{constructor(e,t,r){super(a0(t),l0(r,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[e]}push(e,t={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(e,t,r={}){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(e,t,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((r,i)=>{this._throwIfControlMissing(i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((r,i)=>{r.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof $d?e.value:e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_syncPendingControls(){let e=this.controls.reduce((t,r)=>!!r._syncPendingControls()||t,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error(`Cannot find form control at index ${e}`)}_forEachChild(e){this.controls.forEach((t,r)=>{e(t,r)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,r)=>{if(void 0===e[r])throw new Error(`Must supply a value for form control at index: ${r}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}let r1=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({}),n})(),e3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[r1]]}),n})(),t3=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[e3]}),n})();const kt="api/",ve={appHome:"/",appLogin:"/",appForgotPass:"forgotpass",appForgotPassAction:"auth/forgotpass",appResetPass:"resetpass",appResetpassAction:"auth/resetpass",appActivateAccount:"activateAccount",appActivateAccountAction:"auth/activateAccount",appDefault:"default",logout:"auth/logout",logoutAllDevices:"auth/logoutAllDevices",login:"auth/login/local",loginSaml:"auth/login/saml",loginGoogle:"auth/login/google",loginGoogleCallback:"auth/login/google/callback",loginFacebook:"auth/login/facebook",loginFacebookCallback:"auth/login/facebook/callback",loggedUser:"api/loggedUser",loggedUserData:"api/loggedUserData"};ve.loggedUserAccountControlDocument=ve.loggedUser+"/accountControlDocument",ve.loggedUserAccountGroupConfigDocument=ve.loggedUser+"/accountGroupConfigDocument",ve.testPassword="password/test",ve.publicLogin="/auth/login/public",ve.uploadFiles=kt+"uploadFiles",ve.deleteFile=kt+"deleteFile",ve.loadFile=kt+"getFile",ve.getFile=kt+"getFile/:fileNo",ve.getFileWithName=kt+"getFile/:fileNo/:fileName",ve.packageImport=kt+"uploadPackage",ve.packageExport=kt+"packageExport/:id",ve.packageCleanUp=kt+"packageCleanUp/:type/:id",ve.document=kt+"document",ve.documentWithUser=kt+"document/:userId",ve.documentWithUserBase=kt+"documentWithUser",ve.templateAndDocument=kt+"templateAndDocument",ve.templateAndDocumentId=ve.templateAndDocument+"/:id",ve.templateAndDocumentWithTemplateId=ve.templateAndDocument+"/:id/:templateId",ve.documentDeepDiffUpdate=ve.document+"/deepDiffUpdate",ve.documentDeepDiffUpdateSingle=ve.documentDeepDiffUpdate+"/:id",ve.documentExists=ve.document+"/exists",ve.documentExistsFull=ve.documentExists+"/:id",ve.documentExistsIncludeDeleted=ve.documentExists+"/:id/:includeDeleted",ve.documentSingle=ve.document+"/:id",ve.documentSingleWithUser=ve.documentWithUserBase+"/:id/:userId",ve.documentDestroy=ve.document+"/:id",ve.documentDestroyWithTemplateIdAndPreviousVersionId=ve.document+"/:id/:templateId/:previousVersionId",ve.documentSingleOverrideTpl=ve.documentDeepDiffUpdate+"/:id/:template",ve.documentDeepDiffUpdateWithUser=ve.document+"/deepDiffUpdateWithUser",ve.documentDeepDiffUpdateSingleWithUser=ve.documentDeepDiffUpdateWithUser+"/:id/:userId",ve.syncDocuments=kt+"syncDocuments",ve.syncRecordsByServerUpdatedDateWithPagination=ve.syncDocuments+"/:startTime/:pageNumber",ve.syncDocumentsCountURL=kt+"syncDocumentsCount",ve.syncDocumentsCountByDateRoute=ve.syncDocumentsCountURL+"/:startTime",ve.undeleteDocument=kt+"undelete/:id",ve.bulkUploadDocuments=kt+"bulkUploadDocuments",ve.documentAudit=kt+"documentAudit",ve.indexHtml="/index.html",ve.documentSearch=kt+"documentSearch",ve.documentFind=kt+"documentFind/:query",ve.documentsBaseUrl=kt+"documents",ve.documentsUrl=ve.documentsBaseUrl+"/:query",ve.documentFetch=kt+"documentFetch",ve.versionFetch=kt+"versionFetch",ve.loadDocsForRulesBaseUrl=kt+"documents/loadDocsForRules",ve.loadDocsForRulesUrl=ve.loadDocsForRulesBaseUrl+"/:userId",ve.loadIncludeDocs=kt+"loadIncludeDocs",ve.template=kt+"template",ve.templateSingle=ve.template+"/:id",ve.sessionTest=kt+"sessionTest",ve.serverTime=kt+"time/current",ve.executeFunction=kt+"execute",ve.loadComponentDoc=kt+"loadComponentDoc/:componentName",ve.loadVendorLibrary=kt+"loadVendorLibrary/:name",ve.loadVendorLibraries=kt+"loadVendorLibraries",ve.loadClientConfig="clientConfig",ve.clientResources=kt+"clientResources";var C1=J(8784);J(3071),console,console,J(1116);var C0=J(5947);class S1{static generateId(){const e="undefined"!=typeof window?window.crypto:void 0;if(void 0!==e&&e.randomUUID)return e.randomUUID();{const t=C0.v4(),r=Math.random().toString();return C0.v5(r,t)}}static isValid(e){return e&&36===e.length}}const et={ACCEPTED:202,BAD_GATEWAY:502,BAD_REQUEST:400,CONFLICT:409,CONTINUE:100,CREATED:201,EXPECTATION_FAILED:417,FORBIDDEN:403,GATEWAY_TIMEOUT:504,GONE:410,HTTP_VERSION_NOT_SUPPORTED:505,INSUFFICIENT_SPACE_ON_RESOURCE:419,INSUFFICIENT_STORAGE:507,INTERNAL_SERVER_ERROR:500,LENGTH_REQUIRED:411,LOCKED:423,METHOD_FAILURE:420,METHOD_NOT_ALLOWED:405,MOVED_PERMANENTLY:301,MOVED_TEMPORARILY:302,MULTI_STATUS:207,MULTIPLE_CHOICES:300,NO_CONTENT:204,NON_AUTHORITATIVE_INFORMATION:203,NOT_ACCEPTABLE:406,NOT_FOUND:404,NOT_IMPLEMENTED:501,NOT_MODIFIED:304,OK:200,PARTIAL_CONTENT:206,PAYMENT_REQUIRED:402,PRECONDITION_FAILED:412,PROCESSING:102,PROXY_AUTHENTICATION_REQUIRED:407,REQUEST_TIMEOUT:408,REQUEST_TOO_LONG:413,REQUEST_URI_TOO_LONG:414,REQUESTED_RANGE_NOT_SATISFIABLE:416,RESET_CONTENT:205,SEE_OTHER:303,SERVICE_UNAVAILABLE:503,SWITCHING_PROTOCOLS:101,TEMPORARY_REDIRECT:307,UNAUTHORIZED:401,UNPROCESSABLE_ENTITY:422,UNSUPPORTED_MEDIA_TYPE:415,USE_PROXY:305,ELASTICSEARCH:306,SERVER_UNRESPONSIVE:0,EARLY_HINTS:103},Xe={};Xe[et.ACCEPTED]="Accepted",Xe[et.BAD_GATEWAY]="Bad Gateway",Xe[et.BAD_REQUEST]="Bad Request",Xe[et.CONFLICT]="Conflict",Xe[et.CONTINUE]="Continue",Xe[et.CREATED]="Created",Xe[et.EXPECTATION_FAILED]="Expectation Failed",Xe[et.FORBIDDEN]="Forbidden",Xe[et.GATEWAY_TIMEOUT]="Gateway Timeout",Xe[et.GONE]="Gone",Xe[et.HTTP_VERSION_NOT_SUPPORTED]="HTTP Version Not Supported",Xe[et.INSUFFICIENT_SPACE_ON_RESOURCE]="Insufficient Space on Resource",Xe[et.INSUFFICIENT_STORAGE]="Insufficient Storage",Xe[et.INTERNAL_SERVER_ERROR]="Server Error",Xe[et.LENGTH_REQUIRED]="Length Required",Xe[et.LOCKED]="Locked",Xe[et.METHOD_FAILURE]="Method Failure",Xe[et.METHOD_NOT_ALLOWED]="Method Not Allowed",Xe[et.MOVED_PERMANENTLY]="Moved Permanently",Xe[et.MOVED_TEMPORARILY]="Moved Temporarily",Xe[et.MULTI_STATUS]="Multi-Status",Xe[et.MULTIPLE_CHOICES]="Multiple Choices",Xe[et.NO_CONTENT]="No Content",Xe[et.NON_AUTHORITATIVE_INFORMATION]="Non Authoritative Information",Xe[et.NOT_ACCEPTABLE]="Not Acceptable",Xe[et.NOT_FOUND]="Not Found",Xe[et.NOT_IMPLEMENTED]="Not Implemented",Xe[et.NOT_MODIFIED]="Not Modified",Xe[et.OK]="OK",Xe[et.PARTIAL_CONTENT]="Partial Content",Xe[et.PAYMENT_REQUIRED]="Payment Required",Xe[et.PRECONDITION_FAILED]="Precondition Failed",Xe[et.PROCESSING]="Processing",Xe[et.PROXY_AUTHENTICATION_REQUIRED]="Proxy Authentication Required",Xe[et.REQUEST_TIMEOUT]="Request Timeout",Xe[et.REQUEST_TOO_LONG]="Request Entity Too Large",Xe[et.REQUEST_URI_TOO_LONG]="Request-URI Too Long",Xe[et.REQUESTED_RANGE_NOT_SATISFIABLE]="Requested Range Not Satisfiable",Xe[et.RESET_CONTENT]="Reset Content",Xe[et.SEE_OTHER]="See Other",Xe[et.SERVICE_UNAVAILABLE]="Service Unavailable",Xe[et.SWITCHING_PROTOCOLS]="Switching Protocols",Xe[et.TEMPORARY_REDIRECT]="Temporary Redirect",Xe[et.UNAUTHORIZED]="Unauthorized",Xe[et.UNPROCESSABLE_ENTITY]="Unprocessable Entity",Xe[et.UNSUPPORTED_MEDIA_TYPE]="Unsupported Media Type",Xe[et.USE_PROXY]="Use Proxy",Xe[et.ELASTICSEARCH]="Error - search is not running. Please contact a system administrator to configure it",Xe[et.SERVER_UNRESPONSIVE]="Aborted/Timed out request: Server is down or client not connected.",Xe[et.EARLY_HINTS]="Early Hints",et.getStatusText=function m3(n){if(Xe.hasOwnProperty(n))return Xe[n];throw new Error("Status code does not exist: "+n)},J(8372);let w0=(()=>{class n{constructor(){this.formGroups={}}setupStandardProperties(t){const r=t.componentDefinition;r&&(t.disabled=!1===r.enabled),t.elementName=t.fieldName,t.registeredControlName=t.fieldName+t.key+S1.generateId()}setupStandardComponent(t,r){this.setupStandardProperties(t);const s=this.ensureFormGroupExisted(t.document.documentId),o=t.componentDefinition;this.setupDefaultValidator(o,r);const l=new $d({value:t.fieldValue,disabled:this.isComponentDisabled(o)},r);return s.registerControl(t.registeredControlName,l)}setupControl(t,r,i,s){const o=this.ensureFormGroupExisted(t.document.documentId),l=new $d(i,s),c=r+t.key+S1.generateId();return o.registerControl(c,l)}enableField(t,r){r&&(!1===t.enabled?r.disable({emitEvent:!1}):r.enable({emitEvent:!1}))}enableFieldByFlag(t,r){r&&(!1===t?r.disable({emitEvent:!1}):r.enable({emitEvent:!1}))}setupDefaultValidator(t,r){r=r||[],t.mandatory&&r.push(dB.required)}isComponentDisabled(t){return!1===t.enabled}ensureFormGroupExisted(t){return this.formGroups[t]||(this.formGroups[t]=new py({})),this.formGroups[t]}getControl(t,r){return this.formGroups[t]?this.formGroups[t].get(r):null}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class D3{isErrorState(e,t){return!!(e&&e.invalid&&(e.dirty||e.touched||t&&t.submitted))}}let w3=(()=>{class n{constructor(t,r,i,s){this.formbirdInjectorService=t,this.changedDocumentService=r,this.componentSetupService=i,this.cdr=s,this.shouldNotifyCompInitializedInSuper=!0,this.shouldDispatchEmptyFieldValue=!0,this.subs=new w,this.matcher=new D3,this.broadcastService=t.get("BroadcastService")}ngOnInit(){this.setupComponent(),this.initializeFieldValue(),this.setupChangeDetection(),this.shouldNotifyCompInitializedInSuper&&this.notifyComponentIntialized()}ngOnDestroy(){this.subs.unsubscribe()}setupComponent(){this.formControl=this.componentSetupService.setupStandardComponent(this,this.validators),this.setFieldActivation(!1)}setupChangeDetection(t){if(this.fieldName){const i=this.changedDocumentService.watch(this.fieldName,this.document.documentId,this.registeredControlName).subscribe(s=>{this.onFieldValueChanged(s)});this.subs.add(i)}const r=this.changedDocumentService.watchComponentDef(this.fieldName,this.template.documentId).subscribe(i=>{this.onComponentDefChanged(i)});if(this.subs.add(r),this.formControl){let i;i=t?this.formControl.valueChanges.subscribe(s=>{this.onControlValueChanged(s)}):this.formControl.valueChanges.pipe(bI(500)).subscribe(s=>{this.onControlValueChanged(s)}),this.subs.add(i)}this.setupDocumentCreatedDetection()}setFieldActivation(t){this.componentSetupService.enableField(this.componentDefinition,this.formControl),this.detectChanges(t)}valueChanged(t){this.fieldValue=t,this.changedDocumentService.valueChanged(this,t,this.registeredControlName)}dispatchChanged(t){this.changedDocumentService.notifyDocumentChanged({documentId:this.document.documentId,fieldName:this.fieldName,newValue:this.fieldValue,isInitValue:t})}detectChanges(t){!1!==t&&!this.cdr.destroyed&&this.cdr.detectChanges()}updateComponentDefChange(t){this.componentDefinition=t}onControlValueChanged(t){this.valueChanged(t)}onComponentDefChanged(t){console.log("Change detection on template: ",t.name),this.updateComponentDefChange(t);const r=!1===t.enabled;this.disabled!==r?(this.disabled=r,this.setFieldActivation()):this.detectChanges()}isEqualFieldValue(t){return this.fieldValue===t}onFieldValueChanged(t,r=!0){this.isEqualFieldValue(t)||(console.log(`On field value changed for component: ${this.registeredControlName} - has label: ${this.componentDefinition.label}`),this.fieldValue=t,this.formControl&&this.formControl.patchValue(this.fieldValue,{emitEvent:!1,onlySelf:!0}),r&&this.detectChanges())}setupDocumentCreatedDetection(){const t=this.broadcastService.on("document:new").subscribe(r=>{this.onDocumentCreated(r),this.detectChanges()});this.subs.add(t)}onDocumentCreated(t){const r=null==t?void 0:t.document;if(r){const s=r.documentId;(null==t?void 0:t.unsavedDocumentListId)===this.formParameters.unsavedDocumentListId&&this.document.documentId===s&&(this.fieldValue=r[this.fieldName],this.initializeFieldValue(),this.notifyComponentIntialized())}}initializeFieldValue(){}notifyComponentIntialized(){this.changedDocumentService.notifyIntializedField(this,this.shouldDispatchEmptyFieldValue)}notifyComponentDefChanged(){}}return n.\u0275fac=function(t){return new(t||n)(de(Lr),de(KC),de(w0),de(Vd))},n.\u0275cmp=vs({type:n,selectors:[["ng-component"]],inputs:{document:"document",fieldValue:"fieldValue",template:"template",fieldName:"fieldName",formParameters:"formParameters",key:"key",responsiveLayouts:"responsiveLayouts",message:"message",componentDefinition:"componentDefinition"},decls:0,vars:0,template:function(t,r){},encapsulation:2}),n})(),S3=(()=>{class n{constructor(){if(this.injector=window.FormbirdServiceInjector,!this.injector){const t=document.querySelectorAll("#bodyAngularJS div[ui-view]");this.injector=angular.element(t).injector()}}get(t){return this.injector.get(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),A3=(()=>{class n{constructor(){this.chunkSeparator="_",this.charmap={},this.charmapReverse={},this.minus="Z",this.plus="Y",this.acceptedformat="image/jsignature;base30",this.allchars="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX".split(""),this.bitness=this.allchars.length/2;for(let t=this.bitness-1;t>-1;t--)this.charmap[this.allchars[t]]=this.allchars[t+this.bitness],this.charmapReverse[this.allchars[t+this.bitness]]=this.allchars[t]}remapTailChars(t){const r=t.split(""),i=r.length;for(let s=1;s<i;s++)r[s]=this.charmap[r[s]];return r.join("")}compressstrokeleg(t){const r=[];let i=0,o=1;const l=t.length;let c,f,h;for(let m=0;m<l;m++)c=Math.round(t[m]),f=c-i,i=c,f<0&&o>0?(o=-1,r.push(this.minus)):f>0&&o<0&&(o=1,r.push(this.plus)),h=Math.abs(f),r.push(h>=this.bitness?this.remapTailChars(h.toString(this.bitness)):h.toString(this.bitness));return r.join("")}uncompressstrokeleg(t){const r=[],i=t.split(""),s=i.length;let o,h,l=1,c=[],f=0;for(let m=0;m<s;m++)o=i[m],o in this.charmap||o===this.minus||o===this.plus?(0!==c.length&&(h=parseInt(c.join(""),this.bitness)*l+f,r.push(h),f=h),o===this.minus?(l=-1,c=[]):o===this.plus?(l=1,c=[]):c=[o]):c.push(this.charmapReverse[o]);return r.push(parseInt(c.join(""),this.bitness)*l+f),r}compressstrokes(t){const r=[],i=t.length;let s;for(let o=0;o<i;o++)s=t[o],r.push(this.compressstrokeleg(s.x)),r.push(this.compressstrokeleg(s.y));return r.join(this.chunkSeparator)}uncompressstrokes(t){const r=[],i=t.split(this.chunkSeparator),s=i.length/2;for(let o=0;o<s;o++)r.push({x:this.uncompressstrokeleg(i[2*o]),y:this.uncompressstrokeleg(i[2*o+1])});return r}pluginCompressor(t){return[this.acceptedformat,this.compressstrokes(t)]}pluginDecompressor(t,r,i){"string"==typeof t&&(t.substring(0,this.acceptedformat.length).toLowerCase()===this.acceptedformat&&(t=t.substring(this.acceptedformat.length+1)),i(this.uncompressstrokes(t)))}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),T3=(()=>{class n{constructor(){this.uuidLength=36}generateId(){return C0.v1()}isValid(t){return t&&t.length===this.uuidLength}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),I3=(()=>{class n{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),T1=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:[I3]}),n})();const M3=new Le("cdk-dir-doc",{providedIn:"root",factory:function x3(){return vu(Tt)}});let I1=(()=>{class n{constructor(t){if(this.value="ltr",this.change=new tr,t){const i=t.documentElement?t.documentElement.dir:null,s=(t.body?t.body.dir:null)||i;this.value="ltr"===s||"rtl"===s?s:"ltr"}}ngOnDestroy(){this.change.complete()}}return n.\u0275fac=function(t){return new(t||n)(le(M3,8))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Fp=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({}),n})();const M1=new wl("13.0.1");let S0;try{S0="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(n){S0=!1}let Np,Qu,A0,ao=(()=>{class n{constructor(t){this._platformId=t,this.isBrowser=this._platformId?function BL(n){return n===iI}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!S0)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(t){return new(t||n)(le(A_))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),gy=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({}),n})();function kp(n){return function O3(){if(null==Np&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Np=!0}))}finally{Np=Np||!1}return Np}()?n:!!n.capture}function R3(){if(null==Qu){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Qu=!1,Qu;if("scrollBehavior"in document.documentElement.style)Qu=!0;else{const n=Element.prototype.scrollTo;Qu=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return Qu}function Zu(n){return n.composedPath?n.composedPath()[0]:n.target}function T0(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}class N3 extends ye{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Ne;return this._value}next(e){super.next(this._value=e)}}function Qo(...n){let e=n[n.length-1];return st(e)?(n.pop(),ia(n,e)):Bl(n)}function O1(n){return e=>e.lift(new W3(n))}class W3{constructor(e){this.total=e}call(e,t){return t.subscribe(new G3(e,this.total))}}class G3 extends E{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}class q3{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new $3(e,this.compare,this.keySelector))}}class $3 extends E{constructor(e,t,r){super(e),this.keySelector=r,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:i}=this;t=i?i(e):e}catch(i){return this.destination.error(i)}let r=!1;if(this.hasKey)try{const{compare:i}=this;r=i(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=t,this.destination.next(e))}}function Zo(n){return e=>e.lift(new Y3(n))}class Y3{constructor(e){this.notifier=e}call(e,t){const r=new K3(e),i=gn(this.notifier,new co(r));return i&&!r.seenValue?(r.add(i),t.subscribe(r)):r}}class K3 extends fo{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}function yy(n){return null!=n&&"false"!=`${n}`}function vy(n){return Array.isArray(n)?n:[n]}function Vn(n){return null==n?"":"string"==typeof n?n:`${n}px`}function Kd(n){return n instanceof mn?n.nativeElement:n}function by(n,e){return(n.getAttribute(e)||"").match(/\S+/g)||[]}const P1="cdk-describedby-message-container",F1="cdk-describedby-message",Ey="cdk-describedby-host";let J3=0;const Xo=new Map;let Li=null,e8=(()=>{class n{constructor(t){this._document=t}describe(t,r,i){if(!this._canBeDescribed(t,r))return;const s=I0(r,i);"string"!=typeof r?(N1(r),Xo.set(s,{messageElement:r,referenceCount:0})):Xo.has(s)||this._createMessageElement(r,i),this._isElementDescribedByMessage(t,s)||this._addMessageReference(t,s)}removeDescription(t,r,i){if(!r||!this._isElementNode(t))return;const s=I0(r,i);if(this._isElementDescribedByMessage(t,s)&&this._removeMessageReference(t,s),"string"==typeof r){const o=Xo.get(s);o&&0===o.referenceCount&&this._deleteMessageElement(s)}Li&&0===Li.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const t=this._document.querySelectorAll(`[${Ey}]`);for(let r=0;r<t.length;r++)this._removeCdkDescribedByReferenceIds(t[r]),t[r].removeAttribute(Ey);Li&&this._deleteMessagesContainer(),Xo.clear()}_createMessageElement(t,r){const i=this._document.createElement("div");N1(i),i.textContent=t,r&&i.setAttribute("role",r),this._createMessagesContainer(),Li.appendChild(i),Xo.set(I0(t,r),{messageElement:i,referenceCount:0})}_deleteMessageElement(t){var r;const i=Xo.get(t);null===(r=null==i?void 0:i.messageElement)||void 0===r||r.remove(),Xo.delete(t)}_createMessagesContainer(){if(!Li){const t=this._document.getElementById(P1);null==t||t.remove(),Li=this._document.createElement("div"),Li.id=P1,Li.style.visibility="hidden",Li.classList.add("cdk-visually-hidden"),this._document.body.appendChild(Li)}}_deleteMessagesContainer(){Li&&(Li.remove(),Li=null)}_removeCdkDescribedByReferenceIds(t){const r=by(t,"aria-describedby").filter(i=>0!=i.indexOf(F1));t.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(t,r){const i=Xo.get(r);(function Z3(n,e,t){const r=by(n,e);r.some(i=>i.trim()==t.trim())||(r.push(t.trim()),n.setAttribute(e,r.join(" ")))})(t,"aria-describedby",i.messageElement.id),t.setAttribute(Ey,""),i.referenceCount++}_removeMessageReference(t,r){const i=Xo.get(r);i.referenceCount--,function X3(n,e,t){const i=by(n,e).filter(s=>s!=t.trim());i.length?n.setAttribute(e,i.join(" ")):n.removeAttribute(e)}(t,"aria-describedby",i.messageElement.id),t.removeAttribute(Ey)}_isElementDescribedByMessage(t,r){const i=by(t,"aria-describedby"),s=Xo.get(r),o=s&&s.messageElement.id;return!!o&&-1!=i.indexOf(o)}_canBeDescribed(t,r){if(!this._isElementNode(t))return!1;if(r&&"object"==typeof r)return!0;const i=null==r?"":`${r}`.trim(),s=t.getAttribute("aria-label");return!(!i||s&&s.trim()===i)}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}}return n.\u0275fac=function(t){return new(t||n)(le(Tt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function I0(n,e){return"string"==typeof n?`${e||""}/${n}`:n}function N1(n){n.id||(n.id=`${F1}-${J3++}`)}function L1(n){return 0===n.offsetX&&0===n.offsetY}function V1(n){const e=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}const o8=new Le("cdk-input-modality-detector-options"),a8={ignoreKeys:[18,17,224,91,16]},Qd=kp({passive:!0,capture:!0});let l8=(()=>{class n{constructor(t,r,i,s){this._platform=t,this._mostRecentTarget=null,this._modality=new N3(null),this._lastTouchMs=0,this._onKeydown=o=>{var l,c;(null===(c=null===(l=this._options)||void 0===l?void 0:l.ignoreKeys)||void 0===c?void 0:c.some(f=>f===o.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=Zu(o))},this._onMousedown=o=>{Date.now()-this._lastTouchMs<650||(this._modality.next(L1(o)?"keyboard":"mouse"),this._mostRecentTarget=Zu(o))},this._onTouchstart=o=>{V1(o)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Zu(o))},this._options=Object.assign(Object.assign({},a8),s),this.modalityDetected=this._modality.pipe(O1(1)),this.modalityChanged=this.modalityDetected.pipe(function z3(n,e){return t=>t.lift(new q3(n,e))}()),t.isBrowser&&r.runOutsideAngular(()=>{i.addEventListener("keydown",this._onKeydown,Qd),i.addEventListener("mousedown",this._onMousedown,Qd),i.addEventListener("touchstart",this._onTouchstart,Qd)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Qd),document.removeEventListener("mousedown",this._onMousedown,Qd),document.removeEventListener("touchstart",this._onTouchstart,Qd))}}return n.\u0275fac=function(t){return new(t||n)(le(ao),le(Zt),le(Tt),le(o8,8))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const c8=new Le("cdk-focus-monitor-default-options"),Cy=kp({passive:!0,capture:!0});let H1=(()=>{class n{constructor(t,r,i,s,o){this._ngZone=t,this._platform=r,this._inputModalityDetector=i,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new ye,this._rootNodeFocusAndBlurListener=l=>{const c=Zu(l),f="focus"===l.type?this._onFocus:this._onBlur;for(let h=c;h;h=h.parentElement)f.call(this,l,h)},this._document=s,this._detectionMode=(null==o?void 0:o.detectionMode)||0}monitor(t,r=!1){const i=Kd(t);if(!this._platform.isBrowser||1!==i.nodeType)return Qo(null);const s=function F3(n){if(function P3(){if(null==A0){const n="undefined"!=typeof document?document.head:null;A0=!(!n||!n.createShadowRoot&&!n.attachShadow)}return A0}()){const e=n.getRootNode?n.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}(i)||this._getDocument(),o=this._elementInfo.get(i);if(o)return r&&(o.checkChildren=!0),o.subject;const l={checkChildren:r,subject:new ye,rootNode:s};return this._elementInfo.set(i,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(t){const r=Kd(t),i=this._elementInfo.get(r);i&&(i.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(i))}focusVia(t,r,i){const s=Kd(t);s===this._getDocument().activeElement?this._getClosestElementsInfo(s).forEach(([l,c])=>this._originChanged(l,r,c)):(this._setOrigin(r),"function"==typeof s.focus&&s.focus(i))}ngOnDestroy(){this._elementInfo.forEach((t,r)=>this.stopMonitoring(r))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(t){return 1===this._detectionMode||!!(null==t?void 0:t.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(t,r){t.classList.toggle("cdk-focused",!!r),t.classList.toggle("cdk-touch-focused","touch"===r),t.classList.toggle("cdk-keyboard-focused","keyboard"===r),t.classList.toggle("cdk-mouse-focused","mouse"===r),t.classList.toggle("cdk-program-focused","program"===r)}_setOrigin(t,r=!1){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originFromTouchInteraction="touch"===t&&r,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(t,r){const i=this._elementInfo.get(r),s=Zu(t);!i||!i.checkChildren&&r!==s||this._originChanged(r,this._getFocusOrigin(s),i)}_onBlur(t,r){const i=this._elementInfo.get(r);!i||i.checkChildren&&t.relatedTarget instanceof Node&&r.contains(t.relatedTarget)||(this._setClasses(r),this._emitOrigin(i.subject,null))}_emitOrigin(t,r){this._ngZone.run(()=>t.next(r))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const r=t.rootNode,i=this._rootNodeFocusListenerCount.get(r)||0;i||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,Cy),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,Cy)}),this._rootNodeFocusListenerCount.set(r,i+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Zo(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(t){const r=t.rootNode;if(this._rootNodeFocusListenerCount.has(r)){const i=this._rootNodeFocusListenerCount.get(r);i>1?this._rootNodeFocusListenerCount.set(r,i-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Cy),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Cy),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,r,i){this._setClasses(t,r),this._emitOrigin(i.subject,r),this._lastFocusOrigin=r}_getClosestElementsInfo(t){const r=[];return this._elementInfo.forEach((i,s)=>{(s===t||i.checkChildren&&s.contains(t))&&r.push([s,i])}),r}}return n.\u0275fac=function(t){return new(t||n)(le(Zt),le(ao),le(l8),le(Tt,8),le(c8,8))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const j1="cdk-high-contrast-black-on-white",U1="cdk-high-contrast-white-on-black",M0="cdk-high-contrast-active";let W1=(()=>{class n{constructor(t,r){this._platform=t,this._document=r}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.getComputedStyle(t):null,s=(i&&i.backgroundColor||"").replace(/ /g,"");switch(t.remove(),s){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(M0),t.remove(j1),t.remove(U1),this._hasCheckedHighContrastMode=!0;const r=this.getHighContrastMode();1===r?(t.add(M0),t.add(j1)):2===r&&(t.add(M0),t.add(U1))}}}return n.\u0275fac=function(t){return new(t||n)(le(ao),le(Tt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),d8=(()=>{class n{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return n.\u0275fac=function(t){return new(t||n)(le(W1))},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[gy,T1]]}),n})();function z1(n,e){return{type:7,name:n,definitions:e,options:{}}}function x0(n,e=null){return{type:4,styles:e,timings:n}}function Jo(n){return{type:6,styles:n,offset:null}}function O0(n,e,t){return{type:0,name:n,styles:e,options:t}}function h8(n){return{type:5,steps:n}}function R0(n,e,t=null){return{type:1,expr:n,animation:e,options:t}}function K1(){return"undefined"!=typeof window&&void 0!==window.document}function F0(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}let V0=(n,e)=>!1,B0=(n,e)=>!1,X1=(n,e,t)=>[];const J1=F0();(J1||"undefined"!=typeof Element)&&(V0=K1()?(n,e)=>{for(;e&&e!==document.documentElement;){if(e===n)return!0;e=e.parentNode||e.host}return!1}:(n,e)=>n.contains(e),B0=(()=>{if(J1||Element.prototype.matches)return(n,e)=>n.matches(e);{const n=Element.prototype,e=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;return e?(t,r)=>e.apply(t,[r]):B0}})(),X1=(n,e,t)=>{let r=[];if(t){const i=n.querySelectorAll(e);for(let s=0;s<i.length;s++)r.push(i[s])}else{const i=n.querySelector(e);i&&r.push(i)}return r});const jy=new Le("AnimationModuleType"),WM=new wl("13.0.1"),VH=new Le("mat-sanity-checks",{providedIn:"root",factory:function LH(){return!0}});let lo=(()=>{class n{constructor(t,r,i){this._hasDoneGlobalChecks=!1,this._document=i,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=r,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!(!QE()||T0())&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}_checkDoctypeIsDefined(){this._checkIsEnabled("doctype")&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checkIsEnabled("theme")||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const r=getComputedStyle(t);r&&"none"!==r.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),t.remove()}_checkCdkVersionMatch(){this._checkIsEnabled("version")&&WM.full!==M1.full&&console.warn("The Angular Material version ("+WM.full+") does not match the Angular CDK version ("+M1.full+").\nPlease ensure the versions of these two packages exactly match.")}}return n.\u0275fac=function(t){return new(t||n)(le(W1),le(VH,8),le(Tt))},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[Fp],Fp]}),n})();function BH(n){return class extends n{constructor(...e){super(...e),this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=yy(e)}}}function GM(n,e){return class extends n{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const r=t||this.defaultColor;r!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),r&&this._elementRef.nativeElement.classList.add(`mat-${r}`),this._color=r)}}}function HH(n){return class extends n{constructor(...e){super(...e),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=yy(e)}}}let UH=(()=>{class n{isErrorState(t,r){return!!(t&&t.invalid&&(t.touched||r&&r.submitted))}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class WH{constructor(e,t,r){this._renderer=e,this.element=t,this.config=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const zM={enterDuration:225,exitDuration:150},cD=kp({passive:!0}),qM=["mousedown","touchstart"],$M=["mouseup","mouseleave","touchend","touchcancel"];class zH{constructor(e,t,r,i){this._target=e,this._ngZone=t,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Kd(r))}fadeInRipple(e,t,r={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},zM),r.animation);r.centered&&(e=i.left+i.width/2,t=i.top+i.height/2);const o=r.radius||function $H(n,e,t){const r=Math.max(Math.abs(n-t.left),Math.abs(n-t.right)),i=Math.max(Math.abs(e-t.top),Math.abs(e-t.bottom));return Math.sqrt(r*r+i*i)}(e,t,i),l=e-i.left,c=t-i.top,f=s.enterDuration,h=document.createElement("div");h.classList.add("mat-ripple-element"),h.style.left=l-o+"px",h.style.top=c-o+"px",h.style.height=2*o+"px",h.style.width=2*o+"px",null!=r.color&&(h.style.backgroundColor=r.color),h.style.transitionDuration=`${f}ms`,this._containerElement.appendChild(h),function qH(n){window.getComputedStyle(n).getPropertyValue("opacity")}(h),h.style.transform="scale(1)";const m=new WH(this,h,r);return m.state=0,this._activeRipples.add(m),r.persistent||(this._mostRecentTransientRipple=m),this._runTimeoutOutsideZone(()=>{const y=m===this._mostRecentTransientRipple;m.state=1,!r.persistent&&(!y||!this._isPointerDown)&&m.fadeOut()},f),m}fadeOutRipple(e){const t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!t)return;const r=e.element,i=Object.assign(Object.assign({},zM),e.config.animation);r.style.transitionDuration=`${i.exitDuration}ms`,r.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(()=>{e.state=3,r.remove()},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){const t=Kd(e);!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(qM))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents($M),this._pointerUpEventsRegistered=!0)}_onMousedown(e){const t=L1(e),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!t&&!r&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!V1(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=e.changedTouches;for(let r=0;r<t.length;r++)this.fadeInRipple(t[r].clientX,t[r].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(e=>{!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}_runTimeoutOutsideZone(e,t=0){this._ngZone.runOutsideAngular(()=>setTimeout(e,t))}_registerEvents(e){this._ngZone.runOutsideAngular(()=>{e.forEach(t=>{this._triggerElement.addEventListener(t,this,cD)})})}_removeTriggerEvents(){this._triggerElement&&(qM.forEach(e=>{this._triggerElement.removeEventListener(e,this,cD)}),this._pointerUpEventsRegistered&&$M.forEach(e=>{this._triggerElement.removeEventListener(e,this,cD)}))}}const YH=new Le("mat-ripple-global-options");let YM=(()=>{class n{constructor(t,r,i,s,o){this._elementRef=t,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new zH(this,r,t,i)}get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,r=0,i){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,r,Object.assign(Object.assign({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return n.\u0275fac=function(t){return new(t||n)(de(mn),de(Zt),de(ao),de(YH,8),de(jy,8))},n.\u0275dir=ze({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,r){2&t&&xa("mat-ripple-unbounded",r.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),n})(),KH=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[lo,gy],lo]}),n})(),e4=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=ze({type:n,selectors:[["mat-label"]]}),n})(),dD=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[zd,lo,T1],lo]}),n})();function KM(n,e,t,r){return F(t)&&(r=t,t=void 0),r?KM(n,e,t).pipe(tt(i=>R(i)?r(...i):r(i))):new se(i=>{QM(n,e,function s(o){i.next(arguments.length>1?Array.prototype.slice.call(arguments):o)},i,t)})}function QM(n,e,t,r,i){let s;if(function r4(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const o=n;n.addEventListener(e,t,i),s=()=>o.removeEventListener(e,t,i)}else if(function n4(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const o=n;n.on(e,t),s=()=>o.off(e,t)}else if(function t4(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const o=n;n.addListener(e,t),s=()=>o.removeListener(e,t)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let o=0,l=n.length;o<l;o++)QM(n[o],e,t,r,i)}r.add(s)}new class o4 extends oo{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let r,i=-1,s=t.length;e=e||t.shift();do{if(r=e.execute(e.state,e.delay))break}while(++i<s&&(e=t.shift()));if(this.active=!1,r){for(;++i<s&&(e=t.shift());)e.unsubscribe();throw r}}}(class s4 extends iy{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,r=0){return null!==r&&r>0?super.requestAsyncId(e,t,r):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,r=0){if(null!==r&&r>0||null===r&&this.delay>0)return super.recycleAsyncId(e,t,r);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}});let l4=1;const u4=Promise.resolve(),Uy={};function ZM(n){return n in Uy&&(delete Uy[n],!0)}const XM={setImmediate(n){const e=l4++;return Uy[e]=!0,u4.then(()=>ZM(e)&&n()),e},clearImmediate(n){ZM(n)}};new class d4 extends oo{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let r,i=-1,s=t.length;e=e||t.shift();do{if(r=e.execute(e.state,e.delay))break}while(++i<s&&(e=t.shift()));if(this.active=!1,r){for(;++i<s&&(e=t.shift());)e.unsubscribe();throw r}}}(class c4 extends iy{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,r=0){return null!==r&&r>0?super.requestAsyncId(e,t,r):(e.actions.push(this),e.scheduled||(e.scheduled=XM.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,r=0){if(null!==r&&r>0||null===r&&this.delay>0)return super.recycleAsyncId(e,t,r);0===e.actions.length&&(XM.clearImmediate(t),e.scheduled=void 0)}});class p4{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new m4(e,this.durationSelector))}}class m4 extends fo{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let t;try{const{durationSelector:i}=this;t=i(e)}catch(i){return this.destination.error(i)}const r=gn(t,new co(this));!r||r.closed?this.clearThrottle():this.add(this.throttled=r)}}clearThrottle(){const{value:e,hasValue:t,throttled:r}=this;r&&(this.remove(r),this.throttled=void 0,r.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function JM(n){return!R(n)&&n-parseFloat(n)+1>=0}function _4(n){const{index:e,period:t,subscriber:r}=n;if(r.next(e),!r.closed){if(-1===t)return r.complete();n.index=e+1,this.schedule(n,t)}}function ex(n,e=QC){return function h4(n){return function(t){return t.lift(new p4(n))}}(()=>function g4(n=0,e,t){let r=-1;return JM(e)?r=Number(e)<1?1:Number(e):st(e)&&(t=e),st(t)||(t=QC),new se(i=>{const s=JM(n)?n:+n-t.now();return t.schedule(_4,s,{index:0,period:r,subscriber:i})})}(n,e))}function tx(n,e){return function(r){return r.lift(new y4(n,e))}}class y4{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new v4(e,this.predicate,this.thisArg))}}class v4 extends E{constructor(e,t,r){super(e),this.predicate=t,this.thisArg=r,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(r){return void this.destination.error(r)}t&&this.destination.next(e)}}let nx=(()=>{class n{constructor(t,r,i){this._ngZone=t,this._platform=r,this._scrolled=new ye,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const r=this.scrollContainers.get(t);r&&(r.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new se(r=>{this._globalSubscription||this._addGlobalListener();const i=t>0?this._scrolled.pipe(ex(t)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Qo()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(t,r){const i=this.getAncestorScrollContainers(t);return this.scrolled(r).pipe(tx(s=>!s||i.indexOf(s)>-1))}getAncestorScrollContainers(t){const r=[];return this.scrollContainers.forEach((i,s)=>{this._scrollableContainsElement(s,t)&&r.push(s)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,r){let i=Kd(r),s=t.getElementRef().nativeElement;do{if(i==s)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>KM(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return n.\u0275fac=function(t){return new(t||n)(le(Zt),le(ao),le(Tt,8))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),rx=(()=>{class n{constructor(t,r,i){this._platform=t,this._change=new ye,this._changeListener=s=>{this._change.next(s)},this._document=i,r.runOutsideAngular(()=>{if(t.isBrowser){const s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:r,height:i}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+r,height:i,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,r=this._getWindow(),i=t.documentElement,s=i.getBoundingClientRect();return{top:-s.top||t.body.scrollTop||r.scrollY||i.scrollTop||0,left:-s.left||t.body.scrollLeft||r.scrollX||i.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(ex(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return n.\u0275fac=function(t){return new(t||n)(le(ao),le(Zt),le(Tt,8))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),fD=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({}),n})(),ix=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[Fp,gy,fD],Fp,fD]}),n})();class hD{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class sx extends hD{constructor(e,t,r,i){super(),this.component=e,this.viewContainerRef=t,this.injector=r,this.componentFactoryResolver=i}}class C4 extends hD{constructor(e,t,r){super(),this.templateRef=e,this.viewContainerRef=t,this.context=r}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class D4 extends hD{constructor(e){super(),this.element=e instanceof mn?e.nativeElement:e}}class S4 extends class w4{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof sx?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof C4?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof D4?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}{constructor(e,t,r,i,s){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=r,this._defaultInjector=i,this.attachDomPortal=o=>{const l=o.element,c=this._document.createComment("dom-portal");l.parentNode.insertBefore(c,l),this.outletElement.appendChild(l),this._attachedPortal=o,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(l,c)})},this._document=s}attachComponentPortal(e){const r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let i;return e.viewContainerRef?(i=e.viewContainerRef.createComponent(r,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>i.destroy())):(i=r.create(e.injector||this._defaultInjector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=e,i}attachTemplatePortal(e){let t=e.viewContainerRef,r=t.createEmbeddedView(e.templateRef,e.context);return r.rootNodes.forEach(i=>this.outletElement.appendChild(i)),r.detectChanges(),this.setDisposeFn(()=>{let i=t.indexOf(r);-1!==i&&t.remove(i)}),this._attachedPortal=e,r}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let A4=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({}),n})();const T4=(()=>{function n(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return n.prototype=Object.create(Error.prototype),n})(),I4=new se(n=>n.complete());function ox(n){return n?function M4(n){return new se(e=>n.schedule(()=>e.complete()))}(n):I4}function Wy(n){return e=>0===n?ox():e.lift(new x4(n))}class x4{constructor(e){if(this.total=e,this.total<0)throw new T4}call(e,t){return t.subscribe(new O4(e,this.total))}}class O4 extends E{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,r=++this.count;r<=t&&(this.destination.next(e),r===t&&(this.destination.complete(),this.unsubscribe()))}}const ax=R3();class R4{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Vn(-this._previousScrollPosition.left),e.style.top=Vn(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,r=e.style,i=this._document.body.style,s=r.scrollBehavior||"",o=i.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),ax&&(r.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ax&&(r.scrollBehavior=s,i.scrollBehavior=o)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,r=this._viewportRuler.getViewportSize();return t.scrollHeight>r.height||t.scrollWidth>r.width}}class P4{constructor(e,t,r,i){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=r,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class lx{enable(){}disable(){}attach(){}}function pD(n,e){return e.some(t=>n.bottom<t.top||n.top>t.bottom||n.right<t.left||n.left>t.right)}function ux(n,e){return e.some(t=>n.top<t.top||n.bottom>t.bottom||n.left<t.left||n.right>t.right)}class F4{constructor(e,t,r,i){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=r,this._config=i,this._scrollSubscription=null}attach(e){this._overlayRef=e}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:i}=this._viewportRuler.getViewportSize();pD(t,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let N4=(()=>{class n{constructor(t,r,i,s){this._scrollDispatcher=t,this._viewportRuler=r,this._ngZone=i,this.noop=()=>new lx,this.close=o=>new P4(this._scrollDispatcher,this._ngZone,this._viewportRuler,o),this.block=()=>new R4(this._viewportRuler,this._document),this.reposition=o=>new F4(this._scrollDispatcher,this._viewportRuler,this._ngZone,o),this._document=s}}return n.\u0275fac=function(t){return new(t||n)(le(nx),le(rx),le(Zt),le(Tt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();class k4{constructor(e){if(this.scrollStrategy=new lx,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const r of t)void 0!==e[r]&&(this[r]=e[r])}}}class L4{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}class V4{constructor(e,t,r,i,s,o,l,c,f){this._portalOutlet=e,this._host=t,this._pane=r,this._config=i,this._ngZone=s,this._keyboardDispatcher=o,this._document=l,this._location=c,this._outsideClickDispatcher=f,this._backdropElement=null,this._backdropClick=new ye,this._attachments=new ye,this._detachments=new ye,this._locationChanges=w.EMPTY,this._backdropClickHandler=h=>this._backdropClick.next(h),this._keydownEvents=new ye,this._outsidePointerEvents=new ye,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){let t=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Wy(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){var e;const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(e=this._host)||void 0===e||e.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=Vn(this._config.width),e.height=Vn(this._config.height),e.minWidth=Vn(this._config.minWidth),e.minHeight=Vn(this._config.minHeight),e.maxWidth=Vn(this._config.maxWidth),e.maxHeight=Vn(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){const e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const e=this._backdropElement;if(!e)return;let t;const r=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",r),this._disposeBackdrop(e)),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",r)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(r,500))}_toggleClasses(e,t,r){const i=vy(t||[]).filter(s=>!!s);i.length&&(r?e.classList.add(...i):e.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe(Zo(ps(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.remove(),this._backdropElement===e&&(this._backdropElement=null))}}let cx=(()=>{class n{constructor(t,r){this._platform=r,this._document=t}ngOnDestroy(){var t;null===(t=this._containerElement)||void 0===t||t.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||T0()){const i=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let s=0;s<i.length;s++)i[s].remove()}const r=this._document.createElement("div");r.classList.add(t),T0()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}}return n.\u0275fac=function(t){return new(t||n)(le(Tt),le(ao))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const dx="cdk-overlay-connected-position-bounding-box",B4=/([A-Za-z%]+)$/;class H4{constructor(e,t,r,i,s){this._viewportRuler=t,this._document=r,this._platform=i,this._overlayContainer=s,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new ye,this._resizeSubscription=w.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){this._validatePositions(),e.hostElement.classList.add(dx),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const e=this._originRect,t=this._overlayRect,r=this._viewportRect,i=[];let s;for(let o of this._preferredPositions){let l=this._getOriginPoint(e,o),c=this._getOverlayPoint(l,t,o),f=this._getOverlayFit(c,t,r,o);if(f.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(o,l);this._canFitWithFlexibleDimensions(f,c,r)?i.push({position:o,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,o)}):(!s||s.overlayFit.visibleArea<f.visibleArea)&&(s={overlayFit:f,overlayPoint:c,originPoint:l,position:o,overlayRect:t})}if(i.length){let o=null,l=-1;for(const c of i){const f=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);f>l&&(l=f,o=c)}return this._isPushed=!1,void this._applyPosition(o.position,o.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&nc(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(dx),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t){let r,i;if("center"==t.originX)r=e.left+e.width/2;else{const s=this._isRtl()?e.right:e.left,o=this._isRtl()?e.left:e.right;r="start"==t.originX?s:o}return i="center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom,{x:r,y:i}}_getOverlayPoint(e,t,r){let i,s;return i="center"==r.overlayX?-t.width/2:"start"===r.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,s="center"==r.overlayY?-t.height/2:"top"==r.overlayY?0:-t.height,{x:e.x+i,y:e.y+s}}_getOverlayFit(e,t,r,i){const s=hx(t);let{x:o,y:l}=e,c=this._getOffset(i,"x"),f=this._getOffset(i,"y");c&&(o+=c),f&&(l+=f);let y=0-l,D=l+s.height-r.height,O=this._subtractOverflows(s.width,0-o,o+s.width-r.width),$=this._subtractOverflows(s.height,y,D),W=O*$;return{visibleArea:W,isCompletelyWithinViewport:s.width*s.height===W,fitsInViewportVertically:$===s.height,fitsInViewportHorizontally:O==s.width}}_canFitWithFlexibleDimensions(e,t,r){if(this._hasFlexibleDimensions){const i=r.bottom-t.y,s=r.right-t.x,o=fx(this._overlayRef.getConfig().minHeight),l=fx(this._overlayRef.getConfig().minWidth),f=e.fitsInViewportHorizontally||null!=l&&l<=s;return(e.fitsInViewportVertically||null!=o&&o<=i)&&f}return!1}_pushOverlayOnScreen(e,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const i=hx(t),s=this._viewportRect,o=Math.max(e.x+i.width-s.width,0),l=Math.max(e.y+i.height-s.height,0),c=Math.max(s.top-r.top-e.y,0),f=Math.max(s.left-r.left-e.x,0);let h=0,m=0;return h=i.width<=s.width?f||-o:e.x<this._viewportMargin?s.left-r.left-e.x:0,m=i.height<=s.height?c||-l:e.y<this._viewportMargin?s.top-r.top-e.y:0,this._previousPushAmount={x:h,y:m},{x:e.x+h,y:e.y+m}}_applyPosition(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){const r=this._getScrollVisibility(),i=new L4(e,r);this._positionChanges.next(i)}this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let r,i=e.overlayY;r="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(let s=0;s<t.length;s++)t[s].style.transformOrigin=`${r} ${i}`}_calculateBoundingBoxRect(e,t){const r=this._viewportRect,i=this._isRtl();let s,o,l,h,m,y;if("top"===t.overlayY)o=e.y,s=r.height-o+this._viewportMargin;else if("bottom"===t.overlayY)l=r.height-e.y+2*this._viewportMargin,s=r.height-l+this._viewportMargin;else{const D=Math.min(r.bottom-e.y+r.top,e.y),O=this._lastBoundingBoxSize.height;s=2*D,o=e.y-D,s>O&&!this._isInitialRender&&!this._growAfterOpen&&(o=e.y-O/2)}if("end"===t.overlayX&&!i||"start"===t.overlayX&&i)y=r.width-e.x+this._viewportMargin,h=e.x-this._viewportMargin;else if("start"===t.overlayX&&!i||"end"===t.overlayX&&i)m=e.x,h=r.right-e.x;else{const D=Math.min(r.right-e.x+r.left,e.x),O=this._lastBoundingBoxSize.width;h=2*D,m=e.x-D,h>O&&!this._isInitialRender&&!this._growAfterOpen&&(m=e.x-O/2)}return{top:o,left:m,bottom:l,right:y,width:h,height:s}}_setBoundingBoxStyles(e,t){const r=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const s=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;i.height=Vn(r.height),i.top=Vn(r.top),i.bottom=Vn(r.bottom),i.width=Vn(r.width),i.left=Vn(r.left),i.right=Vn(r.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",s&&(i.maxHeight=Vn(s)),o&&(i.maxWidth=Vn(o))}this._lastBoundingBoxSize=r,nc(this._boundingBox.style,i)}_resetBoundingBoxStyles(){nc(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){nc(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const r={},i=this._hasExactPosition(),s=this._hasFlexibleDimensions,o=this._overlayRef.getConfig();if(i){const h=this._viewportRuler.getViewportScrollPosition();nc(r,this._getExactOverlayY(t,e,h)),nc(r,this._getExactOverlayX(t,e,h))}else r.position="static";let l="",c=this._getOffset(t,"x"),f=this._getOffset(t,"y");c&&(l+=`translateX(${c}px) `),f&&(l+=`translateY(${f}px)`),r.transform=l.trim(),o.maxHeight&&(i?r.maxHeight=Vn(o.maxHeight):s&&(r.maxHeight="")),o.maxWidth&&(i?r.maxWidth=Vn(o.maxWidth):s&&(r.maxWidth="")),nc(this._pane.style,r)}_getExactOverlayY(e,t,r){let i={top:"",bottom:""},s=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,r));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=o,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":i.top=Vn(s.y),i}_getExactOverlayX(e,t,r){let o,i={left:"",right:""},s=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,r)),o=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===o?i.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":i.left=Vn(s.x),i}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ux(e,r),isOriginOutsideView:pD(e,r),isOverlayClipped:ux(t,r),isOverlayOutsideView:pD(t,r)}}_subtractOverflows(e,...t){return t.reduce((r,i)=>r-Math.max(i,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+e-this._viewportMargin,bottom:r.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&vy(e).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof mn)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const t=e.width||0,r=e.height||0;return{top:e.y,bottom:e.y+r,left:e.x,right:e.x+t,height:r,width:t}}}function nc(n,e){for(let t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function fx(n){if("number"!=typeof n&&null!=n){const[e,t]=n.split(B4);return t&&"px"!==t?null:parseFloat(e)}return n||null}function hx(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const px="cdk-global-overlay-wrapper";class j4{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(e){const t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(px),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._justifyContent="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:i,height:s,maxWidth:o,maxHeight:l}=r,c=!("100%"!==i&&"100vw"!==i||o&&"100%"!==o&&"100vw"!==o),f=!("100%"!==s&&"100vh"!==s||l&&"100%"!==l&&"100vh"!==l);e.position=this._cssPosition,e.marginLeft=c?"0":this._leftOffset,e.marginTop=f?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,c?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=f?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(px),r.justifyContent=r.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let U4=(()=>{class n{constructor(t,r,i,s){this._viewportRuler=t,this._document=r,this._platform=i,this._overlayContainer=s}global(){return new j4}flexibleConnectedTo(t){return new H4(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return n.\u0275fac=function(t){return new(t||n)(le(rx),le(Tt),le(ao),le(cx))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),mx=(()=>{class n{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const r=this._attachedOverlays.indexOf(t);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}}return n.\u0275fac=function(t){return new(t||n)(le(Tt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),W4=(()=>{class n extends mx{constructor(t){super(t),this._keydownListener=r=>{const i=this._attachedOverlays;for(let s=i.length-1;s>-1;s--)if(i[s]._keydownEvents.observers.length>0){i[s]._keydownEvents.next(r);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return n.\u0275fac=function(t){return new(t||n)(le(Tt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),G4=(()=>{class n extends mx{constructor(t,r){super(t),this._platform=r,this._cursorStyleIsSet=!1,this._pointerDownListener=i=>{this._pointerDownEventTarget=Zu(i)},this._clickListener=i=>{const s=Zu(i),o="click"===i.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const f=l[c];if(!(f._outsidePointerEvents.observers.length<1)&&f.hasAttached()){if(f.overlayElement.contains(s)||f.overlayElement.contains(o))break;f._outsidePointerEvents.next(i)}}}}add(t){if(super.add(t),!this._isAttached){const r=this._document.body;r.addEventListener("pointerdown",this._pointerDownListener,!0),r.addEventListener("click",this._clickListener,!0),r.addEventListener("auxclick",this._clickListener,!0),r.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return n.\u0275fac=function(t){return new(t||n)(le(Tt),le(ao))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),z4=0,Gy=(()=>{class n{constructor(t,r,i,s,o,l,c,f,h,m,y){this.scrollStrategies=t,this._overlayContainer=r,this._componentFactoryResolver=i,this._positionBuilder=s,this._keyboardDispatcher=o,this._injector=l,this._ngZone=c,this._document=f,this._directionality=h,this._location=m,this._outsideClickDispatcher=y}create(t){const r=this._createHostElement(),i=this._createPaneElement(r),s=this._createPortalOutlet(i),o=new k4(t);return o.direction=o.direction||this._directionality.value,new V4(s,r,i,o,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const r=this._document.createElement("div");return r.id="cdk-overlay-"+z4++,r.classList.add("cdk-overlay-pane"),t.appendChild(r),r}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Uu)),new S4(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return n.\u0275fac=function(t){return new(t||n)(le(N4),le(cx),le(Oa),le(U4),le(W4),le(Ht),le(Zt),le(Tt),le(I1),le(UT),le(G4))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();const Y4={provide:new Le("cdk-connected-overlay-scroll-strategy"),deps:[Gy],useFactory:function $4(n){return()=>n.scrollStrategies.reposition()}};let K4=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:[Gy,Y4],imports:[[Fp,A4,ix],ix]}),n})();class Q4 extends E{notifyNext(e,t,r,i,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class Z4 extends E{constructor(e,t,r){super(),this.parent=e,this.outerValue=t,this.outerIndex=r,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function X4(n,e,t,r,i=new Z4(n,t,r)){if(!i.closed)return e instanceof se?e.subscribe(i):ra(e)(i)}const gx={};class e5{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new t5(e,this.resultSelector))}}class t5 extends Q4{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(gx),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let r=0;r<t;r++)this.add(X4(this,e[r],void 0,r))}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,r){const i=this.values,o=this.toRespond?i[r]===gx?--this.toRespond:this.toRespond:0;i[r]=t,0===o&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(r){return void this.destination.error(r)}this.destination.next(t)}}function mD(...n){return function n5(){return hs(1)}()(Qo(...n))}function r5(...n){const e=n[n.length-1];return st(e)?(n.pop(),t=>mD(n,t,e)):t=>mD(n,t)}const _x=new Set;let ef,s5=(()=>{class n{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):a5}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function o5(n){if(!_x.has(n))try{ef||(ef=document.createElement("style"),ef.setAttribute("type","text/css"),document.head.appendChild(ef)),ef.sheet&&(ef.sheet.insertRule(`@media ${n} {body{ }}`,0),_x.add(n))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return n.\u0275fac=function(t){return new(t||n)(le(ao))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function a5(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let l5=(()=>{class n{constructor(t,r){this._mediaMatcher=t,this._zone=r,this._queries=new Map,this._destroySubject=new ye}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return yx(vy(t)).some(i=>this._registerQuery(i).mql.matches)}observe(t){let s=function J4(...n){let e,t;return st(n[n.length-1])&&(t=n.pop()),"function"==typeof n[n.length-1]&&(e=n.pop()),1===n.length&&R(n[0])&&(n=n[0]),Bl(n,t).lift(new e5(e))}(yx(vy(t)).map(o=>this._registerQuery(o).observable));return s=mD(s.pipe(Wy(1)),s.pipe(O1(1),bI(0))),s.pipe(tt(o=>{const l={matches:!1,breakpoints:{}};return o.forEach(({matches:c,query:f})=>{l.matches=l.matches||c,l.breakpoints[f]=c}),l}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const r=this._mediaMatcher.matchMedia(t),s={observable:new se(o=>{const l=c=>this._zone.run(()=>o.next(c));return r.addListener(l),()=>{r.removeListener(l)}}).pipe(r5(r),tt(({matches:o})=>({query:t,matches:o})),Zo(this._destroySubject)),mql:r};return this._queries.set(t,s),s}}return n.\u0275fac=function(t){return new(t||n)(le(s5),le(Zt))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function yx(n){return n.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}const c5={tooltipState:z1("state",[O0("initial, void, hidden",Jo({opacity:0,transform:"scale(0)"})),O0("visible",Jo({transform:"scale(1)"})),R0("* => visible",x0("200ms cubic-bezier(0, 0, 0.2, 1)",h8([Jo({opacity:0,transform:"scale(0)",offset:0}),Jo({opacity:.5,transform:"scale(0.99)",offset:.5}),Jo({opacity:1,transform:"scale(1)",offset:1})]))),R0("* => hidden",x0("100ms cubic-bezier(0, 0, 0.2, 1)",Jo({opacity:0})))])},vx="tooltip-panel",bx=kp({passive:!0}),Ex=new Le("mat-tooltip-scroll-strategy"),p5={provide:Ex,deps:[Gy],useFactory:function h5(n){return()=>n.scrollStrategies.reposition({scrollThrottle:20})}},m5=new Le("mat-tooltip-default-options",{providedIn:"root",factory:function g5(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let _5=(()=>{class n{constructor(t,r,i,s,o,l,c,f,h,m,y,D){this._overlay=t,this._elementRef=r,this._scrollDispatcher=i,this._viewContainerRef=s,this._ngZone=o,this._platform=l,this._ariaDescriber=c,this._focusMonitor=f,this._dir=m,this._defaultOptions=y,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new ye,this._handleKeydown=O=>{this._isTooltipVisible()&&27===O.keyCode&&!function U3(n,...e){return e.length?e.some(t=>n[t]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}(O)&&(O.preventDefault(),O.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=h,this._document=D,y&&(y.position&&(this.position=y.position),y.touchGestures&&(this.touchGestures=y.touchGestures)),m.change.pipe(Zo(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),o.runOutsideAngular(()=>{r.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(t){var r;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(r=this._tooltipInstance)||void 0===r||r.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(t){this._disabled=yy(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=t?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Zo(this._destroyed)).subscribe(t=>{t?"keyboard"===t&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([r,i])=>{t.removeEventListener(r,i,bx)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const r=this._createOverlay();this._detach(),this._portal=this._portal||new sx(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=r.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Zo(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}hide(t=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(t)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return r.positionChanges.pipe(Zo(this._destroyed)).subscribe(i=>{this._updateCurrentPositionClass(i.connectionPair),this._tooltipInstance&&i.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${vx}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Zo(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Zo(this._destroyed)).subscribe(()=>{var i;return null===(i=this._tooltipInstance)||void 0===i?void 0:i._handleBodyInteraction()}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){const r=t.getConfig().positionStrategy,i=this._getOrigin(),s=this._getOverlayPosition();r.withPositions([this._addOffset(Object.assign(Object.assign({},i.main),s.main)),this._addOffset(Object.assign(Object.assign({},i.fallback),s.fallback))])}_addOffset(t){return t}_getOrigin(){const t=!this._dir||"ltr"==this._dir.value,r=this.position;let i;"above"==r||"below"==r?i={originX:"center",originY:"above"==r?"top":"bottom"}:"before"==r||"left"==r&&t||"right"==r&&!t?i={originX:"start",originY:"center"}:("after"==r||"right"==r&&t||"left"==r&&!t)&&(i={originX:"end",originY:"center"});const{x:s,y:o}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:s,originY:o}}}_getOverlayPosition(){const t=!this._dir||"ltr"==this._dir.value,r=this.position;let i;"above"==r?i={overlayX:"center",overlayY:"bottom"}:"below"==r?i={overlayX:"center",overlayY:"top"}:"before"==r||"left"==r&&t||"right"==r&&!t?i={overlayX:"end",overlayY:"center"}:("after"==r||"right"==r&&t||"left"==r&&!t)&&(i={overlayX:"start",overlayY:"center"});const{x:s,y:o}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:s,overlayY:o}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Wy(1),Zo(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,r){return"above"===this.position||"below"===this.position?"top"===r?r="bottom":"bottom"===r&&(r="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:r}}_updateCurrentPositionClass(t){const{overlayY:r,originX:i,originY:s}=t;let o;if(o="center"===r?this._dir&&"rtl"===this._dir.value?"end"===i?"left":"right":"start"===i?"left":"right":"bottom"===r&&"top"===s?"above":"below",o!==this._currentPosition){const l=this._overlayRef;if(l){const c=`${this._cssClassPrefix}-${vx}-`;l.removePanelClass(c+this._currentPosition),l.addPanelClass(c+o)}this._currentPosition=o}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",()=>this.hide()],["wheel",r=>this._wheelListener(r)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const r=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",r],["touchcancel",r])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([r,i])=>{this._elementRef.nativeElement.addEventListener(r,i,bx)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){const r=this._document.elementFromPoint(t.clientX,t.clientY),i=this._elementRef.nativeElement;r!==i&&!i.contains(r)&&this.hide()}}_disableNativeGesturesIfNecessary(){const t=this.touchGestures;if("off"!==t){const r=this._elementRef.nativeElement,i=r.style;("on"===t||"INPUT"!==r.nodeName&&"TEXTAREA"!==r.nodeName)&&(i.userSelect=i.msUserSelect=i.webkitUserSelect=i.MozUserSelect="none"),("on"===t||!r.draggable)&&(i.webkitUserDrag="none"),i.touchAction="none",i.webkitTapHighlightColor="transparent"}}}return n.\u0275fac=function(t){!function bw(){throw new Error("invalid")}()},n.\u0275dir=ze({type:n,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),n})(),y5=(()=>{class n extends _5{constructor(t,r,i,s,o,l,c,f,h,m,y,D){super(t,r,i,s,o,l,c,f,h,m,y,D),this._tooltipComponent=b5}}return n.\u0275fac=function(t){return new(t||n)(de(Gy),de(mn),de(nx),de(Xs),de(Zt),de(ao),de(e8),de(H1),de(Ex),de(I1,8),de(m5,8),de(Tt))},n.\u0275dir=ze({type:n,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[Re]}),n})(),v5=(()=>{class n{constructor(t){this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new ye}show(t){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},t)}hide(t){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},t)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(t){const r=t.toState;"hidden"===r&&!this.isVisible()&&this._onHide.next(),("visible"===r||"hidden"===r)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return n.\u0275fac=function(t){return new(t||n)(de(Vd))},n.\u0275dir=ze({type:n}),n})(),b5=(()=>{class n extends v5{constructor(t,r){super(t),this._breakpointObserver=r,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return n.\u0275fac=function(t){return new(t||n)(de(Vd),de(l5))},n.\u0275cmp=vs({type:n,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,r){2&t&&d_("zoom","visible"===r._visibility?1:null)},features:[Re],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,r){if(1&t&&(Ni(0,"div",0),ti("@state.start",function(){return r._animationStart()})("@state.done",function(s){return r._animationDone(s)}),function nA(n,e){const t=gt();let r;const i=n+20;t.firstCreatePass?(r=function DP(n,e){if(e)for(let t=e.length-1;t>=0;t--){const r=e[t];if(n===r.name)return r}throw new gs("302",`The pipe '${n}' could not be found!`)}(e,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(i,r.onDestroy)):r=t.data[i];const s=r.factory||(r.factory=Xn(r.type)),o=Yn(de);try{const l=ou(!1),c=s();return ou(l),function Hx(n,e,t,r){t>=n.data.length&&(n.data[t]=null,n.blueprint[t]=null),e[t]=r}(t,ge(),i,c),c}finally{Yn(o)}}(1,"async"),Td(2),ki()),2&t){let i;xa("mat-tooltip-handset",null==(i=function rA(n,e,t){const r=n+20,i=ge(),s=Ir(i,r);return function ip(n,e){return n[1].data[e].pure}(i,r)?ZS(i,x(),e,s.transform,t,s):s.transform(t)}(1,5,r._isHandset))?null:i.matches),Ks("ngClass",r.tooltipClass)("@state",r._visibility),Qr(2),yE(r.message)}},directives:[FC],pipes:[nI],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[c5.tooltipState]},changeDetection:0}),n})(),E5=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:[p5],imports:[[d8,zd,K4,lo],lo,fD]}),n})();const C5=["mat-button",""],D5=["*"],S5=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],A5=GM(BH(HH(class{constructor(n){this._elementRef=n}})));let T5=(()=>{class n extends A5{constructor(t,r,i){super(t),this._focusMonitor=r,this._animationMode=i,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const s of S5)this._hasHostAttributes(s)&&this._getHostElement().classList.add(s);t.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,r){t?this._focusMonitor.focusVia(this._getHostElement(),t,r):this._getHostElement().focus(r)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(r=>this._getHostElement().hasAttribute(r))}}return n.\u0275fac=function(t){return new(t||n)(de(mn),de(H1),de(jy,8))},n.\u0275cmp=vs({type:n,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,r){if(1&t&&Fd(YM,5),2&t){let i;Pd(i=Nd())&&(r.ripple=i.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,r){2&t&&(Ys("disabled",r.disabled||null),xa("_mat-animation-noopable","NoopAnimations"===r._animationMode)("mat-button-disabled",r.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Re],attrs:C5,ngContentSelectors:D5,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,r){1&t&&(hE(),Ni(0,"span",0),pE(1),ki(),Dl(2,"span",1),Dl(3,"span",2)),2&t&&(Qr(2),xa("mat-button-ripple-round",r.isRoundButton||r.isIconButton),Ks("matRippleDisabled",r._isRippleDisabled())("matRippleCentered",r.isIconButton)("matRippleTrigger",r._getHostElement()))},directives:[YM],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),n})(),I5=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[KH,lo],lo]}),n})();function Cx(n,e){return new se(e?t=>e.schedule(M5,0,{error:n,subscriber:t}):t=>t.error(n))}function M5({error:n,subscriber:e}){e.error(n)}function Fl(){}function gD(n,e,t){return function(i){return i.lift(new x5(n,e,t))}}class x5{constructor(e,t,r){this.nextOrObserver=e,this.error=t,this.complete=r}call(e,t){return t.subscribe(new O5(e,this.nextOrObserver,this.error,this.complete))}}class O5 extends E{constructor(e,t,r,i){super(e),this._tapNext=Fl,this._tapError=Fl,this._tapComplete=Fl,this._tapError=r||Fl,this._tapComplete=i||Fl,F(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Fl,this._tapError=t.error||Fl,this._tapComplete=t.complete||Fl)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}class P5{constructor(e){this.selector=e}call(e,t){return t.subscribe(new F5(e,this.selector,this.caught))}}class F5 extends fo{constructor(e,t,r){super(e),this.selector=t,this.caught=r}error(e){if(!this.isStopped){let t;try{t=this.selector(e,this.caught)}catch(s){return void super.error(s)}this._unsubscribeAndRecycle();const r=new co(this);this.add(r);const i=gn(t,r);i!==r&&this.add(i)}}}class k5{constructor(e){this.callback=e}call(e,t){return t.subscribe(new L5(e,this.callback))}}class L5 extends E{constructor(e,t){super(e),this.add(new w(t))}}class B5{}class Nl{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const i=t.slice(0,r),s=i.toLowerCase(),o=t.slice(r+1).trim();this.maybeSetNormalizedName(i,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let r=e[t];const i=t.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(i,r),this.maybeSetNormalizedName(t,i))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof Nl?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new Nl;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Nl?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(e.name,t);const i=("a"===e.op?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case"d":const s=e.value;if(s){let o=this.headers.get(t);if(!o)return;o=o.filter(l=>-1===s.indexOf(l)),0===o.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,o)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class H5{encodeKey(e){return Dx(e)}encodeValue(e){return Dx(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const U5=/%(\d[a-f0-9])/gi,W5={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function Dx(n){return encodeURIComponent(n).replace(U5,(e,t)=>{var r;return null!==(r=W5[t])&&void 0!==r?r:e})}function wx(n){return`${n}`}class kl{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new H5,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function j5(n,e){const t=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{const s=i.indexOf("="),[o,l]=-1==s?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,s)),e.decodeValue(i.slice(s+1))],c=t.get(o)||[];c.push(l),t.set(o,c)}),t}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const r=e.fromObject[t];this.map.set(t,Array.isArray(r)?r:[r])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach(r=>{const i=e[r];Array.isArray(i)?i.forEach(s=>{t.push({param:r,value:s,op:"a"})}):t.push({param:r,value:i,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new kl({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(wx(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let r=this.map.get(e.param)||[];const i=r.indexOf(wx(e.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(e.param,r):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}class G5{constructor(){this.map=new Map}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}keys(){return this.map.keys()}}function Sx(n){return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer}function Ax(n){return"undefined"!=typeof Blob&&n instanceof Blob}function Tx(n){return"undefined"!=typeof FormData&&n instanceof FormData}class Hp{constructor(e,t,r,i){let s;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function z5(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,s=i):s=r,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new Nl),this.context||(this.context=new G5),this.params){const o=this.params.toString();if(0===o.length)this.urlWithParams=t;else{const l=t.indexOf("?");this.urlWithParams=t+(-1===l?"?":l<t.length-1?"&":"")+o}}else this.params=new kl,this.urlWithParams=t}serializeBody(){return null===this.body?null:Sx(this.body)||Ax(this.body)||Tx(this.body)||function q5(n){return"undefined"!=typeof URLSearchParams&&n instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof kl?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Tx(this.body)?null:Ax(this.body)?this.body.type||null:Sx(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof kl?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(e={}){var t;const r=e.method||this.method,i=e.url||this.url,s=e.responseType||this.responseType,o=void 0!==e.body?e.body:this.body,l=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,c=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let f=e.headers||this.headers,h=e.params||this.params;const m=null!==(t=e.context)&&void 0!==t?t:this.context;return void 0!==e.setHeaders&&(f=Object.keys(e.setHeaders).reduce((y,D)=>y.set(D,e.setHeaders[D]),f)),e.setParams&&(h=Object.keys(e.setParams).reduce((y,D)=>y.set(D,e.setParams[D]),h)),new Hp(r,i,o,{params:h,headers:f,context:m,reportProgress:c,responseType:s,withCredentials:l})}}var wr=(()=>((wr=wr||{})[wr.Sent=0]="Sent",wr[wr.UploadProgress=1]="UploadProgress",wr[wr.ResponseHeader=2]="ResponseHeader",wr[wr.DownloadProgress=3]="DownloadProgress",wr[wr.Response=4]="Response",wr[wr.User=5]="User",wr))();class _D extends class $5{constructor(e,t=200,r="OK"){this.headers=e.headers||new Nl,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}{constructor(e={}){super(e),this.type=wr.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new _D({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}function yD(n,e){return{body:e,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let Mx=(()=>{class n{constructor(t){this.handler=t}request(t,r,i={}){let s;if(t instanceof Hp)s=t;else{let c,f;c=i.headers instanceof Nl?i.headers:new Nl(i.headers),i.params&&(f=i.params instanceof kl?i.params:new kl({fromObject:i.params})),s=new Hp(t,r,void 0!==i.body?i.body:null,{headers:c,context:i.context,params:f,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const o=Qo(s).pipe(function V5(n,e){return or(n,e,1)}(c=>this.handler.handle(c)));if(t instanceof Hp||"events"===i.observe)return o;const l=o.pipe(tx(c=>c instanceof _D));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(tt(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(tt(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(tt(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return l.pipe(tt(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new kl).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,i={}){return this.request("PATCH",t,yD(i,r))}post(t,r,i={}){return this.request("POST",t,yD(i,r))}put(t,r,i={}){return this.request("PUT",t,yD(i,r))}}return n.\u0275fac=function(t){return new(t||n)(le(B5))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac}),n})();const K5=["*"];let zy;function jp(n){var e;return(null===(e=function Q5(){if(void 0===zy&&(zy=null,"undefined"!=typeof window)){const n=window;void 0!==n.trustedTypes&&(zy=n.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return zy}())||void 0===e?void 0:e.createHTML(n))||n}function xx(n){return Error(`Unable to find icon with the name "${n}"`)}function Ox(n){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${n}".`)}function Rx(n){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${n}".`)}class rc{constructor(e,t,r){this.url=e,this.svgText=t,this.options=r}}let qy=(()=>{class n{constructor(t,r,i,s){this._httpClient=t,this._sanitizer=r,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=i}addSvgIcon(t,r,i){return this.addSvgIconInNamespace("",t,r,i)}addSvgIconLiteral(t,r,i){return this.addSvgIconLiteralInNamespace("",t,r,i)}addSvgIconInNamespace(t,r,i,s){return this._addSvgIconConfig(t,r,new rc(i,null,s))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,r,i,s){const o=this._sanitizer.sanitize(Pt.HTML,i);if(!o)throw Rx(i);const l=jp(o);return this._addSvgIconConfig(t,r,new rc("",l,s))}addSvgIconSet(t,r){return this.addSvgIconSetInNamespace("",t,r)}addSvgIconSetLiteral(t,r){return this.addSvgIconSetLiteralInNamespace("",t,r)}addSvgIconSetInNamespace(t,r,i){return this._addSvgIconSetConfig(t,new rc(r,null,i))}addSvgIconSetLiteralInNamespace(t,r,i){const s=this._sanitizer.sanitize(Pt.HTML,r);if(!s)throw Rx(r);const o=jp(s);return this._addSvgIconSetConfig(t,new rc("",o,i))}registerFontClassAlias(t,r=t){return this._fontCssClassesByAlias.set(t,r),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const r=this._sanitizer.sanitize(Pt.RESOURCE_URL,t);if(!r)throw Ox(t);const i=this._cachedIconsByUrl.get(r);return i?Qo($y(i)):this._loadSvgIconFromConfig(new rc(t,null)).pipe(gD(s=>this._cachedIconsByUrl.set(r,s)),tt(s=>$y(s)))}getNamedSvgIcon(t,r=""){const i=Px(r,t);let s=this._svgIconConfigs.get(i);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(r,t),s)return this._svgIconConfigs.set(i,s),this._getSvgFromConfig(s);const o=this._iconSetConfigs.get(r);return o?this._getSvgFromIconSetConfigs(t,o):Cx(xx(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?Qo($y(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(tt(r=>$y(r)))}_getSvgFromIconSetConfigs(t,r){const i=this._extractIconWithNameFromAnySet(t,r);if(i)return Qo(i);const s=r.filter(o=>!o.svgText).map(o=>this._loadSvgIconSetFromConfig(o).pipe(function R5(n){return function(t){const r=new P5(n),i=t.lift(r);return r.caught=i}}(l=>{const f=`Loading icon set URL: ${this._sanitizer.sanitize(Pt.RESOURCE_URL,o.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(f)),Qo(null)})));return EI(s).pipe(tt(()=>{const o=this._extractIconWithNameFromAnySet(t,r);if(!o)throw xx(t);return o}))}_extractIconWithNameFromAnySet(t,r){for(let i=r.length-1;i>=0;i--){const s=r[i];if(s.svgText&&s.svgText.toString().indexOf(t)>-1){const o=this._svgElementFromConfig(s),l=this._extractSvgIconFromSet(o,t,s.options);if(l)return l}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(gD(r=>t.svgText=r),tt(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?Qo(null):this._fetchIcon(t).pipe(gD(r=>t.svgText=r))}_extractSvgIconFromSet(t,r,i){const s=t.querySelector(`[id="${r}"]`);if(!s)return null;const o=s.cloneNode(!0);if(o.removeAttribute("id"),"svg"===o.nodeName.toLowerCase())return this._setSvgAttributes(o,i);if("symbol"===o.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(o),i);const l=this._svgElementFromString(jp("<svg></svg>"));return l.appendChild(o),this._setSvgAttributes(l,i)}_svgElementFromString(t){const r=this._document.createElement("DIV");r.innerHTML=t;const i=r.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(t){const r=this._svgElementFromString(jp("<svg></svg>")),i=t.attributes;for(let s=0;s<i.length;s++){const{name:o,value:l}=i[s];"id"!==o&&r.setAttribute(o,l)}for(let s=0;s<t.childNodes.length;s++)t.childNodes[s].nodeType===this._document.ELEMENT_NODE&&r.appendChild(t.childNodes[s].cloneNode(!0));return r}_setSvgAttributes(t,r){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),r&&r.viewBox&&t.setAttribute("viewBox",r.viewBox),t}_fetchIcon(t){var r;const{url:i,options:s}=t,o=null!==(r=null==s?void 0:s.withCredentials)&&void 0!==r&&r;if(!this._httpClient)throw function Z5(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==i)throw Error(`Cannot fetch icon from URL "${i}".`);const l=this._sanitizer.sanitize(Pt.RESOURCE_URL,i);if(!l)throw Ox(i);const c=this._inProgressUrlFetches.get(l);if(c)return c;const f=this._httpClient.get(l,{responseType:"text",withCredentials:o}).pipe(tt(h=>jp(h)),function N5(n){return e=>e.lift(new k5(n))}(()=>this._inProgressUrlFetches.delete(l)),oc());return this._inProgressUrlFetches.set(l,f),f}_addSvgIconConfig(t,r,i){return this._svgIconConfigs.set(Px(t,r),i),this}_addSvgIconSetConfig(t,r){const i=this._iconSetConfigs.get(t);return i?i.push(r):this._iconSetConfigs.set(t,[r]),this}_svgElementFromConfig(t){if(!t.svgElement){const r=this._svgElementFromString(t.svgText);this._setSvgAttributes(r,t.options),t.svgElement=r}return t.svgElement}_getIconConfigFromResolvers(t,r){for(let i=0;i<this._resolvers.length;i++){const s=this._resolvers[i](r,t);if(s)return J5(s)?new rc(s.url,null,s.options):new rc(s,null)}}}return n.\u0275fac=function(t){return new(t||n)(le(Mx,8),le(Sp),le(Tt,8),le(ts))},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function $y(n){return n.cloneNode(!0)}function Px(n,e){return n+":"+e}function J5(n){return!(!n.url||!n.options)}const ej=GM(class{constructor(n){this._elementRef=n}}),tj=new Le("mat-icon-location",{providedIn:"root",factory:function nj(){const n=vu(Tt),e=n?n.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}}),Fx=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],rj=Fx.map(n=>`[${n}]`).join(", "),ij=/^url\(['"]?#(.*?)['"]?\)$/;let sj=(()=>{class n extends ej{constructor(t,r,i,s,o){super(t),this._iconRegistry=r,this._location=s,this._errorHandler=o,this._inline=!1,this._currentIconFetch=w.EMPTY,i||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=yy(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const r=this._cleanupFontValue(t);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const r=this._cleanupFontValue(t);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const r=t.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const r=t.querySelectorAll("style");for(let s=0;s<r.length;s++)r[s].textContent+=" ";const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let r=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){const i=t.childNodes[r];(1!==i.nodeType||"svg"===i.nodeName.toLowerCase())&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,r=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();r!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),r&&t.classList.add(r),this._previousFontSetClass=r),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const r=this._elementsWithExternalReferences;r&&r.forEach((i,s)=>{i.forEach(o=>{s.setAttribute(o.name,`url('${t}#${o.value}')`)})})}_cacheChildrenWithExternalReferences(t){const r=t.querySelectorAll(rj),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s<r.length;s++)Fx.forEach(o=>{const l=r[s],c=l.getAttribute(o),f=c?c.match(ij):null;if(f){let h=i.get(l);h||(h=[],i.set(l,h)),h.push({name:o,value:f[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[r,i]=this._splitIconName(t);r&&(this._svgNamespace=r),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,r).pipe(Wy(1)).subscribe(s=>this._setSvgElement(s),s=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${r}:${i}! ${s.message}`))})}}}return n.\u0275fac=function(t){return new(t||n)(de(mn),de(qy),function du(n){return function Af(n,e){if("class"===e)return n.classes;if("style"===e)return n.styles;const t=n.attrs;if(t){const r=t.length;let i=0;for(;i<r;){const s=t[i];if(Ro(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof t[i];)i++;else{if(s===e)return t[i+1];i+=2}}}return null}(on(),n)}("aria-hidden"),de(tj),de(ts))},n.\u0275cmp=vs({type:n,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,r){2&t&&(Ys("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet),xa("mat-icon-inline",r.inline)("mat-icon-no-color","primary"!==r.color&&"accent"!==r.color&&"warn"!==r.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Re],ngContentSelectors:K5,decls:1,vars:0,template:function(t,r){1&t&&(hE(),pE(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),n})(),oj=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[lo],lo]}),n})();const aj=["elSignature"],lj=["cvSignature"],uj=["divUndo"],cj=["imgSignHere"];function dj(n,e){if(1&n){const t=uE();Ni(0,"button",17),ti("click",function(){return Mr(t),fE().downloadBtnAction()}),Ni(1,"span",18),Td(2,"Download"),ki(),Dl(3,"span",19),Dl(4,"span",20),ki()}2&n&&Ks("disabled",fE().disabled)}const fj=function(n){return{"disable-element-temp":n}};let hj=(()=>{class n extends w3{constructor(t,r,i,s,o,l,c){super(t,s,o,r),this.formbirdInjectorService=t,this.cdRef=r,this.el=i,this.changedDocumentService=s,this.componentSetupService=o,this.compressorBase30Service=l,this.utilService=c,this.visible=!0,this.disableSave=!1,this.enabled=!0,this.saveAsImage=!1,this.uploadOld=!1,this.onInit=!0,this.notificationService=this.formbirdInjectorService.get("NotificationService"),this.modifiedFieldService=this.formbirdInjectorService.get("ModifiedFieldService")}ngOnInit(){this.componentSetupService.setupStandardProperties(this),null==this.componentDefinition.visible||(this.visible=this.componentDefinition.visible),null==this.componentDefinition.disableSave||(this.disableSave=this.componentDefinition.disableSave),this.penColor="black",null==this.componentDefinition.penColor||(this.penColor=this.componentDefinition.penColor),null==this.componentDefinition.saveAsImage||(this.saveAsImage=this.componentDefinition.saveAsImage),null==this.componentDefinition.uploadOld||(this.uploadOld=this.componentDefinition.uploadOld),null==this.componentDefinition.enabled||(this.enabled=this.componentDefinition.enabled),this.signaturePad=new ry(this.cvSignature.nativeElement,{penColor:this.penColor}),this.setupChangeDetection(),this.initializeFieldValue();const t=this.broadcastService.on("formReset").subscribe(()=>{this.signaturePad.clear(),this.hasSignature(!1)});this.subs.add(t),this.loadData(),this.notifyComponentIntialized()}ngOnDestroy(){this.observer.unobserve(this.elSignature.nativeElement)}ngAfterViewInit(){var t;this.signaturePad.addEventListener("endStroke",()=>{this.hasSignature(!0);const r=this.signaturePad.toData();this.onValueChanged(r)}),this.observer=new ResizeObserver(()=>{this.resizeCanvas()}),this.observer.observe(this.elSignature.nativeElement),!this.dataID&&this.saveAsImage&&(this.dataID=this.utilService.generateId()),this.setFieldActivation(),this.onInit=!1,this.detectChanges(),this.saveAsImage&&this.uploadOld&&(null===(t=this.fieldValue)||void 0===t?void 0:t.length)>0&&this.fieldValue[0].length>0&&"a"!==this.fieldValue[0][0]&&this.createFilePNG().then(r=>{let i;i=r,this.componentDefinition.image=i}).catch(r=>{console.error("ERROR in local file processing")})}onFieldValueChanged(t){if((!this.onInit||t)&&!(0,C1.isEqual)(this.fieldValue,t)){if(t)this.fieldValue=(0,C1.cloneDeep)(t);else{if(this.fieldValue)return;this.signaturePad.clear(),this.hasSignature(!1)}this.detectChanges()}}onValueChanged(t){t&&(this.saveAsImage&&t.length>0?this.createFilePNG().then(r=>{let i;i=r,this.componentDefinition.image=i,this.valueChanged(t)}).catch(r=>{console.error("ERROR in local file processing")}):0==t.length?super.valueChanged(void 0):(this.componentDefinition.image&&(this.componentDefinition.image=void 0),this.valueChanged(t)))}valueChanged(t){super.valueChanged(t.map(r=>JSON.stringify(r)))}initializeFieldValue(){this.document[this.fieldName]&&(this.fieldValue=this.document[this.fieldName])}loadData(){if((()=>this.fieldValue&&Array.isArray(this.fieldValue))())try{if(this.fieldValue.length>0){let r,i,s;"a"===this.fieldValue[0][0]?(s=this.fieldValue[0],this.dataID=s.slice(12,-14),i=this.fieldValue.slice(1),r=i.map(o=>JSON.parse(o))):r=this.fieldValue.map(o=>JSON.parse(o)),this.signaturePad.fromData(r),this.hasSignature(!0)}}catch(r){let i=JSON.parse(JSON.stringify(this.fieldValue));(null==i?void 0:i.length)>0&&"a"===i[0][0]&&(i=i.slice(1)),null!=i[1]&&i[1].trim().length>0&&this.compressorBase30Service.pluginDecompressor(i[1],i[0],s=>{const o=this.convertStringDataToPoint(s).map(l=>Object.assign({dotSize:0,maxWidth:2.5,minWidth:.5},l));this.signaturePad.fromData(o),this.hasSignature(!0)})}else if(this.fieldValue&&"string"==typeof this.fieldValue)try{this.compressorBase30Service.pluginDecompressor(this.fieldValue,"image/jsignature;base30",r=>{const i=this.convertStringDataToPoint(r);this.signaturePad.fromData(i),this.hasSignature(!0)})}catch(r){console.log("Issue loading Signature Date string")}else this.hasSignature(!1)}convertStringDataToPoint(t){const r=[];for(let i=0;i<t.length;i++){const s=[];for(let o=0;o<t[i].x.length;o++)s.push({time:0,x:t[i].x[o],y:t[i].y[o]});r.push({penColor:this.penColor,points:s})}return r}resizeCanvas(){const t=this.signaturePad.toData(),r=Math.max(window.devicePixelRatio||1,1);this.cvSignature.nativeElement.width=this.cvSignature.nativeElement.offsetWidth*r,this.cvSignature.nativeElement.height=this.cvSignature.nativeElement.offsetHeight*r,this.cvSignature.nativeElement.getContext("2d").scale(r,r),t&&0!=t.length&&this.signaturePad.fromData(t)}undo(){const t=this.signaturePad.toData();t&&(t.pop(),this.signaturePad.fromData(t),this.onValueChanged(t)),(!t||0===t.length)&&this.hasSignature(!1)}setFieldActivation(){this.disabled?(this.elSignature.nativeElement.style.cursor="not-allowed",this.divUndo.nativeElement.style["pointer-events"]="none",this.cvSignature.nativeElement.style["pointer-events"]="none"):(this.elSignature.nativeElement.style.cursor="pointer",this.divUndo.nativeElement.style["pointer-events"]="auto",this.cvSignature.nativeElement.style["pointer-events"]="auto")}watchDoc(){this.loadData(),this.modifiedFieldService.addModifiedField(this.template.documentId,this.fieldName,this.formParameters.unsavedDocumentListId,!1)}showToolTip(t,r,i){return i.offsetWidth<=r.scrollWidth}toggleTooltip(t){setTimeout(()=>{t.toggle()})}hasSignature(t){t?(this.divUndo.nativeElement.style.display="block",this.imgSignHere.nativeElement.style.display="none"):(this.divUndo.nativeElement.style.display="none",this.imgSignHere.nativeElement.style.display="block")}downloadBtnAction(){if(this.enabled&&this.signaturePad.toData().length>0){const r=document.createElement("a");r.download=this.fieldName+".png",r.href=this.signaturePad.toDataURL(),r.click(),r.remove()}}createFilePNG(){const t=this.dataID;return new Promise((r,i)=>{let s;this.cvSignature.nativeElement.toBlob(function(o){s=new File([o],t+".png",{type:"image/png"}),r(s)})})}}return n.\u0275fac=function(t){return new(t||n)(de(S3),de(Vd),de(mn),de(KC),de(w0),de(A3),de(T3))},n.\u0275cmp=vs({type:n,selectors:[["ng-component"]],viewQuery:function(t,r){if(1&t&&(Fd(aj,7),Fd(lj,7),Fd(uj,7),Fd(cj,7)),2&t){let i;Pd(i=Nd())&&(r.elSignature=i.first),Pd(i=Nd())&&(r.cvSignature=i.first),Pd(i=Nd())&&(r.divUndo=i.first),Pd(i=Nd())&&(r.imgSignHere=i.first)}},inputs:{responsiveLayouts:"responsiveLayouts"},features:[Re],decls:21,vars:15,consts:[[1,"signature-wrapper"],["formFieldContainer",""],[3,"click"],["labelContainer",""],[1,"labelToolTipContainer",3,"matTooltip","matTooltipDisabled"],["tooltip","matTooltip"],[1,"ft-signature",3,"ngClass"],[2,"border","2px dotted #000000","background-color","gray",3,"id"],["elSignature",""],["src","data:image/gif;base64,R0lGODlhtABJAOf/AAABAAACAAEEAAIFAQQHAgUIBAcJBQoJAAgLBwwLAAoMCA0MAA8OAwwPCxMQAA8RDRURABYSARITERMVBBQVExcXABgYAhYYFRkaBBwbABkaGB0cAR4dAhocGRsdGh8fBSIgAB0fHB4gHSAhHyQjBSckACIjISgmASQlIyooBSYnJSwpAC0qAC4rAS8rAikqKCssKjEuBTMvAC0uLDUwAjcyBS8xLzg0Bjs1ATIzMTw3Azk5BDQ2MzY3NTs7Bjw8Bzg5Nz49ADo7OUA/AkJABEJBBTw+O0RCBj5APUVECEdFAUFCQElGAkpIBERGQ0xKBk5LB09MCEdJRlJOAlNPA0pLSVRQBFZSBk1PTFdTB1hUCVtVAE9RTlxXAl5YBFJUUVRVU2BaBmFbCFZXVWJcCVZYVVlbWWZgAmhhBGliBVxeW15gXWxlCW1mC2BiX25nDHBoAXJqA2NlYnRrBmZnZXFuCGhpZ3NwCnRxDHVyAHdzAWxta3l1A3p2BW9xbnx4CX55DIB7AHN1coJ8AYN+A3Z4dXh6d4eBCYiCDImDDnt9eoyFAI2GAo6HA36AfZCJBoCCf4KEgZOLDJWND4WHhJiQAYiKh5qSBZ2UCouNip+VDqGXAI6QjaSaA5CSj6ecB5SWk6ieC6qfDq2hAJeZlq+jAJmbmLCkAqynBJyem66oCZ2fnLCqDaCin7StALKsEKOloriwA7qyCaeppry0DamrqL+2AL21EMG4AKyuq8O6Aq6wrca8CbCyr7O1ssm/EcvBAM3DALa4tc/EAri6t7q8udLHCdPIDr2/vNXKEtjMANrNAMDCvtvPAsLEwd3QB8PFwsXHxN/SDcfJxuHUEuTWAOXXAOfYAMvNyejaBc3PzOrcC9DSz+zdEOjgE+viANPV0uzjAO3kAO7lANfZ1vDnBvLoC9nb2PPpD/brAPTqEtze2/ftAPnuAPrvAN/h3vvwAPzxBeHk4P7yCeXn5Ofp5unr6Ovt6u7w7fHz8PP18vX49Pn7+Pv9+v7//P///yH5BAEKAP8ALAAAAAC0AEkAAAj+AP8JHEhQoL+DCAsqXMiwocOHECNKnEixosWHCDNq9Hexo8ePIEOKhHiwXiQVFy6M+EKJ2L2NHEfKnEmz5sWDoAgE2MmT50pLxfDBtEm0qNGQBzntpGJLnLhqqgAxqdAzgIkxmZDlG3q0q9evBqHt1DSvrFmz1VD1URKhqgozmZht3Qi2rl2QB8EEGHS2r19qo/QcadtThRpO0OZqvMu4cUN/8ggs8Oa3cmVpovAQYVAVxhpP0fZxdUy6rr9ZAaxYXm053rJPdYIsqDrDDahpoumW3m3zoKAAiVgLXx1P2ac5O2bzJGBDDils/Ebznt7x4JIAt4ZrZ93u2KY3OJT+7ySQgw4pbdF1U19P0l+DAOK2yxfezpgmNjUM9DTQw04qbuktxt6ABPlDTgAnzKegdu0Ec0kaNOjEkwFA7NEKOAFmROB6/sASwBYLhrgdO8BUckYMEu5kgBB+XNiPdBvadZAfATQi4o3ysfPLJGK4UJUCRvgBCzkwxRSjVwcZEQAuODY5Hzq8SOIFC1U1gIQgs5xT5JFF+dOPAgGY4+SYCpqDSyNdnFDVA0sUUss6W3I5kj/gBMACmXiGWI4ti2hBQlUSOGFILu/EKedNrQQQBoOjeEHCCTggUk2eeYpDSyJXgFAVBVIosos8hh6KkT97BCDJcMrQUFUABPBV1ij+kuASDqVOhiMLIlRwUNUFVTjSCz2hilqgP0AEwItw3nAmwyeyGCPLGZzNKk5PJMARizq0OulNLINEsUFVHWABiS/1wHioP/wYQAC2rNURwAbs9IXOpGUhEl5PCzShSrZkbuPKIE1YAC4XkQhjj7kE+sNNADIM10UAOmz3RAAuELaAX7h4EYQYyfAb4jVRTVWVCCy5hDBv/qQSwBnDfbITFLzEw1o8beHSjix1kGUWOmhUlUV8HouYVh9JEOYTGEAJpV5pB9kRQCXaLUIYBnrQ61cwARgQr1/WUBkAEYPgsJMMMs8jjhixBB0iYHoQAUFVJpSRlWIaNnYQDwEEs13+OYhQtdOpfjESwA+VlePjAqiUFU8lEBhA2Tx/BBDBNWrjiNkdm7llBidynUwUugYY0M587GiSwk6b+MVEAH/41c7qBhx7VjfSmJXFTnNY1s4zlcvn2nGyVfXCYdDo4/mc2ARQQ4jtTBEAB6Ob1c5ssvilyU6fCFfDTgsA3RcgAYjS+4LtKNMJcuLt5BlouR3UJSkBsMFaNY1E3xc1O1Fz1jE7odOXOBNg3XDeph9EVMZ5YhgfjrrznXstpzbEcF9NDiKHAOjMMnkIQO78soydUM4sowgACfwSuQ+UbTXd+FsALLC1s2hhZasJRgWyp0AG2Qc/+mFVLiQ4k4PkIAD+xmDN9QjQCfvNgx3OO0JfBhEAKvjlT3yJxzV4MYpYKINdZZFFADAQjxhY0C8Tc1Vl4BAAPdSQfMHAA6t2wcM57UMyRnSdFXaygUFIAhF/+BYBZGeWK+ylL1gLQDW8UYJVVYAJ35jHIpo4D1QEIAUnLIuaLugXL7piNaJg0hktw0QC9KKNSJlGAHAwnHZ84garcoHezhKPAFbvLJUIwA7mUY309SSIL2TEPOLho0tKTydpq8y04GMZl4FoHrwAAR4GYUdVdOOMnfQFKD/iD1AEAA7yAUYf0JAFQMTCfq7AwRHmGABVeG8eTCRCWcTRjXCUgx3HKGBZ/qTJUzDMfs/+2EnHKqOKANBgNTsIAA3fsCoCMOET/hsf+AwgjGnexB9uCEAnxjSHVQVAmWXRgyxd9wM7jS6FASiH4nwEuHm8ImtxNIsa72CZcuzkcVF4JBSsEIRv7YQBzxxfH7IWQSN55CAzCIAyxsQOUSxiDle4gXIWMDpXBKACH1zn6rBTln6C4CwhXMAHGxGAG6yGCAFIXGW0iAGz+IiGZflFG2o2D2kwgQiJ2Ce/NGqAYjiUIge5ADFpFY9njOIXZVHHtzbQh1GoQg8YYFXqyrLTKbBSVVooSxoC8IbVtKV2lWHiFcryjZ1g9izt+GAbejKFofLrDllDxl0lkte9Vu4ZNu3+SQReWZYg/PEswNhJ9WyL1r5cg1W8CEYwjrEMb0RvdVBr5LuEY9smyGA8tPCLLS5xjWpYI6XyqagBVOvTihykA0JVoDk2oYQayOCgWJwHOoDpl9GWQB2c4R0/LbqTCaRAP8soCxkXxZpvMWkUbWGAac2iqZ58YA6rVFBFFcCM1Y6KDhrc5Gq0yIAWmkUcVAmD5FZDxgq4gAUpOMEG0rcBswagDso451nMsRNrlOUaqwPB445IX4qNYkEEVQA0HOwQOgVgAQmW8FmWEYHWVcZlO2nCaqgkvr6UQxoa5q8yqrIAEhBBDJOI3kktAFoqya8s0mDVNr6xDWBcAqwB+ED+iNgQAAVEg8cMOYgaJMdHIZvFwn45wk4mYZltvNQyvC2LyxaQ2FVpcrT8NYsjSyxoO/nlGo3Y14LiMdkGTAPOC0HXF3aCg0ocA7t29m0MIpBTv7jsn5Z5G2bPEIA2zKMd1aBiI+Zwh6396cZnwdrFJNtqSsWD1Q3ABqYVgi5H6JV7OoBDJ5QBajujQ6SWYbUZK5NCppaFyazJpwGgXRZ0xPROkgwArvMUDzEE4AHC7i5r0VULN8wgRT/2wRw+oYxIhno1p7OFZXBBsbK0QyefrYwkdlKDJkxBC10IoEBfvJNS56kdXgiABLQx7IJoZB/R8MQaYEDlINThE8+w973+y4IHKoD6elkoizX6x5rbWdQCTZ4HVxFEBC/ooRKqCEaz5wNxiXOj4sTeiD6gwQk1vKAqDCACHkYR8JGvhomAKEtud43vAExBQgsYRDAi+TD6qnNM7diCz4H+mI3kgxmZMIMKqhKBI+hhFPpzul+OsQV6hYNVbfgFnsvCjp08IxheS0Mcv7UIo87BCjhIrGPJ1I4XUgAcZG+PRvCBDEuMwQRsV0IfUGE1uZ+F1eNJgRYG8YnoGQOlR3TXh+wXZteaReRNasccLwB5dcsEJvggBiW+IIKqHBIQqoiq3F+xBaP9rdGoLgsTI9xocFeuHVQIwAWIZPsJbuQewqAEFzz+UBULNAEQr9iG3OszikFsQQmmdVkd+hLxALwyEQFQ8vjaEVMNaKn6XdpIPXwBCSyAtycbAAWDEAsO53m8kFB3ZlslUBYVlUAK1A4T0wH35xgwQQ+94AhVcGw8sQFTQAixkEie5xfhQARpkFEBwAQz1jvs0AQB0AFwgn9gUSTykAuKIAUSUBUgYAWIIAsqFoLzcAsqQgRwoAm/kIL8wg6rEwKFAoN3USTvkAuG4AQ32BMgkAWLcAs9OHKvoCZVwQI7R1RJEAAisIQbUiTrUAuFsATv0RMlsAWMgAvcNnLPIAlioANtEQFiojbqoGcjACpMiDIwcQ6zIAhIACY9kQL+XRAreeh03rCIaoMOYGUCfigs/1Ak5AALfmAEhsgTLOAFknCAPsgv1bAIPhIAKFAuf1iGG9EP4NAKewAEOcQTLoBlv5BeoRgi3TAJAbUTDeAGxBAglBhnG8EP3LAKdtADscgqMXAGlQAMe3eLliEOmqBnKlIGu9A+qRiMlTiM2mAKdJAD8EYANJAGl6Bz0NgX5vAJTyAhBIAFs0A32vhTw4gNpCAHNgBvBlADbKAJxvCFm8QOqqAF4uEEq6A0kRePPbYR+zANoOBuVIYDbbAJn2Zn7RALYsAZO2EEoICKB4mQeKWQGWd0VJZsy+aPYxIPuMAGRpMDmeCHHemR1GS+ds5QdGuHL/JGb7DXJMBQB7H1ApBwfy8Jkz1kdsiQCWWAAh33cSGHI8fwB3+yEyZgCD9XN0LJHrhXDJYABpjXE0m3dE3HGtIwCKXYgn5waVRZlVwCE/ege7zHdm4Hd5UBaduzExJAB8jwIgmBlggJE/YgDJHABf/HExGgeaigDJVgW7yoBsKQIXrZmNuoEfvnCFigARZlAGCQC9jomJppcRshD72gCFXQAVUAC/C4maaZaUWSl6e5mgkZlBYREAA7","alt","sign here",1,"sign-here"],["imgSignHere",""],[3,"id"],["cvSignature",""],[1,"undo-wrapper"],["divUndo",""],["type","button","mat-raised-button","","color","primary",3,"disabled","click"],["mat-raised-button","","color","secondary","type","button",3,"disabled","click",4,"ngIf"],["mat-raised-button","","color","secondary","type","button",3,"disabled","click"],[1,"mat-button-wrapper"],["matripple","",1,"mat-ripple","mat-button-ripple"],[1,"mat-button-focus-overlay"]],template:function(t,r){if(1&t){const i=uE();Ni(0,"div",0,1),Ni(2,"mat-label",2,3),ti("click",function(){Mr(i);const o=Qh(6);return r.toggleTooltip(o)}),Td(4),ki(),Dl(5,"div",4,5),Ni(7,"div",6),Ni(8,"div",7,8),Dl(10,"img",9,10),Dl(12,"canvas",11,12),Ni(14,"div",13,14),Ni(16,"button",15),ti("click",function(){return r.undo()}),Ni(17,"mat-icon"),Td(18,"undo"),ki(),Td(19," Undo Last Stroke "),ki(),ki(),ki(),ki(),function lw(n,e,t,r,i,s,o,l){const c=ge(),f=gt(),h=n+20,m=f.firstCreatePass?function Bx(n,e,t,r,i,s,o,l,c){const f=e.consts,h=Gn(e,n,4,o||null,Ti(f,l));Rh(e,t,h,Ti(f,c)),xc(e,h);const m=h.tViews=cd(2,h,r,i,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,f);return null!==e.queries&&(e.queries.template(e,h),m.queries=e.queries.embeddedTView(h)),h}(h,f,c,e,t,r,i,s,o):f.data[h];Gr(m,!1);const y=c[11].createComment("");Xc(f,c,y,m),er(y,c),fd(c,c[h]=kg(y,c,y,m)),_o(m)&&Ih(f,c,m),null!=o&&Mh(c,m,l)}(20,dj,5,1,"button",16),ki()}if(2&t){const i=Qh(1),s=Qh(3),o=Qh(6);Qr(2),Uw(null!=r.componentDefinition&&r.componentDefinition.mandatory?"mandatory":""),Qr(2),h_(" ",null==r.componentDefinition?null:r.componentDefinition.label," "),Qr(1),mE("matTooltip",r.componentDefinition.label),Ks("matTooltipDisabled",r.showToolTip(o,i,s)),Qr(2),Ks("ngClass",function QS(n,e,t,r){return ZS(ge(),x(),n,e,t,r)}(13,fj,r.disabled)),Qr(1),Ks("id",r.fieldName),Qr(4),d_("pointer-events",r.disabled?"none":"auto"),Ks("id","cv"+r.fieldName),Qr(4),Ks("disabled",r.disabled),Qr(4),Ks("ngIf",1==r.componentDefinition.downloadImage)}},directives:[e4,y5,FC,T5,sj,JT],styles:["html.touch #content{float:left;width:92%}html.touch #scrollgrabber{float:right;width:4%;margin-right:2%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAFCAAAAACh79lDAAAAAXNSR0IArs4c6QAAABJJREFUCB1jmMmQxjCT4T/DfwAPLgOXlrt3IwAAAABJRU5ErkJggg==)}html.borderradius #scrollgrabber{border-radius:1em}.signature-wrapper .ft-signature{margin-top:5px;margin-bottom:10px}@media screen and (max-width: 520.98px){.signature-wrapper .ft-signature{margin:0}}.signature-wrapper canvas{background-color:transparent!important;touch-action:none;min-height:200px!important;width:100%}.signature-wrapper .sign-here{position:absolute;min-width:90px!important;max-width:180px!important;width:8%!important;-webkit-user-drag:none;-webkit-user-select:none;user-select:none;pointer-events:none}.signature-wrapper .undo-wrapper{display:none;touch-action:none;position:relative;padding:0!important;margin:-1.5em 0 1.5em!important;width:100%!important;height:0!important;text-align:center}.signature-wrapper .undo-wrapper button{position:relative;top:auto;margin:-9px 0 0!important}.ft-signature.disable-element-temp{opacity:.54}\n"],encapsulation:2,changeDetection:0}),n})(),pj=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:[w0],imports:[[zd,tB]]}),n})();let Nx=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[gy]]}),n})(),gj=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:[UH],imports:[[Nx,dD,lo],Nx,dD]}),n})();const vj=new class yj extends oo{}(class _j extends iy{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,r=0){return null!==r&&r>0||null===r&&this.delay>0?super.requestAsyncId(e,t,r):e.flush(this)}});class fs{constructor(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return r&&r()}}accept(e,t,r){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,r)}toObservable(){switch(this.kind){case"N":return Qo(this.value);case"E":return Cx(this.error);case"C":return ox()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new fs("N",e):fs.undefinedValueNotification}static createError(e){return new fs("E",void 0,e)}static createComplete(){return fs.completeNotification}}fs.completeNotification=new fs("C"),fs.undefinedValueNotification=new fs("N",void 0);class Yy extends E{constructor(e,t,r=0){super(e),this.scheduler=t,this.delay=r}static dispatch(e){const{notification:t,destination:r}=e;t.observe(r),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(Yy.dispatch,this.delay,new Ej(e,this.destination)))}_next(e){this.scheduleMessage(fs.createNext(e))}_error(e){this.scheduleMessage(fs.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(fs.createComplete()),this.unsubscribe()}}class Ej{constructor(e,t){this.notification=e,this.destination=t}}class Cj extends ye{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,r){super(),this.scheduler=r,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new Dj(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,r=t?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,s=r.length;let o;if(this.closed)throw new Ne;if(this.isStopped||this.hasError?o=w.EMPTY:(this.observers.push(e),o=new Dt(this,e)),i&&e.add(e=new Yy(e,i)),t)for(let l=0;l<s&&!e.closed;l++)e.next(r[l]);else for(let l=0;l<s&&!e.closed;l++)e.next(r[l].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),o}_getNow(){return(this.scheduler||vj).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,r=this._windowTime,i=this._events,s=i.length;let o=0;for(;o<s&&!(e-i[o].time<r);)o++;return s>t&&(o=Math.max(o,s-t)),o>0&&i.splice(0,o),i}}class Dj{constructor(e,t){this.time=e,this.value=t}}function kx(n,e){return"function"==typeof e?t=>t.pipe(kx((r,i)=>bi(n(r,i)).pipe(tt((s,o)=>e(r,s,i,o))))):t=>t.lift(new wj(n))}class wj{constructor(e){this.project=e}call(e,t){return t.subscribe(new Sj(e,this.project))}}class Sj extends fo{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const r=this.index++;try{t=this.project(e,r)}catch(i){return void this.destination.error(i)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const r=new co(this),i=this.destination;i.add(r),this.innerSubscription=gn(e,r),this.innerSubscription!==r&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;(!e||e.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}const Ky={schedule(n,e){const t=setTimeout(n,e);return()=>clearTimeout(t)},scheduleBeforeRender(n){if("undefined"==typeof window)return Ky.schedule(n,0);if(void 0===window.requestAnimationFrame)return Ky.schedule(n,16);const e=window.requestAnimationFrame(n);return()=>window.cancelAnimationFrame(e)}};let vD;function Nj(n,e,t){let r=t;return function Ij(n){return!!n&&n.nodeType===Node.ELEMENT_NODE}(n)&&e.some((i,s)=>!("*"===i||!function xj(n,e){if(!vD){const t=Element.prototype;vD=t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}return n.nodeType===Node.ELEMENT_NODE&&vD.call(n,e)}(n,i)||(r=s,0))),r}class Lj{constructor(e,t){this.componentFactory=t.get(Oa).resolveComponentFactory(e)}create(e){return new Vj(this.componentFactory,e)}}class Vj{constructor(e,t){this.componentFactory=e,this.injector=t,this.eventEmitters=new Cj(1),this.events=this.eventEmitters.pipe(kx(r=>ps(...r))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:r})=>r)),this.ngZone=this.injector.get(Zt),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Ky.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(e){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){this.runInZone(()=>{null!==this.componentRef?function Oj(n,e){return n===e||n!=n&&e!=e}(t,this.getInputValue(e))&&(void 0!==t||!this.unchangedInputs.has(e))||(this.recordInputChange(e,t),this.unchangedInputs.delete(e),this.hasInputChanges=!0,this.componentRef.instance[e]=t,this.scheduleDetectChanges()):this.initialInputValues.set(e,t)})}initializeComponent(e){const t=Ht.create({providers:[],parent:this.injector}),r=function Fj(n,e){const t=n.childNodes,r=e.map(()=>[]);let i=-1;e.some((s,o)=>"*"===s&&(i=o,!0));for(let s=0,o=t.length;s<o;++s){const l=t[s],c=Nj(l,e,i);-1!==c&&r[c].push(l)}return r}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,r,e),this.viewChangeDetectorRef=this.componentRef.injector.get(Vd),this.implementsOnChanges=function Mj(n){return"function"==typeof n}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Uu).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e})=>{this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e))}),this.initialInputValues.clear()}initializeOutputs(e){const t=this.componentFactory.outputs.map(({propName:r,templateName:i})=>e.instance[r].pipe(tt(o=>({name:i,value:o}))));this.eventEmitters.next(t)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}markViewForCheck(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Ky.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,t){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const r=this.inputChanges[e];if(r)return void(r.currentValue=t);const i=this.unchangedInputs.has(e),s=i?void 0:this.getInputValue(e);this.inputChanges[e]=new Co(s,t,i)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}class Bj extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}let jj=(()=>{class n{constructor(){this.convertToCustomElement=(t,r,i,s,o)=>{if(s||(s="NOT-SET"),!customElements.get(r)){const l=function Hj(n,e){const t=function Pj(n,e){return e.get(Oa).resolveComponentFactory(n).inputs}(n,e.injector),r=e.strategyFactory||new Lj(n,e.injector),i=function Rj(n){const e={};return n.forEach(({propName:t,templateName:r})=>{e[function Aj(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}(r)]=t}),e}(t);class s extends Bj{constructor(l){super(),this.injector=l}get ngElementStrategy(){if(!this._ngElementStrategy){const l=this._ngElementStrategy=r.create(this.injector||e.injector);t.forEach(({propName:c})=>{if(!this.hasOwnProperty(c))return;const f=this[c];delete this[c],l.setInputValue(c,f)})}return this._ngElementStrategy}attributeChangedCallback(l,c,f,h){this.ngElementStrategy.setInputValue(i[l],f)}connectedCallback(){let l=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),l=!0),this.ngElementStrategy.connect(this),l||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(l=>{const c=function Tj(n,e,t){if("function"!=typeof CustomEvent){const s=n.createEvent("CustomEvent");return s.initCustomEvent(e,!1,!1,t),s}return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t})}(this.ownerDocument,l.name,l.value);this.dispatchEvent(c)})}}return s.observedAttributes=Object.keys(i),t.forEach(({propName:o})=>{Object.defineProperty(s.prototype,o,{get(){return this.ngElementStrategy.getInputValue(o)},set(l){this.ngElementStrategy.setInputValue(o,l)},configurable:!0,enumerable:!0})}),s}(t,{injector:i}),c=l.prototype.connectedCallback||function(){};l.prototype.connectedCallback=function(){this.setAttribute("fb-component-version",s),o&&this.setAttribute("is-static-panel",o.isStaticPanel),c.call(this)},customElements.define(r,l)}}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=Ce({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Uj=(()=>{class n{constructor(t,r){this.injector=t,this.customElementService=r,r.convertToCustomElement(hj,"sc-signature",this.injector,"7.5.9")}}return n.\u0275fac=function(t){return new(t||n)(le(Ht),le(jj))},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({imports:[[zd,t3,I5,oj,gj,dD,E5,pj]]}),n})(),Wj=(()=>{class n{constructor(){}ngDoBootstrap(){}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=We({type:n}),n.\u0275inj=Nt({providers:[],imports:[[zd,MV,Uj]]}),n})();(function RF(){if(LA)throw new Error("Cannot enable prod mode after platform setup.");kA=!1})(),TV().bootstrapModule(Wj).catch(n=>console.error(n))},1116:function(Ee,H,J){Ee=J.nmd(Ee),function(F){"use strict";function _(b,x){x|=0;for(var P=Math.max(b.length-x,0),j=Array(P),te=0;te<P;te++)j[te]=b[x+te];return j}var oe=function(b){var x=_(arguments,1);return function(){var P=_(arguments);return b.apply(null,x.concat(P))}},U=function(b){return function(){var x=_(arguments),P=x.pop();b.call(this,x,P)}};function G(b){var x=typeof b;return null!=b&&("object"==x||"function"==x)}var R="function"==typeof setImmediate&&setImmediate,k="object"==typeof process&&"function"==typeof process.nextTick;function L(b){setTimeout(b,0)}function q(b){return function(x){var P=_(arguments,1);b(function(){x.apply(null,P)})}}var B=q(R?setImmediate:k?process.nextTick:L);function g(b){return U(function(x,P){var j;try{j=b.apply(this,x)}catch(te){return P(te)}G(j)&&"function"==typeof j.then?j.then(function(te){M(P,null,te)},function(te){M(P,te.message?te:new Error(te))}):P(null,j)})}function M(b,x,P){try{b(x,P)}catch(j){B(E,j)}}function E(b){throw b}var S="function"==typeof Symbol;function N(b){return S&&"AsyncFunction"===b[Symbol.toStringTag]}function T(b){return N(b)?g(b):b}function z(b){return function(x){var P=_(arguments,1),j=U(function(te,ee){var ce=this;return b(x,function(me,De){T(me).apply(ce,te.concat(De))},ee)});return P.length?j.apply(this,P):j}}var X="object"==typeof global&&global&&global.Object===Object&&global,be="object"==typeof self&&self&&self.Object===Object&&self,re=X||be||Function("return this")(),se=re.Symbol,pe=Object.prototype,Ke=pe.hasOwnProperty,Ne=pe.toString,Dt=se?se.toStringTag:void 0;var Se=Object.prototype.toString;var Et=se?se.toStringTag:void 0;function fn(b){return null==b?void 0===b?"[object Undefined]":"[object Null]":Et&&Et in Object(b)?function ke(b){var x=Ke.call(b,Dt),P=b[Dt];try{b[Dt]=void 0;var j=!0}catch(ee){}var te=Ne.call(b);return j&&(x?b[Dt]=P:delete b[Dt]),te}(b):function st(b){return Se.call(b)}(b)}function ji(b){return"number"==typeof b&&b>-1&&b%1==0&&b<=9007199254740991}function vi(b){return null!=b&&ji(b.length)&&!function rf(b){if(!G(b))return!1;var x=fn(b);return"[object Function]"==x||"[object GeneratorFunction]"==x||"[object AsyncFunction]"==x||"[object Proxy]"==x}(b)}var ra={};function Ct(){}function Sr(b){return function(){if(null!==b){var x=b;b=null,x.apply(this,arguments)}}}var ia="function"==typeof Symbol&&Symbol.iterator;function sa(b){return null!=b&&"object"==typeof b}function bi(b){return sa(b)&&"[object Arguments]"==fn(b)}var co=Object.prototype,Ui=co.hasOwnProperty,fo=co.propertyIsEnumerable,Gp=bi(function(){return arguments}())?bi:function(b){return sa(b)&&Ui.call(b,"callee")&&!fo.call(b,"callee")},gn=Array.isArray;var ho="object"==typeof F&&F&&!F.nodeType&&F,oa=ho&&Ee&&!Ee.nodeType&&Ee,hs=oa&&oa.exports===ho?re.Buffer:void 0,ps=(hs?hs.isBuffer:void 0)||function or(){return!1},Hl=/^(?:0|[1-9]\d*)$/;function jl(b,x){var P=typeof b;return!!(x=null==x?9007199254740991:x)&&("number"==P||"symbol"!=P&&Hl.test(b))&&b>-1&&b%1==0&&b<x}var Xt={};Xt["[object Float32Array]"]=Xt["[object Float64Array]"]=Xt["[object Int8Array]"]=Xt["[object Int16Array]"]=Xt["[object Int32Array]"]=Xt["[object Uint8Array]"]=Xt["[object Uint8ClampedArray]"]=Xt["[object Uint16Array]"]=Xt["[object Uint32Array]"]=!0,Xt["[object Arguments]"]=Xt["[object Array]"]=Xt["[object ArrayBuffer]"]=Xt["[object Boolean]"]=Xt["[object DataView]"]=Xt["[object Date]"]=Xt["[object Error]"]=Xt["[object Function]"]=Xt["[object Map]"]=Xt["[object Number]"]=Xt["[object Object]"]=Xt["[object RegExp]"]=Xt["[object Set]"]=Xt["[object String]"]=Xt["[object WeakMap]"]=!1;var $n="object"==typeof F&&F&&!F.nodeType&&F,Ga=$n&&Ee&&!Ee.nodeType&&Ee,ac=Ga&&Ga.exports===$n&&X.process,Ur=function(){try{return Ga&&Ga.require&&Ga.require("util").types||ac&&ac.binding&&ac.binding("util")}catch(x){}}(),df=Ur&&Ur.isTypedArray,Kp=df?function Wa(b){return function(x){return b(x)}}(df):function Yp(b){return sa(b)&&ji(b.length)&&!!Xt[fn(b)]},Zp=Object.prototype.hasOwnProperty;function ff(b,x){var P=gn(b),j=!P&&Gp(b),te=!P&&!j&&ps(b),ee=!P&&!j&&!te&&Kp(b),ce=P||j||te||ee,me=ce?function ja(b,x){for(var P=-1,j=Array(b);++P<b;)j[P]=x(P);return j}(b.length,String):[],De=me.length;for(var Fe in b)(x||Zp.call(b,Fe))&&(!ce||!("length"==Fe||te&&("offset"==Fe||"parent"==Fe)||ee&&("buffer"==Fe||"byteLength"==Fe||"byteOffset"==Fe)||jl(Fe,De)))&&me.push(Fe);return me}var Xp=Object.prototype;var Fn=function Jp(b,x){return function(P){return b(x(P))}}(Object.keys,Object),em=Object.prototype.hasOwnProperty;function tm(b){if(!function za(b){var x=b&&b.constructor;return b===("function"==typeof x&&x.prototype||Xp)}(b))return Fn(b);var x=[];for(var P in Object(b))em.call(b,P)&&"constructor"!=P&&x.push(P);return x}function Ql(b){return vi(b)?ff(b):tm(b)}function Ei(b){if(vi(b))return function Ce(b){var x=-1,P=b.length;return function(){return++x<P?{value:b[x],key:x}:null}}(b);var x=function(b){return ia&&b[ia]&&b[ia]()}(b);return x?function hf(b){var x=-1;return function(){var j=b.next();return j.done?null:(x++,{value:j.value,key:x})}}(x):function Nt(b){var x=Ql(b),P=-1,j=x.length;return function te(){var ee=x[++P];return"__proto__"===ee?te():P<j?{value:b[ee],key:ee}:null}}(b)}function Wr(b){return function(){if(null===b)throw new Error("Callback was already called.");var x=b;b=null,x.apply(this,arguments)}}function qa(b){return function(x,P,j){if(j=Sr(j||Ct),b<=0||!x)return j(null);var te=Ei(x),ee=!1,ce=0,me=!1;function De(we,je){if(ce-=1,we)ee=!0,j(we);else{if(je===ra||ee&&ce<=0)return ee=!0,j(null);me||Fe()}}function Fe(){for(me=!0;ce<b&&!ee;){var we=te();if(null===we)return ee=!0,void(ce<=0&&j(null));ce+=1,P(we.value,we.key,Wr(De))}me=!1}Fe()}}function Wi(b,x,P,j){qa(x)(b,T(P),j)}function _n(b,x){return function(P,j,te){return b(P,x,j,te)}}function la(b,x,P){P=Sr(P||Ct);var j=0,te=0,ee=b.length;function ce(me,De){me?P(me):(++te===ee||De===ra)&&P(null)}for(0===ee&&P(null);j<ee;j++)x(b[j],j,Wr(ce))}var ua=_n(Wi,1/0),Ci=function(b,x,P){(vi(b)?la:ua)(b,T(x),P)};function _s(b){return function(x,P,j){return b(Ci,x,T(P),j)}}function He(b,x,P,j){j=j||Ct,x=x||[];var te=[],ee=0,ce=T(P);b(x,function(me,De,Fe){var we=ee++;ce(me,function(je,Rt){te[we]=Rt,Fe(je)})},function(me){j(me,te)})}var ys=_s(He),lc=z(ys);function Yn(b){return function(x,P,j,te){return b(qa(P),x,T(j),te)}}var Gi=Yn(He),$a=_n(Gi,1),Di=z($a);function Bn(b,x){for(var P=-1,j=null==b?0:b.length;++P<j&&!1!==x(b[P],P,b););return b}var cc=function uc(b){return function(x,P,j){for(var te=-1,ee=Object(x),ce=j(x),me=ce.length;me--;){var De=ce[b?me:++te];if(!1===P(ee[De],De,ee))break}return x}}();function rn(b,x){return b&&cc(b,x,Ql)}function fc(b){return b!=b}function Ya(b,x,P){return x==x?function pf(b,x,P){for(var j=P-1,te=b.length;++j<te;)if(b[j]===x)return j;return-1}(b,x,P):function dc(b,x,P,j){for(var te=b.length,ee=P+(j?1:-1);j?ee--:++ee<te;)if(x(b[ee],ee,b))return ee;return-1}(b,fc,P)}var St=function(b,x,P){"function"==typeof x&&(P=x,x=null),P=Sr(P||Ct);var te=Ql(b).length;if(!te)return P(null);x||(x=te);var ee={},ce=0,me=!1,De=Object.create(null),Fe=[],we=[],je={};function Rt(Kt,en){Fe.push(function(){!function mr(Kt,en){if(!me){var tn=Wr(function(xs,C){if(ce--,arguments.length>2&&(C=_(arguments,1)),xs){var Un={};rn(ee,function(Qt,xr){Un[xr]=Qt}),Un[Kt]=C,me=!0,De=Object.create(null),P(xs,Un)}else ee[Kt]=C,An(Kt)});ce++;var gr=T(en[en.length-1]);en.length>1?gr(ee,tn):gr(tn)}}(Kt,en)})}function ln(){if(0===Fe.length&&0===ce)return P(null,ee);for(;Fe.length&&ce<x;)Fe.shift()()}function An(Kt){Bn(De[Kt]||[],function(tn){tn()}),ln()}function Mc(Kt){var en=[];return rn(b,function(tn,gr){gn(tn)&&Ya(tn,Kt,0)>=0&&en.push(gr)}),en}rn(b,function(Kt,en){if(!gn(Kt))return Rt(en,[Kt]),void we.push(en);var tn=Kt.slice(0,Kt.length-1),gr=tn.length;if(0===gr)return Rt(en,Kt),void we.push(en);je[en]=gr,Bn(tn,function(xs){if(!b[xs])throw new Error("async.auto task `"+en+"` has a non-existent dependency `"+xs+"` in "+tn.join(", "));!function pr(Kt,en){var tn=De[Kt];tn||(tn=De[Kt]=[]),tn.push(en)}(xs,function(){0==--gr&&Rt(en,Kt)})})}),function Ic(){for(var en=0;we.length;)en++,Bn(Mc(we.pop()),function(tn){0==--je[tn]&&we.push(tn)});if(en!==te)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}(),ln()};function po(b,x){for(var P=-1,j=null==b?0:b.length,te=Array(j);++P<j;)te[P]=x(b[P],P,b);return te}var ca=se?se.prototype:void 0,da=ca?ca.toString:void 0;function fa(b){if("string"==typeof b)return b;if(gn(b))return po(b,fa)+"";if(function mo(b){return"symbol"==typeof b||sa(b)&&"[object Symbol]"==fn(b)}(b))return da?da.call(b):"";var x=b+"";return"0"==x&&1/b==-Infinity?"-0":x}function wi(b,x,P){var j=b.length;return P=void 0===P?j:P,!x&&P>=j?b:function hc(b,x,P){var j=-1,te=b.length;x<0&&(x=-x>te?0:te+x),(P=P>te?te:P)<0&&(P+=te),te=x>P?0:P-x>>>0,x>>>=0;for(var ee=Array(te);++j<te;)ee[j]=b[j+x];return ee}(b,x,P)}var ze=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var xn="\\ud800-\\udfff",go="["+xn+"]",ai="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",li="\\ud83c[\\udffb-\\udfff]",lr="[^"+xn+"]",Qn="(?:\\ud83c[\\udde6-\\uddff]){2}",Ae="[\\ud800-\\udbff][\\udc00-\\udfff]",Gt="(?:"+ai+"|"+li+")?",Hn="[\\ufe0e\\ufe0f]?",Ot=Hn+Gt+("(?:\\u200d(?:"+[lr,Qn,Ae].join("|")+")"+Hn+Gt+")*"),Es="(?:"+[lr+ai+"?",ai,Qn,Ae,go].join("|")+")",Mt=RegExp(li+"(?="+li+")|"+Es+Ot,"g");function $i(b){return function Kn(b){return ze.test(b)}(b)?function pa(b){return b.match(Mt)||[]}(b):function vs(b){return b.split("")}(b)}var Cs=/^\s+|\s+$/g;function Yi(b,x,P){if((b=function Qe(b){return null==b?"":fa(b)}(b))&&(P||void 0===x))return b.replace(Cs,"");if(!b||!(x=fa(x)))return b;var j=$i(b),te=$i(x);return wi(j,function Zl(b,x){for(var P=-1,j=b.length;++P<j&&Ya(x,b[P],0)>-1;);return P}(j,te),function ha(b,x){for(var P=b.length;P--&&Ya(x,b[P],0)>-1;);return P}(j,te)+1).join("")}var zt=/^(?:async\s+)?(function)?\s*[^\(]*\(\s*([^\)]*)\)/m,ur=/,/,Nn=/(=.+)?(\s*)$/,ma=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm;function Ar(b,x){var P={};rn(b,function(j,te){var ee,ce=N(j),me=!ce&&1===j.length||ce&&0===j.length;if(gn(j))ee=j.slice(0,-1),j=j[j.length-1],P[te]=ee.concat(ee.length>0?De:j);else if(me)P[te]=j;else{if(ee=function Ki(b){return(b=(b=(b=b.toString().replace(ma,"")).match(zt)[2].replace(" ",""))?b.split(ur):[]).map(function(x){return Yi(x.replace(Nn,""))})}(j),0===j.length&&!ce&&0===ee.length)throw new Error("autoInject task functions require explicit parameters.");ce||ee.pop(),P[te]=ee.concat(De)}function De(Fe,we){var je=po(ee,function(Rt){return Fe[Rt]});je.push(we),T(j).apply(null,je)}}),St(P,x)}function bt(){this.head=this.tail=null,this.length=0}function yc(b,x){b.length=1,b.head=b.tail=x}function Xl(b,x,P){if(null==x)x=1;else if(0===x)throw new Error("Concurrency must not be zero");var j=T(b),te=0,ee=[],ce=!1;function me(je,Rt,ln){if(null!=ln&&"function"!=typeof ln)throw new Error("task callback must be a function");if(we.started=!0,gn(je)||(je=[je]),0===je.length&&we.idle())return B(function(){we.drain()});for(var pr=0,An=je.length;pr<An;pr++){var mr={data:je[pr],callback:ln||Ct};Rt?we._tasks.unshift(mr):we._tasks.push(mr)}ce||(ce=!0,B(function(){ce=!1,we.process()}))}function De(je){return function(Rt){te-=1;for(var ln=0,pr=je.length;ln<pr;ln++){var An=je[ln],mr=Ya(ee,An,0);0===mr?ee.shift():mr>0&&ee.splice(mr,1),An.callback.apply(An,arguments),null!=Rt&&we.error(Rt,An.data)}te<=we.concurrency-we.buffer&&we.unsaturated(),we.idle()&&we.drain(),we.process()}}var Fe=!1,we={_tasks:new bt,concurrency:x,payload:P,saturated:Ct,unsaturated:Ct,buffer:x/4,empty:Ct,drain:Ct,error:Ct,started:!1,paused:!1,push:function(je,Rt){me(je,!1,Rt)},kill:function(){we.drain=Ct,we._tasks.empty()},unshift:function(je,Rt){me(je,!0,Rt)},remove:function(je){we._tasks.remove(je)},process:function(){if(!Fe){for(Fe=!0;!we.paused&&te<we.concurrency&&we._tasks.length;){var je=[],Rt=[],ln=we._tasks.length;we.payload&&(ln=Math.min(ln,we.payload));for(var pr=0;pr<ln;pr++){var An=we._tasks.shift();je.push(An),ee.push(An),Rt.push(An.data)}te+=1,0===we._tasks.length&&we.empty(),te===we.concurrency&&we.saturated();var mr=Wr(De(je));j(Rt,mr)}Fe=!1}},length:function(){return we._tasks.length},running:function(){return te},workersList:function(){return ee},idle:function(){return we._tasks.length+te===0},pause:function(){we.paused=!0},resume:function(){!1!==we.paused&&(we.paused=!1,B(we.process))}};return we}function Zn(b,x){return Xl(b,1,x)}bt.prototype.removeLink=function(b){return b.prev?b.prev.next=b.next:this.head=b.next,b.next?b.next.prev=b.prev:this.tail=b.prev,b.prev=b.next=null,this.length-=1,b},bt.prototype.empty=function(){for(;this.head;)this.shift();return this},bt.prototype.insertAfter=function(b,x){x.prev=b,x.next=b.next,b.next?b.next.prev=x:this.tail=x,b.next=x,this.length+=1},bt.prototype.insertBefore=function(b,x){x.prev=b.prev,x.next=b,b.prev?b.prev.next=x:this.head=x,b.prev=x,this.length+=1},bt.prototype.unshift=function(b){this.head?this.insertBefore(this.head,b):yc(this,b)},bt.prototype.push=function(b){this.tail?this.insertAfter(this.tail,b):yc(this,b)},bt.prototype.shift=function(){return this.head&&this.removeLink(this.head)},bt.prototype.pop=function(){return this.tail&&this.removeLink(this.tail)},bt.prototype.toArray=function(){for(var b=Array(this.length),x=this.head,P=0;P<this.length;P++)b[P]=x.data,x=x.next;return b},bt.prototype.remove=function(b){for(var x=this.head;x;){var P=x.next;b(x)&&this.removeLink(x),x=P}return this};var dn=_n(Wi,1);function ui(b,x,P,j){j=Sr(j||Ct);var te=T(P);dn(b,function(ee,ce,me){te(x,ee,function(De,Fe){x=Fe,me(De)})},function(ee){j(ee,x)})}function Ds(){var b=po(arguments,T);return function(){var x=_(arguments),P=this,j=x[x.length-1];"function"==typeof j?x.pop():j=Ct,ui(b,x,function(te,ee,ce){ee.apply(P,te.concat(function(me){var De=_(arguments,1);ce(me,De)}))},function(te,ee){j.apply(P,[te].concat(ee))})}}var _o=function(){return Ds.apply(null,_(arguments).reverse())},cr=Array.prototype.concat,yo=function(b,x,P,j){j=j||Ct;var te=T(P);Gi(b,x,function(ee,ce){te(ee,function(me){return me?ce(me):ce(null,_(arguments,1))})},function(ee,ce){for(var me=[],De=0;De<ce.length;De++)ce[De]&&(me=cr.apply(me,ce[De]));return j(ee,me)})},vc=_n(yo,1/0),bc=_n(yo,1),Qa=function(){var b=_(arguments),x=[null].concat(b);return function(){return arguments[arguments.length-1].apply(this,x)}};function vo(b){return b}function ga(b,x){return function(P,j,te,ee){ee=ee||Ct;var me,ce=!1;P(j,function(De,Fe,we){te(De,function(je,Rt){je?we(je):b(Rt)&&!me?(ce=!0,me=x(!0,De),we(null,ra)):we()})},function(De){De?ee(De):ee(null,ce?me:x(!1))})}}function Ec(b,x){return x}var jn=_s(ga(vo,Ec)),bo=Yn(ga(vo,Ec)),ws=_n(bo,1);function Cc(b){return function(x){var P=_(arguments,1);P.push(function(j){var te=_(arguments,1);"object"==typeof console&&(j?console.error&&console.error(j):console[b]&&Bn(te,function(ee){console[b](ee)}))}),T(x).apply(null,P)}}var Dc=Cc("dir");function _f(b,x,P){P=Wr(P||Ct);var j=T(b),te=T(x);function ee(me){if(me)return P(me);var De=_(arguments,1);De.push(ce),te.apply(this,De)}function ce(me,De){return me?P(me):De?void j(ee):P(null)}ce(null,!0)}function wc(b,x,P){P=Wr(P||Ct);var j=T(b),te=function(ee){if(ee)return P(ee);var ce=_(arguments,1);if(x.apply(this,ce))return j(te);P.apply(null,[null].concat(ce))};j(te)}function yf(b,x,P){wc(b,function(){return!x.apply(this,arguments)},P)}function vf(b,x,P){P=Wr(P||Ct);var j=T(x),te=T(b);function ee(me){if(me)return P(me);te(ce)}function ce(me,De){return me?P(me):De?void j(ee):P(null)}te(ce)}function bf(b){return function(x,P,j){return b(x,j)}}function Qi(b,x,P){Ci(b,bf(T(x)),P)}function Eo(b,x,P,j){qa(x)(b,bf(T(P)),j)}var Ss=_n(Eo,1);function Za(b){return N(b)?b:U(function(x,P){var j=!0;x.push(function(){var te=arguments;j?B(function(){P.apply(null,te)}):P.apply(null,te)}),b.apply(this,x),j=!1})}function Xa(b){return!b}var ci=_s(ga(Xa,Xa)),Xn=Yn(ga(Xa,Xa)),Co=_n(Xn,1);function Jn(b){return function(x){return null==x?void 0:x[b]}}function Sc(b,x,P,j){var te=new Array(x.length);b(x,function(ee,ce,me){P(ee,function(De,Fe){te[ce]=!!Fe,me(De)})},function(ee){if(ee)return j(ee);for(var ce=[],me=0;me<x.length;me++)te[me]&&ce.push(x[me]);j(null,ce)})}function Do(b,x,P,j){var te=[];b(x,function(ee,ce,me){P(ee,function(De,Fe){De?me(De):(Fe&&te.push({index:ce,value:ee}),me())})},function(ee){ee?j(ee):j(null,po(te.sort(function(ce,me){return ce.index-me.index}),Jn("value")))})}function dr(b,x,P,j){(vi(x)?Sc:Do)(b,x,T(P),j||Ct)}var wo=_s(dr),So=Yn(dr),Ja=_n(So,1);function el(b,x){var P=Wr(x||Ct),j=T(Za(b));!function te(ee){if(ee)return P(ee);j(te)}()}var tl=function(b,x,P,j){j=j||Ct;var te=T(P);Gi(b,x,function(ee,ce){te(ee,function(me,De){return me?ce(me):ce(null,{key:De,val:ee})})},function(ee,ce){for(var me={},De=Object.prototype.hasOwnProperty,Fe=0;Fe<ce.length;Fe++)if(ce[Fe]){var we=ce[Fe].key,je=ce[Fe].val;De.call(me,we)?me[we].push(je):me[we]=[je]}return j(ee,me)})},fr=_n(tl,1/0),Ao=_n(tl,1),K=Cc("log");function ae(b,x,P,j){j=Sr(j||Ct);var te={},ee=T(P);Wi(b,x,function(ce,me,De){ee(ce,me,function(Fe,we){if(Fe)return De(Fe);te[me]=we,De()})},function(ce){j(ce,te)})}var ie=_n(ae,1/0),Me=_n(ae,1);function it(b,x){return x in b}function Ue(b,x){var P=Object.create(null),j=Object.create(null);x=x||vo;var te=T(b),ee=U(function(me,De){var Fe=x.apply(null,me);it(P,Fe)?B(function(){De.apply(null,P[Fe])}):it(j,Fe)?j[Fe].push(De):(j[Fe]=[De],te.apply(null,me.concat(function(){var we=_(arguments);P[Fe]=we;var je=j[Fe];delete j[Fe];for(var Rt=0,ln=je.length;Rt<ln;Rt++)je[Rt].apply(null,we)})))});return ee.memo=P,ee.unmemoized=b,ee}var Bt=q(k?process.nextTick:R?setImmediate:L);function Jt(b,x,P){P=P||Ct;var j=vi(x)?[]:{};b(x,function(te,ee,ce){T(te)(function(me,De){arguments.length>2&&(De=_(arguments,1)),j[ee]=De,ce(me)})},function(te){P(te,j)})}function Ac(b,x){Jt(Ci,b,x)}function Tr(b,x,P){Jt(qa(x),b,P)}var Si=function(b,x){var P=T(b);return Xl(function(j,te){P(j[0],te)},x,1)},hr=function(b,x){var P=Si(b,x);return P.push=function(j,te,ee){if(null==ee&&(ee=Ct),"function"!=typeof ee)throw new Error("task callback must be a function");if(P.started=!0,gn(j)||(j=[j]),0===j.length)return B(function(){P.drain()});te=te||0;for(var ce=P._tasks.head;ce&&te>=ce.priority;)ce=ce.next;for(var me=0,De=j.length;me<De;me++){var Fe={data:j[me],priority:te,callback:ee};ce?P._tasks.insertBefore(ce,Fe):P._tasks.push(Fe)}B(P.process)},delete P.unshift,P};function As(b,x){if(x=Sr(x||Ct),!gn(b))return x(new TypeError("First argument to race must be an array of functions"));if(!b.length)return x();for(var P=0,j=b.length;P<j;P++)T(b[P])(x)}function Ai(b,x,P,j){ui(_(b).reverse(),x,P,j)}function Ir(b){var x=T(b);return U(function(j,te){return j.push(function(ce,me){var De;ce?te(null,{error:ce}):(De=arguments.length<=2?me:_(arguments,1),te(null,{value:De}))}),x.apply(this,j)})}function lt(b){var x;return gn(b)?x=po(b,Ir):(x={},rn(b,function(P,j){x[j]=Ir.call(this,P)})),x}function Jl(b,x,P,j){dr(b,x,function(te,ee){P(te,function(ce,me){ee(ce,!me)})},j)}var _a=_s(Jl),To=Yn(Jl),Ti=_n(To,1);function eu(b){return function(){return b}}function Io(b,x,P){var j=5,te=0,ee={times:j,intervalFunc:eu(te)};function ce(we,je){if("object"==typeof je)we.times=+je.times||j,we.intervalFunc="function"==typeof je.interval?je.interval:eu(+je.interval||te),we.errorFilter=je.errorFilter;else{if("number"!=typeof je&&"string"!=typeof je)throw new Error("Invalid arguments for async.retry");we.times=+je||j}}if(arguments.length<3&&"function"==typeof b?(P=x||Ct,x=b):(ce(ee,b),P=P||Ct),"function"!=typeof x)throw new Error("Invalid arguments for async.retry");var me=T(x),De=1;function Fe(){me(function(we){we&&De++<ee.times&&("function"!=typeof ee.errorFilter||ee.errorFilter(we))?setTimeout(Fe,ee.intervalFunc(De)):P.apply(null,arguments)})}Fe()}var Ge=function(b,x){x||(x=b,b=null);var P=T(x);return U(function(j,te){function ee(ce){P.apply(null,j.concat(ce))}b?Io(b,ee,te):Io(ee,te)})};function Zi(b,x){Jt(dn,b,x)}var Ts=_s(ga(Boolean,vo)),Mo=Yn(ga(Boolean,vo)),Is=_n(Mo,1);function nl(b,x,P){var j=T(x);function te(ee,ce){var me=ee.criteria,De=ce.criteria;return me<De?-1:me>De?1:0}ys(b,function(ee,ce){j(ee,function(me,De){if(me)return ce(me);ce(null,{value:ee,criteria:De})})},function(ee,ce){if(ee)return P(ee);P(null,po(ce.sort(te),Jn("value")))})}function tu(b,x,P){var j=T(b);return U(function(te,ee){var me,ce=!1;te.push(function(){ce||(ee.apply(null,arguments),clearTimeout(me))}),me=setTimeout(function De(){var we=new Error('Callback function "'+(b.name||"anonymous")+'" timed out.');we.code="ETIMEDOUT",P&&(we.info=P),ce=!0,ee(we)},x),j.apply(null,te)})}var rl=Math.ceil,ge=Math.max;function Mr(b,x,P,j){var te=T(P);Gi(function gt(b,x,P,j){for(var te=-1,ee=ge(rl((x-b)/(P||1)),0),ce=Array(ee);ee--;)ce[j?ee:++te]=b,b+=P;return ce}(0,b,1),x,te,j)}var on=_n(Mr,1/0),nu=_n(Mr,1);function xo(b,x,P,j){arguments.length<=3&&(j=P,P=x,x=gn(b)?[]:{}),j=Sr(j||Ct);var te=T(P);Ci(b,function(ee,ce,me){te(x,ee,ce,me)},function(ee){j(ee,x)})}function Gr(b,x){var j,P=null;x=x||Ct,Ss(b,function(te,ee){T(te)(function(ce,me){j=arguments.length>2?_(arguments,1):me,P=ce,ee(!ce)})},function(){x(P,j)})}function Ms(b){return function(){return(b.unmemoized||b).apply(null,arguments)}}function Xi(b,x,P){P=Wr(P||Ct);var j=T(x);if(!b())return P(null);var te=function(ee){if(ee)return P(ee);if(b())return j(te);var ce=_(arguments,1);P.apply(null,[null].concat(ce))};j(te)}function ru(b,x,P){Xi(function(){return!b.apply(this,arguments)},x,P)}var Tc=function(b,x){if(x=Sr(x||Ct),!gn(b))return x(new Error("First argument to waterfall must be an array of functions"));if(!b.length)return x();var P=0;function j(ee){var ce=T(b[P++]);ee.push(Wr(te)),ce.apply(null,ee)}function te(ee){if(ee||P===b.length)return x.apply(null,arguments);j(_(arguments,1))}j([])};F.default={apply:oe,applyEach:lc,applyEachSeries:Di,asyncify:g,auto:St,autoInject:Ar,cargo:Zn,compose:_o,concat:vc,concatLimit:yo,concatSeries:bc,constant:Qa,detect:jn,detectLimit:bo,detectSeries:ws,dir:Dc,doDuring:_f,doUntil:yf,doWhilst:wc,during:vf,each:Qi,eachLimit:Eo,eachOf:Ci,eachOfLimit:Wi,eachOfSeries:dn,eachSeries:Ss,ensureAsync:Za,every:ci,everyLimit:Xn,everySeries:Co,filter:wo,filterLimit:So,filterSeries:Ja,forever:el,groupBy:fr,groupByLimit:tl,groupBySeries:Ao,log:K,map:ys,mapLimit:Gi,mapSeries:$a,mapValues:ie,mapValuesLimit:ae,mapValuesSeries:Me,memoize:Ue,nextTick:Bt,parallel:Ac,parallelLimit:Tr,priorityQueue:hr,queue:Si,race:As,reduce:ui,reduceRight:Ai,reflect:Ir,reflectAll:lt,reject:_a,rejectLimit:To,rejectSeries:Ti,retry:Io,retryable:Ge,seq:Ds,series:Zi,setImmediate:B,some:Ts,someLimit:Mo,someSeries:Is,sortBy:nl,timeout:tu,times:on,timesLimit:Mr,timesSeries:nu,transform:xo,tryEach:Gr,unmemoize:Ms,until:ru,waterfall:Tc,whilst:Xi,all:ci,allLimit:Xn,allSeries:Co,any:Ts,anyLimit:Mo,anySeries:Is,find:jn,findLimit:bo,findSeries:ws,forEach:Qi,forEachSeries:Ss,forEachLimit:Eo,forEachOf:Ci,forEachOfSeries:dn,forEachOfLimit:Wi,inject:ui,foldl:ui,foldr:Ai,select:wo,selectLimit:So,selectSeries:Ja,wrapSync:g},F.apply=oe,F.applyEach=lc,F.applyEachSeries=Di,F.asyncify=g,F.auto=St,F.autoInject=Ar,F.cargo=Zn,F.compose=_o,F.concat=vc,F.concatLimit=yo,F.concatSeries=bc,F.constant=Qa,F.detect=jn,F.detectLimit=bo,F.detectSeries=ws,F.dir=Dc,F.doDuring=_f,F.doUntil=yf,F.doWhilst=wc,F.during=vf,F.each=Qi,F.eachLimit=Eo,F.eachOf=Ci,F.eachOfLimit=Wi,F.eachOfSeries=dn,F.eachSeries=Ss,F.ensureAsync=Za,F.every=ci,F.everyLimit=Xn,F.everySeries=Co,F.filter=wo,F.filterLimit=So,F.filterSeries=Ja,F.forever=el,F.groupBy=fr,F.groupByLimit=tl,F.groupBySeries=Ao,F.log=K,F.map=ys,F.mapLimit=Gi,F.mapSeries=$a,F.mapValues=ie,F.mapValuesLimit=ae,F.mapValuesSeries=Me,F.memoize=Ue,F.nextTick=Bt,F.parallel=Ac,F.parallelLimit=Tr,F.priorityQueue=hr,F.queue=Si,F.race=As,F.reduce=ui,F.reduceRight=Ai,F.reflect=Ir,F.reflectAll=lt,F.reject=_a,F.rejectLimit=To,F.rejectSeries=Ti,F.retry=Io,F.retryable=Ge,F.seq=Ds,F.series=Zi,F.setImmediate=B,F.some=Ts,F.someLimit=Mo,F.someSeries=Is,F.sortBy=nl,F.timeout=tu,F.times=on,F.timesLimit=Mr,F.timesSeries=nu,F.transform=xo,F.tryEach=Gr,F.unmemoize=Ms,F.until=ru,F.waterfall=Tc,F.whilst=Xi,F.all=ci,F.allLimit=Xn,F.allSeries=Co,F.any=Ts,F.anyLimit=Mo,F.anySeries=Is,F.find=jn,F.findLimit=bo,F.findSeries=ws,F.forEach=Qi,F.forEachSeries=Ss,F.forEachLimit=Eo,F.forEachOf=Ci,F.forEachOfSeries=dn,F.forEachOfLimit=Wi,F.inject=ui,F.foldl=ui,F.foldr=Ai,F.select=wo,F.selectLimit=So,F.selectSeries=Ja,F.wrapSync=g,Object.defineProperty(F,"__esModule",{value:!0})}(H)},3299:(Ee,H,J)=>{"use strict";function F(T){return T&&T.__esModule?T:{default:T}}H.__esModule=!0;var oe=F(J(6678)),G=F(J(2930)),R=J(1067),k=J(8968),q=F(J(950)),B=F(J(2117)),M=F(J(7843)),E=oe.default.create;function S(){var T=E();return T.compile=function(z,X){return k.compile(z,X,T)},T.precompile=function(z,X){return k.precompile(z,X,T)},T.AST=G.default,T.Compiler=k.Compiler,T.JavaScriptCompiler=q.default,T.Parser=R.parser,T.parse=R.parse,T.parseWithoutProcessing=R.parseWithoutProcessing,T}var N=S();N.create=S,M.default(N),N.Visitor=B.default,N.default=N,H.default=N,Ee.exports=H.default},6678:(Ee,H,J)=>{"use strict";function F(T){return T&&T.__esModule?T:{default:T}}function _(T){if(T&&T.__esModule)return T;var z={};if(null!=T)for(var X in T)Object.prototype.hasOwnProperty.call(T,X)&&(z[X]=T[X]);return z.default=T,z}H.__esModule=!0;var U=_(J(5075)),R=F(J(6997)),L=F(J(5118)),w=_(J(8587)),g=_(J(1010)),E=F(J(7843));function S(){var T=new U.HandlebarsEnvironment;return w.extend(T,U),T.SafeString=R.default,T.Exception=L.default,T.Utils=w,T.escapeExpression=w.escapeExpression,T.VM=g,T.template=function(z){return g.template(z,T)},T}var N=S();N.create=S,E.default(N),N.default=N,H.default=N,Ee.exports=H.default},5075:(Ee,H,J)=>{"use strict";function F(T){return T&&T.__esModule?T:{default:T}}H.__esModule=!0,H.HandlebarsEnvironment=S;var _=J(8587),U=F(J(5118)),G=J(8246),R=J(9450),L=F(J(1932)),q=J(1446);H.VERSION="4.7.7",H.COMPILER_REVISION=8,H.LAST_COMPATIBLE_COMPILER_REVISION=7,H.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var E="[object Object]";function S(T,z,X){this.helpers=T||{},this.partials=z||{},this.decorators=X||{},G.registerDefaultHelpers(this),R.registerDefaultDecorators(this)}S.prototype={constructor:S,logger:L.default,log:L.default.log,registerHelper:function(z,X){if(_.toString.call(z)===E){if(X)throw new U.default("Arg not supported with multiple helpers");_.extend(this.helpers,z)}else this.helpers[z]=X},unregisterHelper:function(z){delete this.helpers[z]},registerPartial:function(z,X){if(_.toString.call(z)===E)_.extend(this.partials,z);else{if(void 0===X)throw new U.default('Attempting to register a partial called "'+z+'" as undefined');this.partials[z]=X}},unregisterPartial:function(z){delete this.partials[z]},registerDecorator:function(z,X){if(_.toString.call(z)===E){if(X)throw new U.default("Arg not supported with multiple decorators");_.extend(this.decorators,z)}else this.decorators[z]=X},unregisterDecorator:function(z){delete this.decorators[z]},resetLoggedPropertyAccesses:function(){q.resetLoggedProperties()}},H.log=L.default.log,H.createFrame=_.createFrame,H.logger=L.default},2930:(Ee,H)=>{"use strict";H.__esModule=!0;var J={helpers:{helperExpression:function(_){return"SubExpression"===_.type||("MustacheStatement"===_.type||"BlockStatement"===_.type)&&!!(_.params&&_.params.length||_.hash)},scopedId:function(_){return/^\.|this\b/.test(_.original)},simpleId:function(_){return 1===_.parts.length&&!J.helpers.scopedId(_)&&!_.depth}}};H.default=J,Ee.exports=H.default},1067:(Ee,H,J)=>{"use strict";function _(M){return M&&M.__esModule?M:{default:M}}H.__esModule=!0,H.parseWithoutProcessing=B,H.parse=function g(M,E){var S=B(M,E);return new R.default(E).accept(S)};var U=_(J(1618)),R=_(J(9092)),L=function F(M){if(M&&M.__esModule)return M;var E={};if(null!=M)for(var S in M)Object.prototype.hasOwnProperty.call(M,S)&&(E[S]=M[S]);return E.default=M,E}(J(2935)),q=J(8587);H.parser=U.default;var w={};function B(M,E){return"Program"===M.type?M:(U.default.yy=w,w.locInfo=function(N){return new w.SourceLocation(E&&E.srcName,N)},U.default.parse(M))}q.extend(w,L)},7012:(Ee,H,J)=>{"use strict";H.__esModule=!0;var F=J(8587),_=void 0;function U(R,k,L){if(F.isArray(R)){for(var q=[],w=0,B=R.length;w<B;w++)q.push(k.wrap(R[w],L));return q}return"boolean"==typeof R||"number"==typeof R?R+"":R}function G(R){this.srcFile=R,this.source=[]}_||((_=function(R,k,L,q){this.src="",q&&this.add(q)}).prototype={add:function(k){F.isArray(k)&&(k=k.join("")),this.src+=k},prepend:function(k){F.isArray(k)&&(k=k.join("")),this.src=k+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),G.prototype={isEmpty:function(){return!this.source.length},prepend:function(k,L){this.source.unshift(this.wrap(k,L))},push:function(k,L){this.source.push(this.wrap(k,L))},merge:function(){var k=this.empty();return this.each(function(L){k.add([" ",L,"\n"])}),k},each:function(k){for(var L=0,q=this.source.length;L<q;L++)k(this.source[L])},empty:function(){var k=this.currentLocation||{start:{}};return new _(k.start.line,k.start.column,this.srcFile)},wrap:function(k){var L=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return k instanceof _?k:(k=U(k,this,L),new _(L.start.line,L.start.column,this.srcFile,k))},functionCall:function(k,L,q){return q=this.generateList(q),this.wrap([k,L?"."+L+"(":"(",q,")"])},quotedString:function(k){return'"'+(k+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(k){var L=this,q=[];Object.keys(k).forEach(function(B){var g=U(k[B],L);"undefined"!==g&&q.push([L.quotedString(B),":",g])});var w=this.generateList(q);return w.prepend("{"),w.add("}"),w},generateList:function(k){for(var L=this.empty(),q=0,w=k.length;q<w;q++)q&&L.add(","),L.add(U(k[q],this));return L},generateArray:function(k){var L=this.generateList(k);return L.prepend("["),L.add("]"),L}},H.default=G,Ee.exports=H.default},8968:(Ee,H,J)=>{"use strict";function F(M){return M&&M.__esModule?M:{default:M}}H.__esModule=!0,H.Compiler=L,H.precompile=function q(M,E,S){if(null==M||"string"!=typeof M&&"Program"!==M.type)throw new oe.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+M);"data"in(E=E||{})||(E.data=!0),E.compat&&(E.useDepths=!0);var N=S.parse(M,E),T=(new S.Compiler).compile(N,E);return(new S.JavaScriptCompiler).compile(T,E)},H.compile=function w(M,E,S){if(void 0===E&&(E={}),null==M||"string"!=typeof M&&"Program"!==M.type)throw new oe.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+M);"data"in(E=U.extend({},E))||(E.data=!0),E.compat&&(E.useDepths=!0);var N=void 0;function T(){var X=S.parse(M,E),be=(new S.Compiler).compile(X,E),re=(new S.JavaScriptCompiler).compile(be,E,void 0,!0);return S.template(re)}function z(X,be){return N||(N=T()),N.call(this,X,be)}return z._setup=function(X){return N||(N=T()),N._setup(X)},z._child=function(X,be,re,se){return N||(N=T()),N._child(X,be,re,se)},z};var oe=F(J(5118)),U=J(8587),R=F(J(2930)),k=[].slice;function L(){}function B(M,E){if(M===E)return!0;if(U.isArray(M)&&U.isArray(E)&&M.length===E.length){for(var S=0;S<M.length;S++)if(!B(M[S],E[S]))return!1;return!0}}function g(M){if(!M.path.parts){var E=M.path;M.path={type:"PathExpression",data:!1,depth:0,parts:[E.original+""],original:E.original+"",loc:E.loc}}}L.prototype={compiler:L,equals:function(E){var S=this.opcodes.length;if(E.opcodes.length!==S)return!1;for(var N=0;N<S;N++){var T=this.opcodes[N],z=E.opcodes[N];if(T.opcode!==z.opcode||!B(T.args,z.args))return!1}for(S=this.children.length,N=0;N<S;N++)if(!this.children[N].equals(E.children[N]))return!1;return!0},guid:0,compile:function(E,S){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=S,this.stringParams=S.stringParams,this.trackIds=S.trackIds,S.blockParams=S.blockParams||[],S.knownHelpers=U.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},S.knownHelpers),this.accept(E)},compileProgram:function(E){var N=(new this.compiler).compile(E,this.options),T=this.guid++;return this.usePartial=this.usePartial||N.usePartial,this.children[T]=N,this.useDepths=this.useDepths||N.useDepths,T},accept:function(E){if(!this[E.type])throw new oe.default("Unknown type: "+E.type,E);this.sourceNode.unshift(E);var S=this[E.type](E);return this.sourceNode.shift(),S},Program:function(E){this.options.blockParams.unshift(E.blockParams);for(var S=E.body,N=S.length,T=0;T<N;T++)this.accept(S[T]);return this.options.blockParams.shift(),this.isSimple=1===N,this.blockParams=E.blockParams?E.blockParams.length:0,this},BlockStatement:function(E){g(E);var S=E.program,N=E.inverse;S=S&&this.compileProgram(S),N=N&&this.compileProgram(N);var T=this.classifySexpr(E);"helper"===T?this.helperSexpr(E,S,N):"simple"===T?(this.simpleSexpr(E),this.opcode("pushProgram",S),this.opcode("pushProgram",N),this.opcode("emptyHash"),this.opcode("blockValue",E.path.original)):(this.ambiguousSexpr(E,S,N),this.opcode("pushProgram",S),this.opcode("pushProgram",N),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(E){var S=E.program&&this.compileProgram(E.program),N=this.setupFullMustacheParams(E,S,void 0),T=E.path;this.useDecorators=!0,this.opcode("registerDecorator",N.length,T.original)},PartialStatement:function(E){this.usePartial=!0;var S=E.program;S&&(S=this.compileProgram(E.program));var N=E.params;if(N.length>1)throw new oe.default("Unsupported number of partial arguments: "+N.length,E);N.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):N.push({type:"PathExpression",parts:[],depth:0}));var T=E.name.original,z="SubExpression"===E.name.type;z&&this.accept(E.name),this.setupFullMustacheParams(E,S,void 0,!0);var X=E.indent||"";this.options.preventIndent&&X&&(this.opcode("appendContent",X),X=""),this.opcode("invokePartial",z,T,X),this.opcode("append")},PartialBlockStatement:function(E){this.PartialStatement(E)},MustacheStatement:function(E){this.SubExpression(E),this.opcode(E.escaped&&!this.options.noEscape?"appendEscaped":"append")},Decorator:function(E){this.DecoratorBlock(E)},ContentStatement:function(E){E.value&&this.opcode("appendContent",E.value)},CommentStatement:function(){},SubExpression:function(E){g(E);var S=this.classifySexpr(E);"simple"===S?this.simpleSexpr(E):"helper"===S?this.helperSexpr(E):this.ambiguousSexpr(E)},ambiguousSexpr:function(E,S,N){var T=E.path,z=T.parts[0],X=null!=S||null!=N;this.opcode("getContext",T.depth),this.opcode("pushProgram",S),this.opcode("pushProgram",N),T.strict=!0,this.accept(T),this.opcode("invokeAmbiguous",z,X)},simpleSexpr:function(E){var S=E.path;S.strict=!0,this.accept(S),this.opcode("resolvePossibleLambda")},helperSexpr:function(E,S,N){var T=this.setupFullMustacheParams(E,S,N),z=E.path,X=z.parts[0];if(this.options.knownHelpers[X])this.opcode("invokeKnownHelper",T.length,X);else{if(this.options.knownHelpersOnly)throw new oe.default("You specified knownHelpersOnly, but used the unknown helper "+X,E);z.strict=!0,z.falsy=!0,this.accept(z),this.opcode("invokeHelper",T.length,z.original,R.default.helpers.simpleId(z))}},PathExpression:function(E){this.addDepth(E.depth),this.opcode("getContext",E.depth);var S=E.parts[0],N=R.default.helpers.scopedId(E),T=!E.depth&&!N&&this.blockParamIndex(S);T?this.opcode("lookupBlockParam",T,E.parts):S?E.data?(this.options.data=!0,this.opcode("lookupData",E.depth,E.parts,E.strict)):this.opcode("lookupOnContext",E.parts,E.falsy,E.strict,N):this.opcode("pushContext")},StringLiteral:function(E){this.opcode("pushString",E.value)},NumberLiteral:function(E){this.opcode("pushLiteral",E.value)},BooleanLiteral:function(E){this.opcode("pushLiteral",E.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(E){var S=E.pairs,N=0,T=S.length;for(this.opcode("pushHash");N<T;N++)this.pushParam(S[N].value);for(;N--;)this.opcode("assignToHash",S[N].key);this.opcode("popHash")},opcode:function(E){this.opcodes.push({opcode:E,args:k.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(E){!E||(this.useDepths=!0)},classifySexpr:function(E){var S=R.default.helpers.simpleId(E.path),N=S&&!!this.blockParamIndex(E.path.parts[0]),T=!N&&R.default.helpers.helperExpression(E),z=!N&&(T||S);if(z&&!T){var be=this.options;be.knownHelpers[E.path.parts[0]]?T=!0:be.knownHelpersOnly&&(z=!1)}return T?"helper":z?"ambiguous":"simple"},pushParams:function(E){for(var S=0,N=E.length;S<N;S++)this.pushParam(E[S])},pushParam:function(E){var S=null!=E.value?E.value:E.original||"";if(this.stringParams)S.replace&&(S=S.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),E.depth&&this.addDepth(E.depth),this.opcode("getContext",E.depth||0),this.opcode("pushStringParam",S,E.type),"SubExpression"===E.type&&this.accept(E);else{if(this.trackIds){var N=void 0;if(E.parts&&!R.default.helpers.scopedId(E)&&!E.depth&&(N=this.blockParamIndex(E.parts[0])),N){var T=E.parts.slice(1).join(".");this.opcode("pushId","BlockParam",N,T)}else(S=E.original||S).replace&&(S=S.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",E.type,S)}this.accept(E)}},setupFullMustacheParams:function(E,S,N,T){var z=E.params;return this.pushParams(z),this.opcode("pushProgram",S),this.opcode("pushProgram",N),E.hash?this.accept(E.hash):this.opcode("emptyHash",T),z},blockParamIndex:function(E){for(var S=0,N=this.options.blockParams.length;S<N;S++){var T=this.options.blockParams[S],z=T&&U.indexOf(T,E);if(T&&z>=0)return[S,z]}}}},2935:(Ee,H,J)=>{"use strict";H.__esModule=!0,H.SourceLocation=function G(S,N){this.source=S,this.start={line:N.first_line,column:N.first_column},this.end={line:N.last_line,column:N.last_column}},H.id=function R(S){return/^\[.*\]$/.test(S)?S.substring(1,S.length-1):S},H.stripFlags=function k(S,N){return{open:"~"===S.charAt(2),close:"~"===N.charAt(N.length-3)}},H.stripComment=function L(S){return S.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")},H.preparePath=function q(S,N,T){T=this.locInfo(T);for(var z=S?"@":"",X=[],be=0,re=0,se=N.length;re<se;re++){var pe=N[re].part;if(z+=(N[re].separator||"")+pe,N[re].original!==pe||".."!==pe&&"."!==pe&&"this"!==pe)X.push(pe);else{if(X.length>0)throw new oe.default("Invalid path: "+z,{loc:T});".."===pe&&be++}}return{type:"PathExpression",data:S,depth:be,parts:X,original:z,loc:T}},H.prepareMustache=function w(S,N,T,z,X,be){var re=z.charAt(3)||z.charAt(2),se="{"!==re&&"&"!==re;return{type:/\*/.test(z)?"Decorator":"MustacheStatement",path:S,params:N,hash:T,escaped:se,strip:X,loc:this.locInfo(be)}},H.prepareRawBlock=function B(S,N,T,z){return U(S,T),z=this.locInfo(z),{type:"BlockStatement",path:S.path,params:S.params,hash:S.hash,program:{type:"Program",body:N,strip:{},loc:z},openStrip:{},inverseStrip:{},closeStrip:{},loc:z}},H.prepareBlock=function g(S,N,T,z,X,be){z&&z.path&&U(S,z);var re=/\*/.test(S.open);N.blockParams=S.blockParams;var se=void 0,pe=void 0;if(T){if(re)throw new oe.default("Unexpected inverse block on decorator",T);T.chain&&(T.program.body[0].closeStrip=z.strip),pe=T.strip,se=T.program}return X&&(X=se,se=N,N=X),{type:re?"DecoratorBlock":"BlockStatement",path:S.path,params:S.params,hash:S.hash,program:N,inverse:se,openStrip:S.strip,inverseStrip:pe,closeStrip:z&&z.strip,loc:this.locInfo(be)}},H.prepareProgram=function M(S,N){if(!N&&S.length){var T=S[0].loc,z=S[S.length-1].loc;T&&z&&(N={source:T.source,start:{line:T.start.line,column:T.start.column},end:{line:z.end.line,column:z.end.column}})}return{type:"Program",body:S,strip:{},loc:N}},H.preparePartialBlock=function E(S,N,T,z){return U(S,T),{type:"PartialBlockStatement",name:S.path,params:S.params,hash:S.hash,program:N,openStrip:S.strip,closeStrip:T&&T.strip,loc:this.locInfo(z)}};var oe=function F(S){return S&&S.__esModule?S:{default:S}}(J(5118));function U(S,N){if(S.path.original!==(N=N.path?N.path.original:N))throw new oe.default(S.path.original+" doesn't match "+N,{loc:S.path.loc})}},950:(Ee,H,J)=>{"use strict";function F(B){return B&&B.__esModule?B:{default:B}}H.__esModule=!0;var _=J(5075),U=F(J(5118)),G=J(8587),k=F(J(7012));function L(B){this.value=B}function q(){}q.prototype={nameLookup:function(g,M){return this.internalNameLookup(g,M)},depthedLookup:function(g){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(g),")"]},compilerInfo:function(){var g=_.COMPILER_REVISION;return[g,_.REVISION_CHANGES[g]]},appendToBuffer:function(g,M,E){return G.isArray(g)||(g=[g]),g=this.source.wrap(g,M),this.environment.isSimple?["return ",g,";"]:E?["buffer += ",g,";"]:(g.appendToBuffer=!0,g)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(g,M){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",g,",",JSON.stringify(M),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(g,M,E,S){this.environment=g,this.options=M,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!S,this.name=this.environment.name,this.isChild=!!E,this.context=E||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(g,M),this.useDepths=this.useDepths||g.useDepths||g.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||g.useBlockParams;var N=g.opcodes,T=void 0,z=void 0,X=void 0,be=void 0;for(X=0,be=N.length;X<be;X++)this.source.currentLocation=(T=N[X]).loc,z=z||T.loc,this[T.opcode].apply(this,T.args);if(this.source.currentLocation=z,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new U.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),";\n"]),this.decorators.push("return fn;"),S?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var re=this.createFunctionContext(S);if(this.isChild)return re;var se={compiler:this.compilerInfo(),main:re};this.decorators&&(se.main_d=this.decorators,se.useDecorators=!0);var pe=this.context,Ke=pe.programs,Ne=pe.decorators;for(X=0,be=Ke.length;X<be;X++)Ke[X]&&(se[X]=Ke[X],Ne[X]&&(se[X+"_d"]=Ne[X],se.useDecorators=!0));return this.environment.usePartial&&(se.usePartial=!0),this.options.data&&(se.useData=!0),this.useDepths&&(se.useDepths=!0),this.useBlockParams&&(se.useBlockParams=!0),this.options.compat&&(se.compat=!0),S?se.compilerOptions=this.options:(se.compiler=JSON.stringify(se.compiler),this.source.currentLocation={start:{line:1,column:0}},se=this.objectLiteral(se),M.srcName?(se=se.toStringWithSourceMap({file:M.destName})).map=se.map&&se.map.toString():se=se.toString()),se},preamble:function(){this.lastContext=0,this.source=new k.default(this.options.srcName),this.decorators=new k.default(this.options.srcName)},createFunctionContext:function(g){var M=this,E="",S=this.stackVars.concat(this.registers.list);S.length>0&&(E+=", "+S.join(", "));var N=0;Object.keys(this.aliases).forEach(function(X){var be=M.aliases[X];be.children&&be.referenceCount>1&&(E+=", alias"+ ++N+"="+X,be.children[0]="alias"+N)}),this.lookupPropertyFunctionIsUsed&&(E+=", "+this.lookupPropertyFunctionVarDeclaration());var T=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&T.push("blockParams"),this.useDepths&&T.push("depths");var z=this.mergeSource(E);return g?(T.push(z),Function.apply(this,T)):this.source.wrap(["function(",T.join(","),") {\n ",z,"}"])},mergeSource:function(g){var M=this.environment.isSimple,E=!this.forceBuffer,S=void 0,N=void 0,T=void 0,z=void 0;return this.source.each(function(X){X.appendToBuffer?(T?X.prepend(" + "):T=X,z=X):(T&&(N?T.prepend("buffer += "):S=!0,z.add(";"),T=z=void 0),N=!0,M||(E=!1))}),E?T?(T.prepend("return "),z.add(";")):N||this.source.push('return "";'):(g+=", buffer = "+(S?"":this.initializeBuffer()),T?(T.prepend("return buffer + "),z.add(";")):this.source.push("return buffer;")),g&&this.source.prepend("var "+g.substring(2)+(S?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function(g){var M=this.aliasable("container.hooks.blockHelperMissing"),E=[this.contextName(0)];this.setupHelperArgs(g,0,E);var S=this.popStack();E.splice(1,0,S),this.push(this.source.functionCall(M,"call",E))},ambiguousBlockValue:function(){var g=this.aliasable("container.hooks.blockHelperMissing"),M=[this.contextName(0)];this.setupHelperArgs("",0,M,!0),this.flushInline();var E=this.topStack();M.splice(1,0,E),this.pushSource(["if (!",this.lastHelper,") { ",E," = ",this.source.functionCall(g,"call",M),"}"])},appendContent:function(g){this.pendingContent?g=this.pendingContent+g:this.pendingLocation=this.source.currentLocation,this.pendingContent=g},append:function(){if(this.isInline())this.replaceStack(function(M){return[" != null ? ",M,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var g=this.popStack();this.pushSource(["if (",g," != null) { ",this.appendToBuffer(g,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(g){this.lastContext=g},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(g,M,E,S){var N=0;S||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(g[N++])),this.resolvePath("context",g,N,M,E)},lookupBlockParam:function(g,M){this.useBlockParams=!0,this.push(["blockParams[",g[0],"][",g[1],"]"]),this.resolvePath("context",M,1)},lookupData:function(g,M,E){this.pushStackLiteral(g?"container.data(data, "+g+")":"data"),this.resolvePath("data",M,0,!0,E)},resolvePath:function(g,M,E,S,N){var T=this;if(this.options.strict||this.options.assumeObjects)this.push(function w(B,g,M,E){var S=g.popStack(),N=0,T=M.length;for(B&&T--;N<T;N++)S=g.nameLookup(S,M[N],E);return B?[g.aliasable("container.strict"),"(",S,", ",g.quotedString(M[N]),", ",JSON.stringify(g.source.currentLocation)," )"]:S}(this.options.strict&&N,this,M,g));else for(var z=M.length;E<z;E++)this.replaceStack(function(X){var be=T.nameLookup(X,M[E],g);return S?[" && ",be]:[" != null ? ",be," : ",X]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(g,M){this.pushContext(),this.pushString(M),"SubExpression"!==M&&("string"==typeof g?this.pushString(g):this.pushStackLiteral(g))},emptyHash:function(g){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(g?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var g=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(g.ids)),this.stringParams&&(this.push(this.objectLiteral(g.contexts)),this.push(this.objectLiteral(g.types))),this.push(this.objectLiteral(g.values))},pushString:function(g){this.pushStackLiteral(this.quotedString(g))},pushLiteral:function(g){this.pushStackLiteral(g)},pushProgram:function(g){this.pushStackLiteral(null!=g?this.programExpression(g):null)},registerDecorator:function(g,M){var E=this.nameLookup("decorators",M,"decorator"),S=this.setupHelperArgs(M,g);this.decorators.push(["fn = ",this.decorators.functionCall(E,"",["fn","props","container",S])," || fn;"])},invokeHelper:function(g,M,E){var S=this.popStack(),N=this.setupHelper(g,M),T=[];E&&T.push(N.name),T.push(S),this.options.strict||T.push(this.aliasable("container.hooks.helperMissing"));var z=["(",this.itemsSeparatedBy(T,"||"),")"],X=this.source.functionCall(z,"call",N.callParams);this.push(X)},itemsSeparatedBy:function(g,M){var E=[];E.push(g[0]);for(var S=1;S<g.length;S++)E.push(M,g[S]);return E},invokeKnownHelper:function(g,M){var E=this.setupHelper(g,M);this.push(this.source.functionCall(E.name,"call",E.callParams))},invokeAmbiguous:function(g,M){this.useRegister("helper");var E=this.popStack();this.emptyHash();var S=this.setupHelper(0,g,M),T=["(","(helper = ",this.lastHelper=this.nameLookup("helpers",g,"helper")," || ",E,")"];this.options.strict||(T[0]="(helper = ",T.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",T,S.paramsInit?["),(",S.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",S.callParams)," : helper))"])},invokePartial:function(g,M,E){var S=[],N=this.setupParams(M,1,S);g&&(M=this.popStack(),delete N.name),E&&(N.indent=JSON.stringify(E)),N.helpers="helpers",N.partials="partials",N.decorators="container.decorators",S.unshift(g?M:this.nameLookup("partials",M,"partial")),this.options.compat&&(N.depths="depths"),N=this.objectLiteral(N),S.push(N),this.push(this.source.functionCall("container.invokePartial","",S))},assignToHash:function(g){var M=this.popStack(),E=void 0,S=void 0,N=void 0;this.trackIds&&(N=this.popStack()),this.stringParams&&(S=this.popStack(),E=this.popStack());var T=this.hash;E&&(T.contexts[g]=E),S&&(T.types[g]=S),N&&(T.ids[g]=N),T.values[g]=M},pushId:function(g,M,E){"BlockParam"===g?this.pushStackLiteral("blockParams["+M[0]+"].path["+M[1]+"]"+(E?" + "+JSON.stringify("."+E):"")):"PathExpression"===g?this.pushString(M):this.pushStackLiteral("SubExpression"===g?"true":"null")},compiler:q,compileChildren:function(g,M){for(var E=g.children,S=void 0,N=void 0,T=0,z=E.length;T<z;T++){S=E[T],N=new this.compiler;var X=this.matchExistingProgram(S);if(null==X){this.context.programs.push("");var be=this.context.programs.length;S.index=be,S.name="program"+be,this.context.programs[be]=N.compile(S,M,this.context,!this.precompile),this.context.decorators[be]=N.decorators,this.context.environments[be]=S,this.useDepths=this.useDepths||N.useDepths,this.useBlockParams=this.useBlockParams||N.useBlockParams,S.useDepths=this.useDepths,S.useBlockParams=this.useBlockParams}else S.index=X.index,S.name="program"+X.index,this.useDepths=this.useDepths||X.useDepths,this.useBlockParams=this.useBlockParams||X.useBlockParams}},matchExistingProgram:function(g){for(var M=0,E=this.context.environments.length;M<E;M++){var S=this.context.environments[M];if(S&&S.equals(g))return S}},programExpression:function(g){var M=this.environment.children[g],E=[M.index,"data",M.blockParams];return(this.useBlockParams||this.useDepths)&&E.push("blockParams"),this.useDepths&&E.push("depths"),"container.program("+E.join(", ")+")"},useRegister:function(g){this.registers[g]||(this.registers[g]=!0,this.registers.list.push(g))},push:function(g){return g instanceof L||(g=this.source.wrap(g)),this.inlineStack.push(g),g},pushStackLiteral:function(g){this.push(new L(g))},pushSource:function(g){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),g&&this.source.push(g)},replaceStack:function(g){var M=["("],E=void 0,S=void 0,N=void 0;if(!this.isInline())throw new U.default("replaceStack on non-inline");var T=this.popStack(!0);if(T instanceof L)M=["(",E=[T.value]],N=!0;else{S=!0;var z=this.incrStack();M=["((",this.push(z)," = ",T,")"],E=this.topStack()}var X=g.call(this,E);N||this.popStack(),S&&this.stackSlot--,this.push(M.concat(X,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var g=this.inlineStack;this.inlineStack=[];for(var M=0,E=g.length;M<E;M++){var S=g[M];if(S instanceof L)this.compileStack.push(S);else{var N=this.incrStack();this.pushSource([N," = ",S,";"]),this.compileStack.push(N)}}},isInline:function(){return this.inlineStack.length},popStack:function(g){var M=this.isInline(),E=(M?this.inlineStack:this.compileStack).pop();if(!g&&E instanceof L)return E.value;if(!M){if(!this.stackSlot)throw new U.default("Invalid stack pop");this.stackSlot--}return E},topStack:function(){var g=this.isInline()?this.inlineStack:this.compileStack,M=g[g.length-1];return M instanceof L?M.value:M},contextName:function(g){return this.useDepths&&g?"depths["+g+"]":"depth"+g},quotedString:function(g){return this.source.quotedString(g)},objectLiteral:function(g){return this.source.objectLiteral(g)},aliasable:function(g){var M=this.aliases[g];return M?(M.referenceCount++,M):((M=this.aliases[g]=this.source.wrap(g)).aliasable=!0,M.referenceCount=1,M)},setupHelper:function(g,M,E){var S=[];return{params:S,paramsInit:this.setupHelperArgs(M,g,S,E),name:this.nameLookup("helpers",M,"helper"),callParams:[this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})")].concat(S)}},setupParams:function(g,M,E){var S={},N=[],T=[],z=[],X=!E,be=void 0;X&&(E=[]),S.name=this.quotedString(g),S.hash=this.popStack(),this.trackIds&&(S.hashIds=this.popStack()),this.stringParams&&(S.hashTypes=this.popStack(),S.hashContexts=this.popStack());var re=this.popStack(),se=this.popStack();(se||re)&&(S.fn=se||"container.noop",S.inverse=re||"container.noop");for(var pe=M;pe--;)be=this.popStack(),E[pe]=be,this.trackIds&&(z[pe]=this.popStack()),this.stringParams&&(T[pe]=this.popStack(),N[pe]=this.popStack());return X&&(S.args=this.source.generateArray(E)),this.trackIds&&(S.ids=this.source.generateArray(z)),this.stringParams&&(S.types=this.source.generateArray(T),S.contexts=this.source.generateArray(N)),this.options.data&&(S.data="data"),this.useBlockParams&&(S.blockParams="blockParams"),S},setupHelperArgs:function(g,M,E,S){var N=this.setupParams(g,M,E);return N.loc=JSON.stringify(this.source.currentLocation),N=this.objectLiteral(N),S?(this.useRegister("options"),E.push("options"),["options=",N]):E?(E.push(N),""):N}},function(){for(var B="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),g=q.RESERVED_WORDS={},M=0,E=B.length;M<E;M++)g[B[M]]=!0}(),q.isValidJavaScriptVariableName=function(B){return!q.RESERVED_WORDS[B]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(B)},H.default=q,Ee.exports=H.default},1618:(Ee,H)=>{"use strict";H.__esModule=!0;var J=function(){var F={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(G,R,k,L,q,w,B){var g=w.length-1;switch(q){case 1:return w[g-1];case 2:this.$=L.prepareProgram(w[g]);break;case 3:case 4:case 5:case 6:case 7:case 8:case 20:case 27:case 28:case 33:case 34:case 40:case 41:this.$=w[g];break;case 9:this.$={type:"CommentStatement",value:L.stripComment(w[g]),strip:L.stripFlags(w[g],w[g]),loc:L.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:w[g],value:w[g],loc:L.locInfo(this._$)};break;case 11:this.$=L.prepareRawBlock(w[g-2],w[g-1],w[g],this._$);break;case 12:this.$={path:w[g-3],params:w[g-2],hash:w[g-1]};break;case 13:this.$=L.prepareBlock(w[g-3],w[g-2],w[g-1],w[g],!1,this._$);break;case 14:this.$=L.prepareBlock(w[g-3],w[g-2],w[g-1],w[g],!0,this._$);break;case 15:this.$={open:w[g-5],path:w[g-4],params:w[g-3],hash:w[g-2],blockParams:w[g-1],strip:L.stripFlags(w[g-5],w[g])};break;case 16:case 17:this.$={path:w[g-4],params:w[g-3],hash:w[g-2],blockParams:w[g-1],strip:L.stripFlags(w[g-5],w[g])};break;case 18:this.$={strip:L.stripFlags(w[g-1],w[g-1]),program:w[g]};break;case 19:var M=L.prepareBlock(w[g-2],w[g-1],w[g],w[g],!1,this._$),E=L.prepareProgram([M],w[g-1].loc);E.chained=!0,this.$={strip:w[g-2].strip,program:E,chain:!0};break;case 21:this.$={path:w[g-1],strip:L.stripFlags(w[g-2],w[g])};break;case 22:case 23:this.$=L.prepareMustache(w[g-3],w[g-2],w[g-1],w[g-4],L.stripFlags(w[g-4],w[g]),this._$);break;case 24:this.$={type:"PartialStatement",name:w[g-3],params:w[g-2],hash:w[g-1],indent:"",strip:L.stripFlags(w[g-4],w[g]),loc:L.locInfo(this._$)};break;case 25:this.$=L.preparePartialBlock(w[g-2],w[g-1],w[g],this._$);break;case 26:this.$={path:w[g-3],params:w[g-2],hash:w[g-1],strip:L.stripFlags(w[g-4],w[g])};break;case 29:this.$={type:"SubExpression",path:w[g-3],params:w[g-2],hash:w[g-1],loc:L.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:w[g],loc:L.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:L.id(w[g-2]),value:w[g],loc:L.locInfo(this._$)};break;case 32:this.$=L.id(w[g-1]);break;case 35:this.$={type:"StringLiteral",value:w[g],original:w[g],loc:L.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(w[g]),original:Number(w[g]),loc:L.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===w[g],original:"true"===w[g],loc:L.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:L.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:L.locInfo(this._$)};break;case 42:this.$=L.preparePath(!0,w[g],this._$);break;case 43:this.$=L.preparePath(!1,w[g],this._$);break;case 44:w[g-2].push({part:L.id(w[g]),original:w[g],separator:w[g-1]}),this.$=w[g-2];break;case 45:this.$=[{part:L.id(w[g]),original:w[g]}];break;case 46:case 48:case 50:case 58:case 64:case 70:case 78:case 82:case 86:case 90:case 94:this.$=[];break;case 47:case 49:case 51:case 59:case 65:case 71:case 79:case 83:case 87:case 91:case 95:case 99:case 101:w[g-1].push(w[g]);break;case 98:case 100:this.$=[w[g]]}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(G,R){throw new Error(G)},parse:function(G){var k=[0],L=[null],q=[],w=this.table,B="",g=0,M=0,E=0;this.lexer.setInput(G),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var T=this.lexer.yylloc;q.push(T);var Et,z=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var re,se,pe,Ke,Dt,ye,Se,tt,ke={};;){if(this.defaultActions[pe=k[k.length-1]]?Ke=this.defaultActions[pe]:(null==re&&(Et=void 0,"number"!=typeof(Et=this.lexer.lex()||1)&&(Et=this.symbols_[Et]||Et),re=Et),Ke=w[pe]&&w[pe][re]),void 0===Ke||!Ke.length||!Ke[0]){var an="";if(!E){for(ye in tt=[],w[pe])this.terminals_[ye]&&ye>2&&tt.push("'"+this.terminals_[ye]+"'");an=this.lexer.showPosition?"Parse error on line "+(g+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+tt.join(", ")+", got '"+(this.terminals_[re]||re)+"'":"Parse error on line "+(g+1)+": Unexpected "+(1==re?"end of input":"'"+(this.terminals_[re]||re)+"'"),this.parseError(an,{text:this.lexer.match,token:this.terminals_[re]||re,line:this.lexer.yylineno,loc:T,expected:tt})}}if(Ke[0]instanceof Array&&Ke.length>1)throw new Error("Parse Error: multiple actions possible at state: "+pe+", token: "+re);switch(Ke[0]){case 1:k.push(re),L.push(this.lexer.yytext),q.push(this.lexer.yylloc),k.push(Ke[1]),re=null,se?(re=se,se=null):(M=this.lexer.yyleng,B=this.lexer.yytext,g=this.lexer.yylineno,T=this.lexer.yylloc,E>0&&E--);break;case 2:if(ke.$=L[L.length-(Se=this.productions_[Ke[1]][1])],ke._$={first_line:q[q.length-(Se||1)].first_line,last_line:q[q.length-1].last_line,first_column:q[q.length-(Se||1)].first_column,last_column:q[q.length-1].last_column},z&&(ke._$.range=[q[q.length-(Se||1)].range[0],q[q.length-1].range[1]]),void 0!==(Dt=this.performAction.call(ke,B,M,g,this.yy,Ke[1],L,q)))return Dt;Se&&(k=k.slice(0,-1*Se*2),L=L.slice(0,-1*Se),q=q.slice(0,-1*Se)),k.push(this.productions_[Ke[1]][0]),L.push(ke.$),q.push(ke._$),k.push(w[k[k.length-2]][k[k.length-1]]);break;case 3:return!0}}return!0}};function oe(){this.yy={}}return F.lexer={EOF:1,parseError:function(R,k){if(!this.yy.parser)throw new Error(R);this.yy.parser.parseError(R,k)},setInput:function(R){return this._input=R,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var R=this._input[0];return this.yytext+=R,this.yyleng++,this.offset++,this.match+=R,this.matched+=R,R.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),R},unput:function(R){var k=R.length,L=R.split(/(?:\r\n?|\n)/g);this._input=R+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-k-1),this.offset-=k;var q=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),L.length-1&&(this.yylineno-=L.length-1);var w=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:L?(L.length===q.length?this.yylloc.first_column:0)+q[q.length-L.length].length-L[0].length:this.yylloc.first_column-k},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-k]),this},more:function(){return this._more=!0,this},less:function(R){this.unput(this.match.slice(R))},pastInput:function(){var R=this.matched.substr(0,this.matched.length-this.match.length);return(R.length>20?"...":"")+R.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var R=this.match;return R.length<20&&(R+=this._input.substr(0,20-R.length)),(R.substr(0,20)+(R.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var R=this.pastInput(),k=new Array(R.length+1).join("-");return R+this.upcomingInput()+"\n"+k+"^"},next:function(){if(this.done)return this.EOF;var R,k,L,q,B;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var g=this._currentRules(),M=0;M<g.length&&(!(L=this._input.match(this.rules[g[M]]))||k&&!(L[0].length>k[0].length)||(k=L,q=M,this.options.flex));M++);return k?((B=k[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=B.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:B?B[B.length-1].length-B[B.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+k[0].length},this.yytext+=k[0],this.match+=k[0],this.matches=k,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(k[0].length),this.matched+=k[0],R=this.performAction.call(this,this.yy,this,g[q],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),R||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var R=this.next();return void 0!==R?R:this.lex()},begin:function(R){this.conditionStack.push(R)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(R){this.begin(R)},options:{},performAction:function(R,k,L,q){function w(g,M){return k.yytext=k.yytext.substring(g,k.yyleng-M+g)}switch(L){case 0:if("\\\\"===k.yytext.slice(-2)?(w(0,1),this.begin("mu")):"\\"===k.yytext.slice(-1)?(w(0,1),this.begin("emu")):this.begin("mu"),k.yytext)return 15;break;case 1:case 5:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(w(5,9),"END_RAW_BLOCK");case 6:case 22:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:case 23:return 48;case 21:this.unput(k.yytext),this.popState(),this.begin("com");break;case 24:return 73;case 25:case 26:case 41:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return k.yytext=w(1,2).replace(/\\"/g,'"'),80;case 32:return k.yytext=w(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 42:return k.yytext=k.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}},oe.prototype=F,F.Parser=oe,new oe}();H.default=J,Ee.exports=H.default},7913:(Ee,H,J)=>{"use strict";H.__esModule=!0,H.print=function U(R){return(new G).accept(R)},H.PrintVisitor=G;var oe=function F(R){return R&&R.__esModule?R:{default:R}}(J(2117));function G(){this.padding=0}(G.prototype=new oe.default).pad=function(R){for(var k="",L=0,q=this.padding;L<q;L++)k+=" ";return k+(R+"\n")},G.prototype.Program=function(R){var k="",L=R.body,q=void 0,w=void 0;if(R.blockParams){var B="BLOCK PARAMS: [";for(q=0,w=R.blockParams.length;q<w;q++)B+=" "+R.blockParams[q];k+=this.pad(B+=" ]")}for(q=0,w=L.length;q<w;q++)k+=this.accept(L[q]);return this.padding--,k},G.prototype.MustacheStatement=function(R){return this.pad("{{ "+this.SubExpression(R)+" }}")},G.prototype.Decorator=function(R){return this.pad("{{ DIRECTIVE "+this.SubExpression(R)+" }}")},G.prototype.BlockStatement=G.prototype.DecoratorBlock=function(R){var k="";return k+=this.pad(("DecoratorBlock"===R.type?"DIRECTIVE ":"")+"BLOCK:"),this.padding++,k+=this.pad(this.SubExpression(R)),R.program&&(k+=this.pad("PROGRAM:"),this.padding++,k+=this.accept(R.program),this.padding--),R.inverse&&(R.program&&this.padding++,k+=this.pad("{{^}}"),this.padding++,k+=this.accept(R.inverse),this.padding--,R.program&&this.padding--),this.padding--,k},G.prototype.PartialStatement=function(R){var k="PARTIAL:"+R.name.original;return R.params[0]&&(k+=" "+this.accept(R.params[0])),R.hash&&(k+=" "+this.accept(R.hash)),this.pad("{{> "+k+" }}")},G.prototype.PartialBlockStatement=function(R){var k="PARTIAL BLOCK:"+R.name.original;return R.params[0]&&(k+=" "+this.accept(R.params[0])),R.hash&&(k+=" "+this.accept(R.hash)),k+=" "+this.pad("PROGRAM:"),this.padding++,k+=this.accept(R.program),this.padding--,this.pad("{{> "+k+" }}")},G.prototype.ContentStatement=function(R){return this.pad("CONTENT[ '"+R.value+"' ]")},G.prototype.CommentStatement=function(R){return this.pad("{{! '"+R.value+"' }}")},G.prototype.SubExpression=function(R){for(var q,k=R.params,L=[],w=0,B=k.length;w<B;w++)L.push(this.accept(k[w]));return k="["+L.join(", ")+"]",q=R.hash?" "+this.accept(R.hash):"",this.accept(R.path)+" "+k+q},G.prototype.PathExpression=function(R){var k=R.parts.join("/");return(R.data?"@":"")+"PATH:"+k},G.prototype.StringLiteral=function(R){return'"'+R.value+'"'},G.prototype.NumberLiteral=function(R){return"NUMBER{"+R.value+"}"},G.prototype.BooleanLiteral=function(R){return"BOOLEAN{"+R.value+"}"},G.prototype.UndefinedLiteral=function(){return"UNDEFINED"},G.prototype.NullLiteral=function(){return"NULL"},G.prototype.Hash=function(R){for(var k=R.pairs,L=[],q=0,w=k.length;q<w;q++)L.push(this.accept(k[q]));return"HASH{"+L.join(", ")+"}"},G.prototype.HashPair=function(R){return R.key+"="+this.accept(R.value)}},2117:(Ee,H,J)=>{"use strict";H.__esModule=!0;var oe=function F(L){return L&&L.__esModule?L:{default:L}}(J(5118));function U(){this.parents=[]}function G(L){this.acceptRequired(L,"path"),this.acceptArray(L.params),this.acceptKey(L,"hash")}function R(L){G.call(this,L),this.acceptKey(L,"program"),this.acceptKey(L,"inverse")}function k(L){this.acceptRequired(L,"name"),this.acceptArray(L.params),this.acceptKey(L,"hash")}U.prototype={constructor:U,mutating:!1,acceptKey:function(q,w){var B=this.accept(q[w]);if(this.mutating){if(B&&!U.prototype[B.type])throw new oe.default('Unexpected node type "'+B.type+'" found when accepting '+w+" on "+q.type);q[w]=B}},acceptRequired:function(q,w){if(this.acceptKey(q,w),!q[w])throw new oe.default(q.type+" requires "+w)},acceptArray:function(q){for(var w=0,B=q.length;w<B;w++)this.acceptKey(q,w),q[w]||(q.splice(w,1),w--,B--)},accept:function(q){if(q){if(!this[q.type])throw new oe.default("Unknown type: "+q.type,q);this.current&&this.parents.unshift(this.current),this.current=q;var w=this[q.type](q);if(this.current=this.parents.shift(),!this.mutating||w)return w;if(!1!==w)return q}},Program:function(q){this.acceptArray(q.body)},MustacheStatement:G,Decorator:G,BlockStatement:R,DecoratorBlock:R,PartialStatement:k,PartialBlockStatement:function(q){k.call(this,q),this.acceptKey(q,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:G,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(q){this.acceptArray(q.pairs)},HashPair:function(q){this.acceptRequired(q,"value")}},H.default=U,Ee.exports=H.default},9092:(Ee,H,J)=>{"use strict";H.__esModule=!0;var oe=function F(q){return q&&q.__esModule?q:{default:q}}(J(2117));function U(){var q=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=q}function G(q,w,B){void 0===w&&(w=q.length);var g=q[w-1];return g?"ContentStatement"===g.type?(q[w-2]||!B?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(g.original):void 0:B}function R(q,w,B){void 0===w&&(w=-1);var g=q[w+1];return g?"ContentStatement"===g.type?(q[w+2]||!B?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(g.original):void 0:B}function k(q,w,B){var g=q[null==w?0:w+1];if(g&&"ContentStatement"===g.type&&(B||!g.rightStripped)){var M=g.value;g.value=g.value.replace(B?/^\s+/:/^[ \t]*\r?\n?/,""),g.rightStripped=g.value!==M}}function L(q,w,B){var g=q[null==w?q.length-1:w-1];if(g&&"ContentStatement"===g.type&&(B||!g.leftStripped)){var M=g.value;return g.value=g.value.replace(B?/\s+$/:/[ \t]+$/,""),g.leftStripped=g.value!==M,g.leftStripped}}(U.prototype=new oe.default).Program=function(q){var w=!this.options.ignoreStandalone,B=!this.isRootSeen;this.isRootSeen=!0;for(var g=q.body,M=0,E=g.length;M<E;M++){var S=g[M],N=this.accept(S);if(N){var T=G(g,M,B),z=R(g,M,B),X=N.openStandalone&&T,be=N.closeStandalone&&z,re=N.inlineStandalone&&T&&z;N.close&&k(g,M,!0),N.open&&L(g,M,!0),w&&re&&(k(g,M),L(g,M)&&"PartialStatement"===S.type&&(S.indent=/([ \t]+$)/.exec(g[M-1].original)[1])),w&&X&&(k((S.program||S.inverse).body),L(g,M)),w&&be&&(k(g,M),L((S.inverse||S.program).body))}}return q},U.prototype.BlockStatement=U.prototype.DecoratorBlock=U.prototype.PartialBlockStatement=function(q){this.accept(q.program),this.accept(q.inverse);var w=q.program||q.inverse,B=q.program&&q.inverse,g=B,M=B;if(B&&B.chained)for(g=B.body[0].program;M.chained;)M=M.body[M.body.length-1].program;var E={open:q.openStrip.open,close:q.closeStrip.close,openStandalone:R(w.body),closeStandalone:G((g||w).body)};if(q.openStrip.close&&k(w.body,null,!0),B){var S=q.inverseStrip;S.open&&L(w.body,null,!0),S.close&&k(g.body,null,!0),q.closeStrip.open&&L(M.body,null,!0),!this.options.ignoreStandalone&&G(w.body)&&R(g.body)&&(L(w.body),k(g.body))}else q.closeStrip.open&&L(w.body,null,!0);return E},U.prototype.Decorator=U.prototype.MustacheStatement=function(q){return q.strip},U.prototype.PartialStatement=U.prototype.CommentStatement=function(q){var w=q.strip||{};return{inlineStandalone:!0,open:w.open,close:w.close}},H.default=U,Ee.exports=H.default},9450:(Ee,H,J)=>{"use strict";H.__esModule=!0,H.registerDefaultDecorators=function U(G){oe.default(G)};var oe=function F(G){return G&&G.__esModule?G:{default:G}}(J(6284))},6284:(Ee,H,J)=>{"use strict";H.__esModule=!0;var F=J(8587);H.default=function(_){_.registerDecorator("inline",function(oe,U,G,R){var k=oe;return U.partials||(U.partials={},k=function(L,q){var w=G.partials;G.partials=F.extend({},w,U.partials);var B=oe(L,q);return G.partials=w,B}),U.partials[R.args[0]]=R.fn,k})},Ee.exports=H.default},5118:(Ee,H)=>{"use strict";H.__esModule=!0;var J=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function F(_,oe){var U=oe&&oe.loc,G=void 0,R=void 0,k=void 0,L=void 0;U&&(R=U.end.line,L=U.end.column,_+=" - "+(G=U.start.line)+":"+(k=U.start.column));for(var q=Error.prototype.constructor.call(this,_),w=0;w<J.length;w++)this[J[w]]=q[J[w]];Error.captureStackTrace&&Error.captureStackTrace(this,F);try{U&&(this.lineNumber=G,this.endLineNumber=R,Object.defineProperty?(Object.defineProperty(this,"column",{value:k,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:L,enumerable:!0})):(this.column=k,this.endColumn=L))}catch(B){}}F.prototype=new Error,H.default=F,Ee.exports=H.default},8246:(Ee,H,J)=>{"use strict";function F(z){return z&&z.__esModule?z:{default:z}}H.__esModule=!0,H.registerDefaultHelpers=function N(z){oe.default(z),G.default(z),k.default(z),q.default(z),B.default(z),M.default(z),S.default(z)},H.moveHelperToHooks=function T(z,X,be){z.helpers[X]&&(z.hooks[X]=z.helpers[X],be||delete z.helpers[X])};var oe=F(J(806)),G=F(J(6073)),k=F(J(5436)),q=F(J(338)),B=F(J(8932)),M=F(J(3649)),S=F(J(849))},806:(Ee,H,J)=>{"use strict";H.__esModule=!0;var F=J(8587);H.default=function(_){_.registerHelper("blockHelperMissing",function(oe,U){var G=U.inverse,R=U.fn;if(!0===oe)return R(this);if(!1===oe||null==oe)return G(this);if(F.isArray(oe))return oe.length>0?(U.ids&&(U.ids=[U.name]),_.helpers.each(oe,U)):G(this);if(U.data&&U.ids){var k=F.createFrame(U.data);k.contextPath=F.appendContextPath(U.data.contextPath,U.name),U={data:k}}return R(oe,U)})},Ee.exports=H.default},6073:(Ee,H,J)=>{"use strict";H.__esModule=!0;var _=J(8587),U=function F(G){return G&&G.__esModule?G:{default:G}}(J(5118));H.default=function(G){G.registerHelper("each",function(R,k){if(!k)throw new U.default("Must pass iterator to #each");var X,L=k.fn,q=k.inverse,w=0,B="",g=void 0,M=void 0;function E(X,be,re){g&&(g.key=X,g.index=be,g.first=0===be,g.last=!!re,M&&(g.contextPath=M+X)),B+=L(R[X],{data:g,blockParams:_.blockParams([R[X],X],[M+X,null])})}if(k.data&&k.ids&&(M=_.appendContextPath(k.data.contextPath,k.ids[0])+"."),_.isFunction(R)&&(R=R.call(this)),k.data&&(g=_.createFrame(k.data)),R&&"object"==typeof R)if(_.isArray(R))for(var S=R.length;w<S;w++)w in R&&E(w,w,w===R.length-1);else if(global.Symbol&&R[global.Symbol.iterator]){for(var N=[],T=R[global.Symbol.iterator](),z=T.next();!z.done;z=T.next())N.push(z.value);for(S=(R=N).length;w<S;w++)E(w,w,w===R.length-1)}else X=void 0,Object.keys(R).forEach(function(be){void 0!==X&&E(X,w-1),X=be,w++}),void 0!==X&&E(X,w-1,!0);return 0===w&&(B=q(this)),B})},Ee.exports=H.default},5436:(Ee,H,J)=>{"use strict";H.__esModule=!0;var oe=function F(U){return U&&U.__esModule?U:{default:U}}(J(5118));H.default=function(U){U.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new oe.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},Ee.exports=H.default},338:(Ee,H,J)=>{"use strict";H.__esModule=!0;var _=J(8587),U=function F(G){return G&&G.__esModule?G:{default:G}}(J(5118));H.default=function(G){G.registerHelper("if",function(R,k){if(2!=arguments.length)throw new U.default("#if requires exactly one argument");return _.isFunction(R)&&(R=R.call(this)),!k.hash.includeZero&&!R||_.isEmpty(R)?k.inverse(this):k.fn(this)}),G.registerHelper("unless",function(R,k){if(2!=arguments.length)throw new U.default("#unless requires exactly one argument");return G.helpers.if.call(this,R,{fn:k.inverse,inverse:k.fn,hash:k.hash})})},Ee.exports=H.default},8932:(Ee,H)=>{"use strict";H.__esModule=!0,H.default=function(J){J.registerHelper("log",function(){for(var F=[void 0],_=arguments[arguments.length-1],oe=0;oe<arguments.length-1;oe++)F.push(arguments[oe]);var U=1;null!=_.hash.level?U=_.hash.level:_.data&&null!=_.data.level&&(U=_.data.level),F[0]=U,J.log.apply(J,F)})},Ee.exports=H.default},3649:(Ee,H)=>{"use strict";H.__esModule=!0,H.default=function(J){J.registerHelper("lookup",function(F,_,oe){return F&&oe.lookupProperty(F,_)})},Ee.exports=H.default},849:(Ee,H,J)=>{"use strict";H.__esModule=!0;var _=J(8587),U=function F(G){return G&&G.__esModule?G:{default:G}}(J(5118));H.default=function(G){G.registerHelper("with",function(R,k){if(2!=arguments.length)throw new U.default("#with requires exactly one argument");_.isFunction(R)&&(R=R.call(this));var L=k.fn;if(_.isEmpty(R))return k.inverse(this);var q=k.data;return k.data&&k.ids&&((q=_.createFrame(k.data)).contextPath=_.appendContextPath(k.data.contextPath,k.ids[0])),L(R,{data:q,blockParams:_.blockParams([R],[q&&q.contextPath])})})},Ee.exports=H.default},2800:(Ee,H,J)=>{"use strict";H.__esModule=!0,H.createNewLookupObject=function _(){for(var oe=arguments.length,U=Array(oe),G=0;G<oe;G++)U[G]=arguments[G];return F.extend.apply(void 0,[Object.create(null)].concat(U))};var F=J(8587)},1446:(Ee,H,J)=>{"use strict";H.__esModule=!0,H.createProtoAccessControl=function R(B){var g=Object.create(null);g.constructor=!1,g.__defineGetter__=!1,g.__defineSetter__=!1,g.__lookupGetter__=!1;var M=Object.create(null);return M.__proto__=!1,{properties:{whitelist:_.createNewLookupObject(M,B.allowedProtoProperties),defaultValue:B.allowProtoPropertiesByDefault},methods:{whitelist:_.createNewLookupObject(g,B.allowedProtoMethods),defaultValue:B.allowProtoMethodsByDefault}}},H.resultIsAllowed=function k(B,g,M){return function L(B,g){return void 0!==B.whitelist[g]?!0===B.whitelist[g]:void 0!==B.defaultValue?B.defaultValue:(function q(B){!0!==G[B]&&(G[B]=!0,U.log("error",'Handlebars: Access has been denied to resolve the property "'+B+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}(g),!1)}("function"==typeof B?g.methods:g.properties,M)},H.resetLoggedProperties=function w(){Object.keys(G).forEach(function(B){delete G[B]})};var _=J(2800),U=function F(B){if(B&&B.__esModule)return B;var g={};if(null!=B)for(var M in B)Object.prototype.hasOwnProperty.call(B,M)&&(g[M]=B[M]);return g.default=B,g}(J(1932)),G=Object.create(null)},6611:(Ee,H)=>{"use strict";H.__esModule=!0,H.wrapHelper=function J(F,_){return"function"!=typeof F?F:function(){return arguments[arguments.length-1]=_(arguments[arguments.length-1]),F.apply(this,arguments)}}},1932:(Ee,H,J)=>{"use strict";H.__esModule=!0;var F=J(8587),_={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(U){if("string"==typeof U){var G=F.indexOf(_.methodMap,U.toLowerCase());U=G>=0?G:parseInt(U,10)}return U},log:function(U){if(U=_.lookupLevel(U),"undefined"!=typeof console&&_.lookupLevel(_.level)<=U){var G=_.methodMap[U];console[G]||(G="log");for(var R=arguments.length,k=Array(R>1?R-1:0),L=1;L<R;L++)k[L-1]=arguments[L];console[G].apply(console,k)}}};H.default=_,Ee.exports=H.default},7843:(Ee,H)=>{"use strict";H.__esModule=!0,H.default=function(J){var F="undefined"!=typeof global?global:window,_=F.Handlebars;J.noConflict=function(){return F.Handlebars===J&&(F.Handlebars=_),J}},Ee.exports=H.default},1010:(Ee,H,J)=>{"use strict";H.__esModule=!0,H.checkRevision=function B(re){var se=re&&re[0]||1;if(!(se>=k.LAST_COMPATIBLE_COMPILER_REVISION&&se<=k.COMPILER_REVISION)){if(se<k.LAST_COMPATIBLE_COMPILER_REVISION)throw new R.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+k.REVISION_CHANGES[k.COMPILER_REVISION]+") or downgrade your runtime to an older version ("+k.REVISION_CHANGES[se]+").");throw new R.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+re[1]+").")}},H.template=function g(re,se){if(!se)throw new R.default("No environment passed to template");if(!re||!re.main)throw new R.default("Unknown template object: "+typeof re);re.main.decorator=re.main_d,se.VM.checkRevision(re.compiler);var pe=re.compiler&&7===re.compiler[0],Ne={strict:function(ye,Se,st){if(!ye||!(Se in ye))throw new R.default('"'+Se+'" not defined in '+ye,{loc:st});return Ne.lookupProperty(ye,Se)},lookupProperty:function(ye,Se){var st=ye[Se];if(null==st||Object.prototype.hasOwnProperty.call(ye,Se)||w.resultIsAllowed(st,Ne.protoAccessControl,Se))return st},lookup:function(ye,Se){for(var st=ye.length,tt=0;tt<st;tt++)if(null!=(ye[tt]&&Ne.lookupProperty(ye[tt],Se)))return ye[tt][Se]},lambda:function(ye,Se){return"function"==typeof ye?ye.call(Se):ye},escapeExpression:U.escapeExpression,invokePartial:function Ke(ke,ye,Se){Se.hash&&(ye=U.extend({},ye,Se.hash),Se.ids&&(Se.ids[0]=!0)),ke=se.VM.resolvePartial.call(this,ke,ye,Se);var st=U.extend({},Se,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),tt=se.VM.invokePartial.call(this,ke,ye,st);if(null==tt&&se.compile&&(Se.partials[Se.name]=se.compile(ke,re.compilerOptions,se),tt=Se.partials[Se.name](ye,st)),null!=tt){if(Se.indent){for(var an=tt.split("\n"),Et=0,fn=an.length;Et<fn&&(an[Et]||Et+1!==fn);Et++)an[Et]=Se.indent+an[Et];tt=an.join("\n")}return tt}throw new R.default("The partial "+Se.name+" could not be compiled when running in runtime-only mode")},fn:function(ye){var Se=re[ye];return Se.decorator=re[ye+"_d"],Se},programs:[],program:function(ye,Se,st,tt,an){var Et=this.programs[ye],fn=this.fn(ye);return Se||an||tt||st?Et=M(this,ye,fn,Se,st,tt,an):Et||(Et=this.programs[ye]=M(this,ye,fn)),Et},data:function(ye,Se){for(;ye&&Se--;)ye=ye._parent;return ye},mergeIfNeeded:function(ye,Se){var st=ye||Se;return ye&&Se&&ye!==Se&&(st=U.extend({},Se,ye)),st},nullContext:Object.seal({}),noop:se.VM.noop,compilerInfo:re.compiler};function Dt(ke){var ye=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],Se=ye.data;Dt._setup(ye),!ye.partial&&re.useData&&(Se=T(ke,Se));var st=void 0,tt=re.useBlockParams?[]:void 0;function an(Et){return""+re.main(Ne,Et,Ne.helpers,Ne.partials,Se,tt,st)}return re.useDepths&&(st=ye.depths?ke!=ye.depths[0]?[ke].concat(ye.depths):ye.depths:[ke]),(an=z(re.main,an,Ne,ye.depths||[],Se,tt))(ke,ye)}return Dt.isTop=!0,Dt._setup=function(ke){if(ke.partial)Ne.protoAccessControl=ke.protoAccessControl,Ne.helpers=ke.helpers,Ne.partials=ke.partials,Ne.decorators=ke.decorators,Ne.hooks=ke.hooks;else{var ye=U.extend({},se.helpers,ke.helpers);(function X(re,se){Object.keys(re).forEach(function(pe){re[pe]=function be(re,se){var pe=se.lookupProperty;return q.wrapHelper(re,function(Ke){return U.extend({lookupProperty:pe},Ke)})}(re[pe],se)})})(ye,Ne),Ne.helpers=ye,re.usePartial&&(Ne.partials=Ne.mergeIfNeeded(ke.partials,se.partials)),(re.usePartial||re.useDecorators)&&(Ne.decorators=U.extend({},se.decorators,ke.decorators)),Ne.hooks={},Ne.protoAccessControl=w.createProtoAccessControl(ke);var Se=ke.allowCallsToHelperMissing||pe;L.moveHelperToHooks(Ne,"helperMissing",Se),L.moveHelperToHooks(Ne,"blockHelperMissing",Se)}},Dt._child=function(ke,ye,Se,st){if(re.useBlockParams&&!Se)throw new R.default("must pass block params");if(re.useDepths&&!st)throw new R.default("must pass parent depths");return M(Ne,ke,re[ke],ye,0,Se,st)},Dt},H.wrapProgram=M,H.resolvePartial=function E(re,se,pe){return re?!re.call&&!pe.name&&(pe.name=re,re=pe.partials[re]):re="@partial-block"===pe.name?pe.data["partial-block"]:pe.partials[pe.name],re},H.invokePartial=function S(re,se,pe){var Ke=pe.data&&pe.data["partial-block"];pe.partial=!0,pe.ids&&(pe.data.contextPath=pe.ids[0]||pe.data.contextPath);var Ne=void 0;if(pe.fn&&pe.fn!==N&&function(){pe.data=k.createFrame(pe.data);var Dt=pe.fn;Ne=pe.data["partial-block"]=function(ye){var Se=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return Se.data=k.createFrame(Se.data),Se.data["partial-block"]=Ke,Dt(ye,Se)},Dt.partials&&(pe.partials=U.extend({},pe.partials,Dt.partials))}(),void 0===re&&Ne&&(re=Ne),void 0===re)throw new R.default("The partial "+pe.name+" could not be found");if(re instanceof Function)return re(se,pe)},H.noop=N;var U=function _(re){if(re&&re.__esModule)return re;var se={};if(null!=re)for(var pe in re)Object.prototype.hasOwnProperty.call(re,pe)&&(se[pe]=re[pe]);return se.default=re,se}(J(8587)),R=function F(re){return re&&re.__esModule?re:{default:re}}(J(5118)),k=J(5075),L=J(8246),q=J(6611),w=J(1446);function M(re,se,pe,Ke,Ne,Dt,ke){function ye(Se){var st=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],tt=ke;return ke&&Se!=ke[0]&&!(Se===re.nullContext&&null===ke[0])&&(tt=[Se].concat(ke)),pe(re,Se,re.helpers,re.partials,st.data||Ke,Dt&&[st.blockParams].concat(Dt),tt)}return(ye=z(pe,ye,re,ke,Ke,Dt)).program=se,ye.depth=ke?ke.length:0,ye.blockParams=Ne||0,ye}function N(){return""}function T(re,se){return(!se||!("root"in se))&&((se=se?k.createFrame(se):{}).root=re),se}function z(re,se,pe,Ke,Ne,Dt){if(re.decorator){var ke={};se=re.decorator(se,ke,pe,Ke&&Ke[0],Ne,Dt,Ke),U.extend(se,ke)}return se}},6997:(Ee,H)=>{"use strict";function J(F){this.string=F}H.__esModule=!0,J.prototype.toString=J.prototype.toHTML=function(){return""+this.string},H.default=J,Ee.exports=H.default},8587:(Ee,H)=>{"use strict";H.__esModule=!0,H.extend=U,H.indexOf=function L(E,S){for(var N=0,T=E.length;N<T;N++)if(E[N]===S)return N;return-1},H.escapeExpression=function q(E){if("string"!=typeof E){if(E&&E.toHTML)return E.toHTML();if(null==E)return"";if(!E)return E+"";E=""+E}return _.test(E)?E.replace(F,oe):E},H.isEmpty=function w(E){return!E&&0!==E||!(!k(E)||0!==E.length)},H.createFrame=function B(E){var S=U({},E);return S._parent=E,S},H.blockParams=function g(E,S){return E.path=S,E},H.appendContextPath=function M(E,S){return(E?E+".":"")+S};var J={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},F=/[&<>"'`=]/g,_=/[&<>"'`=]/;function oe(E){return J[E]}function U(E){for(var S=1;S<arguments.length;S++)for(var N in arguments[S])Object.prototype.hasOwnProperty.call(arguments[S],N)&&(E[N]=arguments[S][N]);return E}var G=Object.prototype.toString;H.toString=G;var R=function(S){return"function"==typeof S};R(/x/)&&(H.isFunction=R=function(E){return"function"==typeof E&&"[object Function]"===G.call(E)}),H.isFunction=R;var k=Array.isArray||function(E){return!(!E||"object"!=typeof E)&&"[object Array]"===G.call(E)};H.isArray=k},8372:(Ee,H,J)=>{var F=J(3299).default,_=J(7913);function oe(U,G){var k=J(9062).readFileSync(G,"utf8");U.exports=F.compile(k)}F.PrintVisitor=_.PrintVisitor,F.print=_.print,Ee.exports=F,J(6575).extensions&&(J(6575).extensions[".handlebars"]=oe,J(6575).extensions[".hbs"]=oe)},8784:function(Ee,H,J){var F;Ee=J.nmd(Ee),function(){var _,R="Expected a function",L="__lodash_hash_undefined__",w="__lodash_placeholder__",Et=1/0,fn=9007199254740991,sr=4294967295,sf=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],ji="[object Arguments]",vi="[object Array]",Ct="[object Boolean]",Sr="[object Date]",Ha="[object Error]",ja="[object Function]",sa="[object GeneratorFunction]",jr="[object Map]",bi="[object Number]",Ui="[object Object]",fo="[object Promise]",gn="[object RegExp]",or="[object Set]",ho="[object String]",oa="[object Symbol]",hs="[object WeakMap]",ps="[object ArrayBuffer]",ms="[object DataView]",Hl="[object Float32Array]",jl="[object Float64Array]",Ul="[object Int8Array]",Wl="[object Int16Array]",Gl="[object Int32Array]",sc="[object Uint8Array]",zl="[object Uint8ClampedArray]",ql="[object Uint16Array]",$l="[object Uint32Array]",af=/\b__p \+= '';/g,oc=/\b(__p \+=) '' \+/g,Ft=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ua=/&(?:amp|lt|gt|quot|#39);/g,dt=/[&<>"']/g,Yl=RegExp(Ua.source),lf=RegExp(dt.source),Ut=/<%-([\s\S]+?)%>/g,Be=/<%([\s\S]+?)%>/g,Kl=/<%=([\s\S]+?)%>/g,qp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,gs=/^\w*$/,$p=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,aa=/[\\^$.*+?()[\]{}|]/g,rt=RegExp(aa.source),Mn=/^\s+/,uf=/\s/,Xt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Yp=/\{\n\/\* \[wrapped with (.+)\] \*/,Wa=/,? & /,$n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ga=/[()=,{}\[\]\/\s]/,cf=/\\(\\)?/g,ac=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ur=/\w*$/,df=/^[-+]0x[0-9a-f]+$/i,Kp=/^0b[01]+$/i,Qp=/^\[object .+?Constructor\]$/,Zp=/^0o[0-7]+$/i,ff=/^(?:0|[1-9]\d*)$/,Xp=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,za=/($^)/,Jp=/['\n\r\u2028\u2029\\]/g,Fn="\\ud800-\\udfff",Ql="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ce="\\u2700-\\u27bf",hf="a-z\\xdf-\\xf6\\xf8-\\xff",Wi="A-Z\\xc0-\\xd6\\xd8-\\xde",_n="\\ufe0e\\ufe0f",la="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ci="["+Fn+"]",_s="["+la+"]",He="["+Ql+"]",ys="\\d+",lc="["+Ce+"]",Yn="["+hf+"]",Gi="[^"+Fn+la+ys+Ce+hf+Wi+"]",$a="\\ud83c[\\udffb-\\udfff]",Bn="[^"+Fn+"]",uc="(?:\\ud83c[\\udde6-\\uddff]){2}",cc="[\\ud800-\\udbff][\\udc00-\\udfff]",rn="["+Wi+"]",fc="(?:"+Yn+"|"+Gi+")",pf="(?:"+rn+"|"+Gi+")",Ya="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",St="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",po="(?:"+He+"|"+$a+")?",mf="["+_n+"]?",da=mf+po+"(?:\\u200d(?:"+[Bn,uc,cc].join("|")+")"+mf+po+")*",fa="(?:"+[lc,uc,cc].join("|")+")"+da,hc="(?:"+[Bn+He+"?",He,uc,cc,Ci].join("|")+")",wi=RegExp("['\u2019]","g"),ha=RegExp(He,"g"),Zl=RegExp($a+"(?="+$a+")|"+hc+da,"g"),vs=RegExp([rn+"?"+Yn+"+"+Ya+"(?="+[_s,rn,"$"].join("|")+")",pf+"+"+St+"(?="+[_s,rn+fc,"$"].join("|")+")",rn+"?"+fc+"+"+Ya,rn+"+"+St,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ys,fa].join("|"),"g"),gf=RegExp("[\\u200d"+Fn+Ql+_n+"]"),pc=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,mc=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],gc=-1,We={};We[Hl]=We[jl]=We[Ul]=We[Wl]=We[Gl]=We[sc]=We[zl]=We[ql]=We[$l]=!0,We[ji]=We[vi]=We[ps]=We[Ct]=We[ms]=We[Sr]=We[Ha]=We[ja]=We[jr]=We[bi]=We[Ui]=We[gn]=We[or]=We[ho]=We[hs]=!1;var Wt={};Wt[ji]=Wt[vi]=Wt[ps]=Wt[ms]=Wt[Ct]=Wt[Sr]=Wt[Hl]=Wt[jl]=Wt[Ul]=Wt[Wl]=Wt[Gl]=Wt[jr]=Wt[bi]=Wt[Ui]=Wt[gn]=Wt[or]=Wt[ho]=Wt[oa]=Wt[sc]=Wt[zl]=Wt[ql]=Wt[$l]=!0,Wt[Ha]=Wt[ja]=Wt[hs]=!1;var xn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},zi=parseFloat,bs=parseInt,ar="object"==typeof global&&global&&global.Object===Object&&global,Ka="object"==typeof self&&self&&self.Object===Object&&self,yn=ar||Ka||Function("return this")(),go=H&&!H.nodeType&&H,ai=go&&Ee&&!Ee.nodeType&&Ee,li=ai&&ai.exports===go,Sn=li&&ar.process,lr=function(){try{return ai&&ai.require&&ai.require("util").types||Sn&&Sn.binding&&Sn.binding("util")}catch(ae){}}(),Qn=lr&&lr.isArrayBuffer,Ae=lr&&lr.isDate,pt=lr&&lr.isMap,Gt=lr&&lr.isRegExp,Hn=lr&&lr.isSet,qi=lr&&lr.isTypedArray;function Ot(K,ae,ie){switch(ie.length){case 0:return K.call(ae);case 1:return K.call(ae,ie[0]);case 2:return K.call(ae,ie[0],ie[1]);case 3:return K.call(ae,ie[0],ie[1],ie[2])}return K.apply(ae,ie)}function Es(K,ae,ie,Me){for(var it=-1,Ue=null==K?0:K.length;++it<Ue;){var sn=K[it];ae(Me,sn,ie(sn),K)}return Me}function Mt(K,ae){for(var ie=-1,Me=null==K?0:K.length;++ie<Me&&!1!==ae(K[ie],ie,K););return K}function pa(K,ae){for(var ie=null==K?0:K.length;ie--&&!1!==ae(K[ie],ie,K););return K}function $i(K,ae){for(var ie=-1,Me=null==K?0:K.length;++ie<Me;)if(!ae(K[ie],ie,K))return!1;return!0}function Qe(K,ae){for(var ie=-1,Me=null==K?0:K.length,it=0,Ue=[];++ie<Me;){var sn=K[ie];ae(sn,ie,K)&&(Ue[it++]=sn)}return Ue}function Cs(K,ae){return!(null==K||!K.length)&&dn(K,ae,0)>-1}function Yi(K,ae,ie){for(var Me=-1,it=null==K?0:K.length;++Me<it;)if(ie(ae,K[Me]))return!0;return!1}function zt(K,ae){for(var ie=-1,Me=null==K?0:K.length,it=Array(Me);++ie<Me;)it[ie]=ae(K[ie],ie,K);return it}function ur(K,ae){for(var ie=-1,Me=ae.length,it=K.length;++ie<Me;)K[it+ie]=ae[ie];return K}function Nn(K,ae,ie,Me){var it=-1,Ue=null==K?0:K.length;for(Me&&Ue&&(ie=K[++it]);++it<Ue;)ie=ae(ie,K[it],it,K);return ie}function ma(K,ae,ie,Me){var it=null==K?0:K.length;for(Me&&it&&(ie=K[--it]);it--;)ie=ae(ie,K[it],it,K);return ie}function Ki(K,ae){for(var ie=-1,Me=null==K?0:K.length;++ie<Me;)if(ae(K[ie],ie,K))return!0;return!1}var Ar=cr("length");function Xl(K,ae,ie){var Me;return ie(K,function(it,Ue,sn){if(ae(it,Ue,sn))return Me=Ue,!1}),Me}function Zn(K,ae,ie,Me){for(var it=K.length,Ue=ie+(Me?1:-1);Me?Ue--:++Ue<it;)if(ae(K[Ue],Ue,K))return Ue;return-1}function dn(K,ae,ie){return ae==ae?function Jn(K,ae,ie){for(var Me=ie-1,it=K.length;++Me<it;)if(K[Me]===ae)return Me;return-1}(K,ae,ie):Zn(K,Ds,ie)}function ui(K,ae,ie,Me){for(var it=ie-1,Ue=K.length;++it<Ue;)if(Me(K[it],ae))return it;return-1}function Ds(K){return K!=K}function _o(K,ae){var ie=null==K?0:K.length;return ie?Qa(K,ae)/ie:NaN}function cr(K){return function(ae){return null==ae?_:ae[K]}}function yo(K){return function(ae){return null==K?_:K[ae]}}function vc(K,ae,ie,Me,it){return it(K,function(Ue,sn,Bt){ie=Me?(Me=!1,Ue):ae(ie,Ue,sn,Bt)}),ie}function Qa(K,ae){for(var ie,Me=-1,it=K.length;++Me<it;){var Ue=ae(K[Me]);Ue!==_&&(ie=ie===_?Ue:ie+Ue)}return ie}function vo(K,ae){for(var ie=-1,Me=Array(K);++ie<K;)Me[ie]=ae(ie);return Me}function Ec(K){return K&&K.slice(0,wo(K)+1).replace(Mn,"")}function jn(K){return function(ae){return K(ae)}}function bo(K,ae){return zt(ae,function(ie){return K[ie]})}function ws(K,ae){return K.has(ae)}function Cc(K,ae){for(var ie=-1,Me=K.length;++ie<Me&&dn(ae,K[ie],0)>-1;);return ie}function Dc(K,ae){for(var ie=K.length;ie--&&dn(ae,K[ie],0)>-1;);return ie}function _f(K,ae){for(var ie=K.length,Me=0;ie--;)K[ie]===ae&&++Me;return Me}var wc=yo({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}),yf=yo({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function vf(K){return"\\"+xn[K]}function Qi(K){return gf.test(K)}function Za(K){var ae=-1,ie=Array(K.size);return K.forEach(function(Me,it){ie[++ae]=[it,Me]}),ie}function Xa(K,ae){return function(ie){return K(ae(ie))}}function ci(K,ae){for(var ie=-1,Me=K.length,it=0,Ue=[];++ie<Me;){var sn=K[ie];(sn===ae||sn===w)&&(K[ie]=w,Ue[it++]=ie)}return Ue}function Xn(K){var ae=-1,ie=Array(K.size);return K.forEach(function(Me){ie[++ae]=Me}),ie}function Do(K){return Qi(K)?function Ja(K){for(var ae=Zl.lastIndex=0;Zl.test(K);)++ae;return ae}(K):Ar(K)}function dr(K){return Qi(K)?function el(K){return K.match(Zl)||[]}(K):function bt(K){return K.split("")}(K)}function wo(K){for(var ae=K.length;ae--&&uf.test(K.charAt(ae)););return ae}var So=yo({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),Ao=function K(ae){var a,ie=(ae=null==ae?yn:Ao.defaults(yn.Object(),ae,Ao.pick(yn,mc))).Array,Me=ae.Date,it=ae.Error,Ue=ae.Function,sn=ae.Math,Bt=ae.Object,Jt=ae.RegExp,Ac=ae.String,Tr=ae.TypeError,Si=ie.prototype,As=Bt.prototype,Ai=ae["__core-js_shared__"],Ir=Ue.prototype.toString,lt=As.hasOwnProperty,Jl=0,_a=(a=/[^.]+$/.exec(Ai&&Ai.keys&&Ai.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"",To=As.toString,Ti=Ir.call(Bt),eu=yn._,Io=Jt("^"+Ir.call(lt).replace(aa,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ge=li?ae.Buffer:_,Zi=ae.Symbol,Ts=ae.Uint8Array,Mo=Ge?Ge.allocUnsafe:_,Is=Xa(Bt.getPrototypeOf,Bt),nl=Bt.create,tu=As.propertyIsEnumerable,rl=Si.splice,ge=Zi?Zi.isConcatSpreadable:_,gt=Zi?Zi.iterator:_,Mr=Zi?Zi.toStringTag:_,on=function(){try{var a=Ri(Bt,"defineProperty");return a({},"",{}),a}catch(u){}}(),nu=ae.clearTimeout!==yn.clearTimeout&&ae.clearTimeout,xo=Me&&Me.now!==yn.Date.now&&Me.now,Gr=ae.setTimeout!==yn.setTimeout&&ae.setTimeout,Ms=sn.ceil,Xi=sn.floor,ru=Bt.getOwnPropertySymbols,Tc=Ge?Ge.isBuffer:_,ya=ae.isFinite,b=Si.join,x=Xa(Bt.keys,Bt),P=sn.max,j=sn.min,te=Me.now,ee=ae.parseInt,ce=sn.random,me=Si.reverse,De=Ri(ae,"DataView"),Fe=Ri(ae,"Map"),we=Ri(ae,"Promise"),je=Ri(ae,"Set"),Rt=Ri(ae,"WeakMap"),ln=Ri(Bt,"create"),pr=Rt&&new Rt,An={},mr=Bs(De),Ic=Bs(Fe),Mc=Bs(we),Kt=Bs(je),en=Bs(Rt),tn=Zi?Zi.prototype:_,gr=tn?tn.valueOf:_,xs=tn?tn.toString:_;function C(a){if(En(a)&&!ot(a)&&!(a instanceof wt)){if(a instanceof xr)return a;if(lt.call(a,"__wrapped__"))return nh(a)}return new xr(a)}var Un=function(){function a(){}return function(u){if(!hn(u))return{};if(nl)return nl(u);a.prototype=u;var d=new a;return a.prototype=_,d}}();function Qt(){}function xr(a,u){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=_}function wt(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=sr,this.__views__=[]}function va(a){var u=-1,d=null==a?0:a.length;for(this.clear();++u<d;){var p=a[u];this.set(p[0],p[1])}}function Os(a){var u=-1,d=null==a?0:a.length;for(this.clear();++u<d;){var p=a[u];this.set(p[0],p[1])}}function Ii(a){var u=-1,d=null==a?0:a.length;for(this.clear();++u<d;){var p=a[u];this.set(p[0],p[1])}}function Ro(a){var u=-1,d=null==a?0:a.length;for(this.__data__=new Ii;++u<d;)this.add(a[u])}function di(a){var u=this.__data__=new Os(a);this.size=u.size}function ou(a,u){var d=ot(a),p=!d&&js(a),v=!d&&!p&&Uo(a),I=!d&&!p&&!v&&_l(a),V=d||p||v||I,Y=V?vo(a.length,Ac):[],Q=Y.length;for(var fe in a)(u||lt.call(a,fe))&&(!V||!("length"==fe||v&&("offset"==fe||"parent"==fe)||I&&("buffer"==fe||"byteLength"==fe||"byteOffset"==fe)||jo(fe,Q)))&&Y.push(fe);return Y}function sv(a){var u=a.length;return u?a[dm(0,u-1)]:_}function im(a,u){return th(Or(a),Fo(u,0,a.length))}function sm(a){return th(Or(a))}function wf(a,u,d){(d!==_&&!rs(a[u],d)||d===_&&!(u in a))&&fi(a,u,d)}function au(a,u,d){var p=a[u];(!lt.call(a,u)||!rs(p,d)||d===_&&!(u in a))&&fi(a,u,d)}function Po(a,u){for(var d=a.length;d--;)if(rs(a[d][0],u))return d;return-1}function Sf(a,u,d,p){return Mi(a,function(v,I,V){u(p,v,d(v),V)}),p}function Nc(a,u){return a&&vr(u,Rn(u),a)}function fi(a,u,d){"__proto__"==u&&on?on(a,u,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[u]=d}function Af(a,u){for(var d=-1,p=u.length,v=ie(p),I=null==a;++d<p;)v[d]=I?_:xh(a,u[d]);return v}function Fo(a,u,d){return a==a&&(d!==_&&(a=a<=d?a:d),u!==_&&(a=a>=u?a:u)),a}function zr(a,u,d,p,v,I){var V,Y=1&u,Q=2&u,fe=4&u;if(d&&(V=v?d(a,p,v,I):d(a)),V!==_)return V;if(!hn(a))return a;var he=ot(a);if(he){if(V=function xD(a){var u=a.length,d=new a.constructor(u);return u&&"string"==typeof a[0]&&lt.call(a,"index")&&(d.index=a.index,d.input=a.input),d}(a),!Y)return Or(a,V)}else{var _e=Wn(a),Ie=_e==ja||_e==sa;if(Uo(a))return cl(a,Y);if(_e==Ui||_e==ji||Ie&&!v){if(V=Q||Ie?{}:Sv(a),!Y)return Q?function _v(a,u){return vr(a,hl(a),u)}(a,function kc(a,u){return a&&vr(u,Jr(u),a)}(V,a)):function bu(a,u){return vr(a,gi(a),u)}(a,Nc(V,a))}else{if(!Wt[_e])return v?a:{};V=function qf(a,u,d){var p=a.constructor;switch(u){case ps:return yr(a);case Ct:case Sr:return new p(+a);case ms:return function jc(a,u){var d=u?yr(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}(a,d);case Hl:case jl:case Ul:case Wl:case Gl:case sc:case zl:case ql:case $l:return kf(a,d);case jr:return new p;case bi:case ho:return new p(a);case gn:return function Bo(a){var u=new a.constructor(a.source,Ur.exec(a));return u.lastIndex=a.lastIndex,u}(a);case or:return new p;case oa:return function gv(a){return gr?Bt(gr.call(a)):{}}(a)}}(a,_e,Y)}}I||(I=new di);var Ve=I.get(a);if(Ve)return Ve;I.set(a,V),ld(a)?a.forEach(function($e){V.add(zr($e,u,d,$e,a,I))}):_b(a)&&a.forEach(function($e,Re){V.set(Re,zr($e,u,d,Re,a,I))});var yt=he?_:(fe?Q?zc:Uf:Q?Jr:Rn)(a);return Mt(yt||a,function($e,Re){yt&&($e=a[Re=$e]),au(V,Re,zr($e,u,d,Re,a,I))}),V}function Tf(a,u,d){var p=d.length;if(null==a)return!p;for(a=Bt(a);p--;){var v=d[p],V=a[v];if(V===_&&!(v in a)||!(0,u[v])(V))return!1}return!0}function am(a,u,d){if("function"!=typeof a)throw new Tr(R);return wu(function(){a.apply(_,d)},u)}function lu(a,u,d,p){var v=-1,I=Cs,V=!0,Y=a.length,Q=[],fe=u.length;if(!Y)return Q;d&&(u=zt(u,jn(d))),p?(I=Yi,V=!1):u.length>=200&&(I=ws,V=!1,u=new Ro(u));e:for(;++v<Y;){var he=a[v],_e=null==d?he:d(he);if(he=p||0!==he?he:0,V&&_e==_e){for(var Ie=fe;Ie--;)if(u[Ie]===_e)continue e;Q.push(he)}else I(u,_e,p)||Q.push(he)}return Q}C.templateSettings={escape:Ut,evaluate:Be,interpolate:Kl,variable:"",imports:{_:C}},(C.prototype=Qt.prototype).constructor=C,(xr.prototype=Un(Qt.prototype)).constructor=xr,(wt.prototype=Un(Qt.prototype)).constructor=wt,va.prototype.clear=function xc(){this.__data__=ln?ln(null):{},this.size=0},va.prototype.delete=function Oc(a){var u=this.has(a)&&delete this.__data__[a];return this.size-=u?1:0,u},va.prototype.get=function Rc(a){var u=this.__data__;if(ln){var d=u[a];return d===L?_:d}return lt.call(u,a)?u[a]:_},va.prototype.has=function Ef(a){var u=this.__data__;return ln?u[a]!==_:lt.call(u,a)},va.prototype.set=function nm(a,u){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=ln&&u===_?L:u,this},Os.prototype.clear=function Oo(){this.__data__=[],this.size=0},Os.prototype.delete=function iu(a){var u=this.__data__,d=Po(u,a);return!(d<0||(d==u.length-1?u.pop():rl.call(u,d,1),--this.size,0))},Os.prototype.get=function ev(a){var u=this.__data__,d=Po(u,a);return d<0?_:u[d][1]},Os.prototype.has=function tv(a){return Po(this.__data__,a)>-1},Os.prototype.set=function su(a,u){var d=this.__data__,p=Po(d,a);return p<0?(++this.size,d.push([a,u])):d[p][1]=u,this},Ii.prototype.clear=function nv(){this.size=0,this.__data__={hash:new va,map:new(Fe||Os),string:new va}},Ii.prototype.delete=function rv(a){var u=Gf(this,a).delete(a);return this.size-=u?1:0,u},Ii.prototype.get=function ED(a){return Gf(this,a).get(a)},Ii.prototype.has=function CD(a){return Gf(this,a).has(a)},Ii.prototype.set=function Pc(a,u){var d=Gf(this,a),p=d.size;return d.set(a,u),this.size+=d.size==p?0:1,this},Ro.prototype.add=Ro.prototype.push=function Cf(a){return this.__data__.set(a,L),this},Ro.prototype.has=function Fc(a){return this.__data__.has(a)},di.prototype.clear=function rm(){this.__data__=new Os,this.size=0},di.prototype.delete=function il(a){var u=this.__data__,d=u.delete(a);return this.size=u.size,d},di.prototype.get=function iv(a){return this.__data__.get(a)},di.prototype.has=function sl(a){return this.__data__.has(a)},di.prototype.set=function Df(a,u){var d=this.__data__;if(d instanceof Os){var p=d.__data__;if(!Fe||p.length<199)return p.push([a,u]),this.size=++d.size,this;d=this.__data__=new Ii(p)}return d.set(a,u),this.size=d.size,this};var Mi=_m(_r),ol=_m(No,!0);function ov(a,u){var d=!0;return Mi(a,function(p,v,I){return d=!!u(p,v,I)}),d}function uu(a,u,d){for(var p=-1,v=a.length;++p<v;){var I=a[p],V=u(I);if(null!=V&&(Y===_?V==V&&!br(V):d(V,Y)))var Y=V,Q=I}return Q}function ba(a,u){var d=[];return Mi(a,function(p,v,I){u(p,v,I)&&d.push(p)}),d}function jt(a,u,d,p,v){var I=-1,V=a.length;for(d||(d=Yf),v||(v=[]);++I<V;){var Y=a[I];u>0&&d(Y)?u>1?jt(Y,u-1,d,p,v):ur(v,Y):p||(v[v.length]=Y)}return v}var cu=yv(),du=yv(!0);function _r(a,u){return a&&cu(a,u,Rn)}function No(a,u){return a&&du(a,u,Rn)}function Rs(a,u){return Qe(u,function(d){return Us(a[d])})}function ko(a,u){for(var d=0,p=(u=mi(u,a)).length;null!=a&&d<p;)a=a[un(u[d++])];return d&&d==p?a:_}function Lc(a,u,d){var p=u(a);return ot(a)?p:ur(p,d(a))}function vn(a){return null==a?a===_?"[object Undefined]":"[object Null]":Mr&&Mr in Bt(a)?function Sm(a){var u=lt.call(a,Mr),d=a[Mr];try{a[Mr]=_;var p=!0}catch(I){}var v=To.call(a);return p&&(u?a[Mr]=d:delete a[Mr]),v}(a):function xv(a){return To.call(a)}(a)}function um(a,u){return a>u}function DD(a,u){return null!=a&&lt.call(a,u)}function av(a,u){return null!=a&&u in Bt(a)}function If(a,u,d){for(var p=d?Yi:Cs,v=a[0].length,I=a.length,V=I,Y=ie(I),Q=1/0,fe=[];V--;){var he=a[V];V&&u&&(he=zt(he,jn(u))),Q=j(he.length,Q),Y[V]=!d&&(u||v>=120&&he.length>=120)?new Ro(V&&he):_}he=a[0];var _e=-1,Ie=Y[0];e:for(;++_e<v&&fe.length<Q;){var Ve=he[_e],Ze=u?u(Ve):Ve;if(Ve=d||0!==Ve?Ve:0,!(Ie?ws(Ie,Ze):p(fe,Ze,d))){for(V=I;--V;){var yt=Y[V];if(!(yt?ws(yt,Ze):p(a[V],Ze,d)))continue e}Ie&&Ie.push(Ze),fe.push(Ve)}}return fe}function Vc(a,u,d){var p=null==(a=Xf(a,u=mi(u,a)))?a:a[un(_i(u))];return null==p?_:Ot(p,a,d)}function lv(a){return En(a)&&vn(a)==ji}function Bc(a,u,d,p,v){return a===u||(null==a||null==u||!En(a)&&!En(u)?a!=a&&u!=u:function TD(a,u,d,p,v,I){var V=ot(a),Y=ot(u),Q=V?vi:Wn(a),fe=Y?vi:Wn(u),he=(Q=Q==ji?Ui:Q)==Ui,_e=(fe=fe==ji?Ui:fe)==Ui,Ie=Q==fe;if(Ie&&Uo(a)){if(!Uo(u))return!1;V=!0,he=!1}if(Ie&&!he)return I||(I=new di),V||_l(a)?wm(a,u,d,p,v,I):function Cv(a,u,d,p,v,I,V){switch(d){case ms:if(a.byteLength!=u.byteLength||a.byteOffset!=u.byteOffset)return!1;a=a.buffer,u=u.buffer;case ps:return!(a.byteLength!=u.byteLength||!I(new Ts(a),new Ts(u)));case Ct:case Sr:case bi:return rs(+a,+u);case Ha:return a.name==u.name&&a.message==u.message;case gn:case ho:return a==u+"";case jr:var Y=Za;case or:if(Y||(Y=Xn),a.size!=u.size&&!(1&p))return!1;var fe=V.get(a);if(fe)return fe==u;p|=2,V.set(a,u);var he=wm(Y(a),Y(u),p,v,I,V);return V.delete(a),he;case oa:if(gr)return gr.call(a)==gr.call(u)}return!1}(a,u,Q,d,p,v,I);if(!(1&d)){var Ve=he&&lt.call(a,"__wrapped__"),Ze=_e&&lt.call(u,"__wrapped__");if(Ve||Ze){var yt=Ve?a.value():a,$e=Ze?u.value():u;return I||(I=new di),v(yt,$e,d,p,I)}}return!!Ie&&(I||(I=new di),function Dv(a,u,d,p,v,I){var V=1&d,Y=Uf(a),Q=Y.length;if(Q!=Uf(u).length&&!V)return!1;for(var _e=Q;_e--;){var Ie=Y[_e];if(!(V?Ie in u:lt.call(u,Ie)))return!1}var Ve=I.get(a),Ze=I.get(u);if(Ve&&Ze)return Ve==u&&Ze==a;var yt=!0;I.set(a,u),I.set(u,a);for(var $e=V;++_e<Q;){var Re=a[Ie=Y[_e]],At=u[Ie];if(p)var Cr=V?p(At,Re,Ie,u,a,I):p(Re,At,Ie,a,u,I);if(!(Cr===_?Re===At||v(Re,At,d,p,I):Cr)){yt=!1;break}$e||($e="constructor"==Ie)}if(yt&&!$e){var Dr=a.constructor,ei=u.constructor;Dr!=ei&&"constructor"in a&&"constructor"in u&&!("function"==typeof Dr&&Dr instanceof Dr&&"function"==typeof ei&&ei instanceof ei)&&(yt=!1)}return I.delete(a),I.delete(u),yt}(a,u,d,p,v,I))}(a,u,d,p,Bc,v))}function Ea(a,u,d,p){var v=d.length,I=v,V=!p;if(null==a)return!I;for(a=Bt(a);v--;){var Y=d[v];if(V&&Y[2]?Y[1]!==a[Y[0]]:!(Y[0]in a))return!1}for(;++v<I;){var Q=(Y=d[v])[0],fe=a[Q],he=Y[1];if(V&&Y[2]){if(fe===_&&!(Q in a))return!1}else{var _e=new di;if(p)var Ie=p(fe,he,Q,a,u,_e);if(!(Ie===_?Bc(he,fe,3,p,_e):Ie))return!1}}return!0}function uv(a){return!(!hn(a)||function Tv(a){return!!_a&&_a in a}(a))&&(Us(a)?Io:Qp).test(Bs(a))}function cv(a){return"function"==typeof a?a:null==a?Er:"object"==typeof a?ot(a)?Ps(a[0],a[1]):Lo(a):Ht(a)}function xf(a){if(!pl(a))return x(a);var u=[];for(var d in Bt(a))lt.call(a,d)&&"constructor"!=d&&u.push(d);return u}function pi(a,u){return a<u}function hu(a,u){var d=-1,p=Zr(a)?ie(a.length):[];return Mi(a,function(v,I,V){p[++d]=u(v,I,V)}),p}function Lo(a){var u=zf(a);return 1==u.length&&u[0][2]?Qf(u[0][0],u[0][1]):function(d){return d===a||Ea(d,a,u)}}function Ps(a,u){return $c(a)&&Du(u)?Qf(un(a),u):function(d){var p=xh(d,a);return p===_&&p===u?Oh(d,a):Bc(u,p,3)}}function pu(a,u,d,p,v){a!==u&&cu(u,function(I,V){if(v||(v=new di),hn(I))!function dv(a,u,d,p,v,I,V){var Y=Jf(a,d),Q=Jf(u,d),fe=V.get(Q);if(fe)wf(a,d,fe);else{var he=I?I(Y,Q,d+"",a,u,V):_,_e=he===_;if(_e){var Ie=ot(Q),Ve=!Ie&&Uo(Q),Ze=!Ie&&!Ve&&_l(Q);he=Q,Ie||Ve||Ze?ot(Y)?he=Y:bn(Y)?he=Or(Y):Ve?(_e=!1,he=cl(Q,!0)):Ze?(_e=!1,he=kf(Q,!0)):he=[]:Ia(Q)||js(Q)?(he=Y,js(Y)?he=ud(Y):(!hn(Y)||Us(Y))&&(he=Sv(Q))):_e=!1}_e&&(V.set(Q,he),v(he,Q,p,I,V),V.delete(Q)),wf(a,d,he)}}(a,u,V,d,pu,p,v);else{var Y=p?p(Jf(a,V),I,V+"",a,u,v):_;Y===_&&(Y=I),wf(a,V,Y)}},Jr)}function cm(a,u){var d=a.length;if(d)return jo(u+=u<0?d:0,d)?a[u]:_}function fv(a,u,d){u=u.length?zt(u,function(I){return ot(I)?function(V){return ko(V,1===I.length?I[0]:I)}:I}):[Er];var p=-1;return u=zt(u,jn(qe())),function bc(K,ae){var ie=K.length;for(K.sort(ae);ie--;)K[ie]=K[ie].value;return K}(hu(a,function(I,V,Y){return{criteria:zt(u,function(fe){return fe(I)}),index:++p,value:I}}),function(I,V){return function Wc(a,u,d){for(var p=-1,v=a.criteria,I=u.criteria,V=v.length,Y=d.length;++p<V;){var Q=Uc(v[p],I[p]);if(Q)return p>=Y?Q:Q*("desc"==d[p]?-1:1)}return a.index-u.index}(I,V,d)})}function Of(a,u,d){for(var p=-1,v=u.length,I={};++p<v;){var V=u[p],Y=ko(a,V);d(Y,V)&&gu(I,mi(V,a),Y)}return I}function mu(a,u,d,p){var v=p?ui:dn,I=-1,V=u.length,Y=a;for(a===u&&(u=Or(u)),d&&(Y=zt(a,jn(d)));++I<V;)for(var Q=0,fe=u[I],he=d?d(fe):fe;(Q=v(Y,he,Q,p))>-1;)Y!==a&&rl.call(Y,Q,1),rl.call(a,Q,1);return a}function Ca(a,u){for(var d=a?u.length:0,p=d-1;d--;){var v=u[d];if(d==p||v!==I){var I=v;jo(v)?rl.call(a,v,1):yu(a,v)}}return a}function dm(a,u){return a+Xi(ce()*(u-a+1))}function Rf(a,u){var d="";if(!a||u<1||u>fn)return d;do{u%2&&(d+=a),(u=Xi(u/2))&&(a+=a)}while(u);return d}function _t(a,u){return eh(Im(a,u,Er),a+"")}function hv(a){return sv(El(a))}function pv(a,u){var d=El(a);return th(d,Fo(u,0,d.length))}function gu(a,u,d,p){if(!hn(a))return a;for(var v=-1,I=(u=mi(u,a)).length,V=I-1,Y=a;null!=Y&&++v<I;){var Q=un(u[v]),fe=d;if("__proto__"===Q||"constructor"===Q||"prototype"===Q)return a;if(v!=V){var he=Y[Q];(fe=p?p(he,Q,Y):_)===_&&(fe=hn(he)?he:jo(u[v+1])?[]:{})}au(Y,Q,fe),Y=Y[Q]}return a}var al=pr?function(a,u){return pr.set(a,u),a}:Er,Pf=on?function(a,u){return on(a,"toString",{configurable:!0,enumerable:!1,value:Hh(u),writable:!0})}:Er;function Hc(a){return th(El(a))}function xi(a,u,d){var p=-1,v=a.length;u<0&&(u=-u>v?0:v+u),(d=d>v?v:d)<0&&(d+=v),v=u>d?0:d-u>>>0,u>>>=0;for(var I=ie(v);++p<v;)I[p]=a[p+u];return I}function _u(a,u){var d;return Mi(a,function(p,v,I){return!(d=u(p,v,I))}),!!d}function ll(a,u,d){var p=0,v=null==a?p:a.length;if("number"==typeof u&&u==u&&v<=2147483647){for(;p<v;){var I=p+v>>>1,V=a[I];null!==V&&!br(V)&&(d?V<=u:V<u)?p=I+1:v=I}return v}return Vo(a,u,Er,d)}function Vo(a,u,d,p){var v=0,I=null==a?0:a.length;if(0===I)return 0;for(var V=(u=d(u))!=u,Y=null===u,Q=br(u),fe=u===_;v<I;){var he=Xi((v+I)/2),_e=d(a[he]),Ie=_e!==_,Ve=null===_e,Ze=_e==_e,yt=br(_e);if(V)var $e=p||Ze;else $e=fe?Ze&&(p||Ie):Y?Ze&&Ie&&(p||!Ve):Q?Ze&&Ie&&!Ve&&(p||!yt):!Ve&&!yt&&(p?_e<=u:_e<u);$e?v=he+1:I=he}return j(I,4294967294)}function hm(a,u){for(var d=-1,p=a.length,v=0,I=[];++d<p;){var V=a[d],Y=u?u(V):V;if(!d||!rs(Y,Q)){var Q=Y;I[v++]=0===V?0:V}}return I}function pm(a){return"number"==typeof a?a:br(a)?NaN:+a}function $r(a){if("string"==typeof a)return a;if(ot(a))return zt(a,$r)+"";if(br(a))return xs?xs.call(a):"";var u=a+"";return"0"==u&&1/a==-Et?"-0":u}function Ji(a,u,d){var p=-1,v=Cs,I=a.length,V=!0,Y=[],Q=Y;if(d)V=!1,v=Yi;else if(I>=200){var fe=u?null:Ev(a);if(fe)return Xn(fe);V=!1,v=ws,Q=new Ro}else Q=u?[]:Y;e:for(;++p<I;){var he=a[p],_e=u?u(he):he;if(he=d||0!==he?he:0,V&&_e==_e){for(var Ie=Q.length;Ie--;)if(Q[Ie]===_e)continue e;u&&Q.push(_e),Y.push(he)}else v(Q,_e,d)||(Q!==Y&&Q.push(_e),Y.push(he))}return Y}function yu(a,u){return null==(a=Xf(a,u=mi(u,a)))||delete a[un(_i(u))]}function ul(a,u,d,p){return gu(a,u,d(ko(a,u)),p)}function Fs(a,u,d,p){for(var v=a.length,I=p?v:-1;(p?I--:++I<v)&&u(a[I],I,a););return d?xi(a,p?0:I,p?I+1:v):xi(a,p?I+1:0,p?v:I)}function mm(a,u){var d=a;return d instanceof wt&&(d=d.value()),Nn(u,function(p,v){return v.func.apply(v.thisArg,ur([p],v.args))},d)}function le(a,u,d){var p=a.length;if(p<2)return p?Ji(a[0]):[];for(var v=-1,I=ie(p);++v<p;)for(var V=a[v],Y=-1;++Y<p;)Y!=v&&(I[v]=lu(I[v]||V,a[Y],u,d));return Ji(jt(I,1),u,d)}function Ff(a,u,d){for(var p=-1,v=a.length,I=u.length,V={};++p<v;)d(V,a[p],p<I?u[p]:_);return V}function vu(a){return bn(a)?a:[]}function Ns(a){return"function"==typeof a?a:Er}function mi(a,u){return ot(a)?a:$c(a,u)?[a]:ml(xt(a))}var mv=_t;function ks(a,u,d){var p=a.length;return d=d===_?p:d,!u&&d>=p?a:xi(a,u,d)}var Nf=nu||function(a){return yn.clearTimeout(a)};function cl(a,u){if(u)return a.slice();var d=a.length,p=Mo?Mo(d):new a.constructor(d);return a.copy(p),p}function yr(a){var u=new a.constructor(a.byteLength);return new Ts(u).set(new Ts(a)),u}function kf(a,u){var d=u?yr(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function Uc(a,u){if(a!==u){var d=a!==_,p=null===a,v=a==a,I=br(a),V=u!==_,Y=null===u,Q=u==u,fe=br(u);if(!Y&&!fe&&!I&&a>u||I&&V&&Q&&!Y&&!fe||p&&V&&Q||!d&&Q||!v)return 1;if(!p&&!I&&!fe&&a<u||fe&&d&&v&&!p&&!I||Y&&d&&v||!V&&v||!Q)return-1}return 0}function Lf(a,u,d,p){for(var v=-1,I=a.length,V=d.length,Y=-1,Q=u.length,fe=P(I-V,0),he=ie(Q+fe),_e=!p;++Y<Q;)he[Y]=u[Y];for(;++v<V;)(_e||v<I)&&(he[d[v]]=a[v]);for(;fe--;)he[Y++]=a[v++];return he}function gm(a,u,d,p){for(var v=-1,I=a.length,V=-1,Y=d.length,Q=-1,fe=u.length,he=P(I-Y,0),_e=ie(he+fe),Ie=!p;++v<he;)_e[v]=a[v];for(var Ve=v;++Q<fe;)_e[Ve+Q]=u[Q];for(;++V<Y;)(Ie||v<I)&&(_e[Ve+d[V]]=a[v++]);return _e}function Or(a,u){var d=-1,p=a.length;for(u||(u=ie(p));++d<p;)u[d]=a[d];return u}function vr(a,u,d,p){var v=!d;d||(d={});for(var I=-1,V=u.length;++I<V;){var Y=u[I],Q=p?p(d[Y],a[Y],Y,d,a):_;Q===_&&(Q=a[Y]),v?fi(d,Y,Q):au(d,Y,Q)}return d}function Vf(a,u){return function(d,p){var v=ot(d)?Es:Sf,I=u?u():{};return v(d,a,qe(p,2),I)}}function Da(a){return _t(function(u,d){var p=-1,v=d.length,I=v>1?d[v-1]:_,V=v>2?d[2]:_;for(I=a.length>3&&"function"==typeof I?(v--,I):_,V&&Pr(d[0],d[1],V)&&(I=v<3?_:I,v=1),u=Bt(u);++p<v;){var Y=d[p];Y&&a(u,Y,p,I)}return u})}function _m(a,u){return function(d,p){if(null==d)return d;if(!Zr(d))return a(d,p);for(var v=d.length,I=u?v:-1,V=Bt(d);(u?I--:++I<v)&&!1!==p(V[I],I,V););return d}}function yv(a){return function(u,d,p){for(var v=-1,I=Bt(u),V=p(u),Y=V.length;Y--;){var Q=V[a?Y:++v];if(!1===d(I[Q],Q,I))break}return u}}function ym(a){return function(u){var d=Qi(u=xt(u))?dr(u):_,p=d?d[0]:u.charAt(0),v=d?ks(d,1).join(""):u.slice(1);return p[a]()+v}}function dl(a){return function(u){return Nn(zg(Lg(u).replace(wi,"")),a,"")}}function Ho(a){return function(){var u=arguments;switch(u.length){case 0:return new a;case 1:return new a(u[0]);case 2:return new a(u[0],u[1]);case 3:return new a(u[0],u[1],u[2]);case 4:return new a(u[0],u[1],u[2],u[3]);case 5:return new a(u[0],u[1],u[2],u[3],u[4]);case 6:return new a(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new a(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var d=Un(a.prototype),p=a.apply(d,u);return hn(p)?p:d}}function wa(a){return function(u,d,p){var v=Bt(u);if(!Zr(u)){var I=qe(d,3);u=Rn(u),d=function(Y){return I(v[Y],Y,v)}}var V=a(u,d,p);return V>-1?v[I?u[V]:V]:_}}function vm(a){return Vs(function(u){var d=u.length,p=d,v=xr.prototype.thru;for(a&&u.reverse();p--;){var I=u[p];if("function"!=typeof I)throw new Tr(R);if(v&&!V&&"wrapper"==qc(I))var V=new xr([],!0)}for(p=V?p:d;++p<d;){var Y=qc(I=u[p]),Q="wrapper"==Y?Wf(I):_;V=Q&&Kf(Q[0])&&424==Q[1]&&!Q[4].length&&1==Q[9]?V[qc(Q[0])].apply(V,Q[3]):1==I.length&&Kf(I)?V[Y]():V.thru(I)}return function(){var fe=arguments,he=fe[0];if(V&&1==fe.length&&ot(he))return V.plant(he).value();for(var _e=0,Ie=d?u[_e].apply(this,fe):he;++_e<d;)Ie=u[_e].call(this,Ie);return Ie}})}function Gc(a,u,d,p,v,I,V,Y,Q,fe){var he=128&u,_e=1&u,Ie=2&u,Ve=24&u,Ze=512&u,yt=Ie?_:Ho(a);return function $e(){for(var Re=arguments.length,At=ie(Re),Cr=Re;Cr--;)At[Cr]=arguments[Cr];if(Ve)var Dr=fl($e),ei=_f(At,Dr);if(p&&(At=Lf(At,p,v,Ve)),I&&(At=gm(At,I,V,Ve)),Re-=ei,Ve&&Re<fe){var Cn=ci(At,Dr);return Em(a,u,Gc,$e.placeholder,d,At,Cn,Y,Q,fe-Re)}var Fi=_e?d:this,$s=Ie?Fi[a]:a;return Re=At.length,Y?At=Mm(At,Y):Ze&&Re>1&&At.reverse(),he&&Q<Re&&(At.length=Q),this&&this!==yn&&this instanceof $e&&($s=yt||Ho($s)),$s.apply(Fi,At)}}function bv(a,u){return function(d,p){return function Le(a,u,d,p){return _r(a,function(v,I,V){u(p,d(v),I,V)}),p}(d,a,u(p),{})}}function Sa(a,u){return function(d,p){var v;if(d===_&&p===_)return u;if(d!==_&&(v=d),p!==_){if(v===_)return p;"string"==typeof d||"string"==typeof p?(d=$r(d),p=$r(p)):(d=pm(d),p=pm(p)),v=a(d,p)}return v}}function Eu(a){return Vs(function(u){return u=zt(u,jn(qe())),_t(function(d){var p=this;return a(u,function(v){return Ot(v,p,d)})})})}function Cu(a,u){var d=(u=u===_?" ":$r(u)).length;if(d<2)return d?Rf(u,a):u;var p=Rf(u,Ms(a/Do(u)));return Qi(u)?ks(dr(p),0,a).join(""):p.slice(0,a)}function Hf(a){return function(u,d,p){return p&&"number"!=typeof p&&Pr(u,d,p)&&(d=p=_),u=Gs(u),d===_?(d=u,u=0):d=Gs(d),function fm(a,u,d,p){for(var v=-1,I=P(Ms((u-a)/(d||1)),0),V=ie(I);I--;)V[p?I:++v]=a,a+=d;return V}(u,d,p=p===_?u<d?1:-1:Gs(p),a)}}function es(a){return function(u,d){return"string"==typeof u&&"string"==typeof d||(u=Gn(u),d=Gn(d)),a(u,d)}}function Em(a,u,d,p,v,I,V,Y,Q,fe){var he=8&u;u|=he?32:64,4&(u&=~(he?64:32))||(u&=-4);var yt=[a,u,v,he?I:_,he?V:_,he?_:I,he?_:V,Y,Q,fe],$e=d.apply(_,yt);return Kf(a)&&xm($e,yt),$e.placeholder=p,Om($e,a,u)}function jf(a){var u=sn[a];return function(d,p){if(d=Gn(d),(p=null==p?0:j(mt(p),292))&&ya(d)){var v=(xt(d)+"e").split("e");return+((v=(xt(u(v[0]+"e"+(+v[1]+p)))+"e").split("e"))[0]+"e"+(+v[1]-p))}return u(d)}}var Ev=je&&1/Xn(new je([,-0]))[1]==Et?function(a){return new je(a)}:Wh;function Cm(a){return function(u){var d=Wn(u);return d==jr?Za(u):d==or?function Co(K){var ae=-1,ie=Array(K.size);return K.forEach(function(Me){ie[++ae]=[Me,Me]}),ie}(u):function ga(K,ae){return zt(ae,function(ie){return[ie,K[ie]]})}(u,a(u))}}function Ls(a,u,d,p,v,I,V,Y){var Q=2&u;if(!Q&&"function"!=typeof a)throw new Tr(R);var fe=p?p.length:0;if(fe||(u&=-97,p=v=_),V=V===_?V:P(mt(V),0),Y=Y===_?Y:mt(Y),fe-=v?v.length:0,64&u){var he=p,_e=v;p=v=_}var Ie=Q?_:Wf(a),Ve=[a,u,d,p,v,he,_e,I,V,Y];if(Ie&&function Mv(a,u){var d=a[1],p=u[1],v=d|p;if(!(v<131||(128==p&&8==d||128==p&&256==d&&a[7].length<=u[8]||384==p&&u[7].length<=u[8]&&8==d)))return a;1&p&&(a[2]=u[2],v|=1&d?0:4);var Y=u[3];if(Y){var Q=a[3];a[3]=Q?Lf(Q,Y,u[4]):Y,a[4]=Q?ci(a[3],w):u[4]}(Y=u[5])&&(a[5]=(Q=a[5])?gm(Q,Y,u[6]):Y,a[6]=Q?ci(a[5],w):u[6]),(Y=u[7])&&(a[7]=Y),128&p&&(a[8]=null==a[8]?u[8]:j(a[8],u[8])),null==a[9]&&(a[9]=u[9]),a[0]=u[0],a[1]=v}(Ve,Ie),a=Ve[0],u=Ve[1],d=Ve[2],p=Ve[3],v=Ve[4],!(Y=Ve[9]=Ve[9]===_?Q?0:a.length:P(Ve[9]-fe,0))&&24&u&&(u&=-25),u&&1!=u)Ze=8==u||16==u?function Bf(a,u,d){var p=Ho(a);return function v(){for(var I=arguments.length,V=ie(I),Y=I,Q=fl(v);Y--;)V[Y]=arguments[Y];var fe=I<3&&V[0]!==Q&&V[I-1]!==Q?[]:ci(V,Q);return(I-=fe.length)<d?Em(a,u,Gc,v.placeholder,_,V,fe,_,_,d-I):Ot(this&&this!==yn&&this instanceof v?p:a,this,V)}}(a,u,Y):32!=u&&33!=u||v.length?Gc.apply(_,Ve):function bm(a,u,d,p){var v=1&u,I=Ho(a);return function V(){for(var Y=-1,Q=arguments.length,fe=-1,he=p.length,_e=ie(he+Q),Ie=this&&this!==yn&&this instanceof V?I:a;++fe<he;)_e[fe]=p[fe];for(;Q--;)_e[fe++]=arguments[++Y];return Ot(Ie,v?d:this,_e)}}(a,u,d,p);else var Ze=function vv(a,u,d){var p=1&u,v=Ho(a);return function I(){return(this&&this!==yn&&this instanceof I?v:a).apply(p?d:this,arguments)}}(a,u,d);return Om((Ie?al:xm)(Ze,Ve),a,u)}function Rr(a,u,d,p){return a===_||rs(a,As[d])&&!lt.call(p,d)?u:a}function Oi(a,u,d,p,v,I){return hn(a)&&hn(u)&&(I.set(u,a),pu(a,u,_,Oi,I),I.delete(u)),a}function Dm(a){return Ia(a)?_:a}function wm(a,u,d,p,v,I){var V=1&d,Y=a.length,Q=u.length;if(Y!=Q&&!(V&&Q>Y))return!1;var fe=I.get(a),he=I.get(u);if(fe&&he)return fe==u&&he==a;var _e=-1,Ie=!0,Ve=2&d?new Ro:_;for(I.set(a,u),I.set(u,a);++_e<Y;){var Ze=a[_e],yt=u[_e];if(p)var $e=V?p(yt,Ze,_e,u,a,I):p(Ze,yt,_e,a,u,I);if($e!==_){if($e)continue;Ie=!1;break}if(Ve){if(!Ki(u,function(Re,At){if(!ws(Ve,At)&&(Ze===Re||v(Ze,Re,d,p,I)))return Ve.push(At)})){Ie=!1;break}}else if(Ze!==yt&&!v(Ze,yt,d,p,I)){Ie=!1;break}}return I.delete(a),I.delete(u),Ie}function Vs(a){return eh(Im(a,_,ih),a+"")}function Uf(a){return Lc(a,Rn,gi)}function zc(a){return Lc(a,Jr,hl)}var Wf=pr?function(a){return pr.get(a)}:Wh;function qc(a){for(var u=a.name+"",d=An[u],p=lt.call(An,u)?d.length:0;p--;){var v=d[p],I=v.func;if(null==I||I==a)return v.name}return u}function fl(a){return(lt.call(C,"placeholder")?C:a).placeholder}function qe(){var a=C.iteratee||Go;return a=a===Go?cv:a,arguments.length?a(arguments[0],arguments[1]):a}function Gf(a,u){var d=a.__data__;return function Av(a){var u=typeof a;return"string"==u||"number"==u||"symbol"==u||"boolean"==u?"__proto__"!==a:null===a}(u)?d["string"==typeof u?"string":"hash"]:d.map}function zf(a){for(var u=Rn(a),d=u.length;d--;){var p=u[d],v=a[p];u[d]=[p,v,Du(v)]}return u}function Ri(a,u){var d=function bf(K,ae){return null==K?_:K[ae]}(a,u);return uv(d)?d:_}var gi=ru?function(a){return null==a?[]:(a=Bt(a),Qe(ru(a),function(u){return tu.call(a,u)}))}:Nu,hl=ru?function(a){for(var u=[];a;)ur(u,gi(a)),a=Is(a);return u}:Nu,Wn=vn;function wv(a,u,d){for(var p=-1,v=(u=mi(u,a)).length,I=!1;++p<v;){var V=un(u[p]);if(!(I=null!=a&&d(a,V)))break;a=a[V]}return I||++p!=v?I:!!(v=null==a?0:a.length)&&wh(v)&&jo(V,v)&&(ot(a)||js(a))}function Sv(a){return"function"!=typeof a.constructor||pl(a)?{}:Un(Is(a))}function Yf(a){return ot(a)||js(a)||!!(ge&&a&&a[ge])}function jo(a,u){var d=typeof a;return!!(u=null==u?fn:u)&&("number"==d||"symbol"!=d&&ff.test(a))&&a>-1&&a%1==0&&a<u}function Pr(a,u,d){if(!hn(d))return!1;var p=typeof u;return!!("number"==p?Zr(d)&&jo(u,d.length):"string"==p&&u in d)&&rs(d[u],a)}function $c(a,u){if(ot(a))return!1;var d=typeof a;return!("number"!=d&&"symbol"!=d&&"boolean"!=d&&null!=a&&!br(a))||gs.test(a)||!qp.test(a)||null!=u&&a in Bt(u)}function Kf(a){var u=qc(a),d=C[u];if("function"!=typeof d||!(u in wt.prototype))return!1;if(a===d)return!0;var p=Wf(d);return!!p&&a===p[0]}(De&&Wn(new De(new ArrayBuffer(1)))!=ms||Fe&&Wn(new Fe)!=jr||we&&Wn(we.resolve())!=fo||je&&Wn(new je)!=or||Rt&&Wn(new Rt)!=hs)&&(Wn=function(a){var u=vn(a),d=u==Ui?a.constructor:_,p=d?Bs(d):"";if(p)switch(p){case mr:return ms;case Ic:return jr;case Mc:return fo;case Kt:return or;case en:return hs}return u});var Iv=Ai?Us:qh;function pl(a){var u=a&&a.constructor;return a===("function"==typeof u&&u.prototype||As)}function Du(a){return a==a&&!hn(a)}function Qf(a,u){return function(d){return null!=d&&d[a]===u&&(u!==_||a in Bt(d))}}function Im(a,u,d){return u=P(u===_?a.length-1:u,0),function(){for(var p=arguments,v=-1,I=P(p.length-u,0),V=ie(I);++v<I;)V[v]=p[u+v];v=-1;for(var Y=ie(u+1);++v<u;)Y[v]=p[v];return Y[u]=d(V),Ot(a,this,Y)}}function Xf(a,u){return u.length<2?a:ko(a,xi(u,0,-1))}function Mm(a,u){for(var d=a.length,p=j(u.length,d),v=Or(a);p--;){var I=u[p];a[p]=jo(I,d)?v[I]:_}return a}function Jf(a,u){if(("constructor"!==u||"function"!=typeof a[u])&&"__proto__"!=u)return a[u]}var xm=Ov(al),wu=Gr||function(a,u){return yn.setTimeout(a,u)},eh=Ov(Pf);function Om(a,u,d){var p=u+"";return eh(a,function $f(a,u){var d=u.length;if(!d)return a;var p=d-1;return u[p]=(d>1?"& ":"")+u[p],u=u.join(d>2?", ":" "),a.replace(Xt,"{\n/* [wrapped with "+u+"] */\n")}(p,function Rm(a,u){return Mt(sf,function(d){var p="_."+d[0];u&d[1]&&!Cs(a,p)&&a.push(p)}),a.sort()}(function Tm(a){var u=a.match(Yp);return u?u[1].split(Wa):[]}(p),d)))}function Ov(a){var u=0,d=0;return function(){var p=te(),v=16-(p-d);if(d=p,v>0){if(++u>=800)return arguments[0]}else u=0;return a.apply(_,arguments)}}function th(a,u){var d=-1,p=a.length,v=p-1;for(u=u===_?p:u;++d<u;){var I=dm(d,v),V=a[I];a[I]=a[d],a[d]=V}return a.length=u,a}var ml=function Zf(a){var u=td(a,function(p){return 500===d.size&&d.clear(),p}),d=u.cache;return u}(function(a){var u=[];return 46===a.charCodeAt(0)&&u.push(""),a.replace($p,function(d,p,v,I){u.push(v?I.replace(cf,"$1"):p||d)}),u});function un(a){if("string"==typeof a||br(a))return a;var u=a+"";return"0"==u&&1/a==-Et?"-0":u}function Bs(a){if(null!=a){try{return Ir.call(a)}catch(u){}try{return a+""}catch(u){}}return""}function nh(a){if(a instanceof wt)return a.clone();var u=new xr(a.__wrapped__,a.__chain__);return u.__actions__=Or(a.__actions__),u.__index__=a.__index__,u.__values__=a.__values__,u}var Rv=_t(function(a,u){return bn(a)?lu(a,jt(u,1,bn,!0)):[]}),Pv=_t(function(a,u){var d=_i(u);return bn(d)&&(d=_),bn(a)?lu(a,jt(u,1,bn,!0),qe(d,2)):[]}),Pm=_t(function(a,u){var d=_i(u);return bn(d)&&(d=_),bn(a)?lu(a,jt(u,1,bn,!0),_,d):[]});function km(a,u,d){var p=null==a?0:a.length;if(!p)return-1;var v=null==d?0:mt(d);return v<0&&(v=P(p+v,0)),Zn(a,qe(u,3),v)}function Lm(a,u,d){var p=null==a?0:a.length;if(!p)return-1;var v=p-1;return d!==_&&(v=mt(d),v=d<0?P(p+v,0):j(v,p-1)),Zn(a,qe(u,3),v,!0)}function ih(a){return null!=a&&a.length?jt(a,1):[]}function Vv(a){return a&&a.length?a[0]:_}var Bv=_t(function(a){var u=zt(a,vu);return u.length&&u[0]===a[0]?If(u):[]}),Hv=_t(function(a){var u=_i(a),d=zt(a,vu);return u===_i(d)?u=_:d.pop(),d.length&&d[0]===a[0]?If(d,qe(u,2)):[]}),ts=_t(function(a){var u=_i(a),d=zt(a,vu);return(u="function"==typeof u?u:_)&&d.pop(),d.length&&d[0]===a[0]?If(d,_,u):[]});function _i(a){var u=null==a?0:a.length;return u?a[u-1]:_}var Gv=_t(Au);function Au(a,u){return a&&a.length&&u&&u.length?mu(a,u):a}var qv=Vs(function(a,u){var d=null==a?0:a.length,p=Af(a,u);return Ca(a,zt(u,function(v){return jo(v,d)?+v:v}).sort(Uc)),p});function Kc(a){return null==a?a:me.call(a)}var Tu=_t(function(a){return Ji(jt(a,1,bn,!0))}),Gm=_t(function(a){var u=_i(a);return bn(u)&&(u=_),Ji(jt(a,1,bn,!0),qe(u,2))}),zm=_t(function(a){var u=_i(a);return u="function"==typeof u?u:_,Ji(jt(a,1,bn,!0),_,u)});function $m(a){if(!a||!a.length)return[];var u=0;return a=Qe(a,function(d){if(bn(d))return u=P(d.length,u),!0}),vo(u,function(d){return zt(a,cr(d))})}function Aa(a,u){if(!a||!a.length)return[];var d=$m(a);return null==u?d:zt(d,function(p){return Ot(u,_,p)})}var ch=_t(function(a,u){return bn(a)?lu(a,u):[]}),Ym=_t(function(a){return le(Qe(a,bn))}),Zv=_t(function(a){var u=_i(a);return bn(u)&&(u=_),le(Qe(a,bn),qe(u,2))}),dh=_t(function(a){var u=_i(a);return u="function"==typeof u?u:_,le(Qe(a,bn),_,u)}),Xv=_t($m),tb=_t(function(a){var u=a.length,d=u>1?a[u-1]:_;return d="function"==typeof d?(a.pop(),d):_,Aa(a,d)});function Km(a){var u=C(a);return u.__chain__=!0,u}function Iu(a,u){return u(a)}var fh=Vs(function(a){var u=a.length,d=u?a[0]:0,p=this.__wrapped__,v=function(I){return Af(I,a)};return!(u>1||this.__actions__.length)&&p instanceof wt&&jo(d)?((p=p.slice(d,+d+(u?1:0))).__actions__.push({func:Iu,args:[v],thisArg:_}),new xr(p,this.__chain__).thru(function(I){return u&&!I.length&&I.push(_),I})):this.thru(v)}),Jm=Vf(function(a,u,d){lt.call(a,d)?++a[d]:fi(a,d,1)}),Qc=wa(km),ob=wa(Lm);function Zc(a,u){return(ot(a)?Mt:Mi)(a,qe(u,3))}function ph(a,u){return(ot(a)?pa:ol)(a,qe(u,3))}var Xc=Vf(function(a,u,d){lt.call(a,d)?a[d].push(u):fi(a,d,[u])}),ig=_t(function(a,u,d){var p=-1,v="function"==typeof u,I=Zr(a)?ie(a.length):[];return Mi(a,function(V){I[++p]=v?Ot(u,V,d):Vc(V,u,d)}),I}),mh=Vf(function(a,u,d){fi(a,d,u)});function Mu(a,u){return(ot(a)?zt:hu)(a,qe(u,3))}var xu=Vf(function(a,u,d){a[d?0:1].push(u)},function(){return[[],[]]}),lg=_t(function(a,u){if(null==a)return[];var d=u.length;return d>1&&Pr(a,u[0],u[1])?u=[]:d>2&&Pr(u[0],u[1],u[2])&&(u=[u[0]]),fv(a,jt(u,1),[])}),ed=xo||function(){return yn.Date.now()};function cg(a,u,d){return u=d?_:u,Ls(a,128,_,_,_,_,u=a&&null==u?a.length:u)}function dg(a,u){var d;if("function"!=typeof u)throw new Tr(R);return a=mt(a),function(){return--a>0&&(d=u.apply(this,arguments)),a<=1&&(u=_),d}}var Kr=_t(function(a,u,d){var p=1;if(d.length){var v=ci(d,fl(Kr));p|=32}return Ls(a,p,u,d,v)}),fg=_t(function(a,u,d){var p=3;if(d.length){var v=ci(d,fl(fg));p|=32}return Ls(u,p,a,d,v)});function pg(a,u,d){var p,v,I,V,Y,Q,fe=0,he=!1,_e=!1,Ie=!0;if("function"!=typeof a)throw new Tr(R);function Ve(Cn){var Fi=p,$s=v;return p=v=_,fe=Cn,V=a.apply($s,Fi)}function Ze(Cn){return fe=Cn,Y=wu(Re,u),he?Ve(Cn):V}function $e(Cn){var Fi=Cn-Q;return Q===_||Fi>=u||Fi<0||_e&&Cn-fe>=I}function Re(){var Cn=ed();if($e(Cn))return At(Cn);Y=wu(Re,function yt(Cn){var o_=u-(Cn-Q);return _e?j(o_,I-(Cn-fe)):o_}(Cn))}function At(Cn){return Y=_,Ie&&p?Ve(Cn):(p=v=_,V)}function ei(){var Cn=ed(),Fi=$e(Cn);if(p=arguments,v=this,Q=Cn,Fi){if(Y===_)return Ze(Q);if(_e)return Nf(Y),Y=wu(Re,u),Ve(Q)}return Y===_&&(Y=wu(Re,u)),V}return u=Gn(u)||0,hn(d)&&(he=!!d.leading,I=(_e="maxWait"in d)?P(Gn(d.maxWait)||0,u):I,Ie="trailing"in d?!!d.trailing:Ie),ei.cancel=function Cr(){Y!==_&&Nf(Y),fe=0,p=Q=v=Y=_},ei.flush=function Dr(){return Y===_?V:At(ed())},ei}var cb=_t(function(a,u){return am(a,1,u)}),db=_t(function(a,u,d){return am(a,Gn(u)||0,d)});function td(a,u){if("function"!=typeof a||null!=u&&"function"!=typeof u)throw new Tr(R);var d=function(){var p=arguments,v=u?u.apply(this,p):p[0],I=d.cache;if(I.has(v))return I.get(v);var V=a.apply(this,p);return d.cache=I.set(v,V)||I,V};return d.cache=new(td.Cache||Ii),d}function nd(a){if("function"!=typeof a)throw new Tr(R);return function(){var u=arguments;switch(u.length){case 0:return!a.call(this);case 1:return!a.call(this,u[0]);case 2:return!a.call(this,u[0],u[1]);case 3:return!a.call(this,u[0],u[1],u[2])}return!a.apply(this,u)}}td.Cache=Ii;var ut=mv(function(a,u){var d=(u=1==u.length&&ot(u[0])?zt(u[0],jn(qe())):zt(jt(u,1),jn(qe()))).length;return _t(function(p){for(var v=-1,I=j(p.length,d);++v<I;)p[v]=u[v].call(this,p[v]);return Ot(a,this,p)})}),Qr=_t(function(a,u){var d=ci(u,fl(Qr));return Ls(a,32,_,u,d)}),vh=_t(function(a,u){var d=ci(u,fl(vh));return Ls(a,64,_,u,d)}),gg=Vs(function(a,u){return Ls(a,256,_,_,_,u)});function rs(a,u){return a===u||a!=a&&u!=u}var id=es(um),sd=es(function(a,u){return a>=u}),js=lv(function(){return arguments}())?lv:function(a){return En(a)&&lt.call(a,"callee")&&!tu.call(a,"callee")},ot=ie.isArray,Dh=Qn?jn(Qn):function SD(a){return En(a)&&vn(a)==ps};function Zr(a){return null!=a&&wh(a.length)&&!Us(a)}function bn(a){return En(a)&&Zr(a)}var Uo=Tc||qh,mb=Ae?jn(Ae):function AD(a){return En(a)&&vn(a)==Sr};function od(a){if(!En(a))return!1;var u=vn(a);return u==Ha||"[object DOMException]"==u||"string"==typeof a.message&&"string"==typeof a.name&&!Ia(a)}function Us(a){if(!hn(a))return!1;var u=vn(a);return u==ja||u==sa||"[object AsyncFunction]"==u||"[object Proxy]"==u}function ad(a){return"number"==typeof a&&a==mt(a)}function wh(a){return"number"==typeof a&&a>-1&&a%1==0&&a<=fn}function hn(a){var u=typeof a;return null!=a&&("object"==u||"function"==u)}function En(a){return null!=a&&"object"==typeof a}var _b=pt?jn(pt):function ID(a){return En(a)&&Wn(a)==jr};function Ws(a){return"number"==typeof a||En(a)&&vn(a)==bi}function Ia(a){if(!En(a)||vn(a)!=Ui)return!1;var u=Is(a);if(null===u)return!0;var d=lt.call(u,"constructor")&&u.constructor;return"function"==typeof d&&d instanceof d&&Ir.call(d)==Ti}var Sh=Gt?jn(Gt):function On(a){return En(a)&&vn(a)==gn},ld=Hn?jn(Hn):function Mf(a){return En(a)&&Wn(a)==or};function Ou(a){return"string"==typeof a||!ot(a)&&En(a)&&vn(a)==ho}function br(a){return"symbol"==typeof a||En(a)&&vn(a)==oa}var _l=qi?jn(qi):function fu(a){return En(a)&&wh(a.length)&&!!We[vn(a)]},Ah=es(pi),vb=es(function(a,u){return a<=u});function Th(a){if(!a)return[];if(Zr(a))return Ou(a)?dr(a):Or(a);if(gt&&a[gt])return function Ss(K){for(var ae,ie=[];!(ae=K.next()).done;)ie.push(ae.value);return ie}(a[gt]());var u=Wn(a);return(u==jr?Za:u==or?Xn:El)(a)}function Gs(a){return a?(a=Gn(a))===Et||a===-Et?17976931348623157e292*(a<0?-1:1):a==a?a:0:0===a?a:0}function mt(a){var u=Gs(a),d=u%1;return u==u?d?u-d:u:0}function yl(a){return a?Fo(mt(a),0,sr):0}function Gn(a){if("number"==typeof a)return a;if(br(a))return NaN;if(hn(a)){var u="function"==typeof a.valueOf?a.valueOf():a;a=hn(u)?u+"":u}if("string"!=typeof a)return 0===a?a:+a;a=Ec(a);var d=Kp.test(a);return d||Zp.test(a)?bs(a.slice(2),d?2:8):df.test(a)?NaN:+a}function ud(a){return vr(a,Jr(a))}function xt(a){return null==a?"":$r(a)}var bl=Da(function(a,u){if(pl(u)||Zr(u))vr(u,Rn(u),a);else for(var d in u)lt.call(u,d)&&au(a,d,u[d])}),wg=Da(function(a,u){vr(u,Jr(u),a)}),Ru=Da(function(a,u,d,p){vr(u,Jr(u),a,p)}),Sg=Da(function(a,u,d,p){vr(u,Rn(u),a,p)}),Ih=Vs(Af),Ag=_t(function(a,u){a=Bt(a);var d=-1,p=u.length,v=p>2?u[2]:_;for(v&&Pr(u[0],u[1],v)&&(p=1);++d<p;)for(var I=u[d],V=Jr(I),Y=-1,Q=V.length;++Y<Q;){var fe=V[Y],he=a[fe];(he===_||rs(he,As[fe])&&!lt.call(a,fe))&&(a[fe]=I[fe])}return a}),cd=_t(function(a){return a.push(_,Oi),Ot(Rg,_,a)});function xh(a,u,d){var p=null==a?_:ko(a,u);return p===_?d:p}function Oh(a,u){return null!=a&&wv(a,u,av)}var Db=bv(function(a,u,d){null!=u&&"function"!=typeof u.toString&&(u=To.call(u)),a[u]=d},Hh(Er)),zD=bv(function(a,u,d){null!=u&&"function"!=typeof u.toString&&(u=To.call(u)),lt.call(a,u)?a[u].push(d):a[u]=[d]},qe),qD=_t(Vc);function Rn(a){return Zr(a)?ou(a):xf(a)}function Jr(a){return Zr(a)?ou(a,!0):function hi(a){if(!hn(a))return function Pt(a){var u=[];if(null!=a)for(var d in Bt(a))u.push(d);return u}(a);var u=pl(a),d=[];for(var p in a)"constructor"==p&&(u||!lt.call(a,p))||d.push(p);return d}(a)}var Og=Da(function(a,u,d){pu(a,u,d)}),Rg=Da(function(a,u,d,p){pu(a,u,d,p)}),Sb=Vs(function(a,u){var d={};if(null==a)return d;var p=!1;u=zt(u,function(I){return I=mi(I,a),p||(p=I.length>1),I}),vr(a,zc(a),d),p&&(d=zr(d,7,Dm));for(var v=u.length;v--;)yu(d,u[v]);return d}),Pg=Vs(function(a,u){return null==a?{}:function MD(a,u){return Of(a,u,function(d,p){return Oh(a,p)})}(a,u)});function Fg(a,u){if(null==a)return{};var d=zt(zc(a),function(p){return[p]});return u=qe(u),Of(a,d,function(p,v){return u(p,v[0])})}var Ph=Cm(Rn),Fh=Cm(Jr);function El(a){return null==a?[]:bo(a,Rn(a))}var Pb=dl(function(a,u,d){return u=u.toLowerCase(),a+(d?dd(u):u)});function dd(a){return Ma(xt(a).toLowerCase())}function Lg(a){return(a=xt(a))&&a.replace(Xp,wc).replace(ha,"")}var Nb=dl(function(a,u,d){return a+(d?"-":"")+u.toLowerCase()}),Lh=dl(function(a,u,d){return a+(d?" ":"")+u.toLowerCase()}),Vh=ym("toLowerCase"),Bg=dl(function(a,u,d){return a+(d?"_":"")+u.toLowerCase()}),jg=dl(function(a,u,d){return a+(d?" ":"")+Ma(u)}),Fu=dl(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),Ma=ym("toUpperCase");function zg(a,u,d){return a=xt(a),(u=d?_:u)===_?function Eo(K){return pc.test(K)}(a)?function tl(K){return K.match(vs)||[]}(a):function yc(K){return K.match($n)||[]}(a):a.match(u)||[]}var pd=_t(function(a,u){try{return Ot(a,_,u)}catch(d){return od(d)?d:new it(d)}}),qg=Vs(function(a,u){return Mt(u,function(d){d=un(d),fi(a,d,Kr(a[d],a))}),a});function Hh(a){return function(){return a}}var Ub=vm(),Wb=vm(!0);function Er(a){return a}function Go(a){return cv("function"==typeof a?a:zr(a,1))}var zb=_t(function(a,u){return function(d){return Vc(d,a,u)}}),Cl=_t(function(a,u){return function(d){return Vc(a,d,u)}});function Uh(a,u,d){var p=Rn(u),v=Rs(u,p);null==d&&(!hn(u)||!v.length&&p.length)&&(d=u,u=a,a=this,v=Rs(u,Rn(u)));var I=!(hn(d)&&"chain"in d&&!d.chain),V=Us(a);return Mt(v,function(Y){var Q=u[Y];a[Y]=Q,V&&(a.prototype[Y]=function(){var fe=this.__chain__;if(I||fe){var he=a(this.__wrapped__),_e=he.__actions__=Or(this.__actions__);return _e.push({func:Q,args:arguments,thisArg:a}),he.__chain__=fe,he}return Q.apply(a,ur([this.value()],arguments))})}),a}function Wh(){}var QD=Eu(zt),Yb=Eu($i),Kg=Eu(Ki);function Ht(a){return $c(a)?cr(un(a)):function qr(a){return function(u){return ko(u,a)}}(a)}var qs=Hf(),zh=Hf(!0);function Nu(){return[]}function qh(){return!1}var Zb=Sa(function(a,u){return a+u},0),ku=jf("ceil"),$h=Sa(function(a,u){return a/u},1),e_=jf("floor"),tE=Sa(function(a,u){return a*u},1),i_=jf("round"),ZD=Sa(function(a,u){return a-u},0);return C.after=function ug(a,u){if("function"!=typeof u)throw new Tr(R);return a=mt(a),function(){if(--a<1)return u.apply(this,arguments)}},C.ary=cg,C.assign=bl,C.assignIn=wg,C.assignInWith=Ru,C.assignWith=Sg,C.at=Ih,C.before=dg,C.bind=Kr,C.bindAll=qg,C.bindKey=fg,C.castArray=function Hs(){if(!arguments.length)return[];var a=arguments[0];return ot(a)?a:[a]},C.chain=Km,C.chunk=function er(a,u,d){u=(d?Pr(a,u,d):u===_)?1:P(mt(u),0);var p=null==a?0:a.length;if(!p||u<1)return[];for(var v=0,I=0,V=ie(Ms(p/u));v<p;)V[I++]=xi(a,v,v+=u);return V},C.compact=function Su(a){for(var u=-1,d=null==a?0:a.length,p=0,v=[];++u<d;){var I=a[u];I&&(v[p++]=I)}return v},C.concat=function rh(){var a=arguments.length;if(!a)return[];for(var u=ie(a-1),d=arguments[0],p=a;p--;)u[p-1]=arguments[p];return ur(ot(d)?Or(d):[d],jt(u,1))},C.cond=function jb(a){var u=null==a?0:a.length,d=qe();return a=u?zt(a,function(p){if("function"!=typeof p[1])throw new Tr(R);return[d(p[0]),p[1]]}):[],_t(function(p){for(var v=-1;++v<u;){var I=a[v];if(Ot(I[0],this,p))return Ot(I[1],this,p)}})},C.conforms=function $g(a){return function om(a){var u=Rn(a);return function(d){return Tf(d,a,u)}}(zr(a,1))},C.constant=Hh,C.countBy=Jm,C.create=function Mh(a,u){var d=Un(a);return null==u?d:Nc(d,u)},C.curry=function yh(a,u,d){var p=Ls(a,8,_,_,_,_,_,u=d?_:u);return p.placeholder=yh.placeholder,p},C.curryRight=function hg(a,u,d){var p=Ls(a,16,_,_,_,_,_,u=d?_:u);return p.placeholder=hg.placeholder,p},C.debounce=pg,C.defaults=Ag,C.defaultsDeep=cd,C.defer=cb,C.delay=db,C.difference=Rv,C.differenceBy=Pv,C.differenceWith=Pm,C.drop=function Fv(a,u,d){var p=null==a?0:a.length;return p?xi(a,(u=d||u===_?1:mt(u))<0?0:u,p):[]},C.dropRight=function Fm(a,u,d){var p=null==a?0:a.length;return p?xi(a,0,(u=p-(u=d||u===_?1:mt(u)))<0?0:u):[]},C.dropRightWhile=function Nv(a,u){return a&&a.length?Fs(a,qe(u,3),!0,!0):[]},C.dropWhile=function Nm(a,u){return a&&a.length?Fs(a,qe(u,3),!0):[]},C.fill=function kv(a,u,d,p){var v=null==a?0:a.length;return v?(d&&"number"!=typeof d&&Pr(a,u,d)&&(d=0,p=v),function lm(a,u,d,p){var v=a.length;for((d=mt(d))<0&&(d=-d>v?0:v+d),(p=p===_||p>v?v:mt(p))<0&&(p+=v),p=d>p?0:yl(p);d<p;)a[d++]=u;return a}(a,u,d,p)):[]},C.filter=function sb(a,u){return(ot(a)?Qe:ba)(a,qe(u,3))},C.flatMap=function tg(a,u){return jt(Mu(a,u),1)},C.flatMapDeep=function ng(a,u){return jt(Mu(a,u),Et)},C.flatMapDepth=function rg(a,u,d){return d=d===_?1:mt(d),jt(Mu(a,u),d)},C.flatten=ih,C.flattenDeep=function sh(a){return null!=a&&a.length?jt(a,Et):[]},C.flattenDepth=function Vm(a,u){return null!=a&&a.length?jt(a,u=u===_?1:mt(u)):[]},C.flip=function mg(a){return Ls(a,512)},C.flow=Ub,C.flowRight=Wb,C.fromPairs=function Lv(a){for(var u=-1,d=null==a?0:a.length,p={};++u<d;){var v=a[u];p[v[0]]=v[1]}return p},C.functions=function xg(a){return null==a?[]:Rs(a,Rn(a))},C.functionsIn=function Cb(a){return null==a?[]:Rs(a,Jr(a))},C.groupBy=Xc,C.initial=function Yc(a){return null!=a&&a.length?xi(a,0,-1):[]},C.intersection=Bv,C.intersectionBy=Hv,C.intersectionWith=ts,C.invert=Db,C.invertBy=zD,C.invokeMap=ig,C.iteratee=Go,C.keyBy=mh,C.keys=Rn,C.keysIn=Jr,C.map=Mu,C.mapKeys=function wb(a,u){var d={};return u=qe(u,3),_r(a,function(p,v,I){fi(d,u(p,v,I),p)}),d},C.mapValues=function Rh(a,u){var d={};return u=qe(u,3),_r(a,function(p,v,I){fi(d,v,u(p,v,I))}),d},C.matches=function Yg(a){return Lo(zr(a,1))},C.matchesProperty=function Gb(a,u){return Ps(a,zr(u,1))},C.memoize=td,C.merge=Og,C.mergeWith=Rg,C.method=zb,C.methodOf=Cl,C.mixin=Uh,C.negate=nd,C.nthArg=function $b(a){return a=mt(a),_t(function(u){return cm(u,a)})},C.omit=Sb,C.omitBy=function Ab(a,u){return Fg(a,nd(qe(u)))},C.once=function fb(a){return dg(2,a)},C.orderBy=function gh(a,u,d,p){return null==a?[]:(ot(u)||(u=null==u?[]:[u]),ot(d=p?_:d)||(d=null==d?[]:[d]),fv(a,u,d))},C.over=QD,C.overArgs=ut,C.overEvery=Yb,C.overSome=Kg,C.partial=Qr,C.partialRight=vh,C.partition=xu,C.pick=Pg,C.pickBy=Fg,C.property=Ht,C.propertyOf=function Gh(a){return function(u){return null==a?_:ko(a,u)}},C.pull=Gv,C.pullAll=Au,C.pullAllBy=function Hm(a,u,d){return a&&a.length&&u&&u.length?mu(a,u,qe(d,2)):a},C.pullAllWith=function zv(a,u,d){return a&&a.length&&u&&u.length?mu(a,u,_,d):a},C.pullAt=qv,C.range=qs,C.rangeRight=zh,C.rearg=gg,C.reject=function lb(a,u){return(ot(a)?Qe:ba)(a,nd(qe(u,3)))},C.remove=function jm(a,u){var d=[];if(!a||!a.length)return d;var p=-1,v=[],I=a.length;for(u=qe(u,3);++p<I;){var V=a[p];u(V,p,a)&&(d.push(V),v.push(p))}return Ca(a,v),d},C.rest=function rd(a,u){if("function"!=typeof a)throw new Tr(R);return _t(a,u=u===_?u:mt(u))},C.reverse=Kc,C.sampleSize=function og(a,u,d){return u=(d?Pr(a,u,d):u===_)?1:mt(u),(ot(a)?im:pv)(a,u)},C.set=function Tb(a,u,d){return null==a?a:gu(a,u,d)},C.setWith=function Ib(a,u,d,p){return p="function"==typeof p?p:_,null==a?a:gu(a,u,d,p)},C.shuffle=function _h(a){return(ot(a)?sm:Hc)(a)},C.slice=function $v(a,u,d){var p=null==a?0:a.length;return p?(d&&"number"!=typeof d&&Pr(a,u,d)?(u=0,d=p):(u=null==u?0:mt(u),d=d===_?p:mt(d)),xi(a,u,d)):[]},C.sortBy=lg,C.sortedUniq=function Um(a){return a&&a.length?hm(a):[]},C.sortedUniqBy=function PD(a,u){return a&&a.length?hm(a,qe(u,2)):[]},C.split=function Hg(a,u,d){return d&&"number"!=typeof d&&Pr(a,u,d)&&(u=d=_),(d=d===_?sr:d>>>0)?(a=xt(a))&&("string"==typeof u||null!=u&&!Sh(u))&&!(u=$r(u))&&Qi(a)?ks(dr(a),0,d):a.split(u,d):[]},C.spread=function Pi(a,u){if("function"!=typeof a)throw new Tr(R);return u=null==u?0:P(mt(u),0),_t(function(d){var p=d[u],v=ks(d,0,u);return p&&ur(v,p),Ot(a,this,v)})},C.tail=function Yr(a){var u=null==a?0:a.length;return u?xi(a,1,u):[]},C.take=function oh(a,u,d){return a&&a.length?xi(a,0,(u=d||u===_?1:mt(u))<0?0:u):[]},C.takeRight=function ah(a,u,d){var p=null==a?0:a.length;return p?xi(a,(u=p-(u=d||u===_?1:mt(u)))<0?0:u,p):[]},C.takeRightWhile=function Qv(a,u){return a&&a.length?Fs(a,qe(u,3),!1,!0):[]},C.takeWhile=function Wm(a,u){return a&&a.length?Fs(a,qe(u,3)):[]},C.tap=function nb(a,u){return u(a),a},C.throttle=function _g(a,u,d){var p=!0,v=!0;if("function"!=typeof a)throw new Tr(R);return hn(d)&&(p="leading"in d?!!d.leading:p,v="trailing"in d?!!d.trailing:v),pg(a,u,{leading:p,maxWait:u,trailing:v})},C.thru=Iu,C.toArray=Th,C.toPairs=Ph,C.toPairsIn=Fh,C.toPath=function Jg(a){return ot(a)?zt(a,un):br(a)?[a]:Or(ml(xt(a)))},C.toPlainObject=ud,C.transform=function Mb(a,u,d){var p=ot(a),v=p||Uo(a)||_l(a);if(u=qe(u,4),null==d){var I=a&&a.constructor;d=v?p?new I:[]:hn(a)&&Us(I)?Un(Is(a)):{}}return(v?Mt:_r)(a,function(V,Y,Q){return u(d,V,Y,Q)}),d},C.unary=function hb(a){return cg(a,1)},C.union=Tu,C.unionBy=Gm,C.unionWith=zm,C.uniq=function lh(a){return a&&a.length?Ji(a):[]},C.uniqBy=function uh(a,u){return a&&a.length?Ji(a,qe(u,2)):[]},C.uniqWith=function qm(a,u){return u="function"==typeof u?u:_,a&&a.length?Ji(a,_,u):[]},C.unset=function is(a,u){return null==a||yu(a,u)},C.unzip=$m,C.unzipWith=Aa,C.update=function Nh(a,u,d){return null==a?a:ul(a,u,Ns(d))},C.updateWith=function xb(a,u,d,p){return p="function"==typeof p?p:_,null==a?a:ul(a,u,Ns(d),p)},C.values=El,C.valuesIn=function $D(a){return null==a?[]:bo(a,Jr(a))},C.without=ch,C.words=zg,C.wrap=function bh(a,u){return Qr(Ns(u),a)},C.xor=Ym,C.xorBy=Zv,C.xorWith=dh,C.zip=Xv,C.zipObject=function Jv(a,u){return Ff(a||[],u||[],au)},C.zipObjectDeep=function eb(a,u){return Ff(a||[],u||[],gu)},C.zipWith=tb,C.entries=Ph,C.entriesIn=Fh,C.extend=wg,C.extendWith=Ru,Uh(C,C),C.add=Zb,C.attempt=pd,C.camelCase=Pb,C.capitalize=dd,C.ceil=ku,C.clamp=function kg(a,u,d){return d===_&&(d=u,u=_),d!==_&&(d=(d=Gn(d))==d?d:0),u!==_&&(u=(u=Gn(u))==u?u:0),Fo(Gn(a),u,d)},C.clone=function Eh(a){return zr(a,4)},C.cloneDeep=function Ch(a){return zr(a,5)},C.cloneDeepWith=function ND(a,u){return zr(a,5,u="function"==typeof u?u:_)},C.cloneWith=function yg(a,u){return zr(a,4,u="function"==typeof u?u:_)},C.conformsTo=function vg(a,u){return null==u||Tf(a,u,Rn(u))},C.deburr=Lg,C.defaultTo=function jh(a,u){return null==a||a!=a?u:a},C.divide=$h,C.endsWith=function Fb(a,u,d){a=xt(a),u=$r(u);var p=a.length,v=d=d===_?p:Fo(mt(d),0,p);return(d-=u.length)>=0&&a.slice(d,v)==u},C.eq=rs,C.escape=function fd(a){return(a=xt(a))&&lf.test(a)?a.replace(dt,yf):a},C.escapeRegExp=function kh(a){return(a=xt(a))&&rt.test(a)?a.replace(aa,"\\$&"):a},C.every=function eg(a,u,d){var p=ot(a)?$i:ov;return d&&Pr(a,u,d)&&(u=_),p(a,qe(u,3))},C.find=Qc,C.findIndex=km,C.findKey=function bb(a,u){return Xl(a,qe(u,3),_r)},C.findLast=ob,C.findLastIndex=Lm,C.findLastKey=function Tg(a,u){return Xl(a,qe(u,3),No)},C.floor=e_,C.forEach=Zc,C.forEachRight=ph,C.forIn=function GD(a,u){return null==a?a:cu(a,qe(u,3),Jr)},C.forInRight=function Ig(a,u){return null==a?a:du(a,qe(u,3),Jr)},C.forOwn=function Mg(a,u){return a&&_r(a,qe(u,3))},C.forOwnRight=function Eb(a,u){return a&&No(a,qe(u,3))},C.get=xh,C.gt=id,C.gte=sd,C.has=function Xr(a,u){return null!=a&&wv(a,u,DD)},C.hasIn=Oh,C.head=Vv,C.identity=Er,C.includes=function Jc(a,u,d,p){a=Zr(a)?a:El(a),d=d&&!p?mt(d):0;var v=a.length;return d<0&&(d=P(v+d,0)),Ou(a)?d<=v&&a.indexOf(u,d)>-1:!!v&&dn(a,u,d)>-1},C.indexOf=function Bm(a,u,d){var p=null==a?0:a.length;if(!p)return-1;var v=null==d?0:mt(d);return v<0&&(v=P(p+v,0)),dn(a,u,v)},C.inRange=function Ob(a,u,d){return u=Gs(u),d===_?(d=u,u=0):d=Gs(d),function wD(a,u,d){return a>=j(u,d)&&a<P(u,d)}(a=Gn(a),u,d)},C.invoke=qD,C.isArguments=js,C.isArray=ot,C.isArrayBuffer=Dh,C.isArrayLike=Zr,C.isArrayLikeObject=bn,C.isBoolean=function pb(a){return!0===a||!1===a||En(a)&&vn(a)==Ct},C.isBuffer=Uo,C.isDate=mb,C.isElement=function bg(a){return En(a)&&1===a.nodeType&&!Ia(a)},C.isEmpty=function kD(a){if(null==a)return!0;if(Zr(a)&&(ot(a)||"string"==typeof a||"function"==typeof a.splice||Uo(a)||_l(a)||js(a)))return!a.length;var u=Wn(a);if(u==jr||u==or)return!a.size;if(pl(a))return!xf(a).length;for(var d in a)if(lt.call(a,d))return!1;return!0},C.isEqual=function gb(a,u){return Bc(a,u)},C.isEqualWith=function LD(a,u,d){var p=(d="function"==typeof d?d:_)?d(a,u):_;return p===_?Bc(a,u,_,d):!!p},C.isError=od,C.isFinite=function Eg(a){return"number"==typeof a&&ya(a)},C.isFunction=Us,C.isInteger=ad,C.isLength=wh,C.isMap=_b,C.isMatch=function VD(a,u){return a===u||Ea(a,u,zf(u))},C.isMatchWith=function BD(a,u,d){return d="function"==typeof d?d:_,Ea(a,u,zf(u),d)},C.isNaN=function HD(a){return Ws(a)&&a!=+a},C.isNative=function jD(a){if(Iv(a))throw new it("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return uv(a)},C.isNil=function WD(a){return null==a},C.isNull=function UD(a){return null===a},C.isNumber=Ws,C.isObject=hn,C.isObjectLike=En,C.isPlainObject=Ia,C.isRegExp=Sh,C.isSafeInteger=function Cg(a){return ad(a)&&a>=-fn&&a<=fn},C.isSet=ld,C.isString=Ou,C.isSymbol=br,C.isTypedArray=_l,C.isUndefined=function Wo(a){return a===_},C.isWeakMap=function Dg(a){return En(a)&&Wn(a)==hs},C.isWeakSet=function yb(a){return En(a)&&"[object WeakSet]"==vn(a)},C.join=function jv(a,u){return null==a?"":b.call(a,u)},C.kebabCase=Nb,C.last=_i,C.lastIndexOf=function Uv(a,u,d){var p=null==a?0:a.length;if(!p)return-1;var v=p;return d!==_&&(v=(v=mt(d))<0?P(p+v,0):j(v,p-1)),u==u?function Sc(K,ae,ie){for(var Me=ie+1;Me--;)if(K[Me]===ae)return Me;return Me}(a,u,v):Zn(a,Ds,v,!0)},C.lowerCase=Lh,C.lowerFirst=Vh,C.lt=Ah,C.lte=vb,C.max=function t_(a){return a&&a.length?uu(a,Er,um):_},C.maxBy=function n_(a,u){return a&&a.length?uu(a,qe(u,2),um):_},C.mean=function r_(a){return _o(a,Er)},C.meanBy=function Xb(a,u){return _o(a,qe(u,2))},C.min=function Jb(a){return a&&a.length?uu(a,Er,pi):_},C.minBy=function eE(a,u){return a&&a.length?uu(a,qe(u,2),pi):_},C.stubArray=Nu,C.stubFalse=qh,C.stubObject=function Kb(){return{}},C.stubString=function Qg(){return""},C.stubTrue=function Zg(){return!0},C.multiply=tE,C.nth=function Wv(a,u){return a&&a.length?cm(a,mt(u)):_},C.noConflict=function qb(){return yn._===this&&(yn._=eu),this},C.noop=Wh,C.now=ed,C.pad=function Vg(a,u,d){a=xt(a);var p=(u=mt(u))?Do(a):0;if(!u||p>=u)return a;var v=(u-p)/2;return Cu(Xi(v),d)+a+Cu(Ms(v),d)},C.padEnd=function kb(a,u,d){a=xt(a);var p=(u=mt(u))?Do(a):0;return u&&p<u?a+Cu(u-p,d):a},C.padStart=function Lb(a,u,d){a=xt(a);var p=(u=mt(u))?Do(a):0;return u&&p<u?Cu(u-p,d)+a:a},C.parseInt=function Bh(a,u,d){return d||null==u?u=0:u&&(u=+u),ee(xt(a).replace(Mn,""),u||0)},C.random=function Rb(a,u,d){if(d&&"boolean"!=typeof d&&Pr(a,u,d)&&(u=d=_),d===_&&("boolean"==typeof u?(d=u,u=_):"boolean"==typeof a&&(d=a,a=_)),a===_&&u===_?(a=0,u=1):(a=Gs(a),u===_?(u=a,a=0):u=Gs(u)),a>u){var p=a;a=u,u=p}if(d||a%1||u%1){var v=ce();return j(a+v*(u-a+zi("1e-"+((v+"").length-1))),u)}return dm(a,u)},C.reduce=function ab(a,u,d){var p=ot(a)?Nn:vc,v=arguments.length<3;return p(a,qe(u,4),d,v,Mi)},C.reduceRight=function sg(a,u,d){var p=ot(a)?ma:vc,v=arguments.length<3;return p(a,qe(u,4),d,v,ol)},C.repeat=function YD(a,u,d){return u=(d?Pr(a,u,d):u===_)?1:mt(u),Rf(xt(a),u)},C.replace=function Vb(){var a=arguments,u=xt(a[0]);return a.length<3?u:u.replace(a[1],a[2])},C.result=function Ng(a,u,d){var p=-1,v=(u=mi(u,a)).length;for(v||(v=1,a=_);++p<v;){var I=null==a?_:a[un(u[p])];I===_&&(p=v,I=d),a=Us(I)?I.call(a):I}return a},C.round=i_,C.runInContext=K,C.sample=function ub(a){return(ot(a)?sv:hv)(a)},C.size=function ag(a){if(null==a)return 0;if(Zr(a))return Ou(a)?Do(a):a.length;var u=Wn(a);return u==jr||u==or?a.size:xf(a).length},C.snakeCase=Bg,C.some=function FD(a,u,d){var p=ot(a)?Ki:_u;return d&&Pr(a,u,d)&&(u=_),p(a,qe(u,3))},C.sortedIndex=function Yv(a,u){return ll(a,u)},C.sortedIndexBy=function Kv(a,u,d){return Vo(a,u,qe(d,2))},C.sortedIndexOf=function gl(a,u){var d=null==a?0:a.length;if(d){var p=ll(a,u);if(p<d&&rs(a[p],u))return p}return-1},C.sortedLastIndex=function ns(a,u){return ll(a,u,!0)},C.sortedLastIndexBy=function OD(a,u,d){return Vo(a,u,qe(d,2),!0)},C.sortedLastIndexOf=function RD(a,u){if(null!=a&&a.length){var p=ll(a,u,!0)-1;if(rs(a[p],u))return p}return-1},C.startCase=jg,C.startsWith=function Ug(a,u,d){return a=xt(a),d=null==d?0:Fo(mt(d),0,a.length),u=$r(u),a.slice(d,d+u.length)==u},C.subtract=ZD,C.sum=function s_(a){return a&&a.length?Qa(a,Er):0},C.sumBy=function nE(a,u){return a&&a.length?Qa(a,qe(u,2)):0},C.template=function Wg(a,u,d){var p=C.templateSettings;d&&Pr(a,u,d)&&(u=_),a=xt(a),u=Ru({},u,p,Rr);var Y,Q,v=Ru({},u.imports,p.imports,Rr),I=Rn(v),V=bo(v,I),fe=0,he=u.interpolate||za,_e="__p += '",Ie=Jt((u.escape||za).source+"|"+he.source+"|"+(he===Kl?ac:za).source+"|"+(u.evaluate||za).source+"|$","g"),Ve="//# sourceURL="+(lt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++gc+"]")+"\n";a.replace(Ie,function($e,Re,At,Cr,Dr,ei){return At||(At=Cr),_e+=a.slice(fe,ei).replace(Jp,vf),Re&&(Y=!0,_e+="' +\n__e("+Re+") +\n'"),Dr&&(Q=!0,_e+="';\n"+Dr+";\n__p += '"),At&&(_e+="' +\n((__t = ("+At+")) == null ? '' : __t) +\n'"),fe=ei+$e.length,$e}),_e+="';\n";var Ze=lt.call(u,"variable")&&u.variable;if(Ze){if(Ga.test(Ze))throw new it("Invalid `variable` option passed into `_.template`")}else _e="with (obj) {\n"+_e+"\n}\n";_e=(Q?_e.replace(af,""):_e).replace(oc,"$1").replace(Ft,"$1;"),_e="function("+(Ze||"obj")+") {\n"+(Ze?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Y?", __e = _.escape":"")+(Q?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+_e+"return __p\n}";var yt=pd(function(){return Ue(I,Ve+"return "+_e).apply(_,V)});if(yt.source=_e,od(yt))throw yt;return yt},C.times=function Xg(a,u){if((a=mt(a))<1||a>fn)return[];var d=sr,p=j(a,sr);u=qe(u),a-=sr;for(var v=vo(p,u);++d<a;)u(d);return v},C.toFinite=Gs,C.toInteger=mt,C.toLength=yl,C.toLower=function zs(a){return xt(a).toLowerCase()},C.toNumber=Gn,C.toSafeInteger=function vl(a){return a?Fo(mt(a),-fn,fn):0===a?a:0},C.toString=xt,C.toUpper=function hd(a){return xt(a).toUpperCase()},C.trim=function Bb(a,u,d){if((a=xt(a))&&(d||u===_))return Ec(a);if(!a||!(u=$r(u)))return a;var p=dr(a),v=dr(u);return ks(p,Cc(p,v),Dc(p,v)+1).join("")},C.trimEnd=function Hb(a,u,d){if((a=xt(a))&&(d||u===_))return a.slice(0,wo(a)+1);if(!a||!(u=$r(u)))return a;var p=dr(a);return ks(p,0,Dc(p,dr(u))+1).join("")},C.trimStart=function KD(a,u,d){if((a=xt(a))&&(d||u===_))return a.replace(Mn,"");if(!a||!(u=$r(u)))return a;var p=dr(a);return ks(p,Cc(p,dr(u))).join("")},C.truncate=function Pu(a,u){var d=30,p="...";if(hn(u)){var v="separator"in u?u.separator:v;d="length"in u?mt(u.length):d,p="omission"in u?$r(u.omission):p}var I=(a=xt(a)).length;if(Qi(a)){var V=dr(a);I=V.length}if(d>=I)return a;var Y=d-Do(p);if(Y<1)return p;var Q=V?ks(V,0,Y).join(""):a.slice(0,Y);if(v===_)return Q+p;if(V&&(Y+=Q.length-Y),Sh(v)){if(a.slice(Y).search(v)){var fe,he=Q;for(v.global||(v=Jt(v.source,xt(Ur.exec(v))+"g")),v.lastIndex=0;fe=v.exec(he);)var _e=fe.index;Q=Q.slice(0,_e===_?Y:_e)}}else if(a.indexOf($r(v),Y)!=Y){var Ie=Q.lastIndexOf(v);Ie>-1&&(Q=Q.slice(0,Ie))}return Q+p},C.unescape=function Gg(a){return(a=xt(a))&&Yl.test(a)?a.replace(Ua,So):a},C.uniqueId=function Qb(a){var u=++Jl;return xt(a)+u},C.upperCase=Fu,C.upperFirst=Ma,C.each=Zc,C.eachRight=ph,C.first=Vv,Uh(C,function(){var a={};return _r(C,function(u,d){lt.call(C.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),C.VERSION="4.17.21",Mt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){C[a].placeholder=C}),Mt(["drop","take"],function(a,u){wt.prototype[a]=function(d){d=d===_?1:P(mt(d),0);var p=this.__filtered__&&!u?new wt(this):this.clone();return p.__filtered__?p.__takeCount__=j(d,p.__takeCount__):p.__views__.push({size:j(d,sr),type:a+(p.__dir__<0?"Right":"")}),p},wt.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),Mt(["filter","map","takeWhile"],function(a,u){var d=u+1,p=1==d||3==d;wt.prototype[a]=function(v){var I=this.clone();return I.__iteratees__.push({iteratee:qe(v,3),type:d}),I.__filtered__=I.__filtered__||p,I}}),Mt(["head","last"],function(a,u){var d="take"+(u?"Right":"");wt.prototype[a]=function(){return this[d](1).value()[0]}}),Mt(["initial","tail"],function(a,u){var d="drop"+(u?"":"Right");wt.prototype[a]=function(){return this.__filtered__?new wt(this):this[d](1)}}),wt.prototype.compact=function(){return this.filter(Er)},wt.prototype.find=function(a){return this.filter(a).head()},wt.prototype.findLast=function(a){return this.reverse().find(a)},wt.prototype.invokeMap=_t(function(a,u){return"function"==typeof a?new wt(this):this.map(function(d){return Vc(d,a,u)})}),wt.prototype.reject=function(a){return this.filter(nd(qe(a)))},wt.prototype.slice=function(a,u){a=mt(a);var d=this;return d.__filtered__&&(a>0||u<0)?new wt(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),u!==_&&(d=(u=mt(u))<0?d.dropRight(-u):d.take(u-a)),d)},wt.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},wt.prototype.toArray=function(){return this.take(sr)},_r(wt.prototype,function(a,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),p=/^(?:head|last)$/.test(u),v=C[p?"take"+("last"==u?"Right":""):u],I=p||/^find/.test(u);!v||(C.prototype[u]=function(){var V=this.__wrapped__,Y=p?[1]:arguments,Q=V instanceof wt,fe=Y[0],he=Q||ot(V),_e=function(Re){var At=v.apply(C,ur([Re],Y));return p&&Ie?At[0]:At};he&&d&&"function"==typeof fe&&1!=fe.length&&(Q=he=!1);var Ie=this.__chain__,Ve=!!this.__actions__.length,Ze=I&&!Ie,yt=Q&&!Ve;if(!I&&he){V=yt?V:new wt(this);var $e=a.apply(V,Y);return $e.__actions__.push({func:Iu,args:[_e],thisArg:_}),new xr($e,Ie)}return Ze&&yt?a.apply(this,Y):($e=this.thru(_e),Ze?p?$e.value()[0]:$e.value():$e)})}),Mt(["pop","push","shift","sort","splice","unshift"],function(a){var u=Si[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",p=/^(?:pop|shift)$/.test(a);C.prototype[a]=function(){var v=arguments;if(p&&!this.__chain__){var I=this.value();return u.apply(ot(I)?I:[],v)}return this[d](function(V){return u.apply(ot(V)?V:[],v)})}}),_r(wt.prototype,function(a,u){var d=C[u];if(d){var p=d.name+"";lt.call(An,p)||(An[p]=[]),An[p].push({name:u,func:d})}}),An[Gc(_,2).name]=[{name:"wrapper",func:_}],wt.prototype.clone=function Zy(){var a=new wt(this.__wrapped__);return a.__actions__=Or(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=Or(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=Or(this.__views__),a},wt.prototype.reverse=function Xy(){if(this.__filtered__){var a=new wt(this);a.__dir__=-1,a.__filtered__=!0}else(a=this.clone()).__dir__*=-1;return a},wt.prototype.value=function Jy(){var a=this.__wrapped__.value(),u=this.__dir__,d=ot(a),p=u<0,v=d?a.length:0,I=function Am(a,u,d){for(var p=-1,v=d.length;++p<v;){var I=d[p],V=I.size;switch(I.type){case"drop":a+=V;break;case"dropRight":u-=V;break;case"take":u=j(u,a+V);break;case"takeRight":a=P(a,u-V)}}return{start:a,end:u}}(0,v,this.__views__),V=I.start,Y=I.end,Q=Y-V,fe=p?Y:V-1,he=this.__iteratees__,_e=he.length,Ie=0,Ve=j(Q,this.__takeCount__);if(!d||!p&&v==Q&&Ve==Q)return mm(a,this.__actions__);var Ze=[];e:for(;Q--&&Ie<Ve;){for(var yt=-1,$e=a[fe+=u];++yt<_e;){var Re=he[yt],Cr=Re.type,Dr=(0,Re.iteratee)($e);if(2==Cr)$e=Dr;else if(!Dr){if(1==Cr)continue e;break e}}Ze[Ie++]=$e}return Ze},C.prototype.at=fh,C.prototype.chain=function Qm(){return Km(this)},C.prototype.commit=function hh(){return new xr(this.value(),this.__chain__)},C.prototype.next=function rb(){this.__values__===_&&(this.__values__=Th(this.value()));var a=this.__index__>=this.__values__.length;return{done:a,value:a?_:this.__values__[this.__index__++]}},C.prototype.plant=function Zm(a){for(var u,d=this;d instanceof Qt;){var p=nh(d);p.__index__=0,p.__values__=_,u?v.__wrapped__=p:u=p;var v=p;d=d.__wrapped__}return v.__wrapped__=a,u},C.prototype.reverse=function Xm(){var a=this.__wrapped__;if(a instanceof wt){var u=a;return this.__actions__.length&&(u=new wt(this)),(u=u.reverse()).__actions__.push({func:Iu,args:[Kc],thisArg:_}),new xr(u,this.__chain__)}return this.thru(Kc)},C.prototype.toJSON=C.prototype.valueOf=C.prototype.value=function Ta(){return mm(this.__wrapped__,this.__actions__)},C.prototype.first=C.prototype.head,gt&&(C.prototype[gt]=function ib(){return this}),C}();yn._=Ao,(F=function(){return Ao}.call(H,J,H,Ee))!==_&&(Ee.exports=F)}.call(this)},7248:(Ee,H,J)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.diffAny=H.diffObjects=H.diffArrays=H.intersection=H.subtract=H.isDestructive=void 0;var F=J(371),_=J(6480);function U(g,M){var E={};for(var S in g)_.hasOwnProperty.call(g,S)&&void 0!==g[S]&&(E[S]=1);for(var N in M)_.hasOwnProperty.call(M,N)&&void 0!==M[N]&&delete E[N];return Object.keys(E)}function G(g){for(var M=g.length,E={},S=0;S<M;S++){var N=g[S];for(var T in N)_.hasOwnProperty.call(N,T)&&void 0!==N[T]&&(E[T]=(E[T]||0)+1)}for(var T in E)E[T]<M&&delete E[T];return Object.keys(E)}function L(g,M){return{operations:g.operations.concat(M),cost:g.cost+1}}function q(g,M,E,S){void 0===S&&(S=B);var N={"0,0":{operations:[],cost:0}},z=isNaN(g.length)||g.length<=0?0:g.length,X=isNaN(M.length)||M.length<=0?0:M.length;return function T(se,pe){var Ke=se+","+pe,Ne=N[Ke];if(void 0===Ne){if(se>0&&pe>0&&F.compare(g[se-1],M[pe-1]))Ne=T(se-1,pe-1);else{var Dt=[];if(se>0){var ke=T(se-1,pe);Dt.push(L(ke,{op:"remove",index:se-1}))}if(pe>0){var Se=T(se,pe-1);Dt.push(L(Se,{op:"add",index:se-1,value:M[pe-1]}))}if(se>0&&pe>0){var tt=T(se-1,pe-1);Dt.push(L(tt,{op:"replace",index:se-1,original:g[se-1],value:M[pe-1]}))}Ne=Dt.sort(function(fn,Vl){return fn.cost-Vl.cost})[0]}N[Ke]=Ne}return Ne}(z,X).operations.reduce(function(se,pe){var Ke=se[0],Ne=se[1];if(function R(g){return"add"===g.op}(pe)){var Dt=pe.index+1+Ne,ke=Dt<z+Ne?String(Dt):"-",ye={op:pe.op,path:E.add(ke).toString(),value:pe.value};return[Ke.concat(ye),Ne+1]}if(function k(g){return"remove"===g.op}(pe))return ye={op:pe.op,path:E.add(String(pe.index+Ne)).toString()},[Ke.concat(ye),Ne-1];var Se=E.add(String(pe.index+Ne)),st=S(pe.original,pe.value,Se);return[Ke.concat.apply(Ke,st),Ne]},[[],0])[0]}function w(g,M,E,S){void 0===S&&(S=B);var N=[];return U(g,M).forEach(function(T){N.push({op:"remove",path:E.add(T).toString()})}),U(M,g).forEach(function(T){N.push({op:"add",path:E.add(T).toString(),value:M[T]})}),G([g,M]).forEach(function(T){N.push.apply(N,S(g[T],M[T],E.add(T)))}),N}function B(g,M,E,S){if(void 0===S&&(S=B),g===M)return[];var N=_.objectType(g),T=_.objectType(M);return"array"==N&&"array"==T?q(g,M,E,S):"object"==N&&"object"==T?w(g,M,E,S):[{op:"replace",path:E.toString(),value:M}]}H.isDestructive=function oe(g){var M=g.op;return"remove"===M||"replace"===M||"copy"===M||"move"===M},H.subtract=U,H.intersection=G,H.diffArrays=q,H.diffObjects=w,H.diffAny=B},371:(Ee,H,J)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.compare=void 0;var F=J(6480);H.compare=function U(G,R){if(G===R)return!0;var k=F.objectType(G),L=F.objectType(R);return"array"==k&&"array"==L?function _(G,R){var k=G.length;if(k!==R.length)return!1;for(var L=0;L<k;L++)if(!U(G[L],R[L]))return!1;return!0}(G,R):"object"==k&&"object"==L&&function oe(G,R){var k=Object.keys(G),L=Object.keys(R),q=k.length;if(q!==L.length)return!1;for(var w=0;w<q;w++){var B=k[w];if(!F.hasOwnProperty.call(R,B)||!U(G[B],R[B]))return!1}return!0}(G,R)}},3071:(Ee,H,J)=>{"use strict";J(4914),J(1240),J(7248)},1240:function(Ee,H,J){"use strict";var T,F=this&&this.__extends||(T=function(z,X){return(T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(be,re){be.__proto__=re}||function(be,re){for(var se in re)re.hasOwnProperty(se)&&(be[se]=re[se])})(z,X)},function(z,X){function be(){this.constructor=z}T(z,X),z.prototype=null===X?Object.create(X):(be.prototype=X.prototype,new be)});Object.defineProperty(H,"__esModule",{value:!0}),H.apply=H.InvalidOperationError=H.test=H.copy=H.move=H.replace=H.remove=H.add=H.TestError=H.MissingError=void 0;var _=J(4914),oe=J(6480),U=J(371),G=function(T){function z(X){var be=T.call(this,"Value required at path: "+X)||this;return be.path=X,be.name="MissingError",be}return F(z,T),z}(Error);H.MissingError=G;var R=function(T){function z(X,be){var re=T.call(this,"Test failed: "+X+" != "+be)||this;return re.actual=X,re.expected=be,re.name="TestError",re}return F(z,T),z}(Error);function k(T,z,X){if(Array.isArray(T))if("-"==z)T.push(X);else{var be=parseInt(z,10);T.splice(be,0,X)}else T[z]=X}function L(T,z){if(Array.isArray(T)){var X=parseInt(z,10);T.splice(X,1)}else delete T[z]}function q(T,z){var X=_.Pointer.fromJSON(z.path).evaluate(T);return void 0===X.parent?new G(z.path):(k(X.parent,X.key,oe.clone(z.value)),null)}function w(T,z){var X=_.Pointer.fromJSON(z.path).evaluate(T);return void 0===X.value?new G(z.path):(L(X.parent,X.key),null)}function B(T,z){var X=_.Pointer.fromJSON(z.path).evaluate(T);if(null===X.parent)return new G(z.path);if(Array.isArray(X.parent)){if(parseInt(X.key,10)>=X.parent.length)return new G(z.path)}else if(void 0===X.value)return new G(z.path);return X.parent[X.key]=z.value,null}function g(T,z){var X=_.Pointer.fromJSON(z.from).evaluate(T);if(void 0===X.value)return new G(z.from);var be=_.Pointer.fromJSON(z.path).evaluate(T);return void 0===be.parent?new G(z.path):(L(X.parent,X.key),k(be.parent,be.key,X.value),null)}function M(T,z){var X=_.Pointer.fromJSON(z.from).evaluate(T);if(void 0===X.value)return new G(z.from);var be=_.Pointer.fromJSON(z.path).evaluate(T);return void 0===be.parent?new G(z.path):(k(be.parent,be.key,oe.clone(X.value)),null)}function E(T,z){var X=_.Pointer.fromJSON(z.path).evaluate(T);return U.compare(X.value,z.value)?null:new R(X.value,z.value)}H.TestError=R,H.add=q,H.remove=w,H.replace=B,H.move=g,H.copy=M,H.test=E;var S=function(T){function z(X){var be=T.call(this,"Invalid operation: "+X.op)||this;return be.operation=X,be.name="InvalidOperationError",be}return F(z,T),z}(Error);H.InvalidOperationError=S,H.apply=function N(T,z){switch(z.op){case"add":return q(T,z);case"remove":return w(T,z);case"replace":return B(T,z);case"move":return g(T,z);case"copy":return M(T,z);case"test":return E(T,z)}return new S(z)}},4914:(Ee,H)=>{"use strict";function J(oe){return oe.replace(/~1/g,"/").replace(/~0/g,"~")}function F(oe){return oe.replace(/~/g,"~0").replace(/\//g,"~1")}Object.defineProperty(H,"__esModule",{value:!0}),H.Pointer=void 0;var _=function(){function oe(U){void 0===U&&(U=[""]),this.tokens=U}return oe.fromJSON=function(U){var G=U.split("/").map(J);if(""!==G[0])throw new Error("Invalid JSON Pointer: "+U);return new oe(G)},oe.prototype.toString=function(){return this.tokens.map(F).join("/")},oe.prototype.evaluate=function(U){for(var G=null,R="",k=U,L=1,q=this.tokens.length;L<q;L++)k=((G=k)||{})[R=this.tokens[L]];return{parent:G,key:R,value:k}},oe.prototype.get=function(U){return this.evaluate(U).value},oe.prototype.set=function(U,G){for(var R=U,k=1,L=this.tokens.length-1,q=this.tokens[k];k<L;k++)R=(R||{})[q];R&&(R[this.tokens[this.tokens.length-1]]=G)},oe.prototype.push=function(U){this.tokens.push(U)},oe.prototype.add=function(U){return new oe(this.tokens.concat(String(U)))},oe}();H.Pointer=_},6480:(Ee,H)=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0}),H.clone=H.objectType=H.hasOwnProperty=void 0,H.hasOwnProperty=Object.prototype.hasOwnProperty,H.objectType=function J(_){return void 0===_?"undefined":null===_?"null":Array.isArray(_)?"array":typeof _},H.clone=function F(_){if(null==_||"object"!=typeof _)return _;if(_.constructor==Array){for(var oe=_.length,U=new Array(oe),G=0;G<oe;G++)U[G]=F(_[G]);return U}var R={};for(var k in _)H.hasOwnProperty.call(_,k)&&(R[k]=F(_[k]));return R}},5947:(Ee,H,J)=>{var F=J(9361),_=J(666),oe=_;oe.v1=F,oe.v4=_,Ee.exports=oe},8894:Ee=>{for(var H=[],J=0;J<256;++J)H[J]=(J+256).toString(16).substr(1);Ee.exports=function F(_,oe){var U=oe||0;return[H[_[U++]],H[_[U++]],H[_[U++]],H[_[U++]],"-",H[_[U++]],H[_[U++]],"-",H[_[U++]],H[_[U++]],"-",H[_[U++]],H[_[U++]],"-",H[_[U++]],H[_[U++]],H[_[U++]],H[_[U++]],H[_[U++]],H[_[U++]]].join("")}},4017:Ee=>{var H="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(H){var J=new Uint8Array(16);Ee.exports=function(){return H(J),J}}else{var F=new Array(16);Ee.exports=function(){for(var U,oe=0;oe<16;oe++)0==(3&oe)&&(U=4294967296*Math.random()),F[oe]=U>>>((3&oe)<<3)&255;return F}}},9361:(Ee,H,J)=>{var oe,U,F=J(4017),_=J(8894),G=0,R=0;Ee.exports=function k(L,q,w){var B=q&&w||0,g=q||[],M=(L=L||{}).node||oe,E=void 0!==L.clockseq?L.clockseq:U;if(null==M||null==E){var S=F();null==M&&(M=oe=[1|S[0],S[1],S[2],S[3],S[4],S[5]]),null==E&&(E=U=16383&(S[6]<<8|S[7]))}var N=void 0!==L.msecs?L.msecs:(new Date).getTime(),T=void 0!==L.nsecs?L.nsecs:R+1,z=N-G+(T-R)/1e4;if(z<0&&void 0===L.clockseq&&(E=E+1&16383),(z<0||N>G)&&void 0===L.nsecs&&(T=0),T>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");G=N,R=T,U=E;var X=(1e4*(268435455&(N+=122192928e5))+T)%4294967296;g[B++]=X>>>24&255,g[B++]=X>>>16&255,g[B++]=X>>>8&255,g[B++]=255&X;var be=N/4294967296*1e4&268435455;g[B++]=be>>>8&255,g[B++]=255&be,g[B++]=be>>>24&15|16,g[B++]=be>>>16&255,g[B++]=E>>>8|128,g[B++]=255&E;for(var re=0;re<6;++re)g[B+re]=M[re];return q||_(g)}},666:(Ee,H,J)=>{var F=J(4017),_=J(8894);Ee.exports=function oe(U,G,R){var k=G&&R||0;"string"==typeof U&&(G="binary"===U?new Array(16):null,U=null);var L=(U=U||{}).random||(U.rng||F)();if(L[6]=15&L[6]|64,L[8]=63&L[8]|128,G)for(var q=0;q<16;++q)G[k+q]=L[q];return G||_(L)}},6575:Ee=>{function H(J){var F=new Error("Cannot find module '"+J+"'");throw F.code="MODULE_NOT_FOUND",F}H.keys=()=>[],H.resolve=H,H.id=6575,Ee.exports=H},9062:()=>{}},Ee=>{Ee(Ee.s=7670)}]);
2
2
  //# sourceMappingURL=main.js.map