(self.webpackChunkusaepay_developer=self.webpackChunkusaepay_developer||[]).push([[792],{7489:(j,H,x)=>{"use strict";function E(n,e){return Object.is(n,e)}let y=null,b=!1,w=1;const D=Symbol("SIGNAL");function k(n){const e=y;return y=n,e}function R(){return y}const $={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function K(n){if(b)throw new Error("");if(null===y)return;y.consumerOnSignalRead(n);const e=y.nextProducerIndex++;if(Se(y),en.nextProducerIndex;)n.producerNode.pop(),n.producerLastReadVersion.pop(),n.producerIndexOfThis.pop()}}function Ie(n){Se(n);for(let e=0;e0}function Se(n){n.producerNode??=[],n.producerIndexOfThis??=[],n.producerLastReadVersion??=[]}function X(n){n.liveConsumerNode??=[],n.liveConsumerIndexOfThis??=[]}function ee(n){return void 0!==n.producerNode}function ae(n){const e=Object.create(st);e.computation=n;const t=()=>{if(J(e),K(e),e.value===Ue)throw e.error;return e.value};return t[D]=e,t}const ge=Symbol("UNSET"),Ce=Symbol("COMPUTING"),Ue=Symbol("ERRORED"),st={...$,value:ge,dirty:!0,error:null,equal:E,producerMustRecompute:n=>n.value===ge||n.value===Ce,producerRecomputeValue(n){if(n.value===Ce)throw new Error("Detected cycle in computations.");const e=n.value;n.value=Ce;const t=Ye(n);let s;try{s=n.computation()}catch(r){s=Ue,n.error=r}finally{Fe(n,t)}e!==ge&&e!==Ue&&s!==Ue&&n.equal(e,s)?n.value=e:(n.value=s,n.version++)}};let ws=function Kn(){throw new Error};function Kt(){ws()}let ft=null;function Te(n,e){de()||Kt(),n.equal(n.value,e)||(n.value=e,function On(n){n.version++,function se(){w++}(),ue(n),ft?.()}(n))}const Bn={...$,equal:E,value:void 0};const St=()=>{};function Ht(n){return"function"==typeof n}let Ss=!1;const Nt={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 Ss&&console.log("RxJS: Back to a better error behavior. Thank you. <3");Ss=n},get useDeprecatedSynchronousErrorHandling(){return Ss}};function Bt(n){setTimeout(()=>{throw n},0)}const en={closed:!0,next(n){},error(n){if(Nt.useDeprecatedSynchronousErrorHandling)throw n;Bt(n)},complete(){}},Fs=Array.isArray||(n=>n&&"number"==typeof n.length);function an(n){return null!==n&&"object"==typeof n}const xn=(()=>{function n(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((t,s)=>`${s+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return n.prototype=Object.create(Error.prototype),n})();class Dt{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:t,_unsubscribe:s,_subscriptions:r}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof Dt)t.remove(this);else if(null!==t)for(let o=0;oe.concat(t instanceof xn?t.errors:t),[])}Dt.EMPTY=((n=new Dt).closed=!0,n);const He="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class tn extends Dt{constructor(e,t,s){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=en;break;case 1:if(!e){this.destination=en;break}if("object"==typeof e){e instanceof tn?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new Ut(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new Ut(this,e,t,s)}}[He](){return this}static create(e,t,s){const r=new tn(e,t,s);return r.syncErrorThrowable=!1,r}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 Ut extends tn{constructor(e,t,s,r){super(),this._parentSubscriber=e;let o,c=this;Ht(t)?o=t:t&&(o=t.next,s=t.error,r=t.complete,t!==en&&(c=Object.create(t),Ht(c.unsubscribe)&&this.add(c.unsubscribe.bind(c)),c.unsubscribe=this.unsubscribe.bind(this))),this._context=c,this._next=o,this._error=s,this._complete=r}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;Nt.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:s}=Nt;if(this._error)s&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)s?(t.syncErrorValue=e,t.syncErrorThrown=!0):Bt(e),this.unsubscribe();else{if(this.unsubscribe(),s)throw e;Bt(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);Nt.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(s){if(this.unsubscribe(),Nt.useDeprecatedSynchronousErrorHandling)throw s;Bt(s)}}__tryOrSetError(e,t,s){if(!Nt.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,s)}catch(r){return Nt.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(Bt(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const yi="function"==typeof Symbol&&Symbol.observable||"@@observable";function Pt(n){return n}function vi(n){return 0===n.length?Pt:1===n.length?n[0]:function(t){return n.reduce((s,r)=>r(s),t)}}class Lt{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const t=new Lt;return t.source=this,t.operator=e,t}subscribe(e,t,s){const{operator:r}=this,o=function Xn(n,e,t){if(n){if(n instanceof tn)return n;if(n[He])return n[He]()}return n||e||t?new tn(n,e,t):new tn(en)}(e,t,s);if(r?o.add(r.call(o,this.source)):o.add(this.source||Nt.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),Nt.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(e){try{return this._subscribe(e)}catch(t){Nt.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function ze(n){for(;n;){const{closed:e,destination:t,isStopped:s}=n;if(e||s)return!1;n=t&&t instanceof tn?t:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=Nn(t))((s,r)=>{let o;o=this.subscribe(c=>{try{e(c)}catch(d){r(d),o&&o.unsubscribe()}},r,s)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[yi](){return this}pipe(...e){return 0===e.length?this:vi(e)(this)}toPromise(e){return new(e=Nn(e))((t,s)=>{let r;this.subscribe(o=>r=o,o=>s(o),()=>t(r))})}}function Nn(n){if(n||(n=Nt.Promise||Promise),!n)throw new Error("no Promise impl found");return n}Lt.create=n=>new Lt(n);const rr=(()=>{function n(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return n.prototype=Object.create(Error.prototype),n})();class Is extends Dt{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 s=t.indexOf(this.subscriber);-1!==s&&t.splice(s,1)}}class Zn extends tn{constructor(e){super(e),this.destination=e}}class ht extends Lt{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[He](){return new Zn(this)}lift(e){const t=new Ba(this,this);return t.operator=e,t}next(e){if(this.closed)throw new rr;if(!this.isStopped){const{observers:t}=this,s=t.length,r=t.slice();for(let o=0;onew Ba(n,e);class Ba extends ht{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):Dt.EMPTY}}class Ys extends ht{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 rr;return this._value}next(e){super.next(this._value=e)}}function zt(n,e){return function(s){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return s.lift(new Nu(n,e))}}class Nu{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new Ic(e,this.project,this.thisArg))}}class Ic extends tn{constructor(e,t,s){super(e),this.project=t,this.count=0,this.thisArg=s||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(s){return void this.destination.error(s)}this.destination.next(t)}}const Tl=(()=>{function n(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return n.prototype=Object.create(Error.prototype),n})();function fs(n,e){return function(s){return s.lift(new fw(n,e))}}class fw{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new Il(e,this.predicate,this.thisArg))}}class Il extends tn{constructor(e,t,s){super(e),this.predicate=t,this.thisArg=s,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(s){return void this.destination.error(s)}t&&this.destination.next(e)}}const Qe=(()=>{function n(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return n.prototype=Object.create(Error.prototype),n})(),ja=new Lt(n=>n.complete());function yr(n){return n?function bi(n){return new Lt(e=>n.schedule(()=>e.complete()))}(n):ja}function Ii(n){return e=>0===n?yr():e.lift(new Tt(n))}class Tt{constructor(e){if(this.total=e,this.total<0)throw new Qe}call(e,t){return t.subscribe(new or(e,this.total))}}class or extends tn{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,s=++this.count;s<=t&&(this.destination.next(e),s===t&&(this.destination.complete(),this.unsubscribe()))}}function Kr(n=null){return e=>e.lift(new As(n))}class As{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new Wt(e,this.defaultValue))}}class Wt extends tn{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Ds(n=ar){return e=>e.lift(new Jn(n))}class Jn{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new Ls(e,this.errorFactory))}}class Ls extends tn{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function ar(){return new Tl}function ms(n,e){const t=arguments.length>=2;return s=>s.pipe(n?fs((r,o)=>n(r,o,s)):Pt,Ii(1),t?Kr(e):Ds(()=>new Tl))}const Va="https://g.co/ng/security#xss";class le extends Error{constructor(e,t){super(mt(e,t)),this.code=e}}function mt(n,e){return`NG0${Math.abs(n)}${e?": "+e:""}`}const ya=Symbol("InputSignalNode#UNSET"),wh={...Bn,transformFn:void 0,applyValueToInputSignal(n,e){Te(n,e)}};function Al(n,e){const t=Object.create(wh);function s(){if(K(t),t.value===ya)throw new le(-950,!1);return t.value}return t.value=n,t.transformFn=e?.transform,s[D]=t,s}function Xs(n){return{toString:n}.toString()}const ri="__annotations__",Vo="__parameters__",Lc="__prop__metadata__";function Fu(n,e,t,s,r){return Xs(()=>{const o=Yu(e);function c(...d){if(this instanceof c)return o.call(this,...d),this;const h=new c(...d);return function(g){return r&&r(g,...d),(g.hasOwnProperty(ri)?g[ri]:Object.defineProperty(g,ri,{value:[]})[ri]).push(h),s&&s(g),g}}return t&&(c.prototype=Object.create(t.prototype)),c.prototype.ngMetadataName=n,c.annotationCls=c,c})}function Yu(n){return function(...t){if(n){const s=n(...t);for(const r in s)this[r]=s[r]}}}function Ct(n,e,t){return Xs(()=>{const s=Yu(e);function r(...o){if(this instanceof r)return s.apply(this,o),this;const c=new r(...o);return d.annotation=c,d;function d(h,m,g){const S=h.hasOwnProperty(Vo)?h[Vo]:Object.defineProperty(h,Vo,{value:[]})[Vo];for(;S.length<=g;)S.push(null);return(S[g]=S[g]||[]).push(c),h}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}function je(n,e,t,s){return Xs(()=>{const r=Yu(e);function o(...c){if(this instanceof o)return r.apply(this,c),this;const d=new o(...c);return function h(m,g){if(void 0===m)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const S=m.constructor,T=S.hasOwnProperty(Lc)?S[Lc]:Object.defineProperty(S,Lc,{value:{}})[Lc];T[g]=T.hasOwnProperty(g)&&T[g]||[],T[g].unshift(d),s&&s(m,g,...c)}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=n,o.annotationCls=o,o})}const Cs=globalThis;function wn(n){for(let e in n)if(n[e]===wn)return e;throw Error("Could not find renamed property on target object.")}function qt(n,e){for(const t in e)e.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=e[t])}function mn(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(mn).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 Pf(n,e){return null==n||""===n?null===e?"":e:null==e||""===e?n:n+" "+e}const Ho=wn({__forward_ref__:wn});function It(n){return n.__forward_ref__=It,n.toString=function(){return mn(this())},n}function gt(n){return Nr(n)?n():n}function Nr(n){return"function"==typeof n&&n.hasOwnProperty(Ho)&&n.__forward_ref__===It}function Ha(n,e,t){n!=e&&At(t,n,e,"==")}function At(n,e,t,s){throw new Error(`ASSERTION ERROR: ${n}`+(null==s?"":` [Expected=> ${t} ${s} ${e} <=Actual]`))}function Ae(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function es(n){return{providers:n.providers||[],imports:n.imports||[]}}function Rf(n){return A_(n,Ua)||A_(n,L_)}function A_(n,e){return n.hasOwnProperty(e)?n[e]:null}function Pc(n){return n&&(n.hasOwnProperty(Of)||n.hasOwnProperty(Sw))?n[Of]:null}const Ua=wn({\u0275prov:wn}),Of=wn({\u0275inj:wn}),L_=wn({ngInjectableDef:wn}),Sw=wn({ngInjectorDef:wn});class Re{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=Ae({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Oc(n){return n&&!!n.\u0275providers}const Li=wn({\u0275cmp:wn}),Nc=wn({\u0275dir:wn}),Fc=wn({\u0275pipe:wn}),bo=wn({\u0275mod:wn}),$a=wn({\u0275fac:wn}),Yc=wn({__NG_ELEMENT_ID__:wn}),R_=wn({__NG_ENV_ID__:wn});function Qt(n){return"string"==typeof n?n:null==n?"":String(n)}function $n(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():Qt(n)}function ba(n,e){throw new le(-201,!1)}var ln;let Pl;function Qr(){return Pl}function oi(n){const e=Pl;return Pl=n,e}function jf(n,e,t){const s=Rf(n);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:t&ln.Optional?null:void 0!==e?e:void ba()}!function(n){n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional"}(ln||(ln={}));const $o={},Vf="__NG_DI_FLAG__",Rl="ngTempTokenPath",Hf=/\n/gm,Uf="\u0275",Bc="__source";let Ms;function Zs(n){const e=Ms;return Ms=n,e}function Ol(n,e=ln.Default){if(void 0===Ms)throw new le(-203,!1);return null===Ms?jf(n,void 0,e):Ms.get(n,e&ln.Optional?null:void 0,e)}function we(n,e=ln.Default){return(Qr()||Ol)(gt(n),e)}function zn(n){throw new le(202,!1)}function me(n,e=ln.Default){return we(n,zo(e))}function zo(n){return typeof n>"u"||"number"==typeof n?n:(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function Nl(n){const e=[];for(let t=0;t ");else if("object"==typeof e){let o=[];for(let c in e)if(e.hasOwnProperty(c)){let d=e[c];o.push(c+":"+("string"==typeof d?JSON.stringify(d):mn(d)))}r=`{${o.join(", ")}}`}return`${t}${s?"("+s+")":""}[${r}]: ${n.replace(Hf,"\n ")}`}("\n"+n.message,r,t,s),n.ngTokenPath=r,n[Rl]=null,n}const qa=za(Ct("Inject",n=>({token:n})),-1),Si=za(Ct("Optional"),8),Fl=za(Ct("Self"),2),Wo=za(Ct("SkipSelf"),4),qo=za(Ct("Host"),1);function ai(n,e){return n.hasOwnProperty($a)?n[$a]:null}function Di(n){return n.flat(Number.POSITIVE_INFINITY)}function Ko(n,e){n.forEach(t=>Array.isArray(t)?Ko(t,e):e(t))}function Yl(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function wa(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function Wi(n,e){const t=[];for(let s=0;se;){const o=r-2;n[r]=n[o],r--}n[e]=t,n[e+1]=s}}function Zr(n,e,t){let s=Ga(n,e);return s>=0?n[1|s]=t:(s=~s,F_(n,s,e,t)),s}function B_(n,e){const t=Ga(n,e);if(t>=0)return n[1|t]}function Ga(n,e){return vr(n,e,1)}function vr(n,e,t){let s=0,r=n.length>>t;for(;r!==s;){const o=s+(r-s>>1),c=n[o<e?r=o:s=o+1}return~(r<e){c=o-1;break}}}for(;o-1){let o;for(;++ro?"":r[g+1].toLowerCase(),2&s&&m!==S){if(So(s))return!1;c=!0}}}}else{if(!c&&!So(s)&&!So(h))return!1;if(c&&So(h))continue;c=!1,s=h|1&s}}return So(s)||c}function So(n){return!(1&n)}function Ew(n,e,t,s){if(null===e)return-1;let r=0;if(s||!t){let o=!1;for(;r-1)for(t++;t0?'="'+d+'"':"")+"]"}else 8&s?r+="."+c:4&s&&(r+=" "+c);else""!==r&&!So(c)&&(e+=jl(o,r),r=""),s=c,o=o||!So(s);t++}return""!==r&&(e+=jl(o,r)),e}function Vl(n){return Xs(()=>{const e=Xa(n),t={...e,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===Sa.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&n.dependencies||null,getStandaloneInjector:null,signals:n.signals??!1,data:n.data||{},encapsulation:n.encapsulation||qi.Emulated,styles:n.styles||An,_:null,schemas:n.schemas||null,tView:null,id:""};Xf(t);const s=n.dependencies;return t.directiveDefs=ts(s,!1),t.pipeDefs=ts(s,!0),t.id=function Zo(n){let e=0;const t=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,n.consts,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery].join("|");for(const r of t)e=Math.imul(31,e)+r.charCodeAt(0)|0;return e+=2147483648,"c"+e}(t),t})}function Kf(n){return rn(n)||jn(n)}function Th(n){return null!==n}function Qn(n){return Xs(()=>({type:n.type,bootstrap:n.bootstrap||An,declarations:n.declarations||An,imports:n.imports||An,exports:n.exports||An,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function Qf(n,e){if(null==n)return wo;const t={};for(const s in n)if(n.hasOwnProperty(s)){const r=n[s];let o,c,d=Qo.None;Array.isArray(r)?(d=r[0],o=r[1],c=r[2]??o):(o=r,c=r),e?(t[o]=d!==Qo.None?[s,d]:s,e[o]=c):t[o]=s}return t}function Ze(n){return Xs(()=>{const e=Xa(n);return Xf(e),e})}function Gi(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function rn(n){return n[Li]||null}function jn(n){return n[Nc]||null}function Es(n){return n[Fc]||null}function Ki(n){const e=rn(n)||jn(n)||Es(n);return null!==e&&e.standalone}function Ci(n,e){const t=n[bo]||null;if(!t&&!0===e)throw new Error(`Type ${mn(n)} does not have '\u0275mod' property.`);return t}function Xa(n){const e={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:n.inputs||wo,exportAs:n.exportAs||null,standalone:!0===n.standalone,signals:!0===n.signals,selectors:n.selectors||An,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Qf(n.inputs,e),outputs:Qf(n.outputs),debugInfo:null}}function Xf(n){n.features?.forEach(e=>e(n))}function ts(n,e){if(!n)return null;const t=e?Es:Kf;return()=>("function"==typeof n?n():n).map(s=>t(s)).filter(Th)}function lr(n){return{\u0275providers:n}}function Vc(...n){return{\u0275providers:Jo(!0,n),\u0275fromNgModule:!0}}function Jo(n,...e){const t=[],s=new Set;let r;const o=c=>{t.push(c)};return Ko(e,c=>{const d=c;Ca(d,o,[],s)&&(r||=[],r.push(d))}),void 0!==r&&ea(r,o),t}function ea(n,e){for(let t=0;t{e(o,s)})}}function Ca(n,e,t,s){if(!(n=gt(n)))return!1;let r=null,o=Pc(n);const c=!o&&rn(n);if(o||c){if(c&&!c.standalone)return!1;r=n}else{const h=n.ngModule;if(o=Pc(h),!o)return!1;r=h}const d=s.has(r);if(c){if(d)return!1;if(s.add(r),c.dependencies){const h="function"==typeof c.dependencies?c.dependencies():c.dependencies;for(const m of h)Ca(m,e,t,s)}}else{if(!o)return!1;{if(null!=o.imports&&!d){let m;s.add(r);try{Ko(o.imports,g=>{Ca(g,e,t,s)&&(m||=[],m.push(g))})}finally{}void 0!==m&&ea(m,e)}if(!d){const m=ai(r)||(()=>new r);e({provide:r,useFactory:m,deps:An},r),e({provide:Bs,useValue:r,multi:!0},r),e({provide:vn,useValue:()=>we(r),multi:!0},r)}const h=o.providers;if(null!=h&&!d){const m=n;H_(h,g=>{e(g,m)})}}}return r!==n&&void 0!==n.providers}function H_(n,e){for(let t of n)Oc(t)&&(t=t.\u0275providers),Array.isArray(t)?H_(t,e):e(t)}const kw=wn({provide:String,useValue:wn});function Zf(n){return null!==n&&"object"==typeof n&&kw in n}function U_(n){return!(!n||!n.useExisting)}function $_(n){return!(!n||!n.useFactory)}function Za(n){return"function"==typeof n}const Jf=new Re(""),Hc={},em={};let tm;function Rt(){return void 0===tm&&(tm=new li),tm}class Ot{}class cn extends Ot{get destroyed(){return this._destroyed}constructor(e,t,s,r){super(),this.parent=t,this.source=s,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,sm(e,c=>this.processProvider(c)),this.records.set($f,Ja(void 0,this)),r.has("environment")&&this.records.set(Ot,Ja(void 0,this));const o=this.records.get(Jf);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Bs,An,ln.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const e=k(null);try{for(const s of this._ngOnDestroyHooks)s.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const s of t)s()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),k(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();const t=Zs(this),s=oi(void 0);try{return e()}finally{Zs(t),oi(s)}}get(e,t=$o,s=ln.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(R_))return e[R_](this);s=zo(s);const o=Zs(this),c=oi(void 0);try{if(!(s&ln.SkipSelf)){let h=this.records.get(e);if(void 0===h){const m=function Aw(n){return"function"==typeof n||"object"==typeof n&&n instanceof Re}(e)&&Rf(e);h=m&&this.injectableDefInScope(m)?Ja(Wu(e),Hc):null,this.records.set(e,h)}if(null!=h)return this.hydrate(e,h)}const d=s&ln.Self?Rt():this.parent;return t=s&ln.Optional&&t===$o?null:t,d.get(e,t)}catch(d){if("NullInjectorError"===d.name){if((d[Rl]=d[Rl]||[]).unshift(mn(e)),o)throw d;return Eh(d,e,"R3InjectorError",this.source)}throw d}finally{oi(c),Zs(o)}}resolveInjectorInitializers(){const e=k(null),t=Zs(this),s=oi(void 0);try{const o=this.get(vn,An,ln.Self);for(const c of o)c()}finally{Zs(t),oi(s),k(e)}}toString(){const e=[],t=this.records;for(const s of t.keys())e.push(mn(s));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new le(205,!1)}processProvider(e){let t=Za(e=gt(e))?e:gt(e&&e.provide);const s=function Iw(n){if(Zf(n))return Ja(void 0,n.useValue);return Ja(nm(n),Hc)}(e);if(!Za(e)&&!0===e.multi){let r=this.records.get(t);r||(r=Ja(void 0,Hc,!0),r.factory=()=>Nl(r.multi),this.records.set(t,r)),t=e,r.multi.push(e)}this.records.set(t,s)}hydrate(e,t){const s=k(null);try{return t.value===Hc&&(t.value=em,t.value=t.factory()),"object"==typeof t.value&&t.value&&function Ul(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{k(s)}}injectableDefInScope(e){if(!e.providedIn)return!1;const t=gt(e.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(e){const t=this._onDestroyHooks.indexOf(e);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Wu(n){const e=Rf(n),t=null!==e?e.factory:ai(n);if(null!==t)return t;if(n instanceof Re)throw new le(204,!1);if(n instanceof Function)return function Ih(n){if(n.length>0)throw new le(204,!1);const t=function Dh(n){return n&&(n[Ua]||n[L_])||null}(n);return null!==t?()=>t.factory(n):()=>new n}(n);throw new le(204,!1)}function nm(n,e,t){let s;if(Za(n)){const r=gt(n);return ai(r)||Wu(r)}if(Zf(n))s=()=>gt(n.useValue);else if($_(n))s=()=>n.useFactory(...Nl(n.deps||[]));else if(U_(n))s=()=>we(gt(n.useExisting));else{const r=gt(n&&(n.useClass||n.provide));if(!function ta(n){return!!n.deps}(n))return ai(r)||Wu(r);s=()=>new r(...Nl(n.deps))}return s}function Ja(n,e,t=!1){return{factory:n,value:e,multi:t?[]:void 0}}function sm(n,e){for(const t of n)Array.isArray(t)?sm(t,e):t&&Oc(t)?sm(t.\u0275providers,e):e(t)}function eo(n,e){n instanceof cn&&n.assertNotDestroyed();const s=Zs(n),r=oi(void 0);try{return e()}finally{Zs(s),oi(r)}}function z_(){return void 0!==Qr()||null!=function Mh(){return Ms}()}function Ah(n){if(!z_())throw new le(-203,!1)}var el,Lh,im;function Ws(n){const e=Cs.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}!function(n){n[n.Directive=0]="Directive",n[n.Component=1]="Component",n[n.Injectable=2]="Injectable",n[n.Pipe=3]="Pipe",n[n.NgModule=4]="NgModule"}(el||(el={})),function(n){n[n.Directive=0]="Directive",n[n.Pipe=1]="Pipe",n[n.NgModule=2]="NgModule"}(Lh||(Lh={})),function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(im||(im={}));const W_={\u0275\u0275defineInjectable:Ae,\u0275\u0275defineInjector:es,\u0275\u0275inject:we,\u0275\u0275invalidFactoryDep:zn,resolveForwardRef:gt},q_=Function;function qu(n){return"function"==typeof n}const Ma=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Lw=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,rm=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Gu=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Ve{constructor(e){this._reflect=e||Cs.Reflect}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let s;s=Wi(typeof e>"u"?t.length:e.length);for(let r=0;r"u"?s[r]=[]:e[r]&&e[r]!=Object?s[r]=[e[r]]:s[r]=[],t&&null!=t[r]&&(s[r]=s[r].concat(t[r]));return s}_ownParameters(e,t){if(function om(n){return Ma.test(n)||Gu.test(n)||Lw.test(n)&&!rm.test(n)}(e.toString()))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;const r=e.ctorParameters;if(r&&r!==t.ctorParameters){const d="function"==typeof r?r():r,h=d.map(g=>g&&g.type),m=d.map(g=>g&&$l(g.decorators));return this._zipTypesAndAnnotations(h,m)}const o=e.hasOwnProperty(Vo)&&e[Vo],c=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return c||o?this._zipTypesAndAnnotations(c,o):Wi(e.length)}parameters(e){if(!qu(e))return[];const t=Uc(e);let s=this._ownParameters(e,t);return!s&&t!==Object&&(s=this.parameters(t)),s||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let s=e.annotations;return"function"==typeof s&&s.annotations&&(s=s.annotations),s}return e.decorators&&e.decorators!==t.decorators?$l(e.decorators):e.hasOwnProperty(ri)?e[ri]:null}annotations(e){if(!qu(e))return[];const t=Uc(e),s=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(s)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let s=e.propMetadata;return"function"==typeof s&&s.propMetadata&&(s=s.propMetadata),s}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const s=e.propDecorators,r={};return Object.keys(s).forEach(o=>{r[o]=$l(s[o])}),r}return e.hasOwnProperty(Lc)?e[Lc]:null}propMetadata(e){if(!qu(e))return{};const t=Uc(e),s={};if(t!==Object){const o=this.propMetadata(t);Object.keys(o).forEach(c=>{s[c]=o[c]})}const r=this._ownPropMetadata(e,t);return r&&Object.keys(r).forEach(o=>{const c=[];s.hasOwnProperty(o)&&c.push(...s[o]),c.push(...r[o]),s[o]=c}),s}ownPropMetadata(e){return qu(e)&&this._ownPropMetadata(e,Uc(e))||{}}hasLifecycleHook(e,t){return e instanceof q_&&t in e.prototype}}function $l(n){return n?n.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function Uc(n){const e=n.prototype?Object.getPrototypeOf(n.prototype):null;return(e?e.constructor:null)||Object}const _s=0,xe=1,Je=2,js=3,Fn=4,Yi=5,cr=6,zl=7,ds=8,Js=9,Mi=10,Yt=11,$c=12,Ku=13,Bi=14,ys=15,Vs=16,Wl=17,Yr=18,to=19,am=20,ji=21,zc=22,Br=23,lt=25,ql=1,no=7,Ea=9,xs=10;var jr;function ns(n){return Array.isArray(n)&&"object"==typeof n[ql]}function qs(n){return Array.isArray(n)&&!0===n[ql]}function Rh(n){return!!(4&n.flags)}function Pi(n){return n.componentOffset>-1}function Gl(n){return!(1&~n.flags)}function Qi(n){return!!n.template}function Vr(n){return!!(512&n[Je])}function tl(n){return!(256&~n[Je])}!function(n){n[n.None=0]="None",n[n.HasTransplantedViews=2]="HasTransplantedViews"}(jr||(jr={}));class Zi{constructor(e,t,s){this.previousValue=e,this.currentValue=t,this.firstChange=s}isFirstChange(){return this.firstChange}}function Do(n,e,t,s){null!==e?e.applyValueToInputSignal(e,s):n[t]=s}function vs(){return Rw}function Rw(n){return n.type.prototype.ngOnChanges&&(n.setInput=cm),ME}function ME(){const n=Ow(this),e=n?.current;if(e){const t=n.previous;if(t===wo)n.previous=e;else for(let s in e)t[s]=e[s];n.current=null,this.ngOnChanges(e)}}function cm(n,e,t,s,r){const o=this.declaredInputs[s],c=Ow(n)||function so(n,e){return n[ka]=e}(n,{previous:wo,current:null}),d=c.current||(c.current={}),h=c.previous,m=h[o];d[o]=new Zi(m&&m.currentValue,t,h===wo),Do(n,e,r,t)}vs.ngInherit=!0;const ka="__ngSimpleChanges__";function Ow(n){return n[ka]||null}let Q_=null;const Kl=function(n,e,t){Q_?.(n,e,t)};function kn(n){for(;Array.isArray(n);)n=n[_s];return n}function na(n){for(;Array.isArray(n);){if("object"==typeof n[ql])return n;n=n[_s]}return null}function Ql(n,e){return kn(e[n])}function $r(n,e){return kn(e[n.index])}function Nh(n,e){return n.data[e]}function Ta(n,e){return n[e]}function Vi(n,e){const t=e[n];return ns(t)?t:t[_s]}function Xt(n){return!(128&~n[Je])}function Mt(n,e){return null==e?null:n[e]}function xE(n){n[Wl]=0}function kE(n){1024&n[Je]||(n[Je]|=1024,Xt(n)&&J_(n))}function TE(n,e){for(;n>0;)e=e[Bi],n--;return e}function qc(n){return!!(9216&n[Je]||n[Br]?.dirty)}function Z_(n){n[Mi].changeDetectionScheduler?.notify(8),64&n[Je]&&(n[Je]|=1024),qc(n)&&J_(n)}function J_(n){n[Mi].changeDetectionScheduler?.notify(0);let e=Zl(n);for(;null!==e&&!(8192&e[Je])&&(e[Je]|=8192,Xt(e));)e=Zl(e)}function Zu(n,e){if(!(256&~n[Je]))throw new le(911,!1);null===n[ji]&&(n[ji]=[]),n[ji].push(e)}function Yw(n,e){if(null===n[ji])return;const t=n[ji].indexOf(e);-1!==t&&n[ji].splice(t,1)}function Zl(n){const e=n[js];return qs(e)?e[js]:e}const jt={lFrame:Gw(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var um;!function(n){n[n.Off=0]="Off",n[n.Exhaustive=1]="Exhaustive",n[n.OnlyDirtyViews=2]="OnlyDirtyViews"}(um||(um={}));let IE=!1;function Ia(){return jt.bindingsEnabled}function Ju(){return null!==jt.skipHydrationRootTNode}function De(){return jt.lFrame.lView}function gn(){return jt.lFrame.tView}function hs(){let n=Vw();for(;null!==n&&64===n.type;)n=n.parent;return n}function Vw(){return jt.lFrame.currentTNode}function hm(){const n=jt.lFrame,e=n.currentTNode;return n.isParent?e:e.parent}function Aa(n,e){const t=jt.lFrame;t.currentTNode=n,t.isParent=e}function Hw(){return jt.lFrame.isParent}function ey(){jt.lFrame.isParent=!1}function pm(){return jt.lFrame.contextLView}function NE(){return IE}function FE(n){IE=n}function Ei(){const n=jt.lFrame;let e=n.bindingRootIndex;return-1===e&&(e=n.bindingRootIndex=n.tView.bindingStartIndex),e}function nl(){return jt.lFrame.bindingIndex}function YE(n){return jt.lFrame.bindingIndex=n}function sa(){return jt.lFrame.bindingIndex++}function Jl(n){const e=jt.lFrame,t=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,t}function BE(n){jt.lFrame.inI18n=n}function UP(n,e){const t=jt.lFrame;t.bindingIndex=t.bindingRootIndex=n,Uw(e)}function Uw(n){jt.lFrame.currentDirectiveIndex=n}function $w(n){const e=jt.lFrame.currentDirectiveIndex;return-1===e?null:n[e]}function fm(){return jt.lFrame.currentQueryIndex}function ty(n){jt.lFrame.currentQueryIndex=n}function zw(n){const e=n[xe];return 2===e.type?e.declTNode:1===e.type?n[Yi]:null}function jE(n,e,t){if(t&ln.SkipSelf){let r=e,o=n;for(;(r=r.parent,null===r&&!(t&ln.Host))&&(r=zw(o),!(null===r||(o=o[Bi],10&r.type))););if(null===r)return!1;e=r,n=o}const s=jt.lFrame=qw();return s.currentTNode=e,s.lView=n,!0}function Ww(n){const e=qw(),t=n[xe];jt.lFrame=e,e.currentTNode=t.firstChild,e.lView=n,e.tView=t,e.contextLView=n,e.bindingIndex=t.bindingStartIndex,e.inI18n=!1}function qw(){const n=jt.lFrame,e=null===n?null:n.child;return null===e?Gw(n):e}function Gw(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 Kw(){const n=jt.lFrame;return jt.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const VE=Kw;function Qw(){const n=Kw();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 Hi(){return jt.lFrame.selectedIndex}function sl(n){jt.lFrame.selectedIndex=n}function Ps(){const n=jt.lFrame;return Nh(n.tView,n.selectedIndex)}function Xw(){return jt.lFrame.currentNamespace}let HE=!0;function mm(){return HE}function B(n){HE=n}function wr(n,e){for(let t=e.directiveStart,s=e.directiveEnd;t=s)break}else e[h]<0&&(n[Wl]+=65536),(d>14>16&&(3&n[Je])===e&&(n[Je]+=16384,Kc(d,o)):Kc(d,o)}const ui=-1;class ss{constructor(e,t,s){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=s}}const Dr={};class ra{constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,s){s=zo(s);const r=this.injector.get(e,Dr,s);return r!==Dr||t===Dr?r:this.parentInjector.get(e,t,s)}}function Bh(n){return n!==ui}function td(n){return 32767&n}function io(n,e){let t=function UE(n){return n>>16}(n),s=e;for(;t>0;)s=s[Bi],t--;return s}let Zt=!0;function sy(n){const e=Zt;return Zt=n,e}const Zc=255,$E=5;let QP=0;const il={};function iy(n,e){const t=zE(n,e);if(-1!==t)return t;const s=e[xe];s.firstCreatePass&&(n.injectorIndex=e.length,eS(s.data,n),eS(e,null),eS(s.blueprint,null));const r=ry(n,e),o=n.injectorIndex;if(Bh(r)){const c=td(r),d=io(r,e),h=d[xe].data;for(let m=0;m<8;m++)e[o+m]=d[c+m]|h[c+m]}return e[o+8]=r,o}function eS(n,e){n.push(0,0,0,0,0,0,0,0,e)}function zE(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===e[n.injectorIndex+8]?-1:n.injectorIndex}function ry(n,e){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let t=0,s=null,r=e;for(;null!==r;){if(s=rd(r),null===s)return ui;if(t++,r=r[Bi],-1!==s.injectorIndex)return s.injectorIndex|t<<16}return ui}function oy(n,e,t){!function XP(n,e,t){let s;"string"==typeof t?s=t.charCodeAt(0)||0:t.hasOwnProperty(Yc)&&(s=t[Yc]),null==s&&(s=t[Yc]=QP++);const r=s&Zc,o=1<>$E)]|=o}(n,e,t)}function WE(n,e,t){if(t&ln.Optional||void 0!==n)return n;ba()}function tS(n,e,t,s){if(t&ln.Optional&&void 0===s&&(s=null),!(t&(ln.Self|ln.Host))){const r=n[Js],o=oi(void 0);try{return r?r.get(e,s,t&ln.Optional):jf(e,s,t&ln.Optional)}finally{oi(o)}}return WE(s,0,t)}function qE(n,e,t,s=ln.Default,r){if(null!==n){if(2048&e[Je]&&!(s&ln.Self)){const c=function jh(n,e,t,s,r){let o=n,c=e;for(;null!==o&&null!==c&&2048&c[Je]&&!(512&c[Je]);){const d=GE(o,c,t,s|ln.Self,il);if(d!==il)return d;let h=o.parent;if(!h){const m=c[am];if(m){const g=m.get(t,il,s);if(g!==il)return g}h=rd(c),c=c[Bi]}o=h}return r}(n,e,t,s,il);if(c!==il)return c}const o=GE(n,e,t,s,il);if(o!==il)return o}return tS(e,t,s,r)}function GE(n,e,t,s,r){const o=function QE(n){if("string"==typeof n)return n.charCodeAt(0)||0;const e=n.hasOwnProperty(Yc)?n[Yc]:void 0;return"number"==typeof e?e>=0?e&Zc:bs:e}(t);if("function"==typeof o){if(!jE(e,n,s))return s&ln.Host?WE(r,0,s):tS(e,t,s,r);try{let c;if(c=o(s),null!=c||s&ln.Optional)return c;ba()}finally{VE()}}else if("number"==typeof o){let c=null,d=zE(n,e),h=ui,m=s&ln.Host?e[ys][Yi]:null;for((-1===d||s&ln.SkipSelf)&&(h=-1===d?ry(n,e):e[d+8],h!==ui&&sS(s,!1)?(c=e[xe],d=td(h),e=io(h,e)):d=-1);-1!==d;){const g=e[xe];if(nS(o,d,g.data)){const S=KE(d,e,t,c,s,m);if(S!==il)return S}h=e[d+8],h!==ui&&sS(s,e[xe].data[d+8]===m)&&nS(o,d,e)?(c=g,d=td(h),e=io(h,e)):d=-1}}return r}function KE(n,e,t,s,r,o){const c=e[xe],d=c.data[n+8],g=gm(d,c,t,null==s?Pi(d)&&Zt:s!=c&&!!(3&d.type),r&ln.Host&&o===d);return null!==g?Jc(e,c,g,d):il}function gm(n,e,t,s,r){const o=n.providerIndexes,c=e.data,d=1048575&o,h=n.directiveStart,m=n.directiveEnd,g=o>>20,T=r?d+g:m;for(let I=s?d:d+g;I=h&&P.type===t)return I}if(r){const I=c[h];if(I&&Qi(I)&&I.type===t)return h}return null}function Jc(n,e,t,s){let r=n[t];const o=e.data;if(function Qc(n){return n instanceof ss}(r)){const c=r;c.resolving&&function wi(n,e){throw e&&e.join(" > "),new le(-200,n)}($n(o[t]));const d=sy(c.canSeeViewProviders);c.resolving=!0;const m=c.injectImpl?oi(c.injectImpl):null;jE(n,s,ln.Default);try{r=n[t]=c.factory(void 0,o,n,s),e.firstCreatePass&&t>=s.directiveStart&&function rt(n,e,t){const{ngOnChanges:s,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(s){const c=Rw(e);(t.preOrderHooks??=[]).push(n,c),(t.preOrderCheckHooks??=[]).push(n,c)}r&&(t.preOrderHooks??=[]).push(0-n,r),o&&((t.preOrderHooks??=[]).push(n,o),(t.preOrderCheckHooks??=[]).push(n,o))}(t,o[t],e)}finally{null!==m&&oi(m),sy(d),c.resolving=!1,VE()}}return r}function nS(n,e,t){const s=1<>$E)]&s)}function sS(n,e){return!(n&ln.Self||n&ln.Host&&e)}class os{constructor(e,t){this._tNode=e,this._lView=t}get(e,t,s){return qE(this._tNode,this._lView,e,zo(s),t)}}function bs(){return new os(hs(),De())}function Ln(n){return Xs(()=>{const e=n.prototype.constructor,t=e[$a]||id(e),s=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==s;){const o=r[$a]||id(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function id(n){return Nr(n)?()=>{const e=id(gt(n));return e&&e()}:ai(n)}function rd(n){const e=n[xe],t=e.type;return 2===t?e.declTNode:1===t?n[Yi]:null}function ro(n){return function ZP(n,e){if("class"===e)return n.classes;if("style"===e)return n.styles;const t=n.attrs;if(t){const s=t.length;let r=0;for(;r({attributeName:n,__NG_ELEMENT_ID__:()=>ro(n)}));let Vh=null;function Hh(){return Vh=Vh||new Ve}function eu(n){return ym(Hh().parameters(n))}function ym(n){return n.map(e=>function ay(n){const e={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(n)&&n.length>0)for(let t=0;t(null===t&&(t=Ws().compileInjectable(W_,`ng:///${n.name}/\u0275prov.js`,function $h(n,e){const t=e||{providedIn:null},s={name:n.name,type:n,typeArgumentCount:0,providedIn:t.providedIn};return(nu(t)||vm(t))&&void 0!==t.deps&&(s.deps=ym(t.deps)),nu(t)?s.useClass=t.useClass:function od(n){return tu in n}(t)?s.useValue=t.useValue:vm(t)?s.useFactory=t.useFactory:function Uh(n){return void 0!==n.useExisting}(t)&&(s.useExisting=t.useExisting),s}(n,e))),t)}),n.hasOwnProperty($a)||Object.defineProperty(n,$a,{get:()=>{if(null===s){const r=Ws();s=r.compileFactory(W_,`ng:///${n.name}/\u0275fac.js`,{name:n.name,type:n,typeArgumentCount:0,deps:eu(n),target:r.FactoryTarget.Injectable})}return s},configurable:!0})}const tu=wn({provide:String,useValue:wn});function nu(n){return void 0!==n.useClass}function vm(n){return void 0!==n.useFactory}const ks=Fu("Injectable",void 0,void 0,void 0,(n,e)=>rl(n,e));function ad(n,e=null,t=null,s){const r=ld(n,e,t,s);return r.resolveInjectorInitializers(),r}function ld(n,e=null,t=null,s,r=new Set){const o=[t||An,Vc(n)];return s=s||("object"==typeof n?void 0:mn(n)),new cn(o,e||Rt(),s||null,r)}class as{static#e=this.THROW_IF_NOT_FOUND=$o;static#t=this.NULL=new li;static create(e,t){if(Array.isArray(e))return ad({name:""},t,e,"");{const s=e.name??"";return ad({name:s},e.parent,e.providers,s)}}static#n=this.\u0275prov=Ae({token:as,providedIn:"any",factory:()=>we($f)});static#s=this.__NG_ELEMENT_ID__=-1}new Re("").__NG_ELEMENT_ID__=n=>{const e=hs();if(null===e)throw new le(204,!1);if(2&e.type)return e.value;if(n&ln.Optional)return null;throw new le(204,!1)};const cd="ngOriginalError";function Mn(n){return n[cd]}const cy=!0;class ei{static#e=this.__NG_ELEMENT_ID__=wm;static#t=this.__NG_ENV_ID__=e=>e}class Xe extends ei{constructor(e){super(),this._lView=e}onDestroy(e){return Zu(this._lView,e),()=>Yw(this._lView,e)}}function wm(){return new Xe(De())}class oo{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ys(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=Ae({token:oo,providedIn:"root",factory:()=>new oo})}class ve{constructor(){this.internalPendingTasks=me(oo)}add(){const e=this.internalPendingTasks.add();return()=>this.internalPendingTasks.remove(e)}static#e=this.\u0275prov=Ae({token:ve,providedIn:"root",factory:()=>new ve})}const Le=class oa extends ht{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,z_()&&(this.destroyRef=me(ei,{optional:!0})??void 0,this.pendingTasks=me(oo,{optional:!0})??void 0)}emit(e){const t=k(null);try{super.next(e)}finally{k(t)}}subscribe(e,t,s){let r=e,o=t||(()=>null),c=s;if(e&&"object"==typeof e){const h=e;r=h.next?.bind(h),o=h.error?.bind(h),c=h.complete?.bind(h)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),c&&(c=this.wrapInTimeout(c)));const d=super.subscribe({next:r,error:o,complete:c});return e instanceof Dt&&e.add(d),d}wrapInTimeout(e){return t=>{const s=this.pendingTasks?.add();setTimeout(()=>{e(t),void 0!==s&&this.pendingTasks?.remove(s)})}}};function La(...n){}function XE(n){let e,t;function s(){n=La;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==e&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{n(),s()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{n(),s()})),()=>s()}function Sm(n){return queueMicrotask(()=>n()),()=>{n=La}}const iS="isAngularZone",uy=iS+"_ID";let JP=0;class _t{constructor(e){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Le(!1),this.onMicrotaskEmpty=new Le(!1),this.onStable=new Le(!1),this.onError=new Le(!1);const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:s=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=cy}=e;if(typeof Zone>"u")throw new le(908,!1);Zone.assertZonePatched();const c=this;c._nesting=0,c._outer=c._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(c._inner=c._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(c._inner=c._inner.fork(Zone.longStackTraceZoneSpec)),c.shouldCoalesceEventChangeDetection=!r&&s,c.shouldCoalesceRunChangeDetection=r,c.callbackScheduled=!1,c.scheduleInRootZone=o,function e2(n){const e=()=>{!function ZE(n){if(n.isCheckStableRunning||n.callbackScheduled)return;function e(){XE(()=>{n.callbackScheduled=!1,oS(n),n.isCheckStableRunning=!0,dy(n),n.isCheckStableRunning=!1})}n.callbackScheduled=!0,n.scheduleInRootZone?Zone.root.run(()=>{e()}):n._outer.run(()=>{e()}),oS(n)}(n)},t=JP++;n._inner=n._inner.fork({name:"angular",properties:{[iS]:!0,[uy]:t,[uy+t]:!0},onInvokeTask:(s,r,o,c,d,h)=>{if(function ud(n){return ex(n,"__ignore_ng_zone__")}(h))return s.invokeTask(o,c,d,h);try{return JE(n),s.invokeTask(o,c,d,h)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===c.type||n.shouldCoalesceRunChangeDetection)&&e(),Co(n)}},onInvoke:(s,r,o,c,d,h,m)=>{try{return JE(n),s.invoke(o,c,d,h,m)}finally{n.shouldCoalesceRunChangeDetection&&!n.callbackScheduled&&!function t2(n){return ex(n,"__scheduler_tick__")}(h)&&e(),Co(n)}},onHasTask:(s,r,o,c)=>{s.hasTask(o,c),r===o&&("microTask"==c.change?(n._hasPendingMicrotasks=c.microTask,oS(n),dy(n)):"macroTask"==c.change&&(n.hasPendingMacrotasks=c.macroTask))},onHandleError:(s,r,o,c)=>(s.handleError(o,c),n.runOutsideAngular(()=>n.onError.emit(c)),!1)})}(c)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(iS)}static assertInAngularZone(){if(!_t.isInAngularZone())throw new le(909,!1)}static assertNotInAngularZone(){if(_t.isInAngularZone())throw new le(909,!1)}run(e,t,s){return this._inner.run(e,t,s)}runTask(e,t,s,r){const o=this._inner,c=o.scheduleEventTask("NgZoneEvent: "+r,e,rS,La,La);try{return o.runTask(c,t,s)}finally{o.cancelTask(c)}}runGuarded(e,t,s){return this._inner.runGuarded(e,t,s)}runOutsideAngular(e){return this._outer.run(e)}}const rS={};function dy(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 oS(n){n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&!0===n.callbackScheduled?n.hasPendingMicrotasks=!0:n.hasPendingMicrotasks=!1}function JE(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Co(n){n._nesting--,dy(n)}class aS{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Le,this.onMicrotaskEmpty=new Le,this.onStable=new Le,this.onError=new Le}run(e,t,s){return e.apply(t,s)}runGuarded(e,t,s){return e.apply(t,s)}runOutsideAngular(e){return e()}runTask(e,t,s,r){return e.apply(t,s)}}function ex(n,e){return!(!Array.isArray(n)||1!==n.length)&&!0===n[0]?.data?.[e]}class Mo{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e);this._console.error("ERROR",e),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(e){let t=e&&Mn(e);for(;t&&Mn(t);)t=Mn(t);return t||null}}const n2=new Re("",{providedIn:"root",factory:()=>{const n=me(_t),e=me(Mo);return t=>n.runOutsideAngular(()=>e.handleError(t))}});class tx{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=me(Mo,{optional:!0}),this.destroyRef=me(ei),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new le(953,!1);return(this.listeners??=[]).push(e),{unsubscribe:()=>{const t=this.listeners?.indexOf(e);void 0!==t&&-1!==t&&this.listeners?.splice(t,1)}}}emit(e){if(this.destroyed)throw new le(953,!1);if(null===this.listeners)return;const t=k(null);try{for(const s of this.listeners)try{s(e)}catch(r){this.errorHandler?.handleError(r)}}finally{k(t)}}}function lS(n,e){return Al(n,e)}lS.required=function s2(n){return Al(ya,n)};function Ge(){return dd(hs(),De())}function dd(n,e){return new pn($r(n,e))}class pn{constructor(e){this.nativeElement=e}static#e=this.__NG_ELEMENT_ID__=Ge}function cS(n){return n instanceof pn?n.nativeElement:n}function iu(){return this._results[Symbol.iterator]()}class zh{static#e=Symbol.iterator;get changes(){return this._changes??=new Le}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=zh.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=iu)}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){this.dirty=!1;const s=Di(e);(this._changesDetected=!function Go(n,e,t){if(n.length!==e.length)return!1;for(let s=0;sM2}),M2="ng",yx=new Re(""),zr=new Re("",{providedIn:"platform",factory:()=>"unknown"}),_y=(new Re(""),new Re("")),mS=new Re("",{providedIn:"root",factory:()=>ru().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),md={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},vx=new Re("",{providedIn:"root",factory:()=>md});function E2(){const n=new ol;return"browser"===me(zr)&&(n.store=function x2(n,e){const t=n.getElementById(e+"-state");if(t?.textContent)try{return JSON.parse(t.textContent)}catch(s){console.warn("Exception while restoring TransferState for app "+e,s)}return{}}(ru(),me(fd))),n}class ol{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=Ae({token:ol,providedIn:"root",factory:E2});get(e,t){return void 0!==this.store[e]?this.store[e]:t}set(e,t){this.store[e]=t}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(e,t){this.onSerializeCallbacks[e]=t}toJson(){for(const e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store).replace(/null;function Im(n,e,t=!1){return _d(n,e,t)}var Wr;!function(n){n.Hydrated="hydrated",n.Skipped="skipped",n.Mismatched="mismatched"}(Wr||(Wr={}));new Re("");const Cx=new Re("",{providedIn:"root",factory:()=>false});new Re(""),new Re("");let wy,yd;function Sy(){if(void 0===wy&&(wy=null,Cs.trustedTypes))try{wy=Cs.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return wy}function tp(n){return Sy()?.createHTML(n)||n}function Rm(){if(void 0===yd&&(yd=null,Cs.trustedTypes))try{yd=Cs.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return yd}function er(n){return Rm()?.createHTML(n)||n}function np(n){return Rm()?.createScript(n)||n}function TS(n){return Rm()?.createScriptURL(n)||n}class nc{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Va})`}}class kx extends nc{getTypeName(){return"HTML"}}class Tx extends nc{getTypeName(){return"Style"}}class Ix extends nc{getTypeName(){return"Script"}}class T2 extends nc{getTypeName(){return"URL"}}class Ax extends nc{getTypeName(){return"ResourceURL"}}function lo(n){return n instanceof nc?n.changingThisBreaksApplicationSecurity:n}function al(n,e){const t=function I2(n){return n instanceof nc&&n.getTypeName()||null}(n);if(null!=t&&t!==e){if("ResourceURL"===t&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${t} (see ${Va})`)}return t===e}function Px(n){const e=new Ox(n);return function mV(){try{return!!(new window.DOMParser).parseFromString(tp(""),"text/html")}catch{return!1}}()?new Rx(e):e}class Rx{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const t=(new window.DOMParser).parseFromString(tp(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.firstChild?.remove(),t)}catch{return null}}}class Ox{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){const t=this.inertDocument.createElement("template");return t.innerHTML=tp(e),t}}const au=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function on(n){return(n=String(n)).match(au)?n:"unsafe:"+n}function sc(n){const e={};for(const t of n.split(","))e[t]=!0;return e}function vd(...n){const e={};for(const t of n)for(const s in t)t.hasOwnProperty(s)&&(e[s]=!0);return e}const ll=sc("area,br,col,hr,img,wbr"),IS=sc("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Nx=sc("rp,rt"),R2=vd(Nx,IS),O2=vd(IS,sc("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")),AS=vd(Nx,sc("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")),LS=vd(ll,O2,AS,R2),PS=sc("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),N2=sc("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,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),RS=sc("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"),OS=vd(PS,N2,RS),NS=sc("script,style,template");class gV{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,s=!0,r=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?s=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,s&&t.firstChild)r.push(t),t=Y2(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=F2(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(e){const t=Fx(e).toLowerCase();if(!LS.hasOwnProperty(t))return this.sanitizedSomething=!0,!NS.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const s=e.attributes;for(let r=0;r"),!0}endElement(e){const t=Fx(e).toLowerCase();LS.hasOwnProperty(t)&&!ll.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(YS(e))}}function F2(n){const e=n.nextSibling;if(e&&n!==e.previousSibling)throw Yx(e);return e}function Y2(n){const e=n.firstChild;if(e&&function FS(n,e){return(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(n,e))throw Yx(e);return e}function Fx(n){const e=n.nodeName;return"string"==typeof e?e:"FORM"}function Yx(n){return new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`)}const B2=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,j2=/([^\#-~ |!])/g;function YS(n){return n.replace(/&/g,"&").replace(B2,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(j2,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let ic;function sp(n,e){let t=null;try{ic=ic||Px(n);let s=e?String(e):"";t=ic.getInertBodyElement(s);let r=5,o=s;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,s=o,o=t.innerHTML,t=ic.getInertBodyElement(s)}while(s!==o);return tp((new gV).sanitizeChildren(BS(t)||t))}finally{if(t){const s=BS(t)||t;for(;s.firstChild;)s.firstChild.remove()}}}function BS(n){return"content"in n&&function V2(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Er;function jx(n){const e=Om();return e?e.sanitize(Er.URL,n)||"":al(n,"URL")?lo(n):on(Qt(n))}function Vx(n){const e=Om();if(e)return TS(e.sanitize(Er.RESOURCE_URL,n)||"");if(al(n,"ResourceURL"))return TS(lo(n));throw new le(904,!1)}function Hx(n,e,t){return function z2(n,e){return"src"===e&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===e&&("base"===n||"link"===n)?Vx:jx}(e,t)(n)}function Om(){const n=De();return n&&n[Mi].sanitizer}!function(n){n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL"}(Er||(Er={}));const Ey=/^>|^->||--!>|)/g,_n="\u200b$1\u200b";function jS(n){return n.replace(Ey,e=>e.replace(q2,_n))}function Kx(n){return n.ownerDocument.body}function xo(n){return n instanceof Function?n():n}function ko(n){return"browser"===(n??me(as)).get(zr)}var rc;let Ty;function $S(n,e){return Ty(n,e)}function op(n,e,t,s,r){if(null!=s){let o,c=!1;qs(s)?o=s:ns(s)&&(c=!0,s=s[_s]);const d=kn(s);0===n&&null!==t?null==r?ZS(e,t,d):bd(e,t,d,r||null,!0):1===n&&null!==t?bd(e,t,d,r||null,!0):2===n?lp(e,d,c):3===n&&e.destroyNode(d),null!=o&&function aR(n,e,t,s,r){const o=t[no],c=kn(t);o!==c&&op(e,n,s,o,r);for(let d=xs;d0&&(n[t-1][Fn]=s[Fn]);const o=wa(n,xs+e);!function tR(n,e){Zx(n,e),e[_s]=null,e[Yi]=null}(s[xe],s);const c=o[Yr];null!==c&&c.detachView(o[xe]),s[js]=null,s[Fn]=null,s[Je]&=-129}return s}function Ay(n,e){if(!(256&e[Je])){const t=e[Yt];t.destroyNode&&Ym(n,e,t,3,null,null),function sR(n){let e=n[$c];if(!e)return KS(n[xe],n);for(;e;){let t=null;if(ns(e))t=e[$c];else{const s=e[xs];s&&(t=s)}if(!t){for(;e&&!e[Fn]&&e!==n;)ns(e)&&KS(e[xe],e),e=e[js];null===e&&(e=n),ns(e)&&KS(e[xe],e),t=e&&e[Fn]}e=t}}(e)}}function KS(n,e){if(256&e[Je])return;const t=k(null);try{e[Je]&=-129,e[Je]|=256,e[Br]&&pe(e[Br]),function rR(n,e){let t;if(null!=n&&null!=(t=n.destroyHooks))for(let s=0;s=0?s[c]():s[-c].unsubscribe(),o+=2}else{const c=s[t[o+1]];t[o].call(c)}null!==s&&(e[zl]=null);const r=e[ji];if(null!==r){e[ji]=null;for(let o=0;o-1){const{encapsulation:o}=n.data[s.directiveStart+r];if(o===qi.None||o===qi.Emulated)return null}return $r(s,t)}}function bd(n,e,t,s,r){n.insertBefore(e,t,s,r)}function ZS(n,e,t){n.appendChild(e,t)}function ek(n,e,t,s,r){null!==s?bd(n,e,t,s,r):ZS(n,e,t)}function JS(n,e){return n.parentNode(e)}function tk(n,e,t){return cl(n,e,t)}function nk(n,e,t){return 40&n.type?$r(n,t):null}!function(n){n[n.Important=1]="Important",n[n.DashCase=2]="DashCase"}(rc||(rc={}));let wd,cl=nk;function sk(n,e){cl=n,wd=e}function Ly(n,e,t,s){const r=QS(n,s,e),o=e[Yt],d=tk(s.parent||e[Yi],s,e);if(null!=r)if(Array.isArray(t))for(let h=0;hlt&&tD(n,e,lt,!1),Kl(c?2:0,r),t(s,r)}finally{sl(o),Kl(c?3:1,r)}}function cp(n,e,t){if(Rh(e)){const s=k(null);try{const r=e.directiveStart,o=e.directiveEnd;for(let c=r;cnull;function gk(n,e,t,s,r){for(let o in e){if(!e.hasOwnProperty(o))continue;const c=e[o];if(void 0===c)continue;s??={};let d,h=Qo.None;Array.isArray(c)?(d=c[0],h=c[1]):d=c;let m=o;if(null!==r){if(!r.hasOwnProperty(o))continue;m=r[o]}0===n?_k(s,t,m,d,h):_k(s,t,m,d)}return s}function _k(n,e,t,s,r){let o;n.hasOwnProperty(t)?(o=n[t]).push(e,s):o=n[t]=[e,s],void 0!==r&&o.push(r)}function co(n,e,t,s,r,o,c,d){const h=$r(e,t);let g,m=e.inputs;!d&&null!=m&&(g=m[s])?(dD(n,t,g,s,r),Pi(e)&&function vR(n,e){const t=Vi(e,n);16&t[Je]||(t[Je]|=64)}(t,e.index)):3&e.type?(s=function yR(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(s),r=null!=c?c(r,e.value||"",s):r,o.setProperty(h,s,r)):e.type}function oD(n,e,t,s){if(Ia()){const r=null===s?null:{"":-1},o=function MR(n,e){const t=n.directiveRegistry;let s=null,r=null;if(t)for(let o=0;o0;){const t=n[--e];if("number"==typeof t&&t<0)return t}return 0})(c)!=d&&c.push(d),c.push(t,s,o)}}(n,e,s,Bm(n,t,r.hostVars,nn),r)}function ul(n,e,t,s,r,o){const c=$r(n,e);lD(e[Yt],c,o,n.value,t,s,r)}function lD(n,e,t,s,r,o,c){if(null==o)n.removeAttribute(e,r,t);else{const d=null==c?Qt(o):c(o,s||"",r);n.setAttribute(e,r,d,t)}}function AR(n,e,t,s,r,o){const c=o[e];if(null!==c)for(let d=0;d0&&(t[r-1][Fn]=e),s{J_(n.lView)},consumerOnSignalRead(){this.lView[Br]=this}};const VR={...$,consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{let e=Zl(n.lView);for(;e&&!pD(e[xe]);)e=Zl(e);e&&kE(e)},consumerOnSignalRead(){this.lView[Br]=this}};function pD(n){return 2!==n.type}const hp=100;function Yy(n,e=!0,t=0){const s=n[Mi],r=s.rendererFactory;r.begin?.();try{!function HR(n,e){const t=NE();try{FE(!0),mD(n,e);let s=0;for(;qc(n);){if(s===hp)throw new le(103,!1);s++,mD(n,1)}}finally{FE(t)}}(n,t)}catch(c){throw e&&Fy(n,c),c}finally{r.end?.(),s.inlineEffectRunner?.flush()}}function $R(n,e,t,s){const r=e[Je];if(!(256&~r))return;e[Mi].inlineEffectRunner?.flush(),Ww(e);let d=!0,h=null,m=null;pD(n)?(m=NR(e),h=Ye(m)):null===R()?(d=!1,m=function jR(n){const e=n[Br]??Object.create(VR);return e.lView=n,e}(e),h=Ye(m)):e[Br]&&(pe(e[Br]),e[Br]=null);try{xE(e),YE(n.bindingStartIndex),null!==t&&hk(n,e,t,2,s);const g=!(3&~r);if(g){const I=n.preOrderCheckHooks;null!==I&&ci(e,I,null)}else{const I=n.preOrderHooks;null!==I&&ur(e,I,0,null),ot(e,0)}if(function xk(n){for(let e=ux(n);null!==e;e=dx(e)){if(!(e[Je]&jr.HasTransplantedViews))continue;const t=e[Ea];for(let s=0;s-1&&(ap(e,s),wa(t,s))}this._attachedToViewContainer=!1}Ay(this._lView[xe],this._lView)}onDestroy(e){Zu(this._lView,e)}markForCheck(){jm(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Je]&=-129}reattach(){Z_(this._lView),this._lView[Je]|=128}detectChanges(){this._lView[Je]|=1024,Yy(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new le(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const e=Vr(this._lView),t=this._lView[Vs];null!==t&&!e&&GS(t,this._lView),Zx(this._lView[xe],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new le(902,!1);this._appRef=e;const t=Vr(this._lView),s=this._lView[Vs];null!==s&&!t&&Jx(s,this._lView),Z_(this._lView)}}class dr{static#e=this.__NG_ELEMENT_ID__=uu}const Ak=dr,zR=class extends Ak{constructor(e,t,s){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=s}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,t){return this.createEmbeddedViewImpl(e,t)}createEmbeddedViewImpl(e,t,s){const r=up(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:t,dehydratedView:s});return new Md(r)}};function uu(){return Vm(hs(),De())}function Vm(n,e){return 4&n.type?new zR(e,n,dd(n,e)):null}function vD(n,e,t){const s=e.insertBeforeIndex,r=Array.isArray(s)?s[0]:s;return null===r?nk(n,0,t):kn(t[r])}function Nk(n,e,t,s,r){const o=e.insertBeforeIndex;if(Array.isArray(o)){let c=s,d=null;if(3&e.type||(d=c,c=r),null!==c&&-1===e.componentOffset)for(let h=1;h1)for(let t=n.length-2;t>=0;t--){const s=n[t];Yk(s)||JR(s,e)&&null===eO(s)&&tO(s,e.index)}}function Yk(n){return!(64&n.type)}function JR(n,e){return Yk(e)||n.index>e.index}function eO(n){const e=n.insertBeforeIndex;return Array.isArray(e)?e[0]:e}function tO(n,e){const t=n.insertBeforeIndex;Array.isArray(t)?t[0]=e:(sk(vD,Nk),n.insertBeforeIndex=e)}function mp(n,e){const t=n.data[e];return null===t||"string"==typeof t?null:t.hasOwnProperty("currentCaseLViewIndex")?t:t.value}function Ri(n,e,t){const s=nD(n,t,64,null,null);return Fk(e,s),s}function gp(n,e){const t=e[n.currentCaseLViewIndex];return null===t?t:t<0?~t:t}function Vy(n){return n>>>17}function Hy(n){return(131070&n)>>>1}function jk(n){return-1===n}function Uy(n,e,t){n.index=0;const s=gp(e,t);n.removes=null!==s?e.remove[s]:An}function $y(n){if(n.index0)return n.lView[e];{n.stack.push(n.index,n.removes);const t=~e;return Uy(n,n.lView[xe].data[t],n.lView),$y(n)}}return 0===n.stack.length?null:(n.removes=n.stack.pop(),n.index=n.stack.pop(),$y(n))}function rO(){const n={stack:[],index:-1};return function e(t,s){for(n.lView=s;n.stack.length;)n.stack.pop();return Uy(n,t.value,s),$y.bind(null,n)}}new RegExp(`^(\\d+)*(${gS}|${Em})*(.*)`);let Uk=()=>{};let hl=()=>{};let Qk=()=>null;function ac(n,e){return Qk(n,e)}class Td{}const Gm=new Re("",{providedIn:"root",factory:()=>!1}),MD=(new Re("",{providedIn:"root",factory:()=>!1}),new Re("")),Xy=new Re("");class DO{}class Zk{}const Jk="ngComponent";class MO{resolveComponentFactory(e){throw function CO(n){const e=Error(`No component factory found for ${mn(n)}.`);return e[Jk]=n,e}(e)}}class ED{static#e=this.NULL=new MO}class Id{}class Ui{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function du(){const n=De(),t=Vi(hs().index,n);return(ns(t)?t:n)[Yt]}()}class xD{static#e=this.\u0275prov=Ae({token:xD,providedIn:"root",factory:()=>null})}function kD(n){return void 0!==n.ngModule}function hu(n){return!!Ci(n)}function Zy(n){return!!Es(n)}function tT(n){return!!jn(n)}function Km(n){return!!rn(n)}function xO(n,e){if(Nr(n)&&!(n=gt(n)))throw new Error(`Expected forwardRef function, imported from "${$n(e)}", to return a standalone entity or NgModule but got "${$n(n)||n}".`);if(null==Ci(n)){const t=rn(n)||jn(n)||Es(n);if(null==t)throw kD(n)?new Error(`A module with providers was imported from "${$n(e)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${$n(n)}" type, imported from "${$n(e)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!t.standalone)throw new Error(`The "${$n(n)}" ${function EO(n){return rn(n)?"component":jn(n)?"directive":Es(n)?"pipe":"type"}(n)}, imported from "${$n(e)}", is not standalone. Did you forget to add the standalone: true flag?`)}}const TD=!0;class nT{constructor(){this.ownerNgModule=new Map,this.ngModulesWithSomeUnresolvedDecls=new Set,this.ngModulesScopeCache=new Map,this.standaloneComponentsScopeCache=new Map}resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const e of this.ngModulesWithSomeUnresolvedDecls){const t=Ci(e);if(t?.declarations)for(const s of xo(t.declarations))Km(s)&&this.ownerNgModule.set(s,e)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(e,t){this.resolveNgModulesDecls();const s=rn(e);if(null===s)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${e}`);if(s.standalone){const r=this.getStandaloneComponentScope(e,t);return r.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...r.compilation.directives,...r.compilation.pipes,...r.compilation.ngModules]}}{if(!this.ownerNgModule.has(e))return{dependencies:[]};const r=this.getNgModuleScope(this.ownerNgModule.get(e));return r.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...r.compilation.directives,...r.compilation.pipes]}}}registerNgModule(e,t){if(!hu(e))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${e}`);this.ngModulesWithSomeUnresolvedDecls.add(e)}clearScopeCacheFor(e){this.ngModulesScopeCache.delete(e),this.standaloneComponentsScopeCache.delete(e)}getNgModuleScope(e){if(this.ngModulesScopeCache.has(e))return this.ngModulesScopeCache.get(e);const t=this.computeNgModuleScope(e);return this.ngModulesScopeCache.set(e,t),t}computeNgModuleScope(e){const t=Ci(e,!0),s={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const r of xo(t.imports))if(hu(r)){const o=this.getNgModuleScope(r);pu(o.exported.directives,s.compilation.directives),pu(o.exported.pipes,s.compilation.pipes)}else{if(!Ki(r)){s.compilation.isPoisoned=!0;break}if(tT(r)||Km(r))s.compilation.directives.add(r);else{if(!Zy(r))throw new le(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");s.compilation.pipes.add(r)}}if(!s.compilation.isPoisoned)for(const r of xo(t.declarations)){if(hu(r)||Ki(r)){s.compilation.isPoisoned=!0;break}Zy(r)?s.compilation.pipes.add(r):s.compilation.directives.add(r)}for(const r of xo(t.exports))if(hu(r)){const o=this.getNgModuleScope(r);pu(o.exported.directives,s.exported.directives),pu(o.exported.pipes,s.exported.pipes),pu(o.exported.directives,s.compilation.directives),pu(o.exported.pipes,s.compilation.pipes)}else Zy(r)?s.exported.pipes.add(r):s.exported.directives.add(r);return s}getStandaloneComponentScope(e,t){if(this.standaloneComponentsScopeCache.has(e))return this.standaloneComponentsScopeCache.get(e);const s=this.computeStandaloneComponentScope(e,t);return this.standaloneComponentsScopeCache.set(e,s),s}computeStandaloneComponentScope(e,t){const s={compilation:{directives:new Set([e]),pipes:new Set,ngModules:new Set}};for(const r of Di(t??[])){const o=gt(r);try{xO(o,e)}catch{return s.compilation.isPoisoned=!0,s}if(hu(o)){s.compilation.ngModules.add(o);const c=this.getNgModuleScope(o);if(c.exported.isPoisoned)return s.compilation.isPoisoned=!0,s;pu(c.exported.directives,s.compilation.directives),pu(c.exported.pipes,s.compilation.pipes)}else if(Zy(o))s.compilation.pipes.add(o);else{if(!tT(o)&&!Km(o))return s.compilation.isPoisoned=!0,s;s.compilation.directives.add(o)}}return s}isOrphanComponent(e){const t=rn(e);return!(!t||t.standalone)&&(this.resolveNgModulesDecls(),!this.ownerNgModule.has(e))}}function pu(n,e){for(const t of n)e.add(t)}const wp=new nT;function Jy(n,e,t){let s=t?n.styles:null,r=t?n.classes:null,o=0;if(null!==e)for(let c=0;c0&&ak(n,t,o.join(" "))}}(T,Oe,P,s),void 0!==t&&function IO(n,e,t){const s=n.projection=[];for(let r=0;r0;)this.remove(this.length-1)}get(e){const t=cT(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-xs}createEmbeddedView(e,t,s){let r,o;"number"==typeof s?r=s:null!=s&&(r=s.index,o=s.injector);const c=ac(this._lContainer,e.ssrId),d=e.createEmbeddedViewImpl(t||{},o,c);return this.insertImpl(d,r,Cd(this._hostTNode,c)),d}createComponent(e,t,s,r,o){const c=e&&!qu(e);let d;if(c)d=t;else{const P=t||{};d=P.index,s=P.injector,r=P.projectableNodes,o=P.environmentInjector||P.ngModuleRef}const h=c?e:new Qm(rn(e)),m=s||this.parentInjector;if(!o&&null==h.ngModule){const Y=(c?m:this.parentInjector).get(Ot,null);Y&&(o=Y)}const g=rn(h.componentType??{}),S=ac(this._lContainer,g?.id??null),T=S?.firstChild??null,I=h.create(m,r,T,o);return this.insertImpl(I.hostView,d,Cd(this._hostTNode,S)),I}insert(e,t){return this.insertImpl(e,t,!0)}insertImpl(e,t,s){const r=e._lView;if(function Xl(n){return qs(n[js])}(r)){const d=this.indexOf(e);if(-1!==d)this.detach(d);else{const h=r[js],m=new lT(h,h[Yi],h[js]);m.detach(m.indexOf(e))}}const o=this._adjustIndex(t),c=this._lContainer;return dp(c,r,o,s),e.attachToViewContainerRef(),Yl(Ad(c),o,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=cT(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),s=ap(this._lContainer,t);s&&(wa(Ad(this._lContainer),t),Ay(s[xe],s))}detach(e){const t=this._adjustIndex(e,-1),s=ap(this._lContainer,t);return s&&null!=wa(Ad(this._lContainer),t)?new Md(s):null}_adjustIndex(e,t=0){return e??this.length+t}};function cT(n){return n[8]}function Ad(n){return n[8]||(n[8]=[])}function AD(n,e){let t;const s=e[n.index];return qs(s)?t=s:(t=bk(s,e,null,n),e[n.index]=t,Ny(e,t)),uT(t,e,n,s),new lT(t,n,e)}let uT=kr,LD=()=>!1;function PD(n,e,t){return LD(n,e,t)}function kr(n,e,t,s){if(n[no])return;let r;r=8&t.type?kn(s):function RO(n,e){const t=n[Yt],s=t.createComment(""),r=$r(e,n);return bd(t,JS(t,r),s,function oR(n,e){return n.nextSibling(e)}(t,r),!1),s}(e,t),n[no]=r}class RD{constructor(e){this.queryList=e,this.matches=null}clone(){return new RD(this.queryList)}setDirty(){this.queryList.setDirty()}}class ev{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const s=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let o=0;oe.trim())}(e):e}}class OD{constructor(e=[]){this.queries=e}elementStart(e,t){for(let s=0;s0)s.push(c[d/2]);else{const m=o[d+1],g=e[-h];for(let S=xs;S(K(e),e.value);return t[D]=e,t}(n),s=t[D];return e?.equal&&(s.equal=e.equal),t.set=r=>Te(s,r),t.update=r=>function ps(n,e){de()||Kt(),Te(n,e(n.value))}(s,r),t.asReadonly=HD.bind(t),t}function HD(){const n=this[D];if(void 0===n.readonlyFn){const e=()=>this();e[D]=n,n.readonlyFn=e}return n.readonlyFn}function UD(n){return tv(n)&&"function"==typeof n.set}function nv(n,e){let t;const s=ae(()=>{t._dirtyCounter();const r=function wT(n,e){const t=n._lView,s=n._queryIndex;if(void 0===t||void 0===s||4&t[Je])return e?void 0:An;const r=YD(t,s),o=yT(t,s);return r.reset(o,cS),e?r.first:r._changesDetected||void 0===n._flatValue?n._flatValue=r.toArray():n._flatValue}(t,n);if(e&&void 0===r)throw new le(-951,!1);return r});return t=s[D],t._dirtyCounter=Ld(0),t._flatValue=void 0,s}function $D(){return nv(!0,!1)}function bT(){return nv(!0,!0)}function lc(n,e){const t=n[D];t._lView=De(),t._queryIndex=e,t._queryList=YD(t._lView,e),t._queryList.onDirty(()=>t._dirtyCounter.update(s=>s+1))}function ST(n,e){return $D()}ST.required=function BO(n,e){return bT()};function zD(n,e){return $D()}zD.required=function WD(n,e){return bT()};function qD(n){const e=Object.create(wh),t=new tx;function s(){return K(e),DT(e.value),e.value}return e.value=n,s[D]=e,s.asReadonly=HD.bind(s),s.set=r=>{e.equal(e.value,r)||(Te(e,r),t.emit(r))},s.update=r=>{DT(e.value),s.set(r(e.value))},s.subscribe=t.subscribe.bind(t),s.destroyRef=t.destroyRef,s}function DT(n){if(n===ya)throw new le(952,!1)}function Zm(n){return qD(n)}Zm.required=function CT(){return qD(ya)};class Jm{}const KD=je("ContentChildren",(n,e={})=>({selector:n,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:true,...e}),Jm),Mp=je("ContentChild",(n,e={})=>({selector:n,first:!0,isViewQuery:!1,descendants:!0,...e}),Jm),VO=je("ViewChildren",(n,e={})=>({selector:n,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:true,...e}),Jm),qe=je("ViewChild",(n,e)=>({selector:n,first:!0,isViewQuery:!0,descendants:!0,...e}),Jm);function HO(n){const e=[],t=new Map;function s(r){let o=t.get(r);if(!o){const c=n(r);t.set(r,o=c.then(zO))}return o}return Ep.forEach((r,o)=>{const c=[];r.templateUrl&&c.push(s(r.templateUrl).then(m=>{r.template=m}));const d="string"==typeof r.styles?[r.styles]:r.styles||[];if(r.styles=d,r.styleUrl&&r.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(r.styleUrls?.length){const m=r.styles.length,g=r.styleUrls;r.styleUrls.forEach((S,T)=>{d.push(""),c.push(s(S).then(I=>{d[m+T]=I,g.splice(g.indexOf(S),1),0==g.length&&(r.styleUrls=void 0)}))})}else r.styleUrl&&c.push(s(r.styleUrl).then(m=>{d.push(m),r.styleUrl=void 0}));const h=Promise.all(c).then(()=>function WO(n){Pd.delete(n)}(o));e.push(h)}),function ET(){const n=Ep;return Ep=new Map,n}(),Promise.all(e).then(()=>{})}let Ep=new Map;const Pd=new Set;function MT(n){return!!(n.templateUrl&&!n.hasOwnProperty("template")||n.styleUrls&&n.styleUrls.length||n.styleUrl)}function zO(n){return"string"==typeof n?n:n.text()}const sv=new Map;let qO=!0;function kT(n,e){(function xT(n,e,t){if(e&&e!==t&&qO)throw new Error(`Duplicate module registered for ${n} - ${mn(e)} vs ${mn(e.name)}`)})(e,sv.get(e)||null,n),sv.set(e,n)}function ZD(n){return Object.getPrototypeOf(n.prototype).constructor}function Tn(n){let e=ZD(n.type),t=!0;const s=[n];for(;e;){let r;if(Qi(n))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new le(903,!1);r=e.\u0275dir}if(r){if(t){s.push(r);const c=n;c.inputs=rv(n.inputs),c.inputTransforms=rv(n.inputTransforms),c.declaredInputs=rv(n.declaredInputs),c.outputs=rv(n.outputs);const d=r.hostBindings;d&&XO(n,d);const h=r.viewQuery,m=r.contentQueries;if(h&&QO(n,h),m&&TT(n,m),JD(n,r),qt(n.outputs,r.outputs),Qi(r)&&r.data.animation){const g=n.data;g.animation=(g.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let c=0;c=0;s--){const r=n[s];r.hostVars=e+=r.hostVars,r.hostAttrs=Qa(r.hostAttrs,t=Qa(t,r.hostAttrs))}}(s)}function JD(n,e){for(const t in e.inputs){if(!e.inputs.hasOwnProperty(t)||n.inputs.hasOwnProperty(t))continue;const s=e.inputs[t];if(void 0!==s&&(n.inputs[t]=s,n.declaredInputs[t]=e.declaredInputs[t],null!==e.inputTransforms)){const r=Array.isArray(s)?s[0]:s;if(!e.inputTransforms.hasOwnProperty(r))continue;n.inputTransforms??={},n.inputTransforms[r]=e.inputTransforms[r]}}}function rv(n){return n===wo?{}:n===An?[]:n}function QO(n,e){const t=n.viewQuery;n.viewQuery=t?(s,r)=>{e(s,r),t(s,r)}:e}function TT(n,e){const t=n.contentQueries;n.contentQueries=t?(s,r,o)=>{e(s,r,o),t(s,r,o)}:e}function XO(n,e){const t=n.hostBindings;n.hostBindings=t?(s,r)=>{e(s,r),t(s,r)}:e}const IT=["providersResolver"],AT=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function eC(n,e,t){if(null!==n.hostDirectives)for(const s of n.hostDirectives)if("function"==typeof s){const r=s();for(const o of r)RT(ov(o),e,t)}else RT(s,e,t)}function RT(n,e,t){const s=jn(n.directive);(function ZO(n,e){for(const t in e)if(e.hasOwnProperty(t)){const s=e[t],r=n[t];n[s]=r}})(s.declaredInputs,n.inputs),eC(s,e,t),t.set(s,n),e.push(s)}function ov(n){return"function"==typeof n?{directive:gt(n),inputs:wo,outputs:wo}:{directive:gt(n.directive),inputs:OT(n.inputs),outputs:OT(n.outputs)}}function OT(n){if(void 0===n||0===n.length)return wo;const e={};for(let t=0;tt()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class nC extends tC{constructor(e){super(),this.moduleType=e}create(e){return new lv(this.moduleType,e,[])}}class sC extends Rd{constructor(e){super(),this.componentFactoryResolver=new sT(this),this.instance=null;const t=new cn([...e.providers,{provide:Rd,useValue:this},{provide:ED,useValue:this.componentFactoryResolver}],e.parent||Rt(),e.debugName,new Set(["environment"]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function eg(n,e,t=null){return new sC({providers:n,parent:e,debugName:t,runEnvironmentInitializers:!0}).injector}class cv{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(e,t,s,r){if(!this.cachedInjectors.has(e)){const o=s.length>0?eg(s,t,r):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Ae({token:cv,providedIn:"environment",factory:()=>new cv})}function uv(n){return!!iC(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function iC(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function pl(n,e,t){return n[e]=t}function tg(n,e){return n[e]}function ti(n,e,t){const s=n[e];return!Object.is(s,t)&&(n[e]=t,!0)}function fu(n,e,t,s){const r=ti(n,e,t);return ti(n,e+1,s)||r}function dv(n,e,t,s,r){const o=fu(n,e,t,s);return ti(n,e+2,r)||o}function la(n,e,t,s,r,o){const c=fu(n,e,t,s);return fu(n,e+2,r,o)||c}function kp(n){return!(32&~n.flags)}function ng(n,e,t,s,r,o,c,d,h,m){const g=t+lt,S=e.firstCreatePass?function VV(n,e,t,s,r,o,c,d,h){const m=e.consts,g=Dd(e,n,4,c||null,d||null);oD(e,t,g,Mt(m,h)),wr(e,g);const S=g.tView=rD(2,g,s,r,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,m,null);return null!==e.queries&&(e.queries.template(e,g),S.queries=e.queries.embeddedTView(g)),g}(g,e,n,s,r,o,c,d,h):e.data[g];Aa(S,!1);const T=rC(e,n,S,t);mm()&&Ly(e,n,T,S),Mr(T,n);const I=bk(T,n,T,S);return n[g]=I,Ny(n,I),PD(I,S,n),Gl(S)&&sD(e,n,S),null!=h&&iD(n,S,m),S}let rC=Tp;function Tp(n,e,t,s){return B(!0),e[Yt].createComment("")}var hi;!function(n){n[n.NOT_STARTED=0]="NOT_STARTED",n[n.IN_PROGRESS=1]="IN_PROGRESS",n[n.COMPLETE=2]="COMPLETE",n[n.FAILED=3]="FAILED"}(hi||(hi={}));const oC=0,rN=1;var pi,Ip;!function(n){n[n.Placeholder=0]="Placeholder",n[n.Loading=1]="Loading",n[n.Complete=2]="Complete",n[n.Error=3]="Error"}(pi||(pi={})),function(n){n[n.Initial=-1]="Initial"}(Ip||(Ip={}));const Ir=0,sg=1,ig=2,hv=3,YT=4,aC=5;var lC,Nd;function pv(n,e,t){const s=1===n?aC:YT;null===e[s]&&(e[s]=[]),e[s].push(t)}function cC(n,e){const t=1===n?aC:YT,s=e[t];if(null!==s){for(const r of s)r();e[t]=null}}function Od(n){cC(1,n),cC(0,n)}!function(n){n[n.Manual=0]="Manual",n[n.Playthrough=1]="Playthrough"}(lC||(lC={})),function(n){n[n.EarlyRead=0]="EarlyRead",n[n.Write=1]="Write",n[n.MixedReadWrite=2]="MixedReadWrite",n[n.Read=3]="Read"}(Nd||(Nd={}));class rg{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=Ae({token:rg,providedIn:"root",factory:()=>new rg})}class Io{constructor(){this.ngZone=me(_t),this.scheduler=me(Td),this.errorHandler=me(Mo,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[Nd.EarlyRead,Nd.Write,Nd.MixedReadWrite,Nd.Read];execute(){this.executing=!0;for(const e of Io.PHASES)for(const t of this.sequences)if(!t.erroredOrDestroyed&&t.hooks[e])try{t.pipelinedValue=this.ngZone.runOutsideAngular(()=>t.hooks[e](t.pipelinedValue))}catch(s){t.erroredOrDestroyed=!0,this.errorHandler?.handleError(s)}this.executing=!1;for(const e of this.sequences)e.afterRun(),e.once&&(this.sequences.delete(e),e.destroy());for(const e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(6))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}static#t=this.\u0275prov=Ae({token:Io,providedIn:"root",factory:()=>new Io})}class oN{constructor(e,t,s,r){this.impl=e,this.hooks=t,this.once=s,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=r?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}}function og(n,e){!e?.injector&&Ah();const t=e?.injector??me(as);return ko(t)?(Tr("NgAfterNextRender"),BT(n,t,e,!0)):jT}function BT(n,e,t,s){const r=e.get(rg);r.impl??=e.get(Io);const o=t?.phase??Nd.MixedReadWrite,c=!0!==t?.manualCleanup?e.get(ei):null,d=new oN(r.impl,function lN(n,e){if(n instanceof Function){const t=[void 0,void 0,void 0,void 0];return t[e]=n,t}return[n.earlyRead,n.write,n.mixedReadWrite,n.read]}(n,o),s,c);return r.impl.register(d),d}const jT={destroy(){}};function Ap(n){return n+1}function Fd(n,e){n[xe];return n[Ap(e.index)]}function Ao(n,e){const t=Ap(e.index);return n.data[t]}function uC(n,e){return e===pi.Placeholder?n.placeholderBlockConfig?.[oC]??null:e===pi.Loading?n.loadingBlockConfig?.[oC]??null:null}function HT(n){return n.loadingBlockConfig?.[rN]??null}function UT(n,e){if(!n||0===n.length)return e;const t=new Set(n);for(const s of e)t.add(s);return n.length===t.size?n:Array.from(t)}const Lp={passive:!0,capture:!0},dC=new WeakMap,fv=new WeakMap,Bd=new WeakMap,$T=["click","keydown"],mv=["mouseenter","focusin"];let Pp=null,hC=0;class pC{constructor(){this.callbacks=new Set,this.listener=()=>{for(const e of this.callbacks)e()}}}function zT(n,e){let t=fv.get(n);if(!t){t=new pC,fv.set(n,t);for(const s of $T)n.addEventListener(s,t.listener,Lp)}return t.callbacks.add(e),()=>{const{callbacks:s,listener:r}=t;if(s.delete(e),0===s.size){fv.delete(n);for(const o of $T)n.removeEventListener(o,r,Lp)}}}function WT(n,e){let t=dC.get(n);if(!t){t=new pC,dC.set(n,t);for(const s of mv)n.addEventListener(s,t.listener,Lp)}return t.callbacks.add(e),()=>{const{callbacks:s,listener:r}=t;if(s.delete(e),0===s.size){for(const o of mv)n.removeEventListener(o,r,Lp);dC.delete(n)}}}function fC(n,e,t){const s=t.get(_t);let r=Bd.get(n);return Pp=Pp||s.runOutsideAngular(()=>new IntersectionObserver(o=>{for(const c of o)c.isIntersecting&&Bd.has(c.target)&&s.run(Bd.get(c.target).listener)})),r||(r=new pC,s.runOutsideAngular(()=>Pp.observe(n)),Bd.set(n,r),hC++),r.callbacks.add(e),()=>{Bd.has(n)&&(r.callbacks.delete(e),0===r.callbacks.size&&(Pp?.unobserve(n),Bd.delete(n),hC--),0===hC&&(Pp?.disconnect(),Pp=null))}}function Rp(n,e,t,s,r,o,c){const d=n[Js],h=d.get(_t);og({read:function m(){if(tl(n))return;const g=Fd(n,e),S=g[sg];if(S!==Ip.Initial&&S!==pi.Placeholder)return;const T=function qT(n,e,t){return null==t?n:t>=0?TE(t,n):n[e.index][xs]??null}(n,e,s);if(!T)return void og({read:m},{injector:d});if(tl(T))return;const I=function GT(n,e){return Ql(lt+e,n)}(T,t),P=r(I,()=>{h.run(()=>{n!==T&&Yw(T,P),o()})},d);n!==T&&Zu(T,P),pv(c,g,P)}},{injector:d})}function KT(n,e){const s=e[Js].get(jd);return s.add(n),()=>s.remove(n)}class jd{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=me(_t),this.requestIdleCallbackFn=(typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout).bind(globalThis),this.cancelIdleCallbackFn=(typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout).bind(globalThis)}add(e){(this.executingCallbacks?this.deferred:this.current).add(e),null===this.idleId&&this.scheduleIdleCallback()}remove(e){const{current:t,deferred:s}=this;t.delete(e),s.delete(e),0===t.size&&0===s.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const e=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const t of this.current)t();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const t of this.deferred)this.current.add(t);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(e))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static#e=this.\u0275prov=Ae({token:jd,providedIn:"root",factory:()=>new jd})}function QT(n){return(e,t)=>fN(n,e,t)}function fN(n,e,t){const r=t[Js].get(gv);return r.add(n,e),()=>r.remove(e)}class gv{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(e,t){const s=this.executingCallbacks?this.deferred:this.current;this.addToQueue(s,Date.now()+e,t),this.scheduleTimer()}remove(e){const{current:t,deferred:s}=this;-1===this.removeFromQueue(t,e)&&this.removeFromQueue(s,e),0===t.length&&0===s.length&&this.clearTimeout()}addToQueue(e,t,s){let r=e.length;for(let o=0;ot){r=o;break}F_(e,r,t,s)}removeFromQueue(e,t){let s=-1;for(let r=0;r-1&&Xr(e,s,2),s}scheduleTimer(){const e=()=>{this.clearTimeout(),this.executingCallbacks=!0;const s=[...this.current],r=Date.now();for(let c=0;c=0&&Xr(this.current,0,o+1),this.executingCallbacks=!1,this.deferred.length>0){for(let c=0;c0){const s=Date.now(),r=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-r>16){this.clearTimeout();const o=Math.max(r-s,16);this.invokeTimerAt=r,this.timeoutId=setTimeout(e,o)}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static#e=this.\u0275prov=Ae({token:gv,providedIn:"root",factory:()=>new gv})}new Re("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR");const mN=new Re("");function _v(n){return n.get(mN,null,{optional:!0})?.behavior!==lC.Manual&&ko(n)}let mC=null;function n1(n){const e=De(),t=hs();if(Op(e,t),ko(e[Js])){const s=n(()=>Np(e,t),e);pv(0,Fd(e,t),s)}}function _C(n){const e=De();if(ko(e[Js])){const t=hs(),r=Ao(e[xe],t);if(r.loadingState===hi.NOT_STARTED){pv(1,Fd(e,t),n(()=>lg(r,e,t),e))}}}function cc(n,e,t,s=!1){const r=t[js],o=r[xe];if(tl(r))return;const c=Fd(r,e);if(i1(c[sg],n)&&i1(c[Ir]??-1,n)){const h=r[Js],m=Ao(o,e),S=s||!ko(h)||null===HT(m)&&null===uC(m,pi.Loading)&&!uC(m,pi.Placeholder)?s1:mC;try{S(n,c,t,e,r)}catch(T){Fy(r,T)}}}function yC(n,e,t){return n.get(cv).getOrCreateInjector(e,n,t,"")}function s1(n,e,t,s,r){const o=function uN(n,e,t){const r=Ao(e[xe],t);switch(n){case pi.Complete:return r.primaryTmplIndex;case pi.Loading:return r.loadingTmplIndex;case pi.Error:return r.errorTmplIndex;case pi.Placeholder:return r.placeholderTmplIndex;default:return null}}(n,r,s);if(null!==o){e[sg]=n;const c=r[xe],h=Nh(c,o+lt),m=0;let g;if(cu(t,m),n===pi.Complete){const I=Ao(c,s),P=I.providers;P&&P.length>0&&(g=function bN(n,e,t){if(n instanceof ra){const r=n.injector,c=yC(n.parentInjector,e,t);return new ra(r,c)}const s=n.get(Ot);if(s!==n){const r=yC(s,e,t);return new ra(n,r)}return yC(n,e,t)}(r[Js],I,P))}const S=ac(t,h.tView.ssrId),T=up(r,h,null,{dehydratedView:S,injector:g});dp(t,T,m,Cd(h,S)),jm(T,2)}}function wN(n,e,t,s,r){const o=Date.now(),d=Ao(r[xe],s);if(null===e[ig]||e[ig]<=o){e[ig]=null;const h=HT(d),m=null!==e[hv];if(n!==pi.Loading||null===h||m){n>pi.Loading&&m&&(e[hv](),e[hv]=null,e[Ir]=null),s1(n,e,t,s,r);const g=uC(d,n);null!==g&&(e[ig]=o+g,SN(g,e,s,t,r))}else{e[Ir]=n;const g=SN(h,e,s,t,r);e[hv]=g}}else e[Ir]=n}function SN(n,e,t,s,r){return fN(n,()=>{const c=e[Ir];e[ig]=null,e[Ir]=null,null!==c&&cc(c,t,s)},r)}function i1(n,e){return n{let S=!1;const T=[],I=[];for(const P of g){if("fulfilled"!==P.status){S=!0;break}{const Y=P.value,z=rn(Y)||jn(Y);if(z)T.push(z);else{const Q=Es(Y);Q&&I.push(Q)}}}if(n.loadingPromise=null,h.remove(m),S){if(n.loadingState=hi.FAILED,null===n.errorTmplIndex){const Y=new le(750,!1);Fy(e,Y)}}else{n.loadingState=hi.COMPLETE;const P=c.tView;if(T.length>0){P.directiveRegistry=UT(P.directiveRegistry,T);const z=Jo(!1,...T.map(Q=>Q.type));n.providers=z}I.length>0&&(P.pipeRegistry=UT(P.pipeRegistry,I))}}),n.loadingPromise):(n.loadingPromise=Promise.resolve().then(()=>{n.loadingPromise=null,n.loadingState=hi.COMPLETE,h.remove(m)}),n.loadingPromise)}function Op(n,e){const t=n[e.index];cc(pi.Placeholder,e,t)}function r1(n,e,t){n.loadingPromise.then(()=>{n.loadingState===hi.COMPLETE?cc(pi.Complete,e,t):n.loadingState===hi.FAILED&&cc(pi.Error,e,t)})}function Np(n,e){const t=n[xe],s=n[e.index];if(!_v(n[Js]))return;const o=Fd(n,e),c=Ao(t,e);switch(Od(o),c.loadingState){case hi.NOT_STARTED:cc(pi.Loading,e,s),vC(c,n,e),c.loadingState===hi.IN_PROGRESS&&r1(c,e,s);break;case hi.IN_PROGRESS:cc(pi.Loading,e,s),r1(c,e,s);break;case hi.COMPLETE:cc(pi.Complete,e,s);break;case hi.FAILED:cc(pi.Error,e,s)}}function ca(n,e,t,s){const r=De();if(ti(r,sa(),e)){gn();ul(Ps(),r,n,e,t,s)}return ca}function Fp(n,e){let t=!1,s=nl();for(let o=1;o>17&32767}function V(n){return 2|n}function Z(n){return(131068&n)>>2}function he(n,e){return-131069&n|e<<2}function Be(n){return 1|n}function pt(n,e,t,s,r,o){let c=o?e.classBindings:e.styleBindings,d=M(c),h=Z(c);n[s]=t;let g,m=!1;if(Array.isArray(t)){const S=t;g=S[1],(null===g||Ga(S,g)>0)&&(m=!0)}else g=t;if(r)if(0!==h){const T=M(n[d+1]);n[s+1]=v(T,d),0!==T&&(n[T+1]=he(n[T+1],s)),n[d+1]=function O(n,e){return 131071&n|e<<17}(n[d+1],s)}else n[s+1]=v(d,0),0!==d&&(n[d+1]=he(n[d+1],s)),d=s;else n[s+1]=v(h,0),0===d?d=s:n[h+1]=he(n[h+1],s),h=s;m&&(n[s+1]=V(n[s+1])),tr(n,g,s,!0),tr(n,g,s,!1),function yn(n,e,t,s,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof e&&Ga(o,e)>=0&&(t[s+1]=Be(t[s+1]))}(e,g,n,s,o),c=v(d,h),o?e.classBindings=c:e.styleBindings=c}function tr(n,e,t,s){const r=n[t+1],o=null===e;let c=s?M(r):Z(r),d=!1;for(;0!==c&&(!1===d||o);){const h=n[c],m=n[c+1];ua(h,e)&&(d=!0,n[c+1]=s?Be(m):V(m)),c=s?M(m):Z(m)}d&&(n[t+1]=s?V(r):Be(r))}function ua(n,e){return null===n||null==e||(Array.isArray(n)?n[1]:n)===e||!(!Array.isArray(n)||"string"!=typeof e)&&Ga(n,e)>=0}const Wn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function hg(n){return n.substring(Wn.key,Wn.keyEnd)}function CN(n){return n.substring(Wn.value,Wn.valueEnd)}function KV(n,e){const t=Wn.textEnd;return t===e?-1:(e=Wn.keyEnd=function E7(n,e,t){for(;e32;)e++;return e}(n,Wn.key=e,t),yv(n,e,t))}function QV(n,e){const t=Wn.textEnd;let s=Wn.key=yv(n,e,t);return t===s?-1:(s=Wn.keyEnd=function x7(n,e,t){let s;for(;e=65&&(-33&s)<=90||s>=48&&s<=57);)e++;return e}(n,s,t),s=ZV(n,s,t,58),s=Wn.value=yv(n,s,t),s=Wn.valueEnd=function k7(n,e,t){let s=-1,r=-1,o=-1,c=e,d=c;for(;c32&&(d=c),o=r,r=s,s=-33&h}return d}(n,s,t),ZV(n,s,t,59))}function XV(n){Wn.key=0,Wn.keyEnd=0,Wn.value=0,Wn.valueEnd=0,Wn.textEnd=n.length}function yv(n,e,t){for(;e=0;t=QV(e,t))iH(n,hg(e),CN(e))}function tH(n){dc(O7,gu,n,!0)}function gu(n,e){for(let t=function pg(n){return XV(n),KV(n,yv(n,0,Wn.textEnd))}(e);t>=0;t=KV(e,t))Zr(n,hg(e),!0)}function uc(n,e,t,s){const r=De(),o=gn(),c=Jl(2);if(o.firstUpdatePass&&sH(o,n,c,s),e!==nn&&ti(r,c,e)){rH(o,o.data[Hi()],r,r[Yt],n,r[c+1]=function F7(n,e){return null==n||""===n||("string"==typeof e?n+=e:"object"==typeof n&&(n=mn(lo(n)))),n}(e,t),s,c)}}function dc(n,e,t,s){const r=gn(),o=Jl(2);r.firstUpdatePass&&sH(r,null,o,s);const c=De();if(t!==nn&&ti(c,o,t)){const d=r.data[Hi()];if(aH(d,s)&&!nH(r,o)){let h=s?d.classesWithoutHost:d.stylesWithoutHost;null!==h&&(t=Pf(h,t||"")),MN(r,d,c,t,s)}else!function N7(n,e,t,s,r,o,c,d){r===nn&&(r=An);let h=0,m=0,g=0=n.expandoStartIndex}function sH(n,e,t,s){const r=n.data;if(null===r[t+1]){const o=r[Hi()],c=nH(n,t);aH(o,s)&&null===e&&!c&&(e=!1),e=function I7(n,e,t,s){const r=$w(n);let o=s?e.residualClasses:e.residualStyles;if(null===r)0===(s?e.classBindings:e.styleBindings)&&(t=EN(null,n,e,t,s),t=bC(t,e.attrs,s),o=null);else{const c=e.directiveStylingLast;if(-1===c||n[c]!==r)if(t=EN(r,n,e,t,s),null===o){let h=function A7(n,e,t){const s=t?e.classBindings:e.styleBindings;if(0!==Z(s))return n[M(s)]}(n,e,s);void 0!==h&&Array.isArray(h)&&(h=EN(null,n,e,h[1],s),h=bC(h,e.attrs,s),function L7(n,e,t,s){const r=t?e.classBindings:e.styleBindings;n[M(r)]=s}(n,e,s,h))}else o=function P7(n,e,t){let s;const r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){const h=n[r],m=Array.isArray(h),g=m?h[1]:h,S=null===g;let T=t[r+1];T===nn&&(T=S?An:void 0);let I=S?B_(T,s):g===s?T:void 0;if(m&&!c1(I)&&(I=B_(h,s)),c1(I)&&(d=I,c))return d;const P=n[r+1];r=c?M(P):Z(P)}if(null!==e){let h=o?e.residualClasses:e.residualStyles;null!=h&&(d=B_(h,s))}return d}function c1(n){return void 0!==n}function aH(n,e){return!!(n.flags&(e?8:16))}class G7{destroy(e){}updateValue(e,t){}swap(e,t){const s=Math.min(e,t),r=Math.max(e,t),o=this.detach(r);if(r-s>1){const c=this.detach(s);this.attach(s,o),this.attach(r,c)}else this.attach(s,o)}move(e,t){this.attach(t,this.detach(e))}}function xN(n,e,t,s,r){return n===t&&Object.is(e,s)?1:Object.is(r(n,e),r(t,s))?-1:0}function kN(n,e,t,s){return!(void 0===e||!e.has(s))&&(n.attach(t,e.get(s)),e.delete(s),!0)}function lH(n,e,t,s,r){if(kN(n,e,s,t(s,r)))n.updateValue(s,r);else{const o=n.create(s,r);n.attach(s,o)}}function cH(n,e,t,s){const r=new Set;for(let o=e;o<=t;o++)r.add(s(o,n.at(o)));return r}class uH{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;const t=this.kvMap.get(e);return void 0!==this._vMap&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let s=this.kvMap.get(e);void 0===this._vMap&&(this._vMap=new Map);const r=this._vMap;for(;r.has(s);)s=r.get(s);r.set(s,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,s]of this.kvMap)if(e(s,t),void 0!==this._vMap){const r=this._vMap;for(;r.has(s);)s=r.get(s),e(s,t)}}}class X7{constructor(e,t,s){this.lContainer=e,this.$implicit=t,this.$index=s}get $count(){return this.lContainer.length-xs}}class e9{constructor(e,t,s){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=s}}class n9 extends G7{constructor(e,t,s){super(),this.lContainer=e,this.hostLView=t,this.templateTNode=s,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-xs}at(e){return this.getLView(e)[ds].$implicit}attach(e,t){const s=t[cr];this.needsIndexUpdate||=e!==this.length,dp(this.lContainer,t,e,Cd(this.templateTNode,s))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,function i9(n,e){return ap(n,e)}(this.lContainer,e)}create(e,t){const s=ac(this.lContainer,this.templateTNode.tView.ssrId),r=up(this.hostLView,this.templateTNode,new X7(this.lContainer,t,e),{dehydratedView:s});return this.operationsCounter?.recordCreate(),r}destroy(e){Ay(e[xe],e),this.operationsCounter?.recordDestroy()}updateValue(e,t){this.getLView(e)[ds].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(B(!0),Iy(s,r,Xw()));function IN(n,e,t){const s=De(),r=gn(),o=n+lt,c=r.firstCreatePass?function c9(n,e,t,s,r){const o=e.consts,c=Mt(o,s),d=Dd(e,n,8,"ng-container",c);return null!==c&&Jy(d,c,!0),oD(e,t,d,Mt(o,r)),null!==e.queries&&e.queries.elementStart(e,d),d}(o,r,s,e,t):r.data[o];Aa(c,!0);const d=pH(r,s,c,n);return s[o]=d,mm()&&Ly(r,s,d,c),Mr(d,s),Gl(c)&&(sD(r,s,c),cp(r,c,s)),null!=t&&iD(s,c),IN}function AN(){let n=hs();const e=gn();return Hw()?ey():(n=n.parent,Aa(n,!1)),e.firstCreatePass&&(wr(e,n),Rh(n)&&e.queries.elementEnd(n)),AN}let pH=(n,e,t,s)=>(B(!0),qS(e[Yt],""));const mg=void 0;var f9=["en",[["a","p"],["AM","PM"],mg],[["AM","PM"],mg,mg],[["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"]],mg,[["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"]],mg,[["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}",mg,"{1} 'at' {0}",mg],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function p9(n){const t=Math.floor(Math.abs(n)),s=n.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===s?1:5}];let vv={};function Lo(n){const e=function m9(n){return n.toLowerCase().replace(/_/g,"-")}(n);let t=_H(e);if(t)return t;const s=e.split("-")[0];if(t=_H(s),t)return t;if("en"===s)return f9;throw new le(701,!1)}function gH(n){return Lo(n)[Hs.PluralCase]}function _H(n){return n in vv||(vv[n]=Cs.ng&&Cs.ng.common&&Cs.ng.common.locales&&Cs.ng.common.locales[n]),vv[n]}var Hs;!function(n){n[n.LocaleId=0]="LocaleId",n[n.DayPeriodsFormat=1]="DayPeriodsFormat",n[n.DayPeriodsStandalone=2]="DayPeriodsStandalone",n[n.DaysFormat=3]="DaysFormat",n[n.DaysStandalone=4]="DaysStandalone",n[n.MonthsFormat=5]="MonthsFormat",n[n.MonthsStandalone=6]="MonthsStandalone",n[n.Eras=7]="Eras",n[n.FirstDayOfWeek=8]="FirstDayOfWeek",n[n.WeekendRange=9]="WeekendRange",n[n.DateFormat=10]="DateFormat",n[n.TimeFormat=11]="TimeFormat",n[n.DateTimeFormat=12]="DateTimeFormat",n[n.NumberSymbols=13]="NumberSymbols",n[n.NumberFormats=14]="NumberFormats",n[n.CurrencyCode=15]="CurrencyCode",n[n.CurrencySymbol=16]="CurrencySymbol",n[n.CurrencyName=17]="CurrencyName",n[n.Currencies=18]="Currencies",n[n.Directionality=19]="Directionality",n[n.PluralCase=20]="PluralCase",n[n.ExtraData=21]="ExtraData"}(Hs||(Hs={}));const g9=["zero","one","two","few","many"];const p1="en-US",f1={marker:"element"},m1={marker:"ICU"};var Po;!function(n){n[n.SHIFT=2]="SHIFT",n[n.APPEND_EAGERLY=1]="APPEND_EAGERLY",n[n.COMMENT=2]="COMMENT"}(Po||(Po={}));let yH=p1;let SC=0,DC=0;function vH(n,e,t){const s=n[Yt];switch(t){case Node.COMMENT_NODE:return qS(s,e);case Node.TEXT_NODE:return zS(s,e);case Node.ELEMENT_NODE:return Iy(s,e,null)}}let CC=(n,e,t,s)=>(B(!0),vH(n,t,s));function bH(n,e,t,s){const r=t[Yt];let c,o=null;for(let d=0;d>>1,I=e[++d],P=e[++d];lD(r,Ql(T,t),null,null,I,P,null)}else switch(h){case m1:const m=e[++d],g=e[++d];if(null===t[g]){Mr(t[g]=CC(t,g,m,Node.COMMENT_NODE),t)}break;case f1:const S=e[++d],T=e[++d];if(null===t[T]){Mr(t[T]=CC(t,T,S,Node.ELEMENT_NODE),t)}}}}function wH(n,e,t,s,r){for(let o=0;o>>2;switch(3&g){case 1:const T=t[++m],I=t[++m],P=n.data[S];"string"==typeof P?lD(e[Yt],e[S],null,P,T,h,I):co(n,P,e,T,h,e[Yt],I,!1);break;case 0:const Y=e[S];null!==Y&&WS(e[Yt],Y,h);break;case 2:E9(n,mp(n,S),e,h);break;case 3:SH(n,mp(n,S),s,e)}}}}else{const h=t[o+1];if(h>0&&!(3&~h)){const g=mp(n,h>>>2);e[g.currentCaseLViewIndex]<0&&SH(n,g,s,e)}}o+=d}}function SH(n,e,t,s){let r=s[e.currentCaseLViewIndex];if(null!==r){let o=SC;r<0&&(r=s[e.currentCaseLViewIndex]=~r,o=-1),wH(n,s,e.update[r],t,o)}}function E9(n,e,t,s){const r=function x9(n,e){let t=n.cases.indexOf(e);if(-1===t)switch(n.type){case 1:{const s=function _9(n,e){const t=gH(e)(parseInt(n,10)),s=g9[t];return void 0!==s?s:"other"}(e,function b9(){return yH}());t=n.cases.indexOf(s),-1===t&&"other"!==s&&(t=n.cases.indexOf("other"));break}case 0:t=n.cases.indexOf("other")}return-1===t?null:t}(e,s);if(gp(e,t)!==r&&(DH(n,e,t),t[e.currentCaseLViewIndex]=null===r?null:~r,null!==r)){const c=t[e.anchorIdx];c&&bH(n,e.create[r],t,c),function bO(n,e,t){hl(n,e,t)}(t,e.anchorIdx,r)}}function DH(n,e,t){let s=gp(e,t);if(null!==s){const r=e.remove[s];for(let o=0;o0){const d=Ql(c,t);null!==d&&lp(t[Yt],d)}else DH(n,mp(n,~c),t)}}}const g1=/\ufffd(\d+):?\d*\ufffd/gi,k9=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,T9=/\ufffd(\d+)\ufffd/,MH=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,MC="\ufffd",I9=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,A9=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,L9=/\uE500/g;function R9(n,e,t,s,r,o){const c=hm(),d=[],h=[],m=[[]],g=[[]];r=function Y9(n,e){if(jk(e))return kH(n);{const t=n.indexOf(`:${e}${MC}`)+2+e.toString().length,s=n.search(new RegExp(`${MC}\\/\\*\\d+:${e}${MC}`));return kH(n.substring(t,s))}}(r,o);const S=function P9(n){return n.replace(L9," ")}(r).split(A9);for(let T=0;Tt.length&&t.push(h)}return{type:s,mainBinding:r,cases:e,values:t}}function LN(n){if(!n)return[];let e=0;const t=[],s=[],r=/[{}]/g;let o;for(r.lastIndex=0;o=r.exec(n);){const d=o.index;if("}"==o[0]){if(t.pop(),0==t.length){const h=n.substring(e,d);MH.test(h)?s.push(B9(h)):s.push(h),e=d+1}}else{if(0==t.length){const h=n.substring(e,d);s.push(h),e=d+1}t.push("{")}}const c=n.substring(e);return s.push(c),s}function j9(n,e,t,s,r,o,c,d,h){const m=[],g=[],S=[];t.cases.push(c),t.create.push(m),t.remove.push(g),t.update.push(S);const I=Px(ru()).getInertBodyElement(d),P=BS(I)||I;return P?IH(n,e,t,s,r,m,g,S,P,o,h,0):0}function IH(n,e,t,s,r,o,c,d,h,m,g,S){let T=0,I=h.firstChild;for(;I;){const P=Bm(e,s,1,null);switch(I.nodeType){case Node.ELEMENT_NODE:const Y=I,z=Y.tagName.toLowerCase();if(LS.hasOwnProperty(z)){PN(o,f1,z,m,P),e.data[P]=z;const fe=Y.attributes;for(let Oe=0;Oe>>Po.SHIFT;let S=n[g],T=!1;null===S&&(S=n[g]=CC(n,g,d,h?Node.COMMENT_NODE:Node.TEXT_NODE),T=mm()),m&&null!==t&&T&&bd(r,t,S,s,!1)}}(r,h.create,g,S),BE(!0)}function RH(){BE(!1)}let NH=(n,e,t)=>{};function Ra(n,e,t,s){const r=De(),o=gn(),c=hs();return RN(o,r,r[Yt],c,n,e,s),Ra}function RN(n,e,t,s,r,o,c){const d=Gl(s),m=n.firstCreatePass&&Sk(n),g=e[ds],S=uD(e);let T=!0;if(3&s.type||c){const Y=$r(s,e),z=c?c(Y):Y,Q=S.length,q=c?fe=>c(kn(fe[s.index])):s.index;let oe=null;if(!c&&d&&(oe=function sq(n,e,t,s){const r=n.cleanup;if(null!=r)for(let o=0;oh?d[h]:null}"string"==typeof c&&(o+=2)}return null}(n,e,r,s.index)),null!==oe){(oe.__ngLastListenerFn__||oe).__ngNextListenerFn__=o,oe.__ngLastListenerFn__=o,T=!1}else{o=jH(s,e,g,o),NH(Y,r,o);const fe=t.listen(z,r,o);S.push(o,fe),m&&m.push(r,q,Q,Q+1)}}else o=jH(s,e,g,o);const I=s.outputs;let P;if(T&&null!==I&&(P=I[r])){const Y=P.length;if(Y)for(let z=0;z-1?Vi(n.index,e):e,5);let d=BH(e,t,s,o),h=r.__ngNextListenerFn__;for(;h;)d=BH(e,t,h,o)&&d,h=h.__ngNextListenerFn__;return d}}function rq(n,e){let t=null;const s=function xw(n){const e=n.attrs;if(null!=e){const t=e.indexOf(5);if(!(1&t))return e[t+1]}return null}(n);for(let r=0;r=n.data.length&&(n.data[t]=null,n.blueprint[t]=null),e[t]=s}let l8=(n,e,t,s,r)=>(B(!0),zS(e[Yt],s));function YN(n,e,t){const s=De(),r=cg(s,n,e,t);return r!==nn&&oc(s,Hi(),r),YN}const b8={};function BN(n,e,t,s,r){if(n=gt(n),Array.isArray(n))for(let o=0;o>20;if(Za(n)||!n.multi){const I=new ss(m,r,ce),P=VN(h,e,r?g:g+T,S);-1===P?(oy(iy(d,c),o,h),jN(o,n,e.length),e.push(h),d.directiveStart++,d.directiveEnd++,r&&(d.providerIndexes+=1048576),t.push(I),c.push(I)):(t[P]=I,c[P]=I)}else{const I=VN(h,e,g+T,S),P=VN(h,e,g,g+T),Y=I>=0&&t[I],z=P>=0&&t[P];if(r&&!z||!r&&!Y){oy(iy(d,c),o,h);const Q=function Tq(n,e,t,s,r){const o=new ss(n,t,ce);return o.multi=[],o.index=e,o.componentProviders=0,S8(o,r,s&&!t),o}(r?kq:xq,t.length,r,s,m);!r&&z&&(t[P].providerFactory=Q),jN(o,n,e.length,0),e.push(h),d.directiveStart++,d.directiveEnd++,r&&(d.providerIndexes+=1048576),t.push(Q),c.push(Q)}else{jN(o,n,I>-1?I:P,S8(t[r?P:I],m,!r&&s))}!r&&s&&z&&t[P].componentProviders++}}}function jN(n,e,t,s){const r=Za(e),o=function Tw(n){return!!n.useClass}(e);if(r||o){const h=(o?gt(e.useClass):e).prototype.ngOnDestroy;if(h){const m=n.destroyHooks||(n.destroyHooks=[]);if(!r&&e.multi){const g=m.indexOf(t);-1===g?m.push(t,[s,h]):m[g+1].push(s,h)}else m.push(t,h)}}}function S8(n,e,t){return t&&n.componentProviders++,n.multi.push(e)-1}function VN(n,e,t,s){for(let r=t;r{t.providersResolver=(s,r)=>function Eq(n,e,t){const s=gn();if(s.firstCreatePass){const r=Qi(n);BN(t,s.data,s.blueprint,r,!0),BN(e,s.data,s.blueprint,r,!1)}}(s,r?r(n):n,e)}}class v1{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){const t=Jo(0,e.type),s=t.length>0?eg([t],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,s)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Ae({token:v1,providedIn:"environment",factory:()=>new v1(we(Ot))})}function b1(n){Tr("NgStandalone"),n.getStandaloneInjector=e=>e.get(v1).getOrCreateStandaloneInjector(n)}function w1(n){if("function"==typeof n)return n;const e=Di(n);return e.some(Nr)?()=>e.map(gt).map(D8):e.map(D8)}function D8(n){return kD(n)?n.ngModule:n}function xC(n,e){const t=n[e];return t===nn?void 0:t}function M8(n,e,t,s,r,o){const c=e+t;return ti(n,c,r)?pl(n,c+1,o?s.call(o,r):s(r)):xC(n,c+1)}function E8(n,e,t,s,r,o,c){const d=e+t;return fu(n,d,r,o)?pl(n,d+2,c?s.call(c,r,o):s(r,o)):xC(n,d+2)}function x8(n,e,t,s,r,o,c,d){const h=e+t;return dv(n,h,r,o,c)?pl(n,h+3,d?s.call(d,r,o,c):s(r,o,c)):xC(n,h+3)}function k8(n,e,t,s,r,o,c,d,h){const m=e+t;return la(n,m,r,o,c,d)?pl(n,m+4,h?s.call(h,r,o,c,d):s(r,o,c,d)):xC(n,m+4)}function T8(n,e,t,s,r,o){let c=e+t,d=!1;for(let h=0;h{const s=Array.isArray(n);null===t.hostDirectives?(t.findHostDirectiveDefs=eC,t.hostDirectives=s?n.map(ov):[n]):s?t.hostDirectives.unshift(...n.map(ov)):t.hostDirectives.unshift(n)};return e.ngInherit=!0,e},\u0275\u0275NgOnChangesFeature:vs,\u0275\u0275ProvidersFeature:Yn,\u0275\u0275CopyDefinitionFeature:function LT(n){let t,e=ZD(n.type);t=Qi(n)?e.\u0275cmp:e.\u0275dir;const s=n;for(const r of IT)s[r]=t[r];if(Qi(t))for(const r of AT)s[r]=t[r]},\u0275\u0275InheritDefinitionFeature:Tn,\u0275\u0275InputTransformsFeature:Pa,\u0275\u0275StandaloneFeature:b1,\u0275\u0275nextContext:function iq(n=1){return function zP(n){return(jt.lFrame.contextLView=TE(n,jt.lFrame.contextLView))[ds]}(n)},\u0275\u0275namespaceHTML:function GP(){!function KP(){jt.lFrame.currentNamespace=null}()},\u0275\u0275namespaceMathML:function qP(){jt.lFrame.currentNamespace="math"},\u0275\u0275namespaceSVG:function WP(){jt.lFrame.currentNamespace="svg"},\u0275\u0275enableBindings:function LE(){jt.bindingsEnabled=!0},\u0275\u0275disableBindings:function jw(){jt.bindingsEnabled=!1},\u0275\u0275elementStart:d1,\u0275\u0275elementEnd:h1,\u0275\u0275element:wC,\u0275\u0275elementContainerStart:IN,\u0275\u0275elementContainerEnd:AN,\u0275\u0275elementContainer:function hH(n,e,t){return IN(n,e,t),AN(),hH},\u0275\u0275pureFunction0:function Pq(n,e,t){const s=Ei()+n,r=De();return r[s]===nn?pl(r,s,t?e.call(t):e()):tg(r,s)},\u0275\u0275pureFunction1:function Rq(n,e,t,s){return M8(De(),Ei(),n,e,t,s)},\u0275\u0275pureFunction2:function Oq(n,e,t,s,r){return E8(De(),Ei(),n,e,t,s,r)},\u0275\u0275pureFunction3:function Nq(n,e,t,s,r,o){return x8(De(),Ei(),n,e,t,s,r,o)},\u0275\u0275pureFunction4:function Fq(n,e,t,s,r,o,c){return k8(De(),Ei(),n,e,t,s,r,o,c)},\u0275\u0275pureFunction5:function Yq(n,e,t,s,r,o,c,d){const h=Ei()+n,m=De(),g=la(m,h,t,s,r,o);return ti(m,h+4,c)||g?pl(m,h+5,d?e.call(d,t,s,r,o,c):e(t,s,r,o,c)):tg(m,h+5)},\u0275\u0275pureFunction6:function Bq(n,e,t,s,r,o,c,d,h){const m=Ei()+n,g=De(),S=la(g,m,t,s,r,o);return fu(g,m+4,c,d)||S?pl(g,m+6,h?e.call(h,t,s,r,o,c,d):e(t,s,r,o,c,d)):tg(g,m+6)},\u0275\u0275pureFunction7:function jq(n,e,t,s,r,o,c,d,h,m){const g=Ei()+n,S=De();let T=la(S,g,t,s,r,o);return dv(S,g+4,c,d,h)||T?pl(S,g+7,m?e.call(m,t,s,r,o,c,d,h):e(t,s,r,o,c,d,h)):tg(S,g+7)},\u0275\u0275pureFunction8:function Vq(n,e,t,s,r,o,c,d,h,m,g){const S=Ei()+n,T=De(),I=la(T,S,t,s,r,o);return la(T,S+4,c,d,h,m)||I?pl(T,S+8,g?e.call(g,t,s,r,o,c,d,h,m):e(t,s,r,o,c,d,h,m)):tg(T,S+8)},\u0275\u0275pureFunctionV:function Hq(n,e,t,s){return T8(De(),Ei(),n,e,t,s)},\u0275\u0275getCurrentView:function h9(){return De()},\u0275\u0275restoreView:function Gc(n){return jt.lFrame.contextLView=n,n[ds]},\u0275\u0275listener:Ra,\u0275\u0275projection:HH,\u0275\u0275syntheticHostProperty:function mH(n,e,t){const s=De();if(ti(s,sa(),e)){const o=gn(),c=Ps();co(o,c,s,n,e,Dk($w(o.data),c,s),t,!0)}return mH},\u0275\u0275syntheticHostListener:function YH(n,e){const t=hs(),s=De(),r=gn();return RN(r,s,Dk($w(r.data),t,s),t,n,e),YH},\u0275\u0275pipeBind1:function zq(n,e,t){const s=n+lt,r=De(),o=Ta(r,s);return kC(r,s)?M8(r,Ei(),e,o.transform,t,o):o.transform(t)},\u0275\u0275pipeBind2:function Wq(n,e,t,s){const r=n+lt,o=De(),c=Ta(o,r);return kC(o,r)?E8(o,Ei(),e,c.transform,t,s,c):c.transform(t,s)},\u0275\u0275pipeBind3:function qq(n,e,t,s,r){const o=n+lt,c=De(),d=Ta(c,o);return kC(c,o)?x8(c,Ei(),e,d.transform,t,s,r,d):d.transform(t,s,r)},\u0275\u0275pipeBind4:function Gq(n,e,t,s,r,o){const c=n+lt,d=De(),h=Ta(d,c);return kC(d,c)?k8(d,Ei(),e,h.transform,t,s,r,o,h):h.transform(t,s,r,o)},\u0275\u0275pipeBindV:function Kq(n,e,t){const s=n+lt,r=De(),o=Ta(r,s);return kC(r,s)?T8(r,Ei(),e,o.transform,t,o):o.transform.apply(o,t)},\u0275\u0275projectionDef:VH,\u0275\u0275hostProperty:function fH(n,e,t){const s=De();if(ti(s,sa(),e)){co(gn(),Ps(),s,n,e,s[Yt],t,!0)}return fH},\u0275\u0275property:function eH(n,e,t){const s=De();if(ti(s,sa(),e)){co(gn(),Ps(),s,n,e,s[Yt],t,!1)}return eH},\u0275\u0275propertyInterpolate:function UH(n,e,t){return ON(n,"",e,"",t),UH},\u0275\u0275propertyInterpolate1:ON,\u0275\u0275propertyInterpolate2:function $H(n,e,t,s,r,o,c){const d=De(),h=Yp(d,e,t,s,r,o);if(h!==nn){co(gn(),Ps(),d,n,h,d[Yt],c,!1)}return $H},\u0275\u0275propertyInterpolate3:function zH(n,e,t,s,r,o,c,d,h){const m=De(),g=Bp(m,e,t,s,r,o,c,d);if(g!==nn){co(gn(),Ps(),m,n,g,m[Yt],h,!1)}return zH},\u0275\u0275propertyInterpolate4:function WH(n,e,t,s,r,o,c,d,h,m,g){const S=De(),T=ug(S,e,t,s,r,o,c,d,h,m);if(T!==nn){co(gn(),Ps(),S,n,T,S[Yt],g,!1)}return WH},\u0275\u0275propertyInterpolate5:function qH(n,e,t,s,r,o,c,d,h,m,g,S,T){const I=De(),P=jp(I,e,t,s,r,o,c,d,h,m,g,S);if(P!==nn){co(gn(),Ps(),I,n,P,I[Yt],T,!1)}return qH},\u0275\u0275propertyInterpolate6:function GH(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P){const Y=De(),z=Vp(Y,e,t,s,r,o,c,d,h,m,g,S,T,I);if(z!==nn){co(gn(),Ps(),Y,n,z,Y[Yt],P,!1)}return GH},\u0275\u0275propertyInterpolate7:function KH(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z){const Q=De(),q=dg(Q,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y);if(q!==nn){co(gn(),Ps(),Q,n,q,Q[Yt],z,!1)}return KH},\u0275\u0275propertyInterpolate8:function QH(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z,Q,q){const oe=De(),fe=Hp(oe,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z,Q);if(fe!==nn){co(gn(),Ps(),oe,n,fe,oe[Yt],q,!1)}return QH},\u0275\u0275propertyInterpolateV:function XH(n,e,t){const s=De(),r=Fp(s,e);if(r!==nn){co(gn(),Ps(),s,n,r,s[Yt],t,!1)}return XH},\u0275\u0275pipe:function Uq(n,e){const t=gn();let s;const r=n+lt;t.firstCreatePass?(s=function $q(n,e){if(e)for(let t=e.length-1;t>=0;t--){const s=e[t];if(n===s.name)return s}}(e,t.pipeRegistry),t.data[r]=s,s.onDestroy&&(t.destroyHooks??=[]).push(r,s.onDestroy)):s=t.data[r];const o=s.factory||(s.factory=ai(s.type)),d=oi(ce);try{const h=sy(!1),m=o();return sy(h),FN(t,De(),r,m),m}finally{oi(d)}},\u0275\u0275queryRefresh:_1,\u0275\u0275queryAdvance:function cq(n=1){ty(fm()+n)},\u0275\u0275viewQuery:NN,\u0275\u0275viewQuerySignal:function lq(n,e,t,s){lc(n,BD(e,t,s))},\u0275\u0275loadQuery:y1,\u0275\u0275contentQuery:ZH,\u0275\u0275contentQuerySignal:function aq(n,e,t,s,r){lc(e,gT(n,t,s,r))},\u0275\u0275reference:function uq(n){return Ta(pm(),lt+n)},\u0275\u0275classMap:tH,\u0275\u0275classMapInterpolate1:function Y7(n,e,t){dc(Zr,gu,cg(De(),n,e,t),!0)},\u0275\u0275classMapInterpolate2:function B7(n,e,t,s,r){dc(Zr,gu,Yp(De(),n,e,t,s,r),!0)},\u0275\u0275classMapInterpolate3:function j7(n,e,t,s,r,o,c){dc(Zr,gu,Bp(De(),n,e,t,s,r,o,c),!0)},\u0275\u0275classMapInterpolate4:function V7(n,e,t,s,r,o,c,d,h){dc(Zr,gu,ug(De(),n,e,t,s,r,o,c,d,h),!0)},\u0275\u0275classMapInterpolate5:function H7(n,e,t,s,r,o,c,d,h,m,g){dc(Zr,gu,jp(De(),n,e,t,s,r,o,c,d,h,m,g),!0)},\u0275\u0275classMapInterpolate6:function U7(n,e,t,s,r,o,c,d,h,m,g,S,T){dc(Zr,gu,Vp(De(),n,e,t,s,r,o,c,d,h,m,g,S,T),!0)},\u0275\u0275classMapInterpolate7:function $7(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P){dc(Zr,gu,dg(De(),n,e,t,s,r,o,c,d,h,m,g,S,T,I,P),!0)},\u0275\u0275classMapInterpolate8:function z7(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z){dc(Zr,gu,Hp(De(),n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z),!0)},\u0275\u0275classMapInterpolateV:function W7(n){dc(Zr,gu,Fp(De(),n),!0)},\u0275\u0275styleMap:mu,\u0275\u0275styleMapInterpolate1:function dq(n,e,t){mu(cg(De(),n,e,t))},\u0275\u0275styleMapInterpolate2:function hq(n,e,t,s,r){mu(Yp(De(),n,e,t,s,r))},\u0275\u0275styleMapInterpolate3:function pq(n,e,t,s,r,o,c){mu(Bp(De(),n,e,t,s,r,o,c))},\u0275\u0275styleMapInterpolate4:function fq(n,e,t,s,r,o,c,d,h){mu(ug(De(),n,e,t,s,r,o,c,d,h))},\u0275\u0275styleMapInterpolate5:function mq(n,e,t,s,r,o,c,d,h,m,g){mu(jp(De(),n,e,t,s,r,o,c,d,h,m,g))},\u0275\u0275styleMapInterpolate6:function gq(n,e,t,s,r,o,c,d,h,m,g,S,T){mu(Vp(De(),n,e,t,s,r,o,c,d,h,m,g,S,T))},\u0275\u0275styleMapInterpolate7:function _q(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P){mu(dg(De(),n,e,t,s,r,o,c,d,h,m,g,S,T,I,P))},\u0275\u0275styleMapInterpolate8:function yq(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z){mu(Hp(De(),n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z))},\u0275\u0275styleMapInterpolateV:function vq(n){mu(Fp(De(),n))},\u0275\u0275styleProp:l1,\u0275\u0275stylePropInterpolate1:function JH(n,e,t,s,r){return uc(n,cg(De(),e,t,s),r,!1),JH},\u0275\u0275stylePropInterpolate2:function e8(n,e,t,s,r,o,c){return uc(n,Yp(De(),e,t,s,r,o),c,!1),e8},\u0275\u0275stylePropInterpolate3:function t8(n,e,t,s,r,o,c,d,h){return uc(n,Bp(De(),e,t,s,r,o,c,d),h,!1),t8},\u0275\u0275stylePropInterpolate4:function n8(n,e,t,s,r,o,c,d,h,m,g){return uc(n,ug(De(),e,t,s,r,o,c,d,h,m),g,!1),n8},\u0275\u0275stylePropInterpolate5:function s8(n,e,t,s,r,o,c,d,h,m,g,S,T){return uc(n,jp(De(),e,t,s,r,o,c,d,h,m,g,S),T,!1),s8},\u0275\u0275stylePropInterpolate6:function i8(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P){return uc(n,Vp(De(),e,t,s,r,o,c,d,h,m,g,S,T,I),P,!1),i8},\u0275\u0275stylePropInterpolate7:function r8(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z){return uc(n,dg(De(),e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y),z,!1),r8},\u0275\u0275stylePropInterpolate8:function o8(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z,Q,q){return uc(n,Hp(De(),e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z,Q),q,!1),o8},\u0275\u0275stylePropInterpolateV:function a8(n,e,t){return uc(n,Fp(De(),e),t,!1),a8},\u0275\u0275classProp:fg,\u0275\u0275advance:ck,\u0275\u0275template:function FT(n,e,t,s,r,o,c,d){const h=De(),m=gn();return ng(h,m,n,e,t,s,r,Mt(m.consts,o),c,d),FT},\u0275\u0275conditional:function Q7(n,e){Tr("NgControlFlow");const t=De(),s=sa(),r=t[s]!==nn?t[s]:-1,o=-1!==r?u1(t,lt+r):void 0;if(ti(t,s,n)){const d=k(null);try{if(void 0!==o&&cu(o,0),-1!==n){const h=lt+n,m=u1(t,h),g=TN(t[xe],h),S=ac(m,g.tView.ssrId);dp(m,up(t,g,e,{dehydratedView:S}),0,Cd(g,S))}}finally{k(d)}}else if(void 0!==o){const d=Ck(o,0);void 0!==d&&(d[ds]=e)}},\u0275\u0275defer:function $V(n,e,t,s,r,o,c,d,h){const m=De(),g=gn(),S=n+lt,T=ng(m,g,n,null,0,0);if(g.firstCreatePass){Tr("NgDefer");const z={primaryTmplIndex:e,loadingTmplIndex:s??null,placeholderTmplIndex:r??null,errorTmplIndex:o??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:t??null,loadingState:hi.NOT_STARTED,loadingPromise:null,providers:null};h?.(g,z,d,c),function cN(n,e,t){const s=Ap(e);n.data[s]=t}(g,S,z)}PD(m[S],T,m);const P=[null,Ip.Initial,null,null,null,null];!function VT(n,e,t){n[xe],n[Ap(e)]=t}(m,S,P);const Y=()=>Od(P);pv(0,P,()=>Yw(m,Y)),Zu(m,Y)},\u0275\u0275deferWhen:function zV(n){const e=De();if(ti(e,sa(),n)){const s=k(null);try{const r=!!n,o=Ps(),d=Fd(e,o)[sg];!1===r&&d===Ip.Initial?Op(e,o):!0===r&&(d===Ip.Initial||d===pi.Placeholder)&&Np(e,o)}finally{k(s)}}},\u0275\u0275deferOnIdle:function JT(){n1(KT)},\u0275\u0275deferOnImmediate:function gN(){const n=De(),e=hs(),t=n[xe],s=n[Js],r=Ao(t,e);(!_v(s)||null===r.loadingTmplIndex)&&Op(n,e),Np(n,e)},\u0275\u0275deferOnTimer:function yN(n){n1(QT(n))},\u0275\u0275deferOnHover:function ag(n,e){const t=De(),s=hs();Op(t,s),Rp(t,s,n,e,WT,()=>Np(t,s),0)},\u0275\u0275deferOnInteraction:function vN(n,e){const t=De(),s=hs();Op(t,s),Rp(t,s,n,e,zT,()=>Np(t,s),0)},\u0275\u0275deferOnViewport:function GV(n,e){const t=De(),s=hs();Op(t,s),Rp(t,s,n,e,fC,()=>Np(t,s),0)},\u0275\u0275deferPrefetchWhen:function ZT(n){const e=De();if(ti(e,sa(),n)){const s=k(null);try{const r=!!n,o=e[xe],c=Ps(),d=Ao(o,c);!0===r&&d.loadingState===hi.NOT_STARTED&&lg(d,e,c)}finally{k(s)}}},\u0275\u0275deferPrefetchOnIdle:function WV(){_C(KT)},\u0275\u0275deferPrefetchOnImmediate:function _N(){const n=De(),e=hs(),s=Ao(n[xe],e);s.loadingState===hi.NOT_STARTED&&vC(s,n,e)},\u0275\u0275deferPrefetchOnTimer:function qV(n){_C(QT(n))},\u0275\u0275deferPrefetchOnHover:function gC(n,e){const t=De(),s=hs(),o=Ao(t[xe],s);o.loadingState===hi.NOT_STARTED&&Rp(t,s,n,e,WT,()=>lg(o,t,s),1)},\u0275\u0275deferPrefetchOnInteraction:function e1(n,e){const t=De(),s=hs(),o=Ao(t[xe],s);o.loadingState===hi.NOT_STARTED&&Rp(t,s,n,e,zT,()=>lg(o,t,s),1)},\u0275\u0275deferPrefetchOnViewport:function t1(n,e){const t=De(),s=hs(),o=Ao(t[xe],s);o.loadingState===hi.NOT_STARTED&&Rp(t,s,n,e,fC,()=>lg(o,t,s),1)},\u0275\u0275deferEnableTimerScheduling:function XT(n,e,t,s){const r=n.consts;null!=t&&(e.placeholderBlockConfig=Mt(r,t)),null!=s&&(e.loadingBlockConfig=Mt(r,s)),null===mC&&(mC=wN)},\u0275\u0275repeater:function s9(n){const e=k(null),t=Hi();try{const s=De(),r=s[xe],o=s[t],c=t+1,d=u1(s,c);if(void 0===o.liveCollection){const m=TN(r,c);o.liveCollection=new n9(d,s,m)}else o.liveCollection.reset();const h=o.liveCollection;if(function K7(n,e,t){let s,r,o=0,c=n.length-1;if(Array.isArray(e)){let h=e.length-1;for(;o<=c&&o<=h;){const m=n.at(o),g=e[o],S=xN(o,m,o,g,t);if(0!==S){S<0&&n.updateValue(o,g),o++;continue}const T=n.at(c),I=e[h],P=xN(c,T,h,I,t);if(0!==P){P<0&&n.updateValue(c,I),c--,h--;continue}const Y=t(o,m),z=t(c,T),Q=t(o,g);if(Object.is(Q,z)){const q=t(h,I);Object.is(q,Y)?(n.swap(o,c),n.updateValue(c,I),h--,c--):n.move(c,o),n.updateValue(o,g),o++}else if(s??=new uH,r??=cH(n,o,c,t),kN(n,s,o,Q))n.updateValue(o,g),o++,c++;else if(r.has(Q))s.set(Y,n.detach(o)),c--;else{const q=n.create(o,e[o]);n.attach(o,q),o++,c++}}for(;o<=h;)lH(n,s,t,o,e[o]),o++}else if(null!=e){const h=e[Symbol.iterator]();let m=h.next();for(;!m.done&&o<=c;){const g=n.at(o),S=m.value,T=xN(o,g,o,S,t);if(0!==T)T<0&&n.updateValue(o,S),o++,m=h.next();else{s??=new uH,r??=cH(n,o,c,t);const I=t(o,S);if(kN(n,s,o,I))n.updateValue(o,S),o++,c++,m=h.next();else if(r.has(I)){const P=t(o,g);s.set(P,n.detach(o)),c--}else n.attach(o,n.create(o,S)),o++,c++,m=h.next()}}for(;!m.done;)lH(n,s,t,n.length,m.value),m=h.next()}for(;o<=c;)n.destroy(n.detach(c--));s?.forEach(h=>{n.destroy(h)})}(h,n,o.trackByFn),h.updateIndexes(),o.hasEmptyBlock){const m=sa(),g=0===h.length;if(ti(s,m,g)){const S=t+2,T=u1(s,S);if(g){const I=TN(r,S),P=ac(T,I.tView.ssrId);dp(T,up(s,I,void 0,{dehydratedView:P}),0,Cd(I,P))}else cu(T,0)}}}finally{k(e)}},\u0275\u0275repeaterCreate:function t9(n,e,t,s,r,o,c,d,h,m,g,S,T){Tr("NgControlFlow");const I=De(),P=gn(),Y=void 0!==h,z=De(),Q=d?c.bind(z[ys][ds]):c,q=new e9(Y,Q);z[lt+n]=q,ng(I,P,n+1,e,t,s,r,Mt(P.consts,o)),Y&&ng(I,P,n+2,h,m,g,S,Mt(P.consts,T))},\u0275\u0275repeaterTrackByIndex:function Z7(n){return n},\u0275\u0275repeaterTrackByIdentity:function J7(n,e){return e},\u0275\u0275componentInstance:function q7(){return De()[ys][ds]},\u0275\u0275text:function bq(n,e=""){const t=De(),s=gn(),r=n+lt,o=s.firstCreatePass?Dd(s,r,1,e,null):s.data[r],c=l8(s,t,o,e,n);t[r]=c,mm()&&Ly(s,t,c,o),Aa(o,!1)},\u0275\u0275textInterpolate:function c8(n){return YN("",n,""),c8},\u0275\u0275textInterpolate1:YN,\u0275\u0275textInterpolate2:function u8(n,e,t,s,r){const o=De(),c=Yp(o,n,e,t,s,r);return c!==nn&&oc(o,Hi(),c),u8},\u0275\u0275textInterpolate3:function d8(n,e,t,s,r,o,c){const d=De(),h=Bp(d,n,e,t,s,r,o,c);return h!==nn&&oc(d,Hi(),h),d8},\u0275\u0275textInterpolate4:function h8(n,e,t,s,r,o,c,d,h){const m=De(),g=ug(m,n,e,t,s,r,o,c,d,h);return g!==nn&&oc(m,Hi(),g),h8},\u0275\u0275textInterpolate5:function p8(n,e,t,s,r,o,c,d,h,m,g){const S=De(),T=jp(S,n,e,t,s,r,o,c,d,h,m,g);return T!==nn&&oc(S,Hi(),T),p8},\u0275\u0275textInterpolate6:function f8(n,e,t,s,r,o,c,d,h,m,g,S,T){const I=De(),P=Vp(I,n,e,t,s,r,o,c,d,h,m,g,S,T);return P!==nn&&oc(I,Hi(),P),f8},\u0275\u0275textInterpolate7:function m8(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P){const Y=De(),z=dg(Y,n,e,t,s,r,o,c,d,h,m,g,S,T,I,P);return z!==nn&&oc(Y,Hi(),z),m8},\u0275\u0275textInterpolate8:function g8(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z){const Q=De(),q=Hp(Q,n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z);return q!==nn&&oc(Q,Hi(),q),g8},\u0275\u0275textInterpolateV:function _8(n){const e=De(),t=Fp(e,n);return t!==nn&&oc(e,Hi(),t),_8},\u0275\u0275i18n:function J9(n,e,t){PH(n,e,t),RH()},\u0275\u0275i18nAttributes:function eq(n,e){const t=gn(),s=Mt(t.consts,e);!function N9(n,e,t){const r=hs().index,o=[];if(n.firstCreatePass&&null===n.data[e]){for(let c=0;c0){const s=n.data[t];wH(n,e,Array.isArray(s)?s:s.update,nl()-DC-1,SC)}SC=0,DC=0}(gn(),De(),n+lt)},\u0275\u0275i18nPostprocess:function nq(n,e={}){return function Z9(n,e={}){let t=n;if(z9.test(n)){const s={},r=[LH];t=t.replace(W9,(o,c,d)=>{const h=c||d,m=s[h]||[];if(m.length||(h.split("|").forEach(Y=>{const z=Y.match(X9),Q=z?parseInt(z[1],10):LH,q=Q9.test(Y);m.push([Q,q,Y])}),s[h]=m),!m.length)throw new Error(`i18n postprocess: unmatched placeholder - ${h}`);const g=r[r.length-1];let S=0;for(let Y=0;Ye.hasOwnProperty(o)?`${r}${e[o]}${h}`:s),t=t.replace(G9,(s,r)=>e.hasOwnProperty(r)?e[r]:s),t=t.replace(K9,(s,r)=>{if(e.hasOwnProperty(r)){const o=e[r];if(!o.length)throw new Error(`i18n postprocess: unmatched ICU - ${s} with key: ${r}`);return o.shift()}return s})),t}(n,e)},\u0275\u0275resolveWindow:function Z2(n){return n.ownerDocument.defaultView},\u0275\u0275resolveDocument:function J2(n){return n.ownerDocument},\u0275\u0275resolveBody:Kx,\u0275\u0275setComponentScope:function Iq(n,e,t){const s=n.\u0275cmp;s.directiveDefs=ts(e,!1),s.pipeDefs=ts(t,!0)},\u0275\u0275setNgModuleScope:function Aq(n,e){return Xs(()=>{const t=Ci(n,!0);t.declarations=w1(e.declarations||An),t.imports=w1(e.imports||An),t.exports=w1(e.exports||An),e.bootstrap&&(t.bootstrap=w1(e.bootstrap)),wp.registerNgModule(n,e)})},\u0275\u0275registerNgModuleType:kT,\u0275\u0275getComponentDepsFactory:function Xq(n,e){return()=>{try{return wp.getComponentDependencies(n,e).dependencies}catch(t){throw console.error(`Computing dependencies in local compilation mode for the component "${n.name}" failed with the exception:`,t),t}}},\u0275setClassDebugInfo:function Zq(n,e){const t=rn(n);null!==t&&(t.debugInfo=e)},\u0275\u0275declareLet:function w8(n){const e=gn(),t=De(),s=n+lt;return Aa(Dd(e,s,128,null,null),!1),FN(e,t,s,b8),w8},\u0275\u0275storeLet:function Cq(n){return Tr("NgLet"),FN(gn(),De(),Hi(),n),n},\u0275\u0275readContextLet:function Mq(n){const t=Ta(pm(),lt+n);if(t===b8)throw new le(314,!1);return t},\u0275\u0275sanitizeHtml:function Bx(n){const e=Om();return e?er(e.sanitize(Er.HTML,n)||""):al(n,"HTML")?er(lo(n)):sp(ru(),Qt(n))},\u0275\u0275sanitizeStyle:function My(n){const e=Om();return e?e.sanitize(Er.STYLE,n)||"":al(n,"Style")?lo(n):Qt(n)},\u0275\u0275sanitizeResourceUrl:Vx,\u0275\u0275sanitizeScript:function H2(n){const e=Om();if(e)return np(e.sanitize(Er.SCRIPT,n)||"");if(al(n,"Script"))return np(lo(n));throw new le(905,!1)},\u0275\u0275sanitizeUrl:jx,\u0275\u0275sanitizeUrlOrResourceUrl:Hx,\u0275\u0275trustConstantHtml:function U2(n){return tp(n[0])},\u0275\u0275trustConstantResourceUrl:function $2(n){return function k2(n){return Sy()?.createScriptURL(n)||n}(n[0])},\u0275\u0275validateIframeAttribute:function YV(n,e,t){const s=De(),r=Ps(),o=$r(r,s);if(2===r.type&&"iframe"===e.toLowerCase()){const c=o;c.src="",c.srcdoc=tp(""),lp(s[Yt],c);throw new le(-910,!1)}return n},forwardRef:It,resolveForwardRef:gt,\u0275\u0275twoWayProperty:function y8(n,e,t){UD(e)&&(e=e());const s=De();if(ti(s,sa(),e)){co(gn(),Ps(),s,n,e,s[Yt],t,!1)}return y8},\u0275\u0275twoWayBindingSet:function Dq(n,e){const t=UD(n);return t&&n.set(e),t},\u0275\u0275twoWayListener:function v8(n,e){const t=De(),s=gn(),r=hs();return RN(s,t,t[Yt],r,n,e),v8}};let bv=null;const TC=[];let UN=!1;function I8(n){return Array.isArray(n)?n.every(I8):!!gt(n)}function sG(n,e={}){(function iG(n,e,t=!1){const s=Di(e.declarations||An);let r=null;Object.defineProperty(n,bo,{configurable:!0,get:()=>(null===r&&(r=Ws().compileNgModule(Ro,`ng:///${n.name}/\u0275mod.js`,{type:n,bootstrap:Di(e.bootstrap||An).map(gt),declarations:s.map(gt),imports:Di(e.imports||An).map(gt).map(R8),exports:Di(e.exports||An).map(gt).map(R8),schemas:e.schemas?Di(e.schemas):null,id:e.id||null}),r.schemas||(r.schemas=[])),r)});let o=null;Object.defineProperty(n,$a,{get:()=>{if(null===o){const d=Ws();o=d.compileFactory(Ro,`ng:///${n.name}/\u0275fac.js`,{name:n.name,type:n,deps:eu(n),target:d.FactoryTarget.NgModule,typeArgumentCount:0})}return o},configurable:!1});let c=null;Object.defineProperty(n,Of,{get:()=>{if(null===c){const d={name:n.name,type:n,providers:e.providers||An,imports:[(e.imports||An).map(gt),(e.exports||An).map(gt)]};c=Ws().compileInjector(Ro,`ng:///${n.name}/\u0275inj.js`,d)}return c},configurable:!1})})(n,e),void 0!==e.id&&kT(n,e.id),function tG(n,e){TC.push({moduleType:n,ngModule:e})}(n,e)}function aG(n,e){const t=Di(e.declarations||An),s=wv(n);t.forEach(r=>{if((r=gt(r)).hasOwnProperty(Li)){P8(rn(r),s)}else!r.hasOwnProperty(Nc)&&!r.hasOwnProperty(Fc)&&(r.ngSelectorScope=n)})}function P8(n,e){n.directiveDefs=()=>Array.from(e.compilation.directives).map(t=>t.hasOwnProperty(Li)?rn(t):jn(t)).filter(t=>!!t),n.pipeDefs=()=>Array.from(e.compilation.pipes).map(t=>Es(t)),n.schemas=e.schemas,n.tView=null}function wv(n){if(hu(n)){if(TD){const e=wp.getNgModuleScope(n);return{schemas:Ci(n,!0).schemas||null,...e}}return function lG(n){const e=Ci(n,!0);if(null!==e.transitiveCompileScopes)return e.transitiveCompileScopes;const t={schemas:e.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return xo(e.imports).forEach(s=>{const r=wv(s);r.exported.directives.forEach(o=>t.compilation.directives.add(o)),r.exported.pipes.forEach(o=>t.compilation.pipes.add(o))}),xo(e.declarations).forEach(s=>{Es(s)?t.compilation.pipes.add(s):t.compilation.directives.add(s)}),xo(e.exports).forEach(s=>{const r=s;if(hu(r)){const o=wv(r);o.exported.directives.forEach(c=>{t.compilation.directives.add(c),t.exported.directives.add(c)}),o.exported.pipes.forEach(c=>{t.compilation.pipes.add(c),t.exported.pipes.add(c)})}else Es(r)?t.exported.pipes.add(r):t.exported.directives.add(r)}),e.transitiveCompileScopes=t,t}(n)}if(Ki(n)){if(null!==(rn(n)||jn(n)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([n]),pipes:new Set}};if(null!==Es(n))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([n])}}}throw new Error(`${n.name} does not have a module def (\u0275mod property)`)}function R8(n){return kD(n)?n.ngModule:n}let WN=0;function cG(n,e){let t=null;(function QD(n,e){MT(e)&&(Ep.set(n,e),Pd.add(n))})(n,e),F8(n,e),Object.defineProperty(n,Li,{get:()=>{if(null===t){const s=Ws();if(MT(e)){const m=[`Component '${n.name}' is not resolved:`];throw e.templateUrl&&m.push(` - templateUrl: ${e.templateUrl}`),e.styleUrls&&e.styleUrls.length&&m.push(` - styleUrls: ${JSON.stringify(e.styleUrls)}`),e.styleUrl&&m.push(` - styleUrl: ${e.styleUrl}`),m.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(m.join("\n"))}const r=function eG(){return bv}();let o=e.preserveWhitespaces;void 0===o&&(o=null!==r&&void 0!==r.preserveWhitespaces&&r.preserveWhitespaces);let c=e.encapsulation;void 0===c&&(c=null!==r&&void 0!==r.defaultEncapsulation?r.defaultEncapsulation:qi.Emulated);const d=e.templateUrl||`ng:///${n.name}/template.html`,h={...Y8(n,e),typeSourceSpan:s.createParseSourceSpan("Component",n.name,d),template:e.template||"",preserveWhitespaces:o,styles:"string"==typeof e.styles?[e.styles]:e.styles||An,animations:e.animations,declarations:[],changeDetection:e.changeDetection,encapsulation:c,interpolation:e.interpolation,viewProviders:e.viewProviders||null};WN++;try{if(h.usesInheritance&&B8(n),t=s.compileComponent(Ro,d,h),e.standalone){const m=Di(e.imports||An),{directiveDefs:g,pipeDefs:S}=function uG(n,e){let t=null,s=null;return{directiveDefs:()=>{if(TD)return Km(n)?[...wp.getStandaloneComponentScope(n,e).compilation.directives].map(d=>rn(d)||jn(d)).filter(d=>null!==d):[];if(null===t){t=[rn(n)];const c=new Set([n]);for(const d of e){const h=gt(d);if(!c.has(h))if(c.add(h),Ci(h)){const m=wv(h);for(const g of m.exported.directives){const S=rn(g)||jn(g);S&&!c.has(g)&&(c.add(g),t.push(S))}}else{const m=rn(h)||jn(h);m&&t.push(m)}}}return t},pipeDefs:()=>{if(TD)return Km(n)?[...wp.getStandaloneComponentScope(n,e).compilation.pipes].map(d=>Es(d)).filter(d=>null!==d):[];if(null===s){s=[];const c=new Set;for(const d of e){const h=gt(d);if(!c.has(h))if(c.add(h),Ci(h)){const m=wv(h);for(const g of m.exported.pipes){const S=Es(g);S&&!c.has(g)&&(c.add(g),s.push(S))}}else{const m=Es(h);m&&s.push(m)}}}return s}}}(n,m);t.directiveDefs=g,t.pipeDefs=S,t.dependencies=()=>m.map(gt)}}finally{WN--}if(0===WN&&function nG(){if(!UN){UN=!0;try{for(let n=TC.length-1;n>=0;n--){const{moduleType:e,ngModule:t}=TC[n];t.declarations&&t.declarations.every(I8)&&(TC.splice(n,1),aG(e,t))}}finally{UN=!1}}}(),function dG(n){return void 0!==n.ngSelectorScope}(n)){const m=wv(n.ngSelectorScope);P8(t,m)}if(e.schemas){if(!e.standalone)throw new Error(`The 'schemas' was specified for the ${$n(n)} but is only valid on a component that is standalone.`);t.schemas=e.schemas}else e.standalone&&(t.schemas=[])}return t},configurable:!1})}function O8(n,e){let t=null;F8(n,e||{}),Object.defineProperty(n,Nc,{get:()=>{if(null===t){const s=N8(n,e||{});t=Ws().compileDirective(Ro,s.sourceMapUrl,s.metadata)}return t},configurable:!1})}function N8(n,e){const t=n&&n.name,s=`ng:///${t}/\u0275dir.js`,r=Ws(),o=Y8(n,e);return o.typeSourceSpan=r.createParseSourceSpan("Directive",t,s),o.usesInheritance&&B8(n),{metadata:o,sourceMapUrl:s}}function F8(n,e){let t=null;Object.defineProperty(n,$a,{get:()=>{if(null===t){const s=N8(n,e),r=Ws();t=r.compileFactory(Ro,`ng:///${n.name}/\u0275fac.js`,{name:s.metadata.name,type:s.metadata.type,typeArgumentCount:0,deps:eu(n),target:r.FactoryTarget.Directive})}return t},configurable:!1})}function hG(n){return Object.getPrototypeOf(n.prototype)===Object.prototype}function Y8(n,e){const t=Hh(),s=t.ownPropMetadata(n);return{name:n.name,type:n,selector:void 0!==e.selector?e.selector:null,host:e.host||wo,propMetadata:s,inputs:e.inputs||An,outputs:e.outputs||An,queries:j8(n,s,V8),lifecycle:{usesOnChanges:t.hasLifecycleHook(n,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!hG(n),exportAs:mG(e.exportAs),providers:e.providers||null,viewQueries:j8(n,s,H8),isStandalone:!!e.standalone,isSignal:!!e.signals,hostDirectives:e.hostDirectives?.map(r=>"function"==typeof r?{directive:r}:r)||null}}function B8(n){const e=Object.prototype;let t=Object.getPrototypeOf(n.prototype).constructor;for(;t&&t!==e;)!jn(t)&&!rn(t)&&_G(t)&&O8(t,null),t=Object.getPrototypeOf(t)}function pG(n){return"string"==typeof n?$8(n):gt(n)}function fG(n,e){return{propertyName:n,predicate:pG(e.selector),descendants:e.descendants,first:e.first,read:e.read?e.read:null,static:!!e.static,emitDistinctChangesOnly:!!e.emitDistinctChangesOnly,isSignal:!!e.isSignal}}function j8(n,e,t){const s=[];for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];o.forEach(c=>{if(t(c)){if(!c.selector)throw new Error(`Can't construct a query for the property "${r}" of "${$n(n)}" since the query selector wasn't defined.`);if(o.some(U8))throw new Error("Cannot combine @Input decorators with query decorators");s.push(fG(r,c))}})}return s}function mG(n){return void 0===n?null:$8(n)}function V8(n){const e=n.ngMetadataName;return"ContentChild"===e||"ContentChildren"===e}function H8(n){const e=n.ngMetadataName;return"ViewChild"===e||"ViewChildren"===e}function U8(n){return"Input"===n.ngMetadataName}function $8(n){return n.split(",").map(e=>e.trim())}const gG=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function _G(n){const e=Hh();if(gG.some(s=>e.hasLifecycleHook(n,s)))return!0;const t=e.propMetadata(n);for(const s in t){const r=t[s];for(let o=0;on,void 0,void 0,(n,e)=>O8(n,e)),Ke=Fu("Component",(n={})=>({changeDetection:Sa.Default,...n}),fl,void 0,(n,e)=>cG(n,e)),Sv=Fu("Pipe",n=>({pure:!0,...n}),void 0,void 0,(n,e)=>function yG(n,e){let t=null,s=null;Object.defineProperty(n,$a,{get:()=>{if(null===s){const r=z8(n,e),o=Ws(r.type);s=o.compileFactory(Ro,`ng:///${r.name}/\u0275fac.js`,{name:r.name,type:r.type,typeArgumentCount:0,deps:eu(n),target:o.FactoryTarget.Pipe})}return s},configurable:!1}),Object.defineProperty(n,Fc,{get:()=>{if(null===t){const r=z8(n,e);t=Ws(r.type).compilePipe(Ro,`ng:///${r.name}/\u0275pipe.js`,r)}return t},configurable:!1})}(n,e)),G=je("Input",n=>n?"string"==typeof n?{alias:n}:n:{}),nt=je("Output",n=>({alias:n})),qN=je("HostBinding",n=>({hostPropertyName:n})),ml=je("HostListener",(n,e)=>({eventName:n,args:e})),fi=Fu("NgModule",n=>n,void 0,void 0,(n,e)=>sG(n,e));class Dv{constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}}new Dv("18.2.13");class Up{log(e){console.log(e)}warn(e){console.warn(e)}static#e=this.\u0275fac=function(t){return new(t||Up)};static#t=this.\u0275prov=Ae({token:Up,factory:Up.\u0275fac,providedIn:"platform"})}new class vG{constructor(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}reset(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}};const Q8=new Re(""),M1=new Re("");class gg{constructor(e,t,s){this._ngZone=e,this.registry=t,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,KN||(function $G(n){KN=n}(s),s.addToWindow(t)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{_t.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,s){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==r),e()},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:s})}whenStable(e,t,s){if(s&&!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(e,t,s),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,t,s){return[]}static#e=this.\u0275fac=function(t){return new(t||gg)(we(_t),we(_g),we(M1))};static#t=this.\u0275prov=Ae({token:gg,factory:gg.\u0275fac})}class _g{constructor(){this._applications=new Map}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return KN?.findTestabilityInTree(this,e,t)??null}static#e=this.\u0275fac=function(t){return new(t||_g)};static#t=this.\u0275prov=Ae({token:_g,factory:_g.\u0275fac,providedIn:"platform"})}let KN;function AC(n){return!!n&&"function"==typeof n.then}function X8(n){return!!n&&"function"==typeof n.subscribe}const QN=new Re("");class Cv{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t}),this.appInits=me(QN,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const e=[];for(const s of this.appInits){const r=s();if(AC(r))e.push(r);else if(X8(r)){const o=new Promise((c,d)=>{r.subscribe({complete:c,error:d})});e.push(o)}}const t=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{t()}).catch(s=>{this.reject(s)}),0===e.length&&t(),this.initialized=!0}static#e=this.\u0275fac=function(t){return new(t||Cv)};static#t=this.\u0275prov=Ae({token:Cv,factory:Cv.\u0275fac,providedIn:"root"})}const E1=new Re("");function Z8(){!function hn(n){ws=n}(()=>{throw new le(600,!1)})}function J8(n,e){return Array.isArray(e)?e.reduce(J8,n):{...n,...e}}class Oo{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=me(n2),this.afterRenderManager=me(rg),this.zonelessEnabled=me(Gm),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ht,this.afterTick=new ht,this.componentTypes=[],this.components=[],this.isStable=me(oo).hasPendingTasks.pipe(zt(e=>!e)),this._injector=me(Ot)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let e;return new Promise(t=>{e=this.isStable.subscribe({next:s=>{s&&t()}})}).finally(()=>{e.unsubscribe()})}get injector(){return this._injector}bootstrap(e,t){const s=e instanceof Zk;if(!this._injector.get(Cv).done){!s&&Ki(e);throw new le(405,!1)}let o;o=s?e:this._injector.get(ED).resolveComponentFactory(e),this.componentTypes.push(o.componentType);const c=function zG(n){return n.isBoundToModule}(o)?void 0:this._injector.get(Rd),d=t||o.selector,h=o.create(as.NULL,[],d,c),m=h.location.nativeElement,g=h.injector.get(Q8,null);return g?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),x1(this.components,h),g?.unregisterApplication(m)}),this._loadComponent(h),h}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new le(101,!1);const e=k(null);try{this._runningTick=!0,this.synchronize()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1,k(e),this.afterTick.next()}}synchronize(){let e=null;this._injector.destroyed||(e=this._injector.get(Id,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let t=0;for(;0!==this.dirtyFlags&&t++<10;)this.synchronizeOnce(e)}synchronizeOnce(e){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const t=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(t);for(let{_lView:s,notifyErrorHandler:r}of this._views)GG(s,r,t,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else e?.begin?.(),e?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:e})=>qc(e))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;x1(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const t=this._injector.get(E1,[]);[...this._bootstrapListeners,...t].forEach(s=>s(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>x1(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new le(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(t){return new(t||Oo)};static#t=this.\u0275prov=Ae({token:Oo,factory:Oo.\u0275fac,providedIn:"root"})}function x1(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}function GG(n,e,t,s){(t||qc(n))&&Yy(n,e,t&&!s?0:1)}class KG{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}class Vd{compileModuleSync(e){return new nC(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const t=this.compileModuleSync(e),r=xo(Ci(e).declarations).reduce((o,c)=>{const d=rn(c);return d&&o.push(new Qm(d)),o},[]);return new KG(t,r)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static#e=this.\u0275fac=function(t){return new(t||Vd)};static#t=this.\u0275prov=Ae({token:Vd,factory:Vd.\u0275fac,providedIn:"root"})}const T1=new Re("");function XG(n,e,t){const s=new nC(t);if(typeof ngJitMode<"u"&&!ngJitMode)return Promise.resolve(s);const r=n.get(T1,[]).concat(e);if(function Jq(n){null!==bv&&(n.defaultEncapsulation!==bv.defaultEncapsulation||n.preserveWhitespaces!==bv.preserveWhitespaces)||(bv=n)}({defaultEncapsulation:e5(r.map(m=>m.defaultEncapsulation)),preserveWhitespaces:e5(r.map(m=>m.preserveWhitespaces))}),function $O(){return 0===Ep.size}())return Promise.resolve(s);const o=r.flatMap(m=>m.providers??[]);if(0===o.length)return Promise.resolve(s);const c=Ws(),h=as.create({providers:o}).get(c.ResourceLoader);return HO(m=>Promise.resolve(h.get(m))).then(()=>s)}function e5(n){for(let e=n.length-1;e>=0;e--)if(void 0!==n[e])return n[e]}class LC{constructor(){this.zone=me(_t),this.changeDetectionScheduler=me(Td),this.applicationRef=me(Oo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(t){return new(t||LC)};static#t=this.\u0275prov=Ae({token:LC,factory:LC.\u0275fac,providedIn:"root"})}new Re("",{factory:()=>!1});function ZN({ngZoneFactory:n,ignoreChangesOutsideZone:e,scheduleInRootZone:t}){return n??=()=>new _t({...JN(),scheduleInRootZone:t}),[{provide:_t,useFactory:n},{provide:vn,multi:!0,useFactory:()=>{const s=me(LC,{optional:!0});return()=>s.initialize()}},{provide:vn,multi:!0,useFactory:()=>{const s=me(PC);return()=>{s.initialize()}}},!0===e?{provide:MD,useValue:!0}:[],{provide:Xy,useValue:t??cy}]}function JN(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}class PC{constructor(){this.subscription=new Dt,this.initialized=!1,this.zone=me(_t),this.pendingTasks=me(oo)}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{_t.assertNotInAngularZone(),queueMicrotask(()=>{null!==e&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{_t.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(t){return new(t||PC)};static#t=this.\u0275prov=Ae({token:PC,factory:PC.\u0275fac,providedIn:"root"})}class Hd{constructor(){this.appRef=me(Oo),this.taskService=me(oo),this.ngZone=me(_t),this.zonelessEnabled=me(Gm),this.disableScheduling=me(MD,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Dt,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(uy):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(me(Xy,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof aS||!this.zoneIsDefined)}notify(e){if(!this.zonelessEnabled&&5===e)return;switch(e){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const t=this.useMicrotaskScheduler?Sm:XE;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>t(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>t(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(uy+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(t){throw this.taskService.remove(e),t}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Sm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static#e=this.\u0275fac=function(t){return new(t||Hd)};static#t=this.\u0275prov=Ae({token:Hd,factory:Hd.\u0275fac,providedIn:"root"})}const $p=new Re("",{providedIn:"root",factory:()=>me($p,ln.Optional|ln.SkipSelf)||function JG(){return typeof $localize<"u"&&$localize.locale||p1}()}),eK=new Re("",{providedIn:"root",factory:()=>"USD"});new Re(""),new Re("");var s5;!function(n){n[n.Error=0]="Error",n[n.Warning=1]="Warning",n[n.Ignore=2]="Ignore"}(s5||(s5={}));class I1{constructor(){this.window=null,this.observer=null,this.options=me(vx),this.isBrowser="browser"===me(zr)}start(){if(!this.isBrowser||typeof PerformanceObserver>"u"||this.options?.disableImageSizeWarning&&this.options?.disableImageLazyLoadWarning)return;this.observer=this.initPerformanceObserver();const e=ru(),t=e.defaultView;if(typeof t<"u"){this.window=t;const s=()=>{setTimeout(this.scanImages.bind(this),200)},r=()=>{"complete"===e.readyState?s():this.window?.addEventListener("load",s,{once:!0})};typeof Zone<"u"?Zone.root.run(()=>r()):r()}}ngOnDestroy(){this.observer?.disconnect()}initPerformanceObserver(){if(typeof PerformanceObserver>"u")return null;const e=new PerformanceObserver(t=>{const s=t.getEntries();if(0===s.length)return;const o=s[s.length-1].element?.src??"";o.startsWith("data:")||o.startsWith("blob:")||(this.lcpImageUrl=o)});return e.observe({type:"largest-contentful-paint",buffered:!0}),e}scanImages(){const e=ru().querySelectorAll("img");let t,s=!1;e.forEach(r=>{this.options?.disableImageSizeWarning||!r.getAttribute("ng-img")&&this.isOversized(r)&&function sK(n){console.warn(mt(-913,`An image with src ${n} has intrinsic file dimensions much larger than its rendered size. This can negatively impact application loading performance. For more information about addressing or disabling this warning, see https://angular.dev/errors/NG0913`))}(r.src),!this.options?.disableImageLazyLoadWarning&&this.lcpImageUrl&&r.src===this.lcpImageUrl&&(t=!0,("lazy"!==r.loading||r.getAttribute("ng-img"))&&(s=!0))}),t&&!s&&this.lcpImageUrl&&!this.options?.disableImageLazyLoadWarning&&function nK(n){console.warn(mt(-913,`An image with src ${n} is the Largest Contentful Paint (LCP) element but was given a "loading" value of "lazy", which can negatively impact application loading performance. This warning can be addressed by changing the loading value of the LCP image to "eager", or by using the NgOptimizedImage directive's prioritization utilities. For more information about addressing or disabling this warning, see https://angular.dev/errors/NG0913`))}(this.lcpImageUrl)}isOversized(e){if(!this.window)return!1;const s=(e.src||"").toLowerCase();if([".svg"].some(Y=>s.endsWith(Y)))return!1;const r=this.window.getComputedStyle(e);let o=parseFloat(r.getPropertyValue("width")),c=parseFloat(r.getPropertyValue("height"));const d=r.getPropertyValue("box-sizing");if("cover"===r.getPropertyValue("object-fit"))return!1;if("border-box"===d){const Y=r.getPropertyValue("padding-top"),z=r.getPropertyValue("padding-right"),Q=r.getPropertyValue("padding-bottom"),q=r.getPropertyValue("padding-left");o-=parseFloat(z)+parseFloat(q),c-=parseFloat(Y)+parseFloat(Q)}const m=e.naturalWidth,g=e.naturalHeight,S=this.window.devicePixelRatio*o,T=this.window.devicePixelRatio*c;return m-S>=1200||g-T>=1200}static#e=this.\u0275fac=function(t){return new(t||I1)};static#t=this.\u0275prov=Ae({token:I1,factory:I1.\u0275fac,providedIn:"root"})}const A1=new Re("");function L1(n){return!n.moduleRef}function r5(n){const e=L1(n)?n.r3Injector:n.moduleRef.injector,t=e.get(_t);return t.run(()=>{L1(n)?n.r3Injector.resolveInjectorInitializers():n.moduleRef.resolveInjectorInitializers();const s=e.get(Mo,null);let r;if(t.runOutsideAngular(()=>{r=t.onError.subscribe({next:o=>{s.handleError(o)}})}),L1(n)){const o=()=>e.destroy(),c=n.platformInjector.get(A1);c.add(o),e.onDestroy(()=>{r.unsubscribe(),c.delete(o)})}else{const o=()=>n.moduleRef.destroy(),c=n.platformInjector.get(A1);c.add(o),n.moduleRef.onDestroy(()=>{x1(n.allPlatformModules,n.moduleRef),r.unsubscribe(),c.delete(o)})}return function qG(n,e,t){try{const s=t();return AC(s)?s.catch(r=>{throw e.runOutsideAngular(()=>n.handleError(r)),r}):s}catch(s){throw e.runOutsideAngular(()=>n.handleError(s)),s}}(s,t,()=>{const o=e.get(Cv);return o.runInitializers(),o.donePromise.then(()=>{if(function v9(n){"string"==typeof n&&(yH=n.toLowerCase().replace(/_/g,"-"))}(e.get($p,p1)||p1),L1(n)){const d=e.get(Oo);return void 0!==n.rootComponent&&d.bootstrap(n.rootComponent),d}return function iK(n,e){const t=n.injector.get(Oo);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(s=>t.bootstrap(s));else{if(!n.instance.ngDoBootstrap)throw new le(-403,!1);n.instance.ngDoBootstrap(t)}e.push(n)}(n.moduleRef,n.allPlatformModules),n.moduleRef})})})}class Mv{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const s=t?.scheduleInRootZone,o=t?.ignoreChangesOutsideZone,c=[ZN({ngZoneFactory:()=>function hy(n="zone.js",e){return"noop"===n?new aS:"zone.js"===n?new _t(e):n}(t?.ngZone,{...JN({eventCoalescing:t?.ngZoneEventCoalescing,runCoalescing:t?.ngZoneRunCoalescing}),scheduleInRootZone:s}),ignoreChangesOutsideZone:o}),{provide:Td,useExisting:Hd}],d=function NT(n,e,t){return new lv(n,e,t,!1)}(e.moduleType,this.injector,c);return r5({moduleRef:d,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,t=[]){const s=J8({},t);return XG(this.injector,s,e).then(r=>this.bootstrapModuleFactory(r,s))}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new le(404,!1);this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t());const e=this._injector.get(A1,null);e&&(e.forEach(t=>t()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(t){return new(t||Mv)(we(as))};static#t=this.\u0275prov=Ae({token:Mv,factory:Mv.\u0275fac,providedIn:"platform"})}let zp=null;const o5=new Re("");function P1(n,e,t=[]){const s=`Platform: ${e}`,r=new Re(s);return(o=[])=>{let c=tF();if(!c||c.injector.get(o5,!1)){const d=[...t,...o,{provide:r,useValue:!0}];n?n(d):function rK(n){if(zp&&!zp.get(o5,!1))throw new le(400,!1);Z8(),zp=n;const e=n.get(Mv);return l5(n),e}(a5(d,s))}return function oK(n){const e=tF();if(!e)throw new le(401,!1);return e}()}}function a5(n=[],e){return as.create({name:e,providers:[{provide:Jf,useValue:"platform"},{provide:A1,useValue:new Set([()=>zp=null])},...n]})}function tF(){return zp?.get(Mv)??null}function l5(n){n.get(yx,null)?.forEach(t=>t())}class gl{static#e=this.__NG_ELEMENT_ID__=lK}function lK(n){return function cK(n,e,t){if(Pi(n)&&!t){const s=Vi(n.index,e);return new Md(s,s)}if(175&n.type){const s=e[ys];return new Md(s,e)}return null}(hs(),De(),!(16&~n))}class p5{constructor(){}supports(e){return uv(e)}create(e){return new fK(e)}}const pK=(n,e)=>e;class fK{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||pK}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,s=this._removalsHead,r=0,o=null;for(;t||s;){const c=!s||t&&t.currentIndex{c=this._trackByFn(r,d),null!==t&&Object.is(t.trackById,c)?(s&&(t=this._verifyReinsertion(t,d,c,r)),Object.is(t.item,d)||this._addIdentityChange(t,d)):(t=this._mismatch(t,d,c,r),s=!0),t=t._next,r++}),this.length=r;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,s,r){let o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(s,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):e=this._addAfter(new mK(t,s),o,r),e}_verifyReinsertion(e,t,s,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),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,s){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,s),this._addToMoves(e,s),e}_moveAfter(e,t,s){return this._unlink(e),this._insertAfter(e,t,s),this._addToMoves(e,s),e}_addAfter(e,t,s){return this._insertAfter(e,t,s),null===this._additionsTail?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,s){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new f5),this._linkedRecords.put(e),e.currentIndex=s,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,s=e._next;return null===t?this._itHead=s:t._next=s,null===s?this._itTail=t:s._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(null===this._movesTail?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new f5),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,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}}class mK{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 gK{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 s;for(s=this._head;null!==s;s=s._nextDup)if((null===t||t<=s.currentIndex)&&Object.is(s.trackById,e))return s;return null}remove(e){const t=e._prevDup,s=e._nextDup;return null===t?this._head=s:t._nextDup=s,null===s?this._tail=t:s._prevDup=t,null===this._head}}class f5{constructor(){this.map=new Map}put(e){const t=e.trackById;let s=this.map.get(t);s||(s=new gK,this.map.set(t,s)),s.add(e)}get(e,t){const s=e,r=this.map.get(s);return r?r.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 m5(n,e,t){const s=n.previousIndex;if(null===s)return s;let r=0;return t&&s{if(t&&t.key===r)this._maybeAddToChanges(t,s),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(r,s);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let s=t;null!==s;s=s._nextRemoved)s===this._mapHead&&(this._mapHead=null),this._records.delete(s.key),s._nextRemoved=s._next,s.previousValue=s.currentValue,s.currentValue=null,s._prev=null,s._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const s=e._prev;return t._next=e,t._prev=s,e._prev=t,s&&(s._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 r=this._records.get(e);this._maybeAddToChanges(r,t);const o=r._prev,c=r._next;return o&&(o._next=c),c&&(c._prev=o),r._next=null,r._prev=null,r}const s=new yK(e);return this._records.set(e,s),s.currentValue=t,this._addToAdditions(s),s}_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(s=>t(e[s],s))}}class yK{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 _5(){return new _u([new p5])}class _u{static#e=this.\u0275prov=Ae({token:_u,providedIn:"root",factory:_5});constructor(e){this.factories=e}static create(e,t){if(null!=t){const s=t.factories.slice();e=e.concat(s)}return new _u(e)}static extend(e){return{provide:_u,useFactory:t=>_u.create(e,t||_5()),deps:[[_u,new Wo,new Si]]}}find(e){const t=this.factories.find(s=>s.supports(e));if(null!=t)return t;throw new le(901,!1)}}function y5(){return new yu([new g5])}class yu{static#e=this.\u0275prov=Ae({token:yu,providedIn:"root",factory:y5});constructor(e){this.factories=e}static create(e,t){if(t){const s=t.factories.slice();e=e.concat(s)}return new yu(e)}static extend(e){return{provide:yu,useFactory:t=>yu.create(e,t||y5()),deps:[[yu,new Wo,new Si]]}}find(e){const t=this.factories.find(s=>s.supports(e));if(t)return t;throw new le(901,!1)}}const vK=[new g5],bK=[new p5],v5=(new _u(bK),new yu(vK),P1(null,"core",[]));class RC{constructor(e){}static#e=this.\u0275fac=function(t){return new(t||RC)(we(Oo))};static#t=this.\u0275mod=Qn({type:RC});static#n=this.\u0275inj=es({})}new Re("",{providedIn:"root",factory:()=>({})});function $i(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}function H5(n,e=NaN){return isNaN(parseFloat(n))||isNaN(Number(n))?e:Number(n)}function YC(n,e){Tr("NgSignals");const t=ae(n);return e?.equal&&(t[D].equal=e.equal),t}function vu(n){const e=k(null);try{return n()}finally{k(e)}}new Re("",{providedIn:"root",factory:()=>me(lF)});class lF{static#e=this.\u0275prov=Ae({token:lF,providedIn:"root",factory:()=>new JK})}class JK{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=me(oo),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),null===this.taskId){const t=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(t),this.taskId=null})}}enqueue(e){const t=e.creationZone;this.queues.has(t)||this.queues.set(t,new Set);const s=this.queues.get(t);s.has(e)||(this.queuedEffectCount++,s.add(e))}flush(){for(;this.queuedEffectCount>0;)for(const[e,t]of this.queues)null===e?this.flushQueue(t):e.run(()=>this.flushQueue(t))}flushQueue(e){for(const t of e)e.delete(t),this.queuedEffectCount--,t.run()}}var H1=x(9837);function $5(n,e,t,s,r,o,c){try{var d=n[o](c),h=d.value}catch(m){return void t(m)}d.done?e(h):Promise.resolve(h).then(s,r)}function BC(n){return function(){var e=this,t=arguments;return new Promise(function(s,r){var o=n.apply(e,t);function c(h){$5(o,s,r,c,d,"next",h)}function d(h){$5(o,s,r,c,d,"throw",h)}c(void 0)})}}let z5=null;function Ud(){return z5}class iQ{}class cF{static#e=this.\u0275fac=function(t){return new(t||cF)};static#t=this.\u0275prov=Ae({token:cF,factory:()=>window.navigation,providedIn:"platform"})}const Pn=new Re("");class Ev{historyGo(e){throw new Error("")}static#e=this.\u0275fac=function(t){return new(t||Ev)};static#t=this.\u0275prov=Ae({token:Ev,factory:()=>me(jC),providedIn:"platform"})}const rQ=new Re("");class jC extends Ev{constructor(){super(),this._doc=me(Pn),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ud().getBaseHref(this._doc)}onPopState(e){const t=Ud().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){const t=Ud().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}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(e){this._location.pathname=e}pushState(e,t,s){this._history.pushState(e,t,s)}replaceState(e,t,s){this._history.replaceState(e,t,s)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static#e=this.\u0275fac=function(t){return new(t||jC)};static#t=this.\u0275prov=Ae({token:jC,factory:()=>new jC,providedIn:"platform"})}function uF(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 W5(n){const e=n.match(/#|\?|$/),t=e&&e.index||n.length,s=t-("/"===n[t-1]?1:0);return n.slice(0,s)+n.slice(t)}function $d(n){return n&&"?"!==n[0]?"?"+n:n}class bu{historyGo(e){throw new Error("")}static#e=this.\u0275fac=function(t){return new(t||bu)};static#t=this.\u0275prov=Ae({token:bu,factory:()=>me(xv),providedIn:"root"})}const q5=new Re("");class xv extends bu{constructor(e,t){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??me(Pn).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return uF(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+$d(this._platformLocation.search),s=this._platformLocation.hash;return s&&e?`${t}${s}`:t}pushState(e,t,s,r){const o=this.prepareExternalUrl(s+$d(r));this._platformLocation.pushState(e,t,o)}replaceState(e,t,s,r){const o=this.prepareExternalUrl(s+$d(r));this._platformLocation.replaceState(e,t,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static#e=this.\u0275fac=function(t){return new(t||xv)(we(Ev),we(q5,8))};static#t=this.\u0275prov=Ae({token:xv,factory:xv.\u0275fac,providedIn:"root"})}class VC extends bu{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=t&&(this._baseHref=t)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){const t=this._platformLocation.hash??"#";return t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=uF(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,s,r){let o=this.prepareExternalUrl(s+$d(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,t,o)}replaceState(e,t,s,r){let o=this.prepareExternalUrl(s+$d(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static#e=this.\u0275fac=function(t){return new(t||VC)(we(Ev),we(q5,8))};static#t=this.\u0275prov=Ae({token:VC,factory:VC.\u0275fac})}class zd{constructor(e){this._subject=new Le,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const t=this._locationStrategy.getBaseHref();this._basePath=function lQ(n){if(new RegExp("^(https?:)?//").test(n)){const[,t]=n.split(/\/\/[^\/]+/);return t}return n}(W5(G5(t))),this._locationStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+$d(t))}normalize(e){return zd.stripTrailingSlash(function aQ(n,e){if(!n||!e.startsWith(n))return e;const t=e.substring(n.length);return""===t||["/",";","?","#"].includes(t[0])?t:e}(this._basePath,G5(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",s=null){this._locationStrategy.pushState(s,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+$d(t)),s)}replaceState(e,t="",s=null){this._locationStrategy.replaceState(s,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+$d(t)),s)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}),()=>{const t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(s=>s(e,t))}subscribe(e,t,s){return this._subject.subscribe({next:e,error:t,complete:s})}static#e=this.normalizeQueryParams=$d;static#t=this.joinWithSlash=uF;static#n=this.stripTrailingSlash=W5;static#s=this.\u0275fac=function(t){return new(t||zd)(we(bu))};static#i=this.\u0275prov=Ae({token:zd,factory:()=>function oQ(){return new zd(we(bu))}(),providedIn:"root"})}function G5(n){return n.replace(/\/index.html$/,"")}const K5={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var HC,vg,uo,Rs,da;!function(n){n[n.Decimal=0]="Decimal",n[n.Percent=1]="Percent",n[n.Currency=2]="Currency",n[n.Scientific=3]="Scientific"}(HC||(HC={})),function(n){n[n.Zero=0]="Zero",n[n.One=1]="One",n[n.Two=2]="Two",n[n.Few=3]="Few",n[n.Many=4]="Many",n[n.Other=5]="Other"}(vg||(vg={})),function(n){n[n.Format=0]="Format",n[n.Standalone=1]="Standalone"}(uo||(uo={})),function(n){n[n.Narrow=0]="Narrow",n[n.Abbreviated=1]="Abbreviated",n[n.Wide=2]="Wide",n[n.Short=3]="Short"}(Rs||(Rs={})),function(n){n[n.Short=0]="Short",n[n.Medium=1]="Medium",n[n.Long=2]="Long",n[n.Full=3]="Full"}(da||(da={}));const nr={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};var Q5;function U1(n,e){return yl(Lo(n)[Hs.DateFormat],e)}function $1(n,e){return yl(Lo(n)[Hs.TimeFormat],e)}function z1(n,e){return yl(Lo(n)[Hs.DateTimeFormat],e)}function _l(n,e){const t=Lo(n),s=t[Hs.NumberSymbols][e];if(typeof s>"u"){if(e===nr.CurrencyDecimal)return t[Hs.NumberSymbols][nr.Decimal];if(e===nr.CurrencyGroup)return t[Hs.NumberSymbols][nr.Group]}return s}function dF(n,e){return Lo(n)[Hs.NumberFormats][e]}!function(n){n[n.Sunday=0]="Sunday",n[n.Monday=1]="Monday",n[n.Tuesday=2]="Tuesday",n[n.Wednesday=3]="Wednesday",n[n.Thursday=4]="Thursday",n[n.Friday=5]="Friday",n[n.Saturday=6]="Saturday"}(Q5||(Q5={}));const mQ=gH;function X5(n){if(!n[Hs.ExtraData])throw new Error(`Missing extra locale data for the locale "${n[Hs.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function yl(n,e){for(let t=e;t>-1;t--)if(typeof n[t]<"u")return n[t];throw new Error("Locale data API: locale data undefined")}function hF(n){const[e,t]=n.split(":");return{hours:+e,minutes:+t}}function yQ(n,e,t="en"){const s=function fQ(n){return Lo(n)[Hs.Currencies]}(t)[n]||K5[n]||[],r=s[1];return"narrow"===e&&"string"==typeof r?r:s[0]||n}const vQ=2;const wQ=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,W1={},SQ=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var wu,ls,cs;function DQ(n,e,t,s){let r=function LQ(n){if(e3(n))return n;if("number"==typeof n&&!isNaN(n))return new Date(n);if("string"==typeof n){if(n=n.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(n)){const[r,o=1,c=1]=n.split("-").map(d=>+d);return q1(r,o-1,c)}const t=parseFloat(n);if(!isNaN(n-t))return new Date(t);let s;if(s=n.match(wQ))return function PQ(n){const e=new Date(0);let t=0,s=0;const r=n[8]?e.setUTCFullYear:e.setFullYear,o=n[8]?e.setUTCHours:e.setHours;n[9]&&(t=Number(n[9]+n[10]),s=Number(n[9]+n[11])),r.call(e,Number(n[1]),Number(n[2])-1,Number(n[3]));const c=Number(n[4]||0)-t,d=Number(n[5]||0)-s,h=Number(n[6]||0),m=Math.floor(1e3*parseFloat("0."+(n[7]||0)));return o.call(e,c,d,h,m),e}(s)}const e=new Date(n);if(!e3(e))throw new Error(`Unable to convert "${n}" into a date`);return e}(n);e=Wd(t,e)||e;let d,c=[];for(;e;){if(d=SQ.exec(e),!d){c.push(e);break}{c=c.concat(d.slice(1));const g=c.pop();if(!g)break;e=g}}let h=r.getTimezoneOffset();s&&(h=J5(s,h),r=function AQ(n,e,t){const s=t?-1:1,r=n.getTimezoneOffset(),o=J5(e,r);return function IQ(n,e){return n=new Date(n.getTime()),n.setMinutes(n.getMinutes()+e),n}(n,s*(o-r))}(r,s,!0));let m="";return c.forEach(g=>{const S=function TQ(n){if(fF[n])return fF[n];let e;switch(n){case"G":case"GG":case"GGG":e=Gs(cs.Eras,Rs.Abbreviated);break;case"GGGG":e=Gs(cs.Eras,Rs.Wide);break;case"GGGGG":e=Gs(cs.Eras,Rs.Narrow);break;case"y":e=sr(ls.FullYear,1,0,!1,!0);break;case"yy":e=sr(ls.FullYear,2,0,!0,!0);break;case"yyy":e=sr(ls.FullYear,3,0,!1,!0);break;case"yyyy":e=sr(ls.FullYear,4,0,!1,!0);break;case"Y":e=X1(1);break;case"YY":e=X1(2,!0);break;case"YYY":e=X1(3);break;case"YYYY":e=X1(4);break;case"M":case"L":e=sr(ls.Month,1,1);break;case"MM":case"LL":e=sr(ls.Month,2,1);break;case"MMM":e=Gs(cs.Months,Rs.Abbreviated);break;case"MMMM":e=Gs(cs.Months,Rs.Wide);break;case"MMMMM":e=Gs(cs.Months,Rs.Narrow);break;case"LLL":e=Gs(cs.Months,Rs.Abbreviated,uo.Standalone);break;case"LLLL":e=Gs(cs.Months,Rs.Wide,uo.Standalone);break;case"LLLLL":e=Gs(cs.Months,Rs.Narrow,uo.Standalone);break;case"w":e=pF(1);break;case"ww":e=pF(2);break;case"W":e=pF(1,!0);break;case"d":e=sr(ls.Date,1);break;case"dd":e=sr(ls.Date,2);break;case"c":case"cc":e=sr(ls.Day,1);break;case"ccc":e=Gs(cs.Days,Rs.Abbreviated,uo.Standalone);break;case"cccc":e=Gs(cs.Days,Rs.Wide,uo.Standalone);break;case"ccccc":e=Gs(cs.Days,Rs.Narrow,uo.Standalone);break;case"cccccc":e=Gs(cs.Days,Rs.Short,uo.Standalone);break;case"E":case"EE":case"EEE":e=Gs(cs.Days,Rs.Abbreviated);break;case"EEEE":e=Gs(cs.Days,Rs.Wide);break;case"EEEEE":e=Gs(cs.Days,Rs.Narrow);break;case"EEEEEE":e=Gs(cs.Days,Rs.Short);break;case"a":case"aa":case"aaa":e=Gs(cs.DayPeriods,Rs.Abbreviated);break;case"aaaa":e=Gs(cs.DayPeriods,Rs.Wide);break;case"aaaaa":e=Gs(cs.DayPeriods,Rs.Narrow);break;case"b":case"bb":case"bbb":e=Gs(cs.DayPeriods,Rs.Abbreviated,uo.Standalone,!0);break;case"bbbb":e=Gs(cs.DayPeriods,Rs.Wide,uo.Standalone,!0);break;case"bbbbb":e=Gs(cs.DayPeriods,Rs.Narrow,uo.Standalone,!0);break;case"B":case"BB":case"BBB":e=Gs(cs.DayPeriods,Rs.Abbreviated,uo.Format,!0);break;case"BBBB":e=Gs(cs.DayPeriods,Rs.Wide,uo.Format,!0);break;case"BBBBB":e=Gs(cs.DayPeriods,Rs.Narrow,uo.Format,!0);break;case"h":e=sr(ls.Hours,1,-12);break;case"hh":e=sr(ls.Hours,2,-12);break;case"H":e=sr(ls.Hours,1);break;case"HH":e=sr(ls.Hours,2);break;case"m":e=sr(ls.Minutes,1);break;case"mm":e=sr(ls.Minutes,2);break;case"s":e=sr(ls.Seconds,1);break;case"ss":e=sr(ls.Seconds,2);break;case"S":e=sr(ls.FractionalSeconds,1);break;case"SS":e=sr(ls.FractionalSeconds,2);break;case"SSS":e=sr(ls.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=K1(wu.Short);break;case"ZZZZZ":e=K1(wu.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=K1(wu.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=K1(wu.Long);break;default:return null}return fF[n]=e,e}(g);m+=S?S(r,t,h):"''"===g?"'":g.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),m}function q1(n,e,t){const s=new Date(0);return s.setFullYear(n,e,t),s.setHours(0,0,0),s}function Wd(n,e){const t=function cQ(n){return Lo(n)[Hs.LocaleId]}(n);if(W1[t]??={},W1[t][e])return W1[t][e];let s="";switch(e){case"shortDate":s=U1(n,da.Short);break;case"mediumDate":s=U1(n,da.Medium);break;case"longDate":s=U1(n,da.Long);break;case"fullDate":s=U1(n,da.Full);break;case"shortTime":s=$1(n,da.Short);break;case"mediumTime":s=$1(n,da.Medium);break;case"longTime":s=$1(n,da.Long);break;case"fullTime":s=$1(n,da.Full);break;case"short":const r=Wd(n,"shortTime"),o=Wd(n,"shortDate");s=G1(z1(n,da.Short),[r,o]);break;case"medium":const c=Wd(n,"mediumTime"),d=Wd(n,"mediumDate");s=G1(z1(n,da.Medium),[c,d]);break;case"long":const h=Wd(n,"longTime"),m=Wd(n,"longDate");s=G1(z1(n,da.Long),[h,m]);break;case"full":const g=Wd(n,"fullTime"),S=Wd(n,"fullDate");s=G1(z1(n,da.Full),[g,S])}return s&&(W1[t][e]=s),s}function G1(n,e){return e&&(n=n.replace(/\{([^}]+)}/g,function(t,s){return null!=e&&s in e?e[s]:t})),n}function hc(n,e,t="-",s,r){let o="";(n<0||r&&n<=0)&&(r?n=1-n:(n=-n,o=t));let c=String(n);for(;c.length0||d>-t)&&(d+=t),n===ls.Hours)0===d&&-12===t&&(d=12);else if(n===ls.FractionalSeconds)return function CQ(n,e){return hc(n,3).substring(0,e)}(d,e);const h=_l(c,nr.MinusSign);return hc(d,e,h,s,r)}}function Gs(n,e,t=uo.Format,s=!1){return function(r,o){return function EQ(n,e,t,s,r,o){switch(t){case cs.Months:return function hQ(n,e,t){const s=Lo(n),o=yl([s[Hs.MonthsFormat],s[Hs.MonthsStandalone]],e);return yl(o,t)}(e,r,s)[n.getMonth()];case cs.Days:return function dQ(n,e,t){const s=Lo(n),o=yl([s[Hs.DaysFormat],s[Hs.DaysStandalone]],e);return yl(o,t)}(e,r,s)[n.getDay()];case cs.DayPeriods:const c=n.getHours(),d=n.getMinutes();if(o){const m=function gQ(n){const e=Lo(n);return X5(e),(e[Hs.ExtraData][2]||[]).map(s=>"string"==typeof s?hF(s):[hF(s[0]),hF(s[1])])}(e),g=function _Q(n,e,t){const s=Lo(n);X5(s);const o=yl([s[Hs.ExtraData][0],s[Hs.ExtraData][1]],e)||[];return yl(o,t)||[]}(e,r,s),S=m.findIndex(T=>{if(Array.isArray(T)){const[I,P]=T,Y=c>=I.hours&&d>=I.minutes,z=c0?Math.floor(r/60):Math.ceil(r/60);switch(n){case wu.Short:return(r>=0?"+":"")+hc(c,2,o)+hc(Math.abs(r%60),2,o);case wu.ShortGMT:return"GMT"+(r>=0?"+":"")+hc(c,1,o);case wu.Long:return"GMT"+(r>=0?"+":"")+hc(c,2,o)+":"+hc(Math.abs(r%60),2,o);case wu.Extended:return 0===s?"Z":(r>=0?"+":"")+hc(c,2,o)+":"+hc(Math.abs(r%60),2,o);default:throw new Error(`Unknown zone width "${n}"`)}}}!function(n){n[n.Short=0]="Short",n[n.ShortGMT=1]="ShortGMT",n[n.Long=2]="Long",n[n.Extended=3]="Extended"}(wu||(wu={})),function(n){n[n.FullYear=0]="FullYear",n[n.Month=1]="Month",n[n.Date=2]="Date",n[n.Hours=3]="Hours",n[n.Minutes=4]="Minutes",n[n.Seconds=5]="Seconds",n[n.FractionalSeconds=6]="FractionalSeconds",n[n.Day=7]="Day"}(ls||(ls={})),function(n){n[n.DayPeriods=0]="DayPeriods",n[n.Days=1]="Days",n[n.Months=2]="Months",n[n.Eras=3]="Eras"}(cs||(cs={}));const xQ=0,Q1=4;function Z5(n){const e=n.getDay(),t=0===e?-3:Q1-e;return q1(n.getFullYear(),n.getMonth(),n.getDate()+t)}function pF(n,e=!1){return function(t,s){let r;if(e){const o=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,c=t.getDate();r=1+Math.floor((c+o)/7)}else{const o=Z5(t),c=function kQ(n){const e=q1(n,xQ,1).getDay();return q1(n,0,1+(e<=Q1?Q1:Q1+7)-e)}(o.getFullYear()),d=o.getTime()-c.getTime();r=1+Math.round(d/6048e5)}return hc(r,n,_l(s,nr.MinusSign))}}function X1(n,e=!1){return function(t,s){return hc(Z5(t).getFullYear(),n,_l(s,nr.MinusSign),e)}}const fF={};function J5(n,e){n=n.replace(/:/g,"");const t=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(t)?e:t}function e3(n){return n instanceof Date&&!isNaN(n.valueOf())}const RQ=/^(\d+)?\.((\d+)(-(\d+))?)?$/,t3=22,Z1=".",UC="0",OQ=";",NQ=",",mF="#";function gF(n,e,t,s,r,o,c=!1){let d="",h=!1;if(isFinite(n)){let m=function HQ(n){let s,r,o,c,d,e=Math.abs(n)+"",t=0;for((r=e.indexOf(Z1))>-1&&(e=e.replace(Z1,"")),(o=e.search(/e/i))>0?(r<0&&(r=o),r+=+e.slice(o+1),e=e.substring(0,o)):r<0&&(r=e.length),o=0;e.charAt(o)===UC;o++);if(o===(d=e.length))s=[0],r=1;else{for(d--;e.charAt(d)===UC;)d--;for(r-=o,s=[],c=0;o<=d;o++,c++)s[c]=Number(e.charAt(o))}return r>t3&&(s=s.splice(0,t3-1),t=r-1,r=1),{digits:s,exponent:t,integerLen:r}}(n);c&&(m=function VQ(n){if(0===n.digits[0])return n;const e=n.digits.length-n.integerLen;return n.exponent?n.exponent+=2:(0===e?n.digits.push(0,0):1===e&&n.digits.push(0),n.integerLen+=2),n}(m));let g=e.minInt,S=e.minFrac,T=e.maxFrac;if(o){const q=o.match(RQ);if(null===q)throw new Error(`${o} is not a valid digit info`);const oe=q[1],fe=q[3],ye=q[5];null!=oe&&(g=yF(oe)),null!=fe&&(S=yF(fe)),null!=ye?T=yF(ye):null!=fe&&S>T&&(T=S)}!function UQ(n,e,t){if(e>t)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${t}).`);let s=n.digits,r=s.length-n.integerLen;const o=Math.min(Math.max(e,r),t);let c=o+n.integerLen,d=s[c];if(c>0){s.splice(Math.max(n.integerLen,c));for(let S=c;S=5)if(c-1<0){for(let S=0;S>c;S--)s.unshift(0),n.integerLen++;s.unshift(1),n.integerLen++}else s[c-1]++;for(;r=m?P.pop():h=!1),T>=10?1:0},0);g&&(s.unshift(g),n.integerLen++)}(m,S,T);let I=m.digits,P=m.integerLen;const Y=m.exponent;let z=[];for(h=I.every(q=>!q);P0?z=I.splice(P,I.length):(z=I,I=[0]);const Q=[];for(I.length>=e.lgSize&&Q.unshift(I.splice(-e.lgSize,I.length).join(""));I.length>e.gSize;)Q.unshift(I.splice(-e.gSize,I.length).join(""));I.length&&Q.unshift(I.join("")),d=Q.join(_l(t,s)),z.length&&(d+=_l(t,r)+z.join("")),Y&&(d+=_l(t,nr.Exponential)+"+"+Y)}else d=_l(t,nr.Infinity);return d=n<0&&!h?e.negPre+d+e.negSuf:e.posPre+d+e.posSuf,d}function YQ(n,e,t,s,r){const c=_F(dF(e,HC.Currency),_l(e,nr.MinusSign));return c.minFrac=function bQ(n){let e;const t=K5[n];return t&&(e=t[2]),"number"==typeof e?e:vQ}(s),c.maxFrac=c.minFrac,gF(n,c,e,nr.CurrencyGroup,nr.CurrencyDecimal,r).replace("\xa4",t).replace("\xa4","").trim()}function _F(n,e="-"){const t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},s=n.split(OQ),r=s[0],o=s[1],c=-1!==r.indexOf(Z1)?r.split(Z1):[r.substring(0,r.lastIndexOf(UC)+1),r.substring(r.lastIndexOf(UC)+1)],d=c[0],h=c[1]||"";t.posPre=d.substring(0,d.indexOf(mF));for(let g=0;g-1||(r=t.getPluralCategory(n,s),e.indexOf(r)>-1))return r;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${n}"`)}class $C extends kv{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(mQ(t||this.locale)(e)){case vg.Zero:return"zero";case vg.One:return"one";case vg.Two:return"two";case vg.Few:return"few";case vg.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(t){return new(t||$C)(we($p))};static#t=this.\u0275prov=Ae({token:$C,factory:$C.\u0275fac})}function i3(n,e){e=encodeURIComponent(e);for(const t of n.split(";")){const s=t.indexOf("="),[r,o]=-1==s?[t,""]:[t.slice(0,s),t.slice(s+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}const vF=/\s+/,r3=[];class Tv{constructor(e,t){this._ngEl=e,this._renderer=t,this.initialClasses=r3,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(vF):r3}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(vF):e}ngDoCheck(){for(const t of this.initialClasses)this._updateState(t,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const t of e)this._updateState(t,!0);else if(null!=e)for(const t of Object.keys(e))this._updateState(t,!!e[t]);this._applyStateDiff()}_updateState(e,t){const s=this.stateMap.get(e);void 0!==s?(s.enabled!==t&&(s.changed=!0,s.enabled=t),s.touched=!0):this.stateMap.set(e,{enabled:t,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const t=e[0],s=e[1];s.changed?(this._toggleClass(t,s.enabled),s.changed=!1):s.touched||(s.enabled&&this._toggleClass(t,!1),this.stateMap.delete(t)),s.touched=!1}}_toggleClass(e,t){(e=e.trim()).length>0&&e.split(vF).forEach(s=>{t?this._renderer.addClass(this._ngEl.nativeElement,s):this._renderer.removeClass(this._ngEl.nativeElement,s)})}static#e=this.\u0275fac=function(t){return new(t||Tv)(ce(pn),ce(Ui))};static#t=this.\u0275dir=Ze({type:Tv,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}class Iv{constructor(e){this._viewContainerRef=e,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(e){return void 0!==e.ngComponentOutletNgModule||void 0!==e.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(e){return void 0!==e.ngComponentOutlet||void 0!==e.ngComponentOutletContent||void 0!==e.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(e)}ngOnChanges(e){if(this._needToReCreateComponentInstance(e)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(e)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=function xp(n,e){return new lv(n,e??null,[])}(this.ngComponentOutletNgModule,o3(t)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(o3(t)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:t,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const e of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(e,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(e){for(const[t,s]of this._inputsUsed)s?(e.setInput(t,this.ngComponentOutletInputs[t]),this._inputsUsed.set(t,!1)):(e.setInput(t,void 0),this._inputsUsed.delete(t))}static#e=this.\u0275fac=function(t){return new(t||Iv)(ce(xr))};static#t=this.\u0275dir=Ze({type:Iv,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[vs]})}function o3(n){return n.get(Rd).injector}class $Q{constructor(e,t,s,r){this.$implicit=e,this.ngForOf=t,this.index=s,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}class Av{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,t,s){this._viewContainer=e,this._template=t,this._differs=s,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=this._viewContainer;e.forEachOperation((s,r,o)=>{if(null==s.previousIndex)t.createEmbeddedView(this._template,new $Q(s.item,this._ngForOf,-1,-1),null===o?void 0:o);else if(null==o)t.remove(null===r?void 0:r);else if(null!==r){const c=t.get(r);t.move(c,o),a3(c,s)}});for(let s=0,r=t.length;s{a3(t.get(s.currentIndex),s)})}static ngTemplateContextGuard(e,t){return!0}static#e=this.\u0275fac=function(t){return new(t||Av)(ce(xr),ce(dr),ce(_u))};static#t=this.\u0275dir=Ze({type:Av,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}function a3(n,e){n.context.$implicit=e.item}class Lv{constructor(e,t){this._viewContainer=e,this._context=new zQ,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){l3("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){l3("ngIfElse",e),this._elseTemplateRef=e,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(e,t){return!0}static#e=this.\u0275fac=function(t){return new(t||Lv)(ce(xr),ce(dr))};static#t=this.\u0275dir=Ze({type:Lv,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}class zQ{constructor(){this.$implicit=null,this.ngIf=null}}function l3(n,e){if(e&&!e.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${mn(e)}'.`)}class bF{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}class Wp{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const t=e===this._ngSwitch;return this._lastCasesMatched||=t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const t of this._defaultViews)t.enforceState(e)}}static#e=this.\u0275fac=function(t){return new(t||Wp)};static#t=this.\u0275dir=Ze({type:Wp,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}class Pv{constructor(e,t,s){this.ngSwitch=s,s._addCase(),this._view=new bF(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(t){return new(t||Pv)(ce(xr),ce(dr),ce(Wp,9))};static#t=this.\u0275dir=Ze({type:Pv,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}class Rv{constructor(e,t,s){s._addDefault(new bF(e,t))}static#e=this.\u0275fac=function(t){return new(t||Rv)(ce(xr),ce(dr),ce(Wp,9))};static#t=this.\u0275dir=Ze({type:Rv,selectors:[["","ngSwitchDefault",""]],standalone:!0})}class bg{constructor(e){this._localization=e,this._caseViews={}}set ngPlural(e){this._updateView(e)}addCase(e,t){this._caseViews[e]=t}_updateView(e){this._clearViews();const s=s3(e,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[s])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(e){e&&(this._activeView=e,this._activeView.create())}static#e=this.\u0275fac=function(t){return new(t||bg)(ce(kv))};static#t=this.\u0275dir=Ze({type:bg,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}class Ov{constructor(e,t,s,r){this.value=e;const o=!isNaN(Number(e));r.addCase(o?`=${e}`:e,new bF(s,t))}static#e=this.\u0275fac=function(t){return new(t||Ov)(ro("ngPluralCase"),ce(dr),ce(xr),ce(bg,1))};static#t=this.\u0275dir=Ze({type:Ov,selectors:[["","ngPluralCase",""]],standalone:!0})}class Nv{constructor(e,t,s){this._ngEl=e,this._differs=t,this._renderer=s,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[s,r]=e.split("."),o=-1===s.indexOf("-")?void 0:rc.DashCase;null!=t?this._renderer.setStyle(this._ngEl.nativeElement,s,r?`${t}${r}`:t,o):this._renderer.removeStyle(this._ngEl.nativeElement,s,o)}_applyChanges(e){e.forEachRemovedItem(t=>this._setStyle(t.key,null)),e.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),e.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}static#e=this.\u0275fac=function(t){return new(t||Nv)(ce(pn),ce(yu),ce(Ui))};static#t=this.\u0275dir=Ze({type:Nv,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}class Fv{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const s=this._createContextForwardProxy();this._viewRef=t.createEmbeddedView(this.ngTemplateOutlet,s,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,t,s)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,t,s),get:(e,t,s)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,t,s)}})}static#e=this.\u0275fac=function(t){return new(t||Fv)(ce(xr))};static#t=this.\u0275dir=Ze({type:Fv,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[vs]})}function pc(n,e){return new le(2100,!1)}const GQ=new class qQ{createSubscription(e,t){return e.then(t,s=>{throw s})}dispose(e){}},KQ=new class WQ{createSubscription(e,t){return vu(()=>e.subscribe({next:t,error:s=>{throw s}}))}dispose(e){vu(()=>e.unsubscribe())}};class wg{constructor(e){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(e){if(AC(e))return GQ;if(X8(e))return KQ;throw pc()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(t){return new(t||wg)(ce(gl,16))};static#t=this.\u0275pipe=Gi({name:"async",type:wg,pure:!1,standalone:!0})}class Sg{transform(e){if(null==e)return null;if("string"!=typeof e)throw pc();return e.toLowerCase()}static#e=this.\u0275fac=function(t){return new(t||Sg)};static#t=this.\u0275pipe=Gi({name:"lowercase",type:Sg,pure:!0,standalone:!0})}const QQ=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;class Dg{transform(e){if(null==e)return null;if("string"!=typeof e)throw pc();return e.replace(QQ,t=>t[0].toUpperCase()+t.slice(1).toLowerCase())}static#e=this.\u0275fac=function(t){return new(t||Dg)};static#t=this.\u0275pipe=Gi({name:"titlecase",type:Dg,pure:!0,standalone:!0})}class Cg{transform(e){if(null==e)return null;if("string"!=typeof e)throw pc();return e.toUpperCase()}static#e=this.\u0275fac=function(t){return new(t||Cg)};static#t=this.\u0275pipe=Gi({name:"uppercase",type:Cg,pure:!0,standalone:!0})}const ZQ=new Re(""),JQ=new Re("");class Mg{constructor(e,t,s){this.locale=e,this.defaultTimezone=t,this.defaultOptions=s}transform(e,t,s,r){if(null==e||""===e||e!=e)return null;try{const o=t??this.defaultOptions?.dateFormat??"mediumDate",c=s??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return DQ(e,o,r||this.locale,c)}catch(o){throw pc(0,o.message)}}static#e=this.\u0275fac=function(t){return new(t||Mg)(ce($p,16),ce(ZQ,24),ce(JQ,24))};static#t=this.\u0275pipe=Gi({name:"date",type:Mg,pure:!0,standalone:!0})}const eX=/#/g;class Eg{constructor(e){this._localization=e}transform(e,t,s){if(null==e)return"";if("object"!=typeof t||null===t)throw pc();return t[s3(e,Object.keys(t),this._localization,s)].replace(eX,e.toString())}static#e=this.\u0275fac=function(t){return new(t||Eg)(ce(kv,16))};static#t=this.\u0275pipe=Gi({name:"i18nPlural",type:Eg,pure:!0,standalone:!0})}class xg{transform(e,t){if(null==e)return"";if("object"!=typeof t||"string"!=typeof e)throw pc();return t.hasOwnProperty(e)?t[e]:t.hasOwnProperty("other")?t.other:""}static#e=this.\u0275fac=function(t){return new(t||xg)};static#t=this.\u0275pipe=Gi({name:"i18nSelect",type:xg,pure:!0,standalone:!0})}class Yv{transform(e){return JSON.stringify(e,null,2)}static#e=this.\u0275fac=function(t){return new(t||Yv)};static#t=this.\u0275pipe=Gi({name:"json",type:Yv,pure:!1,standalone:!0})}class Bv{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=c3}transform(e,t=c3){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ??=this.differs.find(e).create();const s=this.differ.diff(e),r=t!==this.compareFn;return s&&(this.keyValues=[],s.forEachItem(o=>{this.keyValues.push(function tX(n,e){return{key:n,value:e}}(o.key,o.currentValue))})),(s||r)&&(this.keyValues.sort(t),this.compareFn=t),this.keyValues}static#e=this.\u0275fac=function(t){return new(t||Bv)(ce(yu,16))};static#t=this.\u0275pipe=Gi({name:"keyvalue",type:Bv,pure:!1,standalone:!0})}function c3(n,e){const t=n.key,s=e.key;if(t===s)return 0;if(void 0===t)return 1;if(void 0===s)return-1;if(null===t)return 1;if(null===s)return-1;if("string"==typeof t&&"string"==typeof s)return tJ1(me(zr))?new sX(me(Pn),window):new rX})}class sX{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){const t=function iX(n,e){const t=n.getElementById(e)||n.getElementsByName(e)[0];if(t)return t;if("function"==typeof n.createTreeWalker&&n.body&&"function"==typeof n.body.attachShadow){const s=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let r=s.currentNode;for(;r;){const o=r.shadowRoot;if(o){const c=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(c)return c}r=s.nextNode()}}return null}(this.document,e);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){const t=e.getBoundingClientRect(),s=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(s-o[0],r-o[1])}}class rX{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}}class u3{}const tI="20";function jv(n,e){return nI(n)?new URL(n):new URL(n,e.location.href)}function nI(n){return/^https?:\/\//.test(n)}function d3(n){return nI(n)?new URL(n).hostname:n}function h3(n){if("string"!=typeof n||""===n.trim())return!1;try{new URL(n);return!0}catch{return!1}}function aX(n){return n.startsWith("/")?n.slice(1):n}const Vv=n=>n.src,MF=new Re("",{providedIn:"root",factory:()=>Vv});function sI(n,e){return function(s){return h3(s)||function lX(n,e){throw new le(2959,!1)}(),s=function oX(n){return n.endsWith("/")?n.slice(0,-1):n}(s),[{provide:MF,useValue:c=>(nI(c.src)&&function cX(n,e){throw new le(2959,!1)}(0,c.src),n(s,{...c,src:aX(c.src)}))}]}}sI(function uX(n,e){let t="format=auto";return e.width&&(t+=`,width=${e.width}`),e.isPlaceholder&&(t+=`,quality=${tI}`),`${n}/cdn-cgi/image/${t}/${e.src}`});sI(function fX(n,e){let s="f_auto,"+(e.isPlaceholder?"q_auto:low":"q_auto");return e.width&&(s+=`,w_${e.width}`),`${n}/image/upload/${s}/${e.src}`});sI(function yX(n,e){const{src:t,width:s}=e,r=[];s&&r.push(`w-${s}`),e.isPlaceholder&&r.push(`q-${tI}`);const o=r.length?[n,`tr:${r.join(",")}`,t]:[n,t];return new URL(o.join("/")).href});sI(function SX(n,e){const t=new URL(`${n}/${e.src}`);return t.searchParams.set("auto","format"),e.width&&t.searchParams.set("w",e.width.toString()),e.isPlaceholder&&t.searchParams.set("q",tI),t.href});function Os(n,e=!0){return`The NgOptimizedImage directive ${e?`(activated on an element with the \`ngSrc="${n}"\`) `:""}has detected that`}function f3(n){throw new le(2958,`Unexpected invocation of the ${n} in the prod mode. Please make sure that the prod mode is enabled for production builds.`)}class iI{constructor(){this.images=new Map,this.window=null,this.observer=null;const e=J1(me(zr));f3("LCP checker");const t=me(Pn).defaultView;e&&typeof PerformanceObserver<"u"&&(this.window=t,this.observer=this.initPerformanceObserver())}initPerformanceObserver(){const e=new PerformanceObserver(t=>{const s=t.getEntries();if(0===s.length)return;const o=s[s.length-1].element?.src??"";if(o.startsWith("data:")||o.startsWith("blob:"))return;const c=this.images.get(o);c&&(!c.priority&&!c.alreadyWarnedPriority&&(c.alreadyWarnedPriority=!0,function xX(n){const e=Os(n);console.error(mt(2955,`${e} this image is the Largest Contentful Paint (LCP) element but was not marked "priority". This image should be marked "priority" in order to prioritize its loading. To fix this, add the "priority" attribute.`))}(o)),c.modified&&!c.alreadyWarnedModified&&(c.alreadyWarnedModified=!0,function kX(n){const e=Os(n);console.warn(mt(2964,`${e} this image is the Largest Contentful Paint (LCP) element and has had its "ngSrc" attribute modified. This can cause slower loading performance. It is recommended not to modify the "ngSrc" property on any image which could be the LCP element.`))}(o)))});return e.observe({type:"largest-contentful-paint",buffered:!0}),e}registerImage(e,t,s){if(!this.observer)return;const r={priority:s,modified:!1,alreadyWarnedModified:!1,alreadyWarnedPriority:!1};this.images.set(jv(e,this.window).href,r)}unregisterImage(e){this.observer&&this.images.delete(jv(e,this.window).href)}updateImage(e,t){if(!this.observer)return;const s=jv(e,this.window).href,r=this.images.get(s);r&&(r.modified=!0,this.images.set(jv(t,this.window).href,r),this.images.delete(s))}ngOnDestroy(){this.observer&&(this.observer.disconnect(),this.images.clear())}static#e=this.\u0275fac=function(t){return new(t||iI)};static#t=this.\u0275prov=Ae({token:iI,factory:iI.\u0275fac,providedIn:"root"})}const TX=new Set(["localhost","127.0.0.1","0.0.0.0"]),IX=new Re("");class rI{constructor(){this.document=me(Pn),this.isServer=eI(me(zr)),this.preconnectLinks=null,this.alreadySeen=new Set,this.window=null,this.blocklist=new Set(TX),f3("preconnect link checker");const e=this.document.defaultView;typeof e<"u"&&(this.window=e);const t=me(IX,{optional:!0});t&&this.populateBlocklist(t)}populateBlocklist(e){Array.isArray(e)?m3(e,t=>{this.blocklist.add(d3(t))}):this.blocklist.add(d3(e))}assertPreconnect(e,t){if(this.isServer)return;const s=jv(e,this.window);this.blocklist.has(s.hostname)||this.alreadySeen.has(s.origin)||(this.alreadySeen.add(s.origin),this.preconnectLinks??=this.queryPreconnectLinks(),this.preconnectLinks.has(s.origin)||console.warn(mt(2956,`${Os(t)} there is no preconnect tag present for this image. Preconnecting to the origin(s) that serve priority images ensures that these images are delivered as soon as possible. To fix this, please add the following element into the of the document:\n `)))}queryPreconnectLinks(){const e=new Set,s=Array.from(this.document.querySelectorAll("link[rel=preconnect]"));for(let r of s){const o=jv(r.href,this.window);e.add(o.origin)}return e}ngOnDestroy(){this.preconnectLinks?.clear(),this.alreadySeen.clear()}static#e=this.\u0275fac=function(t){return new(t||rI)};static#t=this.\u0275prov=Ae({token:rI,factory:rI.\u0275fac,providedIn:"root"})}function m3(n,e){for(let t of n)Array.isArray(t)?m3(t,e):e(t)}const AX=new Re("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});class zC{constructor(){this.preloadedImages=me(AX),this.document=me(Pn)}createPreloadLinkTag(e,t,s,r){if(this.preloadedImages.has(t))return;this.preloadedImages.add(t);const o=e.createElement("link");e.setAttribute(o,"as","image"),e.setAttribute(o,"href",t),e.setAttribute(o,"rel","preload"),e.setAttribute(o,"fetchpriority","high"),r&&e.setAttribute(o,"imageSizes",r),s&&e.setAttribute(o,"imageSrcset",s),e.appendChild(this.document.head,o)}static#e=this.\u0275fac=function(t){return new(t||zC)};static#t=this.\u0275prov=Ae({token:zC,factory:zC.\u0275fac,providedIn:"root"})}const _3=/^((\s*\d+w\s*(,|$)){1,})$/,PX=[1,2];class kF{constructor(){this.imageLoader=me(MF),this.config=function YX(n){let e={};return n.breakpoints&&(e.breakpoints=n.breakpoints.sort((t,s)=>t-s)),Object.assign({},md,n,e)}(me(vx)),this.renderer=me(Ui),this.imgElement=me(pn).nativeElement,this.injector=me(as),this.isServer=eI(me(zr)),this.preloadLinkCreator=me(zC),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){Tr("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const e=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),e,this.sizes)}ngOnChanges(e){if(e.ngSrc&&!e.ngSrc.isFirstChange()){const t=this._renderedSrc;this.updateSrcAndSrcset(!0);const s=this._renderedSrc;null!==this.lcpObserver&&t&&s&&t!==s&&this.injector.get(_t).runOutsideAngular(()=>{this.lcpObserver?.updateImage(t,s)})}}callImageLoader(e){let t=e;return this.loaderParams&&(t.loaderParams=this.loaderParams),this.imageLoader(t)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){const e={src:this.ngSrc};this._renderedSrc=this.callImageLoader(e)}return this._renderedSrc}getRewrittenSrcset(){const e=_3.test(this.ngSrcset);return this.ngSrcset.split(",").filter(s=>""!==s).map(s=>{s=s.trim();const r=e?parseFloat(s):parseFloat(s)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:r})} ${s}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:e}=this.config;let t=e;return"100vw"===this.sizes?.trim()&&(t=e.filter(r=>r>=640)),t.map(r=>`${this.callImageLoader({src:this.ngSrc,width:r})} ${r}w`).join(", ")}updateSrcAndSrcset(e=!1){e&&(this._renderedSrc=null);const t=this.getRewrittenSrc();let s;return this.setHostAttribute("src",t),this.ngSrcset?s=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(s=this.getAutomaticSrcset()),s&&this.setHostAttribute("srcset",s),s}getFixedSrcset(){return PX.map(t=>`${this.callImageLoader({src:this.ngSrc,width:this.width*t})} ${t}x`).join(", ")}shouldGenerateAutomaticSrcset(){let e=!1;return this.sizes||(e=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Vv&&!e}generatePlaceholder(e){const{placeholderResolution:t}=this.config;return!0===e?`url(${this.callImageLoader({src:this.ngSrc,width:t,isPlaceholder:!0})})`:"string"==typeof e?`url(${e})`:null}shouldBlurPlaceholder(e){return!e||!e.hasOwnProperty("blur")||!!e.blur}removePlaceholderOnLoad(e){const t=()=>{const o=this.injector.get(gl);s(),r(),this.placeholder=!1,o.markForCheck()},s=this.renderer.listen(e,"load",t),r=this.renderer.listen(e,"error",t);IF(e,t)}ngOnDestroy(){}setHostAttribute(e,t){this.renderer.setAttribute(this.imgElement,e,t)}static#e=this.\u0275fac=function(t){return new(t||kF)};static#t=this.\u0275dir=Ze({type:kF,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(t,s){2&t&&l1("position",s.fill?"absolute":null)("width",s.fill?"100%":null)("height",s.fill?"100%":null)("inset",s.fill?"0":null)("background-size",s.placeholder?"cover":null)("background-position",s.placeholder?"50% 50%":null)("background-repeat",s.placeholder?"no-repeat":null)("background-image",s.placeholder?s.generatePlaceholder(s.placeholder):null)("filter",s.placeholder&&s.shouldBlurPlaceholder(s.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",zX],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",H5],height:[2,"height","height",H5],loading:"loading",priority:[2,"priority","priority",$i],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",$i],fill:[2,"fill","fill",$i],placeholder:[2,"placeholder","placeholder",WX],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[Pa,vs]})}function IF(n,e){n.complete&&n.naturalWidth&&e()}function zX(n){return"string"==typeof n?n:lo(n)}function WX(n){return"string"==typeof n&&"true"!==n&&"false"!==n&&""!==n?n:$i(n)}class qX extends iQ{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class AF extends qX{static makeCurrent(){!function sQ(n){z5??=n}(new AF)}onAndCancel(e,t,s){return e.addEventListener(t,s),()=>{e.removeEventListener(t,s)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.remove()}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 GX(){return qC=qC||document.querySelector("base"),qC?qC.getAttribute("href"):null}();return null==t?null:function KX(n){return new URL(n,document.baseURI).pathname}(t)}resetBaseElement(){qC=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return i3(document.cookie,e)}}let qC=null;class GC{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(t){return new(t||GC)};static#t=this.\u0275prov=Ae({token:GC,factory:GC.\u0275fac})}const aI=new Re("");class Uv{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(s=>{s.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,t,s){return this._findPluginFor(t).addEventListener(e,t,s)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(r=>r.supports(e)),!t)throw new le(5101,!1);return this._eventNameToPlugin.set(e,t),t}static#e=this.\u0275fac=function(t){return new(t||Uv)(we(aI),we(_t))};static#t=this.\u0275prov=Ae({token:Uv,factory:Uv.\u0275fac})}class LF{constructor(e){this._doc=e}}const PF="ng-app-id";class $v{constructor(e,t,s,r={}){this.doc=e,this.appId=t,this.nonce=s,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=eI(r),this.resetHostNodes()}addStyles(e){for(const t of e)1===this.changeUsageCount(t,1)&&this.onStyleAdded(t)}removeStyles(e){for(const t of e)this.changeUsageCount(t,-1)<=0&&this.onStyleRemoved(t)}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach(t=>t.remove()),e.clear());for(const t of this.getAllStyles())this.onStyleRemoved(t);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const t of this.getAllStyles())this.addStyleToHost(e,t)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const t of this.hostNodes)this.addStyleToHost(t,e)}onStyleRemoved(e){const t=this.styleRef;t.get(e)?.elements?.forEach(s=>s.remove()),t.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${PF}="${this.appId}"]`);if(e?.length){const t=new Map;return e.forEach(s=>{null!=s.textContent&&t.set(s.textContent,s)}),t}return null}changeUsageCount(e,t){const s=this.styleRef;if(s.has(e)){const r=s.get(e);return r.usage+=t,r.usage}return s.set(e,{usage:t,elements:[]}),t}getStyleElement(e,t){const s=this.styleNodesInDOM,r=s?.get(t);if(r?.parentNode===e)return s.delete(t),r.removeAttribute(PF),r;{const o=this.doc.createElement("style");return this.nonce&&o.setAttribute("nonce",this.nonce),o.textContent=t,this.platformIsServer&&o.setAttribute(PF,this.appId),e.appendChild(o),o}}addStyleToHost(e,t){const s=this.getStyleElement(e,t),r=this.styleRef,o=r.get(t)?.elements;o?o.push(s):r.set(t,{elements:[s],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}static#e=this.\u0275fac=function(t){return new(t||$v)(we(Pn),we(fd),we(mS,8),we(zr))};static#t=this.\u0275prov=Ae({token:$v,factory:$v.\u0275fac})}const RF={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/",math:"http://www.w3.org/1998/Math/MathML"},OF=/%COMP%/g,XX="_nghost-%COMP%",ZX="_ngcontent-%COMP%",eZ=new Re("",{providedIn:"root",factory:()=>true});function C3(n,e){return e.map(t=>t.replace(OF,n))}class Lg{constructor(e,t,s,r,o,c,d,h=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=s,this.removeStylesOnCompDestroy=r,this.doc=o,this.platformId=c,this.ngZone=d,this.nonce=h,this.rendererByCompId=new Map,this.platformIsServer=eI(c),this.defaultRenderer=new NF(e,o,d,this.platformIsServer)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===qi.ShadowDom&&(t={...t,encapsulation:qi.Emulated});const s=this.getOrCreateRenderer(e,t);return s instanceof E3?s.applyToHost(e):s instanceof FF&&s.applyStyles(),s}getOrCreateRenderer(e,t){const s=this.rendererByCompId;let r=s.get(t.id);if(!r){const o=this.doc,c=this.ngZone,d=this.eventManager,h=this.sharedStylesHost,m=this.removeStylesOnCompDestroy,g=this.platformIsServer;switch(t.encapsulation){case qi.Emulated:r=new E3(d,h,t,this.appId,m,o,c,g);break;case qi.ShadowDom:return new iZ(d,h,e,t,o,c,this.nonce,g);default:r=new FF(d,h,t,m,o,c,g)}s.set(t.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(t){return new(t||Lg)(we(Uv),we($v),we(fd),we(eZ),we(Pn),we(zr),we(_t),we(mS))};static#t=this.\u0275prov=Ae({token:Lg,factory:Lg.\u0275fac})}class NF{constructor(e,t,s,r){this.eventManager=e,this.doc=t,this.ngZone=s,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,t){return t?this.doc.createElementNS(RF[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(M3(e)?e.content:e).appendChild(t)}insertBefore(e,t,s){e&&(M3(e)?e.content:e).insertBefore(t,s)}removeChild(e,t){t.remove()}selectRootElement(e,t){let s="string"==typeof e?this.doc.querySelector(e):e;if(!s)throw new le(-5104,!1);return t||(s.textContent=""),s}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,s,r){if(r){t=r+":"+t;const o=RF[r];o?e.setAttributeNS(o,t,s):e.setAttribute(t,s)}else e.setAttribute(t,s)}removeAttribute(e,t,s){if(s){const r=RF[s];r?e.removeAttributeNS(r,t):e.removeAttribute(`${s}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,s,r){r&(rc.DashCase|rc.Important)?e.style.setProperty(t,s,r&rc.Important?"important":""):e.style[t]=s}removeStyle(e,t,s){s&rc.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,s){null!=e&&(e[t]=s)}setValue(e,t){e.nodeValue=t}listen(e,t,s){if("string"==typeof e&&!(e=Ud().getGlobalEventTarget(this.doc,e)))throw new Error(`Unsupported event target ${e} for event ${t}`);return this.eventManager.addEventListener(e,t,this.decoratePreventDefault(s))}decoratePreventDefault(e){return t=>{if("__ngUnwrap__"===t)return e;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))&&t.preventDefault()}}}function M3(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class iZ extends NF{constructor(e,t,s,r,o,c,d,h){super(e,o,c,h),this.sharedStylesHost=t,this.hostEl=s,this.shadowRoot=s.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const m=C3(r.id,r.styles);for(const g of m){const S=document.createElement("style");d&&S.setAttribute("nonce",d),S.textContent=g,this.shadowRoot.appendChild(S)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,s){return super.insertBefore(this.nodeOrShadowRoot(e),t,s)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class FF extends NF{constructor(e,t,s,r,o,c,d,h){super(e,o,c,d),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=h?C3(h,s.styles):s.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class E3 extends FF{constructor(e,t,s,r,o,c,d,h){const m=r+"-"+s.id;super(e,t,s,o,c,d,h,m),this.contentAttr=function tZ(n){return ZX.replace(OF,n)}(m),this.hostAttr=function nZ(n){return XX.replace(OF,n)}(m)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){const s=super.createElement(e,t);return super.setAttribute(s,this.contentAttr,""),s}}class KC extends LF{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,s){return e.addEventListener(t,s,!1),()=>this.removeEventListener(e,t,s)}removeEventListener(e,t,s){return e.removeEventListener(t,s)}static#e=this.\u0275fac=function(t){return new(t||KC)(we(Pn))};static#t=this.\u0275prov=Ae({token:KC,factory:KC.\u0275fac})}const x3=["alt","control","meta","shift"],rZ={"\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"},oZ={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};class Su extends LF{constructor(e){super(e)}supports(e){return null!=Su.parseEventName(e)}addEventListener(e,t,s){const r=Su.parseEventName(t),o=Su.eventCallback(r.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ud().onAndCancel(e,r.domEventName,o))}static parseEventName(e){const t=e.toLowerCase().split("."),s=t.shift();if(0===t.length||"keydown"!==s&&"keyup"!==s)return null;const r=Su._normalizeKey(t.pop());let o="",c=t.indexOf("code");if(c>-1&&(t.splice(c,1),o="code."),x3.forEach(h=>{const m=t.indexOf(h);m>-1&&(t.splice(m,1),o+=h+".")}),o+=r,0!=t.length||0===r.length)return null;const d={};return d.domEventName=s,d.fullKey=o,d}static matchEventFullKeyCode(e,t){let s=rZ[e.key]||e.key,r="";return t.indexOf("code.")>-1&&(s=e.code,r="code."),!(null==s||!s)&&(s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),x3.forEach(o=>{if(o!==s){(0,oZ[o])(e)&&(r+=o+".")}}),r+=s,r===t)}static eventCallback(e,t,s){return r=>{Su.matchEventFullKeyCode(r,e)&&s.runGuarded(()=>t(r))}}static _normalizeKey(e){return"esc"===e?"escape":e}static#e=this.\u0275fac=function(t){return new(t||Su)(we(Pn))};static#t=this.\u0275prov=Ae({token:Su,factory:Su.\u0275fac})}const YF=[{provide:zr,useValue:DF},{provide:yx,useValue:function aZ(){AF.makeCurrent()},multi:!0},{provide:Pn,useFactory:function cZ(){return function C2(n){fS=n}(document),document},deps:[]}],uZ=(P1(v5,"browser",YF),new Re("")),T3=[{provide:M1,useClass:class QX{addToWindow(e){Cs.getAngularTestability=(s,r=!0)=>{const o=e.findTestabilityInTree(s,r);if(null==o)throw new le(5103,!1);return o},Cs.getAllAngularTestabilities=()=>e.getAllTestabilities(),Cs.getAllAngularRootElements=()=>e.getAllRootElements();Cs.frameworkStabilizers||(Cs.frameworkStabilizers=[]),Cs.frameworkStabilizers.push(s=>{const r=Cs.getAllAngularTestabilities();let o=r.length;const c=function(){o--,0==o&&s()};r.forEach(d=>{d.whenStable(c)})})}findTestabilityInTree(e,t,s){if(null==t)return null;return e.getTestability(t)??(s?Ud().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null)}},deps:[]},{provide:Q8,useClass:gg,deps:[_t,_g,M1]},{provide:gg,useClass:gg,deps:[_t,_g,M1]}],I3=[{provide:Jf,useValue:"root"},{provide:Mo,useFactory:function lZ(){return new Mo},deps:[]},{provide:aI,useClass:KC,multi:!0,deps:[Pn,_t,zr]},{provide:aI,useClass:Su,multi:!0,deps:[Pn]},Lg,$v,Uv,{provide:Id,useExisting:Lg},{provide:u3,useClass:GC,deps:[]},[]];class qd{constructor(e){}static withServerTransition(e){return{ngModule:qd,providers:[{provide:fd,useValue:e.appId}]}}static#e=this.\u0275fac=function(t){return new(t||qd)(we(uZ,12))};static#t=this.\u0275mod=Qn({type:qd,exports:[ha,RC]});static#n=this.\u0275inj=es({providers:[...I3,...T3],imports:[ha,RC]})}class lI{constructor(e){this._doc=e,this._dom=Ud()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce((s,r)=>(r&&s.push(this._getOrCreateElement(r,t)),s),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const s=this.getTag(t);return s?this._setMetaElementAttributes(e,s):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const o=this._parseSelector(e),c=this.getTags(o).filter(d=>this._containsAttributes(e,d))[0];if(void 0!==c)return c}const s=this._dom.createElement("meta");return this._setMetaElementAttributes(e,s),this._doc.getElementsByTagName("head")[0].appendChild(s),s}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(s=>t.setAttribute(this._getMetaKeyMap(s),e[s])),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every(s=>t.getAttribute(this._getMetaKeyMap(s))===e[s])}_getMetaKeyMap(e){return dZ[e]||e}static#e=this.\u0275fac=function(t){return new(t||lI)(we(Pn))};static#t=this.\u0275prov=Ae({token:lI,factory:lI.\u0275fac,providedIn:"root"})}const dZ={httpEquiv:"http-equiv"};class QC{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static#e=this.\u0275fac=function(t){return new(t||QC)(we(Pn))};static#t=this.\u0275prov=Ae({token:QC,factory:QC.\u0275fac,providedIn:"root"})}const mZ={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},BF=new Re("HammerGestureConfig"),P3=new Re("HammerLoader");class XC{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const s in this.overrides)t.get(s).set(this.overrides[s]);return t}static#e=this.\u0275fac=function(t){return new(t||XC)};static#t=this.\u0275prov=Ae({token:XC,factory:XC.\u0275fac})}class ZC extends LF{constructor(e,t,s,r){super(e),this._config=t,this.console=s,this.loader=r,this._loaderPromise=null}supports(e){return!(!mZ.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader)}addEventListener(e,t,s){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||r.runOutsideAngular(()=>this.loader());let o=!1,c=()=>{o=!0};return r.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?o||(c=this.addEventListener(e,t,s)):c=()=>{}}).catch(()=>{c=()=>{}})),()=>{c()}}return r.runOutsideAngular(()=>{const o=this._config.buildHammer(e),c=function(d){r.runGuarded(function(){s(d)})};return o.on(t,c),()=>{o.off(t,c),"function"==typeof o.destroy&&o.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}static#e=this.\u0275fac=function(t){return new(t||ZC)(we(Pn),we(BF),we(Up),we(P3,8))};static#t=this.\u0275prov=Ae({token:ZC,factory:ZC.\u0275fac})}class jF{static#e=this.\u0275fac=function(t){return new(t||jF)};static#t=this.\u0275mod=Qn({type:jF});static#n=this.\u0275inj=es({providers:[{provide:aI,useClass:ZC,multi:!0,deps:[Pn,BF,Up,[new Si,P3]]},{provide:BF,useClass:XC,deps:[]}]})}class zv{static#e=this.\u0275fac=function(t){return new(t||zv)};static#t=this.\u0275prov=Ae({token:zv,factory:function(t){let s=null;return s=t?new(t||zv):we(JC),s},providedIn:"root"})}class JC extends zv{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case Er.NONE:return t;case Er.HTML:return al(t,"HTML")?lo(t):sp(this._doc,String(t)).toString();case Er.STYLE:return al(t,"Style")?lo(t):t;case Er.SCRIPT:if(al(t,"Script"))return lo(t);throw new le(5200,!1);case Er.URL:return al(t,"URL")?lo(t):on(String(t));case Er.RESOURCE_URL:if(al(t,"ResourceURL"))return lo(t);throw new le(5201,!1);default:throw new le(5202,!1)}}bypassSecurityTrustHtml(e){return function Lx(n){return new kx(n)}(e)}bypassSecurityTrustStyle(e){return function Cy(n){return new Tx(n)}(e)}bypassSecurityTrustScript(e){return function A2(n){return new Ix(n)}(e)}bypassSecurityTrustUrl(e){return function L2(n){return new T2(n)}(e)}bypassSecurityTrustResourceUrl(e){return function P2(n){return new Ax(n)}(e)}static#e=this.\u0275fac=function(t){return new(t||JC)(we(Pn))};static#t=this.\u0275prov=Ae({token:JC,factory:JC.\u0275fac,providedIn:"root"})}var qp;!function(n){n[n.NoHttpTransferCache=0]="NoHttpTransferCache",n[n.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",n[n.I18nSupport=2]="I18nSupport",n[n.EventReplay=3]="EventReplay"}(qp||(qp={}));new Dv("18.2.13");const gZ=[{provide:Vd,useFactory:()=>new Vd}];function R3(n){for(let e=n.length-1;e>=0;e--)if(void 0!==n[e])return n[e]}function vZ(n){const e=[];return n.forEach(t=>t&&e.push(...t)),e}const bZ=P1(v5,"coreDynamic",[{provide:T1,useValue:{},multi:!0},{provide:class QG{},useClass:class _Z{constructor(e){const t={defaultEncapsulation:qi.Emulated};this._defaultOptions=[t,...e]}createCompiler(e=[]){const t=function yZ(n){return{defaultEncapsulation:R3(n.map(e=>e.defaultEncapsulation)),providers:vZ(n.map(e=>e.providers)),preserveWhitespaces:R3(n.map(e=>e.preserveWhitespaces))}}(this._defaultOptions.concat(e));return as.create({providers:[gZ,{provide:H1.udt,useFactory:()=>new H1.udt({defaultEncapsulation:t.defaultEncapsulation,preserveWhitespaces:t.preserveWhitespaces}),deps:[]},t.providers]}).get(Vd)}},deps:[T1]}]);class Wv extends H1.WHm{get(e){let t,s;const r=new Promise((c,d)=>{t=c,s=d}),o=new XMLHttpRequest;return o.open("GET",e,!0),o.responseType="text",o.onload=function(){const c=o.response;let d=o.status;0===d&&(d=c?200:0),200<=d&&d<=300?t(c):s(`Failed to load ${e}`)},o.onerror=function(){s(`Failed to load ${e}`)},o.send(),r}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(Wv)))(s||Wv)}})();static#t=this.\u0275prov=Ae({token:Wv,factory:Wv.\u0275fac})}const wZ=[YF,{provide:T1,useValue:{providers:[{provide:H1.WHm,useClass:Wv,deps:[]}]},multi:!0},{provide:zr,useValue:DF}],SZ=(new Dv("18.2.13"),P1(bZ,"browserDynamic",wZ));function be(n,e,t,s){var c,r=arguments.length,o=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,t):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(n,e,t,s);else for(var d=n.length-1;d>=0;d--)(c=n[d])&&(o=(r<3?c(o):r>3?c(e,t,o):c(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o}Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError;var Gt;!function(n){n[n.State=0]="State",n[n.Transition=1]="Transition",n[n.Sequence=2]="Sequence",n[n.Group=3]="Group",n[n.Animate=4]="Animate",n[n.Keyframes=5]="Keyframes",n[n.Style=6]="Style",n[n.Trigger=7]="Trigger",n[n.Reference=8]="Reference",n[n.AnimateChild=9]="AnimateChild",n[n.AnimateRef=10]="AnimateRef",n[n.Query=11]="Query",n[n.Stagger=12]="Stagger"}(Gt||(Gt={}));const Gd="*";function qv(n,e){return{type:Gt.Trigger,name:n,definitions:e,options:{}}}function Gp(n,e=null){return{type:Gt.Animate,styles:e,timings:n}}function N3(n,e=null){return{type:Gt.Sequence,steps:n,options:e}}function fc(n){return{type:Gt.Style,styles:n,offset:null}}function Kd(n,e,t){return{type:Gt.State,name:n,styles:e,options:t}}function Kp(n,e,t=null){return{type:Gt.Transition,expr:n,animation:e,options:t}}class uI{static#e=this.\u0275fac=function(t){return new(t||uI)};static#t=this.\u0275prov=Ae({token:uI,factory:()=>me(tM),providedIn:"root"})}class WZ{}class tM extends uI{constructor(e,t){super(),this.animationModuleType=me(_y,{optional:!0}),this._nextAnimationId=0;const s={id:"0",encapsulation:qi.None,styles:[],data:{animation:[]}};if(this._renderer=e.createRenderer(t.body,s),null===this.animationModuleType&&!function QZ(n){const e=n.\u0275type;return 0===e||1===e}(this._renderer))throw new le(3600,!1)}build(e){const t=this._nextAnimationId;this._nextAnimationId++;const s=Array.isArray(e)?N3(e):e;return F3(this._renderer,null,t,"register",[s]),new qZ(t,this._renderer)}static#e=this.\u0275fac=function(t){return new(t||tM)(we(Id),we(Pn))};static#t=this.\u0275prov=Ae({token:tM,factory:tM.\u0275fac,providedIn:"root"})}class qZ extends WZ{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new GZ(this._id,e,t||{},this._renderer)}}class GZ{constructor(e,t,s,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",s)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){F3(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){return function KZ(n){const e=n.\u0275type;return 0===e?n:1===e?n.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function F3(n,e,t,s,r){n.setProperty(e,`@@${t}:${s}`,r)}class nM{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}}class Y3{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,s=0,r=0;const o=this.players.length;0==o?queueMicrotask(()=>this._onFinish()):this.players.forEach(c=>{c.onDone(()=>{++t==o&&this._onFinish()}),c.onDestroy(()=>{++s==o&&this._onDestroy()}),c.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((c,d)=>Math.max(c,d.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(s=>{const r=s.totalTime?Math.min(1,t/s.totalTime):1;s.setPosition(r)})}getPosition(){const e=this.players.reduce((t,s)=>null===t||s.totalTime>t.totalTime?s:t,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}}function B3(n){return new le(3e3,!1)}function Qp(n){switch(n.length){case 0:return new nM;case 1:return n[0];default:return new Y3(n)}}function j3(n,e,t=new Map,s=new Map){const r=[],o=[];let c=-1,d=null;if(e.forEach(h=>{const m=h.get("offset"),g=m==c,S=g&&d||new Map;h.forEach((T,I)=>{let P=I,Y=T;if("offset"!==I)switch(P=n.normalizePropertyName(P,r),Y){case"!":Y=t.get(I);break;case Gd:Y=s.get(I);break;default:Y=n.normalizeStyleValue(I,P,Y,r)}S.set(P,Y)}),g||o.push(S),d=S,c=m}),r.length)throw function vJ(n){return new le(3502,!1)}();return o}function WF(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&qF(t,"start",n)));break;case"done":n.onDone(()=>s(t&&qF(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&qF(t,"destroy",n)))}}function qF(n,e,t){const s=t.totalTime,r=!!t.disabled,o=GF(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,s??n.totalTime,r),c=n._data;return null!=c&&(o._data=c),o}function GF(n,e,t,s,r="",o=0,c){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:r,totalTime:o,disabled:!!c}}function Oa(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function V3(n){const e=n.indexOf(":");return[n.substring(1,e),n.slice(e+1)]}const AJ=typeof document>"u"?null:document.documentElement;function KF(n){const e=n.parentNode||n.host||null;return e===AJ?null:e}let Pg=null,H3=!1;function PJ(n){Pg||(Pg=function RJ(){return typeof document<"u"?document.body:null}()||{},H3=!!Pg.style&&"WebkitAppearance"in Pg.style);let e=!0;return Pg.style&&!function LJ(n){return"ebkit"==n.substring(1,6)}(n)&&(e=n in Pg.style,!e&&H3&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Pg.style)),e}function U3(n,e){for(;e;){if(e===n)return!0;e=KF(e)}return!1}function $3(n,e,t){if(t)return Array.from(n.querySelectorAll(e));const s=n.querySelector(e);return s?[s]:[]}class Rg{validateStyleProperty(e){return PJ(e)}containsElement(e,t){return U3(e,t)}getParentElement(e){return KF(e)}query(e,t,s){return $3(e,t,s)}computeStyle(e,t,s){return s||""}animate(e,t,s,r,o,c=[],d){return new nM(s,r)}static#e=this.\u0275fac=function(t){return new(t||Rg)};static#t=this.\u0275prov=Ae({token:Rg,factory:Rg.\u0275fac})}class QF{static#e=this.NOOP=new Rg}class XF{}const NJ=1e3,ZF="ng-enter",dI="ng-leave",hI="ng-trigger",pI=".ng-trigger",W3="ng-animating",JF=".ng-animating";function Qd(n){if("number"==typeof n)return n;const e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:eY(parseFloat(e[1]),e[2])}function eY(n,e){return"s"===e?n*NJ:n}function fI(n,e,t){return n.hasOwnProperty("duration")?n:function YJ(n,e,t){const s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;let r,o=0,c="";if("string"==typeof n){const d=n.match(s);if(null===d)return e.push(B3()),{duration:0,delay:0,easing:""};r=eY(parseFloat(d[1]),d[2]);const h=d[3];null!=h&&(o=eY(parseFloat(h),d[4]));const m=d[5];m&&(c=m)}else r=n;if(!t){let d=!1,h=e.length;r<0&&(e.push(function XZ(){return new le(3100,!1)}()),d=!0),o<0&&(e.push(function ZZ(){return new le(3101,!1)}()),d=!0),d&&e.splice(h,0,B3())}return{duration:r,delay:o,easing:c}}(n,e,t)}function Du(n,e,t){e.forEach((s,r)=>{const o=nY(r);t&&!t.has(r)&&t.set(r,n.style[o]),n.style[o]=s})}function Og(n,e){e.forEach((t,s)=>{const r=nY(s);n.style[r]=""})}function sM(n){return Array.isArray(n)?1==n.length?n[0]:N3(n):n}function jJ(n,e,t){const s=e.params||{},r=G3(n);r.length&&r.forEach(o=>{s.hasOwnProperty(o)||t.push(function JZ(n){return new le(3001,!1)}())})}const tY=new RegExp("{{\\s*(.+?)\\s*}}","g");function G3(n){let e=[];if("string"==typeof n){let t;for(;t=tY.exec(n);)e.push(t[1]);tY.lastIndex=0}return e}function iM(n,e,t){const s=`${n}`,r=s.replace(tY,(o,c)=>{let d=e[c];return null==d&&(t.push(function eJ(n){return new le(3003,!1)}()),d=""),d.toString()});return r==s?n:r}const VJ=/-+([a-z0-9])/g;function nY(n){return n.replace(VJ,(...e)=>e[1].toUpperCase())}function Na(n,e,t){switch(e.type){case Gt.Trigger:return n.visitTrigger(e,t);case Gt.State:return n.visitState(e,t);case Gt.Transition:return n.visitTransition(e,t);case Gt.Sequence:return n.visitSequence(e,t);case Gt.Group:return n.visitGroup(e,t);case Gt.Animate:return n.visitAnimate(e,t);case Gt.Keyframes:return n.visitKeyframes(e,t);case Gt.Style:return n.visitStyle(e,t);case Gt.Reference:return n.visitReference(e,t);case Gt.AnimateChild:return n.visitAnimateChild(e,t);case Gt.AnimateRef:return n.visitAnimateRef(e,t);case Gt.Query:return n.visitQuery(e,t);case Gt.Stagger:return n.visitStagger(e,t);default:throw function tJ(n){return new le(3004,!1)}(e.type)}}function sY(n,e){return window.getComputedStyle(n)[e]}const $J=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class K3 extends XF{normalizePropertyName(e,t){return nY(e)}normalizeStyleValue(e,t,s,r){let o="";const c=s.toString().trim();if($J.has(t)&&0!==s&&"0"!==s)if("number"==typeof s)o="px";else{const d=s.match(/^[+-]?[\d\.]+([a-z]*)$/);d&&0==d[1].length&&r.push(function nJ(n,e){return new le(3005,!1)}())}return c+o}}const mI="*";function zJ(n,e){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(s=>function WJ(n,e,t){if(":"==n[0]){const h=function qJ(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}(n,t);if("function"==typeof h)return void e.push(h);n=h}const s=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==s||s.length<4)return t.push(function fJ(n){return new le(3015,!1)}()),e;const r=s[1],o=s[2],c=s[3];e.push(Q3(r,c));const d=r==mI&&c==mI;"<"==o[0]&&!d&&e.push(Q3(c,r))}(s,t,e)):t.push(n),t}const gI=new Set(["true","1"]),_I=new Set(["false","0"]);function Q3(n,e){const t=gI.has(n)||_I.has(n),s=gI.has(e)||_I.has(e);return(r,o)=>{let c=n==mI||n==r,d=e==mI||e==o;return!c&&t&&"boolean"==typeof r&&(c=r?gI.has(n):_I.has(n)),!d&&s&&"boolean"==typeof o&&(d=o?gI.has(e):_I.has(e)),c&&d}}const X3=":self",GJ=new RegExp("s*:selfs*,?","g");function iY(n,e,t,s){return new KJ(n).build(e,t,s)}class KJ{constructor(e){this._driver=e}build(e,t,s){const r=new ZJ(t);return this._resetContextStyleTimingState(r),Na(this,sM(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,r=t.depCount=0;const o=[],c=[];return"@"==e.name.charAt(0)&&t.errors.push(function sJ(){return new le(3006,!1)}()),e.definitions.forEach(d=>{if(this._resetContextStyleTimingState(t),d.type==Gt.State){const h=d,m=h.name;m.toString().split(/\s*,\s*/).forEach(g=>{h.name=g,o.push(this.visitState(h,t))}),h.name=m}else if(d.type==Gt.Transition){const h=this.visitTransition(d,t);s+=h.queryCount,r+=h.depCount,c.push(h)}else t.errors.push(function iJ(){return new le(3007,!1)}())}),{type:Gt.Trigger,name:e.name,states:o,transitions:c,queryCount:s,depCount:r,options:null}}visitState(e,t){const s=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(s.containsDynamicStyles){const o=new Set,c=r||{};s.styles.forEach(d=>{d instanceof Map&&d.forEach(h=>{G3(h).forEach(m=>{c.hasOwnProperty(m)||o.add(m)})})}),o.size&&t.errors.push(function rJ(n,e){return new le(3008,!1)}(e.name,o.values()))}return{type:Gt.State,name:e.name,style:s,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const s=Na(this,sM(e.animation),t),r=zJ(e.expr,t.errors);return{type:Gt.Transition,matchers:r,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Ng(e.options)}}visitSequence(e,t){return{type:Gt.Sequence,steps:e.steps.map(s=>Na(this,s,t)),options:Ng(e.options)}}visitGroup(e,t){const s=t.currentTime;let r=0;const o=e.steps.map(c=>{t.currentTime=s;const d=Na(this,c,t);return r=Math.max(r,t.currentTime),d});return t.currentTime=r,{type:Gt.Group,steps:o,options:Ng(e.options)}}visitAnimate(e,t){const s=function eee(n,e){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n){return rY(fI(n,e).duration,0,"")}const t=n;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=rY(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=fI(t,e);return rY(r.duration,r.delay,r.easing)}(e.timings,t.errors);t.currentAnimateTimings=s;let r,o=e.styles?e.styles:fc({});if(o.type==Gt.Keyframes)r=this.visitKeyframes(o,t);else{let c=e.styles,d=!1;if(!c){d=!0;const m={};s.easing&&(m.easing=s.easing),c=fc(m)}t.currentTime+=s.duration+s.delay;const h=this.visitStyle(c,t);h.isEmptyStep=d,r=h}return t.currentAnimateTimings=null,{type:Gt.Animate,timings:s,style:r,options:null}}visitStyle(e,t){const s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){const s=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let d of r)"string"==typeof d?d===Gd?s.push(d):t.errors.push(new le(3002,!1)):s.push(new Map(Object.entries(d)));let o=!1,c=null;return s.forEach(d=>{if(d instanceof Map&&(d.has("easing")&&(c=d.get("easing"),d.delete("easing")),!o))for(let h of d.values())if(h.toString().indexOf("{{")>=0){o=!0;break}}),{type:Gt.Style,styles:s,easing:c,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,t){const s=t.currentAnimateTimings;let r=t.currentTime,o=t.currentTime;s&&o>0&&(o-=s.duration+s.delay),e.styles.forEach(c=>{"string"!=typeof c&&c.forEach((d,h)=>{const m=t.collectedStyles.get(t.currentQuerySelector),g=m.get(h);let S=!0;g&&(o!=r&&o>=g.startTime&&r<=g.endTime&&(t.errors.push(function aJ(n,e,t,s,r){return new le(3010,!1)}(0,g.startTime,g.endTime)),S=!1),o=g.startTime),S&&m.set(h,{startTime:o,endTime:r}),t.options&&jJ(d,t.options,t.errors)})})}visitKeyframes(e,t){const s={type:Gt.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function lJ(){return new le(3011,!1)}()),s;let o=0;const c=[];let d=!1,h=!1,m=0;const g=e.steps.map(Q=>{const q=this._makeStyleAst(Q,t);let oe=null!=q.offset?q.offset:function JJ(n){if("string"==typeof n)return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){const s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}(q.styles),fe=0;return null!=oe&&(o++,fe=q.offset=oe),h=h||fe<0||fe>1,d=d||fe0&&o{const oe=T>0?q==I?1:T*q:c[q],fe=oe*z;t.currentTime=P+Y.delay+fe,Y.duration=fe,this._validateStyleAst(Q,t),Q.offset=oe,s.styles.push(Q)}),s}visitReference(e,t){return{type:Gt.Reference,animation:Na(this,sM(e.animation),t),options:Ng(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Gt.AnimateChild,options:Ng(e.options)}}visitAnimateRef(e,t){return{type:Gt.AnimateRef,animation:this.visitReference(e.animation,t),options:Ng(e.options)}}visitQuery(e,t){const s=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[o,c]=function QJ(n){const e=!!n.split(/\s*,\s*/).find(t=>t==X3);return e&&(n=n.replace(GJ,"")),n=n.replace(/@\*/g,pI).replace(/@\w+/g,t=>pI+"-"+t.slice(1)).replace(/:animating/g,JF),[n,e]}(e.selector);t.currentQuerySelector=s.length?s+" "+o:o,Oa(t.collectedStyles,t.currentQuerySelector,new Map);const d=Na(this,sM(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:Gt.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:c,animation:d,originalSelector:e.selector,options:Ng(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function hJ(){return new le(3013,!1)}());const s="full"===e.timings?{duration:0,delay:0,easing:"full"}:fI(e.timings,t.errors,!0);return{type:Gt.Stagger,animation:Na(this,sM(e.animation),t),timings:s,options:null}}}class ZJ{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Ng(n){return n?(n={...n}).params&&(n.params=function XJ(n){return n?{...n}:null}(n.params)):n={},n}function rY(n,e,t){return{duration:n,delay:e,easing:t}}function oY(n,e,t,s,r,o,c=null,d=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:s,duration:r,delay:o,totalTime:r+o,easing:c,subTimeline:d}}class yI{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const see=new RegExp(":enter","g"),ree=new RegExp(":leave","g");function aY(n,e,t,s,r,o=new Map,c=new Map,d,h,m=[]){return(new oee).buildKeyframes(n,e,t,s,r,o,c,d,h,m)}class oee{buildKeyframes(e,t,s,r,o,c,d,h,m,g=[]){m=m||new yI;const S=new lY(e,t,m,r,o,g,[]);S.options=h;const T=h.delay?Qd(h.delay):0;S.currentTimeline.delayNextStep(T),S.currentTimeline.setStyles([c],null,S.errors,h),Na(this,s,S);const I=S.timelines.filter(P=>P.containsAnimation());if(I.length&&d.size){let P;for(let Y=I.length-1;Y>=0;Y--){const z=I[Y];if(z.element===t){P=z;break}}P&&!P.allowOnlyTimelineStyles()&&P.setStyles([d],null,S.errors,h)}return I.length?I.map(P=>P.buildKeyframes()):[oY(t,[],[],[],0,T,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const s=t.subInstructions.get(t.element);if(s){const r=t.createSubContext(e.options),o=t.currentTimeline.currentTime,c=this._visitSubInstructions(s,r,r.options);o!=c&&t.transformIntoNewTimeline(c)}t.previousNode=e}visitAnimateRef(e,t){const s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(const r of e){const o=r?.delay;if(o){const c="number"==typeof o?o:Qd(iM(o,r?.params??{},t.errors));s.delayNextStep(c)}}}_visitSubInstructions(e,t,s){let o=t.currentTimeline.currentTime;const c=null!=s.duration?Qd(s.duration):null,d=null!=s.delay?Qd(s.delay):null;return 0!==c&&e.forEach(h=>{const m=t.appendInstructionToTimeline(h,c,d);o=Math.max(o,m.duration+m.delay)}),o}visitReference(e,t){t.updateOptions(e.options,!0),Na(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const s=t.subContextCount;let r=t;const o=e.options;if(o&&(o.params||o.delay)&&(r=t.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){r.previousNode.type==Gt.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=vI);const c=Qd(o.delay);r.delayNextStep(c)}e.steps.length&&(e.steps.forEach(c=>Na(this,c,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>s&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const s=[];let r=t.currentTimeline.currentTime;const o=e.options&&e.options.delay?Qd(e.options.delay):0;e.steps.forEach(c=>{const d=t.createSubContext(e.options);o&&d.delayNextStep(o),Na(this,c,d),r=Math.max(r,d.currentTimeline.currentTime),s.push(d.currentTimeline)}),s.forEach(c=>t.currentTimeline.mergeTimelineCollectedStyles(c)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const s=e.strValue;return fI(t.params?iM(s,t.params,t.errors):s,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const s=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),r.snapshotCurrentStyles());const o=e.style;o.type==Gt.Keyframes?this.visitKeyframes(o,t):(t.incrementTime(s.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const s=t.currentTimeline,r=t.currentAnimateTimings;!r&&s.hasCurrentStyleProperties()&&s.forwardFrame();const o=r&&r.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(o):s.setStyles(e.styles,o,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const s=t.currentAnimateTimings,r=t.currentTimeline.duration,o=s.duration,d=t.createSubContext().currentTimeline;d.easing=s.easing,e.styles.forEach(h=>{const m=h.offset||0;d.forwardTime(m*o),d.setStyles(h.styles,h.easing,t.errors,t.options),d.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(d),t.transformIntoNewTimeline(r+o),t.previousNode=e}visitQuery(e,t){const s=t.currentTimeline.currentTime,r=e.options||{},o=r.delay?Qd(r.delay):0;o&&(t.previousNode.type===Gt.Style||0==s&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=vI);let c=s;const d=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=d.length;let h=null;d.forEach((m,g)=>{t.currentQueryIndex=g;const S=t.createSubContext(e.options,m);o&&S.delayNextStep(o),m===t.element&&(h=S.currentTimeline),Na(this,e.animation,S),S.currentTimeline.applyStylesToKeyframe();const T=S.currentTimeline.currentTime;c=Math.max(c,T)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(c),h&&(t.currentTimeline.mergeTimelineCollectedStyles(h),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const s=t.parentContext,r=t.currentTimeline,o=e.timings,c=Math.abs(o.duration),d=c*(t.currentQueryTotal-1);let h=c*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":h=d-h;break;case"full":h=s.currentStaggerTime}const g=t.currentTimeline;h&&g.delayNextStep(h);const S=g.currentTime;Na(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=r.currentTime-S+(r.startTime-s.currentTimeline.startTime)}}const vI={};class lY{constructor(e,t,s,r,o,c,d,h){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=r,this._leaveClassName=o,this.errors=c,this.timelines=d,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=vI,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=h||new bI(this._driver,t,0),d.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const s=e;let r=this.options;null!=s.duration&&(r.duration=Qd(s.duration)),null!=s.delay&&(r.delay=Qd(s.delay));const o=s.params;if(o){let c=r.params;c||(c=this.options.params={}),Object.keys(o).forEach(d=>{(!t||!c.hasOwnProperty(d))&&(c[d]=iM(o[d],c,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const s=e.params={};Object.keys(t).forEach(r=>{s[r]=t[r]})}}return e}createSubContext(e=null,t,s){const r=t||this.element,o=new lY(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,s||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=vI,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){const r={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},o=new aee(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,r,o,c){let d=[];if(r&&d.push(this.element),e.length>0){e=(e=e.replace(see,"."+this._enterClassName)).replace(ree,"."+this._leaveClassName);const h=1!=s;let m=this._driver.query(this.element,e,h);0!==s&&(m=s<0?m.slice(m.length+s,m.length):m.slice(0,s)),d.push(...m)}return!o&&0==d.length&&c.push(function pJ(n){return new le(3014,!1)}()),d}}class bI{constructor(e,t,s,r){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new bI(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||Gd),this._currentKeyframe.set(t,Gd);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},c=function lee(n,e){const t=new Map;let s;return n.forEach(r=>{if("*"===r){s??=e.keys();for(let o of s)t.set(o,Gd)}else for(let[o,c]of r)t.set(o,c)}),t}(e,this._globalTimelineStyles);for(let[d,h]of c){const m=iM(h,o,s);this._pendingStyles.set(d,m),this._localTimelineStyles.has(d)||this._backFill.set(d,this._globalTimelineStyles.get(d)??Gd),this._updateStyle(d,m)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{const r=this._styleSummary.get(s);(!r||t.time>r.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,s=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((d,h)=>{const m=new Map([...this._backFill,...d]);m.forEach((g,S)=>{"!"===g?e.add(S):g===Gd&&t.add(S)}),s||m.set("offset",h/this.duration),r.push(m)});const o=[...e.values()],c=[...t.values()];if(s){const d=r[0],h=new Map(d);d.set("offset",0),h.set("offset",1),r=[d,h]}return oY(this.element,r,o,c,this.duration,this.startTime,this.easing,!1)}}class aee extends bI{constructor(e,t,s,r,o,c,d=!1){super(e,t,c.delay),this.keyframes=s,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=d,this.timings={duration:c.duration,delay:c.delay,easing:c.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],c=s+t,d=t/c,h=new Map(e[0]);h.set("offset",0),o.push(h);const m=new Map(e[0]);m.set("offset",J3(d)),o.push(m);const g=e.length-1;for(let S=1;S<=g;S++){let T=new Map(e[S]);const P=t+T.get("offset")*s;T.set("offset",J3(P/c)),o.push(T)}s=c,t=0,r="",e=o}return oY(this.element,e,this.preStyleProps,this.postStyleProps,s,t,r,!0)}}function J3(n,e=3){const t=Math.pow(10,e-1);return Math.round(n*t)/t}function eU(n,e,t,s,r,o,c,d,h,m,g,S,T){return{type:0,element:n,triggerName:e,isRemovalTransition:r,fromState:t,fromStyles:o,toState:s,toStyles:c,timelines:d,queriedElements:h,preStyleProps:m,postStyleProps:g,totalTime:S,errors:T}}const cY={};class tU{constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,r){return function cee(n,e,t,s,r){return n.some(o=>o(e,t,s,r))}(this.ast.matchers,e,t,s,r)}buildStyles(e,t,s){let r=this._stateStyles.get("*");return void 0!==e&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(t,s):new Map}build(e,t,s,r,o,c,d,h,m,g){const S=[],T=this.ast.options&&this.ast.options.params||cY,I=d&&d.params||cY,P=this.buildStyles(s,I,S),Y=h&&h.params||cY,z=this.buildStyles(r,Y,S),Q=new Set,q=new Map,oe=new Map,fe="void"===r,ye={params:nU(Y,T),delay:this.ast.options?.delay},Oe=g?[]:aY(e,t,this.ast.animation,o,c,P,z,ye,m,S);let Ne=0;return Oe.forEach(tt=>{Ne=Math.max(tt.duration+tt.delay,Ne)}),S.length?eU(t,this._triggerName,s,r,fe,P,z,[],[],q,oe,Ne,S):(Oe.forEach(tt=>{const dt=tt.element,Un=Oa(q,dt,new Set);tt.preStyleProps.forEach(bn=>Un.add(bn));const Gn=Oa(oe,dt,new Set);tt.postStyleProps.forEach(bn=>Gn.add(bn)),dt!==t&&Q.add(dt)}),eU(t,this._triggerName,s,r,fe,P,z,Oe,[...Q.values()],q,oe,Ne))}}function nU(n,e){const t={...e};return Object.entries(n).forEach(([s,r])=>{null!=r&&(t[s]=r)}),t}class uee{constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){const s=new Map,r=nU(e,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((c,d)=>{c&&(c=iM(c,r,t));const h=this.normalizer.normalizePropertyName(d,t);c=this.normalizer.normalizeStyleValue(d,h,c,t),s.set(d,c)})}),s}}class hee{constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,this.transitionFactories=[],this.states=new Map,t.states.forEach(r=>{const o=r.options&&r.options.params||{};this.states.set(r.name,new uee(r.style,o,s))}),sU(this.states,"true","1"),sU(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new tU(e,r,this.states))}),this.fallbackTransition=function pee(n,e,t){const s=[(c,d)=>!0],r={type:Gt.Sequence,steps:[],options:null},o={type:Gt.Transition,animation:r,matchers:s,options:null,queryCount:0,depCount:0};return new tU(n,o,e)}(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,r){return this.transitionFactories.find(c=>c.match(e,t,s,r))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}}function sU(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}const fee=new yI;class mee{constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){const s=[],r=[],o=iY(this._driver,t,s,r);if(s.length)throw function bJ(n){return new le(3503,!1)}();r.length,this._animations.set(e,o)}_buildPlayer(e,t,s){const r=e.element,o=j3(this._normalizer,e.keyframes,t,s);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){const r=[],o=this._animations.get(e);let c;const d=new Map;if(o?(c=aY(this._driver,t,o,ZF,dI,new Map,new Map,s,fee,r),c.forEach(g=>{const S=Oa(d,g.element,new Map);g.postStyleProps.forEach(T=>S.set(T,null))})):(r.push(function wJ(){return new le(3300,!1)}()),c=[]),r.length)throw function SJ(n){return new le(3504,!1)}();d.forEach((g,S)=>{g.forEach((T,I)=>{g.set(I,this._driver.computeStyle(S,I,Gd))})});const m=Qp(c.map(g=>{const S=d.get(g.element);return this._buildPlayer(g,new Map,S)}));return this._playersById.set(e,m),m.onDestroy(()=>this.destroy(e)),this.players.push(m),m}destroy(e){const t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);const s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){const t=this._playersById.get(e);if(!t)throw function DJ(n){return new le(3301,!1)}();return t}listen(e,t,s,r){const o=GF(t,"","","");return WF(this._getPlayer(e),s,o,r),()=>{}}command(e,t,s,r){if("register"==s)return void this.register(e,r[0]);if("create"==s){const c=r[0]||{};return void this.create(e,t,c)}const o=this._getPlayer(e);switch(s){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const iU="ng-animate-queued",uY="ng-animate-disabled",bee=[],rU={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},wee={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},mc="__ng_removed";class dY{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;const s=e&&e.hasOwnProperty("value"),r=s?e.value:e;if(this.value=function Mee(n){return n??null}(r),s){const{value:o,...c}=e;this.options=c}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){const t=e.params;if(t){const s=this.options.params;Object.keys(t).forEach(r=>{null==s[r]&&(s[r]=t[r])})}}}const rM="void",hY=new dY(rM);class See{constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,vl(t,this._hostClassName)}listen(e,t,s,r){if(!this._triggers.has(t))throw function CJ(n,e){return new le(3302,!1)}();if(null==s||0==s.length)throw function MJ(n){return new le(3303,!1)}();if(!function Eee(n){return"start"==n||"done"==n}(s))throw function EJ(n,e){return new le(3400,!1)}();const o=Oa(this._elementListeners,e,[]),c={name:t,phase:s,callback:r};o.push(c);const d=Oa(this._engine.statesByElement,e,new Map);return d.has(t)||(vl(e,hI),vl(e,hI+"-"+t),d.set(t,hY)),()=>{this._engine.afterFlush(()=>{const h=o.indexOf(c);h>=0&&o.splice(h,1),this._triggers.has(t)||d.delete(t)})}}register(e,t){return!this._triggers.has(e)&&(this._triggers.set(e,t),!0)}_getTrigger(e){const t=this._triggers.get(e);if(!t)throw function xJ(n){return new le(3401,!1)}();return t}trigger(e,t,s,r=!0){const o=this._getTrigger(t),c=new pY(this.id,t,e);let d=this._engine.statesByElement.get(e);d||(vl(e,hI),vl(e,hI+"-"+t),this._engine.statesByElement.set(e,d=new Map));let h=d.get(t);const m=new dY(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&h&&m.absorbOptions(h.options),d.set(t,m),h||(h=hY),m.value!==rM&&h.value===m.value){if(!function Tee(n,e){const t=Object.keys(n),s=Object.keys(e);if(t.length!=s.length)return!1;for(let r=0;r{Og(e,z),Du(e,Q)})}return}const T=Oa(this._engine.playersByElement,e,[]);T.forEach(Y=>{Y.namespaceId==this.id&&Y.triggerName==t&&Y.queued&&Y.destroy()});let I=o.matchTransition(h.value,m.value,e,m.params),P=!1;if(!I){if(!r)return;I=o.fallbackTransition,P=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:I,fromState:h,toState:m,player:c,isFallbackTransition:P}),P||(vl(e,iU),c.onStart(()=>{Gv(e,iU)})),c.onDone(()=>{let Y=this.players.indexOf(c);Y>=0&&this.players.splice(Y,1);const z=this._engine.playersByElement.get(e);if(z){let Q=z.indexOf(c);Q>=0&&z.splice(Q,1)}}),this.players.push(c),T.push(c),c}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const s=this._engine.driver.query(e,pI,!0);s.forEach(r=>{if(r[mc])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(c=>c.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,t,s,r){const o=this._engine.statesByElement.get(e),c=new Map;if(o){const d=[];if(o.forEach((h,m)=>{if(c.set(m,h.value),this._triggers.has(m)){const g=this.trigger(e,m,rM,r);g&&d.push(g)}}),d.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,c),s&&Qp(d).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){const r=new Set;t.forEach(o=>{const c=o.name;if(r.has(c))return;r.add(c);const h=this._triggers.get(c).fallbackTransition,m=s.get(c)||hY,g=new dY(rM),S=new pY(this.id,c,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:c,transition:h,fromState:m,toState:g,player:S,isFallbackTransition:!0})})}}removeNode(e,t){const s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(s.totalAnimations){const o=s.players.length?s.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else{let c=e;for(;c=c.parentNode;)if(s.statesByElement.get(c)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)s.markElementAsRemoved(this.id,e,!1,t);else{const o=e[mc];(!o||o===rU)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){vl(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(s=>{const r=s.player;if(r.destroyed)return;const o=s.element,c=this._elementListeners.get(o);c&&c.forEach(d=>{if(d.name==s.triggerName){const h=GF(o,s.triggerName,s.fromState.value,s.toState.value);h._data=e,WF(s.player,d.phase,h,d.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(s)}),this._queue=[],t.sort((s,r)=>{const o=s.transition.ast.depCount,c=r.transition.ast.depCount;return 0==o||0==c?o-c:this._engine.driver.containsElement(s.element,r.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}}class Dee{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){const s=new See(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){const s=this._namespaceList,r=this.namespacesByHostElement;if(s.length-1>=0){let c=!1,d=this.driver.getParentElement(t);for(;d;){const h=r.get(d);if(h){const m=s.indexOf(h);s.splice(m+1,0,e),c=!0;break}d=this.driver.getParentElement(d)}c||s.unshift(e)}else s.push(e);return r.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let r=this._namespaceLookup[e];r&&r.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);const r=this._namespaceList.indexOf(s);r>=0&&this._namespaceList.splice(r,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,s=this.statesByElement.get(e);if(s)for(let r of s.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&t.add(o)}return t}trigger(e,t,s,r){if(wI(t)){const o=this._fetchNamespace(e);if(o)return o.trigger(t,s,r),!0}return!1}insertNode(e,t,s,r){if(!wI(t))return;const o=t[mc];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const c=this.collectedLeaveElements.indexOf(t);c>=0&&this.collectedLeaveElements.splice(c,1)}if(e){const c=this._fetchNamespace(e);c&&c.insertNode(t,s)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),vl(e,uY)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Gv(e,uY))}removeNode(e,t,s){if(wI(t)){const r=e?this._fetchNamespace(e):null;r?r.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);const o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,r,o){this.collectedLeaveElements.push(t),t[mc]={namespaceId:e,setForRemoval:r,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,t,s,r,o){return wI(t)?this._fetchNamespace(e).listen(t,s,r,o):()=>{}}_buildInstruction(e,t,s,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,r,e.fromState.options,e.toState.options,t,o)}destroyInnerAnimations(e){let t=this.driver.query(e,pI,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,JF,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Qp(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e[mc];if(t&&t.setForRemoval){if(e[mc]=rU,t.namespaceId){this.destroyInnerAnimations(e);const s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(uY)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,r)=>this._balanceNamespaceList(s,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){const s=this._whenQuietFns;this._whenQuietFns=[],t.length?Qp(t).onDone(()=>{s.forEach(r=>r())}):s.forEach(r=>r())}}reportError(e){throw function kJ(n){return new le(3402,!1)}()}_flushAnimations(e,t){const s=new yI,r=[],o=new Map,c=[],d=new Map,h=new Map,m=new Map,g=new Set;this.disabledNodes.forEach($e=>{g.add($e);const yt=this.driver.query($e,".ng-animate-queued",!0);for(let xt=0;xt{const xt=ZF+Y++;P.set(yt,xt),$e.forEach(In=>vl(In,xt))});const z=[],Q=new Set,q=new Set;for(let $e=0;$eQ.add(In)):q.add(yt))}const oe=new Map,fe=lU(T,Array.from(Q));fe.forEach(($e,yt)=>{const xt=dI+Y++;oe.set(yt,xt),$e.forEach(In=>vl(In,xt))}),e.push(()=>{I.forEach(($e,yt)=>{const xt=P.get(yt);$e.forEach(In=>Gv(In,xt))}),fe.forEach(($e,yt)=>{const xt=oe.get(yt);$e.forEach(In=>Gv(In,xt))}),z.forEach($e=>{this.processLeaveNode($e)})});const ye=[],Oe=[];for(let $e=this._namespaceList.length-1;$e>=0;$e--)this._namespaceList[$e].drainQueuedTransitions(t).forEach(xt=>{const In=xt.player,ki=xt.element;if(ye.push(In),this.collectedEnterElements.length){const vo=ki[mc];if(vo&&vo.setForMove){if(vo.previousTriggersValues&&vo.previousTriggersValues.has(xt.triggerName)){const k_=vo.previousTriggersValues.get(xt.triggerName),xl=this.statesByElement.get(xt.element);if(xl&&xl.has(xt.triggerName)){const OP=xl.get(xt.triggerName);OP.value=k_,xl.set(xt.triggerName,OP)}}return void In.destroy()}}const Gr=!S||!this.driver.containsElement(S,ki),_r=oe.get(ki),_a=P.get(ki),zs=this._buildInstruction(xt,s,_a,_r,Gr);if(zs.errors&&zs.errors.length)return void Oe.push(zs);if(Gr)return In.onStart(()=>Og(ki,zs.fromStyles)),In.onDestroy(()=>Du(ki,zs.toStyles)),void r.push(In);if(xt.isFallbackTransition)return In.onStart(()=>Og(ki,zs.fromStyles)),In.onDestroy(()=>Du(ki,zs.toStyles)),void r.push(In);const pw=[];zs.timelines.forEach(vo=>{vo.stretchStartingKeyframe=!0,this.disabledNodes.has(vo.element)||pw.push(vo)}),zs.timelines=pw,s.append(ki,zs.timelines);const dbe={instruction:zs,player:In,element:ki};c.push(dbe),zs.queriedElements.forEach(vo=>Oa(d,vo,[]).push(In)),zs.preStyleProps.forEach((vo,k_)=>{if(vo.size){let xl=h.get(k_);xl||h.set(k_,xl=new Set),vo.forEach((OP,lV)=>xl.add(lV))}}),zs.postStyleProps.forEach((vo,k_)=>{let xl=m.get(k_);xl||m.set(k_,xl=new Set),vo.forEach((OP,lV)=>xl.add(lV))})});if(Oe.length){const $e=[];Oe.forEach(yt=>{$e.push(function TJ(n,e){return new le(3505,!1)}(yt.triggerName,yt.errors))}),ye.forEach(yt=>yt.destroy()),this.reportError($e)}const Ne=new Map,tt=new Map;c.forEach($e=>{const yt=$e.element;s.has(yt)&&(tt.set(yt,yt),this._beforeAnimationBuild($e.player.namespaceId,$e.instruction,Ne))}),r.forEach($e=>{const yt=$e.element;this._getPreviousPlayers(yt,!1,$e.namespaceId,$e.triggerName,null).forEach(In=>{Oa(Ne,yt,[]).push(In),In.destroy()})});const dt=z.filter($e=>uU($e,h,m)),Un=new Map;aU(Un,this.driver,q,m,Gd).forEach($e=>{uU($e,h,m)&&dt.push($e)});const bn=new Map;I.forEach(($e,yt)=>{aU(bn,this.driver,new Set($e),h,"!")}),dt.forEach($e=>{const yt=Un.get($e),xt=bn.get($e);Un.set($e,new Map([...yt?.entries()??[],...xt?.entries()??[]]))});const _i=[],Rr=[],En={};c.forEach($e=>{const{element:yt,player:xt,instruction:In}=$e;if(s.has(yt)){if(g.has(yt))return xt.onDestroy(()=>Du(yt,In.toStyles)),xt.disabled=!0,xt.overrideTotalTime(In.totalTime),void r.push(xt);let ki=En;if(tt.size>1){let _r=yt;const _a=[];for(;_r=_r.parentNode;){const zs=tt.get(_r);if(zs){ki=zs;break}_a.push(_r)}_a.forEach(zs=>tt.set(zs,ki))}const Gr=this._buildAnimation(xt.namespaceId,In,Ne,o,bn,Un);if(xt.setRealPlayer(Gr),ki===En)_i.push(xt);else{const _r=this.playersByElement.get(ki);_r&&_r.length&&(xt.parentPlayer=Qp(_r)),r.push(xt)}}else Og(yt,In.fromStyles),xt.onDestroy(()=>Du(yt,In.toStyles)),Rr.push(xt),g.has(yt)&&r.push(xt)}),Rr.forEach($e=>{const yt=o.get($e.element);if(yt&&yt.length){const xt=Qp(yt);$e.setRealPlayer(xt)}}),r.forEach($e=>{$e.parentPlayer?$e.syncPlayerEvents($e.parentPlayer):$e.destroy()});for(let $e=0;$e!Gr.destroyed);ki.length?xee(this,yt,ki):this.processLeaveNode(yt)}return z.length=0,_i.forEach($e=>{this.players.push($e),$e.onDone(()=>{$e.destroy();const yt=this.players.indexOf($e);this.players.splice(yt,1)}),$e.play()}),_i}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,r,o){let c=[];if(t){const d=this.playersByQueriedElement.get(e);d&&(c=d)}else{const d=this.playersByElement.get(e);if(d){const h=!o||o==rM;d.forEach(m=>{m.queued||!h&&m.triggerName!=r||c.push(m)})}}return(s||r)&&(c=c.filter(d=>!(s&&s!=d.namespaceId||r&&r!=d.triggerName))),c}_beforeAnimationBuild(e,t,s){const r=t.triggerName,o=t.element,c=t.isRemovalTransition?void 0:e,d=t.isRemovalTransition?void 0:r;for(const h of t.timelines){const m=h.element,g=m!==o,S=Oa(s,m,[]);this._getPreviousPlayers(m,g,c,d,t.toState).forEach(I=>{const P=I.getRealPlayer();P.beforeDestroy&&P.beforeDestroy(),I.destroy(),S.push(I)})}Og(o,t.fromStyles)}_buildAnimation(e,t,s,r,o,c){const d=t.triggerName,h=t.element,m=[],g=new Set,S=new Set,T=t.timelines.map(P=>{const Y=P.element;g.add(Y);const z=Y[mc];if(z&&z.removedBeforeQueried)return new nM(P.duration,P.delay);const Q=Y!==h,q=function kee(n){const e=[];return cU(n,e),e}((s.get(Y)||bee).map(Ne=>Ne.getRealPlayer())).filter(Ne=>{const tt=Ne;return!!tt.element&&tt.element===Y}),oe=o.get(Y),fe=c.get(Y),ye=j3(this._normalizer,P.keyframes,oe,fe),Oe=this._buildPlayer(P,ye,q);if(P.subTimeline&&r&&S.add(Y),Q){const Ne=new pY(e,d,Y);Ne.setRealPlayer(Oe),m.push(Ne)}return Oe});m.forEach(P=>{Oa(this.playersByQueriedElement,P.element,[]).push(P),P.onDone(()=>function Cee(n,e,t){let s=n.get(e);if(s){if(s.length){const r=s.indexOf(t);s.splice(r,1)}0==s.length&&n.delete(e)}return s}(this.playersByQueriedElement,P.element,P))}),g.forEach(P=>vl(P,W3));const I=Qp(T);return I.onDestroy(()=>{g.forEach(P=>Gv(P,W3)),Du(h,t.toStyles)}),S.forEach(P=>{Oa(r,P,[]).push(I)}),I}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new nM(e.duration,e.delay)}}class pY{constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s,this._player=new nM,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(r=>WF(e,s,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){Oa(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function wI(n){return n&&1===n.nodeType}function oU(n,e){const t=n.style.display;return n.style.display=e??"none",t}function aU(n,e,t,s,r){const o=[];t.forEach(h=>o.push(oU(h)));const c=[];s.forEach((h,m)=>{const g=new Map;h.forEach(S=>{const T=e.computeStyle(m,S,r);g.set(S,T),(!T||0==T.length)&&(m[mc]=wee,c.push(m))}),n.set(m,g)});let d=0;return t.forEach(h=>oU(h,o[d++])),c}function lU(n,e){const t=new Map;if(n.forEach(d=>t.set(d,[])),0==e.length)return t;const r=new Set(e),o=new Map;function c(d){if(!d)return 1;let h=o.get(d);if(h)return h;const m=d.parentNode;return h=t.has(m)?m:r.has(m)?1:c(m),o.set(d,h),h}return e.forEach(d=>{const h=c(d);1!==h&&t.get(h).push(d)}),t}function vl(n,e){n.classList?.add(e)}function Gv(n,e){n.classList?.remove(e)}function xee(n,e,t){Qp(t).onDone(()=>n.processLeaveNode(e))}function cU(n,e){for(let t=0;tr.add(o)):e.set(n,s),t.delete(n),!0}class oM{constructor(e,t,s){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new Dee(e.body,t,s),this._timelineEngine=new mee(e.body,t,s),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(e,t,s,r,o){const c=e+"-"+r;let d=this._triggerCache[c];if(!d){const h=[],m=[],g=iY(this._driver,o,h,m);if(h.length)throw function yJ(n,e){return new le(3404,!1)}();m.length,d=function dee(n,e,t){return new hee(n,e,t)}(r,g,this._normalizer),this._triggerCache[c]=d}this._transitionEngine.registerTrigger(t,r,d)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,r){this._transitionEngine.insertNode(e,t,s,r)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,r){if("@"==s.charAt(0)){const[o,c]=V3(s),d=r;this._timelineEngine.command(o,t,c,d)}else this._transitionEngine.trigger(e,t,s,r)}listen(e,t,s,r,o){if("@"==s.charAt(0)){const[c,d]=V3(s);return this._timelineEngine.listen(c,t,d,o)}return this._transitionEngine.listen(e,t,s,r,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}}class aM{static#e=this.initialStylesByElement=new WeakMap;constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let r=aM.initialStylesByElement.get(e);r||aM.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&Du(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Du(this._element,this._initialStyles),this._endStyles&&(Du(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(aM.initialStylesByElement.delete(this._element),this._startStyles&&(Og(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Og(this._element,this._endStyles),this._endStyles=null),Du(this._element,this._initialStyles),this._state=3)}}function fY(n){let e=null;return n.forEach((t,s)=>{(function Aee(n){return"display"===n||"position"===n})(s)&&(e=e||new Map,e.set(s,t))}),e}class dU{constructor(e,t,s,r){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;const t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){const t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,r)=>{"offset"!==r&&e.set(r,this._finished?s:sY(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){const t="start"===e?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}}class hU{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return U3(e,t)}getParentElement(e){return KF(e)}query(e,t,s){return $3(e,t,s)}computeStyle(e,t,s){return sY(e,t)}animate(e,t,s,r,o,c=[]){const h={duration:s,delay:r,fill:0==r?"both":"forwards"};o&&(h.easing=o);const m=new Map,g=c.filter(I=>I instanceof dU);(function HJ(n,e){return 0===n||0===e})(s,r)&&g.forEach(I=>{I.currentSnapshot.forEach((P,Y)=>m.set(Y,P))});let S=function BJ(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}(t).map(I=>new Map(I));S=function UJ(n,e,t){if(t.size&&e.length){let s=e[0],r=[];if(t.forEach((o,c)=>{s.has(c)||r.push(c),s.set(c,o)}),r.length)for(let o=1;oc.set(d,sY(n,d)))}}return e}(e,S,m);const T=function Iee(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=fY(e[0]),e.length>1&&(s=fY(e[e.length-1]))):e instanceof Map&&(t=fY(e)),t||s?new aM(n,t,s):null}(e,S);return new dU(e,S,h,T)}}const pU="@.disabled";class fU{constructor(e,t,s,r){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,r=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,s){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,r){this.delegate.setAttribute(e,t,s,r)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,r){this.delegate.setStyle(e,t,s,r)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){"@"==t.charAt(0)&&t==pU?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class Lee extends fU{constructor(e,t,s,r,o){super(t,s,r,o),this.factory=e,this.namespaceId=t}setProperty(e,t,s){"@"==t.charAt(0)?"."==t.charAt(1)&&t==pU?(s=void 0===s||!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if("@"==t.charAt(0)){const r=function Pee(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(e);let o=t.slice(1),c="";return"@"!=o.charAt(0)&&([o,c]=function Ree(n){const e=n.indexOf("."),t=n.substring(0,e),s=n.slice(e+1);return[t,s]}(o)),this.engine.listen(this.namespaceId,r,o,c,d=>{const h=d._data||-1;this.factory.scheduleListenerCallback(h,s,d)})}return this.delegate.listen(e,t,s)}}class Oee{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(e,t){const r=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){const m=this._rendererCache;let g=m.get(r);if(!g){const S=()=>m.delete(r);g=new fU("",r,this.engine,S),m.set(r,g)}return g}const o=t.id,c=t.id+"-"+this._currentId;this._currentId++,this.engine.register(c,e);const d=m=>{Array.isArray(m)?m.forEach(d):this.engine.registerTrigger(o,c,e,m.name,m)};return t.data.animation.forEach(d),new Lee(this,c,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));const r=this._animationCallbacksBuffer;0==r.length&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(o=>{const[c,d]=o;c(d)}),this._animationCallbacksBuffer=[]})}),r.push([t,s])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}class lM extends oM{constructor(e,t,s){super(e,t,s)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(t){return new(t||lM)(we(Pn),we(QF),we(XF))};static#t=this.\u0275prov=Ae({token:lM,factory:lM.\u0275fac})}const mU=[{provide:XF,useFactory:function Nee(){return new K3}},{provide:oM,useClass:lM},{provide:Id,useFactory:function Fee(n,e,t){return new Oee(n,e,t)},deps:[Lg,oM,_t]}],mY=[{provide:QF,useFactory:()=>new hU},{provide:_y,useValue:"BrowserAnimations"},...mU],gY=[{provide:QF,useClass:Rg},{provide:_y,useValue:"NoopAnimations"},...mU];class cM{static withConfig(e){return{ngModule:cM,providers:e.disableAnimations?gY:mY}}static#e=this.\u0275fac=function(t){return new(t||cM)};static#t=this.\u0275mod=Qn({type:cM,exports:[qd]});static#n=this.\u0275inj=es({providers:mY,imports:[qd]})}class _Y{static#e=this.\u0275fac=function(t){return new(t||_Y)};static#t=this.\u0275mod=Qn({type:_Y,exports:[qd]});static#n=this.\u0275inj=es({providers:gY,imports:[qd]})}const gU=n=>e=>{for(let t=0,s=n.length;tn&&"number"==typeof n.length&&"function"!=typeof n;function yU(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const vU=n=>{if(n&&"function"==typeof n[yi])return(n=>e=>{const t=n[yi]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)})(n);if(_U(n))return gU(n);if(yU(n))return(n=>e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,Bt),e))(n);if(n&&"function"==typeof n[DI])return(n=>e=>{const t=n[DI]();for(;;){const s=t.next();if(s.done){e.complete();break}if(e.next(s.value),e.closed)break}return"function"==typeof t.return&&e.add(()=>{t.return&&t.return()}),e})(n);{const t=`You provided ${an(n)?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(t)}};function yY(n,e){return new Lt(t=>{const s=new Dt;let r=0;return s.add(e.schedule(function(){r!==n.length?(t.next(n[r++]),t.closed||s.add(this.schedule())):t.complete()})),s})}function qee(n,e){if(null!=n){if(function zee(n){return n&&"function"==typeof n[yi]}(n))return function Hee(n,e){return new Lt(t=>{const s=new Dt;return s.add(e.schedule(()=>{const r=n[yi]();s.add(r.subscribe({next(o){s.add(e.schedule(()=>t.next(o)))},error(o){s.add(e.schedule(()=>t.error(o)))},complete(){s.add(e.schedule(()=>t.complete()))}}))})),s})}(n,e);if(yU(n))return function Uee(n,e){return new Lt(t=>{const s=new Dt;return s.add(e.schedule(()=>n.then(r=>{s.add(e.schedule(()=>{t.next(r),s.add(e.schedule(()=>t.complete()))}))},r=>{s.add(e.schedule(()=>t.error(r)))}))),s})}(n,e);if(_U(n))return yY(n,e);if(function Wee(n){return n&&"function"==typeof n[DI]}(n)||"string"==typeof n)return function $ee(n,e){if(!n)throw new Error("Iterable cannot be null");return new Lt(t=>{const s=new Dt;let r;return s.add(()=>{r&&"function"==typeof r.return&&r.return()}),s.add(e.schedule(()=>{r=n[DI](),s.add(e.schedule(function(){if(t.closed)return;let o,c;try{const d=r.next();o=d.value,c=d.done}catch(d){return void t.error(d)}c?t.complete():(t.next(o),this.schedule())}))})),s})}(n,e)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}function pr(n,e){return e?qee(n,e):n instanceof Lt?n:new Lt(vU(n))}function uM(...n){if(1===n.length){const e=n[0];if(Fs(e))return CI(e,null);if(an(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return CI(t.map(s=>e[s]),t)}}if("function"==typeof n[n.length-1]){const e=n.pop();return CI(n=1===n.length&&Fs(n[0])?n[0]:n,null).pipe(zt(t=>e(...t)))}return CI(n,null)}function CI(n,e){return new Lt(t=>{const s=n.length;if(0===s)return void t.complete();const r=new Array(s);let o=0,c=0;for(let d=0;d{m||(m=!0,c++),r[d]=g},error:g=>t.error(g),complete:()=>{o++,(o===s||!m)&&(c===s&&t.next(e?e.reduce((g,S,T)=>(g[S]=r[T],g),{}):r),t.complete())}}))}})}class dM{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static#e=this.\u0275fac=function(t){return new(t||dM)(ce(Ui),ce(pn))};static#t=this.\u0275dir=Ze({type:dM})}class gc extends dM{static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(gc)))(s||gc)}})();static#t=this.\u0275dir=Ze({type:gc,features:[Tn]})}const Ar=new Re(""),Gee={provide:Ar,useExisting:It(()=>Xp),multi:!0};class Xp extends gc{writeValue(e){this.setProperty("checked",e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(Xp)))(s||Xp)}})();static#t=this.\u0275dir=Ze({type:Xp,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,s){1&t&&Ra("change",function(o){return s.onChange(o.target.checked)})("blur",function(){return s.onTouched()})},features:[Yn([Gee]),Tn]})}const Kee={provide:Ar,useExisting:It(()=>Zp),multi:!0};const Xee=new Re("");class Zp extends dM{constructor(e,t,s){super(e,t),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Qee(){const n=Ud()?Ud().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){const t=e??"";this.setProperty("value",t)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static#e=this.\u0275fac=function(t){return new(t||Zp)(ce(Ui),ce(pn),ce(Xee,8))};static#t=this.\u0275dir=Ze({type:Zp,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,s){1&t&&Ra("input",function(o){return s._handleInput(o.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(o){return s._compositionEnd(o.target.value)})},features:[Yn([Kee]),Tn]})}function Jp(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function bU(n){return null!=n&&"number"==typeof n.length}const ho=new Re(""),ef=new Re(""),Zee=/^(?=.{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 it{static min(e){return wU(e)}static max(e){return SU(e)}static required(e){return DU(e)}static requiredTrue(e){return CU(e)}static email(e){return MU(e)}static minLength(e){return EU(e)}static maxLength(e){return xU(e)}static pattern(e){return kU(e)}static nullValidator(e){return null}static compose(e){return RU(e)}static composeAsync(e){return OU(e)}}function wU(n){return e=>{if(Jp(e.value)||Jp(n))return null;const t=parseFloat(e.value);return!isNaN(t)&&t{if(Jp(e.value)||Jp(n))return null;const t=parseFloat(e.value);return!isNaN(t)&&t>n?{max:{max:n,actual:e.value}}:null}}function DU(n){return Jp(n.value)?{required:!0}:null}function CU(n){return!0===n.value?null:{required:!0}}function MU(n){return Jp(n.value)||Zee.test(n.value)?null:{email:!0}}function EU(n){return e=>Jp(e.value)||!bU(e.value)?null:e.value.lengthbU(e.value)&&e.value.length>n?{maxlength:{requiredLength:n,actualLength:e.value.length}}:null}function kU(n){if(!n)return MI;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),s=>{if(Jp(s.value))return null;const r=s.value;return e.test(r)?null:{pattern:{requiredPattern:t,actualValue:r}}}}function MI(n){return null}function TU(n){return null!=n}function IU(n){return AC(n)?pr(n):n}function AU(n){let e={};return n.forEach(t=>{e=null!=t?{...e,...t}:e}),0===Object.keys(e).length?null:e}function LU(n,e){return e.map(t=>t(n))}function PU(n){return n.map(e=>function Jee(n){return!n.validate}(e)?e:t=>e.validate(t))}function RU(n){if(!n)return null;const e=n.filter(TU);return 0==e.length?null:function(t){return AU(LU(t,e))}}function vY(n){return null!=n?RU(PU(n)):null}function OU(n){if(!n)return null;const e=n.filter(TU);return 0==e.length?null:function(t){return uM(LU(t,e).map(IU)).pipe(zt(AU))}}function bY(n){return null!=n?OU(PU(n)):null}function NU(n,e){return null===n?[e]:Array.isArray(n)?[...n,e]:[n,e]}function FU(n){return n._rawValidators}function YU(n){return n._rawAsyncValidators}function wY(n){return n?Array.isArray(n)?n:[n]:[]}function EI(n,e){return Array.isArray(n)?n.includes(e):n===e}function BU(n,e){const t=wY(e);return wY(n).forEach(r=>{EI(t,r)||t.push(r)}),t}function jU(n,e){return wY(e).filter(t=>!EI(n,t))}class VU{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=vY(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=bY(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}class No extends VU{get formDirective(){return null}get path(){return null}}class Xd extends VU{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class HU{constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}class Kv extends HU{constructor(e){super(e)}static#e=this.\u0275fac=function(t){return new(t||Kv)(ce(Xd,2))};static#t=this.\u0275dir=Ze({type:Kv,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,s){2&t&&fg("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)},features:[Tn]})}class Qv extends HU{constructor(e){super(e)}static#e=this.\u0275fac=function(t){return new(t||Qv)(ce(No,10))};static#t=this.\u0275dir=Ze({type:Qv,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,s){2&t&&fg("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)("ng-submitted",s.isSubmitted)},features:[Tn]})}const hM="VALID",kI="INVALID",Xv="PENDING",pM="DISABLED";class Zv{}class $U extends Zv{constructor(e,t){super(),this.value=e,this.source=t}}class CY extends Zv{constructor(e,t){super(),this.pristine=e,this.source=t}}class MY extends Zv{constructor(e,t){super(),this.touched=e,this.source=t}}class TI extends Zv{constructor(e,t){super(),this.status=e,this.source=t}}class ite extends Zv{constructor(e){super(),this.source=e}}class rte extends Zv{constructor(e){super(),this.source=e}}function EY(n){return(II(n)?n.validators:n)||null}function xY(n,e){return(II(e)?e.asyncValidators:n)||null}function II(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function zU(n,e,t){const s=n.controls;if(!(e?Object.keys(s):s).length)throw new le(1e3,"");if(!s[t])throw new le(1001,"")}function WU(n,e,t){n._forEachChild((s,r)=>{if(void 0===t[r])throw new le(1002,"")})}class AI{constructor(e,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=YC(()=>this.statusReactive()),this.statusReactive=Ld(void 0),this._pristine=YC(()=>this.pristineReactive()),this.pristineReactive=Ld(!0),this._touched=YC(()=>this.touchedReactive()),this.touchedReactive=Ld(!1),this._events=new ht,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(t)}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 status(){return vu(this.statusReactive)}set status(e){vu(()=>this.statusReactive.set(e))}get valid(){return this.status===hM}get invalid(){return this.status===kI}get pending(){return this.status==Xv}get disabled(){return this.status===pM}get enabled(){return this.status!==pM}get pristine(){return vu(this.pristineReactive)}set pristine(e){vu(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return vu(this.touchedReactive)}set touched(e){vu(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(BU(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(BU(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(jU(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(jU(e,this._rawAsyncValidators))}hasValidator(e){return EI(this._rawValidators,e)}hasAsyncValidator(e){return EI(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){const t=!1===this.touched;this.touched=!0;const s=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched({...e,sourceControl:s}),t&&!1!==e.emitEvent&&this._events.next(new MY(!0,s))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(e))}markAsUntouched(e={}){const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const s=e.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:s})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,s),t&&!1!==e.emitEvent&&this._events.next(new MY(!1,s))}markAsDirty(e={}){const t=!0===this.pristine;this.pristine=!1;const s=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty({...e,sourceControl:s}),t&&!1!==e.emitEvent&&this._events.next(new CY(!1,s))}markAsPristine(e={}){const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const s=e.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,s),t&&!1!==e.emitEvent&&this._events.next(new CY(!0,s))}markAsPending(e={}){this.status=Xv;const t=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new TI(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending({...e,sourceControl:t})}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=pM,this.errors=null,this._forEachChild(r=>{r.disable({...e,onlySelf:!0})}),this._updateValue();const s=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new $U(this.value,s)),this._events.next(new TI(this.status,s)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...e,skipPristineCheck:t},this),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=hM,this._forEachChild(s=>{s.enable({...e,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors({...e,skipPristineCheck:t},this),this._onDisabledChange.forEach(s=>s(!1))}_updateAncestors(e,t){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const s=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===hM||this.status===Xv)&&this._runAsyncValidator(s,e.emitEvent)}const t=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new $U(this.value,t)),this._events.next(new TI(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity({...e,sourceControl:t})}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?pM:hM}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,t){if(this.asyncValidator){this.status=Xv,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const s=IU(this.asyncValidator(this));this._asyncValidationSubscription=s.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:t,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent,this,t.shouldHaveEmitted)}get(e){let t=e;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((s,r)=>s&&s._find(r),this)}getError(e,t){const s=t?this.get(t):this;return s&&s.errors?s.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,t,s){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||s)&&this._events.next(new TI(this.status,t)),this._parent&&this._parent._updateControlsErrors(e,t,s)}_initObservables(){this.valueChanges=new Le,this.statusChanges=new Le}_calculateStatus(){return this._allControlsDisabled()?pM:this.errors?kI:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Xv)?Xv:this._anyControlsHaveStatus(kI)?kI:hM}_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,t){const s=!this._anyControlsDirty(),r=this.pristine!==s;this.pristine=s,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),r&&this._events.next(new CY(this.pristine,t))}_updateTouched(e={},t){this.touched=this._anyControlsTouched(),this._events.next(new MY(this.touched,t)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){II(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){const t=this._parent&&this._parent.dirty;return!e&&!!t&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=function ote(n){return Array.isArray(n)?vY(n):n||null}(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=function ate(n){return Array.isArray(n)?bY(n):n||null}(this._rawAsyncValidators)}}class fM extends AI{constructor(e,t,s){super(EY(t),xY(s,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,s={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:s.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,s={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){WU(this,0,e),Object.keys(e).forEach(s=>{zU(this,!0,s),this.controls[s].setValue(e[s],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(s=>{const r=this.controls[s];r&&r.patchValue(e[s],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((s,r)=>{s.reset(e?e[r]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,s)=>(e[s]=t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,s)=>!!s._syncPendingControls()||t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const s=this.controls[t];s&&e(s,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const[t,s]of Object.entries(this.controls))if(this.contains(t)&&e(s))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,s,r)=>((s.enabled||this.disabled)&&(t[r]=s.value),t))}_reduceChildren(e,t){let s=e;return this._forEachChild((r,o)=>{s=t(s,r,o)}),s}_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}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}}class qU extends fM{}const Fg=new Re("CallSetDisabledState",{providedIn:"root",factory:()=>mM}),mM="always";function LI(n,e){return[...e.path,n]}function gM(n,e,t=mM){kY(n,e),e.valueAccessor.writeValue(n.value),(n.disabled||"always"===t)&&e.valueAccessor.setDisabledState?.(n.disabled),function cte(n,e){e.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&GU(n,e)})}(n,e),function dte(n,e){const t=(s,r)=>{e.valueAccessor.writeValue(s),r&&e.viewToModelUpdate(s)};n.registerOnChange(t),e._registerOnDestroy(()=>{n._unregisterOnChange(t)})}(n,e),function ute(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&GU(n,e),"submit"!==n.updateOn&&n.markAsTouched()})}(n,e),function lte(n,e){if(e.valueAccessor.setDisabledState){const t=s=>{e.valueAccessor.setDisabledState(s)};n.registerOnDisabledChange(t),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}(n,e)}function PI(n,e,t=!0){const s=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(s),e.valueAccessor.registerOnTouched(s)),OI(n,e),n&&(e._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function RI(n,e){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function kY(n,e){const t=FU(n);null!==e.validator?n.setValidators(NU(t,e.validator)):"function"==typeof t&&n.setValidators([t]);const s=YU(n);null!==e.asyncValidator?n.setAsyncValidators(NU(s,e.asyncValidator)):"function"==typeof s&&n.setAsyncValidators([s]);const r=()=>n.updateValueAndValidity();RI(e._rawValidators,r),RI(e._rawAsyncValidators,r)}function OI(n,e){let t=!1;if(null!==n){if(null!==e.validator){const r=FU(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(c=>c!==e.validator);o.length!==r.length&&(t=!0,n.setValidators(o))}}if(null!==e.asyncValidator){const r=YU(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(c=>c!==e.asyncValidator);o.length!==r.length&&(t=!0,n.setAsyncValidators(o))}}}const s=()=>{};return RI(e._rawValidators,s),RI(e._rawAsyncValidators,s),t}function GU(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function KU(n,e){kY(n,e)}function IY(n,e){if(!n.hasOwnProperty("model"))return!1;const t=n.model;return!!t.isFirstChange()||!Object.is(e,t.currentValue)}function QU(n,e){n._syncPendingControls(),e.forEach(t=>{const s=t.control;"submit"===s.updateOn&&s._pendingChange&&(t.viewToModelUpdate(s._pendingValue),s._pendingChange=!1)})}function AY(n,e){if(!e)return null;let t,s,r;return Array.isArray(e),e.forEach(o=>{o.constructor===Zp?t=o:function fte(n){return Object.getPrototypeOf(n.constructor)===gc}(o)?s=o:r=o}),r||s||t||null}const gte={provide:No,useExisting:It(()=>tf)},_M=Promise.resolve();class tf extends No{get submitted(){return vu(this.submittedReactive)}constructor(e,t,s){super(),this.callSetDisabledState=s,this._submitted=YC(()=>this.submittedReactive()),this.submittedReactive=Ld(!1),this._directives=new Set,this.ngSubmit=new Le,this.form=new fM({},vY(e),bY(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){_M.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),gM(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){_M.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){_M.then(()=>{const t=this._findContainer(e.path),s=new fM({});KU(s,e),t.registerControl(e.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){_M.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){_M.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),QU(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static#e=this.\u0275fac=function(t){return new(t||tf)(ce(ho,10),ce(ef,10),ce(Fg,8))};static#t=this.\u0275dir=Ze({type:tf,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,s){1&t&&Ra("submit",function(o){return s.onSubmit(o)})("reset",function(){return s.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Yn([gte]),Tn]})}function XU(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}function ZU(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const Zd=class extends AI{constructor(e=null,t,s){super(EY(t),xY(s,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),II(t)&&(t.nonNullable||t.initialValueIsDefault)&&(ZU(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(s=>s(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=this.defaultValue,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){XU(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){XU(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){ZU(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}},Jv=Zd;class eb extends No{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return LI(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(eb)))(s||eb)}})();static#t=this.\u0275dir=Ze({type:eb,features:[Tn]})}const yte={provide:No,useExisting:It(()=>nf)};class nf extends eb{constructor(e,t,s){super(),this.name="",this._parent=e,this._setValidators(t),this._setAsyncValidators(s)}_checkParentType(){!(this._parent instanceof nf)&&this._parent}static#e=this.\u0275fac=function(t){return new(t||nf)(ce(No,5),ce(ho,10),ce(ef,10))};static#t=this.\u0275dir=Ze({type:nf,selectors:[["","ngModelGroup",""]],inputs:{name:[0,"ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[Yn([yte]),Tn]})}const vte={provide:Xd,useExisting:It(()=>Yg)},JU=Promise.resolve();class Yg extends Xd{constructor(e,t,s,r,o,c){super(),this._changeDetectorRef=o,this.callSetDisabledState=c,this.control=new Zd,this._registered=!1,this.name="",this.update=new Le,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=AY(0,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),IY(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){gM(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){JU.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const t=e.isDisabled.currentValue,s=0!==t&&$i(t);JU.then(()=>{s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?LI(e,this._parent):[e]}static#e=this.\u0275fac=function(t){return new(t||Yg)(ce(No,9),ce(ho,10),ce(ef,10),ce(Ar,10),ce(gl,8),ce(Fg,8))};static#t=this.\u0275dir=Ze({type:Yg,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Yn([vte]),Tn,vs]})}class tb{static#e=this.\u0275fac=function(t){return new(t||tb)};static#t=this.\u0275dir=Ze({type:tb,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}const bte={provide:Ar,useExisting:It(()=>sf),multi:!0};class sf extends gc{writeValue(e){const t=e??"";this.setProperty("value",t)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(sf)))(s||sf)}})();static#t=this.\u0275dir=Ze({type:sf,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,s){1&t&&Ra("input",function(o){return s.onChange(o.target.value)})("blur",function(){return s.onTouched()})},features:[Yn([bte]),Tn]})}const wte={provide:Ar,useExisting:It(()=>Bg),multi:!0};class yM{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&(e[0]._parent===t._control._parent&&e[1].name===t.name)}static#e=this.\u0275fac=function(t){return new(t||yM)};static#t=this.\u0275prov=Ae({token:yM,factory:yM.\u0275fac,providedIn:"root"})}class Bg extends gc{constructor(e,t,s,r){super(e,t),this._registry=s,this._injector=r,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=me(Fg,{optional:!0})??mM}ngOnInit(){this._control=this._injector.get(Xd),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this.setProperty("checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}setDisabledState(e){(this.setDisabledStateFired||e||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",e),this.setDisabledStateFired=!0}fireUncheck(e){this.writeValue(e)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(t){return new(t||Bg)(ce(Ui),ce(pn),ce(yM),ce(as))};static#t=this.\u0275dir=Ze({type:Bg,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,s){1&t&&Ra("change",function(){return s.onChange()})("blur",function(){return s.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Yn([wte]),Tn]})}const Ste={provide:Ar,useExisting:It(()=>rf),multi:!0};class rf extends gc{writeValue(e){this.setProperty("value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(rf)))(s||rf)}})();static#t=this.\u0275dir=Ze({type:rf,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,s){1&t&&Ra("change",function(o){return s.onChange(o.target.value)})("input",function(o){return s.onChange(o.target.value)})("blur",function(){return s.onTouched()})},features:[Yn([Ste]),Tn]})}const LY=new Re(""),Dte={provide:Xd,useExisting:It(()=>jg)};class jg extends Xd{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,t,s,r,o){super(),this._ngModelWarningConfig=r,this.callSetDisabledState=o,this.update=new Le,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=AY(0,s)}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&PI(t,this,!1),gM(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}IY(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&PI(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static#t=this.\u0275fac=function(t){return new(t||jg)(ce(ho,10),ce(ef,10),ce(Ar,10),ce(LY,8),ce(Fg,8))};static#n=this.\u0275dir=Ze({type:jg,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Yn([Dte]),Tn,vs]})}const Cte={provide:No,useExisting:It(()=>af)};class af extends No{get submitted(){return vu(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}constructor(e,t,s){super(),this.callSetDisabledState=s,this._submitted=YC(()=>this._submittedReactive()),this._submittedReactive=Ld(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Le,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(OI(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return gM(t,e,this.callSetDisabledState),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){PI(e.control||null,e,!1),function mte(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this._submittedReactive.set(!0),QU(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new ite(this.control)),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new rte(this.form))}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,s=this.form.get(e.path);t!==s&&(PI(t||null,e),(n=>n instanceof Zd)(s)&&(gM(s,e,this.callSetDisabledState),e.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);KU(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function hte(n,e){return OI(n,e)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){kY(this.form,this),this._oldForm&&OI(this._oldForm,this)}_checkFormPresent(){this.form}static#e=this.\u0275fac=function(t){return new(t||af)(ce(ho,10),ce(ef,10),ce(Fg,8))};static#t=this.\u0275dir=Ze({type:af,selectors:[["","formGroup",""]],hostBindings:function(t,s){1&t&&Ra("submit",function(o){return s.onSubmit(o)})("reset",function(){return s.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Yn([Cte]),Tn,vs]})}const Mte={provide:No,useExisting:It(()=>lf)};class lf extends eb{constructor(e,t,s){super(),this.name=null,this._parent=e,this._setValidators(t),this._setAsyncValidators(s)}_checkParentType(){e4(this._parent)}static#e=this.\u0275fac=function(t){return new(t||lf)(ce(No,13),ce(ho,10),ce(ef,10))};static#t=this.\u0275dir=Ze({type:lf,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[Yn([Mte]),Tn]})}const Ete={provide:No,useExisting:It(()=>cf)};class cf extends No{constructor(e,t,s){super(),this.name=null,this._parent=e,this._setValidators(t),this._setAsyncValidators(s)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return LI(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){e4(this._parent)}static#e=this.\u0275fac=function(t){return new(t||cf)(ce(No,13),ce(ho,10),ce(ef,10))};static#t=this.\u0275dir=Ze({type:cf,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[Yn([Ete]),Tn]})}function e4(n){return!(n instanceof lf||n instanceof af||n instanceof cf)}const xte={provide:Xd,useExisting:It(()=>Vg)};class Vg extends Xd{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,t,s,r,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.name=null,this.update=new Le,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=AY(0,r)}ngOnChanges(e){this._added||this._setUpControl(),IY(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return LI(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(t){return new(t||Vg)(ce(No,13),ce(ho,10),ce(ef,10),ce(Ar,10),ce(LY,8))};static#n=this.\u0275dir=Ze({type:Vg,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[Yn([xte]),Tn,vs]})}const kte={provide:Ar,useExisting:It(()=>Jd),multi:!0};function t4(n,e){return null==n?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${n}: ${e}`.slice(0,50))}class Jd extends gc{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const s=t4(this._getOptionId(e),e);this.setProperty("value",s)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of this._optionMap.keys())if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function Tte(n){return n.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(Jd)))(s||Jd)}})();static#t=this.\u0275dir=Ze({type:Jd,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,s){1&t&&Ra("change",function(o){return s.onChange(o.target.value)})("blur",function(){return s.onTouched()})},inputs:{compareWith:"compareWith"},features:[Yn([kte]),Tn]})}class nb{constructor(e,t,s){this._element=e,this._renderer=t,this._select=s,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(t4(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(t){return new(t||nb)(ce(pn),ce(Ui),ce(Jd,9))};static#t=this.\u0275dir=Ze({type:nb,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}const Ite={provide:Ar,useExisting:It(()=>eh),multi:!0};function n4(n,e){return null==n?`${e}`:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${n}: ${e}`.slice(0,50))}class eh extends gc{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const s=e.map(r=>this._getOptionId(r));t=(r,o)=>{r._setSelected(s.indexOf(o.toString())>-1)}}else t=(s,r)=>{s._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const s=[],r=t.selectedOptions;if(void 0!==r){const o=r;for(let c=0;c{let e;return function(s){return(e||(e=Ln(eh)))(s||eh)}})();static#t=this.\u0275dir=Ze({type:eh,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,s){1&t&&Ra("change",function(o){return s.onChange(o.target)})("blur",function(){return s.onTouched()})},inputs:{compareWith:"compareWith"},features:[Yn([Ite]),Tn]})}class sb{constructor(e,t,s){this._element=e,this._renderer=t,this._select=s,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(n4(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(n4(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(t){return new(t||sb)(ce(pn),ce(Ui),ce(eh,9))};static#t=this.\u0275dir=Ze({type:sb,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}function s4(n){return"number"==typeof n?n:parseInt(n,10)}function i4(n){return"number"==typeof n?n:parseFloat(n)}class Cu{constructor(){this._validator=MI}ngOnChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):MI,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}static#e=this.\u0275fac=function(t){return new(t||Cu)};static#t=this.\u0275dir=Ze({type:Cu,features:[vs]})}const Lte={provide:ho,useExisting:It(()=>uf),multi:!0};class uf extends Cu{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=e=>i4(e),this.createValidator=e=>SU(e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(uf)))(s||uf)}})();static#t=this.\u0275dir=Ze({type:uf,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(t,s){2&t&&ca("max",s._enabled?s.max:null)},inputs:{max:"max"},features:[Yn([Lte]),Tn]})}const Pte={provide:ho,useExisting:It(()=>df),multi:!0};class df extends Cu{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>i4(e),this.createValidator=e=>wU(e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(df)))(s||df)}})();static#t=this.\u0275dir=Ze({type:df,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(t,s){2&t&&ca("min",s._enabled?s.min:null)},inputs:{min:"min"},features:[Yn([Pte]),Tn]})}const Rte={provide:ho,useExisting:It(()=>th),multi:!0},Ote={provide:ho,useExisting:It(()=>hf),multi:!0};class th extends Cu{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=$i,this.createValidator=e=>DU}enabled(e){return e}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(th)))(s||th)}})();static#t=this.\u0275dir=Ze({type:th,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,s){2&t&&ca("required",s._enabled?"":null)},inputs:{required:"required"},features:[Yn([Rte]),Tn]})}class hf extends th{constructor(){super(...arguments),this.createValidator=e=>CU}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(hf)))(s||hf)}})();static#t=this.\u0275dir=Ze({type:hf,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,s){2&t&&ca("required",s._enabled?"":null)},features:[Yn([Ote]),Tn]})}const Nte={provide:ho,useExisting:It(()=>pf),multi:!0};class pf extends Cu{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=$i,this.createValidator=e=>MU}enabled(e){return e}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(pf)))(s||pf)}})();static#t=this.\u0275dir=Ze({type:pf,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[Yn([Nte]),Tn]})}const Fte={provide:ho,useExisting:It(()=>ff),multi:!0};class ff extends Cu{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=e=>s4(e),this.createValidator=e=>EU(e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(ff)))(s||ff)}})();static#t=this.\u0275dir=Ze({type:ff,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,s){2&t&&ca("minlength",s._enabled?s.minlength:null)},inputs:{minlength:"minlength"},features:[Yn([Fte]),Tn]})}const Yte={provide:ho,useExisting:It(()=>mf),multi:!0};class mf extends Cu{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>s4(e),this.createValidator=e=>xU(e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(mf)))(s||mf)}})();static#t=this.\u0275dir=Ze({type:mf,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,s){2&t&&ca("maxlength",s._enabled?s.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Yn([Yte]),Tn]})}const Bte={provide:ho,useExisting:It(()=>gf),multi:!0};class gf extends Cu{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=e=>e,this.createValidator=e=>kU(e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(gf)))(s||gf)}})();static#t=this.\u0275dir=Ze({type:gf,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,s){2&t&&ca("pattern",s._enabled?s.pattern:null)},inputs:{pattern:"pattern"},features:[Yn([Bte]),Tn]})}class Hg{static#e=this.\u0275fac=function(t){return new(t||Hg)};static#t=this.\u0275mod=Qn({type:Hg,declarations:[tb,nb,sb,Zp,sf,rf,Xp,Jd,eh,Bg,Kv,Qv,th,ff,mf,gf,hf,pf,df,uf],exports:[tb,nb,sb,Zp,sf,rf,Xp,Jd,eh,Bg,Kv,Qv,th,ff,mf,gf,hf,pf,df,uf]});static#n=this.\u0275inj=es({})}class r4 extends AI{constructor(e,t,s){super(EY(t),xY(s,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,t={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(e,t,s={}){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:s.emitEvent})}removeAt(e,t={}){let s=this._adjustIndex(e);s<0&&(s=0),this.controls[s]&&this.controls[s]._registerOnCollectionChange(()=>{}),this.controls.splice(s,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(e,t,s={}){let r=this._adjustIndex(e);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),t&&(this.controls.splice(r,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){WU(this,0,e),e.forEach((s,r)=>{zU(this,!1,r),this.at(r).setValue(s,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((s,r)=>{this.at(r)&&this.at(r).patchValue(s,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((s,r)=>{s.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((t,s)=>!!s._syncPendingControls()||t,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((t,s)=>{e(t,s)})}_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))}_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)}_find(e){return this.at(e)??null}}function o4(n){return!!n&&(void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn)}class Ug{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new Ug;return e.useNonNullable=!0,e}group(e,t=null){const s=this._reduceControls(e);let r={};return o4(t)?r=t:null!==t&&(r.validators=t.validator,r.asyncValidators=t.asyncValidator),new fM(s,r)}record(e,t=null){const s=this._reduceControls(e);return new qU(s,t)}control(e,t,s){let r={};return this.useNonNullable?(o4(t)?r=t:(r.validators=t,r.asyncValidators=s),new Zd(e,{...r,nonNullable:!0})):new Zd(e,t,s)}array(e,t,s){const r=e.map(o=>this._createControl(o));return new r4(r,t,s)}_reduceControls(e){const t={};return Object.keys(e).forEach(s=>{t[s]=this._createControl(e[s])}),t}_createControl(e){if(e instanceof Zd)return e;if(e instanceof AI)return e;if(Array.isArray(e)){const t=e[0],s=e.length>1?e[1]:null,r=e.length>2?e[2]:null;return this.control(t,s,r)}return this.control(e)}static#e=this.\u0275fac=function(t){return new(t||Ug)};static#t=this.\u0275prov=Ae({token:Ug,factory:Ug.\u0275fac,providedIn:"root"})}class PY{static#e=this.\u0275fac=function(t){return new(t||PY)};static#t=this.\u0275prov=Ae({token:PY,factory:()=>me(Ug).nonNullable,providedIn:"root"})}class ir extends Ug{group(e,t=null){return super.group(e,t)}control(e,t,s){return super.control(e,t,s)}array(e,t,s){return super.array(e,t,s)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(ir)))(s||ir)}})();static#t=this.\u0275prov=Ae({token:ir,factory:ir.\u0275fac,providedIn:"root"})}new Dv("18.2.13");class nh{static withConfig(e){return{ngModule:nh,providers:[{provide:Fg,useValue:e.callSetDisabledState??mM}]}}static#e=this.\u0275fac=function(t){return new(t||nh)};static#t=this.\u0275mod=Qn({type:nh,declarations:[Yg,nf,tf],exports:[Hg,Yg,nf,tf]});static#n=this.\u0275inj=es({imports:[Hg]})}class ib{static withConfig(e){return{ngModule:ib,providers:[{provide:LY,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Fg,useValue:e.callSetDisabledState??mM}]}}static#e=this.\u0275fac=function(t){return new(t||ib)};static#t=this.\u0275mod=Qn({type:ib,declarations:[jg,af,Vg,lf,cf],exports:[Hg,jg,af,Vg,lf,cf]});static#n=this.\u0275inj=es({imports:[Hg]})}function rb(n){return n&&"function"==typeof n.schedule}function RY(n,e){return e?yY(n,e):new Lt(gU(n))}function ut(...n){let e=n[n.length-1];return rb(e)?(n.pop(),yY(n,e)):RY(n)}class NI extends tn{constructor(e,t,s){super(),this.parent=e,this.outerValue=t,this.outerIndex=s,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 ob(n,e,t,s,r=new NI(n,t,s)){if(!r.closed)return e instanceof Lt?e.subscribe(r):vU(e)(r)}class ab extends tn{notifyNext(e,t,s,r,o){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}function Fo(n,e,t=Number.POSITIVE_INFINITY){return"function"==typeof e?s=>s.pipe(Fo((r,o)=>pr(n(r,o)).pipe(zt((c,d)=>e(r,c,o,d))),t)):("number"==typeof e&&(t=e),s=>s.lift(new jte(n,t)))}class jte{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new Vte(e,this.project,this.concurrent))}}class Vte extends ab{constructor(e,t,s=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=s,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function lb(n,e){return Fo(n,e,1)}function vM(n){return e=>e.lift(new Hte(n))}class Hte{constructor(e){this.callback=e}call(e,t){return t.subscribe(new Ute(e,this.callback))}}class Ute extends tn{constructor(e,t){super(e),this.add(new Dt(t))}}function pa(n,e){return"function"==typeof e?t=>t.pipe(pa((s,r)=>pr(n(s,r)).pipe(zt((o,c)=>e(s,o,r,c))))):t=>t.lift(new $te(n))}class $te{constructor(e){this.project=e}call(e,t){return t.subscribe(new zte(e,this.project))}}class zte extends ab{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const s=this.index++;try{t=this.project(e,s)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,s)}_innerSub(e,t,s){const r=this.innerSubscription;r&&r.unsubscribe();const o=new NI(this,t,s),c=this.destination;c.add(o),this.innerSubscription=ob(this,e,void 0,void 0,o),this.innerSubscription!==o&&c.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;(!e||e.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(e,t,s,r,o){this.destination.next(t)}}class FI{}class YI{}class Yo{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?"string"==typeof e?this.lazyInit=()=>{this.headers=new Map,e.split("\n").forEach(t=>{const s=t.indexOf(":");if(s>0){const r=t.slice(0,s),o=r.toLowerCase(),c=t.slice(s+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(c):this.headers.set(o,[c])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((t,s)=>{this.setHeaderEntries(s,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([t,s])=>{this.setHeaderEntries(t,s)})}: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 Yo?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 Yo;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof Yo?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 s=e.value;if("string"==typeof s&&(s=[s]),0===s.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...s),this.headers.set(t,r);break;case"d":const o=e.value;if(o){let c=this.headers.get(t);if(!c)return;c=c.filter(d=>-1===o.indexOf(d)),0===c.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,c)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(e,t){const s=(Array.isArray(t)?t:[t]).map(o=>o.toString()),r=e.toLowerCase();this.headers.set(r,s),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class Wte{encodeKey(e){return a4(e)}encodeValue(e){return a4(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const Gte=/%(\d[a-f0-9])/gi,Kte={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function a4(n){return encodeURIComponent(n).replace(Gte,(e,t)=>Kte[t]??e)}function BI(n){return`${n}`}class _f{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Wte,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function qte(n,e){const t=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[c,d]=-1==o?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,o)),e.decodeValue(r.slice(o+1))],h=t.get(c)||[];h.push(d),t.set(c,h)}),t}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const s=e.fromObject[t],r=Array.isArray(s)?s.map(BI):[BI(s)];this.map.set(t,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(s=>{const r=e[s];Array.isArray(r)?r.forEach(o=>{t.push({param:s,value:o,op:"a"})}):t.push({param:s,value:r,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(s=>t+"="+this.encoder.encodeValue(s)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new _f({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(BI(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let s=this.map.get(e.param)||[];const r=s.indexOf(BI(e.value));-1!==r&&s.splice(r,1),s.length>0?this.map.set(e.param,s):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}class Qte{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}has(e){return this.map.has(e)}keys(){return this.map.keys()}}function l4(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function c4(n){return typeof Blob<"u"&&n instanceof Blob}function u4(n){return typeof FormData<"u"&&n instanceof FormData}class bM{constructor(e,t,s,r){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function Xte(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==s?s:null,o=r):o=s,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Yo,this.context??=new Qte,this.params){const c=this.params.toString();if(0===c.length)this.urlWithParams=t;else{const d=t.indexOf("?"),h=-1===d?"?":dT.set(I,e.setHeaders[I]),m)),e.setParams&&(g=Object.keys(e.setParams).reduce((T,I)=>T.set(I,e.setParams[I]),g)),new bM(t,s,c,{params:g,headers:m,context:S,reportProgress:h,responseType:r,withCredentials:d,transferCache:o})}}var Mu;!function(n){n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User"}(Mu||(Mu={}));class OY{constructor(e,t=200,s="OK"){this.headers=e.headers||new Yo,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||s,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class jI extends OY{constructor(e={}){super(e),this.type=Mu.ResponseHeader}clone(e={}){return new jI({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})}}class yf extends OY{constructor(e={}){super(e),this.type=Mu.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new yf({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})}}class vf extends OY{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}var d4;function FY(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,transferCache:n.transferCache}}!function(n){n[n.Continue=100]="Continue",n[n.SwitchingProtocols=101]="SwitchingProtocols",n[n.Processing=102]="Processing",n[n.EarlyHints=103]="EarlyHints",n[n.Ok=200]="Ok",n[n.Created=201]="Created",n[n.Accepted=202]="Accepted",n[n.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",n[n.NoContent=204]="NoContent",n[n.ResetContent=205]="ResetContent",n[n.PartialContent=206]="PartialContent",n[n.MultiStatus=207]="MultiStatus",n[n.AlreadyReported=208]="AlreadyReported",n[n.ImUsed=226]="ImUsed",n[n.MultipleChoices=300]="MultipleChoices",n[n.MovedPermanently=301]="MovedPermanently",n[n.Found=302]="Found",n[n.SeeOther=303]="SeeOther",n[n.NotModified=304]="NotModified",n[n.UseProxy=305]="UseProxy",n[n.Unused=306]="Unused",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",n[n.BadRequest=400]="BadRequest",n[n.Unauthorized=401]="Unauthorized",n[n.PaymentRequired=402]="PaymentRequired",n[n.Forbidden=403]="Forbidden",n[n.NotFound=404]="NotFound",n[n.MethodNotAllowed=405]="MethodNotAllowed",n[n.NotAcceptable=406]="NotAcceptable",n[n.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",n[n.RequestTimeout=408]="RequestTimeout",n[n.Conflict=409]="Conflict",n[n.Gone=410]="Gone",n[n.LengthRequired=411]="LengthRequired",n[n.PreconditionFailed=412]="PreconditionFailed",n[n.PayloadTooLarge=413]="PayloadTooLarge",n[n.UriTooLong=414]="UriTooLong",n[n.UnsupportedMediaType=415]="UnsupportedMediaType",n[n.RangeNotSatisfiable=416]="RangeNotSatisfiable",n[n.ExpectationFailed=417]="ExpectationFailed",n[n.ImATeapot=418]="ImATeapot",n[n.MisdirectedRequest=421]="MisdirectedRequest",n[n.UnprocessableEntity=422]="UnprocessableEntity",n[n.Locked=423]="Locked",n[n.FailedDependency=424]="FailedDependency",n[n.TooEarly=425]="TooEarly",n[n.UpgradeRequired=426]="UpgradeRequired",n[n.PreconditionRequired=428]="PreconditionRequired",n[n.TooManyRequests=429]="TooManyRequests",n[n.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",n[n.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",n[n.InternalServerError=500]="InternalServerError",n[n.NotImplemented=501]="NotImplemented",n[n.BadGateway=502]="BadGateway",n[n.ServiceUnavailable=503]="ServiceUnavailable",n[n.GatewayTimeout=504]="GatewayTimeout",n[n.HttpVersionNotSupported=505]="HttpVersionNotSupported",n[n.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",n[n.InsufficientStorage=507]="InsufficientStorage",n[n.LoopDetected=508]="LoopDetected",n[n.NotExtended=510]="NotExtended",n[n.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired"}(d4||(d4={}));class _c{constructor(e){this.handler=e}request(e,t,s={}){let r;if(e instanceof bM)r=e;else{let d,h;d=s.headers instanceof Yo?s.headers:new Yo(s.headers),s.params&&(h=s.params instanceof _f?s.params:new _f({fromObject:s.params})),r=new bM(e,t,void 0!==s.body?s.body:null,{headers:d,context:s.context,params:h,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials,transferCache:s.transferCache})}const o=ut(r).pipe(lb(d=>this.handler.handle(d)));if(e instanceof bM||"events"===s.observe)return o;const c=o.pipe(fs(d=>d instanceof yf));switch(s.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return c.pipe(zt(d=>{if(null!==d.body&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return c.pipe(zt(d=>{if(null!==d.body&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return c.pipe(zt(d=>{if(null!==d.body&&"string"!=typeof d.body)throw new Error("Response is not a string.");return d.body}));default:return c.pipe(zt(d=>d.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new _f).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,s={}){return this.request("PATCH",e,FY(s,t))}post(e,t,s={}){return this.request("POST",e,FY(s,t))}put(e,t,s={}){return this.request("PUT",e,FY(s,t))}static#e=this.\u0275fac=function(t){return new(t||_c)(we(FI))};static#t=this.\u0275prov=Ae({token:_c,factory:_c.\u0275fac})}const ene=/^\)\]\}',?\n/;function h4(n){if(n.url)return n.url;const e="X-Request-URL".toLocaleLowerCase();return n.headers.get(e)}class $g{constructor(){this.fetchImpl=me(nne,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e)),this.ngZone=me(_t)}handle(e){return new Lt(t=>{const s=new AbortController;return this.doRequest(e,s.signal,t).then(YY,r=>t.error(new vf({error:r}))),()=>s.abort()})}doRequest(e,t,s){var r=this;return BC(function*(){const o=r.createRequestInit(e);let c;try{const I=r.ngZone.runOutsideAngular(()=>r.fetchImpl(e.urlWithParams,{signal:t,...o}));(function sne(n){n.then(YY,YY)})(I),s.next({type:Mu.Sent}),c=yield I}catch(I){return void s.error(new vf({error:I,status:I.status??0,statusText:I.statusText,url:e.urlWithParams,headers:I.headers}))}const d=new Yo(c.headers),h=c.statusText,m=h4(c)??e.urlWithParams;let g=c.status,S=null;if(e.reportProgress&&s.next(new jI({headers:d,status:g,statusText:h,url:m})),c.body){const I=c.headers.get("content-length"),P=[],Y=c.body.getReader();let Q,q,z=0;const oe=typeof Zone<"u"&&Zone.current;yield r.ngZone.runOutsideAngular(BC(function*(){for(;;){const{done:ye,value:Oe}=yield Y.read();if(ye)break;if(P.push(Oe),z+=Oe.length,e.reportProgress){q="text"===e.responseType?(q??"")+(Q??=new TextDecoder).decode(Oe,{stream:!0}):void 0;const Ne=()=>s.next({type:Mu.DownloadProgress,total:I?+I:void 0,loaded:z,partialText:q});oe?oe.run(Ne):Ne()}}}));const fe=r.concatChunks(P,z);try{const ye=c.headers.get("Content-Type")??"";S=r.parseBody(e,fe,ye)}catch(ye){return void s.error(new vf({error:ye,headers:new Yo(c.headers),status:c.status,statusText:c.statusText,url:h4(c)??e.urlWithParams}))}}0===g&&(g=S?200:0),g>=200&&g<300?(s.next(new yf({body:S,headers:d,status:g,statusText:h,url:m})),s.complete()):s.error(new vf({error:S,headers:d,status:g,statusText:h,url:m}))})()}parseBody(e,t,s){switch(e.responseType){case"json":const r=(new TextDecoder).decode(t).replace(ene,"");return""===r?null:JSON.parse(r);case"text":return(new TextDecoder).decode(t);case"blob":return new Blob([t],{type:s});case"arraybuffer":return t.buffer}}createRequestInit(e){const t={},s=e.withCredentials?"include":void 0;if(e.headers.forEach((r,o)=>t[r]=o.join(",")),e.headers.has("Accept")||(t.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){const r=e.detectContentTypeHeader();null!==r&&(t["Content-Type"]=r)}return{body:e.serializeBody(),method:e.method,headers:t,credentials:s}}concatChunks(e,t){const s=new Uint8Array(t);let r=0;for(const o of e)s.set(o,r),r+=o.length;return s}static#e=this.\u0275fac=function(t){return new(t||$g)};static#t=this.\u0275prov=Ae({token:$g,factory:$g.\u0275fac})}class nne{}function YY(){}function p4(n,e){return e(n)}function ine(n,e){return(t,s)=>e.intercept(t,{handle:r=>n(r,s)})}const f4=new Re(""),wM=new Re(""),m4=new Re(""),g4=new Re("",{providedIn:"root",factory:()=>!0});function one(){let n=null;return(e,t)=>{null===n&&(n=(me(f4,{optional:!0})??[]).reduceRight(ine,p4));const s=me(oo);if(me(g4)){const o=s.add();return n(e,t).pipe(vM(()=>s.remove(o)))}return n(e,t)}}class cb extends FI{constructor(e,t){super(),this.backend=e,this.injector=t,this.chain=null,this.pendingTasks=me(oo),this.contributeToStability=me(g4)}handle(e){if(null===this.chain){const t=Array.from(new Set([...this.injector.get(wM),...this.injector.get(m4,[])]));this.chain=t.reduceRight((s,r)=>function rne(n,e,t){return(s,r)=>eo(t,()=>e(s,o=>n(o,r)))}(s,r,this.injector),p4)}if(this.contributeToStability){const t=this.pendingTasks.add();return this.chain(e,s=>this.backend.handle(s)).pipe(vM(()=>this.pendingTasks.remove(t)))}return this.chain(e,t=>this.backend.handle(t))}static#e=this.\u0275fac=function(t){return new(t||cb)(we(YI),we(Ot))};static#t=this.\u0275prov=Ae({token:cb,factory:cb.\u0275fac})}let _4,lne=0;class y4{}function pne(){return"object"==typeof window?window:{}}class ub{constructor(e,t){this.callbackMap=e,this.document=t,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+lne++}handle(e){if("JSONP"!==e.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==e.responseType)throw new Error("JSONP requests must use Json response type.");if(e.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new Lt(t=>{const s=this.nextCallback(),r=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${s}$1`),o=this.document.createElement("script");o.src=r;let c=null,d=!1;this.callbackMap[s]=S=>{delete this.callbackMap[s],c=S,d=!0};const h=()=>{o.removeEventListener("load",m),o.removeEventListener("error",g),o.remove(),delete this.callbackMap[s]},m=S=>{this.resolvedPromise.then(()=>{h(),d?(t.next(new yf({body:c,status:200,statusText:"OK",url:r})),t.complete()):t.error(new vf({url:r,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})},g=S=>{h(),t.error(new vf({error:S,status:0,statusText:"JSONP Error",url:r}))};return o.addEventListener("load",m),o.addEventListener("error",g),this.document.body.appendChild(o),t.next({type:Mu.Sent}),()=>{d||this.removeListeners(o),h()}})}removeListeners(e){_4??=this.document.implementation.createHTMLDocument(),_4.adoptNode(e)}static#e=this.\u0275fac=function(t){return new(t||ub)(we(y4),we(Pn))};static#t=this.\u0275prov=Ae({token:ub,factory:ub.\u0275fac})}function v4(n,e){return"JSONP"===n.method?me(ub).handle(n):e(n)}class VI{constructor(e){this.injector=e}intercept(e,t){return eo(this.injector,()=>v4(e,s=>t.handle(s)))}static#e=this.\u0275fac=function(t){return new(t||VI)(we(Ot))};static#t=this.\u0275prov=Ae({token:VI,factory:VI.\u0275fac})}const fne=/^\)\]\}',?\n/;class db{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new le(-2800,!1);const t=this.xhrFactory;return(t.\u0275loadImpl?pr(t.\u0275loadImpl()):ut(null)).pipe(pa(()=>new Lt(r=>{const o=t.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((P,Y)=>o.setRequestHeader(P,Y.join(","))),e.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const P=e.detectContentTypeHeader();null!==P&&o.setRequestHeader("Content-Type",P)}if(e.responseType){const P=e.responseType.toLowerCase();o.responseType="json"!==P?P:"text"}const c=e.serializeBody();let d=null;const h=()=>{if(null!==d)return d;const P=o.statusText||"OK",Y=new Yo(o.getAllResponseHeaders()),z=function mne(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(o)||e.url;return d=new jI({headers:Y,status:o.status,statusText:P,url:z}),d},m=()=>{let{headers:P,status:Y,statusText:z,url:Q}=h(),q=null;204!==Y&&(q=typeof o.response>"u"?o.responseText:o.response),0===Y&&(Y=q?200:0);let oe=Y>=200&&Y<300;if("json"===e.responseType&&"string"==typeof q){const fe=q;q=q.replace(fne,"");try{q=""!==q?JSON.parse(q):null}catch(ye){q=fe,oe&&(oe=!1,q={error:ye,text:q})}}oe?(r.next(new yf({body:q,headers:P,status:Y,statusText:z,url:Q||void 0})),r.complete()):r.error(new vf({error:q,headers:P,status:Y,statusText:z,url:Q||void 0}))},g=P=>{const{url:Y}=h(),z=new vf({error:P,status:o.status||0,statusText:o.statusText||"Unknown Error",url:Y||void 0});r.error(z)};let S=!1;const T=P=>{S||(r.next(h()),S=!0);let Y={type:Mu.DownloadProgress,loaded:P.loaded};P.lengthComputable&&(Y.total=P.total),"text"===e.responseType&&o.responseText&&(Y.partialText=o.responseText),r.next(Y)},I=P=>{let Y={type:Mu.UploadProgress,loaded:P.loaded};P.lengthComputable&&(Y.total=P.total),r.next(Y)};return o.addEventListener("load",m),o.addEventListener("error",g),o.addEventListener("timeout",g),o.addEventListener("abort",g),e.reportProgress&&(o.addEventListener("progress",T),null!==c&&o.upload&&o.upload.addEventListener("progress",I)),o.send(c),r.next({type:Mu.Sent}),()=>{o.removeEventListener("error",g),o.removeEventListener("abort",g),o.removeEventListener("load",m),o.removeEventListener("timeout",g),e.reportProgress&&(o.removeEventListener("progress",T),null!==c&&o.upload&&o.upload.removeEventListener("progress",I)),o.readyState!==o.DONE&&o.abort()}})))}static#e=this.\u0275fac=function(t){return new(t||db)(we(u3))};static#t=this.\u0275prov=Ae({token:db,factory:db.\u0275fac})}const HI=new Re(""),b4="XSRF-TOKEN",w4=new Re("",{providedIn:"root",factory:()=>b4}),S4="X-XSRF-TOKEN",D4=new Re("",{providedIn:"root",factory:()=>S4});class BY{}class hb{constructor(e,t,s){this.doc=e,this.platform=t,this.cookieName=s,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=i3(e,this.cookieName),this.lastCookieString=e),this.lastToken}static#e=this.\u0275fac=function(t){return new(t||hb)(we(Pn),we(zr),we(w4))};static#t=this.\u0275prov=Ae({token:hb,factory:hb.\u0275fac})}function C4(n,e){const t=n.url.toLowerCase();if(!me(HI)||"GET"===n.method||"HEAD"===n.method||t.startsWith("http://")||t.startsWith("https://"))return e(n);const s=me(BY).getToken(),r=me(D4);return null!=s&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,s)})),e(n)}class pb{constructor(e){this.injector=e}intercept(e,t){return eo(this.injector,()=>C4(e,s=>t.handle(s)))}static#e=this.\u0275fac=function(t){return new(t||pb)(we(Ot))};static#t=this.\u0275prov=Ae({token:pb,factory:pb.\u0275fac})}var sh;function zg(n,e){return{\u0275kind:n,\u0275providers:e}}function M4(...n){const e=[_c,db,cb,{provide:FI,useExisting:cb},{provide:YI,useFactory:()=>me($g,{optional:!0})??me(db)},{provide:wM,useValue:C4,multi:!0},{provide:HI,useValue:!0},{provide:BY,useClass:hb}];for(const t of n)e.push(...t.\u0275providers);return lr(e)}!function(n){n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch"}(sh||(sh={}));const E4=new Re("");function x4(){return zg(sh.LegacyInterceptors,[{provide:E4,useFactory:one},{provide:wM,useExisting:E4,multi:!0}])}function k4({cookieName:n,headerName:e}){const t=[];return void 0!==n&&t.push({provide:w4,useValue:n}),void 0!==e&&t.push({provide:D4,useValue:e}),zg(sh.CustomXsrfConfiguration,t)}function _ne(){return zg(sh.JsonpSupport,[ub,{provide:y4,useFactory:pne},{provide:wM,useValue:v4,multi:!0}])}class SM{static disable(){return{ngModule:SM,providers:[zg(sh.NoXsrfProtection,[{provide:HI,useValue:!1}]).\u0275providers]}}static withOptions(e={}){return{ngModule:SM,providers:k4(e).\u0275providers}}static#e=this.\u0275fac=function(t){return new(t||SM)};static#t=this.\u0275mod=Qn({type:SM});static#n=this.\u0275inj=es({providers:[pb,{provide:f4,useExisting:pb,multi:!0},{provide:BY,useClass:hb},k4({cookieName:b4,headerName:S4}).\u0275providers,{provide:HI,useValue:!0}]})}class jY{static#e=this.\u0275fac=function(t){return new(t||jY)};static#t=this.\u0275mod=Qn({type:jY});static#n=this.\u0275inj=es({providers:[M4(x4())]})}class VY{static#e=this.\u0275fac=function(t){return new(t||VY)};static#t=this.\u0275mod=Qn({type:VY});static#n=this.\u0275inj=es({providers:[_ne().\u0275providers]})}new Re(""),new Re("");function HY(n){return!!n&&(n instanceof Lt||"function"==typeof n.lift&&"function"==typeof n.subscribe)}const N4={};function $I(...n){let e=null,t=null;return rb(n[n.length-1])&&(t=n.pop()),"function"==typeof n[n.length-1]&&(e=n.pop()),1===n.length&&Fs(n[0])&&(n=n[0]),RY(n,t).lift(new Ene(e))}class Ene{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new xne(e,this.resultSelector))}}class xne extends ab{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(N4),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 s=0;s{let t;try{t=n()}catch(r){return void e.error(r)}return(t?pr(t):yr()).subscribe(e)})}function bf(n,e){return new Lt(e?t=>e.schedule(Tne,0,{error:n,subscriber:t}):t=>t.error(n))}function Tne({error:n,subscriber:e}){e.error(n)}function UY(){return function(e){return e.lift(new Ine(e))}}class Ine{constructor(e){this.connectable=e}call(e,t){const{connectable:s}=this;s._refCount++;const r=new Ane(e,s),o=t.subscribe(r);return r.closed||(r.connection=s.connect()),o}}class Ane extends tn{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:s}=this,r=e._connection;this.connection=null,r&&(!s||r===s)&&r.unsubscribe()}}class WI extends Lt{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 Dt,e.add(this.source.subscribe(new Lne(this.getSubject(),this))),e.closed&&(this._connection=null,e=Dt.EMPTY)),e}refCount(){return UY()(this)}}(()=>{const n=WI.prototype;n._subscribe,n._isComplete,n.getSubject,n.connect,n.refCount})();class Lne extends Zn{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()}}}function mb(...n){const e=n[n.length-1];return rb(e)?(n.pop(),t=>zI(n,t,e)):t=>zI(n,t)}function wf(){}function Us(n,e,t){return function(r){return r.lift(new Rne(n,e,t))}}class Rne{constructor(e,t,s){this.nextOrObserver=e,this.error=t,this.complete=s}call(e,t){return t.subscribe(new One(e,this.nextOrObserver,this.error,this.complete))}}class One extends tn{constructor(e,t,s,r){super(e),this._tapNext=wf,this._tapError=wf,this._tapComplete=wf,this._tapError=s||wf,this._tapComplete=r||wf,Ht(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||wf,this._tapError=t.error||wf,this._tapComplete=t.complete||wf)}_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()}}function qr(n){return function(t){const s=new Nne(n),r=t.lift(s);return s.caught=r}}class Nne{constructor(e){this.selector=e}call(e,t){return t.subscribe(new Fne(e,this.selector,this.caught))}}class Fne extends ab{constructor(e,t,s){super(e),this.selector=t,this.caught=s}error(e){if(!this.isStopped){let t;try{t=this.selector(e,this.caught)}catch(o){return void super.error(o)}this._unsubscribeAndRecycle();const s=new NI(this,void 0,void 0);this.add(s);const r=ob(this,t,void 0,void 0,s);r!==s&&this.add(r)}}}class Bne{constructor(e,t,s=!1){this.accumulator=e,this.seed=t,this.hasSeed=s}call(e,t){return t.subscribe(new jne(e,this.accumulator,this.seed,this.hasSeed))}}class jne extends tn{constructor(e,t,s,r){super(e),this.accumulator=t,this._seed=s,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let s;try{s=this.accumulator(this.seed,e,t)}catch(r){this.destination.error(r)}this.seed=s,this.destination.next(s)}}function $Y(n){return function(t){return 0===n?yr():t.lift(new Vne(n))}}class Vne{constructor(e){if(this.total=e,this.total<0)throw new Qe}call(e,t){return t.subscribe(new Hne(e,this.total))}}class Hne extends tn{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,s=this.total,r=this.count++;if(t.length0){const s=this.count>=this.total?this.total:this.count,r=this.ring;for(let o=0;oe.lift(new qne(n))}class qne{constructor(e){this.notifier=e}call(e,t){const s=new Gne(e),r=ob(s,this.notifier);return r&&!s.seenValue?(s.add(r),t.subscribe(s)):s}}class Gne extends ab{constructor(e){super(e),this.seenValue=!1}notifyNext(e,t,s,r,o){this.seenValue=!0,this.complete()}notifyComplete(){}}const Sn="primary",DM=Symbol("RouteTitle");class Kne{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function gb(n){return new Kne(n)}function Qne(n,e,t){const s=t.path.split("/");if(s.length>n.length||"full"===t.pathMatch&&(e.hasChildren()||s.lengths[o]===r)}return n===e}function B4(n){return n.length>0?n[n.length-1]:null}function Sf(n){return HY(n)?n:AC(n)?pr(Promise.resolve(n)):ut(n)}const Zne={exact:function H4(n,e,t){if(!qg(n.segments,e.segments)||!qI(n.segments,e.segments,t)||n.numberOfChildren!==e.numberOfChildren)return!1;for(const s in e.children)if(!n.children[s]||!H4(n.children[s],e.children[s],t))return!1;return!0},subset:U4},j4={exact:function Jne(n,e){return Eu(n,e)},subset:function ese(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(t=>Y4(n[t],e[t]))},ignored:()=>!0};function V4(n,e,t){return Zne[t.paths](n.root,e.root,t.matrixParams)&&j4[t.queryParams](n.queryParams,e.queryParams)&&!("exact"===t.fragment&&n.fragment!==e.fragment)}function U4(n,e,t){return $4(n,e,e.segments,t)}function $4(n,e,t,s){if(n.segments.length>t.length){const r=n.segments.slice(0,t.length);return!(!qg(r,t)||e.hasChildren()||!qI(r,t,s))}if(n.segments.length===t.length){if(!qg(n.segments,t)||!qI(n.segments,t,s))return!1;for(const r in e.children)if(!n.children[r]||!U4(n.children[r],e.children[r],s))return!1;return!0}{const r=t.slice(0,n.segments.length),o=t.slice(n.segments.length);return!!(qg(n.segments,r)&&qI(n.segments,r,s)&&n.children[Sn])&&$4(n.children[Sn],e,o,s)}}function qI(n,e,t){return e.every((s,r)=>j4[t](n[r].parameters,s.parameters))}class Wg{constructor(e=new Ns([],{}),t={},s=null){this.root=e,this.queryParams=t,this.fragment=s}get queryParamMap(){return this._queryParamMap??=gb(this.queryParams),this._queryParamMap}toString(){return sse.serialize(this)}}class Ns{constructor(e,t){this.segments=e,this.children=t,this.parent=null,Object.values(t).forEach(s=>s.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return KI(this)}}class CM{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap??=gb(this.parameters),this._parameterMap}toString(){return q4(this)}}function qg(n,e){return n.length===e.length&&n.every((t,s)=>t.path===e[s].path)}class ih{static#e=this.\u0275fac=function(t){return new(t||ih)};static#t=this.\u0275prov=Ae({token:ih,factory:()=>new GI,providedIn:"root"})}class GI{parse(e){const t=new fse(e);return new Wg(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){const t=`/${MM(e.root,!0)}`,s=function ose(n){const e=Object.entries(n).map(([t,s])=>Array.isArray(s)?s.map(r=>`${QI(t)}=${QI(r)}`).join("&"):`${QI(t)}=${QI(s)}`).filter(t=>t);return e.length?`?${e.join("&")}`:""}(e.queryParams),r="string"==typeof e.fragment?`#${function ise(n){return encodeURI(n)}(e.fragment)}`:"";return`${t}${s}${r}`}}const sse=new GI;function KI(n){return n.segments.map(e=>q4(e)).join("/")}function MM(n,e){if(!n.hasChildren())return KI(n);if(e){const t=n.children[Sn]?MM(n.children[Sn],!1):"",s=[];return Object.entries(n.children).forEach(([r,o])=>{r!==Sn&&s.push(`${r}:${MM(o,!1)}`)}),s.length>0?`${t}(${s.join("//")})`:t}{const t=function nse(n,e){let t=[];return Object.entries(n.children).forEach(([s,r])=>{s===Sn&&(t=t.concat(e(r,s)))}),Object.entries(n.children).forEach(([s,r])=>{s!==Sn&&(t=t.concat(e(r,s)))}),t}(n,(s,r)=>r===Sn?[MM(n.children[Sn],!1)]:[`${r}:${MM(s,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[Sn]?`${KI(n)}/${t[0]}`:`${KI(n)}/(${t.join("//")})`}}function z4(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function QI(n){return z4(n).replace(/%3B/gi,";")}function WY(n){return z4(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function XI(n){return decodeURIComponent(n)}function W4(n){return XI(n.replace(/\+/g,"%20"))}function q4(n){return`${WY(n.path)}${function rse(n){return Object.entries(n).map(([e,t])=>`;${WY(e)}=${WY(t)}`).join("")}(n.parameters)}`}const ase=/^[^\/()?;#]+/;function qY(n){const e=n.match(ase);return e?e[0]:""}const lse=/^[^\/()?;=#]+/;const use=/^[^=?&#]+/;const hse=/^[^&#]+/;class fse{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ns([],{}):new Ns([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let s={};return this.peekStartsWith("(")&&(s=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(s[Sn]=new Ns(e,t)),s}parseSegment(){const e=qY(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new le(4009,!1);return this.capture(e),new CM(XI(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=function cse(n){const e=n.match(lse);return e?e[0]:""}(this.remaining);if(!t)return;this.capture(t);let s="";if(this.consumeOptional("=")){const r=qY(this.remaining);r&&(s=r,this.capture(s))}e[XI(t)]=XI(s)}parseQueryParam(e){const t=function dse(n){const e=n.match(use);return e?e[0]:""}(this.remaining);if(!t)return;this.capture(t);let s="";if(this.consumeOptional("=")){const c=function pse(n){const e=n.match(hse);return e?e[0]:""}(this.remaining);c&&(s=c,this.capture(s))}const r=W4(t),o=W4(s);if(e.hasOwnProperty(r)){let c=e[r];Array.isArray(c)||(c=[c],e[r]=c),c.push(o)}else e[r]=o}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const s=qY(this.remaining),r=this.remaining[s.length];if("/"!==r&&")"!==r&&";"!==r)throw new le(4010,!1);let o;s.indexOf(":")>-1?(o=s.slice(0,s.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=Sn);const c=this.parseChildren();t[o]=1===Object.keys(c).length?c[Sn]:new Ns([],c),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new le(4011,!1)}}function G4(n){return n.segments.length>0?new Ns([],{[Sn]:n}):n}function K4(n){const e={};for(const[s,r]of Object.entries(n.children)){const o=K4(r);if(s===Sn&&0===o.segments.length&&o.hasChildren())for(const[c,d]of Object.entries(o.children))e[c]=d;else(o.segments.length>0||o.hasChildren())&&(e[s]=o)}return function mse(n){if(1===n.numberOfChildren&&n.children[Sn]){const e=n.children[Sn];return new Ns(n.segments.concat(e.segments),e.children)}return n}(new Ns(n.segments,e))}function Gg(n){return n instanceof Wg}function Q4(n){let e;const s=function t(o){const c={};for(const h of o.children){const m=t(h);c[h.outlet]=m}const d=new Ns(o.url,c);return o===n&&(e=d),d}(n.root),r=G4(s);return e??r}function X4(n,e,t,s){let r=n;for(;r.parent;)r=r.parent;if(0===e.length)return GY(r,r,r,t,s);const o=function _se(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new J4(!0,0,n);let e=0,t=!1;const s=n.reduce((r,o,c)=>{if("object"==typeof o&&null!=o){if(o.outlets){const d={};return Object.entries(o.outlets).forEach(([h,m])=>{d[h]="string"==typeof m?m.split("/"):m}),[...r,{outlets:d}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===c?(o.split("/").forEach((d,h)=>{0==h&&"."===d||(0==h&&""===d?t=!0:".."===d?e++:""!=d&&r.push(d))}),r):[...r,o]},[]);return new J4(t,e,s)}(e);if(o.toRoot())return GY(r,r,new Ns([],{}),t,s);const c=function yse(n,e,t){if(n.isAbsolute)return new JI(e,!0,0);if(!t)return new JI(e,!1,NaN);if(null===t.parent)return new JI(t,!0,0);const s=ZI(n.commands[0])?0:1,r=t.segments.length-1+s;return function vse(n,e,t){let s=n,r=e,o=t;for(;o>r;){if(o-=r,s=s.parent,!s)throw new le(4005,!1);r=s.segments.length}return new JI(s,!1,r-o)}(t,r,n.numberOfDoubleDots)}(o,r,n),d=c.processChildren?xM(c.segmentGroup,c.index,o.commands):e$(c.segmentGroup,c.index,o.commands);return GY(r,c.segmentGroup,d,t,s)}function ZI(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function EM(n){return"object"==typeof n&&null!=n&&n.outlets}function GY(n,e,t,s,r){let c,o={};s&&Object.entries(s).forEach(([h,m])=>{o[h]=Array.isArray(m)?m.map(g=>`${g}`):`${m}`}),c=n===e?t:Z4(n,e,t);const d=G4(K4(c));return new Wg(d,o,r)}function Z4(n,e,t){const s={};return Object.entries(n.children).forEach(([r,o])=>{s[r]=o===e?t:Z4(o,e,t)}),new Ns(n.segments,s)}class J4{constructor(e,t,s){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=s,e&&s.length>0&&ZI(s[0]))throw new le(4003,!1);const r=s.find(EM);if(r&&r!==B4(s))throw new le(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class JI{constructor(e,t,s){this.segmentGroup=e,this.processChildren=t,this.index=s}}function e$(n,e,t){if(n??=new Ns([],{}),0===n.segments.length&&n.hasChildren())return xM(n,e,t);const s=function wse(n,e,t){let s=0,r=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=t.length)return o;const c=n.segments[r],d=t[s];if(EM(d))break;const h=`${d}`,m=s0&&void 0===h)break;if(h&&m&&"object"==typeof m&&void 0===m.outlets){if(!n$(h,m,c))return o;s+=2}else{if(!n$(h,{},c))return o;s++}r++}return{match:!0,pathIndex:r,commandIndex:s}}(n,e,t),r=t.slice(s.commandIndex);if(s.match&&s.pathIndexo!==Sn)&&n.children[Sn]&&1===n.numberOfChildren&&0===n.children[Sn].segments.length){const o=xM(n.children[Sn],e,t);return new Ns(n.segments,o.children)}return Object.entries(s).forEach(([o,c])=>{"string"==typeof c&&(c=[c]),null!==c&&(r[o]=e$(n.children[o],e,c))}),Object.entries(n.children).forEach(([o,c])=>{void 0===s[o]&&(r[o]=c)}),new Ns(n.segments,r)}}function KY(n,e,t){const s=n.segments.slice(0,e);let r=0;for(;r{"string"==typeof s&&(s=[s]),null!==s&&(e[t]=KY(new Ns([],{}),0,s))}),e}function t$(n){const e={};return Object.entries(n).forEach(([t,s])=>e[t]=`${s}`),e}function n$(n,e,t){return n==t.path&&Eu(e,t.parameters)}const kM="imperative";var Vn,fa,TM;!function(n){n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped"}(Vn||(Vn={}));class xu{constructor(e,t){this.id=e,this.url=t}}class eA extends xu{constructor(e,t,s="imperative",r=null){super(e,t),this.type=Vn.NavigationStart,this.navigationTrigger=s,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class po extends xu{constructor(e,t,s){super(e,t),this.urlAfterRedirects=s,this.type=Vn.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}!function(n){n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected"}(fa||(fa={})),function(n){n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy"}(TM||(TM={}));class Kg extends xu{constructor(e,t,s,r){super(e,t),this.reason=s,this.code=r,this.type=Vn.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class _b extends xu{constructor(e,t,s,r){super(e,t),this.reason=s,this.code=r,this.type=Vn.NavigationSkipped}}class QY extends xu{constructor(e,t,s,r){super(e,t),this.error=s,this.target=r,this.type=Vn.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class s$ extends xu{constructor(e,t,s,r){super(e,t),this.urlAfterRedirects=s,this.state=r,this.type=Vn.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Dse extends xu{constructor(e,t,s,r){super(e,t),this.urlAfterRedirects=s,this.state=r,this.type=Vn.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Cse extends xu{constructor(e,t,s,r,o){super(e,t),this.urlAfterRedirects=s,this.state=r,this.shouldActivate=o,this.type=Vn.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Mse extends xu{constructor(e,t,s,r){super(e,t),this.urlAfterRedirects=s,this.state=r,this.type=Vn.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ese extends xu{constructor(e,t,s,r){super(e,t),this.urlAfterRedirects=s,this.state=r,this.type=Vn.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xse{constructor(e){this.route=e,this.type=Vn.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class kse{constructor(e){this.route=e,this.type=Vn.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Tse{constructor(e){this.snapshot=e,this.type=Vn.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ise{constructor(e){this.snapshot=e,this.type=Vn.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ase{constructor(e){this.snapshot=e,this.type=Vn.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Lse{constructor(e){this.snapshot=e,this.type=Vn.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class i${constructor(e,t,s){this.routerEvent=e,this.position=t,this.anchor=s,this.type=Vn.Scroll}toString(){const e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}}class XY{}class tA{constructor(e,t){this.url=e,this.navigationBehaviorOptions=t}}function yc(n){return n.outlet||Sn}function IM(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){const t=e.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class Yse{get injector(){return IM(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new rh(this.rootInjector),this.attachRef=null}}class rh{constructor(e){this.rootInjector=e,this.contexts=new Map}onChildOutletCreated(e,t){const s=this.getOrCreateContext(e);s.outlet=t,this.contexts.set(e,s)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null,t.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new Yse(this.rootInjector),this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}static#e=this.\u0275fac=function(t){return new(t||rh)(we(Ot))};static#t=this.\u0275prov=Ae({token:rh,factory:rh.\u0275fac,providedIn:"root"})}class r${constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=ZY(e,this._root);return t?t.children.map(s=>s.value):[]}firstChild(e){const t=ZY(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=JY(e,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return JY(e,this._root).map(t=>t.value)}}function ZY(n,e){if(n===e.value)return e;for(const t of e.children){const s=ZY(n,t);if(s)return s}return null}function JY(n,e){if(n===e.value)return[e];for(const t of e.children){const s=JY(n,t);if(s.length)return s.unshift(e),s}return[]}class vc{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function yb(n){const e={};return n&&n.children.forEach(t=>e[t.value.outlet]=t),e}class o$ extends r${constructor(e,t){super(e),this.snapshot=t,eB(this,e)}toString(){return this.snapshot.toString()}}function a$(n){const e=function Bse(n){const e={},t={},s={},r="",o=new sA([],e,s,r,t,Sn,n,null,{});return new l$("",new vc(o,[]))}(n),t=new Ys([new CM("",{})]),s=new Ys({}),r=new Ys({}),o=new Ys({}),c=new Ys(""),d=new fr(t,s,o,c,r,Sn,n,e.root);return d.snapshot=e.root,new o$(new vc(d,[]),e)}class fr{constructor(e,t,s,r,o,c,d,h){this.urlSubject=e,this.paramsSubject=t,this.queryParamsSubject=s,this.fragmentSubject=r,this.dataSubject=o,this.outlet=c,this.component=d,this._futureSnapshot=h,this.title=this.dataSubject?.pipe(zt(m=>m[DM]))??ut(void 0),this.url=e,this.params=t,this.queryParams=s,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(zt(e=>gb(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(zt(e=>gb(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function nA(n,e,t="emptyOnly"){let s;const{routeConfig:r}=n;return s=null===e||"always"!==t&&""!==r?.path&&(e.component||e.routeConfig?.loadComponent)?{params:{...n.params},data:{...n.data},resolve:{...n.data,...n._resolvedData??{}}}:{params:{...e.params,...n.params},data:{...e.data,...n.data},resolve:{...n.data,...e.data,...r?.data,...n._resolvedData}},r&&u$(r)&&(s.resolve[DM]=r.title),s}class sA{get title(){return this.data?.[DM]}constructor(e,t,s,r,o,c,d,h,m){this.url=e,this.params=t,this.queryParams=s,this.fragment=r,this.data=o,this.outlet=c,this.component=d,this.routeConfig=h,this._resolve=m}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=gb(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=gb(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(s=>s.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class l$ extends r${constructor(e,t){super(t),this.url=e,eB(this,t)}toString(){return c$(this._root)}}function eB(n,e){e.value._routerState=n,e.children.forEach(t=>eB(n,t))}function c$(n){const e=n.children.length>0?` { ${n.children.map(c$).join(", ")} } `:"";return`${n.value}${e}`}function tB(n){if(n.snapshot){const e=n.snapshot,t=n._futureSnapshot;n.snapshot=t,Eu(e.queryParams,t.queryParams)||n.queryParamsSubject.next(t.queryParams),e.fragment!==t.fragment&&n.fragmentSubject.next(t.fragment),Eu(e.params,t.params)||n.paramsSubject.next(t.params),function Xne(n,e){if(n.length!==e.length)return!1;for(let t=0;tEu(t.parameters,e[s].parameters))}(n.url,e.url),s=!n.parent!=!e.parent;return t&&!s&&(!n.parent||nB(n.parent,e.parent))}function u$(n){return"string"==typeof n.title||null===n.title}class Qg{constructor(){this.activated=null,this._activatedRoute=null,this.name=Sn,this.activateEvents=new Le,this.deactivateEvents=new Le,this.attachEvents=new Le,this.detachEvents=new Le,this.parentContexts=me(rh),this.location=me(xr),this.changeDetector=me(gl),this.inputBinder=me(iA,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){const{firstChange:t,previousValue:s}=e.name;if(t)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new le(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new le(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new le(4012,!1);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new le(4013,!1);this._activatedRoute=e;const s=this.location,o=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,d=new sB(e,c,s.injector);this.activated=s.createComponent(o,{index:s.length,injector:d,environmentInjector:t}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(t){return new(t||Qg)};static#t=this.\u0275dir=Ze({type:Qg,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[vs]})}class sB{__ngOutletInjector(e){return new sB(this.route,this.childContexts,e)}constructor(e,t,s){this.route=e,this.childContexts=t,this.parent=s}get(e,t){return e===fr?this.route:e===rh?this.childContexts:this.parent.get(e,t)}}const iA=new Re("");class vb{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){const{activatedRoute:t}=e,s=$I([t.queryParams,t.params,t.data]).pipe(pa(([r,o,c],d)=>(c={...r,...o,...c},0===d?ut(c):Promise.resolve(c)))).subscribe(r=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==t||null===t.component)return void this.unsubscribeFromRouteData(e);const o=function nQ(n){const e=rn(n);if(!e)return null;const t=new Qm(e);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}(t.component);if(o)for(const{templateName:c}of o.inputs)e.activatedComponentRef.setInput(c,r[c]);else this.unsubscribeFromRouteData(e)});this.outletDataSubscriptions.set(e,s)}static#e=this.\u0275fac=function(t){return new(t||vb)};static#t=this.\u0275prov=Ae({token:vb,factory:vb.\u0275fac})}function AM(n,e,t){if(t&&n.shouldReuseRoute(e.value,t.value.snapshot)){const s=t.value;s._futureSnapshot=e.value;const r=function Vse(n,e,t){return e.children.map(s=>{for(const r of t.children)if(n.shouldReuseRoute(s.value,r.value.snapshot))return AM(n,s,r);return AM(n,s)})}(n,e,t);return new vc(s,r)}{if(n.shouldAttach(e.value)){const o=n.retrieve(e.value);if(null!==o){const c=o.route;return c.value._futureSnapshot=e.value,c.children=e.children.map(d=>AM(n,d)),c}}const s=function Hse(n){return new fr(new Ys(n.url),new Ys(n.params),new Ys(n.queryParams),new Ys(n.fragment),new Ys(n.data),n.outlet,n.component,n)}(e.value),r=e.children.map(o=>AM(n,o));return new vc(s,r)}}class iB{constructor(e,t){this.redirectTo=e,this.navigationBehaviorOptions=t}}const d$="ngNavigationCancelingError";function rA(n,e){const{redirectTo:t,navigationBehaviorOptions:s}=Gg(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=h$(!1,fa.Redirect);return r.url=t,r.navigationBehaviorOptions=s,r}function h$(n,e){const t=new Error(`NavigationCancelingError: ${n||""}`);return t[d$]=!0,t.cancellationCode=e,t}function p$(n){return!!n&&n[d$]}class zse{constructor(e,t,s,r,o){this.routeReuseStrategy=e,this.futureState=t,this.currState=s,this.forwardEvent=r,this.inputBindingEnabled=o}activate(e){const t=this.futureState._root,s=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,s,e),tB(this.futureState.root),this.activateChildRoutes(t,s,e)}deactivateChildRoutes(e,t,s){const r=yb(t);e.children.forEach(o=>{const c=o.value.outlet;this.deactivateRoutes(o,r[c],s),delete r[c]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,s)})}deactivateRoutes(e,t,s){const r=e.value,o=t?t.value:null;if(r===o)if(r.component){const c=s.getContext(r.outlet);c&&this.deactivateChildRoutes(e,t,c.children)}else this.deactivateChildRoutes(e,t,s);else o&&this.deactivateRouteAndItsChildren(t,s)}deactivateRouteAndItsChildren(e,t){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const s=t.getContext(e.value.outlet),r=s&&e.value.component?s.children:t,o=yb(e);for(const c of Object.values(o))this.deactivateRouteAndItsChildren(c,r);if(s&&s.outlet){const c=s.outlet.detach(),d=s.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:c,route:e,contexts:d})}}deactivateRouteAndOutlet(e,t){const s=t.getContext(e.value.outlet),r=s&&e.value.component?s.children:t,o=yb(e);for(const c of Object.values(o))this.deactivateRouteAndItsChildren(c,r);s&&(s.outlet&&(s.outlet.deactivate(),s.children.onOutletDeactivated()),s.attachRef=null,s.route=null)}activateChildRoutes(e,t,s){const r=yb(t);e.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],s),this.forwardEvent(new Lse(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Ise(e.value.snapshot))}activateRoutes(e,t,s){const r=e.value,o=t?t.value:null;if(tB(r),r===o)if(r.component){const c=s.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,c.children)}else this.activateChildRoutes(e,t,s);else if(r.component){const c=s.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const d=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),c.children.onOutletReAttached(d.contexts),c.attachRef=d.componentRef,c.route=d.route.value,c.outlet&&c.outlet.attach(d.componentRef,d.route.value),tB(d.route.value),this.activateChildRoutes(e,null,c.children)}else c.attachRef=null,c.route=r,c.outlet&&c.outlet.activateWith(r,c.injector),this.activateChildRoutes(e,null,c.children)}else this.activateChildRoutes(e,null,s)}}class f${constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class oA{constructor(e,t){this.component=e,this.route=t}}function Wse(n,e,t){const s=n._root;return LM(s,e?e._root:null,t,[s.value])}function bb(n,e){const t=Symbol(),s=e.get(n,t);return s===t?"function"!=typeof n||function wE(n){return null!==Rf(n)}(n)?e.get(n):n:s}function LM(n,e,t,s,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=yb(e);return n.children.forEach(c=>{(function Gse(n,e,t,s,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=n.value,c=e?e.value:null,d=t?t.getContext(n.value.outlet):null;if(c&&o.routeConfig===c.routeConfig){const h=function Kse(n,e,t){if("function"==typeof t)return t(n,e);switch(t){case"pathParamsChange":return!qg(n.url,e.url);case"pathParamsOrQueryParamsChange":return!qg(n.url,e.url)||!Eu(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nB(n,e)||!Eu(n.queryParams,e.queryParams);default:return!nB(n,e)}}(c,o,o.routeConfig.runGuardsAndResolvers);h?r.canActivateChecks.push(new f$(s)):(o.data=c.data,o._resolvedData=c._resolvedData),o.component?LM(n,e,d?d.children:null,s,r):LM(n,e,t,s,r),h&&d&&d.outlet&&d.outlet.isActivated&&r.canDeactivateChecks.push(new oA(d.outlet.component,c))}else c&&PM(e,d,r),r.canActivateChecks.push(new f$(s)),o.component?LM(n,null,d?d.children:null,s,r):LM(n,null,t,s,r);return r})(c,o[c.value.outlet],t,s.concat([c.value]),r),delete o[c.value.outlet]}),Object.entries(o).forEach(([c,d])=>PM(d,t.getContext(c),r)),r}function PM(n,e,t){const s=yb(n),r=n.value;Object.entries(s).forEach(([o,c])=>{r.component?PM(c,e?e.children.getContext(o):null,t):PM(c,e,t)}),r.component&&e&&e.outlet&&e.outlet.isActivated?t.canDeactivateChecks.push(new oA(e.outlet.component,r)):t.canDeactivateChecks.push(new oA(null,r))}function RM(n){return"function"==typeof n}function m$(n){return n instanceof Tl||"EmptyError"===n?.name}const aA=Symbol("INITIAL_VALUE");function wb(){return pa(n=>$I(n.map(e=>e.pipe(Ii(1),mb(aA)))).pipe(zt(e=>{for(const t of e)if(!0!==t){if(t===aA)return aA;if(!1===t||nie(t))return t}return!0}),fs(e=>e!==aA),Ii(1)))}function nie(n){return Gg(n)||n instanceof iB}function sie(n,e){return Fo(t=>{const{targetSnapshot:s,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:c}}=t;return 0===c.length&&0===o.length?ut({...t,guardsResult:!0}):function iie(n,e,t,s){return pr(n).pipe(Fo(r=>function uie(n,e,t,s,r){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return ut(!0);const c=o.map(d=>{const h=IM(e)??r,m=bb(d,h);return Sf(function eie(n){return n&&RM(n.canDeactivate)}(m)?m.canDeactivate(n,e,t,s):eo(h,()=>m(n,e,t,s))).pipe(ms())});return ut(c).pipe(wb())}(r.component,r.route,t,e,s)),ms(r=>!0!==r,!0))}(c,s,r,n).pipe(Fo(d=>d&&function Qse(n){return"boolean"==typeof n}(d)?function rie(n,e,t,s){return pr(e).pipe(lb(r=>zI(function aie(n,e){return null!==n&&e&&e(new Tse(n)),ut(!0)}(r.route.parent,s),function oie(n,e){return null!==n&&e&&e(new Ase(n)),ut(!0)}(r.route,s),function cie(n,e,t){const s=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(c=>function qse(n){const e=n.routeConfig?n.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:n,guards:e}:null}(c)).filter(c=>null!==c).map(c=>F4(()=>ut(c.guards.map(h=>{const m=IM(c.node)??t,g=bb(h,m);return Sf(function Jse(n){return n&&RM(n.canActivateChild)}(g)?g.canActivateChild(s,n):eo(m,()=>g(s,n))).pipe(ms())})).pipe(wb())));return ut(o).pipe(wb())}(n,r.path,t),function lie(n,e,t){const s=e.routeConfig?e.routeConfig.canActivate:null;if(!s||0===s.length)return ut(!0);const r=s.map(o=>F4(()=>{const c=IM(e)??t,d=bb(o,c);return Sf(function Zse(n){return n&&RM(n.canActivate)}(d)?d.canActivate(e,n):eo(c,()=>d(e,n))).pipe(ms())}));return ut(r).pipe(wb())}(n,r.route,t))),ms(r=>!0!==r,!0))}(s,o,n,e):ut(d)),zt(d=>({...t,guardsResult:d})))})}function die(n,e,t,s){const r=e.canLoad;if(void 0===r||0===r.length)return ut(!0);return ut(r.map(c=>{const d=bb(c,n);return Sf(function Xse(n){return n&&RM(n.canLoad)}(d)?d.canLoad(e,t):eo(n,()=>d(e,t)))})).pipe(wb(),g$(s))}function g$(n){return function Or(...n){return vi(n)}(Us(e=>{if("boolean"!=typeof e)throw rA(0,e)}),zt(e=>!0===e))}function hie(n,e,t,s){const r=e.canMatch;if(!r||0===r.length)return ut(!0);return ut(r.map(c=>{const d=bb(c,n);return Sf(function tie(n){return n&&RM(n.canMatch)}(d)?d.canMatch(e,t):eo(n,()=>d(e,t)))})).pipe(wb(),g$())}class rB{constructor(e){this.segmentGroup=e||null}}class lA extends Error{constructor(e){super(),this.urlTree=e}}function Sb(n){return bf(new rB(n))}class mie{constructor(e,t){this.urlSerializer=e,this.urlTree=t}lineralizeSegments(e,t){let s=[],r=t.root;for(;;){if(s=s.concat(r.segments),0===r.numberOfChildren)return ut(s);if(r.numberOfChildren>1||!r.children[Sn])return e.redirectTo,bf(new le(4e3,!1));r=r.children[Sn]}}applyRedirectCommands(e,t,s,r,o){if("string"!=typeof t){const d=t,{queryParams:h,fragment:m,routeConfig:g,url:S,outlet:T,params:I,data:P,title:Y}=r,z=eo(o,()=>d({params:I,data:P,queryParams:h,fragment:m,routeConfig:g,url:S,outlet:T,title:Y}));if(z instanceof Wg)throw new lA(z);t=z}const c=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),e,s);if("/"===t[0])throw new lA(c);return c}applyRedirectCreateUrlTree(e,t,s,r){const o=this.createSegmentGroup(e,t.root,s,r);return new Wg(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const s={};return Object.entries(e).forEach(([r,o])=>{if("string"==typeof o&&":"===o[0]){const d=o.substring(1);s[r]=t[d]}else s[r]=o}),s}createSegmentGroup(e,t,s,r){const o=this.createSegments(e,t.segments,s,r);let c={};return Object.entries(t.children).forEach(([d,h])=>{c[d]=this.createSegmentGroup(e,h,s,r)}),new Ns(o,c)}createSegments(e,t,s,r){return t.map(o=>":"===o.path[0]?this.findPosParam(e,o,r):this.findOrReturn(o,s))}findPosParam(e,t,s){const r=s[t.path.substring(1)];if(!r)throw new le(4001,!1);return r}findOrReturn(e,t){let s=0;for(const r of t){if(r.path===e.path)return t.splice(s),r;s++}return e}}const oB={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function gie(n,e,t,s,r){const o=_$(n,e,t);return o.matched?(s=function Pse(n,e){return n.providers&&!n._injector&&(n._injector=eg(n.providers,e,`Route: ${n.path}`)),n._injector??e}(e,s),hie(s,e,t).pipe(zt(c=>!0===c?o:{...oB}))):ut(o)}function _$(n,e,t){if("**"===e.path)return function _ie(n){return{matched:!0,parameters:n.length>0?B4(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}(t);if(""===e.path)return"full"===e.pathMatch&&(n.hasChildren()||t.length>0)?{...oB}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const r=(e.matcher||Qne)(t,n,e);if(!r)return{...oB};const o={};Object.entries(r.posParams??{}).forEach(([d,h])=>{o[d]=h.path});const c=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:t.slice(r.consumed.length),parameters:c,positionalParamSegments:r.posParams??{}}}function y$(n,e,t,s){return t.length>0&&function bie(n,e,t){return t.some(s=>cA(n,e,s)&&yc(s)!==Sn)}(n,t,s)?{segmentGroup:new Ns(e,vie(s,new Ns(t,n.children))),slicedSegments:[]}:0===t.length&&function wie(n,e,t){return t.some(s=>cA(n,e,s))}(n,t,s)?{segmentGroup:new Ns(n.segments,yie(n,t,s,n.children)),slicedSegments:t}:{segmentGroup:new Ns(n.segments,n.children),slicedSegments:t}}function yie(n,e,t,s){const r={};for(const o of t)if(cA(n,e,o)&&!s[yc(o)]){const c=new Ns([],{});r[yc(o)]=c}return{...s,...r}}function vie(n,e){const t={};t[Sn]=e;for(const s of n)if(""===s.path&&yc(s)!==Sn){const r=new Ns([],{});t[yc(s)]=r}return t}function cA(n,e,t){return(!(n.hasChildren()||e.length>0)||"full"!==t.pathMatch)&&""===t.path}class Die{}class Eie{constructor(e,t,s,r,o,c,d){this.injector=e,this.configLoader=t,this.rootComponentType=s,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=c,this.urlSerializer=d,this.applyRedirects=new mie(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new le(4002,`'${e.segmentGroup}'`)}recognize(){const e=y$(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(zt(({children:t,rootSnapshot:s})=>{const r=new vc(s,t),o=new l$("",r),c=function gse(n,e,t=null,s=null){return X4(Q4(n),e,t,s)}(s,[],this.urlTree.queryParams,this.urlTree.fragment);return c.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(c),{state:o,tree:c}}))}match(e){const t=new sA([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Sn,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,Sn,t).pipe(zt(s=>({children:s,rootSnapshot:t})),qr(s=>{if(s instanceof lA)return this.urlTree=s.urlTree,this.match(s.urlTree.root);throw s instanceof rB?this.noMatchError(s):s}))}processSegmentGroup(e,t,s,r,o){return 0===s.segments.length&&s.hasChildren()?this.processChildren(e,t,s,o):this.processSegment(e,t,s,s.segments,r,!0,o).pipe(zt(c=>c instanceof vc?[c]:[]))}processChildren(e,t,s,r){const o=[];for(const c of Object.keys(s.children))"primary"===c?o.unshift(c):o.push(c);return pr(o).pipe(lb(c=>{const d=s.children[c],h=function Fse(n,e){const t=n.filter(s=>yc(s)===e);return t.push(...n.filter(s=>yc(s)!==e)),t}(t,c);return this.processSegmentGroup(e,h,d,c,r)}),function Yne(n,e){let t=!1;return arguments.length>=2&&(t=!0),function(r){return r.lift(new Bne(n,e,t))}}((c,d)=>(c.push(...d),c)),Kr(null),function Une(n,e){const t=arguments.length>=2;return s=>s.pipe(n?fs((r,o)=>n(r,o,s)):Pt,$Y(1),t?Kr(e):Ds(()=>new Tl))}(),Fo(c=>{if(null===c)return Sb(s);const d=v$(c);return function xie(n){n.sort((e,t)=>e.value.outlet===Sn?-1:t.value.outlet===Sn?1:e.value.outlet.localeCompare(t.value.outlet))}(d),ut(d)}))}processSegment(e,t,s,r,o,c,d){return pr(t).pipe(lb(h=>this.processSegmentAgainstRoute(h._injector??e,t,h,s,r,o,c,d).pipe(qr(m=>{if(m instanceof rB)return ut(null);throw m}))),ms(h=>!!h),qr(h=>{if(m$(h))return function Sie(n,e,t){return 0===e.length&&!n.children[t]}(s,r,o)?ut(new Die):Sb(s);throw h}))}processSegmentAgainstRoute(e,t,s,r,o,c,d,h){return yc(s)===c||c!==Sn&&cA(r,o,s)?void 0===s.redirectTo?this.matchSegmentAgainstRoute(e,r,s,o,c,h):this.allowRedirects&&d?this.expandSegmentAgainstRouteUsingRedirect(e,r,t,s,o,c,h):Sb(r):Sb(r)}expandSegmentAgainstRouteUsingRedirect(e,t,s,r,o,c,d){const{matched:h,parameters:m,consumedSegments:g,positionalParamSegments:S,remainingSegments:T}=_$(t,r,o);if(!h)return Sb(t);"string"==typeof r.redirectTo&&"/"===r.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const I=new sA(o,m,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,b$(r),yc(r),r.component??r._loadedComponent??null,r,w$(r)),P=nA(I,d,this.paramsInheritanceStrategy);I.params=Object.freeze(P.params),I.data=Object.freeze(P.data);const Y=this.applyRedirects.applyRedirectCommands(g,r.redirectTo,S,I,e);return this.applyRedirects.lineralizeSegments(r,Y).pipe(Fo(z=>this.processSegment(e,s,t,z.concat(T),c,!1,d)))}matchSegmentAgainstRoute(e,t,s,r,o,c){const d=gie(t,s,r,e,this.urlSerializer);return"**"===s.path&&(t.children={}),d.pipe(pa(h=>h.matched?(e=s._injector??e,this.getChildConfig(e,s,r).pipe(pa(({routes:m})=>{const g=s._loadedInjector??e,{parameters:S,consumedSegments:T,remainingSegments:I}=h,P=new sA(T,S,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,b$(s),yc(s),s.component??s._loadedComponent??null,s,w$(s)),Y=nA(P,c,this.paramsInheritanceStrategy);P.params=Object.freeze(Y.params),P.data=Object.freeze(Y.data);const{segmentGroup:z,slicedSegments:Q}=y$(t,T,I,m);if(0===Q.length&&z.hasChildren())return this.processChildren(g,m,z,P).pipe(zt(oe=>new vc(P,oe)));if(0===m.length&&0===Q.length)return ut(new vc(P,[]));const q=yc(s)===o;return this.processSegment(g,m,z,Q,q?Sn:o,!0,P).pipe(zt(oe=>new vc(P,oe instanceof vc?[oe]:[])))}))):Sb(t)))}getChildConfig(e,t,s){return t.children?ut({routes:t.children,injector:e}):t.loadChildren?void 0!==t._loadedRoutes?ut({routes:t._loadedRoutes,injector:t._loadedInjector}):die(e,t,s,this.urlSerializer).pipe(Fo(r=>r?this.configLoader.loadChildren(e,t).pipe(Us(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function fie(n){return bf(h$(!1,fa.GuardRejected))}())):ut({routes:[],injector:e})}}function kie(n){const e=n.value.routeConfig;return e&&""===e.path}function v$(n){const e=[],t=new Set;for(const s of n){if(!kie(s)){e.push(s);continue}const r=e.find(o=>s.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...s.children),t.add(r)):e.push(s)}for(const s of t){const r=v$(s.children);e.push(new vc(s.value,r))}return e.filter(s=>!t.has(s))}function b$(n){return n.data||{}}function w$(n){return n.resolve||{}}function Tie(n,e,t,s,r,o){return Fo(c=>function Cie(n,e,t,s,r,o,c="emptyOnly"){return new Eie(n,e,t,s,r,c,o).recognize()}(n,e,t,s,c.extractedUrl,r,o).pipe(zt(({state:d,tree:h})=>({...c,targetSnapshot:d,urlAfterRedirects:h}))))}function Iie(n,e){return Fo(t=>{const{targetSnapshot:s,guards:{canActivateChecks:r}}=t;if(!r.length)return ut(t);const o=new Set(r.map(h=>h.route)),c=new Set;for(const h of o)if(!c.has(h))for(const m of S$(h))c.add(m);let d=0;return pr(c).pipe(lb(h=>o.has(h)?function Aie(n,e,t,s){const r=n.routeConfig,o=n._resolve;return void 0!==r?.title&&!u$(r)&&(o[DM]=r.title),function Lie(n,e,t,s){const r=zY(n);if(0===r.length)return ut({});const o={};return pr(r).pipe(Fo(c=>function Pie(n,e,t,s){const r=IM(e)??s,o=bb(n,r),c=o.resolve?o.resolve(e,t):eo(r,()=>o(e,t));return Sf(c)}(n[c],e,t,s).pipe(ms(),Us(d=>{if(d instanceof iB)throw rA(new GI,d);o[c]=d}))),$Y(1),function $ne(n){return e=>e.lift(new zne(n))}(o),qr(c=>m$(c)?ja:bf(c)))}(o,n,e,s).pipe(zt(c=>(n._resolvedData=c,n.data=nA(n,n.parent,t).resolve,null)))}(h,s,n,e):(h.data=nA(h,h.parent,n).resolve,ut(void 0))),Us(()=>d++),$Y(1),Fo(h=>d===c.size?ut(t):ja))})}function S$(n){const e=n.children.map(t=>S$(t)).flat();return[n,...e]}function aB(n){return pa(e=>{const t=n(e);return t?pr(t).pipe(zt(()=>e)):ut(e)})}class OM{buildTitle(e){let t,s=e.root;for(;void 0!==s;)t=this.getResolvedTitleForRoute(s)??t,s=s.children.find(r=>r.outlet===Sn);return t}getResolvedTitleForRoute(e){return e.data[DM]}static#e=this.\u0275fac=function(t){return new(t||OM)};static#t=this.\u0275prov=Ae({token:OM,factory:()=>me(NM),providedIn:"root"})}class NM extends OM{constructor(e){super(),this.title=e}updateTitle(e){const t=this.buildTitle(e);void 0!==t&&this.title.setTitle(t)}static#e=this.\u0275fac=function(t){return new(t||NM)(we(QC))};static#t=this.\u0275prov=Ae({token:NM,factory:NM.\u0275fac,providedIn:"root"})}const Db=new Re("",{providedIn:"root",factory:()=>({})});class Xg{static#e=this.\u0275fac=function(t){return new(t||Xg)};static#t=this.\u0275cmp=Vl({type:Xg,selectors:[["ng-component"]],standalone:!0,features:[b1],decls:1,vars:0,template:function(t,s){1&t&&wC(0,"router-outlet")},dependencies:[Qg],encapsulation:2})}function lB(n){const e=n.children&&n.children.map(lB),t=e?{...n,children:e}:{...n};return!t.component&&!t.loadComponent&&(e||t.loadChildren)&&t.outlet&&t.outlet!==Sn&&(t.component=Xg),t}const Cb=new Re("");class Zg{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=me(Vd)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return ut(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const t=Sf(e.loadComponent()).pipe(zt(D$),Us(r=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=r}),vM(()=>{this.componentLoaders.delete(e)})),s=new WI(t,()=>new ht).pipe(UY());return this.componentLoaders.set(e,s),s}loadChildren(e,t){if(this.childrenLoaders.get(t))return this.childrenLoaders.get(t);if(t._loadedRoutes)return ut({routes:t._loadedRoutes,injector:t._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(t);const r=function Rie(n,e,t,s){return Sf(n.loadChildren()).pipe(zt(D$),Fo(r=>r instanceof tC||Array.isArray(r)?ut(r):pr(e.compileModuleAsync(r))),zt(r=>{s&&s(n);let o,c,d=!1;return Array.isArray(r)?(c=r,d=!0):(o=r.create(t).injector,c=o.get(Cb,[],{optional:!0,self:!0}).flat()),{routes:c.map(lB),injector:o}}))}(t,this.compiler,e,this.onLoadEndListener).pipe(vM(()=>{this.childrenLoaders.delete(t)})),o=new WI(r,()=>new ht).pipe(UY());return this.childrenLoaders.set(t,o),o}static#e=this.\u0275fac=function(t){return new(t||Zg)};static#t=this.\u0275prov=Ae({token:Zg,factory:Zg.\u0275fac,providedIn:"root"})}function D$(n){return function Oie(n){return n&&"object"==typeof n&&"default"in n}(n)?n.default:n}class Mb{static#e=this.\u0275fac=function(t){return new(t||Mb)};static#t=this.\u0275prov=Ae({token:Mb,factory:()=>me(FM),providedIn:"root"})}class FM{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}static#e=this.\u0275fac=function(t){return new(t||FM)};static#t=this.\u0275prov=Ae({token:FM,factory:FM.\u0275fac,providedIn:"root"})}const C$=new Re(""),M$=new Re("");function Nie(n,e,t){const s=n.get(M$),r=n.get(Pn);return n.get(_t).runOutsideAngular(()=>{if(!r.startViewTransition||s.skipNextTransition)return s.skipNextTransition=!1,new Promise(m=>setTimeout(m));let o;const c=new Promise(m=>{o=m}),d=r.startViewTransition(()=>(o(),function Fie(n){return new Promise(e=>{og({read:()=>setTimeout(e)},{injector:n})})}(n))),{onViewTransitionCreated:h}=s;return h&&eo(n,()=>h({transition:d,from:e,to:t})),c})}const E$=new Re("");class Df{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ht,this.transitionAbortSubject=new ht,this.configLoader=me(Zg),this.environmentInjector=me(Ot),this.urlSerializer=me(ih),this.rootContexts=me(rh),this.location=me(zd),this.inputBindingEnabled=null!==me(iA,{optional:!0}),this.titleStrategy=me(OM),this.options=me(Db,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=me(Mb),this.createViewTransition=me(C$,{optional:!0}),this.navigationErrorHandler=me(E$,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>ut(void 0),this.rootComponentType=null;this.configLoader.onLoadEndListener=s=>this.events.next(new kse(s)),this.configLoader.onLoadStartListener=s=>this.events.next(new xse(s))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const t=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:t})}setupNavigations(e,t,s){return this.transitions=new Ys({id:0,currentUrlTree:t,currentRawUrl:t,extractedUrl:this.urlHandlingStrategy.extract(t),urlAfterRedirects:this.urlHandlingStrategy.extract(t),rawUrl:t,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:kM,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(fs(r=>0!==r.id),zt(r=>({...r,extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),pa(r=>{let o=!1,c=!1;return ut(r).pipe(pa(d=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",fa.SupersededByNewNavigation),ja;this.currentTransition=r,this.currentNavigation={id:d.id,initialUrl:d.rawUrl,extractedUrl:d.extractedUrl,targetBrowserUrl:"string"==typeof d.extras.browserUrl?this.urlSerializer.parse(d.extras.browserUrl):d.extras.browserUrl,trigger:d.source,extras:d.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const h=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),m=d.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!h&&"reload"!==m){const g="";return this.events.next(new _b(d.id,this.urlSerializer.serialize(d.rawUrl),g,TM.IgnoredSameUrlNavigation)),d.resolve(!1),ja}if(this.urlHandlingStrategy.shouldProcessUrl(d.rawUrl))return ut(d).pipe(pa(g=>{const S=this.transitions?.getValue();return this.events.next(new eA(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),S!==this.transitions?.getValue()?ja:Promise.resolve(g)}),Tie(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),Us(g=>{r.targetSnapshot=g.targetSnapshot,r.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:g.urlAfterRedirects};const S=new s$(g.id,this.urlSerializer.serialize(g.extractedUrl),this.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot);this.events.next(S)}));if(h&&this.urlHandlingStrategy.shouldProcessUrl(d.currentRawUrl)){const{id:g,extractedUrl:S,source:T,restoredState:I,extras:P}=d,Y=new eA(g,this.urlSerializer.serialize(S),T,I);this.events.next(Y);const z=a$(this.rootComponentType).snapshot;return this.currentTransition=r={...d,targetSnapshot:z,urlAfterRedirects:S,extras:{...P,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=S,ut(r)}{const g="";return this.events.next(new _b(d.id,this.urlSerializer.serialize(d.extractedUrl),g,TM.IgnoredByUrlHandlingStrategy)),d.resolve(!1),ja}}),Us(d=>{const h=new Dse(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}),zt(d=>(this.currentTransition=r={...d,guards:Wse(d.targetSnapshot,d.currentSnapshot,this.rootContexts)},r)),sie(this.environmentInjector,d=>this.events.next(d)),Us(d=>{if(r.guardsResult=d.guardsResult,d.guardsResult&&"boolean"!=typeof d.guardsResult)throw rA(this.urlSerializer,d.guardsResult);const h=new Cse(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);this.events.next(h)}),fs(d=>!!d.guardsResult||(this.cancelNavigationTransition(d,"",fa.GuardRejected),!1)),aB(d=>{if(d.guards.canActivateChecks.length)return ut(d).pipe(Us(h=>{const m=new Mse(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}),pa(h=>{let m=!1;return ut(h).pipe(Iie(this.paramsInheritanceStrategy,this.environmentInjector),Us({next:()=>m=!0,complete:()=>{m||this.cancelNavigationTransition(h,"",fa.NoDataFromResolver)}}))}),Us(h=>{const m=new Ese(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}))}),aB(d=>{const h=m=>{const g=[];m.routeConfig?.loadComponent&&!m.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(m.routeConfig).pipe(Us(S=>{m.component=S}),zt(()=>{})));for(const S of m.children)g.push(...h(S));return g};return $I(h(d.targetSnapshot.root)).pipe(Kr(null),Ii(1))}),aB(()=>this.afterPreactivation()),pa(()=>{const{currentSnapshot:d,targetSnapshot:h}=r,m=this.createViewTransition?.(this.environmentInjector,d.root,h.root);return m?pr(m).pipe(zt(()=>r)):ut(r)}),zt(d=>{const h=function jse(n,e,t){const s=AM(n,e._root,t?t._root:void 0);return new o$(s,e)}(e.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return this.currentTransition=r={...d,targetRouterState:h},this.currentNavigation.targetRouterState=h,r}),Us(()=>{this.events.next(new XY)}),((n,e,t,s)=>zt(r=>(new zse(e,r.targetRouterState,r.currentRouterState,t,s).activate(n),r)))(this.rootContexts,e.routeReuseStrategy,d=>this.events.next(d),this.inputBindingEnabled),Ii(1),Us({next:d=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new po(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects))),this.titleStrategy?.updateTitle(d.targetRouterState.snapshot),d.resolve(!0)},complete:()=>{o=!0}}),bl(this.transitionAbortSubject.pipe(Us(d=>{throw d}))),vM(()=>{!o&&!c&&this.cancelNavigationTransition(r,"",fa.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation=null,this.currentTransition=null)}),qr(d=>{if(c=!0,p$(d))this.events.next(new Kg(r.id,this.urlSerializer.serialize(r.extractedUrl),d.message,d.cancellationCode)),function Use(n){return p$(n)&&Gg(n.url)}(d)?this.events.next(new tA(d.url,d.navigationBehaviorOptions)):r.resolve(!1);else{const h=new QY(r.id,this.urlSerializer.serialize(r.extractedUrl),d,r.targetSnapshot??void 0);try{const m=eo(this.environmentInjector,()=>this.navigationErrorHandler?.(h));if(m instanceof iB){const{message:g,cancellationCode:S}=rA(this.urlSerializer,m);this.events.next(new Kg(r.id,this.urlSerializer.serialize(r.extractedUrl),g,S)),this.events.next(new tA(m.redirectTo,m.navigationBehaviorOptions))}else{this.events.next(h);const g=e.errorHandler(d);r.resolve(!!g)}}catch(m){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(m)}}return ja}))}))}cancelNavigationTransition(e,t,s){const r=new Kg(e.id,this.urlSerializer.serialize(e.extractedUrl),t,s);this.events.next(r),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),t=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==t?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static#e=this.\u0275fac=function(t){return new(t||Df)};static#t=this.\u0275prov=Ae({token:Df,factory:Df.\u0275fac,providedIn:"root"})}function Yie(n){return n!==kM}class uA{static#e=this.\u0275fac=function(t){return new(t||uA)};static#t=this.\u0275prov=Ae({token:uA,factory:()=>me(Eb),providedIn:"root"})}class Bie{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}class Eb extends Bie{static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(Eb)))(s||Eb)}})();static#t=this.\u0275prov=Ae({token:Eb,factory:Eb.\u0275fac,providedIn:"root"})}class YM{static#e=this.\u0275fac=function(t){return new(t||YM)};static#t=this.\u0275prov=Ae({token:YM,factory:()=>me(xb),providedIn:"root"})}class xb extends YM{constructor(){super(...arguments),this.location=me(zd),this.urlSerializer=me(ih),this.options=me(Db,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=me(Mb),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Wg,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=a$(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(t=>{"popstate"===t.type&&e(t.url,t.state)})}handleRouterEvent(e,t){if(e instanceof eA)this.stateMemento=this.createStateMemento();else if(e instanceof _b)this.rawUrlTree=t.initialUrl;else if(e instanceof s$){if("eager"===this.urlUpdateStrategy&&!t.extras.skipLocationChange){const s=this.urlHandlingStrategy.merge(t.finalUrl,t.initialUrl);this.setBrowserUrl(t.targetBrowserUrl??s,t)}}else e instanceof XY?(this.currentUrlTree=t.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(t.finalUrl,t.initialUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&!t.extras.skipLocationChange&&this.setBrowserUrl(t.targetBrowserUrl??this.rawUrlTree,t)):e instanceof Kg&&(e.code===fa.GuardRejected||e.code===fa.NoDataFromResolver)?this.restoreHistory(t):e instanceof QY?this.restoreHistory(t,!0):e instanceof po&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,t){const s=e instanceof Wg?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(s)||t.extras.replaceUrl){const r=this.browserPageId,o={...t.extras.state,...this.generateNgRouterState(t.id,r)};this.location.replaceState(s,"",o)}else{const r={...t.extras.state,...this.generateNgRouterState(t.id,this.browserPageId+1)};this.location.go(s,"",r)}}restoreHistory(e,t=!1){if("computed"===this.canceledNavigationResolution){const s=this.browserPageId,r=this.currentPageId-s;0!==r?this.location.historyGo(r):this.currentUrlTree===e.finalUrl&&0===r&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(xb)))(s||xb)}})();static#t=this.\u0275prov=Ae({token:xb,factory:xb.\u0275fac,providedIn:"root"})}var kb;function x$(n,e){n.events.pipe(fs(t=>t instanceof po||t instanceof Kg||t instanceof QY||t instanceof _b),zt(t=>t instanceof po||t instanceof _b?kb.COMPLETE:t instanceof Kg&&(t.code===fa.Redirect||t.code===fa.SupersededByNewNavigation)?kb.REDIRECTING:kb.FAILED),fs(t=>t!==kb.REDIRECTING),Ii(1)).subscribe(()=>{e()})}function jie(n){throw n}!function(n){n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING"}(kb||(kb={}));const Vie={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Hie={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};class dn{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=me(Up),this.stateManager=me(YM),this.options=me(Db,{optional:!0})||{},this.pendingTasks=me(oo),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=me(Df),this.urlSerializer=me(ih),this.location=me(zd),this.urlHandlingStrategy=me(Mb),this._events=new ht,this.errorHandler=this.options.errorHandler||jie,this.navigated=!1,this.routeReuseStrategy=me(uA),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=me(Cb,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!me(iA,{optional:!0}),this.eventsSubscription=new Dt,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const e=this.navigationTransitions.events.subscribe(t=>{try{const s=this.navigationTransitions.currentTransition,r=this.navigationTransitions.currentNavigation;if(null!==s&&null!==r)if(this.stateManager.handleRouterEvent(t,r),t instanceof Kg&&t.code!==fa.Redirect&&t.code!==fa.SupersededByNewNavigation)this.navigated=!0;else if(t instanceof po)this.navigated=!0;else if(t instanceof tA){const o=t.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(t.url,s.currentRawUrl),d={browserUrl:s.extras.browserUrl,info:s.extras.info,skipLocationChange:s.extras.skipLocationChange,replaceUrl:s.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Yie(s.source),...o};this.scheduleNavigation(c,kM,null,d,{resolve:s.resolve,reject:s.reject,promise:s.promise})}(function $ie(n){return!(n instanceof XY||n instanceof tA)})(t)&&this._events.next(t)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),kM,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,t)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",t)},0)})}navigateToSyncWithBrowser(e,t,s){const r={replaceUrl:!0},o=s?.navigationId?s:null;if(s){const d={...s};delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(r.state=d)}const c=this.parseUrl(e);this.scheduleNavigation(c,t,o,r)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(lB),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,t={}){const{relativeTo:s,queryParams:r,fragment:o,queryParamsHandling:c,preserveFragment:d}=t,h=d?this.currentUrlTree.fragment:o;let g,m=null;switch(c??this.options.defaultQueryParamsHandling){case"merge":m={...this.currentUrlTree.queryParams,...r};break;case"preserve":m=this.currentUrlTree.queryParams;break;default:m=r||null}null!==m&&(m=this.removeEmptyProps(m));try{g=Q4(s?s.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||"/"!==e[0][0])&&(e=[]),g=this.currentUrlTree.root}return X4(g,e,m,h??null)}navigateByUrl(e,t={skipLocationChange:!1}){const s=Gg(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(r,kM,null,t)}navigate(e,t={skipLocationChange:!1}){return function Uie(n){for(let e=0;e(null!=r&&(t[s]=r),t),{})}scheduleNavigation(e,t,s,r,o){if(this.disposed)return Promise.resolve(!1);let c,d,h;o?(c=o.resolve,d=o.reject,h=o.promise):h=new Promise((g,S)=>{c=g,d=S});const m=this.pendingTasks.add();return x$(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(m))}),this.navigationTransitions.handleNavigationRequest({source:t,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:r,resolve:c,reject:d,promise:h,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),h.catch(g=>Promise.reject(g))}static#e=this.\u0275fac=function(t){return new(t||dn)};static#t=this.\u0275prov=Ae({token:dn,factory:dn.\u0275fac,providedIn:"root"})}class ku{constructor(e,t,s,r,o,c){this.router=e,this.route=t,this.tabIndexAttribute=s,this.renderer=r,this.el=o,this.locationStrategy=c,this.href=null,this.onChanges=new ht,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;const d=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===d||"area"===d,this.isAnchorElement?this.subscription=e.events.subscribe(h=>{h instanceof po&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){null==e?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Gg(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,t,s,r,o){const c=this.urlTree;if(null===c||this.isAnchorElement&&(0!==e||t||s||r||o||"string"==typeof this.target&&"_self"!=this.target))return!0;const d={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,d),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const e=this.urlTree;this.href=null!==e&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;const t=null===this.href?null:Hx(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(e,t){const s=this.renderer,r=this.el.nativeElement;null!==t?s.setAttribute(r,e,t):s.removeAttribute(r,e)}get urlTree(){return null===this.routerLinkInput?null:Gg(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(t){return new(t||ku)(ce(dn),ce(fr),ro("tabindex"),ce(Ui),ce(pn),ce(bu))};static#t=this.\u0275dir=Ze({type:ku,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(t,s){1&t&&Ra("click",function(o){return s.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&t&&ca("target",s.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",$i],skipLocationChange:[2,"skipLocationChange","skipLocationChange",$i],replaceUrl:[2,"replaceUrl","replaceUrl",$i],routerLink:"routerLink"},standalone:!0,features:[Pa,vs]})}class Tb{get isActive(){return this._isActive}constructor(e,t,s,r,o){this.router=e,this.element=t,this.renderer=s,this.cdr=r,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Le,this.routerEventsSubscription=e.events.subscribe(c=>{c instanceof po&&this.update()})}ngAfterContentInit(){ut(this.links.changes,ut(null)).pipe(fb()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const e=[...this.links.toArray(),this.link].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=pr(e).pipe(fb()).subscribe(t=>{this._isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(s=>!!s)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const e=this.hasActiveLinks();this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}),e&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){const t=function zie(n){return!!n.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return s=>{const r=s.urlTree;return!!r&&e.isActive(r,t)}}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static#e=this.\u0275fac=function(t){return new(t||Tb)(ce(dn),ce(pn),ce(Ui),ce(gl),ce(ku,8))};static#t=this.\u0275dir=Ze({type:Tb,selectors:[["","routerLinkActive",""]],contentQueries:function(t,s,r){if(1&t&&ZH(r,ku,5),2&t){let o;_1(o=y1())&&(s.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[vs]})}class k${}class dA{preload(e,t){return t().pipe(qr(()=>ut(null)))}static#e=this.\u0275fac=function(t){return new(t||dA)};static#t=this.\u0275prov=Ae({token:dA,factory:dA.\u0275fac,providedIn:"root"})}class hA{preload(e,t){return ut(null)}static#e=this.\u0275fac=function(t){return new(t||hA)};static#t=this.\u0275prov=Ae({token:hA,factory:hA.\u0275fac,providedIn:"root"})}class BM{constructor(e,t,s,r,o){this.router=e,this.injector=s,this.preloadingStrategy=r,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(fs(e=>e instanceof po),lb(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const s=[];for(const r of t){r.providers&&!r._injector&&(r._injector=eg(r.providers,e,`Route: ${r.path}`));const o=r._injector??e,c=r._loadedInjector??o;(r.loadChildren&&!r._loadedRoutes&&void 0===r.canLoad||r.loadComponent&&!r._loadedComponent)&&s.push(this.preloadConfig(o,r)),(r.children||r._loadedRoutes)&&s.push(this.processRoutes(c,r.children??r._loadedRoutes))}return pr(s).pipe(fb())}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>{let s;s=t.loadChildren&&void 0===t.canLoad?this.loader.loadChildren(e,t):ut(null);const r=s.pipe(Fo(o=>null===o?ut(void 0):(t._loadedRoutes=o.routes,t._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));if(t.loadComponent&&!t._loadedComponent){return pr([r,this.loader.loadComponent(t)]).pipe(fb())}return r})}static#e=this.\u0275fac=function(t){return new(t||BM)(we(dn),we(Vd),we(Ot),we(k$),we(Zg))};static#t=this.\u0275prov=Ae({token:BM,factory:BM.\u0275fac,providedIn:"root"})}const cB=new Re("");class jM{constructor(e,t,s,r,o={}){this.urlSerializer=e,this.transitions=t,this.viewportScroller=s,this.zone=r,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration||="disabled",o.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof eA?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof po?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof _b&&e.code===TM.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof i$&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new i$(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(t){uk()};static#t=this.\u0275prov=Ae({token:jM,factory:jM.\u0275fac})}function T$(n){return n.routerState.root}function Tu(n,e){return{\u0275kind:n,\u0275providers:e}}new Re("",{providedIn:"root",factory:()=>!1});function I$(){const n=me(as);return e=>{const t=n.get(Oo);if(e!==t.components[0])return;const s=n.get(dn),r=n.get(A$);1===n.get(uB)&&s.initialNavigation(),n.get(L$,null,ln.Optional)?.setUpPreloading(),n.get(cB,null,ln.Optional)?.init(),s.resetRootComponentType(t.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const A$=new Re("",{factory:()=>new ht}),uB=new Re("",{providedIn:"root",factory:()=>1});const L$=new Re("");function Kie(n){return Tu(0,[{provide:L$,useExisting:BM},{provide:k$,useExisting:n}])}function Xie(n){return Tu(9,[{provide:C$,useValue:Nie},{provide:M$,useValue:{skipNextTransition:!!n?.skipInitialTransition,...n}}])}const P$=new Re("ROUTER_FORROOT_GUARD"),Zie=[zd,{provide:ih,useClass:GI},dn,rh,{provide:fr,useFactory:T$,deps:[dn]},Zg,[]];class xi{constructor(e){}static forRoot(e,t){return{ngModule:xi,providers:[Zie,[],{provide:Cb,multi:!0,useValue:e},{provide:P$,useFactory:nre,deps:[[dn,new Si,new Wo]]},{provide:Db,useValue:t||{}},t?.useHash?{provide:bu,useClass:VC}:{provide:bu,useClass:xv},{provide:cB,useFactory:()=>{const n=me(CF),e=me(_t),t=me(Db),s=me(Df),r=me(ih);return t.scrollOffset&&n.setOffset(t.scrollOffset),new jM(r,s,n,e,t)}},t?.preloadingStrategy?Kie(t.preloadingStrategy).\u0275providers:[],t?.initialNavigation?sre(t):[],t?.bindToComponentInputs?Tu(8,[vb,{provide:iA,useExisting:vb}]).\u0275providers:[],t?.enableViewTransitions?Xie().\u0275providers:[],[{provide:R$,useFactory:I$},{provide:E1,multi:!0,useExisting:R$}]]}}static forChild(e){return{ngModule:xi,providers:[{provide:Cb,multi:!0,useValue:e}]}}static#e=this.\u0275fac=function(t){return new(t||xi)(we(P$,8))};static#t=this.\u0275mod=Qn({type:xi,imports:[Qg,ku,Tb,Xg],exports:[Qg,ku,Tb,Xg]});static#n=this.\u0275inj=es({})}function nre(n){return"guarded"}function sre(n){return["disabled"===n.initialNavigation?Tu(3,[{provide:QN,multi:!0,useFactory:()=>{const e=me(dn);return()=>{e.setUpLocationChangeListener()}}},{provide:uB,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?Tu(2,[{provide:uB,useValue:0},{provide:QN,multi:!0,deps:[as],useFactory:e=>{const t=e.get(rQ,Promise.resolve());return()=>t.then(()=>new Promise(s=>{const r=e.get(dn),o=e.get(A$);x$(r,()=>{s(!0)}),e.get(Df).afterPreactivation=()=>(s(!0),o.closed?ut(void 0):o),r.initialNavigation()}))}}]).\u0275providers:[]]}const R$=new Re("");function bc(n){return n.map(e=>(...t)=>me(e).canActivate(...t))}new Dv("18.2.13");var dB=x(8314);const rre=["qrcElement"];class VM{constructor(e,t){this.renderer=e,this.sanitizer=t,this.allowEmptyString=!1,this.colorDark="#000000ff",this.colorLight="#ffffffff",this.cssClass="qrcode",this.elementType="canvas",this.errorCorrectionLevel="M",this.margin=4,this.qrdata="",this.scale=4,this.width=10,this.qrCodeURL=new Le,this.context=null}ngOnChanges(){var e=this;return BC(function*(){yield e.createQRCode()})()}isValidQrCodeText(e){return!1===this.allowEmptyString?!(typeof e>"u"||""===e||"null"===e||null===e):!(typeof e>"u")}toDataURL(e){return new Promise((t,s)=>{(0,dB.dY)(this.qrdata,e,(r,o)=>{r?s(r):t(o)})})}toCanvas(e,t){return new Promise((s,r)=>{(0,dB.mo)(e,this.qrdata,t,o=>{o?r(o):s("success")})})}toSVG(e){return new Promise((t,s)=>{(0,dB.toString)(this.qrdata,e,(r,o)=>{r?s(r):t(o)})})}renderElement(e){for(const t of this.qrcElement.nativeElement.childNodes)this.renderer.removeChild(this.qrcElement.nativeElement,t);this.renderer.appendChild(this.qrcElement.nativeElement,e)}createQRCode(){var e=this;return BC(function*(){e.version&&e.version>40?(console.warn("[angularx-qrcode] max value for `version` is 40"),e.version=40):e.version&&e.version<1?(console.warn("[angularx-qrcode]`min value for `version` is 1"),e.version=1):void 0!==e.version&&isNaN(e.version)&&(console.warn("[angularx-qrcode] version should be a number, defaulting to auto."),e.version=void 0);try{if(!e.isValidQrCodeText(e.qrdata))throw new Error("[angularx-qrcode] Field `qrdata` is empty, set 'allowEmptyString=\"true\"' to overwrite this behaviour.");e.isValidQrCodeText(e.qrdata)&&""===e.qrdata&&(e.qrdata=" ");const t={color:{dark:e.colorDark,light:e.colorLight},errorCorrectionLevel:e.errorCorrectionLevel,margin:e.margin,scale:e.scale,version:e.version,width:e.width},s=e.imageSrc,r=e.imageHeight||40,o=e.imageWidth||40;switch(e.elementType){case"canvas":{const c=e.renderer.createElement("canvas");e.context=c.getContext("2d"),e.toCanvas(c,t).then(()=>{if(e.ariaLabel&&e.renderer.setAttribute(c,"aria-label",`${e.ariaLabel}`),e.title&&e.renderer.setAttribute(c,"title",`${e.title}`),s&&e.context){e.centerImage=new Image(o,r),s!==e.centerImage.src&&(e.centerImage.crossOrigin="anonymous",e.centerImage.src=s),r!==e.centerImage.height&&(e.centerImage.height=r),o!==e.centerImage.width&&(e.centerImage.width=o);const d=e.centerImage;d&&(d.onload=()=>{e.context?.drawImage(d,c.width/2-o/2,c.height/2-r/2,o,r)})}e.renderElement(c),e.emitQRCodeURL(c)}).catch(d=>{console.error("[angularx-qrcode] canvas error:",d)});break}case"svg":{const c=e.renderer.createElement("div");e.toSVG(t).then(d=>{e.renderer.setProperty(c,"innerHTML",d);const h=c.firstChild;e.renderer.setAttribute(h,"height",`${e.width}`),e.renderer.setAttribute(h,"width",`${e.width}`),e.renderElement(h),e.emitQRCodeURL(h)}).catch(d=>{console.error("[angularx-qrcode] svg error:",d)});break}default:{const c=e.renderer.createElement("img");e.toDataURL(t).then(d=>{e.alt&&c.setAttribute("alt",e.alt),e.ariaLabel&&c.setAttribute("aria-label",e.ariaLabel),c.setAttribute("src",d),e.title&&c.setAttribute("title",e.title),e.renderElement(c),e.emitQRCodeURL(c)}).catch(d=>{console.error("[angularx-qrcode] img/url error:",d)})}}}catch(t){console.error("[angularx-qrcode] Error generating QR Code:",t.message)}})()}convertBase64ImageUrlToBlob(e){const t=e.split(";base64,"),s=t[0].split(":")[1],r=atob(t[1]),o=new Uint8Array(r.length);for(let c=0;c{t(grecaptcha)};const c=document.createElement("script");c.innerHTML="";const{url:d,nonce:h}=e(new URL(s||"https://www.google.com/recaptcha/api.js"));d.searchParams.set("render","explicit"===n?n:n.key),d.searchParams.set("onload","ng2recaptchaloaded"),d.searchParams.set("trustedtypes","true"),r&&d.searchParams.set("hl",r),c.src=d.href;const m=h||o;m&&c.setAttribute("nonce",m),c.async=!0,c.defer=!0,document.head.appendChild(c)},newLoadScript:function hre({v3SiteKey:n,onBeforeLoad:e,onLoaded:t}){const s=n?{key:n}:"explicit";N$.loadScript(s,e,t)}};class wc{static#e=this.ready=null;constructor(e,t,s,r,o,c){this.platformId=e,this.language=t,this.baseUrl=s,this.nonce=r,this.v3SiteKey=o,this.options=c;const d=this.init();this.ready=d?function pre(n){return n.asObservable().pipe(fs(e=>null!==e))}(d):ut()}init(){if(wc.ready)return wc.ready;if(!J1(this.platformId))return;const e=new Ys(null);return wc.ready=e,N$.newLoadScript({v3SiteKey:this.v3SiteKey,onBeforeLoad:t=>{if(this.options?.onBeforeLoad)return this.options.onBeforeLoad(t);const s=new URL(this.baseUrl??t);return this.language&&s.searchParams.set("hl",this.language),{url:s,nonce:this.nonce}},onLoaded:t=>{let s=t;this.options?.onLoaded&&(s=this.options.onLoaded(t)),e.next(s)}}),e}static#t=this.\u0275fac=function(t){return new(t||wc)(we(zr),we(ore,8),we(are,8),we(lre,8),we(O$,8),we(ure,8))};static#n=this.\u0275prov=Ae({token:wc,factory:wc.\u0275fac})}let fre=0;class Jg{constructor(e,t,s,r){this.elementRef=e,this.loader=t,this.zone=s,this.id="ngrecaptcha-"+fre++,this.errorMode="default",this.resolved=new Le,this.error=new Le,this.errored=new Le,r&&(this.siteKey=r.siteKey,this.theme=r.theme,this.type=r.type,this.size=r.size,this.badge=r.badge)}ngAfterViewInit(){this.subscription=this.loader.ready.subscribe(e=>{null!=e&&e.render instanceof Function&&(this.grecaptcha=e,this.renderRecaptcha())})}ngOnDestroy(){this.grecaptchaReset(),this.subscription&&this.subscription.unsubscribe()}execute(){"invisible"===this.size&&(null!=this.widget?this.grecaptcha.execute(this.widget):this.executeRequested=!0)}reset(){null!=this.widget&&(this.grecaptcha.getResponse(this.widget)&&this.resolved.emit(null),this.grecaptchaReset())}get __unsafe_widgetValue(){return null!=this.widget?this.grecaptcha.getResponse(this.widget):null}expired(){this.resolved.emit(null)}onError(e){this.error.emit(e),this.errored.emit(e)}captchaResponseCallback(e){this.resolved.emit(e)}grecaptchaReset(){null!=this.widget&&this.zone.runOutsideAngular(()=>this.grecaptcha.reset(this.widget))}renderRecaptcha(){const e={badge:this.badge,callback:t=>{this.zone.run(()=>this.captchaResponseCallback(t))},"expired-callback":()=>{this.zone.run(()=>this.expired())},sitekey:this.siteKey,size:this.size,tabindex:this.tabIndex,theme:this.theme,type:this.type};"handled"===this.errorMode&&(e["error-callback"]=(...t)=>{this.zone.run(()=>this.onError(t))}),this.widget=this.grecaptcha.render(this.elementRef.nativeElement,e),!0===this.executeRequested&&(this.executeRequested=!1,this.execute())}static#e=this.\u0275fac=function(t){return new(t||Jg)(ce(pn),ce(wc),ce(_t),ce(cre,8))};static#t=this.\u0275cmp=Vl({type:Jg,selectors:[["re-captcha"]],hostVars:1,hostBindings:function(t,s){2&t&&ca("id",s.id)},inputs:{id:"id",siteKey:"siteKey",theme:"theme",type:"type",size:"size",tabIndex:"tabIndex",badge:"badge",errorMode:"errorMode"},outputs:{resolved:"resolved",error:"error",errored:"errored"},exportAs:["reCaptcha"],decls:0,vars:0,template:function(t,s){},encapsulation:2})}class e_{static#e=this.\u0275fac=function(t){return new(t||e_)};static#t=this.\u0275mod=Qn({type:e_,declarations:[Jg],exports:[Jg]});static#n=this.\u0275inj=es({})}class fA{static#e=this.\u0275fac=function(t){return new(t||fA)};static#t=this.\u0275mod=Qn({type:fA,imports:[e_],exports:[Jg]});static#n=this.\u0275inj=es({providers:[wc],imports:[e_]})}class HM{constructor(e,t,s){this.recaptchaLoader=t,this.zone=e,this.siteKey=s,this.init()}get onExecute(){return this.onExecuteSubject||(this.onExecuteSubject=new ht,this.onExecuteObservable=this.onExecuteSubject.asObservable()),this.onExecuteObservable}get onExecuteError(){return this.onExecuteErrorSubject||(this.onExecuteErrorSubject=new ht,this.onExecuteErrorObservable=this.onExecuteErrorSubject.asObservable()),this.onExecuteErrorObservable}execute(e){const t=new ht;return this.grecaptcha?this.executeActionWithSubject(e,t):(this.actionBacklog||(this.actionBacklog=[]),this.actionBacklog.push([e,t])),t.asObservable()}executeActionWithSubject(e,t){const s=r=>{this.zone.run(()=>{t.error(r),this.onExecuteErrorSubject&&this.onExecuteErrorSubject.next({action:e,error:r})})};this.zone.runOutsideAngular(()=>{try{this.grecaptcha.execute(this.siteKey,{action:e}).then(r=>{this.zone.run(()=>{t.next(r),t.complete(),this.onExecuteSubject&&this.onExecuteSubject.next({action:e,token:r})})},s)}catch(r){s(r)}})}init(){this.recaptchaLoader.ready.subscribe(e=>{this.grecaptcha=e,this.actionBacklog&&this.actionBacklog.length>0&&(this.actionBacklog.forEach(([t,s])=>this.executeActionWithSubject(t,s)),this.actionBacklog=void 0)})}static#e=this.\u0275fac=function(t){return new(t||HM)(we(_t),we(wc),we(O$))};static#t=this.\u0275prov=Ae({token:HM,factory:HM.\u0275fac})}class hB{static#e=this.\u0275fac=function(t){return new(t||hB)};static#t=this.\u0275mod=Qn({type:hB});static#n=this.\u0275inj=es({providers:[HM,wc]})}class Ib{constructor(e){this.host=e,this.requiresControllerReset=!1}writeValue(e){e?this.host.__unsafe_widgetValue!==e&&!this.host.__unsafe_widgetValue&&(this.requiresControllerReset=!0):this.host.reset()}registerOnChange(e){this.onChange=e,this.requiresControllerReset&&(this.requiresControllerReset=!1,this.onChange(null))}registerOnTouched(e){this.onTouched=e}onResolve(e){this.onChange&&this.onChange(e),this.onTouched&&this.onTouched()}static#e=this.\u0275fac=function(t){return new(t||Ib)(ce(Jg))};static#t=this.\u0275dir=Ze({type:Ib,selectors:[["re-captcha","formControlName",""],["re-captcha","formControl",""],["re-captcha","ngModel",""]],hostBindings:function(t,s){1&t&&Ra("resolved",function(o){return s.onResolve(o)})},features:[Yn([{multi:!0,provide:Ar,useExisting:It(()=>Ib)}])]})}class pB{static#e=this.\u0275fac=function(t){return new(t||pB)};static#t=this.\u0275mod=Qn({type:pB,declarations:[Ib],imports:[nh,e_],exports:[Ib]});static#n=this.\u0275inj=es({imports:[nh,e_]})}var gre=x(3533),_re=x.n(gre);let UM=class{constructor(){}ngOnInit(){}static#e=this.ctorParameters=()=>[]};UM=be([Ke({selector:"ue-not-found",template:'
\n
\n
\n\n
\n\t
\n\t\t
\n\t\t\t

Page Not Found

\n\t\t\tThe page you requested was not found. Please check your link and try again.\n\t\t\t
\n\t\t\t
\n\t\t
\t\n\t
\n
\n\n\t\n',styles:[_re()]})],UM);var vre=x(1795),Ab=x.n(vre);let t_=class{constructor(){this.themeId="",this.resellerLogoUrl="",this.privacyPolicyUrl="",this.supportEmail="",this.helpUrl="",this.hidePoweredBy=!1,this.prodUrl="",this.sandboxUrl="",this.resellerSuffix="",typeof themeId<"u"&&(this.themeId=themeId),typeof resellerLogoUrl<"u"&&resellerLogoUrl&&(this.resellerLogoUrl=resellerLogoUrl),typeof privacyPolicyUrl<"u"&&(this.privacyPolicyUrl=privacyPolicyUrl),typeof supportEmail<"u"&&(this.supportEmail=supportEmail),typeof helpUrl<"u"&&helpUrl&&(this.helpUrl=helpUrl),typeof hidePoweredBy<"u"&&(this.hidePoweredBy=this.parseBoolean(hidePoweredBy)),typeof prodUrl<"u"&&(this.prodUrl=prodUrl),typeof sandboxUrl<"u"&&(this.sandboxUrl=sandboxUrl),typeof resellerSuffix<"u"&&(this.resellerSuffix=resellerSuffix)}parseBoolean(e){let t=!1;return!0===e&&(t=!0),"true"===e&&(t=!0),"1"===e&&(t=!0),t}static#e=this.ctorParameters=()=>[]};t_=be([ks()],t_);let n_=class{constructor(){}setHref(e){window.location.href=e}open(e){window.open(e)}createObjectURL(e){return window.URL.createObjectURL(e)}get locationOrigin(){let e="";return e=window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:""),e}static#e=this.ctorParameters=()=>[]};n_=be([ks()],n_);let mA=class{get devSessionExpiration(){return this.localStorageSupported?new Date(window.localStorage.devSessionExpiration):this._devSessionExpiration}set devSessionExpiration(e){this.localStorageSupported?window.localStorage.devSessionExpiration=e:this._devSessionExpiration=e}constructor(){this.localStorageSupported=!0,this.checkLocalStorage()}checkLocalStorage(){try{window.localStorage.test="test"}catch{this.localStorageSupported=!1}}static#e=this.ctorParameters=()=>[]};mA=be([ks()],mA);let oh=class{get devSessionWarning(){return new Date(this.localStorage.devSessionExpiration.getTime()-this.warningTime)}get devSessionExpiration(){return this.localStorage.devSessionExpiration}constructor(e){this.localStorage=e,this.maxTime=this.minutes(10),this.warningTime=this.minutes(.5),this.countdownOpen=!1}resetDevSessionExpiration(){const e=new Date;this.localStorage.devSessionExpiration=new Date(e.getTime()+this.maxTime)}expireDevSession(){const e=new Date;this.localStorage.devSessionExpiration=new Date(e.getTime()-1e4)}startInterval(e){this.interval=setInterval(e,1e3)}stopInterval(){this.expireDevSession(),this.interval&&clearInterval(this.interval)}minutes(e){return 60*e*1e3}static#e=this.ctorParameters=()=>[{type:mA}]};oh=be([ks()],oh);let fo=class{constructor(e,t,s,r){this.http=e,this.ueWindowService=t,this.sessionTimeoutService=s,this.router=r,this.authHeader=new Yo,this.csrf="",typeof csrf<"u"&&csrf&&this.setCsrfToken(csrf)}handleSessionWhenPolling(e){e||this.sessionTimeoutService.resetDevSessionExpiration()}get(e,t=!1){return this.http.get(e,{headers:this.authHeader}).pipe(Us(()=>this.handleSessionWhenPolling(t)),qr(s=>this.handleError(s)))}post(e,t,s=!1){return this.http.post(e,t,{headers:this.authHeader}).pipe(Us(()=>this.handleSessionWhenPolling(s)),qr(r=>this.handleError(r)))}put(e,t,s=!1){return this.http.put(e,t,{headers:this.authHeader}).pipe(Us(()=>this.handleSessionWhenPolling(s)),qr(r=>this.handleError(r)))}patch(e,t,s=!1){return this.http.patch(e,t,{headers:this.authHeader}).pipe(Us(()=>this.handleSessionWhenPolling(s)),qr(r=>this.handleError(r)))}delete(e,t=!1){return this.http.delete(e,{headers:this.authHeader}).pipe(Us(()=>this.handleSessionWhenPolling(t)),qr(s=>this.handleError(s)))}handleError(e){let t;if(403===e.status&&this.http.get("/api/DVPRTLFE/developers/keep_alive",{headers:this.getAuthHeader()}).subscribe(s=>bf(e),s=>(this.router.navigate(["/login"],{queryParams:{accessDenied:!0}}),bf(e))),e.error&&"object"==typeof e.error)t=e.error;else if(e.error&&"string"==typeof e.error)try{t=JSON.parse(e.error)}catch{t={errorcode:e.status,error:e.error}}else if(e._body)try{t=JSON.parse(e._body)}catch{t={errorcode:e.status,error:e.statusText}}else t={errorcode:e.status,error:e.statusText};return bf(t)}logoutUser(){this.ueWindowService.setHref("/_developer/app/login?timeout=1")}setCsrfToken(e){e&&(this.csrf=e,this.authHeader=(new Yo).set("CSRF-Token",this.csrf))}removeCsrfToken(){this.csrf="",this.authHeader=new Yo}getAuthHeader(){return this.authHeader}getCurrentCsrfToken(){return this.csrf}hasCsrfToken(){return!!this.csrf}static#e=this.ctorParameters=()=>[{type:_c},{type:n_},{type:oh},{type:dn}]};fo=be([ks({providedIn:"root"})],fo);var bre=x(9812);let ni=class{constructor(e,t){this.ueHttp=e,this.sessionTimeoutService=t,this.baseUrl="/api/DVPRTLFE",this.url=`${this.baseUrl}/developers`,this.isLoggedIn=!1,this.permissions=[]}login(e){return this.ueHttp.post(this.url+"/login",e).pipe(Us(t=>{this.ueHttp.setCsrfToken(t.csrf)}))}logout(){return this.ueHttp.get(this.url+"/logout").pipe(Us(()=>{this.ueHttp.removeCsrfToken(),this.sessionTimeoutService.stopInterval(),this.isLoggedIn=!1}),qr(()=>{throw this.ueHttp.removeCsrfToken(),this.sessionTimeoutService.stopInterval(),this.isLoggedIn=!1,{error:"Logout error"}}))}register(e){return this.ueHttp.post(this.url+"/register",e).pipe(Us(t=>{this.ueHttp.setCsrfToken(t.csrf)}))}registerCompany(e){return this.ueHttp.post(this.url+"/register-company",e)}forgotPW(e){return this.ueHttp.post(this.url+"/forgot_password",e)}resetPW(e){return this.ueHttp.post(this.url+"/password_reset",e)}getPermissions(){return this.ueHttp.get(this.url+"/user-permissions").pipe(Us(e=>{this.permissions=e}))}checkPermissions(e){const t=this.ueHttp.csrf,s=bre(t+e);return-1!==this.permissions.indexOf(s)}static#e=this.ctorParameters=()=>[{type:fo},{type:oh}]};ni=be([ks()],ni);let gA=class{constructor(e,t,s){this.router=e,this.ueTheme=t,this.authService=s,this.showNavbar=!1}ngOnInit(){this.authService.isInvitation?this.title="Developer Activation":this.router.events.subscribe(e=>{e instanceof po&&this.getTitle(e.url)})}getTitle(e){switch(e.split("?")[0]){case"/login":default:this.title="Developer Log In";break;case"/lostpassword":case"/resetpassword":this.title="Reset Password";break;case"/register":this.title="Register"}}get showHelpLink(){return"disabled"!==this.ueTheme.helpUrl}get helpLink(){return this.ueTheme.helpUrl}get logoUrl(){return this.ueTheme.resellerLogoUrl}static#e=this.ctorParameters=()=>[{type:dn},{type:t_},{type:ni}]};gA=be([Ke({selector:"ue-log-in",template:'\n\n\x3c!-- Mobile Navbar --\x3e\n\n\n
\n\t
\n\t\t \n\t
\n
\n',styles:[Ab()]})],gA);let _A=class{constructor(e,t,s){this.router=e,this.authService=t,this.ueTheme=s,this.navTabs=[],this.alertModalContent={header:"",body:""},this.baseUrl="/api/DVPRTLFE/developers",this.dropdownMenuOptions=[{label:"Edit User Profile",command:()=>this.router.navigate(["/profile/user"])},{label:"Change Password",command:()=>this.router.navigate(["/profile/change-password"])},{label:"divider"},{label:"Sign Out",command:()=>this.logout()}]}ngOnInit(){this.authService.getPermissions().subscribe(e=>{this.buildNavTabs()})}buildNavTabs(){if(this.navTabs=[{label:"Dashboard",icon:"fa fa-fw fa-tachometer",route:["/dashboard"]}],this.authService.checkPermissions("profile_view")){const o={label:"Company Profile",icon:"fa fa-fw fa-user-circle-o",route:["/profile/company"]};this.navTabs.push(o)}if(this.authService.checkPermissions("endpoints_view")){const o={label:"API Endpoints",icon:"fa fa-fw fa-list",route:["/endpoints"]};this.navTabs.push(o)}if(this.authService.checkPermissions("devices_view")){const o={label:"Devices",icon:"fa fa-fw fa-sitemap",route:["/devices"]};this.navTabs.push(o)}if(this.authService.checkPermissions("servers_view")){const o={label:"Device Servers",icon:"fa fa-fw fa-database",route:["/servers"]};this.navTabs.push(o)}const e={label:"Users",icon:"fa fa-fw fa-users",children:[]},t=this.authService.checkPermissions("members_view"),s=this.authService.checkPermissions("invites_view");if(t){const o={route:["/users/members"],label:"Members"};e.children.push(o)}if(s){const o={route:["/users/invites"],label:"Invites"};e.children.push(o)}(t||s)&&this.navTabs.push(e);this.navTabs.push({label:"Request Test Account",icon:"fa fa-fw fa-server",route:["/request-test-account"]})}logout(){this.authService.logout().subscribe(e=>{this.router.navigate(["/login"],{queryParams:{loggedOut:!0}})},e=>{this.openModal("Logout Error!","There was an issue logging you out. Please check to confirm that you are actually logged in. If the issue persists, please contact Customer Support.")})}openModal(e,t){this.alertModalContent.header=e,this.alertModalContent.body=t,this.alertModal.open()}closeModal(){this.alertModalContent.header="",this.alertModalContent.body="",this.alertModal.close()}get supportEmail(){return this.ueTheme.supportEmail}get privacyPolicyUrl(){return this.ueTheme.privacyPolicyUrl}get hidePoweredBy(){return this.ueTheme.hidePoweredBy}static#e=this.ctorParameters=()=>[{type:dn},{type:ni},{type:t_}];static#t=this.propDecorators={alertModal:[{type:qe,args:["alertModal",{static:!0}]}]}};function s_(n,e=0){return function Sre(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):e}function fB(n){return Array.isArray(n)?n:[n]}function Lr(n){return n instanceof pn?n.nativeElement:n}_A=be([Ke({selector:"ue-console",template:'\n\n\n\n
\n\t
\n\t\t\n\t
\n
\n\n\n\n\n\t\n\t\t

{{alertModalContent.header}}

\n\t
\n\t\n\t\t{{alertModalContent.body}}\n\t\n\t\n\t\tClose\n\t\n
\n\n'})],_A);Object.prototype.toString;function yA(n,e,t,s){return Ht(t)&&(s=t,t=void 0),s?yA(n,e,t).pipe(zt(r=>Fs(r)?s(...r):s(r))):new Lt(r=>{F$(n,e,function o(c){arguments.length>1?r.next(Array.prototype.slice.call(arguments)):r.next(c)},r,t)})}function F$(n,e,t,s,r){let o;if(function Mre(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(n)){const c=n;n.addEventListener(e,t,r),o=()=>c.removeEventListener(e,t,r)}else if(function Cre(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(n)){const c=n;n.on(e,t),o=()=>c.off(e,t)}else if(function Dre(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(n)){const c=n;n.addListener(e,t),o=()=>c.removeListener(e,t)}else{if(!n||!n.length)throw new TypeError("Invalid event target");for(let c=0,d=n.length;cDate.now();class Sc extends $M{constructor(e,t=$M.now){super(e,()=>Sc.delegate&&Sc.delegate!==this?Sc.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,s){return Sc.delegate&&Sc.delegate!==this?Sc.delegate.schedule(e,t,s):super.schedule(e,t,s)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let s;this.active=!0;do{if(s=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,s){for(;e=t.shift();)e.unsubscribe();throw s}}}const Y$=new class kre extends Sc{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let s,r=-1,o=t.length;e=e||t.shift();do{if(s=e.execute(e.state,e.delay))break}while(++r0?super.requestAsyncId(e,t,s):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,s=0){if(null!==s&&s>0||null===s&&this.delay>0)return super.recycleAsyncId(e,t,s);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}});let Tre=1;const Ire=Promise.resolve(),bA={};function B$(n){return n in bA&&(delete bA[n],!0)}const j$={setImmediate(n){const e=Tre++;return bA[e]=!0,Ire.then(()=>B$(e)&&n()),e},clearImmediate(n){B$(n)}};const Pre=new class Lre extends Sc{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let s,r=-1,o=t.length;e=e||t.shift();do{if(s=e.execute(e.state,e.delay))break}while(++r0?super.requestAsyncId(e,t,s):(e.actions.push(this),e.scheduled||(e.scheduled=j$.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,s=0){if(null!==s&&s>0||null===s&&this.delay>0)return super.recycleAsyncId(e,t,s);0===e.actions.length&&(j$.clearImmediate(t),e.scheduled=void 0)}});function Lb(n,e){return t=>t.lift(new Rre(n,e))}class Rre{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new Ore(e,this.compare,this.keySelector))}}class Ore extends tn{constructor(e,t,s){super(e),this.keySelector=s,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:r}=this;t=r?r(e):e}catch(r){return this.destination.error(r)}let s=!1;if(this.hasKey)try{const{compare:r}=this;s=r(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;s||(this.key=t,this.destination.next(e))}}const zM=new Sc(vA);class Fre{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new Yre(e,this.durationSelector))}}class Yre extends ab{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:r}=this;t=r(e)}catch(r){return this.destination.error(r)}const s=ob(this,t);!s||s.closed?this.clearThrottle():this.add(this.throttled=s)}}clearThrottle(){const{value:e,hasValue:t,throttled:s}=this;s&&(this.remove(s),this.throttled=null,s.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))}notifyNext(e,t,s,r){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function mB(n){return!Fs(n)&&n-parseFloat(n)+1>=0}function jre(n){const{index:e,period:t,subscriber:s}=n;if(s.next(e),!s.closed){if(-1===t)return s.complete();n.index=e+1,this.schedule(n,t)}}function gB(n,e=zM){return function Nre(n){return function(t){return t.lift(new Fre(n))}}(()=>function Bre(n=0,e,t){let s=-1;return mB(e)?s=Number(e)<1?1:Number(e):rb(e)&&(t=e),rb(t)||(t=zM),new Lt(r=>{const o=mB(n)?n:+n-t.now();return t.schedule(jre,o,{index:0,period:s,subscriber:r})})}(n,e))}class Hre{call(e,t){return t.subscribe(new Ure(e))}}class Ure extends tn{constructor(e){super(e),this.hasPrev=!1}_next(e){let t;this.hasPrev?t=[this.prev,e]:this.hasPrev=!0,this.prev=e,t&&this.destination.next(t)}}const Wre=new class zre extends Sc{}(class $re extends vA{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,s=0){return null!==s&&s>0||null===s&&this.delay>0?super.requestAsyncId(e,t,s):e.flush(this)}});var V$;!function(n){n.NEXT="N",n.ERROR="E",n.COMPLETE="C"}(V$||(V$={}));class wl{constructor(e,t,s){this.kind=e,this.value=t,this.error=s,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,s){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return s&&s()}}accept(e,t,s){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,s)}toObservable(){switch(this.kind){case"N":return ut(this.value);case"E":return bf(this.error);case"C":return yr()}throw new Error("unexpected notification kind value")}static createNext(e){return typeof e<"u"?new wl("N",e):wl.undefinedValueNotification}static createError(e){return new wl("E",void 0,e)}static createComplete(){return wl.completeNotification}}wl.completeNotification=new wl("C"),wl.undefinedValueNotification=new wl("N",void 0);class wA extends tn{constructor(e,t,s=0){super(e),this.scheduler=t,this.delay=s}static dispatch(e){const{notification:t,destination:s}=e;t.observe(s),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(wA.dispatch,this.delay,new Gre(e,this.destination)))}_next(e){this.scheduleMessage(wl.createNext(e))}_error(e){this.scheduleMessage(wl.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(wl.createComplete()),this.unsubscribe()}}class Gre{constructor(e,t){this.notification=e,this.destination=t}}class H$ extends ht{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,s){super(),this.scheduler=s,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){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),super.next(e)}nextTimeWindow(e){this._events.push(new Kre(this._getNow(),e)),this._trimBufferThenGetEvents(),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,s=t?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,o=s.length;let c;if(this.closed)throw new rr;if(this.isStopped||this.hasError?c=Dt.EMPTY:(this.observers.push(e),c=new Is(this,e)),r&&e.add(e=new wA(e,r)),t)for(let d=0;dt&&(c=Math.max(c,o-t)),c>0&&r.splice(0,c),r}}class Kre{constructor(e,t){this.time=e,this.value=t}}function Qre(n,e,t){let s;return s=n&&"object"==typeof n?n:{bufferSize:n,windowTime:e,refCount:!1,scheduler:t},r=>r.lift(function Xre({bufferSize:n=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:t,scheduler:s}){let r,c,o=0,d=!1,h=!1;return function(g){o++,(!r||d)&&(d=!1,r=new H$(n,e,s),c=g.subscribe({next(T){r.next(T)},error(T){d=!0,r.error(T)},complete(){h=!0,c=void 0,r.complete()}}));const S=r.subscribe(this);this.add(()=>{o--,S.unsubscribe(),c&&!h&&t&&0===o&&(c.unsubscribe(),c=void 0,r=void 0)})}}(s))}let _B;try{_B=typeof Intl<"u"&&Intl.v8BreakIterator}catch{_B=!1}class ma{constructor(e){this._platformId=e,this.isBrowser=this._platformId?J1(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&&!_B)&&typeof CSS<"u"&&!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}static#e=this.\u0275fac=function(t){return new(t||ma)(we(zr))};static#t=this.\u0275prov=Ae({token:ma,factory:ma.\u0275fac,providedIn:"root"})}class yB{static#e=this.\u0275fac=function(t){return new(t||yB)};static#t=this.\u0275mod=Qn({type:yB});static#n=this.\u0275inj=es({})}let WM;function Rb(n){return function Zre(){if(null==WM&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>WM=!0}))}finally{WM=WM||!1}return WM}()?n:!!n.capture}var Dc;let SA,i_,vB;function qM(){if("object"!=typeof document||!document)return Dc.NORMAL;if(null==SA){const n=document.createElement("div"),e=n.style;n.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const t=document.createElement("div"),s=t.style;s.width="2px",s.height="1px",n.appendChild(t),document.body.appendChild(n),SA=Dc.NORMAL,0===n.scrollLeft&&(n.scrollLeft=1,SA=0===n.scrollLeft?Dc.NEGATED:Dc.INVERTED),n.remove()}return SA}function bB(n){if(function eoe(){if(null==vB){const n=typeof document<"u"?document.head:null;vB=!(!n||!n.createShadowRoot&&!n.attachShadow)}return vB}()){const e=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function ah(n){return n.composedPath?n.composedPath()[0]:n.target}!function(n){n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED"}(Dc||(Dc={}));const noe=new Re("cdk-dir-doc",{providedIn:"root",factory:function soe(){return me(Pn)}});const ioe=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function $$(n){const e=n?.toLowerCase()||"";return"auto"===e&&typeof navigator<"u"&&navigator?.language?ioe.test(navigator.language)?"rtl":"ltr":"rtl"===e?"rtl":"ltr"}class Sl{constructor(e){if(this.value="ltr",this.change=new Le,e){const t=e.body?e.body.dir:null,s=e.documentElement?e.documentElement.dir:null;this.value=$$(t||s||"ltr")}}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(t){return new(t||Sl)(we(noe,8))};static#t=this.\u0275prov=Ae({token:Sl,factory:Sl.\u0275fac,providedIn:"root"})}class Ob{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new Le}get dir(){return this._dir}set dir(e){const t=this._dir;this._dir=$$(e),this._rawDir=e,t!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(t){return new(t||Ob)};static#t=this.\u0275dir=Ze({type:Ob,selectors:[["","dir",""]],hostVars:1,hostBindings:function(t,s){2&t&&ca("dir",s._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],standalone:!0,features:[Yn([{provide:Sl,useExisting:Ob}])]})}class r_{static#e=this.\u0275fac=function(t){return new(t||r_)};static#t=this.\u0275mod=Qn({type:r_,imports:[Ob],exports:[Ob]});static#n=this.\u0275inj=es({})}class roe{}class aoe extends roe{constructor(e){super(),this._data=e}connect(){return HY(this._data)?this._data:ut(this._data)}disconnect(){}}var lh;!function(n){n[n.REPLACED=0]="REPLACED",n[n.INSERTED=1]="INSERTED",n[n.MOVED=2]="MOVED",n[n.REMOVED=3]="REMOVED"}(lh||(lh={}));const z$=new Re("_ViewRepeater");class loe{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(e,t,s,r,o){e.forEachOperation((c,d,h)=>{let m,g;if(null==c.previousIndex){const S=()=>s(c,d,h);m=this._insertView(S,h,t,r(c)),g=m?lh.INSERTED:lh.REPLACED}else null==h?(this._detachAndCacheView(d,t),g=lh.REMOVED):(m=this._moveView(d,h,t,r(c)),g=lh.MOVED);o&&o({context:m?.context,operation:g,record:c})})}detach(){for(const e of this._viewCache)e.destroy();this._viewCache=[]}_insertView(e,t,s,r){const o=this._insertViewFromCache(t,s);if(o)return void(o.context.$implicit=r);const c=e();return s.createEmbeddedView(c.templateRef,c.context,c.index)}_detachAndCacheView(e,t){const s=t.detach(e);this._maybeCacheView(s,t)}_moveView(e,t,s,r){const o=s.get(e);return s.move(o,t),o.context.$implicit=r,o}_maybeCacheView(e,t){if(this._viewCache.length{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}static#e=this.\u0275fac=function(t){return new(t||DA)};static#t=this.\u0275prov=Ae({token:DA,factory:DA.\u0275fac,providedIn:"root"})}const coe=["contentWrapper"],uoe=["*"],W$=new Re("VIRTUAL_SCROLL_STRATEGY");class doe{constructor(e,t,s){this._scrolledIndexChange=new ht,this.scrolledIndexChange=this._scrolledIndexChange.pipe(Lb()),this._viewport=null,this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=s}attach(e){this._viewport=e,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(e,t,s){this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=s,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(e,t){this._viewport&&this._viewport.scrollToOffset(e*this._itemSize,t)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const e=this._viewport.getRenderedRange(),t={start:e.start,end:e.end},s=this._viewport.getViewportSize(),r=this._viewport.getDataLength();let o=this._viewport.measureScrollOffset(),c=this._itemSize>0?o/this._itemSize:0;if(t.end>r){const h=Math.ceil(s/this._itemSize),m=Math.max(0,Math.min(c,r-h));c!=m&&(c=m,o=m*this._itemSize,t.start=Math.floor(c)),t.end=Math.max(0,Math.min(r,t.start+h))}const d=o-t.start*this._itemSize;if(d0&&(t.end=Math.min(r,t.end+m),t.start=Math.max(0,Math.floor(c-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(t),this._viewport.setRenderedContentOffset(this._itemSize*t.start),this._scrolledIndexChange.next(Math.floor(c))}}function hoe(n){return n._scrollStrategy}class Nb{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new doe(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=s_(e)}get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=s_(e)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=s_(e)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static#e=this.\u0275fac=function(t){return new(t||Nb)};static#t=this.\u0275dir=Ze({type:Nb,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},standalone:!0,features:[Yn([{provide:W$,useFactory:hoe,deps:[It(()=>Nb)]}]),vs]})}class Iu{constructor(e,t,s){this._ngZone=e,this._platform=t,this._scrolled=new ht,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=s}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Lt(t=>{this._globalSubscription||this._addGlobalListener();const s=e>0?this._scrolled.pipe(gB(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ut()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const s=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(fs(r=>!r||s.indexOf(r)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((s,r)=>{this._scrollableContainsElement(r,e)&&t.push(r)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let s=Lr(t),r=e.getElementRef().nativeElement;do{if(s==r)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>yA(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function(t){return new(t||Iu)(we(_t),we(ma),we(Pn,8))};static#t=this.\u0275prov=Ae({token:Iu,factory:Iu.\u0275fac,providedIn:"root"})}class o_{constructor(e,t,s,r){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=s,this.dir=r,this._destroyed=new ht,this._elementScrolled=new Lt(o=>this.ngZone.runOutsideAngular(()=>yA(this.elementRef.nativeElement,"scroll").pipe(bl(this._destroyed)).subscribe(o)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const t=this.elementRef.nativeElement,s=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=s?e.end:e.start),null==e.right&&(e.right=s?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),s&&qM()!=Dc.NORMAL?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),qM()==Dc.INVERTED?e.left=e.right:qM()==Dc.NEGATED&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;!function Jre(){if(null==i_){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return i_=!1,i_;if("scrollBehavior"in document.documentElement.style)i_=!0;else{const n=Element.prototype.scrollTo;i_=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return i_}()?(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left)):t.scrollTo(e)}measureScrollOffset(e){const t="left",s="right",r=this.elementRef.nativeElement;if("top"==e)return r.scrollTop;if("bottom"==e)return r.scrollHeight-r.clientHeight-r.scrollTop;const o=this.dir&&"rtl"==this.dir.value;return"start"==e?e=o?s:t:"end"==e&&(e=o?t:s),o&&qM()==Dc.INVERTED?e==t?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:o&&qM()==Dc.NEGATED?e==t?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==t?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}static#e=this.\u0275fac=function(t){return new(t||o_)(ce(pn),ce(Iu),ce(_t),ce(Sl,8))};static#t=this.\u0275dir=Ze({type:o_,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}class Fb{constructor(e,t,s){this._platform=e,this._change=new ht,this._changeListener=r=>{this._change.next(r)},this._document=s,t.runOutsideAngular(()=>{if(e.isBrowser){const r=this._getWindow();r.addEventListener("resize",this._changeListener),r.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:s}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+s,right:e.left+t,height:s,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),s=e.documentElement,r=s.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||t.scrollY||s.scrollTop||0,left:-r.left||e.body.scrollLeft||t.scrollX||s.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(gB(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function(t){return new(t||Fb)(we(ma),we(_t),we(Pn,8))};static#t=this.\u0275prov=Ae({token:Fb,factory:Fb.\u0275fac,providedIn:"root"})}const CA=new Re("VIRTUAL_SCROLLABLE");class Yb extends o_{constructor(e,t,s,r){super(e,t,s,r)}measureViewportSize(e){const t=this.elementRef.nativeElement;return"horizontal"===e?t.clientWidth:t.clientHeight}static#e=this.\u0275fac=function(t){return new(t||Yb)(ce(pn),ce(Iu),ce(_t),ce(Sl,8))};static#t=this.\u0275dir=Ze({type:Yb,features:[Tn]})}const goe=typeof requestAnimationFrame<"u"?Y$:Pre;class a_ extends Yb{get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}constructor(e,t,s,r,o,c,d,h){super(e,c,s,o),this.elementRef=e,this._changeDetectorRef=t,this._scrollStrategy=r,this.scrollable=h,this._platform=me(ma),this._detachedSubject=new ht,this._renderedRangeSubject=new ht,this._orientation="vertical",this.appendOnly=!1,this.scrolledIndexChange=new Lt(m=>this._scrollStrategy.scrolledIndexChange.subscribe(g=>Promise.resolve().then(()=>this.ngZone.run(()=>m.next(g))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=Dt.EMPTY,this._viewportChanges=d.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(mb(null),gB(0,goe),bl(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(bl(this._detachedSubject)).subscribe(t=>{const s=t.length;s!==this._dataLength&&(this._dataLength=s,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){(function moe(n,e){return n.start==e.start&&n.end==e.end})(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,t="to-start"){e=this.appendOnly&&"to-start"===t?0:e;const s=this.dir&&"rtl"==this.dir.value,r="horizontal"==this.orientation,o=r?"X":"Y";let d=`translate${o}(${Number((r&&s?-1:1)*e)}px)`;this._renderedContentOffset=e,"to-end"===t&&(d+=` translate${o}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=d&&(this._renderedContentTransform=d,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,t="auto"){const s={behavior:t};"horizontal"===this.orientation?s.start=e:s.top=e,this.scrollable.scrollTo(s)}scrollToIndex(e,t="auto"){this._scrollStrategy.scrollToIndex(e,t)}measureScrollOffset(e){let t;return t=this.scrollable==this?s=>super.measureScrollOffset(s):s=>this.scrollable.measureScrollOffset(s),Math.max(0,t(e??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let t;const s="left",r="right",o="rtl"==this.dir?.value;t="start"==e?o?r:s:"end"==e?o?s:r:e||("horizontal"===this.orientation?"left":"top");const c=this.scrollable.measureBoundingClientRectWithScrollOffset(t);return this.elementRef.nativeElement.getBoundingClientRect()[t]-c}measureRenderedContentSize(){const e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const t of e)t()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}static#e=this.\u0275fac=function(t){return new(t||a_)(ce(pn),ce(gl),ce(_t),ce(W$,8),ce(Sl,8),ce(Iu),ce(Fb),ce(CA,8))};static#t=this.\u0275cmp=Vl({type:a_,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(t,s){if(1&t&&NN(coe,7),2&t){let r;_1(r=y1())&&(s._contentWrapper=r.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(t,s){2&t&&fg("cdk-virtual-scroll-orientation-horizontal","horizontal"===s.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==s.orientation)},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",$i]},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[Yn([{provide:o_,useFactory:(e,t)=>e||t,deps:[[new Si,new qa(CA)],a_]}]),Pa,Tn,b1],ngContentSelectors:uoe,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(t,s){1&t&&(VH(),d1(0,"div",1,0),HH(2),h1(),wC(3,"div",2)),2&t&&(ck(3),l1("width",s._totalContentWidth)("height",s._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0})}function q$(n,e,t){const s=t;if(!s.getBoundingClientRect)return 0;const r=s.getBoundingClientRect();return"horizontal"===n?"start"===e?r.left:r.right:"start"===e?r.top:r.bottom}class GM{get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,function ooe(n){return n&&"function"==typeof n.connect&&!(n instanceof WI)}(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new aoe(HY(e)?e:Array.from(e||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(t,s)=>e(t+(this._renderedRange?this._renderedRange.start:0),s):void 0}set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=s_(e)}constructor(e,t,s,r,o,c){this._viewContainerRef=e,this._template=t,this._differs=s,this._viewRepeater=r,this._viewport=o,this.viewChange=new ht,this._dataSourceChanges=new ht,this.dataStream=this._dataSourceChanges.pipe(mb(null),function Vre(){return n=>n.lift(new Hre)}(),pa(([d,h])=>this._changeDataSource(d,h)),Qre(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new ht,this.dataStream.subscribe(d=>{this._data=d,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(bl(this._destroyed)).subscribe(d=>{this._renderedRange=d,this.viewChange.observers.length&&c.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(e,t){if(e.start>=e.end)return 0;e.start-1;d--){const h=this._viewContainerRef.get(d+s);if(h&&h.rootNodes.length){c=h.rootNodes[h.rootNodes.length-1];break}}return o&&c?q$(t,"end",c)-q$(t,"start",o):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,t)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,t):t)),this._needsUpdate=!0)}_changeDataSource(e,t){return e&&e.disconnect(this),this._needsUpdate=!0,t?t.connect(this):ut()}_updateContext(){const e=this._data.length;let t=this._viewContainerRef.length;for(;t--;){const s=this._viewContainerRef.get(t);s.context.index=this._renderedRange.start+t,s.context.count=e,this._updateComputedContextProperties(s.context),s.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(r,o,c)=>this._getEmbeddedViewArgs(r,c),r=>r.item),e.forEachIdentityChange(r=>{this._viewContainerRef.get(r.currentIndex).context.$implicit=r.item});const t=this._data.length;let s=this._viewContainerRef.length;for(;s--;){const r=this._viewContainerRef.get(s);r.context.index=this._renderedRange.start+s,r.context.count=t,this._updateComputedContextProperties(r.context)}}_updateComputedContextProperties(e){e.first=0===e.index,e.last=e.index===e.count-1,e.even=e.index%2==0,e.odd=!e.even}_getEmbeddedViewArgs(e,t){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:t}}static#e=this.\u0275fac=function(t){return new(t||GM)(ce(xr),ce(dr),ce(_u),ce(z$),ce(a_,4),ce(_t))};static#t=this.\u0275dir=Ze({type:GM,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},standalone:!0,features:[Yn([{provide:z$,useClass:loe}])]})}class Bb extends Yb{constructor(e,t,s,r){super(e,t,s,r)}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]-this.measureScrollOffset(e)}static#e=this.\u0275fac=function(t){return new(t||Bb)(ce(pn),ce(Iu),ce(_t),ce(Sl,8))};static#t=this.\u0275dir=Ze({type:Bb,selectors:[["","cdkVirtualScrollingElement",""]],hostAttrs:[1,"cdk-virtual-scrollable"],standalone:!0,features:[Yn([{provide:CA,useExisting:Bb}]),Tn]})}class jb extends Yb{constructor(e,t,s){super(new pn(document.documentElement),e,t,s),this._elementScrolled=new Lt(r=>this.ngZone.runOutsideAngular(()=>yA(document,"scroll").pipe(bl(this._destroyed)).subscribe(r)))}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}static#e=this.\u0275fac=function(t){return new(t||jb)(ce(Iu),ce(_t),ce(Sl,8))};static#t=this.\u0275dir=Ze({type:jb,selectors:[["cdk-virtual-scroll-viewport","scrollWindow",""]],standalone:!0,features:[Yn([{provide:CA,useExisting:jb}]),Tn]})}class ch{static#e=this.\u0275fac=function(t){return new(t||ch)};static#t=this.\u0275mod=Qn({type:ch,imports:[o_],exports:[o_]});static#n=this.\u0275inj=es({})}class wB{static#e=this.\u0275fac=function(t){return new(t||wB)};static#t=this.\u0275mod=Qn({type:wB,imports:[r_,ch,a_,Nb,GM,jb,Bb],exports:[r_,ch,Nb,GM,a_,jb,Bb]});static#n=this.\u0275inj=es({imports:[r_,ch,r_,ch]})}function KM(n,e=zM){return t=>t.lift(new Noe(n,e))}class Noe{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new Foe(e,this.dueTime,this.scheduler))}}class Foe extends tn{constructor(e,t,s){super(e),this.dueTime=t,this.scheduler=s,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(Yoe,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 Yoe(n){n.debouncedNext()}function G$(n){return e=>e.lift(new Boe(n))}class Boe{constructor(e){this.total=e}call(e,t){return t.subscribe(new joe(e,this.total))}}class joe extends tn{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}class Vb{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static#e=this.\u0275fac=function(t){return new(t||Vb)};static#t=this.\u0275prov=Ae({token:Vb,factory:Vb.\u0275fac,providedIn:"root"})}class Hb{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=Lr(e);return new Lt(s=>{const o=this._observeElement(t).pipe(zt(c=>c.filter(d=>!function Voe(n){if("characterData"===n.type&&n.target instanceof Comment)return!0;if("childList"===n.type){for(let e=0;e!!c.length)).subscribe(s);return()=>{o.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new ht,s=this._mutationObserverFactory.create(r=>t.next(r));s&&s.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:s,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:s}=this._observedElements.get(e);t&&t.disconnect(),s.complete(),this._observedElements.delete(e)}}static#e=this.\u0275fac=function(t){return new(t||Hb)(we(Vb))};static#t=this.\u0275prov=Ae({token:Hb,factory:Hb.\u0275fac,providedIn:"root"})}class QM{get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=s_(e),this._subscribe()}constructor(e,t,s){this._contentObserver=e,this._elementRef=t,this._ngZone=s,this.event=new Le,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(KM(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(t){return new(t||QM)(ce(Hb),ce(pn),ce(_t))};static#t=this.\u0275dir=Ze({type:QM,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",$i],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[Pa]})}class XM{static#e=this.\u0275fac=function(t){return new(t||XM)};static#t=this.\u0275mod=Qn({type:XM,imports:[QM],exports:[QM]});static#n=this.\u0275inj=es({providers:[Vb]})}class SB{static#e=this.\u0275fac=function(t){return new(t||SB)};static#t=this.\u0275mod=Qn({type:SB});static#n=this.\u0275inj=es({})}const K$=new Set;let l_;class ZM{constructor(e,t){this._platform=e,this._nonce=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Uoe}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function Hoe(n,e){if(!K$.has(n))try{l_||(l_=document.createElement("style"),e&&l_.setAttribute("nonce",e),l_.setAttribute("type","text/css"),document.head.appendChild(l_)),l_.sheet&&(l_.sheet.insertRule(`@media ${n} {body{ }}`,0),K$.add(n))}catch(t){console.error(t)}}(e,this._nonce),this._matchMedia(e)}static#e=this.\u0275fac=function(t){return new(t||ZM)(we(ma),we(mS,8))};static#t=this.\u0275prov=Ae({token:ZM,factory:ZM.\u0275fac,providedIn:"root"})}function Uoe(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}class JM{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new ht}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return Q$(fB(e)).some(s=>this._registerQuery(s).mql.matches)}observe(e){let r=$I(Q$(fB(e)).map(o=>this._registerQuery(o).observable));return r=zI(r.pipe(Ii(1)),r.pipe(G$(1),KM(0))),r.pipe(zt(o=>{const c={matches:!1,breakpoints:{}};return o.forEach(({matches:d,query:h})=>{c.matches=c.matches||d,c.breakpoints[h]=d}),c}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),r={observable:new Lt(o=>{const c=d=>this._zone.run(()=>o.next(d));return t.addListener(c),()=>{t.removeListener(c)}}).pipe(mb(t),zt(({matches:o})=>({query:e,matches:o})),bl(this._destroySubject)),mql:t};return this._queries.set(e,r),r}static#e=this.\u0275fac=function(t){return new(t||JM)(we(ZM),we(_t))};static#t=this.\u0275prov=Ae({token:JM,factory:JM.\u0275fac,providedIn:"root"})}function Q$(n){return n.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}function MA(n,e){return n.getAttribute(e)?.match(/\S+/g)??[]}const Z$="cdk-describedby-message",EA="cdk-describedby-host";let DB=0;class xA{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+DB++,this._document=e,this._id=me(fd)+"-"+DB++}describe(e,t,s){if(!this._canBeDescribed(e,t))return;const r=CB(t,s);"string"!=typeof t?(J$(t,this._id),this._messageRegistry.set(r,{messageElement:t,referenceCount:0})):this._messageRegistry.has(r)||this._createMessageElement(t,s),this._isElementDescribedByMessage(e,r)||this._addMessageReference(e,r)}removeDescription(e,t,s){if(!t||!this._isElementNode(e))return;const r=CB(t,s);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),"string"==typeof t){const o=this._messageRegistry.get(r);o&&0===o.referenceCount&&this._deleteMessageElement(r)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${EA}="${this._id}"]`);for(let t=0;t0!=s.indexOf(Z$));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const s=this._messageRegistry.get(t);(function $oe(n,e,t){const s=MA(n,e);t=t.trim(),!s.some(r=>r.trim()===t)&&(s.push(t),n.setAttribute(e,s.join(" ")))})(e,"aria-describedby",s.messageElement.id),e.setAttribute(EA,this._id),s.referenceCount++}_removeMessageReference(e,t){const s=this._messageRegistry.get(t);s.referenceCount--,function zoe(n,e,t){const s=MA(n,e);t=t.trim();const r=s.filter(o=>o!==t);r.length?n.setAttribute(e,r.join(" ")):n.removeAttribute(e)}(e,"aria-describedby",s.messageElement.id),e.removeAttribute(EA)}_isElementDescribedByMessage(e,t){const s=MA(e,"aria-describedby"),r=this._messageRegistry.get(t),o=r&&r.messageElement.id;return!!o&&-1!=s.indexOf(o)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const s=null==t?"":`${t}`.trim(),r=e.getAttribute("aria-label");return!!s&&(!r||r.trim()!==s)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(t){return new(t||xA)(we(Pn),we(ma))};static#t=this.\u0275prov=Ae({token:xA,factory:xA.\u0275fac,providedIn:"root"})}function CB(n,e){return"string"==typeof n?`${e||""}/${n}`:n}function J$(n,e){n.id||(n.id=`${Z$}-${e}-${DB++}`)}class Ub{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function Goe(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function qoe(n){try{return n.frameElement}catch{return null}}(function nae(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(t&&(-1===t6(t)||!this.isVisible(t)))return!1;let s=e.nodeName.toLowerCase(),r=t6(e);return e.hasAttribute("contenteditable")?-1!==r:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function eae(n){let e=n.nodeName.toLowerCase(),t="input"===e&&n.type;return"text"===t||"password"===t||"select"===e||"textarea"===e}(e))&&("audio"===s?!!e.hasAttribute("controls")&&-1!==r:"video"===s?-1!==r&&(null!==r||(this._platform.FIREFOX||e.hasAttribute("controls"))):e.tabIndex>=0)}isFocusable(e,t){return function tae(n){return!function Qoe(n){return function Zoe(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function Koe(n){let e=n.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(n)||function Xoe(n){return function Joe(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||e6(n))}(e)&&!this.isDisabled(e)&&(t?.ignoreVisibility||this.isVisible(e))}static#e=this.\u0275fac=function(t){return new(t||Ub)(we(ma))};static#t=this.\u0275prov=Ae({token:Ub,factory:Ub.\u0275fac,providedIn:"root"})}function e6(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let e=n.getAttribute("tabindex");return!(!e||isNaN(parseInt(e,10)))}function t6(n){if(!e6(n))return null;const e=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class n6{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,t,s,r,o=!1){this._element=e,this._checker=t,this._ngZone=s,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){const t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){const s=this._getFirstTabbableElement(t);return s?.focus(e),!!s}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){const t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}focusLastTabbableElement(e){const t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;const t=e.children;for(let s=0;s=0;s--){const r=t[s].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[s]):null;if(r)return r}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(Ii(1)).subscribe(e)}}class e0{constructor(e,t,s){this._checker=e,this._ngZone=t,this._document=s}create(e,t=!1){return new n6(e,this._checker,this._ngZone,this._document,t)}static#e=this.\u0275fac=function(t){return new(t||e0)(we(Ub),we(_t),we(Pn))};static#t=this.\u0275prov=Ae({token:e0,factory:e0.\u0275fac,providedIn:"root"})}class t0{get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}constructor(e,t,s){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,me(ma).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){const t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=function toe(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const e=n.shadowRoot.activeElement;if(e===n)break;n=e}return n}(),this.focusTrap?.focusInitialElementWhenReady()}static#e=this.\u0275fac=function(t){return new(t||t0)(ce(pn),ce(e0),ce(Pn))};static#t=this.\u0275dir=Ze({type:t0,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",$i],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",$i]},exportAs:["cdkTrapFocus"],standalone:!0,features:[Pa,vs]})}class sae extends n6{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}constructor(e,t,s,r,o,c,d){super(e,t,s,r,d.defer),this._focusTrapManager=o,this._inertStrategy=c,this._focusTrapManager.register(this)}destroy(){this._focusTrapManager.deregister(this),super.destroy()}_enable(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}_disable(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}}const iae=new Re("FOCUS_TRAP_INERT_STRATEGY");class rae{constructor(){this._listener=null}preventFocus(e){this._listener&&e._document.removeEventListener("focus",this._listener,!0),this._listener=t=>this._trapFocus(e,t),e._ngZone.runOutsideAngular(()=>{e._document.addEventListener("focus",this._listener,!0)})}allowFocus(e){this._listener&&(e._document.removeEventListener("focus",this._listener,!0),this._listener=null)}_trapFocus(e,t){const s=t.target,r=e._element;s&&!r.contains(s)&&!s.closest?.("div.cdk-overlay-pane")&&setTimeout(()=>{e.enabled&&!r.contains(e._document.activeElement)&&e.focusFirstTabbableElement()})}}class n0{constructor(){this._focusTrapStack=[]}register(e){this._focusTrapStack=this._focusTrapStack.filter(s=>s!==e);let t=this._focusTrapStack;t.length&&t[t.length-1]._disable(),t.push(e),e._enable()}deregister(e){e._disable();const t=this._focusTrapStack,s=t.indexOf(e);-1!==s&&(t.splice(s,1),t.length&&t[t.length-1]._enable())}static#e=this.\u0275fac=function(t){return new(t||n0)};static#t=this.\u0275prov=Ae({token:n0,factory:n0.\u0275fac,providedIn:"root"})}class kA{constructor(e,t,s,r,o){this._checker=e,this._ngZone=t,this._focusTrapManager=s,this._document=r,this._inertStrategy=o||new rae}create(e,t={defer:!1}){let s;return s="boolean"==typeof t?{defer:t}:t,new sae(e,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,s)}static#e=this.\u0275fac=function(t){return new(t||kA)(we(Ub),we(_t),we(n0),we(Pn),we(iae,8))};static#t=this.\u0275prov=Ae({token:kA,factory:kA.\u0275fac,providedIn:"root"})}function s6(n){return 0===n.buttons||0===n.detail}function i6(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 oae=new Re("cdk-input-modality-detector-options"),aae={ignoreKeys:[18,17,224,91,16]},$b=Rb({passive:!0,capture:!0});class s0{get mostRecentModality(){return this._modality.value}constructor(e,t,s,r){this._platform=e,this._mostRecentTarget=null,this._modality=new Ys(null),this._lastTouchMs=0,this._onKeydown=o=>{this._options?.ignoreKeys?.some(c=>c===o.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ah(o))},this._onMousedown=o=>{Date.now()-this._lastTouchMs<650||(this._modality.next(s6(o)?"keyboard":"mouse"),this._mostRecentTarget=ah(o))},this._onTouchstart=o=>{i6(o)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ah(o))},this._options={...aae,...r},this.modalityDetected=this._modality.pipe(G$(1)),this.modalityChanged=this.modalityDetected.pipe(Lb()),e.isBrowser&&t.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,$b),s.addEventListener("mousedown",this._onMousedown,$b),s.addEventListener("touchstart",this._onTouchstart,$b)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,$b),document.removeEventListener("mousedown",this._onMousedown,$b),document.removeEventListener("touchstart",this._onTouchstart,$b))}static#e=this.\u0275fac=function(t){return new(t||s0)(we(ma),we(_t),we(Pn),we(oae,8))};static#t=this.\u0275prov=Ae({token:s0,factory:s0.\u0275fac,providedIn:"root"})}const lae=new Re("liveAnnouncerElement",{providedIn:"root",factory:function cae(){return null}});const uae=new Re("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let dae=0;class i0{constructor(e,t,s,r){this._ngZone=t,this._defaultOptions=r,this._document=s,this._liveElement=e||this._createLiveElement()}announce(e,...t){const s=this._defaultOptions;let r,o;return 1===t.length&&"number"==typeof t[0]?o=t[0]:[r,o]=t,this.clear(),clearTimeout(this._previousTimeout),r||(r=s&&s.politeness?s.politeness:"polite"),null==o&&s&&(o=s.duration),this._liveElement.setAttribute("aria-live",r),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof o&&(this._previousTimeout=setTimeout(()=>this.clear(),o)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),s=this._document.createElement("div");for(let r=0;r .cdk-overlay-container [aria-modal="true"]');for(let s=0;sthis._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness,this.duration),this._previousAnnouncedText=t)})))}constructor(e,t,s,r){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=s,this._ngZone=r,this._politeness="polite"}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}static#e=this.\u0275fac=function(t){return new(t||r0)(ce(pn),ce(i0),ce(Hb),ce(_t))};static#t=this.\u0275dir=Ze({type:r0,selectors:[["","cdkAriaLive",""]],inputs:{politeness:[0,"cdkAriaLive","politeness"],duration:[0,"cdkAriaLiveDuration","duration"]},exportAs:["cdkAriaLive"],standalone:!0})}var o0;!function(n){n[n.IMMEDIATE=0]="IMMEDIATE",n[n.EVENTUAL=1]="EVENTUAL"}(o0||(o0={}));const hae=new Re("cdk-focus-monitor-default-options"),TA=Rb({passive:!0,capture:!0});class a0{constructor(e,t,s,r,o){this._ngZone=e,this._platform=t,this._inputModalityDetector=s,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=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new ht,this._rootNodeFocusAndBlurListener=c=>{for(let h=ah(c);h;h=h.parentElement)"focus"===c.type?this._onFocus(c,h):this._onBlur(c,h)},this._document=r,this._detectionMode=o?.detectionMode||o0.IMMEDIATE}monitor(e,t=!1){const s=Lr(e);if(!this._platform.isBrowser||1!==s.nodeType)return ut();const r=bB(s)||this._getDocument(),o=this._elementInfo.get(s);if(o)return t&&(o.checkChildren=!0),o.subject;const c={checkChildren:t,subject:new ht,rootNode:r};return this._elementInfo.set(s,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){const t=Lr(e),s=this._elementInfo.get(t);s&&(s.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(s))}focusVia(e,t,s){const r=Lr(e);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(([c,d])=>this._originChanged(c,t,d)):(this._setOrigin(t),"function"==typeof r.focus&&r.focus(s))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===o0.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused","touch"===t),e.classList.toggle("cdk-keyboard-focused","keyboard"===t),e.classList.toggle("cdk-mouse-focused","mouse"===t),e.classList.toggle("cdk-program-focused","program"===t)}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction="touch"===e&&t,this._detectionMode===o0.IMMEDIATE){clearTimeout(this._originTimeoutId);const s=this._originFromTouchInteraction?650:1;this._originTimeoutId=setTimeout(()=>this._origin=null,s)}})}_onFocus(e,t){const s=this._elementInfo.get(t),r=ah(e);!s||!s.checkChildren&&t!==r||this._originChanged(t,this._getFocusOrigin(r),s)}_onBlur(e,t){const s=this._elementInfo.get(t);!s||s.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(s,null))}_emitOrigin(e,t){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,s=this._rootNodeFocusListenerCount.get(t)||0;s||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,TA),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,TA)}),this._rootNodeFocusListenerCount.set(t,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(bl(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const s=this._rootNodeFocusListenerCount.get(t);s>1?this._rootNodeFocusListenerCount.set(t,s-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,TA),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,TA),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,s){this._setClasses(e,t),this._emitOrigin(s,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((s,r)=>{(r===e||s.checkChildren&&r.contains(e))&&t.push([r,s])}),t}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:t,mostRecentModality:s}=this._inputModalityDetector;if("mouse"!==s||!t||t===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const r=e.labels;if(r)for(let o=0;o{this._focusOrigin=t,this.cdkFocusChange.emit(t)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(t){return new(t||l0)(ce(pn),ce(a0))};static#t=this.\u0275dir=Ze({type:l0,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}var Cf;!function(n){n[n.NONE=0]="NONE",n[n.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",n[n.WHITE_ON_BLACK=2]="WHITE_ON_BLACK"}(Cf||(Cf={}));const o6="cdk-high-contrast-black-on-white",a6="cdk-high-contrast-white-on-black",MB="cdk-high-contrast-active";class c0{constructor(e,t){this._platform=e,this._document=t,this._breakpointSubscription=me(JM).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Cf.NONE;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,s=t&&t.getComputedStyle?t.getComputedStyle(e):null,r=(s&&s.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Cf.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Cf.BLACK_ON_WHITE}return Cf.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(MB,o6,a6),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();t===Cf.BLACK_ON_WHITE?e.add(MB,o6):t===Cf.WHITE_ON_BLACK&&e.add(MB,a6)}}static#e=this.\u0275fac=function(t){return new(t||c0)(we(ma),we(Pn))};static#t=this.\u0275prov=Ae({token:c0,factory:c0.\u0275fac,providedIn:"root"})}class EB{constructor(e){e._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(t){return new(t||EB)(we(c0))};static#t=this.\u0275mod=Qn({type:EB,imports:[XM,r0,t0,l0],exports:[r0,t0,l0]});static#n=this.\u0275inj=es({imports:[XM]})}function fae(n){const{subscriber:e,counter:t,period:s}=n;e.next(t),this.schedule({subscriber:e,counter:t+1,period:s},s)}function xB(...n){let e=Number.POSITIVE_INFINITY,t=null,s=n[n.length-1];return rb(s)?(t=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(e=n.pop())):"number"==typeof s&&(e=n.pop()),null===t&&1===n.length&&n[0]instanceof Lt?n[0]:fb(e)(RY(n,t))}function kB(n,e,t){for(let s in e)if(e.hasOwnProperty(s)){const r=e[s];r?n.setProperty(s,r,t?.has(s)?"important":""):n.removeProperty(s)}return n}function zb(n,e){const t=e?"":"none";kB(n.style,{"touch-action":e?"":"none","-webkit-user-drag":e?"":"none","-webkit-tap-highlight-color":e?"":"transparent","user-select":t,"-ms-user-select":t,"-webkit-user-select":t,"-moz-user-select":t})}function l6(n,e,t){kB(n.style,{position:e?"":"fixed",top:e?"":"0",opacity:e?"":"0",left:e?"":"-999em"},t)}function IA(n,e){return e&&"none"!=e?n+" "+e:n}function c6(n,e){n.style.width=`${e.width}px`,n.style.height=`${e.height}px`,n.style.transform=AA(e.left,e.top)}function AA(n,e){return`translate3d(${Math.round(n)}px, ${Math.round(e)}px, 0)`}function TB(n){const e=n.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height,x:e.x,y:e.y}}function IB(n,e,t){const{top:s,bottom:r,left:o,right:c}=n;return t>=s&&t<=r&&e>=o&&e<=c}function u0(n,e,t){n.top+=e,n.bottom=n.top+n.height,n.left+=t,n.right=n.left+n.width}function u6(n,e,t,s){const{top:r,right:o,bottom:c,left:d,width:h,height:m}=n,g=h*e,S=m*e;return s>r-S&&sd-g&&t{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:TB(t)})})}handleScroll(e){const t=ah(e),s=this.positions.get(t);if(!s)return null;const r=s.scrollPosition;let o,c;if(t===this._document){const m=this.getViewportScrollPosition();o=m.top,c=m.left}else o=t.scrollTop,c=t.scrollLeft;const d=r.top-o,h=r.left-c;return this.positions.forEach((m,g)=>{m.clientRect&&t!==g&&t.contains(g)&&u0(m.clientRect,d,h)}),r.top=o,r.left=c,{top:d,left:h}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function h6(n){const e=n.cloneNode(!0),t=e.querySelectorAll("[id]"),s=n.nodeName.toLowerCase();e.removeAttribute("id");for(let r=0;rs.appendChild(r)),s}function _6(n){const e=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*e}function AB(n,e){return n.getPropertyValue(e).split(",").map(s=>s.trim())}const _ae=new Set(["position"]);class yae{constructor(e,t,s,r,o,c,d,h,m){this._document=e,this._rootElement=t,this._direction=s,this._initialDomRect=r,this._previewTemplate=o,this._previewClass=c,this._pickupPositionOnPage=d,this._initialTransform=h,this._zIndex=m}attach(e){this._preview=this._createPreview(),e.appendChild(this._preview),"showPopover"in this._preview&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(e){this._preview.style.transform=e}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(e){this._preview.classList.add(e)}getTransitionDuration(){return function gae(n){const e=getComputedStyle(n),t=AB(e,"transition-property"),s=t.find(d=>"transform"===d||"all"===d);if(!s)return 0;const r=t.indexOf(s),o=AB(e,"transition-duration"),c=AB(e,"transition-delay");return _6(o[r])+_6(c[r])}(this._preview)}addEventListener(e,t){this._preview.addEventListener(e,t)}removeEventListener(e,t){this._preview.removeEventListener(e,t)}_createPreview(){const e=this._previewTemplate,t=this._previewClass,s=e?e.template:null;let r;if(s&&e){const o=e.matchSize?this._initialDomRect:null,c=e.viewContainer.createEmbeddedView(s,e.context);c.detectChanges(),r=g6(c,this._document),this._previewEmbeddedView=c,e.matchSize?c6(r,o):r.style.transform=AA(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=h6(this._rootElement),c6(r,this._initialDomRect),this._initialTransform&&(r.style.transform=this._initialTransform);return kB(r.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},_ae),zb(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("popover","manual"),r.setAttribute("dir",this._direction),t&&(Array.isArray(t)?t.forEach(o=>r.classList.add(o)):r.classList.add(t)),r}}const y6=Rb({passive:!0}),LA=Rb({passive:!1}),v6=Rb({passive:!1,capture:!0}),b6=new Set(["position"]);class bae{get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(e){e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>zb(t,e)))}constructor(e,t,s,r,o,c){this._config=t,this._document=s,this._ngZone=r,this._viewportRuler=o,this._dragDropRegistry=c,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=!1,this._moveEvents=new ht,this._pointerMoveSubscription=Dt.EMPTY,this._pointerUpSubscription=Dt.EMPTY,this._scrollSubscription=Dt.EMPTY,this._resizeSubscription=Dt.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new ht,this.started=new ht,this.released=new ht,this.ended=new ht,this.entered=new ht,this.exited=new ht,this.dropped=new ht,this.moved=this._moveEvents,this._pointerDown=d=>{if(this.beforeStarted.next(),this._handles.length){const h=this._getTargetHandle(d);h&&!this._disabledHandles.has(h)&&!this.disabled&&this._initializeDragSequence(h,d)}else this.disabled||this._initializeDragSequence(this._rootElement,d)},this._pointerMove=d=>{const h=this._getPointerPositionOnPage(d);if(!this._hasStartedDragging){if(Math.abs(h.x-this._pickupPositionOnPage.x)+Math.abs(h.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const I=Date.now()>=this._dragStartTime+this._getDragStartDelay(d),P=this._dropContainer;if(!I)return void this._endDragSequence(d);(!P||!P.isDragging()&&!P.isReceiving())&&(d.cancelable&&d.preventDefault(),this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(d)))}return}d.cancelable&&d.preventDefault();const m=this._getConstrainedPointerPosition(h);if(this._hasMoved=!0,this._lastKnownPointerPosition=h,this._updatePointerDirectionDelta(m),this._dropContainer)this._updateActiveDropContainer(m,h);else{const g=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,S=this._activeTransform;S.x=m.x-g.x+this._passiveTransform.x,S.y=m.y-g.y+this._passiveTransform.y,this._applyRootElementTransform(S.x,S.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:m,event:d,distance:this._getDragDistance(m),delta:this._pointerDirectionDelta})})},this._pointerUp=d=>{this._endDragSequence(d)},this._nativeDragStart=d=>{if(this._handles.length){const h=this._getTargetHandle(d);h&&!this._disabledHandles.has(h)&&!this.disabled&&d.preventDefault()}else this.disabled||d.preventDefault()},this.withRootElement(e).withParent(t.parentDragRef||null),this._parentPositions=new d6(s),c.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(e){this._handles=e.map(s=>Lr(s)),this._handles.forEach(s=>zb(s,this.disabled)),this._toggleNativeDragInteractions();const t=new Set;return this._disabledHandles.forEach(s=>{this._handles.indexOf(s)>-1&&t.add(s)}),this._disabledHandles=t,this}withPreviewTemplate(e){return this._previewTemplate=e,this}withPlaceholderTemplate(e){return this._placeholderTemplate=e,this}withRootElement(e){const t=Lr(e);return t!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{t.addEventListener("mousedown",this._pointerDown,LA),t.addEventListener("touchstart",this._pointerDown,y6),t.addEventListener("dragstart",this._nativeDragStart,LA)}),this._initialTransform=void 0,this._rootElement=t),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(e){return this._boundaryElement=e?Lr(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(e){return this._parentDragRef=e,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(e){!this._disabledHandles.has(e)&&this._handles.indexOf(e)>-1&&(this._disabledHandles.add(e),zb(e,!0))}enableHandle(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),zb(e,this.disabled))}withDirection(e){return this._direction=e,this}_withDropContainer(e){this._dropContainer=e}getFreeDragPosition(){const e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}setFreeDragPosition(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}withPreviewContainer(e){return this._previewContainer=e,this}_sortFromLastPointerPosition(){const e=this._lastKnownPointerPosition;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e),e)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._getShadowRoot()?.removeEventListener("selectstart",S6,v6)}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(e){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging))if(this.released.next({source:this,event:e}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(e),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;const t=this._getPointerPositionOnPage(e);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(t),dropPoint:t,event:e})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(e){d0(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const t=this._getShadowRoot(),s=this._dropContainer;if(t&&this._ngZone.runOutsideAngular(()=>{t.addEventListener("selectstart",S6,v6)}),s){const r=this._rootElement,o=r.parentNode,c=this._placeholder=this._createPlaceholderElement(),d=this._anchor=this._anchor||this._document.createComment("");o.insertBefore(d,r),this._initialTransform=r.style.transform||"",this._preview=new yae(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3),this._preview.attach(this._getPreviewInsertionPoint(o,t)),l6(r,!1,b6),this._document.body.appendChild(o.replaceChild(c,r)),this.started.next({source:this,event:e}),s.start(),this._initialContainer=s,this._initialIndex=s.getItemIndex(this)}else this.started.next({source:this,event:e}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(s?s.getScrollableParents():[])}_initializeDragSequence(e,t){this._parentDragRef&&t.stopPropagation();const s=this.isDragging(),r=d0(t),o=!r&&0!==t.button,c=this._rootElement,d=ah(t),h=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),m=r?i6(t):s6(t);if(d&&d.draggable&&"mousedown"===t.type&&t.preventDefault(),s||o||h||m)return;if(this._handles.length){const T=c.style;this._rootElementTapHighlight=T.webkitTapHighlightColor||"",T.webkitTapHighlightColor="transparent"}this._hasStartedDragging=this._hasMoved=!1,this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(T=>this._updateOnScroll(T)),this._boundaryElement&&(this._boundaryRect=TB(this._boundaryElement));const g=this._previewTemplate;this._pickupPositionInElement=g&&g.template&&!g.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,e,t);const S=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:S.x,y:S.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}_cleanupDragArtifacts(e){l6(this._rootElement,!0,b6),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{const t=this._dropContainer,s=t.getItemIndex(this),r=this._getPointerPositionOnPage(e),o=this._getDragDistance(r),c=t._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:o,dropPoint:r,event:e}),this.dropped.next({item:this,currentIndex:s,previousIndex:this._initialIndex,container:t,previousContainer:this._initialContainer,isPointerOverContainer:c,distance:o,dropPoint:r,event:e}),t.drop(this,s,this._initialIndex,this._initialContainer,c,o,r,e),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:e,y:t},{x:s,y:r}){let o=this._initialContainer._getSiblingContainerFromPosition(this,e,t);!o&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(e,t)&&(o=this._initialContainer),o&&o!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=o,this._dropContainer.enter(this,e,t,o===this._initialContainer&&o.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:o,currentIndex:o.getItemIndex(this)})}),this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(s,r),this._dropContainer._sortItem(this,e,t,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(e,t):this._applyPreviewTransform(e-this._pickupPositionInElement.x,t-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const e=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(e.left,e.top);const t=this._preview.getTransitionDuration();return 0===t?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(s=>{const r=c=>{(!c||ah(c)===this._preview&&"transform"===c.propertyName)&&(this._preview?.removeEventListener("transitionend",r),s(),clearTimeout(o))},o=setTimeout(r,1.5*t);this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){const e=this._placeholderTemplate,t=e?e.template:null;let s;return t?(this._placeholderRef=e.viewContainer.createEmbeddedView(t,e.context),this._placeholderRef.detectChanges(),s=g6(this._placeholderRef,this._document)):s=h6(this._rootElement),s.style.pointerEvents="none",s.classList.add("cdk-drag-placeholder"),s}_getPointerPositionInElement(e,t,s){const r=t===this._rootElement?null:t,o=r?r.getBoundingClientRect():e,c=d0(s)?s.targetTouches[0]:s,d=this._getViewportScrollPosition(),h=c.pageX-o.left-d.left,m=c.pageY-o.top-d.top;return{x:o.left-e.left+h,y:o.top-e.top+m}}_getPointerPositionOnPage(e){const t=this._getViewportScrollPosition(),s=d0(e)?e.touches[0]||e.changedTouches[0]||{pageX:0,pageY:0}:e,r=s.pageX-t.left,o=s.pageY-t.top;if(this._ownerSVGElement){const c=this._ownerSVGElement.getScreenCTM();if(c){const d=this._ownerSVGElement.createSVGPoint();return d.x=r,d.y=o,d.matrixTransform(c.inverse())}}return{x:r,y:o}}_getConstrainedPointerPosition(e){const t=this._dropContainer?this._dropContainer.lockAxis:null;let{x:s,y:r}=this.constrainPosition?this.constrainPosition(e,this,this._initialDomRect,this._pickupPositionInElement):e;if("x"===this.lockAxis||"x"===t?r=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):("y"===this.lockAxis||"y"===t)&&(s=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){const{x:o,y:c}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,d=this._boundaryRect,{width:h,height:m}=this._getPreviewRect(),g=d.top+c,S=d.bottom-(m-c);s=w6(s,d.left+o,d.right-(h-o)),r=w6(r,g,S)}return{x:s,y:r}}_updatePointerDirectionDelta(e){const{x:t,y:s}=e,r=this._pointerDirectionDelta,o=this._pointerPositionAtLastDirectionChange,c=Math.abs(t-o.x),d=Math.abs(s-o.y);return c>this._config.pointerDirectionChangeThreshold&&(r.x=t>o.x?1:-1,o.x=t),d>this._config.pointerDirectionChangeThreshold&&(r.y=s>o.y?1:-1,o.y=s),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,zb(this._rootElement,e))}_removeRootElementListeners(e){e.removeEventListener("mousedown",this._pointerDown,LA),e.removeEventListener("touchstart",this._pointerDown,y6),e.removeEventListener("dragstart",this._nativeDragStart,LA)}_applyRootElementTransform(e,t){const s=AA(e,t),r=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=r.transform&&"none"!=r.transform?r.transform:""),r.transform=IA(s,this._initialTransform)}_applyPreviewTransform(e,t){const s=this._previewTemplate?.template?void 0:this._initialTransform,r=AA(e,t);this._preview.setTransform(IA(r,s))}_getDragDistance(e){const t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:e,y:t}=this._passiveTransform;if(0===e&&0===t||this.isDragging()||!this._boundaryElement)return;const s=this._rootElement.getBoundingClientRect(),r=this._boundaryElement.getBoundingClientRect();if(0===r.width&&0===r.height||0===s.width&&0===s.height)return;const o=r.left-s.left,c=s.right-r.right,d=r.top-s.top,h=s.bottom-r.bottom;r.width>s.width?(o>0&&(e+=o),c>0&&(e-=c)):e=0,r.height>s.height?(d>0&&(t+=d),h>0&&(t-=h)):t=0,(e!==this._passiveTransform.x||t!==this._passiveTransform.y)&&this.setFreeDragPosition({y:t,x:e})}_getDragStartDelay(e){const t=this.dragStartDelay;return"number"==typeof t?t:d0(e)?t.touch:t?t.mouse:0}_updateOnScroll(e){const t=this._parentPositions.handleScroll(e);if(t){const s=ah(e);this._boundaryRect&&s!==this._boundaryElement&&s.contains(this._boundaryElement)&&u0(this._boundaryRect,t.top,t.left),this._pickupPositionOnPage.x+=t.left,this._pickupPositionOnPage.y+=t.top,this._dropContainer||(this._activeTransform.x-=t.left,this._activeTransform.y-=t.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=bB(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(e,t){const s=this._previewContainer||"global";if("parent"===s)return e;if("global"===s){const r=this._document;return t||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return Lr(s)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_getTargetHandle(e){return this._handles.find(t=>e.target&&(e.target===t||t.contains(e.target)))}}function w6(n,e,t){return Math.max(e,Math.min(t,n))}function d0(n){return"t"===n.type[0]}function S6(n){n.preventDefault()}function D6(n,e,t){const s=h0(e,n.length-1),r=h0(t,n.length-1);if(s===r)return;const o=n[s],c=r0)return null;const d="horizontal"===this.orientation,h=o.findIndex(z=>z.drag===e),m=o[c],g=o[h].clientRect,S=m.clientRect,T=h>c?1:-1,I=this._getItemOffsetPx(g,S,T),P=this._getSiblingOffsetPx(h,o,T),Y=o.slice();return D6(o,h,c),o.forEach((z,Q)=>{if(Y[Q]===z)return;const q=z.drag===e,oe=q?I:P,fe=q?e.getPlaceholderElement():z.drag.getRootElement();z.offset+=oe,d?(fe.style.transform=IA(`translate3d(${Math.round(z.offset)}px, 0, 0)`,z.initialTransform),u0(z.clientRect,0,oe)):(fe.style.transform=IA(`translate3d(0, ${Math.round(z.offset)}px, 0)`,z.initialTransform),u0(z.clientRect,oe,0))}),this._previousSwap.overlaps=IB(S,t,s),this._previousSwap.drag=m.drag,this._previousSwap.delta=d?r.x:r.y,{previousIndex:h,currentIndex:c}}enter(e,t,s,r){const o=null==r||r<0?this._getItemIndexFromPointerPosition(e,t,s):r,c=this._activeDraggables,d=c.indexOf(e),h=e.getPlaceholderElement();let m=c[o];if(m===e&&(m=c[o+1]),!m&&(null==o||-1===o||o-1&&c.splice(d,1),m&&!this._dragDropRegistry.isDragging(m)){const g=m.getRootElement();g.parentElement.insertBefore(h,g),c.splice(o,0,e)}else Lr(this._element).appendChild(h),c.push(e);h.style.transform="",this._cacheItemPositions()}withItems(e){this._activeDraggables=e.slice(),this._cacheItemPositions()}withSortPredicate(e){this._sortPredicate=e}reset(){this._activeDraggables.forEach(e=>{const t=e.getRootElement();if(t){const s=this._itemPositions.find(r=>r.drag===e)?.initialTransform;t.style.transform=s||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(e){return("horizontal"===this.orientation&&"rtl"===this.direction?this._itemPositions.slice().reverse():this._itemPositions).findIndex(s=>s.drag===e)}updateOnScroll(e,t){this._itemPositions.forEach(({clientRect:s})=>{u0(s,e,t)}),this._itemPositions.forEach(({drag:s})=>{this._dragDropRegistry.isDragging(s)&&s._sortFromLastPointerPosition()})}_cacheItemPositions(){const e="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(t=>{const s=t.getVisibleElement();return{drag:t,offset:0,initialTransform:s.style.transform||"",clientRect:TB(s)}}).sort((t,s)=>e?t.clientRect.left-s.clientRect.left:t.clientRect.top-s.clientRect.top)}_getItemOffsetPx(e,t,s){const r="horizontal"===this.orientation;let o=r?t.left-e.left:t.top-e.top;return-1===s&&(o+=r?t.width-e.width:t.height-e.height),o}_getSiblingOffsetPx(e,t,s){const r="horizontal"===this.orientation,o=t[e].clientRect,c=t[e+-1*s];let d=o[r?"width":"height"]*s;if(c){const h=r?"left":"top",m=r?"right":"bottom";-1===s?d-=c.clientRect[h]-o[m]:d+=o[h]-c.clientRect[m]}return d}_shouldEnterAsFirstChild(e,t){if(!this._activeDraggables.length)return!1;const s=this._itemPositions,r="horizontal"===this.orientation;if(s[0].drag!==this._activeDraggables[0]){const c=s[s.length-1].clientRect;return r?e>=c.right:t>=c.bottom}{const c=s[0].clientRect;return r?e<=c.left:t<=c.top}}_getItemIndexFromPointerPosition(e,t,s,r){const o="horizontal"===this.orientation,c=this._itemPositions.findIndex(({drag:d,clientRect:h})=>{if(d===e)return!1;if(r){const m=o?r.x:r.y;if(d===this._previousSwap.drag&&this._previousSwap.overlaps&&m===this._previousSwap.delta)return!1}return o?t>=Math.floor(h.left)&&t=Math.floor(h.top)&&s!0,this.sortPredicate=()=>!0,this.beforeStarted=new ht,this.entered=new ht,this.exited=new ht,this.dropped=new ht,this.sorted=new ht,this.receivingStarted=new ht,this.receivingStopped=new ht,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=Dt.EMPTY,this._verticalScrollDirection=Fa.NONE,this._horizontalScrollDirection=mo.NONE,this._stopScrollTimers=new ht,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function pae(n=0,e=zM){return(!mB(n)||n<0)&&(n=0),(!e||"function"!=typeof e.schedule)&&(e=zM),new Lt(t=>(t.add(e.schedule(fae,n,{subscriber:t,counter:0,period:n})),t))}(0,Y$).pipe(bl(this._stopScrollTimers)).subscribe(()=>{const c=this._scrollNode,d=this.autoScrollStep;this._verticalScrollDirection===Fa.UP?c.scrollBy(0,-d):this._verticalScrollDirection===Fa.DOWN&&c.scrollBy(0,d),this._horizontalScrollDirection===mo.LEFT?c.scrollBy(-d,0):this._horizontalScrollDirection===mo.RIGHT&&c.scrollBy(d,0)})},this.element=Lr(e),this._document=s,this.withScrollableParents([this.element]),t.registerDropContainer(this),this._parentPositions=new d6(s),this._sortStrategy=new Sae(this.element,t),this._sortStrategy.withSortPredicate((c,d)=>this.sortPredicate(c,d,this))}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this.receivingStarted.complete(),this.receivingStopped.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){this._draggingStarted(),this._notifyReceivingSiblings()}enter(e,t,s,r){this._draggingStarted(),null==r&&this.sortingDisabled&&(r=this._draggables.indexOf(e)),this._sortStrategy.enter(e,t,s,r),this._cacheParentPositions(),this._notifyReceivingSiblings(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}exit(e){this._reset(),this.exited.next({item:e,container:this})}drop(e,t,s,r,o,c,d,h={}){this._reset(),this.dropped.next({item:e,currentIndex:t,previousIndex:s,container:this,previousContainer:r,isPointerOverContainer:o,distance:c,dropPoint:d,event:h})}withItems(e){const t=this._draggables;return this._draggables=e,e.forEach(s=>s._withDropContainer(this)),this.isDragging()&&(t.filter(r=>r.isDragging()).every(r=>-1===e.indexOf(r))?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(e){return this._sortStrategy.direction=e,this}connectedTo(e){return this._siblings=e.slice(),this}withOrientation(e){return this._sortStrategy.orientation=e,this}withScrollableParents(e){const t=Lr(this.element);return this._scrollableElements=-1===e.indexOf(t)?[t,...e]:e.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(e){return this._isDragging?this._sortStrategy.getItemIndex(e):this._draggables.indexOf(e)}isReceiving(){return this._activeSiblings.size>0}_sortItem(e,t,s,r){if(this.sortingDisabled||!this._domRect||!u6(this._domRect,.05,t,s))return;const o=this._sortStrategy.sort(e,t,s,r);o&&this.sorted.next({previousIndex:o.previousIndex,currentIndex:o.currentIndex,container:this,item:e})}_startScrollingIfNecessary(e,t){if(this.autoScrollDisabled)return;let s,r=Fa.NONE,o=mo.NONE;if(this._parentPositions.positions.forEach((c,d)=>{d===this._document||!c.clientRect||s||u6(c.clientRect,.05,e,t)&&([r,o]=function Cae(n,e,t,s,r){const o=E6(e,r),c=x6(e,s);let d=Fa.NONE,h=mo.NONE;if(o){const m=n.scrollTop;o===Fa.UP?m>0&&(d=Fa.UP):n.scrollHeight-m>n.clientHeight&&(d=Fa.DOWN)}if(c){const m=n.scrollLeft;"rtl"===t?c===mo.RIGHT?m<0&&(h=mo.RIGHT):n.scrollWidth+m>n.clientWidth&&(h=mo.LEFT):c===mo.LEFT?m>0&&(h=mo.LEFT):n.scrollWidth-m>n.clientWidth&&(h=mo.RIGHT)}return[d,h]}(d,c.clientRect,this._sortStrategy.direction,e,t),(r||o)&&(s=d))}),!r&&!o){const{width:c,height:d}=this._viewportRuler.getViewportSize(),h={width:c,height:d,top:0,right:c,bottom:d,left:0};r=E6(h,t),o=x6(h,e),s=window}s&&(r!==this._verticalScrollDirection||o!==this._horizontalScrollDirection||s!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=o,this._scrollNode=s,(r||o)&&s?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){const e=Lr(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){const e=Lr(this.element);this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(e).clientRect}_reset(){this._isDragging=!1;const e=Lr(this.element).style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(t=>t._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(e,t){return null!=this._domRect&&IB(this._domRect,e,t)}_getSiblingContainerFromPosition(e,t,s){return this._siblings.find(r=>r._canReceive(e,t,s))}_canReceive(e,t,s){if(!this._domRect||!IB(this._domRect,t,s)||!this.enterPredicate(e,this))return!1;const r=this._getShadowRoot().elementFromPoint(t,s);if(!r)return!1;const o=Lr(this.element);return r===o||o.contains(r)}_startReceiving(e,t){const s=this._activeSiblings;!s.has(e)&&t.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(s.add(e),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:e,receiver:this,items:t}))}_stopReceiving(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:e,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(e=>{if(this.isDragging()){const t=this._parentPositions.handleScroll(e);t&&this._sortStrategy.updateOnScroll(t.top,t.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const e=bB(Lr(this.element));this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){const e=this._sortStrategy.getActiveItemsSnapshot().filter(t=>t.isDragging());this._siblings.forEach(t=>t._startReceiving(this,e))}}function E6(n,e){const{top:t,bottom:s,height:r}=n,o=r*M6;return e>=t-o&&e<=t+o?Fa.UP:e>=s-o&&e<=s+o?Fa.DOWN:Fa.NONE}function x6(n,e){const{left:t,right:s,width:r}=n,o=r*M6;return e>=t-o&&e<=t+o?mo.LEFT:e>=s-o&&e<=s+o?mo.RIGHT:mo.NONE}const PA=Rb({passive:!1,capture:!0}),RA=new Set;class OA{static#e=this.\u0275fac=function(t){return new(t||OA)};static#t=this.\u0275cmp=Vl({type:OA,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],standalone:!0,features:[b1],decls:0,vars:0,template:function(t,s){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit}}"],encapsulation:2,changeDetection:0})}class p0{constructor(e,t){this._ngZone=e,this._appRef=me(Oo),this._environmentInjector=me(Ot),this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=[],this._globalListeners=new Map,this._draggingPredicate=s=>s.isDragging(),this.pointerMove=new ht,this.pointerUp=new ht,this.scroll=new ht,this._preventDefaultWhileDragging=s=>{this._activeDragInstances.length>0&&s.preventDefault()},this._persistentTouchmoveListener=s=>{this._activeDragInstances.length>0&&(this._activeDragInstances.some(this._draggingPredicate)&&s.preventDefault(),this.pointerMove.next(s))},this._document=t}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,PA)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,PA)}startDragging(e,t){if(!(this._activeDragInstances.indexOf(e)>-1)&&(this._loadResets(),this._activeDragInstances.push(e),1===this._activeDragInstances.length)){const s=t.type.startsWith("touch");this._globalListeners.set(s?"touchend":"mouseup",{handler:r=>this.pointerUp.next(r),options:!0}).set("scroll",{handler:r=>this.scroll.next(r),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:PA}),s||this._globalListeners.set("mousemove",{handler:r=>this.pointerMove.next(r),options:PA}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((r,o)=>{this._document.addEventListener(o,r.handler,r.options)})})}}stopDragging(e){const t=this._activeDragInstances.indexOf(e);t>-1&&(this._activeDragInstances.splice(t,1),0===this._activeDragInstances.length&&this._clearGlobalListeners())}isDragging(e){return this._activeDragInstances.indexOf(e)>-1}scrolled(e){const t=[this.scroll];return e&&e!==this._document&&t.push(new Lt(s=>this._ngZone.runOutsideAngular(()=>{const o=c=>{this._activeDragInstances.length&&s.next(c)};return e.addEventListener("scroll",o,!0),()=>{e.removeEventListener("scroll",o,!0)}}))),xB(...t)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,t)=>{this._document.removeEventListener(t,e.handler,e.options)}),this._globalListeners.clear()}_loadResets(){if(!RA.has(this._appRef)){RA.add(this._appRef);const e=function tQ(n,e){const t=rn(n),s=e.elementInjector||Rt();return new Qm(t).create(s,e.projectableNodes,e.hostElement,e.environmentInjector)}(OA,{environmentInjector:this._environmentInjector});this._appRef.onDestroy(()=>{RA.delete(this._appRef),0===RA.size&&e.destroy()})}}static#e=this.\u0275fac=function(t){return new(t||p0)(we(_t),we(Pn))};static#t=this.\u0275prov=Ae({token:p0,factory:p0.\u0275fac,providedIn:"root"})}const Mae={dragStartThreshold:5,pointerDirectionChangeThreshold:5};class c_{constructor(e,t,s,r){this._document=e,this._ngZone=t,this._viewportRuler=s,this._dragDropRegistry=r}createDrag(e,t=Mae){return new bae(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new Dae(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static#e=this.\u0275fac=function(t){return new(t||c_)(we(Pn),we(_t),we(Fb),we(p0))};static#t=this.\u0275prov=Ae({token:c_,factory:c_.\u0275fac,providedIn:"root"})}const f0=new Re("CDK_DRAG_PARENT");const k6=new Re("CdkDragHandle");class u_{get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._stateChanges.next(this)}constructor(e,t){this.element=e,this._parentDrag=t,this._stateChanges=new ht,this._disabled=!1,t?._addHandle(this)}ngOnDestroy(){this._parentDrag?._removeHandle(this),this._stateChanges.complete()}static#e=this.\u0275fac=function(t){return new(t||u_)(ce(pn),ce(f0,12))};static#t=this.\u0275dir=Ze({type:u_,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[2,"cdkDragHandleDisabled","disabled",$i]},standalone:!0,features:[Yn([{provide:k6,useExisting:u_}]),Pa]})}const LB=new Re("CDK_DRAG_CONFIG"),T6=new Re("CdkDropList");class Cc{static#e=this._dragInstances=[];get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=e,this._dragRef.disabled=this._disabled}constructor(e,t,s,r,o,c,d,h,m,g,S){this.element=e,this.dropContainer=t,this._ngZone=r,this._viewContainerRef=o,this._dir=d,this._changeDetectorRef=m,this._selfHandle=g,this._parentDrag=S,this._destroyed=new ht,this._handles=new Ys([]),this.started=new Le,this.released=new Le,this.ended=new Le,this.entered=new Le,this.exited=new Le,this.dropped=new Le,this.moved=new Lt(T=>{const I=this._dragRef.moved.pipe(zt(P=>({source:this,pointerPosition:P.pointerPosition,event:P.event,delta:P.delta,distance:P.distance}))).subscribe(T);return()=>{I.unsubscribe()}}),this._dragRef=h.createDrag(e,{dragStartThreshold:c&&null!=c.dragStartThreshold?c.dragStartThreshold:5,pointerDirectionChangeThreshold:c&&null!=c.pointerDirectionChangeThreshold?c.pointerDirectionChangeThreshold:5,zIndex:c?.zIndex}),this._dragRef.data=this,Cc._dragInstances.push(this),c&&this._assignDefaults(c),t&&(this._dragRef._withDropContainer(t._dropListRef),t.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e)}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Ii(1),bl(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._setupHandlesListener(),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})})}ngOnChanges(e){const t=e.rootElementSelector,s=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),s&&!s.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);const e=Cc._dragInstances.indexOf(this);e>-1&&Cc._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(e){const t=this._handles.getValue();t.push(e),this._handles.next(t)}_removeHandle(e){const t=this._handles.getValue(),s=t.indexOf(e);s>-1&&(t.splice(s,1),this._handles.next(t))}_setPreviewTemplate(e){this._previewTemplate=e}_resetPreviewTemplate(e){e===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(e){this._placeholderTemplate=e}_resetPlaceholderTemplate(e){e===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){const e=this.element.nativeElement;let t=e;this.rootElementSelector&&(t=void 0!==e.closest?e.closest(this.rootElementSelector):e.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(t||e)}_getBoundaryElement(){const e=this.boundaryElement;return e?"string"==typeof e?this.element.nativeElement.closest(e):Lr(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const t=this._dir,s=this.dragStartDelay,r=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,o=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof s&&s?s:s_(s),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(o).withPreviewContainer(this.previewContainer||"global"),t&&e.withDirection(t.value)}}),e.beforeStarted.pipe(Ii(1)).subscribe(()=>{if(this._parentDrag)return void e.withParent(this._parentDrag._dragRef);let t=this.element.nativeElement.parentElement;for(;t;){if(t.classList.contains("cdk-drag")){e.withParent(Cc._dragInstances.find(s=>s.element.nativeElement===t)?._dragRef||null);break}t=t.parentElement}})}_handleEvents(e){e.started.subscribe(t=>{this.started.emit({source:this,event:t.event}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(t=>{this.released.emit({source:this,event:t.event})}),e.ended.subscribe(t=>{this.ended.emit({source:this,distance:t.distance,dropPoint:t.dropPoint,event:t.event}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(t=>{this.entered.emit({container:t.container.data,item:this,currentIndex:t.currentIndex})}),e.exited.subscribe(t=>{this.exited.emit({container:t.container.data,item:this})}),e.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,isPointerOverContainer:t.isPointerOverContainer,item:this,distance:t.distance,dropPoint:t.dropPoint,event:t.event})})}_assignDefaults(e){const{lockAxis:t,dragStartDelay:s,constrainPosition:r,previewClass:o,boundaryElement:c,draggingDisabled:d,rootElementSelector:h,previewContainer:m}=e;this.disabled=d??!1,this.dragStartDelay=s||0,t&&(this.lockAxis=t),r&&(this.constrainPosition=r),o&&(this.previewClass=o),c&&(this.boundaryElement=c),h&&(this.rootElementSelector=h),m&&(this.previewContainer=m)}_setupHandlesListener(){this._handles.pipe(Us(e=>{const t=e.map(s=>s.element);this._selfHandle&&this.rootElementSelector&&t.push(this.element),this._dragRef.withHandles(t)}),pa(e=>xB(...e.map(t=>t._stateChanges.pipe(mb(t))))),bl(this._destroyed)).subscribe(e=>{const t=this._dragRef,s=e.element.nativeElement;e.disabled?t.disableHandle(s):t.enableHandle(s)})}static#t=this.\u0275fac=function(t){return new(t||Cc)(ce(pn),ce(T6,12),ce(Pn),ce(_t),ce(xr),ce(LB,8),ce(Sl,8),ce(c_),ce(gl),ce(k6,10),ce(f0,12))};static#n=this.\u0275dir=Ze({type:Cc,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,s){2&t&&fg("cdk-drag-disabled",s.disabled)("cdk-drag-dragging",s._dragRef.isDragging())},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",$i],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[Yn([{provide:f0,useExisting:Cc}]),Pa,vs]})}const PB=new Re("CdkDropListGroup");class d_{constructor(){this._items=new Set,this.disabled=!1}ngOnDestroy(){this._items.clear()}static#e=this.\u0275fac=function(t){return new(t||d_)};static#t=this.\u0275dir=Ze({type:d_,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:[2,"cdkDropListGroupDisabled","disabled",$i]},exportAs:["cdkDropListGroup"],standalone:!0,features:[Yn([{provide:PB,useExisting:d_}]),Pa]})}let xae=0;class Mc{static#e=this._dropLists=[];get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=e}constructor(e,t,s,r,o,c,d){this.element=e,this._changeDetectorRef=s,this._scrollDispatcher=r,this._dir=o,this._group=c,this._destroyed=new ht,this.connectedTo=[],this.id="cdk-drop-list-"+xae++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new Le,this.entered=new Le,this.exited=new Le,this.sorted=new Le,this._unsortedItems=new Set,this._dropListRef=t.createDropList(e),this._dropListRef.data=this,d&&this._assignDefaults(d),this._dropListRef.enterPredicate=(h,m)=>this.enterPredicate(h.data,m.data),this._dropListRef.sortPredicate=(h,m,g)=>this.sortPredicate(h,m.data,g.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),Mc._dropLists.push(this),c&&c._items.add(this)}addItem(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((e,t)=>e._dragRef.getVisibleElement().compareDocumentPosition(t._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=Mc._dropLists.indexOf(this);e>-1&&Mc._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(mb(this._dir.value),bl(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const t=fB(this.connectedTo).map(s=>{if("string"==typeof s){return Mc._dropLists.find(o=>o.id===s)}return s});if(this._group&&this._group._items.forEach(s=>{-1===t.indexOf(s)&&t.push(s)}),!this._scrollableParentsResolved){const s=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(r=>r.getElementRef().nativeElement);this._dropListRef.withScrollableParents(s),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=this.sortingDisabled,e.autoScrollDisabled=this.autoScrollDisabled,e.autoScrollStep=s_(this.autoScrollStep,2),e.connectedTo(t.filter(s=>s&&s!==this).map(s=>s._dropListRef)).withOrientation(this.orientation)})}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(t=>{this.entered.emit({container:this,item:t.item.data,currentIndex:t.currentIndex})}),e.exited.subscribe(t=>{this.exited.emit({container:this,item:t.item.data}),this._changeDetectorRef.markForCheck()}),e.sorted.subscribe(t=>{this.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:this,item:t.item.data})}),e.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,item:t.item.data,isPointerOverContainer:t.isPointerOverContainer,distance:t.distance,dropPoint:t.dropPoint,event:t.event}),this._changeDetectorRef.markForCheck()}),xB(e.receivingStarted,e.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(e){const{lockAxis:t,draggingDisabled:s,sortingDisabled:r,listAutoScrollDisabled:o,listOrientation:c}=e;this.disabled=s??!1,this.sortingDisabled=r??!1,this.autoScrollDisabled=o??!1,this.orientation=c||"vertical",t&&(this.lockAxis=t)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(e=>e._dragRef))}static#t=this.\u0275fac=function(t){return new(t||Mc)(ce(pn),ce(c_),ce(gl),ce(Iu),ce(Sl,8),ce(PB,12),ce(LB,8))};static#n=this.\u0275dir=Ze({type:Mc,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,s){2&t&&(ca("id",s.id),fg("cdk-drop-list-disabled",s.disabled)("cdk-drop-list-dragging",s._dropListRef.isDragging())("cdk-drop-list-receiving",s._dropListRef.isReceiving()))},inputs:{connectedTo:[0,"cdkDropListConnectedTo","connectedTo"],data:[0,"cdkDropListData","data"],orientation:[0,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[0,"cdkDropListLockAxis","lockAxis"],disabled:[2,"cdkDropListDisabled","disabled",$i],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",$i],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",$i],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],standalone:!0,features:[Yn([{provide:PB,useValue:void 0},{provide:T6,useExisting:Mc}]),Pa]})}const kae=new Re("CdkDragPreview");class h_{constructor(e){this.templateRef=e,this._drag=me(f0,{optional:!0}),this.matchSize=!1,this._drag?._setPreviewTemplate(this)}ngOnDestroy(){this._drag?._resetPreviewTemplate(this)}static#e=this.\u0275fac=function(t){return new(t||h_)(ce(dr))};static#t=this.\u0275dir=Ze({type:h_,selectors:[["ng-template","cdkDragPreview",""]],inputs:{data:"data",matchSize:[2,"matchSize","matchSize",$i]},standalone:!0,features:[Yn([{provide:kae,useExisting:h_}]),Pa]})}const Tae=new Re("CdkDragPlaceholder");class p_{constructor(e){this.templateRef=e,this._drag=me(f0,{optional:!0}),this._drag?._setPlaceholderTemplate(this)}ngOnDestroy(){this._drag?._resetPlaceholderTemplate(this)}static#e=this.\u0275fac=function(t){return new(t||p_)(ce(dr))};static#t=this.\u0275dir=Ze({type:p_,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},standalone:!0,features:[Yn([{provide:Tae,useExisting:p_}])]})}class NA{static#e=this.\u0275fac=function(t){return new(t||NA)};static#t=this.\u0275mod=Qn({type:NA,imports:[Mc,d_,Cc,u_,h_,p_],exports:[ch,Mc,d_,Cc,u_,h_,p_]});static#n=this.\u0275inj=es({providers:[c_],imports:[ch]})}let m0=class{constructor(e,t){this.renderer=e,this.el=t,this.positionError={x:-5,y:0},this.getMenuItems=new Le,this.visible=!1,this.position={x:0,y:0}}ngAfterViewInit(){this.renderer.listen("body","click",e=>{this.hide()})}onClick(e){e&&e(this.target)}show(e,t){this.getMenuItems.emit(t),this.visible=!0,this.target=t,this.calculatePosition(e)}hide(){this.visible=!1}calculatePosition(e){let t=this.el.nativeElement.getBoundingClientRect();this.position.x=e.pageX-(t.left+window.pageXOffset-document.documentElement.clientLeft)+this.positionError.x,this.position.y=e.pageY-(t.top+window.pageYOffset-document.documentElement.clientTop)+this.positionError.y}static#e=this.ctorParameters=()=>[{type:Ui},{type:pn}];static#t=this.propDecorators={menuItems:[{type:G}],positionError:[{type:G}],getMenuItems:[{type:nt}]}};m0=be([Ke({selector:"ue-context-menu",template:''})],m0);let g0=class{constructor(e){this.el=e}onContextMenu(e){e.preventDefault(),this.ueContextMenu.show(e,this.ueContextMenuSubject)}static#e=this.ctorParameters=()=>[{type:pn}];static#t=this.propDecorators={ueContextMenu:[{type:G}],ueContextMenuSubject:[{type:G}],onContextMenu:[{type:ml,args:["contextmenu",["$event"]]}]}};g0=be([fl({selector:"[ueContextMenu]"})],g0);let _0=class{};_0=be([fi({imports:[ha],declarations:[m0,g0],exports:[m0,g0]})],_0);var Lae=x(3481),Pae=x.n(Lae);let mi=class{constructor(){}ngOnInit(){}closeAlert(){delete this.alert}newAlert(e,t,s){this.alert={},this.alert.title=e,this.alert.message=t,this.alert.contextClass=s}setErrorAlert(e){let t,s,r;switch(e.errorcode){case 400:case 401:case 403:case 404:case 405:case 409:case 451:case 429:t="Warning!",r="warning",s=e.error;break;case 500:t="Error!",r="danger",s=e.error;break;default:t="Error!",r="danger",s="Unable to parse error, please contact support"}this.newAlert(t,s,r)}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={alert:[{type:G}]}};mi=be([Ke({selector:"ue-alert",template:'
\n\t\n\t\n\t{{alert.title}}:\n\t\n\t\n\t\n\t{{alert.message}}\n\n
',styles:[Pae()]})],mi);let FA=class{};FA=be([fi({imports:[ha],declarations:[mi],exports:[mi]})],FA);var Rae=x(4180),Oae=x.n(Rae);let YA=class{constructor(){this.type="button",this.onClick=new Le}ngOnInit(){}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={btnClass:[{type:G}],icon:[{type:G}],type:[{type:G}],disabled:[{type:G}],noLabel:[{type:G}],onClick:[{type:nt}]}};YA=be([Ke({selector:"ue-button",template:'\n\t\n\t\n\t',styles:[Oae()]})],YA);var Nae=x(1954),Fae=x.n(Nae);let y0=class{constructor(){this.onToggle=new Le}toggle(e){this.disabled||(this.isChecked=e,this._onChange&&this._onChange(e),this.onToggle.emit(e))}setCustomPosition(){return"centered"===this.customPosition?"centered":""}writeValue(e){this.isChecked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(){}setDisabledState(e){this.disabled=e}static#e=this.propDecorators={customPosition:[{type:G,args:["customPosition"]}],readonly:[{type:G}],onToggle:[{type:nt}],isChecked:[{type:G}],reqDifferent:[{type:G}],label:[{type:G,args:["label"]}]}};y0=be([Ke({selector:"ue-checkbox",template:'\n\t\t
\n\t\t\t\n\t\t\t\n\t\t
\n\t',providers:[{provide:Ar,multi:!0,useExisting:y0}],styles:[Fae()]})],y0);let BA=class{constructor(e){this.viewContainer=e}ngOnInit(){this.viewContainer.createEmbeddedView(this.externalTemplate,{$implicit:this.item})}static#e=this.ctorParameters=()=>[{type:xr}];static#t=this.propDecorators={item:[{type:G}],externalTemplate:[{type:G}]}};BA=be([fl({selector:"[ueTemplateWrapper]"})],BA);let v0=class{};v0=be([fi({imports:[ha],declarations:[YA,y0,BA],exports:[YA,y0,BA]})],v0);var Bae=x(4946),jae=x.n(Bae);let b0=class{constructor(e){this.template=e}getType(){return this.type?this.type:this.name}static#e=this.ctorParameters=()=>[{type:dr}];static#t=this.propDecorators={type:[{type:G}],name:[{type:G,args:["ueTemplate"]}]}};b0=be([fl({selector:"[ueTemplate]"})],b0);let w0=class{constructor(){}ngOnInit(){this.sortField||(this.sortField=this.field),this.clickable="false"!==this.clickable}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"header":this.headerTemplate=e.template;break;case"body":default:this.bodyTemplate=e.template;break;case"footer":this.footerTemplate=e.template;break;case"filter":this.filterTemplate=e.template;break;case"editor":this.editorTemplate=e.template}})}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={header:[{type:G}],field:[{type:G}],sortField:[{type:G}],clickable:[{type:G}],colStyle:[{type:G}],templates:[{type:KD,args:[b0]}],template:[{type:Mp,args:[dr,{static:!0}]}]}};w0=be([Ke({selector:"ue-column",template:""})],w0);let jA=class{constructor(e){this.viewContainer=e}ngOnInit(){this.viewContainer.createEmbeddedView(this.column.bodyTemplate,{$implicit:this.column,rowData:this.rowData,rowIndex:this.rowIndex})}static#e=this.ctorParameters=()=>[{type:xr}];static#t=this.propDecorators={column:[{type:G}],rowData:[{type:G}],rowIndex:[{type:G}]}};jA=be([Ke({selector:"ue-columnBodyTemplateLoader",template:""})],jA);let Mf=class{constructor(){this.sort=new Le,this.onRowSelect=new Le,this.updateCheckedRows=new Le}ngOnChanges(e){e.selectedColumns&&e.selectedColumns.previousValue&&this.cols&&this.updateColsToRender(),e.value&&this.updateDataToRender(e.value.currentValue)}ngAfterContentInit(){this.updateColsToRender()}updateColsToRender(){this.colsToRender=[];const e=this.cols.toArray();this.selectedColumns?this.selectedColumns.forEach(t=>{if(!t)return;const s=e.filter(function(r){return r.field===t});this.colsToRender.push(s[0])}):this.colsToRender=e}updateDataToRender(e){this.dataToRender=e}resolveFieldData(e,t){if(e&&t){if(-1==t.indexOf("."))return e[t];{const s=t.split(".");let r=e;for(let o=0,c=s.length;ot):[],this.updateCheckedRows.emit(this.checkedRows))}isRowChecked(e){if(this.checkedRows)return-1!==this.checkedRows.indexOf(e)}areAllRowsChecked(){if(this.checkedRows)return this.value.length===this.checkedRows.length&&this.checkedRows.length>0}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={selectedColumns:[{type:G}],value:[{type:G}],checkedRows:[{type:G}],sortField:[{type:G}],sortDir:[{type:G}],menuItemsSelected:[{type:G}],menuItemsAll:[{type:G}],contextMenuRef:[{type:G}],gettingData:[{type:G}],message:[{type:G}],highlightIndexArray:[{type:G}],sort:[{type:nt}],onRowSelect:[{type:nt}],updateCheckedRows:[{type:nt}],cols:[{type:KD,args:[w0]}]}};Mf=be([Ke({selector:"ue-table",template:'
\n\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\n
\n',styles:[jae()]})],Mf);let VA=class{constructor(e){this.dt=e}ngOnInit(){this.getNoDataMessage()}getNoDataMessage(){this.dt.message?this.message=this.dt.message:this.message="No Data Found"}requestHighlight(e){if(void 0!==this.highlightIndexArray&&-1!==this.highlightIndexArray.indexOf(e))return!0}static#e=this.ctorParameters=()=>[{type:Mf,decorators:[{type:qa,args:[It(()=>Mf)]}]}];static#t=this.propDecorators={columns:[{type:G,args:["ueTableBody"]}],highlightIndexArray:[{type:G}]}};VA=be([Ke({selector:"tbody.ueTableBody",template:'\n\t\x3c!-- with context menu --\x3e\n\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t{{dt.resolveFieldData(rowData, col.field)}}\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\n\t\x3c!-- without context menu --\x3e\n\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t{{dt.resolveFieldData(rowData, col.field)}}\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\n\n\n\t\n\t\t
\n\t\t\t\n\t\t\tInfo! \n\t\t\tNo data found\n\t\t\tGetting data\n\t\t
\n\t\n\n'})],VA);let HA=class{constructor(e){this.dt=e}static#e=this.ctorParameters=()=>[{type:Mf,decorators:[{type:qa,args:[It(()=>Mf)]}]}];static#t=this.propDecorators={columns:[{type:G,args:["ueColumnHeaders"]}]}};HA=be([Ke({selector:"tr.ueColumnHeaders",template:'\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t{{col.header}}\n\t\t\t\n\t\t\t\n\t\t\t\t{{col.header}}\n\t\t\t\n\t\t\n\t'})],HA);var Uae=x(7859),$ae=x.n(Uae);let RB=class{constructor(e){this.renderer=e,this.selectAllRows=new Le,this.isChecked=!1,this.panelOpen=!1}ngOnInit(){}ngOnDestroy(){this.unbindDocumentClickListener()}toggle(e){this.isChecked="boolean"==typeof e?e:!this.isChecked,this.selectAllRows.emit(this.isChecked)}show(){this.panelOpen=!0,this.bindDocumentClickListener()}hide(){this.panelOpen=!1}onClick(e){this.itemClick=!0,e&&e(),this.hide()}onMouseClick(){this.selfClick=!0,this.itemClick||(this.panelOpen?this.hide():this.show())}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen("body","click",()=>{!this.selfClick&&!this.itemClick&&(this.hide(),this.unbindDocumentClickListener()),this.selfClick=!1,this.itemClick=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}static#e=this.ctorParameters=()=>[{type:Ui}];static#t=this.propDecorators={menuItemsSelected:[{type:G}],menuItemsAll:[{type:G}],selectAllRows:[{type:nt}],isChecked:[{type:G}]}};RB=be([Ke({selector:"ue-table-dropdown",template:'
\n\t\n\t\n\t\n
',styles:[$ae()]})],RB);let UA=class{};UA=be([fi({imports:[ha,_0,v0],declarations:[Mf,VA,b0,w0,jA,HA,RB],exports:[Mf,VA,b0,w0,jA,HA,m0,g0]})],UA);let $A=class{constructor(e){this.elementRef=e}ngAfterViewInit(){setTimeout(()=>{this.elementRef.nativeElement.focus()},100)}static#e=this.ctorParameters=()=>[{type:pn}]};$A=be([fl({selector:"[ueFocusMe]"})],$A);var Et=x(7586);let zA=class{transform(e,t){let s=e;return"0000-00-00 00:00:00"===e?"-":(Et&&(s=e?Et(e,"YYYY-MM-DD HH:mm:ss").format(t):"-"),s)}};zA=be([Sv({name:"ueDate"})],zA);var zae=x(7734),S0=x.n(zae);const Wae=[{brand:"American Express",pregs:[/^3(4|7)/],mask:[/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,/\d/]},{brand:"Visa",pregs:[/^4/],mask:[/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/]},{brand:"MasterCard",pregs:[/^5(1|2|5)/,/^22/],mask:[/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/]},{brand:"Diners Club",pregs:[/^30(1|2|3|4|5)/,/^36/],mask:[/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/]}];let OB=class{constructor(){this.dateMask=[/[0-1]/,/\d/,"/",/[0-3]/,/\d/,"/",/\d/,/\d/,/\d/,/\d/],this.moneyMask=S0()({prefix:"$",suffix:"",requireDecimal:!0}),this.percentMask=S0()({prefix:"",suffix:"%",requireDecimal:!0}),this.quantityMask=S0()({prefix:""}),this.negativeQuantityMask=S0()({prefix:"",allowNegative:!0}),this.expirationMask=[/[0-1]/,/\d/,"/",/\d/,/\d/],this.cvcMask=[/\d/,/\d/,/\d/,/\d/],this.phoneMask=["+",/\d/," ","(",/\d/,/\d/,/\d/,")"," ",/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/]}getQuantityMask(e){return S0()(e)}getZipMask(e){let t;return t="number"==typeof e?e.toString():e,t.length<6?[/\d/,/\d/,/\d/,/\d/,/\d/,/\d/]:[/\d/,/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/]}getCreditCardMask(e){let t;t="number"==typeof e?e.toString():e;let s=[/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/];return Wae.forEach(r=>{r.pregs.forEach(o=>{o.test(t)&&(s=r.mask)})}),s}static#e=this.ctorParameters=()=>[]};OB=be([ks()],OB);var Gae=x(3134),Kae=x.n(Gae);let Wb=class{constructor(){this.suggestionLookup=new Jv,this.suggestions=[],this.disableSuggestions=!1,this.showDropdown=!0,this.highlightedIndex=0,this.onSelect=new Le,this.onCompleteMethod=new Le,this.onFocus=new Le,this.onBlur=new Le,this.debounceTime=200,this.placeholder="",this.iconRight=!1,this.iconClick=new Le,this.forceSelectionError=new Le,this.multiLookup=!1,this.cancelIcon=!1,this._onChange=e=>{},this.onTouched=()=>{}}ngOnInit(){this.suggestions=[],this.suggestionLookup.valueChanges.pipe(KM(this.debounceTime),Lb()).subscribe(e=>{this.suggestionLookup.disabled||this._onChange(e),this.onTouched(),this.highlightedIndex=0,this.onCompleteMethod.emit(e)})}writeValue(e){this.selectedSuggestion=e,this.suggestionLookup.patchValue(this.selectedSuggestion,{emitEvent:!1})}registerOnChange(e){this._onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){}resetField(){this.suggestionLookup.patchValue(""),this.updateInputDisplay("",!1)}handleKeys(e){this.disableSuggestions=!1,"ArrowDown"===e.key&&this.highlightedIndex0&&(e.preventDefault(),this.highlightedIndex--,this.handleArrowKeys()),"Enter"===e.key&&(!0!==this.disableEnter?(this.multiLookup||e.target.blur(),this.selectDropdownOption(),this.suggestions.length<1&&this.onSelect.emit(this.suggestionLookup.value)):this.onSelect.emit(this.suggestionLookup.value))}handleArrowKeys(){this.suggestions.length>0&&(this.selectedSuggestion=this.suggestions[this.highlightedIndex],this.updateInputDisplay(this.selectedSuggestion,!1))}selectDropdownOption(){const e=this.suggestions[this.highlightedIndex];e&&!this.multiLookup?(this.selectedSuggestion=e,this.updateInputDisplay(this.selectedSuggestion),this.showDropdown=!1,this.disableSuggestions=!0,this.onSelect.emit(this.selectedSuggestion),this._onChange(this.selectedSuggestion)):e&&this.multiLookup&&(this.selectedSuggestion=e,this.updateInputDisplay(this.selectedSuggestion,!0),this.suggestions=[])}updateInputDisplay(e,t){let s;if("string"==typeof e?s=e:this.objectKey&&(s=e[this.objectKey]),this.multiLookup){const r=this.suggestionLookup.value?this.suggestionLookup.value:"",o=r.split(" ");if(o.pop(),o.push(s),r.length<1)return this.suggestionLookup.patchValue("",{emitEvent:!1}),this._onChange(""),this.onSelect.emit("");this.suggestionLookup.patchValue(o.join(" "),{emitEvent:!1}),this._onChange(this.suggestionLookup.value),t&&this.onSelect.emit(s)}else this.suggestionLookup.patchValue(s,{emitEvent:!1})}blur(){this.onBlur.emit(),this.forceSelection&&this.selectDropdownOption(),setTimeout(()=>{this.showDropdown=!1},200)}focus(){this.showDropdown=!0,this.onFocus.emit(this.suggestionLookup.value)}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={suggestions:[{type:G}],disableEnter:[{type:G}],onSelect:[{type:nt,args:["onSelect"]}],suggestionTemplate:[{type:Mp,args:[dr,{static:!0}]}],onCompleteMethod:[{type:nt}],onFocus:[{type:nt}],onBlur:[{type:nt}],debounceTime:[{type:G}],placeholder:[{type:G}],inputStyles:[{type:G}],inputClasses:[{type:G}],typeaheadSelectClasses:[{type:G}],debugDropdown:[{type:G}],dropdownStyles:[{type:G}],dropdownClasses:[{type:G}],objectKey:[{type:G}],icon:[{type:G}],iconRight:[{type:G}],iconClick:[{type:nt}],hasError:[{type:G}],forceSelection:[{type:G}],forceSelectionError:[{type:nt}],multiLookup:[{type:G}],cancelIcon:[{type:G}],maxlength:[{type:G}],inputEl:[{type:qe,args:["inputEl"]}]}};Wb=be([Ke({selector:"ue-typeahead",template:'\n\t\n\t\n\t\n\n\n
\n\t
\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t
\n
\n\n
\n\t
    \n\t\t\n\t\t
  • \n\t\t\t\n\t\t\t\t{{objectKey ? suggestion[objectKey] : suggestion}}\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t
  • \n\t
\n
',providers:[{provide:Ar,multi:!0,useExisting:Wb}],styles:[Kae()]})],Wb);var Xae=x(9276),Zae=x.n(Xae);let D0=class{set initialNameValue(e){this.typeaheadControl.patchValue(e,{emitEvent:!1})}constructor(){this.onCompleteMethod=new Le,this.suggestions=[],this.selectControl=new Zd,this.typeaheadControl=new Zd,this._onChange=e=>{},this._onTouched=()=>{}}writeValue(e){this.selectControl.patchValue(e,{emitEvent:!1})}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.selectControl.disable(e)}onSelect(e){if(!this.valueKey)return console.error("Must provide valueKey as input to Typeahead Select component");e?this._onChange(e[this.valueKey]):this._onChange(null),this._onTouched()}onFocus(){this.selectControl.untouched&&this.onCompleteMethod.emit("")}onBlur(){this.selectControl.markAsTouched(),this._onTouched()}forceSelectionError(){this._onChange("")}getIcon(){return this.noIcon?null:"glyphicon glyphicon-lock"}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={onCompleteMethod:[{type:nt}],suggestions:[{type:G}],placeholder:[{type:G}],hasError:[{type:G}],valueKey:[{type:G}],nameKey:[{type:G}],initialNameValue:[{type:G,args:["initialNameValue"]}],typeaheadSelectClasses:[{type:G}],noIcon:[{type:G}],inputStyles:[{type:G}],dropdownStyles:[{type:G}],inputClasses:[{type:G}],dropdownClasses:[{type:G}]}};D0=be([Ke({selector:"ue-typeahead-select",template:'\n',providers:[{provide:Ar,multi:!0,useExisting:D0}],styles:[Zae()]})],D0);let WA=class{constructor(){this.closeButton=!1,this.clickClose=new Le}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={title:[{type:G}],titleIcon:[{type:G}],closeButton:[{type:G}],clickClose:[{type:nt}]}};WA=be([Ke({selector:"ue-section-title",template:'\n\t\t
\n\t\t\t
\n\t\t\t\t

\n\t\t\t\t\t\n\t\t\t\t\t{{title}}\n\t\t\t\t\t\n\t\t\t\t

\n\t\t\t
\n\t\t
\n\t'})],WA);var ele=x(7062),tle=x.n(ele);let qA=class{constructor(e,t){this.el=e,this.renderer=t,this.panelVisible=!1,this.optionsToDisplay=[],this.selectItemEvent=new Le}ngOnInit(){this.optionsToDisplay=this.options}ngAfterViewInit(){this.container=this.containerViewChild.nativeElement,this.panel=this.panelViewChild.nativeElement}ngOnDestroy(){this.unbindDocumentClickListener()}onMouseclick(){this.selfClick=!0,this.itemClick||(this.panelVisible?this.hide():this.show(this.panel))}show(e){this.options&&this.options.length&&(this.panelVisible=!0,e.style.zIndex=1e3),this.bindDocumentClickListener()}hide(){this.panelVisible=!1}onItemClick(e){e.command&&e.command()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen("body","click",()=>{!this.selfClick&&!this.itemClick&&(this.panelVisible=!1,this.unbindDocumentClickListener()),this.selfClick=!1,this.itemClick=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}isDivider(e){return"divider"===e.label}static#e=this.ctorParameters=()=>[{type:pn},{type:Ui}];static#t=this.propDecorators={options:[{type:G}],pullRight:[{type:G}],btnLabel:[{type:G}],btnClass:[{type:G}],btnIcon:[{type:G}],maxHeight:[{type:G}],customMarginTop:[{type:G}],selectItemEvent:[{type:nt}],containerViewChild:[{type:qe,args:["container",{static:!0}]}],panelViewChild:[{type:qe,args:["panel",{static:!0}]}],template:[{type:Mp,args:[dr,{static:!0}]}]}};qA=be([Ke({selector:"ue-dropdown-menu",template:'
\n\t\n\t{{btnLabel}}\n\t\n\t\n\t
\n
\n
    \n
  • \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t{{option.label}}\n\t\t\t\t\t\n \x3c!-- --\x3e\n
  • \n
\n
\n
\n
',animations:[qv("panelState",[Kd("hidden",fc({opacity:0})),Kd("visible",fc({opacity:1})),Kp("visible => hidden",Gp("400ms ease-in")),Kp("hidden => visible",Gp("400ms ease-out"))])],styles:[tle()]})],qA);let GA=class{constructor(e){this.viewContainer=e}ngOnInit(){this.viewContainer.createEmbeddedView(this.template,{$implicit:this.template})}static#e=this.ctorParameters=()=>[{type:xr}];static#t=this.propDecorators={template:[{type:G}]}};GA=be([Ke({selector:"ue-buttonTemplateLoader",template:""})],GA);var sle=x(3336),ile=x.n(sle);class NB{constructor(){}static stringToNumber(e){let t=null;return""===e?t=null:"string"==typeof e?(t=e.replace(/[^\d\.]+/g,""),"."==t&&(t="0"),t=Number(t)):"number"==typeof e&&(t=e),t}static rejectWhitespace(e){let t=null;return""===e?t=null:"number"==typeof e?t=e.toString().replace(/\s/g,""):"string"==typeof e&&(t=e.replace(/\s/g,"")),t}static onlyAllowNumber(e){let t=null;return""===e?t=null:"number"==typeof e?t=e.toString().replace(/\D/g,""):"string"==typeof e&&(t=e.replace(/\D/g,"")),t}}let uh=class{constructor(){this.paginationArray=[],this.goToValueControl=new Zd,this.paginationObject={},this.goToPage=new Le}updatePaginationLength(e){this.paginationObject.length=e}updatePaginationObject(e,t,s){this.paginationObject.limit=Number(e),this.paginationObject.offset=Number(t),this.paginationObject.total=Number(s),this.pagination(e,t,s)}clickPage(e){this.goToPage.emit(e)}clickGo(){let e=this.goToValueControl.value;const t=this.paginationObject.limit;let r=!1;t*(e-1)===this.paginationObject.offset&&(r=!0);const o={active:r,disabled:!1,limit:t,offset:t*(e-1)};o.offset>=this.paginationObject.total&&(o.offset=this.paginationObject.total-this.paginationObject.total%o.limit),this.goToPage.emit(o)}getCurrentPage(e,t){this.currentPage=e/t+1}addNextLast(e,t){return this.paginationArray.concat([{text:"Next",limit:e,offset:this.currentPage*e,active:!1,disabled:!1},{text:"Last",limit:e,offset:(t-1)*e,active:!1,disabled:!1}])}pagination(e,t,s){this.paginationArray=[],e=Number(e),t=Number(t),s=Number(s);const r=Math.ceil(s/e);if(this.getCurrentPage(t,e),1!==r)if(this.paginationArray=[{text:"First",limit:e,offset:0,active:!1,disabled:!1},{text:"Previous",limit:e,offset:(this.currentPage-2)*e,active:!1,disabled:!1}],1===this.currentPage){if(this.paginationArray[0].disabled=!0,this.paginationArray[1].disabled=!0,r>1)for(let o=1;o<=(r<3?r:3);o++)this.paginationArray.push({text:o,limit:e,offset:(o-1)*e,active:this.currentPage===o,disabled:!1});this.paginationArray=this.addNextLast(e,r)}else if(1!==this.currentPage&&this.currentPage!==r){if(this.currentPage>r)return this.paginationArray=this.addNextLast(e,r),this.paginationArray[1].disabled=!0,void(this.paginationArray[2].disabled=!0);for(let o=this.currentPage<3?1:this.currentPage-2;o<=(this.currentPage+2>r?r:this.currentPage+2);o++)this.paginationArray.push({text:o,limit:e,offset:(o-1)*e,active:this.currentPage===o,disabled:!1});this.paginationArray=this.addNextLast(e,r)}else if(this.currentPage===r){for(let o=2===r?1:r-2;o<=(2===r?2:r);o++)this.paginationArray.push({text:o,limit:e,offset:(o-1)*e,active:this.currentPage===o});this.paginationArray.push({text:"Next",disabled:!0,active:!1},{text:"Last",disabled:!0,active:!1})}}sanitizePageNum(){let e=NB.stringToNumber(NB.onlyAllowNumber(this.goToValueControl.value));this.goToValueControl.patchValue(e)}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={paginationObject:[{type:G}],goToPage:[{type:nt}]}};uh=be([Ke({selector:"ue-pagination",template:'
\n\t
\n\t\tShowing {{paginationObject.offset + 1}} to {{paginationObject.offset + paginationObject.length}} of {{paginationObject.total}} entries.\n\t
\n\t
\n\t\t
\n\t\t\t
\n\t\t\t\t
    \n\t\t\t\t\t
  • \n\t\t\t\t\t\t{{page.text}}\n\t\t\t\t\t
  • \n\t\t\t\t\t
  • \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
  • \n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t
\n
\n',styles:[ile()]})],uh);var ole=x(2022),ale=x.n(ole);let KA=class{constructor(){this.callBack=new Le,this.onOpen=new Le,this.onClose=new Le,this.hideCloseButton=!1,this.closeOnEscape=!0,this.closeOnOutsideClick=!0,this.closeBtnLabel="Close",this.isOpen=!1}open(){this.ueModal.open(),this.isOpen=!0}close(){this.ueModal.close(),this.isOpen=!1,this.onClose.emit()}static#e=this.propDecorators={ueModal:[{type:qe,args:["ueModal",{static:!0}]}],header:[{type:G}],body:[{type:G}],warning:[{type:G}],icon:[{type:G}],btnClass:[{type:G}],buttonLabel:[{type:G}],callBack:[{type:nt}],onOpen:[{type:nt}],onClose:[{type:nt}],hideCloseButton:[{type:G}],closeOnEscape:[{type:G}],closeOnOutsideClick:[{type:G}],closeBtnLabel:[{type:G}]}};KA=be([Ke({selector:"ue-confirm-modal",template:'\n\t\n\t\t

{{header}}

\n\t
\n\t\n\n\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\tWarning: {{warning}}\n\t\t\t
\n\t\t
\n\n\t
\n\t\n\t\t{{closeBtnLabel}}\n\t\t\n\t\t\t{{buttonLabel}}\n\t\t\n\t\n
',styles:[ale()]})],KA);var cle=x(1434),ule=x.n(cle);let QA=class{onResize(){this.checkScrollWidth()}constructor(e){this.ref=e,this.saveColumns=new Le,this.availableFields=[],this.columnsChanged=!1,this.openedCount=0,this.showColumnScroll=!1,this.showFieldScroll=!1}onDropSuccess(e){e.previousContainer===e.container?D6(e.container.data,e.previousIndex,e.currentIndex):function wae(n,e,t,s){const r=h0(t,n.length-1),o=h0(s,e.length);n.length&&e.splice(o,0,n.splice(r,1)[0])}(e.previousContainer.data,e.container.data,e.previousIndex,e.currentIndex),this.columnsChanged=!0,this.alert.closeAlert(),this.checkScrollWidth()}checkScrollWidth(){this.ref.detectChanges();const e=this.columnContainer.nativeElement;this.showColumnScroll=e.scrollWidth>e.offsetWidth;const t=this.fieldContainer.nativeElement;this.showFieldScroll=t.scrollWidth>t.offsetWidth}scrollLeft(e){this[e].nativeElement.scrollLeft-=100}scrollRight(e){this[e].nativeElement.scrollLeft+=100}onSaveColumns(e){const t=this.tableColumns.map(s=>s.field);0!==t.length?(this.saveColumns.emit({save:e,tableColumns:t}),this.openedCount=0):this.alert.newAlert("Error!","Please save at least one column.","danger")}ngOnChanges(e){e.tableColumns&&e.tableColumns.previousValue&&this.getAvailableFields()}onOpen(){this.modalState="visible",0===this.openedCount&&(this.initialColumns=this.tableColumns.filter(()=>!0),this.getAvailableFields(),this.checkScrollWidth()),this.openedCount++}onClose(){this.modalState="hidden",this.columnsChanged=!1,this.alert.closeAlert(),this.openedCount>0&&(this.tableColumns=this.initialColumns.filter(()=>!0),this.getAvailableFields())}open(){this.customizeTableModal.open()}close(){this.customizeTableModal.close()}getAvailableFields(){this.availableFields=this.allFields.filter(e=>{if(-1===this.tableColumns.indexOf(e))return!0})}resetToDefault(){const e=[];this.defaultColumns.forEach(t=>{this.allFields.forEach(s=>{t===s.field&&e.push(s)})}),this.tableColumns=e,this.getAvailableFields(),this.columnsChanged=!0}static#e=this.ctorParameters=()=>[{type:gl}];static#t=this.propDecorators={allFields:[{type:G}],tableColumns:[{type:G}],defaultColumns:[{type:G}],saveColumns:[{type:nt}],customizeTableModal:[{type:qe,args:["customizeTableModal",{static:!0}]}],alert:[{type:qe,args:[mi,{static:!0}]}],columnContainer:[{type:qe,args:["columnContainer",{static:!0}]}],fieldContainer:[{type:qe,args:["fieldContainer",{static:!0}]}],onResize:[{type:ml,args:["window:resize",["$event"]]}]}};QA=be([Ke({selector:"ue-customize-table-modal",template:'\n\t\t\n\t\t\t

Customize Table

\n\t\t
\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\tCurrent Fields\n\t\t\t\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{{column.label}}\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t\t\n\t\t\t\tAvailable Fields\n\t\t\t\t

To view more columns, please drag to the Current Fields section

\n\t\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{{field.label}}\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t\t\n\t\t\tCancel\n\t\t\tReset Default\n\t\t\t\x3c!-- Apply --\x3e\n\t\t\tSave\n\t\t\n
\n',animations:[qv("modalState",[Kd("hidden",fc({opacity:0,transform:"translateX(-100%)"})),Kd("visible",fc({opacity:1,transform:"translateX(0)"})),Kp("* => visible",Gp("200ms ease-out"))])],providers:[{provide:LB,useValue:{zIndex:1051}}],styles:[ule()]})],QA);let XA=class{constructor(){this.supportEmail="support@USAePay.com",this.privacyPolicyUrl="https://www.nmi.com/legal/privacy-policy/",this.hidePoweredBy=!1}ngOnInit(){}reportBug(){const e=window.location.href;window.open("https://fs9.formsite.com/usaepaydev/bugreport/index.html?url="+e,"_blank")}isReseller(){return-1!==window.location.href.indexOf("reseller")}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={supportEmail:[{type:G,args:["supportEmail"]}],privacyPolicyUrl:[{type:G,args:["privacyPolicyUrl"]}],hidePoweredBy:[{type:G,args:["hidePoweredBy"]}]}};XA=be([Ke({selector:"ue-footer",template:'
\n\t\n
\n\n \n \n

License Agreement

\n Last revised : 07/18/2016\n
\n \n \n
\n\t\t\t\n
\n
\n \n \n Close\n \n
\n\n'})],XA);var ple=x(614),fle=x.n(ple);let ZA=class{constructor(){this.open=!1,this.cancelIcon=!1,this.getFilterSuggestions=new Le,this.updateFilter=new Le}ngOnInit(){this.isEmpty(this.formControlRef.value)||(this.open=!0)}handleButtonClick(){this.open?this.open&&this.isEmpty(this.formControlRef.value)?(this.open=!1,this.formControlRef.reset(),this.updateFilter.emit()):this.updateFilter.emit():this.open=!0}isEmpty(e){return""===e||null==e}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={formControlRef:[{type:G}],suggestions:[{type:G}],disableEnter:[{type:G}],dropdownClasses:[{type:G}],cancelIcon:[{type:G}],getFilterSuggestions:[{type:nt}],updateFilter:[{type:nt}],typeahead:[{type:qe,args:[Wb,{static:!0}]}]}};ZA=be([Ke({selector:"ue-table-filter",template:'
\n\t
\n\t\t\n\t\t\t
  • \n\t\t\t\t\n\t\t\t\t\tSearch For:\n\t\t\t\t\n\t\t\t
  • \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{suggestion}}\n\t\t\t\t\n\t\t\t\n\t\t
    \n\t
    \n\t\n
    ',styles:[fle()]})],ZA);var gle=x(9350),_le=x.n(gle);let JA=class{constructor(e){this.http=e}getProfile(){const e=this.baseUrl+"/profile";return this.http.get(e)}getExploreResellerList(){const e=this.baseUrl+"/explore-resellers";return this.http.get(e)}exploreReseller(e){return this.http.post(this.baseUrl+"/explore/"+e,null)}getCompanyList(){return this.http.get(`${this.baseUrl}/companies`)}getCompanyProfile(){return this.http.get(`${this.baseUrl}/profile`).pipe(Us(e=>{this.currentCompanyProfile=e}))}checkoutCompany(e){return this.http.post(`${this.baseUrl}/explore`,{member_key:e})}static#e=this.ctorParameters=()=>[{type:fo}]};JA=be([ks()],JA);let eL=class{constructor(e){this.headerService=e,this.resellerList=[],this.companyList=[],this.companyOptions=[],this.hasError=!1,this.resellerOptions=[]}ngOnInit(){this.headerService.baseUrl=this.url,this.isReseller()?(this.getResellerName(),this.getResellerList()):this.isDeveloper()&&(this.getCompanyName(),this.getCompanyList()),this.resellerId&&this.findLogoPath()}findLogoPath(){"monitor"===this.resellerId?this.logoPath="url(/images/logo.png)":this.logoPath="url(/img/reseller-logos/"+this.resellerId+".png)"}clickHamburger(){-1!==document.body.className.indexOf("hidden-menu")?document.body.className=document.body.className.replace(/hidden-menu\b/,""):document.body.className+=" hidden-menu"}getResellerName(){this.headerService.getProfile().subscribe(e=>{this.reseller=e.company},e=>{this.handleError(e)})}getResellerList(){this.headerService.getExploreResellerList().subscribe(e=>{this.resellerList=e,this.resellerMenuDropdown()},e=>{this.handleError(e)})}isReseller(){return-1!==window.location.href.indexOf("reseller")}resellerMenuDropdown(){for(let e=0;e{}}):this.resellerOptions.push({label:this.resellerList[e].company,command:()=>{this.headerService.exploreReseller(this.resellerList[e].reseller_key).subscribe(t=>{window.location.search=""},t=>{this.handleError(t)})}})}isDeveloper(){return-1!==window.location.href.indexOf("developer")}getCompanyName(){this.headerService.getCompanyProfile().subscribe(e=>{this.company=e.company},e=>{this.handleError(e)})}getCompanyList(){this.headerService.getCompanyList().subscribe(e=>{this.companyList=e.data,this.companyMenuDropdown()},e=>{this.handleError(e)})}companyMenuDropdown(){for(let e=0;e{this.headerService.checkoutCompany(this.companyList[e].key).subscribe(t=>{window.location.search=""},t=>{this.handleError(t)})}})}handleError(e){this.hasError=!0,this.httpError=e}static#e=this.ctorParameters=()=>[{type:JA}];static#t=this.propDecorators={dropdownMenuOptions:[{type:G}],resellerId:[{type:G}],url:[{type:G}]}};eL=be([Ke({selector:"ue-header",template:'\x3c!-- HEADER --\x3e\n',styles:[_le()]})],eL);var vle=x(6084),ble=x.n(vle);let tL=class{constructor(e,t){this.ngZone=e,this.router=t,this.setBodyClass(),window.onresize=s=>{e.run(()=>{this.setBodyClass()})}}ngOnInit(){}ngAfterViewInit(){const t=this.router.url.split("/")[1];this.childTabs.forEach(s=>{const r=s.nativeElement.getAttribute("data-route"),o=s.nativeElement.getAttribute("data-index");if(r){const c=r.split("/")[1];t===c&&setTimeout(()=>{this.open=parseInt(o,10)})}})}findState(e){return this.open===e?"open":this.open!==e?"closed":void 0}click(e){this.open!==e?this.open=e:this.open=-1}setBodyClass(){this.getOuterWidth()<980?-1===document.body.className.indexOf("mobile-view-activated")&&(document.body.className+=" mobile-view-activated",document.body.className=document.body.className.replace(/minified\b/,"")):(document.body.className=document.body.className.replace(/mobile-view-activated\b/,""),document.body.className=document.body.className.replace(/hidden-menu\b/,""))}minify(){-1!==document.body.className.indexOf("minified")?document.body.className=document.body.className.replace(/minified\b/,""):document.body.className+=" minified"}getOuterWidth(){return window.outerWidth}static#e=this.ctorParameters=()=>[{type:_t},{type:dn}];static#t=this.propDecorators={navTabs:[{type:G}],childTabs:[{type:VO,args:["tabs"]}]}};tL=be([Ke({selector:"ue-navbar",template:'\n',animations:[qv("slideState",[Kd("open",fc({height:"*",paddingTop:"7px",paddingBottom:"7px"})),Kd("closed",fc({height:"0",paddingTop:"0px",paddingBottom:"0px"})),Kp("closed => open",[Gp(".3s ease")]),Kp("open => closed",[Gp(".3s ease")])])],styles:[ble()]})],tL);let FB=class{constructor(){}ngOnInit(){}static#e=this.ctorParameters=()=>[]};FB=be([Ke({selector:"ue-terms",template:'\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\n
    \n\t\t\t

    USA ePay \n\t\t\tGateway License / User Agreement
    \n\t\t\tversion 1. rev. 10

    \n\t\t\tTransaction Processing \n\t\t\tTerms
    \n\t\t\t

    \n\t\t\tYour Capacity and Related Matters. By accepting the terms and \n\t\t\tconditions of this Agreement, You represent and warrant that (a) You \n\t\t\tare 18 years of age or older, (b) all information You have provided \n\t\t\tto USAePay is true and correct in all respects, and (c) You will \n\t\t\tupdate USAePay by e-mail with any changes to information You have \n\t\t\tpreviously supplied. You further represent and warrant that You have \n\t\t\tthe legal authority to accept the terms and conditions of this \n\t\t\tAgreement on behalf of Your company and that such acceptance will be \n\t\t\tbinding on Your company.
    \n                          \n\t\t\t
    \n\t\t\tThis Agreement is entered by USAePay Transaction Processing Terms & Software License Agreement \n\t\t\t(herein after referred to as the "Agreement") by and between Gor \n\t\t\tCorporation, whose principal place of business is 1833 Victory Blvd, Glendale, CA 91201 (hereinafter referred to as "USAePay"), \n\t\t\tand "Merchant," whose name, complete address, business organization \n\t\t\tand type of business are stated in records stored by USAePay for \n\t\t\t"Merchant". USAePay is a \n\t\t\tsubsidiary of GorCorp, Inc., a California corporation whose \n\t\t\tprincipal place of business is in Los Angeles, California. For \n\t\t\tpurposes of this Agreement the corporate entities USAePay and Gor, \n\t\t\tInc. shall be synonymous. In consideration of the premises set forth \n\t\t\therein, USAePay and Merchant hereby agree as follows:
    \n\t\t\t
    \n\t\t\t1. USAePay agrees to perform transaction processing services \n\t\t\tfor Merchant. This includes the acceptance and authorization of \n\t\t\ttransactions forwarded from Merchant in a timely manner, the \n\t\t\tsubsequent transmission of
    \n\t\t\ttransactions to the processing network and the detailed reporting of \n\t\t\tthose transactions via Merchant\'s web-based Merchant Menu.
    \n\t\t\t
    \n\t\t\t2. By signing the Agreement, Merchant understands and agrees \n\t\t\tthat the USAePay Transaction Processing Services require additional \n\t\t\tcharges, as indicated below under Schedule of Fees, to be billed \n\t\t\tdirectly by USAePay or by registered resellers to the Merchant and payable pursuant to \n\t\t\tparagraphs 14 and 16 listed below.
    \n\t\t\t
    \n\t\t\t3. By signing this document, Merchant will indemnify, \n\t\t\tprotect, defend and hold USAePay, affiliates and / or subsidiaries \n\t\t\tand all of its or their officers, agents and / or employees, \n\t\t\tharmless from and against any and all claims, losses, demands, \n\t\t\tactions, expenses, damages, liability, and / or causes of action, \n\t\t\tincluding (without limitation) attorneys\' fees, other costs of \n\t\t\tdefense and / or collection fees, which in any way result directly \n\t\t\tor indirectly from:
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t\t

    a. \n\t\t\t\t\t\tMerchant breach of this Agreement or any warranty or \n\t\t\t\t\t\trepresentation made to USAePay;

    \n\t\t\t\t\t\tb. Any damage or \n\t\t\t\t\t\tloss caused by negligence, fraud, dishonesty or willful \n\t\t\t\t\t\tbehavior by Merchant or any of Merchant employees or \n\t\t\t\t\t\tagents;
    \n\t\t\t\t\t\tc. Any contention, \n\t\t\t\t\t\twhether well-founded, baseless or otherwise, that \n\t\t\t\t\t\tMerchant violated the law or any rule or regulation;
    \n\t\t\t\t\t\td. Any damages \n\t\t\t\t\t\tresulting from or related to any failure or delay of \n\t\t\t\t\t\tUSAePay in providing Transaction Processing services \n\t\t\t\t\t\tunder this Agreement; or
    \n\t\t\t\t\t\te. Any delays in \n\t\t\t\t\t\tthe performance of services hereunder or for any failure \n\t\t\t\t\t\tto perform same hereunder if such delays are due to \n\t\t\t\t\t\tstrikes, inclement weather, acts of God, or other causes \n\t\t\t\t\t\tbeyond USAePay\ufffds reasonable control. USAePay will not be \n\t\t\t\t\t\tliable for performance of services where delayed by war, \n\t\t\t\t\t\triots, embargoes, strikes, or acts of it\'s vendors and \n\t\t\t\t\t\tsuppliers, concealed acts of workmen (whether of USAePay \n\t\t\t\t\t\tor others), or accidents. The indemnifications provided \n\t\t\t\t\t\tfor in this Article shall survive any termination of \n\t\t\t\t\t\tthis Agreement.
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t4. Merchant warrants to USAePay all of the following:

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. That all \n\t\t\t\t\t\trepresentations and statements made by Merchant in this \n\t\t\t\t\t\tAgreement, or in any other document relating hereto, by \n\t\t\t\t\t\tMerchant or on Merchant\'s behalf are true, accurate and \n\t\t\t\t\t\tcomplete in all material respects. Merchant hereby \n\t\t\t\t\t\tauthorizes USAePay to investigate and confirm the \n\t\t\t\t\t\tinformation herein. For this purpose, USAePay may \n\t\t\t\t\t\tutilize credit bureau / reporting agencies and / or its \n\t\t\t\t\t\town agents. Upon Merchant\'s request, USAePay will \n\t\t\t\t\t\tprovide Merchant with a copy of the results of
    b. That \n\t\t\t\t\t\tMerchant is engaged in the lawful business shown on the \n\t\t\t\t\t\tAgreement which includes the sale of merchandise and / \n\t\t\t\t\t\tor services, and is duly licensed to conduct such \n\t\t\t\t\t\tbusiness under the laws of the state, county and city in \n\t\t\t\t\t\twhich Merchant is located.
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t5. USAePay shall not be liable for the individual merit and \n\t\t\tlegitimacy of orders forwarded from Merchant. This liability shall \n\t\t\tremain the Merchant\'s.
    \n\t\t\t
    \n\t\t\t6. USAePay shall in no event be liable to Merchant or \n\t\t\tPurchaser (Purchaser is any customer, client, member or entity who \n\t\t\telects to buy goods or services from Merchant) for any indirect, \n\t\t\tspecial or consequential damages or lost profits arising out of or \n\t\t\trelated to this Agreement, the performance or breach thereof, or the \n\t\t\taccuracy or correctness of the data being passed to and from \n\t\t\tMerchant, even if USAePay and/or Merchant has been advised of the \n\t\t\tpossibility thereof.
    \n\t\t\t
    \n\t\t\t7. Any claim or legal action arising out of disputes, \n\t\t\tfailures, misrepresentations, malfunctions, or defects shall be \n\t\t\twaived. In no event shall USAePay\'s liability to Merchant exceed the \n\t\t\ttotal amount Merchant paid to USAePay hereunder. Merchant agrees \n\t\t\tthat any cause or action arising out of or relating to this \n\t\t\tAgreement must commence within one (1) year after the cause of \n\t\t\taction arose; otherwise, such cause of action is permanently barred. \n\t\t\tJurisdiction of any legal proceeding arising hereby shall be Los \n\t\t\tAngeles, California, United States of America.
    \n\t\t\t
    \n\t\t\t8. Merchant agrees, as a company and/or as an individual, to \n\t\t\tdefend, indemnify, and hold harmless USAePay from any and all claims \n\t\t\tresulting from Merchant\'s use of any services contemplated under \n\t\t\tthis Agreement, which cause damage to Merchant or any other party.
    \n\t\t\t
    \n\t\t\t9. USAePay shall not be responsible or liable for \n\t\t\tunauthorized access of facilities or to Merchant\'s data or programs \n\t\t\tdue to accident, illegal or fraudulent means or devices.
    \n\t\t\t
    \n\t\t\t10. USAePay shall retain full ownership of all data submitted \n\t\t\tby either Merchant or Purchaser through the USAePay Payment Gateway \n\t\t\t(Payment Gateway refers to the electronic systems through which a \n\t\t\tMerchant may pass payment information to USAePay) including, but not \n\t\t\tlimited to name, mailing & shipping address, card verification value \n\t\t\t2, email address, phone number, dollar amount of purchase, type of \n\t\t\tpurchase and description of purchase.

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. USAePay \n\t\t\t\t\t\tPrivacy Obligation
    \n\t\t\t\t\t\tUSAePay will collect, retain, and disclose information \n\t\t\t\t\t\tand data collected from You and your customers \n\t\t\t\t\t\t(including data associated with the USAePay Services) in \n\t\t\t\t\t\taccordance with USAePay\'s then current privacy policy \n\t\t\t\t\t\tavailable at\n\t\t\t\t\t\t\n\t\t\t\t\t\thttp://www.usaepay.com/privacy.htm or such other \n\t\t\t\t\t\tlocation as specified by USAePay. You hereby consent, as \n\t\t\t\t\t\ta condition of Your enrollment in and use of the USAePay \n\t\t\t\t\t\tServices, to the collection, use, processing and \n\t\t\t\t\t\ttransfer of personal data as described in this paragraph \n\t\t\t\t\t\tand USAePay\'s privacy policies. You understand that \n\t\t\t\t\t\tUSAePay will collect and hold personal or non-public \n\t\t\t\t\t\tinformation about You and Your customers, including but \n\t\t\t\t\t\tnot limited to: Your name, address, telephone number and \n\t\t\t\t\t\te-mail address for the purpose of considering \n\t\t\t\t\t\teligibility for the USAePay Services as well Your \n\t\t\t\t\t\tcustomers\' names, mailing & shipping addresses, email \n\t\t\t\t\t\taddresses, phone number, dollar amount of purchases, \n\t\t\t\t\t\ttypes of purchases and descriptions of purchases for the \n\t\t\t\t\t\tpurpose of providing You with the USAePay Services \n\t\t\t\t\t\t("Data"). You also understand and agree that USAePay may \n\t\t\t\t\t\tobtain various consumer reports regarding You from third \n\t\t\t\t\t\tparties, run a credit check or obtain other personal or \n\t\t\t\t\t\tcredit information about You. You further understand and \n\t\t\t\t\t\tagree that USAePay, its suppliers and/or their \n\t\t\t\t\t\tagents/contractors may transfer Data among themselves as \n\t\t\t\t\t\tnecessary for the purpose of the provision and \n\t\t\t\t\t\tmanagement of the USAePay Services, and that USAePay may \n\t\t\t\t\t\tfurther transfer Data to third parties assisting USAePay \n\t\t\t\t\t\tin evaluating Your eligibility for, provision of, \n\t\t\t\t\t\tadministration and management of the USAePay Services, \n\t\t\t\t\t\tas well as under circumstances described in USAePay\'s \n\t\t\t\t\t\tprivacy policies, as they may be published on the \n\t\t\t\t\t\tUSAePay web site and changed from time to time by \n\t\t\t\t\t\tUSAePay.
    b. Data Retention
    \n\t\t\t\t\t\tYou are solely responsible for compiling and retaining \n\t\t\t\t\t\tpermanent records of all Transactions and other Data for \n\t\t\t\t\t\tYour reference. Upon the termination of this Agreement, \n\t\t\t\t\t\tUSAePay shall have no obligation to store, retain, \n\t\t\t\t\t\treport or otherwise provide any copies of or access to \n\t\t\t\t\t\tany records of Transactions or other Data collected or \n\t\t\t\t\t\tprocessed by USAePay.
    c. 3rd Party / \n\t\t\t\t\t\tMerchant Obligations
    \n\t\t\t\t\t\t
    You are solely responsible for the security of data \n\t\t\t\t\t\tresiding on server(s) owned or operated by You, or a \n\t\t\t\t\t\tthird party designated by You (e.g., a web hosting \n\t\t\t\t\t\tcompany, processor, or other service provider), \n\t\t\t\t\t\tincluding credit card numbers. You shall comply with all \n\t\t\t\t\t\tapplicable laws and regulations governing the \n\t\t\t\t\t\tcollection, retention and use by You of credit card and \n\t\t\t\t\t\tother financial information. You agree to provide notice \n\t\t\t\t\t\tto your customers on Your web site that discloses how \n\t\t\t\t\t\tand why personal and financial information is collected \n\t\t\t\t\t\tand used, including uses governed by this Agreement. \n\t\t\t\t\t\tNothing in this Agreement shall prevent or restrict You \n\t\t\t\t\t\tfrom using any information You collect or receive \n\t\t\t\t\t\tindependent of Your performance under this Agreement.
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t
    \n\t\t\t11. Merchant agrees that USAePay\'s services shall only be \n\t\t\tperformed for lawful purposes. Any transaction or transmission, \n\t\t\twhich violates any Federal, State, or local laws, is expressly \n\t\t\tprohibited.
    \n\t\t\t
    \n\t\t\t12. Merchant understands that Merchant may not process orders \n\t\t\ton behalf of any other entity or individual and that the use of the \n\t\t\tTransaction processing services is provided herein as a service \n\t\t\tlicense for a single Merchant account. Any attempt to use the \n\t\t\tTransaction Processing services provided herein for more than one \n\t\t\tMerchant account without additional service licenses may result in \n\t\t\tadditional fees and charges and/or the revocation of the service \n\t\t\tlicense and termination of this Agreement. This service license is \n\t\t\ttransferable and may be sold, traded, assumed or otherwise \n\t\t\ttransferred to other individual or entity with the express written \n\t\t\tconsent of USAePay.
    \n\t\t\t
    \n\t\t\t13. This Agreement may be amended by USAePay at any time upon \n\t\t\twritten or electronic notice to Merchant of not less than ten (10) \n\t\t\tdays prior to the effective date of such amendment, except for \n\t\t\tservice fee or other fee increases, exclusive of those increases \n\t\t\tlisted in Section 17, of which will be upon thirty (30) days\' \n\t\t\tnotice.
    \n\t\t\t
    \n\t\t\t14. Merchant hereby authorizes USAePay to either initiate \n\t\t\ttransaction entries to Merchant\'s depository account number or other \n\t\t\tbusiness financial account for the monthly charges required as \n\t\t\tlisted under Schedule of Fees. This billing will occur on the last \n\t\t\tday of each month regardless of the number of days in which services \n\t\t\twere actually performed for that month. Merchant agrees that in the \n\t\t\tevent of non-payment Merchant\'s processing services may be placed on \n\t\t\thold and a non-payment fee of $25.00 will be incurred for each \n\t\t\tunsuccessful attempt to bill Merchant by either ACH debit or credit \n\t\t\tcard charge. Service will be restored immediately upon payment in \n\t\t\tfull of past due charges and fees. Merchant agrees to pay all costs \n\t\t\tand expenses of whatever nature, including attorneys\' fees and other \n\t\t\tlegal expenses, incurred by or on behalf of USAePay in connection \n\t\t\twith the collection of all unpaid charges and fees.
    \n\t\t\t
    \n\t\t\t15. Merchant agrees not to change its type of business, without the express written consent of USAePay.
    \n\t\t\t
    \n\t\t\t16. The Merchant will be considered in default when past due \n\t\t\tcharges have not been paid for 30 days and will be subject to an \n\t\t\tinterest charge of 1.5% per month on the outstanding balance.
    \n\t\t\t
    \n\t\t\t17. Merchant may terminate monthly service with 30 days \n\t\t\twritten notice and only a request in writing relieves Merchant from \n\t\t\tthe obligation to pay charges at the conclusion of thirty days from \n\t\t\tdate of receipt of notice. USAePay reserves the right to cancel \n\t\t\tMerchant\'s Transaction Processing account at any time for any \n\t\t\treason.
    \n\t\t\t
    \n\t\t\t18. If any provision in this Agreement is invalid, such \n\t\t\tinvalidity shall not affect the validity of the remaining provisions \n\t\t\tof this Agreement and Merchant and USAePay agree to substitute for \n\t\t\tthe invalid provision a valid provision which most closely \n\t\t\tapproximates the effect and intent of the invalid provision.
    \n                                    \n\t\t\t

    \n\t\t\t
    \n\t\t\t

    *Schedule of Fees\n\t\t\t
    \n\t\t\t
    \n\t\t\t
    You shall pay to \n\t\t\tUSAePay the fees set forth in the Fee Schedule provided to You by \n\t\t\tUSAePay and/or, if applicable, a Merchant Service Provider (the \n\t\t\t"Fees"). The Fee Schedule is hereby incorporated into the terms of \n\t\t\tthis Agreement by reference. If the amount(s) of one or more of the \n\t\t\tFees is more than zero, USAePay shall bill and collect such Fee(s) \n\t\t\tfrom You. If the amount(s) of one or more Fees listed in the Fee \n\t\t\tSchedule is zero or blank, USAePay shall not charge, bill, or \n\t\t\tcollect from You any such Fees. Notwithstanding the foregoing, a \n\t\t\tMerchant Service Provider may charge, bill, and collect such Fees \n\t\t\tfrom You, in the amounts stated in and in accordance with the terms \n\t\t\tand conditions of the agreement between You and such Merchant \n\t\t\tService Provider. Notwithstanding the foregoing, if Your \n\t\t\trelationship with a Merchant Service Provider that sold you the \n\t\t\tUSAePay Services expires or terminates and such Merchant Service \n\t\t\tProvider was billing You for certain Fees, then You may continue \n\t\t\tusing the USAePay Services. If You elect to continue using the \n\t\t\tUSAePay services, You acknowledge and agree that USAePay may begin \n\t\t\tto bill You for such Fees in the amounts that the Merchant Service \n\t\t\tProvider had been charging You and pursuant to the terms and \n\t\t\tconditions set forth below.
    \n\t\t\t
    \n\t\t\tYou will remit any and all amounts that are payable to USAePay under \n\t\t\tthis Agreement on a monthly basis, and the first payment shall be \n\t\t\tdue on the first day of the month immediately following the \n\t\t\tEffective Date. Unless otherwise specified herein, Fees and payments \n\t\t\tfor any subsequent time periods shall be due on the first day of the \n\t\t\tmonth. You hereby authorize USAePay to initiate transaction entries \n\t\t\tto Your depositories account or, if USAePay is unable is unable to \n\t\t\tcollect owing amounts from Your depository account, to charge Your \n\t\t\tcredit card, the numbers of which are to be provided to USAePay by \n\t\t\tYou (directly or through a Merchant Service Provider) on or before \n\t\t\tthe Effective Date, for any and all amounts owing to USAePay under \n\t\t\tthis Agreement. If Your depositories account number or credit card \n\t\t\tnumber changes, You shall promptly provide USAePay with written \n\t\t\tnotice of the change and the new number(s). If You fail to provide \n\t\t\tUSAePay with accurate current depositories account or credit card \n\t\t\tnumbers, USAePay may discontinue its performance of the USAePay \n\t\t\tServices for You until such information is provided to USAePay or \n\t\t\tterminate this Agreement. You acknowledge that any change in account \n\t\t\tinformation may not be effective until the billing month following \n\t\t\tthe second month in which USAePay receives such notice.
    \n\t\t\t
    \n\t\t\tMonthly Gateway Fee assessed the first of every month.
    \n\t\t\t- This fee is dependent on the reseller of USAePay. USAePay is not \n\t\t\tresponsible for the amount of this fee if merchant is not an \ufffdin \n\t\t\thouse\ufffd account.
    \n\t\t\t
    \n\t\t\t1. Initial Setup Cost.
    \n\t\t\t
    Fee is set by the reseller of USAePay\'s services.
    \n\t\t\t
    \n\t\t\t2. Annual Security Assessment and Audit Fee of $79.95.
    \n\t\t\t
    Fee is debited directly out of merchant\'s account every year on \n\t\t\tthe 18th of February. The Annual Security Fee is always billed in arrears. Example: The Fee Charged in February 2017 is covering 2016 year of service. The security assessment and \n\t\t\taudit fee covers all requirement for Visa\xae PCI/CISP, MasterCard\xae SDP, & \n\t\t\tAmerican Express CID, Discover DISC. This fee can be prorated if the account is cancelled before July 1st of the current year. In this case we will charge only 50% of the total amount which is $39.95. If the account is cancelled after July 1st, we charge full amount of $79.95.
    \n\t\t\t
    \n\t\t\t3. Fees for non-payment of services

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. NSF \n\t\t\t\t\t\t(non-sufficient funds) fee ($10.00) is charged the following \n\t\t\t\t\t\tmonth of billing cycle for services. Double NSF will \n\t\t\t\t\t\tresult in temporary closure of account until payment of \n\t\t\t\t\t\tbalance (including re-activation fee) is complete.\n\t\t\t\t\t\t
    b. \n\t\t\t\t\t\tRe-Activation ($25.00) fee is charged if an account is ever \n\t\t\t\t\t\tterminated temporarily due to NSF and/or merchants own \n\t\t\t\t\t\tfree will.
    \n\t\t\t
    \n\t\t\t

    4. Settlement account \n\t\t\tchange fee: $15.95 per occurrence.
    \n   
    \n\t\t\t5. Merchant DBA name change fee: $15.95 per occurrence.
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t
    *Fee Schedules subject \n\t\t\tto change without notice.
    \n                           \n\t\t\t

    \n\t\t\t
    \n\t\t\t

    USAePay Software \n\t\t\tLicense Agreement
    \n\t\t\t

    \n\t\t\t1. Grant of Software License:
    \n\t\t\t
    Upon installation/setup of the USAePay software and service (the \n\t\t\t"Software") or by using it for any purpose, you accept all the terms \n\t\t\tand conditions of this License. Please read this License in its \n\t\t\tentirety carefully before using the Software. Subject to your \n\t\t\tacceptance of the terms of this License, USAePay hereby grants to \n\t\t\tyou, the Licensee, a nonexclusive license to use the Software for \n\t\t\tsending and/or receiving payment authorizations for delivery and \n\t\t\tprocessing through an authorized payment gateway.
    \n\t\t\t
    \n\t\t\t2. Limitations:

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. Copyright \n\t\t\t\t\t\tProtection.
    \n\t\t\t\t\t\tThe Software is owned or licensed by USAePay and is \n\t\t\t\t\t\tsubject to protection under the copyright, patent and \n\t\t\t\t\t\ttrademark laws of the United States and other countries. \n\t\t\t\t\t\tYou may not remove any of the copyright notices, USAePay \n\t\t\t\t\t\tidentifiers, or other proprietary labels, or modify, \n\t\t\t\t\t\treverse engineer, decompile, or disassemble the binary \n\t\t\t\t\t\tcomponents of the Software.
    b. Single \n\t\t\t\t\t\tProduct.
    \n\t\t\t\t\t\tThe Software is licensed as a single product and it may \n\t\t\t\t\t\tnot be separated into its component files nor shall its \n\t\t\t\t\t\tcomponent files be used for any purpose other than as \n\t\t\t\t\t\tset forth in Section 1.
    c. \n\t\t\t\t\t\tDistribution and Copying.
    \n\t\t\t\t\t\tYou may not distribute the Software or incorporate the \n\t\t\t\t\t\tSoftware or any portion of it into any other products or \n\t\t\t\t\t\tsoftware or create derivative works from it without the \n\t\t\t\t\t\tprior written consent of USAePay.
    d. Changes \n\t\t\t\t\t\tand Updates.
    \n\t\t\t\t\t\t
    USAePay may, in its discretion, issue updates, \n\t\t\t\t\t\tcorrections, and new releases (a "Change") to the \n\t\t\t\t\t\tSoftware. USAePay is not responsible for any damages \n\t\t\t\t\t\tsuffered as a result of such Change. If USAePay chooses \n\t\t\t\t\t\tto issue a Change, the terms of this License shall apply \n\t\t\t\t\t\tto such Change and the same shall be treated as Software \n\t\t\t\t\t\thereunder. Changes may require that you agree to \n\t\t\t\t\t\tadditional or revised terms and conditions as a \n\t\t\t\t\t\tcondition of continued use of the Software. Unless \n\t\t\t\t\t\totherwise agreed to by USAePay in writing, USAePay shall \n\t\t\t\t\t\thave no obligation to provide Changes, maintenance, or \n\t\t\t\t\t\tsupport to you or any person to whom you provide access \n\t\t\t\t\t\tto the Software.
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t3. Government Use:
    \n\t\t\t
    Use, duplication or disclosure by or on behalf of U.S. \n\t\t\tGovernment entities is subject to restrictions set forth in \n\t\t\tsubparagraphs (a) through (d) of the Commercial Computer-Restricted \n\t\t\tRights clause at FAR 52.227-19 when applicable, or in subparagraph \n\t\t\t(c)(1)(ii) of the Rights in Technical Data and Computer Software \n\t\t\tclause at DFARS 252.227-7013, and in similar clauses in the NASA AR \n\t\t\tSupplement. The contractor/manufacturer is USAePay, 5900 Wilshire Blvd, Suite 2700, Los Angeles, CA 90036. USA.
    \n\t\t\t
    \n\t\t\t4. Restrictions on Export:
    \n\t\t\t
    You may not setup, download or otherwise export or re-export the \n\t\t\tSoftware or any of its components, data, code or technology except \n\t\t\tin full compliance with all United States and other applicable laws \n\t\t\tand regulations. In particular, but without limitation, none of the \n\t\t\tSoftware or its components, data, code or technology may be
    \n\t\t\tdownloaded or otherwise exported or re-exported.

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. into (or to \n\t\t\t\t\t\ta national resident of) Cuba, Iraq, Libya, Sudan, North \n\t\t\t\t\t\tKorea, Iran, or Syria, Indonesia, Romania, Malaysia or
    b. to anyone on \n\t\t\t\t\t\tthe U.S. Treasury Department\'s list of Specially \n\t\t\t\t\t\tDesignated nationals or the U.S. Commerce Department\'s \n\t\t\t\t\t\tTable of Deny Orders. By downloading the Software, you \n\t\t\t\t\t\tare agreeing to the preceding terms and are representing \n\t\t\t\t\t\tand warranting that you are not located in, under the \n\t\t\t\t\t\tcontrol of, or a national or resident of any such \n\t\t\t\t\t\tcountry or on any such list.
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t5. Limited Warranty:
    \n\t\t\t
    USAePay warrants that if the Software is inoperable or \n\t\t\tdefective, it will make commercially reasonable efforts to make \n\t\t\tavailable to you at no charge a replacement copy of the Software. \n\t\t\tUSAePay and its vendors disclaim all other warranties, expressed or \n\t\t\timplied, written or oral, including but not limited to those of \n\t\t\tmerchantability, fitness for a particular purpose, and infringement.\n\t\t\t
    \n\t\t\t
    \n\t\t\t6. Limitation of Damages:

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. Except for a \n\t\t\t\t\t\tbreach by you of your obligations under Sections 2(a), \n\t\t\t\t\t\t(b), and (c), the parties hereto, and their vendors (and \n\t\t\t\t\t\tany officers, directors, employees and agents of the \n\t\t\t\t\t\tparties, and their vendors) shall not be liable for any \n\t\t\t\t\t\tconsequential, incidental or indirect damages.
    b. Except for \n\t\t\t\t\t\tclaims arising from criminal or willful misconduct, the \n\t\t\t\t\t\tparties agree to waive any claim to seek punitive or \n\t\t\t\t\t\texemplary damages.
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t7. Termination:

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. Either party \n\t\t\t\t\t\tmay terminate this License on 30 days written notice for \n\t\t\t\t\t\tmaterial breach by the other party of its obligations \n\t\t\t\t\t\thereunder unless such breach is cured within such 30-day \n\t\t\t\t\t\tperiod.
    b. In addition \n\t\t\t\t\t\tto your termination right under paragraph (a) you may \n\t\t\t\t\t\tterminate this license on 10 days written notice. \n\t\t\t\t\t\t
    c. In addition \n\t\t\t\t\t\tto USAePay\'s termination right under paragraph (a), \n\t\t\t\t\t\tUSAePay may terminate this license as provided in \n\t\t\t\t\t\tSection 11.
    d. Upon \n\t\t\t\t\t\ttermination of this License, you will return or destroy \n\t\t\t\t\t\tall copies of the Software in your possession. \n\t\t\t\t\t\t
    \n\t\t\t
    \n\t\t\t


    \n\t\t\t8. Notices:
    \n\t\t\t
    All notices shall be given electronically, with notices to you \n\t\t\tbeing sent to the electronic mail address which you furnish at the \n\t\t\ttime you install the Software and notices to USAePay going to legal@USAePay.com.
    \n\t\t\t
    \n\t\t\t9. Trademarks:
    \n\t\t\t
    "USAePay", the USAePay logo, "Gor Corporation", the Gor \n\t\t\tCorporation logo are trademarks of Gor Corporation. USAePay grants \n\t\t\tyou a limited, non-exclusive license to use those trademarks in \n\t\t\tdisplaying payment options on your web site and in promotional \n\t\t\tdocumentation.
    \n\t\t\t
    \n\t\t\t10. No Agency:
    \n\t\t\t
    Without USAePay\'s written consent, you will not represent that \n\t\t\tyou are an agent of USAePay, or that you have been endorsed or \n\t\t\tcertified by USAePay.
    \n\t\t\t
    \n\t\t\t11. Infringement Indemnity:

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. USAePay \n\t\t\t\t\t\thereby agrees to indemnify you against any loss or \n\t\t\t\t\t\tdamage, including attorneys\' fees and costs of \n\t\t\t\t\t\tlitigation, arising from a claim that the Software \n\t\t\t\t\t\tinfringes a patent, copyright, trademark or other \n\t\t\t\t\t\tintellectual property right of any other person.
    \n 
    b. You hereby \n\t\t\t\t\t\tagree to indemnify USAePay against any loss or damage, \n\t\t\t\t\t\tincluding attorneys\' fees and costs of litigation, \n\t\t\t\t\t\tarising from a claim that the Software infringes a \n\t\t\t\t\t\tpatent, copyright, trademark or other intellectual \n\t\t\t\t\t\tproperty right resulting from:
    \n 
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    i. \n\t\t\t\t\t\t\t\t\tyour use of the Software for purposes other \n\t\t\t\t\t\t\t\t\tthan making use of a payment service \n\t\t\t\t\t\t\t\t\tauthorized by USAePay; or
    ii. \n\t\t\t\t\t\t\t\t\tan unauthorized modification of the Software \n\t\t\t\t\t\t\t\t\tby you, provided, however, that the \n\t\t\t\t\t\t\t\t\tforegoing indemnification obligation applies \n\t\t\t\t\t\t\t\t\tonly to such a claim that would have been \n\t\t\t\t\t\t\t\t\tavoided in the absence of such use or \n\t\t\t\t\t\t\t\t\tmodification.
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    c. In the event \n\t\t\t\t\t\ta party (the "Indemnified Party") becomes aware of a \n\t\t\t\t\t\tclaim described in Sections 10 (a) or (b) for which it \n\t\t\t\t\t\tmay seek indemnification, the Indemnified Party shall \n\t\t\t\t\t\tpromptly give the other party (the "Indemnifying Party") \n\t\t\t\t\t\tnotice of the claim and permit the Indemnifying Party to \n\t\t\t\t\t\tassume the defense of the claim. The Indemnified Party \n\t\t\t\t\t\tshall have the right to participate in the defense at \n\t\t\t\t\t\tits expense.
    d. USAePay \n\t\t\t\t\t\tshall have no obligation to indemnify you with respect \n\t\t\t\t\t\tto any claim to extent it is based on:
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    i. \n\t\t\t\t\t\t\t\t\tthe use of the Software for a purpose other \n\t\t\t\t\t\t\t\t\tthan using a payment service authorized by \n\t\t\t\t\t\t\t\t\tUSAePay;
    ii. \n\t\t\t\t\t\t\t\t\tThe use of the Software in combination with \n\t\t\t\t\t\t\t\t\tother products, equipment, devices or \n\t\t\t\t\t\t\t\t\tsoftware where such combination is likely to \n\t\t\t\t\t\t\t\t\tinfringe or infringes the rights of a third \n\t\t\t\t\t\t\t\t\tparty; or
    \n\t\t\t\t\t\t\t\t\tiii. The alteration or modification of the \n\t\t\t\t\t\t\t\t\tbinary elements of the Software by or for \n\t\t\t\t\t\t\t\t\tyou if such infringement charge would have \n\t\t\t\t\t\t\t\t\tbeen avoided in the absence of such \n\t\t\t\t\t\t\t\t\talteration or modification.
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    e. If the \n\t\t\t\t\t\tSoftware or any component of the Software becomes, or in \n\t\t\t\t\t\tUSAePay\'s opinion is likely to become, the subject of a \n\t\t\t\t\t\tclaim of infringement, then you shall permit USAePay, at \n\t\t\t\t\t\tits option and expense, either:
    \n 
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    i. \n\t\t\t\t\t\t\t\t\tto procure for you the right to continue \n\t\t\t\t\t\t\t\t\tusing the Software as permitted in this \n\t\t\t\t\t\t\t\t\tAgreement, or
    ii. \n\t\t\t\t\t\t\t\t\tTo replace or modify Software or the \n\t\t\t\t\t\t\t\t\tinfringing component of the
    \n\t\t\t\t\t\t\t\t\tSoftware so that it becomes non-infringing. \n\t\t\t\t\t\t\t\t\tIf, after the using commercially reasonable \n\t\t\t\t\t\t\t\t\tefforts USAePay is unable to cure the \n\t\t\t\t\t\t\t\t\tinfringement, either party may terminate \n\t\t\t\t\t\t\t\t\tthis Agreement on written notice to the \n\t\t\t\t\t\t\t\t\tother.
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t
    \n\t\t\t

    12. Payment Terms:

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. It is the \n\t\t\t\t\t\tLicensee\'s understanding they will be charged the rates \n\t\t\t\t\t\tand fees for their use of the Software as set forth in \n\t\t\t\t\t\ttheir Agreement at the time of sale.
    b. If the \n\t\t\t\t\t\tLicensee fails to stay current with the payment terms as \n\t\t\t\t\t\tdescribed in 12 (a), USAePay reserves the right to \n\t\t\t\t\t\tdiscontinue use of the Software by Licensee until paid \n\t\t\t\t\t\tin full.
    \n\t\t\t
    \n\t\t\t

    13. Acceptable Use \n\t\t\tPolicy:
    \n\t\t\t
    Merchant will not engage in Net Abuse, that can be defined as \n\t\t\t(but is not limited to):

    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. Sending any \n\t\t\t\t\t\tkind of unsolicited or unwelcome email to a substantial \n\t\t\t\t\t\tnumber of network users, anywhere on the Internet.
    b. Posting a \n\t\t\t\t\t\tsingle article or substantially similar articles to an \n\t\t\t\t\t\texcessive number of newsgroups or mailing lists (i.e., \n\t\t\t\t\t\t20 or more).
    c. Repeated or \n\t\t\t\t\t\tdeliberate posting of articles that are off-topic \n\t\t\t\t\t\taccording to the charter of that newsgroup or mail list.
    d. Posting \n\t\t\t\t\t\tcommercial advertising in almost any conference or \n\t\t\t\t\t\tnewsgroup, unless it is specifically permitted within \n\t\t\t\t\t\tthat group. I understand that USAePay investigates all \n\t\t\t\t\t\treported occurrences of net abuse, and will take action \n\t\t\t\t\t\taccording to the circumstances and severity of the \n\t\t\t\t\t\tabuse. For first offenders, USAePay will normally issue \n\t\t\t\t\t\ta warning, and take necessary action to minimize any \n\t\t\t\t\t\tdamage. Depending on the severity of the breach of this \n\t\t\t\t\t\tpolicy, USAePay may immediately take any of the \n\t\t\t\t\t\tfollowing actions:
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    i. \n\t\t\t\t\t\t\t\t\tImmediate suspension of your account, \n\t\t\t\t\t\t\t\t\thalting all processing of credit card and/or \n\t\t\t\t\t\t\t\t\tACH transactions.
    ii. \n\t\t\t\t\t\t\t\t\tPossible termination of account. USAePay \n\t\t\t\t\t\t\t\t\twill not tolerate Net Abuse of any kind.
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t
    \n\t\t\t

    14. Agreement Provisions:
    \n\t\t\t
    This License constitutes the entire Agreement between you and \n\t\t\tUSAePay pertaining to the subject matter hereof, and supersedes in \n\t\t\ttheir entirety any and all written or oral Agreements pertaining to \n\t\t\tthe Software and its use between the parties.

    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    a. Publicity
    \n\t\t\t\t\t\tThe parties may work together to issue publicity and \n\t\t\t\t\t\tgeneral marketing communications concerning their \n\t\t\t\t\t\trelationship and other mutually agreed-upon matters, \n\t\t\t\t\t\tprovided, however, that neither party will have any \n\t\t\t\t\t\tobligation to do so. In addition, neither party will \n\t\t\t\t\t\tissue such publicity and general marketing \n\t\t\t\t\t\tcommunications concerning this relationship without the \n\t\t\t\t\t\tprior written consent of the other party (not to be \n\t\t\t\t\t\tunreasonably withheld or delayed).
    b. Non-exclusivity
    \n\t\t\t\t\t\tEach party acknowledges and agrees that the rights \n\t\t\t\t\t\tgranted to the other party in this Agreement are \n\t\t\t\t\t\tnon-exclusive, and that, without limiting the generality \n\t\t\t\t\t\tof the foregoing, nothing in this Agreement shall be \n\t\t\t\t\t\tdeemed or construed to prohibit either party from \n\t\t\t\t\t\tparticipating in similar business arrangements as those \n\t\t\t\t\t\tdescribed herein.
    c. Severability; \n\t\t\t\t\t\tHeadings
    \n\t\t\t\t\t\tIf any provision of this Agreement is held to be invalid \n\t\t\t\t\t\tor unenforceable for any reason, the remaining \n\t\t\t\t\t\tprovisions will continue in full force without being \n\t\t\t\t\t\timpaired or invalidated in any way. The parties agree to \n\t\t\t\t\t\treplace any invalid provision with a valid provision, \n\t\t\t\t\t\twhich most closely approximates the intent and economic \n\t\t\t\t\t\teffect of the invalid provision. Headings are used for \n\t\t\t\t\t\tconvenience of reference only and in no way define, \n\t\t\t\t\t\tlimit, construe or describe the scope or extent of any \n\t\t\t\t\t\tsection, or in any way affect this Agreement.
    d. Waiver
    \n\t\t\t\t\t\t
    The failure of any party to insist on or enforce \n\t\t\t\t\t\tstrict performance of any provision of this Agreement or \n\t\t\t\t\t\tto exercise any right or remedy under this Agreement or \n\t\t\t\t\t\tapplicable law will not be construed as a waiver or \n\t\t\t\t\t\trelinquishment to any extent of the right to assert or \n\t\t\t\t\t\trely upon any such provision, right or remedy in that or \n\t\t\t\t\t\tany other instance; rather, the same will be and remain \n\t\t\t\t\t\tin full force and effect. Waiver by either party of a \n\t\t\t\t\t\tbreach of any provision contained herein must be in \n\t\t\t\t\t\twriting, and no such waiver will be construed as a \n\t\t\t\t\t\twaiver of any other and/or succeeding breach of such \n\t\t\t\t\t\tprovision or a waiver of the provision itself.
    e. Dispute Resolution
    \n\t\t\t\t\t\tAny dispute or claim arising out of or relating to this \n\t\t\t\t\t\tAgreement, except claims involving intellectual property \n\t\t\t\t\t\tand claims for indemnification, will be resolved by \n\t\t\t\t\t\tbinding arbitration. The arbitration of any dispute or \n\t\t\t\t\t\tclaim shall be conducted in accordance with the American \n\t\t\t\t\t\tArbitration Association ("AAA") rules, as modified by \n\t\t\t\t\t\tthis Agreement, and will take place in Los Angeles, \n\t\t\t\t\t\tCalifornia, USA, unless the Parties mutually agree to \n\t\t\t\t\t\thold the proceedings elsewhere. This Agreement evidences \n\t\t\t\t\t\ta transaction in interstate commerce and this \n\t\t\t\t\t\tarbitration provision will be interpreted and enforced \n\t\t\t\t\t\tin accordance with the Federal Arbitration Act and \n\t\t\t\t\t\tfederal arbitration law. An arbitrator may not award \n\t\t\t\t\t\trelief in excess of or contrary to what this Agreement \n\t\t\t\t\t\tprovides or order consolidation or arbitration on a \n\t\t\t\t\t\tclass wide or representative basis, except that the \n\t\t\t\t\t\tarbitrator may award on an individual basis damages \n\t\t\t\t\t\trequired by statute and may order injunctive or \n\t\t\t\t\t\tdeclaratory relief pursuant to an applicable consumer \n\t\t\t\t\t\tprotection statute. Any arbitration shall be \n\t\t\t\t\t\tconfidential, and neither Party may disclose the \n\t\t\t\t\t\texistence, content or results of any arbitration, except \n\t\t\t\t\t\tas may be required by law or for purposes of enforcement \n\t\t\t\t\t\tof the arbitration award. Judgment on any arbitration \n\t\t\t\t\t\taward may be entered in any court having proper \n\t\t\t\t\t\tjurisdiction. All administrative fees and expenses will \n\t\t\t\t\t\tbe divided equally between the Parties, but each Party \n\t\t\t\t\t\twill bear the expense of its own counsel, experts, \n\t\t\t\t\t\twitnesses and preparation and presentation of evidence \n\t\t\t\t\t\tat the arbitration. IF FOR ANY REASON THIS ARBITRATION \n\t\t\t\t\t\tCLAUSE IS DEEMED INAPPLICABLE OR INVALID, THE PARTIES \n\t\t\t\t\t\tWAIVE, TO THE FULLEST EXTENT ALLOWED BY LAW, ANY RIGHT \n\t\t\t\t\t\tTO PURSUE ANY CLAIMS ON A CLASS OR CONSOLIDATED BASIS OR \n\t\t\t\t\t\tIN A REPRESENTATIVE CAPACITY. No action, regardless of \n\t\t\t\t\t\tform, arising out of or in conjunction with the subject \n\t\t\t\t\t\tmatter of this Agreement, except for claims involving \n\t\t\t\t\t\tintellectual property and claims for indemnification, \n\t\t\t\t\t\tmay be brought by either Party more than one (1) year \n\t\t\t\t\t\tafter the cause of action arose.
    \n\t\t\t
    \n\t\t\t

    15. Governing Law:
    \n\t\t\t
    This License Agreement shall be governed by the laws of the \n\t\t\tState of California, United States of America.
    \n\t\t\t
    \n\t\t\t16. Malicious Attempts:
    \n\t\t\t
    Any malicious attempts taken on any entity of the USAePay \n\t\t\twebsite or software will result in immediate termination of account \n\t\t\tas well an assessed malice fee for any and all damages.
    \n\t\t\t
    \n\t\t\t

    \n\t\t\tLast revised : 03/09/2010
    \n\t\t\tversion 1. rev. 10.
    \n 

    '})],FB);let nL=class{constructor(){this.showNews=!1}ngOnInit(){}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={articles:[{type:G,args:["articles"]}]}};nL=be([Ke({selector:"ue-newsfeed",template:'
    \n\t
    \n\t\t

    \n\t\t\t\n\t\t\t\t\n\t\t\t\tNewsfeed\n\t\t\t\n\t\t

    \n\t
    \n\t
    \n\t\t
    \n\t\t\t\n\t\t\t\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    {{ showNews ? \'Hide Older\' : \'View Older\'}}
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'})],nL);let YB=class{constructor(){}ngOnInit(){}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={article:[{type:G,args:["article"]}],last:[{type:G,args:["last"]}]}};YB=be([Ke({selector:"ue-article",template:'
    \n\t
    \n\t\t
    \n\t\t\t

    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t{{article?.posted}}\n\t\t\t\t\n\t\t\t

    \n\t\t\t

    \n\t\t\t\t{{article?.title}}\n\t\t\t

    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n'})],YB);var Cle=x(8234),Mle=x.n(Cle);var xle=x(4216),kle=x.n(xle);let sL=class{constructor(){this.changeTab=new Le}ngOnInit(){}clickTab(e){this.changeTab.emit(e),this.showTab=e}tabHighlight(e){if(this.highlightTabs)return-1!==this.highlightTabs.indexOf(e)}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={tabs:[{type:G}],showTab:[{type:G}],changeTab:[{type:nt}],highlightTabs:[{type:G}]}};sL=be([Ke({selector:"ue-nav-tabs",template:'\n',styles:[kle()]})],sL);var Ile=x(642),Ale=x.n(Ile);let qb=class{constructor(e,t,s){this.el=e,this.renderer=t,this.ngControl=s,this.error=!1,this.warning=!1,this.confirmed=!1,this.renderer.addClass(this.el.nativeElement,"mobile-center"),this.renderer.addClass(this.el.nativeElement,"input_lg"),this.renderer.addClass(this.el.nativeElement,"font-light")}focus(){this.el.nativeElement.focus()}ngOnInit(){this.ngControl&&((""===this.ngControl.control.value||null===this.ngControl.control.value)&&this.renderer.addClass(this.el.nativeElement,"empty"),this.controlSubscription=this.ngControl.control.valueChanges.subscribe(e=>{""===e||null===e?this.renderer.addClass(this.el.nativeElement,"empty"):this.renderer.removeClass(this.el.nativeElement,"empty")}))}ngAfterViewInit(){this.readonly&&this.el.nativeElement.setAttribute("readonly",!0)}ngOnDestroy(){this.controlSubscription&&this.controlSubscription.unsubscribe()}static#e=this.ctorParameters=()=>[{type:pn},{type:Ui},{type:Xd,decorators:[{type:Si},{type:Fl}]}];static#t=this.propDecorators={label:[{type:G}],errorMessage:[{type:G}],note:[{type:G}],greyout:[{type:G}],readonly:[{type:G}],disabled:[{type:G}],reqDifferent:[{type:G}],warningMessage:[{type:G}],focus:[{type:G}],error:[{type:qN,args:["class.error"]},{type:G}],warning:[{type:qN,args:["class.warning"]},{type:G}],confirmed:[{type:qN,args:["class.confirmed"]},{type:G}]}};qb=be([fl({selector:"[ueFloatInput]"})],qb);let iL=class{constructor(){}focusInput(){this.inputDirective.readonly||this.inputDirective.focus()}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={inputDirective:[{type:Mp,args:[qb,{static:!0}]}]}};iL=be([Ke({selector:"ue-float-input-container",template:'
    \n\t\n\t\n\tNote: {{inputDirective.note}}\n\t
    * {{inputDirective.errorMessage}}
    \n\t
    * {{inputDirective.warningMessage}}
    \n
    \n',styles:[Ale()]})],iL);var Ple=x(4020),Rle=x.n(Ple);let C0=class{constructor(){this.error=!1,this.valueChange=new Le,this.isDisabled=!1,this.isEmpty=!0}ngOnChanges(e){e.value&&this.checkIfEmpty(e.value.currentValue)}inputChange(e){this.checkIfEmpty(e),this.valueChange.emit(e),this._onChange&&this._onChange(e)}inputBlur(){this._onTouch&&this._onTouch()}checkIfEmpty(e){this.isEmpty=""===e}writeValue(e){this.checkIfEmpty(e),this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouch=e}setDisabledState(e){this.isDisabled=e}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={label:[{type:G}],value:[{type:G}],inputClass:[{type:G}],error:[{type:G}],errorMessage:[{type:G}],note:[{type:G}],readonly:[{type:G}],valueChange:[{type:nt}],reqDifferent:[{type:G}]}};C0=be([Ke({selector:"ue-float-label-select",template:'
    \n\t
    \n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\tNote: {{note}}\n\t\t* {{errorMessage}}\n\t
    \n
    ',providers:[{provide:Ar,multi:!0,useExisting:C0}],styles:[Rle()]})],C0);class Ec{static#e=this.emailRegex=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;static#t=this.nmiSupportEmail="support@nmi.com";static#n=this.uepSupportEmail="support@usaepay.com";static passwordMatch(e){return e.controls.password_confirm&&e.controls.password?e.controls.password_confirm.value===e.controls.password.value?null:{passwordmismatch:!0}:null}static passwordMatchEnhanced(e){const t=e.get("password"),s=e.get("password_confirm");return t&&s&&t.value!==s.value?{passwordMismatch:!0}:null}static passwordDifferentFromCurrent(e){const t=e.get("current_password"),s=e.get("password");return t&&s&&t.value&&s.value&&t.value===s.value?{sameAsCurrent:!0}:null}static uppercaseValidator(e){const t=e.value;return t?/[A-Z]/.test(t)?null:{uppercase:!0}:null}static lowercaseValidator(e){const t=e.value;return t?/[a-z]/.test(t)?null:{lowercase:!0}:null}static numberValidator(e){const t=e.value;return t?/[0-9]/.test(t)?null:{number:!0}:null}static specialCharValidator(e){const t=e.value;return t?/[!@#$%^&*()_+\-=\[\]{};:"\\|,.<>\/?]/.test(t)?null:{specialChar:!0}:null}static getPasswordErrorMessage(e){return e&&e.errors?e.errors.required?"Password is required":e.errors.minlength?"Password must be at least 12 characters long":e.errors.maxlength?"Password must be at most 32 characters long":e.errors.uppercase?"Password must contain at least one uppercase letter":e.errors.lowercase?"Password must contain at least one lowercase letter":e.errors.number?"Password must contain at least one number":e.errors.specialChar?"Password must contain at least one special character":"Password is invalid":""}static getPasswordConfirmErrorMessage(e,t){return e?t?.passwordMismatch||t?.passwordmismatch?"Passwords do not match":e.errors?.required?"Password confirmation is required":e.errors?.minlength?"Password confirmation must be at least 12 characters long":e.errors?.maxlength?"Password confirmation must be at most 32 characters long":e.errors?"Password confirmation is invalid":"":""}static getFormErrorMessage(e){return e&&e.sameAsCurrent?"New password must be different from current password":""}static isPasswordRequirementMet(e,t){if(!e)return!1;switch(t){case"length":return e.length>=12&&e.length<=32;case"uppercase":return/[A-Z]/.test(e);case"lowercase":return/[a-z]/.test(e);case"number":return/[0-9]/.test(e);case"specialChar":return/[!@#$%^&*()_+\-=\[\]{};:"\\|,.<>\/?]/.test(e);default:return!1}}static getPasswordRequirementsStatus(e){return{length:this.isPasswordRequirementMet(e,"length"),uppercase:this.isPasswordRequirementMet(e,"uppercase"),lowercase:this.isPasswordRequirementMet(e,"lowercase"),number:this.isPasswordRequirementMet(e,"number"),specialChar:this.isPasswordRequirementMet(e,"specialChar")}}static passwordLetterOrNum(){return e=>{if(null===e.value||0===e.value.length)return null;const t=/\w*[a-zA-Z]\w*/.test(e.value),s=/\w*\d\w*/.test(e.value);return t&&s?null:{noletterornumber:!0}}}static validEmail(){return e=>{const t=e.value;if(!t)return null;const s=t.split(/[ ,;]+/);let r="";return s.forEach(o=>{this.emailRegex.test(o)||(r+=o+" ")}),0===r.length?null:{invalidEmail:!0}}}static shopifyDomain(){const e=/\.myshopify\.com$/;return t=>null===t.value||0===t.value.length||e.test(t.value)?null:{error:!0}}static multipleEmails(){return e=>null===e.value||0===e.value.length||/^[\W]*([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4}[\W]*,{1}[\W]*)*([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4})[\W]*$/.test(e.value)?null:{error:!0}}static streetAddress(){return e=>null===e.value||0===e.value.length||/^\s*\S+(?:\s+\S+){2}/.test(e.value)?null:{error:!0}}static lettersAndNum(){return e=>null!==e.value&&0!==e.value.length&&/[^A-Za-z0-9 ]+/g.test(e.value)?{error:!0}:null}static numOnly(){return e=>null===e.value||0===e.value.length||/[0-9]/.test(e.value)?null:{error:!0}}static noSymbols(){return e=>null===e.value||0===e.value.length||/^[_A-z0-9]*((-|\s)*[_A-z0-9])*$/.test(e.value)?null:{error:!0}}static minValue(e){return t=>this.sanitizeNum(t.value)this.sanitizeNum(t.value)>e?{error:!0}:null}static nonSupportEmail(){return e=>null===e.value||0===e.value.length?null:e.value.includes(this.nmiSupportEmail)||e.value.includes(this.uepSupportEmail)?{error:!0}:null}static isBetween(e,t){return s=>this.sanitizeNum(s.value)t?{error:!0}:null}static sanitizeNum(e){let t;return t="string"==typeof e?e&&e.replace(/[^\d\.-]+/g,""):e,"."===t&&(t=0),t}static validateIPs(){return e=>{if(e.value){if(null===e.value||0===e.value.length||Array.isArray(e.value))return null;const t=e.value.split(/[ ,;/\n]+/);let s="";for(let r=0;rnull===t.value||0===t.value.length||e.test(t.value)?null:{error:!0}}constructor(){}}let BB=class{constructor(){this.name="date"}transform(e,...t){return e}};BB=be([Sv({name:"date",pure:!1})],BB);var Nle=x(5366),Fle=x.n(Nle);let f_=class{constructor(){this.receivedResponse=!1,this.marginOverride=!1,this.isOpened=!1,this.fadeOut=!1}ngOnDestroy(){document.body.className=document.body.className.replace(/modal-open\b/,"")}startModal(e,t=500){this.resetValues(),setTimeout(()=>{this.receivedResponse||(this.isOpened=!0,this.title=e)},t)}updateTitle(e){this.title=e}updateModal(e,t){if(this.receivedResponse=!0,this.isOpened){let s,r,o,c;"success"===e&&(s="fa-check",r="txt-success",o="stroke-success",c="Success!"),"error"===e&&(s="fa-times",r="txt-error",o="stroke-error",c="Error!"),this.updateResponse({icon:s,color:r,stroke:o,title:c,message:t})}}open(...e){this.isOpened||(this.isOpened=!0,window.setTimeout(()=>this.progressModal.nativeElement.focus(),0),document.body.className+=" modal-open")}close(...e){this.isOpened&&(this.isOpened=!1,document.body.className=document.body.className.replace(/modal-open\b/,""))}updateResponse(e){this.updateValues(e),setTimeout(()=>{this.fadeOut=!0},2e3),setTimeout(()=>{this.close(),this.resetValues(),this.fadeOut=!1},2500)}updateValues(e){this.icon=e.icon,this.color=e.color,this.stroke=e.stroke,this.title=e.title,this.message=e.message}resetValues(){this.icon="",this.color="",this.stroke="",this.title="",this.message="",this.receivedResponse=!1}preventClosing(e){e.stopPropagation()}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={icon:[{type:G}],color:[{type:G}],stroke:[{type:G}],title:[{type:G}],message:[{type:G}],receivedResponse:[{type:G}],marginOverride:[{type:G}],progressModal:[{type:qe,args:["progressModal",{static:!0}]}]}};f_=be([Ke({selector:"ue-progress-modal",template:'\n\n\n\t\n',styles:[Fle()]})],f_);var Ble=x(9126),jle=x.n(Ble);let rL=class{constructor(){this.index=0,this.updateTime=new Le,this.hour=12,this.min="00",this.ampm="PM",this.clock=this.updateClock(),this.showTime=!1,this.time=[{batch:"",value:""}]}ngOnInit(){this.makeClock();const e=new Date;let r,t=e.getHours(),s=e.getMinutes();this.timeData.value?(this.hour=this.timeData.value.split(":",2)[0],this.min=this.timeData.value.split(":",2)[1].split(" ",1)[0],this.ampm=this.timeData.value.split(":",2)[1].split(" ",2)[1],this.updateClock(),this.makeClock()):(r=t>=12?"PM":"AM",t=t>12?t-12:t,s<10&&(s="0"+s),this.hour=t,this.min=s,this.ampm=r,this.updateClock(),this.makeClock())}clickedOutside(e){this.showTime=!1}showTimePicker(e){this.allowClick(e),this.showTime=!this.showTime}allowClick(e){e.preventDefault(),e.stopPropagation()}hideTimePicker(){this.showTime=!this.showTime}updateClock(){this.clock=this.hour+":"+this.min+" "+this.ampm}hourCountUp(){this.hour>11?(this.hour=1,this.updateClock()):(this.hour++,this.updateClock()),this.makeClock()}hourCountDown(){this.hour<=1?(this.hour=12,this.updateClock()):(this.hour--,this.updateClock()),this.makeClock()}minCountUp(){this.min>=59?(this.min="0",this.hour++,this.hour>11&&(this.hour=1),this.updateClock()):(this.min++,this.updateClock()),this.min<10&&(this.min="0"+this.min,this.updateClock()),this.makeClock()}minCountDown(){this.min<1?(this.min=59,this.hour--,this.updateClock()):(this.min--,this.updateClock()),this.min<10&&(this.min="0"+this.min,this.updateClock()),this.makeClock()}ampmSet(){"PM"===this.ampm?(this.ampm="AM",this.updateClock()):(this.ampm="PM",this.updateClock()),this.makeClock()}disableInput(e){(e||window.event).preventDefault()}validate(e){const t=e||window.event;let s=t.keyCode||t.which;if(s=String.fromCharCode(s),!/[0-9]/.test(s)){if("Backspace"===t.key||"Delete"===t.key)return this.clock=this.hour+":"+this.min+" "+this.ampm,!0;t.preventDefault()}}hrLimit(e){e>12?(this.hour=12,this.updateClock()):this.updateClock(),this.makeClock()}minLimit(e){1===e.length?(this.min="0"+this.min,this.updateClock()):0===this.min.indexOf("0")&&e.length>2?(this.min=this.min.slice(1),this.updateClock()):e>59||60===e?(this.min="00",this.updateClock()):this.updateClock(),this.makeClock()}sendData(){this.makeClock()}makeClock(){return this.updateTime.emit({time:this.clock,index:this.index})}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={index:[{type:G}],timeData:[{type:G}],updateTime:[{type:nt}],clickedOutside:[{type:ml,args:["document:click",["$event"]]}]}};rL=be([Ke({selector:"ue-time-picker",template:'
    \n',styles:[jle()]})],rL);const Vle={linear:n=>n,easeInQuad:n=>n*n,easeOutQuad:n=>n*(2-n),easeInOutQuad:n=>n<.5?2*n*n:(4-2*n)*n-1,easeInCubic:n=>n*n*n,easeOutCubic:n=>--n*n*n+1,easeInOutCubic:n=>n<.5?4*n*n*n:(n-1)*(2*n-2)*(2*n-2)+1,easeInQuart:n=>n*n*n*n,easeOutQuart:n=>1- --n*n*n*n,easeInOutQuart:n=>n<.5?8*n*n*n*n:1-8*--n*n*n*n,easeInQuint:n=>n*n*n*n*n,easeOutQuint:n=>1+--n*n*n*n*n,easeInOutQuint:n=>n<.5?16*n*n*n*n*n:1+16*--n*n*n*n*n},Hle_easeInOutCubic="easeInOutCubic";let oL=class{set ueScrollTo(e){this.scrollTarget=e}constructor(e,t,s,r,o){this.renderer=e,this.elementRef=t,this.routerLink=s,this.routerLinkWithHref=r,this.router=o,this.scrollTarget="",this.ueScrollOffset=75,this.ueScrollDuration=500,this.ueScrollEasingFunction=Hle_easeInOutCubic,this.clicked=!1}ngAfterViewInit(){(this.routerLink||this.routerLinkWithHref)&&(this.routerSubscription=this.router.events.pipe(fs(e=>e instanceof po)).subscribe(e=>{this.clicked&&(this.clicked=!1,this.scrollTo())})),this.renderer.setStyle(this.elementRef.nativeElement,"cursor","pointer")}ngOnDestroy(){this.routerSubscription&&this.routerSubscription.unsubscribe()}scrollTo(){const e=document.getElementById(this.scrollTarget);e?function Ule(n,e=0,t=200,s="easeInOutCubic",r){const o=window.pageYOffset,c="now"in window.performance?performance.now():(new Date).getTime(),d=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight),h=window.innerHeight||document.documentElement.clientHeight||document.getElementsByTagName("body")[0].clientHeight,m="number"==typeof n?n:n.offsetTop,g=Math.round(d-m.99999?r&&r():requestAnimationFrame(S)}()}(e,this.ueScrollOffset,this.ueScrollDuration,this.ueScrollEasingFunction):this.clicked=!0}static#e=this.ctorParameters=()=>[{type:Ui},{type:pn},{type:ku,decorators:[{type:Si},{type:Fl}]},{type:ku,decorators:[{type:Si},{type:Fl}]},{type:dn}];static#t=this.propDecorators={ueScrollTo:[{type:G}],ueScrollOffset:[{type:G}],ueScrollDuration:[{type:G}],ueScrollEasingFunction:[{type:G}],scrollTo:[{type:ml,args:["click"]}]}};oL=be([fl({selector:"[ueScrollTo]"})],oL);let M0=class{constructor(){this.inFocus=new H$(1)}getWindowInnerHeight(){return window.innerHeight}static#e=this.ctorParameters=()=>[]};M0=be([ks()],M0);let aL=class{set ueElemScrollSpy(e){this.spyId=e}get inFocus(){return this.scrollSpyService.inFocus}get elementRect(){return this.elemRef.nativeElement.getBoundingClientRect()}get windowInnerHeight(){return this.scrollSpyService.getWindowInnerHeight()}constructor(e,t){this.elemRef=e,this.scrollSpyService=t}ngOnInit(){}ngOnDestroy(){this.inFocus.next(null)}onWindowScroll(){const e=this.elementRect.top,t=this.elementRect.bottom,s=.5*this.windowInnerHeight;e[{type:pn},{type:M0}];static#t=this.propDecorators={ueElemScrollSpy:[{type:G}],onWindowScroll:[{type:ml,args:["window:scroll"]}]}};aL=be([fl({selector:"[ueElemScrollSpy]"})],aL);let lL=class{set ueScrollSpyActive(e){this.spyId=e}constructor(e,t,s){this.scrollSpyService=e,this.elementRef=t,this.renderer=s,this.spyId=""}ngOnInit(){this.scrollSpyService.inFocus.pipe(Lb()).subscribe(e=>{e===this.spyId?this.renderer.addClass(this.elementRef.nativeElement,"active"):this.renderer.removeClass(this.elementRef.nativeElement,"active")})}static#e=this.ctorParameters=()=>[{type:M0},{type:pn},{type:Ui}];static#t=this.propDecorators={ueScrollSpyActive:[{type:G}]}};var jB;lL=be([fl({selector:"[ueScrollSpyActive]"})],lL);let I6=jB=class{static forRoot(){return{ngModule:jB,providers:[M0]}}};I6=jB=be([fi({imports:[ha],declarations:[aL,lL],exports:[aL,lL]})],I6);let Gb=class{transform(e){return Object.keys(e).map(t=>({key:t,val:e[t]}))}};Gb=be([Sv({name:"objectloop"})],Gb);var zle=x(1682),Wle=x.n(zle);let cL=class{constructor(){this.customText=""}ngOnInit(){}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={customText:[{type:G}]}};cL=be([Ke({selector:"ue-loader",template:'
    \n\t
    \n\t\t\n\t\t\t\n\t\t\n\t\t

    {{customText ? customText : \'Loading...\'}}

    \n\t
    \n
    \n
    ',styles:[Wle()]})],cL);let E0=class{constructor(){this.type="text",this.error=!1,this.isEmpty=!0,this.isDisabled=!1}inputChange(e){this.checkIfEmpty(e),this._onChange(e)}checkIfEmpty(e){this.isEmpty=!e}writeValue(e){this.checkIfEmpty(e),this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouch=e}setDisabledState(e){this.isDisabled=e}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={type:[{type:G}],label:[{type:G}],value:[{type:G}],placeholder:[{type:G}],inputClass:[{type:G}],error:[{type:G}],errorMessage:[{type:G}],maxlength:[{type:G}],greyout:[{type:G}],inputDirective:[{type:Mp,args:[qb,{static:!0}]}]}};E0=be([Ke({selector:"ue-float-label",template:'\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t* {{errorMessage}}\n\t\t\t
    \n\t\t
    \n\t',providers:[{provide:Ar,multi:!0,useExisting:E0}],styles:[Mle()]})],E0);let uL=class{transform(e,t){let s="";return s=t||"-",e||s}};uL=be([Sv({name:"uePlaceholder"})],uL);let dL=class{constructor(e){this.el=e,this.tooltipPosition="right",this.tooltipEvent="hover",this.appendTo="body",this.zindex=5e3}onMouseEnter(e){"hover"===this.tooltipEvent&&(this.textToRender=this.text,this.show())}onMouseLeave(e){("hover"===this.tooltipEvent||"click"===this.tooltipEvent)&&this.hide(),this.clickedText&&"hover"===this.tooltipEvent&&(this.textToRender=this.text)}onClick(e){"click"===this.tooltipEvent&&!this.container&&(this.textToRender=this.text,this.show()),this.clickedText&&"hover"===this.tooltipEvent&&(this.hide(),this.textToRender=this.clickedText,this.show())}onFocus(e){"focus"===this.tooltipEvent&&(this.textToRender=this.text,this.show())}onBlur(e){"focus"===this.tooltipEvent&&this.hide()}show(){if(!this.text||this.disabled)return;this.create();const e="body"!==this.appendTo?{left:0,top:0}:this.getOffset(this.el.nativeElement),t=e.top,s=e.left;let r,o;switch(this.container.style.display="block",this.tooltipPosition){case"right":r=s+this.getOuterWidth(this.el.nativeElement),o=t+(this.getOuterHeight(this.el.nativeElement)-this.getOuterHeight(this.container))/2;break;case"modal-right":r=s+this.getOuterWidth(this.el.nativeElement),o=t+(this.getOuterHeight(this.el.nativeElement)-this.getOuterHeight(this.container))/1,this.container.style.position="fixed";break;case"left":r=s-this.getOuterWidth(this.container),o=t+(this.getOuterHeight(this.el.nativeElement)-this.getOuterHeight(this.container))/2;break;case"top":r=s+(this.getOuterWidth(this.el.nativeElement)-this.getOuterWidth(this.container))/2,o=t-this.getOuterHeight(this.container);break;case"top-large":r=s+(this.getOuterWidth(this.el.nativeElement)-this.getOuterWidth(this.container))/1,o=t-this.getOuterHeight(this.container)-20;break;case"modal-top":r=s+(this.getOuterWidth(this.el.nativeElement)-this.getOuterWidth(this.container))/2,o=t-this.getOuterHeight(this.container),this.container.style.position="fixed";break;case"bottom":r=s+(this.getOuterWidth(this.el.nativeElement)-this.getOuterWidth(this.container))/2,o=t+this.getOuterHeight(this.el.nativeElement)}this.container.style.left=r+"px",this.container.style.top=o+"px",this.fadeIn(this.container,250),this.container.style.zIndex=++this.zindex}hide(){this.ngOnDestroy()}create(){let e="ue-tooltip ue-tooltip-"+this.tooltipPosition;this.container=document.createElement("div"),this.tooltipStyleClass&&(e+=" "+this.tooltipStyleClass),this.container.className=e;const t=document.createElement("div");t.className="ue-tooltip-arrow",this.container.appendChild(t);const s=document.createElement("div");this.tooltipColor&&(s.style["background-color"]=this.tooltipColor),this.tooltipTextColor&&(s.style.color=this.tooltipTextColor),s.className="ue-tooltip-text",s.appendChild(document.createTextNode(this.textToRender)),this.container.appendChild(s),"body"===this.appendTo?document.body.appendChild(this.container):"target"===this.appendTo?this.appendChild(this.container,this.el.nativeElement):this.appendChild(this.container,this.appendTo)}ngOnDestroy(){this.container&&this.container.parentElement&&("body"===this.appendTo?document.body.removeChild(this.container):"target"===this.appendTo?this.el.nativeElement.removeChild(this.container):this.removeChild(this.container,this.appendTo)),this.container=null}fadeIn(e,t){e.style.opacity=0;let s=+new Date,r=0;const o=function(){r=+e.style.opacity+((new Date).getTime()-s)/t,e.style.opacity=r,s=+new Date,+r<1&&(window.requestAnimationFrame&&requestAnimationFrame(o)||setTimeout(o,16))};o()}getOuterWidth(e,t){let s=e.offsetWidth;if(t){const r=getComputedStyle(e);s+=parseFloat(r.marginLeft)+parseFloat(r.marginRight)}return s}getOuterHeight(e,t){let s=e.offsetHeight;if(t){const r=getComputedStyle(e);s+=parseFloat(r.marginTop)+parseFloat(r.marginBottom)}return s}getOffset(e){let t=e.offsetLeft,s=e.offsetTop;for(;e=e.offsetParent;)t+=e.offsetLeft,s+=e.offsetTop;return{left:t,top:s}}appendChild(e,t){if(this.isElement(t))t.appendChild(e);else{if(!t.el||!t.el.nativeElement)throw"Cannot append "+t+" to "+e;t.el.nativeElement.appendChild(e)}}removeChild(e,t){if(this.isElement(t))t.removeChild(e);else{if(!t.el||!t.el.nativeElement)throw"Cannot remove "+e+" from "+t;t.el.nativeElement.removeChild(e)}}isElement(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}static#e=this.ctorParameters=()=>[{type:pn}];static#t=this.propDecorators={text:[{type:G,args:["ueTooltip"]}],tooltipPosition:[{type:G}],tooltipEvent:[{type:G}],appendTo:[{type:G}],clickedText:[{type:G}],tooltipStyleClass:[{type:G}],tooltipColor:[{type:G}],tooltipTextColor:[{type:G}],disabled:[{type:G,args:["tooltipDisabled"]}],onMouseEnter:[{type:ml,args:["mouseenter",["$event"]]}],onMouseLeave:[{type:ml,args:["mouseleave",["$event"]]}],onClick:[{type:ml,args:["click",["$event"]]}],onFocus:[{type:ml,args:["focus",["$event"]]}],onBlur:[{type:ml,args:["blur",["$event"]]}]}};dL=be([fl({selector:"[ueTooltip]"})],dL);let hL=class{constructor(){}ngOnInit(){}buildStyle(e){return Object.assign({},e,this.addStyle)}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={backgroundColor:[{type:G}],textColor:[{type:G}],pillClass:[{type:G}],addStyle:[{type:G}]}};hL=be([Ke({selector:"ue-pill",template:"\n \n\n"})],hL);var Kle=x(7206),Qle=x.n(Kle);let x0=class{constructor(){this.error=!1,this.isDisabled=!1,this.isEmpty=!0,this._onChange=e=>{},this._onTouch=()=>{}}checkIfEmpty(e){this.isEmpty=!e}writeValue(e){this.checkIfEmpty(e),this.value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouch=e}inputChange(e){this.checkIfEmpty(e),this._onChange(e)}setDisabledState(e){this.isDisabled=e}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={label:[{type:G}],value:[{type:G}],placeholder:[{type:G}],error:[{type:G}],errorMessage:[{type:G}],inputClass:[{type:G}],note:[{type:G}]}};x0=be([Ke({selector:"ue-float-textarea",template:'
    \n\t
    \n\t\t\n\t\t\n\t\t\n\t\t
    Note: {{note}}
    \n\t\t* {{errorMessage}}\n\t
    \n
    ',providers:[{provide:Ar,useExisting:It(()=>x0),multi:!0}],styles:[Qle()]})],x0);var Zle=x(9644),Jle=x.n(Zle);let pL=class{constructor(){}ngOnInit(){}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={onText:[{type:G}],offText:[{type:G}],label:[{type:G}]}};pL=be([Ke({selector:"ue-toggle",template:'
    \n\t\n
    ',styles:[Jle()]})],pL);var tce=x(8672),nce=x.n(tce);let fL=class{constructor(){this.methodName="payment method",this.icon="um um-blank-card",this.active=!1}ngOnInit(){}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={methodName:[{type:G,args:["methodName"]}],icon:[{type:G,args:["icon"]}],active:[{type:G,args:["active"]}]}};fL=be([Ke({selector:"ue-payment-method",template:'\n',styles:[nce()]})],fL);let mL=class{transform(e){let t=e,s=Math.floor(t/86400);t%=86400;let r=Math.floor(t/3600);t%=3600;let o=Math.floor(t/60);return t%=60,s>0?`${s}d ${r}h ${o}m ${t}s`:r>0?`${r}h ${o}m ${t}s`:o>0?`${o}m ${t}s`:`${t}s`}};mL=be([Sv({name:"ueSeconds"})],mL);var ice=x(752),rce=x.n(ice);const oce={ranges:[{name:"Today",value:{start:Et(),end:Et()}},{name:"Last 7 days",value:{start:Et().subtract(6,"days"),end:Et()}},{name:"Year to date",value:{start:Et().startOf("year"),end:Et()}},{name:"Previous month",value:{start:Et().subtract(1,"month").startOf("month"),end:Et().subtract(1,"month").endOf("month")}},{name:"Quarter 1",value:{start:1===Et().quarter()?Et().startOf("quarter").subtract(1,"year"):Et().startOf("year"),end:1===Et().quarter()?Et().endOf("quarter").subtract(1,"year"):Et().month("March").date(31)}},{name:"Quarter 2",value:{start:Et().quarter()<=2?Et().month("April").date(1).subtract(1,"year"):Et().month("April").date(1),end:Et().quarter()<=2?Et().month("June").date(30).subtract(1,"year"):Et().month("June").date(30)}},{name:"Quarter 3",value:{start:Et().quarter()<=3?Et().month("July").date(1).subtract(1,"year"):Et().month("July").date(1),end:Et().quarter()<=3?Et().month("September").date(30).subtract(1,"year"):Et().month("September").date(30)}},{name:"Quarter 4",value:{start:Et().quarter()<=4?Et().month("October").date(1).subtract(1,"year"):Et().month("October").date(1),end:Et().quarter()<=4?Et().month("December").date(31).subtract(1,"year"):Et().month("December").date(31)}}]};let gL=class{constructor(e){this.elem=e,this.rangeSelected=new Le,this.dropdownEnable=!0,this.areOldDatesStored=!1,this.enableApplyButton=!1,this.format="MM/DD/YYYY",this.presets=oce.ranges,this.preset="custom"}handleOutsideClick(e){let t=e.target;const s=this.elem.nativeElement;if(s.compareDocumentPosition){if(s.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)return this.storeOldDates(),this.toggleCalendars(!0)}else if(s.contains){if(s.contains(t))return this.storeOldDates(),this.toggleCalendars(!0)}else do{if(t===s)return this.storeOldDates(),this.toggleCalendars(!0);t=t.parentNode}while(t);this.showCalendars&&(this.isAutoApply()||this.restoreOldDates(),this.toggleCalendars(!1))}ngOnInit(){this.validateMinMaxDates(),this.now=Et(),this.fromDate||this.setFromDate(this.options.startDate),this.toDate||this.setToDate(this.options.endDate),this.updateCalendar()}clickDatePicker(){this.toggleCalendars(!0),this.ngOnInit()}toggleCalendars(e){this.showCalendars=e,e||(this.areOldDatesStored=!1,this.updateCalendar())}updateCalendar(){const e=this.fromDate||this.tempFromDate,t=this.toDate||this.tempToDate;let s=Et(e,this.format);this.fromMonth=s.get("month"),this.fromYear=s.get("year"),s=Et(t,this.format),this.toMonth=s.get("month"),this.toYear=s.get("year")}getPositionClass(){let e="open-left";return"right"===this.options.position&&(e="open-right"),"center"===this.options.position&&!this.options.singleCalendar&&(e="open-center"),e}validateMinMaxDates(){this.options&&(this.options.minDate&&!this.options.maxDate&&(this.options.minDate=this.getMoment(this.options.minDate)),!this.options.minDate&&this.options.maxDate&&(this.options.maxDate=this.getMoment(this.options.maxDate)),this.options.minDate&&this.options.maxDate&&(this.options.minDate=this.getMoment(this.options.minDate),this.options.maxDate=this.getMoment(this.options.maxDate),this.options.maxDate.isBefore(this.options.minDate,"date")&&(this.options.minDate="",this.options.maxDate="",console.warn("supplied minDate is after maxDate. Discarding options for minDate and maxDate"))),this.options.minDate&&"00:00"===this.options.minDate.format("HH:mm")&&this.options.minDate.set({hour:0,minutes:0,seconds:0}),this.options.maxDate&&"00:00"===this.options.maxDate.format("HH:mm")&&this.options.maxDate.set({hour:23,minutes:59,seconds:59}))}setFromDate(e){e?this.fromDate=this.getActualFromDate(e):(this.fromDate="",this.tempFromDate=this.getActualFromDate(e))}getActualFromDate(e){let t;return(t=this.getValidateMoment(e))?this.getValidateFromDate(t):this.getValidateFromDate(Et())}getValidateFromDate(e){return this.options.minDate&&this.options.maxDate&&e.isSameOrAfter(this.options.minDate,"date")&&e.isSameOrBefore(this.options.maxDate,"date")||this.options.minDate&&!this.options.maxDate&&e.isAfter(this.options.minDate,"date")?e:this.options.minDate?this.options.minDate.clone():Et()}setToDate(e){e?this.toDate=this.getActualToDate(e):(this.toDate="",this.tempToDate=this.getActualToDate(e))}getActualToDate(e){let t;return(t=this.getValidateMoment(e))?this.getValidateToDate(t):this.getValidateToDate(Et())}getValidateToDate(e){return this.options.maxDate&&e.isSameOrAfter(this.fromDate,"date"),e.isSameOrBefore(this.options.maxDate,"date")?e:this.options.maxDate?this.options.maxDate.clone():Et()}dateChanged(e){const t=e.day,s=e.isLeft;s?(this.fromDate=t,t.isAfter(this.toDate,"date")&&(this.toDate=this.fromDate.clone())):(this.toDate=t,t.isBefore(this.fromDate,"date")&&(this.fromDate=this.toDate.clone())),this.isAutoApply()?(this.options.singleCalendar||!s)&&(this.toggleCalendars(!1),this.emitRangeSelected()):this.options.singleCalendar&&(this.enableApplyButton=!0),this.fromDate&&this.toDate?this.enableApplyButton=!0:this.enableApplyButton=!1,this.fromMonth=this.fromDate?this.fromDate.get("month"):this.fromMonth,this.toMonth=this.toDate?this.toDate.get("month"):this.toMonth}emitRangeSelected(){let e={};e=this.options.singleCalendar?{start:this.getMoment(this.fromDate)}:{start:this.getMoment(this.fromDate),end:this.getMoment(this.toDate)},this.rangeSelected.emit(e)}getMoment(e){return Et(e,this.format)}getValidateMoment(e){let t=null;return Et(e,this.format,!0).isValid()&&(t=Et(e,this.format,!0)),t}formatFromDate(e){e.target.value!==this.fromDate.format(this.format)&&this.dateChanged({day:e.target.value?this.getMoment(e.target.value):Et(),isLeft:!0})}formatToDate(e){e.target.value!==this.toDate.format(this.format)&&this.dateChanged({day:e.target.value?this.getMoment(e.target.value):Et(),isLeft:!1})}monthChanged(e){let t;e.isLeft?(t=Et([this.fromYear,this.fromMonth]).add(e.value,"months"),this.fromMonth=t.get("month"),this.fromYear=t.get("year")):(t=Et([this.toYear,this.toMonth]).add(e.value,"months"),this.toMonth=t.get("month"),this.toYear=t.get("year"))}yearChanged(e){let t;e.isLeft?(t=Et([this.fromYear,this.fromMonth]).add(e.value,"year"),this.fromMonth=t.get("month"),this.fromYear=t.get("year")):(t=Et([this.toYear,this.toMonth]).add(e.value,"year"),this.toMonth=t.get("month"),this.toYear=t.get("year"))}monthYearChanged(e){const t=Et(e.value,"M/YYYY").get("month"),s=Et(e.value,"M/YYYY").get("year");e.isLeft?(this.fromMonth=t,this.fromYear=s):(this.toMonth=t,this.toYear=s)}storeOldDates(){this.areOldDatesStored||(this.oldFromDate=this.fromDate,this.oldToDate=this.toDate,this.areOldDatesStored=!0)}restoreOldDates(){this.fromDate=this.oldFromDate,this.toDate=this.oldToDate}apply(){this.toggleCalendars(!1),this.emitRangeSelected()}cancel(){this.restoreOldDates(),this.toggleCalendars(!1)}validatePredefinedRanges(e){return e.filter(t=>!(t.value.start.isAfter(t.value.end,"date")||this.options.minDate&&t.value.start.isBefore(this.options.minDate,this.options.format)||this.options.maxDate&&t.value.end.isAfter(this.options.maxDate,this.options.format)))}applyPredefinedRange(e){this.presets.forEach(t=>{t.name===e&&(this.fromDate=t.value.start,this.setToDate(t.value.end),this.toggleCalendars(!1),this.emitRangeSelected())})}isAutoApply(){return!!this.options.singleCalendar||this.options.autoApply}dateRangeString(){let e;e=Et(this.fromDate._d).format("ll H")===this.now.format("ll H")?Et(this.options.startDate).format("MMM D, 'YY"):Et(this.fromDate).format("MMM D, 'YY");return`${e} - ${Et(this.toDate).format("MMM D, 'YY")}`}static#e=this.ctorParameters=()=>[{type:pn}];static#t=this.propDecorators={options:[{type:G}],datePickerClass:[{type:G}],rangeSelected:[{type:nt}],dropdownEnable:[{type:G}],handleOutsideClick:[{type:ml,args:["document:mousedown",["$event"]]},{type:ml,args:["document:mouseup",["$event"]]}]}};gL=be([Ke({selector:"ue-datepicker",template:'\n \n {{options.displayDatesInside ? dateRangeString() : \'Select Date\'}}\n \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n \n \n \n \n
    \n
    \n \n \n
    \n
    \n
    ',styles:[rce()]})],gL);var lce=x(5831),cce=x.n(lce);const mr=(0,x(6625).extendMoment)(Et);let _L=class{get monthText(){return this.monthsShort[this.month]}constructor(){this.singleCalendar=!1,this.dateChanged=new Le,this.monthChanged=new Le,this.monthYearChanged=new Le,this.monthsShort=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],this.weekList=[],this.monthYear="",this.monthYearList=[],this.hiddenMonthYearList=[]}getWeekNumbers(e){let t;return t=Array.from(e.by("day")).map(r=>mr(r).week()),t}getWeeksRange(e,t,s){const r=[];for(let o=0;o0&&c0&&c!==e[o-1])d=mr([t,s]).week(c).day(0),h=mr([t,s]).week(c).day(6);else{if(0!==o)continue;d=mr([t,s]).week(c).day(0),h=mr([t,s]).week(c).day(6)}const m=mr().range(d,h);r.push(m)}return r}createCalendarGridData(){const e=this.year,t=this.month;this.monthYear=this.month+1+"/"+this.year,this.hiddenMonthYearList.push({value:this.monthYear,display:mr(this.monthYear,"M/YYYY").format("MMM YYYY")});const s=mr([e,t]),r=mr(s).startOf("month"),o=mr(s).endOf("month"),c=mr().range(r,o);let d=[];d=this.getWeeksRange(this.getWeekNumbers(c),e,t);const h=[];d.map(m=>{Array.from(c.by("day"));const S=Array.from(m.by("day"));h.push(S)}),this.weekList=h}ngOnInit(){this.clickedFromDate=this.selectedFromDate,this.clickedToDate=this.selectedToDate,this.generateMonthYearList()}ngOnChanges(e){this.createCalendarGridData()}generateMonthYearList(){const e=mr(),t=e.add(1,"months").format("M/YYYY");this.monthYearList.push({value:t,display:mr(t,"M/YYYY").format("MMM YYYY")});for(let s=1;s<=24;s++){const r=e.subtract(1,"months").format("M/YYYY");this.monthYearList.push({value:r,display:mr(r,"M/YYYY").format("MMM YYYY")})}}isDisabled(e){return e.isBefore(mr(this.minDate,this.format))||e.isAfter(mr(this.maxDate,this.format))||e.isBefore(mr(this.selectedFromDate,this.format))&&!this.isLeft}isDateAvailable(e){return!(e.get("month")!==this.month||this.inactiveBeforeStart&&e.isBefore(this.selectedFromDate,"date"))}isSelectedDate(e){if(e.get("month")===this.month&&e.isSame(this.selectedFromDate,"date")||e.get("month")===this.month&&e.isSameOrAfter(this.selectedFromDate,"date")&&e.isSameOrBefore(this.selectedToDate,"date"))return!0}dateSelected(e){this.isLeft?this.selectedFromDate=e:this.selectedToDate=e,this.dateChanged.emit({day:e,isLeft:this.isLeft})}dateClicked(e){return!!(this.isLeft&&e.isSame(this.selectedFromDate,"date")||!this.isLeft&&e.isSame(this.selectedToDate,"date"))}monthSelected(e){this.monthChanged.emit({value:e,isLeft:this.isLeft})}monthYearSelected(){this.monthYearChanged.emit({value:this.monthYear,isLeft:this.isLeft})}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={month:[{type:G}],year:[{type:G}],selectedFromDate:[{type:G}],selectedToDate:[{type:G}],isLeft:[{type:G}],format:[{type:G}],minDate:[{type:G}],maxDate:[{type:G}],inactiveBeforeStart:[{type:G}],singleCalendar:[{type:G}],dateChanged:[{type:nt}],monthChanged:[{type:nt}],monthYearChanged:[{type:nt}]}};_L=be([Ke({selector:"ue-calendar",template:'
    \n \n \n \n \n \n \n
    \n \n \n \n \n
    \n
    \n \n \n \n \n \n
    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    SuMoTuWeThFrSa
    \n {{ day.format(\'D\') }}\n
    \n
    \n\n',styles:[cce()]})],_L);let yL=class{};yL=be([Ke({selector:"modal-header",template:""})],yL);let vL=class{};vL=be([Ke({selector:"modal-content",template:""})],vL);let bL=class{};bL=be([Ke({selector:"modal-footer",template:""})],bL);let k0=class{constructor(){this.closeOnEscape=!0,this.closeOnOutsideClick=!0,this.hideCloseButton=!1,this.backdrop=!0,this.onOpen=new Le(!1),this.onClose=new Le(!1),this.onSubmit=new Le(!1),this.isOpened=!1,this.createBackDrop()}ngOnDestroy(){document.body.className=document.body.className.replace(/modal-open\b/,""),this.backdropElement&&this.backdropElement.parentNode===document.body&&document.body.removeChild(this.backdropElement)}open(...e){this.isOpened||(this.isOpened=!0,this.onOpen.emit(e),document.body.appendChild(this.backdropElement),window.setTimeout(()=>this.modalRoot.nativeElement.focus(),0),document.body.className+=" modal-open")}close(...e){this.isOpened&&(this.isOpened=!1,this.onClose.emit(e),this.backdropElement&&this.backdropElement.parentNode===document.body&&document.body.removeChild(this.backdropElement),document.body.className=document.body.className.replace(/modal-open\b/,""))}preventClosing(e){e.stopPropagation()}createBackDrop(){this.backdropElement=document.createElement("div"),this.backdropElement.classList.add("fade"),this.backdropElement.classList.add("in"),this.backdrop&&this.backdropElement.classList.add("modal-backdrop")}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={modalClass:[{type:G}],closeOnEscape:[{type:G}],closeOnOutsideClick:[{type:G}],title:[{type:G}],hideCloseButton:[{type:G}],cancelButtonLabel:[{type:G}],submitButtonLabel:[{type:G}],backdrop:[{type:G}],onOpen:[{type:nt}],onClose:[{type:nt}],onSubmit:[{type:nt}],modalRoot:[{type:qe,args:["modalRoot",{static:!0}]}]}};k0=be([Ke({selector:"modal",template:'\n\t\t\n\t'})],k0);let wL=class{constructor(e,t){this.router=e,this.activatedRoute=t,this.closeOnEscape=!0,this.closeOnOutsideClick=!0,this.hideCloseButton=!1,this.backdrop=!0,this.onOpen=new Le(!1),this.onClose=new Le(!1),this.onSubmit=new Le(!1),this.isOpened=!1,this.createBackDrop()}ngOnInit(){this.open()}ngOnDestroy(){document.body.className=document.body.className.replace(/modal-open\b/,""),this.backdropElement&&this.backdropElement.parentNode===document.body&&document.body.removeChild(this.backdropElement)}open(...e){this.isOpened||(this.isOpened=!0,this.onOpen.emit(e),document.body.appendChild(this.backdropElement),window.setTimeout(()=>this.modalRoot.nativeElement.focus(),0),document.body.className+=" modal-open")}close(...e){if(this.isOpened)if(this.isOpened=!1,this.onClose.emit(e),document.body.className=document.body.className.replace(/modal-open\b/,""),this.cancelUrl){let t={};this.cancelUrlExtras&&(this.cancelUrlExtras.relative&&(t.relativeTo=this.activatedRoute),t=Object.assign(t,this.cancelUrlExtras)),this.router.navigate(this.cancelUrl,t)}else window.history.back()}preventClosing(e){e.stopPropagation()}createBackDrop(){this.backdropElement=document.createElement("div"),this.backdropElement.classList.add("fade"),this.backdropElement.classList.add("in"),this.backdrop&&this.backdropElement.classList.add("modal-backdrop")}static#e=this.ctorParameters=()=>[{type:dn},{type:fr}];static#t=this.propDecorators={cancelUrl:[{type:G}],cancelUrlExtras:[{type:G}],modalClass:[{type:G}],closeOnEscape:[{type:G}],closeOnOutsideClick:[{type:G}],title:[{type:G}],hideCloseButton:[{type:G}],cancelButtonLabel:[{type:G}],submitButtonLabel:[{type:G}],backdrop:[{type:G}],onOpen:[{type:nt}],onClose:[{type:nt}],onSubmit:[{type:nt}],modalRoot:[{type:qe,args:["modalRoot",{static:!0}]}]}};wL=be([Ke({selector:"route-modal",template:'\n\t\t\n\t'})],wL);let SL=class{};SL=be([fi({imports:[ha],declarations:[k0,wL,yL,vL,bL],exports:[k0,wL,yL,vL,bL]})],SL);var hce=x(2479),pce=x.n(hce);let DL=class{constructor(){this.data={}}ngOnInit(){}detail(){window.location.href=this.detailRoute}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={data:[{type:G}],type:[{type:G}],title:[{type:G}],expandable:[{type:G}],detailRoute:[{type:G}]}};DL=be([Ke({selector:"ue-dashboard-card",template:'
    \n\t
    \n\t\t
    {{title}}
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

     {{data.val}}

    \n\t\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

     {{data.val}}

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n\n
    \n\t
    \n\t\t
    {{title}}
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t

    {{data.key}}

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
     
    \n\t\t\t\t

    {{data.val}}

    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n\n',styles:[pce()]})],DL);var mce=x(195),gce=x.n(mce);let VB=class{constructor(){}ngOnInit(){}static#e=this.ctorParameters=()=>[]};VB=be([Ke({selector:"ue-dashboard-card-square",template:"",styles:[gce()]})],VB);var yce=x(7046),vce=x.n(yce);let CL=class{constructor(e){this.router=e,this.multiInputEvent=new Le,this.authCode="",this.input1="",this.input2="",this.input3="",this.input4="",this.input5="",this.input6="",this.input7="",this.input8=""}multipleCodeInput(e){let t=e.srcElement.value,s=e.srcElement.nextElementSibling;null!=s&&""!=t&&"Backspace"!=e.key&&s.focus(),this.sixInput?this.authCode=this.input1+this.input2+this.input3+this.input4+this.input5+this.input6:this.authCode=this.input1+this.input2+this.input3+this.input4+this.input5+this.input6+this.input7+this.input8,this.multiInputEvent.emit(this.authCode)}backspaceEvent(e){let t=e.srcElement.previousElementSibling;t?.focus(),this.sixInput?this.authCode=this.input1+this.input2+this.input3+this.input4+this.input5+this.input6:this.authCode=this.input1+this.input2+this.input3+this.input4+this.input5+this.input6+this.input7+this.input8,this.multiInputEvent.emit(this.authCode)}pastedCode(e){let t=e.clipboardData.getData("text"),s=t.split("");this.input1=s[0],this.input2=s[1],this.input3=s[2],this.input4=s[3],this.input5=s[4],this.input6=s[5],8==t.length?(this.input7=s[6],this.input8=s[7],this.authCode=s[0]+s[1]+s[2]+s[3]+s[4]+s[5]+s[6]+s[7]):this.authCode=s[0]+s[1]+s[2]+s[3]+s[4]+s[5],this.multiInputEvent.emit(this.authCode)}static#e=this.ctorParameters=()=>[{type:dn}];static#t=this.propDecorators={sixInput:[{type:G}],multiInputEvent:[{type:nt}]}};CL=be([Ke({selector:"ue-multi-input",template:'
    \n \n \n \n \n \n \n \n \n
    \n',styles:[vce()]})],CL);let ML=class{transform(e){const t=Number(e);if(t<1)return"<1 minute left";let s=Math.floor(t/60);const r=t%60;let o="";return s<1?o=r+(r<2?" minute ":" minutes ")+"left":(s=r<30?s:Math.ceil(t/60),o=s+(s<2?" hour ":" hours ")+"left"),o}};ML=be([Sv({name:"ueTimeleft"})],ML);var wce=x(4534),Sce=x.n(wce);let T0=class{constructor(e){this.cdRef=e,this.suggestionLookup=new Jv,this.suggestions=[],this.disableSuggestions=!1,this.showDropdown=!0,this.highlightedIndex=0,this.onSelect=new Le,this.onCompleteMethod=new Le,this.onFocus=new Le,this.onBlur=new Le,this.debounceTime=200,this.placeholder="",this.iconRight=!1,this.iconClick=new Le,this.forceSelectionError=new Le,this.multiLookup=!1,this.cancelIcon=!1,this.disableMouseOver=!1,this._onChange=t=>{},this.onTouched=()=>{}}ngOnInit(){this.suggestions=[],this.suggestionLookup.valueChanges.pipe(KM(this.debounceTime),Lb()).subscribe(e=>{this.suggestionLookup.disabled||this._onChange(e),this.onTouched(),this.highlightedIndex=0,this.onCompleteMethod.emit(e)})}writeValue(e){this.selectedSuggestion=e,this.suggestionLookup.patchValue(this.selectedSuggestion,{emitEvent:!1})}registerOnChange(e){this._onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){}resetField(){this.suggestionLookup.patchValue(""),this.updateInputDisplay("",!1)}handleKeys(e){if(this.disableSuggestions=!1,"ArrowDown"===e.key&&this.highlightedIndex0){this.disableMouseOver=!0,e.preventDefault();let t=this.highlightedIndex-1;this.headerKey&&this.suggestions[t].header&&(t>0?t--:t++),this.highlightedIndex=t,this.handleArrowKeys(),this.cdRef.detectChanges(),this.scrollToItem()}"Enter"===e.key&&(!0!==this.disableEnter?(this.multiLookup||e.target.blur(),this.selectDropdownOption(),this.suggestions.length<1&&this.onSelect.emit(this.suggestionLookup.value)):this.onSelect.emit(this.suggestionLookup.value))}handleArrowKeys(){this.suggestions.length>0&&(this.selectedSuggestion=this.suggestions[this.highlightedIndex],this.updateInputDisplay(this.selectedSuggestion,!1))}selectDropdownOption(){this.headerKey&&0===this.highlightedIndex&&this.suggestions[0].header&&this.highlightedIndex++;const e=this.suggestions[this.highlightedIndex];e&&!this.multiLookup?(this.selectedSuggestion=e,this.updateInputDisplay(this.selectedSuggestion),this.showDropdown=!1,this.disableSuggestions=!0,this.onSelect.emit(this.selectedSuggestion),this._onChange(this.selectedSuggestion)):e&&this.multiLookup&&(this.selectedSuggestion=e,this.updateInputDisplay(this.selectedSuggestion,!0),this.suggestions=[])}updateInputDisplay(e,t){let s;if("string"==typeof e?s=e:this.objectKey&&(s=e[this.objectKey]),this.multiLookup){const r=this.suggestionLookup.value?this.suggestionLookup.value:"",o=r.split(" ");if(o.pop(),o.push(s),r.length<1)return this.suggestionLookup.patchValue("",{emitEvent:!1}),this._onChange(""),this.onSelect.emit("");this.suggestionLookup.patchValue(o.join(" "),{emitEvent:!1}),this._onChange(this.suggestionLookup.value),t&&this.onSelect.emit(s)}else this.suggestionLookup.patchValue(s,{emitEvent:!1})}blur(){this.onBlur.emit(),this.forceSelection&&this.selectDropdownOption(),setTimeout(()=>{this.showDropdown=!1},200)}focus(){this.showDropdown=!0,this.onFocus.emit(this.suggestionLookup.value),this.onCompleteMethod.emit(""),setTimeout(()=>{this.suggestionList&&this.suggestionList.nativeElement.scrollIntoView({behavior:"smooth",block:"center"})},100)}highlightSuggestion(e){this.disableMouseOver?this.disableMouseOver=!1:(!this.headerKey||this.headerKey&&!this.suggestions[e].header)&&(this.highlightedIndex=e)}getSuggestionClass(e){let t="";return this.headerKey&&this.suggestions[e].header?t="suggestionHeader":this.headerKey&&!this.suggestions[e].header?(t="pointer suggestionItem",e===this.highlightedIndex&&(t+=" highlight active"+e)):e===this.highlightedIndex&&(t="pointer highlight active"+e),t}scrollToItem(){const e=document.querySelector("li.active"+this.highlightedIndex);e&&(this.disableMouseOver=!0,e.scrollIntoView({behavior:"smooth",block:"center"}))}static#e=this.ctorParameters=()=>[{type:gl}];static#t=this.propDecorators={suggestions:[{type:G}],disableEnter:[{type:G}],onSelect:[{type:nt,args:["onSelect"]}],suggestionTemplate:[{type:Mp,args:[dr,{static:!0}]}],onCompleteMethod:[{type:nt}],onFocus:[{type:nt}],onBlur:[{type:nt}],debounceTime:[{type:G}],placeholder:[{type:G}],inputStyles:[{type:G}],inputClasses:[{type:G}],typeaheadSelectClasses:[{type:G}],debugDropdown:[{type:G}],dropdownStyles:[{type:G}],dropdownClasses:[{type:G}],objectKey:[{type:G}],icon:[{type:G}],iconRight:[{type:G}],iconClick:[{type:nt}],hasError:[{type:G}],forceSelection:[{type:G}],forceSelectionError:[{type:nt}],multiLookup:[{type:G}],cancelIcon:[{type:G}],maxlength:[{type:G}],headerKey:[{type:G}],inputEl:[{type:qe,args:["inputEl"]}],suggestionList:[{type:qe,args:["suggestionList",{static:!1}]}]}};T0=be([Ke({selector:"ue-typeahead-group",template:'\n\t\n\t\n\t\n\n\n
    \n\t
    \n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t
    \n
    \n\n
    \n\t
      \n\t\t\n\t\t
    • \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{objectKey ? suggestion[objectKey] : suggestion}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t
    • \n\t
    \n
    ',providers:[{provide:Ar,multi:!0,useExisting:T0}],changeDetection:Sa.OnPush,styles:[Sce()]})],T0);let Au=class{};Au=be([fi({imports:[ha,ib,nh,v0,SL,UA,_0,xi,FA,NA],declarations:[$A,zA,uh,KA,Wb,D0,T0,WA,qA,GA,QA,eL,tL,XA,FB,ZA,E0,C0,nL,YB,uL,dL,hL,f_,x0,qb,iL,pL,sL,BB,rL,fL,oL,mL,Gb,gL,_L,cL,DL,VB,Gb,CL,ML],providers:[OB,JA],exports:[ha,nh,ib,SL,UA,_0,v0,$A,zA,uh,KA,Wb,D0,T0,WA,qA,GA,QA,eL,tL,XA,ZA,E0,C0,nL,FA,uL,dL,hL,f_,x0,qb,iL,pL,sL,rL,fL,oL,mL,Gb,gL,_L,cL,Gb,DL,CL,ML]})],Au);let Lu=class{constructor(e,t,s,r){this.authService=e,this.http=t,this.router=s,this.ueHttp=r,this.url="/api/DVPRTLFE/developers/keep_alive"}canActivate(){return this.authService.isLoggedIn?ut(!0):this.http.get(this.url,{headers:this.ueHttp.getAuthHeader()}).pipe(zt(e=>(this.authService.isLoggedIn=!0,!0)),qr(e=>(this.logout(),ut(!1))))}logout(){this.authService.logout().subscribe(e=>{this.router.navigate(["/login"],{queryParams:{accessDenied:!0}})},e=>{this.router.navigate(["/login"],{queryParams:{accessDenied:!0}})})}static#e=this.ctorParameters=()=>[{type:ni},{type:_c},{type:dn},{type:fo}]};Lu=be([ks()],Lu);let EL=class{constructor(e,t,s,r){this.authService=e,this.http=t,this.router=s,this.ueHttp=r,this.url="/api/DVPRTLFE/developers/keep_alive"}canActivate(e,t){return this.checkInvite(t),this.http.get(this.url,{headers:this.ueHttp.getAuthHeader()}).pipe(zt(s=>{if(!this.authService.isInvitation)return this.authService.isLoggedIn=!0,this.router.navigate(["/dashboard"]),!1;this.goToInvite(t.url)}),qr(()=>ut(!0)))}checkInvite(e){e.url.includes("/invitation")?this.authService.isInvitation=!0:this.authService.isInvitation=!1}goToInvite(e){this.authService.logout().subscribe(t=>{this.router.navigate([e])},t=>{this.router.navigate([e])})}static#e=this.ctorParameters=()=>[{type:ni},{type:_c},{type:dn},{type:fo}]};EL=be([ks()],EL);let dh=class{constructor(e,t){this.authService=e,this.router=t}canActivate(e,t){return this.authService.permissions.length>0?ut(this.pickRoute(e.url[0].path)):this.authService.getPermissions().pipe(zt(s=>this.pickRoute(e.url[0].path),s=>ut(this.pickRoute("err"))))}isAllowed(e){switch(e){case"members":return this.authService.checkPermissions("members_view");case"invites":return this.authService.checkPermissions("invites_view");case"servers":return this.authService.checkPermissions("servers_view");case"devices":return this.authService.checkPermissions("devices_view");case"company":return this.authService.checkPermissions("profile_view");case"endpoints":return this.authService.checkPermissions("endpoints_view");case"err":return!1}}pickRoute(e){return!!this.isAllowed(e)||(this.router.navigate(["not-found"]),!1)}static#e=this.ctorParameters=()=>[{type:ni},{type:dn}]};dh=be([ks()],dh);var Cce=x(904),Mce=x.n(Cce);var xce=x(8760),kce=x.n(xce);let Ef=class{constructor(){}newAlert(e,t,s){this.alert={},this.alert.title=e,this.alert.message=t,this.alert.type=s}static#e=this.ctorParameters=()=>[]};Ef=be([Ke({selector:"ue-log-in-alert",template:'
    \n\t

    {{alert.title}}

    \n\t{{alert.message}}\n
    ',styles:[kce()]})],Ef);var Ice=x(5481),Ace=x.n(Ice);let Kb=class{constructor(e){this.http=e,this.baseUrl="/api/DVPRTLFE/developers",this.profileUrl="/api/DVPRTLFE/developers/profile",this.twoFactorUrl="/api/DVPRTLFE/developers/login/2fa"}getProfile(){return this.http.get(`${this.baseUrl}/profile`)}updateProfile(e){return this.http.put(this.profileUrl,e)}getUser(){return this.http.get(`${this.baseUrl}/user-profile`)}updateUser(e){return this.http.put(`${this.baseUrl}/user-profile`,e)}changePassword(e){return this.http.post(this.baseUrl+"/change_password",e)}leaveCompany(e){const t={member_key:e};return this.http.post(`${this.baseUrl}/leave`,t)}getCompanyList(){return this.http.get(`${this.baseUrl}/companies`)}checkoutCompany(e){return this.http.post(`${this.baseUrl}/explore`,{member_key:e})}getTwoFactorSettings(){return this.http.get(this.twoFactorUrl)}addTwoFactor(e){return this.http.post(this.twoFactorUrl,e)}sendTwoFactorChallenge(e){return this.http.post(`${this.twoFactorUrl}/${e}/send`,{})}confirmTwoFactorChallenge(e,t){return this.http.post(`${this.twoFactorUrl}/${e}/confirm`,{code:t})}confirmTwoFactorChallengeForLogin(e,t,s){return this.http.post(`${this.twoFactorUrl}/${e}/confirm`,{code:t,is_login_flow:!0,register_device:s})}confirmTwoFactorSetup(e,t){return this.http.post(`${this.twoFactorUrl}/confirm`,{type:e,code:t})}updateTwoFactor(e,t){return this.http.put(`${this.twoFactorUrl}/${e}`,t)}deleteTwoFactor(e){return this.http.delete(`${this.twoFactorUrl}/${e}`)}updateSecurityLevel(e){return this.http.put(this.twoFactorUrl,{security_level:e})}static#e=this.ctorParameters=()=>[{type:fo}]};Kb=be([ks({providedIn:"root"})],Kb);let I0=class{get filteredAuthOptions(){return 0===this.allowedFactors.length?this.authOptions:this.authOptions.filter(e=>this.allowedFactors.includes(e.type))}constructor(e){this.profileService=e,this.closeOnEscape=!0,this.closeOnOutsideClick=!0,this.onClose=new Le,this.isOpen=!1,this.loading=!1,this.existingFactors=[],this.showSetupOptions=!1,this.setupMode=!1,this.showSecurityLevel=!1,this.selectedFactorType="",this.verificationCode="",this.keyUri="",this.backupCodes=[],this.showBackupCodes=!1,this.emailAddress="",this.phoneNumber="",this.verificationSent=!1,this.newFactorKey="",this.allowedFactors=[],this.codeDigits=["","","","","","","",""],this.securityLevels=[],this.currentSecurityLevel="",this.email="",this.twoFactorRequired=!1,this.minimumSecurityLevel="",this.isLoginFlow=!1,this.registerDevice=!1,this.authOptions=[{type:"email",name:"Email",description:"Receive security codes via email.",icon:"fa fa-envelope"},{type:"sms",name:"SMS",description:"Receive security codes via text message.",icon:"fa fa-mobile"},{type:"google_authenticator",name:"Google Authenticator",description:"Use Google Authenticator app as your second factor.",icon:"fa fa-qrcode"},{type:"onetime_codes",name:"One Time Use Codes",description:"A list of one time use codes can be printed as your second factor.",icon:"fa fa-list"}]}ngOnInit(){}clearAlerts(){this.alert&&this.alert.closeAlert()}open(){this.clearAlerts(),this.ueModal.open(),this.isOpen=!0,this.isLoginFlow=!1,this.loadExistingFactors()}openForLogin(){this.clearAlerts(),this.ueModal.open(),this.isOpen=!0,this.isLoginFlow=!0,this.registerDevice=!1,this.loadExistingFactors()}close(){this.ueModal.close(),this.isOpen=!1,this.resetModal(),this.onClose.emit()}resetModal(){this.clearAlerts(),this.showSetupOptions=!1,this.setupMode=!1,this.showSecurityLevel=!1,this.selectedFactorType="",this.verificationCode="",this.keyUri="",this.showBackupCodes=!1,this.backupCodes=[],this.emailAddress="",this.phoneNumber="",this.verificationSent=!1,this.newFactorKey="",this.codeDigits=["","","","","","","",""],this.isLoginFlow=!1,this.registerDevice=!1}loadExistingFactors(){this.clearAlerts(),this.loading=!0,this.profileService.getTwoFactorSettings().subscribe(e=>{this.existingFactors=e.factors||[],this.allowedFactors=e.allowed_factors||[],this.securityLevels=e.security_levels||[],this.currentSecurityLevel=e.security_level||"",this.email=e.email||"",this.twoFactorRequired=e["2fa_required"]||!1,this.minimumSecurityLevel=e.minimum_security_level||"",this.loading=!1,!(this.existingFactors.length>0)&&0===this.existingFactors.length&&(this.isLoginFlow?this.showSetupOptions=!0:"disabled"===this.currentSecurityLevel?this.showSecurityLevel=!0:this.showSetupOptions=!0)},e=>{this.loading=!1,this.alert.newAlert("Error!",e.error||"Failed to load two-factor settings","danger")})}requiresVerification(){return this.existingFactors.length>0&&!this.showSetupOptions}handleFactorClick(e){this.clearAlerts(),this.verifyExistingFactor(e)}verifyExistingFactor(e){return this.clearAlerts(),"onetime_codes"===e.type?(e.status="pending_verification",void this.alert.newAlert("Success!","Please enter one of your backup codes below.","success")):"google_authenticator"===e.type?(e.status="pending_verification",void this.alert.newAlert("Success!","Please enter the 6-digit code from your Google Authenticator app.","success")):(this.loading=!0,void this.profileService.sendTwoFactorChallenge(e.factor_key).subscribe(t=>{this.loading=!1,this.alert.newAlert("Success!","Verification code sent. Please check your device.","success"),e.status="pending_verification"},t=>{this.loading=!1,this.alert.newAlert("Error!",t.error||"Failed to send verification code","danger")}))}confirmVerification(e){this.clearAlerts(),this.verificationCode?(this.loading=!0,this.isLoginFlow?this.profileService.confirmTwoFactorChallengeForLogin(e.factor_key,this.verificationCode,this.registerDevice).subscribe(t=>{this.loading=!1,this.alert.newAlert("Success!","Authentication successful!","success"),setTimeout(()=>this.close(),1e3)},t=>{this.loading=!1,this.alert.newAlert("Error!",t.error||"Authentication failed","danger")}):this.profileService.confirmTwoFactorChallenge(e.factor_key,this.verificationCode).subscribe(t=>{this.loading=!1,this.alert.newAlert("Success!","Verification successful!","success"),this.showSetupOptions=!0,this.verificationCode=""},t=>{this.loading=!1,this.alert.newAlert("Error!",t.error||"Verification failed","danger")})):this.alert.newAlert("Error!","Please enter the verification code","danger")}cancelVerification(e){this.clearAlerts(),e.status="",this.verificationCode=""}setupNewFactor(e){this.clearAlerts(),this.selectedFactorType=e,this.setupMode=!0,this.verificationSent=!1,this.verificationCode="",this.emailAddress="",this.phoneNumber="",this.newFactorKey="","onetime_codes"===e?this.generateBackupCodes():"google_authenticator"===e&&this.startFactorSetup()}onEmailStart(e){this.emailAddress=e,this.startFactorSetup()}onSmsStart(e){this.phoneNumber=e,this.startFactorSetup()}onGoogleAuthStart(){this.startFactorSetup()}onFactorConfirm(e){e&&(this.verificationCode=e),this.confirmFactorSetup()}startFactorSetup(){this.clearAlerts();const e={type:this.selectedFactorType};"email"===this.selectedFactorType?e.email=this.emailAddress:"sms"===this.selectedFactorType&&(e.number=this.phoneNumber),this.loading=!0,this.profileService.addTwoFactor(e).subscribe(t=>{this.loading=!1,t.factor_key&&(this.newFactorKey=t.factor_key),"google_authenticator"===this.selectedFactorType&&t.key_uri&&(this.keyUri=t.key_uri),("email"===this.selectedFactorType||"sms"===this.selectedFactorType)&&(this.verificationSent=!0),this.alert.newAlert("Success!","Factor setup initiated. Please complete the setup.","success")},t=>{this.loading=!1,this.alert.newAlert("Error!",t.error||"Failed to setup factor","danger")})}generateBackupCodes(){this.clearAlerts(),this.loading=!0,this.profileService.addTwoFactor({type:"onetime_codes"}).subscribe(e=>{this.loading=!1,this.backupCodes=e.codes||[],this.showBackupCodes=!0,this.alert.newAlert("Success!","Backup codes generated successfully!","success")},e=>{this.loading=!1,this.alert.newAlert("Error!",e.error||"Failed to generate backup codes","danger")})}confirmFactorSetup(){if(this.clearAlerts(),"onetime_codes"===this.selectedFactorType)return this.loading=!1,void(this.isLoginFlow?(this.alert.newAlert("Success!","Two-factor authentication setup completed! You can now use these codes to log in.","success"),setTimeout(()=>this.close(),2e3)):(this.alert.newAlert("Success!","Two-factor authentication setup completed!","success"),this.loadExistingFactorsAndShowOptions(),this.resetModalToOptions()));this.verificationCode?this.newFactorKey?(this.loading=!0,this.isLoginFlow?this.profileService.confirmTwoFactorChallengeForLogin(this.newFactorKey,this.verificationCode,this.registerDevice).subscribe(e=>{this.loading=!1,this.alert.newAlert("Success!","Two-factor authentication setup completed! You are now logged in.","success"),setTimeout(()=>this.close(),2e3)},e=>{this.loading=!1,this.alert.newAlert("Error!",e.error||"Setup confirmation failed","danger")}):this.profileService.confirmTwoFactorChallenge(this.newFactorKey,this.verificationCode).subscribe(e=>{this.loading=!1,this.alert.newAlert("Success!","Two-factor authentication setup completed!","success"),this.loadExistingFactorsAndShowOptions(),this.resetModalToOptions()},e=>{this.loading=!1,this.alert.newAlert("Error!",e.error||"Setup confirmation failed","danger")})):this.alert.newAlert("Error!","Factor setup not completed. Please try again.","danger"):this.alert.newAlert("Error!","Please enter the verification code","danger")}loadExistingFactorsAndShowOptions(){this.profileService.getTwoFactorSettings().subscribe(e=>{this.existingFactors=e.factors||[],this.allowedFactors=e.allowed_factors||[],this.showSetupOptions=!0},e=>{this.alert.newAlert("Error!",e.error||"Failed to load two-factor settings","danger")})}resetModalToOptions(){this.clearAlerts(),this.setupMode=!1,this.showSecurityLevel=!1,this.selectedFactorType="",this.verificationCode="",this.keyUri="",this.showBackupCodes=!1,this.backupCodes=[],this.emailAddress="",this.phoneNumber="",this.verificationSent=!1,this.newFactorKey="",this.codeDigits=["","","","","","","",""]}removeFactor(e){this.clearAlerts(),confirm(`Are you sure you want to remove ${e.name}?`)&&(this.loading=!0,this.profileService.deleteTwoFactor(e.factor_key).subscribe(t=>{this.loading=!1,this.alert.newAlert("Success!","Factor removed successfully!","success"),this.showSetupOptions?this.loadExistingFactorsAndShowOptions():this.loadExistingFactors()},t=>{this.loading=!1,this.alert.newAlert("Error!",t.error||"Failed to remove factor","danger")}))}deleteAllFactors(){if(this.clearAlerts(),confirm("Are you sure you want to remove ALL authentication methods? This action cannot be undone.")){this.loading=!0;const e=this.existingFactors.map(s=>this.profileService.deleteTwoFactor(s.factor_key));(e.length>0?Promise.all(e.map(s=>s.toPromise())):Promise.resolve([])).then(()=>{this.loading=!1,this.alert.newAlert("Success!","All authentication methods have been removed successfully!","success"),this.loadExistingFactors()}).catch(s=>{this.loading=!1,this.alert.newAlert("Error!",s.error||"Failed to remove some authentication methods","danger"),this.loadExistingFactors()})}}backToOptions(){this.clearAlerts(),this.setupMode=!1,this.showSecurityLevel=!1,this.selectedFactorType="",this.verificationCode="",this.keyUri="",this.showBackupCodes=!1,this.emailAddress="",this.phoneNumber="",this.verificationSent=!1,this.newFactorKey="",this.codeDigits=["","","","","","","",""]}continueToSetup(){this.clearAlerts(),this.showSetupOptions=!0}showSecurityLevelSelection(){this.clearAlerts(),this.showSecurityLevel=!0,this.showSetupOptions=!1,this.setupMode=!1}confirmSecurityLevel(e){this.clearAlerts(),this.loading=!0,this.profileService.updateSecurityLevel(e).subscribe(t=>{this.loading=!1,this.currentSecurityLevel=e,this.alert.newAlert("Success!","Security level updated successfully!","success"),this.showSecurityLevel=!1,this.showSetupOptions=!0},t=>{this.loading=!1,this.alert.newAlert("Error!",t.error||"Failed to update security level","danger")})}getFactorIcon(e){const t=this.authOptions.find(s=>s.type===e);return t?t.icon:"fa fa-shield"}getFactorName(e){const t=this.authOptions.find(s=>s.type===e);return t?t.name:e}getFactorDescription(e){switch(e.type){case"email":return e.email?`Email: ${e.email}`:"Email verification";case"sms":return e.number?`SMS: ${e.number}`:"SMS verification";case"google_authenticator":return"Google Authenticator app";case"onetime_codes":return"One-time backup codes";default:return e.name||"No description available"}}hasFactorType(e){return this.existingFactors.some(t=>t.type===e)}getExistingFactor(e){return this.existingFactors.find(t=>t.type===e)}deleteSpecificFactor(e){const t=this.getExistingFactor(e);t&&this.removeFactor(t)}getFactorDisplayText(e){switch(e.type){case"email":return"Email";case"sms":return"SMS";case"google_authenticator":return"Google Authenticator";case"onetime_codes":return"One-time Codes";default:return e.name||e.type}}getFactorSubtext(e){return e.description||"No description available"}onCodeDigitInput(e,t){const s=e.target.value;if(s&&/^\d$/.test(s)){this.codeDigits[t]=s;if(t<("onetime_codes"===this.getCurrentFactorType()?7:5)){const o=e.target.parentElement.children[t+1];o&&o.focus()}}else s||(this.codeDigits[t]="");this.updateVerificationCode()}onCodeKeyDown(e,t){if("Backspace"===e.key&&!this.codeDigits[t]&&t>0){const s=e.target.parentElement.children[t-1];s&&s.focus()}}updateVerificationCode(){const e="onetime_codes"===this.getCurrentFactorType()?8:6;this.verificationCode=this.codeDigits.slice(0,e).join("")}isCodeComplete(){const e="onetime_codes"===this.getCurrentFactorType()?8:6;return this.codeDigits.slice(0,e).every(t=>""!==t)}getCurrentFactorType(){const e=this.existingFactors.find(t=>"pending_verification"===t.status);return e?e.type:this.selectedFactorType}resendCode(e){this.clearAlerts(),e?this.verifyExistingFactor(e):this.startFactorSetup()}getActivFactors(){return this.existingFactors.filter(e=>!e.pending)}hasAnyPendingVerification(){return this.existingFactors.some(e=>"pending_verification"===e.status)}canRegisterDevice(){return this.isLoginFlow&&("y"===this.currentSecurityLevel||"p"===this.currentSecurityLevel||"low"===this.currentSecurityLevel||"medium"===this.currentSecurityLevel)}static#e=this.ctorParameters=()=>[{type:Kb}];static#t=this.propDecorators={ueModal:[{type:qe,args:["ueModal",{static:!0}]}],alert:[{type:qe,args:[mi,{static:!0}]}],closeOnEscape:[{type:G}],closeOnOutsideClick:[{type:G}],onClose:[{type:nt}]}};I0=be([Ke({selector:"ue-mfa-modal",template:'\n \n

    \n Two Factor Authentication\n Authentication Required\n

    \n
    \n \n \n \n \x3c!-- Loading state --\x3e\n
    \n
    \n Loading...\n
    \n
    \n\n \x3c!-- Security Level Selection (shown when no factors exist) --\x3e\n
    \n \n \n
    \n\n \x3c!-- Initial state: Show existing factors if any, require verification --\x3e\n
    \n
    \n
    \n \x3c!-- Clickable factor (when not pending verification and no other factor is pending) --\x3e\n
    \n
    \n \n
    \n
    \n

    {{ getFactorName(factor.type) }}

    \n

    {{ getFactorSubtext(factor) }}

    \n
    \n
    \n \n \x3c!-- Verification section (when pending verification) --\x3e\n
    \n
    \n

    Authentication

    \n
    \n
    \n

    An authentication code was sent. Please check your device.

    \n
    \n
    \n

    AUTHENTICATION CODE:

    \n

    Please enter the 6-digit authentication code you received.

    \n

    Please enter one of your 8-digit backup codes.

    \n
    \n \n \n \n \n \n \n
    \n
    \n \n \x3c!-- Remember device checkbox for login flow --\x3e\n
    \n
    \n \n \n
    \n

    \n This device will be remembered and you won\'t need to enter a code next time you log in from this device.\n This device and IP address will be remembered for future logins.\n

    \n
    \n \n
    \n Go Back\n Re-Send Code\n Confirm Code\n
    \n
    \n
    \n \n
    \n Continue\n
    \n
    \n
    \n\n \x3c!-- Setup options --\x3e\n
    \n
    \n

    SETUP SECOND FACTORS:

    \n

    SETUP AUTHENTICATION:

    \n

    \n To protect the security of your account we encourage you to add a second \n authentication method. This allows us to verify your identity using something other \n than your password. Once you do, we require you to set up at least two options so \n that you can still log in if one isn\'t working for any reason.\n

    \n

    \n Your account requires two-factor authentication to continue. Please set up at least \n one authentication method below to complete your login.\n

    \n
    \n \n
    \n
    \n
    \n \n
    \n
    \n

    {{ option.name }}

    \n

    {{ option.description }}

    \n
    \n
    \n remove\n
    \n
    \n
    \n\n \x3c!-- Security Level Button (hidden during login flow) --\x3e\n
    \n Change Security Level\n
    \n
    \n\n \x3c!-- Setup mode - using factor components --\x3e\n
    \n
    \n \x3c!-- Email factor --\x3e\n \n \n\n \x3c!-- SMS factor --\x3e\n \n \n\n \x3c!-- Google Authenticator factor --\x3e\n \n \n\n \x3c!-- One-time codes factor --\x3e\n \n \n
    \n
    \n\n
    \n
    ',styles:[Ace()]})],I0);let Qb=class{constructor(e,t,s,r){this.formBuilder=e,this.authService=t,this.router=s,this.route=r,this.showRegister=!0,this.loginMsg="Login to your account"}ngOnInit(){this.isInvitation=this.authService.isInvitation,this.showLogin=!this.isInvitation,this.key=this.router.url.split("/")[2],this.loginForm=this.formBuilder.group({username:["",it.required],password:["",it.required],invite_token:[""]}),this.loginForm.patchValue({invite_token:this.key});const e=this.route.snapshot.queryParams;Object.keys(e).length>0&&(this.router.navigate(["/login"],{replaceUrl:!0}),this.displayAlert(e))}displayAlert(e){e.accessDenied?this.alert.newAlert("Error","Access to page denied","danger"):e.loggedOut?this.alert.newAlert("Success","User logged out","success"):e.timeout?this.alert.newAlert("Warning","You have been logged out","warning"):e.error&&this.alert.newAlert("Error","You have been logged out","danger"),this.route.snapshot.queryParams.passwordChange&&(this.router.navigate(["/login"]),this.alert.newAlert("Success","New password set successfully.","success"))}goLogin(){this.showLogin=!0,this.showRegister=!1,this.loginMsg="Confirm Account"}goBack(){this.showLogin=!1,this.showRegister=!0,this.loginMsg="Login to your account"}register(){this.isInvitation?this.router.navigate(["/invitation/"+this.key+"/register"]):this.router.navigate(["/register"])}submitForm(){if(this.loginForm.invalid)return this.alert.newAlert("Login Error","Please fill in all required fields","danger");this.isInvitation&&45!==this.loginForm.get("invite_token").value.length?this.alert.newAlert("Login Error!","Invalid Activation Token","danger"):this.authService.login(this.loginForm.value).subscribe(e=>{"2fa_required"===e.state?this.openMfaModal():"no_company"===e.state?this.router.navigate(["/register-company"]):(this.authService.isLoggedIn=!0,this.router.navigate(["/dashboard"]))},e=>{if(1===e.errorcode)this.alert.newAlert("Password/Username Incorrect","Please remember that usernames and passwords are case-sensitive.","danger");else this.alert.newAlert("Error!",e.error,"danger")})}openMfaModal(){this.mfaModal&&this.mfaModal.openForLogin()}onMfaComplete(){this.authService.isLoggedIn=!0,this.router.navigate(["/dashboard"])}static#e=this.ctorParameters=()=>[{type:ir},{type:ni},{type:dn},{type:fr}];static#t=this.propDecorators={alert:[{type:qe,args:[Ef,{static:!0}]}],mfaModal:[{type:qe,args:[I0,{static:!0}]}]}};Qb=be([Ke({selector:"ue-log-in-form",template:'\n\x3c!-- form method --\x3e\n
    \n\n\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t\n\t\t\n\t\t\n\t\t\n\n\t\t
    \n\t\t
    \n\t\t\n\t\t

    \n\t\t\tForgot Password?
    \n\t\t\tSend new password please!\n\t\t

    \n\t\t
    \n\t
    \n
    \n\n\x3c!-- MFA Modal for two-factor authentication --\x3e\n\n',styles:[Mce(),Ab()]})],Qb);var Pce=x(1835),Rce=x.n(Pce);let Xb=class{constructor(e,t,s){this.fb=e,this.authService=t,this.router=s,this.validationError=!1,this.moreInfo=!1}ngOnInit(){this.isInvitation=this.authService.isInvitation,this.inviteKey=this.router.url.split("/")[2],this.registerForm=this.fb.group({email:["",it.required],password:["",it.required],password_confirm:["",it.required],contact:["",it.required],company:["",it.required],invite_token:[""]},{validator:this.passwordMatch}),this.registerForm.patchValue({invite_token:this.inviteKey})}passwordMatch(e){return e.controls.password_confirm.value===e.controls.password.value?null:{error:!0}}register(){if(this.registerForm.invalid){this.validationError=!0;const t=this.registerForm.errors&&this.registerForm.errors.error?"Passwords do not match!":"Please fill in all required fields.";this.alert.newAlert("Registration Error!",t,"danger")}else this.isInvitation&&45!==this.registerForm.get("invite_token").value.length?this.alert.newAlert("Registration Error!","Invalid Activation Token","danger"):(this.registerForm.markAsPristine(),this.authService.register(this.registerForm.value).subscribe(e=>{this.isInvitation?(this.authService.isLoggedIn=!0,this.router.navigate(["/dashboard"])):this.router.navigate(["/register-company"])},e=>{this.alert.newAlert("Error!",e.error,"danger")}))}goBack(){this.isInvitation?this.router.navigate([`/invitation/${this.inviteKey}/verify`]):this.router.navigate(["/login"])}static#e=this.ctorParameters=()=>[{type:ir},{type:ni},{type:dn}];static#t=this.propDecorators={alert:[{type:qe,args:[Ef,{static:!0}]}]}};Xb=be([Ke({selector:"ue-register-form",template:'\n\n
    \n\t

    In order to access some of our developer tools and to stay informed with the latest API and other scripts, you must register for a Developer\'s Account with us. Registration is free.

    \n\t

    If you already have a developer\'s account, login here.

    \n
    \n\n\x3c!-- form method --\x3e\n
    \n\n\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t\n\t\t\n\n\t
    \n
    \n',styles:[Rce(),Ab()]})],Xb);var Nce=x(6436),Fce=x.n(Nce);let xL=class{constructor(e,t,s,r){this.formBuilder=e,this.router=t,this.authService=s,this.http=r,this.response=!1,this.showCaptcha=!1,this.captchaResponse="",this.recaptchaSiteKey="",this.loadingCaptcha=!1}ngOnInit(){this.lostPasswordForm=this.formBuilder.group({email:["",it.required]})}onCaptchaResolved(e){this.captchaResponse=e}loadCaptchaConfig(){this.http.get("/api/DVPRTLFE/developers/recaptcha/config").subscribe(e=>{this.recaptchaSiteKey=e.site_key},e=>{console.error("Failed to load reCAPTCHA config",e)})}submitForm(){if(this.lostPasswordForm.invalid)return this.validationError=!0,void this.alert.newAlert("Error!","Please enter your email.","danger");const e={email:this.lostPasswordForm.value.email,"g-recaptcha-response":this.captchaResponse};this.authService.forgotPW(e).subscribe(t=>{this.response=!0,this.alert.newAlert("Success!",t.message||"Password reset email sent successfully.","success")},t=>{const s="string"==typeof t.error?t.error:t.error?.error;"Captcha Required"===s||"Captcha ERROR"===s||10004===t.errorcode?(this.showCaptcha=!0,this.loadCaptchaConfig(),this.alert.newAlert("Error!","Please complete the CAPTCHA verification.","danger")):this.alert.newAlert("Error!",t.error,"danger")})}static#e=this.ctorParameters=()=>[{type:ir},{type:dn},{type:ni},{type:_c}];static#t=this.propDecorators={alert:[{type:qe,args:[Ef,{static:!0}]}]}};xL=be([Ke({selector:"ue-lost-password",template:'\n\n
    \n\tUse the form below to request a password reset. An email containing a link to reset your password will be sent to the email address on file.\n
    \n\n\n\n\n\x3c!-- form method --\x3e\n
    \n\t
    \n\t\t\n\t
    \n\t\t
    \n\t\t\t\n\t\t\t\n\t\t
    \n\t\t* Please enter your email!\n\t
    \n\t\n\t\x3c!-- reCAPTCHA widget (shown after threshold is reached) --\x3e\n\t
    \n\t\t\n\t\t\n\t
    \n\t\n\t\n\t\t\n\t\t\tCancel\n\t\t\n\t\t\n\t
    \n
    \n',styles:[Fce(),Ab()]})],xL);var Bce=x(1824),jce=x.n(Bce);let kL=class{constructor(e,t,s,r){this.formBuilder=e,this.route=t,this.router=s,this.authService=r,this.validationError=!1}ngOnInit(){const e=this.route.queryParams._value.authcode?this.route.queryParams._value.authcode:"";this.resetPasswordForm=this.formBuilder.group({authcode:[e,[it.required]],email:["",[it.required]],password:["",[it.required,it.minLength(6)]],password_confirm:["",[it.required,it.minLength(6)]]},{validator:this.passwordMatch})}passwordMatch(e){return e.controls.password_confirm.value===e.controls.password.value?null:{error:!0}}submitForm(){return this.resetPasswordForm.get("authcode").invalid?(this.validationError=!0,void this.alert.newAlert("Error!","Please obtain a valid authorization code before you continue.","danger")):this.resetPasswordForm.invalid?(this.validationError=!0,void this.alert.newAlert("Error!","Please enter all required fields.","danger")):void this.authService.resetPW(this.resetPasswordForm.value).subscribe(e=>{this.router.navigate(["/login"],{queryParams:{passwordChange:!0}})},e=>{this.alert.newAlert("Error!",e.error,"danger")})}static#e=this.ctorParameters=()=>[{type:ir},{type:fr},{type:dn},{type:ni}];static#t=this.propDecorators={alert:[{type:qe,args:[Ef,{static:!0}]}]}};kL=be([Ke({selector:"ue-reset-password",template:'\n\n
    \n\tUse the form below to reset your password. If you are unable to reset your password, click here to start over.\n
    \n\n\x3c!-- form method --\x3e\n
    \n\t\n\t
    \n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t* Please enter your email!\n\t\t
    \n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t* Please enter a valid password!\n\t\t
    \n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t* Passwords do not match!\n\t\t
    \n\t\t\n\t\t\n\t\t\n\t\t\tCancel\n\t\t\n\t\t\n\t
    \n
    ',styles:[jce(),Ab()]})],kL);var Hce=x(8145),Uce=x.n(Hce);let HB=class{constructor(e,t,s,r,o){this.authService=e,this.router=t,this.ueHttp=s,this.http=r,this.sessionTimeoutService=o,this.secondsLeft=0}ngOnInit(){this.sessionTimeoutService.resetDevSessionExpiration(),this.sessionTimeoutService.startInterval(()=>this.onInterval())}onInterval(){const e=new Date,t=this.sessionTimeoutService.devSessionWarning,s=this.sessionTimeoutService.devSessionExpiration;this.secondsLeft=this.calculateSecondsLeft(e,s),e>t?this.openWarningModal():this.closeWarningModal(),e>s&&this.logout()}openWarningModal(){this.modal.isOpened||(this.sessionTimeoutService.countdownOpen=!0,this.modal.open())}closeWarningModal(){this.modal.isOpened&&(this.sessionTimeoutService.countdownOpen=!1,this.modal.close())}extendSession(){this.http.get("/api/DVPRTLFE/developers/keep_alive",{headers:this.ueHttp.getAuthHeader()}).subscribe(e=>{this.closeWarningModal(),this.sessionTimeoutService.resetDevSessionExpiration()},e=>{this.router.navigate(["/login"],{queryParams:{accessDenied:!0}})})}logout(){this.authService.logout().subscribe(e=>{this.router.navigate(["/login"],{queryParams:{timeout:!0}})},e=>{this.router.navigate(["/login"],{queryParams:{timeout:!0}})})}calculateSecondsLeft(e,t){const s=e.getTime();let o=t.getTime()-s;return o<0&&(o=0),Math.floor(o/1e3)}static#e=this.ctorParameters=()=>[{type:ni},{type:dn},{type:fo},{type:_c},{type:oh}];static#t=this.propDecorators={modal:[{type:qe,args:[k0,{static:!0}]}],alert:[{type:qe,args:[mi,{static:!0}]}]}};HB=be([Ke({selector:"ue-session-timeout",template:'\n\n\n\t\n\t\t

    Session Timeout Warning

    \n\t
    \n\t\n\t\t

    Your sesssion will expire in {{secondsLeft}} seconds.

    \n\t
    \n\t\n\t\tSign Out\n\t\tExtend Session\n\t\n',styles:[Uce()]})],HB);var zce=x(5320),Wce=x.n(zce);let TL=class{constructor(e,t,s){this.fb=e,this.authService=t,this.router=s,this.validationError=!1}ngOnInit(){this.initRegisterForm()}initRegisterForm(){this.registerForm=this.fb.group({contact:["",it.required],company:["",it.required],address1:[""],address2:[""],city:[""],state:[""],zip:[""],country:[""],phone:[""]})}register(){if(this.registerForm.invalid){this.validationError=!0;const t=this.registerForm.errors&&this.registerForm.errors.error?"Passwords do not match!":"Please fill in all required fields.";this.alert.newAlert("Login Error!",t,"danger")}else this.registerForm.markAsPristine(),this.authService.registerCompany(this.registerForm.value).subscribe(e=>{this.router.navigate(["/dashboard"])},e=>{this.alert.newAlert("Error!",e.error,"danger")})}static#e=this.ctorParameters=()=>[{type:ir},{type:ni},{type:dn}];static#t=this.propDecorators={alert:[{type:qe,args:[Ef,{static:!0}]}]}};TL=be([Ke({selector:"ue-register-company-form",template:'\n\n
    \n\t

    You currently do not belong to any company, please create a developer company.

    \n
    \n\n\x3c!-- form method --\x3e\n
    \n\n\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n
    \n \n
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n
    \n \n
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n
    \n \n
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n
    \n \n
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\n\n\t\t\n\t\t\n\n\t
    \n
    \n',styles:[Wce(),Ab()]})],TL);let A0=class{constructor(e){this.ueHttp=e,this.baseUrl="/api/v2/developers/labels"}getLabels(){return this.ueHttp.get(this.baseUrl+"?limit=1000")}addLabel(e){return this.ueHttp.post(this.baseUrl,e)}updateLabel(e,t){return this.ueHttp.put(this.baseUrl+"/"+e,t)}removeLabel(e){return this.ueHttp.delete(this.baseUrl+"/"+e)}static#e=this.ctorParameters=()=>[{type:fo}]};A0=be([ks()],A0);var Gce=x(5777),Kce=x.n(Gce);let UB=class{constructor(){this.loading=!1,this.verificationSent=!1,this.emailAddress="",this.verificationCode="",this.isLoginFlow=!1,this.canRegisterDevice=!1,this.registerDevice=!1,this.startSetup=new Le,this.confirmSetup=new Le,this.emailChange=new Le,this.codeChange=new Le,this.backToOptions=new Le,this.resendCode=new Le,this.registerDeviceChange=new Le,this.codeDigits=["","","","","",""]}onEmailChange(e){this.emailAddress=e,this.emailChange.emit(e)}onCodeDigitInput(e,t){const s=e.target.value;if(s&&/^\d$/.test(s)){if(this.codeDigits[t]=s,t<5){const r=e.target.parentElement.children[t+1];r&&r.focus()}}else s||(this.codeDigits[t]="");this.updateVerificationCode()}onCodeKeyDown(e,t){if("Backspace"===e.key&&!this.codeDigits[t]&&t>0){const s=e.target.parentElement.children[t-1];s&&s.focus()}}updateVerificationCode(){this.verificationCode=this.codeDigits.join(""),this.codeChange.emit(this.verificationCode)}isCodeComplete(){return this.codeDigits.every(e=>""!==e)}onStartSetup(){this.startSetup.emit(this.emailAddress)}onConfirmSetup(){this.confirmSetup.emit(this.verificationCode)}onBackToOptions(){this.backToOptions.emit()}onResendCode(){this.resendCode.emit()}onRegisterDeviceChange(e){this.registerDeviceChange.emit(e)}isValidEmail(e){return!!e&&/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}static#e=this.propDecorators={loading:[{type:G}],verificationSent:[{type:G}],emailAddress:[{type:G}],verificationCode:[{type:G}],isLoginFlow:[{type:G}],canRegisterDevice:[{type:G}],registerDevice:[{type:G}],startSetup:[{type:nt}],confirmSetup:[{type:nt}],emailChange:[{type:nt}],codeChange:[{type:nt}],backToOptions:[{type:nt}],resendCode:[{type:nt}],registerDeviceChange:[{type:nt}]}};UB=be([Ke({selector:"ue-email-factor",template:'
    \n

    Authentication

    \n

    EMAIL AUTHENTICATION:

    \n

    You can use email to receive an authentication code. Please enter a valid email address below to set up this method and then enter the code you receive.

    \n \n \n \n
    \n Go Back\n Submit\n
    \n
    \n\n
    \n

    Authentication

    \n
    \n

    An email message was sent to the provided address with a 6 digit authentication code.

    \n
    \n
    \n

    AUTHENTICATION CODE:

    \n

    Please enter the 6-digit authentication code you received.

    \n
    \n \n
    \n
    \n \n \x3c!-- Remember device checkbox for login flow --\x3e\n
    \n
    \n \n \n
    \n

    \n This device will be remembered for future logins.\n

    \n
    \n \n
    \n Go Back\n Re-Send Code\n Confirm Code\n
    \n
    ',styles:[Kce()]})],UB);var Xce=x(7175),Zce=x.n(Xce);let $B=class{constructor(){this.loading=!1,this.verificationSent=!1,this.phoneNumber="",this.verificationCode="",this.isLoginFlow=!1,this.canRegisterDevice=!1,this.registerDevice=!1,this.startSetup=new Le,this.confirmSetup=new Le,this.phoneChange=new Le,this.codeChange=new Le,this.backToOptions=new Le,this.resendCode=new Le,this.registerDeviceChange=new Le,this.codeDigits=["","","","","",""]}onPhoneChange(e){this.phoneNumber=e,this.phoneChange.emit(e)}onCodeDigitInput(e,t){const s=e.target.value;if(s&&/^\d$/.test(s)){if(this.codeDigits[t]=s,t<5){const r=e.target.parentElement.children[t+1];r&&r.focus()}}else s||(this.codeDigits[t]="");this.updateVerificationCode()}onCodeKeyDown(e,t){if("Backspace"===e.key&&!this.codeDigits[t]&&t>0){const s=e.target.parentElement.children[t-1];s&&s.focus()}}updateVerificationCode(){this.verificationCode=this.codeDigits.join(""),this.codeChange.emit(this.verificationCode)}isCodeComplete(){return this.codeDigits.every(e=>""!==e)}onStartSetup(){this.startSetup.emit(this.phoneNumber)}onConfirmSetup(){this.confirmSetup.emit(this.verificationCode)}onBackToOptions(){this.backToOptions.emit()}onResendCode(){this.resendCode.emit()}clearPhone(){this.phoneNumber="",this.phoneChange.emit("")}onRegisterDeviceChange(e){this.registerDeviceChange.emit(e)}static#e=this.propDecorators={loading:[{type:G}],verificationSent:[{type:G}],phoneNumber:[{type:G}],verificationCode:[{type:G}],isLoginFlow:[{type:G}],canRegisterDevice:[{type:G}],registerDevice:[{type:G}],startSetup:[{type:nt}],confirmSetup:[{type:nt}],phoneChange:[{type:nt}],codeChange:[{type:nt}],backToOptions:[{type:nt}],resendCode:[{type:nt}],registerDeviceChange:[{type:nt}]}};$B=be([Ke({selector:"ue-sms-factor",template:'
    \n

    Authentication

    \n

    SMS AUTHENTICATION:

    \n

    You can use SMS to receive an authentication code. Please enter a valid phone number below to set up this method and then enter the code you receive.

    \n \n
    \n
    \n \n \n \n
    \n
    \n \n
    \n Go Back\n Submit\n
    \n
    \n\n
    \n

    Authentication

    \n
    \n

    A text message was sent to the provided number with a 6 digit authentication code.

    \n
    \n
    \n

    AUTHENTICATION CODE:

    \n

    Please enter the 6-digit authentication code you received.

    \n
    \n \n
    \n
    \n \n \x3c!-- Remember device checkbox for login flow --\x3e\n
    \n
    \n \n \n
    \n

    \n This device will be remembered for future logins.\n

    \n
    \n \n
    \n Go Back\n Re-Send Code\n Confirm Code\n
    \n
    ',styles:[Zce()]})],$B);var eue=x(7207),tue=x.n(eue);let zB=class{constructor(){this.loading=!1,this.keyUri="",this.verificationCode="",this.verificationSent=!1,this.isLoginFlow=!1,this.canRegisterDevice=!1,this.registerDevice=!1,this.startSetup=new Le,this.confirmSetup=new Le,this.codeChange=new Le,this.backToOptions=new Le,this.confirmQRScanned=new Le,this.registerDeviceChange=new Le,this.codeDigits=["","","","","",""]}onCodeDigitInput(e,t){const s=e.target.value;if(s&&/^\d$/.test(s)){if(this.codeDigits[t]=s,t<5){const r=e.target.parentElement.children[t+1];r&&r.focus()}}else s||(this.codeDigits[t]="");this.updateVerificationCode()}onCodeKeyDown(e,t){if("Backspace"===e.key&&!this.codeDigits[t]&&t>0){const s=e.target.parentElement.children[t-1];s&&s.focus()}}updateVerificationCode(){this.verificationCode=this.codeDigits.join(""),this.codeChange.emit(this.verificationCode)}isCodeComplete(){return this.codeDigits.every(e=>""!==e)}onStartSetup(){this.startSetup.emit()}onConfirmSetup(){this.confirmSetup.emit(this.verificationCode)}onBackToOptions(){this.backToOptions.emit()}onConfirmQRScanned(){this.confirmQRScanned.emit()}onRegisterDeviceChange(e){this.registerDeviceChange.emit(e)}static#e=this.propDecorators={loading:[{type:G}],keyUri:[{type:G}],verificationCode:[{type:G}],verificationSent:[{type:G}],isLoginFlow:[{type:G}],canRegisterDevice:[{type:G}],registerDevice:[{type:G}],startSetup:[{type:nt}],confirmSetup:[{type:nt}],codeChange:[{type:nt}],backToOptions:[{type:nt}],confirmQRScanned:[{type:nt}],registerDeviceChange:[{type:nt}]}};zB=be([Ke({selector:"ue-google-authenticator-factor",template:'
    \n

    Google Authenticator

    \n

    AUTHENTICATOR APP:

    \n

    You can use an authenticator app as a second factor. It can be used to get authentication codes even when your device is offline. Simply open the app and then scan the QR code.

    \n \n
    \n Go Back\n Continue\n
    \n
    \n\n
    \n

    Google Authenticator

    \n

    AUTHENTICATOR APP:

    \n

    You can use an authenticator app as a second factor. It can be used to get authentication codes even when your device is offline. Simply open the app and then scan the QR code.

    \n \n
    \n \n
    \n \n
    \n Go Back\n Confirm\n
    \n
    \n\n
    \n

    Google Authenticator

    \n

    AUTHENTICATOR APP:

    \n

    Please enter the 6-digit code currently displayed on your authenticator app.

    \n \n
    \n \n
    \n \n \x3c!-- Remember device checkbox for login flow --\x3e\n
    \n
    \n \n \n
    \n

    \n This device will be remembered for future logins.\n

    \n
    \n \n
    \n Go Back\n Confirm Code\n
    \n
    ',styles:[tue()]})],zB);var sue=x(9369),iue=x.n(sue);let WB=class{constructor(){this.loading=!1,this.showBackupCodes=!1,this.backupCodes=[],this.isLoginFlow=!1,this.confirmSetup=new Le,this.backToOptions=new Le,this.generateCodes=new Le}onConfirmSetup(){this.confirmSetup.emit()}onBackToOptions(){this.backToOptions.emit()}onGenerateCodes(){this.generateCodes.emit()}static#e=this.propDecorators={loading:[{type:G}],showBackupCodes:[{type:G}],backupCodes:[{type:G}],isLoginFlow:[{type:G}],confirmSetup:[{type:nt}],backToOptions:[{type:nt}],generateCodes:[{type:nt}]}};WB=be([Ke({selector:"ue-onetime-codes-factor",template:'
    \n

    One Time Use Codes

    \n

    BACKUP CODES:

    \n

    These codes can be used as a backup when your other authentication methods are not available. Each code can only be used once.

    \n \n
    \n
    \n
    {{ code }}
    \n
    \n

    Please save these codes in a secure location. They will not be shown again.

    \n
    \n \n
    \n Go Back\n Continue\n
    \n
    ',styles:[iue()]})],WB);var oue=x(3244),aue=x.n(oue);let qB=class{constructor(){this.loading=!1,this.securityLevels=[],this.currentSecurityLevel="",this.confirmSecurityLevel=new Le,this.backToOptions=new Le,this.selectedSecurityLevel=""}ngOnInit(){this.initializeSelection()}ngOnChanges(e){(e.securityLevels||e.currentSecurityLevel)&&this.initializeSelection()}initializeSelection(){this.selectedSecurityLevel=this.currentSecurityLevel}onConfirm(){this.selectedSecurityLevel&&this.confirmSecurityLevel.emit(this.selectedSecurityLevel)}onBackToOptions(){this.backToOptions.emit()}isConfirmDisabled(){return this.loading||!this.selectedSecurityLevel||this.selectedSecurityLevel===this.currentSecurityLevel}static#e=this.propDecorators={loading:[{type:G}],securityLevels:[{type:G}],currentSecurityLevel:[{type:G}],confirmSecurityLevel:[{type:nt}],backToOptions:[{type:nt}]}};qB=be([Ke({selector:"ue-security-level",template:'
    \n

    Security Level

    \n

    CHOOSE YOUR SECURITY LEVEL:

    \n

    Select the security level that best fits your needs. Higher security levels provide better protection but may require more frequent authentication.

    \n \n
    \n \n \n \n \n
    \n \n
    \n Go Back\n Confirm Security Level\n
    \n
    ',styles:[aue()]})],qB);let IL=class{};IL=be([fi({imports:[xi,Au,pA,fA],declarations:[UM,gA,_A,Qb,Xb,xL,kL,Ef,HB,TL,I0,UB,$B,zB,WB,qB],exports:[UM,Qb,Xb,I0],providers:[ni,Lu,EL,n_,mA,oh,t_,dh,A0]})],IL);const A6=typeof window>"u"?function(n){return n()}:window.requestAnimationFrame;function L6(n,e,t){const s=t||(c=>Array.prototype.slice.call(c));let r=!1,o=[];return function(...c){o=s(c),r||(r=!0,A6.call(window,()=>{r=!1,n.apply(e,o)}))}}const GB=n=>"start"===n?"left":"end"===n?"right":"center",go=(n,e,t)=>"start"===n?e:"end"===n?t:(e+t)/2;function hh(){}const uue=function(){let n=0;return function(){return n++}}();function us(n){return null===n||typeof n>"u"}function Ks(n){if(Array.isArray&&Array.isArray(n))return!0;const e=Object.prototype.toString.call(n);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)}function qn(n){return null!==n&&"[object Object]"===Object.prototype.toString.call(n)}const zi=n=>("number"==typeof n||n instanceof Number)&&isFinite(+n);function Dl(n,e){return zi(n)?n:e}function Dn(n,e){return typeof n>"u"?e:n}const P6=(n,e)=>"string"==typeof n&&n.endsWith("%")?parseFloat(n)/100*e:+n;function Qs(n,e,t){if(n&&"function"==typeof n.call)return n.apply(t,e)}function Ts(n,e,t,s){let r,o,c;if(Ks(n))if(o=n.length,s)for(r=o-1;r>=0;r--)e.call(t,n[r],r);else for(r=0;rt;)n=n[e.substr(t,s-t)],t=s+1,s=O6(e,t);return n}function KB(n){return n.charAt(0).toUpperCase()+n.slice(1)}const Cl=n=>typeof n<"u",xf=n=>"function"==typeof n,N6=(n,e)=>{if(n.size!==e.size)return!1;for(const t of n)if(!e.has(t))return!1;return!0};const gi=Math.PI,$s=2*gi,_ue=$s+gi,PL=Number.POSITIVE_INFINITY,yue=gi/180,Ni=gi/2,R0=gi/4,F6=2*gi/3,Ml=Math.log10,Pu=Math.sign;function Y6(n){const e=Math.round(n);n=N0(n,e,n/1e3)?e:n;const t=Math.pow(10,Math.floor(Ml(n))),s=n/t;return(s<=1?1:s<=2?2:s<=5?5:10)*t}function O0(n){return!isNaN(parseFloat(n))&&isFinite(n)}function N0(n,e,t){return Math.abs(n-e)h&&m=Math.min(e,t)-s&&n<=Math.max(e,t)+s}const RL=n=>0===n||1===n,H6=(n,e,t)=>-Math.pow(2,10*(n-=1))*Math.sin((n-e)*$s/t),U6=(n,e,t)=>Math.pow(2,-10*n)*Math.sin((n-e)*$s/t)+1,Y0={linear:n=>n,easeInQuad:n=>n*n,easeOutQuad:n=>-n*(n-2),easeInOutQuad:n=>(n/=.5)<1?.5*n*n:-.5*(--n*(n-2)-1),easeInCubic:n=>n*n*n,easeOutCubic:n=>(n-=1)*n*n+1,easeInOutCubic:n=>(n/=.5)<1?.5*n*n*n:.5*((n-=2)*n*n+2),easeInQuart:n=>n*n*n*n,easeOutQuart:n=>-((n-=1)*n*n*n-1),easeInOutQuart:n=>(n/=.5)<1?.5*n*n*n*n:-.5*((n-=2)*n*n*n-2),easeInQuint:n=>n*n*n*n*n,easeOutQuint:n=>(n-=1)*n*n*n*n+1,easeInOutQuint:n=>(n/=.5)<1?.5*n*n*n*n*n:.5*((n-=2)*n*n*n*n+2),easeInSine:n=>1-Math.cos(n*Ni),easeOutSine:n=>Math.sin(n*Ni),easeInOutSine:n=>-.5*(Math.cos(gi*n)-1),easeInExpo:n=>0===n?0:Math.pow(2,10*(n-1)),easeOutExpo:n=>1===n?1:1-Math.pow(2,-10*n),easeInOutExpo:n=>RL(n)?n:n<.5?.5*Math.pow(2,10*(2*n-1)):.5*(2-Math.pow(2,-10*(2*n-1))),easeInCirc:n=>n>=1?n:-(Math.sqrt(1-n*n)-1),easeOutCirc:n=>Math.sqrt(1-(n-=1)*n),easeInOutCirc:n=>(n/=.5)<1?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1),easeInElastic:n=>RL(n)?n:H6(n,.075,.3),easeOutElastic:n=>RL(n)?n:U6(n,.075,.3),easeInOutElastic:n=>RL(n)?n:n<.5?.5*H6(2*n,.1125,.45):.5+.5*U6(2*n-1,.1125,.45),easeInBack:n=>n*n*(2.70158*n-1.70158),easeOutBack:n=>(n-=1)*n*(2.70158*n+1.70158)+1,easeInOutBack(n){let e=1.70158;return(n/=.5)<1?n*n*((1+(e*=1.525))*n-e)*.5:.5*((n-=2)*n*((1+(e*=1.525))*n+e)+2)},easeInBounce:n=>1-Y0.easeOutBounce(1-n),easeOutBounce:n=>n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375,easeInOutBounce:n=>n<.5?.5*Y0.easeInBounce(2*n):.5*Y0.easeOutBounce(2*n-1)+.5},El={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},ZB="0123456789ABCDEF",Due=n=>ZB[15&n],Cue=n=>ZB[(240&n)>>4]+ZB[15&n],OL=n=>(240&n)>>4==(15&n);function xue(n){var e=function Mue(n){return OL(n.r)&&OL(n.g)&&OL(n.b)&&OL(n.a)}(n)?Due:Cue;return n&&"#"+e(n.r)+e(n.g)+e(n.b)+(n.a<255?e(n.a):"")}function B0(n){return n+.5|0}const NL=(n,e,t)=>Math.max(Math.min(n,t),e);function j0(n){return NL(B0(2.55*n),0,255)}function V0(n){return NL(B0(255*n),0,255)}function JB(n){return NL(B0(n/2.55)/100,0,1)}function $6(n){return NL(B0(100*n),0,100)}const kue=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const Aue=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function z6(n,e,t){const s=e*Math.min(t,1-t),r=(o,c=(o+n/30)%12)=>t-s*Math.max(Math.min(c-3,9-c,1),-1);return[r(0),r(8),r(4)]}function Lue(n,e,t){const s=(r,o=(r+n/60)%6)=>t-t*e*Math.max(Math.min(o,4-o,1),0);return[s(5),s(3),s(1)]}function Pue(n,e,t){const s=z6(n,1,.5);let r;for(e+t>1&&(r=1/(e+t),e*=r,t*=r),r=0;r<3;r++)s[r]*=1-e-t,s[r]+=e;return s}function ej(n){const t=n.r/255,s=n.g/255,r=n.b/255,o=Math.max(t,s,r),c=Math.min(t,s,r),d=(o+c)/2;let h,m,g;return o!==c&&(g=o-c,m=d>.5?g/(2-o-c):g/(o+c),h=o===t?(s-r)/g+(s>16&255,o>>8&255,255&o]}return n}(),FL.transparent=[0,0,0,0]);const e=FL[n.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}function YL(n,e,t){if(n){let s=ej(n);s[e]=Math.max(0,Math.min(s[e]+s[e]*t,0===e?360:1)),s=nj(s),n.r=s[0],n.g=s[1],n.b=s[2]}}function K6(n,e){return n&&Object.assign(e||{},n)}function Q6(n){var e={r:0,g:0,b:0,a:255};return Array.isArray(n)?n.length>=3&&(e={r:n[0],g:n[1],b:n[2],a:255},n.length>3&&(e.a=V0(n[3]))):(e=K6(n,{r:0,g:0,b:0,a:1})).a=V0(e.a),e}function Vue(n){return"r"===n.charAt(0)?function Tue(n){const e=kue.exec(n);let s,r,o,t=255;if(e){if(e[7]!==s){const c=+e[7];t=255&(e[8]?j0(c):255*c)}return s=+e[1],r=+e[3],o=+e[5],s=255&(e[2]?j0(s):s),r=255&(e[4]?j0(r):r),o=255&(e[6]?j0(o):o),{r:s,g:r,b:o,a:t}}}(n):Nue(n)}class BL{constructor(e){if(e instanceof BL)return e;const t=typeof e;let s;"object"===t?s=Q6(e):"string"===t&&(s=function Eue(n){var t,e=n.length;return"#"===n[0]&&(4===e||5===e?t={r:255&17*El[n[1]],g:255&17*El[n[2]],b:255&17*El[n[3]],a:5===e?17*El[n[4]]:255}:(7===e||9===e)&&(t={r:El[n[1]]<<4|El[n[2]],g:El[n[3]]<<4|El[n[4]],b:El[n[5]]<<4|El[n[6]],a:9===e?El[n[7]]<<4|El[n[8]]:255})),t}(e)||jue(e)||Vue(e)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var e=K6(this._rgb);return e&&(e.a=JB(e.a)),e}set rgb(e){this._rgb=Q6(e)}rgbString(){return this._valid?function Iue(n){return n&&(n.a<255?`rgba(${n.r}, ${n.g}, ${n.b}, ${JB(n.a)})`:`rgb(${n.r}, ${n.g}, ${n.b})`)}(this._rgb):this._rgb}hexString(){return this._valid?xue(this._rgb):this._rgb}hslString(){return this._valid?function Yue(n){if(!n)return;const e=ej(n),t=e[0],s=$6(e[1]),r=$6(e[2]);return n.a<255?`hsla(${t}, ${s}%, ${r}%, ${JB(n.a)})`:`hsl(${t}, ${s}%, ${r}%)`}(this._rgb):this._rgb}mix(e,t){const s=this;if(e){const r=s.rgb,o=e.rgb;let c;const d=t===c?.5:t,h=2*d-1,m=r.a-o.a,g=((h*m==-1?h:(h+m)/(1+h*m))+1)/2;c=1-g,r.r=255&g*r.r+c*o.r+.5,r.g=255&g*r.g+c*o.g+.5,r.b=255&g*r.b+c*o.b+.5,r.a=d*r.a+(1-d)*o.a,s.rgb=r}return s}clone(){return new BL(this.rgb)}alpha(e){return this._rgb.a=V0(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=B0(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return YL(this._rgb,2,e),this}darken(e){return YL(this._rgb,2,-e),this}saturate(e){return YL(this._rgb,1,e),this}desaturate(e){return YL(this._rgb,1,-e),this}rotate(e){return function Fue(n,e){var t=ej(n);t[0]=W6(t[0]+e),t=nj(t),n.r=t[0],n.g=t[1],n.b=t[2]}(this._rgb,e),this}}function X6(n){return new BL(n)}const Z6=n=>n instanceof CanvasGradient||n instanceof CanvasPattern;function J6(n){return Z6(n)?n:X6(n)}function sj(n){return Z6(n)?n:X6(n).saturate(.5).darken(.1).hexString()}const g_=Object.create(null),ij=Object.create(null);function H0(n,e){if(!e)return n;const t=e.split(".");for(let s=0,r=t.length;st.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,s)=>sj(s.backgroundColor),this.hoverBorderColor=(t,s)=>sj(s.borderColor),this.hoverColor=(t,s)=>sj(s.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e)}set(e,t){return rj(this,e,t)}get(e){return H0(this,e)}describe(e,t){return rj(ij,e,t)}override(e,t){return rj(g_,e,t)}route(e,t,s,r){const o=H0(this,e),c=H0(this,s),d="_"+t;Object.defineProperties(o,{[d]:{value:o[t],writable:!0},[t]:{enumerable:!0,get(){const h=this[d],m=c[r];return qn(h)?Object.assign({},m,h):Dn(h,m)},set(h){this[d]=h}}})}}({_scriptable:n=>!n.startsWith("on"),_indexable:n=>"events"!==n,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function jL(n,e,t,s,r){let o=e[r];return o||(o=e[r]=n.measureText(r).width,t.push(r)),o>s&&(s=o),s}function $ue(n,e,t,s){let r=(s=s||{}).data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==e&&(r=s.data={},o=s.garbageCollect=[],s.font=e),n.save(),n.font=e;let c=0;const d=t.length;let h,m,g,S,T;for(h=0;ht.length){for(h=0;h0&&n.stroke()}}function y_(n,e,t){return t=t||.5,!e||n&&n.x>e.left-t&&n.xe.top-t&&n.y0&&""!==o.strokeColor;let h,m;for(n.save(),n.font=r.string,function que(n,e){e.translation&&n.translate(e.translation[0],e.translation[1]),us(e.rotation)||n.rotate(e.rotation),e.color&&(n.fillStyle=e.color),e.textAlign&&(n.textAlign=e.textAlign),e.textBaseline&&(n.textBaseline=e.textBaseline)}(n,o),h=0;h+n||0;function oj(n,e){const t={},s=qn(e),r=s?Object.keys(e):e,o=qn(n)?s?c=>Dn(n[c],n[e[c]]):c=>n[c]:()=>n;for(const c of r)t[c]=Zue(o(c));return t}function tz(n){return oj(n,{top:"y",right:"x",bottom:"y",left:"x"})}function Zb(n){return oj(n,["topLeft","topRight","bottomLeft","bottomRight"])}function _o(n){const e=tz(n);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function gr(n,e){n=n||{},e=e||Hn.font;let t=Dn(n.size,e.size);"string"==typeof t&&(t=parseInt(t,10));let s=Dn(n.style,e.style);s&&!(""+s).match(Que)&&(console.warn('Invalid font style specified: "'+s+'"'),s="");const r={family:Dn(n.family,e.family),lineHeight:Xue(Dn(n.lineHeight,e.lineHeight),t),size:t,style:s,weight:Dn(n.weight,e.weight),string:""};return r.string=function Uue(n){return!n||us(n.size)||us(n.family)?null:(n.style?n.style+" ":"")+(n.weight?n.weight+" ":"")+n.size+"px "+n.family}(r),r}function U0(n,e,t,s){let o,c,d,r=!0;for(o=0,c=n.length;on[c]1;)o=r+s>>1,t(o)?r=o:s=o;return{lo:r,hi:s}}const fh=(n,e,t)=>aj(n,t,s=>n[s][e]aj(n,t,s=>n[s][e]>=t);const nz=["push","pop","shift","splice","unshift"];function sz(n,e){const t=n._chartjs;if(!t)return;const s=t.listeners,r=s.indexOf(e);-1!==r&&s.splice(r,1),!(s.length>0)&&(nz.forEach(o=>{delete n[o]}),delete n._chartjs)}function iz(n){const e=new Set;let t,s;for(t=0,s=n.length;tn[0]){Cl(s)||(s=cz("_fallback",n));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:n,_rootScopes:t,_fallback:s,_getTarget:r,override:c=>lj([c,...n],e,t,s)};return new Proxy(o,{deleteProperty:(c,d)=>(delete c[d],delete c._keys,delete n[0][d],!0),get:(c,d)=>oz(c,d,()=>function ude(n,e,t,s){let r;for(const o of e)if(r=cz(sde(o,n),t),Cl(r))return cj(n,r)?uj(t,s,n,r):r}(d,e,n,c)),getOwnPropertyDescriptor:(c,d)=>Reflect.getOwnPropertyDescriptor(c._scopes[0],d),getPrototypeOf:()=>Reflect.getPrototypeOf(n[0]),has:(c,d)=>uz(c).includes(d),ownKeys:c=>uz(c),set(c,d,h){const m=c._storage||(c._storage=r());return c[d]=m[d]=h,delete c._keys,!0}})}function Jb(n,e,t,s){const r={_cacheable:!1,_proxy:n,_context:e,_subProxy:t,_stack:new Set,_descriptors:rz(n,s),setContext:o=>Jb(n,o,t,s),override:o=>Jb(n.override(o),e,t,s)};return new Proxy(r,{deleteProperty:(o,c)=>(delete o[c],delete n[c],!0),get:(o,c,d)=>oz(o,c,()=>function ide(n,e,t){const{_proxy:s,_context:r,_subProxy:o,_descriptors:c}=n;let d=s[e];return xf(d)&&c.isScriptable(e)&&(d=function rde(n,e,t,s){const{_proxy:r,_context:o,_subProxy:c,_stack:d}=t;if(d.has(n))throw new Error("Recursion detected: "+Array.from(d).join("->")+"->"+n);return d.add(n),e=e(o,c||s),d.delete(n),cj(n,e)&&(e=uj(r._scopes,r,n,e)),e}(e,d,n,t)),Ks(d)&&d.length&&(d=function ode(n,e,t,s){const{_proxy:r,_context:o,_subProxy:c,_descriptors:d}=t;if(Cl(o.index)&&s(n))e=e[o.index%e.length];else if(qn(e[0])){const h=e,m=r._scopes.filter(g=>g!==h);e=[];for(const g of h){const S=uj(m,r,n,g);e.push(Jb(S,o,c&&c[n],d))}}return e}(e,d,n,c.isIndexable)),cj(e,d)&&(d=Jb(d,r,o&&o[e],c)),d}(o,c,d)),getOwnPropertyDescriptor:(o,c)=>o._descriptors.allKeys?Reflect.has(n,c)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(n,c),getPrototypeOf:()=>Reflect.getPrototypeOf(n),has:(o,c)=>Reflect.has(n,c),ownKeys:()=>Reflect.ownKeys(n),set:(o,c,d)=>(n[c]=d,delete o[c],!0)})}function rz(n,e={scriptable:!0,indexable:!0}){const{_scriptable:t=e.scriptable,_indexable:s=e.indexable,_allKeys:r=e.allKeys}=n;return{allKeys:r,scriptable:t,indexable:s,isScriptable:xf(t)?t:()=>t,isIndexable:xf(s)?s:()=>s}}const sde=(n,e)=>n?n+KB(e):e,cj=(n,e)=>qn(e)&&"adapters"!==n&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function oz(n,e,t){if(Object.prototype.hasOwnProperty.call(n,e))return n[e];const s=t();return n[e]=s,s}function az(n,e,t){return xf(n)?n(e,t):n}const ade=(n,e)=>!0===n?e:"string"==typeof n?m_(e,n):void 0;function lde(n,e,t,s,r){for(const o of e){const c=ade(t,o);if(c){n.add(c);const d=az(c._fallback,t,r);if(Cl(d)&&d!==t&&d!==s)return d}else if(!1===c&&Cl(s)&&t!==s)return null}return!1}function uj(n,e,t,s){const r=e._rootScopes,o=az(e._fallback,t,s),c=[...n,...r],d=new Set;d.add(s);let h=lz(d,c,t,o||t,s);return!(null===h||Cl(o)&&o!==t&&(h=lz(d,c,o,h,s),null===h))&&lj(Array.from(d),[""],r,o,()=>function cde(n,e,t){const s=n._getTarget();e in s||(s[e]={});const r=s[e];return Ks(r)&&qn(t)?t:r}(e,t,s))}function lz(n,e,t,s,r){for(;t;)t=lde(n,e,t,s,r);return t}function cz(n,e){for(const t of e){if(!t)continue;const s=t[n];if(Cl(s))return s}}function uz(n){let e=n._keys;return e||(e=n._keys=function dde(n){const e=new Set;for(const t of n)for(const s of Object.keys(t).filter(r=>!r.startsWith("_")))e.add(s);return Array.from(e)}(n._scopes)),e}const hde=Number.EPSILON||1e-14,ew=(n,e)=>e"x"===n?"y":"x";function pde(n,e,t,s){const r=n.skip?e:n,o=e,c=t.skip?e:t,d=XB(o,r),h=XB(c,o);let m=d/(d+h),g=h/(d+h);m=isNaN(m)?0:m,g=isNaN(g)?0:g;const S=s*m,T=s*g;return{previous:{x:o.x-S*(c.x-r.x),y:o.y-S*(c.y-r.y)},next:{x:o.x+T*(c.x-r.x),y:o.y+T*(c.y-r.y)}}}function gde(n,e="x"){const t=dz(e),s=n.length,r=Array(s).fill(0),o=Array(s);let c,d,h,m=ew(n,0);for(c=0;c!m.skip)),"monotone"===e.cubicInterpolationMode)gde(n,r);else{let m=s?n[n.length-1]:n[0];for(o=0,c=n.length;owindow.getComputedStyle(n,null);const bde=["top","right","bottom","left"];function b_(n,e,t){const s={};t=t?"-"+t:"";for(let r=0;r<4;r++){const o=bde[r];s[o]=parseFloat(n[e+"-"+o+t])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const wde=(n,e,t)=>(n>0||e>0)&&(!t||!t.shadowRoot);function pz(n,e){const{canvas:t,currentDevicePixelRatio:s}=e,r=qL(t),o="border-box"===r.boxSizing,c=b_(r,"padding"),d=b_(r,"border","width"),{x:h,y:m,box:g}=function Sde(n,e){const t=n.native||n,s=t.touches,r=s&&s.length?s[0]:t,{offsetX:o,offsetY:c}=r;let h,m,d=!1;if(wde(o,c,t.target))h=o,m=c;else{const g=e.getBoundingClientRect();h=r.clientX-g.left,m=r.clientY-g.top,d=!0}return{x:h,y:m,box:d}}(n,t),S=c.left+(g&&d.left),T=c.top+(g&&d.top);let{width:I,height:P}=e;return o&&(I-=c.width+d.width,P-=c.height+d.height),{x:Math.round((h-S)/I*t.width/s),y:Math.round((m-T)/P*t.height/s)}}const hj=n=>Math.round(10*n)/10;function Cde(n,e,t,s){const r=qL(n),o=b_(r,"margin"),c=WL(r.maxWidth,n,"clientWidth")||PL,d=WL(r.maxHeight,n,"clientHeight")||PL,h=function Dde(n,e,t){let s,r;if(void 0===e||void 0===t){const o=dj(n);if(o){const c=o.getBoundingClientRect(),d=qL(o),h=b_(d,"border","width"),m=b_(d,"padding");e=c.width-m.width-h.width,t=c.height-m.height-h.height,s=WL(d.maxWidth,o,"clientWidth"),r=WL(d.maxHeight,o,"clientHeight")}else e=n.clientWidth,t=n.clientHeight}return{width:e,height:t,maxWidth:s||PL,maxHeight:r||PL}}(n,e,t);let{width:m,height:g}=h;if("content-box"===r.boxSizing){const S=b_(r,"border","width"),T=b_(r,"padding");m-=T.width+S.width,g-=T.height+S.height}return m=Math.max(0,m-o.width),g=Math.max(0,s?Math.floor(m/s):g-o.height),m=hj(Math.min(m,c,h.maxWidth)),g=hj(Math.min(g,d,h.maxHeight)),m&&!g&&(g=hj(m/2)),{width:m,height:g}}function fz(n,e,t){const s=e||1,r=Math.floor(n.height*s),o=Math.floor(n.width*s);n.height=r/s,n.width=o/s;const c=n.canvas;return c.style&&(t||!c.style.height&&!c.style.width)&&(c.style.height=`${n.height}px`,c.style.width=`${n.width}px`),(n.currentDevicePixelRatio!==s||c.height!==r||c.width!==o)&&(n.currentDevicePixelRatio=s,c.height=r,c.width=o,n.ctx.setTransform(s,0,0,s,0,0),!0)}const Mde=function(){let n=!1;try{const e={get passive(){return n=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch{}return n}();function mz(n,e){const t=function vde(n,e){return qL(n).getPropertyValue(e)}(n,e),s=t&&t.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function w_(n,e,t,s){return{x:n.x+t*(e.x-n.x),y:n.y+t*(e.y-n.y)}}function Ede(n,e,t,s){return{x:n.x+t*(e.x-n.x),y:"middle"===s?t<.5?n.y:e.y:"after"===s?t<1?n.y:e.y:t>0?e.y:n.y}}function xde(n,e,t,s){const r={x:n.cp2x,y:n.cp2y},o={x:e.cp1x,y:e.cp1y},c=w_(n,r,t),d=w_(r,o,t),h=w_(o,e,t),m=w_(c,d,t),g=w_(d,h,t);return w_(m,g,t)}const gz=new Map;function $0(n,e,t){return function kde(n,e){e=e||{};const t=n+JSON.stringify(e);let s=gz.get(t);return s||(s=new Intl.NumberFormat(n,e),gz.set(t,s)),s}(e,t).format(n)}function tw(n,e,t){return n?function(n,e){return{x:t=>n+n+e-t,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,s)=>t-s,leftForLtr:(t,s)=>t-s}}(e,t):{x:n=>n,setWidth(n){},textAlign:n=>n,xPlus:(n,e)=>n+e,leftForLtr:(n,e)=>n}}function _z(n,e){let t,s;("ltr"===e||"rtl"===e)&&(t=n.canvas.style,s=[t.getPropertyValue("direction"),t.getPropertyPriority("direction")],t.setProperty("direction",e,"important"),n.prevTextDirection=s)}function yz(n,e){void 0!==e&&(delete n.prevTextDirection,n.canvas.style.setProperty("direction",e[0],e[1]))}function vz(n){return"angle"===n?{between:F0,compare:wue,normalize:Ya}:{between:ph,compare:(e,t)=>e-t,normalize:e=>e}}function bz({start:n,end:e,count:t,loop:s,style:r}){return{start:n%t,end:e%t,loop:s&&(e-n+1)%t==0,style:r}}function wz(n,e,t){if(!t)return[n];const{property:s,start:r,end:o}=t,c=e.length,{compare:d,between:h,normalize:m}=vz(s),{start:g,end:S,loop:T,style:I}=function Ade(n,e,t){const{property:s,start:r,end:o}=t,{between:c,normalize:d}=vz(s),h=e.length;let T,I,{start:m,end:g,loop:S}=n;if(S){for(m+=h,g+=h,T=0,I=h;TY||h(r,oe,Q)&&0!==d(r,oe),Ne=()=>!Y||0===d(o,Q)||h(o,oe,Q);for(let tt=g,dt=g;tt<=S;++tt)q=e[tt%c],!q.skip&&(Q=m(q[s]),Q!==oe&&(Y=h(Q,r,o),null===z&&Oe()&&(z=0===d(Q,r)?tt:dt),null!==z&&Ne()&&(P.push(bz({start:z,end:tt,loop:T,count:c,style:I})),z=null),dt=tt,oe=Q));return null!==z&&P.push(bz({start:z,end:S,loop:T,count:c,style:I})),P}function Sz(n,e){const t=[],s=n.segments;for(let r=0;rd({chart:e,initial:t.initial,numSteps:c,currentStep:Math.min(s-t.start,c)}))}_refresh(){this._request||(this._running=!0,this._request=A6.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((s,r)=>{if(!s.running||!s.items.length)return;const o=s.items;let h,c=o.length-1,d=!1;for(;c>=0;--c)h=o[c],h._active?(h._total>s.duration&&(s.duration=h._total),h.tick(e),d=!0):(o[c]=o[o.length-1],o.pop());d&&(r.draw(),this._notify(r,s,e,"progress")),o.length||(s.running=!1,this._notify(r,s,e,"complete"),s.initial=!1),t+=o.length}),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){const t=this._charts;let s=t.get(e);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,s)),s}listen(e,t,s){this._getAnims(e).listeners[t].push(s)}add(e,t){!t||!t.length||this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((s,r)=>Math.max(s,r._duration),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!(!t||!t.running||!t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const s=t.items;let r=s.length-1;for(;r>=0;--r)s[r].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}};const Mz="transparent",Yde={boolean:(n,e,t)=>t>.5?e:n,color(n,e,t){const s=J6(n||Mz),r=s.valid&&J6(e||Mz);return r&&r.valid?r.mix(s,t).hexString():e},number:(n,e,t)=>n+(e-n)*t};class Bde{constructor(e,t,s,r){const o=t[s];r=U0([e.to,r,o,e.from]);const c=U0([e.from,o,r]);this._active=!0,this._fn=e.fn||Yde[e.type||typeof c],this._easing=Y0[e.easing]||Y0.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=s,this._from=c,this._to=r,this._promises=void 0}active(){return this._active}update(e,t,s){if(this._active){this._notify(!1);const r=this._target[this._prop],o=s-this._start,c=this._duration-o;this._start=s,this._duration=Math.floor(Math.max(c,e.duration)),this._total+=o,this._loop=!!e.loop,this._to=U0([e.to,t,r,e.from]),this._from=U0([e.from,r,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,s=this._duration,r=this._prop,o=this._from,c=this._loop,d=this._to;let h;if(this._active=o!==d&&(c||t1?2-h:h,h=this._easing(Math.min(1,Math.max(0,h))),this._target[r]=this._fn(o,d,h))}wait(){const e=this._promises||(this._promises=[]);return new Promise((t,s)=>{e.push({res:t,rej:s})})}_notify(e){const t=e?"res":"rej",s=this._promises||[];for(let r=0;r"onProgress"!==n&&"onComplete"!==n&&"fn"!==n}),Hn.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),Hn.describe("animations",{_fallback:"animation"}),Hn.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:n=>0|n}}}});class Ez{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!qn(e))return;const t=this._properties;Object.getOwnPropertyNames(e).forEach(s=>{const r=e[s];if(!qn(r))return;const o={};for(const c of Hde)o[c]=r[c];(Ks(r.properties)&&r.properties||[s]).forEach(c=>{(c===s||!t.has(c))&&t.set(c,o)})})}_animateOptions(e,t){const s=t.options,r=function $de(n,e){if(!e)return;let t=n.options;if(!t)return void(n.options=e);return t.$shared&&(n.options=t=Object.assign({},t,{$shared:!1,$animations:{}})),t}(e,s);if(!r)return[];const o=this._createAnimations(r,s);return s.$shared&&function Ude(n,e){const t=[],s=Object.keys(e);for(let r=0;r{e.options=s},()=>{}),o}_createAnimations(e,t){const s=this._properties,r=[],o=e.$animations||(e.$animations={}),c=Object.keys(t),d=Date.now();let h;for(h=c.length-1;h>=0;--h){const m=c[h];if("$"===m.charAt(0))continue;if("options"===m){r.push(...this._animateOptions(e,t));continue}const g=t[m];let S=o[m];const T=s.get(m);if(S){if(T&&S.active()){S.update(T,g,d);continue}S.cancel()}T&&T.duration?(o[m]=S=new Bde(T,e,m,g),r.push(S)):e[m]=g}return r}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const s=this._createAnimations(e,t);return s.length?(mh.add(this._chart,s),!0):void 0}}function xz(n,e){const t=n&&n.options||{},s=t.reverse,r=void 0===t.min?e:0,o=void 0===t.max?e:0;return{start:s?o:r,end:s?r:o}}function kz(n,e){const t=[],s=n._getSortedDatasetMetas(e);let r,o;for(r=0,o=s.length;r0||!t&&o<0)return r.index}return null}function Lz(n,e){const{chart:t,_cachedMeta:s}=n,r=t._stacks||(t._stacks={}),{iScale:o,vScale:c,index:d}=s,h=o.axis,m=c.axis,g=function Gde(n,e,t){return`${n.id}.${e.id}.${t.stack||t.type}`}(o,c,s),S=e.length;let T;for(let I=0;It[s].axis===e).shift()}function z0(n,e){const t=n.controller.index,s=n.vScale&&n.vScale.axis;if(s){e=e||n._parsed;for(const r of e){const o=r._stacks;if(!o||void 0===o[s]||void 0===o[s][t])return;delete o[s][t]}}}const fj=n=>"reset"===n||"none"===n,Pz=(n,e)=>e?n:Object.assign({},n);class Ru{constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=Iz(e.vScale,e),this.addElements()}updateIndex(e){this.index!==e&&z0(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,s=this.getDataset(),r=(S,T,I,P)=>"x"===S?T:"r"===S?P:I,o=t.xAxisID=Dn(s.xAxisID,pj(e,"x")),c=t.yAxisID=Dn(s.yAxisID,pj(e,"y")),d=t.rAxisID=Dn(s.rAxisID,pj(e,"r")),h=t.indexAxis,m=t.iAxisID=r(h,o,c,d),g=t.vAxisID=r(h,c,o,d);t.xScale=this.getScaleForId(o),t.yScale=this.getScaleForId(c),t.rScale=this.getScaleForId(d),t.iScale=this.getScaleForId(m),t.vScale=this.getScaleForId(g)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&sz(this._data,this),e._stacked&&z0(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),s=this._data;if(qn(t))this._data=function qde(n){const e=Object.keys(n),t=new Array(e.length);let s,r,o;for(s=0,r=e.length;s{const s="_onData"+KB(t),r=n[t];Object.defineProperty(n,t,{configurable:!0,enumerable:!1,value(...o){const c=r.apply(this,o);return n._chartjs.listeners.forEach(d=>{"function"==typeof d[s]&&d[s](...o)}),c}})}))}(t,this),this._syncList=[],this._data=t}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,s=this.getDataset();let r=!1;this._dataCheck();const o=t._stacked;t._stacked=Iz(t.vScale,t),t.stack!==s.stack&&(r=!0,z0(t),t.stack=s.stack),this._resyncElements(e),(r||o!==t._stacked)&&Lz(this,t._parsed)}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),s=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(s,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:s,_data:r}=this,{iScale:o,_stacked:c}=s,d=o.axis;let g,S,T,h=0===e&&t===r.length||s._sorted,m=e>0&&s._parsed[e-1];if(!1===this._parsing)s._parsed=r,s._sorted=!0,T=r;else{T=Ks(r[e])?this.parseArrayData(s,r,e,t):qn(r[e])?this.parseObjectData(s,r,e,t):this.parsePrimitiveData(s,r,e,t);const I=()=>null===S[d]||m&&S[d]n&&!e.hidden&&e._stacked&&{keys:kz(t,!0),values:null})(t,s,this.chart),m={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:g,max:S}=function Kde(n){const{min:e,max:t,minDefined:s,maxDefined:r}=n.getUserBounds();return{min:s?e:Number.NEGATIVE_INFINITY,max:r?t:Number.POSITIVE_INFINITY}}(d);let T,I;function P(){I=r[T];const Y=I[d.axis];return!zi(I[e.axis])||g>Y||S=0;--T)if(!P()){this.updateRangeFromParsed(m,e,I,h);break}return m}getAllParsedValues(e){const t=this._cachedMeta._parsed,s=[];let r,o,c;for(r=0,o=t.length;r=0&&ethis.getContext(s,r),S);return Y.$shared&&(Y.$shared=h,o[c]=Object.freeze(Pz(Y,h))),Y}_resolveAnimations(e,t,s){const r=this.chart,o=this._cachedDataOpts,c=`animation-${t}`,d=o[c];if(d)return d;let h;if(!1!==r.options.animation){const g=this.chart.config,S=g.datasetAnimationScopeKeys(this._type,t),T=g.getOptionScopes(this.getDataset(),S);h=g.createResolver(T,this.getContext(e,s,t))}const m=new Ez(r,h&&h.animations);return h&&h._cacheable&&(o[c]=Object.freeze(m)),m}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||fj(e)||this.chart._animationsDisabled}updateElement(e,t,s,r){fj(r)?Object.assign(e,s):this._resolveAnimations(t,r).update(e,s)}updateSharedOptions(e,t,s){e&&!fj(t)&&this._resolveAnimations(void 0,t).update(e,s)}_setStyle(e,t,s,r){e.active=r;const o=this.getStyle(t,r);this._resolveAnimations(t,s,r).update(e,{options:!r&&this.getSharedOptions(o)||o})}removeHoverStyle(e,t,s){this._setStyle(e,s,"active",!1)}setHoverStyle(e,t,s){this._setStyle(e,s,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this._data,s=this._cachedMeta.data;for(const[d,h,m]of this._syncList)this[d](h,m);this._syncList=[];const r=s.length,o=t.length,c=Math.min(o,r);c&&this.parse(0,c),o>r?this._insertElements(r,o-r,e):o{for(m.length+=t,d=m.length-1;d>=c;d--)m[d]=m[d-t]};for(h(o),d=e;dr-o))}return n._cache.$bar}(e,n.type);let r,o,c,d,s=e._length;const h=()=>{32767===c||-32768===c||(Cl(d)&&(s=Math.min(s,Math.abs(c-d)||s)),d=c)};for(r=0,o=t.length;rMath.abs(d)&&(h=d,m=c),e[t.axis]=m,e._custom={barStart:h,barEnd:m,start:r,end:o,min:c,max:d}}(n,e,t,s):e[t.axis]=t.parse(n,s),e}function Oz(n,e,t,s){const r=n.iScale,o=n.vScale,c=r.getLabels(),d=r===o,h=[];let m,g,S,T;for(m=t,g=t+s;mn.x,t="left",s="right"):(e=n.base=t?1:-1)}(P,t,c)*o,g===c&&(z-=P/2),I=z+P),z===t.getPixelForValue(c)){const Q=Pu(P)*t.getLineWidthForValue(c)/2;z+=Q,P-=Q}return{size:P,base:z,head:I,center:I+P/2}}_calculateBarIndexPixels(e,t){const s=t.scale,r=this.options,o=r.skipNull,c=Dn(r.maxBarThickness,1/0);let d,h;if(t.grouped){const m=o?this._getStackCount(e):t.stackCount,g="flex"===r.barThickness?function she(n,e,t,s){const r=e.pixels,o=r[n];let c=n>0?r[n-1]:null,d=n=0;--s)t=Math.max(t,e[s].size(this.resolveDataElementOptions(s))/2);return t>0&&t}getLabelAndValue(e){const t=this._cachedMeta,{xScale:s,yScale:r}=t,o=this.getParsed(e),c=s.getLabelForValue(o.x),d=r.getLabelForValue(o.y),h=o._custom;return{label:t.label,value:"("+c+", "+d+(h?", "+h:"")+")"}}update(e){const t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,s,r){const o="reset"===r,{iScale:c,vScale:d}=this._cachedMeta,h=this.resolveDataElementOptions(t,r),m=this.getSharedOptions(h),g=this.includeOptions(r,m),S=c.axis,T=d.axis;for(let I=t;I""}}}};class S_ extends Ru{constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){const s=this.getDataset().data,r=this._cachedMeta;if(!1===this._parsing)r._parsed=s;else{let c,d,o=h=>+s[h];if(qn(s[e])){const{key:h="value"}=this._parsing;o=m=>+m_(s[m],h)}for(c=e,d=e+t;c"string"==typeof n&&n.endsWith("%")?parseFloat(n)/100:n/e)(this.options.cutout,d),1),m=this._getRingWeight(this.index),{circumference:g,rotation:S}=this._getRotationExtents(),{ratioX:T,ratioY:I,offsetX:P,offsetY:Y}=function uhe(n,e,t){let s=1,r=1,o=0,c=0;if(e<$s){const d=n,h=d+e,m=Math.cos(d),g=Math.sin(d),S=Math.cos(h),T=Math.sin(h),I=(oe,fe,ye)=>F0(oe,d,h,!0)?1:Math.max(fe,fe*t,ye,ye*t),P=(oe,fe,ye)=>F0(oe,d,h,!0)?-1:Math.min(fe,fe*t,ye,ye*t),Y=I(0,m,S),z=I(Ni,g,T),Q=P(gi,m,S),q=P(gi+Ni,g,T);s=(Y-Q)/2,r=(z-q)/2,o=-(Y+Q)/2,c=-(z+q)/2}return{ratioX:s,ratioY:r,offsetX:o,offsetY:c}}(S,g,h),z=(s.width-c)/T,Q=(s.height-c)/I,q=Math.max(Math.min(z,Q)/2,0),oe=P6(this.options.radius,q),ye=(oe-Math.max(oe*h,0))/this._getVisibleDatasetWeightTotal();this.offsetX=P*oe,this.offsetY=Y*oe,r.total=this.calculateTotal(),this.outerRadius=oe-ye*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-ye*m,0),this.updateElements(o,0,o.length,e)}_circumference(e,t){const s=this.options,r=this._cachedMeta,o=this._getCircumference();return t&&s.animation.animateRotate||!this.chart.getDataVisibility(e)||null===r._parsed[e]||r.data[e].hidden?0:this.calculateCircumference(r._parsed[e]*o/$s)}updateElements(e,t,s,r){const o="reset"===r,c=this.chart,d=c.chartArea,m=c.options.animation,g=(d.left+d.right)/2,S=(d.top+d.bottom)/2,T=o&&m.animateScale,I=T?0:this.innerRadius,P=T?0:this.outerRadius,Y=this.resolveDataElementOptions(t,r),z=this.getSharedOptions(Y),Q=this.includeOptions(r,z);let oe,q=this._getRotation();for(oe=0;oe0&&!isNaN(e)?$s*(Math.abs(e)/t):0}getLabelAndValue(e){const t=this._cachedMeta,s=this.chart,r=s.data.labels||[],o=$0(t._parsed[e],s.options.locale);return{label:r[e]||"",value:o}}getMaxBorderWidth(e){let t=0;const s=this.chart;let r,o,c,d,h;if(!e)for(r=0,o=s.data.datasets.length;r"spacing"!==n,_indexable:n=>"spacing"!==n},S_.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(n){const e=n.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:t}}=n.legend.options;return e.labels.map((s,r)=>{const c=n.getDatasetMeta(0).controller.getStyle(r);return{text:s,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,lineWidth:c.borderWidth,pointStyle:t,hidden:!n.getDataVisibility(r),index:r}})}return[]}},onClick(n,e,t){t.chart.toggleDataVisibility(e.index),t.chart.update()}},tooltip:{callbacks:{title:()=>"",label(n){let e=n.label;const t=": "+n.formattedValue;return Ks(e)?(e=e.slice(),e[0]+=t):e+=t,e}}}}};class nw extends Ru{initialize(){this.enableOptionSharing=!0,super.initialize()}update(e){const t=this._cachedMeta,{dataset:s,data:r=[],_dataset:o}=t,c=this.chart._animationsDisabled;let{start:d,count:h}=function dhe(n,e,t){const s=e.length;let r=0,o=s;if(n._sorted){const{iScale:c,_parsed:d}=n,h=c.axis,{min:m,max:g,minDefined:S,maxDefined:T}=c.getUserBounds();S&&(r=Pr(Math.min(fh(d,c.axis,m).lo,t?s:fh(e,h,c.getPixelForValue(m)).lo),0,s-1)),o=T?Pr(Math.max(fh(d,c.axis,g).hi+1,t?0:fh(e,h,c.getPixelForValue(g)).hi+1),r,s)-r:s-r}return{start:r,count:o}}(t,r,c);this._drawStart=d,this._drawCount=h,function hhe(n){const{xScale:e,yScale:t,_scaleRanges:s}=n,r={xmin:e.min,xmax:e.max,ymin:t.min,ymax:t.max};if(!s)return n._scaleRanges=r,!0;const o=s.xmin!==e.min||s.xmax!==e.max||s.ymin!==t.min||s.ymax!==t.max;return Object.assign(s,r),o}(t)&&(d=0,h=r.length),s._chart=this.chart,s._datasetIndex=this.index,s._decimated=!!o._decimated,s.points=r;const m=this.resolveDatasetElementOptions(e);this.options.showLine||(m.borderWidth=0),m.segment=this.options.segment,this.updateElement(s,void 0,{animated:!c,options:m},e),this.updateElements(r,d,h,e)}updateElements(e,t,s,r){const o="reset"===r,{iScale:c,vScale:d,_stacked:h,_dataset:m}=this._cachedMeta,g=this.resolveDataElementOptions(t,r),S=this.getSharedOptions(g),T=this.includeOptions(r,S),I=c.axis,P=d.axis,{spanGaps:Y,segment:z}=this.options,Q=O0(Y)?Y:Number.POSITIVE_INFINITY,q=this.chart._animationsDisabled||o||"none"===r;let oe=t>0&&this.getParsed(t-1);for(let fe=t;fe0&&Oe[I]-oe[I]>Q,z&&(Ne.parsed=Oe,Ne.raw=m.data[fe]),T&&(Ne.options=S||this.resolveDataElementOptions(fe,ye.active?"active":r)),q||this.updateElement(ye,fe,Ne,r),oe=Oe}this.updateSharedOptions(S,r,g)}getMaxOverflow(){const e=this._cachedMeta,t=e.dataset,s=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return s;const o=r[0].size(this.resolveDataElementOptions(0)),c=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(s,o,c)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}nw.id="line",nw.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},nw.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class G0 extends Ru{constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const t=this._cachedMeta,s=this.chart,r=s.data.labels||[],o=$0(t._parsed[e].r,s.options.locale);return{label:r[e]||"",value:o}}update(e){const t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}_updateRadius(){const e=this.chart,t=e.chartArea,s=e.options,r=Math.min(t.right-t.left,t.bottom-t.top),o=Math.max(r/2,0),d=(o-Math.max(s.cutoutPercentage?o/100*s.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=o-d*this.index,this.innerRadius=this.outerRadius-d}updateElements(e,t,s,r){const o="reset"===r,c=this.chart,d=this.getDataset(),m=c.options.animation,g=this._cachedMeta.rScale,S=g.xCenter,T=g.yCenter,I=g.getIndexAngle(0)-.5*gi;let Y,P=I;const z=360/this.countVisibleElements();for(Y=0;Y{!isNaN(e.data[o])&&this.chart.getDataVisibility(o)&&s++}),s}_computeAngle(e,t,s){return this.chart.getDataVisibility(e)?xc(this.resolveDataElementOptions(e,t).angle||s):0}}G0.id="polarArea",G0.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},G0.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(n){const e=n.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:t}}=n.legend.options;return e.labels.map((s,r)=>{const c=n.getDatasetMeta(0).controller.getStyle(r);return{text:s,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,lineWidth:c.borderWidth,pointStyle:t,hidden:!n.getDataVisibility(r),index:r}})}return[]}},onClick(n,e,t){t.chart.toggleDataVisibility(e.index),t.chart.update()}},tooltip:{callbacks:{title:()=>"",label:n=>n.chart.data.labels[n.dataIndex]+": "+n.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class GL extends S_{}GL.id="pie",GL.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class K0 extends Ru{getLabelAndValue(e){const t=this._cachedMeta.vScale,s=this.getParsed(e);return{label:t.getLabels()[e],value:""+t.getLabelForValue(s[t.axis])}}update(e){const t=this._cachedMeta,s=t.dataset,r=t.data||[],o=t.iScale.getLabels();if(s.points=r,"resize"!==e){const c=this.resolveDatasetElementOptions(e);this.options.showLine||(c.borderWidth=0);const d={_loop:!0,_fullLoop:o.length===r.length,options:c};this.updateElement(s,void 0,d,e)}this.updateElements(r,0,r.length,e)}updateElements(e,t,s,r){const o=this.getDataset(),c=this._cachedMeta.rScale,d="reset"===r;for(let h=t;h"",label:n=>"("+n.label+", "+n.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};function D_(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class gj{constructor(e){this.options=e||{}}formats(){return D_()}parse(e,t){return D_()}format(e,t){return D_()}add(e,t,s){return D_()}diff(e,t,s){return D_()}startOf(e,t,s){return D_()}endOf(e,t){return D_()}}gj.override=function(n){Object.assign(gj.prototype,n)};var fhe={_date:gj};function X0(n,e){return"native"in n?{x:n.x,y:n.y}:pz(n,e)}function ghe(n,e,t,s){const{controller:r,data:o,_sorted:c}=n,d=r._cachedMeta.iScale;if(d&&e===d.axis&&"r"!==e&&c&&o.length){const h=d._reversePixels?ede:fh;if(!s)return h(o,e,t);if(r._sharedOptions){const m=o[0],g="function"==typeof m.getRange&&m.getRange(e);if(g){const S=h(o,e,t-g),T=h(o,e,t+g);return{lo:S.lo,hi:T.hi}}}}return{lo:0,hi:o.length-1}}function _j(n,e,t,s,r){const o=n.getSortedVisibleDatasetMetas(),c=t[e];for(let d=0,h=o.length;d{m[d](r[c],s)&&o.push({element:m,datasetIndex:g,index:S}),m.inRange(r.x,r.y,s)&&(h=!0)}),t.intersect&&!h?[]:o}var bhe={modes:{index(n,e,t,s){const r=X0(e,n),o=t.axis||"x",c=t.intersect?yj(n,r,o,s):vj(n,r,o,!1,s),d=[];return c.length?(n.getSortedVisibleDatasetMetas().forEach(h=>{const m=c[0].index,g=h.data[m];g&&!g.skip&&d.push({element:g,datasetIndex:h.index,index:m})}),d):[]},dataset(n,e,t,s){const r=X0(e,n),o=t.axis||"xy";let c=t.intersect?yj(n,r,o,s):vj(n,r,o,!1,s);if(c.length>0){const d=c[0].datasetIndex,h=n.getDatasetMeta(d).data;c=[];for(let m=0;myj(n,X0(e,n),t.axis||"xy",s),nearest:(n,e,t,s)=>vj(n,X0(e,n),t.axis||"xy",t.intersect,s),x:(n,e,t,s)=>Yz(n,e,{axis:"x",intersect:t.intersect},s),y:(n,e,t,s)=>Yz(n,e,{axis:"y",intersect:t.intersect},s)}};const Bz=["left","top","right","bottom"];function Z0(n,e){return n.filter(t=>t.pos===e)}function jz(n,e){return n.filter(t=>-1===Bz.indexOf(t.pos)&&t.box.axis===e)}function J0(n,e){return n.sort((t,s)=>{const r=e?s:t,o=e?t:s;return r.weight===o.weight?r.index-o.index:r.weight-o.weight})}function Dhe(n,e){const t=function She(n){const e={};for(const t of n){const{stack:s,pos:r,stackWeight:o}=t;if(!s||!Bz.includes(r))continue;const c=e[s]||(e[s]={count:0,placed:0,weight:0,size:0});c.count++,c.weight+=o}return e}(n),{vBoxMaxWidth:s,hBoxMaxHeight:r}=e;let o,c,d;for(o=0,c=n.length;o{o[c]=Math.max(e[c],t[c])}),o}(n?["left","right"]:["top","bottom"])}function eE(n,e,t,s){const r=[];let o,c,d,h,m,g;for(o=0,c=n.length,m=0;om.box.fullSize),!0),s=J0(Z0(e,"left"),!0),r=J0(Z0(e,"right")),o=J0(Z0(e,"top"),!0),c=J0(Z0(e,"bottom")),d=jz(e,"x"),h=jz(e,"y");return{fullSize:t,leftAndTop:s.concat(o),rightAndBottom:r.concat(h).concat(c).concat(d),chartArea:Z0(e,"chartArea"),vertical:s.concat(r).concat(h),horizontal:o.concat(c).concat(d)}}(n.boxes),h=d.vertical,m=d.horizontal;Ts(n.boxes,Y=>{"function"==typeof Y.beforeLayout&&Y.beforeLayout()});const g=h.reduce((Y,z)=>z.box.options&&!1===z.box.options.display?Y:Y+1,0)||1,S=Object.freeze({outerWidth:e,outerHeight:t,padding:r,availableWidth:o,availableHeight:c,vBoxMaxWidth:o/2/g,hBoxMaxHeight:c/2}),T=Object.assign({},r);Hz(T,_o(s));const I=Object.assign({maxPadding:T,w:o,h:c,x:r.left,y:r.top},r),P=Dhe(h.concat(m),S);eE(d.fullSize,I,S,P),eE(h,I,S,P),eE(m,I,S,P)&&eE(h,I,S,P),function Ehe(n){const e=n.maxPadding;function t(s){const r=Math.max(e[s]-n[s],0);return n[s]+=r,r}n.y+=t("top"),n.x+=t("left"),t("right"),t("bottom")}(I),Uz(d.leftAndTop,I,S,P),I.x+=I.w,I.y+=I.h,Uz(d.rightAndBottom,I,S,P),n.chartArea={left:I.left,top:I.top,right:I.left+I.w,bottom:I.top+I.h,height:I.h,width:I.w},Ts(d.chartArea,Y=>{const z=Y.box;Object.assign(z,n.chartArea),z.update(I.w,I.h,{left:0,top:0,right:0,bottom:0})})}};class $z{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,s){}removeEventListener(e,t,s){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,s,r){return t=Math.max(0,t||e.width),s=s||e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):s)}}isAttached(e){return!0}updateConfig(e){}}class khe extends $z{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const QL="$chartjs",The={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},zz=n=>null===n||""===n;const Wz=!!Mde&&{passive:!0};function Lhe(n,e,t){n.canvas.removeEventListener(e,t,Wz)}function XL(n,e){for(const t of n)if(t===e||t.contains(e))return!0}function Rhe(n,e,t){const s=n.canvas,r=new MutationObserver(o=>{let c=!1;for(const d of o)c=c||XL(d.addedNodes,s),c=c&&!XL(d.removedNodes,s);c&&t()});return r.observe(document,{childList:!0,subtree:!0}),r}function Ohe(n,e,t){const s=n.canvas,r=new MutationObserver(o=>{let c=!1;for(const d of o)c=c||XL(d.removedNodes,s),c=c&&!XL(d.addedNodes,s);c&&t()});return r.observe(document,{childList:!0,subtree:!0}),r}const tE=new Map;let qz=0;function Gz(){const n=window.devicePixelRatio;n!==qz&&(qz=n,tE.forEach((e,t)=>{t.currentDevicePixelRatio!==n&&e()}))}function Yhe(n,e,t){const s=n.canvas,r=s&&dj(s);if(!r)return;const o=L6((d,h)=>{const m=r.clientWidth;t(d,h),m{const h=d[0],m=h.contentRect.width,g=h.contentRect.height;0===m&&0===g||o(m,g)});return c.observe(r),function Nhe(n,e){tE.size||window.addEventListener("resize",Gz),tE.set(n,e)}(n,o),c}function bj(n,e,t){t&&t.disconnect(),"resize"===e&&function Fhe(n){tE.delete(n),tE.size||window.removeEventListener("resize",Gz)}(n)}function Bhe(n,e,t){const s=n.canvas,r=L6(o=>{null!==n.ctx&&t(function Phe(n,e){const t=The[n.type]||n.type,{x:s,y:r}=pz(n,e);return{type:t,chart:e,native:n,x:void 0!==s?s:null,y:void 0!==r?r:null}}(o,n))},n,o=>{const c=o[0];return[c,c.offsetX,c.offsetY]});return function Ahe(n,e,t){n.addEventListener(e,t,Wz)}(s,e,r),r}class jhe extends $z{acquireContext(e,t){const s=e&&e.getContext&&e.getContext("2d");return s&&s.canvas===e?(function Ihe(n,e){const t=n.style,s=n.getAttribute("height"),r=n.getAttribute("width");if(n[QL]={initial:{height:s,width:r,style:{display:t.display,height:t.height,width:t.width}}},t.display=t.display||"block",t.boxSizing=t.boxSizing||"border-box",zz(r)){const o=mz(n,"width");void 0!==o&&(n.width=o)}if(zz(s))if(""===n.style.height)n.height=n.width/(e||2);else{const o=mz(n,"height");void 0!==o&&(n.height=o)}return n}(e,t),s):null}releaseContext(e){const t=e.canvas;if(!t[QL])return!1;const s=t[QL].initial;["height","width"].forEach(o=>{const c=s[o];us(c)?t.removeAttribute(o):t.setAttribute(o,c)});const r=s.style||{};return Object.keys(r).forEach(o=>{t.style[o]=r[o]}),t.width=t.width,delete t[QL],!0}addEventListener(e,t,s){this.removeEventListener(e,t);const r=e.$proxies||(e.$proxies={}),c={attach:Rhe,detach:Ohe,resize:Yhe}[t]||Bhe;r[t]=c(e,t,s)}removeEventListener(e,t){const s=e.$proxies||(e.$proxies={}),r=s[t];r&&(({attach:bj,detach:bj,resize:bj}[t]||Lhe)(e,t,r),s[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,s,r){return Cde(e,t,s,r)}isAttached(e){const t=dj(e);return!(!t||!t.isConnected)}}class kc{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(e){const{x:t,y:s}=this.getProps(["x","y"],e);return{x:t,y:s}}hasValue(){return O0(this.x)&&O0(this.y)}getProps(e,t){const s=this.$animations;if(!t||!s)return this;const r={};return e.forEach(o=>{r[o]=s[o]&&s[o].active()?s[o]._to:this[o]}),r}}kc.defaults={},kc.defaultRoutes=void 0;const Kz={values:n=>Ks(n)?n:""+n,numeric(n,e,t){if(0===n)return"0";const s=this.chart.options.locale;let r,o=n;if(t.length>1){const m=Math.max(Math.abs(t[0].value),Math.abs(t[t.length-1].value));(m<1e-4||m>1e15)&&(r="scientific"),o=function Hhe(n,e){let t=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(t)>=1&&n!==Math.floor(n)&&(t=n-Math.floor(n)),t}(n,t)}const c=Ml(Math.abs(o)),d=Math.max(Math.min(-1*Math.floor(c),20),0),h={notation:r,minimumFractionDigits:d,maximumFractionDigits:d};return Object.assign(h,this.options.ticks.format),$0(n,s,h)},logarithmic(n,e,t){if(0===n)return"0";const s=n/Math.pow(10,Math.floor(Ml(n)));return 1===s||2===s||5===s?Kz.numeric.call(this,n,e,t):""}};var ZL={formatters:Kz};function Uhe(n,e){const t=n.options.ticks,s=t.maxTicksLimit||function $he(n){const e=n.options.offset,t=n._tickSize(),s=n._length/t+(e?0:1),r=n._maxLength/t;return Math.floor(Math.min(s,r))}(n),r=t.major.enabled?function Whe(n){const e=[];let t,s;for(t=0,s=n.length;ts)return function qhe(n,e,t,s){let c,r=0,o=t[0];for(s=Math.ceil(s),c=0;cr-o).pop(),e}(s);for(let c=0,d=o.length-1;cr)return h}return Math.max(r,1)}(r,e,s);if(o>0){let g,S;const T=o>1?Math.round((d-c)/(o-1)):null;for(JL(e,h,m,us(T)?0:c-T,c),g=0,S=o-1;ge.lineWidth,tickColor:(n,e)=>e.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:ZL.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),Hn.route("scale.ticks","color","","color"),Hn.route("scale.grid","color","","borderColor"),Hn.route("scale.grid","borderColor","","borderColor"),Hn.route("scale.title","color","","color"),Hn.describe("scale",{_fallback:!1,_scriptable:n=>!n.startsWith("before")&&!n.startsWith("after")&&"callback"!==n&&"parser"!==n,_indexable:n=>"borderDash"!==n&&"tickBorderDash"!==n}),Hn.describe("scales",{_fallback:"scale"}),Hn.describe("scale.ticks",{_scriptable:n=>"backdropPadding"!==n&&"callback"!==n,_indexable:n=>"backdropPadding"!==n});const Qz=(n,e,t)=>"top"===e||"left"===e?n[e]+t:n[e]-t;function Xz(n,e){const t=[],s=n.length/e,r=n.length;let o=0;for(;oc+d)))return h}function nE(n){return n.drawTicks?n.tickLength:0}function Zz(n,e){if(!n.display)return 0;const t=gr(n.font,e),s=_o(n.padding);return(Ks(n.text)?n.text.length:1)*t.lineHeight+s.height}function epe(n,e,t){let s=GB(n);return(t&&"right"!==e||!t&&"right"===e)&&(s=(n=>"left"===n?"right":"right"===n?"left":n)(s)),s}class C_ extends kc{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:s,_suggestedMax:r}=this;return e=Dl(e,Number.POSITIVE_INFINITY),t=Dl(t,Number.NEGATIVE_INFINITY),s=Dl(s,Number.POSITIVE_INFINITY),r=Dl(r,Number.NEGATIVE_INFINITY),{min:Dl(e,s),max:Dl(t,r),minDefined:zi(e),maxDefined:zi(t)}}getMinMax(e){let c,{min:t,max:s,minDefined:r,maxDefined:o}=this.getUserBounds();if(r&&o)return{min:t,max:s};const d=this.getMatchingVisibleMetas();for(let h=0,m=d.length;hs?s:t,s=r&&t>s?t:s,{min:Dl(t,Dl(s,t)),max:Dl(s,Dl(t,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Qs(this.options.beforeUpdate,[this])}update(e,t,s){const{beginAtZero:r,grace:o,ticks:c}=this.options,d=c.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function Jue(n,e,t){const{min:s,max:r}=n,o=P6(e,(r-s)/2),c=(d,h)=>t&&0===d?0:d+h;return{min:c(s,-Math.abs(o)),max:c(r,o)}}(this,o,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const h=d=o||s<=1||!this.isHorizontal())return void(this.labelRotation=r);const g=this._getLabelSizes(),S=g.widest.width,T=g.highest.height,I=Pr(this.chart.width-S,0,this.maxWidth);d=e.offset?this.maxWidth/s:I/(s-1),S+6>d&&(d=I/(s-(e.offset?.5:1)),h=this.maxHeight-nE(e.grid)-t.padding-Zz(e.title,this.chart.options.font),m=Math.sqrt(S*S+T*T),c=QB(Math.min(Math.asin(Pr((g.highest.height+6)/d,-1,1)),Math.asin(Pr(h/m,-1,1))-Math.asin(Pr(T/m,-1,1)))),c=Math.max(r,Math.min(o,c))),this.labelRotation=c}afterCalculateLabelRotation(){Qs(this.options.afterCalculateLabelRotation,[this])}beforeFit(){Qs(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:s,title:r,grid:o}}=this,c=this._isVisible(),d=this.isHorizontal();if(c){const h=Zz(r,t.options.font);if(d?(e.width=this.maxWidth,e.height=nE(o)+h):(e.height=this.maxHeight,e.width=nE(o)+h),s.display&&this.ticks.length){const{first:m,last:g,widest:S,highest:T}=this._getLabelSizes(),I=2*s.padding,P=xc(this.labelRotation),Y=Math.cos(P),z=Math.sin(P);if(d){const Q=s.mirror?0:z*S.width+Y*T.height;e.height=Math.min(this.maxHeight,e.height+Q+I)}else{const Q=s.mirror?0:Y*S.width+z*T.height;e.width=Math.min(this.maxWidth,e.width+Q+I)}this._calculatePadding(m,g,z,Y)}}this._handleMargins(),d?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,s,r){const{ticks:{align:o,padding:c},position:d}=this.options,h=0!==this.labelRotation,m="top"!==d&&"x"===this.axis;if(this.isHorizontal()){const g=this.getPixelForTick(0)-this.left,S=this.right-this.getPixelForTick(this.ticks.length-1);let T=0,I=0;h?m?(T=r*e.width,I=s*t.height):(T=s*e.height,I=r*t.width):"start"===o?I=t.width:"end"===o?T=e.width:(T=e.width/2,I=t.width/2),this.paddingLeft=Math.max((T-g+c)*this.width/(this.width-g),0),this.paddingRight=Math.max((I-S+c)*this.width/(this.width-S),0)}else{let g=t.height/2,S=e.height/2;"start"===o?(g=0,S=e.height):"end"===o&&(g=t.height,S=0),this.paddingTop=g+c,this.paddingBottom=S+c}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Qs(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){let t,s;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,s=e.length;t{const s=t.gc,r=s.length/2;let o;if(r>e){for(o=0;o({width:o[Ne]||0,height:c[Ne]||0});return{first:Oe(0),last:Oe(t-1),widest:Oe(fe),highest:Oe(ye),widths:o,heights:c}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const t=this._startPixel+e*this._length;return function Sue(n){return Pr(n,-32768,32767)}(this._alignToPixels?__(this.chart,t,0):t)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this.ticks||[];if(e>=0&&ed*r?d/s:h/r:h*r0}_computeGridLineItems(e){const t=this.axis,s=this.chart,r=this.options,{grid:o,position:c}=r,d=o.offset,h=this.isHorizontal(),g=this.ticks.length+(d?1:0),S=nE(o),T=[],I=o.setContext(this.getContext()),P=I.drawBorder?I.borderWidth:0,Y=P/2,z=function(En){return __(s,En,P)};let Q,q,oe,fe,ye,Oe,Ne,tt,dt,Un,Gn,bn;if("top"===c)Q=z(this.bottom),Oe=this.bottom-S,tt=Q-Y,Un=z(e.top)+Y,bn=e.bottom;else if("bottom"===c)Q=z(this.top),Un=e.top,bn=z(e.bottom)-Y,Oe=Q+Y,tt=this.top+S;else if("left"===c)Q=z(this.right),ye=this.right-S,Ne=Q-Y,dt=z(e.left)+Y,Gn=e.right;else if("right"===c)Q=z(this.left),dt=e.left,Gn=z(e.right)-Y,ye=Q+Y,Ne=this.left+S;else if("x"===t){if("center"===c)Q=z((e.top+e.bottom)/2+.5);else if(qn(c)){const En=Object.keys(c)[0],$e=c[En];Q=z(this.chart.scales[En].getPixelForValue($e))}Un=e.top,bn=e.bottom,Oe=Q+Y,tt=Oe+S}else if("y"===t){if("center"===c)Q=z((e.left+e.right)/2);else if(qn(c)){const En=Object.keys(c)[0],$e=c[En];Q=z(this.chart.scales[En].getPixelForValue($e))}ye=Q-Y,Ne=ye-S,dt=e.left,Gn=e.right}const _i=Dn(r.ticks.maxTicksLimit,g),Rr=Math.max(1,Math.ceil(g/_i));for(q=0;qo.value===e);return r>=0?t.setContext(this.getContext(r)).lineWidth:0}drawGrid(e){const t=this.options.grid,s=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let o,c;const d=(h,m,g)=>{!g.width||!g.color||(s.save(),s.lineWidth=g.width,s.strokeStyle=g.color,s.setLineDash(g.borderDash||[]),s.lineDashOffset=g.borderDashOffset,s.beginPath(),s.moveTo(h.x,h.y),s.lineTo(m.x,m.y),s.stroke(),s.restore())};if(t.display)for(o=0,c=r.length;o{this.drawBackground(),this.drawGrid(r),this.drawTitle()}},{z:s+1,draw:()=>{this.drawBorder()}},{z:t,draw:r=>{this.drawLabels(r)}}]:[{z:t,draw:r=>{this.draw(r)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",r=[];let o,c;for(o=0,c=t.length;o{const s=t.split("."),r=s.pop(),o=[n].concat(s).join("."),c=e[t].split("."),d=c.pop(),h=c.join(".");Hn.route(o,r,h,d)})}(e,n.defaultRoutes),n.descriptors&&Hn.describe(e,n.descriptors)}(e,c,s),this.override&&Hn.override(e.id,e.overrides)),c}get(e){return this.items[e]}unregister(e){const t=this.items,s=e.id,r=this.scope;s in t&&delete t[s],r&&s in Hn[r]&&(delete Hn[r][s],this.override&&delete g_[s])}}var gh=new class rpe{constructor(){this.controllers=new eP(Ru,"datasets",!0),this.elements=new eP(kc,"elements"),this.plugins=new eP(Object,"plugins"),this.scales=new eP(C_,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,s){[...t].forEach(r=>{const o=s||this._getRegistryForType(r);s||o.isForType(r)||o===this.plugins&&r.id?this._exec(e,o,r):Ts(r,c=>{const d=s||this._getRegistryForType(c);this._exec(e,d,c)})})}_exec(e,t,s){const r=KB(e);Qs(s["before"+r],[],s),t[e](s),Qs(s["after"+r],[],s)}_getRegistryForType(e){for(let t=0;to.filter(d=>!c.some(h=>d.plugin.id===h.plugin.id));this._notify(r(t,s),e,"stop"),this._notify(r(s,t),e,"start")}}function lpe(n,e){return e||!1!==n?!0===n?{}:n:null}function upe(n,e,t,s){const r=n.pluginScopeKeys(e),o=n.getOptionScopes(t,r);return n.createResolver(o,s,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function wj(n,e){const t=Hn.datasets[n]||{};return((e.datasets||{})[n]||{}).indexAxis||e.indexAxis||t.indexAxis||"x"}function Sj(n,e){return"x"===n||"y"===n?n:e.axis||function ppe(n){return"top"===n||"bottom"===n?"x":"left"===n||"right"===n?"y":void 0}(e.position)||n.charAt(0).toLowerCase()}function Jz(n){const e=n.options||(n.options={});e.plugins=Dn(e.plugins,{}),e.scales=function fpe(n,e){const t=g_[n.type]||{scales:{}},s=e.scales||{},r=wj(n.type,e),o=Object.create(null),c=Object.create(null);return Object.keys(s).forEach(d=>{const h=s[d];if(!qn(h))return console.error(`Invalid scale configuration for scale: ${d}`);if(h._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${d}`);const m=Sj(d,h),g=function hpe(n,e){return n===e?"_index_":"_value_"}(m,r),S=t.scales||{};o[m]=o[m]||d,c[d]=P0(Object.create(null),[{axis:m},h,S[m],S[g]])}),n.data.datasets.forEach(d=>{const h=d.type||n.type,m=d.indexAxis||wj(h,e),S=(g_[h]||{}).scales||{};Object.keys(S).forEach(T=>{const I=function dpe(n,e){let t=n;return"_index_"===n?t=e:"_value_"===n&&(t="x"===e?"y":"x"),t}(T,m),P=d[I+"AxisID"]||o[I]||I;c[P]=c[P]||Object.create(null),P0(c[P],[{axis:I},s[P],S[T]])})}),Object.keys(c).forEach(d=>{const h=c[d];P0(h,[Hn.scales[h.type],Hn.scale])}),c}(n,e)}function eW(n){return(n=n||{}).datasets=n.datasets||[],n.labels=n.labels||[],n}const tW=new Map,nW=new Set;function tP(n,e){let t=tW.get(n);return t||(t=e(),tW.set(n,t),nW.add(t)),t}const sE=(n,e,t)=>{const s=m_(e,t);void 0!==s&&n.add(s)};class gpe{constructor(e){this._config=function mpe(n){return(n=n||{}).data=eW(n.data),Jz(n),n}(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=eW(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Jz(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return tP(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,t){return tP(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,t){return tP(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]])}pluginScopeKeys(e){const t=e.id;return tP(`${this.type}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){const s=this._scopeCache;let r=s.get(e);return(!r||t)&&(r=new Map,s.set(e,r)),r}getOptionScopes(e,t,s){const{options:r,type:o}=this,c=this._cachedScopes(e,s),d=c.get(t);if(d)return d;const h=new Set;t.forEach(g=>{e&&(h.add(e),g.forEach(S=>sE(h,e,S))),g.forEach(S=>sE(h,r,S)),g.forEach(S=>sE(h,g_[o]||{},S)),g.forEach(S=>sE(h,Hn,S)),g.forEach(S=>sE(h,ij,S))});const m=Array.from(h);return 0===m.length&&m.push(Object.create(null)),nW.has(t)&&c.set(t,m),m}chartOptionScopes(){const{options:e,type:t}=this;return[e,g_[t]||{},Hn.datasets[t]||{},{type:t},Hn,ij]}resolveNamedOptions(e,t,s,r=[""]){const o={$shared:!0},{resolver:c,subPrefixes:d}=sW(this._resolverCache,e,r);let h=c;if(function ype(n,e){const{isScriptable:t,isIndexable:s}=rz(n);for(const r of e){const o=t(r),c=s(r),d=(c||o)&&n[r];if(o&&(xf(d)||_pe(d))||c&&Ks(d))return!0}return!1}(c,t)){o.$shared=!1;h=Jb(c,s=xf(s)?s():s,this.createResolver(e,s,d))}for(const m of t)o[m]=h[m];return o}createResolver(e,t,s=[""],r){const{resolver:o}=sW(this._resolverCache,e,s);return qn(t)?Jb(o,t,void 0,r):o}}function sW(n,e,t){let s=n.get(e);s||(s=new Map,n.set(e,s));const r=t.join();let o=s.get(r);return o||(o={resolver:lj(e,t),subPrefixes:t.filter(d=>!d.toLowerCase().includes("hover"))},s.set(r,o)),o}const _pe=n=>qn(n)&&Object.getOwnPropertyNames(n).reduce((e,t)=>e||xf(n[t]),!1);const bpe=["top","bottom","left","right","chartArea"];function iW(n,e){return"top"===n||"bottom"===n||-1===bpe.indexOf(n)&&"x"===e}function rW(n,e){return function(t,s){return t[n]===s[n]?t[e]-s[e]:t[n]-s[n]}}function oW(n){const e=n.chart,t=e.options.animation;e.notifyPlugins("afterRender"),Qs(t&&t.onComplete,[n],e)}function wpe(n){const e=n.chart,t=e.options.animation;Qs(t&&t.onProgress,[n],e)}function aW(n){return hz()&&"string"==typeof n?n=document.getElementById(n):n&&n.length&&(n=n[0]),n&&n.canvas&&(n=n.canvas),n}const nP={},lW=n=>{const e=aW(n);return Object.values(nP).filter(t=>t.canvas===e).pop()};function Spe(n,e,t){const s=Object.keys(n);for(const r of s){const o=+r;if(o>=e){const c=n[r];delete n[r],(t>0||o>e)&&(n[o+t]=c)}}}class iE{constructor(e,t){const s=this.config=new gpe(t),r=aW(e),o=lW(r);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas can be reused.");const c=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||function Vhe(n){return!hz()||typeof OffscreenCanvas<"u"&&n instanceof OffscreenCanvas?khe:jhe}(r)),this.platform.updateConfig(s);const d=this.platform.acquireContext(r,c.aspectRatio),h=d&&d.canvas,m=h&&h.height,g=h&&h.width;this.id=uue(),this.ctx=d,this.canvas=h,this.width=g,this.height=m,this._options=c,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new ope,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function lue(n,e){let t;return function(...s){return e?(clearTimeout(t),t=setTimeout(n,e,s)):n.apply(this,s),e}}(S=>this.update(S),c.resizeDelay||0),this._dataChanges=[],nP[this.id]=this,d&&h?(mh.listen(this,"complete",oW),mh.listen(this,"progress",wpe),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:s,height:r,_aspectRatio:o}=this;return us(e)?t&&o?o:r?s/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():fz(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return ez(this.canvas,this.ctx),this}stop(){return mh.stop(this),this}resize(e,t){mh.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const s=this.options,r=this.canvas,o=s.maintainAspectRatio&&this.aspectRatio,c=this.platform.getMaximumSize(r,e,t,o),d=s.devicePixelRatio||this.platform.getDevicePixelRatio(),h=this.width?"resize":"attach";this.width=c.width,this.height=c.height,this._aspectRatio=this.aspectRatio,fz(this,d,!0)&&(this.notifyPlugins("resize",{size:c}),Qs(s.onResize,[this,c],this),this.attached&&this._doResize(h)&&this.render())}ensureScalesHaveIDs(){Ts(this.options.scales||{},(s,r)=>{s.id=r})}buildOrUpdateScales(){const e=this.options,t=e.scales,s=this.scales,r=Object.keys(s).reduce((c,d)=>(c[d]=!1,c),{});let o=[];t&&(o=o.concat(Object.keys(t).map(c=>{const d=t[c],h=Sj(c,d),m="r"===h,g="x"===h;return{options:d,dposition:m?"chartArea":g?"bottom":"left",dtype:m?"radialLinear":g?"category":"linear"}}))),Ts(o,c=>{const d=c.options,h=d.id,m=Sj(h,d),g=Dn(d.type,c.dtype);(void 0===d.position||iW(d.position,m)!==iW(c.dposition))&&(d.position=c.dposition),r[h]=!0;let S=null;if(h in s&&s[h].type===g)S=s[h];else{S=new(gh.getScale(g))({id:h,type:g,ctx:this.ctx,chart:this}),s[S.id]=S}S.init(d,e)}),Ts(r,(c,d)=>{c||delete s[d]}),Ts(s,c=>{yo.configure(this,c,c.options),yo.addBox(this,c)})}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,s=e.length;if(e.sort((r,o)=>r.index-o.index),s>t){for(let r=t;rt.length&&delete this._stacks,e.forEach((s,r)=>{0===t.filter(o=>o===s._dataset).length&&this._destroyDatasetMeta(r)})}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let s,r;for(this._removeUnreferencedMetasets(),s=0,r=t.length;s{this.getDatasetMeta(t).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const s=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!s.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let c=0;for(let m=0,g=this.data.datasets.length;m{m.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(rW("z","_idx"));const{_active:d,_lastEvent:h}=this;h?this._eventHandler(h,!0):d.length&&this._updateHoverStyles(d,d,!0),this.render()}_updateScales(){Ts(this.scales,e=>{yo.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),s=new Set(e.events);(!N6(t,s)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:s,start:r,count:o}of t){Spe(e,r,"_removeElements"===s?-o:o)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,s=o=>new Set(e.filter(c=>c[0]===o).map((c,d)=>d+","+c.splice(1).join(","))),r=s(0);for(let o=1;oo.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;yo.update(this,this.width,this.height,e);const t=this.chartArea,s=t.width<=0||t.height<=0;this._layers=[],Ts(this.boxes,r=>{s&&"chartArea"===r.position||(r.configure&&r.configure(),this._layers.push(...r._layers()))},this),this._layers.forEach((r,o)=>{r._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let t=0,s=this.data.datasets.length;t=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,s=e._clip,r=!s.disabled,o=this.chartArea,c={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",c)&&(r&&HL(t,{left:!1===s.left?0:o.left-s.left,right:!1===s.right?this.width:o.right+s.right,top:!1===s.top?0:o.top-s.top,bottom:!1===s.bottom?this.height:o.bottom+s.bottom}),e.controller.draw(),r&&UL(t),c.cancelable=!1,this.notifyPlugins("afterDatasetDraw",c))}getElementsAtEventForMode(e,t,s,r){const o=bhe.modes[t];return"function"==typeof o?o(this,e,s,r):[]}getDatasetMeta(e){const t=this.data.datasets[e],s=this._metasets;let r=s.filter(o=>o&&o._dataset===t).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},s.push(r)),r}getContext(){return this.$context||(this.$context=kf(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const s=this.getDatasetMeta(e);return"boolean"==typeof s.hidden?!s.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,s){const r=s?"show":"hide",o=this.getDatasetMeta(e),c=o.controller._resolveAnimations(void 0,r);Cl(t)?(o.data[t].hidden=!s,this.update()):(this.setDatasetVisibility(e,s),c.update(o,{visible:s}),this.update(d=>d.datasetIndex===e?r:void 0))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){const t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),mh.remove(this),e=0,t=this.data.datasets.length;e{t.addEventListener(this,o,c),e[o]=c},r=(o,c,d)=>{o.offsetX=c,o.offsetY=d,this._eventHandler(o)};Ts(this.options.events,o=>s(o,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,s=(h,m)=>{t.addEventListener(this,h,m),e[h]=m},r=(h,m)=>{e[h]&&(t.removeEventListener(this,h,m),delete e[h])},o=(h,m)=>{this.canvas&&this.resize(h,m)};let c;const d=()=>{r("attach",d),this.attached=!0,this.resize(),s("resize",o),s("detach",c)};c=()=>{this.attached=!1,r("resize",o),this._stop(),this._resize(0,0),s("attach",d)},t.isAttached(this.canvas)?d():c()}unbindEvents(){Ts(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},Ts(this._responsiveListeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,t,s){const r=s?"set":"remove";let o,c,d,h;for("dataset"===t&&(o=this.getDatasetMeta(e[0].datasetIndex),o.controller["_"+r+"DatasetHoverStyle"]()),d=0,h=e.length;d{const d=this.getDatasetMeta(o);if(!d)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:d.data[c],index:c}});!AL(s,t)&&(this._active=s,this._lastEvent=null,this._updateHoverStyles(s,t))}notifyPlugins(e,t,s){return this._plugins.notify(this,e,t,s)}_updateHoverStyles(e,t,s){const r=this.options.hover,o=(h,m)=>h.filter(g=>!m.some(S=>g.datasetIndex===S.datasetIndex&&g.index===S.index)),c=o(t,e),d=s?e:o(e,t);c.length&&this.updateHoverStyle(c,r.mode,!1),d.length&&r.mode&&this.updateHoverStyle(d,r.mode,!0)}_eventHandler(e,t){const s={event:e,replay:t,cancelable:!0,inChartArea:y_(e,this.chartArea,this._minPadding)},r=c=>(c.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",s,r))return;const o=this._handleEvent(e,t,s.inChartArea);return s.cancelable=!1,this.notifyPlugins("afterEvent",s,r),(o||s.changed)&&this.render(),this}_handleEvent(e,t,s){const{_active:r=[],options:o}=this,c=t,d=this._getActiveElements(e,r,s,c),h=function gue(n){return"mouseup"===n.type||"click"===n.type||"contextmenu"===n.type}(e),m=function Dpe(n,e,t,s){return t&&"mouseout"!==n.type?s?e:n:null}(e,this._lastEvent,s,h);s&&(this._lastEvent=null,Qs(o.onHover,[e,d,this],this),h&&Qs(o.onClick,[e,d,this],this));const g=!AL(d,r);return(g||t)&&(this._active=d,this._updateHoverStyles(d,r,t)),this._lastEvent=m,g}_getActiveElements(e,t,s,r){if("mouseout"===e.type)return[];if(!s)return t;const o=this.options.hover;return this.getElementsAtEventForMode(e,o.mode,o,r)}}const cW=()=>Ts(iE.instances,n=>n._plugins.invalidate()),Tf=!0;function uW(n,e,t){const{startAngle:s,pixelMargin:r,x:o,y:c,outerRadius:d,innerRadius:h}=e;let m=r/d;n.beginPath(),n.arc(o,c,d,s-m,t+m),h>r?(m=r/h,n.arc(o,c,h,t+m,s-m,!0)):n.arc(o,c,r,t+Ni,s-Ni),n.closePath(),n.clip()}function Mpe(n,e,t,s){const r=function Cpe(n){return oj(n,["outerStart","outerEnd","innerStart","innerEnd"])}(n.options.borderRadius),o=(t-e)/2,c=Math.min(o,s*e/2),d=h=>{const m=(t-Math.min(o,h))*s/2;return Pr(h,0,Math.min(o,m))};return{outerStart:d(r.outerStart),outerEnd:d(r.outerEnd),innerStart:Pr(r.innerStart,0,c),innerEnd:Pr(r.innerEnd,0,c)}}function sw(n,e,t,s){return{x:t+n*Math.cos(e),y:s+n*Math.sin(e)}}function Dj(n,e,t,s,r){const{x:o,y:c,startAngle:d,pixelMargin:h,innerRadius:m}=e,g=Math.max(e.outerRadius+s+t-h,0),S=m>0?m+s+t+h:0;let T=0;const I=r-d;if(s){const xt=((m>0?m-s:0)+(g>0?g-s:0))/2;T=(I-(0!==xt?I*xt/(xt+s):I))/2}const Y=(I-Math.max(.001,I*g-t/gi)/g)/2,z=d+Y+T,Q=r-Y-T,{outerStart:q,outerEnd:oe,innerStart:fe,innerEnd:ye}=Mpe(e,S,g,Q-z),Oe=g-q,Ne=g-oe,tt=z+q/Oe,dt=Q-oe/Ne,Un=S+fe,Gn=S+ye,bn=z+fe/Un,_i=Q-ye/Gn;if(n.beginPath(),n.arc(o,c,g,tt,dt),oe>0){const $e=sw(Ne,dt,o,c);n.arc($e.x,$e.y,oe,dt,Q+Ni)}const Rr=sw(Gn,Q,o,c);if(n.lineTo(Rr.x,Rr.y),ye>0){const $e=sw(Gn,_i,o,c);n.arc($e.x,$e.y,ye,Q+Ni,_i+Math.PI)}if(n.arc(o,c,S,Q-ye/S,z+fe/S,!0),fe>0){const $e=sw(Un,bn,o,c);n.arc($e.x,$e.y,fe,bn+Math.PI,z-Ni)}const En=sw(Oe,z,o,c);if(n.lineTo(En.x,En.y),q>0){const $e=sw(Oe,tt,o,c);n.arc($e.x,$e.y,q,z-Ni,tt)}n.closePath()}function kpe(n,e,t,s,r){const{options:o}=e,{borderWidth:c,borderJoinStyle:d}=o,h="inner"===o.borderAlign;c&&(h?(n.lineWidth=2*c,n.lineJoin=d||"round"):(n.lineWidth=c,n.lineJoin=d||"bevel"),e.fullCircles&&function xpe(n,e,t){const{x:s,y:r,startAngle:o,pixelMargin:c,fullCircles:d}=e,h=Math.max(e.outerRadius-c,0),m=e.innerRadius+c;let g;for(t&&uW(n,e,o+$s),n.beginPath(),n.arc(s,r,m,o+$s,o,!0),g=0;g{gh.add(...n),cW()}},unregister:{enumerable:Tf,value:(...n)=>{gh.remove(...n),cW()}}});class rE extends kc{constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,s){const r=this.getProps(["x","y"],s),{angle:o,distance:c}=V6(r,{x:e,y:t}),{startAngle:d,endAngle:h,innerRadius:m,outerRadius:g,circumference:S}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],s),T=this.options.spacing/2,P=Dn(S,h-d)>=$s||F0(o,d,h),Y=ph(c,m+T,g+T);return P&&Y}getCenterPoint(e){const{x:t,y:s,startAngle:r,endAngle:o,innerRadius:c,outerRadius:d}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],e),{offset:h,spacing:m}=this.options,g=(r+o)/2,S=(c+d+m+h)/2;return{x:t+Math.cos(g)*S,y:s+Math.sin(g)*S}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:t,circumference:s}=this,r=(t.offset||0)/2,o=(t.spacing||0)/2;if(this.pixelMargin="inner"===t.borderAlign?.33:0,this.fullCircles=s>$s?Math.floor(s/$s):0,0===s||this.innerRadius<0||this.outerRadius<0)return;e.save();let c=0;if(r){c=r/2;const h=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(h)*c,Math.sin(h)*c),this.circumference>=gi&&(c=r)}e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor;const d=function Epe(n,e,t,s){const{fullCircles:r,startAngle:o,circumference:c}=e;let d=e.endAngle;if(r){Dj(n,e,t,s,o+$s);for(let h=0;hd&&o>d;return{count:s,start:h,loop:e.loop,ilen:m(c+(m?d-fe:fe))%o,oe=()=>{Y!==z&&(n.lineTo(g,z),n.lineTo(g,Y),n.lineTo(g,Q))};for(h&&(I=r[q(0)],n.moveTo(I.x,I.y)),T=0;T<=d;++T){if(I=r[q(T)],I.skip)continue;const fe=I.x,ye=I.y,Oe=0|fe;Oe===P?(yez&&(z=ye),g=(S*g+fe)/++S):(oe(),n.lineTo(fe,ye),P=Oe,S=0,Y=z=ye),Q=ye}oe()}function Cj(n){const e=n.options,t=e.borderDash&&e.borderDash.length;return n._decimated||n._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||t?Ape:Lpe}rE.id="arc",rE.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0},rE.defaultRoutes={backgroundColor:"backgroundColor"};const Npe="function"==typeof Path2D;function Fpe(n,e,t,s){Npe&&!e.options.segment?function Rpe(n,e,t,s){let r=e._path;r||(r=e._path=new Path2D,e.path(r,t,s)&&r.closePath()),dW(n,e.options),n.stroke(r)}(n,e,t,s):function Ope(n,e,t,s){const{segments:r,options:o}=e,c=Cj(e);for(const d of r)dW(n,o,d.style),n.beginPath(),c(n,e,d,{start:t,end:t+s-1})&&n.closePath(),n.stroke()}(n,e,t,s)}class _h extends kc{constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){const s=this.options;if((s.tension||"monotone"===s.cubicInterpolationMode)&&!s.stepped&&!this._pointsUpdated){const r=s.spanGaps?this._loop:this._fullLoop;yde(this._points,s,e,r,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function Rde(n,e){const t=n.points,s=n.options.spanGaps,r=t.length;if(!r)return[];const o=!!n._loop,{start:c,end:d}=function Lde(n,e,t,s){let r=0,o=e-1;if(t&&!s)for(;rr&&n[o%e].skip;)o--;return o%=e,{start:r,end:o}}(t,r,o,s);return Dz(n,!0===s?[{start:c,end:d,loop:o}]:function Pde(n,e,t,s){const r=n.length,o=[];let h,c=e,d=n[e];for(h=e+1;h<=t;++h){const m=n[h%r];m.skip||m.stop?d.skip||(s=!1,o.push({start:e%r,end:(h-1)%r,loop:s}),e=c=m.stop?h:null):(c=h,d.skip&&(e=h)),d=m}return null!==c&&o.push({start:e%r,end:c%r,loop:s}),o}(t,c,d"borderDash"!==n&&"fill"!==n};class oE extends kc{constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,s){const r=this.options,{x:o,y:c}=this.getProps(["x","y"],s);return Math.pow(e-o,2)+Math.pow(t-c,2)=t)&&r):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}class _W{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,t,s){const{x:r,y:o,radius:c}=this;return t=t||{start:0,end:$s},e.arc(r,o,c,t.end,t.start,!0),!s.bounds}interpolate(e){const{x:t,y:s,radius:r}=this,o=e.angle;return{x:t+Math.cos(o)*r,y:s+Math.sin(o)*r,angle:o}}}function Jpe(n){return(n.scale||{}).getPointPositionForValue?function Zpe(n){const{scale:e,fill:t}=n,s=e.options,r=e.getLabels().length,o=[],c=s.reverse?e.max:e.min,d=s.reverse?e.min:e.max;let h,m,g;if(g="start"===t?c:"end"===t?d:qn(t)?t.value:e.getBaseValue(),s.grid.circular)return m=e.getPointPositionForValue(0,c),new _W({x:m.x,y:m.y,radius:e.getDistanceFromCenterForValue(g)});for(h=0;hn;e--){const s=t[e];if(!isNaN(s.x)&&!isNaN(s.y))break}return e}function sfe(n,e,t){const s=[];for(let r=0;r{d=yW(c,d,r);const h=r[c],m=r[d];null!==s?(o.push({x:h.x,y:s}),o.push({x:m.x,y:s})):null!==t&&(o.push({x:t,y:h.y}),o.push({x:t,y:m.y}))}),o}(n,e),t.length?new _h({points:t,options:{tension:0},_loop:s,_fullLoop:s}):null}function ofe(n,e,t){let r=n[e].fill;const o=[e];let c;if(!t)return r;for(;!1!==r&&-1===o.indexOf(r);){if(!zi(r))return r;if(c=n[r],!c)return!1;if(c.visible)return r;o.push(r),r=c.fill}return!1}function bW(n,e,t){n.beginPath(),e.path(n),n.lineTo(e.last().x,t),n.lineTo(e.first().x,t),n.closePath(),n.clip()}function xj(n,e,t,s){if(s)return;let r=e[n],o=t[n];return"angle"===n&&(r=Ya(r),o=Ya(o)),{property:n,start:r,end:o}}function wW(n,e,t,s){return n&&e?s(n[t],e[t]):n?n[t]:e?e[t]:0}function lfe(n,e,t){const{top:s,bottom:r}=e.chart.chartArea,{property:o,start:c,end:d}=t||{};"x"===o&&(n.beginPath(),n.rect(c,s,d-c,r-s),n.clip())}function SW(n,e,t,s){const r=e.interpolate(t,s);r&&n.lineTo(r.x,r.y)}function DW(n,e){const{line:t,target:s,property:r,color:o,scale:c}=e,d=function afe(n,e,t){const s=n.segments,r=n.points,o=e.points,c=[];for(const d of s){let{start:h,end:m}=d;m=yW(h,m,r);const g=xj(t,r[h],r[m],d.loop);if(!e.segments){c.push({source:d,target:g,start:r[h],end:r[m]});continue}const S=Sz(e,g);for(const T of S){const I=xj(t,o[T.start],o[T.end],T.loop),P=wz(d,r,I);for(const Y of P)c.push({source:Y,target:T,start:{[t]:wW(g,I,"start",Math.max)},end:{[t]:wW(g,I,"end",Math.min)}})}}return c}(t,s,r);for(const{source:h,target:m,start:g,end:S}of d){const{style:{backgroundColor:T=o}={}}=h,I=!0!==s;n.save(),n.fillStyle=T,lfe(n,c,I&&xj(r,g,S)),n.beginPath();const P=!!t.pathSegment(n,h);let Y;if(I){P?n.closePath():SW(n,s,S,r);const z=!!s.pathSegment(n,m,{move:P,reverse:!0});Y=P&&z,Y||SW(n,s,g,r)}n.closePath(),n.fill(Y?"evenodd":"nonzero"),n.restore()}}function kj(n,e,t){const s=rfe(e),{line:r,scale:o,axis:c}=e,d=r.options,h=d.fill,m=d.backgroundColor,{above:g=m,below:S=m}=h||{};s&&r.points.length&&(HL(n,t),function cfe(n,e){const{line:t,target:s,above:r,below:o,area:c,scale:d}=e,h=t._loop?"angle":e.axis;n.save(),"x"===h&&o!==r&&(bW(n,s,c.top),DW(n,{line:t,target:s,color:r,scale:d,property:h}),n.restore(),n.save(),bW(n,s,c.bottom)),DW(n,{line:t,target:s,color:o,scale:d,property:h}),n.restore()}(n,{line:r,target:s,above:g,below:S,area:t,scale:o,axis:c}),UL(n))}var CW={id:"filler",afterDatasetsUpdate(n,e,t){const s=(n.data.datasets||[]).length,r=[];let o,c,d,h;for(c=0;c=0;--c){const d=r[c].$filler;d&&(d.line.updateControlPoints(o,d.axis),s&&kj(n.ctx,d,o))}},beforeDatasetsDraw(n,e,t){if("beforeDatasetsDraw"!==t.drawTime)return;const s=n.getSortedVisibleDatasetMetas();for(let r=s.length-1;r>=0;--r){const o=s[r].$filler;o&&kj(n.ctx,o,n.chartArea)}},beforeDatasetDraw(n,e,t){const s=e.meta.$filler;!s||!1===s.fill||"beforeDatasetDraw"!==t.drawTime||kj(n.ctx,s,n.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const MW=(n,e)=>{let{boxHeight:t=e,boxWidth:s=e}=n;return n.usePointStyle&&(t=Math.min(t,e),s=Math.min(s,e)),{boxWidth:s,boxHeight:t,itemHeight:Math.max(e,t)}};class EW extends kc{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,s){this.maxWidth=e,this.maxHeight=t,this._margins=s,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let t=Qs(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter(s=>e.filter(s,this.chart.data))),e.sort&&(t=t.sort((s,r)=>e.sort(s,r,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){const{options:e,ctx:t}=this;if(!e.display)return void(this.width=this.height=0);const s=e.labels,r=gr(s.font),o=r.size,c=this._computeTitleHeight(),{boxWidth:d,itemHeight:h}=MW(s,o);let m,g;t.font=r.string,this.isHorizontal()?(m=this.maxWidth,g=this._fitRows(c,o,d,h)+10):(g=this.maxHeight,m=this._fitCols(c,o,d,h)+10),this.width=Math.min(m,e.maxWidth||this.maxWidth),this.height=Math.min(g,e.maxHeight||this.maxHeight)}_fitRows(e,t,s,r){const{ctx:o,maxWidth:c,options:{labels:{padding:d}}}=this,h=this.legendHitBoxes=[],m=this.lineWidths=[0],g=r+d;let S=e;o.textAlign="left",o.textBaseline="middle";let T=-1,I=-g;return this.legendItems.forEach((P,Y)=>{const z=s+t/2+o.measureText(P.text).width;(0===Y||m[m.length-1]+z+2*d>c)&&(S+=g,m[m.length-(Y>0?0:1)]=0,I+=g,T++),h[Y]={left:0,top:I,row:T,width:z,height:r},m[m.length-1]+=z+d}),S}_fitCols(e,t,s,r){const{ctx:o,maxHeight:c,options:{labels:{padding:d}}}=this,h=this.legendHitBoxes=[],m=this.columnSizes=[],g=c-e;let S=d,T=0,I=0,P=0,Y=0;return this.legendItems.forEach((z,Q)=>{const q=s+t/2+o.measureText(z.text).width;Q>0&&I+r+2*d>g&&(S+=T+d,m.push({width:T,height:I}),P+=T+d,Y++,T=I=0),h[Q]={left:P,top:I,col:Y,width:q,height:r},T=Math.max(T,q),I+=r+d}),S+=T,m.push({width:T,height:I}),S}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:s,labels:{padding:r},rtl:o}}=this,c=tw(o,this.left,this.width);if(this.isHorizontal()){let d=0,h=go(s,this.left+r,this.right-this.lineWidths[d]);for(const m of t)d!==m.row&&(d=m.row,h=go(s,this.left+r,this.right-this.lineWidths[d])),m.top+=this.top+e+r,m.left=c.leftForLtr(c.x(h),m.width),h+=m.width+r}else{let d=0,h=go(s,this.top+e+r,this.bottom-this.columnSizes[d].height);for(const m of t)m.col!==d&&(d=m.col,h=go(s,this.top+e+r,this.bottom-this.columnSizes[d].height)),m.top=h,m.left+=this.left+r,m.left=c.leftForLtr(c.x(m.left),m.width),h+=m.height+r}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const e=this.ctx;HL(e,this),this._draw(),UL(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:s,ctx:r}=this,{align:o,labels:c}=e,d=Hn.color,h=tw(e.rtl,this.left,this.width),m=gr(c.font),{color:g,padding:S}=c,T=m.size,I=T/2;let P;this.drawTitle(),r.textAlign=h.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=m.string;const{boxWidth:Y,boxHeight:z,itemHeight:Q}=MW(c,T),fe=this.isHorizontal(),ye=this._computeTitleHeight();P=fe?{x:go(o,this.left+S,this.right-s[0]),y:this.top+S+ye,line:0}:{x:this.left+S,y:go(o,this.top+ye+S,this.bottom-t[0].height),line:0},_z(this.ctx,e.textDirection);const Oe=Q+S;this.legendItems.forEach((Ne,tt)=>{r.strokeStyle=Ne.fontColor||g,r.fillStyle=Ne.fontColor||g;const dt=r.measureText(Ne.text).width,Un=h.textAlign(Ne.textAlign||(Ne.textAlign=c.textAlign)),Gn=Y+I+dt;let bn=P.x,_i=P.y;h.setWidth(this.width),fe?tt>0&&bn+Gn+S>this.right&&(_i=P.y+=Oe,P.line++,bn=P.x=go(o,this.left+S,this.right-s[P.line])):tt>0&&_i+Oe>this.bottom&&(bn=P.x=bn+t[P.line].width+S,P.line++,_i=P.y=go(o,this.top+ye+S,this.bottom-t[P.line].height));(function(Ne,tt,dt){if(isNaN(Y)||Y<=0||isNaN(z)||z<0)return;r.save();const Un=Dn(dt.lineWidth,1);if(r.fillStyle=Dn(dt.fillStyle,d),r.lineCap=Dn(dt.lineCap,"butt"),r.lineDashOffset=Dn(dt.lineDashOffset,0),r.lineJoin=Dn(dt.lineJoin,"miter"),r.lineWidth=Un,r.strokeStyle=Dn(dt.strokeStyle,d),r.setLineDash(Dn(dt.lineDash,[])),c.usePointStyle){const Gn={radius:Y*Math.SQRT2/2,pointStyle:dt.pointStyle,rotation:dt.rotation,borderWidth:Un},bn=h.xPlus(Ne,Y/2);VL(r,Gn,bn,tt+I)}else{const Gn=tt+Math.max((T-z)/2,0),bn=h.leftForLtr(Ne,Y),_i=Zb(dt.borderRadius);r.beginPath(),Object.values(_i).some(Rr=>0!==Rr)?$L(r,{x:bn,y:Gn,w:Y,h:z,radius:_i}):r.rect(bn,Gn,Y,z),r.fill(),0!==Un&&r.stroke()}r.restore()})(h.x(bn),_i,Ne),bn=((n,e,t,s)=>n===(s?"left":"right")?t:"center"===n?(e+t)/2:e)(Un,bn+Y+I,fe?bn+Gn:this.right,e.rtl),function(Ne,tt,dt){v_(r,dt.text,Ne,tt+Q/2,m,{strikethrough:dt.hidden,textAlign:h.textAlign(dt.textAlign)})}(h.x(bn),_i,Ne),fe?P.x+=Gn+S:P.y+=Oe}),yz(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,s=gr(t.font),r=_o(t.padding);if(!t.display)return;const o=tw(e.rtl,this.left,this.width),c=this.ctx,d=t.position,h=s.size/2,m=r.top+h;let g,S=this.left,T=this.width;if(this.isHorizontal())T=Math.max(...this.lineWidths),g=this.top+m,S=go(e.align,S,this.right-T);else{const P=this.columnSizes.reduce((Y,z)=>Math.max(Y,z.height),0);g=m+go(e.align,this.top,this.bottom-P-e.labels.padding-this._computeTitleHeight())}const I=go(d,S,S+T);c.textAlign=o.textAlign(GB(d)),c.textBaseline="middle",c.strokeStyle=t.color,c.fillStyle=t.color,c.font=s.string,v_(c,t.text,I,g,s)}_computeTitleHeight(){const e=this.options.title,t=gr(e.font),s=_o(e.padding);return e.display?t.lineHeight+s.height:0}_getLegendItemAt(e,t){let s,r,o;if(ph(e,this.left,this.right)&&ph(t,this.top,this.bottom))for(o=this.legendHitBoxes,s=0;snull!==n&&null!==e&&n.datasetIndex===e.datasetIndex&&n.index===e.index)(r,s);r&&!o&&Qs(t.onLeave,[e,r,this],this),this._hoveredItem=s,s&&!o&&Qs(t.onHover,[e,s,this],this)}else s&&Qs(t.onClick,[e,s,this],this)}}var xW={id:"legend",_element:EW,start(n,e,t){const s=n.legend=new EW({ctx:n.ctx,options:t,chart:n});yo.configure(n,s,t),yo.addBox(n,s)},stop(n){yo.removeBox(n,n.legend),delete n.legend},beforeUpdate(n,e,t){const s=n.legend;yo.configure(n,s,t),s.options=t},afterUpdate(n){const e=n.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(n,e){e.replay||n.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(n,e,t){const s=e.datasetIndex,r=t.chart;r.isDatasetVisible(s)?(r.hide(s),e.hidden=!0):(r.show(s),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:n=>n.chart.options.color,boxWidth:40,padding:10,generateLabels(n){const e=n.data.datasets,{labels:{usePointStyle:t,pointStyle:s,textAlign:r,color:o}}=n.legend.options;return n._getSortedDatasetMetas().map(c=>{const d=c.controller.getStyle(t?0:void 0),h=_o(d.borderWidth);return{text:e[c.index].label,fillStyle:d.backgroundColor,fontColor:o,hidden:!c.visible,lineCap:d.borderCapStyle,lineDash:d.borderDash,lineDashOffset:d.borderDashOffset,lineJoin:d.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:d.borderColor,pointStyle:s||d.pointStyle,rotation:d.rotation,textAlign:r||d.textAlign,borderRadius:0,datasetIndex:c.index}},this)}},title:{color:n=>n.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:n=>!n.startsWith("on"),labels:{_scriptable:n=>!["generateLabels","filter","sort"].includes(n)}}};class Tj extends kc{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){const s=this.options;if(this.left=0,this.top=0,!s.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=e,this.height=this.bottom=t;const r=Ks(s.text)?s.text.length:1;this._padding=_o(s.padding);const o=r*gr(s.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){const{top:t,left:s,bottom:r,right:o,options:c}=this,d=c.align;let m,g,S,h=0;return this.isHorizontal()?(g=go(d,s,o),S=t+e,m=o-s):("left"===c.position?(g=s+e,S=go(d,r,t),h=-.5*gi):(g=o-e,S=go(d,t,r),h=.5*gi),m=r-t),{titleX:g,titleY:S,maxWidth:m,rotation:h}}draw(){const e=this.ctx,t=this.options;if(!t.display)return;const s=gr(t.font),o=s.lineHeight/2+this._padding.top,{titleX:c,titleY:d,maxWidth:h,rotation:m}=this._drawArgs(o);v_(e,t.text,0,0,s,{color:t.color,maxWidth:h,rotation:m,textAlign:GB(t.align),textBaseline:"middle",translation:[c,d]})}}var kW={id:"title",_element:Tj,start(n,e,t){!function hfe(n,e){const t=new Tj({ctx:n.ctx,options:e,chart:n});yo.configure(n,t,e),yo.addBox(n,t),n.titleBlock=t}(n,t)},stop(n){const e=n.titleBlock;yo.removeBox(n,e),delete n.titleBlock},beforeUpdate(n,e,t){const s=n.titleBlock;yo.configure(n,s,t),s.options=t},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const lE={average(n){if(!n.length)return!1;let e,t,s=0,r=0,o=0;for(e=0,t=n.length;e-1?n.split("\n"):n}function ffe(n,e){const{element:t,datasetIndex:s,index:r}=e,o=n.getDatasetMeta(s).controller,{label:c,value:d}=o.getLabelAndValue(r);return{chart:n,label:c,parsed:o.getParsed(r),raw:n.data.datasets[s].data[r],formattedValue:d,dataset:o.getDataset(),dataIndex:r,datasetIndex:s,element:t}}function TW(n,e){const t=n.chart.ctx,{body:s,footer:r,title:o}=n,{boxWidth:c,boxHeight:d}=e,h=gr(e.bodyFont),m=gr(e.titleFont),g=gr(e.footerFont),S=o.length,T=r.length,I=s.length,P=_o(e.padding);let Y=P.height,z=0,Q=s.reduce((fe,ye)=>fe+ye.before.length+ye.lines.length+ye.after.length,0);if(Q+=n.beforeBody.length+n.afterBody.length,S&&(Y+=S*m.lineHeight+(S-1)*e.titleSpacing+e.titleMarginBottom),Q){Y+=I*(e.displayColors?Math.max(d,h.lineHeight):h.lineHeight)+(Q-I)*h.lineHeight+(Q-1)*e.bodySpacing}T&&(Y+=e.footerMarginTop+T*g.lineHeight+(T-1)*e.footerSpacing);let q=0;const oe=function(fe){z=Math.max(z,t.measureText(fe).width+q)};return t.save(),t.font=m.string,Ts(n.title,oe),t.font=h.string,Ts(n.beforeBody.concat(n.afterBody),oe),q=e.displayColors?c+2+e.boxPadding:0,Ts(s,fe=>{Ts(fe.before,oe),Ts(fe.lines,oe),Ts(fe.after,oe)}),q=0,t.font=g.string,Ts(n.footer,oe),t.restore(),z+=P.width,{width:z,height:Y}}function _fe(n,e,t,s){const{x:r,width:o}=t,{width:c,chartArea:{left:d,right:h}}=n;let m="center";return"center"===s?m=r<=(d+h)/2?"left":"right":r<=o/2?m="left":r>=c-o/2&&(m="right"),function gfe(n,e,t,s){const{x:r,width:o}=s,c=t.caretSize+t.caretPadding;if("left"===n&&r+o+c>e.width||"right"===n&&r-o-c<0)return!0}(m,n,e,t)&&(m="center"),m}function IW(n,e,t){const s=t.yAlign||e.yAlign||function mfe(n,e){const{y:t,height:s}=e;return tn.height-s/2?"bottom":"center"}(n,t);return{xAlign:t.xAlign||e.xAlign||_fe(n,e,t,s),yAlign:s}}function AW(n,e,t,s){const{caretSize:r,caretPadding:o,cornerRadius:c}=n,{xAlign:d,yAlign:h}=t,m=r+o,{topLeft:g,topRight:S,bottomLeft:T,bottomRight:I}=Zb(c);let P=function yfe(n,e){let{x:t,width:s}=n;return"right"===e?t-=s:"center"===e&&(t-=s/2),t}(e,d);const Y=function vfe(n,e,t){let{y:s,height:r}=n;return"top"===e?s+=t:s-="bottom"===e?r+t:r/2,s}(e,h,m);return"center"===h?"left"===d?P+=m:"right"===d&&(P-=m):"left"===d?P-=Math.max(g,T)+r:"right"===d&&(P+=Math.max(S,I)+r),{x:Pr(P,0,s.width-e.width),y:Pr(Y,0,s.height-e.height)}}function iP(n,e,t){const s=_o(t.padding);return"center"===e?n.x+n.width/2:"right"===e?n.x+n.width-s.right:n.x+s.left}function LW(n){return Ou([],yh(n))}function PW(n,e){const t=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return t?n.override(t):n}class Ij extends kc{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart||e._chart,this._chart=this.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const t=this.chart,s=this.options.setContext(this.getContext()),r=s.enabled&&t.options.animation&&s.animations,o=new Ez(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=function bfe(n,e,t){return kf(n,{tooltip:e,tooltipItems:t,type:"tooltip"})}(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,t){const{callbacks:s}=t,r=s.beforeTitle.apply(this,[e]),o=s.title.apply(this,[e]),c=s.afterTitle.apply(this,[e]);let d=[];return d=Ou(d,yh(r)),d=Ou(d,yh(o)),d=Ou(d,yh(c)),d}getBeforeBody(e,t){return LW(t.callbacks.beforeBody.apply(this,[e]))}getBody(e,t){const{callbacks:s}=t,r=[];return Ts(e,o=>{const c={before:[],lines:[],after:[]},d=PW(s,o);Ou(c.before,yh(d.beforeLabel.call(this,o))),Ou(c.lines,d.label.call(this,o)),Ou(c.after,yh(d.afterLabel.call(this,o))),r.push(c)}),r}getAfterBody(e,t){return LW(t.callbacks.afterBody.apply(this,[e]))}getFooter(e,t){const{callbacks:s}=t,r=s.beforeFooter.apply(this,[e]),o=s.footer.apply(this,[e]),c=s.afterFooter.apply(this,[e]);let d=[];return d=Ou(d,yh(r)),d=Ou(d,yh(o)),d=Ou(d,yh(c)),d}_createItems(e){const t=this._active,s=this.chart.data,r=[],o=[],c=[];let h,m,d=[];for(h=0,m=t.length;he.filter(g,S,T,s))),e.itemSort&&(d=d.sort((g,S)=>e.itemSort(g,S,s))),Ts(d,g=>{const S=PW(e.callbacks,g);r.push(S.labelColor.call(this,g)),o.push(S.labelPointStyle.call(this,g)),c.push(S.labelTextColor.call(this,g))}),this.labelColors=r,this.labelPointStyles=o,this.labelTextColors=c,this.dataPoints=d,d}update(e,t){const s=this.options.setContext(this.getContext()),r=this._active;let o,c=[];if(r.length){const d=lE[s.position].call(this,r,this._eventPosition);c=this._createItems(s),this.title=this.getTitle(c,s),this.beforeBody=this.getBeforeBody(c,s),this.body=this.getBody(c,s),this.afterBody=this.getAfterBody(c,s),this.footer=this.getFooter(c,s);const h=this._size=TW(this,s),m=Object.assign({},d,h),g=IW(this.chart,s,m),S=AW(s,m,g,this.chart);this.xAlign=g.xAlign,this.yAlign=g.yAlign,o={opacity:1,x:S.x,y:S.y,width:h.width,height:h.height,caretX:d.x,caretY:d.y}}else 0!==this.opacity&&(o={opacity:0});this._tooltipItems=c,this.$context=void 0,o&&this._resolveAnimations().update(this,o),e&&s.external&&s.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,s,r){const o=this.getCaretPosition(e,s,r);t.lineTo(o.x1,o.y1),t.lineTo(o.x2,o.y2),t.lineTo(o.x3,o.y3)}getCaretPosition(e,t,s){const{xAlign:r,yAlign:o}=this,{caretSize:c,cornerRadius:d}=s,{topLeft:h,topRight:m,bottomLeft:g,bottomRight:S}=Zb(d),{x:T,y:I}=e,{width:P,height:Y}=t;let z,Q,q,oe,fe,ye;return"center"===o?(fe=I+Y/2,"left"===r?(z=T,Q=z-c,oe=fe+c,ye=fe-c):(z=T+P,Q=z+c,oe=fe-c,ye=fe+c),q=z):(Q="left"===r?T+Math.max(h,g)+c:"right"===r?T+P-Math.max(m,S)-c:this.caretX,"top"===o?(oe=I,fe=oe-c,z=Q-c,q=Q+c):(oe=I+Y,fe=oe+c,z=Q+c,q=Q-c),ye=oe),{x1:z,x2:Q,x3:q,y1:oe,y2:fe,y3:ye}}drawTitle(e,t,s){const r=this.title,o=r.length;let c,d,h;if(o){const m=tw(s.rtl,this.x,this.width);for(e.x=iP(this,s.titleAlign,s),t.textAlign=m.textAlign(s.titleAlign),t.textBaseline="middle",c=gr(s.titleFont),d=s.titleSpacing,t.fillStyle=s.titleColor,t.font=c.string,h=0;h0!==oe)?(e.beginPath(),e.fillStyle=o.multiKeyBackground,$L(e,{x:z,y:Y,w:m,h,radius:q}),e.fill(),e.stroke(),e.fillStyle=c.backgroundColor,e.beginPath(),$L(e,{x:Q,y:Y+1,w:m-2,h:h-2,radius:q}),e.fill()):(e.fillStyle=o.multiKeyBackground,e.fillRect(z,Y,m,h),e.strokeRect(z,Y,m,h),e.fillStyle=c.backgroundColor,e.fillRect(Q,Y+1,m-2,h-2))}e.fillStyle=this.labelTextColors[s]}drawBody(e,t,s){const{body:r}=this,{bodySpacing:o,bodyAlign:c,displayColors:d,boxHeight:h,boxWidth:m,boxPadding:g}=s,S=gr(s.bodyFont);let T=S.lineHeight,I=0;const P=tw(s.rtl,this.x,this.width),Y=function(tt){t.fillText(tt,P.x(e.x+I),e.y+T/2),e.y+=T+o},z=P.textAlign(c);let Q,q,oe,fe,ye,Oe,Ne;for(t.textAlign=c,t.textBaseline="middle",t.font=S.string,e.x=iP(this,z,s),t.fillStyle=s.bodyColor,Ts(this.beforeBody,Y),I=d&&"right"!==z?"center"===c?m/2+g:m+2+g:0,fe=0,Oe=r.length;fe0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,s=this.$animations,r=s&&s.x,o=s&&s.y;if(r||o){const c=lE[e.position].call(this,this._active,this._eventPosition);if(!c)return;const d=this._size=TW(this,e),h=Object.assign({},c,this._size),m=IW(t,e,h),g=AW(e,h,m,t);(r._to!==g.x||o._to!==g.y)&&(this.xAlign=m.xAlign,this.yAlign=m.yAlign,this.width=d.width,this.height=d.height,this.caretX=c.x,this.caretY=c.y,this._resolveAnimations().update(this,g))}}draw(e){const t=this.options.setContext(this.getContext());let s=this.opacity;if(!s)return;this._updateAnimationTarget(t);const r={width:this.width,height:this.height},o={x:this.x,y:this.y};s=Math.abs(s)<.001?0:s;const c=_o(t.padding),d=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&d&&(e.save(),e.globalAlpha=s,this.drawBackground(o,e,r,t),_z(e,t.textDirection),o.y+=c.top,this.drawTitle(o,e,t),this.drawBody(o,e,t),this.drawFooter(o,e,t),yz(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const s=this._active,r=e.map(({datasetIndex:d,index:h})=>{const m=this.chart.getDatasetMeta(d);if(!m)throw new Error("Cannot find a dataset at index "+d);return{datasetIndex:d,element:m.data[h],index:h}}),o=!AL(s,r),c=this._positionChanged(r,t);(o||c)&&(this._active=r,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,s=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,o=this._active||[],c=this._getActiveElements(e,o,t,s),d=this._positionChanged(c,e),h=t||!AL(c,o)||d;return h&&(this._active=c,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),h}_getActiveElements(e,t,s,r){const o=this.options;if("mouseout"===e.type)return[];if(!r)return t;const c=this.chart.getElementsAtEventForMode(e,o.mode,o,s);return o.reverse&&c.reverse(),c}_positionChanged(e,t){const{caretX:s,caretY:r,options:o}=this,c=lE[o.position].call(this,e,t);return!1!==c&&(s!==c.x||r!==c.y)}}Ij.positioners=lE;var RW={id:"tooltip",_element:Ij,positioners:lE,afterInit(n,e,t){t&&(n.tooltip=new Ij({chart:n,options:t}))},beforeUpdate(n,e,t){n.tooltip&&n.tooltip.initialize(t)},reset(n,e,t){n.tooltip&&n.tooltip.initialize(t)},afterDraw(n){const e=n.tooltip,t={tooltip:e};!1!==n.notifyPlugins("beforeTooltipDraw",t)&&(e&&e.draw(n.ctx),n.notifyPlugins("afterTooltipDraw",t))},afterEvent(n,e){if(n.tooltip){const t=e.replay;n.tooltip.handleEvent(e.event,t,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(n,e)=>e.bodyFont.size,boxWidth:(n,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:hh,title(n){if(n.length>0){const e=n[0],t=e.chart.data.labels,s=t?t.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(s>0&&e.dataIndex"filter"!==n&&"itemSort"!==n&&"external"!==n,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function Dfe(n,e,t,s){const r=n.indexOf(e);if(-1===r)return((n,e,t,s)=>("string"==typeof e?(t=n.push(e)-1,s.unshift({index:t,label:e})):isNaN(e)&&(t=null),t))(n,e,t,s);return r!==n.lastIndexOf(e)?t:r}class cE extends C_{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const t=this._addedLabels;if(t.length){const s=this.getLabels();for(const{index:r,label:o}of t)s[r]===o&&s.splice(r,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(us(e))return null;const s=this.getLabels();return((n,e)=>null===n?null:Pr(Math.round(n),0,e))(t=isFinite(t)&&s[t]===e?t:Dfe(s,e,Dn(t,e),this._addedLabels),s.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let{min:s,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(s=0),t||(r=this.getLabels().length-1)),this.min=s,this.max=r}buildTicks(){const e=this.min,t=this.max,s=this.options.offset,r=[];let o=this.getLabels();o=0===e&&t===o.length-1?o:o.slice(e,t+1),this._valueRange=Math.max(o.length-(s?0:1),1),this._startValue=this.min-(s?.5:0);for(let c=e;c<=t;c++)r.push({value:c});return r}getLabelForValue(e){const t=this.getLabels();return e>=0&&et.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function Mfe(n,e){const t=[],{bounds:r,step:o,min:c,max:d,precision:h,count:m,maxTicks:g,maxDigits:S,includeBounds:T}=n,I=o||1,P=g-1,{min:Y,max:z}=e,Q=!us(c),q=!us(d),oe=!us(m),fe=(z-Y)/(S+1);let Oe,Ne,tt,dt,ye=Y6((z-Y)/P/I)*I;if(ye<1e-14&&!Q&&!q)return[{value:Y},{value:z}];dt=Math.ceil(z/ye)-Math.floor(Y/ye),dt>P&&(ye=Y6(dt*ye/P/I)*I),us(h)||(Oe=Math.pow(10,h),ye=Math.ceil(ye*Oe)/Oe),"ticks"===r?(Ne=Math.floor(Y/ye)*ye,tt=Math.ceil(z/ye)*ye):(Ne=Y,tt=z),Q&&q&&o&&function bue(n,e){const t=Math.round(n);return t-e<=n&&t+e>=n}((d-c)/o,ye/1e3)?(dt=Math.round(Math.min((d-c)/ye,g)),ye=(d-c)/dt,Ne=c,tt=d):oe?(Ne=Q?c:Ne,tt=q?d:tt,dt=m-1,ye=(tt-Ne)/dt):(dt=(tt-Ne)/ye,dt=N0(dt,Math.round(dt),ye/1e3)?Math.round(dt):Math.ceil(dt));const Un=Math.max(j6(ye),j6(Ne));Oe=Math.pow(10,us(h)?Un:h),Ne=Math.round(Ne*Oe)/Oe,tt=Math.round(tt*Oe)/Oe;let Gn=0;for(Q&&(T&&Ne!==c?(t.push({value:c}),Ner=t?r:h,d=h=>o=s?o:h;if(e){const h=Pu(r),m=Pu(o);h<0&&m<0?d(0):h>0&&m>0&&c(0)}if(r===o){let h=1;(o>=Number.MAX_SAFE_INTEGER||r<=Number.MIN_SAFE_INTEGER)&&(h=Math.abs(.05*o)),d(o+h),e||c(r-h)}this.min=r,this.max=o}getTickLimit(){const e=this.options.ticks;let r,{maxTicksLimit:t,stepSize:s}=e;return s?(r=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,r>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${r} ticks. Limiting to 1000.`),r=1e3)):(r=this.computeTickLimit(),t=t||11),t&&(r=Math.min(t,r)),r}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let s=this.getTickLimit();s=Math.max(2,s);const c=Mfe({maxTicks:s,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&&B6(c,this,"value"),e.reverse?(c.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),c}configure(){const e=this.ticks;let t=this.min,s=this.max;if(super.configure(),this.options.offset&&e.length){const r=(s-t)/Math.max(e.length-1,1)/2;t-=r,s+=r}this._startValue=t,this._endValue=s,this._valueRange=s-t}getLabelForValue(e){return $0(e,this.chart.options.locale,this.options.ticks.format)}}class oP extends rP{determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=zi(e)?e:0,this.max=zi(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,s=xc(this.options.ticks.minRotation),r=(e?Math.sin(s):Math.cos(s))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,o.lineHeight/r))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}function NW(n){return n/Math.pow(10,Math.floor(Ml(n)))==1}oP.id="linear",oP.defaults={ticks:{callback:ZL.formatters.numeric}};class Aj extends C_{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){const s=rP.prototype.parse.apply(this,[e,t]);if(0!==s)return zi(s)&&s>0?s:null;this._zero=!0}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=zi(e)?Math.max(0,e):null,this.max=zi(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let s=this.min,r=this.max;const o=h=>s=e?s:h,c=h=>r=t?r:h,d=(h,m)=>Math.pow(10,Math.floor(Ml(h))+m);s===r&&(s<=0?(o(1),c(10)):(o(d(s,-1)),c(d(r,1)))),s<=0&&o(d(r,-1)),r<=0&&c(d(s,1)),this._zero&&this.min!==this._suggestedMin&&s===d(this.min,0)&&o(d(s,-1)),this.min=s,this.max=r}buildTicks(){const e=this.options,s=function Efe(n,e){const t=Math.floor(Ml(e.max)),s=Math.ceil(e.max/Math.pow(10,t)),r=[];let o=Dl(n.min,Math.pow(10,Math.floor(Ml(e.min)))),c=Math.floor(Ml(o)),d=Math.floor(o/Math.pow(10,c)),h=c<0?Math.pow(10,Math.abs(c)):1;do{r.push({value:o,major:NW(o)}),++d,10===d&&(d=1,++c,h=c>=0?1:h),o=Math.round(d*Math.pow(10,c)*h)/h}while(cr?{start:e-t,end:e}:{start:e,end:e+t}}function kfe(n){const e={l:n.left+n._padding.left,r:n.right-n._padding.right,t:n.top+n._padding.top,b:n.bottom-n._padding.bottom},t=Object.assign({},e),s=[],r=[],o=n._pointLabels.length,c=n.options.pointLabels,d=c.centerPointLabels?gi/o:0;for(let h=0;he.r&&(d=(s.end-e.r)/o,n.r=Math.max(n.r,e.r+d)),r.starte.b&&(h=(r.end-e.b)/c,n.b=Math.max(n.b,e.b+h))}function Afe(n){return 0===n||180===n?"center":n<180?"left":"right"}function Lfe(n,e,t){return"right"===t?n-=e:"center"===t&&(n-=e/2),n}function Pfe(n,e,t){return 90===t||270===t?n-=e/2:(t>270||t<90)&&(n-=e),n}function YW(n,e,t,s){const{ctx:r}=n;if(t)r.arc(n.xCenter,n.yCenter,e,0,$s);else{let o=n.getPointPosition(0,e);r.moveTo(o.x,o.y);for(let c=1;c{const r=Qs(this.options.pointLabels.callback,[t,s],this);return r||0===r?r:""}).filter((t,s)=>this.chart.getDataVisibility(s))}fit(){const e=this.options;e.display&&e.pointLabels.display?kfe(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,s,r){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((s-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,s,r))}getIndexAngle(e){return Ya(e*($s/(this._pointLabels.length||1))+xc(this.options.startAngle||0))}getDistanceFromCenterForValue(e){if(us(e))return NaN;const t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(us(e))return NaN;const t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){const t=this._pointLabels||[];if(e>=0&&e=0;r--){const o=s.setContext(n.getPointLabelContext(r)),c=gr(o.font),{x:d,y:h,textAlign:m,left:g,top:S,right:T,bottom:I}=n._pointLabelItems[r],{backdropColor:P}=o;if(!us(P)){const Y=_o(o.backdropPadding);t.fillStyle=P,t.fillRect(g-Y.left,S-Y.top,T-g+Y.width,I-S+Y.height)}v_(t,n._pointLabels[r],d,h+c.lineHeight/2,c,{color:o.color,textAlign:m,textBaseline:"middle"})}}(this,o),r.display&&this.ticks.forEach((m,g)=>{if(0!==g){d=this.getDistanceFromCenterForValue(m.value);!function Ofe(n,e,t,s){const r=n.ctx,o=e.circular,{color:c,lineWidth:d}=e;!o&&!s||!c||!d||t<0||(r.save(),r.strokeStyle=c,r.lineWidth=d,r.setLineDash(e.borderDash),r.lineDashOffset=e.borderDashOffset,r.beginPath(),YW(n,t,o,s),r.closePath(),r.stroke(),r.restore())}(this,r.setContext(this.getContext(g-1)),d,o)}}),s.display){for(e.save(),c=o-1;c>=0;c--){const m=s.setContext(this.getPointLabelContext(c)),{color:g,lineWidth:S}=m;!S||!g||(e.lineWidth=S,e.strokeStyle=g,e.setLineDash(m.borderDash),e.lineDashOffset=m.borderDashOffset,d=this.getDistanceFromCenterForValue(t.ticks.reverse?this.min:this.max),h=this.getPointPosition(c,d),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(h.x,h.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,t=this.options,s=t.ticks;if(!s.display)return;const r=this.getIndexAngle(0);let o,c;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(r),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach((d,h)=>{if(0===h&&!t.reverse)return;const m=s.setContext(this.getContext(h)),g=gr(m.font);if(o=this.getDistanceFromCenterForValue(this.ticks[h].value),m.showLabelBackdrop){e.font=g.string,c=e.measureText(d.label).width,e.fillStyle=m.backdropColor;const S=_o(m.backdropPadding);e.fillRect(-c/2-S.left,-o-g.size/2-S.top,c+S.width,g.size+S.height)}v_(e,d.label,0,-o,g,{color:m.color})}),e.restore()}drawTitle(){}}iw.id="radialLinear",iw.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:ZL.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:n=>n,padding:5,centerPointLabels:!1}},iw.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},iw.descriptors={angleLines:{_fallback:"grid"}};const aP={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},ga=Object.keys(aP);function Ffe(n,e){return n-e}function BW(n,e){if(us(e))return null;const t=n._adapter,{parser:s,round:r,isoWeekday:o}=n._parseOpts;let c=e;return"function"==typeof s&&(c=s(c)),zi(c)||(c="string"==typeof s?t.parse(c,s):t.parse(c)),null===c?null:(r&&(c="week"!==r||!O0(o)&&!0!==o?t.startOf(c,r):t.startOf(c,"isoWeek",o)),+c)}function jW(n,e,t,s){const r=ga.length;for(let o=ga.indexOf(n);o=e?t[s]:t[r]]=!0}}else n[e]=!0}function HW(n,e,t){const s=[],r={},o=e.length;let c,d;for(c=0;c=0&&(e[h].major=!0);return e}(n,s,r,t):s}class uE extends C_{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t){const s=e.time||(e.time={}),r=this._adapter=new fhe._date(e.adapters.date);P0(s.displayFormats,r.formats()),this._parseOpts={parser:s.parser,round:s.round,isoWeekday:s.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return void 0===e?null:BW(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,t=this._adapter,s=e.time.unit||"day";let{min:r,max:o,minDefined:c,maxDefined:d}=this.getUserBounds();function h(m){!c&&!isNaN(m.min)&&(r=Math.min(r,m.min)),!d&&!isNaN(m.max)&&(o=Math.max(o,m.max))}(!c||!d)&&(h(this._getLabelBounds()),("ticks"!==e.bounds||"labels"!==e.ticks.source)&&h(this.getMinMax(!1))),r=zi(r)&&!isNaN(r)?r:+t.startOf(Date.now(),s),o=zi(o)&&!isNaN(o)?o:+t.endOf(Date.now(),s)+1,this.min=Math.min(r,o-1),this.max=Math.max(r+1,o)}_getLabelBounds(){const e=this.getLabelTimestamps();let t=Number.POSITIVE_INFINITY,s=Number.NEGATIVE_INFINITY;return e.length&&(t=e[0],s=e[e.length-1]),{min:t,max:s}}buildTicks(){const e=this.options,t=e.time,s=e.ticks,r="labels"===s.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const o=this.min,d=function tde(n,e,t){let s=0,r=n.length;for(;ss&&n[r-1]>t;)r--;return s>0||r=ga.indexOf(t);o--){const c=ga[o];if(aP[c].common&&n._adapter.diff(r,s,c)>=e-1)return c}return ga[t?ga.indexOf(t):0]}(this,d.length,t.minUnit,this.min,this.max)),this._majorUnit=s.major.enabled&&"year"!==this._unit?function Bfe(n){for(let e=ga.indexOf(n)+1,t=ga.length;e1e5*d)throw new Error(t+" and "+s+" are too far apart with stepSize of "+d+" "+c);const P="data"===r.ticks.source&&this.getDataTimestamps();for(T=S,I=0;TY-z).map(Y=>+Y)}getLabelForValue(e){const t=this._adapter,s=this.options.time;return s.tooltipFormat?t.format(e,s.tooltipFormat):t.format(e,s.displayFormats.datetime)}_tickFormatFunction(e,t,s,r){const o=this.options,c=o.time.displayFormats,d=this._unit,h=this._majorUnit,m=d&&c[d],g=h&&c[h],S=s[t],T=h&&g&&S&&S.major,I=this._adapter.format(e,r||(T?g:m)),P=o.ticks.callback;return P?Qs(P,[I,t,s],this):I}generateTickLabels(e){let t,s,r;for(t=0,s=e.length;t0?d:1}getDataTimestamps(){let t,s,e=this._cache.data||[];if(e.length)return e;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,s=r.length;t=n[s].pos&&e<=n[r].pos&&({lo:s,hi:r}=fh(n,"pos",e)),({pos:o,time:d}=n[s]),({pos:c,time:h}=n[r])):(e>=n[s].time&&e<=n[r].time&&({lo:s,hi:r}=fh(n,"time",e)),({time:o,pos:d}=n[s]),({time:c,pos:h}=n[r]));const m=c-o;return m?d+(h-d)*(e-o)/m:d}uE.id="time",uE.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class cP extends uE{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=lP(t,this.min),this._tableRange=lP(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:t,max:s}=this,r=[],o=[];let c,d,h,m,g;for(c=0,d=e.length;c=t&&m<=s&&r.push(m);if(r.length<2)return[{time:t,pos:0},{time:s,pos:1}];for(c=0,d=r.length;c-1};const tme=function eme(n,e){var t=this.__data__,s=dP(t,n);return s<0?(++this.size,t.push([n,e])):t[s][1]=e,this};function rw(n){var e=-1,t=null==n?0:n.length;for(this.clear();++e-1&&n%1==0&&n<=9007199254740991};const jj=function d_e(n){return null!=n&&r7(n.length)&&!Pj(n)};const p_e=function h_e(n){return pE(n)&&jj(n)};const m_e=function f_e(){return!1};var o7="object"==typeof exports&&exports&&!exports.nodeType&&exports,a7=o7&&"object"==typeof module&&module&&!module.nodeType&&module,l7=a7&&a7.exports===o7?ow.Buffer:void 0;const c7=(l7?l7.isBuffer:void 0)||m_e;var b_e=Function.prototype,w_e=Object.prototype,u7=b_e.toString,S_e=w_e.hasOwnProperty,D_e=u7.call(Object);const M_e=function C_e(n){if(!pE(n)||"[object Object]"!=fP(n))return!1;var e=t7(n);if(null===e)return!0;var t=S_e.call(e,"constructor")&&e.constructor;return"function"==typeof t&&t instanceof t&&u7.call(t)==D_e};var si={};si["[object Float32Array]"]=si["[object Float64Array]"]=si["[object Int8Array]"]=si["[object Int16Array]"]=si["[object Int32Array]"]=si["[object Uint8Array]"]=si["[object Uint8ClampedArray]"]=si["[object Uint16Array]"]=si["[object Uint32Array]"]=!0,si["[object Arguments]"]=si["[object Array]"]=si["[object ArrayBuffer]"]=si["[object Boolean]"]=si["[object DataView]"]=si["[object Date]"]=si["[object Error]"]=si["[object Function]"]=si["[object Map]"]=si["[object Number]"]=si["[object Object]"]=si["[object RegExp]"]=si["[object Set]"]=si["[object String]"]=si["[object WeakMap]"]=!1;const X_e=function Q_e(n){return pE(n)&&r7(n.length)&&!!si[fP(n)]};const J_e=function Z_e(n){return function(e){return n(e)}};var d7="object"==typeof exports&&exports&&!exports.nodeType&&exports,fE=d7&&"object"==typeof module&&module&&!module.nodeType&&module,Vj=fE&&fE.exports===d7&&UW.process,tye=function(){try{return fE&&fE.require&&fE.require("util").types||Vj&&Vj.binding&&Vj.binding("util")}catch{}}();var p7=tye&&tye.isTypedArray;const f7=p7?J_e(p7):X_e;const Hj=function sye(n,e){if(("constructor"!==e||"function"!=typeof n[e])&&"__proto__"!=e)return n[e]};var rye=Object.prototype.hasOwnProperty;const aye=function oye(n,e,t){var s=n[e];(!rye.call(n,e)||!uP(s,t)||void 0===t&&!(e in n))&&Nj(n,e,t)};const cye=function lye(n,e,t,s){var r=!t;t||(t={});for(var o=-1,c=e.length;++o-1&&n%1==0&&n0){if(++e>=800)return arguments[0]}else e=0;return n.apply(void 0,arguments)}}(Bye);const zye=$ye;const qye=function Wye(n,e){return zye(Oye(n,e,y7),n+"")};const Kye=function Gye(n,e,t){if(!M_(t))return!1;var s=typeof e;return!!("number"==s?jj(t)&&m7(e,t.length):"string"==s&&e in t)&&uP(t[e],n)};var Xye=function Qye(n){return qye(function(e,t){var s=-1,r=t.length,o=r>1?t[r-1]:void 0,c=r>2?t[2]:void 0;for(o=n.length>3&&"function"==typeof o?(r--,o):void 0,c&&Kye(t[0],t[1],c)&&(o=r<3?void 0:o,r=1),e=Object(e);++sthis.themeChanged(r)))}ngOnChanges(e){const t=["type"],s=Object.getOwnPropertyNames(e);if(s.some(r=>t.includes(r))||s.every(r=>e[r].isFirstChange()))this.render();else{const r=this.getChartConfiguration();this.chart&&(Object.assign(this.chart.config.data,r.data),Object.assign(this.chart.config.plugins,r.plugins),Object.assign(this.chart.config.options,r.options)),this.update()}}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.subs.forEach(e=>e.unsubscribe())}render(){return this.chart&&this.chart.destroy(),this.zone.runOutsideAngular(()=>this.chart=new iE(this.ctx,this.getChartConfiguration()))}update(e){this.chart&&this.zone.runOutsideAngular(()=>this.chart?.update(e))}hideDataset(e,t){this.chart&&(this.chart.getDatasetMeta(e).hidden=t,this.update())}isDatasetHidden(e){return this.chart?.getDatasetMeta(e)?.hidden}toBase64Image(){return this.chart?.toBase64Image()}themeChanged(e){this.themeOverrides=e,this.chart&&(Object.assign(this.chart.config.options,this.getChartOptions()),this.update())}getChartOptions(){return b7({onHover:(e,t)=>{this.chartHover.observed&&t&&!t.length||this.zone.run(()=>this.chartHover.emit({event:e,active:t}))},onClick:(e,t)=>{this.chartClick.observed&&this.zone.run(()=>this.chartClick.emit({event:e,active:t}))}},this.themeOverrides,this.options,{plugins:{legend:{display:this.legend}}})}getChartConfiguration(){return{type:this.type,data:this.getChartData(),plugins:this.plugins,options:this.getChartOptions()}}getChartData(){return this.data?this.data:{labels:this.labels||[],datasets:this.datasets||[]}}}dw.\u0275fac=function(e){return new(e||dw)(ce(pn),ce(_t),ce(uw))},dw.\u0275dir=Ze({type:dw,selectors:[["canvas","baseChart",""]],inputs:{type:"type",legend:"legend",data:"data",options:"options",plugins:"plugins",labels:"labels",datasets:"datasets"},outputs:{chartClick:"chartClick",chartHover:"chartHover"},exportAs:["base-chart"],features:[vs]});const Zye=[[255,99,132],[54,162,235],[255,206,86],[231,233,237],[75,192,192],[151,187,205],[220,220,220],[247,70,74],[70,191,189],[253,180,92],[148,159,177],[77,83,96]],Jye={datasets:{line:{backgroundColor:n=>Bo(jo(n.datasetIndex),.4),borderColor:n=>Bo(jo(n.datasetIndex),1),pointBackgroundColor:n=>Bo(jo(n.datasetIndex),1),pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:n=>Bo(jo(n.datasetIndex),.8)},bar:{backgroundColor:n=>Bo(jo(n.datasetIndex),.6),borderColor:n=>Bo(jo(n.datasetIndex),1),hoverBackgroundColor:n=>Bo(jo(n.datasetIndex),.8),hoverBorderColor:n=>Bo(jo(n.datasetIndex),1)},get radar(){return this.line},doughnut:{backgroundColor:n=>Bo(jo(n.dataIndex),.6),borderColor:"#fff",hoverBackgroundColor:n=>Bo(jo(n.dataIndex),1),hoverBorderColor:n=>Bo(jo(n.dataIndex),1)},get pie(){return this.doughnut},polarArea:{backgroundColor:n=>Bo(jo(n.dataIndex),.6),borderColor:n=>Bo(jo(n.dataIndex),1),hoverBackgroundColor:n=>Bo(jo(n.dataIndex),.8),hoverBorderColor:n=>Bo(jo(n.dataIndex),1)},get bubble(){return this.doughnut},get scatter(){return this.doughnut},get area(){return this.polarArea}}};function Bo(n,e){return"rgba("+n.concat(e).join(",")+")"}function Uj(n,e){return Math.floor(Math.random()*(e-n+1))+n}function jo(n=0){return Zye[n]||function eve(){return[Uj(0,255),Uj(0,255),Uj(0,255)]}()}iE.register(kW,RW,CW,xW,nw,_h,oE,oP,cE,W0,aE,S_,rE,K0,iw,GL,G0,q0,Q0,cP);class E_{}E_.\u0275fac=function(e){return new(e||E_)},E_.\u0275prov=Ae({token:E_,factory:E_.\u0275fac,providedIn:"root"});class Af{constructor(e){e?.plugins&&iE.register(...e?.plugins);const t=b7(Jye,e?.defaults||{});Hn.set(t)}static forRoot(e){return{ngModule:Af,providers:[{provide:E_,useValue:e}]}}}Af.\u0275fac=function(e){return new(e||Af)(we(E_,8))},Af.\u0275mod=Qn({type:Af,declarations:[dw],exports:[dw]}),Af.\u0275inj=es({imports:[[]]});var nve=x(8990),sve=x.n(nve);let _P=class{constructor(e,t){this.ueHttp=e,this.ueTheme=t}getNews(){return this.ueHttp.get("/api/DVPRTLFE/developers/news")}getDeviceSummary(){return this.ueHttp.get("/api/DVPRTLFE/developers/device_dashboard")}static#e=this.ctorParameters=()=>[{type:fo},{type:t_}]};_P=be([ks()],_P);let yP=class{constructor(e,t,s){this.dashboardService=e,this.router=t,this.changeDetectorRef=s,this.loading=!1,this.summaryData={},this.activeDeviceIndex=-1,this.deviceCount={count:0,color:"black",label:this.summaryData.total_devices>1?"Devices":"Device"},this.activeApplianceIndex=-1,this.applianceCount={count:0,color:"black",label:this.summaryData.total_servers>1?"Appliances":"Appliance"},this.doughnutChartType="doughnut",this.deviceChartData={labels:[],datasets:[]},this.deviceChartColors=["#52d052","#fb4336","#DBA448","#285984"],this.deviceChartOptions={responsive:!0,maintainAspectRatio:!1,plugins:{title:{display:!1},legend:{position:"right",align:"start",labels:{boxWidth:10,padding:5},onClick:null,onHover:(r,o)=>{this.updateDeviceCount(o.index)}},tooltip:{enabled:!1}},hover:{mode:"nearest",intersect:!0},onHover:(r,o)=>{o.length>0&&this.activeDeviceIndex!==o[0].index?this.updateDeviceCount(o[0].index):0===o.length&&-1!==this.activeDeviceIndex&&(this.activeDeviceIndex=-1,this.deviceCount={count:this.summaryData.total_devices,color:"black",label:this.summaryData.total_devices>1?"Devices":"Device"},this.changeDetectorRef.detectChanges())}},this.applianceChartData={labels:[],datasets:[]},this.applianceChartColors=["#52d052","#fb4336"],this.applianceChartOptions={responsive:!0,maintainAspectRatio:!1,plugins:{title:{display:!1},legend:{position:"right",align:"start",labels:{boxWidth:10,padding:5},onClick:null,onHover:(r,o)=>{this.updateApplianceCount(o.index)}},tooltip:{enabled:!1}},hover:{mode:"nearest",intersect:!0},onHover:(r,o)=>{o.length>0&&this.activeApplianceIndex!==o[0].index?this.updateApplianceCount(o[0].index):0===o.length&&-1!==this.activeApplianceIndex&&(this.activeApplianceIndex=-1,this.applianceCount={count:this.summaryData.total_servers,color:"black",label:this.summaryData.total_servers>1?"Appliances":"Appliance"},this.changeDetectorRef.detectChanges())}}}ngOnInit(){this.getNews(),this.getDeviceSummary()}getNews(){this.dashboardService.getNews().subscribe(e=>{this.articles=e.data},e=>{this.alert.newAlert("Error!",e.error,"danger")})}getDeviceSummary(){this.loading=!0,this.dashboardService.getDeviceSummary().subscribe(e=>{this.summaryData=e,this.handleSummaryData(),this.loading=!1},e=>{this.alert.newAlert("Error!",e.error,"danger"),this.loading=!1})}handleSummaryData(){this.deviceChartData.datasets.push({data:[this.summaryData.devices_online,this.summaryData.devices_offline,this.summaryData.devices_pairing,this.summaryData.devices_processing],backgroundColor:this.deviceChartColors,hoverBackgroundColor:this.deviceChartColors,hoverBorderColor:this.deviceChartColors}),this.deviceChartData.labels=[`Online - ${this.summaryData.devices_online}`,`Offline - ${this.summaryData.devices_offline}`,`Pairing - ${this.summaryData.devices_pairing}`,`Processing - ${this.summaryData.devices_processing}`],this.applianceChartData.datasets.push({data:[this.summaryData.servers_online,this.summaryData.servers_offline],backgroundColor:this.applianceChartColors,hoverBackgroundColor:this.applianceChartColors,hoverBorderColor:this.applianceChartColors}),this.applianceChartData.labels=[`Online - ${this.summaryData.servers_online}`,`Offline - ${this.summaryData.servers_offline}`],this.deviceCount.count=this.summaryData.total_devices,this.applianceCount.count=this.summaryData.total_servers}updateDeviceCount(e){this.activeDeviceIndex=e;const t=this.deviceChartData.labels[e];this.deviceCount={count:this.deviceChartData.datasets[0].data[e],color:this.deviceChartColors[e],label:t.replace(/\s\-.*/,"")},this.changeDetectorRef.detectChanges()}updateApplianceCount(e){this.activeApplianceIndex=e;const t=this.applianceChartData.labels[e];this.applianceCount={count:this.applianceChartData.datasets[0].data[e],color:this.applianceChartColors[e],label:t.replace(/\s\-.*/,"")},this.changeDetectorRef.detectChanges()}onRowSelect(e){this.router.navigate(["servers",e.key])}static#e=this.ctorParameters=()=>[{type:_P},{type:dn},{type:gl}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}]}};yP=be([Ke({selector:"ue-dashboard",template:'
    \n\n\t
    \n\t\t
    \n\t\t\t\n\t\t
    \n\t
    \n\n\t\n\n\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t Device Summary\n\t\t\t\t\t

    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t

    {{deviceCount.count}}

    \n\t\t\t\t\t\t

    {{deviceCount.label}}

    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t Appliance Summary\n\t\t\t\t\t

    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t

    {{applianceCount.count}}

    \n\t\t\t\t\t\t

    {{applianceCount.label}}

    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    Appliance Table

    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t
    \n\n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t
    \n\n
    ',styles:[sve()]})],yP);const ive=[{path:"",component:yP}];let $j=class{};$j=be([fi({imports:[xi.forChild(ive)],exports:[xi]})],$j);let zj=class{};zj=be([fi({imports:[Au,$j,Af],declarations:[yP],providers:[_P]})],zj);var ove=x(3544),ave=x.n(ove);let mE=class{constructor(e,t,s){this.ueHttp=e,this.router=t,this.ueTheme=s,this.baseUrl="/api/DVPRTLFE/developers",this.url=`${this.baseUrl}/endpoints`,this.queryParams={limit:0,offset:0,total:0}}getEndpoints(e){let t=this.url;return e&&(t+="?"+e),this.ueHttp.get(t)}getEndpointDetails(e){return this.ueHttp.get(this.url+"/"+e)}saveEndpoint(e,t){return this.ueHttp.put(this.url+"/"+e,t)}deleteEndpoint(e){return this.ueHttp.delete(this.url+"/"+e)}createEndpoint(e){return this.ueHttp.post(this.url,e)}createDocsUrl(e){let t=this.ueTheme.helpUrl;return"SOAP"===e.typename?t+="/developer/soap-api/":t+="/developer/rest-api/",t}getHelpUrl(){return this.ueTheme.helpUrl}getProdUrl(){return this.ueTheme.prodUrl}getSandboxUrl(){return this.ueTheme.sandboxUrl}getResellerSuffix(){return this.ueTheme.resellerSuffix}static#e=this.ctorParameters=()=>[{type:fo},{type:dn},{type:t_}]};mE=be([ks()],mE);let vP=class{constructor(e,t,s,r){this.endpointsService=e,this.router=t,this.route=s,this.authService=r,this.endpoints=[],this.canEdit=this.authService.checkPermissions("endpoints_edit"),this.canCreate=this.authService.checkPermissions("endpoints_create"),this.canDelete=this.authService.checkPermissions("endpoints_delete"),this.contextMenuItems=[]}ngOnInit(){this.getEndpoints(),this.buildContextMenu(),this.routerEventsSubscription=this.router.events.pipe(fs(e=>e instanceof po&&(0===this.route.children.length||0===this.endpoints.length))).subscribe(e=>{const t=this.route.snapshot.queryParams;"true"===t.isNew&&(this.alert.newAlert("Success","Endpoint created","success"),this.router.navigate(["endpoints"],{replaceUrl:!0})),"true"===t.updated?(this.alert.newAlert("Success","Endpoint information has been successfully saved","success"),this.router.navigate(["endpoints"],{replaceUrl:!0})):(this.endpointsService.queryParams.limit=t.limit,this.endpointsService.queryParams.offset=t.offset,this.getEndpoints())})}getEndpoints(){let e="";for(const t in this.endpointsService.queryParams)this.endpointsService.queryParams[t]&&(e+=[t]+"="+this.endpointsService.queryParams[t]+"&");this.endpointsService.getEndpoints(e).subscribe(t=>{this.endpoints=t.data,this.updatePaginationObject(t)},t=>{this.alert.newAlert("Error!",t.error,"danger")})}buildContextMenu(){if(this.contextMenuItems=[],this.canEdit){const e={icon:"fa fa-edit",label:"Edit",command:t=>{this.onRowSelect(t)}};this.contextMenuItems.push(e)}else{const e={icon:"fa fa-list",label:"Details",command:t=>{this.onRowSelect(t)}};this.contextMenuItems.push(e)}if(this.canDelete){const e={icon:"glyphicon glyphicon-trash",label:"Delete",command:t=>{this.contextMenuTarget=t,this.confirmDeletionModal.open()}};this.contextMenuItems.push(e)}}onRowSelect(e){this.router.navigate(["/endpoints",e.key])}makeNewEndpoint(){this.router.navigate(["/endpoints","new"])}deleteEndpoint(e){this.endpointsService.deleteEndpoint(e.key).subscribe(t=>{this.alert.newAlert("Success","Deleted endpoint","success"),this.getEndpoints(),this.confirmDeletionModal.close()},t=>{this.alert.newAlert("Error!",t.error,"danger"),this.confirmDeletionModal.close()})}goToPage(e){e.active||e.disabled||(this.endpointsService.queryParams.limit=e.limit,this.endpointsService.queryParams.offset=e.offset,this.updateQueryString())}updateQueryString(){const e={};for(const t in this.endpointsService.queryParams)this.endpointsService.queryParams[t]&&(e[t]=this.endpointsService.queryParams[t]);this.router.navigate(["/endpoints"],{queryParams:e})}updatePaginationObject(e){this.paginationComponent.updatePaginationObject(e.limit,e.offset,e.total),this.paginationComponent.updatePaginationLength(e.data.length)}updatePaginationTotal(e){this.paginationComponent.paginationObject.total+=e,this.paginationComponent.paginationObject.length+=e}ngOnDestroy(){this.routerEventsSubscription.unsubscribe()}createDocsUrl(e){return this.endpointsService.createDocsUrl(e)}openExternalLink(e,t){t.stopPropagation(),window.open(e)}showDocsColumn(){return!this.endpointsService.getHelpUrl().includes("disabled")}parseRateLimit(e){return"-1"===e?"Unlimited":e}parseDate(e){return"0000-00-00 00:00:00"===e?"1900-01-01 01:00:01":e}static#e=this.ctorParameters=()=>[{type:mE},{type:dn},{type:fr},{type:ni}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}],paginationComponent:[{type:qe,args:[uh,{static:!0}]}],confirmDeletionModal:[{type:qe,args:["confirmDeletionModal",{static:!0}]}]}};vP=be([Ke({selector:"ue-endpoints-list",template:'
    \n\t
    \n\t\t\n\t
    \n\t\n\t
    \n\t\tNew Endpoint\n\t
    \n
    \n\n\n\n
    \n\t
    \n\t\t\n\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{endpoint.typename + \' \' + endpoint.apiver}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{parseRateLimit(endpoint.ratelimit_daily)}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{parseRateLimit(endpoint.ratelimit)}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t {{parseDate(endpoint.created) | ueDate:\'MM/DD/YYYY\'}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\tSOAP docs\n\t\t\t\t\tREST docs\n\t\t\t\t\n\t\t\t\n\t\t\n
    \n
    \n\n\n\n\n\n\n\n',styles:[ave()]})],vP);var cve=x(7190),uve=x.n(cve);let bP=class{constructor(e,t,s,r,o,c){this.route=e,this.endpointsService=t,this.formBuilder=s,this.router=r,this.window=o,this.authService=c,this.isNew=!1,this.isLoading=!1,this.canEdit=this.authService.checkPermissions("endpoints_edit"),this.canDelete=this.authService.checkPermissions("endpoints_delete"),this.showErrors=!1}ngOnInit(){this.myModal.open(),this.initForm();const e=this.route.snapshot.params;"new"===e.key?this.isNew=!0:(this.isNew=!1,this.isLoading=!0,this.endpointsService.getEndpointDetails(e.key).subscribe(t=>{this.isLoading=!1,this.endpointForm.patchValue(t)},t=>{this.isLoading=!1,this.alert.newAlert("Error!",t.error,"danger")}))}ngOnDestroy(){this.endpointFormSubscription&&this.endpointFormSubscription.unsubscribe()}initForm(){this.endpointForm=this.formBuilder.group({apitype:["",it.required],apiver:["",it.required],phone:["",[it.required,it.maxLength(32)]],title:["",[it.required,it.maxLength(32)]],version:["",[it.required,it.maxLength(32)]],typename:["",it.required],endpointkey:[""],key:[""],ratelimit_daily:[""],ratelimit:[""]}),this.endpointFormSubscription=this.endpointForm.get("typename").valueChanges.subscribe(e=>{let t="";"REST"===e&&(t="2"),this.isNew&&this.endpointForm.get("apiver").reset(t),this.isNew&&"REST"===e&&this.endpointForm.patchValue({apitype:"rest"})}),this.canEdit||this.endpointForm.disable()}sanitizeVersion(){this.endpointForm.patchValue({version:NB.rejectWhitespace(this.endpointForm.value.version)})}saveChanges(e){if(this.alert.closeAlert(),this.showErrors=!1,this.endpointForm.invalid)return this.showErrors=!0,this.alert.newAlert("Invalid Form!","The form is invalid. Please fill in all required fields.","danger");if(this.isNew)this.endpointsService.createEndpoint(this.endpointForm.value).subscribe(t=>{e?this.router.navigate(["/endpoints"],{queryParams:{isNew:!0}}):(this.isNew=!1,this.endpointForm.patchValue({endpointkey:t.endpointkey,key:t.key}),this.router.navigate(["/endpoints",t.key],{replaceUrl:!0}),this.endpointForm.markAsPristine(),this.alert.newAlert("Success!","New endpoint has been created","success"))},t=>{this.alert.newAlert("Error!",t.error,"danger")});else{const t=this.getUpdatedControls(this.endpointForm);this.endpointForm.markAsPristine(),this.endpointsService.saveEndpoint(this.endpointForm.get("key").value,t).subscribe(s=>{this.alert.newAlert("Success!","Endpoint information has been successfully saved","success"),e&&this.router.navigate(["/endpoints"],{queryParams:{updated:!0}})},s=>{this.alert.newAlert("Error!",s.error,"danger")})}}getUpdatedControls(e){const t={};for(const s in e.controls)e.controls[s].dirty&&(t[s]=e.controls[s].value);return t}confirmDelete(){this.confirmDeletionModal.open()}deleteEndpoint(){this.endpointsService.deleteEndpoint(this.endpointForm.get("key").value).subscribe(e=>{this.myModal.close()},e=>{this.alert.newAlert("Error!",e.error,"danger")})}createUrl(e){let t=this.endpointsService.getSandboxUrl();this.isNew&&(e.endpointkey="YOURKEY");const s=this.endpointsService.getResellerSuffix();return"SOAP"===e.typename?t+=`/soap/gate/${e.endpointkey}/${s}.wsdl`:t+=`/api/${e.endpointkey}`,t}getProdUrl(e){let t=this.endpointsService.getProdUrl();const s=this.endpointsService.getResellerSuffix();return"SOAP"===e.typename?t+=`/soap/gate/${e.endpointkey}/${s}.wsdl`:t+=`/api/${e.endpointkey}`,t}onCloseModal(){this.endpointForm.pristine?this.isNewAppWindow()?this.router.navigate(["/endpoints"]):this.myModal.close():this.confirmAbandonModal.isOpen?this.router.navigate(["/endpoints"]):this.confirmAbandonModal.open()}isNewAppWindow(){return 1===this.router.navigationId}onCopy(e){const t=document.createElement("input");document.body.appendChild(t);const s=document.getElementById(e);t.value=s.textContent,t.select(),document.execCommand("copy"),t.remove()}detectBrowser(){return document.queryCommandSupported("copy")}createDocsUrl(e){return this.endpointsService.createDocsUrl(e)}showDocs(){return!this.endpointsService.getHelpUrl().includes("disabled")}static#e=this.ctorParameters=()=>[{type:fr},{type:mE},{type:ir},{type:dn},{type:n_},{type:ni}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}],myModal:[{type:qe,args:["myModal",{static:!0}]}],confirmDeletionModal:[{type:qe,args:["confirmDeletionModal",{static:!0}]}],confirmAbandonModal:[{type:qe,args:["confirmAbandonModal",{static:!0}]}]}};bP=be([Ke({selector:"ue-endpoint-details",template:'\n\t\n\t\t

    New Endpoint

    \n\t\t

    \n\t\t\tAPI Endpoint: {{endpointForm.get(\'typename\').value}} - {{endpointForm.get(\'apiver\').value}}\n\t\t

    \n\t\t

    \n\t\t\t\n\t\t\t\tSandbox WSDL Key:\n\t\t\t\t{{createUrl(endpointForm.value)}}\n\t\t\t\t \n\t\t\t\t
    \n\t\t\t\tProduction WSDL Key:\n\t\t\t\t{{getProdUrl(endpointForm.value)}} \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\tRate Limit: \n\t\t\t\t{{endpointForm.get(\'ratelimit_daily\').value}}/day, {{endpointForm.get(\'ratelimit\').value}}/min\n\t\t\t\t
    \n\t\t\t\t

    \n\t\t\t\t\tDocs: \n\t\t\t\t\t{{createDocsUrl(endpointForm.value)}}\n\t\t\t\t
    \n\t\t\t\n\t\t\t\n\t\t\t\tSandbox Base URL:\n\t\t\t\t{{createUrl(endpointForm.value)}} \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\tProduction Base URL:\n\t\t\t\t{{getProdUrl(endpointForm.value)}}\n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\tRate Limit: \n\t\t\t\t{{endpointForm.get(\'ratelimit_daily\').value}}/day, {{endpointForm.get(\'ratelimit\').value}}/min\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tDocs: \n\t\t\t\t\t{{createDocsUrl(endpointForm.value)}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t

    \n\t
    \n\t\n\t\t\n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t
    \n\t
    \n\t\n\t\tDelete\n\t\tClose\n\t\tApply\n\t\tSave\n\t\n
    \n\n\n\n\n\n\n',animations:[qv("slideDown",[Kd("void",fc({height:"0",overflow:"hidden"})),Kp("void => *",Gp("200ms ease-out"))])],styles:[uve()]})],bP);const dve=[{path:"",component:vP,children:[{path:":key",component:bP}]}];let Wj=class{};Wj=be([fi({imports:[xi.forChild(dve)],exports:[xi]})],Wj);let qj=class{};qj=be([fi({imports:[Au,Wj],declarations:[vP,bP],providers:[mE]})],qj);var pve=x(275),fve=x.n(pve);class w7{constructor(e){if(e)for(const t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}}let wP=class{constructor(e,t,s,r){this.formBuilder=e,this.profileService=t,this.router=s,this.authService=r,this.validationError=!1,this.canEdit=this.authService.checkPermissions("profile_edit")}ngOnInit(){this.profileService.getProfile().subscribe(e=>{this.profile=new w7(e),this.initForm()},e=>{this.alert.newAlert("Error!",e.error,"danger"),this.profile=new w7(null),this.initForm()})}initForm(){const e=this.profile;this.profileForm=this.formBuilder.group({company:[e.company,it.required],contact:[e.contact,it.required],address1:[e.address1],address2:[e.address2],city:[e.city],state:[e.state],zip:[e.zip],country:[e.country],phone:[e.phone]}),this.canEdit||this.profileForm.disable()}saveProfile(){if(this.profileForm.invalid)return this.validationError=!0,void this.alert.newAlert("Invalid Form!","The form is invalid. Please fill in all required fields.","danger");const e={};for(const t in this.profileForm.controls)this.profileForm.get(t).value!==this.profile[t]&&(e[t]=this.profileForm.controls[t].value);this.profileForm.markAsPristine(),this.profileService.updateProfile(e).subscribe(t=>{this.alert.newAlert("Success!","Profile information has been successfully saved","success"),this.profile=this.profileForm.value},t=>{this.validationError=!0,this.alert.newAlert("Error!",t.error,"danger")})}static#e=this.ctorParameters=()=>[{type:ir},{type:Kb},{type:dn},{type:ni}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}]}};wP=be([Ke({selector:"ue-company-profile",template:'\n\n\n
    \n\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\n\t\t
    \n\t\t
    \t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\tSave\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t
    \n
    \n',styles:[fve()]})],wP);var gve=x(9751),_ve=x.n(gve);let SP=class{constructor(e,t){this.formBuilder=e,this.profileService=t,this.validationError=!1}ngOnInit(){this.changePWForm=this.formBuilder.group({current_password:["",[it.required]],password:["",[it.required,it.minLength(12),it.maxLength(32),Ec.uppercaseValidator,Ec.lowercaseValidator,Ec.numberValidator,Ec.specialCharValidator]],password_confirm:["",[it.required,it.minLength(12),it.maxLength(32)]]},{validators:[Ec.passwordMatchEnhanced,Ec.passwordDifferentFromCurrent]})}changePassword(){this.changePWForm.valid?(this.changePWForm.markAsPristine(),this.profileService.changePassword(this.changePWForm.value).subscribe(e=>{this.alert.newAlert("Success!","Your password has been successfully changed!","success"),this.changePWForm.reset(),this.validationError=!1},e=>{this.alert.newAlert("Error!",e.error,"danger")})):(this.alert.newAlert("Invalid Form!","Please check all password requirements below","danger"),this.validationError=!0)}getPasswordErrorMessage(){const e=this.changePWForm.get("password");return Ec.getPasswordErrorMessage(e)}getPasswordConfirmErrorMessage(){const e=this.changePWForm.get("password_confirm");return Ec.getPasswordConfirmErrorMessage(e,this.changePWForm.errors)}getFormErrorMessage(){return Ec.getFormErrorMessage(this.changePWForm.errors)}isPasswordRequirementMet(e){const t=this.changePWForm.get("password")?.value||"";return Ec.isPasswordRequirementMet(t,e)}getPasswordRequirementsStatus(){const e=this.changePWForm.get("password")?.value||"";return Ec.getPasswordRequirementsStatus(e)}static#e=this.ctorParameters=()=>[{type:ir},{type:Kb}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}]}};SP=be([Ke({selector:"ue-change-password",template:'\n\n\n
    \n\t
    \n\t\t\x3c!-- Show form-level errors --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t {{ getFormErrorMessage() }}\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t\t\x3c!-- Password Requirements - Moved to top of form --\x3e\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    Password Requirements:
    \n\t\t\t\t\t
      \n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t12-32 characters long\n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tAt least one uppercase letter (A-Z)\n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tAt least one lowercase letter (a-z)\n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tAt least one number (0-9)\n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tAt least one special character (!@#$%^&*)\n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tMust be different from your last 5 passwords\n\t\t\t\t\t\t
    • \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \t\n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \t\n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\tChange Password\n\t\t\t
    \n\t\t
    \n\t
    \n
    ',styles:[_ve()]})],SP);var vve=x(7283),bve=x.n(vve);class S7{constructor(e){if(e)for(const t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}}let DP=class{constructor(e,t,s,r,o,c){this.formBuilder=e,this.profileService=t,this.authService=s,this.router=r,this.sessionTimeoutService=o,this.ueHttp=c,this.validationError=!1,this.memberships=[]}ngOnInit(){this.getUser(),this.getProfile(),this.getMemberships()}getUser(){this.profileService.getUser().subscribe(e=>{this.user=new S7(e),this.initForms()},e=>{this.alert.newAlert("Error!",e.error,"danger"),this.user=new S7(null),this.initForms()})}getProfile(){this.profileService.getProfile().subscribe(e=>{this.currentCompany=e.company},e=>{this.alert.newAlert("Error!",e.error,"danger")})}getMemberships(){this.profileService.getCompanyList().subscribe(e=>{this.memberships=e.data},e=>{this.alert.newAlert("Error!",e.error,"danger")})}initForms(){const e=this.user;this.updateUserForm=this.formBuilder.group({contact:[e.contact,it.required],email:[e.email,[it.required,it.email]],company:[e.company,[it.required]]})}updateUser(){if(this.updateUserForm.invalid)return this.alert.newAlert("Invalid Form!","Please fill in all required fields","danger"),void(this.validationError=!0);this.updateUserForm.markAsPristine(),this.profileService.updateUser(this.updateUserForm.value).subscribe(e=>{this.alert.newAlert("Success!","Your user profile has been successfully updated!","success")},e=>{this.alert.newAlert("Error!",e.error,"danger")})}clickLeaveCompany(e){this.leaveCompanyTarget=e,1===this.memberships.length?this.confirmLeaveLastMembershipModal.open():e.company===this.currentCompany?this.confirmLeaveCurrentMembershipModal.open():this.confirmDeletionModal.open()}leaveCompany(e){this.confirmDeletionModal.close(),this.profileService.leaveCompany(this.leaveCompanyTarget.key).subscribe(t=>{this.alert.newAlert("Success!",`You have been successfully removed from ${this.leaveCompanyTarget.company}`,"success"),e?this.logout():this.refreshPage()},t=>{this.alert.newAlert("Error!",t.error,"danger")})}refreshPage(){window.location.reload()}logout(){this.authService.logout().subscribe(e=>{this.router.navigate(["/login"],{queryParams:{loggedOut:!0}})},e=>{this.router.navigate(["/login"],{queryParams:{loggedOut:!0}})})}openMfaModal(){this.mfaModal.open()}onMfaModalClose(){}static#e=this.ctorParameters=()=>[{type:ir},{type:Kb},{type:ni},{type:dn},{type:oh},{type:fo}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}],confirmDeletionModal:[{type:qe,args:["confirmDeletionModal",{static:!0}]}],confirmLeaveLastMembershipModal:[{type:qe,args:["confirmLeaveLastMembershipModal",{static:!0}]}],confirmLeaveCurrentMembershipModal:[{type:qe,args:["confirmLeaveCurrentMembershipModal",{static:!0}]}],mfaModal:[{type:qe,args:["mfaModal",{static:!0}]}]}};DP=be([Ke({selector:"ue-user-profile",template:'\n\n\n
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tUpdate User\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tTwo Factor Authentication\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n\t
    \n\t
    \n\t\t

    Your Memberships

    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    {{membership.company}}

    \n\t\t\t\t\tLeave\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n
    \n\n\n\n\n\n\n\n\n\n\n',styles:[bve()]})],DP);const wve=[{path:"company",canActivate:bc([dh]),component:wP},{path:"user",component:DP},{path:"change-password",component:SP}];let Gj=class{};Gj=be([fi({imports:[xi.forChild(wve)],exports:[xi]})],Gj);let Kj=class{};Kj=be([fi({imports:[Au,IL,Gj],declarations:[wP,SP,DP],providers:[]})],Kj);var Dve=x(9838),Cve=x.n(Dve);let CP=class{constructor(e){this.ueHttp=e,this.baseUrl="/api/DVPRTLFE",this.url=`${this.baseUrl}/developers`}requestAccount(e){return this.ueHttp.post(this.url+"/request_test_account",e)}static#e=this.ctorParameters=()=>[{type:fo}]};CP=be([ks()],CP);let MP=class{constructor(e,t){this.formBuilder=e,this.requestService=t,this.validationError=!1}ngOnInit(){this.requestForm=this.formBuilder.group({username:["",it.required],name:["",it.required],company:["",it.required],email:["",it.required]})}submitForm(){if(this.requestForm.invalid)return this.validationError=!0,this.alert.newAlert("Invalid Form!","Please fill in all required fields","danger");this.requestForm.markAsPristine(),this.requestService.requestAccount(this.requestForm.value).subscribe(e=>{this.alert.newAlert("Success!","Your request has been succesfully submitted. Please allow 1-2 business days for the test account to be created.","success")},e=>{this.validationError=!0,this.alert.newAlert("Error!",e.error,"danger")})}static#e=this.ctorParameters=()=>[{type:ir},{type:CP}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}]}};MP=be([Ke({selector:"ue-request-test-account",template:'\n\n
    \n\t
    \n\t\t
    \n\t\t\t If your client, the merchant, has not yet set up a live gateway account, a sandbox account will allow you to develop your\n\t\t\tapplication without delay. The sandbox environment exactly mimics the Merchant Console (live account) so that you can expect\n\t\t\tthe same results once your account is live. The only work required to make the switch is to replace your sandbox source keys\n\t\t\twith the live ones. The Test Mode on our live servers is extremely limited and unfriendly in terms of developing an application.\n\t\t\tIt does not generate any fake approval codes other than TESTMD and it does not store a transaction record. A sandbox account\n\t\t\twill generate approval codes, return all of the variables you request and store a transaction record from which reports can\n\t\t\tbe generated.\n\t\t
    \n\t
    \n\t\n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \t\t\t\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\t\tSubmit Request\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n\t\n',styles:[Cve()]})],MP);const Mve=[{path:"",component:MP}];let Qj=class{};Qj=be([fi({imports:[xi.forChild(Mve)],exports:[xi]})],Qj);let Xj=class{};Xj=be([fi({imports:[Qj,Au],declarations:[MP],providers:[CP]})],Xj);var xve=x(9167),kve=x.n(xve);let hw=class{constructor(e){this.ueHttp=e,this.emitProgressModal=new Le,this.baseUrl="/api/DVPRTLFE/developers",this.url=`${this.baseUrl}/devices`,this.filterColumns=["@apikey_masked","@devicekey_masked","@merchant_company","@name","@label","@device_type","@make","@model","@revision","@serial","@server_key","@status","@env","@device_ip","@isPairing","@isBadkey","@isOffline","@isOnline"],this.queryParams={filters:"",limit:0,offset:0,total:0,sort:"name",sortDir:"desc",refresh:!1}}getAllDevices(e){let t=this.url;return e&&(t+="?"+e),this.ueHttp.get(t)}getDevice(e,t){return this.ueHttp.get(this.url+"/"+e,t)}saveNewDevice(e){return this.ueHttp.post(this.url,e)}saveDevice(e){return this.ueHttp.put(this.url+"/"+e.key,e)}refreshList(e,t){let s=this.url;return e&&(s+="?"+e),this.queryParams.refresh=!1,this.ueHttp.get(s,t)}refreshDevice(e,t){return this.getDevice(e+"?refresh=true",t)}resetDevice(e){return this.ueHttp.post(this.url+"/"+e+"/reset",null)}updateDevice(e){return e.notify_update_next=!0,this.ueHttp.put(this.url+"/"+e.key,e)}deleteDevice(e,t){const s=t?"?hard_delete=true":"";return this.ueHttp.delete(this.url+"/"+e+s)}assignBranding(e,t){return this.ueHttp.put(this.url+"/"+e+"/branding",{brand:t})}bulkResetDevices(e){return uM(e.map(s=>this.ueHttp.post(this.url+"/"+s+"/reset",null).pipe(qr(r=>ut(r)))))}bulkUpdateDevices(e){return uM(e.map(s=>(s.notify_update_next=!0,this.ueHttp.put(this.url+"/"+s.key,s).pipe(qr(r=>ut(r))))))}bulkDeleteDevices(e,t){return uM(e.map(r=>{const o=t?"?hard_delete=true":"";return this.ueHttp.delete(this.url+"/"+r+o).pipe(qr(c=>ut(c)))}))}getStatusColor(e){switch(e){case"waiting for device pairing":return"#DDA53E";case"paired":return"#C79121";case"connected":return"#55915B";case"updating terminal":return"#498BBE";case"processing transaction":return"#3c7299";case"offline":default:return"";case"deleted":return"#C3323D"}}parseStatus(e){return"waiting for device pairing"===e?"Pairing":e}getDeviceIcon(e){switch(e){case"isc480":return"um um-ingenico";case"mx915":return"um um-verifone";case"MP200":return"um um-castle";case"vega3000l":case"vega3000":return"um um-v3-device";default:return"glyphicon glyphicon-phone"}}updateDeviceVersion(e){return this.ueHttp.put(this.url+"/"+e,{notify_update_next:!0})}getSuggestions(e){e=e.toLowerCase();const s=this.filterColumns.filter(r=>-1!==(r=r.toLowerCase()).indexOf(e));return[].concat(s)}pendingText(e){return e.update_available&&(e.notify_update||e.notify_update_next)?"Pending Update":e.update_available?"Update Available":null}static#e=this.ctorParameters=()=>[{type:fo}];static#t=this.propDecorators={emitProgressModal:[{type:nt}]}};hw=be([fl(),ks()],hw);let EP=class{constructor(e,t,s,r,o,c,d){this.deviceService=e,this.router=t,this.route=s,this.authService=r,this.sessionTimeoutService=o,this.labelServcie=c,this.document=d,this.devices=[],this.devicesToUpdate=[],this.refreshing=!1,this.selectedRows=[],this.hardDelete=!1,this.deviceString="device",this.canCreate=this.authService.checkPermissions("devices_create"),this.canDelete=this.authService.checkPermissions("devices_delete"),this.menuItemsSelected=[{icon:"fa fa-retweet",label:"Reset Selected",command:()=>{this.selectedRows.length>0?(this.deviceString=this.selectedRows.length>1?"devices":"device",this.confirmBulkResetModal.open()):this.alert.newAlert("Error!","No items selected.","danger")}},{icon:"fa fa-caret-square-o-up",label:"Update Selected",command:()=>{this.selectedRows.length>0?(this.devicesToUpdate=this.selectedRows.filter(h=>h.update_available),this.deviceString=this.devicesToUpdate.length>1?"devices":"device",this.devicesToUpdate.length>0?this.confirmBulkUpdateModal.open():this.alert.newAlert("Error!",`No updates available for the selected ${this.deviceString}.`,"warning")):this.alert.newAlert("Error!","No items selected.","danger")}},{icon:"fa fa-trash-o",label:"Delete Selected",command:()=>{this.selectedRows.length>0?(this.deviceString=this.selectedRows.length>1?"devices":"device",this.confirmBulkDeletionModal.open()):this.alert.newAlert("Error!","No items selected.","danger")}}],this.menuItemsAll=[{icon:"fa fa-retweet",label:"Reset All",command:()=>{this.selectedRows=this.devices,this.deviceString=this.selectedRows.length>1?"devices":"device",this.confirmBulkResetModal.open()}},{icon:"fa fa-caret-square-o-up",label:"Update All",command:()=>{this.devicesToUpdate=this.devices.filter(h=>h.update_available),this.deviceString=this.selectedRows.length>1?"devices":"device",this.devicesToUpdate.length>0?this.confirmBulkUpdateModal.open():this.alert.newAlert("Error!",`No updates available for selected ${this.deviceString}.`,"warning")}},{icon:"fa fa-trash-o",label:"Delete All",command:()=>{this.selectedRows=this.devices,this.deviceString=this.selectedRows.length>1?"devices":"device",this.confirmBulkDeletionModal.open()}}],this.filterControl=new Jv,this.labelSelect=!1,this.labels=[]}ngOnInit(){this.updateServiceQueryParams(),this.subscribeProgressModal(),this.getDevices(),this.getLabels(),this.routerEventsSubscription=this.router.events.pipe(fs(e=>e instanceof po&&(0===this.route.children.length||0===this.devices.length)),fs(()=>!this.handleQueryParamsAlerts())).subscribe(()=>{this.startPolling(),this.getDevices()}),this.startPolling()}ngOnDestroy(){this.progressModalSubscription.unsubscribe(),this.routerEventsSubscription.unsubscribe(),this.pollingInterval&&clearInterval(this.pollingInterval)}handleQueryParamsAlerts(){const e=this.route.snapshot.queryParams;return"true"===e.isNew?(this.alert.newAlert("Success","Device has been successfully created","success"),this.router.navigate(["devices"],{replaceUrl:!0}),!0):"true"===e.updated?(this.alert.newAlert("Success","Device information has been successfully saved","success"),this.router.navigate(["devices"],{replaceUrl:!0}),!0):(this.updateServiceQueryParams(),!1)}subscribeProgressModal(){this.progressModalSubscription=this.deviceService.emitProgressModal.subscribe(e=>{"start"===e.type?this.progressModalComponent.startModal(e.message):"update"===e.type&&setTimeout(()=>this.progressModalComponent.updateModal(e.status,e.message),2e3)})}updateServiceQueryParams(){const e=this.route.snapshot.queryParams;this.deviceService.queryParams.filters=e.filters,this.deviceService.queryParams.limit=e.limit,this.deviceService.queryParams.offset=e.offset,this.deviceService.queryParams.sort=e.sort,this.deviceService.queryParams.sortDir=e.sortDir,this.deviceService.queryParams.filters&&this.filterControl.patchValue(this.deviceService.queryParams.filters)}navigateToServer(e,t){e.stopPropagation(),t&&this.router.navigate(["/servers",t],{queryParams:{viewOnly:!0}})}refreshList(e){this.refreshing=!0;let t="";this.deviceService.queryParams.refresh=!0;for(const s in this.deviceService.queryParams)this.deviceService.queryParams[s]&&(t+=[s]+"="+this.deviceService.queryParams[s]+"&");this.deviceService.refreshList(t,!e).subscribe(s=>{this.refreshing=!1,this.devices=s.data,e&&this.alert.newAlert("Success!","List has been refreshed","success")},s=>{this.refreshing=!1,e&&this.alert.newAlert("Error!",s.error,"danger")})}getDevices(){let e="";for(const t in this.deviceService.queryParams)this.deviceService.queryParams[t]&&(e+=[t]+"="+this.deviceService.queryParams[t]+"&");this.isLoading=!0,this.deviceService.getAllDevices(e).subscribe(t=>{this.devices=t.data,this.keepSelectedDevices(t.data),this.updatePaginationObject(t),this.isLoading=!1,this.refreshList(!1)},t=>{this.alert.newAlert("Error!",t.error,"danger"),this.isLoading=!1})}getLabels(){this.labelServcie.getLabels().subscribe(e=>{this.labels=e.data},e=>{this.alert.newAlert("Error!",e.error,"danger")})}selectLabelSuggestion(e){this.filterControl.patchValue(this.filterControl.value+" "+e),this.updateFilter(e)}getLabelSuggestions(e){"@label"===e&&(e="");const t=this.labels.filter(s=>-1!==s.title.toLowerCase().indexOf(e.toLowerCase()));this.labelSuggestions=t}keepSelectedDevices(e){this.selectedRows=e.filter(t=>-1!==this.selectedRows.map(s=>s.key).indexOf(t.key))}startPolling(){this.pollingInterval&&clearInterval(this.pollingInterval),this.pollingInterval=setInterval(()=>{!document.hidden&&this.router.url.split("/").length<3&&!this.sessionTimeoutService.countdownOpen&&!this.refreshing&&this.refreshList(!1)},3e4)}onRowSelect(e){this.pollingInterval&&clearInterval(this.pollingInterval),this.router.navigate(["/devices",e])}onSort(e){this.deviceService.queryParams.sort===e?"desc"===this.deviceService.queryParams.sortDir?this.deviceService.queryParams.sortDir="asc":(this.deviceService.queryParams.sort="",this.deviceService.queryParams.sortDir=""):(this.deviceService.queryParams.sort=e,this.deviceService.queryParams.sortDir="desc"),this.deviceService.queryParams.offset=0,this.updateQueryString()}getFilterSuggestions(e){const t=e.split(" "),s=t[t.length-1];"@label"===t[t.length-2]||"@label"===s?this.labelSelect=!0:this.labelSelect=!1,this.labelSelect?(this.getLabelSuggestions(s),this.suggestions=[]):this.suggestions=this.deviceService.getSuggestions(s)}updateFilter(e){"@label"===e?(this.labelSelect=!0,this.getLabelSuggestions("")):this.labelSelect=!1,!(this.deviceService.filterColumns.indexOf(e)>-1&&"is"!==e.substring(1,3))&&(this.deviceService.queryParams.filters=this.filterControl.value,this.deviceService.queryParams.offset=0,this.updateQueryString())}goToPage(e){e.active||e.disabled||(this.deviceService.queryParams.limit=e.limit,this.deviceService.queryParams.offset=e.offset,this.updateQueryString())}updateQueryString(){const e={};for(const t in this.deviceService.queryParams)this.deviceService.queryParams[t]&&(e[t]=this.deviceService.queryParams[t]);this.router.navigate(["/devices"],{queryParams:e})}updatePaginationObject(e){this.paginationComponent.updatePaginationObject(e.limit,e.offset,e.total),this.paginationComponent.updatePaginationLength(e.data.length)}updatePaginationTotal(e){this.paginationComponent.paginationObject.total+=e,this.paginationComponent.paginationObject.length+=e}pendingText(e){return this.deviceService.pendingText(e)}getContrastYIQ(e){return(299*parseInt(e.substr(1,2),16)+587*parseInt(e.substr(3,2),16)+114*parseInt(e.substr(5,2),16))/1e3>=165?"black":"white"}updateCheckedRows(e){this.selectedRows=e}deleteModalOpen(){this.hardDelete=!1}bulkResetDevices(){this.confirmBulkResetModal.close(),this.deviceService.emitProgressModal.emit({type:"start",message:`Resetting ${this.deviceString}.`}),this.deviceService.bulkResetDevices(this.selectedRows.map(e=>e.key)).subscribe(e=>{const t=e.filter(s=>!s.error).length;0===t?(this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:`Not able to reset the selected ${this.deviceString}.`}),this.alert.newAlert("Error",`Not able to reset the selected ${this.deviceString}.`,"danger")):t1?"devices":"device",this.deviceService.emitProgressModal.emit({type:"update",status:"success",message:`Reset ${this.selectedRows.length} ${this.deviceString}`}),this.alert.newAlert("Success",`Reset ${this.selectedRows.length} ${this.deviceString}`,"success")),this.getDevices()},e=>{this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:e.error}),this.alert.newAlert(`${e.errorcode}`,`${e.error}`,"danger"),this.getDevices()})}bulkUpdateDevices(){this.confirmBulkUpdateModal.close(),this.deviceService.emitProgressModal.emit({type:"start",message:`Sending update request to ${this.deviceString}.`}),this.deviceService.bulkUpdateDevices(this.devicesToUpdate).subscribe(e=>{const t=e.filter(s=>!s.error).length;0===t?(this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:`Not able to send update request to the selected ${this.deviceString}.`}),this.alert.newAlert("Error",`Not able to send update request to the selected ${this.deviceString}.`,"danger")):t{this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:e.error}),this.alert.newAlert(`${e.errorcode}`,`${e.error}`,"danger"),this.getDevices()})}bulkDeleteDevices(){this.confirmBulkDeletionModal.close(),this.deviceService.emitProgressModal.emit({type:"start",message:`Deleting ${this.deviceString}.`}),this.deviceService.bulkDeleteDevices(this.selectedRows.map(e=>e.key),this.hardDelete).subscribe(e=>{const t=e.filter(s=>!s.error).length;0===t?(this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:`Not able to delete the selected ${this.deviceString}.`}),this.alert.newAlert("Error",`Not able to delete the selected ${this.deviceString}.`,"danger")):t{this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:e.error}),this.alert.newAlert(`${e.errorcode}`,`${e.error}`,"danger"),this.getDevices()})}static#e=this.ctorParameters=()=>[{type:hw},{type:dn},{type:fr},{type:ni},{type:oh},{type:A0},{type:Document,decorators:[{type:qa,args:[Pn]}]}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}],paginationComponent:[{type:qe,args:[uh,{static:!0}]}],progressModalComponent:[{type:qe,args:[f_,{static:!0}]}],confirmBulkResetModal:[{type:qe,args:["confirmBulkResetModal",{static:!0}]}],confirmBulkUpdateModal:[{type:qe,args:["confirmBulkUpdateModal",{static:!0}]}],confirmBulkDeletionModal:[{type:qe,args:["confirmBulkDeletionModal",{static:!0}]}]}};EP=be([Ke({selector:"ue-devices-list",template:'
    \n\t
    \n\t\t\n\t
    \n\t\n\t
    \n\t\t
    \n\t\t\tSelect Label to Search: \n\t\t\t
      \n\t\t\t\t
    • \n\t\t\t\t\t\n\t\t\t\t\t{{label.title}}\n\t\t\t\t
    • \n\t\t\t
    \n\t\t
    \n\t\t\n\t\t\n\n\t\tAdd Device\n\t\tImport\n\t\t\x3c!-- Update All Devices --\x3e\n\t\t\n\t\t\n\t
    \n
    \n\n\n\n\n
    \n\t
    \n\t\t\x3c!-- context menu goes here --\x3e\n\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.name }}\n\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.merchant_company }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{deviceService.parseStatus(device.status)}}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ device.device_type }}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ device.device_type }}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{{ device.device_type }}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.env }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.make ? device.make : \'N/A\' }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.model ? device.model : \'N/A\' }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.key_pan ? device.key_pan : \'N/A\' }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.key_pin ? device.key_pin : \'N/A\' }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.device_ip ? device.device_ip : \'N/A\' }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t...{{ device.devicekey_masked }}\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t...{{ device.apikey_masked }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.serial ? device.serial : \'N/A\' }}\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ device.revision ? device.revision : \'N/A\' }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{pendingText(device)}} \t\n\t\t\t\t\tN/A \t\n\t\t\t\t\n\t\t\t\n\t\t\n\t
    \n
    \n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\t

    Confirm Bulk Delete

    \n\t
    \n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    You are about to remove {{this.selectedRows.length}} {{this.deviceString}} from your list. Are you sure you want to continue?
    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\tWarning! You are about to remove {{this.selectedRows.length}} {{this.deviceString}} from your list and the device manager. The {{this.deviceString}} will no longer exist and this action cannot be undone.\n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tClose\n\t\tDelete\n\t\n
    \n\n\n',styles:[kve()]})],EP);var Ive=x(3433),Ave=x.n(Ive);let vh=class{constructor(e,t){this.ueHttp=e,this.http=t,this.emitProgressModal=new Le,this.baseUrl="/api/DVPRTLFE/developers",this.url=`${this.baseUrl}/device_servers`,this.filterColumns=["@name","@status","@uptime","@revision","@clientip","@env"],this.queryParams={filters:"",limit:0,offset:0,total:0,sort:"name",sortDir:"desc",refresh:!1}}getServerList(e){let t=this.url;return e&&(t+="?"+e),this.ueHttp.get(t)}refreshList(e){let t=this.url;return e&&(t+="?"+e),this.queryParams.refresh=!1,this.ueHttp.get(t)}getServer(e){return this.ueHttp.get(this.url+"/"+e)}refreshServer(e){return this.getServer(e+"?refresh=true")}saveServer(e){return this.ueHttp.post(this.url,e)}deleteServer(e){return this.ueHttp.delete(this.url+"/"+e)}exportDevices(e){const t={headers:this.ueHttp.getAuthHeader(),responseType:"text"};return this.http.get(this.url+`/${e}/export`,t)}getSuggestions(e){e=e.toLowerCase();const s=this.filterColumns.filter(r=>-1!==(r=r.toLowerCase()).indexOf(e));return[].concat(s)}static#e=this.ctorParameters=()=>[{type:fo},{type:_c}];static#t=this.propDecorators={emitProgressModal:[{type:nt}]}};vh=be([fl(),ks()],vh);let xP=class{constructor(e,t,s,r,o,c,d,h,m){this.router=e,this.route=t,this.formBuilder=s,this.serverService=r,this.deviceService=o,this.authService=c,this.sessionTimeoutService=d,this.labelService=h,this.el=m,this.servers=[],this.isLoading=!1,this.refreshing=!1,this.hardDelete=!1,this.deleteModalIsOpen=!1,this.brandingName="",this.deviceType=1,this.showValidation=!1,this.deviceError=!1,this.disableSave=!1,this.confirmUpdateModalOpen=!1,this.canEdit=this.authService.checkPermissions("devices_edit"),this.canDelete=this.authService.checkPermissions("devices_delete"),this.editLabels=!1,this.addLabel=!1,this.editLabelMode=!1,this.labelsLoading=!1,this.labels=[],this.labelKeysOnLoad=[],this.colorSuggestions=["#f07f80","#ffa07a","#f3f2a5","#90ef90","#b4fefb","#add8e6","#d98ed9","#d3d3d3","#ff0002","#ffa502","#fffc7a","#007f00","#02fff4","#0000ff","#d026d0","#a4a4a4","#8a0000","#ff8b00","#d7d401","#006400","#00c5bd","#00018a","#7f017f","#000000"]}ngOnInit(){const e=this.route.snapshot.params;"new"===e.key?(this.getServers(),this.isNew=!0,this.initForm(1)):(this.isNew=!1,this.isLoading=!0,this.deviceService.getDevice(e.key,!1).subscribe(t=>{this.initExistingForm(t),this.initNewLabelForm(),this.isLoading=!1,this.device=t,this.labelKeysOnLoad=this.device.labels.map(s=>s.key),"deleted"===this.device.status?this.canEdit=!1:(this.refreshDevice(!1),this.pollingInterval=this.startPolling())},t=>{this.isLoading=!1,this.deviceError=!0,this.alert.newAlert("Error!",t.error,"danger")}))}ngAfterViewInit(){this.el.nativeElement.querySelector(".modal-content").addEventListener("mousedown",this.outsideClick.bind(this))}ngOnDestroy(){this.typeSubscription&&this.typeSubscription.unsubscribe(),this.pollingInterval&&clearInterval(this.pollingInterval)}getServers(){this.serverService.getServerList().subscribe(e=>{this.servers=e.data})}deviceTypeChange(e){const t=parseInt(e,10);this.deviceType=t,this.initForm(t)}initExistingForm(e){this.deviceForm=this.formBuilder.group({name:[e.name,it.required],key:e.key,notify_update:e.notify_update,notify_update_next:e.notify_update_next,update_available:e.update_available,disabled:e.disabled}),this.canEdit||this.deviceForm.disable()}initForm(e){this.typeSubscription&&this.typeSubscription.unsubscribe(),1===e&&(this.deviceForm=this.formBuilder.group({register_new_device:[1,it.required],name:["",it.required],device_type:["",this.floatValidator],apikey:["",it.required],apipin:["",it.required],server_key:[""],device_ip:[""],make:[""],env:[""]},{validator:this.formValidation}),this.typeSubscription=this.deviceForm.get("device_type").valueChanges.subscribe(t=>{("standalone"===t||"direct"===t)&&(this.deviceForm.get("server_key").patchValue(""),this.deviceForm.get("device_ip").patchValue(""),this.deviceForm.get("make").patchValue("")),"managed"===t&&this.deviceForm.get("env").patchValue("")})),0===e&&(this.deviceForm=this.formBuilder.group({register_new_device:[0,it.required],apikey:["",it.required],apipin:["",it.required],device_key:["",it.required],env:["",it.required]})),this.canEdit||this.deviceForm.disable()}floatValidator(e){return""===e.value?{required:!0}:null}validateManaged(e){return e.parent&&"managed"===e.parent.get("device_type").value&&e.value.length>0?null:{required:!0}}formValidation(e){if("managed"===e.get("device_type").value){const t={};return 0===e.get("server_key").value.length&&(t.server_key=!0),!1===/^(([1-9]?\d|1\d\d|2[0-5][0-5]|2[0-4]\d)\.){3}([1-9]?\d|1\d\d|2[0-5][0-5]|2[0-4]\d)(:\d{4})?$/gm.test(e.get("device_ip").value)&&(t.device_ip=!0),0===e.get("make").value.length&&(t.make=!0),t.server_key||t.device_ip||t.make?t:null}if("standalone"===e.get("device_type").value||"direct"===e.get("device_type").value){const t={};return 0===e.get("env").value.length&&(t.env=!0),t.env?t:null}return null}hasError(e,t){return!!e&&-1!==Object.keys(e).indexOf(t)}hasServers(){return this.servers.length>0}showButton(e){switch(e){case"delete":return!this.isNew&&!this.deviceError&&!!this.device&&this.canDelete;case"refresh":return!!this.device&&"deleted"!==this.device.status;case"reset":return!(!this.device||!this.canEdit)&&"deleted"!==this.device.status;case"apply":case"save":return!!this.canEdit&&!this.deviceError;case"update_name":return!!this.canEdit&&(!this.isNew&&!this.deviceError);case"update":return!!this.canEdit&&this.device.update_available;case"branding":return!(!this.canEdit||"connected"!==this.device.status)&&"Ingenico"===this.device.make;default:return!1}}saveDevice(e){if(this.deviceForm.invalid)return this.showValidation=!0,this.alert.newAlert("Error!","Please fill in all required fields.","danger");if(this.showValidation=!1,this.disableSave=!0,this.isNew)this.deviceService.saveNewDevice(this.deviceForm.value).subscribe(t=>{this.disableSave=!1,this.alert.newAlert("Success!","Device has been added successfully.","success"),e?this.router.navigate(["devices"],{queryParams:{updated:!0}}):(this.isNew=!1,this.device=t,this.initExistingForm(t),this.deviceForm.markAsPristine(),this.router.navigate(["/devices",t.key],{replaceUrl:!0}))},t=>{this.disableSave=!1,this.alert.newAlert("Error!",t.error,"danger")});else{const t=this.deviceForm.value;this.labelsChanged()&&(t.labels=this.device.labels.map(s=>s.key)),this.deviceService.saveDevice(t).subscribe(s=>{this.disableSave=!1,this.alert.newAlert("Success!","Device has been saved successfully.","success"),e?this.router.navigate(["devices"],{queryParams:{updated:!0}}):(this.device=s,this.deviceForm.markAsPristine(),this.router.navigate(["."],{replaceUrl:!0,relativeTo:this.route}))},s=>{this.disableSave=!1,this.alert.newAlert("Error!",s.error,"danger")})}}updateDeviceFormName(e){this.deviceForm.patchValue({name:e}),this.deviceForm.markAsDirty()}refreshDevice(e){this.refreshing=!0,this.deviceService.refreshDevice(this.device.key,!e).subscribe(t=>{this.refreshing=!1,e&&this.alert.newAlert("Success!","Successfully refreshed device.","success"),this.device=t,this.deviceForm.patchValue(t)},t=>{this.refreshing=!1,21121===t.errorcode?(this.device.status="deleted",e&&this.alert.newAlert("Warning!",t.error,"warning")):e&&this.alert.newAlert("Error!",t.error,"danger")})}resetDevice(){this.deviceService.emitProgressModal.emit({type:"start",message:"Resetting device"}),this.deviceService.resetDevice(this.device.key).subscribe(e=>{this.deviceService.emitProgressModal.emit({type:"update",status:"success",message:"Successfully reset device"}),this.alert.newAlert("Success!","Successfully reset device.","success"),this.device=e,this.deviceForm.patchValue(e)},e=>{this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:e.error}),this.alert.newAlert("Error!",e.error,"danger")})}deleteDevice(){this.confirmDeleteModal.close(),this.deviceService.deleteDevice(this.device.key,this.hardDelete).subscribe(e=>{this.alert.newAlert("Success!","You have successfully deleted the device.","success"),this.modal.close()},e=>{this.alert.newAlert("Error!",e.error,"danger")})}updateDeviceVersion(){"Update Available"===this.pendingText()?(this.deviceService.emitProgressModal.emit({type:"start",message:"Sending update to device"}),this.deviceService.updateDeviceVersion(this.device.key).subscribe(e=>{this.deviceService.emitProgressModal.emit({type:"update",status:"success",message:"Successfully sent update to device"}),this.confirmUpdateModal.close(),this.device=e,this.alert.newAlert("Success!","An update has been sent to the device.","success")},e=>{this.deviceService.emitProgressModal.emit({type:"update",status:"error",message:e.error}),this.alert.newAlert("Error!","There was an error sending an update to the device.","danger")})):this.alert.newAlert("Error!","There was no update available.","danger")}openUpdateModal(){this.confirmUpdateModal.open()}open(){this.confirmUpdateModalOpen=!0}close(){this.confirmUpdateModalOpen=!1}startPolling(){return setInterval(()=>{this.deviceForm.pristine&&!document.hidden&&!this.sessionTimeoutService.countdownOpen&&!this.refreshing&&this.refreshDevice(!1)},3e4)}closeModal(){this.deviceForm.pristine?this.isNewAppWindow()?this.router.navigate(["/devices"]):this.modal.close():this.confirmAbandonModal.open()}abandonChanges(){this.confirmAbandonModal.close(),this.modal.close()}deleteModalOpen(){this.hardDelete=!1,this.deleteModalIsOpen=!0}deleteModalClose(){this.deleteModalIsOpen=!1}assignBranding(){this.brandingModal.close(),this.isLoading=!0,this.deviceService.assignBranding(this.device.key,this.brandingName).subscribe(e=>{this.isLoading=!1,this.brandingName="",this.alert.newAlert("Success","branding package sent to device.","success")},e=>{this.isLoading=!1,this.alert.newAlert("Error",e.error,"danger")})}pendingText(){return this.deviceService.pendingText(this.device)}isNewAppWindow(){return 1===this.router.navigationId}openLabelDropdown(){this.editLabels=!this.editLabels,this.addLabel=!1,this.editLabels&&this.getLabels()}outsideClick(e){this.editLabels&&!this.el.nativeElement.querySelector("div.edit-labels-dropdown").contains(e.target)&&(this.editLabels=!1)}getLabels(){this.labelsLoading=!0,this.labelService.getLabels().subscribe(e=>{this.labelsLoading=!1,this.labels=e.data},e=>{this.labelsLoading=!1,this.alert.newAlert("Error!",e.error,"danger")})}closeLabels(){this.editLabelMode=!1,this.editLabels=!1}initNewLabelForm(){this.newLabelForm=this.formBuilder.group({title:["",it.required],bgcolor:["",it.required]})}populateColor(e){this.newLabelForm.get("bgcolor").patchValue(e)}handleAddNewLabel(){this.editLabelMode=!1,this.addLabel=!0,this.newLabelForm.reset()}addNewLabel(){this.labelsLoading=!0,this.labelService.addLabel(this.newLabelForm.value).subscribe(e=>{this.addLabel=!1,this.newLabelForm.reset(),this.getLabels()},e=>{this.labelsLoading=!1,this.alert.newAlert("Error!",e.error,"danger")})}checkLabel(e){return-1!==this.device.labels.map(s=>s.key).indexOf(e)}handleLabelClick(e,t){if(!this.editLabelMode)if(this.deviceForm.markAsDirty(),t){const r=this.device.labels.map(o=>o.key).indexOf(e.key);this.device.labels.splice(r,1)}else this.device.labels.push(e)}labelsChanged(){const e=this.device.labels.map(t=>t.key);return this.labelKeysOnLoad.length!==e.length||(this.labelKeysOnLoad.forEach(t=>{e.forEach((s,r)=>{s!==t||e.splice(r,1)})}),e.length>0)}handleClickEdit(e){this.labelEditTarget=e,this.newLabelForm.get("title").patchValue(e.title),this.newLabelForm.get("bgcolor").patchValue(e.bgcolor),this.addLabel=!0}handleClickDelete(e){this.labelDeleteTarget=e,this.confirmLabelDeletionModal.open()}handleEditLabelConfirm(){this.confirmLabelEditModal.open()}updateLabel(){this.confirmLabelEditModal.close(),this.labelsLoading=!0,this.labelService.updateLabel(this.labelEditTarget.key,this.newLabelForm.value).subscribe(e=>{this.addLabel=!1,this.editLabelMode=!1;const t=this.device.labels.map(s=>s.key).indexOf(this.labelEditTarget.key);t>-1&&(this.device.labels[t].title=this.newLabelForm.get("title").value,this.device.labels[t].bgcolor=this.newLabelForm.get("bgcolor").value),this.newLabelForm.reset(),this.getLabels()},e=>{this.labelsLoading=!1,this.alert.newAlert("Error!",e.error,"danger")})}labelDelete(e){this.editLabelMode=!1,this.labelsLoading=!0,this.confirmLabelDeletionModal.close(),this.labelService.removeLabel(e).subscribe(t=>{const s=this.device.labels.map(r=>r.key).indexOf(e);-1!==s&&this.device.labels.splice(s,1),this.getLabels()},t=>{this.alert.newAlert("Error!",t.error,"danger")})}getContrastYIQ(e){return(299*parseInt(e.substr(1,2),16)+587*parseInt(e.substr(3,2),16)+114*parseInt(e.substr(5,2),16))/1e3>=165?"black":"white"}handleLabelFormSubmit(){this.editLabelMode?this.updateLabel():this.addNewLabel()}static#e=this.ctorParameters=()=>[{type:dn},{type:fr},{type:ir},{type:vh},{type:hw},{type:ni},{type:oh},{type:A0},{type:pn}];static#t=this.propDecorators={modal:[{type:qe,args:["modal",{static:!0}]}],brandingModal:[{type:qe,args:["brandingModal",{static:!0}]}],confirmDeleteModal:[{type:qe,args:["confirmDeleteModal",{static:!0}]}],confirmAbandonModal:[{type:qe,args:["confirmAbandonModal",{static:!0}]}],confirmLabelEditModal:[{type:qe,args:["confirmLabelEditModal",{static:!0}]}],confirmLabelDeletionModal:[{type:qe,args:["confirmLabelDeletionModal",{static:!0}]}],confirmUpdateModal:[{type:qe,args:["confirmUpdateModal",{static:!0}]}],alert:[{type:qe,args:[mi,{static:!0}]}]}};xP=be([Ke({selector:"ue-device-detail",template:'\n\t\n\t\t
    \n\t\t\t

    Device is Unavailable

    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- Status Indicator --\x3e\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t {{device.status}}

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t {{device.status}}

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\x3c!-- End of Status Indicator --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tDevice Key:\n\t\t\t\t\t\t\t{{device.devicekey}}\n\t\t\t\t\t\t\tNot Available\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tModel:\n\t\t\t\t\t\t\t{{device.model}}\n\t\t\t\t\t\t\tNot Available\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tSerial #:\n\t\t\t\t\t\t\t{{device.serial}}\n\t\t\t\t\t\t\tNot Available\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tServer:\n\t\t\t\t\t\t\t{{device.server_name}}\n\t\t\t\t\t\t\tNot Available\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{pendingText()}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    Add Device

    \n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\t\n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t\x3c!--------- Labels --------------\x3e\n\t\t\t\t
    \n\t\t\t\t\tLabels\n\t\t\t\t\tEdit\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{{label.title}}\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tAssign Lables\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{{label.title}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\tCreate New Label\n\t\t\t\t\t\tEdit Label\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\x3c!--------- End of Labels --------------\x3e\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tPairing Code: {{device.pairing_code}}\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tStatus: {{device.status}}\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tAPI Key ID:\n\t\t\t\t\t\t...{{device.apikey_masked}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tEnvironment:\n\t\t\t\t\t\t{{device.env}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tMerchant Company:\n\t\t\t\t\t\t{{device.merchant_company}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tDevice Type:\n\t\t\t\t\t\t{{device.device_type}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tRevision:\n\t\t\t\t\t\t{{device.revision ? device.revision : \'N/A\'}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tDevice IP:\n\t\t\t\t\t\t{{device.device_ip ? device.device_ip : \'N/A\'}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tKey Pan:\n\t\t\t\t\t\t{{device.key_pan ? device.key_pan : \'N/A\'}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tKey Pin:\n\t\t\t\t\t\t{{device.key_pin ? device.key_pin : \'N/A\'}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tCreated By:\n\t\t\t\t\t\t{{device.created_by ? device.created_by : \'N/A\'}}\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tModified By:\n\t\t\t\t\t\t{{device.modified_by ? device.modified_by : \'N/A\'}}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tThis device no longer exists in the device manager. You must manually delete it from the list.\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\tSettings\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\tActions\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!-- FORM FOR NEW DEVICE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\x3c!----\x3e\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END FORM FOR NEW DEVICE --\x3e\n\n\t\t\t\t\t\x3c!-- FORM FOR REGISTERED DEVICE --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\x3c!-- END FORM FOR REGISTERED DEVICE --\x3e\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tClose\n\t\tDelete\n\t\tApply\n\t\tSave\n\t\n
    \n\n\n\t\n\t\t

    Confirm Update: {{device?.name}}

    \n\t
    \n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\tYou are about to send an update to {{device?.name}}. Are you sure you want to continue?\n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tClose\n\t\t Confirm\n\t\n
    \n\n\n\t\n\t\t

    Confirm Delete: {{device?.name}}

    \n\t
    \n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\tYou are about to remove this device from the list but will continue to exist in the device manager. You can still add this device back at any time.\n\t\t\t\t
    \n\t\t\t\tAre you sure you want to continue?\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\tWarning! You are about to remove this device from your list and the device manager. The device will no longer exist and this action cannot be undone.\n\t\t\t
    \n\t\t\t
    \n\t\t\t\tWarning! You are about to remove this device from your list and the device manager. The device will no longer exist and this action cannot be undone.\n\t\t\t\t
    \n\t\t\t\tAre you sure you want to continue?\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\tWarning! You are about to remove this device from your list and the device manager. The device will no longer exist and this action cannot be undone.\n\t\t\t\t
    \n\t\t\t\tAre you sure you want to continue?\n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\tThis device no longer exists in the device manager. Click confirm to remove this device from your list.\n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tClose\n\t\tConfirm\n\t\n
    \n\n\n\t\n\t\t

    Send Branding Package

    \n\t
    \n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\tEnter the name of the branding package you would like to send to this device:\n\t\t\t
    \n\t\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tClose\n\t\tSend\n\t\n
    \n\n\n\n\n\n\n\n\n\n',styles:[Ave()]})],xP);const Lve=[{path:"",component:EP,children:[{path:":key",component:xP}]}];let Zj=class{};Zj=be([fi({imports:[xi.forChild(Lve)],exports:[xi]})],Zj);var Rve=x(2525),Ove=x.n(Rve),Nve=x(262),Fve=x.t(Nve,2);class gE{constructor(){this._papa=Fve}parse(e,t){return this._papa.parse(e,t)}unparse(e,t){return this._papa.unparse(e,t)}setLocalChunkSize(e){this._papa.LocalChunkSize=e}setRemoteChunkSize(e){this._papa.RemoteChunkSize=e}setDefaultDelimiter(e){this._papa.DefaultDelimiter=e}get badDelimiters(){return this._papa.BAD_DELIMITERS}get recordSeparator(){return this._papa.RECORD_SEP}get unitSeparator(){return this._papa.UNIT_SEP}get workersSupported(){return this._papa.WORKERS_SUPPORTED}static#e=this.\u0275fac=function(t){return new(t||gE)};static#t=this.\u0275prov=Ae({token:gE,factory:gE.\u0275fac,providedIn:"root"})}let Jj=class{constructor(e,t,s,r){this.deviceService=e,this.serverService=t,this.fb=s,this.papa=r,this.completed=!1,this.saveSuccess=0,this.parseTotal=0,this.errors=[],this.servers=[],this.showValidation=!1,this.output=[],this.hideModal=!1,this.refreshDevices=new Le}ngOnInit(){this.getServers(),this.createForm(),this.formSubscription=this.subscribeToDeviceType()}createForm(){this.importForm=this.fb.group({server_key:[""],device_type:["",it.required],make:[""],env:[""]},{validator:this.formValidator})}formValidator(e){if("managed"===e.get("device_type").value){const t={};return 0===e.get("server_key").value.length&&(t.server_key=!0),0===e.get("make").value.length&&(t.make=!0),Object.keys(t).length>0?t:null}{const t={};return 0===e.get("env").value.length&&(t.env=!0),Object.keys(t).length>0?t:null}}subscribeToDeviceType(){return this.importForm.get("device_type").valueChanges.subscribe(e=>{"standalone"===e&&this.importForm.get("server_key").patchValue(""),"managed"===e&&this.importForm.get("env").patchValue("")})}open(){this.modal.open()}getServers(){this.serverService.getServerList().subscribe(e=>{this.servers=e.data})}checkForValidationErrors(e){this.importForm.invalid?(e.preventDefault(),this.alert.newAlert("Error","Please fill in all required fields","danger"),this.showValidation=!0):(this.alert.closeAlert(),this.showValidation=!1)}onFileChange(e){if(this.importForm.invalid)return;this.hideModal=!0,this.progressModal.startModal("Parsing your file",0);const t=e.target.files[0];this.papa.parse(t,{header:!0,step:(s,r)=>{r.pause(),this.handleRow(s,()=>{this.parseTotal++,this.progressModal.updateTitle(`Devices parsed: ${this.parseTotal} Saved: ${this.saveSuccess} Errors: ${this.parseTotal-this.saveSuccess}`),r.resume()})},error:(s,r)=>{this.alert.newAlert("Error","There was an error reading your file","danger")},complete:()=>{this.hideModal=!1,this.completed=!0,this.closeProgressModal(),this.saveOutputCSV(),this.refreshDevices.emit()}})}handleRow(e,t){const s=Array.isArray(e.data)?e.data[0]:e.data,r=Object.assign({reason:"n/a",saved:!1,devicekey:"n/a"},s);if(e.errors.length>0)return r.saved=!1,r.reason=e.errors[0].type+": "+e.errors[0].message,this.output.push(r),void t();const o=this.checkRequiredFields(s,["device_name","device_ip","apikey","apipin"]);if(o.length>0)return r.saved=!1,r.reason=o,this.output.push(r),void t();this.saveDevice(s,(c,d)=>{c?(r.saved=!1,r.reason=c):(this.saveSuccess++,r.devicekey=d,r.saved=!0),this.output.push(r),t()})}saveDevice(e,t){const s={apikey:e.apikey,apipin:e.apipin,device_ip:e.device_ip,device_type:this.importForm.get("device_type").value,env:this.importForm.get("env").value,make:this.importForm.get("make").value,name:e.device_name,register_new_device:1,server_key:this.importForm.get("server_key").value};this.deviceService.saveNewDevice(s).subscribe(r=>{t(null,r.devicekey)},r=>{t(`${r.errorcode} - ${r.error}`)})}closeProgressModal(){this.parseTotal===this.saveSuccess?this.progressModal.updateModal("success","Import complete."):this.progressModal.updateModal("error","Import finished with errors.")}saveOutputCSV(){const e=this.papa.unparse({fields:["Store","DBA","device_name","apikey","apipin","device_ip","devicekey","saved","reason"],data:this.output});this.outputCsvLink=document.createElement("a"),this.outputCsvLink.href="data:attachment/csv,"+encodeURIComponent(e),this.outputCsvLink.target="_blank";const t=new Date,s=`${t.getFullYear()}_${t.getDay()}_${t.getDay()}_${t.getHours()}_${t.getMinutes()}`;this.outputCsvLink.download=`import_devices_result_${s}.csv`,document.body.appendChild(this.outputCsvLink)}checkRequiredFields(e,t){const s=[];return t.forEach(r=>{-1===Object.keys(e).indexOf(r)&&s.push(`field ${r} is not defined for row`),""===e[r]&&s.push(Error(`field ${r} is empty for row`))}),s.join(" | ")}resetForm(){this.fileUploadElement&&(this.fileUploadElement.value=null),this.createForm(),this.completed=!1,this.output=[],this.parseTotal=0,this.saveSuccess=0}ngOnDestroy(){this.formSubscription&&this.formSubscription.unsubscribe()}static#e=this.ctorParameters=()=>[{type:hw},{type:vh},{type:ir},{type:gE}];static#t=this.propDecorators={modal:[{type:qe,args:["modal",{static:!0}]}],fileUploadElement:[{type:qe,args:["fileUpload"]}],alert:[{type:qe,args:[mi,{static:!0}]}],progressModal:[{type:qe,args:[f_,{static:!0}]}],refreshDevices:[{type:nt}]}};Jj=be([Ke({selector:"ue-device-import",template:'\n\t\n\t\t

    Import New Devices

    \n\t
    \n\t\n\t\t\n\n\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\n\t\t
    \n\n\t\t
    \n\t\t\t

    Total Attempted: {{parseTotal}}

    \n\t\t\t

    Successfully Saved: {{saveSuccess}}

    \n\t\t\t

    Errors: {{parseTotal - saveSuccess}}

    \n\t\t\t\n\t\t\tDownload Import Results\n\t\t
    \n\n\t
    \n\t\n\t\tClose\n\t\t\x3c!-- Extend Session --\x3e\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\n
    \n\n\n',styles:[Ove()]})],Jj);let eV=class{};eV=be([fi({imports:[Au,Zj],declarations:[EP,xP,Jj],providers:[hw,vh]})],eV);var Bve=x(4385),jve=x.n(Bve);let kP=class{constructor(e,t,s,r,o){this.serverService=e,this.router=t,this.route=s,this.ueWindow=r,this.authService=o,this.servers=[],this.canCreate=this.authService.checkPermissions("servers_create"),this.selectedRows=[],this.dataForExport=[],this.menuItemsSelected=[{icon:"fa fa-download",label:"Export Selected",command:()=>{this.selectedRows.length>0?this.exportDevices(!1):this.alert.newAlert("Error!","Please select at least one server for export.","danger")}}],this.menuItemsAll=[{icon:"fa fa-download",label:"Export All",command:()=>{this.exportDevices(!0)}}],this.filterControl=new Jv}ngOnInit(){this.subscribeProgressModal(),this.updateServiceQueryParams(),this.getServerList(),this.routerEventsSubscription=this.router.events.pipe(fs(e=>e instanceof po&&(0===this.route.children.length||0===this.servers.length)),fs(()=>!this.handleQueryParamAlerts())).subscribe(()=>{this.getServerList()})}ngOnDestroy(){this.progressModalSubscription.unsubscribe(),this.routerEventsSubscription.unsubscribe()}handleQueryParamAlerts(){const e=this.route.snapshot.queryParams;return"true"===e.isNew?(this.alert.newAlert("Success","Server created","success"),this.router.navigate(["servers"],{replaceUrl:!0}),!0):e.deletedServer?(this.alert.newAlert("Success",`Server (${e.deletedServer}) and its associated devices have been deleted.`,"success"),this.router.navigate(["servers"],{replaceUrl:!0}),!0):"true"===e.updated?(this.alert.newAlert("Success","Server information has been successfully saved","success"),this.router.navigate(["servers"],{replaceUrl:!0}),!0):(this.updateServiceQueryParams(),!1)}getServerList(){let e="";for(const t in this.serverService.queryParams)this.serverService.queryParams[t]&&(e+=[t]+"="+this.serverService.queryParams[t]+"&");this.isLoading=!0,this.serverService.getServerList(e).subscribe(t=>{this.servers=t.data,this.updatePaginationObject(t),this.keepSelectedServers(t.data),this.isLoading=!1},t=>{this.alert.newAlert("Error!",t.error,"danger"),this.isLoading=!1})}refreshList(){let e="";this.serverService.queryParams.refresh=!0;for(const t in this.serverService.queryParams)this.serverService.queryParams[t]&&(e+=[t]+"="+this.serverService.queryParams[t]+"&");this.progressModalComponent.startModal("Refreshing server list"),this.serverService.refreshList(e).subscribe(t=>{this.progressModalComponent.updateModal("success","Servers have been refreshed."),this.servers=t.data,this.keepSelectedServers(this.servers)},t=>{this.progressModalComponent.updateModal("error","There was an error refreshing servers."),this.alert.newAlert("Error!",t.error,"danger")})}onRowSelect(e){this.router.navigate(["/servers",e])}updateCheckedRows(e){this.selectedRows=e}exportDevices(e){let t=[];e&&(this.selectedRows=this.servers.map(r=>r)),this.selectedRows.map(r=>{t.push(r.key)});let s=[];for(let r=0;r{this.dataForExport.push("serial,devicekey,device_name,merchant_company,apikey_masked,device_type,server_name,status,env"),r.map(d=>{const h=d.slice(94,-1);this.dataForExport.push(h)});const o=this.dataForExport.join(""),c=document.createElement("a");c.href="data:attachment/csv;charset=utf-8,"+encodeURIComponent(o),c.target="_self",c.download="servers.csv",document.body.appendChild(c),c.click(),c.remove()}),t=[],s=[],this.dataForExport=[],this.selectedRows=[]}keepSelectedServers(e){this.selectedRows=e.filter(t=>-1!==this.selectedRows.map(s=>s.key).indexOf(t.key))}getStatusColor(e){switch(e){case"connected":return"#55915B";case"offline":return""}}subscribeProgressModal(){this.progressModalSubscription=this.serverService.emitProgressModal.subscribe(e=>{"start"===e.type?this.progressModalComponent.startModal(e.message):"update"===e.type&&this.progressModalComponent.updateModal(e.status,e.message)})}updateQueryString(){const e={};for(const t in this.serverService.queryParams)this.serverService.queryParams[t]&&(e[t]=this.serverService.queryParams[t]);this.router.navigate(["/servers"],{queryParams:e})}updateServiceQueryParams(){const e=this.route.snapshot.queryParams;this.serverService.queryParams.limit=e.limit,this.serverService.queryParams.offset=e.offset,this.serverService.queryParams.sort=e.sort,this.serverService.queryParams.sortDir=e.sortDir,this.serverService.queryParams.filters=e.filters,this.filterControl.patchValue(this.serverService.queryParams.filters)}updateFilter(e){this.serverService.filterColumns.indexOf(e)>-1||(this.serverService.queryParams.filters=this.filterControl.value,this.serverService.queryParams.offset=0,this.updateQueryString())}getFilterSuggestions(e){const t=e.split(" "),s=t[t.length-1];this.suggestions=this.serverService.getSuggestions(s)}onSort(e){this.serverService.queryParams.sort===e?"desc"===this.serverService.queryParams.sortDir?this.serverService.queryParams.sortDir="asc":(this.serverService.queryParams.sort="",this.serverService.queryParams.sortDir=""):(this.serverService.queryParams.sort=e,this.serverService.queryParams.sortDir="desc"),this.serverService.queryParams.offset=0,this.updateQueryString()}updatePaginationObject(e){this.paginationComponent.updatePaginationObject(e.limit,e.offset,e.total),this.paginationComponent.updatePaginationLength(e.data.length)}updatePaginationTotal(e){this.paginationComponent.paginationObject.total+=e,this.paginationComponent.paginationObject.length+=e}goToPage(e){e.active||e.disabled||(this.serverService.queryParams.limit=e.limit,this.serverService.queryParams.offset=e.offset,this.updateQueryString())}static#e=this.ctorParameters=()=>[{type:vh},{type:dn},{type:fr},{type:n_},{type:ni}];static#t=this.propDecorators={paginationComponent:[{type:qe,args:[uh,{static:!0}]}],alert:[{type:qe,args:[mi,{static:!0}]}],progressModalComponent:[{type:qe,args:[f_,{static:!0}]}]}};kP=be([Ke({selector:"ue-server-list",template:'
    \n\t
    \n\t\t\n\t
    \n\t\n\t
    \n\t\t\n\t\t\n\t\tRefresh\n\t\tExport All\n\t\tAdd Device Server\n\t
    \n
    \n\n\n\n\n
    \n\t
    \n\t\t\x3c!-- context menu goes here --\x3e\n\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{server.status}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{server.uptime | ueSeconds}}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t
    \n
    \n\n\n\n\n',styles:[jve()]})],kP);var Hve=x(3617),Uve=x.n(Hve);let TP=class{constructor(e,t,s,r,o,c){this.router=e,this.serverService=t,this.route=s,this.formBuilder=r,this.ueWindow=o,this.authService=c,this.viewOnly=!1,this.showValidation=!1,this.canEdit=this.authService.checkPermissions("servers_edit"),this.canCreate=this.authService.checkPermissions("servers_create"),this.canDelete=this.authService.checkPermissions("servers_delete")}ngOnInit(){const e=this.route.snapshot.params.key;this.handleQueryParams(),"new"===e?(this.isNew=!0,this.initForm()):(this.isNew=!1,this.isLoading=!0,this.serverService.getServer(e).subscribe(t=>{this.isLoading=!1,this.server=t},t=>{this.alert.newAlert("Error!",t.error,"danger")}))}handleQueryParams(){this.route.snapshot.queryParams.viewOnly&&(this.viewOnly=!0)}initForm(){this.serverForm=this.formBuilder.group({name:["",it.required],pairing_code:["",it.required],env:["",it.required]}),this.canEdit||this.serverForm.disable()}saveServer(e){if(this.serverForm.invalid)return this.showValidation=!0,this.alert.newAlert("Error!","Please fill in all required fields.","danger");this.showValidation=!1,this.serverService.saveServer(this.serverForm.value).subscribe(t=>{this.isNew=!1,this.server=t,e?(this.router.navigate(["servers"],{queryParams:{updated:!0}}),this.modal.close()):(this.alert.newAlert("Success!","Device server was added successfully.","success"),this.router.navigate(["/servers",this.server.key],{replaceUrl:!0}))},t=>{this.alert.newAlert("Error!",t.error,"danger")})}refreshServer(){this.serverService.emitProgressModal.emit({type:"start",message:"Refreshing server"}),this.serverService.refreshServer(this.server.key).subscribe(e=>{this.serverService.emitProgressModal.emit({type:"update",status:"success",message:"Successfully refreshed server"}),this.alert.newAlert("Success!","Successfully refreshed server.","success"),this.server=e},e=>{this.serverService.emitProgressModal.emit({type:"update",status:"error",message:e.error}),this.alert.newAlert("Error!",e.error,"danger")})}exportDevices(){this.serverService.exportDevices(this.server.key).subscribe(e=>{const t=document.createElement("a");t.href="data:attachment/csv;charset=utf-8,"+encodeURIComponent(e),t.target="_self",t.download="server.csv",document.body.appendChild(t),t.click(),t.remove()},e=>{this.alert.newAlert(e.errorcode,e.error,"danger")})}closeModal(){if(this.isNewAppWindow())return this.router.navigate(["/servers"]);this.modal.close()}isNewAppWindow(){return 1===this.router.navigationId}static#e=this.ctorParameters=()=>[{type:dn},{type:vh},{type:fr},{type:ir},{type:n_},{type:ni}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}],modal:[{type:qe,args:["modal",{static:!0}]}]}};TP=be([Ke({selector:"ue-server-detail",template:'\n\t\n\t\t

    {{server.name}}

    \n\t\t

    Add Device Server

    \n\t
    \n\t\n\t\t\n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t

    \n\t\t\t\t\t {{server.status}}\n\t\t\t\t

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tClient IP: {{server.clientip}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tEnvironment: {{server.env}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tUptime: {{server.uptime | ueSeconds}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tRevision: {{server.revision}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tConnected: {{server.connected_devices}}\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\tRegistered: {{server.registered_devices}}\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t
    \n\t\n\t\tDelete\n\t\tClose\n\t\tExport Devices\n\t\tRefresh\n\t\tApply\n\t\tSave\n\t\n
    \n\n',styles:[Uve()]})],TP);const $ve=[{path:"",component:kP,children:[{path:":key",component:TP}]}];let tV=class{};tV=be([fi({imports:[xi.forChild($ve)],exports:[xi]})],tV);var Wve=x(6885),qve=x.n(Wve);let nV=class{constructor(e,t){this.serverService=e,this.router=t,this.isOpen=!1,this.hardDeleteConfirmed=!1}ngOnInit(){}open(){this.modal.open()}onConfirmDeleteModalOpen(){this.isOpen=!0,this.hardDeleteConfirmed=!1}onConfirmDeleteModalClose(){this.isOpen=!1}deleteServer(){this.serverService.deleteServer(this.server.key+"?hard_delete=true").subscribe(e=>{this.router.navigate(["/servers"],{queryParams:{deletedServer:this.server.name}})},e=>{this.alert.newAlert("Error!",e.error,"danger")})}static#e=this.ctorParameters=()=>[{type:vh},{type:dn}];static#t=this.propDecorators={server:[{type:G,args:["server"]}],modal:[{type:qe,args:["modal",{static:!0}]}],alert:[{type:qe,args:[mi,{static:!0}]}]}};nV=be([Ke({selector:"ue-delete-server-modal",template:'\n\t\n\t\t

    Confirm Delete: {{server?.name}}

    \n\t
    \n\t\n\t\t\n\t\t
    \n\t\t\t\n\t\t\t\tWarning! You are about to delete this server, which will also delete the {{server?.connected_devices}} device(s) connected to it. The server and its connected devices will no longer exist and this action cannot be undone.\n\t\t\t\n\t\t\t
    \n\t\t\t
    \n\t\t\tAre you sure you want to continue?\n\t\t\t
    \n\t\t\t
    \n\t\t\t\n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tClose\n\t\tDelete\n\t\n
    ',styles:[qve()]})],nV);let sV=class{};sV=be([fi({imports:[Au,tV],declarations:[kP,TP,nV],providers:[vh]})],sV);var Kve=x(9010),Qve=x.n(Kve);let x_=class{constructor(e){this.ueHttp=e,this.baseUrl="/api/DVPRTLFE/developers",this.inviteUrl="/api/DVPRTLFE/developers/invites",this.memberUrl="/api/DVPRTLFE/developers/members",this.filterColumns=["@name","@email","@company"],this.queryParams={filters:"",limit:0,offset:0,total:0,sort:"name",sortDir:"desc",refresh:!1},this.invitesQueryParams={filters:"",limit:0,offset:0,total:0,sort:"name",sortDir:"desc",refresh:!1}}getAllUsers(e){let t=this.memberUrl;return e&&(t+="?"+e),this.ueHttp.get(t)}getUser(e){return this.ueHttp.get(this.memberUrl+"/"+e)}updateUserPermissions(e,t){return this.ueHttp.put(this.memberUrl+"/"+e,t)}removeUser(e){return this.ueHttp.delete(this.memberUrl+"/"+e)}getAllInvites(e){let t=this.inviteUrl;return e&&(t+="?"+e),this.ueHttp.get(t)}getInvite(e){return this.ueHttp.get(this.inviteUrl+"/"+e)}sendInvite(e){return this.ueHttp.post(this.inviteUrl,e)}resendInvite(e){return this.ueHttp.post(`${this.inviteUrl}/${e}/resend`,{})}updateInvitePermissions(e,t){return this.ueHttp.put(this.inviteUrl+"/"+e,t)}deleteInvite(e){return this.ueHttp.delete(this.inviteUrl+"/"+e)}getSuggestions(e){e=e.toLowerCase();const s=this.filterColumns.filter(r=>-1!==(r=r.toLowerCase()).indexOf(e));return[].concat(s)}static#e=this.ctorParameters=()=>[{type:fo}]};x_=be([ks()],x_);let IP=class{constructor(e,t,s,r){this.userService=e,this.router=t,this.route=s,this.authService=r,this.users=[],this.filterControl=new Jv,this.canEdit=this.authService.checkPermissions("members_edit"),this.canDelete=this.authService.checkPermissions("members_delete"),this.canCreate=this.authService.checkPermissions("invites_create"),this.contextMenuItems=[]}ngOnInit(){this.updateServiceQueryParams(),this.getUsers(),this.buildContextMenu(),this.routerEventsSubscription=this.router.events.pipe(fs(e=>e instanceof po&&(0===this.route.children.length||0===this.users.length)),fs(()=>!this.handleQueryParamsAlerts())).subscribe(()=>{this.getUsers()})}ngOnDestroy(){this.routerEventsSubscription.unsubscribe()}buildContextMenu(){if(this.contextMenuItems=[],this.canEdit){const e={icon:"fa fa-edit",label:"Edit",command:t=>{this.onRowSelect(t.key)}};this.contextMenuItems.push(e)}else{const e={icon:"fa fa-list",label:"Details",command:t=>{this.onRowSelect(t.key)}};this.contextMenuItems.push(e)}if(this.canDelete){const e={icon:"glyphicon glyphicon-trash",label:"Delete",command:t=>{this.contextMenuTarget=t,this.confirmDeletionModal.open()}};this.contextMenuItems.push(e)}}getUsers(){let e="";for(const t in this.userService.queryParams)this.userService.queryParams[t]&&(e+=[t]+"="+this.userService.queryParams[t]+"&");this.isLoading=!0,this.userService.getAllUsers(e).subscribe(t=>{this.users=t.data,this.updatePaginationObject(t),this.isLoading=!1},t=>{this.alert.newAlert("Error!",t.error,"danger"),this.isLoading=!1})}deleteUser(e){this.userService.removeUser(e.key).subscribe(t=>{this.confirmDeletionModal.close(),this.alert.newAlert("Success","User deleted","success"),this.getUsers()},t=>{this.alert.newAlert("Error!",t.error,"danger"),this.confirmDeletionModal.close()})}handleQueryParamsAlerts(){const e=this.route.snapshot.queryParams;return"true"===e.isNew?(this.alert.newAlert("Success","User has been successfully created","success"),this.router.navigate(["users/members"],{replaceUrl:!0}),!0):"true"===e.updated?(this.alert.newAlert("Success","User information has been successfully saved","success"),this.router.navigate(["users/members"],{replaceUrl:!0}),!0):"true"===e.deleted?(this.alert.newAlert("Success","User has been successfully removed","success"),this.router.navigate(["users/members"],{replaceUrl:!0}),!0):(this.updateServiceQueryParams(),!1)}updateServiceQueryParams(){const e=this.route.snapshot.queryParams;this.userService.queryParams.filters=e.filters,this.userService.queryParams.limit=e.limit,this.userService.queryParams.offset=e.offset,this.userService.queryParams.sort=e.sort,this.userService.queryParams.sortDir=e.sortDir,this.userService.queryParams.filters&&this.filterControl.patchValue(this.userService.queryParams.filters)}updateQueryString(){const e={};for(const t in this.userService.queryParams)this.userService.queryParams[t]&&(e[t]=this.userService.queryParams[t]);this.router.navigate(["/users/members"],{queryParams:e})}onRowSelect(e){"new"===e?this.router.navigate(["/users/invites",e]):this.router.navigate(["/users/members",e])}onSort(e){this.userService.queryParams.sort===e?"desc"===this.userService.queryParams.sortDir?this.userService.queryParams.sortDir="asc":(this.userService.queryParams.sort="",this.userService.queryParams.sortDir=""):(this.userService.queryParams.sort=e,this.userService.queryParams.sortDir="desc"),this.userService.queryParams.offset=0,this.updateQueryString()}getFilterSuggestions(e){const t=e.split(" "),s=t[t.length-1];this.suggestions=this.userService.getSuggestions(s)}updateFilter(e){this.userService.filterColumns.indexOf(e)>-1||(this.userService.queryParams.filters=this.filterControl.value,this.userService.queryParams.offset=0,this.updateQueryString())}goToPage(e){e.active||e.disabled||(this.userService.queryParams.limit=e.limit,this.userService.queryParams.offset=e.offset,this.updateQueryString())}updatePaginationObject(e){this.paginationComponent.updatePaginationObject(e.limit,e.offset,e.total),this.paginationComponent.updatePaginationLength(e.data.length)}updatePaginationTotal(e){this.paginationComponent.paginationObject.total+=e,this.paginationComponent.paginationObject.length+=e}static#e=this.ctorParameters=()=>[{type:x_},{type:dn},{type:fr},{type:ni}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}],paginationComponent:[{type:qe,args:[uh,{static:!0}]}],confirmDeletionModal:[{type:qe,args:["confirmDeletionModal",{static:!0}]}]}};IP=be([Ke({selector:"ue-user-list",template:'
    \n\t
    \n\t\t\n\t
    \n\n\t
    \n\t\t\n\t\t\n\n\t\tInvite User\n\t
    \n
    \n\n\n\n
    \n\t
    \n\t\t\n\n\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ user.contact }}\n\t\t\t\t\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ user.email }}\n\t\t\t\t\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ user.company }}\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t
    \n
    \n\n\n\n\n\n\n',styles:[Qve()]})],IP);var Zve=x(1010),Jve=x.n(Zve);let AP=class{constructor(e,t,s,r,o){this.route=e,this.userService=t,this.formBuilder=s,this.router=r,this.authService=o,this.isLoading=!1,this.showErrors=!1,this.params=this.route.snapshot.params,this.canEdit=this.authService.checkPermissions("members_edit"),this.canDelete=this.authService.checkPermissions("members_delete")}ngOnInit(){this.myModal.open(),this.initForm(),this.isLoading=!0,this.userService.getUser(this.params.key).subscribe(e=>{this.created=this.cleanDate(e.created),this.contact=e.contact,this.email=e.email,this.userForm.patchValue(e),this.isLoading=!1},e=>{this.isLoading=!1,this.alert.newAlert("Error!",e.error,"danger")})}initForm(){this.userForm=this.formBuilder.group({perm_devices:["disabled",it.required],perm_endpoints:["disabled",it.required],perm_profile:["disabled",it.required],perm_servers:["disabled",it.required],perm_users:["disabled",it.required]}),this.canEdit||this.userForm.disable()}saveChanges(e){if(this.alert.closeAlert(),this.showErrors=!1,this.userForm.invalid)return this.showErrors=!0,this.alert.newAlert("Invalid Form!","The form is invalid. Please fill in all required fields.","danger");{const t=this.getUpdatedControls(this.userForm);this.userForm.markAsPristine(),this.userService.updateUserPermissions(this.params.key,t).subscribe(s=>{this.alert.newAlert("Success!","User information has been successfully saved","success"),e&&this.router.navigate(["/users/members"],{queryParams:{updated:!0}})},s=>{this.alert.newAlert("Error!",s.error,"danger")})}}getUpdatedControls(e){const t={};for(const s in e.controls)e.controls[s].dirty&&(t[s]=e.controls[s].value);return t}confirmDelete(){this.confirmDeletionModal.open()}deleteUser(){this.userService.removeUser(this.params.key).subscribe(e=>{this.router.navigate(["/users/members"],{queryParams:{deleted:!0}})},e=>{this.confirmDeletionModal.close(),this.alert.newAlert("Error!",e.error,"danger")})}onCloseModal(){this.userForm.pristine?this.isNewAppWindow()?this.router.navigate(["/users/members"]):this.myModal.close():this.confirmAbandonModal.isOpen?this.router.navigate(["/users/members"]):this.confirmAbandonModal.open()}isNewAppWindow(){return 1===this.router.navigationId}disableRead(e){return!this.authService.checkPermissions(`${e}_view`)||!this.canEdit||null}disableWrite(e){return!this.authService.checkPermissions(`${e}_edit`)||!this.canEdit||null}cleanDate(e){const t=e.split(" "),s=t[0].split("-"),r=t[1].split(":");return`${s[1].replace("0","")}/${s[2]}/${s[0]} ${r[0].replace("0","")}:${r[1]}`}static#e=this.ctorParameters=()=>[{type:fr},{type:x_},{type:ir},{type:dn},{type:ni}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}],myModal:[{type:qe,args:["myModal",{static:!0}]}],confirmDeletionModal:[{type:qe,args:["confirmDeletionModal",{static:!0}]}],confirmAbandonModal:[{type:qe,args:["confirmAbandonModal",{static:!0}]}]}};AP=be([Ke({selector:"ue-user-detail",template:'\n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t

    Member Information Detail

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    \n\t\t\t\t\tAdded: \n\t\t\t\t\t{{created}}\n\t\t\t\t

    \n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\t\n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\t\t\t\t

    User Info

    \n\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    Name:

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    {{contact}}

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    Email:

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    {{email}}

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t

    Permissions

    \n\t\t\t\t
    Devices:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Endpoints:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Profile:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Servers:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Users:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tRemove\n\t\tClose\n\t\tApply\n\t\tSave\n\t\n
    \n\n\n\n\n\n\n',animations:[qv("slideDown",[Kd("void",fc({height:"0",overflow:"hidden"})),Kp("void => *",Gp("200ms ease-out"))])],styles:[Jve()]})],AP);var tbe=x(3158),nbe=x.n(tbe);let LP=class{constructor(e,t,s){this.userService=e,this.router=t,this.route=s,this.invites=[],this.filterControl=new Jv,this.contextMenuItems=[{icon:"fa fa-edit",label:"Edit",command:r=>{this.onRowSelect(r.key)}},{icon:"glyphicon glyphicon-trash",label:"Delete",command:r=>{this.contextMenuTarget=r,this.confirmDeletionModal.open()}}]}ngOnInit(){this.updateServiceQueryParams(),this.getInvites(),this.routerEventsSubscription=this.router.events.pipe(fs(e=>e instanceof po&&(0===this.route.children.length||0===this.invites.length)),fs(()=>!this.handleQueryParamsAlerts())).subscribe(()=>{this.getInvites()})}ngOnDestroy(){this.routerEventsSubscription.unsubscribe()}getInvites(){let e="";for(const t in this.userService.invitesQueryParams)this.userService.invitesQueryParams[t]&&(e+=[t]+"="+this.userService.invitesQueryParams[t]+"&");this.isLoading=!0,this.userService.getAllInvites(e).subscribe(t=>{this.invites=t.data,this.updatePaginationObject(t),this.isLoading=!1},t=>{this.alert.newAlert("Error!",t.error,"danger"),this.isLoading=!1})}deleteInvite(e){this.userService.deleteInvite(e.key).subscribe(t=>{this.confirmDeletionModal.close(),this.alert.newAlert("Success","Invite deleted","success"),this.getInvites()},t=>{this.alert.newAlert("Error!",t.error,"danger"),this.confirmDeletionModal.close()})}handleQueryParamsAlerts(){const e=this.route.snapshot.queryParams;return"true"===e.isNew?(this.alert.newAlert("Success","Invite has been successfully sent","success"),this.router.navigate(["users/invites"],{replaceUrl:!0}),!0):"true"===e.updated?(this.alert.newAlert("Success","Invite information has been successfully updated","success"),this.router.navigate(["users/invites"],{replaceUrl:!0}),!0):"true"===e.deleted?(this.alert.newAlert("Success","Invite has been successfully deleted","success"),this.router.navigate(["users/invites"],{replaceUrl:!0}),!0):(this.updateServiceQueryParams(),!1)}updateServiceQueryParams(){const e=this.route.snapshot.queryParams;this.userService.invitesQueryParams.filters=e.filters,this.userService.invitesQueryParams.limit=e.limit,this.userService.invitesQueryParams.offset=e.offset,this.userService.invitesQueryParams.sort=e.sort,this.userService.invitesQueryParams.sortDir=e.sortDir,this.userService.invitesQueryParams.filters&&this.filterControl.patchValue(this.userService.invitesQueryParams.filters)}updateQueryString(){const e={};for(const t in this.userService.invitesQueryParams)this.userService.invitesQueryParams[t]&&(e[t]=this.userService.invitesQueryParams[t]);this.router.navigate(["/users/invites"],{queryParams:e})}onRowSelect(e){this.router.navigate(["/users/invites",e])}onSort(e){this.userService.invitesQueryParams.sort===e?"desc"===this.userService.invitesQueryParams.sortDir?this.userService.invitesQueryParams.sortDir="asc":(this.userService.invitesQueryParams.sort="",this.userService.invitesQueryParams.sortDir=""):(this.userService.invitesQueryParams.sort=e,this.userService.invitesQueryParams.sortDir="desc"),this.userService.invitesQueryParams.offset=0,this.updateQueryString()}getFilterSuggestions(e){const t=e.split(" "),s=t[t.length-1];this.suggestions=this.userService.getSuggestions(s)}updateFilter(e){this.userService.filterColumns.indexOf(e)>-1||(this.userService.invitesQueryParams.filters=this.filterControl.value,this.userService.invitesQueryParams.offset=0,this.updateQueryString())}goToPage(e){e.active||e.disabled||(this.userService.invitesQueryParams.limit=e.limit,this.userService.invitesQueryParams.offset=e.offset,this.updateQueryString())}updatePaginationObject(e){this.paginationComponent.updatePaginationObject(e.limit,e.offset,e.total),this.paginationComponent.updatePaginationLength(e.data.length)}updatePaginationTotal(e){this.paginationComponent.paginationObject.total+=e,this.paginationComponent.paginationObject.length+=e}cleanDate(e){const t=e.split(" "),s=t[0].split("-"),r=t[1].split(":");return`${s[1].replace("0","")}/${s[2]}/${s[0]} ${r[0].replace("0","")}:${r[1]}`}checkExpired(e){const t=Date.now();return!(Date.parse(e.split(" ").join("T"))>t)}static#e=this.ctorParameters=()=>[{type:x_},{type:dn},{type:fr}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}],paginationComponent:[{type:qe,args:[uh,{static:!0}]}],confirmDeletionModal:[{type:qe,args:["confirmDeletionModal",{static:!0}]}]}};LP=be([Ke({selector:"ue-invite-list",template:'
    \n
    \n \n
    \n\n
    \n \n \n\n Invite User\n
    \n
    \n\n\n\n
    \n
    \n \n\n \n\n \n \n {{ invite.email }}\n \n \n\n \n\t\t\t\t\n\t\t\t\t\t{{ cleanDate(invite.created) }}\n\t\t\t\t\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{{ cleanDate(invite.expires) }}\n\t\t\t\t\n\t\t\t\n\n \n
    \n
    \n\n\n\n\n\n\n\n',styles:[nbe()]})],LP);var ibe=x(5538),rbe=x.n(ibe);let PP=class{constructor(e,t,s,r,o){this.route=e,this.userService=t,this.formBuilder=s,this.router=r,this.authService=o,this.isNew=!1,this.isLoading=!1,this.showErrors=!1,this.key=this.route.snapshot.params.key}ngOnInit(){this.myModal.open(),this.initForm(),"new"===this.key?this.isNew=!0:(this.isNew=!1,this.isLoading=!0,this.userService.getInvite(this.key).subscribe(e=>{this.checkExpired(e.expires)&&this.alert.newAlert("Error!","This invitation has expired, please resend to activate.","danger"),this.created=this.cleanDate(e.created),this.expires=this.cleanDate(e.expires),this.inviteForm.patchValue(e),this.isLoading=!1},e=>{this.isLoading=!1,this.alert.newAlert("Error!",e.error,"danger")}))}initForm(){this.inviteForm=this.formBuilder.group({email:["",[it.required,it.email]],perm_devices:["disabled",it.required],perm_endpoints:["disabled",it.required],perm_profile:["disabled",it.required],perm_servers:["disabled",it.required],perm_users:["disabled",it.required]})}saveChanges(e){if(this.alert.closeAlert(),this.showErrors=!1,this.inviteForm.invalid)return this.showErrors=!0,this.alert.newAlert("Invalid Form!","The form is invalid. Please fill in all required fields.","danger");if(this.isNew)this.userService.sendInvite(this.inviteForm.value).subscribe(t=>{e?this.router.navigate(["/users/invites"],{queryParams:{isNew:!0}}):(this.router.navigate(["/users/invites",t.key],{replaceUrl:!0}),this.isNew=!1,this.created=this.cleanDate(t.created),this.expires=this.cleanDate(t.expires),this.key=t.key,this.inviteForm.markAsPristine(),this.alert.newAlert("Success!","Invitation has been sent","success"))},t=>{this.alert.newAlert("Error!",t.error,"danger")});else{const t=this.getUpdatedControls(this.inviteForm);this.inviteForm.markAsPristine(),this.userService.updateInvitePermissions(this.key,t).subscribe(s=>{this.alert.newAlert("Success!","Invite information has been successfully saved","success"),e&&this.router.navigate(["/users/invites"],{queryParams:{updated:!0}})},s=>{this.alert.newAlert("Error!",s.error,"danger")})}}getUpdatedControls(e){const t={};for(const s in e.controls)e.controls[s].dirty&&(t[s]=e.controls[s].value);return t}confirmDelete(){this.confirmDeletionModal.open()}deleteInvite(){this.userService.deleteInvite(this.key).subscribe(e=>{this.router.navigate(["/users/invites"],{queryParams:{deleted:!0}})},e=>{this.confirmDeletionModal.close(),this.alert.newAlert("Error!",e.error,"danger")})}onCloseModal(){this.inviteForm.pristine?this.isNewAppWindow()?this.router.navigate(["/users/invites"]):this.myModal.close():this.confirmAbandonModal.isOpen?this.router.navigate(["/users/invites"]):this.confirmAbandonModal.open()}isNewAppWindow(){return 1===this.router.navigationId}resendInvite(){this.userService.resendInvite(this.key).subscribe(e=>{this.alert.newAlert("Success!","Invitation sent","success")},e=>{this.alert.newAlert("Error!",e.error,"danger")})}cleanDate(e){const t=e.split(" "),s=t[0].split("-"),r=t[1].split(":");return`${s[1].replace("0","")}/${s[2]}/${s[0]} ${r[0].replace("0","")}:${r[1]}`}checkExpired(e){const t=Date.now();return!(Date.parse(e.split(" ").join("T"))>t)}static#e=this.ctorParameters=()=>[{type:fr},{type:x_},{type:ir},{type:dn},{type:ni}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}],myModal:[{type:qe,args:["myModal",{static:!0}]}],confirmDeletionModal:[{type:qe,args:["confirmDeletionModal",{static:!0}]}],confirmAbandonModal:[{type:qe,args:["confirmAbandonModal",{static:!0}]}]}};PP=be([Ke({selector:"ue-invite-detail",template:'\n\t\n\t\t
    \n\t\t\t
    \n\t\t\t\t

    Invite User

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    Invitation Details

    \n\t\t\t
    \n\t\t\t
    \n\t\t\t\t

    \n\t\t\t\t\tInvited: \n\t\t\t\t\t{{created}}\n\t\t\t\t\t
    \n\t\t\t\t\tExpires: \n\t\t\t\t\t{{expires}}\n\t\t\t\t

    \n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\t\n\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\n\t\t
    \n\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    User Info:

    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    User Info

    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Email:

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    {{inviteForm.get(\'email\').value}}

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\tResend Invite\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t

    Permissions

    \n\t\t\t\t
    Devices:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Endpoints:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Profile:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Servers:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t\t
    Users:
    \n\t\t\t\t
    \n\t\t\t\t\t\x3c!--
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t
    --\x3e\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t
    \n\t\n\t\tRemove\n\t\tClose\n\t\tApply\n\t\tSave\n\t\n
    \n\n\n\n\n\n\n',animations:[qv("slideDown",[Kd("void",fc({height:"0",overflow:"hidden"})),Kp("void => *",Gp("200ms ease-out"))])],styles:[rbe()]})],PP);const obe=[{path:"members",canActivate:bc([dh]),component:IP,children:[{path:":key",component:AP}]},{path:"invites",canActivate:bc([dh]),component:LP,children:[{path:":key",component:PP}]}];let iV=class{};iV=be([fi({imports:[xi.forChild(obe)],exports:[xi]})],iV);let rV=class{};rV=be([fi({imports:[ha,Au,iV],declarations:[IP,AP,LP,PP],providers:[x_]})],rV);const abe=[{path:"",redirectTo:"/login",pathMatch:"full"},{path:"",canActivate:bc([EL]),component:gA,children:[{path:"login",component:Qb},{path:"register",component:Xb},{path:"lostpassword",component:xL},{path:"resetpassword",component:kL},{path:"register-company",component:TL},{path:"invitation",children:[{path:":key",redirectTo:"/invitation/:key/verify",pathMatch:"full"},{path:":key/verify",component:Qb},{path:":key/register",component:Xb}]}]},{path:"",component:_A,children:[{path:"dashboard",canActivate:bc([Lu]),loadChildren:()=>zj},{path:"endpoints",canActivate:bc([dh,Lu]),loadChildren:()=>qj},{path:"profile",canActivate:bc([Lu]),loadChildren:()=>Kj},{path:"request-test-account",canActivate:bc([Lu]),loadChildren:()=>Xj},{path:"devices",canActivate:bc([dh,Lu]),loadChildren:()=>eV},{path:"servers",canActivate:bc([dh,Lu]),loadChildren:()=>sV},{path:"users",canActivate:bc([Lu]),loadChildren:()=>rV}]},{path:"**",component:UM,pathMatch:"full"}];let oV=class{};oV=be([fi({imports:[xi.forRoot(abe,{})],exports:[xi]})],oV);var cbe=x(3553),ube=x.n(cbe);let RP=class{};RP=be([Ke({selector:"ue-root",template:"",styles:[ube()]})],RP);let aV=class{};aV=be([fi({declarations:[RP],bootstrap:[RP],imports:[qd,cM,nh,IL,oV],providers:[M4(x4())]})],aV),SZ().bootstrapModule(aV)},7468:j=>{var H={utf8:{stringToBytes:function(x){return H.bin.stringToBytes(unescape(encodeURIComponent(x)))},bytesToString:function(x){return decodeURIComponent(escape(H.bin.bytesToString(x)))}},bin:{stringToBytes:function(x){for(var E=[],y=0;y{var H,x;H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",x={rotl:function(E,y){return E<>>32-y},rotr:function(E,y){return E<<32-y|E>>>y},endian:function(E){if(E.constructor==Number)return 16711935&x.rotl(E,8)|4278255360&x.rotl(E,24);for(var y=0;y0;E--)y.push(Math.floor(256*Math.random()));return y},bytesToWords:function(E){for(var y=[],b=0,w=0;b>>5]|=E[b]<<24-w%32;return y},wordsToBytes:function(E){for(var y=[],b=0;b<32*E.length;b+=8)y.push(E[b>>>5]>>>24-b%32&255);return y},bytesToHex:function(E){for(var y=[],b=0;b>>4).toString(16)),y.push((15&E[b]).toString(16));return y.join("")},hexToBytes:function(E){for(var y=[],b=0;b>>6*(3-D)&63)):y.push("=");return y.join("")},base64ToBytes:function(E){E=E.replace(/[^A-Z0-9+\/]/gi,"");for(var y=[],b=0,w=0;b>>6-2*w);return y}},j.exports=x},8557:j=>{"use strict";j.exports=function(H){var x=[];return x.toString=function(){return this.map(function(y){var b="",w=typeof y[5]<"u";return y[4]&&(b+="@supports (".concat(y[4],") {")),y[2]&&(b+="@media ".concat(y[2]," {")),w&&(b+="@layer".concat(y[5].length>0?" ".concat(y[5]):""," {")),b+=H(y),w&&(b+="}"),y[2]&&(b+="}"),y[4]&&(b+="}"),b}).join("")},x.i=function(y,b,w,D,k){"string"==typeof y&&(y=[[null,y,void 0]]);var R={};if(w)for(var N=0;N"u"||(K[1]="@layer".concat(K[5].length>0?" ".concat(K[5]):""," {").concat(K[1],"}")),K[5]=k),b&&(K[2]&&(K[1]="@media ".concat(K[2]," {").concat(K[1],"}")),K[2]=b),D&&(K[4]?(K[1]="@supports (".concat(K[4],") {").concat(K[1],"}"),K[4]=D):K[4]="".concat(D)),x.push(K))}},x}},8564:j=>{"use strict";j.exports=function(H){return H[1]}},243:j=>{"use strict";var H={single_source_shortest_paths:function(x,E,y){var b={},w={};w[E]=0;var k,R,N,W,$,se,J,D=H.PriorityQueue.make();for(D.push(E,0);!D.empty();)for(N in R=(k=D.pop()).value,W=k.cost,$=x[R]||{})$.hasOwnProperty(N)&&(se=W+$[N],J=w[N],(typeof w[N]>"u"||J>se)&&(w[N]=se,D.push(N,se),b[N]=R));if(typeof y<"u"&&typeof w[y]>"u"){var de=["Could not find a path from ",E," to ",y,"."].join("");throw new Error(de)}return b},extract_shortest_path_from_predecessor_list:function(x,E){for(var y=[],b=E;b;)y.push(b),x[b],b=x[b];return y.reverse(),y},find_path:function(x,E,y){var b=H.single_source_shortest_paths(x,E,y);return H.extract_shortest_path_from_predecessor_list(b,y)},PriorityQueue:{make:function(x){var b,E=H.PriorityQueue,y={};for(b in x=x||{},E)E.hasOwnProperty(b)&&(y[b]=E[b]);return y.queue=[],y.sorter=x.sorter||E.default_sorter,y},default_sorter:function(x,E){return x.cost-E.cost},push:function(x,E){var y={value:x,cost:E};this.queue.push(y),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};j.exports=H},3174:j=>{"use strict";j.exports=function(x){for(var E=[],y=x.length,b=0;b=55296&&w<=56319&&y>b+1){var D=x.charCodeAt(b+1);D>=56320&&D<=57343&&(w=1024*(w-55296)+D-56320+65536,b+=1)}w<128?E.push(w):w<2048?(E.push(w>>6|192),E.push(63&w|128)):w<55296||w>=57344&&w<65536?(E.push(w>>12|224),E.push(w>>6&63|128),E.push(63&w|128)):w>=65536&&w<=1114111?(E.push(w>>18|240),E.push(w>>12&63|128),E.push(w>>6&63|128),E.push(63&w|128)):E.push(239,191,189)}return new Uint8Array(E).buffer}},8749:j=>{function H(E){return!!E.constructor&&"function"==typeof E.constructor.isBuffer&&E.constructor.isBuffer(E)}j.exports=function(E){return null!=E&&(H(E)||function x(E){return"function"==typeof E.readFloatLE&&"function"==typeof E.slice&&H(E.slice(0,0))}(E)||!!E._isBuffer)}},9812:(j,H,x)=>{var E,y,b,w,D;E=x(9928),y=x(7468).utf8,b=x(8749),w=x(7468).bin,(D=function(k,R){k.constructor==String?k=R&&"binary"===R.encoding?w.stringToBytes(k):y.stringToBytes(k):b(k)?k=Array.prototype.slice.call(k,0):!Array.isArray(k)&&k.constructor!==Uint8Array&&(k=k.toString());for(var N=E.bytesToWords(k),W=8*k.length,$=1732584193,K=-271733879,se=-1732584194,J=271733878,ue=0;ue>>24)|4278255360&(N[ue]<<24|N[ue]>>>8);N[W>>>5]|=128<>>9<<4)]=W;var de=D._ff,We=D._gg,Ye=D._hh,Fe=D._ii;for(ue=0;ue>>0,K=K+pe>>>0,se=se+Ee>>>0,J=J+Pe>>>0}return E.endian([$,K,se,J])})._ff=function(k,R,N,W,$,K,se){var J=k+(R&N|~R&W)+($>>>0)+se;return(J<>>32-K)+R},D._gg=function(k,R,N,W,$,K,se){var J=k+(R&W|N&~W)+($>>>0)+se;return(J<>>32-K)+R},D._hh=function(k,R,N,W,$,K,se){var J=k+(R^N^W)+($>>>0)+se;return(J<>>32-K)+R},D._ii=function(k,R,N,W,$,K,se){var J=k+(N^(R|~W))+($>>>0)+se;return(J<>>32-K)+R},D._blocksize=16,D._digestsize=16,j.exports=function(k,R){if(null==k)throw new Error("Illegal argument "+k);var N=E.wordsToBytes(D(k,R));return R&&R.asBytes?N:R&&R.asString?w.bytesToString(N):E.bytesToHex(N)}},6625:function(j,H,x){var E;j.exports=(E=x(7586),function(y){function b(D){if(w[D])return w[D].exports;var k=w[D]={i:D,l:!1,exports:{}};return y[D].call(k.exports,k,k.exports,b),k.l=!0,k.exports}var w={};return b.m=y,b.c=w,b.i=function(D){return D},b.d=function(D,k,R){b.o(D,k)||Object.defineProperty(D,k,{configurable:!1,enumerable:!0,get:R})},b.n=function(D){var k=D&&D.__esModule?function(){return D.default}:function(){return D};return b.d(k,"a",k),k},b.o=function(D,k){return Object.prototype.hasOwnProperty.call(D,k)},b.p="",b(b.s=3)}([function(y,b,w){"use strict";var D=w(5)();y.exports=function(k){return k!==D&&null!==k}},function(y,b,w){"use strict";y.exports=w(18)()?Symbol:w(20)},function(y,b){y.exports=E},function(y,b,w){"use strict";function D(Ie){return Ie&&Ie.__esModule?Ie:{default:Ie}}function k(Ie,pe,Ee){return pe in Ie?Object.defineProperty(Ie,pe,{value:Ee,enumerable:!0,configurable:!0,writable:!0}):Ie[pe]=Ee,Ie}function R(Ie,pe){if(!(Ie instanceof pe))throw new TypeError("Cannot call a class as a function")}function N(Ie){return Ie.range=function(pe,Ee){var Pe=this;return"string"==typeof pe&&Ye.hasOwnProperty(pe)?new Fe(Ie(Pe).startOf(pe),Ie(Pe).endOf(pe)):new Fe(pe,Ee)},Ie.rangeFromInterval=function(pe){var Ee=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,Pe=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ie();if(Ie.isMoment(Pe)||(Pe=Ie(Pe)),!Pe.isValid())throw new Error("Invalid date.");var _e=Pe.clone().add(Ee,pe),Se=[];return Se.push(Ie.min(Pe,_e)),Se.push(Ie.max(Pe,_e)),new Fe(Se)},Ie.rangeFromISOString=function(pe){var Ee=W(pe),Pe=Ie.parseZone(Ee[0]),_e=Ie.parseZone(Ee[1]);return new Fe(Pe,_e)},Ie.parseZoneRange=Ie.rangeFromISOString,Ie.fn.range=Ie.range,Ie.range.constructor=Fe,Ie.isRange=function(pe){return pe instanceof Fe},Ie.fn.within=function(pe){return pe.contains(this.toDate())},Ie}function W(Ie){return Ie.split("/")}Object.defineProperty(b,"__esModule",{value:!0}),b.DateRange=void 0;var $=function(){function Ie(pe,Ee){var Pe=[],_e=!0,Se=!1,X=void 0;try{for(var ee,ae=pe[Symbol.iterator]();!(_e=(ee=ae.next()).done)&&(Pe.push(ee.value),!Ee||Pe.length!==Ee);_e=!0);}catch(ge){Se=!0,X=ge}finally{try{!_e&&ae.return&&ae.return()}finally{if(Se)throw X}}return Pe}return function(pe,Ee){if(Array.isArray(pe))return pe;if(Symbol.iterator in Object(pe))return Ie(pe,Ee);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Ie){return typeof Ie}:function(Ie){return Ie&&"function"==typeof Symbol&&Ie.constructor===Symbol&&Ie!==Symbol.prototype?"symbol":typeof Ie},se=function(){function Ie(pe,Ee){for(var Pe=0;Pe=this.end.valueOf()}},{key:"add",value:function(pe){var Ee=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{adjacent:!1};return this.overlaps(pe,Ee)?new this.constructor(ue.default.min(this.start,pe.start),ue.default.max(this.end,pe.end)):null}},{key:"by",value:function(pe){var Ee=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{excludeEnd:!1,step:1},Pe=this;return k({},We.default.iterator,function(){var _e=Ee.step||1,Se=Math.abs(Pe.start.diff(Pe.end,pe))/_e,X=Ee.excludeEnd||!1,ee=0;return Ee.hasOwnProperty("exclusive")&&(X=Ee.exclusive),{next:function(){var ae=Pe.start.clone().add(ee*_e,pe),ge=X?!(ee1&&void 0!==arguments[1]?arguments[1]:{excludeEnd:!1,step:1},Pe=this,_e=Ee.step||1,Se=this.valueOf()/pe.valueOf()/_e,X=Math.floor(Se),ee=Ee.excludeEnd||!1,ae=0;return Ee.hasOwnProperty("exclusive")&&(ee=Ee.exclusive),k({},We.default.iterator,function(){return X===1/0?{done:!0}:{next:function(){var ge=(0,ue.default)(Pe.start.valueOf()+pe.valueOf()*ae*_e),Ce=X===Se&&ee?!(ae1&&void 0!==arguments[1]?arguments[1]:{excludeStart:!1,excludeEnd:!1},Pe=this.start.valueOf(),_e=this.end.valueOf(),Se=pe.valueOf(),X=pe.valueOf(),ee=Ee.excludeStart||!1,ae=Ee.excludeEnd||!1;return Ee.hasOwnProperty("exclusive")&&(ee=ae=Ee.exclusive),pe instanceof Ie&&(Se=pe.start.valueOf(),X=pe.end.valueOf()),(PeX||_e>=X&&!ae)}},{key:"diff",value:function(pe,Ee){return this.end.diff(this.start,pe,Ee)}},{key:"duration",value:function(pe,Ee){return this.diff(pe,Ee)}},{key:"intersect",value:function(pe){var Ee=this.start.valueOf(),Pe=this.end.valueOf(),_e=pe.start.valueOf(),Se=pe.end.valueOf(),ee=_e==Se;if(Ee==Pe){if(Ee==_e||Ee==Se)return null;if(Ee>_e&&EeEe&&ge1&&void 0!==arguments[1]?arguments[1]:{adjacent:!1},Pe=null!==this.intersect(pe);return Ee.adjacent&&!Pe?this.adjacent(pe):Pe}},{key:"reverseBy",value:function(pe){var Ee=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{excludeStart:!1,step:1},Pe=this;return k({},We.default.iterator,function(){var _e=Ee.step||1,Se=Math.abs(Pe.start.diff(Pe.end,pe))/_e,X=Ee.excludeStart||!1,ee=0;return Ee.hasOwnProperty("exclusive")&&(X=Ee.exclusive),{next:function(){var ae=Pe.end.clone().subtract(ee*_e,pe),ge=X?!(ee1&&void 0!==arguments[1]?arguments[1]:{excludeStart:!1,step:1},Pe=this,_e=Ee.step||1,Se=this.valueOf()/pe.valueOf()/_e,X=Math.floor(Se),ee=Ee.excludeStart||!1,ae=0;return Ee.hasOwnProperty("exclusive")&&(ee=Ee.exclusive),k({},We.default.iterator,function(){return X===1/0?{done:!0}:{next:function(){var ge=(0,ue.default)(Pe.end.valueOf()-pe.valueOf()*ae*_e),Ce=X===Se&&ee?!(ae-1}},function(y,b,w){"use strict";var D={object:!0,symbol:!0};y.exports=function(){var k;if("function"!=typeof Symbol)return!1;k=Symbol("test symbol");try{String(k)}catch{return!1}return!!D[typeof Symbol.iterator]&&!!D[typeof Symbol.toPrimitive]&&!!D[typeof Symbol.toStringTag]}},function(y,b,w){"use strict";y.exports=function(D){return!!D&&("symbol"==typeof D||!!D.constructor&&"Symbol"===D.constructor.name&&"Symbol"===D[D.constructor.toStringTag])}},function(y,b,w){"use strict";var D,k,R,N,W=w(4),$=w(21),K=Object.create,se=Object.defineProperties,J=Object.defineProperty,ue=Object.prototype,de=K(null);if("function"==typeof Symbol){D=Symbol;try{String(D()),N=!0}catch{}}var Ye,We=(Ye=K(null),function(Fe){for(var Ie,pe,Ee=0;Ye[Fe+(Ee||"")];)++Ee;return Ye[Fe+=Ee||""]=!0,J(ue,Ie="@@"+Fe,W.gs(null,function(Pe){pe||(pe=!0,J(this,Ie,W(Pe)),pe=!1)})),Ie});R=function(Ye){if(this instanceof R)throw new TypeError("Symbol is not a constructor");return k(Ye)},y.exports=k=function Ye(Fe){var Ie;if(this instanceof Ye)throw new TypeError("Symbol is not a constructor");return N?D(Fe):(Ie=K(R.prototype),Fe=void 0===Fe?"":String(Fe),se(Ie,{__description__:W("",Fe),__name__:W("",We(Fe))}))},se(k,{for:W(function(Ye){return de[Ye]?de[Ye]:de[Ye]=k(String(Ye))}),keyFor:W(function(Ye){var Fe;for(Fe in $(Ye),de)if(de[Fe]===Ye)return Fe}),hasInstance:W("",D&&D.hasInstance||k("hasInstance")),isConcatSpreadable:W("",D&&D.isConcatSpreadable||k("isConcatSpreadable")),iterator:W("",D&&D.iterator||k("iterator")),match:W("",D&&D.match||k("match")),replace:W("",D&&D.replace||k("replace")),search:W("",D&&D.search||k("search")),species:W("",D&&D.species||k("species")),split:W("",D&&D.split||k("split")),toPrimitive:W("",D&&D.toPrimitive||k("toPrimitive")),toStringTag:W("",D&&D.toStringTag||k("toStringTag")),unscopables:W("",D&&D.unscopables||k("unscopables"))}),se(R.prototype,{constructor:W(k),toString:W("",function(){return this.__name__})}),se(k.prototype,{toString:W(function(){return"Symbol ("+$(this).__description__+")"}),valueOf:W(function(){return $(this)})}),J(k.prototype,k.toPrimitive,W("",function(){var Ye=$(this);return"symbol"==typeof Ye?Ye:Ye.toString()})),J(k.prototype,k.toStringTag,W("c","Symbol")),J(R.prototype,k.toStringTag,W("c",k.prototype[k.toStringTag])),J(R.prototype,k.toPrimitive,W("c",k.prototype[k.toPrimitive]))},function(y,b,w){"use strict";var D=w(19);y.exports=function(k){if(!D(k))throw new TypeError(k+" is not a symbol");return k}}]))},1544:function(j,H,x){!function(E){"use strict";E.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(b){return/^nm$/i.test(b)},meridiem:function(b,w,D){return b<12?D?"vm":"VM":D?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(b){return b+(1===b||8===b||b>=20?"ste":"de")},week:{dow:1,doy:4}})}(x(7586))},2155:function(j,H,x){!function(E){"use strict";var y=function(R){return 0===R?0:1===R?1:2===R?2:R%100>=3&&R%100<=10?3:R%100>=11?4:5},b={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},w=function(R){return function(N,W,$,K){var se=y(N),J=b[R][y(N)];return 2===se&&(J=J[W?0:1]),J.replace(/%d/i,N)}},D=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];E.defineLocale("ar-dz",{months:D,monthsShort:D,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(R){return"\u0645"===R},meridiem:function(R,N,W){return R<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:w("s"),ss:w("s"),m:w("m"),mm:w("m"),h:w("h"),hh:w("h"),d:w("d"),dd:w("d"),M:w("M"),MM:w("M"),y:w("y"),yy:w("y")},postformat:function(R){return R.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(x(7586))},3583:function(j,H,x){!function(E){"use strict";E.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(x(7586))},1638:function(j,H,x){!function(E){"use strict";var y={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},b=function(N){return 0===N?0:1===N?1:2===N?2:N%100>=3&&N%100<=10?3:N%100>=11?4:5},w={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},D=function(N){return function(W,$,K,se){var J=b(W),ue=w[N][b(W)];return 2===J&&(ue=ue[$?0:1]),ue.replace(/%d/i,W)}},k=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];E.defineLocale("ar-ly",{months:k,monthsShort:k,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(N){return"\u0645"===N},meridiem:function(N,W,$){return N<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:D("s"),ss:D("s"),m:D("m"),mm:D("m"),h:D("h"),hh:D("h"),d:D("d"),dd:D("d"),M:D("M"),MM:D("M"),y:D("y"),yy:D("y")},preparse:function(N){return N.replace(/\u060c/g,",")},postformat:function(N){return N.replace(/\d/g,function(W){return y[W]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(x(7586))},7823:function(j,H,x){!function(E){"use strict";E.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(x(7586))},8261:function(j,H,x){!function(E){"use strict";var y={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},b={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};E.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(D){return"\u0645"===D},meridiem:function(D,k,R){return D<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(D){return D.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(k){return b[k]}).replace(/\u060c/g,",")},postformat:function(D){return D.replace(/\d/g,function(k){return y[k]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(x(7586))},6703:function(j,H,x){!function(E){"use strict";E.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(x(7586))},3108:function(j,H,x){!function(E){"use strict";var y={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},b={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},w=function(W){return 0===W?0:1===W?1:2===W?2:W%100>=3&&W%100<=10?3:W%100>=11?4:5},D={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},k=function(W){return function($,K,se,J){var ue=w($),de=D[W][w($)];return 2===ue&&(de=de[K?0:1]),de.replace(/%d/i,$)}},R=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];E.defineLocale("ar",{months:R,monthsShort:R,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(W){return"\u0645"===W},meridiem:function(W,$,K){return W<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:k("s"),ss:k("s"),m:k("m"),mm:k("m"),h:k("h"),hh:k("h"),d:k("d"),dd:k("d"),M:k("M"),MM:k("M"),y:k("y"),yy:k("y")},preparse:function(W){return W.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function($){return b[$]}).replace(/\u060c/g,",")},postformat:function(W){return W.replace(/\d/g,function($){return y[$]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(x(7586))},6508:function(j,H,x){!function(E){"use strict";var y={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};E.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(w){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(w)},meridiem:function(w,D,k){return w<4?"gec\u0259":w<12?"s\u0259h\u0259r":w<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(w){if(0===w)return w+"-\u0131nc\u0131";var D=w%10,k=w%100-D,R=w>=100?100:null;return w+(y[D]||y[k]||y[R])},week:{dow:1,doy:7}})}(x(7586))},6766:function(j,H,x){!function(E){"use strict";function y(D,k){var R=D.split("_");return k%10==1&&k%100!=11?R[0]:k%10>=2&&k%10<=4&&(k%100<10||k%100>=20)?R[1]:R[2]}function b(D,k,R){return"m"===R?k?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===R?k?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":D+" "+y({ss:k?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:k?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:k?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[R],+D)}E.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:b,mm:b,h:b,hh:b,d:"\u0434\u0437\u0435\u043d\u044c",dd:b,M:"\u043c\u0435\u0441\u044f\u0446",MM:b,y:"\u0433\u043e\u0434",yy:b},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(D){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(D)},meridiem:function(D,k,R){return D<4?"\u043d\u043e\u0447\u044b":D<12?"\u0440\u0430\u043d\u0456\u0446\u044b":D<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(D,k){switch(k){case"M":case"d":case"DDD":case"w":case"W":return D%10!=2&&D%10!=3||D%100==12||D%100==13?D+"-\u044b":D+"-\u0456";case"D":return D+"-\u0433\u0430";default:return D}},week:{dow:1,doy:7}})}(x(7586))},6183:function(j,H,x){!function(E){"use strict";E.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(b){var w=b%10,D=b%100;return 0===b?b+"-\u0435\u0432":0===D?b+"-\u0435\u043d":D>10&&D<20?b+"-\u0442\u0438":1===w?b+"-\u0432\u0438":2===w?b+"-\u0440\u0438":7===w||8===w?b+"-\u043c\u0438":b+"-\u0442\u0438"},week:{dow:1,doy:7}})}(x(7586))},7462:function(j,H,x){!function(E){"use strict";E.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(x(7586))},3438:function(j,H,x){!function(E){"use strict";var y={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},b={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};E.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(D){return D.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return b[k]})},postformat:function(D){return D.replace(/\d/g,function(k){return y[k]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(D,k){return 12===D&&(D=0),"\u09b0\u09be\u09a4"===k?D<4?D:D+12:"\u09ad\u09cb\u09b0"===k||"\u09b8\u0995\u09be\u09b2"===k?D:"\u09a6\u09c1\u09aa\u09c1\u09b0"===k?D>=3?D:D+12:"\u09ac\u09bf\u0995\u09be\u09b2"===k||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===k?D+12:void 0},meridiem:function(D,k,R){return D<4?"\u09b0\u09be\u09a4":D<6?"\u09ad\u09cb\u09b0":D<12?"\u09b8\u0995\u09be\u09b2":D<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":D<18?"\u09ac\u09bf\u0995\u09be\u09b2":D<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(x(7586))},7107:function(j,H,x){!function(E){"use strict";var y={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},b={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};E.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(D){return D.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return b[k]})},postformat:function(D){return D.replace(/\d/g,function(k){return y[k]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(D,k){return 12===D&&(D=0),"\u09b0\u09be\u09a4"===k&&D>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===k&&D<5||"\u09ac\u09bf\u0995\u09be\u09b2"===k?D+12:D},meridiem:function(D,k,R){return D<4?"\u09b0\u09be\u09a4":D<10?"\u09b8\u0995\u09be\u09b2":D<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":D<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(x(7586))},9004:function(j,H,x){!function(E){"use strict";var y={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},b={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};E.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(D){return D.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(k){return b[k]})},postformat:function(D){return D.replace(/\d/g,function(k){return y[k]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(D,k){return 12===D&&(D=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===k&&D>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===k&&D<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===k?D+12:D},meridiem:function(D,k,R){return D<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":D<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":D<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":D<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(x(7586))},927:function(j,H,x){!function(E){"use strict";function y(de,We,Ye){return de+" "+D({mm:"munutenn",MM:"miz",dd:"devezh"}[Ye],de)}function b(de){switch(w(de)){case 1:case 3:case 4:case 5:case 9:return de+" bloaz";default:return de+" vloaz"}}function w(de){return de>9?w(de%10):de}function D(de,We){return 2===We?k(de):de}function k(de){var We={m:"v",b:"v",d:"z"};return void 0===We[de.charAt(0)]?de:We[de.charAt(0)]+de.substring(1)}var R=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],N=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,W=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,$=/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,K=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],se=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],J=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];E.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:J,fullWeekdaysParse:K,shortWeekdaysParse:se,minWeekdaysParse:J,monthsRegex:N,monthsShortRegex:N,monthsStrictRegex:W,monthsShortStrictRegex:$,monthsParse:R,longMonthsParse:R,shortMonthsParse:R,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:y,h:"un eur",hh:"%d eur",d:"un devezh",dd:y,M:"ur miz",MM:y,y:"ur bloaz",yy:b},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(de){return de+(1===de?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(de){return"g.m."===de},meridiem:function(de,We,Ye){return de<12?"a.m.":"g.m."}})}(x(7586))},7768:function(j,H,x){!function(E){"use strict";function y(w,D,k){var R=w+" ";switch(k){case"ss":return R+=1===w?"sekunda":2===w||3===w||4===w?"sekunde":"sekundi";case"m":return D?"jedna minuta":"jedne minute";case"mm":return R+=1===w?"minuta":2===w||3===w||4===w?"minute":"minuta";case"h":return D?"jedan sat":"jednog sata";case"hh":return R+=1===w?"sat":2===w||3===w||4===w?"sata":"sati";case"dd":return R+=1===w?"dan":"dana";case"MM":return R+=1===w?"mjesec":2===w||3===w||4===w?"mjeseca":"mjeseci";case"yy":return R+=1===w?"godina":2===w||3===w||4===w?"godine":"godina"}}E.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:y,m:y,mm:y,h:y,hh:y,d:"dan",dd:y,M:"mjesec",MM:y,y:"godinu",yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(x(7586))},6291:function(j,H,x){!function(E){"use strict";E.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(b,w){var D=1===b?"r":2===b?"n":3===b?"r":4===b?"t":"\xe8";return("w"===w||"W"===w)&&(D="a"),b+D},week:{dow:1,doy:4}})}(x(7586))},5301:function(j,H,x){!function(E){"use strict";var y={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},b="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),w=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],D=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function k(W){return W>1&&W<5&&1!=~~(W/10)}function R(W,$,K,se){var J=W+" ";switch(K){case"s":return $||se?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return $||se?J+(k(W)?"sekundy":"sekund"):J+"sekundami";case"m":return $?"minuta":se?"minutu":"minutou";case"mm":return $||se?J+(k(W)?"minuty":"minut"):J+"minutami";case"h":return $?"hodina":se?"hodinu":"hodinou";case"hh":return $||se?J+(k(W)?"hodiny":"hodin"):J+"hodinami";case"d":return $||se?"den":"dnem";case"dd":return $||se?J+(k(W)?"dny":"dn\xed"):J+"dny";case"M":return $||se?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return $||se?J+(k(W)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):J+"m\u011bs\xedci";case"y":return $||se?"rok":"rokem";case"yy":return $||se?J+(k(W)?"roky":"let"):J+"lety"}}E.defineLocale("cs",{months:y,monthsShort:b,monthsRegex:D,monthsShortRegex:D,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:R,ss:R,m:R,mm:R,h:R,hh:R,d:R,dd:R,M:R,MM:R,y:R,yy:R},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(7586))},6666:function(j,H,x){!function(E){"use strict";E.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(b){return b+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(b)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(b)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(x(7586))},5163:function(j,H,x){!function(E){"use strict";E.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(b){var D="";return b>20?D=40===b||50===b||60===b||80===b||100===b?"fed":"ain":b>0&&(D=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][b]),b+D},week:{dow:1,doy:4}})}(x(7586))},7360:function(j,H,x){!function(E){"use strict";E.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(7586))},3248:function(j,H,x){!function(E){"use strict";function y(w,D,k,R){var N={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[w+" Tage",w+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[w+" Monate",w+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[w+" Jahre",w+" Jahren"]};return D?N[k][0]:N[k][1]}E.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:y,mm:"%d Minuten",h:y,hh:"%d Stunden",d:y,dd:y,w:y,ww:"%d Wochen",M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(7586))},3222:function(j,H,x){!function(E){"use strict";function y(w,D,k,R){var N={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[w+" Tage",w+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[w+" Monate",w+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[w+" Jahre",w+" Jahren"]};return D?N[k][0]:N[k][1]}E.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:y,mm:"%d Minuten",h:y,hh:"%d Stunden",d:y,dd:y,w:y,ww:"%d Wochen",M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(7586))},5932:function(j,H,x){!function(E){"use strict";function y(w,D,k,R){var N={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[w+" Tage",w+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[w+" Monate",w+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[w+" Jahre",w+" Jahren"]};return D?N[k][0]:N[k][1]}E.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:y,mm:"%d Minuten",h:y,hh:"%d Stunden",d:y,dd:y,w:y,ww:"%d Wochen",M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(7586))},6405:function(j,H,x){!function(E){"use strict";var y=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],b=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];E.defineLocale("dv",{months:y,monthsShort:y,weekdays:b,weekdaysShort:b,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(D){return"\u0789\u078a"===D},meridiem:function(D,k,R){return D<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(D){return D.replace(/\u060c/g,",")},postformat:function(D){return D.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(x(7586))},718:function(j,H,x){!function(E){"use strict";function y(w){return typeof Function<"u"&&w instanceof Function||"[object Function]"===Object.prototype.toString.call(w)}E.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(w,D){return w?"string"==typeof D&&/D/.test(D.substring(0,D.indexOf("MMMM")))?this._monthsGenitiveEl[w.month()]:this._monthsNominativeEl[w.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(w,D,k){return w>11?k?"\u03bc\u03bc":"\u039c\u039c":k?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(w){return"\u03bc"===(w+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(w,D){var k=this._calendarEl[w],R=D&&D.hours();return y(k)&&(k=k.apply(D)),k.replace("{}",R%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(x(7586))},6319:function(j,H,x){!function(E){"use strict";E.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(b){var w=b%10;return b+(1==~~(b%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:0,doy:4}})}(x(7586))},597:function(j,H,x){!function(E){"use strict";E.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(b){var w=b%10;return b+(1==~~(b%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")}})}(x(7586))},1800:function(j,H,x){!function(E){"use strict";E.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(b){var w=b%10;return b+(1==~~(b%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:1,doy:4}})}(x(7586))},807:function(j,H,x){!function(E){"use strict";E.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(b){var w=b%10;return b+(1==~~(b%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:1,doy:4}})}(x(7586))},5960:function(j,H,x){!function(E){"use strict";E.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(b){var w=b%10;return b+(1==~~(b%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")}})}(x(7586))},4418:function(j,H,x){!function(E){"use strict";E.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(b){var w=b%10;return b+(1==~~(b%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:0,doy:6}})}(x(7586))},6865:function(j,H,x){!function(E){"use strict";E.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(b){var w=b%10;return b+(1==~~(b%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:1,doy:4}})}(x(7586))},2647:function(j,H,x){!function(E){"use strict";E.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(b){var w=b%10;return b+(1==~~(b%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:1,doy:4}})}(x(7586))},1931:function(j,H,x){!function(E){"use strict";E.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(b){return"p"===b.charAt(0).toLowerCase()},meridiem:function(b,w,D){return b>11?D?"p.t.m.":"P.T.M.":D?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(x(7586))},1805:function(j,H,x){!function(E){"use strict";var y="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),b="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),w=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],D=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;E.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,N){return R?/-MMM-/.test(N)?b[R.month()]:y[R.month()]:y},monthsRegex:D,monthsShortRegex:D,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(x(7586))},3445:function(j,H,x){!function(E){"use strict";var y="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),b="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),w=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],D=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;E.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,N){return R?/-MMM-/.test(N)?b[R.month()]:y[R.month()]:y},monthsRegex:D,monthsShortRegex:D,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(x(7586))},1516:function(j,H,x){!function(E){"use strict";var y="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),b="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),w=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],D=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;E.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,N){return R?/-MMM-/.test(N)?b[R.month()]:y[R.month()]:y},monthsRegex:D,monthsShortRegex:D,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(x(7586))},6679:function(j,H,x){!function(E){"use strict";var y="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),b="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),w=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],D=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;E.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(R,N){return R?/-MMM-/.test(N)?b[R.month()]:y[R.month()]:y},monthsRegex:D,monthsShortRegex:D,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(x(7586))},8150:function(j,H,x){!function(E){"use strict";function y(w,D,k,R){var N={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[w+"sekundi",w+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[w+" minuti",w+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[w+" tunni",w+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[w+" kuu",w+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[w+" aasta",w+" aastat"]};return D?N[k][2]?N[k][2]:N[k][1]:R?N[k][0]:N[k][1]}E.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:"%d p\xe4eva",M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(7586))},757:function(j,H,x){!function(E){"use strict";E.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(x(7586))},5742:function(j,H,x){!function(E){"use strict";var y={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},b={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};E.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(D){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(D)},meridiem:function(D,k,R){return D<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(D){return D.replace(/[\u06f0-\u06f9]/g,function(k){return b[k]}).replace(/\u060c/g,",")},postformat:function(D){return D.replace(/\d/g,function(k){return y[k]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(x(7586))},3958:function(j,H,x){!function(E){"use strict";var y="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),b=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",y[7],y[8],y[9]];function w(R,N,W,$){var K="";switch(W){case"s":return $?"muutaman sekunnin":"muutama sekunti";case"ss":K=$?"sekunnin":"sekuntia";break;case"m":return $?"minuutin":"minuutti";case"mm":K=$?"minuutin":"minuuttia";break;case"h":return $?"tunnin":"tunti";case"hh":K=$?"tunnin":"tuntia";break;case"d":return $?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":K=$?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return $?"kuukauden":"kuukausi";case"MM":K=$?"kuukauden":"kuukautta";break;case"y":return $?"vuoden":"vuosi";case"yy":K=$?"vuoden":"vuotta"}return K=D(R,$)+" "+K}function D(R,N){return R<10?N?b[R]:y[R]:R}E.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:w,ss:w,m:w,mm:w,h:w,hh:w,d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(7586))},6720:function(j,H,x){!function(E){"use strict";E.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(b){return b},week:{dow:1,doy:4}})}(x(7586))},8352:function(j,H,x){!function(E){"use strict";E.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(7586))},2096:function(j,H,x){!function(E){"use strict";E.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(b,w){switch(w){default:case"M":case"Q":case"D":case"DDD":case"d":return b+(1===b?"er":"e");case"w":case"W":return b+(1===b?"re":"e")}}})}(x(7586))},5759:function(j,H,x){!function(E){"use strict";E.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(b,w){switch(w){default:case"M":case"Q":case"D":case"DDD":case"d":return b+(1===b?"er":"e");case"w":case"W":return b+(1===b?"re":"e")}},week:{dow:1,doy:4}})}(x(7586))},4059:function(j,H,x){!function(E){"use strict";var y=/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,b=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,w=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,D=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];E.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:w,monthsShortRegex:w,monthsStrictRegex:y,monthsShortStrictRegex:b,monthsParse:D,longMonthsParse:D,shortMonthsParse:D,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(R,N){switch(N){case"D":return R+(1===R?"er":"");default:case"M":case"Q":case"DDD":case"d":return R+(1===R?"er":"e");case"w":case"W":return R+(1===R?"re":"e")}},week:{dow:1,doy:4}})}(x(7586))},5958:function(j,H,x){!function(E){"use strict";var y="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),b="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");E.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(D,k){return D?/-MMM-/.test(k)?b[D.month()]:y[D.month()]:y},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(D){return D+(1===D||8===D||D>=20?"ste":"de")},week:{dow:1,doy:4}})}(x(7586))},4143:function(j,H,x){!function(E){"use strict";var y=["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],b=["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],w=["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],D=["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],k=["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"];E.defineLocale("ga",{months:y,monthsShort:b,monthsParseExact:!0,weekdays:w,weekdaysShort:D,weekdaysMin:k,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(N){return N+(1===N?"d":N%10==2?"na":"mh")},week:{dow:1,doy:4}})}(x(7586))},7028:function(j,H,x){!function(E){"use strict";var y=["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],b=["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],w=["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],D=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],k=["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"];E.defineLocale("gd",{months:y,monthsShort:b,monthsParseExact:!0,weekdays:w,weekdaysShort:D,weekdaysMin:k,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(N){return N+(1===N?"d":N%10==2?"na":"mh")},week:{dow:1,doy:4}})}(x(7586))},428:function(j,H,x){!function(E){"use strict";E.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(b){return 0===b.indexOf("un")?"n"+b:"en "+b},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(x(7586))},6861:function(j,H,x){!function(E){"use strict";function y(w,D,k,R){var N={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[w+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",w+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[w+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",w+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[w+" \u0935\u0930\u093e\u0902\u0928\u0940",w+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[w+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",w+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[w+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",w+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[w+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",w+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return R?N[k][0]:N[k][1]}E.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(w,D){return"D"===D?w+"\u0935\u0947\u0930":w},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(w,D){return 12===w&&(w=0),"\u0930\u093e\u0924\u0940"===D?w<4?w:w+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===D?w:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===D?w>12?w:w+12:"\u0938\u093e\u0902\u091c\u0947"===D?w+12:void 0},meridiem:function(w,D,k){return w<4?"\u0930\u093e\u0924\u0940":w<12?"\u0938\u0915\u093e\u0933\u0940\u0902":w<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":w<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(x(7586))},7718:function(j,H,x){!function(E){"use strict";function y(w,D,k,R){var N={s:["thoddea sekondamni","thodde sekond"],ss:[w+" sekondamni",w+" sekond"],m:["eka mintan","ek minut"],mm:[w+" mintamni",w+" mintam"],h:["eka voran","ek vor"],hh:[w+" voramni",w+" voram"],d:["eka disan","ek dis"],dd:[w+" disamni",w+" dis"],M:["eka mhoinean","ek mhoino"],MM:[w+" mhoineamni",w+" mhoine"],y:["eka vorsan","ek voros"],yy:[w+" vorsamni",w+" vorsam"]};return R?N[k][0]:N[k][1]}E.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(w,D){return"D"===D?w+"er":w},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(w,D){return 12===w&&(w=0),"rati"===D?w<4?w:w+12:"sokallim"===D?w:"donparam"===D?w>12?w:w+12:"sanje"===D?w+12:void 0},meridiem:function(w,D,k){return w<4?"rati":w<12?"sokallim":w<16?"donparam":w<20?"sanje":"rati"}})}(x(7586))},6827:function(j,H,x){!function(E){"use strict";var y={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},b={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};E.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(D){return D.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(k){return b[k]})},postformat:function(D){return D.replace(/\d/g,function(k){return y[k]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(D,k){return 12===D&&(D=0),"\u0ab0\u0abe\u0aa4"===k?D<4?D:D+12:"\u0ab8\u0ab5\u0abe\u0ab0"===k?D:"\u0aac\u0aaa\u0acb\u0ab0"===k?D>=10?D:D+12:"\u0ab8\u0abe\u0a82\u0a9c"===k?D+12:void 0},meridiem:function(D,k,R){return D<4?"\u0ab0\u0abe\u0aa4":D<10?"\u0ab8\u0ab5\u0abe\u0ab0":D<17?"\u0aac\u0aaa\u0acb\u0ab0":D<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(x(7586))},1936:function(j,H,x){!function(E){"use strict";E.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(b){return 2===b?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":b+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(b){return 2===b?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":b+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(b){return 2===b?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":b+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(b){return 2===b?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":b%10==0&&10!==b?b+" \u05e9\u05e0\u05d4":b+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(b){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(b)},meridiem:function(b,w,D){return b<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":b<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":b<12?D?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":b<18?D?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(x(7586))},1332:function(j,H,x){!function(E){"use strict";var y={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},b={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},w=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i],D=[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i];E.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:w,longMonthsParse:w,shortMonthsParse:D,monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(R){return R.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(N){return b[N]})},postformat:function(R){return R.replace(/\d/g,function(N){return y[N]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(R,N){return 12===R&&(R=0),"\u0930\u093e\u0924"===N?R<4?R:R+12:"\u0938\u0941\u092c\u0939"===N?R:"\u0926\u094b\u092a\u0939\u0930"===N?R>=10?R:R+12:"\u0936\u093e\u092e"===N?R+12:void 0},meridiem:function(R,N,W){return R<4?"\u0930\u093e\u0924":R<10?"\u0938\u0941\u092c\u0939":R<17?"\u0926\u094b\u092a\u0939\u0930":R<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(x(7586))},1957:function(j,H,x){!function(E){"use strict";function y(w,D,k){var R=w+" ";switch(k){case"ss":return R+=1===w?"sekunda":2===w||3===w||4===w?"sekunde":"sekundi";case"m":return D?"jedna minuta":"jedne minute";case"mm":return R+=1===w?"minuta":2===w||3===w||4===w?"minute":"minuta";case"h":return D?"jedan sat":"jednog sata";case"hh":return R+=1===w?"sat":2===w||3===w||4===w?"sata":"sati";case"dd":return R+=1===w?"dan":"dana";case"MM":return R+=1===w?"mjesec":2===w||3===w||4===w?"mjeseca":"mjeseci";case"yy":return R+=1===w?"godina":2===w||3===w||4===w?"godine":"godina"}}E.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:y,m:y,mm:y,h:y,hh:y,d:"dan",dd:y,M:"mjesec",MM:y,y:"godinu",yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(x(7586))},8928:function(j,H,x){!function(E){"use strict";var y="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function b(k,R,N,W){var $=k;switch(N){case"s":return W||R?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return $+(W||R)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(W||R?" perc":" perce");case"mm":return $+(W||R?" perc":" perce");case"h":return"egy"+(W||R?" \xf3ra":" \xf3r\xe1ja");case"hh":return $+(W||R?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(W||R?" nap":" napja");case"dd":return $+(W||R?" nap":" napja");case"M":return"egy"+(W||R?" h\xf3nap":" h\xf3napja");case"MM":return $+(W||R?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(W||R?" \xe9v":" \xe9ve");case"yy":return $+(W||R?" \xe9v":" \xe9ve")}return""}function w(k){return(k?"":"[m\xfalt] ")+"["+y[this.day()]+"] LT[-kor]"}E.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(k){return"u"===k.charAt(1).toLowerCase()},meridiem:function(k,R,N){return k<12?!0===N?"de":"DE":!0===N?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return w.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return w.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:b,ss:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(7586))},6215:function(j,H,x){!function(E){"use strict";E.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(b){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(b)},meridiem:function(b){return b<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":b<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":b<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(b,w){switch(w){case"DDD":case"w":case"W":case"DDDo":return 1===b?b+"-\u056b\u0576":b+"-\u0580\u0564";default:return b}},week:{dow:1,doy:7}})}(x(7586))},586:function(j,H,x){!function(E){"use strict";E.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(b,w){return 12===b&&(b=0),"pagi"===w?b:"siang"===w?b>=11?b:b+12:"sore"===w||"malam"===w?b+12:void 0},meridiem:function(b,w,D){return b<11?"pagi":b<15?"siang":b<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(x(7586))},211:function(j,H,x){!function(E){"use strict";function y(D){return D%100==11||D%10!=1}function b(D,k,R,N){var W=D+" ";switch(R){case"s":return k||N?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return y(D)?W+(k||N?"sek\xfandur":"sek\xfandum"):W+"sek\xfanda";case"m":return k?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return y(D)?W+(k||N?"m\xedn\xfatur":"m\xedn\xfatum"):k?W+"m\xedn\xfata":W+"m\xedn\xfatu";case"hh":return y(D)?W+(k||N?"klukkustundir":"klukkustundum"):W+"klukkustund";case"d":return k?"dagur":N?"dag":"degi";case"dd":return y(D)?k?W+"dagar":W+(N?"daga":"d\xf6gum"):k?W+"dagur":W+(N?"dag":"degi");case"M":return k?"m\xe1nu\xf0ur":N?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return y(D)?k?W+"m\xe1nu\xf0ir":W+(N?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):k?W+"m\xe1nu\xf0ur":W+(N?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return k||N?"\xe1r":"\xe1ri";case"yy":return y(D)?W+(k||N?"\xe1r":"\xe1rum"):W+(k||N?"\xe1r":"\xe1ri")}}E.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:b,ss:b,m:b,mm:b,h:"klukkustund",hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(7586))},2340:function(j,H,x){!function(E){"use strict";E.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(b){return(/^[0-9].+$/.test(b)?"tra":"in")+" "+b},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(x(7586))},170:function(j,H,x){!function(E){"use strict";E.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(x(7586))},9770:function(j,H,x){!function(E){"use strict";E.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(b,w){return"\u5143"===w[1]?1:parseInt(w[1]||b,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(b){return"\u5348\u5f8c"===b},meridiem:function(b,w,D){return b<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(b){return b.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(b){return this.week()!==b.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(b,w){switch(w){case"y":return 1===b?"\u5143\u5e74":b+"\u5e74";case"d":case"D":case"DDD":return b+"\u65e5";default:return b}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(x(7586))},3875:function(j,H,x){!function(E){"use strict";E.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(b,w){return 12===b&&(b=0),"enjing"===w?b:"siyang"===w?b>=11?b:b+12:"sonten"===w||"ndalu"===w?b+12:void 0},meridiem:function(b,w,D){return b<11?"enjing":b<15?"siyang":b<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(x(7586))},9499:function(j,H,x){!function(E){"use strict";E.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(b){return b.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(w,D,k){return"\u10d8"===k?D+"\u10e8\u10d8":D+k+"\u10e8\u10d8"})},past:function(b){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(b)?b.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(b)?b.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):b},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(b){return 0===b?b:1===b?b+"-\u10da\u10d8":b<20||b<=100&&b%20==0||b%100==0?"\u10db\u10d4-"+b:b+"-\u10d4"},week:{dow:1,doy:7}})}(x(7586))},3573:function(j,H,x){!function(E){"use strict";var y={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};E.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(w){var D=w%10,k=w>=100?100:null;return w+(y[w]||y[D]||y[k])},week:{dow:1,doy:7}})}(x(7586))},8807:function(j,H,x){!function(E){"use strict";var y={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},b={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};E.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(D){return"\u179b\u17d2\u1784\u17b6\u1785"===D},meridiem:function(D,k,R){return D<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(D){return D.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(k){return b[k]})},postformat:function(D){return D.replace(/\d/g,function(k){return y[k]})},week:{dow:1,doy:4}})}(x(7586))},5082:function(j,H,x){!function(E){"use strict";var y={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},b={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};E.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(D){return D.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(k){return b[k]})},postformat:function(D){return D.replace(/\d/g,function(k){return y[k]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(D,k){return 12===D&&(D=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===k?D<4?D:D+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===k?D:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===k?D>=10?D:D+12:"\u0cb8\u0c82\u0c9c\u0cc6"===k?D+12:void 0},meridiem:function(D,k,R){return D<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":D<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":D<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":D<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(D){return D+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(x(7586))},137:function(j,H,x){!function(E){"use strict";E.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(b,w){switch(w){case"d":case"D":case"DDD":return b+"\uc77c";case"M":return b+"\uc6d4";case"w":case"W":return b+"\uc8fc";default:return b}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(b){return"\uc624\ud6c4"===b},meridiem:function(b,w,D){return b<12?"\uc624\uc804":"\uc624\ud6c4"}})}(x(7586))},111:function(j,H,x){!function(E){"use strict";var y={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},b={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},w=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];E.defineLocale("ku",{months:w,monthsShort:w,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(k){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(k)},meridiem:function(k,R,N){return k<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(k){return k.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(R){return b[R]}).replace(/\u060c/g,",")},postformat:function(k){return k.replace(/\d/g,function(R){return y[R]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(x(7586))},9187:function(j,H,x){!function(E){"use strict";var y={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};E.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(w){var D=w%10,k=w>=100?100:null;return w+(y[w]||y[D]||y[k])},week:{dow:1,doy:7}})}(x(7586))},5969:function(j,H,x){!function(E){"use strict";function y(R,N,W,$){var K={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return N?K[W][0]:K[W][1]}function b(R){return D(R.substr(0,R.indexOf(" ")))?"a "+R:"an "+R}function w(R){return D(R.substr(0,R.indexOf(" ")))?"viru "+R:"virun "+R}function D(R){if(R=parseInt(R,10),isNaN(R))return!1;if(R<0)return!0;if(R<10)return 4<=R&&R<=7;if(R<100){var N=R%10;return D(0===N?R/10:N)}if(R<1e4){for(;R>=10;)R/=10;return D(R)}return D(R/=1e3)}E.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:b,past:w,s:"e puer Sekonnen",ss:"%d Sekonnen",m:y,mm:"%d Minutten",h:y,hh:"%d Stonnen",d:y,dd:"%d Deeg",M:y,MM:"%d M\xe9int",y,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(7586))},3526:function(j,H,x){!function(E){"use strict";E.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(b){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===b},meridiem:function(b,w,D){return b<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(b){return"\u0e97\u0eb5\u0ec8"+b}})}(x(7586))},411:function(j,H,x){!function(E){"use strict";var y={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function b(W,$,K,se){return $?"kelios sekund\u0117s":se?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"}function w(W,$,K,se){return $?k(K)[0]:se?k(K)[1]:k(K)[2]}function D(W){return W%10==0||W>10&&W<20}function k(W){return y[W].split("_")}function R(W,$,K,se){var J=W+" ";return 1===W?J+w(W,$,K[0],se):$?J+(D(W)?k(K)[1]:k(K)[0]):se?J+k(K)[1]:J+(D(W)?k(K)[1]:k(K)[2])}E.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:b,ss:R,m:w,mm:R,h:w,hh:R,d:w,dd:R,M:w,MM:R,y:w,yy:R},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(W){return W+"-oji"},week:{dow:1,doy:4}})}(x(7586))},2621:function(j,H,x){!function(E){"use strict";var y={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function b(N,W,$){return $?W%10==1&&W%100!=11?N[2]:N[3]:W%10==1&&W%100!=11?N[0]:N[1]}function w(N,W,$){return N+" "+b(y[$],N,W)}function D(N,W,$){return b(y[$],N,W)}function k(N,W){return W?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"}E.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:k,ss:w,m:D,mm:w,h:D,hh:w,d:D,dd:w,M:D,MM:w,y:D,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(7586))},5869:function(j,H,x){!function(E){"use strict";var y={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(w,D){return 1===w?D[0]:w>=2&&w<=4?D[1]:D[2]},translate:function(w,D,k){var R=y.words[k];return 1===k.length?D?R[0]:R[1]:w+" "+y.correctGrammaticalCase(w,R)}};E.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:y.translate,m:y.translate,mm:y.translate,h:y.translate,hh:y.translate,d:"dan",dd:y.translate,M:"mjesec",MM:y.translate,y:"godinu",yy:y.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(x(7586))},5881:function(j,H,x){!function(E){"use strict";E.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(x(7586))},2391:function(j,H,x){!function(E){"use strict";E.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(b){var w=b%10,D=b%100;return 0===b?b+"-\u0435\u0432":0===D?b+"-\u0435\u043d":D>10&&D<20?b+"-\u0442\u0438":1===w?b+"-\u0432\u0438":2===w?b+"-\u0440\u0438":7===w||8===w?b+"-\u043c\u0438":b+"-\u0442\u0438"},week:{dow:1,doy:7}})}(x(7586))},1126:function(j,H,x){!function(E){"use strict";E.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(b,w){return 12===b&&(b=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===w&&b>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===w||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===w?b+12:b},meridiem:function(b,w,D){return b<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":b<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":b<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":b<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(x(7586))},4892:function(j,H,x){!function(E){"use strict";function y(w,D,k,R){switch(k){case"s":return D?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return w+(D?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return w+(D?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return w+(D?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return w+(D?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return w+(D?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return w+(D?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return w}}E.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(w){return"\u04ae\u0425"===w},meridiem:function(w,D,k){return w<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(w,D){switch(D){case"d":case"D":case"DDD":return w+" \u04e9\u0434\u04e9\u0440";default:return w}}})}(x(7586))},9080:function(j,H,x){!function(E){"use strict";var y={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},b={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function w(k,R,N,W){var $="";if(R)switch(N){case"s":$="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":$="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":$="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":$="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":$="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":$="%d \u0924\u093e\u0938";break;case"d":$="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":$="%d \u0926\u093f\u0935\u0938";break;case"M":$="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":$="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":$="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":$="%d \u0935\u0930\u094d\u0937\u0947"}else switch(N){case"s":$="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":$="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":$="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":$="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":$="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":$="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":$="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":$="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":$="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":$="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":$="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":$="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return $.replace(/%d/i,k)}E.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:w,ss:w,m:w,mm:w,h:w,hh:w,d:w,dd:w,M:w,MM:w,y:w,yy:w},preparse:function(k){return k.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(R){return b[R]})},postformat:function(k){return k.replace(/\d/g,function(R){return y[R]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(k,R){return 12===k&&(k=0),"\u092a\u0939\u093e\u091f\u0947"===R||"\u0938\u0915\u093e\u0933\u0940"===R?k:"\u0926\u0941\u092a\u093e\u0930\u0940"===R||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===R||"\u0930\u093e\u0924\u094d\u0930\u0940"===R?k>=12?k:k+12:void 0},meridiem:function(k,R,N){return k>=0&&k<6?"\u092a\u0939\u093e\u091f\u0947":k<12?"\u0938\u0915\u093e\u0933\u0940":k<17?"\u0926\u0941\u092a\u093e\u0930\u0940":k<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(x(7586))},5950:function(j,H,x){!function(E){"use strict";E.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(b,w){return 12===b&&(b=0),"pagi"===w?b:"tengahari"===w?b>=11?b:b+12:"petang"===w||"malam"===w?b+12:void 0},meridiem:function(b,w,D){return b<11?"pagi":b<15?"tengahari":b<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(x(7586))},399:function(j,H,x){!function(E){"use strict";E.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(b,w){return 12===b&&(b=0),"pagi"===w?b:"tengahari"===w?b>=11?b:b+12:"petang"===w||"malam"===w?b+12:void 0},meridiem:function(b,w,D){return b<11?"pagi":b<15?"tengahari":b<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(x(7586))},9902:function(j,H,x){!function(E){"use strict";E.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(x(7586))},2985:function(j,H,x){!function(E){"use strict";var y={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},b={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};E.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(D){return D.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(k){return b[k]})},postformat:function(D){return D.replace(/\d/g,function(k){return y[k]})},week:{dow:1,doy:4}})}(x(7586))},240:function(j,H,x){!function(E){"use strict";E.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(7586))},3642:function(j,H,x){!function(E){"use strict";var y={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},b={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};E.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(D){return D.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(k){return b[k]})},postformat:function(D){return D.replace(/\d/g,function(k){return y[k]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(D,k){return 12===D&&(D=0),"\u0930\u093e\u0924\u093f"===k?D<4?D:D+12:"\u092c\u093f\u0939\u093e\u0928"===k?D:"\u0926\u093f\u0909\u0901\u0938\u094b"===k?D>=10?D:D+12:"\u0938\u093e\u0901\u091d"===k?D+12:void 0},meridiem:function(D,k,R){return D<3?"\u0930\u093e\u0924\u093f":D<12?"\u092c\u093f\u0939\u093e\u0928":D<16?"\u0926\u093f\u0909\u0901\u0938\u094b":D<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(x(7586))},9875:function(j,H,x){!function(E){"use strict";var y="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),b="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),w=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],D=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;E.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(R,N){return R?/-MMM-/.test(N)?b[R.month()]:y[R.month()]:y},monthsRegex:D,monthsShortRegex:D,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(R){return R+(1===R||8===R||R>=20?"ste":"de")},week:{dow:1,doy:4}})}(x(7586))},5441:function(j,H,x){!function(E){"use strict";var y="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),b="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),w=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],D=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;E.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(R,N){return R?/-MMM-/.test(N)?b[R.month()]:y[R.month()]:y},monthsRegex:D,monthsShortRegex:D,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(R){return R+(1===R||8===R||R>=20?"ste":"de")},week:{dow:1,doy:4}})}(x(7586))},1311:function(j,H,x){!function(E){"use strict";E.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(7586))},2567:function(j,H,x){!function(E){"use strict";E.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(b,w){var D=1===b?"r":2===b?"n":3===b?"r":4===b?"t":"\xe8";return("w"===w||"W"===w)&&(D="a"),b+D},week:{dow:1,doy:4}})}(x(7586))},6962:function(j,H,x){!function(E){"use strict";var y={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},b={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};E.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(D){return D.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(k){return b[k]})},postformat:function(D){return D.replace(/\d/g,function(k){return y[k]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(D,k){return 12===D&&(D=0),"\u0a30\u0a3e\u0a24"===k?D<4?D:D+12:"\u0a38\u0a35\u0a47\u0a30"===k?D:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===k?D>=10?D:D+12:"\u0a38\u0a3c\u0a3e\u0a2e"===k?D+12:void 0},meridiem:function(D,k,R){return D<4?"\u0a30\u0a3e\u0a24":D<10?"\u0a38\u0a35\u0a47\u0a30":D<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":D<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(x(7586))},1063:function(j,H,x){!function(E){"use strict";var y="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),b="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),w=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function D(N){return N%10<5&&N%10>1&&~~(N/10)%10!=1}function k(N,W,$){var K=N+" ";switch($){case"ss":return K+(D(N)?"sekundy":"sekund");case"m":return W?"minuta":"minut\u0119";case"mm":return K+(D(N)?"minuty":"minut");case"h":return W?"godzina":"godzin\u0119";case"hh":return K+(D(N)?"godziny":"godzin");case"ww":return K+(D(N)?"tygodnie":"tygodni");case"MM":return K+(D(N)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return K+(D(N)?"lata":"lat")}}E.defineLocale("pl",{months:function(N,W){return N?/D MMMM/.test(W)?b[N.month()]:y[N.month()]:y},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:w,longMonthsParse:w,shortMonthsParse:w,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:k,m:k,mm:k,h:k,hh:k,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:k,M:"miesi\u0105c",MM:k,y:"rok",yy:k},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(7586))},7476:function(j,H,x){!function(E){"use strict";E.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(x(7586))},8719:function(j,H,x){!function(E){"use strict";E.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(x(7586))},1004:function(j,H,x){!function(E){"use strict";function y(w,D,k){var N=" ";return(w%100>=20||w>=100&&w%100==0)&&(N=" de "),w+N+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[k]}E.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:y,m:"un minut",mm:y,h:"o or\u0103",hh:y,d:"o zi",dd:y,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:y,M:"o lun\u0103",MM:y,y:"un an",yy:y},week:{dow:1,doy:7}})}(x(7586))},1326:function(j,H,x){!function(E){"use strict";function y(k,R){var N=k.split("_");return R%10==1&&R%100!=11?N[0]:R%10>=2&&R%10<=4&&(R%100<10||R%100>=20)?N[1]:N[2]}function b(k,R,N){return"m"===N?R?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":k+" "+y({ss:R?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:R?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[N],+k)}var w=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];E.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:w,longMonthsParse:w,shortMonthsParse:w,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(k){if(k.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(k){if(k.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:b,m:b,mm:b,h:"\u0447\u0430\u0441",hh:b,d:"\u0434\u0435\u043d\u044c",dd:b,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:b,M:"\u043c\u0435\u0441\u044f\u0446",MM:b,y:"\u0433\u043e\u0434",yy:b},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(k){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(k)},meridiem:function(k,R,N){return k<4?"\u043d\u043e\u0447\u0438":k<12?"\u0443\u0442\u0440\u0430":k<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(k,R){switch(R){case"M":case"d":case"DDD":return k+"-\u0439";case"D":return k+"-\u0433\u043e";case"w":case"W":return k+"-\u044f";default:return k}},week:{dow:1,doy:4}})}(x(7586))},2608:function(j,H,x){!function(E){"use strict";var y=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],b=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];E.defineLocale("sd",{months:y,monthsShort:y,weekdays:b,weekdaysShort:b,weekdaysMin:b,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(D){return"\u0634\u0627\u0645"===D},meridiem:function(D,k,R){return D<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(D){return D.replace(/\u060c/g,",")},postformat:function(D){return D.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(x(7586))},3911:function(j,H,x){!function(E){"use strict";E.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(7586))},5147:function(j,H,x){!function(E){"use strict";E.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(b){return b+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(b){return"\u0db4.\u0dc0."===b||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===b},meridiem:function(b,w,D){return b>11?D?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":D?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(x(7586))},3741:function(j,H,x){!function(E){"use strict";var y="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),b="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function w(R){return R>1&&R<5}function D(R,N,W,$){var K=R+" ";switch(W){case"s":return N||$?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return N||$?K+(w(R)?"sekundy":"sek\xfand"):K+"sekundami";case"m":return N?"min\xfata":$?"min\xfatu":"min\xfatou";case"mm":return N||$?K+(w(R)?"min\xfaty":"min\xfat"):K+"min\xfatami";case"h":return N?"hodina":$?"hodinu":"hodinou";case"hh":return N||$?K+(w(R)?"hodiny":"hod\xedn"):K+"hodinami";case"d":return N||$?"de\u0148":"d\u0148om";case"dd":return N||$?K+(w(R)?"dni":"dn\xed"):K+"d\u0148ami";case"M":return N||$?"mesiac":"mesiacom";case"MM":return N||$?K+(w(R)?"mesiace":"mesiacov"):K+"mesiacmi";case"y":return N||$?"rok":"rokom";case"yy":return N||$?K+(w(R)?"roky":"rokov"):K+"rokmi"}}E.defineLocale("sk",{months:y,monthsShort:b,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:D,ss:D,m:D,mm:D,h:D,hh:D,d:D,dd:D,M:D,MM:D,y:D,yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(7586))},3e3:function(j,H,x){!function(E){"use strict";function y(w,D,k,R){var N=w+" ";switch(k){case"s":return D||R?"nekaj sekund":"nekaj sekundami";case"ss":return N+=1===w?D?"sekundo":"sekundi":2===w?D||R?"sekundi":"sekundah":w<5?D||R?"sekunde":"sekundah":"sekund";case"m":return D?"ena minuta":"eno minuto";case"mm":return N+=1===w?D?"minuta":"minuto":2===w?D||R?"minuti":"minutama":w<5?D||R?"minute":"minutami":D||R?"minut":"minutami";case"h":return D?"ena ura":"eno uro";case"hh":return N+=1===w?D?"ura":"uro":2===w?D||R?"uri":"urama":w<5?D||R?"ure":"urami":D||R?"ur":"urami";case"d":return D||R?"en dan":"enim dnem";case"dd":return N+=1===w?D||R?"dan":"dnem":2===w?D||R?"dni":"dnevoma":D||R?"dni":"dnevi";case"M":return D||R?"en mesec":"enim mesecem";case"MM":return N+=1===w?D||R?"mesec":"mesecem":2===w?D||R?"meseca":"mesecema":w<5?D||R?"mesece":"meseci":D||R?"mesecev":"meseci";case"y":return D||R?"eno leto":"enim letom";case"yy":return N+=1===w?D||R?"leto":"letom":2===w?D||R?"leti":"letoma":w<5?D||R?"leta":"leti":D||R?"let":"leti"}}E.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:y,ss:y,m:y,mm:y,h:y,hh:y,d:y,dd:y,M:y,MM:y,y,yy:y},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(x(7586))},451:function(j,H,x){!function(E){"use strict";E.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(b){return"M"===b.charAt(0)},meridiem:function(b,w,D){return b<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(7586))},905:function(j,H,x){!function(E){"use strict";var y={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(w,D){return w%10>=1&&w%10<=4&&(w%100<10||w%100>=20)?w%10==1?D[0]:D[1]:D[2]},translate:function(w,D,k,R){var W,N=y.words[k];return 1===k.length?"y"===k&&D?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":R||D?N[0]:N[1]:(W=y.correctGrammaticalCase(w,N),"yy"===k&&D&&"\u0433\u043e\u0434\u0438\u043d\u0443"===W?w+" \u0433\u043e\u0434\u0438\u043d\u0430":w+" "+W)}};E.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:y.translate,m:y.translate,mm:y.translate,h:y.translate,hh:y.translate,d:y.translate,dd:y.translate,M:y.translate,MM:y.translate,y:y.translate,yy:y.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(x(7586))},5046:function(j,H,x){!function(E){"use strict";var y={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(w,D){return w%10>=1&&w%10<=4&&(w%100<10||w%100>=20)?w%10==1?D[0]:D[1]:D[2]},translate:function(w,D,k,R){var W,N=y.words[k];return 1===k.length?"y"===k&&D?"jedna godina":R||D?N[0]:N[1]:(W=y.correctGrammaticalCase(w,N),"yy"===k&&D&&"godinu"===W?w+" godina":w+" "+W)}};E.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:y.translate,m:y.translate,mm:y.translate,h:y.translate,hh:y.translate,d:y.translate,dd:y.translate,M:y.translate,MM:y.translate,y:y.translate,yy:y.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(x(7586))},5765:function(j,H,x){!function(E){"use strict";E.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(b,w,D){return b<11?"ekuseni":b<15?"emini":b<19?"entsambama":"ebusuku"},meridiemHour:function(b,w){return 12===b&&(b=0),"ekuseni"===w?b:"emini"===w?b>=11?b:b+12:"entsambama"===w||"ebusuku"===w?0===b?0:b+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(x(7586))},9290:function(j,H,x){!function(E){"use strict";E.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(b){var w=b%10;return b+(1==~~(b%100/10)?":e":1===w||2===w?":a":":e")},week:{dow:1,doy:4}})}(x(7586))},3449:function(j,H,x){!function(E){"use strict";E.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(x(7586))},2688:function(j,H,x){!function(E){"use strict";var y={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},b={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};E.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(D){return D+"\u0bb5\u0ba4\u0bc1"},preparse:function(D){return D.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(k){return b[k]})},postformat:function(D){return D.replace(/\d/g,function(k){return y[k]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(D,k,R){return D<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":D<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":D<10?" \u0b95\u0bbe\u0bb2\u0bc8":D<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":D<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":D<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(D,k){return 12===D&&(D=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===k?D<2?D:D+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===k||"\u0b95\u0bbe\u0bb2\u0bc8"===k||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===k&&D>=10?D:D+12},week:{dow:0,doy:6}})}(x(7586))},2060:function(j,H,x){!function(E){"use strict";E.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(b,w){return 12===b&&(b=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===w?b<4?b:b+12:"\u0c09\u0c26\u0c2f\u0c02"===w?b:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===w?b>=10?b:b+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===w?b+12:void 0},meridiem:function(b,w,D){return b<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":b<10?"\u0c09\u0c26\u0c2f\u0c02":b<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":b<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(x(7586))},3290:function(j,H,x){!function(E){"use strict";E.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(b){var w=b%10;return b+(1==~~(b%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:1,doy:4}})}(x(7586))},8294:function(j,H,x){!function(E){"use strict";var y={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};E.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(w,D){return 12===w&&(w=0),"\u0448\u0430\u0431"===D?w<4?w:w+12:"\u0441\u0443\u0431\u04b3"===D?w:"\u0440\u04ef\u0437"===D?w>=11?w:w+12:"\u0431\u0435\u0433\u043e\u04b3"===D?w+12:void 0},meridiem:function(w,D,k){return w<4?"\u0448\u0430\u0431":w<11?"\u0441\u0443\u0431\u04b3":w<16?"\u0440\u04ef\u0437":w<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(w){var D=w%10,k=w>=100?100:null;return w+(y[w]||y[D]||y[k])},week:{dow:1,doy:7}})}(x(7586))},1231:function(j,H,x){!function(E){"use strict";E.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(b){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===b},meridiem:function(b,w,D){return b<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(x(7586))},3746:function(j,H,x){!function(E){"use strict";var y={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};E.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(w,D){switch(D){case"d":case"D":case"Do":case"DD":return w;default:if(0===w)return w+"'unjy";var k=w%10,R=w%100-k,N=w>=100?100:null;return w+(y[k]||y[R]||y[N])}},week:{dow:1,doy:7}})}(x(7586))},9040:function(j,H,x){!function(E){"use strict";E.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(b){return b},week:{dow:1,doy:4}})}(x(7586))},7187:function(j,H,x){!function(E){"use strict";var y="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function b(N){var W=N;return W=-1!==N.indexOf("jaj")?W.slice(0,-3)+"leS":-1!==N.indexOf("jar")?W.slice(0,-3)+"waQ":-1!==N.indexOf("DIS")?W.slice(0,-3)+"nem":W+" pIq"}function w(N){var W=N;return W=-1!==N.indexOf("jaj")?W.slice(0,-3)+"Hu\u2019":-1!==N.indexOf("jar")?W.slice(0,-3)+"wen":-1!==N.indexOf("DIS")?W.slice(0,-3)+"ben":W+" ret"}function D(N,W,$,K){var se=k(N);switch($){case"ss":return se+" lup";case"mm":return se+" tup";case"hh":return se+" rep";case"dd":return se+" jaj";case"MM":return se+" jar";case"yy":return se+" DIS"}}function k(N){var W=Math.floor(N%1e3/100),$=Math.floor(N%100/10),K=N%10,se="";return W>0&&(se+=y[W]+"vatlh"),$>0&&(se+=(""!==se?" ":"")+y[$]+"maH"),K>0&&(se+=(""!==se?" ":"")+y[K]),""===se?"pagh":se}E.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:b,past:w,s:"puS lup",ss:D,m:"wa\u2019 tup",mm:D,h:"wa\u2019 rep",hh:D,d:"wa\u2019 jaj",dd:D,M:"wa\u2019 jar",MM:D,y:"wa\u2019 DIS",yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(x(7586))},153:function(j,H,x){!function(E){"use strict";var y={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};E.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(w,D,k){return w<12?k?"\xf6\xf6":"\xd6\xd6":k?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(w){return"\xf6s"===w||"\xd6S"===w},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(w,D){switch(D){case"d":case"D":case"Do":case"DD":return w;default:if(0===w)return w+"'\u0131nc\u0131";var k=w%10,R=w%100-k,N=w>=100?100:null;return w+(y[k]||y[R]||y[N])}},week:{dow:1,doy:7}})}(x(7586))},8521:function(j,H,x){!function(E){"use strict";E.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(w){return"d'o"===w.toLowerCase()},meridiem:function(w,D,k){return w>11?k?"d'o":"D'O":k?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:b,ss:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function b(w,D,k,R){var N={s:["viensas secunds","'iensas secunds"],ss:[w+" secunds",w+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[w+" m\xeduts",w+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[w+" \xfeoras",w+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[w+" ziuas",w+" ziuas"],M:["'n mes","'iens mes"],MM:[w+" mesen",w+" mesen"],y:["'n ar","'iens ar"],yy:[w+" ars",w+" ars"]};return R||D?N[k][0]:N[k][1]}}(x(7586))},2234:function(j,H,x){!function(E){"use strict";E.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(x(7586))},8010:function(j,H,x){!function(E){"use strict";E.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(x(7586))},3349:function(j,H,x){!function(E){"use strict";E.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(b,w){return 12===b&&(b=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===w||"\u0633\u06d5\u06be\u06d5\u0631"===w||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===w?b:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===w||"\u0643\u06d5\u0686"===w?b+12:b>=11?b:b+12},meridiem:function(b,w,D){var k=100*b+w;return k<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":k<900?"\u0633\u06d5\u06be\u06d5\u0631":k<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":k<1230?"\u0686\u06c8\u0634":k<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(b,w){switch(w){case"d":case"D":case"DDD":return b+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return b+"-\u06be\u06d5\u067e\u062a\u06d5";default:return b}},preparse:function(b){return b.replace(/\u060c/g,",")},postformat:function(b){return b.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(x(7586))},8479:function(j,H,x){!function(E){"use strict";function y(R,N){var W=R.split("_");return N%10==1&&N%100!=11?W[0]:N%10>=2&&N%10<=4&&(N%100<10||N%100>=20)?W[1]:W[2]}function b(R,N,W){return"m"===W?N?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===W?N?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":R+" "+y({ss:N?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:N?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:N?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[W],+R)}function w(R,N){var W={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===R?W.nominative.slice(1,7).concat(W.nominative.slice(0,1)):R?W[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(N)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(N)?"genitive":"nominative"][R.day()]:W.nominative}function D(R){return function(){return R+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}E.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:w,weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:D("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:D("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:D("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:D("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return D("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return D("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:b,m:b,mm:b,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:b,d:"\u0434\u0435\u043d\u044c",dd:b,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:b,y:"\u0440\u0456\u043a",yy:b},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(R){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(R)},meridiem:function(R,N,W){return R<4?"\u043d\u043e\u0447\u0456":R<12?"\u0440\u0430\u043d\u043a\u0443":R<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(R,N){switch(N){case"M":case"d":case"DDD":case"w":case"W":return R+"-\u0439";case"D":return R+"-\u0433\u043e";default:return R}},week:{dow:1,doy:7}})}(x(7586))},3024:function(j,H,x){!function(E){"use strict";var y=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],b=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];E.defineLocale("ur",{months:y,monthsShort:y,weekdays:b,weekdaysShort:b,weekdaysMin:b,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(D){return"\u0634\u0627\u0645"===D},meridiem:function(D,k,R){return D<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(D){return D.replace(/\u060c/g,",")},postformat:function(D){return D.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(x(7586))},2376:function(j,H,x){!function(E){"use strict";E.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(x(7586))},9800:function(j,H,x){!function(E){"use strict";E.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(x(7586))},9366:function(j,H,x){!function(E){"use strict";E.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(b){return/^ch$/i.test(b)},meridiem:function(b,w,D){return b<12?D?"sa":"SA":D?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(b){return b},week:{dow:1,doy:4}})}(x(7586))},9702:function(j,H,x){!function(E){"use strict";E.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(b){var w=b%10;return b+(1==~~(b%100/10)?"th":1===w?"st":2===w?"nd":3===w?"rd":"th")},week:{dow:1,doy:4}})}(x(7586))},2655:function(j,H,x){!function(E){"use strict";E.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(x(7586))},575:function(j,H,x){!function(E){"use strict";E.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(b,w){return 12===b&&(b=0),"\u51cc\u6668"===w||"\u65e9\u4e0a"===w||"\u4e0a\u5348"===w?b:"\u4e0b\u5348"===w||"\u665a\u4e0a"===w?b+12:b>=11?b:b+12},meridiem:function(b,w,D){var k=100*b+w;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(b){return b.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(b){return this.week()!==b.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(b,w){switch(w){case"d":case"D":case"DDD":return b+"\u65e5";case"M":return b+"\u6708";case"w":case"W":return b+"\u5468";default:return b}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(x(7586))},8351:function(j,H,x){!function(E){"use strict";E.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(b,w){return 12===b&&(b=0),"\u51cc\u6668"===w||"\u65e9\u4e0a"===w||"\u4e0a\u5348"===w?b:"\u4e2d\u5348"===w?b>=11?b:b+12:"\u4e0b\u5348"===w||"\u665a\u4e0a"===w?b+12:void 0},meridiem:function(b,w,D){var k=100*b+w;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1200?"\u4e0a\u5348":1200===k?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(b,w){switch(w){case"d":case"D":case"DDD":return b+"\u65e5";case"M":return b+"\u6708";case"w":case"W":return b+"\u9031";default:return b}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(x(7586))},1626:function(j,H,x){!function(E){"use strict";E.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(b,w){return 12===b&&(b=0),"\u51cc\u6668"===w||"\u65e9\u4e0a"===w||"\u4e0a\u5348"===w?b:"\u4e2d\u5348"===w?b>=11?b:b+12:"\u4e0b\u5348"===w||"\u665a\u4e0a"===w?b+12:void 0},meridiem:function(b,w,D){var k=100*b+w;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(b,w){switch(w){case"d":case"D":case"DDD":return b+"\u65e5";case"M":return b+"\u6708";case"w":case"W":return b+"\u9031";default:return b}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(x(7586))},8887:function(j,H,x){!function(E){"use strict";E.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(b,w){return 12===b&&(b=0),"\u51cc\u6668"===w||"\u65e9\u4e0a"===w||"\u4e0a\u5348"===w?b:"\u4e2d\u5348"===w?b>=11?b:b+12:"\u4e0b\u5348"===w||"\u665a\u4e0a"===w?b+12:void 0},meridiem:function(b,w,D){var k=100*b+w;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(b,w){switch(w){case"d":case"D":case"DDD":return b+"\u65e5";case"M":return b+"\u6708";case"w":case"W":return b+"\u9031";default:return b}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(x(7586))},7586:function(j,H,x){(j=x.nmd(j)).exports=function(){"use strict";var E,We;function y(){return E.apply(null,arguments)}function b(_){E=_}function w(_){return _ instanceof Array||"[object Array]"===Object.prototype.toString.call(_)}function D(_){return null!=_&&"[object Object]"===Object.prototype.toString.call(_)}function k(_,C){return Object.prototype.hasOwnProperty.call(_,C)}function R(_){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(_).length;var C;for(C in _)if(k(_,C))return!1;return!0}function N(_){return void 0===_}function W(_){return"number"==typeof _||"[object Number]"===Object.prototype.toString.call(_)}function $(_){return _ instanceof Date||"[object Date]"===Object.prototype.toString.call(_)}function K(_,C){var F,A=[],U=_.length;for(F=0;F>>0;for(F=0;F0)for(A=0;A=0?A?"+":"":"-")+Math.pow(10,Math.max(0,U)).toString().substr(1)+F}var ft=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Rn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,bt={},wt={};function Te(_,C,A,F){var U=F;"string"==typeof F&&(U=function(){return this[F]()}),_&&(wt[_]=U),C&&(wt[C[0]]=function(){return hn(U.apply(this,arguments),C[1],C[2])}),A&&(wt[A]=function(){return this.localeData().ordinal(U.apply(this,arguments),_)})}function ps(_){return _.match(/\[[\s\S]/)?_.replace(/^\[|\]$/g,""):_.replace(/\\/g,"")}function $t(_){var A,F,C=_.match(ft);for(A=0,F=C.length;A=0&&Rn.test(_);)_=_.replace(Rn,F),Rn.lastIndex=0,A-=1;return _}var at={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function St(_){var C=this._longDateFormat[_],A=this._longDateFormat[_.toUpperCase()];return C||!A?C:(this._longDateFormat[_]=A.match(ft).map(function(F){return"MMMM"===F||"MM"===F||"DD"===F||"dddd"===F?F.slice(1):F}).join(""),this._longDateFormat[_])}var kt="Invalid date";function Vt(){return this._invalidDate}var Ht="%d",Ss=/\d{1,2}/;function Nt(_){return this._ordinal.replace("%d",_)}var Bt={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function en(_,C,A,F){var U=this._relativeTime[A];return ge(U)?U(_,C,A,F):U.replace(/%d/i,_)}function Fs(_,C){var A=this._relativeTime[_>0?"future":"past"];return ge(A)?A(C):A.replace(/%s/i,C)}var an={};function sn(_,C){var A=_.toLowerCase();an[A]=an[A+"s"]=an[C]=_}function xn(_){return"string"==typeof _?an[_]||an[_.toLowerCase()]:void 0}function Dt(_){var A,F,C={};for(F in _)k(_,F)&&(A=xn(F))&&(C[A]=_[F]);return C}var ii={};function He(_,C){ii[_]=C}function Ti(_){var A,C=[];for(A in _)k(_,A)&&C.push({unit:A,priority:ii[A]});return C.sort(function(F,U){return F.priority-U.priority}),C}function tn(_){return _%4==0&&_%100!=0||_%400==0}function Ut(_){return _<0?Math.ceil(_)||0:Math.floor(_)}function ze(_){var C=+_,A=0;return 0!==C&&isFinite(C)&&(A=Ut(C)),A}function Xn(_,C){return function(A){return null!=A?(Pt(this,_,A),y.updateOffset(this,C),this):yi(this,_)}}function yi(_,C){return _.isValid()?_._d["get"+(_._isUTC?"UTC":"")+C]():NaN}function Pt(_,C,A){_.isValid()&&!isNaN(A)&&("FullYear"===C&&tn(_.year())&&1===_.month()&&29===_.date()?(A=ze(A),_._d["set"+(_._isUTC?"UTC":"")+C](A,_.month(),ya(A,_.month()))):_._d["set"+(_._isUTC?"UTC":"")+C](A))}function Or(_){return ge(this[_=xn(_)])?this[_]():this}function vi(_,C){if("object"==typeof _){var F,A=Ti(_=Dt(_)),U=A.length;for(F=0;F68?1900:2e3)};var qt=Xn("FullYear",!0);function mn(){return tn(this.year())}function Pf(_,C,A,F,U,ie,Me){var vt;return _<100&&_>=0?(vt=new Date(_+400,C,A,F,U,ie,Me),isFinite(vt.getFullYear())&&vt.setFullYear(_)):vt=new Date(_,C,A,F,U,ie,Me),vt}function Bu(_){var C,A;return _<100&&_>=0?((A=Array.prototype.slice.call(arguments))[0]=_+400,C=new Date(Date.UTC.apply(null,A)),isFinite(C.getUTCFullYear())&&C.setUTCFullYear(_)):C=new Date(Date.UTC.apply(null,arguments)),C}function Ho(_,C,A){var F=7+C-A;return-(7+Bu(_,0,F).getUTCDay()-C)%7+F-1}function It(_,C,A,F,U){var un,is,vt=1+7*(C-1)+(7+A-F)%7+Ho(_,F,U);return vt<=0?is=wn(un=_-1)+vt:vt>wn(_)?(un=_+1,is=vt-wn(_)):(un=_,is=vt),{year:un,dayOfYear:is}}function gt(_,C,A){var ie,Me,F=Ho(_.year(),C,A),U=Math.floor((_.dayOfYear()-F-1)/7)+1;return U<1?ie=U+Nr(Me=_.year()-1,C,A):U>Nr(_.year(),C,A)?(ie=U-Nr(_.year(),C,A),Me=_.year()+1):(Me=_.year(),ie=U),{week:ie,year:Me}}function Nr(_,C,A){var F=Ho(_,C,A),U=Ho(_+1,C,A);return(wn(_)-F+U)/7}function ne(_){return gt(_,this._week.dow,this._week.doy).week}Te("w",["ww",2],"wo","week"),Te("W",["WW",2],"Wo","isoWeek"),sn("week","w"),sn("isoWeek","W"),He("week",5),He("isoWeek",5),Qe("w",Zn),Qe("ww",Zn,Nn),Qe("W",Zn),Qe("WW",Zn,Nn),or(["w","ww","W","WW"],function(_,C,A,F){C[F.substr(0,1)]=ze(_)});var gw={dow:0,doy:6};function _w(){return this._week.dow}function yw(){return this._week.doy}function Ha(_){var C=this.localeData().week(this);return null==_?C:this.add(7*(_-C),"d")}function NP(_){var C=gt(this,1,4).week;return null==_?C:this.add(7*(_-C),"d")}function _E(_,C){return"string"!=typeof _?_:isNaN(_)?"number"==typeof(_=C.weekdaysParse(_))?_:null:parseInt(_,10)}function vw(_,C){return"string"==typeof _?C.weekdaysParse(_)%7||7:isNaN(_)?null:_}function T_(_,C){return _.slice(C,7).concat(_.slice(0,C))}Te("d",0,"do","day"),Te("dd",0,0,function(_){return this.localeData().weekdaysMin(this,_)}),Te("ddd",0,0,function(_){return this.localeData().weekdaysShort(this,_)}),Te("dddd",0,0,function(_){return this.localeData().weekdays(this,_)}),Te("e",0,0,"weekday"),Te("E",0,0,"isoWeekday"),sn("day","d"),sn("weekday","e"),sn("isoWeekday","E"),He("day",11),He("weekday",11),He("isoWeekday",11),Qe("d",Zn),Qe("e",Zn),Qe("E",Zn),Qe("dd",function(_,C){return C.weekdaysMinRegex(_)}),Qe("ddd",function(_,C){return C.weekdaysShortRegex(_)}),Qe("dddd",function(_,C){return C.weekdaysRegex(_)}),or(["dd","ddd","dddd"],function(_,C,A,F){var U=A._locale.weekdaysParse(_,F,A._strict);null!=U?C.d=U:de(A).invalidWeekday=_}),or(["d","e","E"],function(_,C,A,F){C[F]=ze(_)});var bw="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Sh="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),I_="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ju=Il,Fr=Il,At=Il;function re(_,C){var A=w(this._weekdays)?this._weekdays:this._weekdays[_&&!0!==_&&this._weekdays.isFormat.test(C)?"format":"standalone"];return!0===_?T_(A,this._week.dow):_?A[_.day()]:A}function te(_){return!0===_?T_(this._weekdaysShort,this._week.dow):_?this._weekdaysShort[_.day()]:this._weekdaysShort}function yE(_){return!0===_?T_(this._weekdaysMin,this._week.dow):_?this._weekdaysMin[_.day()]:this._weekdaysMin}function vE(_,C,A){var F,U,ie,Me=_.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],F=0;F<7;++F)ie=J([2e3,1]).day(F),this._minWeekdaysParse[F]=this.weekdaysMin(ie,"").toLocaleLowerCase(),this._shortWeekdaysParse[F]=this.weekdaysShort(ie,"").toLocaleLowerCase(),this._weekdaysParse[F]=this.weekdays(ie,"").toLocaleLowerCase();return A?"dddd"===C?-1!==(U=mt.call(this._weekdaysParse,Me))?U:null:"ddd"===C?-1!==(U=mt.call(this._shortWeekdaysParse,Me))?U:null:-1!==(U=mt.call(this._minWeekdaysParse,Me))?U:null:"dddd"===C?-1!==(U=mt.call(this._weekdaysParse,Me))||-1!==(U=mt.call(this._shortWeekdaysParse,Me))||-1!==(U=mt.call(this._minWeekdaysParse,Me))?U:null:"ddd"===C?-1!==(U=mt.call(this._shortWeekdaysParse,Me))||-1!==(U=mt.call(this._weekdaysParse,Me))||-1!==(U=mt.call(this._minWeekdaysParse,Me))?U:null:-1!==(U=mt.call(this._minWeekdaysParse,Me))||-1!==(U=mt.call(this._weekdaysParse,Me))||-1!==(U=mt.call(this._shortWeekdaysParse,Me))?U:null}function bE(_,C,A){var F,U,ie;if(this._weekdaysParseExact)return vE.call(this,_,C,A);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),F=0;F<7;F++){if(U=J([2e3,1]).day(F),A&&!this._fullWeekdaysParse[F]&&(this._fullWeekdaysParse[F]=new RegExp("^"+this.weekdays(U,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[F]=new RegExp("^"+this.weekdaysShort(U,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[F]=new RegExp("^"+this.weekdaysMin(U,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[F]||(ie="^"+this.weekdays(U,"")+"|^"+this.weekdaysShort(U,"")+"|^"+this.weekdaysMin(U,""),this._weekdaysParse[F]=new RegExp(ie.replace(".",""),"i")),A&&"dddd"===C&&this._fullWeekdaysParse[F].test(_))return F;if(A&&"ddd"===C&&this._shortWeekdaysParse[F].test(_))return F;if(A&&"dd"===C&&this._minWeekdaysParse[F].test(_))return F;if(!A&&this._weekdaysParse[F].test(_))return F}}function Ae(_){if(!this.isValid())return null!=_?this:NaN;var C=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=_?(_=_E(_,this.localeData()),this.add(_-C,"d")):C}function ww(_){if(!this.isValid())return null!=_?this:NaN;var C=(this.day()+7-this.localeData()._week.dow)%7;return null==_?C:this.add(_-C,"d")}function es(_){if(!this.isValid())return null!=_?this:NaN;if(null!=_){var C=vw(_,this.localeData());return this.day(this.day()%7?C:C-7)}return this.day()||7}function Rf(_){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Dh.call(this),_?this._weekdaysStrictRegex:this._weekdaysRegex):(k(this,"_weekdaysRegex")||(this._weekdaysRegex=ju),this._weekdaysStrictRegex&&_?this._weekdaysStrictRegex:this._weekdaysRegex)}function wE(_){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Dh.call(this),_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(k(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Fr),this._weekdaysShortStrictRegex&&_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function A_(_){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||Dh.call(this),_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(k(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=At),this._weekdaysMinStrictRegex&&_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Dh(){function _(Zi,Do){return Do.length-Zi.length}var ie,Me,vt,un,is,C=[],A=[],F=[],U=[];for(ie=0;ie<7;ie++)Me=J([2e3,1]).day(ie),vt=bi(this.weekdaysMin(Me,"")),un=bi(this.weekdaysShort(Me,"")),is=bi(this.weekdays(Me,"")),C.push(vt),A.push(un),F.push(is),U.push(vt),U.push(un),U.push(is);C.sort(_),A.sort(_),F.sort(_),U.sort(_),this._weekdaysRegex=new RegExp("^("+U.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+F.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+A.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+C.join("|")+")","i")}function Pc(){return this.hours()%12||12}function Ua(){return this.hours()||24}function Of(_,C){Te(_,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),C)})}function L_(_,C){return C._meridiemParse}function Sw(_){return"p"===(_+"").toLowerCase().charAt(0)}Te("H",["HH",2],0,"hour"),Te("h",["hh",2],0,Pc),Te("k",["kk",2],0,Ua),Te("hmm",0,0,function(){return""+Pc.apply(this)+hn(this.minutes(),2)}),Te("hmmss",0,0,function(){return""+Pc.apply(this)+hn(this.minutes(),2)+hn(this.seconds(),2)}),Te("Hmm",0,0,function(){return""+this.hours()+hn(this.minutes(),2)}),Te("Hmmss",0,0,function(){return""+this.hours()+hn(this.minutes(),2)+hn(this.seconds(),2)}),Of("a",!0),Of("A",!1),sn("hour","h"),He("hour",13),Qe("a",L_),Qe("A",L_),Qe("H",Zn),Qe("h",Zn),Qe("k",Zn),Qe("HH",Zn,Nn),Qe("hh",Zn,Nn),Qe("kk",Zn,Nn),Qe("hmm",ht),Qe("hmmss",Ba),Qe("Hmm",ht),Qe("Hmmss",Ba),Tt(["H","HH"],Jn),Tt(["k","kk"],function(_,C,A){var F=ze(_);C[Jn]=24===F?0:F}),Tt(["a","A"],function(_,C,A){A._isPm=A._locale.isPM(_),A._meridiem=_}),Tt(["h","hh"],function(_,C,A){C[Jn]=ze(_),de(A).bigHour=!0}),Tt("hmm",function(_,C,A){var F=_.length-2;C[Jn]=ze(_.substr(0,F)),C[Ls]=ze(_.substr(F)),de(A).bigHour=!0}),Tt("hmmss",function(_,C,A){var F=_.length-4,U=_.length-2;C[Jn]=ze(_.substr(0,F)),C[Ls]=ze(_.substr(F,2)),C[ar]=ze(_.substr(U)),de(A).bigHour=!0}),Tt("Hmm",function(_,C,A){var F=_.length-2;C[Jn]=ze(_.substr(0,F)),C[Ls]=ze(_.substr(F))}),Tt("Hmmss",function(_,C,A){var F=_.length-4,U=_.length-2;C[Jn]=ze(_.substr(0,F)),C[Ls]=ze(_.substr(F,2)),C[ar]=ze(_.substr(U))});var Re=/[ap]\.?m?\.?/i,Nf=Xn("Hours",!0);function Ff(_,C,A){return _>11?A?"pm":"PM":A?"am":"AM"}var Ll,Rc={calendar:ws,longDateFormat:at,invalidDate:kt,ordinal:Ht,dayOfMonthOrdinalParse:Ss,relativeTime:Bt,months:wh,monthsShort:Ac,week:gw,weekdays:bw,weekdaysMin:I_,weekdaysShort:Sh,meridiemParse:Re},gs={},va={};function SE(_,C){var A,F=Math.min(_.length,C.length);for(A=0;A0;){if(U=Oc(ie.slice(0,A).join("-")))return U;if(F&&F.length>=A&&SE(ie,F)>=A-1)break;A--}C++}return Ll}function P_(_){return null!=_.match("^[^/\\\\]*$")}function Oc(_){var C=null;if(void 0===gs[_]&&j&&j.exports&&P_(_))try{C=Ll._abbr,x(5358)("./"+_),Li(C)}catch{gs[_]=null}return gs[_]}function Li(_,C){var A;return _&&((A=N(C)?bo(_):Nc(_,C))?Ll=A:typeof console<"u"&&console.warn&&console.warn("Locale "+_+" not found. Did you forget to load it?")),Ll._abbr}function Nc(_,C){if(null!==C){var A,F=Rc;if(C.abbr=_,null!=gs[_])ae("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),F=gs[_]._config;else if(null!=C.parentLocale)if(null!=gs[C.parentLocale])F=gs[C.parentLocale]._config;else{if(null==(A=Oc(C.parentLocale)))return va[C.parentLocale]||(va[C.parentLocale]=[]),va[C.parentLocale].push({name:_,config:C}),null;F=A._config}return gs[_]=new st(Ue(F,C)),va[_]&&va[_].forEach(function(U){Nc(U.name,U.config)}),Li(_),gs[_]}return delete gs[_],null}function Fc(_,C){if(null!=C){var A,F,U=Rc;null!=gs[_]&&null!=gs[_].parentLocale?gs[_].set(Ue(gs[_]._config,C)):(null!=(F=Oc(_))&&(U=F._config),C=Ue(U,C),null==F&&(C.abbr=_),(A=new st(C)).parentLocale=gs[_],gs[_]=A),Li(_)}else null!=gs[_]&&(null!=gs[_].parentLocale?(gs[_]=gs[_].parentLocale,_===Li()&&Li(_)):null!=gs[_]&&delete gs[_]);return gs[_]}function bo(_){var C;if(_&&_._locale&&_._locale._abbr&&(_=_._locale._abbr),!_)return Ll;if(!w(_)){if(C=Oc(_))return C;_=[_]}return Dw(_)}function $a(){return Kn(gs)}function Yc(_){var C,A=_._a;return A&&-2===de(_).overflow&&(C=A[Wt]<0||A[Wt]>11?Wt:A[Ds]<1||A[Ds]>ya(A[As],A[Wt])?Ds:A[Jn]<0||A[Jn]>24||24===A[Jn]&&(0!==A[Ls]||0!==A[ar]||0!==A[ms])?Jn:A[Ls]<0||A[Ls]>59?Ls:A[ar]<0||A[ar]>59?ar:A[ms]<0||A[ms]>999?ms:-1,de(_)._overflowDayOfYear&&(CDs)&&(C=Ds),de(_)._overflowWeeks&&-1===C&&(C=Lf),de(_)._overflowWeekday&&-1===C&&(C=Va),de(_).overflow=C),_}var R_=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Qt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,$n=/Z|[+-]\d\d(?::?\d\d)?/,Vu=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Ch=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wi=/^\/?Date\((-?\d+)/i,Uo=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Bf={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ba(_){var C,A,ie,Me,vt,un,F=_._i,U=R_.exec(F)||Qt.exec(F),is=Vu.length,Zi=Ch.length;if(U){for(de(_).iso=!0,C=0,A=is;Cwn(Me)||0===_._dayOfYear)&&(de(_)._overflowDayOfYear=!0),A=Bu(Me,0,_._dayOfYear),_._a[Wt]=A.getUTCMonth(),_._a[Ds]=A.getUTCDate()),C=0;C<3&&null==_._a[C];++C)_._a[C]=F[C]=U[C];for(;C<7;C++)_._a[C]=F[C]=null==_._a[C]?2===C?1:0:_._a[C];24===_._a[Jn]&&0===_._a[Ls]&&0===_._a[ar]&&0===_._a[ms]&&(_._nextDay=!0,_._a[Jn]=0),_._d=(_._useUTC?Bu:Pf).apply(null,F),ie=_._useUTC?_._d.getUTCDay():_._d.getDay(),null!=_._tzm&&_._d.setUTCMinutes(_._d.getUTCMinutes()-_._tzm),_._nextDay&&(_._a[Jn]=24),_._w&&typeof _._w.d<"u"&&_._w.d!==ie&&(de(_).weekdayMismatch=!0)}}function Cw(_){var C,A,F,U,ie,Me,vt,un,is;null!=(C=_._w).GG||null!=C.W||null!=C.E?(ie=1,Me=4,A=$o(C.GG,_._a[As],gt(zn(),1,4).year),F=$o(C.W,1),((U=$o(C.E,1))<1||U>7)&&(un=!0)):(ie=_._locale._week.dow,Me=_._locale._week.doy,is=gt(zn(),ie,Me),A=$o(C.gg,_._a[As],is.year),F=$o(C.w,is.week),null!=C.d?((U=C.d)<0||U>6)&&(un=!0):null!=C.e?(U=C.e+ie,(C.e<0||C.e>6)&&(un=!0)):U=ie),F<1||F>Nr(A,ie,Me)?de(_)._overflowWeeks=!0:null!=un?de(_)._overflowWeekday=!0:(vt=It(A,F,U,ie,Me),_._a[As]=vt.year,_._dayOfYear=vt.dayOfYear)}function Hf(_){if(_._f!==y.ISO_8601)if(_._f!==y.RFC_2822){_._a=[],de(_).empty=!0;var A,F,U,ie,Me,is,Zi,C=""+_._i,vt=C.length,un=0;for(Zi=(U=On(_._f,_._locale).match(ft)||[]).length,A=0;A0&&de(_).unusedInput.push(Me),C=C.slice(C.indexOf(F)+F.length),un+=F.length),wt[ie]?(F?de(_).empty=!1:de(_).unusedTokens.push(ie),Kr(ie,F,_)):_._strict&&!F&&de(_).unusedTokens.push(ie);de(_).charsLeftOver=vt-un,C.length>0&&de(_).unusedInput.push(C),_._a[Jn]<=12&&!0===de(_).bigHour&&_._a[Jn]>0&&(de(_).bigHour=void 0),de(_).parsedDateParts=_._a.slice(0),de(_).meridiem=_._meridiem,_._a[Jn]=Uf(_._locale,_._a[Jn],_._meridiem),null!==(is=de(_).era)&&(_._a[As]=_._locale.erasConvertYear(is,_._a[As])),Rl(_),Yc(_)}else O_(_);else ba(_)}function Uf(_,C,A){var F;return null==A?C:null!=_.meridiemHour?_.meridiemHour(C,A):(null!=_.isPM&&((F=_.isPM(A))&&C<12&&(C+=12),!F&&12===C&&(C=0)),C)}function Bc(_){var C,A,F,U,ie,Me,vt=!1,un=_._f.length;if(0===un)return de(_).invalidFormat=!0,void(_._d=new Date(NaN));for(U=0;Uthis?this:_:Fe()});function Nl(_,C){var A,F;if(1===C.length&&w(C[0])&&(C=C[0]),!C.length)return zn();for(A=C[0],F=1;Fthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Ka(){if(!N(this._isDSTShifted))return this._isDSTShifted;var C,_={};return Ee(_,this),(_=Zs(_))._a?(C=_._isUTC?J(_._a):zn(_._a),this._isDSTShifted=this.isValid()&&Go(_._a,C.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function vr(){return!!this.isValid()&&!this._isUTC}function wo(){return!!this.isValid()&&this._isUTC}function An(){return!!this.isValid()&&this._isUTC&&0===this._offset}y.updateOffset=function(){};var vn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,$f=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Bs(_,C){var U,ie,Me,A=_,F=null;return qo(_)?A={ms:_._milliseconds,d:_._days,M:_._months}:W(_)||!isNaN(+_)?(A={},C?A[C]=+_:A.milliseconds=+_):(F=vn.exec(_))?(U="-"===F[1]?-1:1,A={y:0,d:ze(F[Ds])*U,h:ze(F[Jn])*U,m:ze(F[Ls])*U,s:ze(F[ar])*U,ms:ze(ai(1e3*F[ms]))*U}):(F=$f.exec(_))?(U="-"===F[1]?-1:1,A={y:li(F[2],U),M:li(F[3],U),w:li(F[4],U),d:li(F[5],U),h:li(F[6],U),m:li(F[7],U),s:li(F[8],U)}):null==A?A={}:"object"==typeof A&&("from"in A||"to"in A)&&(Me=qi(zn(A.from),zn(A.to)),(A={}).ms=Me.milliseconds,A.M=Me.months),ie=new Wo(A),qo(_)&&k(_,"_locale")&&(ie._locale=_._locale),qo(_)&&k(_,"_isValid")&&(ie._isValid=_._isValid),ie}function li(_,C){var A=_&&parseFloat(_.replace(",","."));return(isNaN(A)?0:A)*C}function Sa(_,C){var A={};return A.months=C.month()-_.month()+12*(C.year()-_.year()),_.clone().add(A.months,"M").isAfter(C)&&--A.months,A.milliseconds=+C-+_.clone().add(A.months,"M"),A}function qi(_,C){var A;return _.isValid()&&C.isValid()?(C=wa(C,_),_.isBefore(C)?A=Sa(_,C):((A=Sa(C,_)).milliseconds=-A.milliseconds,A.months=-A.months),A):{milliseconds:0,months:0}}function Qo(_,C){return function(A,F){var ie;return null!==F&&!isNaN(+F)&&(ae(C,"moment()."+C+"(period, number) is deprecated. Please use moment()."+C+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),ie=A,A=F,F=ie),xh(this,Bs(A,F),_),this}}function xh(_,C,A,F){var U=C._milliseconds,ie=ai(C._days),Me=ai(C._months);_.isValid()&&(F=F??!0,Me&&Yu(_,yi(_,"Month")+Me*A),ie&&Pt(_,"Date",yi(_,"Date")+ie*A),U&&_._d.setTime(_._d.valueOf()+U*A),F&&y.updateOffset(_,ie||Me))}Bs.fn=Wo.prototype,Bs.invalid=Fl;var Hu=Qo(1,"add"),Uu=Qo(-1,"subtract");function Da(_){return"string"==typeof _||_ instanceof String}function Qa(_){return _e(_)||$(_)||Da(_)||W(_)||kh(_)||$u(_)||null==_}function $u(_){var U,ie,C=D(_)&&!R(_),A=!1,F=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],Me=F.length;for(U=0;UA.valueOf():A.valueOf()9999?Bn(A,C?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ge(Date.prototype.toISOString)?C?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Bn(A,"Z")):Bn(A,C?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function zu(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var A,F,U,ie,_="moment",C="";return this.isLocal()||(_=0===this.utcOffset()?"moment.utc":"moment.parseZone",C="Z"),A="["+_+'("]',F=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",U="-MM-DD[T]HH:mm:ss.SSS",ie=C+'[")]',this.format(A+F+U+ie)}function Vl(_){_||(_=this.isUtc()?y.defaultFormatUtc:y.defaultFormat);var C=Bn(this,_);return this.localeData().postformat(C)}function Kf(_,C){return this.isValid()&&(_e(_)&&_.isValid()||zn(_).isValid())?Bs({to:this,from:_}).locale(this.locale()).humanize(!C):this.localeData().invalidDate()}function Th(_){return this.from(zn(),_)}function Qn(_,C){return this.isValid()&&(_e(_)&&_.isValid()||zn(_).isValid())?Bs({from:this,to:_}).locale(this.locale()).humanize(!C):this.localeData().invalidDate()}function Qf(_){return this.to(zn(),_)}function Ze(_){var C;return void 0===_?this._locale._abbr:(null!=(C=bo(_))&&(this._locale=C),this)}y.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",y.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Gi=X("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(_){return void 0===_?this.localeData():this.locale(_)});function rn(){return this._locale}var jn=1e3,Es=60*jn,Ki=60*Es,Ci=3506328*Ki;function Xa(_,C){return(_%C+C)%C}function Xf(_,C,A){return _<100&&_>=0?new Date(_+400,C,A)-Ci:new Date(_,C,A).valueOf()}function ts(_,C,A){return _<100&&_>=0?Date.UTC(_+400,C,A)-Ci:Date.UTC(_,C,A)}function br(_){var C,A;if(void 0===(_=xn(_))||"millisecond"===_||!this.isValid())return this;switch(A=this._isUTC?ts:Xf,_){case"year":C=A(this.year(),0,1);break;case"quarter":C=A(this.year(),this.month()-this.month()%3,1);break;case"month":C=A(this.year(),this.month(),1);break;case"week":C=A(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":C=A(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":C=A(this.year(),this.month(),this.date());break;case"hour":C=this._d.valueOf(),C-=Xa(C+(this._isUTC?0:this.utcOffset()*Es),Ki);break;case"minute":C=this._d.valueOf(),C-=Xa(C,Es);break;case"second":C=this._d.valueOf(),C-=Xa(C,jn)}return this._d.setTime(C),y.updateOffset(this,!0),this}function Zo(_){var C,A;if(void 0===(_=xn(_))||"millisecond"===_||!this.isValid())return this;switch(A=this._isUTC?ts:Xf,_){case"year":C=A(this.year()+1,0,1)-1;break;case"quarter":C=A(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":C=A(this.year(),this.month()+1,1)-1;break;case"week":C=A(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":C=A(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":C=A(this.year(),this.month(),this.date()+1)-1;break;case"hour":C=this._d.valueOf(),C+=Ki-Xa(C+(this._isUTC?0:this.utcOffset()*Es),Ki)-1;break;case"minute":C=this._d.valueOf(),C+=Es-Xa(C,Es)-1;break;case"second":C=this._d.valueOf(),C+=jn-Xa(C,jn)-1}return this._d.setTime(C),y.updateOffset(this,!0),this}function lr(){return this._d.valueOf()-6e4*(this._offset||0)}function Vc(){return Math.floor(this.valueOf()/1e3)}function Jo(){return new Date(this.valueOf())}function ea(){var _=this;return[_.year(),_.month(),_.date(),_.hour(),_.minute(),_.second(),_.millisecond()]}function Ca(){var _=this;return{years:_.year(),months:_.month(),date:_.date(),hours:_.hours(),minutes:_.minutes(),seconds:_.seconds(),milliseconds:_.milliseconds()}}function Hl(){return this.isValid()?this.toISOString():null}function H_(){return Ye(this)}function kw(){return se({},de(this))}function Zf(){return de(this).overflow}function U_(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function $_(_,C){var A,F,U,ie=this._eras||bo("en")._eras;for(A=0,F=ie.length;A=0)return ie[F]}function Tw(_,C){var A=_.since<=_.until?1:-1;return void 0===C?y(_.since).year():y(_.since).year()+(C-_.offset)*A}function Jf(){var _,C,A,F=this.localeData().eras();for(_=0,C=F.length;_(ie=Nr(_,F,U))&&(C=ie),Lh.call(this,_,C,A,F,U))}function Lh(_,C,A,F,U){var ie=It(_,C,A,F,U),Me=Bu(ie.year,0,ie.dayOfYear);return this.year(Me.getUTCFullYear()),this.month(Me.getUTCMonth()),this.date(Me.getUTCDate()),this}function im(_){return null==_?Math.ceil((this.month()+1)/3):this.month(3*(_-1)+this.month()%3)}Te("N",0,0,"eraAbbr"),Te("NN",0,0,"eraAbbr"),Te("NNN",0,0,"eraAbbr"),Te("NNNN",0,0,"eraName"),Te("NNNNN",0,0,"eraNarrow"),Te("y",["y",1],"yo","eraYear"),Te("y",["yy",2],0,"eraYear"),Te("y",["yyy",3],0,"eraYear"),Te("y",["yyyy",4],0,"eraYear"),Qe("N",Wu),Qe("NN",Wu),Qe("NNN",Wu),Qe("NNNN",Ih),Qe("NNNNN",Iw),Tt(["N","NN","NNN","NNNN","NNNNN"],function(_,C,A,F){var U=A._locale.erasParse(_,F,A._strict);U?de(A).era=U:de(A).invalidEra=_}),Qe("y",Ic),Qe("yy",Ic),Qe("yyy",Ic),Qe("yyyy",Ic),Qe("yo",nm),Tt(["y","yy","yyy","yyyy"],As),Tt(["yo"],function(_,C,A,F){var U;A._locale._eraYearOrdinalRegex&&(U=_.match(A._locale._eraYearOrdinalRegex)),A._locale.eraYearOrdinalParse?C[As]=A._locale.eraYearOrdinalParse(_,U):C[As]=parseInt(_,10)}),Te(0,["gg",2],0,function(){return this.weekYear()%100}),Te(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ta("gggg","weekYear"),ta("ggggg","weekYear"),ta("GGGG","isoWeekYear"),ta("GGGGG","isoWeekYear"),sn("weekYear","gg"),sn("isoWeekYear","GG"),He("weekYear",1),He("isoWeekYear",1),Qe("G",kl),Qe("g",kl),Qe("GG",Zn,Nn),Qe("gg",Zn,Nn),Qe("GGGG",zt,rr),Qe("gggg",zt,rr),Qe("GGGGG",Nu,Is),Qe("ggggg",Nu,Is),or(["gggg","ggggg","GGGG","GGGGG"],function(_,C,A,F){C[F.substr(0,2)]=ze(_)}),or(["gg","GG"],function(_,C,A,F){C[F]=y.parseTwoDigitYear(_)}),Te("Q",0,"Qo","quarter"),sn("quarter","Q"),He("quarter",7),Qe("Q",Lt),Tt("Q",function(_,C){C[Wt]=3*(ze(_)-1)}),Te("D",["DD",2],"Do","date"),sn("date","D"),He("date",9),Qe("D",Zn),Qe("DD",Zn,Nn),Qe("Do",function(_,C){return _?C._dayOfMonthOrdinalParse||C._ordinalParse:C._dayOfMonthOrdinalParseLenient}),Tt(["D","DD"],Ds),Tt("Do",function(_,C){C[Ds]=ze(_.match(Zn)[0])});var Ws=Xn("Date",!0);function W_(_){var C=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==_?C:this.add(_-C,"d")}Te("DDD",["DDDD",3],"DDDo","dayOfYear"),sn("dayOfYear","DDD"),He("dayOfYear",4),Qe("DDD",Ys),Qe("DDDD",Tc),Tt(["DDD","DDDD"],function(_,C,A){A._dayOfYear=ze(_)}),Te("m",["mm",2],0,"minute"),sn("minute","m"),He("minute",14),Qe("m",Zn),Qe("mm",Zn,Nn),Tt(["m","mm"],Ls);var q_=Xn("Minutes",!1);Te("s",["ss",2],0,"second"),sn("second","s"),He("second",15),Qe("s",Zn),Qe("ss",Zn,Nn),Tt(["s","ss"],ar);var Ma,Lw,qu=Xn("Seconds",!1);for(Te("S",0,0,function(){return~~(this.millisecond()/100)}),Te(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Te(0,["SSS",3],0,"millisecond"),Te(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Te(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Te(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Te(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Te(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Te(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),sn("millisecond","ms"),He("millisecond",16),Qe("S",Ys,Lt),Qe("SS",Ys,Nn),Qe("SSS",Ys,Tc),Ma="SSSS";Ma.length<=9;Ma+="S")Qe(Ma,Ic);function rm(_,C){C[ms]=ze(1e3*("0."+_))}for(Ma="S";Ma.length<=9;Ma+="S")Tt(Ma,rm);function Gu(){return this._isUTC?"UTC":""}function om(){return this._isUTC?"Coordinated Universal Time":""}Lw=Xn("Milliseconds",!1),Te("z",0,0,"zoneAbbr"),Te("zz",0,0,"zoneName");var Ve=Pe.prototype;function $l(_){return zn(1e3*_)}function Uc(){return zn.apply(null,arguments).parseZone()}function _s(_){return _}Ve.add=Hu,Ve.calendar=Bl,Ve.clone=Mw,Ve.diff=Xo,Ve.endOf=Zo,Ve.format=Vl,Ve.from=Kf,Ve.fromNow=Th,Ve.to=Qn,Ve.toNow=Qf,Ve.get=Or,Ve.invalidAt=Zf,Ve.isAfter=So,Ve.isBefore=Ew,Ve.isBetween=Wf,Ve.isSame=xw,Ve.isSameOrAfter=j_,Ve.isSameOrBefore=V_,Ve.isValid=H_,Ve.lang=Gi,Ve.locale=Ze,Ve.localeData=rn,Ve.max=zo,Ve.min=me,Ve.parsingFlags=kw,Ve.set=vi,Ve.startOf=br,Ve.subtract=Uu,Ve.toArray=ea,Ve.toObject=Ca,Ve.toDate=Jo,Ve.toISOString=Gf,Ve.inspect=zu,typeof Symbol<"u"&&null!=Symbol.for&&(Ve[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ve.toJSON=Hl,Ve.toString=qf,Ve.unix=Vc,Ve.valueOf=lr,Ve.creationData=U_,Ve.eraName=Jf,Ve.eraNarrow=Hc,Ve.eraAbbr=em,Ve.eraYear=tm,Ve.year=qt,Ve.isLeapYear=mn,Ve.weekYear=Ul,Ve.isoWeekYear=Aw,Ve.quarter=Ve.quarters=im,Ve.month=Ct,Ve.daysInMonth=je,Ve.week=Ve.weeks=Ha,Ve.isoWeek=Ve.isoWeeks=NP,Ve.weeksInYear=z_,Ve.weeksInWeekYear=Ah,Ve.isoWeeksInYear=sm,Ve.isoWeeksInISOWeekYear=eo,Ve.date=Ws,Ve.day=Ve.days=Ae,Ve.weekday=ww,Ve.isoWeekday=es,Ve.dayOfYear=W_,Ve.hour=Ve.hours=Nf,Ve.minute=Ve.minutes=q_,Ve.second=Ve.seconds=qu,Ve.millisecond=Ve.milliseconds=Lw,Ve.utcOffset=Xr,Ve.utc=F_,Ve.local=Y_,Ve.parseZone=Zr,Ve.hasAlignedHourOffset=B_,Ve.isDST=Ga,Ve.isLocal=vr,Ve.isUtcOffset=wo,Ve.isUtc=An,Ve.isUTC=An,Ve.zoneAbbr=Gu,Ve.zoneName=om,Ve.dates=X("dates accessor is deprecated. Use date instead.",Ws),Ve.months=X("months accessor is deprecated. Use month instead",Ct),Ve.years=X("years accessor is deprecated. Use year instead",qt),Ve.zone=X("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",N_),Ve.isDSTShifted=X("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ka);var xe=st.prototype;function Je(_,C,A,F){var U=bo(),ie=J().set(F,C);return U[A](ie,_)}function js(_,C,A){if(W(_)&&(C=_,_=void 0),_=_||"",null!=C)return Je(_,C,A,"month");var F,U=[];for(F=0;F<12;F++)U[F]=Je(_,F,A,"month");return U}function Fn(_,C,A,F){"boolean"==typeof _?(W(C)&&(A=C,C=void 0),C=C||""):(A=C=_,_=!1,W(C)&&(A=C,C=void 0),C=C||"");var Me,U=bo(),ie=_?U._week.dow:0,vt=[];if(null!=A)return Je(C,(A+ie)%7,F,"day");for(Me=0;Me<7;Me++)vt[Me]=Je(C,(Me+ie)%7,F,"day");return vt}function Yi(_,C){return js(_,C,"months")}function cr(_,C){return js(_,C,"monthsShort")}function zl(_,C,A){return Fn(_,C,A,"weekdays")}function ds(_,C,A){return Fn(_,C,A,"weekdaysShort")}function Js(_,C,A){return Fn(_,C,A,"weekdaysMin")}xe.calendar=Kt,xe.longDateFormat=St,xe.invalidDate=Vt,xe.ordinal=Nt,xe.preparse=_s,xe.postformat=_s,xe.relativeTime=en,xe.pastFuture=Fs,xe.set=Ce,xe.eras=$_,xe.erasParse=Za,xe.erasConvertYear=Tw,xe.erasAbbrRegex=Ot,xe.erasNameRegex=Rt,xe.erasNarrowRegex=cn,xe.months=ri,xe.monthsShort=Vo,xe.monthsParse=Fu,xe.monthsRegex=Ai,xe.monthsShortRegex=Cs,xe.week=ne,xe.firstDayOfYear=yw,xe.firstDayOfWeek=_w,xe.weekdays=re,xe.weekdaysMin=yE,xe.weekdaysShort=te,xe.weekdaysParse=bE,xe.weekdaysRegex=Rf,xe.weekdaysShortRegex=wE,xe.weekdaysMinRegex=A_,xe.isPM=Sw,xe.meridiem=Ff,Li("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(_){var C=_%10;return _+(1===ze(_%100/10)?"th":1===C?"st":2===C?"nd":3===C?"rd":"th")}}),y.lang=X("moment.lang is deprecated. Use moment.locale instead.",Li),y.langData=X("moment.langData is deprecated. Use moment.localeData instead.",bo);var Mi=Math.abs;function Yt(){var _=this._data;return this._milliseconds=Mi(this._milliseconds),this._days=Mi(this._days),this._months=Mi(this._months),_.milliseconds=Mi(_.milliseconds),_.seconds=Mi(_.seconds),_.minutes=Mi(_.minutes),_.hours=Mi(_.hours),_.months=Mi(_.months),_.years=Mi(_.years),this}function $c(_,C,A,F){var U=Bs(C,A);return _._milliseconds+=F*U._milliseconds,_._days+=F*U._days,_._months+=F*U._months,_._bubble()}function Ku(_,C){return $c(this,_,C,1)}function Bi(_,C){return $c(this,_,C,-1)}function ys(_){return _<0?Math.floor(_):Math.ceil(_)}function Vs(){var U,ie,Me,vt,un,_=this._milliseconds,C=this._days,A=this._months,F=this._data;return _>=0&&C>=0&&A>=0||_<=0&&C<=0&&A<=0||(_+=864e5*ys(Yr(A)+C),C=0,A=0),F.milliseconds=_%1e3,U=Ut(_/1e3),F.seconds=U%60,ie=Ut(U/60),F.minutes=ie%60,Me=Ut(ie/60),F.hours=Me%24,C+=Ut(Me/24),A+=un=Ut(Wl(C)),C-=ys(Yr(un)),vt=Ut(A/12),A%=12,F.days=C,F.months=A,F.years=vt,this}function Wl(_){return 4800*_/146097}function Yr(_){return 146097*_/4800}function to(_){if(!this.isValid())return NaN;var C,A,F=this._milliseconds;if("month"===(_=xn(_))||"quarter"===_||"year"===_)switch(C=this._days+F/864e5,A=this._months+Wl(C),_){case"month":return A;case"quarter":return A/3;case"year":return A/12}else switch(C=this._days+Math.round(Yr(this._months)),_){case"week":return C/7+F/6048e5;case"day":return C+F/864e5;case"hour":return 24*C+F/36e5;case"minute":return 1440*C+F/6e4;case"second":return 86400*C+F/1e3;case"millisecond":return Math.floor(864e5*C)+F;default:throw new Error("Unknown unit "+_)}}function am(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ze(this._months/12):NaN}function ji(_){return function(){return this.as(_)}}var zc=ji("ms"),Br=ji("s"),lt=ji("m"),ql=ji("h"),Wc=ji("d"),no=ji("w"),Ph=ji("M"),Ea=ji("Q"),xs=ji("y");function jr(){return Bs(this)}function ns(_){return _=xn(_),this.isValid()?this[_+"s"]():NaN}function qs(_){return function(){return this.isValid()?this._data[_]:NaN}}var Rh=qs("milliseconds"),Pi=qs("seconds"),Gl=qs("minutes"),Qi=qs("hours"),Vr=qs("days"),xa=qs("months"),Hr=qs("years");function tl(){return Ut(this.days()/7)}var Xi=Math.round,Ur={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Oh(_,C,A,F,U){return U.relativeTime(C||1,!!A,_,F)}function G_(_,C,A,F){var U=Bs(_).abs(),ie=Xi(U.as("s")),Me=Xi(U.as("m")),vt=Xi(U.as("h")),un=Xi(U.as("d")),is=Xi(U.as("M")),Zi=Xi(U.as("w")),Do=Xi(U.as("y")),vs=ie<=A.ss&&["s",ie]||ie0,vs[4]=F,Oh.apply(null,vs)}function CE(_){return void 0===_?Xi:"function"==typeof _&&(Xi=_,!0)}function Pw(_,C){return void 0!==Ur[_]&&(void 0===C?Ur[_]:(Ur[_]=C,"s"===_&&(Ur.ss=C-1),!0))}function Qu(_,C){if(!this.isValid())return this.localeData().invalidDate();var U,ie,A=!1,F=Ur;return"object"==typeof _&&(C=_,_=!1),"boolean"==typeof _&&(A=_),"object"==typeof C&&(F=Object.assign({},Ur,C),null!=C.s&&null==C.ss&&(F.ss=C.s-1)),ie=G_(this,!A,F,U=this.localeData()),A&&(ie=U.pastFuture(+this,ie)),U.postformat(ie)}var K_=Math.abs;function Xu(_){return(_>0)-(_<0)||+_}function lm(){if(!this.isValid())return this.localeData().invalidDate();var F,U,ie,Me,un,is,Zi,Do,_=K_(this._milliseconds)/1e3,C=K_(this._days),A=K_(this._months),vt=this.asSeconds();return vt?(F=Ut(_/60),U=Ut(F/60),_%=60,F%=60,ie=Ut(A/12),A%=12,Me=_?_.toFixed(3).replace(/\.?0+$/,""):"",un=vt<0?"-":"",is=Xu(this._months)!==Xu(vt)?"-":"",Zi=Xu(this._days)!==Xu(vt)?"-":"",Do=Xu(this._milliseconds)!==Xu(vt)?"-":"",un+"P"+(ie?is+ie+"Y":"")+(A?is+A+"M":"")+(C?Zi+C+"D":"")+(U||F||_?"T":"")+(U?Do+U+"H":"")+(F?Do+F+"M":"")+(_?Do+Me+"S":"")):"P0D"}var Cn=Wo.prototype;return Cn.isValid=Si,Cn.abs=Yt,Cn.add=Ku,Cn.subtract=Bi,Cn.as=to,Cn.asMilliseconds=zc,Cn.asSeconds=Br,Cn.asMinutes=lt,Cn.asHours=ql,Cn.asDays=Wc,Cn.asWeeks=no,Cn.asMonths=Ph,Cn.asQuarters=Ea,Cn.asYears=xs,Cn.valueOf=am,Cn._bubble=Vs,Cn.clone=jr,Cn.get=ns,Cn.milliseconds=Rh,Cn.seconds=Pi,Cn.minutes=Gl,Cn.hours=Qi,Cn.days=Vr,Cn.weeks=tl,Cn.months=xa,Cn.years=Hr,Cn.humanize=Qu,Cn.toISOString=lm,Cn.toString=lm,Cn.toJSON=lm,Cn.locale=Ze,Cn.localeData=rn,Cn.toIsoString=X("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",lm),Cn.lang=Gi,Te("X",0,0,"unix"),Te("x",0,0,"valueOf"),Qe("x",kl),Qe("X",fw),Tt("X",function(_,C,A){A._d=new Date(1e3*parseFloat(_))}),Tt("x",function(_,C,A){A._d=new Date(ze(_))}),y.version="2.29.4",b(zn),y.fn=Ve,y.min=za,y.max=jc,y.now=Eh,y.utc=J,y.unix=$l,y.months=Yi,y.isDate=$,y.locale=Li,y.invalid=Fe,y.duration=Bs,y.isMoment=_e,y.weekdays=zl,y.parseZone=Uc,y.localeData=bo,y.isDuration=qo,y.monthsShort=cr,y.weekdaysMin=Js,y.defineLocale=Nc,y.updateLocale=Fc,y.locales=$a,y.weekdaysShort=ds,y.normalizeUnits=xn,y.relativeTimeRounding=CE,y.relativeTimeThreshold=Pw,y.calendarFormat=Jr,y.prototype=Ve,y.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},y}()},262:function(j,H){var x,E,y;E=[],x=function b(){var D,w=typeof self<"u"?self:typeof window<"u"?window:void 0!==w?w:{},k=!w.document&&!!w.postMessage,R=w.IS_PAPA_WORKER||!1,N={},W=0,$={};function K(X){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(ee){var ae=Pe(ee);ae.chunkSize=parseInt(ae.chunkSize),ee.step||ee.chunk||(ae.chunkSize=null),this._handle=new We(ae),(this._handle.streamer=this)._config=ae}.call(this,X),this.parseChunk=function(ee,ae){var ge=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0=this._config.preview,R)w.postMessage({results:Ce,workerId:$.WORKER_ID,finished:ge});else if(Se(this._config.chunk)&&!ae){if(this._config.chunk(Ce,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=Ce=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(Ce.data),this._completeResults.errors=this._completeResults.errors.concat(Ce.errors),this._completeResults.meta=Ce.meta),this._completed||!ge||!Se(this._config.complete)||Ce&&Ce.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),ge||Ce&&Ce.meta.paused||this._nextChunk(),Ce}this._halted=!0},this._sendError=function(ee){Se(this._config.error)?this._config.error(ee):R&&this._config.error&&w.postMessage({workerId:$.WORKER_ID,error:ee,finished:!1})}}function se(X){var ee;(X=X||{}).chunkSize||(X.chunkSize=$.RemoteChunkSize),K.call(this,X),this._nextChunk=k?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(ae){this._input=ae,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(ee=new XMLHttpRequest,this._config.withCredentials&&(ee.withCredentials=this._config.withCredentials),k||(ee.onload=_e(this._chunkLoaded,this),ee.onerror=_e(this._chunkError,this)),ee.open(this._config.downloadRequestBody?"POST":"GET",this._input,!k),this._config.downloadRequestHeaders){var ae,ge=this._config.downloadRequestHeaders;for(ae in ge)ee.setRequestHeader(ae,ge[ae])}var Ce;this._config.chunkSize&&(Ce=this._start+this._config.chunkSize-1,ee.setRequestHeader("Range","bytes="+this._start+"-"+Ce));try{ee.send(this._config.downloadRequestBody)}catch(Ue){this._chunkError(Ue.message)}k&&0===ee.status&&this._chunkError()}},this._chunkLoaded=function(){var ae;4===ee.readyState&&(ee.status<200||400<=ee.status?this._chunkError():(this._start+=this._config.chunkSize||ee.responseText.length,this._finished=!this._config.chunkSize||this._start>=(null!==(ae=(ae=ee).getResponseHeader("Content-Range"))?parseInt(ae.substring(ae.lastIndexOf("/")+1)):-1),this.parseChunk(ee.responseText)))},this._chunkError=function(ae){ae=ee.statusText||ae,this._sendError(new Error(ae))}}function J(X){(X=X||{}).chunkSize||(X.chunkSize=$.LocalChunkSize),K.call(this,X);var ee,ae,ge=typeof FileReader<"u";this.stream=function(Ce){this._input=Ce,ae=Ce.slice||Ce.webkitSlice||Ce.mozSlice,ge?((ee=new FileReader).onload=_e(this._chunkLoaded,this),ee.onerror=_e(this._chunkError,this)):ee=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(Ce.target.result)},this._chunkError=function(){this._sendError(ee.error)}}function ue(X){var ee;K.call(this,X=X||{}),this.stream=function(ae){return ee=ae,this._nextChunk()},this._nextChunk=function(){var ae,ge;if(!this._finished)return ae=this._config.chunkSize,ee=ae?(ge=ee.substring(0,ae),ee.substring(ae)):(ge=ee,""),this._finished=!ee,this.parseChunk(ge)}}function de(X){K.call(this,X=X||{});var ee=[],ae=!0,ge=!1;this.pause=function(){K.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){K.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(Ce){this._input=Ce,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){ge&&1===ee.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),ee.length?this.parseChunk(ee.shift()):ae=!0},this._streamData=_e(function(Ce){try{ee.push("string"==typeof Ce?Ce:Ce.toString(this._config.encoding)),ae&&(ae=!1,this._checkIsFinished(),this.parseChunk(ee.shift()))}catch(Ue){this._streamError(Ue)}},this),this._streamError=_e(function(Ce){this._streamCleanUp(),this._sendError(Ce)},this),this._streamEnd=_e(function(){this._streamCleanUp(),ge=!0,this._streamData("")},this),this._streamCleanUp=_e(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function We(X){var ee,ae,ge,Ce,Ue=Math.pow(2,53),st=-Ue,Kn=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,ws=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,Kt=this,hn=0,ft=0,Rn=!1,bt=!1,wt=[],Te={data:[],errors:[],meta:{}};function ps(at){return"greedy"===X.skipEmptyLines?""===at.join("").trim():1===at.length&&0===at[0].length}function $t(){if(Te&&ge&&(On("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+$.DefaultDelimiter+"'"),ge=!1),X.skipEmptyLines&&(Te.data=Te.data.filter(function(Ht){return!ps(Ht)})),Bn()){let Ht=function(Ss,Nt){Se(X.transformHeader)&&(Ss=X.transformHeader(Ss,Nt)),wt.push(Ss)};if(Te)if(Array.isArray(Te.data[0])){for(var at=0;Bn()&&at=wt.length?"__parsed_extra":wt[Bt]:en,sn=Fs=X.transform?X.transform(Fs,en):Fs,xn=void 0,xn=an,X.dynamicTypingFunction&&void 0===X.dynamicTyping[xn]&&(X.dynamicTyping[xn]=X.dynamicTypingFunction(xn)),Fs=!0===(X.dynamicTyping[xn]||X.dynamicTyping)?"true"===sn||"TRUE"===sn||"false"!==sn&&"FALSE"!==sn&&((xn=>{if(Kn.test(xn)&&(xn=parseFloat(xn),stwt.length?On("FieldMismatch","TooManyFields","Too many fields: expected "+wt.length+" fields but parsed "+Bt,ft+Ss):BtX.preview?ae.abort():(Te.data=Te.data[0],Ce(Te,Kt))))}),this.parse=function(at,St,kt){var Vt=X.quoteChar||'"';return X.newline||(X.newline=this.guessLineEndings(at,Vt)),ge=!1,X.delimiter?Se(X.delimiter)&&(X.delimiter=X.delimiter(at),Te.meta.delimiter=X.delimiter):((Vt=((Ht,Ss,Nt,Bt,en)=>{var Fs,an,sn,xn;en=en||[",","\t","|",";",$.RECORD_SEP,$.UNIT_SEP];for(var Dt=0;Dt=kt.length/2?"\r\n":"\r"}}function Ye(X){return X.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Fe(X){var ee=(X=X||{}).delimiter,ae=X.newline,ge=X.comments,Ce=X.step,Ue=X.preview,st=X.fastMode,Kn=null,ws=!1,Kt=null==X.quoteChar?'"':X.quoteChar,hn=Kt;if(void 0!==X.escapeChar&&(hn=X.escapeChar),("string"!=typeof ee||-1<$.BAD_DELIMITERS.indexOf(ee))&&(ee=","),ge===ee)throw new Error("Comment character same as delimiter");!0===ge?ge="#":("string"!=typeof ge||-1<$.BAD_DELIMITERS.indexOf(ge))&&(ge=!1),"\n"!==ae&&"\r"!==ae&&"\r\n"!==ae&&(ae="\n");var ft=0,Rn=!1;this.parse=function(bt,wt,Te){if("string"!=typeof bt)throw new Error("Input must be a string");var ps=bt.length,$t=ee.length,Bn=ae.length,On=ge.length,at=Se(Ce),St=[],kt=[],Vt=[],Ht=ft=0;if(!bt)return Ti();if(st||!1!==st&&-1===bt.indexOf(Kt)){for(var Ss=bt.split(ae),Nt=0;Nt=Ue)return Ti(!0);break}kt.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:St.length,index:ft}),an++}}else if(ge&&0===Vt.length&&bt.substring(ft,ft+On)===ge){if(-1===en)return Ti();ft=en+Bn,en=bt.indexOf(ae,ft),Bt=bt.indexOf(ee,ft)}else if(-1!==Bt&&(Bt=Ue)return Ti(!0)}return ii();function xn(Ut){St.push(Ut),Ht=ft}function Dt(Ut){var ze=0;return-1!==Ut&&(Ut=bt.substring(an+1,Ut))&&""===Ut.trim()?Ut.length:ze}function ii(Ut){return Te||(void 0===Ut&&(Ut=bt.substring(ft)),Vt.push(Ut),ft=ps,xn(Vt),at&&tn()),Ti()}function He(Ut){ft=Ut,xn(Vt),Vt=[],en=bt.indexOf(ae,ft)}function Ti(Ut){if(X.header&&!wt&&St.length&&!ws){var ze=St[0],Xn={},yi=new Set(ze);let Pt=!1;for(let Or=0;Or{var ge,Ce,Ue;return!!$.WORKERS_SUPPORTED&&(Ce=w.URL||w.webkitURL||null,Ue=b.toString(),ge=$.BLOB_URL||($.BLOB_URL=Ce.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",Ue,")();"],{type:"text/javascript"}))),(ge=new w.Worker(ge)).onmessage=Ie,ge.id=W++,N[ge.id]=ge)})()).userStep=ee.step,ae.userChunk=ee.chunk,ae.userComplete=ee.complete,ae.userError=ee.error,ee.step=Se(ee.step),ee.chunk=Se(ee.chunk),ee.complete=Se(ee.complete),ee.error=Se(ee.error),delete ee.worker,ae.postMessage({input:X,config:ee,workerId:ae.id})},$.unparse=function(X,ee){var ae=!1,ge=!0,Ce=",",Ue="\r\n",st='"',Kn=st+st,ws=!1,Kt=null,hn=!1,ft=((()=>{if("object"==typeof ee){if("string"!=typeof ee.delimiter||$.BAD_DELIMITERS.filter(function(wt){return-1!==ee.delimiter.indexOf(wt)}).length||(Ce=ee.delimiter),"boolean"!=typeof ee.quotes&&"function"!=typeof ee.quotes&&!Array.isArray(ee.quotes)||(ae=ee.quotes),"boolean"!=typeof ee.skipEmptyLines&&"string"!=typeof ee.skipEmptyLines||(ws=ee.skipEmptyLines),"string"==typeof ee.newline&&(Ue=ee.newline),"string"==typeof ee.quoteChar&&(st=ee.quoteChar),"boolean"==typeof ee.header&&(ge=ee.header),Array.isArray(ee.columns)){if(0===ee.columns.length)throw new Error("Option columns is empty");Kt=ee.columns}void 0!==ee.escapeChar&&(Kn=ee.escapeChar+st),ee.escapeFormulae instanceof RegExp?hn=ee.escapeFormulae:"boolean"==typeof ee.escapeFormulae&&ee.escapeFormulae&&(hn=/^[=+\-@\t\r].*$/)}})(),new RegExp(Ye(st),"g"));if("string"==typeof X&&(X=JSON.parse(X)),Array.isArray(X)){if(!X.length||Array.isArray(X[0]))return Rn(null,X,ws);if("object"==typeof X[0])return Rn(Kt||Object.keys(X[0]),X,ws)}else if("object"==typeof X)return"string"==typeof X.data&&(X.data=JSON.parse(X.data)),Array.isArray(X.data)&&(X.fields||(X.fields=X.meta&&X.meta.fields||Kt),X.fields||(X.fields=Array.isArray(X.data[0])?X.fields:"object"==typeof X.data[0]?Object.keys(X.data[0]):[]),Array.isArray(X.data[0])||"object"==typeof X.data[0]||(X.data=[X.data])),Rn(X.fields||[],X.data||[],ws);throw new Error("Unable to serialize unrecognized input");function Rn(wt,Te,ps){var $t="",Bn=("string"==typeof wt&&(wt=JSON.parse(wt)),"string"==typeof Te&&(Te=JSON.parse(Te)),Array.isArray(wt)&&0{for(var at=0;at{const y=x(2836),b=x(9460),w=x(7030),D=x(6511);function k(R,N,W,$,K){const se=[].slice.call(arguments,1),J=se.length,ue="function"==typeof se[J-1];if(!ue&&!y())throw new Error("Callback required as last argument");if(!ue){if(J<1)throw new Error("Too few arguments provided");return 1===J?(W=N,N=$=void 0):2===J&&!N.getContext&&($=W,W=N,N=void 0),new Promise(function(de,We){try{const Ye=b.create(W,$);de(R(Ye,N,$))}catch(Ye){We(Ye)}})}if(J<2)throw new Error("Too few arguments provided");2===J?(K=W,W=N,N=$=void 0):3===J&&(N.getContext&&typeof K>"u"?(K=$,$=void 0):(K=$,$=W,W=N,N=void 0));try{const de=b.create(W,$);K(null,R(de,N,$))}catch(de){K(de)}}b.create,H.mo=k.bind(null,w.render),H.dY=k.bind(null,w.renderToDataURL),H.toString=k.bind(null,function(R,N,W){return D.render(R,W)})},2836:j=>{j.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},6214:(j,H,x)=>{const E=x(9089).getSymbolSize;H.getRowColCoords=function(b){if(1===b)return[];const w=Math.floor(b/7)+2,D=E(b),k=145===D?26:2*Math.ceil((D-13)/(2*w-2)),R=[D-7];for(let N=1;N{const E=x(1677),y=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function b(w){this.mode=E.ALPHANUMERIC,this.data=w}b.getBitsLength=function(D){return 11*Math.floor(D/2)+D%2*6},b.prototype.getLength=function(){return this.data.length},b.prototype.getBitsLength=function(){return b.getBitsLength(this.data.length)},b.prototype.write=function(D){let k;for(k=0;k+2<=this.data.length;k+=2){let R=45*y.indexOf(this.data[k]);R+=y.indexOf(this.data[k+1]),D.put(R,11)}this.data.length%2&&D.put(y.indexOf(this.data[k]),6)},j.exports=b},4662:j=>{function H(){this.buffer=[],this.length=0}H.prototype={get:function(x){const E=Math.floor(x/8);return 1==(this.buffer[E]>>>7-x%8&1)},put:function(x,E){for(let y=0;y>>E-y-1&1))},getLengthInBits:function(){return this.length},putBit:function(x){const E=Math.floor(this.length/8);this.buffer.length<=E&&this.buffer.push(0),x&&(this.buffer[E]|=128>>>this.length%8),this.length++}},j.exports=H},5941:j=>{function H(x){if(!x||x<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=x,this.data=new Uint8Array(x*x),this.reservedBit=new Uint8Array(x*x)}H.prototype.set=function(x,E,y,b){const w=x*this.size+E;this.data[w]=y,b&&(this.reservedBit[w]=!0)},H.prototype.get=function(x,E){return this.data[x*this.size+E]},H.prototype.xor=function(x,E,y){this.data[x*this.size+E]^=y},H.prototype.isReserved=function(x,E){return this.reservedBit[x*this.size+E]},j.exports=H},4969:(j,H,x)=>{const E=x(3174),y=x(1677);function b(w){this.mode=y.BYTE,"string"==typeof w&&(w=E(w)),this.data=new Uint8Array(w)}b.getBitsLength=function(D){return 8*D},b.prototype.getLength=function(){return this.data.length},b.prototype.getBitsLength=function(){return b.getBitsLength(this.data.length)},b.prototype.write=function(w){for(let D=0,k=this.data.length;D{const E=x(7424),y=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],b=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];H.getBlocksCount=function(D,k){switch(k){case E.L:return y[4*(D-1)+0];case E.M:return y[4*(D-1)+1];case E.Q:return y[4*(D-1)+2];case E.H:return y[4*(D-1)+3];default:return}},H.getTotalCodewordsCount=function(D,k){switch(k){case E.L:return b[4*(D-1)+0];case E.M:return b[4*(D-1)+1];case E.Q:return b[4*(D-1)+2];case E.H:return b[4*(D-1)+3];default:return}}},7424:(j,H)=>{H.L={bit:1},H.M={bit:0},H.Q={bit:3},H.H={bit:2},H.isValid=function(y){return y&&typeof y.bit<"u"&&y.bit>=0&&y.bit<4},H.from=function(y,b){if(H.isValid(y))return y;try{return function x(E){if("string"!=typeof E)throw new Error("Param is not a string");switch(E.toLowerCase()){case"l":case"low":return H.L;case"m":case"medium":return H.M;case"q":case"quartile":return H.Q;case"h":case"high":return H.H;default:throw new Error("Unknown EC Level: "+E)}}(y)}catch{return b}}},6269:(j,H,x)=>{const E=x(9089).getSymbolSize;H.getPositions=function(w){const D=E(w);return[[0,0],[D-7,0],[0,D-7]]}},6254:(j,H,x)=>{const E=x(9089),w=E.getBCHDigit(1335);H.getEncodedBits=function(k,R){const N=k.bit<<3|R;let W=N<<10;for(;E.getBCHDigit(W)-w>=0;)W^=1335<{const x=new Uint8Array(512),E=new Uint8Array(256);(function(){let b=1;for(let w=0;w<255;w++)x[w]=b,E[b]=w,b<<=1,256&b&&(b^=285);for(let w=255;w<512;w++)x[w]=x[w-255]})(),H.log=function(b){if(b<1)throw new Error("log("+b+")");return E[b]},H.exp=function(b){return x[b]},H.mul=function(b,w){return 0===b||0===w?0:x[E[b]+E[w]]}},3264:(j,H,x)=>{const E=x(1677),y=x(9089);function b(w){this.mode=E.KANJI,this.data=w}b.getBitsLength=function(D){return 13*D},b.prototype.getLength=function(){return this.data.length},b.prototype.getBitsLength=function(){return b.getBitsLength(this.data.length)},b.prototype.write=function(w){let D;for(D=0;D=33088&&k<=40956)k-=33088;else{if(!(k>=57408&&k<=60351))throw new Error("Invalid SJIS character: "+this.data[D]+"\nMake sure your charset is UTF-8");k-=49472}k=192*(k>>>8&255)+(255&k),w.put(k,13)}},j.exports=b},3361:(j,H)=>{H.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const x_N1=3,x_N2=3,x_N3=40,x_N4=10;function E(y,b,w){switch(y){case H.Patterns.PATTERN000:return(b+w)%2==0;case H.Patterns.PATTERN001:return b%2==0;case H.Patterns.PATTERN010:return w%3==0;case H.Patterns.PATTERN011:return(b+w)%3==0;case H.Patterns.PATTERN100:return(Math.floor(b/2)+Math.floor(w/3))%2==0;case H.Patterns.PATTERN101:return b*w%2+b*w%3==0;case H.Patterns.PATTERN110:return(b*w%2+b*w%3)%2==0;case H.Patterns.PATTERN111:return(b*w%3+(b+w)%2)%2==0;default:throw new Error("bad maskPattern:"+y)}}H.isValid=function(b){return null!=b&&""!==b&&!isNaN(b)&&b>=0&&b<=7},H.from=function(b){return H.isValid(b)?parseInt(b,10):void 0},H.getPenaltyN1=function(b){const w=b.size;let D=0,k=0,R=0,N=null,W=null;for(let $=0;$=5&&(D+=x_N1+(k-5)),N=se,k=1),se=b.get(K,$),se===W?R++:(R>=5&&(D+=x_N1+(R-5)),W=se,R=1)}k>=5&&(D+=x_N1+(k-5)),R>=5&&(D+=x_N1+(R-5))}return D},H.getPenaltyN2=function(b){const w=b.size;let D=0;for(let k=0;k=10&&(1488===k||93===k)&&D++,R=R<<1&2047|b.get(W,N),W>=10&&(1488===R||93===R)&&D++}return D*x_N3},H.getPenaltyN4=function(b){let w=0;const D=b.data.length;for(let R=0;R{const E=x(377),y=x(9359);H.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},H.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},H.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},H.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},H.MIXED={bit:-1},H.getCharCountIndicator=function(D,k){if(!D.ccBits)throw new Error("Invalid mode: "+D);if(!E.isValid(k))throw new Error("Invalid version: "+k);return k>=1&&k<10?D.ccBits[0]:k<27?D.ccBits[1]:D.ccBits[2]},H.getBestModeForData=function(D){return y.testNumeric(D)?H.NUMERIC:y.testAlphanumeric(D)?H.ALPHANUMERIC:y.testKanji(D)?H.KANJI:H.BYTE},H.toString=function(D){if(D&&D.id)return D.id;throw new Error("Invalid mode")},H.isValid=function(D){return D&&D.bit&&D.ccBits},H.from=function(D,k){if(H.isValid(D))return D;try{return function b(w){if("string"!=typeof w)throw new Error("Param is not a string");switch(w.toLowerCase()){case"numeric":return H.NUMERIC;case"alphanumeric":return H.ALPHANUMERIC;case"kanji":return H.KANJI;case"byte":return H.BYTE;default:throw new Error("Unknown mode: "+w)}}(D)}catch{return k}}},6628:(j,H,x)=>{const E=x(1677);function y(b){this.mode=E.NUMERIC,this.data=b.toString()}y.getBitsLength=function(w){return 10*Math.floor(w/3)+(w%3?w%3*3+1:0)},y.prototype.getLength=function(){return this.data.length},y.prototype.getBitsLength=function(){return y.getBitsLength(this.data.length)},y.prototype.write=function(w){let D,k,R;for(D=0;D+3<=this.data.length;D+=3)k=this.data.substr(D,3),R=parseInt(k,10),w.put(R,10);const N=this.data.length-D;N>0&&(k=this.data.substr(D),R=parseInt(k,10),w.put(R,3*N+1))},j.exports=y},1744:(j,H,x)=>{const E=x(6686);H.mul=function(b,w){const D=new Uint8Array(b.length+w.length-1);for(let k=0;k=0;){const k=D[0];for(let N=0;N{const E=x(9089),y=x(7424),b=x(4662),w=x(5941),D=x(6214),k=x(6269),R=x(3361),N=x(3677),W=x(6289),$=x(1252),K=x(6254),se=x(1677),J=x(2868);function Fe(_e,Se,X){const ee=_e.size,ae=K.getEncodedBits(Se,X);let ge,Ce;for(ge=0;ge<15;ge++)Ce=1==(ae>>ge&1),ge<6?_e.set(ge,8,Ce,!0):ge<8?_e.set(ge+1,8,Ce,!0):_e.set(ee-15+ge,8,Ce,!0),ge<8?_e.set(8,ee-ge-1,Ce,!0):ge<9?_e.set(8,15-ge-1+1,Ce,!0):_e.set(8,15-ge-1,Ce,!0);_e.set(ee-8,8,1,!0)}function pe(_e,Se,X){const ee=new b;X.forEach(function(st){ee.put(st.mode.bit,4),ee.put(st.getLength(),se.getCharCountIndicator(st.mode,_e)),st.write(ee)});const Ce=8*(E.getSymbolTotalCodewords(_e)-N.getTotalCodewordsCount(_e,Se));for(ee.getLengthInBits()+4<=Ce&&ee.put(0,4);ee.getLengthInBits()%8!=0;)ee.putBit(0);const Ue=(Ce-ee.getLengthInBits())/8;for(let st=0;st=0&&Ue<=6&&(0===st||6===st)||st>=0&&st<=6&&(0===Ue||6===Ue)||Ue>=2&&Ue<=4&&st>=2&&st<=4?_e.set(ge+Ue,Ce+st,!0,!0):_e.set(ge+Ue,Ce+st,!1,!0))}}(st,Se),function de(_e){const Se=_e.size;for(let X=8;X=7&&function Ye(_e,Se){const X=_e.size,ee=$.getEncodedBits(Se);let ae,ge,Ce;for(let Ue=0;Ue<18;Ue++)ae=Math.floor(Ue/3),ge=Ue%3+X-8-3,Ce=1==(ee>>Ue&1),_e.set(ae,ge,Ce,!0),_e.set(ge,ae,Ce,!0)}(st,Se),function Ie(_e,Se){const X=_e.size;let ee=-1,ae=X-1,ge=7,Ce=0;for(let Ue=X-1;Ue>0;Ue-=2)for(6===Ue&&Ue--;;){for(let st=0;st<2;st++)if(!_e.isReserved(ae,Ue-st)){let Kn=!1;Ce>>ge&1)),_e.set(ae,Ue-st,Kn),ge--,-1===ge&&(Ce++,ge=7)}if(ae+=ee,ae<0||X<=ae){ae-=ee,ee=-ee;break}}}(st,Ce),isNaN(ee)&&(ee=R.getBestMask(st,Fe.bind(null,st,X))),R.applyMask(ee,st),Fe(st,X,ee),{modules:st,version:Se,errorCorrectionLevel:X,maskPattern:ee,segments:ae}}H.create=function(Se,X){if(typeof Se>"u"||""===Se)throw new Error("No input text");let ae,ge,ee=y.M;return typeof X<"u"&&(ee=y.from(X.errorCorrectionLevel,y.M),ae=$.from(X.version),ge=R.from(X.maskPattern),X.toSJISFunc&&E.setToSJISFunction(X.toSJISFunc)),Pe(Se,ae,ee,ge)}},6289:(j,H,x)=>{const E=x(1744);function y(b){this.genPoly=void 0,this.degree=b,this.degree&&this.initialize(this.degree)}y.prototype.initialize=function(w){this.degree=w,this.genPoly=E.generateECPolynomial(this.degree)},y.prototype.encode=function(w){if(!this.genPoly)throw new Error("Encoder not initialized");const D=new Uint8Array(w.length+this.degree);D.set(w);const k=E.mod(D,this.genPoly),R=this.degree-k.length;if(R>0){const N=new Uint8Array(this.degree);return N.set(k,R),N}return k},j.exports=y},9359:(j,H)=>{const x="[0-9]+";let y="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";y=y.replace(/u/g,"\\u");const b="(?:(?![A-Z0-9 $%*+\\-./:]|"+y+")(?:.|[\r\n]))+";H.KANJI=new RegExp(y,"g"),H.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),H.BYTE=new RegExp(b,"g"),H.NUMERIC=new RegExp(x,"g"),H.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const w=new RegExp("^"+y+"$"),D=new RegExp("^"+x+"$"),k=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");H.testKanji=function(N){return w.test(N)},H.testNumeric=function(N){return D.test(N)},H.testAlphanumeric=function(N){return k.test(N)}},2868:(j,H,x)=>{const E=x(1677),y=x(6628),b=x(1018),w=x(4969),D=x(3264),k=x(9359),R=x(9089),N=x(243);function W(Ye){return unescape(encodeURIComponent(Ye)).length}function $(Ye,Fe,Ie){const pe=[];let Ee;for(;null!==(Ee=Ye.exec(Ie));)pe.push({data:Ee[0],index:Ee.index,mode:Fe,length:Ee[0].length});return pe}function K(Ye){const Fe=$(k.NUMERIC,E.NUMERIC,Ye),Ie=$(k.ALPHANUMERIC,E.ALPHANUMERIC,Ye);let pe,Ee;return R.isKanjiModeEnabled()?(pe=$(k.BYTE,E.BYTE,Ye),Ee=$(k.KANJI,E.KANJI,Ye)):(pe=$(k.BYTE_KANJI,E.BYTE,Ye),Ee=[]),Fe.concat(Ie,pe,Ee).sort(function(_e,Se){return _e.index-Se.index}).map(function(_e){return{data:_e.data,mode:_e.mode,length:_e.length}})}function se(Ye,Fe){switch(Fe){case E.NUMERIC:return y.getBitsLength(Ye);case E.ALPHANUMERIC:return b.getBitsLength(Ye);case E.KANJI:return D.getBitsLength(Ye);case E.BYTE:return w.getBitsLength(Ye)}}function We(Ye,Fe){let Ie;const pe=E.getBestModeForData(Ye);if(Ie=E.from(Fe,pe),Ie!==E.BYTE&&Ie.bit=0?Fe[Fe.length-1]:null;return pe&&pe.mode===Ie.mode?(Fe[Fe.length-1].data+=Ie.data,Fe):(Fe.push(Ie),Fe)},[])}(Se))},H.rawSplit=function(Fe){return H.fromArray(K(Fe,R.isKanjiModeEnabled()))}},9089:(j,H)=>{let x;const E=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];H.getSymbolSize=function(b){if(!b)throw new Error('"version" cannot be null or undefined');if(b<1||b>40)throw new Error('"version" should be in range from 1 to 40');return 4*b+17},H.getSymbolTotalCodewords=function(b){return E[b]},H.getBCHDigit=function(y){let b=0;for(;0!==y;)b++,y>>>=1;return b},H.setToSJISFunction=function(b){if("function"!=typeof b)throw new Error('"toSJISFunc" is not a valid function.');x=b},H.isKanjiModeEnabled=function(){return typeof x<"u"},H.toSJIS=function(b){return x(b)}},377:(j,H)=>{H.isValid=function(E){return!isNaN(E)&&E>=1&&E<=40}},1252:(j,H,x)=>{const E=x(9089),y=x(3677),b=x(7424),w=x(1677),D=x(377),R=E.getBCHDigit(7973);function W(se,J){return w.getCharCountIndicator(se,J)+4}function $(se,J){let ue=0;return se.forEach(function(de){const We=W(de.mode,J);ue+=We+de.getBitsLength()}),ue}H.from=function(J,ue){return D.isValid(J)?parseInt(J,10):ue},H.getCapacity=function(J,ue,de){if(!D.isValid(J))throw new Error("Invalid QR Code version");typeof de>"u"&&(de=w.BYTE);const Fe=8*(E.getSymbolTotalCodewords(J)-y.getTotalCodewordsCount(J,ue));if(de===w.MIXED)return Fe;const Ie=Fe-W(de,J);switch(de){case w.NUMERIC:return Math.floor(Ie/10*3);case w.ALPHANUMERIC:return Math.floor(Ie/11*2);case w.KANJI:return Math.floor(Ie/13);case w.BYTE:default:return Math.floor(Ie/8)}},H.getBestVersionForData=function(J,ue){let de;const We=b.from(ue,b.M);if(Array.isArray(J)){if(J.length>1)return function K(se,J){for(let ue=1;ue<=40;ue++)if($(se,ue)<=H.getCapacity(ue,J,w.MIXED))return ue}(J,We);if(0===J.length)return 1;de=J[0]}else de=J;return function N(se,J,ue){for(let de=1;de<=40;de++)if(J<=H.getCapacity(de,ue,se))return de}(de.mode,de.getLength(),We)},H.getEncodedBits=function(J){if(!D.isValid(J)||J<7)throw new Error("Invalid QR Code version");let ue=J<<12;for(;E.getBCHDigit(ue)-R>=0;)ue^=7973<{const E=x(7077);H.render=function(D,k,R){let N=R,W=k;typeof N>"u"&&(!k||!k.getContext)&&(N=k,k=void 0),k||(W=function b(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),N=E.getOptions(N);const $=E.getImageWidth(D.modules.size,N),K=W.getContext("2d"),se=K.createImageData($,$);return E.qrToImageData(se.data,D,N),function y(w,D,k){w.clearRect(0,0,D.width,D.height),D.style||(D.style={}),D.height=k,D.width=k,D.style.height=k+"px",D.style.width=k+"px"}(K,W,$),K.putImageData(se,0,0),W},H.renderToDataURL=function(D,k,R){let N=R;typeof N>"u"&&(!k||!k.getContext)&&(N=k,k=void 0),N||(N={});const W=H.render(D,k,N),$=N.type||"image/png",K=N.rendererOpts||{};return W.toDataURL($,K.quality)}},6511:(j,H,x)=>{const E=x(7077);function y(D,k){const R=D.a/255,N=k+'="'+D.hex+'"';return R<1?N+" "+k+'-opacity="'+R.toFixed(2).slice(1)+'"':N}function b(D,k,R){let N=D+k;return typeof R<"u"&&(N+=" "+R),N}H.render=function(k,R,N){const W=E.getOptions(R),$=k.modules.size,K=k.modules.data,se=$+2*W.margin,J=W.color.light.a?"':"",ue="0&&J>0&&D[se-1]||(N+=$?b("M",J+R,.5+ue+R):b("m",W,0),W=0,$=!1),J+1',de='viewBox="0 0 '+se+" "+se+'"',Ye=''+J+ue+"\n";return"function"==typeof N&&N(null,Ye),Ye}},7077:(j,H)=>{function x(E){if("number"==typeof E&&(E=E.toString()),"string"!=typeof E)throw new Error("Color should be defined as hex string");let y=E.slice().replace("#","").split("");if(y.length<3||5===y.length||y.length>8)throw new Error("Invalid hex color: "+E);(3===y.length||4===y.length)&&(y=Array.prototype.concat.apply([],y.map(function(w){return[w,w]}))),6===y.length&&y.push("F","F");const b=parseInt(y.join(""),16);return{r:b>>24&255,g:b>>16&255,b:b>>8&255,a:255&b,hex:"#"+y.slice(0,6).join("")}}H.getOptions=function(y){y||(y={}),y.color||(y.color={});const b=typeof y.margin>"u"||null===y.margin||y.margin<0?4:y.margin,w=y.width&&y.width>=21?y.width:void 0,D=y.scale||4;return{width:w,scale:w?4:D,margin:b,color:{dark:x(y.color.dark||"#000000ff"),light:x(y.color.light||"#ffffffff")},type:y.type,rendererOpts:y.rendererOpts||{}}},H.getScale=function(y,b){return b.width&&b.width>=y+2*b.margin?b.width/(y+2*b.margin):b.scale},H.getImageWidth=function(y,b){const w=H.getScale(y,b);return Math.floor((y+2*b.margin)*w)},H.qrToImageData=function(y,b,w){const D=b.modules.size,k=b.modules.data,R=H.getScale(D,w),N=Math.floor((D+2*w.margin)*R),W=w.margin*R,$=[w.color.light,w.color.dark];for(let K=0;K=W&&se>=W&&K0&&void 0!==arguments[0]?arguments[0]:k,Bn=$t.length;if($t===k||$t[0]===Fe[0]&&1===Bn)return Fe.split(k).concat([J]).concat(pe.split(k));if($t===ge&&ee)return Fe.split(k).concat(["0",ge,J]).concat(pe.split(k));var On=$t[0]===W&&Kt;On&&($t=$t.toString().substr(1));var at=$t.lastIndexOf(ge),St=-1!==at,kt=void 0,Vt=void 0,Ht=void 0;if($t.slice(-1*Te)===pe&&($t=$t.slice(0,-1*Te)),St&&(ee||Kn)?(kt=$t.slice($t.slice(0,wt)===Fe?wt:0,at),Vt=y((Vt=$t.slice(at+1,Bn)).replace(K,k))):kt=$t.slice(0,wt)===Fe?$t.slice(wt):$t,bt&&(typeof bt>"u"?"undefined":w(bt))===se){var Ss="."===Se?"[.]":""+Se,Nt=(kt.match(new RegExp(Ss,"g"))||[]).length;kt=kt.slice(0,bt+Nt*ps)}return kt=kt.replace(K,k),ft||(kt=kt.replace(/^0+(0$|[^0])/,"$1")),Ht=y(kt=Pe?b(kt,Se):kt),(St&&ee||!0===Kn)&&($t[at-1]!==ge&&Ht.push(ue),Ht.push(ge,ue),Vt&&((typeof Ue>"u"?"undefined":w(Ue))===se&&(Vt=Vt.slice(0,Ue)),Ht=Ht.concat(Vt)),!0===Kn&&$t[at-1]===ge&&Ht.push(J)),wt>0&&(Ht=Fe.split(k).concat(Ht)),On&&(Ht.length===wt&&Ht.push(J),Ht=[$].concat(Ht)),pe.length>0&&(Ht=Ht.concat(pe.split(k))),Ht}var We=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Ye=We.prefix,Fe=void 0===Ye?D:Ye,Ie=We.suffix,pe=void 0===Ie?k:Ie,Ee=We.includeThousandsSeparator,Pe=void 0===Ee||Ee,_e=We.thousandsSeparatorSymbol,Se=void 0===_e?R:_e,X=We.allowDecimal,ee=void 0!==X&&X,ae=We.decimalSymbol,ge=void 0===ae?N:ae,Ce=We.decimalLimit,Ue=void 0===Ce?2:Ce,st=We.requireDecimal,Kn=void 0!==st&&st,ws=We.allowNegative,Kt=void 0!==ws&&ws,hn=We.allowLeadingZeroes,ft=void 0!==hn&&hn,Rn=We.integerLimit,bt=void 0===Rn?null:Rn,wt=Fe&&Fe.length||0,Te=pe&&pe.length||0,ps=Se&&Se.length||0;return de.instanceOf="createNumberMask",de}function y(de){return de.split(k).map(function(We){return J.test(We)?J:We})}function b(de,We){return de.replace(/\B(?=(\d{3})+(?!\d))/g,We)}Object.defineProperty(x,"__esModule",{value:!0});var w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(de){return typeof de}:function(de){return de&&"function"==typeof Symbol&&de.constructor===Symbol&&de!==Symbol.prototype?"symbol":typeof de};x.default=E;var D="$",k="",R=",",N=".",W="-",$=/-/,K=/\D+/g,se="number",J=/\d/,ue="[]"}])},3481:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"\n\t\t.alert {\n\t\t\tmargin-bottom: 10px;\n\t\t}\n\t",""]),j.exports=b.toString()},4180:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"\n\t\t.btn-label{\n\t\t\tleft: -13px;\n\t\t\tborder-radius: 2px 0 0 2px;\n\t\t}\n\t",""]),j.exports=b.toString()},3553:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"",""]),j.exports=b.toString()},8760:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".alert-danger {\n\tcolor: #a94442;\n background-color: #f2dede;\n border-color: #ebccd1 !important;\n}\n\n.alert {\n\tpadding: 15px;\n margin-bottom: 20px;\n border: 1px solid transparent;\n border-radius: 4px;\n}",""]),j.exports=b.toString()},904:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"",""]),j.exports=b.toString()},1795:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"#logo-container img {\n\twidth: 130px;\n\theight: 39px;\n\tmargin: 10px;\n\tfloat: left;\n}\n\n#loginButton {\n\tdisplay: inline-block;\n\tpadding: 12px 25px;\n\tline-height: 20px;\n\tcolor: rgb(255, 255, 255);\n\ttext-align: center;\n\tvertical-align: middle;\n\tbackground-repeat: repeat-x;\n\tbackground-color: rgb(38, 174, 144);\n\tborder-radius: 5px;\n\tbox-shadow: 0px -2px 0px rgba(0, 0, 0, 0.1) inset;\n\tfont-size: 12px;\n\ttext-transform: uppercase;\n\tfont-weight: bold;\n}\n\n.navbar-default {\n\ttext-transform: uppercase;\n\tbackground-color: #fff;\n\tfont-size: 1em;\n}\n\n.navbar-nav {\n\tmargin: 5px;\n}\n\n.navbar-text {\n\tmargin-top: 20px;\n\tmargin-bottom: 20px;\n}\n\n@media (max-width : 767px){\n\t.navbar.navbar-default.navbar-fixed-top .container{\n\t\ttext-align: center;\n\t}\n\t.navbar.navbar-default.navbar-fixed-top .container p{\n\t\tclear: both;\n\t}\n\t.navbar.navbar-default.navbar-fixed-top .container img{\n\t\tclear: both;\n\t\tfloat: none!important;\n\t}\n\t\n\t.navfull {\n\t\toverflow: hidden;\n\t\tmax-height: 0px;\n\t\ttransition: max-height .5s ease-in-out;\n\t}\t\n\n\t.navbar-text {\n\t\tmargin-top: 0px;\n\t\tmargin-bottom: 5px;\n\t}\n\t\n\t#navsmallbutton{\n\t\tdisplay : block!important;\n\t}\n\n}\n\n@media (min-width : 767px){\n\t.navfull {\n\t\tdisplay: block!important;\n\t\tvisibility: visible;\n\t}\t\t\n}\n\n.showNavbar {\n\tdisplay: block!important;\n\tmax-height: 500px;\n}\n\n#navsmallbutton {\n\tposition: fixed;\n\ttop:10px;\n\tleft : 10px;\n\tz-index: 9999;\n\tbackground-color: #F5F5F5;\n\tdisplay:none;\n}\n\n.slideDown {\n margin-top: 60px;\n\ttransition: margin-top .5s ease-in-out;\n}\n\n.marginTop220 {\n\tmargin-top: 220px;\n}\n\n.form-signin {\n\tmargin-top:50px;\n\tmax-width: 350px;\n\tmargin: 0 auto;\n}\n\n.dropdown-menu {\n\tfont-size: .8em;\n}\n\n\n\n/*\n *\n * Common Form CSS\n *\n */\n\n.ueGenericLogin {\n\t/*border-radius: 0;*/\n\tbackground-color: #fff;\n\tbox-shadow: 3px 3px 10px 3px rgba(0,0,0,0.2);\n}\n\n.buttonFullWidth{\n\twidth: 100%;\n}\n\n.messageBlockNatural {\n\tbackground-color: #F3F7FC;\n\tcolor: #55606F;\n}\n\n.alert {\n\ttext-align: left;\n} \n\n.help-block {\n\tfont-size: 0.8em;\n}\n\n.mainArea {\n\tmargin-top: 150px;\n}\n\ninput:-webkit-autofill {\n\t-webkit-box-shadow: 0 0 0 1000px white inset;\n\tbackground-color: white !important;\n}\n\n.ueSubmitButton, .ueTextInput, .input-group-addon, .messageBlockNatural {\n\tborder-radius: 4px !important;\n}\n\n.input-group-addon {\n\tborder-top-right-radius: 0 !important;\n\tborder-bottom-right-radius: 0 !important;\n}\n\n.ueTextInput {\n\tborder-top-left-radius: 0 !important;\n\tborder-bottom-left-radius: 0 !important;\n}\n\nspan i.fa {\n\tmin-width: 14px;\n}",""]),j.exports=b.toString()},6436:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"",""]),j.exports=b.toString()},5320:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"",""]),j.exports=b.toString()},1835:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".size {\n font-size:10px\n}",""]),j.exports=b.toString()},1824:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"",""]),j.exports=b.toString()},5777:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,'/* Email factor specific styles - inherits main styles from parent */\n\n.factor-setup-section {\n background-color: #f8f9fa;\n border: 1px solid #e1e5e9;\n border-radius: 4px;\n padding: 20px;\n margin-bottom: 20px;\n}\n\n.factor-input {\n margin-bottom: 20px;\n}\n\n.factor-input label {\n display: block;\n margin-bottom: 8px;\n font-weight: 600;\n color: #212529;\n}\n\n.factor-input input {\n width: 100%;\n margin-bottom: 0;\n}\n\n.setup-buttons {\n display: flex;\n justify-content: flex-start;\n gap: 10px;\n margin-top: 15px;\n}\n\n.verification-section-setup {\n background-color: #e3f2fd;\n border: 1px solid #90caf9;\n border-radius: 4px;\n padding: 20px;\n margin-bottom: 20px;\n}\n\n.verification-input {\n margin-bottom: 15px;\n}\n\n.verification-input label {\n display: block;\n margin-bottom: 8px;\n font-weight: 600;\n color: #212529;\n}\n\n.verification-input input {\n width: 100%;\n margin-bottom: 0;\n}\n\n/* Email Factor Specific Styles */\n\n/* Setup Forms */\n.setup-form {\n background: #fff;\n}\n\n.setup-form h3 {\n margin: 0 0 25px 0;\n font-size: 24px;\n font-weight: 500;\n color: #333;\n}\n\n.setup-form .setup-label {\n color: #007bff;\n font-weight: 600;\n font-size: 14px;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n margin-bottom: 10px;\n}\n\n.setup-form p {\n color: #666;\n line-height: 1.5;\n margin-bottom: 25px;\n}\n\n/* Input Groups */\n.email-input-group {\n margin-bottom: 30px;\n}\n\n/* Verification Step */\n.verification-step {\n background: #fff;\n}\n\n.verification-step h3 {\n margin: 0 0 20px 0;\n font-size: 24px;\n font-weight: 500;\n color: #333;\n}\n\n.success-message {\n background: #d4edda;\n border: 1px solid #c3e6cb;\n border-radius: 6px;\n padding: 15px 20px;\n margin-bottom: 25px;\n}\n\n.success-message p {\n margin: 0;\n color: #155724;\n font-size: 14px;\n}\n\n.auth-code-section {\n margin-bottom: 30px;\n}\n\n.auth-label {\n color: #007bff;\n font-weight: 600;\n font-size: 14px;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n margin-bottom: 10px;\n}\n\n.auth-code-section p {\n color: #666;\n margin-bottom: 20px;\n}\n\n.code-inputs {\n display: flex;\n gap: 10px;\n justify-content: center;\n margin-bottom: 20px;\n}\n\n.code-input {\n width: 50px;\n height: 50px;\n text-align: center;\n font-size: 24px;\n font-weight: 600;\n border: 2px solid #e0e0e0;\n border-radius: 8px;\n background: #fff;\n transition: border-color 0.2s ease;\n}\n\n.code-input:focus {\n outline: none;\n border-color: #007bff;\n}\n\n/* Form Actions */\n.form-actions,\n.verification-actions {\n display: flex;\n gap: 10px;\n justify-content: flex-end;\n padding-top: 20px;\n margin-top: 30px;\n background: transparent;\n}\n\n/* Responsive Design */\n@media (max-width: 768px) {\n .code-inputs {\n flex-wrap: wrap;\n gap: 8px;\n }\n \n .code-input {\n width: 45px;\n height: 45px;\n font-size: 20px;\n }\n \n .form-actions,\n .verification-actions {\n flex-direction: column;\n }\n}\n\n/* Remember device section */\n.remember-device-section {\n margin: 20px 0;\n padding: 15px;\n background-color: #f8f9fa;\n border-radius: 5px;\n border: 1px solid #e9ecef;\n}\n\n.checkbox-container {\n display: flex;\n align-items: center;\n margin-bottom: 8px;\n}\n\n.checkbox-container input[type="checkbox"] {\n margin-right: 8px;\n transform: scale(1.2);\n}\n\n.checkbox-container label {\n font-weight: 500;\n margin-bottom: 0;\n cursor: pointer;\n}\n\n.help-text {\n font-size: 13px;\n color: #6c757d;\n margin-bottom: 0;\n line-height: 1.4;\n}',""]),j.exports=b.toString()},7207:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,'/* Google Authenticator factor specific styles - inherits main styles from parent */\n\n.factor-setup-section {\n background-color: #f8f9fa;\n border: 1px solid #e1e5e9;\n border-radius: 4px;\n padding: 20px;\n margin-bottom: 20px;\n}\n\n.factor-input {\n margin-bottom: 20px;\n}\n\n.factor-input p {\n margin-bottom: 15px;\n color: #6c757d;\n}\n\n.setup-buttons {\n display: flex;\n justify-content: flex-start;\n gap: 10px;\n margin-top: 15px;\n}\n\n.qr-code-section {\n text-align: center;\n margin: 20px 0;\n padding: 20px;\n background-color: #f8f9fa;\n border: 1px solid #e1e5e9;\n border-radius: 4px;\n}\n\n.qr-code {\n max-width: 200px;\n height: auto;\n border: 1px solid #e1e5e9;\n border-radius: 4px;\n}\n\n.verification-section-setup {\n background-color: #e3f2fd;\n border: 1px solid #90caf9;\n border-radius: 4px;\n padding: 20px;\n margin-bottom: 20px;\n}\n\n.verification-input {\n margin-bottom: 15px;\n}\n\n.verification-input label {\n display: block;\n margin-bottom: 8px;\n font-weight: 600;\n color: #212529;\n}\n\n.verification-input input {\n width: 100%;\n margin-bottom: 0;\n}\n\n/* Google Authenticator Factor Specific Styles */\n\n/* Setup Forms */\n.setup-form {\n background: #fff;\n}\n\n.setup-form h3 {\n margin: 0 0 25px 0;\n font-size: 24px;\n font-weight: 500;\n color: #333;\n}\n\n.setup-form .setup-label {\n color: #007bff;\n font-weight: 600;\n font-size: 14px;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n margin-bottom: 10px;\n}\n\n.setup-form p {\n color: #666;\n line-height: 1.5;\n margin-bottom: 25px;\n}\n\n/* QR Code Step */\n.qr-step {\n background: #fff;\n}\n\n.qr-step h3 {\n margin: 0 0 25px 0;\n font-size: 24px;\n font-weight: 500;\n color: #333;\n}\n\n.qr-step .setup-label {\n color: #007bff;\n font-weight: 600;\n font-size: 14px;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n margin-bottom: 10px;\n}\n\n.qr-step p {\n color: #666;\n line-height: 1.5;\n margin-bottom: 25px;\n}\n\n.qr-code-container {\n display: flex;\n justify-content: center;\n margin: 30px 0;\n}\n\n.qr-code {\n max-width: 200px;\n height: auto;\n border: 1px solid #e0e0e0;\n border-radius: 8px;\n padding: 10px;\n background: #fff;\n}\n\n/* Verification Step */\n.verification-step {\n background: #fff;\n}\n\n.verification-step h3 {\n margin: 0 0 25px 0;\n font-size: 24px;\n font-weight: 500;\n color: #333;\n}\n\n.verification-step .setup-label {\n color: #007bff;\n font-weight: 600;\n font-size: 14px;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n margin-bottom: 10px;\n}\n\n.verification-step p {\n color: #666;\n line-height: 1.5;\n margin-bottom: 25px;\n}\n\n.code-inputs {\n display: flex;\n gap: 10px;\n justify-content: center;\n margin-bottom: 20px;\n}\n\n.code-input {\n width: 50px;\n height: 50px;\n text-align: center;\n font-size: 24px;\n font-weight: 600;\n border: 2px solid #e0e0e0;\n border-radius: 8px;\n background: #fff;\n transition: border-color 0.2s ease;\n}\n\n.code-input:focus {\n outline: none;\n border-color: #007bff;\n}\n\n/* Form Actions */\n.form-actions {\n display: flex;\n gap: 10px;\n justify-content: flex-end;\n padding-top: 20px;\n margin-top: 30px;\n background: transparent;\n}\n\n/* Responsive Design */\n@media (max-width: 768px) {\n .code-inputs {\n flex-wrap: wrap;\n gap: 8px;\n }\n \n .code-input {\n width: 45px;\n height: 45px;\n font-size: 20px;\n }\n \n .form-actions {\n flex-direction: column;\n }\n}\n\n/* Remember device section */\n.remember-device-section {\n margin: 20px 0;\n padding: 15px;\n background-color: #f8f9fa;\n border-radius: 5px;\n border: 1px solid #e9ecef;\n}\n\n.checkbox-container {\n display: flex;\n align-items: center;\n margin-bottom: 8px;\n}\n\n.checkbox-container input[type="checkbox"] {\n margin-right: 8px;\n transform: scale(1.2);\n}\n\n.checkbox-container label {\n font-weight: 500;\n margin-bottom: 0;\n cursor: pointer;\n}\n\n.help-text {\n font-size: 13px;\n color: #6c757d;\n margin-bottom: 0;\n line-height: 1.4;\n}',""]),j.exports=b.toString()},9369:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"/* One-time codes factor specific styles - inherits main styles from parent */\n\n/* One-time Codes Factor Specific Styles */\n\n/* Setup Forms */\n.setup-form {\n background: #fff;\n}\n\n.setup-form h3 {\n margin: 0 0 25px 0;\n font-size: 24px;\n font-weight: 500;\n color: #333;\n}\n\n.setup-form .setup-label {\n color: #007bff;\n font-weight: 600;\n font-size: 14px;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n margin-bottom: 10px;\n}\n\n.setup-form p {\n color: #666;\n line-height: 1.5;\n margin-bottom: 25px;\n}\n\n/* Backup Codes */\n.backup-codes {\n margin: 30px 0;\n}\n\n.codes-list {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n gap: 10px;\n margin-bottom: 20px;\n padding: 20px;\n background: #f8f9fa;\n border: 1px solid #e0e0e0;\n border-radius: 8px;\n}\n\n.backup-code {\n padding: 10px 15px;\n background: #fff;\n border: 1px solid #ddd;\n border-radius: 4px;\n font-family: 'Courier New', monospace;\n font-size: 14px;\n text-align: center;\n}\n\n.codes-warning {\n color: #856404;\n background: #fff3cd;\n border: 1px solid #ffeaa7;\n border-radius: 6px;\n padding: 12px 15px;\n margin: 0;\n font-size: 14px;\n}\n\n/* Form Actions */\n.form-actions {\n display: flex;\n gap: 10px;\n justify-content: flex-end;\n padding-top: 20px;\n margin-top: 30px;\n background: transparent;\n}\n\n/* Responsive Design */\n@media (max-width: 768px) {\n .codes-list {\n grid-template-columns: 1fr;\n }\n \n .form-actions {\n flex-direction: column;\n }\n} ",""]),j.exports=b.toString()},7175:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,'/* SMS factor specific styles - inherits main styles from parent */\n\n.factor-setup-section {\n background-color: #f8f9fa;\n border: 1px solid #e1e5e9;\n border-radius: 4px;\n padding: 20px;\n margin-bottom: 20px;\n}\n\n.factor-input {\n margin-bottom: 20px;\n}\n\n.factor-input label {\n display: block;\n margin-bottom: 8px;\n font-weight: 600;\n color: #212529;\n}\n\n.factor-input input {\n width: 100%;\n margin-bottom: 0;\n}\n\n.setup-buttons {\n display: flex;\n justify-content: flex-start;\n gap: 10px;\n margin-top: 15px;\n}\n\n.verification-section-setup {\n background-color: #e3f2fd;\n border: 1px solid #90caf9;\n border-radius: 4px;\n padding: 20px;\n margin-bottom: 20px;\n}\n\n.verification-input {\n margin-bottom: 15px;\n}\n\n.verification-input label {\n display: block;\n margin-bottom: 8px;\n font-weight: 600;\n color: #212529;\n}\n\n.verification-input input {\n width: 100%;\n margin-bottom: 0;\n}\n\n/* SMS Factor Specific Styles */\n\n/* Setup Forms */\n.setup-form {\n background: #fff;\n}\n\n.setup-form h3 {\n margin: 0 0 25px 0;\n font-size: 24px;\n font-weight: 500;\n color: #333;\n}\n\n.setup-form .setup-label {\n color: #007bff;\n font-weight: 600;\n font-size: 14px;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n margin-bottom: 10px;\n}\n\n.setup-form p {\n color: #666;\n line-height: 1.5;\n margin-bottom: 25px;\n}\n\n/* Input Groups */\n.phone-input-group {\n margin-bottom: 30px;\n}\n\n.input-with-icon {\n position: relative;\n display: flex;\n align-items: center;\n}\n\n.input-icon {\n position: absolute;\n left: 15px;\n color: #666;\n font-size: 16px;\n z-index: 2;\n}\n\n.phone-input {\n flex: 1;\n padding: 12px 15px 12px 45px;\n border: 1px solid #e0e0e0;\n border-radius: 6px;\n font-size: 16px;\n transition: border-color 0.2s ease;\n}\n\n.phone-input:focus {\n outline: none;\n border-color: #007bff;\n}\n\n.input-action-btn {\n position: absolute;\n right: 10px;\n background: #dc3545;\n border: none;\n color: white;\n width: 24px;\n height: 24px;\n border-radius: 4px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 12px;\n}\n\n.input-action-btn:hover {\n background: #c82333;\n}\n\n/* Verification Step */\n.verification-step {\n background: #fff;\n}\n\n.verification-step h3 {\n margin: 0 0 20px 0;\n font-size: 24px;\n font-weight: 500;\n color: #333;\n}\n\n.success-message {\n background: #d4edda;\n border: 1px solid #c3e6cb;\n border-radius: 6px;\n padding: 15px 20px;\n margin-bottom: 25px;\n}\n\n.success-message p {\n margin: 0;\n color: #155724;\n font-size: 14px;\n}\n\n.auth-code-section {\n margin-bottom: 30px;\n}\n\n.auth-label {\n color: #007bff;\n font-weight: 600;\n font-size: 14px;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n margin-bottom: 10px;\n}\n\n.auth-code-section p {\n color: #666;\n margin-bottom: 20px;\n}\n\n.code-inputs {\n display: flex;\n gap: 10px;\n justify-content: center;\n margin-bottom: 20px;\n}\n\n.code-input {\n width: 50px;\n height: 50px;\n text-align: center;\n font-size: 24px;\n font-weight: 600;\n border: 2px solid #e0e0e0;\n border-radius: 8px;\n background: #fff;\n transition: border-color 0.2s ease;\n}\n\n.code-input:focus {\n outline: none;\n border-color: #007bff;\n}\n\n/* Form Actions */\n.form-actions,\n.verification-actions {\n display: flex;\n gap: 10px;\n justify-content: flex-end;\n padding-top: 20px;\n margin-top: 30px;\n background: transparent;\n}\n\n/* Responsive Design */\n@media (max-width: 768px) {\n .code-inputs {\n flex-wrap: wrap;\n gap: 8px;\n }\n \n .code-input {\n width: 45px;\n height: 45px;\n font-size: 20px;\n }\n \n .form-actions,\n .verification-actions {\n flex-direction: column;\n }\n}\n\n/* Remember device section */\n.remember-device-section {\n margin: 20px 0;\n padding: 15px;\n background-color: #f8f9fa;\n border-radius: 5px;\n border: 1px solid #e9ecef;\n}\n\n.checkbox-container {\n display: flex;\n align-items: center;\n margin-bottom: 8px;\n}\n\n.checkbox-container input[type="checkbox"] {\n margin-right: 8px;\n transform: scale(1.2);\n}\n\n.checkbox-container label {\n font-weight: 500;\n margin-bottom: 0;\n cursor: pointer;\n}\n\n.help-text {\n font-size: 13px;\n color: #6c757d;\n margin-bottom: 0;\n line-height: 1.4;\n}',""]),j.exports=b.toString()},5481:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"/* Modal Content Styling */\n.modal-content {\n padding: 0;\n}\n\n/* Loading State */\n.loading-state {\n text-align: center;\n padding: 40px 20px;\n}\n\n.loading-state h3 {\n margin: 0 0 20px 0;\n color: #000;\n font-weight: 500;\n font-size: 24px;\n}\n\n.loading-state p {\n margin: 0 0 30px 0;\n color: #000;\n font-size: 16px;\n font-weight: normal;\n}\n\n.loading-bar {\n width: 100%;\n height: 40px;\n background: #2196f3;\n border-radius: 20px;\n margin: 0 auto;\n position: relative;\n overflow: hidden;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.loading-bar .loading-text {\n color: white;\n font-size: 16px;\n font-weight: 500;\n z-index: 2;\n position: relative;\n}\n\n.loading-bar::before {\n content: '';\n position: absolute;\n top: 0;\n left: -100%;\n width: 100%;\n height: 100%;\n background: linear-gradient(\n 45deg,\n transparent 25%,\n rgba(255, 255, 255, 0.2) 25%,\n rgba(255, 255, 255, 0.2) 50%,\n transparent 50%,\n transparent 75%,\n rgba(255, 255, 255, 0.2) 75%\n );\n background-size: 20px 20px;\n animation: loading-stripes 3s linear infinite;\n z-index: 1;\n}\n\n@keyframes loading-stripes {\n 0% {\n left: -100%;\n }\n 100% {\n left: 100%;\n }\n}\n\n/* Setup Header */\n.setup-header {\n margin-bottom: 30px;\n}\n\n.setup-label {\n color: #007bff;\n font-weight: 600;\n font-size: 14px;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n margin-bottom: 10px;\n}\n\n.setup-description {\n color: #666;\n line-height: 1.5;\n margin-bottom: 0;\n}\n\n/* Factor Cards */\n.factor-card {\n margin-bottom: 15px;\n}\n\n.factor-item {\n display: flex;\n align-items: center;\n padding: 15px 20px;\n border: 1px solid #e0e0e0;\n border-radius: 8px;\n background: #fff;\n transition: all 0.2s ease;\n}\n\n.factor-item.clickable {\n cursor: pointer;\n}\n\n.factor-item.clickable:hover {\n border-color: #007bff;\n box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);\n}\n\n.factor-icon {\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 15px;\n color: #666;\n font-size: 18px;\n}\n\n.factor-details {\n flex: 1;\n}\n\n.factor-details h4 {\n margin: 0 0 5px 0;\n font-size: 16px;\n font-weight: 500;\n color: #333;\n}\n\n.factor-details p {\n margin: 0;\n font-size: 14px;\n color: #666;\n}\n\n.factor-actions {\n display: flex;\n align-items: center;\n}\n\n.remove-link {\n color: #ff6b35;\n font-size: 14px;\n cursor: pointer;\n text-decoration: none;\n font-weight: 500;\n}\n\n.remove-link:hover {\n text-decoration: underline;\n}\n\n.remove-btn {\n background: none;\n border: none;\n color: #ff6b35;\n font-size: 14px;\n cursor: pointer;\n padding: 5px 10px;\n border-radius: 4px;\n transition: background-color 0.2s ease;\n}\n\n.remove-btn:hover {\n background-color: #fff2f0;\n}\n\n/* Factor Options */\n.factor-options {\n margin-bottom: 30px;\n}\n\n.factor-option-card {\n display: flex;\n align-items: center;\n padding: 20px;\n border: 1px solid #e0e0e0;\n border-radius: 8px;\n margin-bottom: 10px;\n background: #fff;\n transition: all 0.2s ease;\n cursor: pointer;\n}\n\n.factor-option-card.available:hover {\n border-color: #007bff;\n box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);\n}\n\n.factor-option-card.existing {\n cursor: default;\n background-color: #f8f9fa;\n}\n\n.option-icon {\n width: 50px;\n height: 50px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 20px;\n color: #666;\n font-size: 24px;\n}\n\n.option-content {\n flex: 1;\n}\n\n.option-content h4 {\n margin: 0 0 8px 0;\n font-size: 18px;\n font-weight: 500;\n color: #333;\n}\n\n.option-content p {\n margin: 0;\n font-size: 14px;\n color: #666;\n line-height: 1.4;\n}\n\n.option-status {\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: 8px;\n}\n\n.success-icon {\n color: #28a745;\n font-size: 20px;\n}\n\n/* Verification Section */\n.verification-section {\n background: #fff;\n border: 1px solid #e0e0e0;\n border-radius: 8px;\n padding: 30px;\n}\n\n.verification-header h3 {\n margin: 0 0 20px 0;\n font-size: 24px;\n font-weight: 500;\n color: #333;\n}\n\n.success-message {\n background: #d4edda;\n border: 1px solid #c3e6cb;\n border-radius: 6px;\n padding: 15px 20px;\n margin-bottom: 25px;\n}\n\n.success-message p {\n margin: 0;\n color: #155724;\n font-size: 14px;\n}\n\n.auth-code-section {\n margin-bottom: 30px;\n}\n\n.auth-label {\n color: #007bff;\n font-weight: 600;\n font-size: 14px;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n margin-bottom: 10px;\n}\n\n.auth-code-section p {\n color: #666;\n margin-bottom: 20px;\n}\n\n.code-inputs {\n display: flex;\n gap: 10px;\n justify-content: center;\n margin-bottom: 20px;\n}\n\n.code-input {\n width: 50px;\n height: 50px;\n text-align: center;\n font-size: 24px;\n font-weight: 600;\n border: 2px solid #e0e0e0;\n border-radius: 8px;\n background: #fff;\n transition: border-color 0.2s ease;\n}\n\n.code-input:focus {\n outline: none;\n border-color: #007bff;\n}\n\n.verification-actions {\n display: flex;\n gap: 10px;\n justify-content: flex-end;\n}\n\n/* Setup Forms */\n.setup-content {\n padding: 0;\n}\n\n.setup-form {\n background: #fff;\n}\n\n.setup-form h3 {\n margin: 0 0 25px 0;\n font-size: 24px;\n font-weight: 500;\n color: #333;\n}\n\n.setup-form .setup-label {\n color: #007bff;\n font-weight: 600;\n font-size: 14px;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n margin-bottom: 10px;\n}\n\n.setup-form p {\n color: #666;\n line-height: 1.5;\n margin-bottom: 25px;\n}\n\n/* Input Groups */\n.email-input-group,\n.phone-input-group {\n margin-bottom: 30px;\n}\n\n.input-with-icon {\n position: relative;\n display: flex;\n align-items: center;\n}\n\n.input-icon {\n position: absolute;\n left: 15px;\n color: #666;\n font-size: 16px;\n z-index: 2;\n}\n\n.email-input,\n.phone-input {\n flex: 1;\n padding: 12px 15px 12px 45px;\n border: 1px solid #e0e0e0;\n border-radius: 6px;\n font-size: 16px;\n transition: border-color 0.2s ease;\n}\n\n.email-input:focus,\n.phone-input:focus {\n outline: none;\n border-color: #007bff;\n}\n\n.input-action-btn {\n position: absolute;\n right: 10px;\n background: #dc3545;\n border: none;\n color: white;\n width: 24px;\n height: 24px;\n border-radius: 4px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 12px;\n}\n\n.input-action-btn:hover {\n background: #c82333;\n}\n\n/* QR Code */\n.qr-code-container {\n display: flex;\n justify-content: center;\n margin: 30px 0;\n}\n\n.qr-code {\n max-width: 200px;\n height: auto;\n border: 1px solid #e0e0e0;\n border-radius: 8px;\n padding: 10px;\n background: #fff;\n}\n\n/* Backup Codes */\n.backup-codes {\n margin: 30px 0;\n}\n\n.codes-list {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n gap: 10px;\n margin-bottom: 20px;\n padding: 20px;\n background: #f8f9fa;\n border: 1px solid #e0e0e0;\n border-radius: 8px;\n}\n\n.backup-code {\n padding: 10px 15px;\n background: #fff;\n border: 1px solid #ddd;\n border-radius: 4px;\n font-family: 'Courier New', monospace;\n font-size: 14px;\n text-align: center;\n}\n\n.codes-warning {\n color: #856404;\n background: #fff3cd;\n border: 1px solid #ffeaa7;\n border-radius: 6px;\n padding: 12px 15px;\n margin: 0;\n font-size: 14px;\n}\n\n/* Form Actions */\n.form-actions {\n display: flex;\n gap: 10px;\n justify-content: flex-end;\n padding-top: 20px;\n margin-top: 30px;\n background: transparent;\n}\n\n/* Modal Actions */\n.modal-actions {\n display: flex;\n gap: 10px;\n justify-content: flex-end;\n padding-top: 30px;\n border-top: 1px solid #e0e0e0;\n margin-top: 30px;\n}\n\n/* Legacy Options */\n.legacy-options {\n text-align: center;\n margin-bottom: 30px;\n}\n\n.legacy-link {\n color: #007bff;\n text-decoration: none;\n font-size: 14px;\n font-weight: 500;\n}\n\n.legacy-link:hover {\n text-decoration: underline;\n}\n\n/* Continue Section */\n.continue-section {\n text-align: center;\n margin-top: 30px;\n}\n\n/* Security Level Section */\n.security-level-section {\n text-align: center;\n margin-top: 30px;\n padding-top: 20px;\n border-top: 1px solid #e0e0e0;\n}\n\n/* Responsive Design */\n@media (max-width: 768px) {\n .factor-item,\n .factor-option-card {\n flex-direction: column;\n align-items: flex-start;\n text-align: left;\n }\n \n .factor-icon,\n .option-icon {\n margin-bottom: 10px;\n margin-right: 0;\n }\n \n .factor-actions,\n .option-status {\n align-self: stretch;\n justify-content: flex-start;\n margin-top: 10px;\n }\n \n .code-inputs {\n flex-wrap: wrap;\n gap: 8px;\n }\n \n .code-input {\n width: 45px;\n height: 45px;\n font-size: 20px;\n }\n \n .form-actions,\n .modal-actions,\n .verification-actions {\n flex-direction: column;\n }\n \n .codes-list {\n grid-template-columns: 1fr;\n }\n}\n\n/* Remember device section */\n.remember-device-section {\n margin: 20px 0;\n padding: 15px;\n background-color: #f8f9fa;\n border-radius: 5px;\n border: 1px solid #e9ecef;\n}\n\n.checkbox-container {\n display: flex;\n align-items: center;\n margin-bottom: 8px;\n}\n\n.checkbox-container input[type=\"checkbox\"] {\n margin-right: 8px;\n transform: scale(1.2);\n}\n\n.checkbox-container label {\n font-weight: 500;\n margin-bottom: 0;\n cursor: pointer;\n}\n\n.help-text {\n font-size: 13px;\n color: #6c757d;\n margin-bottom: 0;\n line-height: 1.4;\n}",""]),j.exports=b.toString()},3244:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"/* Security Level Component Styles */\n\n/* Setup Forms */\n.setup-form {\n background: #fff;\n}\n\n.setup-form h3 {\n margin: 0 0 25px 0;\n font-size: 24px;\n font-weight: 500;\n color: #333;\n}\n\n.setup-form .setup-label {\n color: #007bff;\n font-weight: 600;\n font-size: 14px;\n text-transform: uppercase;\n letter-spacing: 0.5px;\n margin-bottom: 10px;\n}\n\n.setup-form p {\n color: #666;\n line-height: 1.5;\n margin-bottom: 25px;\n}\n\n/* Security Level Group */\n.security-level-group {\n margin-bottom: 30px;\n}\n\n/* Form Actions */\n.form-actions {\n display: flex;\n gap: 10px;\n justify-content: flex-end;\n padding-top: 20px;\n margin-top: 30px;\n background: transparent;\n}\n\n/* Responsive Design */\n@media (max-width: 768px) {\n .form-actions {\n flex-direction: column;\n }\n} ",""]),j.exports=b.toString()},3533:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"",""]),j.exports=b.toString()},8145:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"",""]),j.exports=b.toString()},8990:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"h1, h2, h3, h4, h5 {\n\tmargin: 0;\n}\n\n.widget-container {\n\tmax-width: 1300px;\n}\n\n.dash-card {\n\tborder-width: 1px;\n\tborder-style: solid;\n\tborder-color: #C2C2C2;\n\tmargin-bottom: 20px;\n}\n\n.dash-card-no-border {\n\tmargin-bottom: 20px;\n\twidth: 100%;\n}\n\n.dash-card-header {\n\twidth: 100%; \n\theight: 34px;\n\tborder-bottom-width: 1px;\n\tborder-bottom-style: solid;\n\tborder-bottom-color: #C2C2C2;\n\tpadding-left: 10px;\n\tcolor: #333;\n\tbackground: #fafafa;\n}\n\n.dash-card-no-border > .dash-card-header {\n\tborder-width: 1px;\n\tborder-style: solid;\n\tborder-color: #C2C2C2;\n}\n\n.dash-card-header strong{\n\tfont-size: 14px; \n\tline-height: 34px; \n\tletter-spacing: 0;\n}\n\n.dash-card-body {\n\tposition: relative;\n\tborder-top-width: 1px;\n\tborder-top-style: solid;\n\tborder-top-color: #e3e3e3;\n}\n\n.dash-card-loading {\n\tcolor: lightgrey;\n\ttext-align: center;\n\tpadding: 20px;\n}\n\n.chartCount {\n\tposition: absolute;\n\tbottom: 10px;\n\tright: 10px;\n\ttext-align: right;\n}\n\n@media only screen and (min-width: 768px) {\n\t.dash-card {\n\t\twidth: 100%;\n\t}\n\n\t.dash-card-body {\n\t\theight: 198px;\n\t\toverflow-y: scroll;\n\t}\n\n\t#applianceSummary {\n\t\tdisplay: flex;\n\t\tjustify-content: flex-end;\n\t}\n}\n",""]),j.exports=b.toString()},3433:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"fieldset {\n\tmargin-bottom: 10px;\n}\nul {\n\tpadding-left: 0px;\n}\na {\n\tcolor: black;\n}\na.edit-labels:hover {\n\tcolor: black;\n\ttext-decoration: underline !important;\n\tcursor: pointer;\n}\n.labels-container {\n\tpadding-bottom: 20px;\n\tmargin-bottom: 20px;\n\tborder-bottom-width: 1px;\n\tborder-bottom-style: solid;\n\tborder-bottom-color: #e5e5e5\n}\n.edit-labels-dropdown {\n\tposition: absolute;\n z-index: 1;\n border: 1px solid lightgrey;\n border-radius: 5px;\n width: 275px;\n background-color: white;\n right: 6px;\n\ttop: 30px;\n\tbox-shadow: 0 2px 4px rgba(0,0,0,0.1);\n}\n.edit-labels-dropdown ul {\n\tmargin: 0;\n}\n.edit-labels-header {\n\ttext-align: center;\n\tborder-bottom: 1px solid lightgrey;\n\tmargin: 0 10px 10px 10px;\n\tpadding: 5px 0 10px 0;\n\tfont-size: 15px;\n}\n.edit-labels-header > i {\n\tmargin-top: 3px;\n color: lightgrey\n}\n.edit-labels-header > i:hover {\n color: grey\n}\n.edit-labels-list {\n\tfont-size: 14px;\n}\n.edit-labels-list > ul {\n max-height: 200px;\n overflow-y: scroll;\n}\n.label-dot {\n\tdisplay: inline-block;\n\tposition: relative;\n top: 2px;\n margin-right: 10px;\n\theight: 14px;\n\twidth: 14px;\n\tborder-radius: 7px;\n\tborder: 1px solid lightgray;\n\tbackground-color: #999;\n}\n.list-label {\n\tpadding: 5px 10px 5px 10px; \n}\n.list-label:hover {\n\tbackground-color: lightgray;\n\tcursor: pointer;\n}\n.list-label.label-edit-icon:hover {\n\tbackground-color: white;\n\tcursor: auto;\n}\n.add-new-label {\n\tpadding: 10px 20px 10px 20px;\n\ttext-align: center;\n}\n.add-new-label:hover {\n\tbackground-color: lightgray;\n\tcursor: pointer;\n}\n.delete-label {\n\tpadding: 10px 20px 10px 20px;\n\ttext-align: center;\n\tborder-top: 1px solid lightgrey;\n}\n.delete-label:hover {\n\tbackground-color: lightgray;\n\tcursor: pointer;\n}\n.label-edit-icon .label-delete-icon:hover {\n\tcolor: red;\n\tcursor: pointer;\n}\n.label-edit-icon .label-edit-icon:hover {\n\tcolor: black;\n\tcursor: pointer;\n}\n.list-label i {\n position: relative;\n\ttop: 3px;\n\tcolor: grey;\n}\n.edit-labels-list-footer {\n\tmargin-top: 10px;\n\tborder-top: 1px solid lightgrey;\n}\n.add-label-form {\n\tpadding: 5px;\n}\n.add-label-form input {\n\tborder-radius: 2px !important;\n}\n.label-color-block-container {\n\tborder-radius: 3px;\n\tmargin-bottom: 15px;\n\tfont-size: 0;\n\toverflow: hidden;\n\twidth: 263px;\n}\n.label-color-block {\n\tdisplay: inline-block;\n\twidth: calc(263px/8);\n\theight:33px;\n}\n.label-color-preview {\n\twidth: 30px; \n\tborder-top-left-radius: 2px; \n\tborder-bottom-left-radius: 2px;\n}\n.add-label-form .input-group input {\n\tborder-top-left-radius: 0 !important; \n\tborder-bottom-left-radius: 0 !important;\n\twidth: 232px;\n}\n.labels-loading-overlay {\n\tposition: absolute;\n\tz-index: 2;\n\theight: 100%;\n\twidth: 100%;\n\tborder-radius: 5px;\n\tbackground-color: rgba(0, 0, 0, 0.4);\n}\n.labels-loading-overlay > i {\n\tposition: relative;\n\ttop: calc(50% - 26px);\n\tleft: calc(50% - 26px);\n\tcolor: white;\n}\n.input-group .form-control {\n\tz-index: auto;\n}\n.pill-container {\n\tdisplay: inline-block;\n\tmargin: 5px;\n}\n.margintop_0 {\n\tmargin-top: 0px;\n}\n.marginbot_0 {\n\tmargin-bottom: 0px;\n}\n.make_inline {\n\tdisplay: inline-block;\n}\n.make_inline:nth-child(1n) {\n\tmargin-right: 13px;\n}\n.header {\n margin-top: 10px;\n}\n.header_details input {\n font-size: 30px;\n margin-top: -5px;\n margin-bottom: 5px;\n font-weight: 400;\n color: rgba(57, 113, 155, 1);\n border: 1px solid white;\n width: 100%;\n}\n.header_details ul li:nth-child(1n) {\n\tpadding: 0 5px 0 0;\n}\n.header_details ul li {\n\tdisplay: block;\n\tpadding: 0 5px;\n}\n.device_icon {\n font-size: 3em;\n}\n.device_block {\n\tdisplay: block;\n\tposition: relative;\n\ttext-align: center;\n\toverflow: hidden;\n}\n.deviceLink:before {\n\tcontent: ' ';\n}\n.deviceLink {\n\tposition: relative;\n}\n.deviceLink:after {\n\tcontent: \" \";\n}\n.deviceConnected {\n\tdisplay: inline-block;\n\tfont-size: 3rem;\n\tmargin: 13px 0 10px 0;\n\tcolor: RGBA(153, 153, 153, 1.00);\n}\n.textConnected {\n\tcolor: RGBA(153, 153, 153, 1.00);\n}\n.deviceConnected.connected,\n.textConnected.connected {\n\tanimation-name: successConnect;\n\tanimation-duration: 3s;\n\tanimation-iteration-count: infinite;\n\tanimation-direction: normal;\n}\n.deviceConnected.offline,\n.textConnected.offline {\n\tanimation-name: offlineDisconnect;\n\tanimation-duration: 3s;\n\tanimation-iteration-count: infinite;\n\tanimation-direction: normal;\n}\n.deviceConnected.online\n.textConnected.online {\n\tanimation-name: onlineStatus;\n\tanimation-duration: 3s;\n\tanimation-iteration-count: infinite;\n\tanimation-direction: normal;\n}\n.glyph {\n\tfont-size: 40px;\n}\n@keyframes successConnect {\n\t0% {\n\t\tcolor: RGBA(33, 197, 34, 1);\n\t}\n\t50% {\n\t\tcolor: RGBA(153, 153, 153, 1.00);\n\t}\n\t100% {\n\t\tcolor: RGBA(33, 197, 34, 1);\n\t}\n}\n@keyframes offlineDisconnect {\n\t0% {\n\t\tcolor: RGBA(219, 38, 26, 1.00);\n\t}\n\t50% {\n\t\tcolor: RGBA(153, 153, 153, 1.00);\n\t}\n\t100% {\n\t\tcolor: RGBA(219, 38, 26, 1.00);\n\t}\n}\n@keyframes onlineStatus {\n\t0% {\n\t\tcolor: RGBA(60, 114, 153, 1.00)\n\t}\n\t50% {\n\t\tcolor: RGBA(153, 153, 153, 1.00);\n\t}\n\t100% {\n\t\tcolor: RGBA(60, 114, 153, 1.00)\n\t}\n}\n\n/* Small Devices, Tablets */\n@media only screen and (max-width : 767px) {\n\tfieldset.xs-border-bottom {\n\t\tpadding-bottom: 20px;\n\t\tborder-bottom: 1px solid #e5e5e5;\n\t\tmargin-bottom: 20px;\n\t}\n}\n\n@media only screen and (min-width : 768px) {\n\tfieldset.sm-border-bottom {\n\t\tpadding-bottom: 20px;\n\t\tborder-bottom: 1px solid #e5e5e5;\n\t\tmargin-bottom: 20px;\n\t}\n\n}\n\n/* Medium Devices, Desktops */\n@media only screen and (min-width : 992px) {\n\t.header_details ul li {\n\t\tdisplay: inline-block;\n\t}\n}",""]),j.exports=b.toString()},2525:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"#upload {\n\topacity: 0;\n\tposition: absolute;\n\tz-index: -1;\t\n}",""]),j.exports=b.toString()},9167:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".label-suggestions {\n\tz-index: 1000; \n\tborder: 1px solid lightgray; \n\tposition: absolute; \n\tbackground-color: white; \n\tdisplay: inline-block; \n\tright: 371px; \n\ttop: 32px;\n\ttext-align: left;\n\tborder-radius: 6px;\n\twidth: 289px;\n}\n.label-suggestions > ul {\n\tmargin: 0;\n\tpadding: 0;\n}\n.label-suggestions > strong {\n\tdisplay: block;\n\tpadding: 5px 10px;\n\tfont-size: 14px;\n}\n.label-dot {\n\tdisplay: inline-block;\n\tmargin-top: 3px;\n margin-right: 10px;\n\theight: 12px;\n\twidth: 12px;\n\tborder-radius: 7px;\n\tborder: 1px solid lightgray;\n\tbackground-color: #999;\n}\n.list-label {\n\tpadding: 5px 10px 5px 10px; \n\ttext-align: left;\n}\n.list-label:hover {\n\tbackground-color: lightgray;\n\tcursor: pointer;\n}\n\n@media screen and (max-width: 991px) {\n\t.label-suggestions {\n\t\tright: 139px;\n\t}\n}\n\n@media screen and (max-width: 430px) {\n\t.label-suggestions {\n\t\twidth: 179px;\n\t\tright: 139px;\n\t}\n}",""]),j.exports=b.toString()},7190:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".fa-clipboard {\n\tcursor: pointer;\n}",""]),j.exports=b.toString()},3544:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"",""]),j.exports=b.toString()},9751:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".password-requirements {\n\tmargin-top: 10px;\n\tmargin-bottom: 25px;\n\tpadding: 12px;\n\tbackground-color: #f8f9fa;\n\tborder: 1px solid #e9ecef;\n\tborder-radius: 4px;\n}\n\n.password-requirements h5 {\n\tmargin-bottom: 8px;\n\tcolor: #495057;\n\tfont-weight: 600;\n\tfont-size: 14px;\n}\n\n.password-requirements h5 i {\n\tmargin-right: 6px;\n\tcolor: #007bff;\n\tfont-size: 12px;\n}\n\n.password-requirements ul {\n\tmargin-bottom: 0;\n}\n\n.password-requirements li {\n\tpadding: 2px 0;\n\tfont-size: 12px;\n\tline-height: 1.4;\n}\n\n.password-requirements li i {\n\tmargin-right: 6px;\n\twidth: 10px;\n\tfont-size: 10px;\n}\n\n.password-requirements .text-success {\n\tcolor: #28a745 !important;\n}\n\n.password-requirements .text-danger {\n\tcolor: #dc3545 !important;\n}\n\n.password-requirements .fa-check {\n\tcolor: #28a745;\n}\n\n.password-requirements .fa-times {\n\tcolor: #dc3545;\n}\n",""]),j.exports=b.toString()},275:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"input.empty {\n\tpadding-top: 14px;\n}",""]),j.exports=b.toString()},7283:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"hr {\n\tmargin: 0;\n}\n\n.company-tab {\n\tpadding: 10px 10px 10px 10px;\n\tmargin-bottom: 1.5em;\n\theight: 43px;\n\twidth: 100%;\n}\n\n.company-tab > p {\n\tfont-size: 15px\n}\n\n@media (max-width: 992px) {\n\t.align-top {\n\t\tmargin-top:35px;\n\t}\n}\n\n@media (min-width: 992px) {\n\t.align-top {\n\t\ttop: -36px;\n\t}\n}",""]),j.exports=b.toString()},9838:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"",""]),j.exports=b.toString()},6885:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"",""]),j.exports=b.toString()},3617:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"ul {\n\tpadding-left: 0px;\n}\n.serverinfo {\n\tmargin-bottom: 15px;\n}\n.server-block {\n\tmargin-bottom: 15px;\n}\n.serverinfo {\n\tcolor: RGBA(153, 153, 153, 1.00);\n}\n.server-block .serverType {\n\tfont-size: 5rem;\n\tcolor: RGBA(153, 153, 153, 1.00);\n}\n.server-block .serverType.connected,\n.serverinfo.connected {\n\tanimation-name: connected;\n\tanimation-duration: 3s;\n\tanimation-iteration-count: infinite;\n\tanimation-direction: normal;\n}\n\n@keyframes connected {\n\t0% {\n\t\tcolor: RGBA(33, 197, 34, 1);\n\t}\n\t50% {\n\t\tcolor: RGBA(153, 153, 153, 1.00);\n\t}\n\t100% {\n\t\tcolor: RGBA(33, 197, 34, 1);\n\t}\n}\n",""]),j.exports=b.toString()},4385:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".buttonPadding {\n padding-right: 5px;\n}",""]),j.exports=b.toString()},1954:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"/*\n * custom position for checkbox uses classes\n */\n.checkbox.centered {\n\tpadding-left: 0px;\n}\n.checkbox i.centered {\n\tposition: relative;\n\ttop: 0;\n\tmargin: 0 auto;\n} \n\n.not-allowed {\n\tcursor: not-allowed;\n\tcolor: lightgray;\n}\n.smart-form .checkbox input:disabled:checked+i {\n\tborder-color: lightgray;\n}\n.smart-form .checkbox input:disabled+i:after {\n color: lightgray;\n}\n.smart-form .checkbox input:disabled+i {\n\tborder-color: lightgray;\n}\n.smart-form .checkbox input:disabled+i {\n color: lightgray;\n}",""]),j.exports=b.toString()},2022:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".ellipsis {\n\twhite-space: nowrap;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n}\n\n.red-text {\n\tcolor: red;\n}",""]),j.exports=b.toString()},1434:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".drag-container {\n width: 100%;\n vertical-align: top;\n overflow: scroll;\n}\n\n.drag-list {\n min-height: 60px;\n background: white;\n white-space: nowrap;\n padding: 10px 0;\n}\n\n.drag-box {\n padding: 10px;\n border: solid 1px #ccc;\n border-right: none;\n color: rgba(0, 0, 0, 0.87);\n display: inline-flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n cursor: move;\n background: white;\n}\n\n.drag-box > i {\n margin-right: 10px;\n}\n\n.cdk-drag-preview {\n box-sizing: border-box;\n border-radius: 4px;\n box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),\n 0 8px 10px 1px rgba(0, 0, 0, 0.14),\n 0 3px 14px 2px rgba(0, 0, 0, 0.12);\n}\n\n.cdk-drag-placeholder {\n opacity: 0;\n}\n\n.drag-box:first-child {\n border-radius: 4px 0 0 4px;\n}\n\n.drag-box:last-child {\n border-right: solid 1px #ccc;\n border-radius: 0 4px 4px 0;\n}\n\n.drag-box:only-child {\n border-right: solid 1px #ccc;\n border-radius: 4px;\n}\n\n.cdk-drag-animating {\n transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.drag-list.cdk-drop-list-dragging .drag-box:not(.cdk-drag-placeholder) {\n transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.scrollArrowContainer {\n font-size: 25px;\n cursor: pointer;\n}\n\n.scrollArrowHidden {\n visibility: hidden;\n cursor: default;\n}\n\n.scrollArrowContainer:first-child {\n margin-right: 15px;\n}\n\n.scrollArrowContainer:last-child {\n margin-left: 15px;\n}\n\n.scrollWrapper {\n display: flex;\n align-items: center;\n}",""]),j.exports=b.toString()},195:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"",""]),j.exports=b.toString()},2479:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".container {\n\tcolor: #888;\n}\n#content {\n\tbackground-color: #fafafa;\n}\n.row {\n\tmargin: 0\n}\nh1 {\n\tmargin: 0px 0px 3px 0px\n}\n/* header */\n.merchant-header span {\n\tmargin-left: 5px;\n\tpadding: 2px 5px 2px 4px;\n}\n\n/* navbar */\n.merchant-navbar {\n\tborder: 1px solid lavender;\n\tborder-radius: 3px;\n\tmargin-top: 3px;\n\tbackground-color: whitesmoke;\n\tmargin-bottom: 10px\n}\n.merchant-navbar ul {\n\twidth:100%;\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tmargin: 0;\n\tpadding: 5px 10px;\n}\n.merchant-navbar ul li {\n\tdisplay: block;\n\tflex: 0 1 auto;\n\tlist-style-type: none;\n\tpadding: 0 15px;\n\tfont-size: 17px\n}\n\n.card-container {\n\tpadding: 0;\n\tmargin: 0\n}\n\n.left-section {\n\tpadding: 0 10px 0 0;\n\tjustify-content: space-between\n}\n\n.right-section {\n\tpadding: 0;\n}\n.fa {\n\tcolor: #02395A\n}\n\n/* cards */\n.card {\n\tborder: 1px solid lavender;\n border-radius: 6px;\n min-height: 50px;\n padding: 15px 25px 10px 15px;\n box-shadow: 3px 3px 3px lightgrey;\n\tmargin: 4px;\n background-color: white;\n min-width: 405px;\n}\n\n.card-title {\n\tmargin: 0;\n\tfont-size: 14px;\n\tmargin-bottom:1px;\n\tcolor: black;\n}\n\n.card-title-nomargin {\n\tmargin: 0;\n\tpadding: 0px 5px 2px 4px;\n\tfont-size: 12px;\n\tcolor: black;\n}\n\n.card-navbar {\n\tfont-size: 12px;\n\tcolor: dimgray;\n}\n.card-navbar-selected {\n\tborder-bottom: 2px solid steelblue;\n}\n.card-footer {\n\tpadding-top: 10px;\n\ttext-align: center;\n\tcolor: grey;\n\tcursor: pointer;\n\tborder-top: 1px solid gainsboro;\n\tmargin: 10px 0;\n font-weight: 700;\n}\n.card-footer:hover {\n\tcolor: #888\n}\n/* users list */\n.user-list-container {\n\tpadding: 0 10px;\n}\n.user-list-container ul {\n\tpadding: 0;\n}\n.user-list-container ul li {\n\tpadding: 2px 4px; \n}\n.user-list-container ul li:hover {\n\tborder-bottom:1px solid lightgrey;\n}\n.user-list-icons {\n\tdisplay: none;\n}\n.user-list li:hover .user-list-icons {\n\tdisplay: inline-block \n}\n\n.list-title {\n\tcolor: #02395A\n}\n\n/* table */\ntable {\n\tborder-collapse: collapse;\n\tborder-spacing: 0\n}\nthead tr {\n\tbackground-color: white;\n}\nthead tr th {\n\tcolor: dimgray;\n\tpadding: 0;\n}\ntd {\n\tpadding: 4px 5px !important;\n}\n\n.table-label {\n\tborder-bottom: 1px solid gainsboro;\n\tpadding: 4px 12px;\n\tmargin-bottom:5px;\n\tcolor: #02395A;\n}\n\n.frequency-row {\n\theight: 36px !important;\n\tcolor: dimgray;\n\tbackground-color: whitesmoke;\n\tpadding: 0 !important;\n\tvertical-align: top;\n\tbox-sizing: border-box;\n}\n/* misc */\n/* \n\tmr = margin right\n\tmb = margin bottom\n\tmlr = margin left right \n\tplr = padding left right \n*/\n\n.trow { background: white; \n border-radius: 5px;}\n.trow:nth-child(even) { background: whitesmoke; }\n\n.m0 {\n\tmargin: 0;\n}\n.mt10 {\n\tmargin-top: 10px;\n}\n.mr10 {\n\tmargin-right: 10px;\n}\n.mb10 {\n\tmargin-bottom: 10px;\n}\n.mb20 {\n\tmargin-bottom: 20px;\n}\n.mlr10 {\n\tmargin-left: 10px;\n\tmargin-right: 10px;\n}\n.p0 {\n\tpadding: 0\n}\n.pl10 {\n\tpadding-left: 10px;\n}\n.plr10 {\n\tpadding-left: 10px;\n\tpadding-right: 10px;\n}\n.plr5 {\n\tpadding-left: 5px;\n\tpadding-right: 5px;\n}\n.qty-bold {\n\t-webkit-text-decoration: bold;\n\t text-decoration: bold;\n\tfont-size: 17px;\n}\n\n.background {\n\tbackground-color: #fafafa;\n\twidth:100%\n}\n\n.edit {\n position:relative;\n top:-20px;\n left:350px;\n font-size:16px;\n color:black;\n}",""]),j.exports=b.toString()},5831:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".dateClicked {\n background-color: #357ebd !important;\n color: white !important;\n}\n\n.clickable.disabled {\n pointer-events: none;\n color: #AAA;\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.select-dropdown select {\n width: 100%;\n position: absolute;\n left: 10px;\n top: 3px;\n cursor: pointer;\n right: 0;\n background-color: transparent;\n border: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n font-weight: 600;\n}",""]),j.exports=b.toString()},752:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,'.daterangepicker-wrapper {\n position: relative;\n border: none;\n}\n\n.daterangepicker {\n font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;\n font-size: 12px;\n position: absolute;\n top: 44px;\n background: #fff;\n z-index: 3000;\n border-radius: 4px;\n box-shadow: 0px 2px 2px 2px #ddd;\n border: 1px solid #aaa;\n padding: 10px;\n}\n\n.daterangepicker.open-right {\n right: 0;\n}\n\n.daterangepicker.open-left {\n left: 0;\n}\n\n.daterangepicker.open-center {\n right: -50%;\n}\n\n.daterangepicker.tooltip-chevron:before {\n content: \'\';\n height: 0px;\n width: 0px;\n border: 10px solid transparent;\n position: absolute;\n border-bottom-color: #aaa;\n top: -20px;\n}\n\n.daterangepicker.tooltip-chevron:after {\n content: \'\';\n height: 0px;\n width: 0px;\n border: 9px solid transparent;\n position: absolute;\n border-bottom-color: #fff;\n top: -18px;\n}\n\n.daterangepicker.open-left.tooltip-chevron:before {\n left: 10px;\n}\n\n.daterangepicker.open-left.tooltip-chevron:after {\n left: 11px;\n}\n\n.daterangepicker.open-right.tooltip-chevron:before {\n right: 10px;\n}\n\n.daterangepicker.open-right.tooltip-chevron:after {\n right: 11px;\n}\n\n.daterangepicker.open-center.tooltip-chevron:before {\n left: 50%\n}\n\n.daterangepicker.open-center.tooltip-chevron:after {\n left: 50%;\n}\n\n@media (min-width: 550px) {\n .daterangepicker {\n width: 550px;\n }\n}\n\n@media (max-width: 550px) {\n .daterangepicker {\n width: 270px;\n }\n .text-center .pull-right {\n float: none !important;\n }\n .col-md-6 {\n width: 100% !important;\n }\n .col-md-10 {\n width: 100% !important;\n }\n .ranges>div {\n display: none;\n }\n}\n\n.daterangepicker.singledatepicker {\n width: 300px;\n}\n\n.daterangepicker div[class*="col-md-"],\n.daterangepicker span[class*="col-md-"] {\n padding: 0 15px 0 5px;\n}\n\n.hidden {\n display: none !important;\n visibility: false !important;\n}\n\n.daterangepicker .calendar {\n margin: 4px;\n float: left;\n border-radius: 4px !important;\n padding: 0 5px 0 5px;\n}\n\n.applyBtn {\n margin: 4px;\n}\n\n.daterangepicker .flush {\n padding: 0 !important;\n margin: 0 !important;\n}\n\n.daterangepicker .flussh {\n padding: 0 !important;\n}\n\n.daterangepicker .flush-bottom {\n padding-bottom: 0 !important;\n}\n\n.daterangepicker .flush-left {\n padding-left: 0 !important;\n}\n\n.daterangepicker .flush-right {\n padding-right: 0 !important;\n}\n\n.daterangepicker .nudge-half--left {\n padding-left: 4px !important;\n}\n\n.daterangepicker .nudge-half--right {\n padding-right: 4px !important;\n}\n\n.daterangepicker .nudge-top {\n top: 5px;\n}\n\n.daterangepicker .push-bottom {\n margin-bottom: 10px;\n}\n\n.daterangepicker th {\n margin: 1px !important;\n padding: 1px !important;\n text-align: center;\n border-radius: 4px !important;\n}\n\n.daterangepicker td {\n font-size: 14px;\n height: 20px;\n width: 20px;\n text-align: center;\n margin: 1px !important;\n padding: 3px !important;\n border-radius: 4px !important;\n white-space: nowrap;\n text-align: center;\n}\n\n.daterangepicker .btn.btn-flat {\n border: none;\n background: transparent;\n margin: 3px !important;\n padding: 1px !important;\n}\n\n.daterangepicker .off {\n color: #666;\n opacity: 0.7;\n}\n\n.daterangepicker table {\n border-spacing: 0;\n border-collapse: collapse;\n}\n\n.daterangepicker td,\n.daterangepicker th {\n padding: 0;\n}\n\n.daterangepicker .clickable {\n cursor: pointer;\n}\n\n.daterangepicker .clickable-link {\n color: #337ab7;\n}\n\n.daterangepicker .clickable.disabled {\n pointer-events: none;\n color: #AAA;\n opacity: 0.5;\n cursor: not-allowed;\n}\n\n.ranges {\n padding: 5px 0;\n}\n\n.ranges .clickable {\n margin-top: 8px !important;\n}\n\n.daterangepicker label {\n display: inline-block;\n max-width: 100%;\n margin-bottom: 5px;\n font-weight: bold;\n}\n\n.daterangepicker .form-control {\n margin: 5px;\n}\n\n.daterangepicker .bootstrap-flush {\n margin: 0 !important;\n padding: 0 !important;\n}\n\n.daterangepicker .time-picker span {\n padding-left: 4px;\n padding-right: 4px;\n}\n\n.daterangepicker .time-picker .time-breadcrumb {\n position: relative;\n top: 22px;\n font-weight: bolder;\n font-size: 0.8em;\n}\n\n.daterangepicker .col-md-1,\n.daterangepicker .col-md-2,\n.daterangepicker .col-md-3,\n.daterangepicker .col-md-4,\n.daterangepicker .col-md-5,\n.daterangepicker .col-md-6,\n.daterangepicker .col-md-7,\n.daterangepicker .col-md-8,\n.daterangepicker .col-md-9,\n.daterangepicker .col-md-10,\n.daterangepicker .col-md-11,\n.daterangepicker .col-md-12 {\n position: relative;\n float: left;\n}\n\n.daterangepicker .col-md-12 {\n width: 100%;\n}\n\n.daterangepicker .col-md-11 {\n width: 91.66666667%;\n}\n\n.daterangepicker .col-md-10 {\n width: 83.33333333%;\n}\n\n.daterangepicker .col-md-9 {\n width: 75%;\n}\n\n.daterangepicker .col-md-8 {\n width: 66.66666667%;\n}\n\n.daterangepicker .col-md-7 {\n width: 58.33333333%;\n}\n\n.daterangepicker .col-md-6 {\n width: 50%;\n}\n\n.daterangepicker .col-md-5 {\n width: 41.66666667%;\n}\n\n.daterangepicker .col-md-4 {\n width: 33.33333333%;\n}\n\n.daterangepicker .col-md-3 {\n width: 25%;\n}\n\n.daterangepicker .col-md-2 {\n width: 16.66666667%;\n}\n\n.daterangepicker .col-md-1 {\n width: 8.33333333%;\n}\n\n.daterangepicker .col-md-offset-4 {\n margin-left: 33.333333333%;\n}\n\n.daterangepicker table {\n background-color: transparent;\n}\n\n.daterangepicker .table {\n width: 100%;\n max-width: 100%;\n margin-bottom: 20px;\n}\n\n.daterangepicker .table>thead>tr>th,\n.daterangepicker .table>tbody>tr>th,\n.daterangepicker .table>tfoot>tr>th,\n.daterangepicker .table>thead>tr>td,\n.daterangepicker .table>tbody>tr>td,\n.daterangepicker .table>tfoot>tr>td {\n padding: 8px;\n line-height: 1.42857143;\n vertical-align: top;\n border-top: 1px solid #ddd;\n}\n\n.daterangepicker .table>thead>tr>th {\n vertical-align: bottom;\n border-bottom: 2px solid #ddd;\n}\n\n.daterangepicker .table>caption+thead>tr:first-child>th,\n.daterangepicker .table>colgroup+thead>tr:first-child>th,\n.daterangepicker .table>thead:first-child>tr:first-child>th,\n.daterangepicker .table>caption+thead>tr:first-child>td,\n.daterangepicker .table>colgroup+thead>tr:first-child>td,\n.daterangepicker .table>thead:first-child>tr:first-child>td {\n border-top: 0;\n}\n\n.daterangepicker .table>tbody+tbody {\n border-top: 2px solid #ddd;\n}\n\n.daterangepicker .table .table {\n background-color: #fff;\n}\n\n.daterangepicker .table-condensed>thead>tr>th,\n.daterangepicker .table-condensed>tbody>tr>th,\n.daterangepicker .table-condensed>tfoot>tr>th,\n.daterangepicker .table-condensed>thead>tr>td,\n.daterangepicker .table-condensed>tbody>tr>td,\n.daterangepicker .table-condensed>tfoot>tr>td {\n padding: 5px;\n}\n\n.daterangepicker .table-bordered {\n border: 1px solid #ddd;\n}\n\n.daterangepicker .table-bordered>thead>tr>th,\n.daterangepicker .table-bordered>tbody>tr>th,\n.daterangepicker .table-bordered>tfoot>tr>th,\n.daterangepicker .table-bordered>thead>tr>td,\n.daterangepicker .table-bordered>tbody>tr>td,\n.daterangepicker .table-bordered>tfoot>tr>td {\n border: 1px solid #ddd;\n}\n\n.daterangepicker .table-bordered>thead>tr>th,\n.daterangepicker .table-bordered>thead>tr>td {\n border-bottom-width: 2px;\n}\n\n.daterangepicker .table>thead>tr>td.active,\n.daterangepicker .table>tbody>tr>td.active,\n.daterangepicker .table>tfoot>tr>td.active,\n.daterangepicker .table>thead>tr>th.active,\n.daterangepicker .table>tbody>tr>th.active,\n.daterangepicker .table>tfoot>tr>th.active,\n.daterangepicker .table>thead>tr.active>td,\n.daterangepicker .table>tbody>tr.active>td,\n.daterangepicker .table>tfoot>tr.active>td,\n.daterangepicker .table>thead>tr.active>th,\n.daterangepicker .table>tbody>tr.active>th,\n.daterangepicker .table>tfoot>tr.active>th {\n background-color: #357ebd !important;\n}\n\n.daterangepicker .table-hover>tbody>tr>td.active:hover,\n.daterangepicker .table-hover>tbody>tr>th.active:hover,\n.daterangepicker .table-hover>tbody>tr.active:hover>td,\n.daterangepicker .table-hover>tbody>tr:hover>.active,\n.daterangepicker .table-hover>tbody>tr.active:hover>th {\n background-color: #f0f0f0;\n}\n\n.daterangepicker .table>tbody>tr>td.active.dateClicked {\n background-color: #357ebd !important;\n}\n\n.daterangepicker .table>thead>tr>td.info,\n.daterangepicker .table>tbody>tr>td.info,\n.daterangepicker .table>tfoot>tr>td.info,\n.daterangepicker .table>thead>tr>th.info,\n.daterangepicker .table>tbody>tr>th.info,\n.daterangepicker .table>tfoot>tr>th.info,\n.daterangepicker .table>thead>tr.info>td,\n.daterangepicker .table>tbody>tr.info>td,\n.daterangepicker .table>tfoot>tr.info>td,\n.daterangepicker .table>thead>tr.info>th,\n.daterangepicker .table>tbody>tr.info>th,\n.daterangepicker .table>tfoot>tr.info>th {\n background-color: #d9edf7;\n}\n\n.daterangepicker .table-hover>tbody>tr>td.info:hover,\n.daterangepicker .table-hover>tbody>tr>th.info:hover,\n.daterangepicker .table-hover>tbody>tr.info:hover>td,\n.daterangepicker .table-hover>tbody>tr:hover>.info,\n.daterangepicker .table-hover>tbody>tr.info:hover>th {\n background-color: #c4e3f3;\n}\n\n.daterangepicker .form-control {\n display: block;\n width: 100%;\n height: 34px;\n padding: 6px 12px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555;\n background-color: #fff;\n background-image: none;\n border: 1px solid #ccc;\n border-radius: 4px;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n}\n\n.daterangepicker .form-control:focus {\n border-color: #66afe9;\n outline: 0;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);\n}\n\n.daterangepicker .form-control::-moz-placeholder {\n color: #999;\n opacity: 1;\n}\n\n.daterangepicker .form-control:-ms-input-placeholder {\n color: #999;\n}\n\n.daterangepicker .form-control::-webkit-input-placeholder {\n color: #999;\n}\n\n.daterangepicker .form-control[disabled],\n.daterangepicker .form-control[readonly],\nfieldset[disabled] .form-control {\n background-color: #eee;\n opacity: 1;\n}\n\n.daterangepicker .form-control[disabled],\nfieldset[disabled] .form-control {\n cursor: not-allowed;\n}\n\n.daterangepicker .btn {\n display: inline-block;\n margin-bottom: 0;\n font-size: 14px;\n font-weight: normal;\n line-height: 1.42857143;\n text-align: center;\n white-space: nowrap;\n vertical-align: middle;\n touch-action: manipulation;\n cursor: pointer;\n -webkit-user-select: none;\n user-select: none;\n background-image: none;\n border: 1px solid transparent;\n border-radius: 4px;\n}\n\n.daterangepicker .btn:focus,\n.daterangepicker .btn:active:focus,\n.daterangepicker .btn.active:focus,\n.daterangepicker .btn.focus,\n.daterangepicker .btn:active.focus,\n.daterangepicker .btn.active.focus {\n outline: thin dotted;\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: -2px;\n}\n\n.daterangepicker .btn:hover,\n.daterangepicker .btn:focus,\n.daterangepicker .btn.focus {\n color: #333;\n text-decoration: none;\n}\n\n.daterangepicker .btn:active,\n.daterangepicker .btn.active {\n background-image: none;\n outline: 0;\n box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);\n}\n\n.daterangepicker .btn.disabled,\n.daterangepicker .btn[disabled],\nfieldset[disabled] .btn {\n pointer-events: none;\n cursor: not-allowed;\n filter: alpha(opacity=65);\n box-shadow: none;\n opacity: .65;\n}\n\n.daterangepicker .btn-default {\n color: #333;\n background-color: #fff;\n border-color: #ccc;\n}\n\n.daterangepicker .btn-default:hover,\n.daterangepicker .btn-default:focus,\n.daterangepicker .btn-default.focus,\n.daterangepicker .btn-default:active,\n.daterangepicker .btn-default.active,\n.daterangepicker .open>.dropdown-toggle.btn-default {\n color: #333;\n background-color: #e6e6e6;\n border-color: #adadad;\n}\n\n.daterangepicker .btn-default:active,\n.daterangepicker .btn-default.active,\n.daterangepicker .open>.dropdown-toggle.btn-default {\n background-image: none;\n}\n\n.daterangepicker .btn-default.disabled,\n.daterangepicker .btn-default[disabled],\n.daterangepicker fieldset[disabled] .btn-default,\n.daterangepicker .btn-default.disabled:hover,\n.daterangepicker .btn-default[disabled]:hover,\n.daterangepicker fieldset[disabled] .btn-default:hover,\n.daterangepicker .btn-default.disabled:focus,\n.daterangepicker .btn-default[disabled]:focus,\n.daterangepicker fieldset[disabled] .btn-default:focus,\n.daterangepicker .btn-default.disabled.focus,\n.daterangepicker .btn-default[disabled].focus,\n.daterangepicker fieldset[disabled] .btn-default.focus,\n.daterangepicker .btn-default.disabled:active,\n.daterangepicker .btn-default[disabled]:active,\n.daterangepicker fieldset[disabled] .btn-default:active,\n.daterangepicker .btn-default.disabled.active,\n.daterangepicker .btn-default[disabled].active,\n.daterangepicker fieldset[disabled] .btn-default.active {\n background-color: #fff;\n border-color: #ccc;\n}\n\n.daterangepicker .btn-default .badge {\n color: #fff;\n background-color: #333;\n}\n\n.daterangepicker .btn-success {\n color: #fff;\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n\n.daterangepicker .btn-success:hover,\n.daterangepicker .btn-success:focus,\n.daterangepicker .btn-success.focus,\n.daterangepicker .btn-success:active,\n.daterangepicker .btn-success.active,\n.daterangepicker .open>.dropdown-toggle.btn-success {\n color: #fff;\n background-color: #449d44;\n border-color: #398439;\n}\n\n.daterangepicker .btn-success:active,\n.daterangepicker .btn-success.active,\n.daterangepicker .open>.dropdown-toggle.btn-success {\n background-image: none;\n}\n\n.daterangepicker .btn-success.disabled,\n.daterangepicker .btn-success[disabled],\n.daterangepicker fieldset[disabled] .btn-success,\n.daterangepicker .btn-success.disabled:hover,\n.daterangepicker .btn-success[disabled]:hover,\n.daterangepicker fieldset[disabled] .btn-success:hover,\n.daterangepicker .btn-success.disabled:focus,\n.daterangepicker .btn-success[disabled]:focus,\n.daterangepicker fieldset[disabled] .btn-success:focus,\n.daterangepicker .btn-success.disabled.focus,\n.daterangepicker .btn-success[disabled].focus,\n.daterangepicker fieldset[disabled] .btn-success.focus,\n.daterangepicker .btn-success.disabled:active,\n.daterangepicker .btn-success[disabled]:active,\n.daterangepicker fieldset[disabled] .btn-success:active,\n.daterangepicker .btn-success.disabled.active,\n.daterangepicker .btn-success[disabled].active,\n.daterangepicker fieldset[disabled] .btn-success.active {\n background-color: #5cb85c;\n border-color: #4cae4c;\n}\n\n.daterangepicker .btn-success .badge {\n color: #5cb85c;\n background-color: #fff;\n}\n\n.daterangepicker .btn {\n outline: none;\n}\n\n.dateRangePicker-input {\n border: none;\n border-bottom: 1px solid #3276b1;\n}\n\n.select-dropdown {\n height: 30px;\n background-color: #fff;\n width: 120px;\n position: relative;\n}\n\n.select-dropdown select {\n width: 100%;\n position: absolute;\n left: 13px;\n cursor: pointer;\n right: 0;\n background-color: transparent;\n border: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n z-index: 2;\n color: grey;\n}\n\ni {\n position: absolute;\n right: 3px;\n top: 9px;\n z-index: 1;\n font-size: 15px;\n}',""]),j.exports=b.toString()},7062:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".ue-dropdown {\n display: inline-block;\n position: relative;\n vertical-align: middle;\n}\n\n.ue-dropdown .ue-dropdown-item-empty {\n text-indent: -9999px; \n}\n\n.ue-dropdown .ue-dropdown-panel {\n min-width: 100%;\n}\n\n.ue-dropdown-panel {\n position: absolute;\n height: auto;\n\tbackground-color: white;\n\tbackground-clip: padding-box;\n\tpadding: 4px;\n\tmargin-top: 2px;\n\tborder: 1px solid rgba(0,0,0,.15);\n\tborder-radius: 2px;\n\tbox-shadow: 0 6px 12px rgba(0,0,0,.175);\n\t-webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);\n}\n\n.ue-dropdown-panel.pull-right {\n\tright: 0;\n\tleft: auto;\n}\n.ue-dropdown-panel .ue-dropdown-items-wrapper {\n overflow: auto;\n}\n\n.ue-dropdown-panel .ue-dropdown-item {\n font-weight: normal;\n border: 0 none;\n cursor: pointer;\n text-align: left;\n\tborder-radius: 4px;\n}\n\n.ue-dropdown-item>span {\n margin: 3px 0;\n\tdisplay: block;\n\tpadding: 3px 20px;\n\tclear: both;\n\tfont-weight: 400;\n\tline-height: 1.42857143;\n\twhite-space: nowrap;\n}\n\n.ue-dropdown-item:hover {\n\tcolor: #fff;\n\tbackground-color: #3276b1;\n}\n\n.ue-dropdown-panel .ue-dropdown-list {\n padding-left: 0;\n border: 0 none;\n\tmargin: 0;\n}",""]),j.exports=b.toString()},642:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"div.error {\n\tcolor: #737373 !important;\n\tfont-size: 14px !important;\n\tfont-weight: 400 !important;\n}\n\ndiv.warningMessage {\n\tcolor: #737373 !important;\n\tfont-size: 14px !important;\n\tfont-weight: 400 !important;\n}\n\n.float-label-control.warning ::ng-deep input{\n\tbackground-color: #ffeab4;\n\tborder-color: orange;\n}\n\n.float-label-control.confirmed ::ng-deep input{\n\tbackground-color: #CCFFCC;\n\tborder-color: #ccc;\n}\n\n.labelCursor {\n\tcursor: text;\n}",""]),j.exports=b.toString()},4020:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".ng-float-label-control {\n\theight: 43px;\n\tbackground-color: #fff;\n\tborder: 1px solid #cdcdcd;\n\tborder-radius: 5px;\n margin-bottom: 1.5em;\n\tposition: relative;\n}\n\nselect {\n\twidth: 100%;\n\tbackground-color: transparent;\n\tborder: none;\n\tpadding: 21px 10px 6px;\n\tmargin: 0;\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n}\n\nselect.empty {\n\tpadding: 13px 10px 13px;\n\tcolor: #42779d;\n}\n\nlabel {\n\tposition: absolute;\n font-weight: normal;\n opacity: 1;\n top: 2px;\n left: 12px;\n\tcolor: #3c7299;\n font-size: 0.85em;\n transition: 0.5s all ease;\n -webkit-transition: 0.5s all ease;\n}\n\nlabel.empty {\n\topacity: 0 !important;\n top: 20px;\n left: 12px;\n animation: none;\n -webkit-animation: none;\n}\n\n.ng-float-label-control.error {\n\tcolor: #737373 !important;\n\tfont-size: 14px !important;\n\tfont-weight: 400 !important;\n\tmargin-bottom: 40px;\n\tbackground-color: #fff0f0 !important;\n\tborder-color: #A90329;\n}\n\n.disabled div, select {\n\tcolor: black;\n}\n\nspan.icon {\n\tposition: absolute;\n top: 25%;\n right: 3%;\n color: #3c7299;\n font-size: 1.1em;\n}\n",""]),j.exports=b.toString()},8234:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"span.error {\n\tcolor: #737373 !important;\n\tfont-size: 14px !important;\n\tfont-weight: 400 !important;\n}\n\ninput.disabled {\n\tcolor: black;\n\tbackground-color: #dddddd;\n}\n\n",""]),j.exports=b.toString()},7206:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"textarea {\n\tborder-radius: 5px !important;\n}\n\nspan.error {\n\tcolor: #737373 !important;\n\tfont-size: 14px !important;\n\tfont-weight: 400 !important;\n}\n\n.disabled {\n\tcolor: black;\n\tbackground-color: #dddddd;\n}\n\n.max-width-100 textarea {\n\tmax-width: 100%;\n}",""]),j.exports=b.toString()},9350:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"#fontIcon{\n font-size:35px !important;\n margin:5px !important;\n}",""]),j.exports=b.toString()},1682:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".loading-message {\n padding-top: 150px;\n}\n\n.app-loading {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 100%;\n}\n\n.app-loading .spinner {\n height: 100px;\n width: 100px;\n animation: rotate 2s linear infinite;\n transform-origin: center center;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: auto;\n}\n\n.app-loading .spinner .path {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n animation: dash 1.5s ease-in-out infinite;\n stroke-linecap: round;\n stroke: #ddd;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35px;\n }\n 100% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -124px;\n }\n}\n\n/* Might need to use this if error */\n/* .cover {\n position:fixed;\n padding:0;\n margin:0;\n top:0;\n left:0;\n z-index:100 !important;\n width: 100%;\n height: 100%;\n background:rgba(255,255,255,0.5);\n} */\n\n.tabCover {\n position:absolute;\n /* padding-top:100px; */\n margin:0;\n left:0;\n z-index:100 !important;\n width: 100%;\n height: 60%;\n background-color:white !important;\n /* background:rgba(255,255,255,0.5); */\n}\n@keyframes spin {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n}\n",""]),j.exports=b.toString()},7046:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".multiCode-input {\n\tdisplay: flex;\n\tjustify-content: space-around;\n}\n.multiCode-input input{\n max-width: 47px;\n min-height: 50px;\n border-radius: 10px;\n box-shadow: none;\n border: 1px solid var(--dgrey);\n\tfont-size: 18px;\n\ttext-align: center;\n}\n.multiCode-input input.active {\n\tcolor: var(--blue);\n\tborder: 1px solid var(--blue);\n}\n",""]),j.exports=b.toString()},4216:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"",""]),j.exports=b.toString()},6084:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".nav-item-child-indent {\n\tpadding: 6px 17px 6px 43px !important;\n}\n\n.nav-item-child-hide {\n\tdisplay: block; \n\toverflow: hidden;\n}\n\n.um {\n\tfont-size: 8px;\n}",""]),j.exports=b.toString()},3336:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"",""]),j.exports=b.toString()},8672:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"",""]),j.exports=b.toString()},5366:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".modal-backdrop {\n\tz-index: 1100;\n}\n\n.modal {\n\tz-index: 1200;\n}\n\n.hide_element {\n\tdisplay: none\n}\n\n.closed_status {\n\tmax-height: 0;\n\ttransition: max-height .7s ease-in-out;\n\ttransition-delay: 1s;\n\toverflow: hidden;\n}\n\n.closed_status.slidedown {\n\tmax-height: 200px;\n}\n\n.progress_chart {\n\tanimation: fadein .5s;\n\t-webkit-animation: fadein .5s;\n\t-moz-animation: fadein .5s;\n}\n\n.fadeOut {\n\topacity: 0 !important;\n\ttransition: opacity .5s ease;\n}\n\n@keyframes fadein {\n\tfrom {opacity: 0;}\n\tto {opacity: 1;}\n}\n",""]),j.exports=b.toString()},614:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".table-filter {\n\tdisplay: inline-block;\n\tposition: relative;\n}\n\n.filterInput {\n\twidth: 0px;\n\tdisplay: inline-block;\n\ttransition: width 1s;\n\t-webkit-transition: width 1s;\n\theight: 32px;\n margin-right: -6px;\n\toverflow: hidden;\n\tvertical-align: bottom;\n}\n\n.open {\n\twidth: 250px;\n}\n\n.width13 {\n\twidth: 13px;\n}\n\n@media screen and (max-width: 430px) {\n\t.open {\n\t\twidth: 140px;\n\t}\n}",""]),j.exports=b.toString()},7859:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"",""]),j.exports=b.toString()},4946:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"table.dataTable {\n\tborder-bottom: 0px;\n}\n.wrapper {\n height: 100%;\n overflow: visible;\n}",""]),j.exports=b.toString()},9126:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,'/* time library */\n\n.timeDiv {\n\twidth:60px;\n\t\n}\n.timepicker {\n\twidth:180px;\n}\n.timeClass{\n\twidth: 55px;\n\tfloat:left;\n}\n.colonDiv{\n\twidth:2px;\n\tfloat:left;\n\tmargin-top: 22px;\n font-size: 22px;\n\tpadding-left: 4px;\n}\n.pointer {\n\tfont-size:16px;\n\tcolor:#3c7299;\n}\n.timeInput {\n\twidth: 30px !important;\n border-radius: 5px;\n text-align: center; \n}\n\n\n/* The container
    - needed to position the dropdown content */\n.dropdown {\n position: relative;\n display: inline-block;\n}\n\n/* Dropdown Content (Hidden by Default) */\n.dropdown-content {\n display: block;\n position: absolute;\n background-color: white;\n\tmin-width: 180px;\n\theight: 100px;\n\tborder-radius: 4px;\n\tborder: 0.5px solid lightgrey;\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n z-index: 100;\n}\n\n/* Links inside the dropdown */\n.dropdown-content a {\n color: black;\n padding: 12px 16px;\n text-decoration: none;\n display: block;\n}\n\n/* Change color of dropdown links on hover */\n.dropdown-content a:hover {background-color: #ddd}\n\n/* Show the dropdown menu on hover */\n.dropdown:hover .dropdown-content {\n display: block;\n}\n\n/* Change the background color of the dropdown button when the dropdown content is shown */\n.dropdown:hover .dropbtn {\n background-color: #3e8e41;\n}\n\n\n.arrow_box {\n\tposition: relative;\n\tbackground: white;\n}\n\n.arrow_box:after, .arrow_box:before {\n\tbottom: 100%;\n\tleft: 50%;\n\tborder: 0.5px solid lightgrey;\n\tcontent: " ";\n\theight: 0;\n\twidth: 0;\n\tposition: absolute;\n\tpointer-events: none;\n}\n\n.arrow_box:after {\n\tborder-color: rgba(0, 0, 0, 0);\n\tborder-bottom-color: white;\n\tborder-width: 10px;\n\tmargin-left: -10px;\n}\n.arrow_box:before {\n\tborder-color: rgba(245, 245, 245, 0);\n\tborder-bottom-color: #f5f5f5;\n\tborder-width: 16px;\n\tmargin-left: -16px;\n}',""]),j.exports=b.toString()},9644:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"",""]),j.exports=b.toString()},4534:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".highlight {\n\tbackground-color: #006DBB !important;\n\tcolor: white;\n}\n\n.add-custom-li {\n\tbackground: #073A59;\n\tcolor: #fff;\n\tborder-bottom-left-radius: 6px;\n\tborder-bottom-right-radius: 6px;\n}\n\n.suggestions {\n\tposition: absolute;\n\tbackground-color: #fff;\n\tborder: 1px solid rgba(0, 0, 0, 0.2);\n\tborder-radius: 6px;\n\tz-index: 904;\n\tbox-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n\tfont-size: 1.1em;\n\tleft: 0;\n\tright: 0;\n\tmargin-left: 12px;\n\tmargin-right: 12px;\n\toverflow: scroll;\n\tmax-height: 300px;\n}\n\n.no_border_style {\n\tbackground-color: transparent;\n\tborder: none;\n\tpadding: 0;\n\tfont-weight: 100;\n\tcursor: text;\n}\n\nul {\n\tpadding-left: 0px;\n\tmargin-bottom: 0px;\n}\n\nul li {\n\tpadding: 5px 10px;\n}\n\n.error-border-bottom {\n\tborder-bottom: 1px solid #b94a48;\n\tbackground-color: #FFF9CB;\n}\n\n.hasLabel {\n\tmargin-top: -16px;\n}\n\n.cancel-button {\n\tposition: absolute;\n\ttop: 10px;\n\tright: 3em;\n\ttransition: all .2s ease-in;\n\t-webkit-transition: all .2s ease-in;\n}\n\n.invoice-options-input {\n\tborder-radius: 5px !important;\n}\n\ndiv.invoice-options-select > input {\n\tborder-radius: 0 5px 5px 0 !important;\n}\n\ndiv.invoice-options-select > span {\n\tborder-radius: 5px 0 0 5px !important;\n}\n.no_border_style_invoice {\n\tbackground-color: transparent;\n\tborder: none;\n\tpadding: 0;\n\tfont-weight: 100;\n\tcursor: text;\n}\n.no_border_style_invoice:hover {\n\tborder-bottom: 1px solid #3276b1;\n}\n.ng-float-label {\n\twidth: 100%;\n\tbackground-color: transparent;\n\tborder: none;\n\tpadding: 21px 10px 6px;\n\tmargin: 0;\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n}\n.ng-float-label-empty {\n\tpadding: 13px 10px 13px;\n\tcolor: #42779d;\n} \n.ue-float-match {\n\theight: 43px;\n\twidth: 100%;\n\tborder-radius: 5px;\n\tborder: 1px solid #cdcdcd;\n\tpadding-left: 10px;\n\tcolor: #3b729e;\n}\n\n.suggestionItem {\n\tmargin: 5px 10px 5px 30px;\n}\n\n.suggestionHeader {\n\tmargin: 5px 10px;\n\tfont-weight: 700;\n\t-webkit-user-select: none;\n\tuser-select: none;\n\tcursor: not-allowed;\n}",""]),j.exports=b.toString()},9276:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"",""]),j.exports=b.toString()},3134:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".highlight {\n\tbackground-color: #006DBB !important;\n\tcolor: white;\n}\n\n.add-custom-li {\n\tbackground: #073A59;\n\tcolor: #fff;\n\tborder-bottom-left-radius: 6px;\n\tborder-bottom-right-radius: 6px;\n}\n\n.suggestions {\n\tposition: absolute;\n\tbackground-color: #fff;\n\tborder: 1px solid rgba(0, 0, 0, 0.2);\n\tborder-radius: 6px;\n\tz-index: 904;\n box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);\n font-size: 1.1em;\n left: 0;\n right: 0;\n margin-left: 12px;\n margin-right: 12px;\n}\n\n.no_border_style {\n background-color: transparent;\n border: none;\n padding: 0;\n font-weight: 100;\n cursor: text;\n}\n\nul {\n\tpadding-left: 0px;\n\tmargin-bottom: 0px;\n}\n\nul li {\n padding: 5px 10px;\n}\n\n.error-border-bottom {\n\tborder-bottom: 1px solid #b94a48;\n\tbackground-color: #FFF9CB;\n}\n\n.hasLabel {\n\tmargin-top: -16px;\n}\n\n.cancel-button {\n\tposition: absolute;\n\ttop: 10px;\n\tright: 3em;\n\ttransition: all .2s ease-in;\n\t-webkit-transition: all .2s ease-in;\n}\n\n.invoice-options-input {\n\tborder-radius: 5px !important;\n}\n\ndiv.invoice-options-select > input {\n\tborder-radius: 0 5px 5px 0 !important;\n}\n\ndiv.invoice-options-select > span {\n\tborder-radius: 5px 0 0 5px !important;\n}\n.no_border_style_invoice {\n background-color: transparent;\n border: none;\n padding: 0;\n font-weight: 100;\n cursor: text;\n}\n.no_border_style_invoice:hover {\n\tborder-bottom: 1px solid #3276b1;\n}\n.ng-float-label {\n\twidth: 100%;\n\tbackground-color: transparent;\n\tborder: none;\n\tpadding: 21px 10px 6px;\n\tmargin: 0;\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n}\n.ng-float-label-empty {\n\tpadding: 13px 10px 13px;\n\tcolor: #42779d;\n} \n.ue-float-match {\n\theight: 43px;\n width: 100%;\n border-radius: 5px;\n border: 1px solid #cdcdcd;\n padding-left: 10px;\n color: #3b729e;\n}",""]),j.exports=b.toString()},5538:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".static-label {\n\tcolor: #3c7299; \n\tmargin-bottom: 0;\n}\n\n.expired {\n\tcolor: darkred;\n}\n\ninput:checked ~ span {\n font-weight: bold;\n}\n\ninput:disabled ~ span {\n color: lightgrey;\n}",""]),j.exports=b.toString()},3158:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".expired {\n\tcolor: darkred;\n}",""]),j.exports=b.toString()},1010:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,".text-right {\n\ttext-align: right;\n}\n\n.static-label {\n\tcolor: #3c7299; \n\tmargin-bottom: 0;\n}\n\ninput:checked ~ span {\n font-weight: bold;\n}\n\ninput:disabled ~ span {\n color: lightgrey;\n}",""]),j.exports=b.toString()},9010:(j,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([j.id,"",""]),j.exports=b.toString()},5358:(j,H,x)=>{var E={"./af":1544,"./af.js":1544,"./ar":3108,"./ar-dz":2155,"./ar-dz.js":2155,"./ar-kw":3583,"./ar-kw.js":3583,"./ar-ly":1638,"./ar-ly.js":1638,"./ar-ma":7823,"./ar-ma.js":7823,"./ar-sa":8261,"./ar-sa.js":8261,"./ar-tn":6703,"./ar-tn.js":6703,"./ar.js":3108,"./az":6508,"./az.js":6508,"./be":6766,"./be.js":6766,"./bg":6183,"./bg.js":6183,"./bm":7462,"./bm.js":7462,"./bn":7107,"./bn-bd":3438,"./bn-bd.js":3438,"./bn.js":7107,"./bo":9004,"./bo.js":9004,"./br":927,"./br.js":927,"./bs":7768,"./bs.js":7768,"./ca":6291,"./ca.js":6291,"./cs":5301,"./cs.js":5301,"./cv":6666,"./cv.js":6666,"./cy":5163,"./cy.js":5163,"./da":7360,"./da.js":7360,"./de":5932,"./de-at":3248,"./de-at.js":3248,"./de-ch":3222,"./de-ch.js":3222,"./de.js":5932,"./dv":6405,"./dv.js":6405,"./el":718,"./el.js":718,"./en-au":6319,"./en-au.js":6319,"./en-ca":597,"./en-ca.js":597,"./en-gb":1800,"./en-gb.js":1800,"./en-ie":807,"./en-ie.js":807,"./en-il":5960,"./en-il.js":5960,"./en-in":4418,"./en-in.js":4418,"./en-nz":6865,"./en-nz.js":6865,"./en-sg":2647,"./en-sg.js":2647,"./eo":1931,"./eo.js":1931,"./es":6679,"./es-do":1805,"./es-do.js":1805,"./es-mx":3445,"./es-mx.js":3445,"./es-us":1516,"./es-us.js":1516,"./es.js":6679,"./et":8150,"./et.js":8150,"./eu":757,"./eu.js":757,"./fa":5742,"./fa.js":5742,"./fi":3958,"./fi.js":3958,"./fil":6720,"./fil.js":6720,"./fo":8352,"./fo.js":8352,"./fr":4059,"./fr-ca":2096,"./fr-ca.js":2096,"./fr-ch":5759,"./fr-ch.js":5759,"./fr.js":4059,"./fy":5958,"./fy.js":5958,"./ga":4143,"./ga.js":4143,"./gd":7028,"./gd.js":7028,"./gl":428,"./gl.js":428,"./gom-deva":6861,"./gom-deva.js":6861,"./gom-latn":7718,"./gom-latn.js":7718,"./gu":6827,"./gu.js":6827,"./he":1936,"./he.js":1936,"./hi":1332,"./hi.js":1332,"./hr":1957,"./hr.js":1957,"./hu":8928,"./hu.js":8928,"./hy-am":6215,"./hy-am.js":6215,"./id":586,"./id.js":586,"./is":211,"./is.js":211,"./it":170,"./it-ch":2340,"./it-ch.js":2340,"./it.js":170,"./ja":9770,"./ja.js":9770,"./jv":3875,"./jv.js":3875,"./ka":9499,"./ka.js":9499,"./kk":3573,"./kk.js":3573,"./km":8807,"./km.js":8807,"./kn":5082,"./kn.js":5082,"./ko":137,"./ko.js":137,"./ku":111,"./ku.js":111,"./ky":9187,"./ky.js":9187,"./lb":5969,"./lb.js":5969,"./lo":3526,"./lo.js":3526,"./lt":411,"./lt.js":411,"./lv":2621,"./lv.js":2621,"./me":5869,"./me.js":5869,"./mi":5881,"./mi.js":5881,"./mk":2391,"./mk.js":2391,"./ml":1126,"./ml.js":1126,"./mn":4892,"./mn.js":4892,"./mr":9080,"./mr.js":9080,"./ms":399,"./ms-my":5950,"./ms-my.js":5950,"./ms.js":399,"./mt":9902,"./mt.js":9902,"./my":2985,"./my.js":2985,"./nb":240,"./nb.js":240,"./ne":3642,"./ne.js":3642,"./nl":5441,"./nl-be":9875,"./nl-be.js":9875,"./nl.js":5441,"./nn":1311,"./nn.js":1311,"./oc-lnc":2567,"./oc-lnc.js":2567,"./pa-in":6962,"./pa-in.js":6962,"./pl":1063,"./pl.js":1063,"./pt":8719,"./pt-br":7476,"./pt-br.js":7476,"./pt.js":8719,"./ro":1004,"./ro.js":1004,"./ru":1326,"./ru.js":1326,"./sd":2608,"./sd.js":2608,"./se":3911,"./se.js":3911,"./si":5147,"./si.js":5147,"./sk":3741,"./sk.js":3741,"./sl":3e3,"./sl.js":3e3,"./sq":451,"./sq.js":451,"./sr":5046,"./sr-cyrl":905,"./sr-cyrl.js":905,"./sr.js":5046,"./ss":5765,"./ss.js":5765,"./sv":9290,"./sv.js":9290,"./sw":3449,"./sw.js":3449,"./ta":2688,"./ta.js":2688,"./te":2060,"./te.js":2060,"./tet":3290,"./tet.js":3290,"./tg":8294,"./tg.js":8294,"./th":1231,"./th.js":1231,"./tk":3746,"./tk.js":3746,"./tl-ph":9040,"./tl-ph.js":9040,"./tlh":7187,"./tlh.js":7187,"./tr":153,"./tr.js":153,"./tzl":8521,"./tzl.js":8521,"./tzm":8010,"./tzm-latn":2234,"./tzm-latn.js":2234,"./tzm.js":8010,"./ug-cn":3349,"./ug-cn.js":3349,"./uk":8479,"./uk.js":8479,"./ur":3024,"./ur.js":3024,"./uz":9800,"./uz-latn":2376,"./uz-latn.js":2376,"./uz.js":9800,"./vi":9366,"./vi.js":9366,"./x-pseudo":9702,"./x-pseudo.js":9702,"./yo":2655,"./yo.js":2655,"./zh-cn":575,"./zh-cn.js":575,"./zh-hk":8351,"./zh-hk.js":8351,"./zh-mo":1626,"./zh-mo.js":1626,"./zh-tw":8887,"./zh-tw.js":8887};function y(w){var D=b(w);return x(D)}function b(w){if(!x.o(E,w)){var D=new Error("Cannot find module '"+w+"'");throw D.code="MODULE_NOT_FOUND",D}return E[w]}y.keys=function(){return Object.keys(E)},y.resolve=b,j.exports=y,y.id=5358},9837:(j,H,x)=>{"use strict";x.d(H,{WHm:()=>TT,udt:()=>ng});const E=new RegExp("(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*)","g");class y{constructor(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}static parse(i){const a=[],u=(L,O)=>{O.notSelectors.length>0&&!O.element&&0==O.classNames.length&&0==O.attrs.length&&(O.element="*"),L.push(O)};let f,p=new y,v=p,M=!1;for(E.lastIndex=0;f=E.exec(i);){if(f[1]){if(M)throw new Error("Nesting :not in a selector is not allowed");M=!0,v=new y,p.notSelectors.push(v)}const L=f[2];if(L){const V=f[3];"#"===V?v.addAttribute("id",L.slice(1)):"."===V?v.addClassName(L.slice(1)):v.setElement(L)}const O=f[4];if(O&&v.addAttribute(v.unescapeAttribute(O),f[6]),f[7]&&(M=!1,v=p),f[8]){if(M)throw new Error("Multiple selectors in :not are not supported");u(a,p),p=v=new y}}return u(a,p),a}unescapeAttribute(i){let a="",u=!1;for(let p=0;p0&&i.push("class",this.classNames.join(" ")),i.concat(this.attrs)}addAttribute(i,a=""){this.attrs.push(i,a&&a.toLowerCase()||"")}addClassName(i){this.classNames.push(i.toLowerCase())}toString(){let i=this.element||"";if(this.classNames&&this.classNames.forEach(a=>i+=`.${a}`),this.attrs)for(let a=0;ai+=`:not(${a})`),i}}class b{constructor(){this._elementMap=new Map,this._elementPartialMap=new Map,this._classMap=new Map,this._classPartialMap=new Map,this._attrValueMap=new Map,this._attrValuePartialMap=new Map,this._listContexts=[]}static createNotMatcher(i){const a=new b;return a.addSelectables(i,null),a}addSelectables(i,a){let u=null;i.length>1&&(u=new w(i),this._listContexts.push(u));for(let p=0;p0&&(!this.listContext||!this.listContext.alreadyMatched)&&(u=!b.createNotMatcher(this.notSelectors).match(i,null)),u&&a&&(!this.listContext||!this.listContext.alreadyMatched)&&(this.listContext&&(this.listContext.alreadyMatched=!0),a(this.selector,this.cbContext)),u}}var R,l,N,W;(l=R||(R={}))[l.Emulated=0]="Emulated",l[l.None=2]="None",l[l.ShadowDom=3]="ShadowDom",function(l){l[l.OnPush=0]="OnPush",l[l.Default=1]="Default"}(N||(N={})),function(l){l[l.None=0]="None",l[l.SignalBased=1]="SignalBased",l[l.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(W||(W={}));const $={name:"custom-elements"},K={name:"no-errors-schema"};var J,ue;function Ye(l){const i=function de(l){const i=l.classNames&&l.classNames.length?[8,...l.classNames]:[];return[l.element&&"*"!==l.element?l.element:"",...l.attrs,...i]}(l),a=l.notSelectors&&l.notSelectors.length?l.notSelectors.map(u=>function We(l){const i=l.classNames&&l.classNames.length?[8,...l.classNames]:[];return l.element?[5,l.element,...l.attrs,...i]:l.attrs.length?[3,...l.attrs,...i]:l.classNames&&l.classNames.length?[9,...l.classNames]:[]}(u)):[];return i.concat(...a)}function Fe(l){return l?y.parse(l).map(Ye):[]}!function(l){l[l.NONE=0]="NONE",l[l.HTML=1]="HTML",l[l.STYLE=2]="STYLE",l[l.SCRIPT=3]="SCRIPT",l[l.URL=4]="URL",l[l.RESOURCE_URL=5]="RESOURCE_URL"}(J||(J={})),function(l){l[l.Error=0]="Error",l[l.Warning=1]="Warning",l[l.Ignore=2]="Ignore"}(ue||(ue={}));let pe;function Pe(l){return function Ce(l){pe??=new TextEncoder;const i=[...pe.encode(l)],a=function Te(l,i){const a=l.length+3>>>2,u=[];for(let p=0;p>5]|=128<<24-u%32,a[15+(u+64>>9<<4)]=u;for(let V=0;Vi.visit(ee,null))}(l.nodes).join("")+`[${l.meaning}]`)}function _e(l,i){return l.id||Se(l,i)}function Se(l,i){const a=new ge(i);return ws(l.nodes.map(p=>p.visit(a,null)).join(""),l.meaning)}class X{visitText(i,a){return i.value}visitContainer(i,a){return`[${i.children.map(u=>u.visit(this)).join(", ")}]`}visitIcu(i,a){const u=Object.keys(i.cases).map(p=>`${p} {${i.cases[p].visit(this)}}`);return`{${i.expression}, ${i.type}, ${u.join(", ")}}`}visitTagPlaceholder(i,a){return i.isVoid?``:`${i.children.map(u=>u.visit(this)).join(", ")}`}visitPlaceholder(i,a){return i.value?`${i.value}`:``}visitIcuPlaceholder(i,a){return`${i.value.visit(this)}`}visitBlockPlaceholder(i,a){return`${i.children.map(u=>u.visit(this)).join(", ")}`}}const ee=new X;class ge extends X{constructor(i){super(),this.preservePlaceholders=i}visitPlaceholder(i,a){return this.preservePlaceholders?super.visitPlaceholder(i,a):``}visitIcu(i){let a=Object.keys(i.cases).map(u=>`${u} {${i.cases[u].visit(this)}}`);return`{${i.type}, ${a.join(", ")}}`}}function Ue(l){return(l>>>0).toString(16).padStart(8,"0")}function st(l,i,a,u){return l<20?[i&a|~i&u,1518500249]:l<40?[i^a^u,1859775393]:l<60?[i&a|i&u|a&u,2400959708]:[i^a^u,3395469782]}function Kn(l){pe??=new TextEncoder;const i=pe.encode(l),a=new DataView(i.buffer,i.byteOffset,i.byteLength);let u=Kt(a,i.length,0),p=Kt(a,i.length,102072);return 0==u&&(0==p||1==p)&&(u^=319790063,p^=-1801410264),BigInt.asUintN(32,BigInt(u))<>BigInt(63)&BigInt(1),a+=Kn(i)),BigInt.asUintN(63,a).toString()}function Kt(l,i,a){let u=2654435769,p=2654435769,f=0;const v=i-12;for(;f<=v;f+=12){u+=l.getUint32(f,!0),p+=l.getUint32(f+4,!0);const L=hn(u,p,a+=l.getUint32(f+8,!0));u=L[0],p=L[1],a=L[2]}const M=i-f;return a+=i,M>=4?(u+=l.getUint32(f,!0),f+=4,M>=8?(p+=l.getUint32(f,!0),f+=4,M>=9&&(a+=l.getUint8(f++)<<8),M>=10&&(a+=l.getUint8(f++)<<16),11===M&&(a+=l.getUint8(f++)<<24)):(M>=5&&(p+=l.getUint8(f++)),M>=6&&(p+=l.getUint8(f++)<<8),7===M&&(p+=l.getUint8(f++)<<16))):(M>=1&&(u+=l.getUint8(f++)),M>=2&&(u+=l.getUint8(f++)<<8),3===M&&(u+=l.getUint8(f++)<<16)),hn(u,p,a)[2]}function hn(l,i,a){return l-=i,l-=a,i-=a,i-=l^=a>>>13,a-=l,a-=i^=l<<8,l-=i,l-=a^=i>>>13,i-=a,i-=l^=a>>>12,a-=l,a-=i^=l<<16,l-=i,l-=a^=i>>>5,i-=a,i-=l^=a>>>3,a-=l,a-=i^=l<<10,[l,i,a^=i>>>15]}var ft,Bn,at;function Rn(l,i){return function bt(l,i){const a=(65535&l)+(65535&i),u=(l>>>16)+(i>>>16)+(a>>>16);return[u>>>16,u<<16|65535&a]}(l,i)[1]}function wt(l,i){return l<>>32-i}function ps(l,i){return i>=l.length?0:l[i]}function $t(l,i,a){let u=0;if(a===ft.Big)for(let p=0;p<4;p++)u+=ps(l,i+p)<<24-8*p;else for(let p=0;p<4;p++)u+=ps(l,i+p)<<8*p;return u}!function(l){l[l.Little=0]="Little",l[l.Big=1]="Big"}(ft||(ft={})),function(l){l[l.None=0]="None",l[l.Const=1]="Const"}(Bn||(Bn={}));class On{constructor(i=Bn.None){this.modifiers=i}hasModifier(i){return!!(this.modifiers&i)}}!function(l){l[l.Dynamic=0]="Dynamic",l[l.Bool=1]="Bool",l[l.String=2]="String",l[l.Int=3]="Int",l[l.Number=4]="Number",l[l.Function=5]="Function",l[l.Inferred=6]="Inferred",l[l.None=7]="None"}(at||(at={}));class St extends On{constructor(i,a){super(a),this.name=i}visitType(i,a){return i.visitBuiltinType(this,a)}}class kt extends On{constructor(i,a,u=null){super(a),this.value=i,this.typeParams=u}visitType(i,a){return i.visitExpressionType(this,a)}}const Nt=new St(at.Dynamic),Bt=new St(at.Inferred),en=new St(at.Bool),an=(new St(at.Int),new St(at.Number)),sn=new St(at.String),Dt=(new St(at.Function),new St(at.None));var ii,He;function Ti(l,i){return null==l||null==i?l==i:l.isEquivalent(i)}function tn(l,i,a){const u=l.length;if(u!==i.length)return!1;for(let p=0;pa.isEquivalent(u))}!function(l){l[l.Minus=0]="Minus",l[l.Plus=1]="Plus"}(ii||(ii={})),function(l){l[l.Equals=0]="Equals",l[l.NotEquals=1]="NotEquals",l[l.Identical=2]="Identical",l[l.NotIdentical=3]="NotIdentical",l[l.Minus=4]="Minus",l[l.Plus=5]="Plus",l[l.Divide=6]="Divide",l[l.Multiply=7]="Multiply",l[l.Modulo=8]="Modulo",l[l.And=9]="And",l[l.Or=10]="Or",l[l.BitwiseOr=11]="BitwiseOr",l[l.BitwiseAnd=12]="BitwiseAnd",l[l.Lower=13]="Lower",l[l.LowerEquals=14]="LowerEquals",l[l.Bigger=15]="Bigger",l[l.BiggerEquals=16]="BiggerEquals",l[l.NullishCoalesce=17]="NullishCoalesce"}(He||(He={}));class ze{constructor(i,a){this.type=i||null,this.sourceSpan=a||null}prop(i,a){return new Ds(this,i,null,a)}key(i,a,u){return new Jn(this,i,a,u)}callFn(i,a,u){return new Nn(this,i,null,a,u)}instantiate(i,a,u){return new rr(this,i,a,u)}conditional(i,a=null,u){return new yr(this,i,a,null,u)}equals(i,a){return new Wt(He.Equals,this,i,null,a)}notEquals(i,a){return new Wt(He.NotEquals,this,i,null,a)}identical(i,a){return new Wt(He.Identical,this,i,null,a)}notIdentical(i,a){return new Wt(He.NotIdentical,this,i,null,a)}minus(i,a){return new Wt(He.Minus,this,i,null,a)}plus(i,a){return new Wt(He.Plus,this,i,null,a)}divide(i,a){return new Wt(He.Divide,this,i,null,a)}multiply(i,a){return new Wt(He.Multiply,this,i,null,a)}modulo(i,a){return new Wt(He.Modulo,this,i,null,a)}and(i,a){return new Wt(He.And,this,i,null,a)}bitwiseOr(i,a,u=!0){return new Wt(He.BitwiseOr,this,i,null,a,u)}bitwiseAnd(i,a,u=!0){return new Wt(He.BitwiseAnd,this,i,null,a,u)}or(i,a){return new Wt(He.Or,this,i,null,a)}lower(i,a){return new Wt(He.Lower,this,i,null,a)}lowerEquals(i,a){return new Wt(He.LowerEquals,this,i,null,a)}bigger(i,a){return new Wt(He.Bigger,this,i,null,a)}biggerEquals(i,a){return new Wt(He.BiggerEquals,this,i,null,a)}isBlank(i){return this.equals(le,i)}nullishCoalesce(i,a){return new Wt(He.NullishCoalesce,this,i,null,a)}toStmt(){return new Xs(this,null)}}class Xn extends ze{constructor(i,a,u){super(a,u),this.name=i}isEquivalent(i){return i instanceof Xn&&this.name===i.name}isConstant(){return!1}visitExpression(i,a){return i.visitReadVarExpr(this,a)}clone(){return new Xn(this.name,this.type,this.sourceSpan)}set(i){return new Or(this.name,i,null,this.sourceSpan)}}class yi extends ze{constructor(i,a,u){super(a,u),this.expr=i}visitExpression(i,a){return i.visitTypeofExpr(this,a)}isEquivalent(i){return i instanceof yi&&i.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}clone(){return new yi(this.expr.clone())}}class Pt extends ze{constructor(i,a,u){super(a,u),this.node=i}isEquivalent(i){return i instanceof Pt&&this.node===i.node}isConstant(){return!1}visitExpression(i,a){return i.visitWrappedNodeExpr(this,a)}clone(){return new Pt(this.node,this.type,this.sourceSpan)}}class Or extends ze{constructor(i,a,u,p){super(u||a.type,p),this.name=i,this.value=a}isEquivalent(i){return i instanceof Or&&this.name===i.name&&this.value.isEquivalent(i.value)}isConstant(){return!1}visitExpression(i,a){return i.visitWriteVarExpr(this,a)}clone(){return new Or(this.name,this.value.clone(),this.type,this.sourceSpan)}toDeclStmt(i,a){return new Fi(this.name,this.value,i,a,this.sourceSpan)}toConstDecl(){return this.toDeclStmt(Bt,mt.Final)}}class vi extends ze{constructor(i,a,u,p,f){super(p||u.type,f),this.receiver=i,this.index=a,this.value=u}isEquivalent(i){return i instanceof vi&&this.receiver.isEquivalent(i.receiver)&&this.index.isEquivalent(i.index)&&this.value.isEquivalent(i.value)}isConstant(){return!1}visitExpression(i,a){return i.visitWriteKeyExpr(this,a)}clone(){return new vi(this.receiver.clone(),this.index.clone(),this.value.clone(),this.type,this.sourceSpan)}}class Lt extends ze{constructor(i,a,u,p,f){super(p||u.type,f),this.receiver=i,this.name=a,this.value=u}isEquivalent(i){return i instanceof Lt&&this.receiver.isEquivalent(i.receiver)&&this.name===i.name&&this.value.isEquivalent(i.value)}isConstant(){return!1}visitExpression(i,a){return i.visitWritePropExpr(this,a)}clone(){return new Lt(this.receiver.clone(),this.name,this.value.clone(),this.type,this.sourceSpan)}}class Nn extends ze{constructor(i,a,u,p,f=!1){super(u,p),this.fn=i,this.args=a,this.pure=f}get receiver(){return this.fn}isEquivalent(i){return i instanceof Nn&&this.fn.isEquivalent(i.fn)&&Ut(this.args,i.args)&&this.pure===i.pure}isConstant(){return!1}visitExpression(i,a){return i.visitInvokeFunctionExpr(this,a)}clone(){return new Nn(this.fn.clone(),this.args.map(i=>i.clone()),this.type,this.sourceSpan,this.pure)}}class Tc extends ze{constructor(i,a,u,p){super(u,p),this.tag=i,this.template=a}isEquivalent(i){return i instanceof Tc&&this.tag.isEquivalent(i.tag)&&tn(this.template.elements,i.template.elements,(a,u)=>a.text===u.text)&&Ut(this.template.expressions,i.template.expressions)}isConstant(){return!1}visitExpression(i,a){return i.visitTaggedTemplateExpr(this,a)}clone(){return new Tc(this.tag.clone(),this.template.clone(),this.type,this.sourceSpan)}}class rr extends ze{constructor(i,a,u,p){super(u,p),this.classExpr=i,this.args=a}isEquivalent(i){return i instanceof rr&&this.classExpr.isEquivalent(i.classExpr)&&Ut(this.args,i.args)}isConstant(){return!1}visitExpression(i,a){return i.visitInstantiateExpr(this,a)}clone(){return new rr(this.classExpr.clone(),this.args.map(i=>i.clone()),this.type,this.sourceSpan)}}class Is extends ze{constructor(i,a,u){super(a,u),this.value=i}isEquivalent(i){return i instanceof Is&&this.value===i.value}isConstant(){return!0}visitExpression(i,a){return i.visitLiteralExpr(this,a)}clone(){return new Is(this.value,this.type,this.sourceSpan)}}class Zn{constructor(i,a){this.elements=i,this.expressions=a}clone(){return new Zn(this.elements.map(i=>i.clone()),this.expressions.map(i=>i.clone()))}}class ht{constructor(i,a,u){this.text=i,this.sourceSpan=a,this.rawText=u??a?.toString()??Il(Tl(i))}clone(){return new ht(this.text,this.sourceSpan,this.rawText)}}class Ba{constructor(i,a){this.text=i,this.sourceSpan=a}}class Ys{constructor(i,a,u){this.text=i,this.sourceSpan=a,this.associatedMessage=u}}class kl extends ze{constructor(i,a,u,p,f){super(sn,f),this.metaBlock=i,this.messageParts=a,this.placeHolderNames=u,this.expressions=p}isEquivalent(i){return!1}isConstant(){return!1}visitExpression(i,a){return i.visitLocalizedString(this,a)}clone(){return new kl(this.metaBlock,this.messageParts,this.placeHolderNames,this.expressions.map(i=>i.clone()),this.sourceSpan)}serializeI18nHead(){let i=this.metaBlock.description||"";return this.metaBlock.meaning&&(i=`${this.metaBlock.meaning}|${i}`),this.metaBlock.customId&&(i=`${i}@@${this.metaBlock.customId}`),this.metaBlock.legacyIds&&this.metaBlock.legacyIds.forEach(a=>{i=`${i}\u241f${a}`}),bh(i,this.messageParts[0].text,this.getMessagePartSourceSpan(0))}getMessagePartSourceSpan(i){return this.messageParts[i]?.sourceSpan??this.sourceSpan}getPlaceholderSourceSpan(i){return this.placeHolderNames[i]?.sourceSpan??this.expressions[i]?.sourceSpan??this.sourceSpan}serializeI18nTemplatePart(i){const a=this.placeHolderNames[i-1],u=this.messageParts[i];let p=a.text;return 0===a.associatedMessage?.legacyIds.length&&(p+=`@@${ws(a.associatedMessage.messageString,a.associatedMessage.meaning)}`),bh(p,u.text,this.getMessagePartSourceSpan(i))}}const Tl=l=>l.replace(/\\/g,"\\\\"),fs=l=>l.replace(/^:/,"\\:"),fw=l=>l.replace(/:/g,"\\:"),Il=l=>l.replace(/`/g,"\\`").replace(/\${/g,"$\\{");function bh(l,i,a){return""===l?{cooked:i,raw:Il(fs(Tl(i))),range:a}:{cooked:`:${l}:${i}`,raw:Il(`:${fw(Tl(l))}:${Tl(i)}`),range:a}}class Qe extends ze{constructor(i,a,u=null,p){super(a,p),this.value=i,this.typeParams=u}isEquivalent(i){return i instanceof Qe&&this.value.name===i.value.name&&this.value.moduleName===i.value.moduleName&&this.value.runtime===i.value.runtime}isConstant(){return!1}visitExpression(i,a){return i.visitExternalExpr(this,a)}clone(){return new Qe(this.value,this.type,this.typeParams,this.sourceSpan)}}class yr extends ze{constructor(i,a,u=null,p,f){super(p||a.type,f),this.condition=i,this.falseCase=u,this.trueCase=a}isEquivalent(i){return i instanceof yr&&this.condition.isEquivalent(i.condition)&&this.trueCase.isEquivalent(i.trueCase)&&Ti(this.falseCase,i.falseCase)}isConstant(){return!1}visitExpression(i,a){return i.visitConditionalExpr(this,a)}clone(){return new yr(this.condition.clone(),this.trueCase.clone(),this.falseCase?.clone(),this.type,this.sourceSpan)}}class Ii extends ze{constructor(i,a){super(en,a),this.condition=i}isEquivalent(i){return i instanceof Ii&&this.condition.isEquivalent(i.condition)}isConstant(){return!1}visitExpression(i,a){return i.visitNotExpr(this,a)}clone(){return new Ii(this.condition.clone(),this.sourceSpan)}}class Tt{constructor(i,a=null){this.name=i,this.type=a}isEquivalent(i){return this.name===i.name}clone(){return new Tt(this.name,this.type)}}class or extends ze{constructor(i,a,u,p,f){super(u,p),this.params=i,this.statements=a,this.name=f}isEquivalent(i){return(i instanceof or||i instanceof Al)&&Ut(this.params,i.params)&&Ut(this.statements,i.statements)}isConstant(){return!1}visitExpression(i,a){return i.visitFunctionExpr(this,a)}toDeclStmt(i,a){return new Al(i,this.params,this.statements,this.type,a,this.sourceSpan)}clone(){return new or(this.params.map(i=>i.clone()),this.statements,this.type,this.sourceSpan,this.name)}}class Kr extends ze{constructor(i,a,u,p){super(u,p),this.params=i,this.body=a}isEquivalent(i){return!!(i instanceof Kr&&Ut(this.params,i.params))&&(this.body instanceof ze&&i.body instanceof ze?this.body.isEquivalent(i.body):!(!Array.isArray(this.body)||!Array.isArray(i.body))&&Ut(this.body,i.body))}isConstant(){return!1}visitExpression(i,a){return i.visitArrowFunctionExpr(this,a)}clone(){return new Kr(this.params.map(i=>i.clone()),Array.isArray(this.body)?this.body:this.body.clone(),this.type,this.sourceSpan)}toDeclStmt(i,a){return new Fi(i,this,Bt,a,this.sourceSpan)}}class As extends ze{constructor(i,a,u,p,f=!0){super(u||an,p),this.operator=i,this.expr=a,this.parens=f}isEquivalent(i){return i instanceof As&&this.operator===i.operator&&this.expr.isEquivalent(i.expr)}isConstant(){return!1}visitExpression(i,a){return i.visitUnaryOperatorExpr(this,a)}clone(){return new As(this.operator,this.expr.clone(),this.type,this.sourceSpan,this.parens)}}class Wt extends ze{constructor(i,a,u,p,f,v=!0){super(p||a.type,f),this.operator=i,this.rhs=u,this.parens=v,this.lhs=a}isEquivalent(i){return i instanceof Wt&&this.operator===i.operator&&this.lhs.isEquivalent(i.lhs)&&this.rhs.isEquivalent(i.rhs)}isConstant(){return!1}visitExpression(i,a){return i.visitBinaryOperatorExpr(this,a)}clone(){return new Wt(this.operator,this.lhs.clone(),this.rhs.clone(),this.type,this.sourceSpan,this.parens)}}class Ds extends ze{constructor(i,a,u,p){super(u,p),this.receiver=i,this.name=a}get index(){return this.name}isEquivalent(i){return i instanceof Ds&&this.receiver.isEquivalent(i.receiver)&&this.name===i.name}isConstant(){return!1}visitExpression(i,a){return i.visitReadPropExpr(this,a)}set(i){return new Lt(this.receiver,this.name,i,null,this.sourceSpan)}clone(){return new Ds(this.receiver.clone(),this.name,this.type,this.sourceSpan)}}class Jn extends ze{constructor(i,a,u,p){super(u,p),this.receiver=i,this.index=a}isEquivalent(i){return i instanceof Jn&&this.receiver.isEquivalent(i.receiver)&&this.index.isEquivalent(i.index)}isConstant(){return!1}visitExpression(i,a){return i.visitReadKeyExpr(this,a)}set(i){return new vi(this.receiver,this.index,i,null,this.sourceSpan)}clone(){return new Jn(this.receiver.clone(),this.index.clone(),this.type,this.sourceSpan)}}class Ls extends ze{constructor(i,a,u){super(a,u),this.entries=i}isConstant(){return this.entries.every(i=>i.isConstant())}isEquivalent(i){return i instanceof Ls&&Ut(this.entries,i.entries)}visitExpression(i,a){return i.visitLiteralArrayExpr(this,a)}clone(){return new Ls(this.entries.map(i=>i.clone()),this.type,this.sourceSpan)}}class ar{constructor(i,a,u){this.key=i,this.value=a,this.quoted=u}isEquivalent(i){return this.key===i.key&&this.value.isEquivalent(i.value)}clone(){return new ar(this.key,this.value.clone(),this.quoted)}}class ms extends ze{constructor(i,a,u){super(a,u),this.entries=i,this.valueType=null,a&&(this.valueType=a.valueType)}isEquivalent(i){return i instanceof ms&&Ut(this.entries,i.entries)}isConstant(){return this.entries.every(i=>i.value.isConstant())}visitExpression(i,a){return i.visitLiteralMapExpr(this,a)}clone(){const i=this.entries.map(a=>a.clone());return new ms(i,this.type,this.sourceSpan)}}const Va=new Is(null,null,null),le=new Is(null,Bt,null);var mt;!function(l){l[l.None=0]="None",l[l.Final=1]="Final",l[l.Private=2]="Private",l[l.Exported=4]="Exported",l[l.Static=8]="Static"}(mt||(mt={}));class ya{constructor(i,a,u){this.text=i,this.multiline=a,this.trailingNewline=u}toString(){return this.multiline?` ${this.text} `:this.text}}class wh extends ya{constructor(i){super("",!0,!0),this.tags=i}toString(){return function Ha(l){if(0===l.length)return"";if(1===l.length&&l[0].tagName&&!l[0].text)return`*${yw(l[0])} `;let i="*\n";for(const a of l)i+=" *",i+=yw(a).replace(/\n/g,"\n * "),i+="\n";return i+=" ",i}(this.tags)}}class Ac{constructor(i=mt.None,a=null,u){this.modifiers=i,this.sourceSpan=a,this.leadingComments=u}hasModifier(i){return!!(this.modifiers&i)}addLeadingComment(i){this.leadingComments=this.leadingComments??[],this.leadingComments.push(i)}}class Fi extends Ac{constructor(i,a,u,p,f,v){super(p,f,v),this.name=i,this.value=a,this.type=u||a&&a.type||null}isEquivalent(i){return i instanceof Fi&&this.name===i.name&&(this.value?!!i.value&&this.value.isEquivalent(i.value):!i.value)}visitStatement(i,a){return i.visitDeclareVarStmt(this,a)}}class Al extends Ac{constructor(i,a,u,p,f,v,M){super(f,v,M),this.name=i,this.params=a,this.statements=u,this.type=p||null}isEquivalent(i){return i instanceof Al&&Ut(this.params,i.params)&&Ut(this.statements,i.statements)}visitStatement(i,a){return i.visitDeclareFunctionStmt(this,a)}}class Xs extends Ac{constructor(i,a,u){super(mt.None,a,u),this.expr=i}isEquivalent(i){return i instanceof Xs&&this.expr.isEquivalent(i.expr)}visitStatement(i,a){return i.visitExpressionStmt(this,a)}}class ri extends Ac{constructor(i,a=null,u){super(mt.None,a,u),this.value=i}isEquivalent(i){return i instanceof ri&&this.value.isEquivalent(i.value)}visitStatement(i,a){return i.visitReturnStmt(this,a)}}class Vo extends Ac{constructor(i,a,u=[],p,f){super(mt.None,p,f),this.condition=i,this.trueCase=a,this.falseCase=u}isEquivalent(i){return i instanceof Vo&&this.condition.isEquivalent(i.condition)&&Ut(this.trueCase,i.trueCase)&&Ut(this.falseCase,i.falseCase)}visitStatement(i,a){return i.visitIfStmt(this,a)}}function Yu(l=[]){return new wh(l)}function Ct(l,i,a){return new Xn(l,i,a)}function je(l,i=null,a){return new Qe(l,null,i,a)}function Ai(l,i,a){return new kt(l,i,a)}function wn(l){return new yi(l)}function qt(l,i,a){return new Ls(l,i,a)}function mn(l,i=null){return new ms(l.map(a=>new ar(a.key,a.value,a.quoted)),i,null)}function Bu(l,i){return new Ii(l,i)}function Ho(l,i,a,u,p){return new or(l,i,a,u,p)}function It(l,i,a,u){return new Kr(l,i,a,u)}function gt(l,i,a,u,p){return new Vo(l,i,a,u,p)}function Nr(l,i,a,u){return new Tc(l,i,a,u)}function ne(l,i,a){return new Is(l,i,a)}function gw(l,i,a,u,p){return new kl(l,i,a,u,p)}function yw(l){let i="";if(l.tagName&&(i+=` @${l.tagName}`),l.text){if(l.text.match(/\/\*|\*\//))throw new Error('JSDoc text cannot contain "/*" and "*/"');i+=" "+l.text.replace(/@/g,"\\@")}return i}const vw=Ct(""),T_={};class Sh extends ze{constructor(i){super(i.type),this.resolved=i,this.shared=!1,this.original=i}visitExpression(i,a){return a===T_?this.original.visitExpression(i,a):this.resolved.visitExpression(i,a)}isEquivalent(i){return i instanceof Sh&&this.resolved.isEquivalent(i.resolved)}isConstant(){return!0}clone(){throw new Error("Not supported.")}fixup(i){this.resolved=i,this.shared=!0}}class I_{constructor(i=!1){this.isClosureCompilerEnabled=i,this.statements=[],this.literals=new Map,this.literalFactories=new Map,this.sharedConstants=new Map,this._claimedNames=new Map,this.nextNameIndex=0}getConstLiteral(i,a){if(i instanceof Is&&!At(i)||i instanceof Sh)return i;const u=ju.INSTANCE.keyOf(i);let p=this.literals.get(u),f=!1;if(p||(p=new Sh(i),this.literals.set(u,p),f=!0),!f&&!p.shared||f&&a){const v=this.freshName();let M,L;this.isClosureCompilerEnabled&&At(i)?(M=Ct(v).set(new or([],[new ri(i)])),L=Ct(v).callFn([])):(M=Ct(v).set(i),L=Ct(v)),this.statements.push(M.toDeclStmt(Bt,mt.Final)),p.fixup(L)}return p}getSharedConstant(i,a){const u=i.keyOf(a);if(!this.sharedConstants.has(u)){const p=this.freshName();this.sharedConstants.set(u,Ct(p)),this.statements.push(i.toSharedConstantDeclaration(p,a))}return this.sharedConstants.get(u)}getLiteralFactory(i){if(i instanceof Ls){const a=i.entries.map(p=>p.isConstant()?p:vw),u=ju.INSTANCE.keyOf(qt(a));return this._getLiteralFactory(u,i.entries,p=>qt(p))}{const a=mn(i.entries.map(p=>({key:p.key,value:p.value.isConstant()?p.value:vw,quoted:p.quoted}))),u=ju.INSTANCE.keyOf(a);return this._getLiteralFactory(u,i.entries.map(p=>p.value),p=>mn(p.map((f,v)=>({key:i.entries[v].key,value:f,quoted:i.entries[v].quoted}))))}}getSharedFunctionReference(i,a,u=!0){const p=i instanceof Kr;for(const v of this.statements)if(p&&v instanceof Fi&&v.value?.isEquivalent(i)||!p&&v instanceof Al&&i instanceof or&&i.isEquivalent(v))return Ct(v.name);const f=u?this.uniqueName(a):a;return this.statements.push(i instanceof or?i.toDeclStmt(f,mt.Final):new Fi(f,i,Bt,mt.Final,i.sourceSpan)),Ct(f)}_getLiteralFactory(i,a,u){let p=this.literalFactories.get(i);const f=a.filter(v=>!v.isConstant());if(!p){const v=a.map((V,Z)=>V.isConstant()?this.getConstLiteral(V,!0):Ct(`a${Z}`)),L=It(v.filter(Fr).map(V=>new Tt(V.name,Nt)),u(v),Bt),O=this.freshName();this.statements.push(Ct(O).set(L).toDeclStmt(Bt,mt.Final)),p=Ct(O),this.literalFactories.set(i,p)}return{literalFactory:p,literalFactoryArguments:f}}uniqueName(i,a=!0){const u=this._claimedNames.get(i)??0,p=0!==u||a?`${i}${u}`:`${i}`;return this._claimedNames.set(i,u+1),p}freshName(){return this.uniqueName("_c")}}class ju{static#e=this.INSTANCE=new ju;keyOf(i){if(i instanceof Is&&"string"==typeof i.value)return`"${i.value}"`;if(i instanceof Is)return String(i.value);if(i instanceof Ls){const a=[];for(const u of i.entries)a.push(this.keyOf(u));return`[${a.join(",")}]`}if(i instanceof ms){const a=[];for(const u of i.entries){let p=u.key;u.quoted&&(p=`"${p}"`),a.push(p+":"+this.keyOf(u.value))}return`{${a.join(",")}}`}if(i instanceof Qe)return`import("${i.value.moduleName}", ${i.value.name})`;if(i instanceof Xn)return`read(${i.name})`;if(i instanceof yi)return`typeof(${this.keyOf(i.expr)})`;throw new Error(`${this.constructor.name} does not handle expressions of type ${i.constructor.name}`)}}function Fr(l){return l instanceof Xn}function At(l){return l instanceof Is&&"string"==typeof l.value&&l.value.length>=50}const re="@angular/core";class te{static#e=this.NEW_METHOD="factory";static#t=this.TRANSFORM_METHOD="transform";static#n=this.PATCH_DEPS="patchedDeps";static#s=this.core={name:null,moduleName:re};static#i=this.namespaceHTML={name:"\u0275\u0275namespaceHTML",moduleName:re};static#r=this.namespaceMathML={name:"\u0275\u0275namespaceMathML",moduleName:re};static#o=this.namespaceSVG={name:"\u0275\u0275namespaceSVG",moduleName:re};static#a=this.element={name:"\u0275\u0275element",moduleName:re};static#l=this.elementStart={name:"\u0275\u0275elementStart",moduleName:re};static#c=this.elementEnd={name:"\u0275\u0275elementEnd",moduleName:re};static#u=this.advance={name:"\u0275\u0275advance",moduleName:re};static#d=this.syntheticHostProperty={name:"\u0275\u0275syntheticHostProperty",moduleName:re};static#h=this.syntheticHostListener={name:"\u0275\u0275syntheticHostListener",moduleName:re};static#p=this.attribute={name:"\u0275\u0275attribute",moduleName:re};static#f=this.attributeInterpolate1={name:"\u0275\u0275attributeInterpolate1",moduleName:re};static#m=this.attributeInterpolate2={name:"\u0275\u0275attributeInterpolate2",moduleName:re};static#g=this.attributeInterpolate3={name:"\u0275\u0275attributeInterpolate3",moduleName:re};static#_=this.attributeInterpolate4={name:"\u0275\u0275attributeInterpolate4",moduleName:re};static#y=this.attributeInterpolate5={name:"\u0275\u0275attributeInterpolate5",moduleName:re};static#v=this.attributeInterpolate6={name:"\u0275\u0275attributeInterpolate6",moduleName:re};static#b=this.attributeInterpolate7={name:"\u0275\u0275attributeInterpolate7",moduleName:re};static#w=this.attributeInterpolate8={name:"\u0275\u0275attributeInterpolate8",moduleName:re};static#S=this.attributeInterpolateV={name:"\u0275\u0275attributeInterpolateV",moduleName:re};static#D=this.classProp={name:"\u0275\u0275classProp",moduleName:re};static#C=this.elementContainerStart={name:"\u0275\u0275elementContainerStart",moduleName:re};static#M=this.elementContainerEnd={name:"\u0275\u0275elementContainerEnd",moduleName:re};static#E=this.elementContainer={name:"\u0275\u0275elementContainer",moduleName:re};static#x=this.styleMap={name:"\u0275\u0275styleMap",moduleName:re};static#k=this.styleMapInterpolate1={name:"\u0275\u0275styleMapInterpolate1",moduleName:re};static#T=this.styleMapInterpolate2={name:"\u0275\u0275styleMapInterpolate2",moduleName:re};static#I=this.styleMapInterpolate3={name:"\u0275\u0275styleMapInterpolate3",moduleName:re};static#A=this.styleMapInterpolate4={name:"\u0275\u0275styleMapInterpolate4",moduleName:re};static#L=this.styleMapInterpolate5={name:"\u0275\u0275styleMapInterpolate5",moduleName:re};static#P=this.styleMapInterpolate6={name:"\u0275\u0275styleMapInterpolate6",moduleName:re};static#R=this.styleMapInterpolate7={name:"\u0275\u0275styleMapInterpolate7",moduleName:re};static#O=this.styleMapInterpolate8={name:"\u0275\u0275styleMapInterpolate8",moduleName:re};static#N=this.styleMapInterpolateV={name:"\u0275\u0275styleMapInterpolateV",moduleName:re};static#F=this.classMap={name:"\u0275\u0275classMap",moduleName:re};static#Y=this.classMapInterpolate1={name:"\u0275\u0275classMapInterpolate1",moduleName:re};static#B=this.classMapInterpolate2={name:"\u0275\u0275classMapInterpolate2",moduleName:re};static#j=this.classMapInterpolate3={name:"\u0275\u0275classMapInterpolate3",moduleName:re};static#V=this.classMapInterpolate4={name:"\u0275\u0275classMapInterpolate4",moduleName:re};static#H=this.classMapInterpolate5={name:"\u0275\u0275classMapInterpolate5",moduleName:re};static#U=this.classMapInterpolate6={name:"\u0275\u0275classMapInterpolate6",moduleName:re};static#$=this.classMapInterpolate7={name:"\u0275\u0275classMapInterpolate7",moduleName:re};static#z=this.classMapInterpolate8={name:"\u0275\u0275classMapInterpolate8",moduleName:re};static#W=this.classMapInterpolateV={name:"\u0275\u0275classMapInterpolateV",moduleName:re};static#q=this.styleProp={name:"\u0275\u0275styleProp",moduleName:re};static#G=this.stylePropInterpolate1={name:"\u0275\u0275stylePropInterpolate1",moduleName:re};static#K=this.stylePropInterpolate2={name:"\u0275\u0275stylePropInterpolate2",moduleName:re};static#Q=this.stylePropInterpolate3={name:"\u0275\u0275stylePropInterpolate3",moduleName:re};static#X=this.stylePropInterpolate4={name:"\u0275\u0275stylePropInterpolate4",moduleName:re};static#Z=this.stylePropInterpolate5={name:"\u0275\u0275stylePropInterpolate5",moduleName:re};static#J=this.stylePropInterpolate6={name:"\u0275\u0275stylePropInterpolate6",moduleName:re};static#ee=this.stylePropInterpolate7={name:"\u0275\u0275stylePropInterpolate7",moduleName:re};static#te=this.stylePropInterpolate8={name:"\u0275\u0275stylePropInterpolate8",moduleName:re};static#ne=this.stylePropInterpolateV={name:"\u0275\u0275stylePropInterpolateV",moduleName:re};static#se=this.nextContext={name:"\u0275\u0275nextContext",moduleName:re};static#ie=this.resetView={name:"\u0275\u0275resetView",moduleName:re};static#re=this.templateCreate={name:"\u0275\u0275template",moduleName:re};static#oe=this.defer={name:"\u0275\u0275defer",moduleName:re};static#ae=this.deferWhen={name:"\u0275\u0275deferWhen",moduleName:re};static#le=this.deferOnIdle={name:"\u0275\u0275deferOnIdle",moduleName:re};static#ce=this.deferOnImmediate={name:"\u0275\u0275deferOnImmediate",moduleName:re};static#ue=this.deferOnTimer={name:"\u0275\u0275deferOnTimer",moduleName:re};static#de=this.deferOnHover={name:"\u0275\u0275deferOnHover",moduleName:re};static#he=this.deferOnInteraction={name:"\u0275\u0275deferOnInteraction",moduleName:re};static#pe=this.deferOnViewport={name:"\u0275\u0275deferOnViewport",moduleName:re};static#fe=this.deferPrefetchWhen={name:"\u0275\u0275deferPrefetchWhen",moduleName:re};static#me=this.deferPrefetchOnIdle={name:"\u0275\u0275deferPrefetchOnIdle",moduleName:re};static#ge=this.deferPrefetchOnImmediate={name:"\u0275\u0275deferPrefetchOnImmediate",moduleName:re};static#_e=this.deferPrefetchOnTimer={name:"\u0275\u0275deferPrefetchOnTimer",moduleName:re};static#ye=this.deferPrefetchOnHover={name:"\u0275\u0275deferPrefetchOnHover",moduleName:re};static#ve=this.deferPrefetchOnInteraction={name:"\u0275\u0275deferPrefetchOnInteraction",moduleName:re};static#be=this.deferPrefetchOnViewport={name:"\u0275\u0275deferPrefetchOnViewport",moduleName:re};static#we=this.deferEnableTimerScheduling={name:"\u0275\u0275deferEnableTimerScheduling",moduleName:re};static#Se=this.conditional={name:"\u0275\u0275conditional",moduleName:re};static#De=this.repeater={name:"\u0275\u0275repeater",moduleName:re};static#Ce=this.repeaterCreate={name:"\u0275\u0275repeaterCreate",moduleName:re};static#Me=this.repeaterTrackByIndex={name:"\u0275\u0275repeaterTrackByIndex",moduleName:re};static#Ee=this.repeaterTrackByIdentity={name:"\u0275\u0275repeaterTrackByIdentity",moduleName:re};static#xe=this.componentInstance={name:"\u0275\u0275componentInstance",moduleName:re};static#ke=this.text={name:"\u0275\u0275text",moduleName:re};static#Te=this.enableBindings={name:"\u0275\u0275enableBindings",moduleName:re};static#Ie=this.disableBindings={name:"\u0275\u0275disableBindings",moduleName:re};static#Ae=this.getCurrentView={name:"\u0275\u0275getCurrentView",moduleName:re};static#Le=this.textInterpolate={name:"\u0275\u0275textInterpolate",moduleName:re};static#Pe=this.textInterpolate1={name:"\u0275\u0275textInterpolate1",moduleName:re};static#Re=this.textInterpolate2={name:"\u0275\u0275textInterpolate2",moduleName:re};static#Oe=this.textInterpolate3={name:"\u0275\u0275textInterpolate3",moduleName:re};static#Ne=this.textInterpolate4={name:"\u0275\u0275textInterpolate4",moduleName:re};static#Fe=this.textInterpolate5={name:"\u0275\u0275textInterpolate5",moduleName:re};static#Ye=this.textInterpolate6={name:"\u0275\u0275textInterpolate6",moduleName:re};static#Be=this.textInterpolate7={name:"\u0275\u0275textInterpolate7",moduleName:re};static#je=this.textInterpolate8={name:"\u0275\u0275textInterpolate8",moduleName:re};static#Ve=this.textInterpolateV={name:"\u0275\u0275textInterpolateV",moduleName:re};static#He=this.restoreView={name:"\u0275\u0275restoreView",moduleName:re};static#Ue=this.pureFunction0={name:"\u0275\u0275pureFunction0",moduleName:re};static#$e=this.pureFunction1={name:"\u0275\u0275pureFunction1",moduleName:re};static#ze=this.pureFunction2={name:"\u0275\u0275pureFunction2",moduleName:re};static#We=this.pureFunction3={name:"\u0275\u0275pureFunction3",moduleName:re};static#qe=this.pureFunction4={name:"\u0275\u0275pureFunction4",moduleName:re};static#Ge=this.pureFunction5={name:"\u0275\u0275pureFunction5",moduleName:re};static#Ke=this.pureFunction6={name:"\u0275\u0275pureFunction6",moduleName:re};static#Qe=this.pureFunction7={name:"\u0275\u0275pureFunction7",moduleName:re};static#Xe=this.pureFunction8={name:"\u0275\u0275pureFunction8",moduleName:re};static#Ze=this.pureFunctionV={name:"\u0275\u0275pureFunctionV",moduleName:re};static#Je=this.pipeBind1={name:"\u0275\u0275pipeBind1",moduleName:re};static#et=this.pipeBind2={name:"\u0275\u0275pipeBind2",moduleName:re};static#tt=this.pipeBind3={name:"\u0275\u0275pipeBind3",moduleName:re};static#nt=this.pipeBind4={name:"\u0275\u0275pipeBind4",moduleName:re};static#st=this.pipeBindV={name:"\u0275\u0275pipeBindV",moduleName:re};static#it=this.hostProperty={name:"\u0275\u0275hostProperty",moduleName:re};static#rt=this.property={name:"\u0275\u0275property",moduleName:re};static#ot=this.propertyInterpolate={name:"\u0275\u0275propertyInterpolate",moduleName:re};static#at=this.propertyInterpolate1={name:"\u0275\u0275propertyInterpolate1",moduleName:re};static#lt=this.propertyInterpolate2={name:"\u0275\u0275propertyInterpolate2",moduleName:re};static#ct=this.propertyInterpolate3={name:"\u0275\u0275propertyInterpolate3",moduleName:re};static#ut=this.propertyInterpolate4={name:"\u0275\u0275propertyInterpolate4",moduleName:re};static#dt=this.propertyInterpolate5={name:"\u0275\u0275propertyInterpolate5",moduleName:re};static#ht=this.propertyInterpolate6={name:"\u0275\u0275propertyInterpolate6",moduleName:re};static#pt=this.propertyInterpolate7={name:"\u0275\u0275propertyInterpolate7",moduleName:re};static#ft=this.propertyInterpolate8={name:"\u0275\u0275propertyInterpolate8",moduleName:re};static#mt=this.propertyInterpolateV={name:"\u0275\u0275propertyInterpolateV",moduleName:re};static#gt=this.i18n={name:"\u0275\u0275i18n",moduleName:re};static#_t=this.i18nAttributes={name:"\u0275\u0275i18nAttributes",moduleName:re};static#yt=this.i18nExp={name:"\u0275\u0275i18nExp",moduleName:re};static#vt=this.i18nStart={name:"\u0275\u0275i18nStart",moduleName:re};static#bt=this.i18nEnd={name:"\u0275\u0275i18nEnd",moduleName:re};static#wt=this.i18nApply={name:"\u0275\u0275i18nApply",moduleName:re};static#St=this.i18nPostprocess={name:"\u0275\u0275i18nPostprocess",moduleName:re};static#Dt=this.pipe={name:"\u0275\u0275pipe",moduleName:re};static#Ct=this.projection={name:"\u0275\u0275projection",moduleName:re};static#Mt=this.projectionDef={name:"\u0275\u0275projectionDef",moduleName:re};static#Et=this.reference={name:"\u0275\u0275reference",moduleName:re};static#xt=this.inject={name:"\u0275\u0275inject",moduleName:re};static#kt=this.injectAttribute={name:"\u0275\u0275injectAttribute",moduleName:re};static#Tt=this.directiveInject={name:"\u0275\u0275directiveInject",moduleName:re};static#It=this.invalidFactory={name:"\u0275\u0275invalidFactory",moduleName:re};static#At=this.invalidFactoryDep={name:"\u0275\u0275invalidFactoryDep",moduleName:re};static#Lt=this.templateRefExtractor={name:"\u0275\u0275templateRefExtractor",moduleName:re};static#Pt=this.forwardRef={name:"forwardRef",moduleName:re};static#Rt=this.resolveForwardRef={name:"resolveForwardRef",moduleName:re};static#Ot=this.\u0275\u0275defineInjectable={name:"\u0275\u0275defineInjectable",moduleName:re};static#Nt=this.declareInjectable={name:"\u0275\u0275ngDeclareInjectable",moduleName:re};static#Ft=this.InjectableDeclaration={name:"\u0275\u0275InjectableDeclaration",moduleName:re};static#Yt=this.resolveWindow={name:"\u0275\u0275resolveWindow",moduleName:re};static#Bt=this.resolveDocument={name:"\u0275\u0275resolveDocument",moduleName:re};static#jt=this.resolveBody={name:"\u0275\u0275resolveBody",moduleName:re};static#Vt=this.getComponentDepsFactory={name:"\u0275\u0275getComponentDepsFactory",moduleName:re};static#Ht=this.defineComponent={name:"\u0275\u0275defineComponent",moduleName:re};static#Ut=this.declareComponent={name:"\u0275\u0275ngDeclareComponent",moduleName:re};static#$t=this.setComponentScope={name:"\u0275\u0275setComponentScope",moduleName:re};static#zt=this.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:re};static#Wt=this.ViewEncapsulation={name:"ViewEncapsulation",moduleName:re};static#qt=this.ComponentDeclaration={name:"\u0275\u0275ComponentDeclaration",moduleName:re};static#Gt=this.FactoryDeclaration={name:"\u0275\u0275FactoryDeclaration",moduleName:re};static#Kt=this.declareFactory={name:"\u0275\u0275ngDeclareFactory",moduleName:re};static#Qt=this.FactoryTarget={name:"\u0275\u0275FactoryTarget",moduleName:re};static#Xt=this.defineDirective={name:"\u0275\u0275defineDirective",moduleName:re};static#Zt=this.declareDirective={name:"\u0275\u0275ngDeclareDirective",moduleName:re};static#Jt=this.DirectiveDeclaration={name:"\u0275\u0275DirectiveDeclaration",moduleName:re};static#en=this.InjectorDef={name:"\u0275\u0275InjectorDef",moduleName:re};static#tn=this.InjectorDeclaration={name:"\u0275\u0275InjectorDeclaration",moduleName:re};static#nn=this.defineInjector={name:"\u0275\u0275defineInjector",moduleName:re};static#sn=this.declareInjector={name:"\u0275\u0275ngDeclareInjector",moduleName:re};static#in=this.NgModuleDeclaration={name:"\u0275\u0275NgModuleDeclaration",moduleName:re};static#rn=this.ModuleWithProviders={name:"ModuleWithProviders",moduleName:re};static#on=this.defineNgModule={name:"\u0275\u0275defineNgModule",moduleName:re};static#an=this.declareNgModule={name:"\u0275\u0275ngDeclareNgModule",moduleName:re};static#ln=this.setNgModuleScope={name:"\u0275\u0275setNgModuleScope",moduleName:re};static#cn=this.registerNgModuleType={name:"\u0275\u0275registerNgModuleType",moduleName:re};static#un=this.PipeDeclaration={name:"\u0275\u0275PipeDeclaration",moduleName:re};static#dn=this.definePipe={name:"\u0275\u0275definePipe",moduleName:re};static#hn=this.declarePipe={name:"\u0275\u0275ngDeclarePipe",moduleName:re};static#pn=this.declareClassMetadata={name:"\u0275\u0275ngDeclareClassMetadata",moduleName:re};static#fn=this.declareClassMetadataAsync={name:"\u0275\u0275ngDeclareClassMetadataAsync",moduleName:re};static#mn=this.setClassMetadata={name:"\u0275setClassMetadata",moduleName:re};static#gn=this.setClassMetadataAsync={name:"\u0275setClassMetadataAsync",moduleName:re};static#_n=this.setClassDebugInfo={name:"\u0275setClassDebugInfo",moduleName:re};static#yn=this.queryRefresh={name:"\u0275\u0275queryRefresh",moduleName:re};static#vn=this.viewQuery={name:"\u0275\u0275viewQuery",moduleName:re};static#bn=this.loadQuery={name:"\u0275\u0275loadQuery",moduleName:re};static#wn=this.contentQuery={name:"\u0275\u0275contentQuery",moduleName:re};static#Sn=this.viewQuerySignal={name:"\u0275\u0275viewQuerySignal",moduleName:re};static#Dn=this.contentQuerySignal={name:"\u0275\u0275contentQuerySignal",moduleName:re};static#Cn=this.queryAdvance={name:"\u0275\u0275queryAdvance",moduleName:re};static#Mn=this.twoWayProperty={name:"\u0275\u0275twoWayProperty",moduleName:re};static#En=this.twoWayBindingSet={name:"\u0275\u0275twoWayBindingSet",moduleName:re};static#xn=this.twoWayListener={name:"\u0275\u0275twoWayListener",moduleName:re};static#kn=this.declareLet={name:"\u0275\u0275declareLet",moduleName:re};static#Tn=this.storeLet={name:"\u0275\u0275storeLet",moduleName:re};static#In=this.readContextLet={name:"\u0275\u0275readContextLet",moduleName:re};static#An=this.NgOnChangesFeature={name:"\u0275\u0275NgOnChangesFeature",moduleName:re};static#Ln=this.InheritDefinitionFeature={name:"\u0275\u0275InheritDefinitionFeature",moduleName:re};static#Pn=this.CopyDefinitionFeature={name:"\u0275\u0275CopyDefinitionFeature",moduleName:re};static#Rn=this.StandaloneFeature={name:"\u0275\u0275StandaloneFeature",moduleName:re};static#On=this.ProvidersFeature={name:"\u0275\u0275ProvidersFeature",moduleName:re};static#Nn=this.HostDirectivesFeature={name:"\u0275\u0275HostDirectivesFeature",moduleName:re};static#Fn=this.InputTransformsFeatureFeature={name:"\u0275\u0275InputTransformsFeature",moduleName:re};static#Yn=this.listener={name:"\u0275\u0275listener",moduleName:re};static#Bn=this.getInheritedFactory={name:"\u0275\u0275getInheritedFactory",moduleName:re};static#jn=this.sanitizeHtml={name:"\u0275\u0275sanitizeHtml",moduleName:re};static#Vn=this.sanitizeStyle={name:"\u0275\u0275sanitizeStyle",moduleName:re};static#Hn=this.sanitizeResourceUrl={name:"\u0275\u0275sanitizeResourceUrl",moduleName:re};static#Un=this.sanitizeScript={name:"\u0275\u0275sanitizeScript",moduleName:re};static#$n=this.sanitizeUrl={name:"\u0275\u0275sanitizeUrl",moduleName:re};static#zn=this.sanitizeUrlOrResourceUrl={name:"\u0275\u0275sanitizeUrlOrResourceUrl",moduleName:re};static#Wn=this.trustConstantHtml={name:"\u0275\u0275trustConstantHtml",moduleName:re};static#qn=this.trustConstantResourceUrl={name:"\u0275\u0275trustConstantResourceUrl",moduleName:re};static#Gn=this.validateIframeAttribute={name:"\u0275\u0275validateIframeAttribute",moduleName:re};static#Kn=this.InputSignalBrandWriteType={name:"\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE",moduleName:re};static#Qn=this.UnwrapDirectiveSignalInputs={name:"\u0275UnwrapDirectiveSignalInputs",moduleName:re};static#Xn=this.unwrapWritableSignal={name:"\u0275unwrapWritableSignal",moduleName:re}}const yE=/-+([a-z0-9])/g;function ww(l,i,a){const u=l.indexOf(i);return-1==u?a:[l.slice(0,u).trim(),l.slice(u+1).trim()]}function Dh(l){if("string"==typeof l)return l;if(Array.isArray(l))return"["+l.map(Dh).join(", ")+"]";if(null==l)return""+l;if(l.overriddenName)return`${l.overriddenName}`;if(l.name)return`${l.name}`;if(!l.toString)return"object";const i=l.toString();if(null==i)return""+i;const a=i.indexOf("\n");return-1===a?i:i.substring(0,a)}const Ua=globalThis;class Nf{constructor(i=null){this.file=i,this.sourcesContent=new Map,this.lines=[],this.lastCol0=0,this.hasMappings=!1}addSource(i,a=null){return this.sourcesContent.has(i)||this.sourcesContent.set(i,a),this}addLine(){return this.lines.push([]),this.lastCol0=0,this}addMapping(i,a,u,p){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(null!=a&&!this.sourcesContent.has(a))throw new Error(`Unknown source file "${a}"`);if(null==i)throw new Error("The column in the generated code must be provided");if(i{i.set(O,V),a.push(O),u.push(this.sourcesContent.get(O)||null)});let p="",f=0,v=0,M=0,L=0;return this.lines.forEach(O=>{f=0,p+=O.map(V=>{let Z=Rc(V.col0-f);return f=V.col0,null!=V.sourceUrl&&(Z+=Rc(i.get(V.sourceUrl)-v),v=i.get(V.sourceUrl),Z+=Rc(V.sourceLine0-M),M=V.sourceLine0,Z+=Rc(V.sourceCol0-L),L=V.sourceCol0),Z}).join(","),p+=";"}),p=p.slice(0,-1),{file:this.file||"",version:3,sourceRoot:"",sources:a,sourcesContent:u,mappings:p}}toJsComment(){return this.hasMappings?"//# sourceMappingURL=data:application/json;base64,"+function Ff(l){let i="";const a=function A_(l){let i=[];for(let a=0;a=55296&&u<=56319&&l.length>a+1){const p=l.charCodeAt(a+1);p>=56320&&p<=57343&&(a++,u=(u-55296<<10)+p-56320+65536)}u<=127?i.push(u):u<=2047?i.push(u>>6&31|192,63&u|128):u<=65535?i.push(u>>12|224,u>>6&63|128,63&u|128):u<=2097151&&i.push(u>>18&7|240,u>>12&63|128,u>>6&63|128,63&u|128)}return i}(l);for(let u=0;u>2),i+=va((3&p)<<4|(null===f?0:f>>4)),i+=null===f?"=":va((15&f)<<2|(null===v?0:v>>6)),i+=null===f||null===v?"=":va(63&v)}return i}(JSON.stringify(this,null,0)):""}}function Rc(l){l=l<0?1+(-l<<1):l<<1;let i="";do{let a=31&l;(l>>=5)>0&&(a|=32),i+=va(a)}while(l>0);return i}const gs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function va(l){if(l<0||l>=64)throw new Error("Can only encode value in the range [0, 63]");return gs[l]}const Ll=/'|\\|\n|\r|\$/g,SE=/^[$A-Z_][0-9A-Z_$]*$/i;class Dw{constructor(i){this.indent=i,this.partsLength=0,this.parts=[],this.srcSpans=[]}}class P_{static createRoot(){return new P_(0)}constructor(i){this._indent=i,this._lines=[new Dw(i)]}get _currentLine(){return this._lines[this._lines.length-1]}println(i,a=""){this.print(i||null,a,!0)}lineIsEmpty(){return 0===this._currentLine.parts.length}lineLength(){return 2*this._currentLine.indent+this._currentLine.partsLength}print(i,a,u=!1){a.length>0&&(this._currentLine.parts.push(a),this._currentLine.partsLength+=a.length,this._currentLine.srcSpans.push(i&&i.sourceSpan||null)),u&&this._lines.push(new Dw(this._indent))}removeEmptyLastLine(){this.lineIsEmpty()&&this._lines.pop()}incIndent(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}decIndent(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)}toSource(){return this.sourceLines.map(i=>i.parts.length>0?Nc(i.indent)+i.parts.join(""):"").join("\n")}toSourceMapGenerator(i,a=0){const u=new Nf(i);let p=!1;const f=()=>{p||(u.addSource(i," ").addMapping(0,i,0,0),p=!0)};for(let v=0;v{u.addLine();const L=v.srcSpans,O=v.parts;let V=2*v.indent,Z=0;for(;Zp)return u.srcSpans[f];p-=v.length}}return null}get sourceLines(){return this._lines.length&&0===this._lines[this._lines.length-1].parts.length?this._lines.slice(0,-1):this._lines}}class Oc{constructor(i){this._escapeDollarInStrings=i}printLeadingComments(i,a){if(void 0!==i.leadingComments)for(const u of i.leadingComments)u instanceof wh?a.print(i,`/*${u.toString()}*/`,u.trailingNewline):u.multiline?a.print(i,`/* ${u.text} */`,u.trailingNewline):u.text.split("\n").forEach(p=>{a.println(i,`// ${p}`)})}visitExpressionStmt(i,a){return this.printLeadingComments(i,a),i.expr.visitExpression(this,a),a.println(i,";"),null}visitReturnStmt(i,a){return this.printLeadingComments(i,a),a.print(i,"return "),i.value.visitExpression(this,a),a.println(i,";"),null}visitIfStmt(i,a){this.printLeadingComments(i,a),a.print(i,"if ("),i.condition.visitExpression(this,a),a.print(i,") {");const u=null!=i.falseCase&&i.falseCase.length>0;return i.trueCase.length<=1&&!u?(a.print(i," "),this.visitAllStatements(i.trueCase,a),a.removeEmptyLastLine(),a.print(i," ")):(a.println(),a.incIndent(),this.visitAllStatements(i.trueCase,a),a.decIndent(),u&&(a.println(i,"} else {"),a.incIndent(),this.visitAllStatements(i.falseCase,a),a.decIndent())),a.println(i,"}"),null}visitWriteVarExpr(i,a){const u=a.lineIsEmpty();return u||a.print(i,"("),a.print(i,`${i.name} = `),i.value.visitExpression(this,a),u||a.print(i,")"),null}visitWriteKeyExpr(i,a){const u=a.lineIsEmpty();return u||a.print(i,"("),i.receiver.visitExpression(this,a),a.print(i,"["),i.index.visitExpression(this,a),a.print(i,"] = "),i.value.visitExpression(this,a),u||a.print(i,")"),null}visitWritePropExpr(i,a){const u=a.lineIsEmpty();return u||a.print(i,"("),i.receiver.visitExpression(this,a),a.print(i,`.${i.name} = `),i.value.visitExpression(this,a),u||a.print(i,")"),null}visitInvokeFunctionExpr(i,a){const u=i.fn instanceof Kr;return u&&a.print(i.fn,"("),i.fn.visitExpression(this,a),u&&a.print(i.fn,")"),a.print(i,"("),this.visitAllExpressions(i.args,a,","),a.print(i,")"),null}visitTaggedTemplateExpr(i,a){i.tag.visitExpression(this,a),a.print(i,"`"+i.template.elements[0].rawText);for(let u=1;u{a.print(i,`${Li(u.key,this._escapeDollarInStrings,u.quoted)}:`),u.value.visitExpression(this,a)},i.entries,a,","),a.print(i,"}"),null}visitCommaExpr(i,a){return a.print(i,"("),this.visitAllExpressions(i.parts,a,","),a.print(i,")"),null}visitAllExpressions(i,a,u){this.visitAllObjects(p=>p.visitExpression(this,a),i,a,u)}visitAllObjects(i,a,u,p){let f=!1;for(let v=0;v0&&(u.lineLength()>80?(u.print(null,p,!0),f||(u.incIndent(),u.incIndent(),f=!0)):u.print(null,p,!1)),i(a[v]);f&&(u.decIndent(),u.decIndent())}visitAllStatements(i,a){i.forEach(u=>u.visitStatement(this,a))}}function Li(l,i,a=!0){if(null==l)return null;const u=l.replace(Ll,(...f)=>"$"==f[0]?i?"\\$":"$":"\n"==f[0]?"\\n":"\r"==f[0]?"\\r":`\\${f[0]}`);return a||!SE.test(u)?`'${u}'`:u}function Nc(l){let i="";for(let a=0;au.value));return i?It([],a):a}function Bf(l,i){return{expression:l,forwardRef:i}}function ba({expression:l,forwardRef:i}){switch(i){case 0:case 1:return l;case 2:return ln(l)}}function ln(l){return je(te.forwardRef).callFn([It([],l)])}var Pl,Qr,Ka,vr,vn,Bs;function oi(l){const i=Ct("__ngFactoryType__");let a=null;const u=Rl(l)?i:new Wt(He.Or,i,l.type.value);let p=null;null!==l.deps?"invalid"!==l.deps&&(p=new rr(u,O_(l.deps,l.target))):(a=Ct(`\u0275${l.name}_BaseFactory`),p=a.callFn([u]));const f=[];let v=null;function M(O){const V=Ct("__ngConditionalFactory__");f.push(V.set(Va).toDeclStmt());const Z=null!==p?V.set(p).toStmt():je(te.invalidFactory).callFn([]).toStmt();return f.push(gt(i,[Z],[V.set(O).toStmt()])),V}if(Rl(l)){const O=O_(l.delegateDeps,l.target);v=M(new(l.delegateType===Pl.Class?rr:Nn)(l.delegate,O))}else v=function Cw(l){return void 0!==l.expression}(l)?M(l.expression):p;if(null===v)f.push(je(te.invalidFactory).callFn([]).toStmt());else if(null!==a){const O=je(te.getInheritedFactory).callFn([l.type.value]),V=new Wt(He.Or,a,a.set(O));f.push(new ri(V.callFn([u])))}else f.push(new ri(v));let L=Ho([new Tt(i.name,Nt)],f,Bt,void 0,`${l.name}_Factory`);return null!==a&&(L=It([],[new Fi(a.name),new ri(L)]).callFn([],void 0,!0)),{expression:L,statements:[],type:jf(l)}}function jf(l){const i=null!==l.deps&&"invalid"!==l.deps?function $o(l){let i=!1;const a=l.map(u=>{const p=function Vf(l){const i=[];return null!==l.attributeNameType&&i.push({key:"attribute",value:l.attributeNameType,quoted:!1}),l.optional&&i.push({key:"optional",value:ne(!0),quoted:!1}),l.host&&i.push({key:"host",value:ne(!0),quoted:!1}),l.self&&i.push({key:"self",value:ne(!0),quoted:!1}),l.skipSelf&&i.push({key:"skipSelf",value:ne(!0),quoted:!1}),i.length>0?mn(i):null}(u);return null!==p?(i=!0,p):ne(null)});return i?Ai(qt(a)):Dt}(l.deps):Dt;return Ai(je(te.FactoryDeclaration,[Fc(l.type.type,l.typeArgumentCount),i]))}function O_(l,i){return l.map((a,u)=>function DE(l,i,a){if(null===l.token)return je(te.invalidFactoryDep).callFn([ne(a)]);if(null===l.attributeNameType){const u=(l.self?2:0)|(l.skipSelf?4:0)|(l.host?1:0)|(l.optional?8:0)|(i===Qr.Pipe?16:0);let p=0!==u||l.optional?ne(u):null;const f=[l.token];p&&f.push(p);const v=function Hf(l){switch(l){case Qr.Component:case Qr.Directive:case Qr.Pipe:return te.directiveInject;case Qr.NgModule:case Qr.Injectable:default:return te.inject}}(i);return je(v).callFn(f)}return je(te.injectAttribute).callFn([l.token])}(a,i,u))}function Rl(l){return void 0!==l.delegateType}!function(l){l[l.Class=0]="Class",l[l.Function=1]="Function"}(Pl||(Pl={})),function(l){l[l.Directive=0]="Directive",l[l.Component=1]="Component",l[l.Injectable=2]="Injectable",l[l.Pipe=3]="Pipe",l[l.NgModule=4]="NgModule"}(Qr||(Qr={}));class Uf{constructor(i,a,u,p){this.input=a,this.errLocation=u,this.ctxLocation=p,this.message=`Parser Error: ${i} ${u} [${a}] in ${p}`}}class Bc{constructor(i,a){this.start=i,this.end=a}toAbsolute(i){return new Wi(i+this.start,i+this.end)}}class Ms{constructor(i,a){this.span=i,this.sourceSpan=a}toString(){return"AST"}}class Mh extends Ms{constructor(i,a,u){super(i,a),this.nameSpan=u}}class Zs extends Ms{visit(i,a=null){}}class Ol extends Ms{visit(i,a=null){return i.visitImplicitReceiver(this,a)}}class we extends Ol{visit(i,a=null){return i.visitThisReceiver?.(this,a)}}class zn extends Ms{constructor(i,a,u){super(i,a),this.expressions=u}visit(i,a=null){return i.visitChain(this,a)}}class me extends Ms{constructor(i,a,u,p,f){super(i,a),this.condition=u,this.trueExp=p,this.falseExp=f}visit(i,a=null){return i.visitConditional(this,a)}}class zo extends Mh{constructor(i,a,u,p,f){super(i,a,u),this.receiver=p,this.name=f}visit(i,a=null){return i.visitPropertyRead(this,a)}}class Nl extends Mh{constructor(i,a,u,p,f,v){super(i,a,u),this.receiver=p,this.name=f,this.value=v}visit(i,a=null){return i.visitPropertyWrite(this,a)}}class za extends Mh{constructor(i,a,u,p,f){super(i,a,u),this.receiver=p,this.name=f}visit(i,a=null){return i.visitSafePropertyRead(this,a)}}class jc extends Ms{constructor(i,a,u,p){super(i,a),this.receiver=u,this.key=p}visit(i,a=null){return i.visitKeyedRead(this,a)}}class Eh extends Ms{constructor(i,a,u,p){super(i,a),this.receiver=u,this.key=p}visit(i,a=null){return i.visitSafeKeyedRead(this,a)}}class Wa extends Ms{constructor(i,a,u,p,f){super(i,a),this.receiver=u,this.key=p,this.value=f}visit(i,a=null){return i.visitKeyedWrite(this,a)}}class qa extends Mh{constructor(i,a,u,p,f,v){super(i,a,v),this.exp=u,this.name=p,this.args=f}visit(i,a=null){return i.visitPipe(this,a)}}class Si extends Ms{constructor(i,a,u){super(i,a),this.value=u}visit(i,a=null){return i.visitLiteralPrimitive(this,a)}}class Fl extends Ms{constructor(i,a,u){super(i,a),this.expressions=u}visit(i,a=null){return i.visitLiteralArray(this,a)}}class Wo extends Ms{constructor(i,a,u,p){super(i,a),this.keys=u,this.values=p}visit(i,a=null){return i.visitLiteralMap(this,a)}}class qo extends Ms{constructor(i,a,u,p){super(i,a),this.strings=u,this.expressions=p}visit(i,a=null){return i.visitInterpolation(this,a)}}class ai extends Ms{constructor(i,a,u,p,f){super(i,a),this.operation=u,this.left=p,this.right=f}visit(i,a=null){return i.visitBinary(this,a)}}class Go extends ai{static createMinus(i,a,u){return new Go(i,a,"-",u,"-",new Si(i,a,0),u)}static createPlus(i,a,u){return new Go(i,a,"+",u,"-",u,new Si(i,a,0))}constructor(i,a,u,p,f,v,M){super(i,a,f,v,M),this.operator=u,this.expr=p,this.left=null,this.right=null,this.operation=null}visit(i,a=null){return void 0!==i.visitUnary?i.visitUnary(this,a):i.visitBinary(this,a)}}class Di extends Ms{constructor(i,a,u){super(i,a),this.expression=u}visit(i,a=null){return i.visitPrefixNot(this,a)}}class Ko extends Ms{constructor(i,a,u){super(i,a),this.expression=u}visit(i,a=null){return i.visitNonNullAssert(this,a)}}class Yl extends Ms{constructor(i,a,u,p,f){super(i,a),this.receiver=u,this.args=p,this.argumentSpan=f}visit(i,a=null){return i.visitCall(this,a)}}class wa extends Ms{constructor(i,a,u,p,f){super(i,a),this.receiver=u,this.args=p,this.argumentSpan=f}visit(i,a=null){return i.visitSafeCall(this,a)}}class Wi{constructor(i,a){this.start=i,this.end=a}}class Xr extends Ms{constructor(i,a,u,p,f){super(new Bc(0,null===a?0:a.length),new Wi(p,null===a?p:p+a.length)),this.ast=i,this.source=a,this.location=u,this.errors=f}visit(i,a=null){return i.visitASTWithSource?i.visitASTWithSource(this,a):this.ast.visit(i,a)}toString(){return`${this.source} in ${this.location}`}}class N_{constructor(i,a,u){this.sourceSpan=i,this.key=a,this.value=u}}class F_{constructor(i,a,u){this.sourceSpan=i,this.key=a,this.value=u}}class Y_{visit(i,a){i.visit(this,a)}visitUnary(i,a){this.visit(i.expr,a)}visitBinary(i,a){this.visit(i.left,a),this.visit(i.right,a)}visitChain(i,a){this.visitAll(i.expressions,a)}visitConditional(i,a){this.visit(i.condition,a),this.visit(i.trueExp,a),this.visit(i.falseExp,a)}visitPipe(i,a){this.visit(i.exp,a),this.visitAll(i.args,a)}visitImplicitReceiver(i,a){}visitThisReceiver(i,a){}visitInterpolation(i,a){this.visitAll(i.expressions,a)}visitKeyedRead(i,a){this.visit(i.receiver,a),this.visit(i.key,a)}visitKeyedWrite(i,a){this.visit(i.receiver,a),this.visit(i.key,a),this.visit(i.value,a)}visitLiteralArray(i,a){this.visitAll(i.expressions,a)}visitLiteralMap(i,a){this.visitAll(i.values,a)}visitLiteralPrimitive(i,a){}visitPrefixNot(i,a){this.visit(i.expression,a)}visitNonNullAssert(i,a){this.visit(i.expression,a)}visitPropertyRead(i,a){this.visit(i.receiver,a)}visitPropertyWrite(i,a){this.visit(i.receiver,a),this.visit(i.value,a)}visitSafePropertyRead(i,a){this.visit(i.receiver,a)}visitSafeKeyedRead(i,a){this.visit(i.receiver,a),this.visit(i.key,a)}visitCall(i,a){this.visit(i.receiver,a),this.visitAll(i.args,a)}visitSafeCall(i,a){this.visit(i.receiver,a),this.visitAll(i.args,a)}visitAll(i,a){for(const u of i)this.visit(u,a)}}class Ga{constructor(i,a,u,p,f,v){this.name=i,this.expression=a,this.type=u,this.sourceSpan=p,this.keySpan=f,this.valueSpan=v,this.isLiteral=this.type===Ka.LITERAL_ATTR,this.isAnimation=this.type===Ka.ANIMATION}}!function(l){l[l.DEFAULT=0]="DEFAULT",l[l.LITERAL_ATTR=1]="LITERAL_ATTR",l[l.ANIMATION=2]="ANIMATION",l[l.TWO_WAY=3]="TWO_WAY"}(Ka||(Ka={})),function(l){l[l.Regular=0]="Regular",l[l.Animation=1]="Animation",l[l.TwoWay=2]="TwoWay"}(vr||(vr={}));class wo{constructor(i,a,u,p,f,v,M){this.name=i,this.targetOrPhase=a,this.type=u,this.handler=p,this.sourceSpan=f,this.handlerSpan=v,this.keySpan=M}}class An{constructor(i,a,u,p,f){this.name=i,this.value=a,this.sourceSpan=u,this.keySpan=p,this.valueSpan=f}}!function(l){l[l.Property=0]="Property",l[l.Attribute=1]="Attribute",l[l.Class=2]="Class",l[l.Style=3]="Style",l[l.Animation=4]="Animation",l[l.TwoWay=5]="TwoWay"}(vn||(vn={}));class $f{constructor(i,a,u,p,f,v,M,L){this.name=i,this.type=a,this.securityContext=u,this.value=p,this.unit=f,this.sourceSpan=v,this.keySpan=M,this.valueSpan=L}}function li(l,i=!0){if(":"!=l[0])return[null,l];const a=l.indexOf(":",1);if(-1===a){if(i)throw new Error(`Unsupported format "${l}" expecting ":namespace:name"`);return[null,l]}return[l.slice(1,a),l.slice(a+1)]}function Sa(l){return"ng-container"===li(l)[1]}function qi(l){return"ng-content"===li(l)[1]}function xh(l){return null===l?null:li(l)[0]}function Hu(l,i){return l?`:${l}:${i}`:i}!function(l){l[l.RAW_TEXT=0]="RAW_TEXT",l[l.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",l[l.PARSABLE_DATA=2]="PARSABLE_DATA"}(Bs||(Bs={}));class Uu{constructor(i,a){this.value=i,this.sourceSpan=a}visit(i){throw new Error("visit() not implemented for Comment")}}class Da{constructor(i,a){this.value=i,this.sourceSpan=a}visit(i){return i.visitText(this)}}class Qa{constructor(i,a,u){this.value=i,this.sourceSpan=a,this.i18n=u}visit(i){return i.visitBoundText(this)}}class $u{constructor(i,a,u,p,f,v){this.name=i,this.value=a,this.sourceSpan=u,this.keySpan=p,this.valueSpan=f,this.i18n=v}visit(i){return i.visitTextAttribute(this)}}class kh{constructor(i,a,u,p,f,v,M,L,O){this.name=i,this.type=a,this.securityContext=u,this.value=p,this.unit=f,this.sourceSpan=v,this.keySpan=M,this.valueSpan=L,this.i18n=O}static fromBoundElementProperty(i,a){if(void 0===i.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound attributes but was not for ${i.name}: ${i.sourceSpan}`);return new kh(i.name,i.type,i.securityContext,i.value,i.unit,i.sourceSpan,i.keySpan,i.valueSpan,a)}visit(i){return i.visitBoundAttribute(this)}}class zf{constructor(i,a,u,p,f,v,M,L){this.name=i,this.type=a,this.handler=u,this.target=p,this.phase=f,this.sourceSpan=v,this.handlerSpan=M,this.keySpan=L}static fromParsedEvent(i){const a=i.type===vr.Regular?i.targetOrPhase:null,u=i.type===vr.Animation?i.targetOrPhase:null;if(void 0===i.keySpan)throw new Error(`Unexpected state: keySpan must be defined for bound event but was not for ${i.name}: ${i.sourceSpan}`);return new zf(i.name,i.type,i.handler,a,u,i.sourceSpan,i.handlerSpan,i.keySpan)}visit(i){return i.visitBoundEvent(this)}}class Jr{constructor(i,a,u,p,f,v,M,L,O,V){this.name=i,this.attributes=a,this.inputs=u,this.outputs=p,this.children=f,this.references=v,this.sourceSpan=M,this.startSourceSpan=L,this.endSourceSpan=O,this.i18n=V}visit(i){return i.visitElement(this)}}class Bl{constructor(i,a,u,p){this.nameSpan=i,this.sourceSpan=a,this.prefetchSpan=u,this.whenOrOnSourceSpan=p}visit(i){return i.visitDeferredTrigger(this)}}class Mw extends Bl{constructor(i,a,u,p){super(null,a,u,p),this.value=i}}class So extends Bl{}class Ew extends Bl{}class Wf extends Bl{constructor(i,a,u,p,f){super(a,u,p,f),this.reference=i}}class xw extends Bl{constructor(i,a,u,p,f){super(a,u,p,f),this.delay=i}}class j_ extends Bl{constructor(i,a,u,p,f){super(a,u,p,f),this.reference=i}}class V_ extends Bl{constructor(i,a,u,p,f){super(a,u,p,f),this.reference=i}}class Xo{constructor(i,a,u,p){this.nameSpan=i,this.sourceSpan=a,this.startSourceSpan=u,this.endSourceSpan=p}}class jl extends Xo{constructor(i,a,u,p,f,v,M){super(u,p,f,v),this.children=i,this.minimumTime=a,this.i18n=M}visit(i){return i.visitDeferredBlockPlaceholder(this)}}class qf extends Xo{constructor(i,a,u,p,f,v,M,L){super(p,f,v,M),this.children=i,this.afterTime=a,this.minimumTime=u,this.i18n=L}visit(i){return i.visitDeferredBlockLoading(this)}}class Gf extends Xo{constructor(i,a,u,p,f,v){super(a,u,p,f),this.children=i,this.i18n=v}visit(i){return i.visitDeferredBlockError(this)}}class zu extends Xo{constructor(i,a,u,p,f,v,M,L,O,V,Z,he){super(M,L,V,Z),this.children=i,this.placeholder=p,this.loading=f,this.error=v,this.mainBlockSpan=O,this.i18n=he,this.triggers=a,this.prefetchTriggers=u,this.definedTriggers=Object.keys(a),this.definedPrefetchTriggers=Object.keys(u)}visit(i){return i.visitDeferredBlock(this)}visitAll(i){this.visitTriggers(this.definedTriggers,this.triggers,i),this.visitTriggers(this.definedPrefetchTriggers,this.prefetchTriggers,i),ts(i,this.children);ts(i,[this.placeholder,this.loading,this.error].filter(u=>null!==u))}visitTriggers(i,a,u){ts(u,i.map(p=>a[p]))}}class Vl extends Xo{constructor(i,a,u,p,f,v,M){super(M,p,f,v),this.expression=i,this.cases=a,this.unknownBlocks=u}visit(i){return i.visitSwitchBlock(this)}}class Kf extends Xo{constructor(i,a,u,p,f,v,M){super(v,u,p,f),this.expression=i,this.children=a,this.i18n=M}visit(i){return i.visitSwitchBlockCase(this)}}class Th extends Xo{constructor(i,a,u,p,f,v,M,L,O,V,Z,he,ke){super(he,L,V,Z),this.item=i,this.expression=a,this.trackBy=u,this.trackKeywordSpan=p,this.contextVariables=f,this.children=v,this.empty=M,this.mainBlockSpan=O,this.i18n=ke}visit(i){return i.visitForLoopBlock(this)}}class Qn extends Xo{constructor(i,a,u,p,f,v){super(f,a,u,p),this.children=i,this.i18n=v}visit(i){return i.visitForLoopBlockEmpty(this)}}class Qf extends Xo{constructor(i,a,u,p,f){super(f,a,u,p),this.branches=i}visit(i){return i.visitIfBlock(this)}}class Ze extends Xo{constructor(i,a,u,p,f,v,M,L){super(M,p,f,v),this.expression=i,this.children=a,this.expressionAlias=u,this.i18n=L}visit(i){return i.visitIfBlockBranch(this)}}class Gi{constructor(i,a,u){this.name=i,this.sourceSpan=a,this.nameSpan=u}visit(i){return i.visitUnknownBlock(this)}}class rn{constructor(i,a,u,p,f){this.name=i,this.value=a,this.sourceSpan=u,this.nameSpan=p,this.valueSpan=f}visit(i){return i.visitLetDeclaration(this)}}class jn{constructor(i,a,u,p,f,v,M,L,O,V,Z,he){this.tagName=i,this.attributes=a,this.inputs=u,this.outputs=p,this.templateAttrs=f,this.children=v,this.references=M,this.variables=L,this.sourceSpan=O,this.startSourceSpan=V,this.endSourceSpan=Z,this.i18n=he}visit(i){return i.visitTemplate(this)}}class Es{constructor(i,a,u,p,f){this.selector=i,this.attributes=a,this.children=u,this.sourceSpan=p,this.i18n=f,this.name="ng-content"}visit(i){return i.visitContent(this)}}class Ki{constructor(i,a,u,p,f){this.name=i,this.value=a,this.sourceSpan=u,this.keySpan=p,this.valueSpan=f}visit(i){return i.visitVariable(this)}}class Ci{constructor(i,a,u,p,f){this.name=i,this.value=a,this.sourceSpan=u,this.keySpan=p,this.valueSpan=f}visit(i){return i.visitReference(this)}}class Xa{constructor(i,a,u,p){this.vars=i,this.placeholders=a,this.sourceSpan=u,this.i18n=p}visit(i){return i.visitIcu(this)}}function ts(l,i){const a=[];if(l.visit)for(const u of i)l.visit(u)||u.visit(l);else for(const u of i){const p=u.visit(l);p&&a.push(p)}return a}class br{constructor(i,a,u,p,f,v){this.nodes=i,this.placeholders=a,this.placeholderToMessage=u,this.meaning=p,this.description=f,this.customId=v,this.legacyIds=[],this.id=this.customId,this.messageString=function Zf(l){const i=new U_;return l.map(u=>u.visit(i)).join("")}(this.nodes),i.length?this.sources=[{filePath:i[0].sourceSpan.start.file.url,startLine:i[0].sourceSpan.start.line+1,startCol:i[0].sourceSpan.start.col+1,endLine:i[i.length-1].sourceSpan.end.line+1,endCol:i[0].sourceSpan.start.col+1}]:this.sources=[]}}class Zo{constructor(i,a){this.value=i,this.sourceSpan=a}visit(i,a){return i.visitText(this,a)}}class lr{constructor(i,a){this.children=i,this.sourceSpan=a}visit(i,a){return i.visitContainer(this,a)}}class Vc{constructor(i,a,u,p,f){this.expression=i,this.type=a,this.cases=u,this.sourceSpan=p,this.expressionPlaceholder=f}visit(i,a){return i.visitIcu(this,a)}}class Jo{constructor(i,a,u,p,f,v,M,L,O){this.tag=i,this.attrs=a,this.startName=u,this.closeName=p,this.children=f,this.isVoid=v,this.sourceSpan=M,this.startSourceSpan=L,this.endSourceSpan=O}visit(i,a){return i.visitTagPlaceholder(this,a)}}class ea{constructor(i,a,u){this.value=i,this.name=a,this.sourceSpan=u}visit(i,a){return i.visitPlaceholder(this,a)}}class Ca{constructor(i,a,u){this.value=i,this.name=a,this.sourceSpan=u}visit(i,a){return i.visitIcuPlaceholder(this,a)}}class Hl{constructor(i,a,u,p,f,v,M,L){this.name=i,this.parameters=a,this.startName=u,this.closeName=p,this.children=f,this.sourceSpan=v,this.startSourceSpan=M,this.endSourceSpan=L}visit(i,a){return i.visitBlockPlaceholder(this,a)}}class U_{visitText(i){return i.value}visitContainer(i){return i.children.map(a=>a.visit(this)).join("")}visitIcu(i){const a=Object.keys(i.cases).map(u=>`${u} {${i.cases[u].visit(this)}}`);return`{${i.expressionPlaceholder}, ${i.type}, ${a.join(" ")}}`}visitTagPlaceholder(i){const a=i.children.map(u=>u.visit(this)).join("");return`{$${i.startName}}${a}{$${i.closeName}}`}visitPlaceholder(i){return`{$${i.name}}`}visitIcuPlaceholder(i){return`{$${i.name}}`}visitBlockPlaceholder(i){const a=i.children.map(u=>u.visit(this)).join("");return`{$${i.startName}}${a}{$${i.closeName}}`}}new class Tw{visitTag(i){const a=this._serializeAttributes(i.attrs);if(0==i.children.length)return`<${i.name}${a}/>`;const u=i.children.map(p=>p.visit(this));return`<${i.name}${a}>${u.join("")}`}visitText(i){return i.value}visitDeclaration(i){return``}_serializeAttributes(i){const a=Object.keys(i).map(u=>`${u}="${i[u]}"`).join(" ");return a.length>0?" "+a:""}visitDoctype(i){return``}};function Lh(l){return l.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}const im="i18n",Ws="i18n-";function q_(l){return l===im||l.startsWith(Ws)}function Ma(l){return l.nodes[0]}function rm(l={},i){const a={};return l&&Object.keys(l).length&&Object.keys(l).forEach(u=>a[Gu(u,i)]=l[u]),a}function Gu(l,i=!0){const a=Lh(l);if(!i)return a;const u=a.split("_");if(1===u.length)return l.toLowerCase();let p;/^\d+$/.test(u[u.length-1])&&(p=u.pop());let f=u.shift().toLowerCase();return u.length&&(f+=u.map(v=>v.charAt(0).toUpperCase()+v.slice(1).toLowerCase()).join("")),p?`${f}_${p}`:f}const om=/[-.]/,Ve="_t",$l="ctx",Uc="rf";function _s(l,i){let a=null;return()=>(a||(l(new Fi(Ve,void 0,Nt)),a=Ct(i)),a)}function Je(l){return Array.isArray(l)?qt(l.map(Je)):ne(l,Bt)}function js(l,i){const a=Object.getOwnPropertyNames(l);return 0===a.length?null:mn(a.map(u=>{const p=l[u];let f,v,M,L;if("string"==typeof p)f=u,M=u,v=p,L=Je(v);else{M=u,f=p.classPropertyName,v=p.bindingPropertyName;const O=v!==f,V=null!==p.transformFunction;let Z=W.None;if(p.isSignal&&(Z|=W.SignalBased),V&&(Z|=W.HasDecoratorInputTransform),i&&(O||V||Z!==W.None)){const he=[ne(Z),Je(v)];(O||V)&&(he.push(Je(f)),V&&he.push(p.transformFunction)),L=qt(he)}else L=Je(v)}return{key:M,quoted:om.test(M),value:L}}))}class Fn{constructor(){this.values=[]}set(i,a){if(a){const u=this.values.find(p=>p.key===i);u?u.value=a:this.values.push({key:i,value:a,quoted:!1})}}toLiteralMap(){return mn(this.values)}}function Yi(l){const i=l instanceof Jr?l.name:"ng-template",a=function cr(l){const i={};return l instanceof jn&&"ng-template"!==l.tagName?l.templateAttrs.forEach(a=>i[a.name]=""):(l.attributes.forEach(a=>{q_(a.name)||(i[a.name]=a.value)}),l.inputs.forEach(a=>{(a.type===vn.Property||a.type===vn.TwoWay)&&(i[a.name]="")}),l.outputs.forEach(a=>{i[a.name]=""})),i}(l),u=new y,p=li(i)[1];return u.setElement(p),Object.getOwnPropertyNames(a).forEach(f=>{const v=li(f)[1],M=a[f];u.addAttribute(v,M),"class"===f.toLowerCase()&&M.trim().split(/\s+/).forEach(O=>u.addClassName(O))}),u}function zl(l,i){let a=null;const u={name:l.name,type:l.type,typeArgumentCount:l.typeArgumentCount,deps:[],target:Qr.Injectable};if(void 0!==l.useClass){const M=l.useClass.expression.isEquivalent(l.type.value);let L;void 0!==l.deps&&(L=l.deps),a=void 0!==L?oi({...u,delegate:l.useClass.expression,delegateDeps:L,delegateType:Pl.Class}):M?oi(u):{statements:[],expression:Js(l.type.value,l.useClass.expression,i)}}else a=void 0!==l.useFactory?void 0!==l.deps?oi({...u,delegate:l.useFactory,delegateDeps:l.deps||[],delegateType:Pl.Function}):{statements:[],expression:It([],l.useFactory.callFn([]))}:void 0!==l.useValue?oi({...u,expression:l.useValue.expression}):void 0!==l.useExisting?oi({...u,expression:je(te.inject).callFn([l.useExisting.expression])}):{statements:[],expression:Js(l.type.value,l.type.value,i)};const p=l.type.value,f=new Fn;return f.set("token",p),f.set("factory",a.expression),null!==l.providedIn.expression.value&&f.set("providedIn",ba(l.providedIn)),{expression:je(te.\u0275\u0275defineInjectable).callFn([f.toLiteralMap()],void 0,!0),type:ds(l),statements:a.statements}}function ds(l){return new kt(je(te.InjectableDeclaration,[Fc(l.type.type,l.typeArgumentCount)]))}function Js(l,i,a){if(l.node===i.node)return i.prop("\u0275fac");if(!a)return Mi(i);return Mi(je(te.resolveForwardRef).callFn([i]))}function Mi(l){const i=new Tt("__ngFactoryType__",Nt);return It([i],l.prop("\u0275fac").callFn([Ct(i.name)]))}const Yt=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];class Ku{static fromArray(i){return i?(function $c(l,i){if(null!=i&&(!Array.isArray(i)||2!=i.length))throw new Error(`Expected '${l}' to be an array, [start, end].`);if(null!=i){const a=i[0],u=i[1];Yt.forEach(p=>{if(p.test(a)||p.test(u))throw new Error(`['${a}', '${u}'] contains unusable interpolation symbol.`)})}}("interpolation",i),new Ku(i[0],i[1])):Bi}constructor(i,a){this.start=i,this.end=a}}const Bi=new Ku("{{","}}"),ys=new Set(["switch"]),Vs=0,Yr=9,Br=32,no=36,G_=48,Pw=57,Qu=65,Xu=70,Cn=90,_=91,A=93,U=95,ie=97,un=102,cm=122,ka=123,so=125,Q_=160;function kn(l){return l>=Yr&&l<=Br||l==Q_}function na(l){return G_<=l&&l<=Pw}function Ql(l){return l>=ie&&l<=cm||l>=Qu&&l<=Cn}function Nw(l){return 10===l||13===l}function Nh(l){return G_<=l&&l<=55}function Ta(l){return 39===l||34===l||96===l}class Vi{constructor(i,a,u,p){this.file=i,this.offset=a,this.line=u,this.col=p}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(i){const a=this.file.content,u=a.length;let p=this.offset,f=this.line,v=this.col;for(;p>0&&i<0;)if(p--,i++,10==a.charCodeAt(p)){f--;const L=a.substring(0,p-1).lastIndexOf(String.fromCharCode(10));v=L>0?p-L:p}else v--;for(;p0;){const M=a.charCodeAt(p);p++,i--,10==M?(f++,v=0):v++}return new Vi(this.file,p,f,v)}getContext(i,a){const u=this.file.content;let p=this.offset;if(null!=p){p>u.length-1&&(p=u.length-1);let f=p,v=0,M=0;for(;v0&&(p--,v++,"\n"!=u[p]||++M!=a););for(v=0,M=0;v]${i.after}")`:this.msg}toString(){const i=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${i}`}}let kE=0;function qc(l){return l.replace(/\W/g,"_")}const Z_='(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';class J_ extends Oc{constructor(){super(!1)}visitWrappedNodeExpr(i,a){throw new Error("Cannot emit a WrappedNodeExpr in Javascript.")}visitDeclareVarStmt(i,a){return a.print(i,`var ${i.name}`),i.value&&(a.print(i," = "),i.value.visitExpression(this,a)),a.println(i,";"),null}visitTaggedTemplateExpr(i,a){const u=i.template.elements;return i.tag.visitExpression(this,a),a.print(i,`(${Z_}(`),a.print(i,`[${u.map(p=>Li(p.text,!1)).join(", ")}], `),a.print(i,`[${u.map(p=>Li(p.rawText,!1)).join(", ")}])`),i.template.expressions.forEach(p=>{a.print(i,", "),p.visitExpression(this,a)}),a.print(i,")"),null}visitFunctionExpr(i,a){return a.print(i,`function${i.name?" "+i.name:""}(`),this._visitParams(i.params,a),a.println(i,") {"),a.incIndent(),this.visitAllStatements(i.statements,a),a.decIndent(),a.print(i,"}"),null}visitArrowFunctionExpr(i,a){if(a.print(i,"("),this._visitParams(i.params,a),a.print(i,") =>"),Array.isArray(i.body))a.println(i,"{"),a.incIndent(),this.visitAllStatements(i.body,a),a.decIndent(),a.print(i,"}");else{const u=i.body instanceof ms;u&&a.print(i,"("),i.body.visitExpression(this,a),u&&a.print(i,")")}return null}visitDeclareFunctionStmt(i,a){return a.print(i,`function ${i.name}(`),this._visitParams(i.params,a),a.println(i,") {"),a.incIndent(),this.visitAllStatements(i.statements,a),a.decIndent(),a.println(i,"}"),null}visitLocalizedString(i,a){a.print(i,`$localize(${Z_}(`);const u=[i.serializeI18nHead()];for(let p=1;pLi(p.cooked,!1)).join(", ")}], `),a.print(i,`[${u.map(p=>Li(p.raw,!1)).join(", ")}])`),i.expressions.forEach(p=>{a.print(i,", "),p.visitExpression(this,a)}),a.print(i,")"),null}_visitParams(i,a){this.visitAllObjects(u=>a.print(null,u.name),i,a,",")}}let Zu;function Zl(l){return function Yw(){if(void 0===Zu){const l=Ua.trustedTypes;if(Zu=null,l)try{Zu=l.createPolicy("angular#unsafe-jit",{createScript:i=>i})}catch{}}return Zu}()?.createScript(l)||l}function jt(...l){if(!Ua.trustedTypes)return new Function(...l);const u=`(function anonymous(${l.slice(0,-1).join(",")}\n) { ${l[l.length-1]}\n})`,p=Ua.eval(Zl(u));return void 0===p.bind?new Function(...l):(p.toString=()=>u,p.bind(Ua))}class um{evaluateStatements(i,a,u,p){const f=new Bw(u),v=P_.createRoot();return a.length>0&&!function IE(l){return l.isEquivalent(ne("use strict").toStmt())}(a[0])&&(a=[ne("use strict").toStmt(),...a]),f.visitAllStatements(a,v),f.createReturnStmt(v),this.evaluateCode(i,v,f.getArgs(),p)}evaluateCode(i,a,u,p){let f=`"use strict";${a.toSource()}\n//# sourceURL=${i}`;const v=[],M=[];for(const O in u)M.push(u[O]),v.push(O);if(p){const O=jt(...v.concat("return null;")).toString(),V=O.slice(0,O.indexOf("return null;")).split("\n").length-1;f+=`\n${a.toSourceMapGenerator(i,V).toJsComment()}`}const L=jt(...v.concat(f));return this.executeFunction(L,M)}executeFunction(i,a){return i(...a)}}class Bw extends J_{constructor(i){super(),this.refResolver=i,this._evalArgNames=[],this._evalArgValues=[],this._evalExportedVars=[]}createReturnStmt(i){new ri(new ms(this._evalExportedVars.map(u=>new ar(u,Ct(u),!1)))).visitStatement(this,i)}getArgs(){const i={};for(let a=0;a=0?(a="anonymous_"+kE++,i.__anonymousType=a):a=qc(a),a}({reference:a})||"val";this._evalArgNames.push(`jit_${f}_${p}`)}u.print(i,this._evalArgNames[p])}}function FP(l){const i=new Fn;null!==l.providers&&i.set("providers",l.providers),l.imports.length>0&&i.set("imports",qt(l.imports));return{expression:je(te.defineInjector).callFn([i.toLiteralMap()],void 0,!0),type:AE(l),statements:[]}}function AE(l){return new kt(je(te.InjectorDeclaration,[new kt(l.type.type)]))}class YP{constructor(i){this.context=i}resolveExternalReference(i){if("@angular/core"!==i.moduleName)throw new Error(`Cannot resolve external reference to ${i.moduleName}, only references to @angular/core are supported.`);if(!this.context.hasOwnProperty(i.name))throw new Error(`No value provided for @angular/core symbol '${i.name}'.`);return this.context[i.name]}}var dm,Ia,Gc;function Ju(l){const i=[],a=new Fn;if(a.set("type",l.type.value),l.kind===Ia.Global&&l.bootstrap.length>0&&a.set("bootstrap",Uo(l.bootstrap,l.containsForwardDecls)),l.selectorScopeMode===dm.Inline)l.declarations.length>0&&a.set("declarations",Uo(l.declarations,l.containsForwardDecls)),l.imports.length>0&&a.set("imports",Uo(l.imports,l.containsForwardDecls)),l.exports.length>0&&a.set("exports",Uo(l.exports,l.containsForwardDecls));else if(l.selectorScopeMode===dm.SideEffect){const f=function jP(l){const i=new Fn;if(l.kind===Ia.Global?l.declarations.length>0&&i.set("declarations",Uo(l.declarations,l.containsForwardDecls)):l.declarationsExpression&&i.set("declarations",l.declarationsExpression),l.kind===Ia.Global?l.imports.length>0&&i.set("imports",Uo(l.imports,l.containsForwardDecls)):l.importsExpression&&i.set("imports",l.importsExpression),l.kind===Ia.Global?l.exports.length>0&&i.set("exports",Uo(l.exports,l.containsForwardDecls)):l.exportsExpression&&i.set("exports",l.exportsExpression),l.kind===Ia.Local&&l.bootstrapExpression&&i.set("bootstrap",l.bootstrapExpression),0===Object.keys(i.values).length)return null;const a=new Nn(je(te.setNgModuleScope),[l.type.value,i.toLiteralMap()]),u=function $n(l){return Ch("ngJitMode",l)}(a),p=new or([],[u.toStmt()]);return new Nn(p,[]).toStmt()}(l);null!==f&&i.push(f)}null!==l.schemas&&l.schemas.length>0&&a.set("schemas",qt(l.schemas.map(f=>f.value))),null!==l.id&&(a.set("id",l.id),i.push(je(te.registerNgModuleType).callFn([l.type.value,l.id]).toStmt()));return{expression:je(te.defineNgModule).callFn([a.toLiteralMap()],void 0,!0),type:LE(l),statements:i}}function LE(l){if(l.kind===Ia.Local)return new kt(l.type.value);const{type:i,declarations:a,exports:u,imports:p,includeImportTypes:f,publicDeclarationTypes:v}=l;return new kt(je(te.NgModuleDeclaration,[new kt(i.type),null===v?jw(a):VP(v),f?jw(p):Dt,jw(u)]))}function jw(l){const i=l.map(a=>wn(a.type));return l.length>0?Ai(qt(i)):Dt}function VP(l){const i=l.map(a=>wn(a));return l.length>0?Ai(qt(i)):Dt}function De(l){const i=[];i.push({key:"name",value:ne(l.pipeName),quoted:!1}),i.push({key:"type",value:l.type.value,quoted:!1}),i.push({key:"pure",value:ne(l.pure),quoted:!1}),l.isStandalone&&i.push({key:"standalone",value:ne(!0),quoted:!1});return{expression:je(te.definePipe).callFn([mn(i)],void 0,!0),type:gn(l),statements:[]}}function gn(l){return new kt(je(te.PipeDeclaration,[Fc(l.type.type,l.typeArgumentCount),new kt(new Is(l.pipeName)),new kt(new Is(l.isStandalone))]))}!function(l){l[l.Inline=0]="Inline",l[l.SideEffect=1]="SideEffect",l[l.Omit=2]="Omit"}(dm||(dm={})),function(l){l[l.Global=0]="Global",l[l.Local=1]="Local"}(Ia||(Ia={})),function(l){l[l.Directive=0]="Directive",l[l.Pipe=1]="Pipe",l[l.NgModule=2]="NgModule"}(Gc||(Gc={}));const HP=new Set(["inherit","initial","revert","unset","alternate","alternate-reverse","normal","reverse","backwards","both","forwards","none","paused","running","ease","ease-in","ease-in-out","ease-out","linear","step-start","step-end","end","jump-both","jump-end","jump-none","jump-start","start"]),hs=["@media","@supports","@document","@layer","@container","@scope","@starting-style"];class Vw{constructor(){this._animationDeclarationKeyframesRe=/(^|\s+|,)(?:(?:(['"])((?:\\\\|\\\2|(?!\2).)+)\2)|(-?[A-Za-z][\w\-]*))(?=[,\s]|$)/g}shimCssText(i,a,u=""){const p=[];i=i.replace(Uw,M=>{if(M.match($w))p.push(M);else{const L=M.match($P);p.push((L?.join("")??"")+"\n")}return fm}),i=this._insertDirectives(i);const f=this._scopeCssText(i,a,u);let v=0;return f.replace(ty,()=>p[v++])}_insertDirectives(i){return i=this._insertPolyfillDirectivesInCssText(i),this._insertPolyfillRulesInCssText(i)}_scopeKeyframesRelatedCss(i,a){const u=new Set,p=sl(i,f=>this._scopeLocalKeyframeDeclarations(f,a,u));return sl(p,f=>this._scopeAnimationRule(f,a,u))}_scopeLocalKeyframeDeclarations(i,a,u){return{...i,selector:i.selector.replace(/(^@(?:-webkit-)?keyframes(?:\s+))(['"]?)(.+)\2(\s*)$/,(p,f,v,M,L)=>(u.add(Xw(M,v)),`${f}${v}${a}_${M}${v}${L}`))}}_scopeAnimationKeyframe(i,a,u){return i.replace(/^(\s*)(['"]?)(.+?)\2(\s*)$/,(p,f,v,M,L)=>`${f}${v}${M=`${u.has(Xw(M,v))?a+"_":""}${M}`}${v}${L}`)}_scopeAnimationRule(i,a,u){let p=i.content.replace(/((?:^|\s+|;)(?:-webkit-)?animation\s*:\s*),*([^;]+)/g,(f,v,M)=>v+M.replace(this._animationDeclarationKeyframesRe,(L,O,V="",Z,he)=>Z?`${O}${this._scopeAnimationKeyframe(`${V}${Z}${V}`,a,u)}`:HP.has(he)?L:`${O}${this._scopeAnimationKeyframe(he,a,u)}`));return p=p.replace(/((?:^|\s+|;)(?:-webkit-)?animation-name(?:\s*):(?:\s*))([^;]+)/g,(f,v,M)=>`${v}${M.split(",").map(L=>this._scopeAnimationKeyframe(L,a,u)).join(",")}`),{...i,content:p}}_insertPolyfillDirectivesInCssText(i){return i.replace(Aa,function(...a){return a[2]+"{"})}_insertPolyfillRulesInCssText(i){return i.replace(Hw,(...a)=>{const u=a[0].replace(a[1],"").replace(a[2],"");return a[4]+u})}_scopeCssText(i,a,u){const p=this._extractUnscopedRulesFromCssText(i);return i=this._insertPolyfillHostInCssText(i),i=this._convertColonHost(i),i=this._convertColonHostContext(i),i=this._convertShadowDOMSelectors(i),a&&(i=this._scopeKeyframesRelatedCss(i,a),i=this._scopeSelectors(i,a,u)),(i=i+"\n"+p).trim()}_extractUnscopedRulesFromCssText(i){let u,a="";for(ey.lastIndex=0;null!==(u=ey.exec(i));){a+=u[0].replace(u[2],"").replace(u[1],u[4])+"\n\n"}return a}_convertColonHost(i){return i.replace(OE,(a,u,p)=>{if(u){const f=[],v=u.split(",").map(M=>M.trim());for(const M of v){if(!M)break;const L=Ei+M.replace(pm,"")+p;f.push(L)}return f.join(",")}return Ei+p})}_convertColonHostContext(i){return i.replace(NE,a=>{const u=[[]];let p;for(;p=FE.exec(a);){const f=(p[1]??"").trim().split(",").map(M=>M.trim()).filter(M=>""!==M),v=u.length;mm(u,f.length);for(let M=0;Mfunction HE(l,i){const a=Ei;Fh.lastIndex=0;const u=Fh.test(i);if(0===l.length)return a+i;const p=[l.pop()||""];for(;l.length>0;){const f=p.length,v=l.pop();for(let M=0;Mu?`${f}${i}`:`${f}${a}${i}, ${f} ${a}${i}`).join(",")}(f,a)).join(", ")})}_convertShadowDOMSelectors(i){return YE.reduce((a,u)=>a.replace(u," "),i)}_scopeSelectors(i,a,u){return sl(i,p=>{let f=p.selector,v=p.content;return"@"!==p.selector[0]?f=this._scopeSelector(p.selector,a,u):hs.some(M=>p.selector.startsWith(M))?v=this._scopeSelectors(p.content,a,u):(p.selector.startsWith("@font-face")||p.selector.startsWith("@page"))&&(v=this._stripScopingSelectors(p.content)),new Hi(f,v)})}_stripScopingSelectors(i){return sl(i,a=>{const u=a.selector.replace(sa," ").replace(nl," ");return new Hi(u,a.content)})}_scopeSelector(i,a,u){return i.split(/ ?, ?/).map(p=>p.split(sa)).map(p=>{const[f,...v]=p;return[(L=>this._selectorNeedsScoping(L,a)?this._applySelectorScope(L,a,u):L)(f),...v].join(" ")}).join(", ")}_selectorNeedsScoping(i,a){return!this._makeScopeMatcher(a).test(i)}_makeScopeMatcher(i){return i=i.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+i+")"+Jl,"m")}_applySimpleSelectorScope(i,a,u){if(Fh.lastIndex=0,Fh.test(i)){const p=`[${u}]`;return i.replace(nl,(f,v)=>v.replace(/([^:]*)(:*)(.*)/,(M,L,O,V)=>L+p+O+V)).replace(Fh,p+" ")}return a+" "+i}_applySelectorScope(i,a,u){const f="["+(a=a.replace(/\[is=([^\]]*)\]/g,(et,...ct)=>ct[0]))+"]",v=et=>{let ct=et.trim();if(!ct)return et;if(et.includes(Ei))ct=this._applySimpleSelectorScope(et,a,u);else{const pt=et.replace(Fh,"");if(pt.length>0){const yn=pt.match(/([^:]*)(:*)(.*)/);yn&&(ct=yn[1]+f+yn[2]+yn[3])}}return ct},M=new hm(i);let V,L="",O=0;const Z=/( |>|\+|~(?!=))\s*/g;let ke=!(i=M.content()).includes(Ei);for(;null!==(V=Z.exec(i));){const et=V[1],ct=i.slice(O,V.index);if(ct.match(/__esc-ph-(\d+)__/)&&i[V.index+1]?.match(/[a-fA-F\d]/))continue;ke=ke||ct.includes(Ei);L+=`${ke?v(ct):ct} ${et} `,O=Z.lastIndex}const Be=i.substring(O);return ke=ke||Be.includes(Ei),L+=ke?v(Be):Be,M.restore(L)}_insertPolyfillHostInCssText(i){return i.replace(UP,PE).replace(BE,pm)}}class hm{constructor(i){this.placeholders=[],this.index=0,i=(i=this._escapeRegexMatches(i,/(\[[^\]]*\])/g)).replace(/(\\.)/g,(a,u)=>{const p=`__esc-ph-${this.index}__`;return this.placeholders.push(u),this.index++,p}),this._content=i.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(a,u,p)=>{const f=`__ph-${this.index}__`;return this.placeholders.push(p),this.index++,u+f})}restore(i){return i.replace(/__(?:ph|esc-ph)-(\d+)__/g,(a,u)=>this.placeholders[+u])}content(){return this._content}_escapeRegexMatches(i,a){return i.replace(a,(u,p)=>{const f=`__ph-${this.index}__`;return this.placeholders.push(p),this.index++,f})}}const Aa=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,Hw=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,ey=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,pm="-shadowcsshost",PE="-shadowcsscontext",RE="(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",OE=new RegExp(pm+RE,"gim"),NE=new RegExp(PE+RE,"gim"),FE=new RegExp(PE+RE,"im"),Ei=pm+"-no-combinator",nl=/-shadowcsshost-no-combinator([^\s]*)/,YE=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],sa=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,Jl="([>\\s~+[.,{:][\\s\\S]*)?$",Fh=/-shadowcsshost/gim,BE=/:host/gim,UP=/:host-context/gim,$P=/\r?\n/g,Uw=/\/\*[\s\S]*?\*\//g,$w=/\/\*\s*#\s*source(Mapping)?URL=/g,fm="%COMMENT%",ty=new RegExp(fm,"g"),zw="%BLOCK%",jE=new RegExp(`(\\s*(?:${fm}\\s*)*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))`,"g"),Ww=new Map([["{","}"]]),qw="%COMMA_IN_PLACEHOLDER%",Gw="%SEMI_IN_PLACEHOLDER%",Kw="%COLON_IN_PLACEHOLDER%",VE=new RegExp(qw,"g"),Qw=new RegExp(Gw,"g"),zP=new RegExp(Kw,"g");class Hi{constructor(i,a){this.selector=i,this.content=a}}function sl(l,i){const a=function GP(l){let i=l,a=null;for(let u=0;u{const M=v[2];let L="",O=v[4],V="";O&&O.startsWith("{"+zw)&&(L=u.blocks[p++],O=O.substring(zw.length+1),V="{");const Z=i(new Hi(M,L));return`${v[1]}${Z.selector}${v[3]}${V}${Z.content}${O}`}))}class Ps{constructor(i,a){this.escapedString=i,this.blocks=a}}const qP={";":Gw,",":qw,":":Kw};function Xw(l,i){return i?l.replace(/((?:^|[^\\])(?:\\\\)*)\\(?=['"])/g,"$1"):l}function mm(l,i){const a=l.length;for(let u=1;ua.isEquivalent(this.args[u])))}isConstant(){return!1}transformInternalExpressions(i,a){null!==this.body?this.body=Xe(this.body,i,a|Mn.InChildOperation):null!==this.fn&&(this.fn=Xe(this.fn,i,a));for(let u=0;ua.clone()));return i.fn=this.fn?.clone()??null,i.varOffset=this.varOffset,i}}class nu extends bs{constructor(i){super(),this.index=i,this.kind=rt.PureFunctionParameterExpr}visitExpression(){}isEquivalent(i){return i instanceof nu&&i.index===this.index}isConstant(){return!0}transformInternalExpressions(){}clone(){return new nu(this.index)}}class od extends bs{static#e=(nS=Yh,sS=ny);constructor(i,a,u,p){super(),this.target=i,this.targetSlot=a,this.name=u,this.args=p,this.kind=rt.PipeBinding,this[nS]=!0,this[sS]=!0,this.varOffset=null}visitExpression(i,a){for(const u of this.args)u.visitExpression(i,a)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(i,a){for(let u=0;ua.clone()));return i.varOffset=this.varOffset,i}}class vm extends bs{static#e=(nd=Yh,sd=ny);constructor(i,a,u,p,f){super(),this.target=i,this.targetSlot=a,this.name=u,this.args=p,this.numArgs=f,this.kind=rt.PipeBindingVariadic,this[nd]=!0,this[sd]=!0,this.varOffset=null}visitExpression(i,a){this.args.visitExpression(i,a)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(i,a){this.args=Xe(this.args,i,a)}clone(){const i=new vm(this.target,this.targetSlot,this.name,this.args.clone(),this.numArgs);return i.varOffset=this.varOffset,i}}class Uh extends bs{constructor(i,a){super(),this.receiver=i,this.name=a,this.kind=rt.SafePropertyRead}get index(){return this.name}visitExpression(i,a){this.receiver.visitExpression(i,a)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(i,a){this.receiver=Xe(this.receiver,i,a)}clone(){return new Uh(this.receiver.clone(),this.name)}}class $h extends bs{constructor(i,a,u){super(u),this.receiver=i,this.index=a,this.kind=rt.SafeKeyedRead}visitExpression(i,a){this.receiver.visitExpression(i,a),this.index.visitExpression(i,a)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(i,a){this.receiver=Xe(this.receiver,i,a),this.index=Xe(this.index,i,a)}clone(){return new $h(this.receiver.clone(),this.index.clone(),this.sourceSpan)}}class ks extends bs{constructor(i,a){super(),this.receiver=i,this.args=a,this.kind=rt.SafeInvokeFunction}visitExpression(i,a){this.receiver.visitExpression(i,a);for(const u of this.args)u.visitExpression(i,a)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(i,a){this.receiver=Xe(this.receiver,i,a);for(let u=0;ui.clone()))}}class ad extends bs{constructor(i,a){super(),this.guard=i,this.expr=a,this.kind=rt.SafeTernaryExpr}visitExpression(i,a){this.guard.visitExpression(i,a),this.expr.visitExpression(i,a)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(i,a){this.guard=Xe(this.guard,i,a),this.expr=Xe(this.expr,i,a)}clone(){return new ad(this.guard.clone(),this.expr.clone())}}class ld extends bs{constructor(){super(...arguments),this.kind=rt.EmptyExpr}visitExpression(i,a){}isEquivalent(i){return i instanceof ld}isConstant(){return!0}clone(){return new ld}transformInternalExpressions(){}}class as extends bs{constructor(i,a){super(),this.expr=i,this.xref=a,this.kind=rt.AssignTemporaryExpr,this.name=null}visitExpression(i,a){this.expr.visitExpression(i,a)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(i,a){this.expr=Xe(this.expr,i,a)}clone(){const i=new as(this.expr.clone(),this.xref);return i.name=this.name,i}}class su extends bs{constructor(i){super(),this.xref=i,this.kind=rt.ReadTemporaryExpr,this.name=null}visitExpression(i,a){}isEquivalent(){return this.xref==this.xref}isConstant(){return!1}transformInternalExpressions(i,a){}clone(){const i=new su(this.xref);return i.name=this.name,i}}class bm extends bs{constructor(i){super(),this.slot=i,this.kind=rt.SlotLiteralExpr}visitExpression(i,a){}isEquivalent(i){return i instanceof bm&&i.slot===this.slot}isConstant(){return!0}clone(){return new bm(this.slot)}transformInternalExpressions(){}}class ly extends bs{constructor(i,a,u,p=null){super(),this.expr=i,this.target=a,this.targetSlot=u,this.alias=p,this.kind=rt.ConditionalCase}visitExpression(i,a){null!==this.expr&&this.expr.visitExpression(i,a)}isEquivalent(i){return i instanceof ly&&i.expr===this.expr}isConstant(){return!0}clone(){return new ly(this.expr,this.target,this.targetSlot)}transformInternalExpressions(i,a){null!==this.expr&&(this.expr=Xe(this.expr,i,a))}}class cd extends bs{constructor(i){super(),this.expr=i,this.kind=rt.ConstCollected}transformInternalExpressions(i,a){this.expr=i(this.expr,a)}visitExpression(i,a){this.expr.visitExpression(i,a)}isEquivalent(i){return i instanceof cd&&this.expr.isEquivalent(i.expr)}isConstant(){return this.expr.isConstant()}clone(){return new cd(this.expr)}}function Cr(l,i){ei(l,(a,u)=>(i(a,u),a),Mn.None)}function cy(l,i,a){for(let u=0;uXe(u,i,a));else if(l instanceof Kr)if(Array.isArray(l.body))for(let u=0;u",He.Bigger],[">=",He.BiggerEquals],["|",He.BitwiseOr],["&",He.BitwiseAnd],["/",He.Divide],["==",He.Equals],["===",He.Identical],["<",He.Lower],["<=",He.LowerEquals],["-",He.Minus],["%",He.Modulo],["*",He.Multiply],["!=",He.NotEquals],["!==",He.NotIdentical],["??",He.NullishCoalesce],["||",He.Or],["+",He.Plus]]);function c2(l){const i=new Map([["svg",ui.SVG],["math",ui.Math]]);return null===l?ui.HTML:i.get(l)??ui.HTML}function qh(l,i){return i===ui.HTML?l:`:${function Mr(l){const i=new Map([["svg",ui.SVG],["math",ui.Math]]);for(const[a,u]of i.entries())if(u===l)return a;return null}(i)}:${l}`}function hd(l){return Array.isArray(l)?qt(l.map(hd)):ne(l)}function ax(l,i,a){const u=i.get(a);if(void 0!==u){const p=pS(u);if(p.entries.length>0)return l.addConst(p)}return null}const pd=Object.freeze([]);class u2{get attributes(){return this.byKind.get(ot.Attribute)??pd}get classes(){return this.byKind.get(ot.ClassName)??pd}get styles(){return this.byKind.get(ot.StyleProperty)??pd}get bindings(){return this.propertyBindings??pd}get template(){return this.byKind.get(ot.Template)??pd}get i18n(){return this.byKind.get(ot.I18n)??pd}constructor(i){this.compatibility=i,this.known=new Map,this.byKind=new Map,this.propertyBindings=null,this.projectAs=null}isKnown(i,a){const u=this.known.get(i)??new Set;return this.known.set(i,u),!!u.has(a)||(u.add(a),!1)}add(i,a,u,p,f){if((this.compatibility!==ur.TemplateDefinitionBuilder||i!==ot.Attribute&&i!==ot.ClassName&&i!==ot.StyleProperty)&&this.isKnown(i,a))return;if("ngProjectAs"===a){if(null===u||!(u instanceof Is)||null==u.value||"string"!=typeof u.value?.toString())throw Error("ngProjectAs must have a string literal value");this.projectAs=u.value.toString()}const M=this.arrayFor(i);if(M.push(...function lx(l,i){const a=ne(i);return l?[ne(0),ne(l),a]:[a]}(p,a)),i===ot.Attribute||i===ot.StyleProperty){if(null===u)throw Error("Attribute, i18n attribute, & style element attributes must have a value");if(null!==f){if(!oo(u))throw Error("AssertionError: extracted attribute value should be string literal");M.push(Nr(f,new Zn([new ht(u.value)],[]),void 0,u.sourceSpan))}else M.push(u)}}arrayFor(i){return i===ot.Property||i===ot.TwoWayProperty?(this.propertyBindings??=[],this.propertyBindings):(this.byKind.has(i)||this.byKind.set(i,[]),this.byKind.get(i))}}function pS({attributes:l,bindings:i,classes:a,i18n:u,projectAs:p,styles:f,template:v}){const M=[...l];if(null!==p){const L=Fe(p)[0];M.push(ne(5),hd(L))}return a.length>0&&M.push(ne(1),...a),f.length>0&&M.push(ne(2),...f),i.length>0&&M.push(ne(3),...i),v.length>0&&M.push(ne(4),...v),u.length>0&&M.push(ne(6),...u),qt(M)}class dx{constructor(){this.targets=new Map}}const hx=new Map([[B.ElementEnd,[B.ElementStart,B.Element]],[B.ContainerEnd,[B.ContainerStart,B.Container]],[B.I18nEnd,[B.I18nStart,B.I18n]]]),gy=new Set([B.Pipe]);[Nn,Ls,ms,ks,od].map(l=>l.constructor.name);function Eo(l){return l instanceof As?Eo(l.expr):l instanceof Wt?Eo(l.lhs)||Eo(l.rhs):l instanceof yr?!(!l.falseCase||!Eo(l.falseCase))||(Eo(l.condition)||Eo(l.trueCase)):l instanceof Ii?Eo(l.condition):l instanceof as?Eo(l.expr):l instanceof Ds?Eo(l.receiver):l instanceof Jn?Eo(l.receiver)||Eo(l.index):l instanceof Nn||l instanceof Ls||l instanceof ms||l instanceof ks||l instanceof od}function Gh(l,i,a){let u;if(Eo(l)){const p=a.job.allocateXrefId();u=[new as(l,p),new su(p)]}else u=[l,l.clone()],function _2(l,i,a){return Xe(l,u=>{if(u instanceof as&&i.has(u.xref)){const p=new su(u.xref);return a.job.compatibility===ur.TemplateDefinitionBuilder?new as(p,p.xref):p}return u},Mn.None),l}(u[1],function g2(l){const i=new Set;return Xe(l,a=>(a instanceof as&&i.add(a.xref),a),Mn.None),i}(u[0]),a);return new ad(u[0],i(u[1]))}function v2(l){return function y2(l){return l instanceof Uh||l instanceof $h||l instanceof ks}(l)||function mx(l){return l instanceof Ds||l instanceof Jn||l instanceof Nn}(l)}function b2(l,i){if(!v2(l))return l;const a=function gx(l){if(v2(l)&&l.receiver instanceof ad){let i=l.receiver;for(;i.expr instanceof ad;)i=i.expr;return i}return null}(l);if(a){if(l instanceof Nn)return a.expr=a.expr.callFn(l.args),l.receiver;if(l instanceof Ds)return a.expr=a.expr.prop(l.name),l.receiver;if(l instanceof Jn)return a.expr=a.expr.key(l.index),l.receiver;if(l instanceof ks)return a.expr=Gh(a.expr,u=>u.callFn(l.args),i),l.receiver;if(l instanceof Uh)return a.expr=Gh(a.expr,u=>u.prop(l.name),i),l.receiver;if(l instanceof $h)return a.expr=Gh(a.expr,u=>u.key(l.index),i),l.receiver}else{if(l instanceof ks)return Gh(l.receiver,u=>u.callFn(l.args),i);if(l instanceof Uh)return Gh(l.receiver,u=>u.prop(l.name),i);if(l instanceof $h)return Gh(l.receiver,u=>u.key(l.index),i)}return l}function w2(l){return l instanceof ad?new yr(new Wt(He.Equals,l.guard,Va),Va,l.expr):l}const S2="\ufffd",D2="#",_x="*",fS="/",C2=":",ru="[",fd="]",M2="|";function zr(l,i,a){let u=_y(i.params);const p=_y(i.postprocessingParams);let f=[...i.params.values()].some(v=>v.length>1);return function ex(l,i,a,u,p,f,v,M){return{kind:B.I18nMessage,xref:l,i18nContext:i,i18nBlock:a,message:u,messagePlaceholder:p,params:f,postprocessingParams:v,needsPostprocessing:M,subMessages:[],...Zt}}(l.allocateXrefId(),i.xref,i.i18nBlock,i.message,a??null,u,p,f)}function pV(l){if(l.strings.length!==l.expressionPlaceholders.length+1)throw Error(`AssertionError: Invalid ICU placeholder with ${l.strings.length} strings and ${l.expressionPlaceholders.length} expressions`);const i=l.expressionPlaceholders.map(md);return l.strings.flatMap((a,u)=>[a,i[u]||""]).join("")}function _y(l){const i=new Map;for(const[a,u]of l){const p=mS(u);null!==p&&i.set(a,ne(p))}return i}function mS(l){if(0===l.length)return null;const i=l.map(a=>md(a));return 1===i.length?i[0]:`${ru}${i.join(M2)}${fd}`}function md(l){if(l.flags&rs.ElementTag&&l.flags&rs.TemplateTag){if("object"!=typeof l.value)throw Error("AssertionError: Expected i18n param value to have an element and template slot");const p=md({...l,value:l.value.element,flags:l.flags&~rs.TemplateTag}),f=md({...l,value:l.value.template,flags:l.flags&~rs.ElementTag});return l.flags&rs.OpenTag&&l.flags&rs.CloseTag?`${f}${p}${f}`:l.flags&rs.CloseTag?`${p}${f}`:`${f}${p}`}if(l.flags&rs.OpenTag&&l.flags&rs.CloseTag)return`${md({...l,flags:l.flags&~rs.CloseTag})}${md({...l,flags:l.flags&~rs.OpenTag})}`;if(l.flags===rs.None)return`${l.value}`;let i="",a="";l.flags&rs.ElementTag?i=D2:l.flags&rs.TemplateTag&&(i=_x),""!==i&&(a=l.flags&rs.CloseTag?fS:"");const u=null===l.subTemplateIndex?"":`${C2}${l.subTemplateIndex}`;return`${S2}${a}${i}${l.value}${u}${S2}`}function ol(l,i){const a=function x2(l,i){const a={view:l.xref,viewContextVariable:{kind:ci.Context,name:null,view:l.xref},contextVariables:new Map,aliases:l.aliases,references:[],letDeclarations:[],parent:i};for(const u of l.contextVariables.keys())a.contextVariables.set(u,{kind:ci.Identifier,name:null,identifier:u,local:!1});for(const u of l.create)switch(u.kind){case B.ElementStart:case B.Template:if(!Array.isArray(u.localRefs))throw new Error("AssertionError: expected localRefs to be an array");for(let p=0;pi.charAt(0)+"-"+i.charAt(1)).toLowerCase()}function gd(l){const i=l.indexOf("!important");-1!==i&&(l=i>0?l.substring(0,i):"");let a=null,u=l;const p=l.lastIndexOf(".");return p>0&&(a=l.slice(p+1),u=l.substring(0,p)),{property:u,suffix:a}}function vS(l,i=!1){return mn(Object.keys(l).map(a=>({key:a,quoted:i,value:l[a]})))}const Tm=new class bS{visitText(i){return i.value}visitContainer(i){return i.children.map(a=>a.visit(this)).join("")}visitIcu(i){const a=Object.keys(i.cases).map(p=>`${p} {${i.cases[p].visit(this)}}`);return`{${i.expressionPlaceholder}, ${i.type}, ${a.join(" ")}}`}visitTagPlaceholder(i){return i.isVoid?this.formatPh(i.startName):`${this.formatPh(i.startName)}${i.children.map(a=>a.visit(this)).join("")}${this.formatPh(i.closeName)}`}visitPlaceholder(i){return this.formatPh(i.name)}visitBlockPlaceholder(i){return`${this.formatPh(i.startName)}${i.children.map(a=>a.visit(this)).join("")}${this.formatPh(i.closeName)}`}visitIcuPlaceholder(i,a){return this.formatPh(i.name)}formatPh(i){return`{${Gu(i,!1)}}`}};function wx(l){return l.visit(Tm)}class _d{constructor(i,a){this.sourceSpan=i,this.i18n=a}}class Xh extends _d{constructor(i,a,u,p){super(a,p),this.value=i,this.tokens=u}visit(i,a){return i.visitText(this,a)}}class Zh extends _d{constructor(i,a,u,p,f,v){super(p,v),this.switchValue=i,this.type=a,this.cases=u,this.switchValueSourceSpan=f}visit(i,a){return i.visitExpansion(this,a)}}class Im{constructor(i,a,u,p,f){this.value=i,this.expression=a,this.sourceSpan=u,this.valueSourceSpan=p,this.expSourceSpan=f}visit(i,a){return i.visitExpansionCase(this,a)}}class Am extends _d{constructor(i,a,u,p,f,v,M){super(u,M),this.name=i,this.value=a,this.keySpan=p,this.valueSpan=f,this.valueTokens=v}visit(i,a){return i.visitAttribute(this,a)}}class aa extends _d{constructor(i,a,u,p,f,v=null,M){super(p,M),this.name=i,this.attrs=a,this.children=u,this.startSourceSpan=f,this.endSourceSpan=v}visit(i,a){return i.visitElement(this,a)}}class Jh{constructor(i,a){this.value=i,this.sourceSpan=a}visit(i,a){return i.visitComment(this,a)}}class Wr extends _d{constructor(i,a,u,p,f,v,M=null,L){super(p,L),this.name=i,this.parameters=a,this.children=u,this.nameSpan=f,this.startSourceSpan=v,this.endSourceSpan=M}visit(i,a){return i.visitBlock(this,a)}}class wS{constructor(i,a){this.expression=i,this.sourceSpan=a}visit(i,a){return i.visitBlockParameter(this,a)}}class vy{constructor(i,a,u,p,f){this.name=i,this.value=a,this.sourceSpan=u,this.nameSpan=p,this.valueSpan=f}visit(i,a){return i.visitLetDeclaration(this,a)}}function Ft(l,i,a=null){const u=[],p=l.visit?f=>l.visit(f,a)||f.visit(l,a):f=>f.visit(l,a);return i.forEach(f=>{const v=p(f);v&&u.push(v)}),u}const SS={AElig:"\xc6",AMP:"&",amp:"&",Aacute:"\xc1",Abreve:"\u0102",Acirc:"\xc2",Acy:"\u0410",Afr:"\u{1d504}",Agrave:"\xc0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2a53",Aogon:"\u0104",Aopf:"\u{1d538}",ApplyFunction:"\u2061",af:"\u2061",Aring:"\xc5",angst:"\xc5",Ascr:"\u{1d49c}",Assign:"\u2254",colone:"\u2254",coloneq:"\u2254",Atilde:"\xc3",Auml:"\xc4",Backslash:"\u2216",setminus:"\u2216",setmn:"\u2216",smallsetminus:"\u2216",ssetmn:"\u2216",Barv:"\u2ae7",Barwed:"\u2306",doublebarwedge:"\u2306",Bcy:"\u0411",Because:"\u2235",becaus:"\u2235",because:"\u2235",Bernoullis:"\u212c",Bscr:"\u212c",bernou:"\u212c",Beta:"\u0392",Bfr:"\u{1d505}",Bopf:"\u{1d539}",Breve:"\u02d8",breve:"\u02d8",Bumpeq:"\u224e",HumpDownHump:"\u224e",bump:"\u224e",CHcy:"\u0427",COPY:"\xa9",copy:"\xa9",Cacute:"\u0106",Cap:"\u22d2",CapitalDifferentialD:"\u2145",DD:"\u2145",Cayleys:"\u212d",Cfr:"\u212d",Ccaron:"\u010c",Ccedil:"\xc7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010a",Cedilla:"\xb8",cedil:"\xb8",CenterDot:"\xb7",centerdot:"\xb7",middot:"\xb7",Chi:"\u03a7",CircleDot:"\u2299",odot:"\u2299",CircleMinus:"\u2296",ominus:"\u2296",CirclePlus:"\u2295",oplus:"\u2295",CircleTimes:"\u2297",otimes:"\u2297",ClockwiseContourIntegral:"\u2232",cwconint:"\u2232",CloseCurlyDoubleQuote:"\u201d",rdquo:"\u201d",rdquor:"\u201d",CloseCurlyQuote:"\u2019",rsquo:"\u2019",rsquor:"\u2019",Colon:"\u2237",Proportion:"\u2237",Colone:"\u2a74",Congruent:"\u2261",equiv:"\u2261",Conint:"\u222f",DoubleContourIntegral:"\u222f",ContourIntegral:"\u222e",conint:"\u222e",oint:"\u222e",Copf:"\u2102",complexes:"\u2102",Coproduct:"\u2210",coprod:"\u2210",CounterClockwiseContourIntegral:"\u2233",awconint:"\u2233",Cross:"\u2a2f",Cscr:"\u{1d49e}",Cup:"\u22d3",CupCap:"\u224d",asympeq:"\u224d",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040f",Dagger:"\u2021",ddagger:"\u2021",Darr:"\u21a1",Dashv:"\u2ae4",DoubleLeftTee:"\u2ae4",Dcaron:"\u010e",Dcy:"\u0414",Del:"\u2207",nabla:"\u2207",Delta:"\u0394",Dfr:"\u{1d507}",DiacriticalAcute:"\xb4",acute:"\xb4",DiacriticalDot:"\u02d9",dot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",dblac:"\u02dd",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"\u02dc",tilde:"\u02dc",Diamond:"\u22c4",diam:"\u22c4",diamond:"\u22c4",DifferentialD:"\u2146",dd:"\u2146",Dopf:"\u{1d53b}",Dot:"\xa8",DoubleDot:"\xa8",die:"\xa8",uml:"\xa8",DotDot:"\u20dc",DotEqual:"\u2250",doteq:"\u2250",esdot:"\u2250",DoubleDownArrow:"\u21d3",Downarrow:"\u21d3",dArr:"\u21d3",DoubleLeftArrow:"\u21d0",Leftarrow:"\u21d0",lArr:"\u21d0",DoubleLeftRightArrow:"\u21d4",Leftrightarrow:"\u21d4",hArr:"\u21d4",iff:"\u21d4",DoubleLongLeftArrow:"\u27f8",Longleftarrow:"\u27f8",xlArr:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",Longleftrightarrow:"\u27fa",xhArr:"\u27fa",DoubleLongRightArrow:"\u27f9",Longrightarrow:"\u27f9",xrArr:"\u27f9",DoubleRightArrow:"\u21d2",Implies:"\u21d2",Rightarrow:"\u21d2",rArr:"\u21d2",DoubleRightTee:"\u22a8",vDash:"\u22a8",DoubleUpArrow:"\u21d1",Uparrow:"\u21d1",uArr:"\u21d1",DoubleUpDownArrow:"\u21d5",Updownarrow:"\u21d5",vArr:"\u21d5",DoubleVerticalBar:"\u2225",par:"\u2225",parallel:"\u2225",shortparallel:"\u2225",spar:"\u2225",DownArrow:"\u2193",ShortDownArrow:"\u2193",darr:"\u2193",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",duarr:"\u21f5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",leftharpoondown:"\u21bd",lhard:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",rhard:"\u21c1",rightharpoondown:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",top:"\u22a4",DownTeeArrow:"\u21a7",mapstodown:"\u21a7",Dscr:"\u{1d49f}",Dstrok:"\u0110",ENG:"\u014a",ETH:"\xd0",Eacute:"\xc9",Ecaron:"\u011a",Ecirc:"\xca",Ecy:"\u042d",Edot:"\u0116",Efr:"\u{1d508}",Egrave:"\xc8",Element:"\u2208",in:"\u2208",isin:"\u2208",isinv:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25fb",EmptyVerySmallSquare:"\u25ab",Eogon:"\u0118",Eopf:"\u{1d53c}",Epsilon:"\u0395",Equal:"\u2a75",EqualTilde:"\u2242",eqsim:"\u2242",esim:"\u2242",Equilibrium:"\u21cc",rightleftharpoons:"\u21cc",rlhar:"\u21cc",Escr:"\u2130",expectation:"\u2130",Esim:"\u2a73",Eta:"\u0397",Euml:"\xcb",Exists:"\u2203",exist:"\u2203",ExponentialE:"\u2147",ee:"\u2147",exponentiale:"\u2147",Fcy:"\u0424",Ffr:"\u{1d509}",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",blacksquare:"\u25aa",squarf:"\u25aa",squf:"\u25aa",Fopf:"\u{1d53d}",ForAll:"\u2200",forall:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",gt:">",Gamma:"\u0393",Gammad:"\u03dc",Gbreve:"\u011e",Gcedil:"\u0122",Gcirc:"\u011c",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1d50a}",Gg:"\u22d9",ggg:"\u22d9",Gopf:"\u{1d53e}",GreaterEqual:"\u2265",ge:"\u2265",geq:"\u2265",GreaterEqualLess:"\u22db",gel:"\u22db",gtreqless:"\u22db",GreaterFullEqual:"\u2267",gE:"\u2267",geqq:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",gl:"\u2277",gtrless:"\u2277",GreaterSlantEqual:"\u2a7e",geqslant:"\u2a7e",ges:"\u2a7e",GreaterTilde:"\u2273",gsim:"\u2273",gtrsim:"\u2273",Gscr:"\u{1d4a2}",Gt:"\u226b",NestedGreaterGreater:"\u226b",gg:"\u226b",HARDcy:"\u042a",Hacek:"\u02c7",caron:"\u02c7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210c",Poincareplane:"\u210c",HilbertSpace:"\u210b",Hscr:"\u210b",hamilt:"\u210b",Hopf:"\u210d",quaternions:"\u210d",HorizontalLine:"\u2500",boxh:"\u2500",Hstrok:"\u0126",HumpEqual:"\u224f",bumpe:"\u224f",bumpeq:"\u224f",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xcd",Icirc:"\xce",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Im:"\u2111",image:"\u2111",imagpart:"\u2111",Igrave:"\xcc",Imacr:"\u012a",ImaginaryI:"\u2148",ii:"\u2148",Int:"\u222c",Integral:"\u222b",int:"\u222b",Intersection:"\u22c2",bigcap:"\u22c2",xcap:"\u22c2",InvisibleComma:"\u2063",ic:"\u2063",InvisibleTimes:"\u2062",it:"\u2062",Iogon:"\u012e",Iopf:"\u{1d540}",Iota:"\u0399",Iscr:"\u2110",imagline:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xcf",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1d50d}",Jopf:"\u{1d541}",Jscr:"\u{1d4a5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040c",Kappa:"\u039a",Kcedil:"\u0136",Kcy:"\u041a",Kfr:"\u{1d50e}",Kopf:"\u{1d542}",Kscr:"\u{1d4a6}",LJcy:"\u0409",LT:"<",lt:"<",Lacute:"\u0139",Lambda:"\u039b",Lang:"\u27ea",Laplacetrf:"\u2112",Lscr:"\u2112",lagran:"\u2112",Larr:"\u219e",twoheadleftarrow:"\u219e",Lcaron:"\u013d",Lcedil:"\u013b",Lcy:"\u041b",LeftAngleBracket:"\u27e8",lang:"\u27e8",langle:"\u27e8",LeftArrow:"\u2190",ShortLeftArrow:"\u2190",larr:"\u2190",leftarrow:"\u2190",slarr:"\u2190",LeftArrowBar:"\u21e4",larrb:"\u21e4",LeftArrowRightArrow:"\u21c6",leftrightarrows:"\u21c6",lrarr:"\u21c6",LeftCeiling:"\u2308",lceil:"\u2308",LeftDoubleBracket:"\u27e6",lobrk:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",dharl:"\u21c3",downharpoonleft:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",lfloor:"\u230a",LeftRightArrow:"\u2194",harr:"\u2194",leftrightarrow:"\u2194",LeftRightVector:"\u294e",LeftTee:"\u22a3",dashv:"\u22a3",LeftTeeArrow:"\u21a4",mapstoleft:"\u21a4",LeftTeeVector:"\u295a",LeftTriangle:"\u22b2",vartriangleleft:"\u22b2",vltri:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",ltrie:"\u22b4",trianglelefteq:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",uharl:"\u21bf",upharpoonleft:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",leftharpoonup:"\u21bc",lharu:"\u21bc",LeftVectorBar:"\u2952",LessEqualGreater:"\u22da",leg:"\u22da",lesseqgtr:"\u22da",LessFullEqual:"\u2266",lE:"\u2266",leqq:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",lg:"\u2276",LessLess:"\u2aa1",LessSlantEqual:"\u2a7d",leqslant:"\u2a7d",les:"\u2a7d",LessTilde:"\u2272",lesssim:"\u2272",lsim:"\u2272",Lfr:"\u{1d50f}",Ll:"\u22d8",Lleftarrow:"\u21da",lAarr:"\u21da",Lmidot:"\u013f",LongLeftArrow:"\u27f5",longleftarrow:"\u27f5",xlarr:"\u27f5",LongLeftRightArrow:"\u27f7",longleftrightarrow:"\u27f7",xharr:"\u27f7",LongRightArrow:"\u27f6",longrightarrow:"\u27f6",xrarr:"\u27f6",Lopf:"\u{1d543}",LowerLeftArrow:"\u2199",swarr:"\u2199",swarrow:"\u2199",LowerRightArrow:"\u2198",searr:"\u2198",searrow:"\u2198",Lsh:"\u21b0",lsh:"\u21b0",Lstrok:"\u0141",Lt:"\u226a",NestedLessLess:"\u226a",ll:"\u226a",Map:"\u2905",Mcy:"\u041c",MediumSpace:"\u205f",Mellintrf:"\u2133",Mscr:"\u2133",phmmat:"\u2133",Mfr:"\u{1d510}",MinusPlus:"\u2213",mnplus:"\u2213",mp:"\u2213",Mopf:"\u{1d544}",Mu:"\u039c",NJcy:"\u040a",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041d",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",ZeroWidthSpace:"\u200b",NewLine:"\n",Nfr:"\u{1d511}",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nbsp:"\xa0",Nopf:"\u2115",naturals:"\u2115",Not:"\u2aec",NotCongruent:"\u2262",nequiv:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",npar:"\u2226",nparallel:"\u2226",nshortparallel:"\u2226",nspar:"\u2226",NotElement:"\u2209",notin:"\u2209",notinva:"\u2209",NotEqual:"\u2260",ne:"\u2260",NotEqualTilde:"\u2242\u0338",nesim:"\u2242\u0338",NotExists:"\u2204",nexist:"\u2204",nexists:"\u2204",NotGreater:"\u226f",ngt:"\u226f",ngtr:"\u226f",NotGreaterEqual:"\u2271",nge:"\u2271",ngeq:"\u2271",NotGreaterFullEqual:"\u2267\u0338",ngE:"\u2267\u0338",ngeqq:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",nGtv:"\u226b\u0338",NotGreaterLess:"\u2279",ntgl:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",NotGreaterTilde:"\u2275",ngsim:"\u2275",NotHumpDownHump:"\u224e\u0338",nbump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",nbumpe:"\u224f\u0338",NotLeftTriangle:"\u22ea",nltri:"\u22ea",ntriangleleft:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",nltrie:"\u22ec",ntrianglelefteq:"\u22ec",NotLess:"\u226e",nless:"\u226e",nlt:"\u226e",NotLessEqual:"\u2270",nle:"\u2270",nleq:"\u2270",NotLessGreater:"\u2278",ntlg:"\u2278",NotLessLess:"\u226a\u0338",nLtv:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",NotLessTilde:"\u2274",nlsim:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",NotPrecedes:"\u2280",npr:"\u2280",nprec:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",npre:"\u2aaf\u0338",npreceq:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",nprcue:"\u22e0",NotReverseElement:"\u220c",notni:"\u220c",notniva:"\u220c",NotRightTriangle:"\u22eb",nrtri:"\u22eb",ntriangleright:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",nrtrie:"\u22ed",ntrianglerighteq:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",nsqsube:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",nsqsupe:"\u22e3",NotSubset:"\u2282\u20d2",nsubset:"\u2282\u20d2",vnsub:"\u2282\u20d2",NotSubsetEqual:"\u2288",nsube:"\u2288",nsubseteq:"\u2288",NotSucceeds:"\u2281",nsc:"\u2281",nsucc:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",nsce:"\u2ab0\u0338",nsucceq:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",nsccue:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",nsupset:"\u2283\u20d2",vnsup:"\u2283\u20d2",NotSupersetEqual:"\u2289",nsupe:"\u2289",nsupseteq:"\u2289",NotTilde:"\u2241",nsim:"\u2241",NotTildeEqual:"\u2244",nsime:"\u2244",nsimeq:"\u2244",NotTildeFullEqual:"\u2247",ncong:"\u2247",NotTildeTilde:"\u2249",nap:"\u2249",napprox:"\u2249",NotVerticalBar:"\u2224",nmid:"\u2224",nshortmid:"\u2224",nsmid:"\u2224",Nscr:"\u{1d4a9}",Ntilde:"\xd1",Nu:"\u039d",OElig:"\u0152",Oacute:"\xd3",Ocirc:"\xd4",Ocy:"\u041e",Odblac:"\u0150",Ofr:"\u{1d512}",Ograve:"\xd2",Omacr:"\u014c",Omega:"\u03a9",ohm:"\u03a9",Omicron:"\u039f",Oopf:"\u{1d546}",OpenCurlyDoubleQuote:"\u201c",ldquo:"\u201c",OpenCurlyQuote:"\u2018",lsquo:"\u2018",Or:"\u2a54",Oscr:"\u{1d4aa}",Oslash:"\xd8",Otilde:"\xd5",Otimes:"\u2a37",Ouml:"\xd6",OverBar:"\u203e",oline:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",tbrk:"\u23b4",OverParenthesis:"\u23dc",PartialD:"\u2202",part:"\u2202",Pcy:"\u041f",Pfr:"\u{1d513}",Phi:"\u03a6",Pi:"\u03a0",PlusMinus:"\xb1",plusmn:"\xb1",pm:"\xb1",Popf:"\u2119",primes:"\u2119",Pr:"\u2abb",Precedes:"\u227a",pr:"\u227a",prec:"\u227a",PrecedesEqual:"\u2aaf",pre:"\u2aaf",preceq:"\u2aaf",PrecedesSlantEqual:"\u227c",prcue:"\u227c",preccurlyeq:"\u227c",PrecedesTilde:"\u227e",precsim:"\u227e",prsim:"\u227e",Prime:"\u2033",Product:"\u220f",prod:"\u220f",Proportional:"\u221d",prop:"\u221d",propto:"\u221d",varpropto:"\u221d",vprop:"\u221d",Pscr:"\u{1d4ab}",Psi:"\u03a8",QUOT:'"',quot:'"',Qfr:"\u{1d514}",Qopf:"\u211a",rationals:"\u211a",Qscr:"\u{1d4ac}",RBarr:"\u2910",drbkarow:"\u2910",REG:"\xae",circledR:"\xae",reg:"\xae",Racute:"\u0154",Rang:"\u27eb",Rarr:"\u21a0",twoheadrightarrow:"\u21a0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211c",Rfr:"\u211c",real:"\u211c",realpart:"\u211c",ReverseElement:"\u220b",SuchThat:"\u220b",ni:"\u220b",niv:"\u220b",ReverseEquilibrium:"\u21cb",leftrightharpoons:"\u21cb",lrhar:"\u21cb",ReverseUpEquilibrium:"\u296f",duhar:"\u296f",Rho:"\u03a1",RightAngleBracket:"\u27e9",rang:"\u27e9",rangle:"\u27e9",RightArrow:"\u2192",ShortRightArrow:"\u2192",rarr:"\u2192",rightarrow:"\u2192",srarr:"\u2192",RightArrowBar:"\u21e5",rarrb:"\u21e5",RightArrowLeftArrow:"\u21c4",rightleftarrows:"\u21c4",rlarr:"\u21c4",RightCeiling:"\u2309",rceil:"\u2309",RightDoubleBracket:"\u27e7",robrk:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",dharr:"\u21c2",downharpoonright:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rfloor:"\u230b",RightTee:"\u22a2",vdash:"\u22a2",RightTeeArrow:"\u21a6",map:"\u21a6",mapsto:"\u21a6",RightTeeVector:"\u295b",RightTriangle:"\u22b3",vartriangleright:"\u22b3",vrtri:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",rtrie:"\u22b5",trianglerighteq:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",uharr:"\u21be",upharpoonright:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",rharu:"\u21c0",rightharpoonup:"\u21c0",RightVectorBar:"\u2953",Ropf:"\u211d",reals:"\u211d",RoundImplies:"\u2970",Rrightarrow:"\u21db",rAarr:"\u21db",Rscr:"\u211b",realine:"\u211b",Rsh:"\u21b1",rsh:"\u21b1",RuleDelayed:"\u29f4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042c",Sacute:"\u015a",Sc:"\u2abc",Scaron:"\u0160",Scedil:"\u015e",Scirc:"\u015c",Scy:"\u0421",Sfr:"\u{1d516}",ShortUpArrow:"\u2191",UpArrow:"\u2191",uarr:"\u2191",uparrow:"\u2191",Sigma:"\u03a3",SmallCircle:"\u2218",compfn:"\u2218",Sopf:"\u{1d54a}",Sqrt:"\u221a",radic:"\u221a",Square:"\u25a1",squ:"\u25a1",square:"\u25a1",SquareIntersection:"\u2293",sqcap:"\u2293",SquareSubset:"\u228f",sqsub:"\u228f",sqsubset:"\u228f",SquareSubsetEqual:"\u2291",sqsube:"\u2291",sqsubseteq:"\u2291",SquareSuperset:"\u2290",sqsup:"\u2290",sqsupset:"\u2290",SquareSupersetEqual:"\u2292",sqsupe:"\u2292",sqsupseteq:"\u2292",SquareUnion:"\u2294",sqcup:"\u2294",Sscr:"\u{1d4ae}",Star:"\u22c6",sstarf:"\u22c6",Sub:"\u22d0",Subset:"\u22d0",SubsetEqual:"\u2286",sube:"\u2286",subseteq:"\u2286",Succeeds:"\u227b",sc:"\u227b",succ:"\u227b",SucceedsEqual:"\u2ab0",sce:"\u2ab0",succeq:"\u2ab0",SucceedsSlantEqual:"\u227d",sccue:"\u227d",succcurlyeq:"\u227d",SucceedsTilde:"\u227f",scsim:"\u227f",succsim:"\u227f",Sum:"\u2211",sum:"\u2211",Sup:"\u22d1",Supset:"\u22d1",Superset:"\u2283",sup:"\u2283",supset:"\u2283",SupersetEqual:"\u2287",supe:"\u2287",supseteq:"\u2287",THORN:"\xde",TRADE:"\u2122",trade:"\u2122",TSHcy:"\u040b",TScy:"\u0426",Tab:"\t",Tau:"\u03a4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1d517}",Therefore:"\u2234",there4:"\u2234",therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205f\u200a",ThinSpace:"\u2009",thinsp:"\u2009",Tilde:"\u223c",sim:"\u223c",thicksim:"\u223c",thksim:"\u223c",TildeEqual:"\u2243",sime:"\u2243",simeq:"\u2243",TildeFullEqual:"\u2245",cong:"\u2245",TildeTilde:"\u2248",ap:"\u2248",approx:"\u2248",asymp:"\u2248",thickapprox:"\u2248",thkap:"\u2248",Topf:"\u{1d54b}",TripleDot:"\u20db",tdot:"\u20db",Tscr:"\u{1d4af}",Tstrok:"\u0166",Uacute:"\xda",Uarr:"\u219f",Uarrocir:"\u2949",Ubrcy:"\u040e",Ubreve:"\u016c",Ucirc:"\xdb",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1d518}",Ugrave:"\xd9",Umacr:"\u016a",UnderBar:"_",lowbar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",bbrk:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",bigcup:"\u22c3",xcup:"\u22c3",UnionPlus:"\u228e",uplus:"\u228e",Uogon:"\u0172",Uopf:"\u{1d54c}",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",udarr:"\u21c5",UpDownArrow:"\u2195",updownarrow:"\u2195",varr:"\u2195",UpEquilibrium:"\u296e",udhar:"\u296e",UpTee:"\u22a5",bot:"\u22a5",bottom:"\u22a5",perp:"\u22a5",UpTeeArrow:"\u21a5",mapstoup:"\u21a5",UpperLeftArrow:"\u2196",nwarr:"\u2196",nwarrow:"\u2196",UpperRightArrow:"\u2197",nearr:"\u2197",nearrow:"\u2197",Upsi:"\u03d2",upsih:"\u03d2",Upsilon:"\u03a5",Uring:"\u016e",Uscr:"\u{1d4b0}",Utilde:"\u0168",Uuml:"\xdc",VDash:"\u22ab",Vbar:"\u2aeb",Vcy:"\u0412",Vdash:"\u22a9",Vdashl:"\u2ae6",Vee:"\u22c1",bigvee:"\u22c1",xvee:"\u22c1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",mid:"\u2223",shortmid:"\u2223",smid:"\u2223",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",VeryThinSpace:"\u200a",hairsp:"\u200a",Vfr:"\u{1d519}",Vopf:"\u{1d54d}",Vscr:"\u{1d4b1}",Vvdash:"\u22aa",Wcirc:"\u0174",Wedge:"\u22c0",bigwedge:"\u22c0",xwedge:"\u22c0",Wfr:"\u{1d51a}",Wopf:"\u{1d54e}",Wscr:"\u{1d4b2}",Xfr:"\u{1d51b}",Xi:"\u039e",Xopf:"\u{1d54f}",Xscr:"\u{1d4b3}",YAcy:"\u042f",YIcy:"\u0407",YUcy:"\u042e",Yacute:"\xdd",Ycirc:"\u0176",Ycy:"\u042b",Yfr:"\u{1d51c}",Yopf:"\u{1d550}",Yscr:"\u{1d4b4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017d",Zcy:"\u0417",Zdot:"\u017b",Zeta:"\u0396",Zfr:"\u2128",zeetrf:"\u2128",Zopf:"\u2124",integers:"\u2124",Zscr:"\u{1d4b5}",aacute:"\xe1",abreve:"\u0103",ac:"\u223e",mstpos:"\u223e",acE:"\u223e\u0333",acd:"\u223f",acirc:"\xe2",acy:"\u0430",aelig:"\xe6",afr:"\u{1d51e}",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",amacr:"\u0101",amalg:"\u2a3f",and:"\u2227",wedge:"\u2227",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",angle:"\u2220",ange:"\u29a4",angmsd:"\u2221",measuredangle:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angzarr:"\u237c",aogon:"\u0105",aopf:"\u{1d552}",apE:"\u2a70",apacir:"\u2a6f",ape:"\u224a",approxeq:"\u224a",apid:"\u224b",apos:"'",aring:"\xe5",ascr:"\u{1d4b6}",ast:"*",midast:"*",atilde:"\xe3",auml:"\xe4",awint:"\u2a11",bNot:"\u2aed",backcong:"\u224c",bcong:"\u224c",backepsilon:"\u03f6",bepsi:"\u03f6",backprime:"\u2035",bprime:"\u2035",backsim:"\u223d",bsim:"\u223d",backsimeq:"\u22cd",bsime:"\u22cd",barvee:"\u22bd",barwed:"\u2305",barwedge:"\u2305",bbrktbrk:"\u23b6",bcy:"\u0431",bdquo:"\u201e",ldquor:"\u201e",bemptyv:"\u29b0",beta:"\u03b2",beth:"\u2136",between:"\u226c",twixt:"\u226c",bfr:"\u{1d51f}",bigcirc:"\u25ef",xcirc:"\u25ef",bigodot:"\u2a00",xodot:"\u2a00",bigoplus:"\u2a01",xoplus:"\u2a01",bigotimes:"\u2a02",xotime:"\u2a02",bigsqcup:"\u2a06",xsqcup:"\u2a06",bigstar:"\u2605",starf:"\u2605",bigtriangledown:"\u25bd",xdtri:"\u25bd",bigtriangleup:"\u25b3",xutri:"\u25b3",biguplus:"\u2a04",xuplus:"\u2a04",bkarow:"\u290d",rbarr:"\u290d",blacklozenge:"\u29eb",lozf:"\u29eb",blacktriangle:"\u25b4",utrif:"\u25b4",blacktriangledown:"\u25be",dtrif:"\u25be",blacktriangleleft:"\u25c2",ltrif:"\u25c2",blacktriangleright:"\u25b8",rtrif:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bopf:"\u{1d553}",bowtie:"\u22c8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255d",boxUR:"\u255a",boxUl:"\u255c",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256c",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256b",boxVl:"\u2562",boxVr:"\u255f",boxbox:"\u29c9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250c",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252c",boxhu:"\u2534",boxminus:"\u229f",minusb:"\u229f",boxplus:"\u229e",plusb:"\u229e",boxtimes:"\u22a0",timesb:"\u22a0",boxuL:"\u255b",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256a",boxvL:"\u2561",boxvR:"\u255e",boxvh:"\u253c",boxvl:"\u2524",boxvr:"\u251c",brvbar:"\xa6",bscr:"\u{1d4b7}",bsemi:"\u204f",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bumpE:"\u2aae",cacute:"\u0107",cap:"\u2229",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",caps:"\u2229\ufe00",caret:"\u2041",ccaps:"\u2a4d",ccaron:"\u010d",ccedil:"\xe7",ccirc:"\u0109",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",cemptyv:"\u29b2",cent:"\xa2",cfr:"\u{1d520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",cir:"\u25cb",cirE:"\u29c3",circ:"\u02c6",circeq:"\u2257",cire:"\u2257",circlearrowleft:"\u21ba",olarr:"\u21ba",circlearrowright:"\u21bb",orarr:"\u21bb",circledS:"\u24c8",oS:"\u24c8",circledast:"\u229b",oast:"\u229b",circledcirc:"\u229a",ocir:"\u229a",circleddash:"\u229d",odash:"\u229d",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",clubs:"\u2663",clubsuit:"\u2663",colon:":",comma:",",commat:"@",comp:"\u2201",complement:"\u2201",congdot:"\u2a6d",copf:"\u{1d554}",copysr:"\u2117",crarr:"\u21b5",cross:"\u2717",cscr:"\u{1d4b8}",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",curlyeqprec:"\u22de",cuesc:"\u22df",curlyeqsucc:"\u22df",cularr:"\u21b6",curvearrowleft:"\u21b6",cularrp:"\u293d",cup:"\u222a",cupbrcap:"\u2a48",cupcap:"\u2a46",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curvearrowright:"\u21b7",curarrm:"\u293c",curlyvee:"\u22ce",cuvee:"\u22ce",curlywedge:"\u22cf",cuwed:"\u22cf",curren:"\xa4",cwint:"\u2231",cylcty:"\u232d",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",dash:"\u2010",hyphen:"\u2010",dbkarow:"\u290f",rBarr:"\u290f",dcaron:"\u010f",dcy:"\u0434",ddarr:"\u21ca",downdownarrows:"\u21ca",ddotseq:"\u2a77",eDDot:"\u2a77",deg:"\xb0",delta:"\u03b4",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\u{1d521}",diamondsuit:"\u2666",diams:"\u2666",digamma:"\u03dd",gammad:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",dlcorn:"\u231e",llcorner:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\u{1d555}",doteqdot:"\u2251",eDot:"\u2251",dotminus:"\u2238",minusd:"\u2238",dotplus:"\u2214",plusdo:"\u2214",dotsquare:"\u22a1",sdotb:"\u22a1",drcorn:"\u231f",lrcorner:"\u231f",drcrop:"\u230c",dscr:"\u{1d4b9}",dscy:"\u0455",dsol:"\u29f6",dstrok:"\u0111",dtdot:"\u22f1",dtri:"\u25bf",triangledown:"\u25bf",dwangle:"\u29a6",dzcy:"\u045f",dzigrarr:"\u27ff",eacute:"\xe9",easter:"\u2a6e",ecaron:"\u011b",ecir:"\u2256",eqcirc:"\u2256",ecirc:"\xea",ecolon:"\u2255",eqcolon:"\u2255",ecy:"\u044d",edot:"\u0117",efDot:"\u2252",fallingdotseq:"\u2252",efr:"\u{1d522}",eg:"\u2a9a",egrave:"\xe8",egs:"\u2a96",eqslantgtr:"\u2a96",egsdot:"\u2a98",el:"\u2a99",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",eqslantless:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014b",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1d556}",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",epsiv:"\u03f5",straightepsilon:"\u03f5",varepsilon:"\u03f5",equals:"=",equest:"\u225f",questeq:"\u225f",equivDD:"\u2a78",eqvparsl:"\u29e5",erDot:"\u2253",risingdotseq:"\u2253",erarr:"\u2971",escr:"\u212f",eta:"\u03b7",eth:"\xf0",euml:"\xeb",euro:"\u20ac",excl:"!",fcy:"\u0444",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\u{1d523}",filig:"\ufb01",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\u{1d557}",fork:"\u22d4",pitchfork:"\u22d4",forkv:"\u2ad9",fpartint:"\u2a0d",frac12:"\xbd",half:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",sfrown:"\u2322",fscr:"\u{1d4bb}",gEl:"\u2a8c",gtreqqless:"\u2a8c",gacute:"\u01f5",gamma:"\u03b3",gap:"\u2a86",gtrapprox:"\u2a86",gbreve:"\u011f",gcirc:"\u011d",gcy:"\u0433",gdot:"\u0121",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\u{1d524}",gimel:"\u2137",gjcy:"\u0453",glE:"\u2a92",gla:"\u2aa5",glj:"\u2aa4",gnE:"\u2269",gneqq:"\u2269",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gneq:"\u2a88",gnsim:"\u22e7",gopf:"\u{1d558}",gscr:"\u210a",gsime:"\u2a8e",gsiml:"\u2a90",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtrdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrarr:"\u2978",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",hardcy:"\u044a",harrcir:"\u2948",harrw:"\u21ad",leftrightsquigarrow:"\u21ad",hbar:"\u210f",hslash:"\u210f",planck:"\u210f",plankv:"\u210f",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",mldr:"\u2026",hercon:"\u22b9",hfr:"\u{1d525}",hksearow:"\u2925",searhk:"\u2925",hkswarow:"\u2926",swarhk:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",larrhk:"\u21a9",hookrightarrow:"\u21aa",rarrhk:"\u21aa",hopf:"\u{1d559}",horbar:"\u2015",hscr:"\u{1d4bd}",hstrok:"\u0127",hybull:"\u2043",iacute:"\xed",icirc:"\xee",icy:"\u0438",iecy:"\u0435",iexcl:"\xa1",ifr:"\u{1d526}",igrave:"\xec",iiiint:"\u2a0c",qint:"\u2a0c",iiint:"\u222d",tint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012b",imath:"\u0131",inodot:"\u0131",imof:"\u22b7",imped:"\u01b5",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",intcal:"\u22ba",intercal:"\u22ba",intlarhk:"\u2a17",intprod:"\u2a3c",iprod:"\u2a3c",iocy:"\u0451",iogon:"\u012f",iopf:"\u{1d55a}",iota:"\u03b9",iquest:"\xbf",iscr:"\u{1d4be}",isinE:"\u22f9",isindot:"\u22f5",isins:"\u22f4",isinsv:"\u22f3",itilde:"\u0129",iukcy:"\u0456",iuml:"\xef",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1d527}",jmath:"\u0237",jopf:"\u{1d55b}",jscr:"\u{1d4bf}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03ba",kappav:"\u03f0",varkappa:"\u03f0",kcedil:"\u0137",kcy:"\u043a",kfr:"\u{1d528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045c",kopf:"\u{1d55c}",kscr:"\u{1d4c0}",lAtail:"\u291b",lBarr:"\u290e",lEg:"\u2a8b",lesseqqgtr:"\u2a8b",lHar:"\u2962",lacute:"\u013a",laemptyv:"\u29b4",lambda:"\u03bb",langd:"\u2991",lap:"\u2a85",lessapprox:"\u2a85",laquo:"\xab",larrbfs:"\u291f",larrfs:"\u291d",larrlp:"\u21ab",looparrowleft:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",leftarrowtail:"\u21a2",lat:"\u2aab",latail:"\u2919",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lbbrk:"\u2772",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",lcedil:"\u013c",lcy:"\u043b",ldca:"\u2936",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",leq:"\u2264",leftleftarrows:"\u21c7",llarr:"\u21c7",leftthreetimes:"\u22cb",lthree:"\u22cb",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessdot:"\u22d6",ltdot:"\u22d6",lfisht:"\u297c",lfr:"\u{1d529}",lgE:"\u2a91",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",lmoust:"\u23b0",lmoustache:"\u23b0",lnE:"\u2268",lneqq:"\u2268",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lneq:"\u2a87",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",longmapsto:"\u27fc",xmap:"\u27fc",looparrowright:"\u21ac",rarrlp:"\u21ac",lopar:"\u2985",lopf:"\u{1d55d}",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",loz:"\u25ca",lozenge:"\u25ca",lpar:"(",lparlt:"\u2993",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\u{1d4c1}",lsime:"\u2a8d",lsimg:"\u2a8f",lsquor:"\u201a",sbquo:"\u201a",lstrok:"\u0142",ltcc:"\u2aa6",ltcir:"\u2a79",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltrPar:"\u2996",ltri:"\u25c3",triangleleft:"\u25c3",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",mDDot:"\u223a",macr:"\xaf",strns:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",mdash:"\u2014",mfr:"\u{1d52a}",mho:"\u2127",micro:"\xb5",midcir:"\u2af0",minus:"\u2212",minusdu:"\u2a2a",mlcp:"\u2adb",models:"\u22a7",mopf:"\u{1d55e}",mscr:"\u{1d4c2}",mu:"\u03bc",multimap:"\u22b8",mumap:"\u22b8",nGg:"\u22d9\u0338",nGt:"\u226b\u20d2",nLeftarrow:"\u21cd",nlArr:"\u21cd",nLeftrightarrow:"\u21ce",nhArr:"\u21ce",nLl:"\u22d8\u0338",nLt:"\u226a\u20d2",nRightarrow:"\u21cf",nrArr:"\u21cf",nVDash:"\u22af",nVdash:"\u22ae",nacute:"\u0144",nang:"\u2220\u20d2",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",natur:"\u266e",natural:"\u266e",ncap:"\u2a43",ncaron:"\u0148",ncedil:"\u0146",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",ndash:"\u2013",neArr:"\u21d7",nearhk:"\u2924",nedot:"\u2250\u0338",nesear:"\u2928",toea:"\u2928",nfr:"\u{1d52b}",nharr:"\u21ae",nleftrightarrow:"\u21ae",nhpar:"\u2af2",nis:"\u22fc",nisd:"\u22fa",njcy:"\u045a",nlE:"\u2266\u0338",nleqq:"\u2266\u0338",nlarr:"\u219a",nleftarrow:"\u219a",nldr:"\u2025",nopf:"\u{1d55f}",not:"\xac",notinE:"\u22f9\u0338",notindot:"\u22f5\u0338",notinvb:"\u22f7",notinvc:"\u22f6",notnivb:"\u22fe",notnivc:"\u22fd",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",nrarr:"\u219b",nrightarrow:"\u219b",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nscr:"\u{1d4c3}",nsub:"\u2284",nsubE:"\u2ac5\u0338",nsubseteqq:"\u2ac5\u0338",nsup:"\u2285",nsupE:"\u2ac6\u0338",nsupseteqq:"\u2ac6\u0338",ntilde:"\xf1",nu:"\u03bd",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22ad",nvHarr:"\u2904",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwArr:"\u21d6",nwarhk:"\u2923",nwnear:"\u2927",oacute:"\xf3",ocirc:"\xf4",ocy:"\u043e",odblac:"\u0151",odiv:"\u2a38",odsold:"\u29bc",oelig:"\u0153",ofcir:"\u29bf",ofr:"\u{1d52c}",ogon:"\u02db",ograve:"\xf2",ogt:"\u29c1",ohbar:"\u29b5",olcir:"\u29be",olcross:"\u29bb",olt:"\u29c0",omacr:"\u014d",omega:"\u03c9",omicron:"\u03bf",omid:"\u29b6",oopf:"\u{1d560}",opar:"\u29b7",operp:"\u29b9",or:"\u2228",vee:"\u2228",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",oscr:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oslash:"\xf8",osol:"\u2298",otilde:"\xf5",otimesas:"\u2a36",ouml:"\xf6",ovbar:"\u233d",para:"\xb6",parsim:"\u2af3",parsl:"\u2afd",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",pertenk:"\u2031",pfr:"\u{1d52d}",phi:"\u03c6",phiv:"\u03d5",straightphi:"\u03d5",varphi:"\u03d5",phone:"\u260e",pi:"\u03c0",piv:"\u03d6",varpi:"\u03d6",planckh:"\u210e",plus:"+",plusacir:"\u2a23",pluscir:"\u2a22",plusdu:"\u2a25",pluse:"\u2a72",plussim:"\u2a26",plustwo:"\u2a27",pointint:"\u2a15",popf:"\u{1d561}",pound:"\xa3",prE:"\u2ab3",prap:"\u2ab7",precapprox:"\u2ab7",precnapprox:"\u2ab9",prnap:"\u2ab9",precneqq:"\u2ab5",prnE:"\u2ab5",precnsim:"\u22e8",prnsim:"\u22e8",prime:"\u2032",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prurel:"\u22b0",pscr:"\u{1d4c5}",psi:"\u03c8",puncsp:"\u2008",qfr:"\u{1d52e}",qopf:"\u{1d562}",qprime:"\u2057",qscr:"\u{1d4c6}",quatint:"\u2a16",quest:"?",rAtail:"\u291c",rHar:"\u2964",race:"\u223d\u0331",racute:"\u0155",raemptyv:"\u29b3",rangd:"\u2992",range:"\u29a5",raquo:"\xbb",rarrap:"\u2975",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",rightarrowtail:"\u21a3",rarrw:"\u219d",rightsquigarrow:"\u219d",ratail:"\u291a",ratio:"\u2236",rbbrk:"\u2773",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdsh:"\u21b3",rect:"\u25ad",rfisht:"\u297d",rfr:"\u{1d52f}",rharul:"\u296c",rho:"\u03c1",rhov:"\u03f1",varrho:"\u03f1",rightrightarrows:"\u21c9",rrarr:"\u21c9",rightthreetimes:"\u22cc",rthree:"\u22cc",ring:"\u02da",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",ropar:"\u2986",ropf:"\u{1d563}",roplus:"\u2a2e",rotimes:"\u2a35",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rsaquo:"\u203a",rscr:"\u{1d4c7}",rtimes:"\u22ca",rtri:"\u25b9",triangleright:"\u25b9",rtriltri:"\u29ce",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",scE:"\u2ab4",scap:"\u2ab8",succapprox:"\u2ab8",scaron:"\u0161",scedil:"\u015f",scirc:"\u015d",scnE:"\u2ab6",succneqq:"\u2ab6",scnap:"\u2aba",succnapprox:"\u2aba",scnsim:"\u22e9",succnsim:"\u22e9",scpolint:"\u2a13",scy:"\u0441",sdot:"\u22c5",sdote:"\u2a66",seArr:"\u21d8",sect:"\xa7",semi:";",seswar:"\u2929",tosa:"\u2929",sext:"\u2736",sfr:"\u{1d530}",sharp:"\u266f",shchcy:"\u0449",shcy:"\u0448",shy:"\xad",sigma:"\u03c3",sigmaf:"\u03c2",sigmav:"\u03c2",varsigma:"\u03c2",simdot:"\u2a6a",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",smashp:"\u2a33",smeparsl:"\u29e4",smile:"\u2323",ssmile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\u{1d564}",spades:"\u2660",spadesuit:"\u2660",sqcaps:"\u2293\ufe00",sqcups:"\u2294\ufe00",sscr:"\u{1d4c8}",star:"\u2606",sub:"\u2282",subset:"\u2282",subE:"\u2ac5",subseteqq:"\u2ac5",subdot:"\u2abd",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subsetneqq:"\u2acb",subne:"\u228a",subsetneq:"\u228a",subplus:"\u2abf",subrarr:"\u2979",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",sung:"\u266a",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supE:"\u2ac6",supseteqq:"\u2ac6",supdot:"\u2abe",supdsub:"\u2ad8",supedot:"\u2ac4",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supnE:"\u2acc",supsetneqq:"\u2acc",supne:"\u228b",supsetneq:"\u228b",supplus:"\u2ac0",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swArr:"\u21d9",swnwar:"\u292a",szlig:"\xdf",target:"\u2316",tau:"\u03c4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",telrec:"\u2315",tfr:"\u{1d531}",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",vartheta:"\u03d1",thorn:"\xfe",times:"\xd7",timesbar:"\u2a31",timesd:"\u2a30",topbot:"\u2336",topcir:"\u2af1",topf:"\u{1d565}",topfork:"\u2ada",tprime:"\u2034",triangle:"\u25b5",utri:"\u25b5",triangleq:"\u225c",trie:"\u225c",tridot:"\u25ec",triminus:"\u2a3a",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\u{1d4c9}",tscy:"\u0446",tshcy:"\u045b",tstrok:"\u0167",uHar:"\u2963",uacute:"\xfa",ubrcy:"\u045e",ubreve:"\u016d",ucirc:"\xfb",ucy:"\u0443",udblac:"\u0171",ufisht:"\u297e",ufr:"\u{1d532}",ugrave:"\xf9",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",uogon:"\u0173",uopf:"\u{1d566}",upsi:"\u03c5",upsilon:"\u03c5",upuparrows:"\u21c8",uuarr:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",urtri:"\u25f9",uscr:"\u{1d4ca}",utdot:"\u22f0",utilde:"\u0169",uuml:"\xfc",uwangle:"\u29a7",vBar:"\u2ae8",vBarv:"\u2ae9",vangrt:"\u299c",varsubsetneq:"\u228a\ufe00",vsubne:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",vsubnE:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",vsupne:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vsupnE:"\u2acc\ufe00",vcy:"\u0432",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",vfr:"\u{1d533}",vopf:"\u{1d567}",vscr:"\u{1d4cb}",vzigzag:"\u299a",wcirc:"\u0175",wedbar:"\u2a5f",wedgeq:"\u2259",weierp:"\u2118",wp:"\u2118",wfr:"\u{1d534}",wopf:"\u{1d568}",wscr:"\u{1d4cc}",xfr:"\u{1d535}",xi:"\u03be",xnis:"\u22fb",xopf:"\u{1d569}",xscr:"\u{1d4cd}",yacute:"\xfd",yacy:"\u044f",ycirc:"\u0177",ycy:"\u044b",yen:"\xa5",yfr:"\u{1d536}",yicy:"\u0457",yopf:"\u{1d56a}",yscr:"\u{1d4ce}",yucy:"\u044e",yuml:"\xff",zacute:"\u017a",zcaron:"\u017e",zcy:"\u0437",zdot:"\u017c",zeta:"\u03b6",zfr:"\u{1d537}",zhcy:"\u0436",zigrarr:"\u21dd",zopf:"\u{1d56b}",zscr:"\u{1d4cf}",zwj:"\u200d",zwnj:"\u200c"},ep="\ue500";SS.ngsp=ep;class DS extends Mt{constructor(i,a,u){super(u,i),this.tokenType=a}}class by{constructor(i,a,u){this.tokens=i,this.errors=a,this.nonNormalizedIcuExpressions=u}}const Sx=/\r\n?/g;function Lm(l){return`Unexpected character "${l===Vs?"EOF":String.fromCharCode(l)}"`}function MS(l){return`Unknown entity "${l}" - use the "&#;" or "&#x;" syntax`}var Pm;!function(l){l.HEX="hexadecimal",l.DEC="decimal"}(Pm||(Pm={}));class tc{constructor(i){this.error=i}}class Dx{constructor(i,a,u){this._getTagDefinition=a,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=u.tokenizeExpansionForms||!1,this._interpolationConfig=u.interpolationConfig||Bi,this._leadingTriviaCodePoints=u.leadingTriviaChars&&u.leadingTriviaChars.map(f=>f.codePointAt(0)||0);const p=u.range||{endPos:i.content.length,startPos:0,startLine:0,startCol:0};this._cursor=u.escapedString?new yd(i,p):new Dy(i,p),this._preserveLineEndings=u.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=u.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=u.tokenizeBlocks??!0,this._tokenizeLet=u.tokenizeLet??!0;try{this._cursor.init()}catch(f){this.handleError(f)}}_processCarriageReturns(i){return this._preserveLineEndings?i:i.replace(Sx,"\n")}tokenize(){for(;this._cursor.peek()!==Vs;){const i=this._cursor.clone();try{this._attemptCharCode(60)?this._attemptCharCode(33)?this._attemptCharCode(_)?this._consumeCdata(i):this._attemptCharCode(45)?this._consumeComment(i):this._consumeDocType(i):this._attemptCharCode(47)?this._consumeTagClose(i):this._consumeTagOpen(i):this._tokenizeLet&&64===this._cursor.peek()&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(i):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(i):!this._tokenizeBlocks||this._inInterpolation||this._isInExpansionCase()||this._isInExpansionForm()||!this._attemptCharCode(so)?this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart()):this._consumeBlockEnd(i)}catch(a){this.handleError(a)}}this._beginToken(33),this._endToken([])}_getBlockName(){let i=!1;const a=this._cursor.clone();return this._attemptCharCodeUntilFn(u=>kn(u)?!i:!function tp(l){return Ql(l)||na(l)||l===U}(u)||(i=!0,!1)),this._cursor.getChars(a).trim()}_consumeBlockStart(i){this._beginToken(24,i);const a=this._endToken([this._getBlockName()]);if(40===this._cursor.peek()){if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(di),!this._attemptCharCode(41))return void(a.type=28);this._attemptCharCodeUntilFn(di)}this._attemptCharCode(ka)?(this._beginToken(25),this._endToken([])):a.type=28}_consumeBlockEnd(i){this._beginToken(26,i),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(xx);41!==this._cursor.peek()&&this._cursor.peek()!==Vs;){this._beginToken(27);const i=this._cursor.clone();let a=null,u=0;for(;59!==this._cursor.peek()&&this._cursor.peek()!==Vs||null!==a;){const p=this._cursor.peek();if(92===p)this._cursor.advance();else if(p===a)a=null;else if(null===a&&Ta(p))a=p;else if(40===p&&null===a)u++;else if(41===p&&null===a){if(0===u)break;u>0&&u--}this._cursor.advance()}this._endToken([this._cursor.getChars(i)]),this._attemptCharCodeUntilFn(xx)}}_consumeLetDeclaration(i){if(this._beginToken(29,i),!kn(this._cursor.peek())){return void(this._endToken([this._cursor.getChars(i)]).type=32)}this._attemptCharCodeUntilFn(di);const a=this._endToken([this._getLetDeclarationName()]);this._attemptCharCodeUntilFn(di),this._attemptCharCode(61)?(this._attemptCharCodeUntilFn(p=>di(p)&&!Nw(p)),this._consumeLetDeclarationValue(),59===this._cursor.peek()?(this._beginToken(31),this._endToken([]),this._cursor.advance()):(a.type=32,a.sourceSpan=this._cursor.getSpan(i))):a.type=32}_getLetDeclarationName(){const i=this._cursor.clone();let a=!1;return this._attemptCharCodeUntilFn(u=>!(Ql(u)||u===no||u===U||a&&na(u))||(a=!0,!1)),this._cursor.getChars(i).trim()}_consumeLetDeclarationValue(){const i=this._cursor.clone();for(this._beginToken(30,i);this._cursor.peek()!==Vs;){const a=this._cursor.peek();if(59===a)break;Ta(a)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(u=>92===u?(this._cursor.advance(),!1):u===a)),this._cursor.advance()}this._endToken([this._cursor.getChars(i)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(function Ex(l){return l!==so}(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===so){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(i,a=this._cursor.clone()){this._currentTokenStart=a,this._currentTokenType=i}_endToken(i,a){if(null===this._currentTokenStart)throw new DS("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(a));if(null===this._currentTokenType)throw new DS("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));const u={type:this._currentTokenType,parts:i,sourceSpan:(a??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(u),this._currentTokenStart=null,this._currentTokenType=null,u}_createError(i,a){this._isInExpansionForm()&&(i+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');const u=new DS(i,this._currentTokenType,a);return this._currentTokenStart=null,this._currentTokenType=null,new tc(u)}handleError(i){if(i instanceof Rm&&(i=this._createError(i.msg,this._cursor.getSpan(i.cursor))),!(i instanceof tc))throw i;this.errors.push(i.error)}_attemptCharCode(i){return this._cursor.peek()===i&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(i){return!!function wy(l,i){return Sy(l)===Sy(i)}(this._cursor.peek(),i)&&(this._cursor.advance(),!0)}_requireCharCode(i){const a=this._cursor.clone();if(!this._attemptCharCode(i))throw this._createError(Lm(this._cursor.peek()),this._cursor.getSpan(a))}_attemptStr(i){const a=i.length;if(this._cursor.charsLeft()this._attemptStr("--\x3e")),this._beginToken(11),this._requireStr("--\x3e"),this._endToken([])}_consumeCdata(i){this._beginToken(12,i),this._requireStr("CDATA["),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(i){this._beginToken(18,i);const a=this._cursor.clone();this._attemptUntilChar(62);const u=this._cursor.getChars(a);this._cursor.advance(),this._endToken([u])}_consumePrefixAndName(){const i=this._cursor.clone();let u,a="";for(;58!==this._cursor.peek()&&!Cx(this._cursor.peek());)this._cursor.advance();58===this._cursor.peek()?(a=this._cursor.getChars(i),this._cursor.advance(),u=this._cursor.clone()):u=i,this._requireCharCodeUntilFn(xS,""===a?0:1);return[a,this._cursor.getChars(u)]}_consumeTagOpen(i){let a,u,p;try{if(!Ql(this._cursor.peek()))throw this._createError(Lm(this._cursor.peek()),this._cursor.getSpan(i));for(p=this._consumeTagOpenStart(i),u=p.parts[0],a=p.parts[1],this._attemptCharCodeUntilFn(di);47!==this._cursor.peek()&&62!==this._cursor.peek()&&60!==this._cursor.peek()&&this._cursor.peek()!==Vs;)this._consumeAttributeName(),this._attemptCharCodeUntilFn(di),this._attemptCharCode(61)&&(this._attemptCharCodeUntilFn(di),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(di);this._consumeTagOpenEnd()}catch(v){if(v instanceof tc)return void(p?p.type=4:(this._beginToken(5,i),this._endToken(["<"])));throw v}const f=this._getTagDefinition(a).getContentType(u);f===Bs.RAW_TEXT?this._consumeRawTextWithTagClose(u,a,!1):f===Bs.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(u,a,!0)}_consumeRawTextWithTagClose(i,a,u){this._consumeRawText(u,()=>!!(this._attemptCharCode(60)&&this._attemptCharCode(47)&&(this._attemptCharCodeUntilFn(di),this._attemptStrCaseInsensitive(a)))&&(this._attemptCharCodeUntilFn(di),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(p=>62===p,3),this._cursor.advance(),this._endToken([i,a])}_consumeTagOpenStart(i){this._beginToken(0,i);const a=this._consumePrefixAndName();return this._endToken(a)}_consumeAttributeName(){const i=this._cursor.peek();if(39===i||34===i)throw this._createError(Lm(i),this._cursor.getSpan());this._beginToken(14);const a=this._consumePrefixAndName();this._endToken(a)}_consumeAttributeValue(){if(39===this._cursor.peek()||34===this._cursor.peek()){const i=this._cursor.peek();this._consumeQuote(i);const a=()=>this._cursor.peek()===i;this._consumeWithInterpolation(16,17,a,a),this._consumeQuote(i)}else{const i=()=>xS(this._cursor.peek());this._consumeWithInterpolation(16,17,i,i)}}_consumeQuote(i){this._beginToken(15),this._requireCharCode(i),this._endToken([String.fromCodePoint(i)])}_consumeTagOpenEnd(){const i=this._attemptCharCode(47)?2:1;this._beginToken(i),this._requireCharCode(62),this._endToken([])}_consumeTagClose(i){this._beginToken(3,i),this._attemptCharCodeUntilFn(di);const a=this._consumePrefixAndName();this._attemptCharCodeUntilFn(di),this._requireCharCode(62),this._endToken(a)}_consumeExpansionFormStart(){this._beginToken(19),this._requireCharCode(ka),this._endToken([]),this._expansionCaseStack.push(19),this._beginToken(7);const i=this._readUntil(44),a=this._processCarriageReturns(i);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([a]);else{const p=this._endToken([i]);a!==i&&this.nonNormalizedIcuExpressions.push(p)}this._requireCharCode(44),this._attemptCharCodeUntilFn(di),this._beginToken(7);const u=this._readUntil(44);this._endToken([u]),this._requireCharCode(44),this._attemptCharCodeUntilFn(di)}_consumeExpansionCaseStart(){this._beginToken(20);const i=this._readUntil(ka).trim();this._endToken([i]),this._attemptCharCodeUntilFn(di),this._beginToken(21),this._requireCharCode(ka),this._endToken([]),this._attemptCharCodeUntilFn(di),this._expansionCaseStack.push(21)}_consumeExpansionCaseEnd(){this._beginToken(22),this._requireCharCode(so),this._endToken([]),this._attemptCharCodeUntilFn(di),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(23),this._requireCharCode(so),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(i,a,u,p){this._beginToken(i);const f=[];for(;!u();){const v=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(f.join(""))],v),f.length=0,this._consumeInterpolation(a,v,p),this._beginToken(i)):38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(f.join(""))]),f.length=0,this._consumeEntity(i),this._beginToken(i)):f.push(this._readChar())}this._inInterpolation=!1,this._endToken([this._processCarriageReturns(f.join(""))])}_consumeInterpolation(i,a,u){const p=[];this._beginToken(i,a),p.push(this._interpolationConfig.start);const f=this._cursor.clone();let v=null,M=!1;for(;this._cursor.peek()!==Vs&&(null===u||!u());){const L=this._cursor.clone();if(this._isTagStart())return this._cursor=L,p.push(this._getProcessedChars(f,L)),void this._endToken(p);if(null===v){if(this._attemptStr(this._interpolationConfig.end))return p.push(this._getProcessedChars(f,L)),p.push(this._interpolationConfig.end),void this._endToken(p);this._attemptStr("//")&&(M=!0)}const O=this._cursor.peek();this._cursor.advance(),92===O?this._cursor.advance():O===v?v=null:!M&&null===v&&Ta(O)&&(v=O)}p.push(this._getProcessedChars(f,this._cursor)),this._endToken(p)}_getProcessedChars(i,a){return this._processCarriageReturns(a.getChars(i))}_isTextEnd(){return!(!(this._isTagStart()||this._cursor.peek()===Vs||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===so&&this._isInExpansionCase()))&&(!this._tokenizeBlocks||this._inInterpolation||this._isInExpansion()||64!==this._cursor.peek()&&this._cursor.peek()!==so))}_isTagStart(){if(60===this._cursor.peek()){const i=this._cursor.clone();i.advance();const a=i.peek();if(ie<=a&&a<=cm||Qu<=a&&a<=Cn||47===a||33===a)return!0}return!1}_readUntil(i){const a=this._cursor.clone();return this._attemptUntilChar(i),this._cursor.getChars(a)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&21===this._expansionCaseStack[this._expansionCaseStack.length-1]}_isInExpansionForm(){return this._expansionCaseStack.length>0&&19===this._expansionCaseStack[this._expansionCaseStack.length-1]}isExpansionFormStart(){if(this._cursor.peek()!==ka)return!1;if(this._interpolationConfig){const i=this._cursor.clone(),a=this._attemptStr(this._interpolationConfig.start);return this._cursor=i,!a}return!0}}function di(l){return!kn(l)||l===Vs}function xS(l){return kn(l)||62===l||60===l||47===l||39===l||34===l||61===l||l===Vs}function Cx(l){return(lPw)}function Mx(l){return 59===l||l===Vs||!function $r(l){return l>=ie&&l<=un||l>=Qu&&l<=Xu||na(l)}(l)}function kS(l){return 59===l||l===Vs||!Ql(l)}function Sy(l){return l>=ie&&l<=cm?l-ie+Qu:l}function xx(l){return 59!==l&&di(l)}class Dy{constructor(i,a){if(i instanceof Dy){this.file=i.file,this.input=i.input,this.end=i.end;const u=i.state;this.state={peek:u.peek,offset:u.offset,line:u.line,column:u.column}}else{if(!a)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=i,this.input=i.content,this.end=a.endPos,this.state={peek:-1,offset:a.startPos,line:a.startLine,column:a.startCol}}}clone(){return new Dy(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(i){return this.state.offset-i.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(i,a){let u=i=i||this;if(a)for(;this.diff(i)>0&&-1!==a.indexOf(i.peek());)u===i&&(i=i.clone()),i.advance();const p=this.locationFromCursor(i),f=this.locationFromCursor(this),v=u!==i?this.locationFromCursor(u):p;return new Xt(p,f,v)}getChars(i){return this.input.substring(i.state.offset,this.state.offset)}charAt(i){return this.input.charCodeAt(i)}advanceState(i){if(i.offset>=this.end)throw this.state=i,new Rm('Unexpected character "EOF"',this);const a=this.charAt(i.offset);10===a?(i.line++,i.column=0):Nw(a)||i.column++,i.offset++,this.updatePeek(i)}updatePeek(i){i.peek=i.offset>=this.end?Vs:this.charAt(i.offset)}locationFromCursor(i){return new Vi(i.file,i.state.offset,i.state.line,i.state.column)}}class yd extends Dy{constructor(i,a){i instanceof yd?(super(i),this.internalState={...i.internalState}):(super(i,a),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new yd(this)}getChars(i){const a=i.clone();let u="";for(;a.internalState.offsetthis.internalState.peek;if(92===i())if(this.internalState={...this.state},this.advanceState(this.internalState),110===i())this.state.peek=10;else if(114===i())this.state.peek=13;else if(118===i())this.state.peek=11;else if(116===i())this.state.peek=Yr;else if(98===i())this.state.peek=8;else if(i()===un)this.state.peek=12;else if(117===i())if(this.advanceState(this.internalState),i()===ka){this.advanceState(this.internalState);const a=this.clone();let u=0;for(;i()!==so;)this.advanceState(this.internalState),u++;this.state.peek=this.decodeHexDigits(a,u)}else{const a=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(a,4)}else if(120===i()){this.advanceState(this.internalState);const a=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(a,2)}else if(Nh(i())){let a="",u=0,p=this.clone();for(;Nh(i())&&u<3;)p=this.clone(),a+=String.fromCodePoint(i()),this.advanceState(this.internalState),u++;this.state.peek=parseInt(a,8),this.internalState=p.internalState}else Nw(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(i,a){const u=this.input.slice(i.internalState.offset,i.internalState.offset+a),p=parseInt(u,16);if(isNaN(p))throw i.state=i.internalState,new Rm("Invalid hexadecimal escape sequence",i);return p}}class Rm{constructor(i,a){this.msg=i,this.cursor=a}}class er extends Mt{static create(i,a,u){return new er(i,a,u)}constructor(i,a,u){super(a,u),this.elementName=i}}class np{constructor(i,a){this.rootNodes=i,this.errors=a}}class TS{constructor(i){this.getTagDefinition=i}parse(i,a,u){const p=function CS(l,i,a,u={}){const p=new Dx(new Fw(l,i),a,u);return p.tokenize(),new by(function k2(l){const i=[];let a;for(let u=0;u0)return this.errors=this.errors.concat(f.errors),null;const v=new Xt(i.sourceSpan.start,p.sourceSpan.end,i.sourceSpan.fullStart),M=new Xt(a.sourceSpan.start,p.sourceSpan.end,a.sourceSpan.fullStart);return new Im(i.parts[0],f.rootNodes,v,i.sourceSpan,M)}_collectExpansionExpTokens(i){const a=[],u=[21];for(;;){if((19===this._peek.type||21===this._peek.type)&&u.push(this._peek.type),22===this._peek.type){if(!kx(u,21))return this.errors.push(er.create(null,i.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(u.pop(),0===u.length)return a}if(23===this._peek.type){if(!kx(u,19))return this.errors.push(er.create(null,i.sourceSpan,"Invalid ICU message. Missing '}'.")),null;u.pop()}if(33===this._peek.type)return this.errors.push(er.create(null,i.sourceSpan,"Invalid ICU message. Missing '}'.")),null;a.push(this._advance())}}_consumeText(i){const a=[i],u=i.sourceSpan;let p=i.parts[0];if(p.length>0&&"\n"===p[0]){const f=this._getContainer();null!=f&&0===f.children.length&&this.getTagDefinition(f.name).ignoreFirstLf&&(p=p.substring(1),a[0]={type:i.type,sourceSpan:i.sourceSpan,parts:[p]})}for(;8===this._peek.type||5===this._peek.type||9===this._peek.type;)i=this._advance(),a.push(i),8===i.type?p+=i.parts.join("").replace(/&([^;]+);/g,Tx):9===i.type?p+=i.parts[0]:p+=i.parts.join("");if(p.length>0){const f=i.sourceSpan;this._addToParent(new Xh(p,new Xt(u.start,f.end,u.fullStart,u.details),a))}}_closeVoidElement(){const i=this._getContainer();i instanceof aa&&this.getTagDefinition(i.name).isVoid&&this._containerStack.pop()}_consumeStartTag(i){const[a,u]=i.parts,p=[];for(;14===this._peek.type;)p.push(this._consumeAttr(this._advance()));const f=this._getElementFullName(a,u,this._getClosestParentElement());let v=!1;if(2===this._peek.type){this._advance(),v=!0;const he=this.getTagDefinition(f);he.canSelfClose||null!==xh(f)||he.isVoid||this.errors.push(er.create(f,i.sourceSpan,`Only void, custom and foreign elements can be self closed "${i.parts[1]}"`))}else 1===this._peek.type&&(this._advance(),v=!1);const M=this._peek.sourceSpan.fullStart,L=new Xt(i.sourceSpan.start,M,i.sourceSpan.fullStart),O=new Xt(i.sourceSpan.start,M,i.sourceSpan.fullStart),V=new aa(f,p,[],L,O,void 0),Z=this._getContainer();this._pushContainer(V,Z instanceof aa&&this.getTagDefinition(Z.name).isClosedByChild(V.name)),v?this._popContainer(f,aa,L):4===i.type&&(this._popContainer(f,aa,null),this.errors.push(er.create(f,L,`Opening tag "${f}" not terminated.`)))}_pushContainer(i,a){a&&this._containerStack.pop(),this._addToParent(i),this._containerStack.push(i)}_consumeEndTag(i){const a=this._getElementFullName(i.parts[0],i.parts[1],this._getClosestParentElement());if(this.getTagDefinition(a).isVoid)this.errors.push(er.create(a,i.sourceSpan,`Void elements do not have end tags "${i.parts[1]}"`));else if(!this._popContainer(a,aa,i.sourceSpan)){const u=`Unexpected closing tag "${a}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(er.create(a,i.sourceSpan,u))}}_popContainer(i,a,u){let p=!1;for(let f=this._containerStack.length-1;f>=0;f--){const v=this._containerStack[f];if((v.name===i||null===i)&&v instanceof a)return v.endSourceSpan=u,v.sourceSpan.end=null!==u?u.end:v.sourceSpan.end,this._containerStack.splice(f,this._containerStack.length-f),!p;(v instanceof Wr||v instanceof aa&&!this.getTagDefinition(v.name).closedByParent)&&(p=!0)}return!1}_consumeAttr(i){const a=Hu(i.parts[0],i.parts[1]);let u=i.sourceSpan.end;15===this._peek.type&&this._advance();let p="";const f=[];let v,M;if(16===this._peek.type)for(v=this._peek.sourceSpan,M=this._peek.sourceSpan.end;16===this._peek.type||17===this._peek.type||9===this._peek.type;){const V=this._advance();f.push(V),17===V.type?p+=V.parts.join("").replace(/&([^;]+);/g,Tx):9===V.type?p+=V.parts[0]:p+=V.parts.join(""),M=u=V.sourceSpan.end}15===this._peek.type&&(u=this._advance().sourceSpan.end);const O=v&&M&&new Xt(v.start,M,v.fullStart);return new Am(a,p,new Xt(i.sourceSpan.start,u,i.sourceSpan.fullStart),i.sourceSpan,O,f.length>0?f:void 0,void 0)}_consumeBlockOpen(i){const a=[];for(;27===this._peek.type;){const M=this._advance();a.push(new wS(M.parts[0],M.sourceSpan))}25===this._peek.type&&this._advance();const u=this._peek.sourceSpan.fullStart,p=new Xt(i.sourceSpan.start,u,i.sourceSpan.fullStart),f=new Xt(i.sourceSpan.start,u,i.sourceSpan.fullStart),v=new Wr(i.parts[0],a,[],p,i.sourceSpan,f);this._pushContainer(v,!1)}_consumeBlockClose(i){this._popContainer(null,Wr,i.sourceSpan)||this.errors.push(er.create(null,i.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(i){const a=[];for(;27===this._peek.type;){const M=this._advance();a.push(new wS(M.parts[0],M.sourceSpan))}const u=this._peek.sourceSpan.fullStart,p=new Xt(i.sourceSpan.start,u,i.sourceSpan.fullStart),f=new Xt(i.sourceSpan.start,u,i.sourceSpan.fullStart),v=new Wr(i.parts[0],a,[],p,i.sourceSpan,f);this._pushContainer(v,!1),this._popContainer(null,Wr,null),this.errors.push(er.create(i.parts[0],p,`Incomplete block "${i.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(i){const a=i.parts[0];let u,p;if(30!==this._peek.type)return void this.errors.push(er.create(i.parts[0],i.sourceSpan,`Invalid @let declaration "${a}". Declaration must have a value.`));if(u=this._advance(),31!==this._peek.type)return void this.errors.push(er.create(i.parts[0],i.sourceSpan,`Unterminated @let declaration "${a}". Declaration must be terminated with a semicolon.`));p=this._advance();const f=p.sourceSpan.fullStart,v=new Xt(i.sourceSpan.start,f,i.sourceSpan.fullStart),M=i.sourceSpan.toString().lastIndexOf(a),L=i.sourceSpan.start.moveBy(M),O=new Xt(L,i.sourceSpan.end),V=new vy(a,u.parts[0],v,O,u.sourceSpan);this._addToParent(V)}_consumeIncompleteLet(i){const a=i.parts[0]??"",u=a?` "${a}"`:"";if(a.length>0){const p=i.sourceSpan.toString().lastIndexOf(a),f=i.sourceSpan.start.moveBy(p),v=new Xt(f,i.sourceSpan.end),M=new Xt(i.sourceSpan.start,i.sourceSpan.start.moveBy(0)),L=new vy(a,"",i.sourceSpan,v,M);this._addToParent(L)}this.errors.push(er.create(i.parts[0],i.sourceSpan,`Incomplete @let declaration${u}. @let declarations must be written as \`@let = ;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let i=this._containerStack.length-1;i>-1;i--)if(this._containerStack[i]instanceof aa)return this._containerStack[i];return null}_addToParent(i){const a=this._getContainer();null===a?this.rootNodes.push(i):a.children.push(i)}_getElementFullName(i,a,u){if(""===i&&(""===(i=this.getTagDefinition(a).implicitNamespacePrefix||"")&&null!=u)){const p=li(u.name)[1];this.getTagDefinition(p).preventNamespaceInheritance||(i=xh(u.name))}return Hu(i,a)}}function kx(l,i){return l.length>0&&l[l.length-1]===i}function Tx(l,i){return void 0!==SS[i]?SS[i]||l:/^#x[a-f0-9]+$/i.test(i)?String.fromCodePoint(parseInt(i.slice(2),16)):/^#\d+$/.test(i)?String.fromCodePoint(parseInt(i.slice(1),10)):l}const Ix="ngPreserveWhitespaces",T2=new Set(["pre","template","textarea","script","style"]),Ax=" \f\n\r\t\v\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff",lo=new RegExp(`[^${Ax}]`),al=new RegExp(`[${Ax}]{2,}`,"g");function Lx(l){return l.replace(new RegExp(ep,"g")," ")}class Cy{constructor(i,a,u=!0){this.preserveSignificantWhitespace=i,this.originalNodeMap=a,this.requireContext=u,this.icuExpansionDepth=0}visitElement(i,a){if(T2.has(i.name)||function I2(l){return l.some(i=>i.name===Ix)}(i.attrs)){const p=new aa(i.name,au(this,i.attrs),i.children,i.sourceSpan,i.startSourceSpan,i.endSourceSpan,i.i18n);return this.originalNodeMap?.set(p,i),p}const u=new aa(i.name,i.attrs,au(this,i.children),i.sourceSpan,i.startSourceSpan,i.endSourceSpan,i.i18n);return this.originalNodeMap?.set(u,i),u}visitAttribute(i,a){return i.name!==Ix?i:null}visitText(i,a){const u=i.value.match(lo),p=a&&(a.prev instanceof Zh||a.next instanceof Zh);if(this.icuExpansionDepth>0&&this.preserveSignificantWhitespace)return i;if(u||p){const v=i.tokens.map(V=>5===V.type?function Px({type:l,parts:i,sourceSpan:a}){return{type:l,parts:[Ox(i[0])],sourceSpan:a}}(V):V);if(!this.preserveSignificantWhitespace&&v.length>0){const V=v[0];v.splice(0,1,function A2(l,i){return 5!==l.type||i?.prev?l:Rx(l,u=>u.trimStart())}(V,a));const Z=v[v.length-1];v.splice(v.length-1,1,function L2(l,i){return 5!==l.type||i?.next?l:Rx(l,u=>u.trimEnd())}(Z,a))}const M=Ox(i.value),L=this.preserveSignificantWhitespace?M:function P2(l,i){const a=!i?.prev,u=!i?.next,p=a?l.trimStart():l;return u?p.trimEnd():p}(M,a),O=new Xh(L,i.sourceSpan,v,i.i18n);return this.originalNodeMap?.set(O,i),O}return null}visitComment(i,a){return i}visitExpansion(i,a){let u;this.icuExpansionDepth++;try{u=new Zh(i.switchValue,i.type,au(this,i.cases),i.sourceSpan,i.switchValueSourceSpan,i.i18n)}finally{this.icuExpansionDepth--}return this.originalNodeMap?.set(u,i),u}visitExpansionCase(i,a){const u=new Im(i.value,au(this,i.expression),i.sourceSpan,i.valueSourceSpan,i.expSourceSpan);return this.originalNodeMap?.set(u,i),u}visitBlock(i,a){const u=new Wr(i.name,i.parameters,au(this,i.children),i.sourceSpan,i.nameSpan,i.startSourceSpan,i.endSourceSpan);return this.originalNodeMap?.set(u,i),u}visitBlockParameter(i,a){return i}visitLetDeclaration(i,a){return i}visit(i,a){if(this.requireContext&&!a)throw new Error("WhitespaceVisitor requires context. Visit via `visitAllWithSiblings` to get this context.");return!1}}function Rx({type:l,parts:i,sourceSpan:a},u){return{type:l,parts:[u(i[0])],sourceSpan:a}}function Ox(l){return Lx(l).replace(al," ")}function au(l,i){const a=[];return i.forEach((u,p)=>{const f={prev:i[p-1],next:i[p+1]},v=u.visit(l,f);v&&a.push(v)}),a}var on;!function(l){l[l.Character=0]="Character",l[l.Identifier=1]="Identifier",l[l.PrivateIdentifier=2]="PrivateIdentifier",l[l.Keyword=3]="Keyword",l[l.String=4]="String",l[l.Operator=5]="Operator",l[l.Number=6]="Number",l[l.Error=7]="Error"}(on||(on={}));const sc=["var","let","as","null","undefined","true","false","if","else","this"];class vd{tokenize(i){const a=new OS(i),u=[];let p=a.scanToken();for(;null!=p;)u.push(p),p=a.scanToken();return u}}class ll{constructor(i,a,u,p,f){this.index=i,this.end=a,this.type=u,this.numValue=p,this.strValue=f}isCharacter(i){return this.type==on.Character&&this.numValue==i}isNumber(){return this.type==on.Number}isString(){return this.type==on.String}isOperator(i){return this.type==on.Operator&&this.strValue==i}isIdentifier(){return this.type==on.Identifier}isPrivateIdentifier(){return this.type==on.PrivateIdentifier}isKeyword(){return this.type==on.Keyword}isKeywordLet(){return this.type==on.Keyword&&"let"==this.strValue}isKeywordAs(){return this.type==on.Keyword&&"as"==this.strValue}isKeywordNull(){return this.type==on.Keyword&&"null"==this.strValue}isKeywordUndefined(){return this.type==on.Keyword&&"undefined"==this.strValue}isKeywordTrue(){return this.type==on.Keyword&&"true"==this.strValue}isKeywordFalse(){return this.type==on.Keyword&&"false"==this.strValue}isKeywordThis(){return this.type==on.Keyword&&"this"==this.strValue}isError(){return this.type==on.Error}toNumber(){return this.type==on.Number?this.numValue:-1}toString(){switch(this.type){case on.Character:case on.Identifier:case on.Keyword:case on.Operator:case on.PrivateIdentifier:case on.String:case on.Error:return this.strValue;case on.Number:return this.numValue.toString();default:return null}}}function IS(l,i,a){return new ll(l,i,on.Character,a,String.fromCharCode(a))}function AS(l,i,a){return new ll(l,i,on.Operator,0,a)}const RS=new ll(-1,-1,on.Character,0,"");class OS{constructor(i){this.input=i,this.peek=0,this.index=-1,this.length=i.length,this.advance()}advance(){this.peek=++this.index>=this.length?Vs:this.input.charCodeAt(this.index)}scanToken(){const i=this.input,a=this.length;let u=this.peek,p=this.index;for(;u<=Br;){if(++p>=a){u=Vs;break}u=i.charCodeAt(p)}if(this.peek=u,this.index=p,p>=a)return null;if(NS(u))return this.scanIdentifier();if(na(u))return this.scanNumber(p);const f=p;switch(u){case 46:return this.advance(),na(this.peek)?this.scanNumber(f):IS(f,this.index,46);case 40:case 41:case ka:case so:case _:case A:case 44:case 58:case 59:return this.scanCharacter(f,u);case 39:case 34:return this.scanString();case 35:return this.scanPrivateIdentifier();case 43:case 45:case 42:case 47:case 37:case 94:return this.scanOperator(f,String.fromCharCode(u));case 63:return this.scanQuestion(f);case 60:case 62:return this.scanComplexOperator(f,String.fromCharCode(u),61,"=");case 33:case 61:return this.scanComplexOperator(f,String.fromCharCode(u),61,"=",61,"=");case 38:return this.scanComplexOperator(f,"&",38,"&");case 124:return this.scanComplexOperator(f,"|",124,"|");case Q_:for(;kn(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(u)}]`,0)}scanCharacter(i,a){return this.advance(),IS(i,this.index,a)}scanOperator(i,a){return this.advance(),AS(i,this.index,a)}scanComplexOperator(i,a,u,p,f,v){this.advance();let M=a;return this.peek==u&&(this.advance(),M+=p),null!=f&&this.peek==f&&(this.advance(),M+=v),AS(i,this.index,M)}scanIdentifier(){const i=this.index;for(this.advance();FS(this.peek);)this.advance();const a=this.input.substring(i,this.index);return sc.indexOf(a)>-1?function O2(l,i,a){return new ll(l,i,on.Keyword,0,a)}(i,this.index,a):function Nx(l,i,a){return new ll(l,i,on.Identifier,0,a)}(i,this.index,a)}scanPrivateIdentifier(){const i=this.index;if(this.advance(),!NS(this.peek))return this.error("Invalid character [#]",-1);for(;FS(this.peek);)this.advance();const a=this.input.substring(i,this.index);return function R2(l,i,a){return new ll(l,i,on.PrivateIdentifier,0,a)}(i,this.index,a)}scanNumber(i){let a=this.index===i,u=!1;for(this.advance();;){if(!na(this.peek))if(this.peek===U){if(!na(this.input.charCodeAt(this.index-1))||!na(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);u=!0}else if(46===this.peek)a=!1;else{if(!F2(this.peek))break;if(this.advance(),Y2(this.peek)&&this.advance(),!na(this.peek))return this.error("Invalid exponent",-1);a=!1}this.advance()}let p=this.input.substring(i,this.index);u&&(p=p.replace(/_/g,""));const f=a?function Yx(l){const i=parseInt(l);if(isNaN(i))throw new Error("Invalid integer literal when parsing "+l);return i}(p):parseFloat(p);return function PS(l,i,a){return new ll(l,i,on.Number,a,"")}(i,this.index,f)}scanString(){const i=this.index,a=this.peek;this.advance();let u="",p=this.index;const f=this.input;for(;this.peek!=a;)if(92==this.peek){let M;if(u+=f.substring(p,this.index),this.advance(),117==this.peek){const L=f.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(L))return this.error(`Invalid unicode escape [\\u${L}]`,0);M=parseInt(L,16);for(let O=0;O<5;O++)this.advance()}else M=Fx(this.peek),this.advance();u+=String.fromCharCode(M),p=this.index}else{if(this.peek==Vs)return this.error("Unterminated quote",0);this.advance()}const v=f.substring(p,this.index);return this.advance(),function LS(l,i,a){return new ll(l,i,on.String,0,a)}(i,this.index,u+v)}scanQuestion(i){this.advance();let a="?";return(63===this.peek||46===this.peek)&&(a+=46===this.peek?".":"?",this.advance()),AS(i,this.index,a)}error(i,a){const u=this.index+a;return function N2(l,i,a){return new ll(l,i,on.Error,0,a)}(u,this.index,`Lexer Error: ${i} at column ${u} in expression [${this.input}]`)}}function NS(l){return ie<=l&&l<=cm||Qu<=l&&l<=Cn||l==U||l==no}function FS(l){return Ql(l)||na(l)||l==U||l==no}function F2(l){return 101==l||69==l}function Y2(l){return 45==l||43==l}function Fx(l){switch(l){case 110:return 10;case un:return 12;case 114:return 13;case 116:return Yr;case 118:return 11;default:return l}}class B2{constructor(i,a,u){this.strings=i,this.expressions=a,this.offsets=u}}class j2{constructor(i,a,u){this.templateBindings=i,this.warnings=a,this.errors=u}}class YS{constructor(i){this._lexer=i,this.errors=[]}parseAction(i,a,u,p=Bi){this._checkNoInterpolation(i,a,p);const f=this._stripComments(i),v=this._lexer.tokenize(f),M=new sp(i,a,u,v,1,this.errors,0).parseChain();return new Xr(M,i,a,u,this.errors)}parseBinding(i,a,u,p=Bi){const f=this._parseBindingAst(i,a,u,p);return new Xr(f,i,a,u,this.errors)}checkSimpleExpression(i){const a=new BS;return i.visit(a),a.errors}parseSimpleBinding(i,a,u,p=Bi){const f=this._parseBindingAst(i,a,u,p),v=this.checkSimpleExpression(f);return v.length>0&&this._reportError(`Host binding expression cannot contain ${v.join(" ")}`,i,a),new Xr(f,i,a,u,this.errors)}_reportError(i,a,u,p){this.errors.push(new Uf(i,a,u,p))}_parseBindingAst(i,a,u,p){this._checkNoInterpolation(i,a,p);const f=this._stripComments(i),v=this._lexer.tokenize(f);return new sp(i,a,u,v,0,this.errors,0).parseChain()}parseTemplateBindings(i,a,u,p,f){const v=this._lexer.tokenize(a);return new sp(a,u,f,v,0,this.errors,0).parseTemplateBindings({source:i,span:new Wi(p,p+i.length)})}parseInterpolation(i,a,u,p,f=Bi){const{strings:v,expressions:M,offsets:L}=this.splitInterpolation(i,a,p,f);if(0===M.length)return null;const O=[];for(let V=0;VV.text),O,i,a,u)}parseInterpolationExpression(i,a,u){const p=this._stripComments(i),f=this._lexer.tokenize(p),v=new sp(i,a,u,f,0,this.errors,0).parseChain();return this.createInterpolationAst(["",""],[v],i,a,u)}createInterpolationAst(i,a,u,p,f){const v=new Bc(0,u.length),M=new qo(v,v.toAbsolute(f),i,a);return new Xr(M,u,p,f,this.errors)}splitInterpolation(i,a,u,p=Bi){const f=[],v=[],M=[],L=u?function V2(l){let i=new Map,a=0,u=0,p=0;for(;pM+L.length,0);u+=v,a+=v}i.set(u,a),p++}return i}(u):null;let O=0,V=!1,Z=!1,{start:he,end:ke}=p;for(;O-1)break;f>-1&&v>-1&&this._reportError(`Got interpolation (${u}${p}) where expression was expected`,i,`at column ${f} in`,a)}_getInterpolationEndIndex(i,a,u){for(const p of this._forEachUnquotedChar(i,u)){if(i.startsWith(a,p))return p;if(i.startsWith("//",p))return i.indexOf(a,p)}return-1}*_forEachUnquotedChar(i,a){let u=null,p=0;for(let f=a;f=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){return this.index>0?this.peek(-1).end+this.offset:0===this.tokens.length?this.input.length+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(i,a){let u=this.currentEndIndex;if(void 0!==a&&a>this.currentEndIndex&&(u=a),i>u){const p=u;u=i,i=p}return new Bc(i,u)}sourceSpan(i,a){const u=`${i}@${this.inputIndex}:${a}`;return this.sourceSpanCache.has(u)||this.sourceSpanCache.set(u,this.span(i,a).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(u)}advance(){this.index++}withContext(i,a){this.context|=i;const u=a();return this.context^=i,u}consumeOptionalCharacter(i){return!!this.next.isCharacter(i)&&(this.advance(),!0)}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(i){this.consumeOptionalCharacter(i)||this.error(`Missing expected ${String.fromCharCode(i)}`)}consumeOptionalOperator(i){return!!this.next.isOperator(i)&&(this.advance(),!0)}expectOperator(i){this.consumeOptionalOperator(i)||this.error(`Missing expected operator ${i}`)}prettyPrintToken(i){return i===RS?"end of input":`token ${i}`}expectIdentifierOrKeyword(){const i=this.next;return i.isIdentifier()||i.isKeyword()?(this.advance(),i.toString()):(i.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(i,"expected identifier or keyword"):this.error(`Unexpected ${this.prettyPrintToken(i)}, expected identifier or keyword`),null)}expectIdentifierOrKeywordOrString(){const i=this.next;return i.isIdentifier()||i.isKeyword()||i.isString()?(this.advance(),i.toString()):(i.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(i,"expected identifier, keyword or string"):this.error(`Unexpected ${this.prettyPrintToken(i)}, expected identifier, keyword, or string`),"")}parseChain(){const i=[],a=this.inputIndex;for(;this.index":case"<=":case">=":this.advance();const p=this.parseAdditive();a=new ai(this.span(i),this.sourceSpan(i),u,a,p);continue}break}return a}parseAdditive(){const i=this.inputIndex;let a=this.parseMultiplicative();for(;this.next.type==on.Operator;){const u=this.next.strValue;switch(u){case"+":case"-":this.advance();let p=this.parseMultiplicative();a=new ai(this.span(i),this.sourceSpan(i),u,a,p);continue}break}return a}parseMultiplicative(){const i=this.inputIndex;let a=this.parsePrefix();for(;this.next.type==on.Operator;){const u=this.next.strValue;switch(u){case"*":case"%":case"/":this.advance();let p=this.parsePrefix();a=new ai(this.span(i),this.sourceSpan(i),u,a,p);continue}break}return a}parsePrefix(){if(this.next.type==on.Operator){const i=this.inputIndex;let u;switch(this.next.strValue){case"+":return this.advance(),u=this.parsePrefix(),Go.createPlus(this.span(i),this.sourceSpan(i),u);case"-":return this.advance(),u=this.parsePrefix(),Go.createMinus(this.span(i),this.sourceSpan(i),u);case"!":return this.advance(),u=this.parsePrefix(),new Di(this.span(i),this.sourceSpan(i),u)}}return this.parseCallChain()}parseCallChain(){const i=this.inputIndex;let a=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(46))a=this.parseAccessMember(a,i,!1);else if(this.consumeOptionalOperator("?."))a=this.consumeOptionalCharacter(40)?this.parseCall(a,i,!0):this.consumeOptionalCharacter(_)?this.parseKeyedReadOrWrite(a,i,!0):this.parseAccessMember(a,i,!0);else if(this.consumeOptionalCharacter(_))a=this.parseKeyedReadOrWrite(a,i,!1);else if(this.consumeOptionalCharacter(40))a=this.parseCall(a,i,!1);else{if(!this.consumeOptionalOperator("!"))return a;a=new Ko(this.span(i),this.sourceSpan(i),a)}}parsePrimary(){const i=this.inputIndex;if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const a=this.parsePipe();return this.rparensExpected--,this.expectCharacter(41),a}if(this.next.isKeywordNull())return this.advance(),new Si(this.span(i),this.sourceSpan(i),null);if(this.next.isKeywordUndefined())return this.advance(),new Si(this.span(i),this.sourceSpan(i),void 0);if(this.next.isKeywordTrue())return this.advance(),new Si(this.span(i),this.sourceSpan(i),!0);if(this.next.isKeywordFalse())return this.advance(),new Si(this.span(i),this.sourceSpan(i),!1);if(this.next.isKeywordThis())return this.advance(),new we(this.span(i),this.sourceSpan(i));if(this.consumeOptionalCharacter(_)){this.rbracketsExpected++;const a=this.parseExpressionList(A);return this.rbracketsExpected--,this.expectCharacter(A),new Fl(this.span(i),this.sourceSpan(i),a)}if(this.next.isCharacter(ka))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMember(new Ol(this.span(i),this.sourceSpan(i)),i,!1);if(this.next.isNumber()){const a=this.next.toNumber();return this.advance(),new Si(this.span(i),this.sourceSpan(i),a)}if(this.next.isString()){const a=this.next.toString();return this.advance(),new Si(this.span(i),this.sourceSpan(i),a)}return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new Zs(this.span(i),this.sourceSpan(i))):this.index>=this.tokens.length?(this.error(`Unexpected end of expression: ${this.input}`),new Zs(this.span(i),this.sourceSpan(i))):(this.error(`Unexpected token ${this.next}`),new Zs(this.span(i),this.sourceSpan(i)))}parseExpressionList(i){const a=[];do{if(this.next.isCharacter(i))break;a.push(this.parsePipe())}while(this.consumeOptionalCharacter(44));return a}parseLiteralMap(){const i=[],a=[],u=this.inputIndex;if(this.expectCharacter(ka),!this.consumeOptionalCharacter(so)){this.rbracesExpected++;do{const p=this.inputIndex,f=this.next.isString(),v=this.expectIdentifierOrKeywordOrString(),M={key:v,quoted:f};if(i.push(M),f)this.expectCharacter(58),a.push(this.parsePipe());else if(this.consumeOptionalCharacter(58))a.push(this.parsePipe());else{M.isShorthandInitialized=!0;const L=this.span(p),O=this.sourceSpan(p);a.push(new zo(L,O,O,new Ol(L,O),v))}}while(this.consumeOptionalCharacter(44)&&!this.next.isCharacter(so));this.rbracesExpected--,this.expectCharacter(so)}return new Wo(this.span(u),this.sourceSpan(u),i,a)}parseAccessMember(i,a,u){const p=this.inputIndex,f=this.withContext(ic.Writable,()=>{const L=this.expectIdentifierOrKeyword()??"";return 0===L.length&&this.error("Expected identifier for property access",i.span.end),L}),v=this.sourceSpan(p);let M;if(u)this.consumeOptionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),M=new Zs(this.span(a),this.sourceSpan(a))):M=new za(this.span(a),this.sourceSpan(a),v,i,f);else if(this.consumeOptionalOperator("=")){if(!(1&this.parseFlags))return this.error("Bindings cannot contain assignments"),new Zs(this.span(a),this.sourceSpan(a));const L=this.parseConditional();M=new Nl(this.span(a),this.sourceSpan(a),v,i,f,L)}else M=new zo(this.span(a),this.sourceSpan(a),v,i,f);return M}parseCall(i,a,u){const p=this.inputIndex;this.rparensExpected++;const f=this.parseCallArguments(),v=this.span(p,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(41),this.rparensExpected--;const M=this.span(a),L=this.sourceSpan(a);return u?new wa(M,L,i,f,v):new Yl(M,L,i,f,v)}parseCallArguments(){if(this.next.isCharacter(41))return[];const i=[];do{i.push(this.parsePipe())}while(this.consumeOptionalCharacter(44));return i}expectTemplateBindingKey(){let i="",a=!1;const u=this.currentAbsoluteOffset;do{i+=this.expectIdentifierOrKeywordOrString(),a=this.consumeOptionalOperator("-"),a&&(i+="-")}while(a);return{source:i,span:new Wi(u,u+i.length)}}parseTemplateBindings(i){const a=[];for(a.push(...this.parseDirectiveKeywordBindings(i));this.index{this.rbracketsExpected++;const p=this.parsePipe();if(p instanceof Zs&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(A),!this.consumeOptionalOperator("="))return u?new Eh(this.span(a),this.sourceSpan(a),i,p):new jc(this.span(a),this.sourceSpan(a),i,p);if(!u){const f=this.parseConditional();return new Wa(this.span(a),this.sourceSpan(a),i,p,f)}return this.error("The '?.' operator cannot be used in the assignment"),new Zs(this.span(a),this.sourceSpan(a))})}parseDirectiveKeywordBindings(i){const a=[];this.consumeOptionalCharacter(58);const u=this.getDirectiveBoundTarget();let p=this.currentAbsoluteOffset;const f=this.parseAsBinding(i);f||(this.consumeStatementTerminator(),p=this.currentAbsoluteOffset);const v=new Wi(i.span.start,p);return a.push(new F_(v,i,u)),f&&a.push(f),a}getDirectiveBoundTarget(){if(this.next===RS||this.peekKeywordAs()||this.peekKeywordLet())return null;const i=this.parsePipe(),{start:a,end:u}=i.span,p=this.input.substring(a,u);return new Xr(i,p,this.location,this.absoluteOffset+a,this.errors)}parseAsBinding(i){if(!this.peekKeywordAs())return null;this.advance();const a=this.expectTemplateBindingKey();this.consumeStatementTerminator();const u=new Wi(i.span.start,this.currentAbsoluteOffset);return new N_(u,a,i)}parseLetBinding(){if(!this.peekKeywordLet())return null;const i=this.currentAbsoluteOffset;this.advance();const a=this.expectTemplateBindingKey();let u=null;this.consumeOptionalOperator("=")&&(u=this.expectTemplateBindingKey()),this.consumeStatementTerminator();const p=new Wi(i,this.currentAbsoluteOffset);return new N_(p,a,u)}consumeStatementTerminator(){this.consumeOptionalCharacter(59)||this.consumeOptionalCharacter(44)}error(i,a=null){this.errors.push(new Uf(i,this.input,this.locationText(a),this.location)),this.skip()}locationText(i=null){return null==i&&(i=this.index),i(l.set(i,a),l),new Map);class Ey extends H2{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,_V.forEach(i=>{const a=new Map,u=new Set,[p,f]=i.split("|"),v=f.split(","),[M,L]=p.split("^");M.split(",").forEach(V=>{this._schema.set(V.toLowerCase(),a),this._eventSchema.set(V.toLowerCase(),u)});const O=L&&this._schema.get(L.toLowerCase());if(O){for(const[V,Z]of O)a.set(V,Z);for(const V of this._eventSchema.get(L.toLowerCase()))u.add(V)}v.forEach(V=>{if(V.length>0)switch(V[0]){case"*":u.add(V.substring(1));break;case"!":a.set(V.substring(1),"boolean");break;case"#":a.set(V.substring(1),"number");break;case"%":a.set(V.substring(1),"object");break;default:a.set(V,"string")}})})}hasProperty(i,a,u){if(u.some(f=>f.name===K.name))return!0;if(i.indexOf("-")>-1){if(Sa(i)||qi(i))return!1;if(u.some(f=>f.name===$.name))return!0}return(this._schema.get(i.toLowerCase())||this._schema.get("unknown")).has(a)}hasElement(i,a){return!!(a.some(u=>u.name===K.name)||i.indexOf("-")>-1&&(Sa(i)||qi(i)||a.some(u=>u.name===$.name)))||this._schema.has(i.toLowerCase())}securityContext(i,a,u){u&&(a=this.getMappedPropName(a)),i=i.toLowerCase(),a=a.toLowerCase();let p=Bx()[i+"|"+a];return p||(p=Bx()["*|"+a],p||J.NONE)}getMappedPropName(i){return W2.get(i)??i}getDefaultComponentElementName(){return"ng-component"}validateProperty(i){return i.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${i}' is disallowed for security reasons, please use (${i.slice(2)})=...\nIf '${i}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(i){return i.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${i}' is disallowed for security reasons, please use (${i.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(i){const a=this._schema.get(i.toLowerCase())||this._schema.get("unknown");return Array.from(a.keys()).map(u=>Om.get(u)??u)}allKnownEventsOfElement(i){return Array.from(this._eventSchema.get(i.toLowerCase())??[])}normalizeAnimationStyleProperty(i){return function vE(l){return l.replace(yE,(...i)=>i[1].toUpperCase())}(i)}normalizeAnimationStyleValue(i,a,u){let p="";const f=u.toString().trim();let v=null;if(function q2(l){switch(l){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}(i)&&0!==u&&"0"!==u)if("number"==typeof u)p="px";else{const M=u.match(/^[+-]?[\d\.]+([a-z]*)$/);M&&0==M[1].length&&(v=`Please provide a CSS unit value for ${a}:${u}`)}return{error:v,value:f+p}}}class _n{constructor({closedByChildren:i,implicitNamespacePrefix:a,contentType:u=Bs.PARSABLE_DATA,closedByParent:p=!1,isVoid:f=!1,ignoreFirstLf:v=!1,preventNamespaceInheritance:M=!1,canSelfClose:L=!1}={}){this.closedByChildren={},this.closedByParent=!1,i&&i.length>0&&i.forEach(O=>this.closedByChildren[O]=!0),this.isVoid=f,this.closedByParent=p||f,this.implicitNamespacePrefix=a||null,this.contentType=u,this.ignoreFirstLf=v,this.preventNamespaceInheritance=M,this.canSelfClose=L??f}isClosedByChild(i){return this.isVoid||i.toLowerCase()in this.closedByChildren}getContentType(i){return"object"==typeof this.contentType?(void 0===i?void 0:this.contentType[i])??this.contentType.default:this.contentType}}let jS,ip;function Ux(l){return ip||(jS=new _n({canSelfClose:!0}),ip=Object.assign(Object.create(null),{base:new _n({isVoid:!0}),meta:new _n({isVoid:!0}),area:new _n({isVoid:!0}),embed:new _n({isVoid:!0}),link:new _n({isVoid:!0}),img:new _n({isVoid:!0}),input:new _n({isVoid:!0}),param:new _n({isVoid:!0}),hr:new _n({isVoid:!0}),br:new _n({isVoid:!0}),source:new _n({isVoid:!0}),track:new _n({isVoid:!0}),wbr:new _n({isVoid:!0}),p:new _n({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new _n({closedByChildren:["tbody","tfoot"]}),tbody:new _n({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new _n({closedByChildren:["tbody"],closedByParent:!0}),tr:new _n({closedByChildren:["tr"],closedByParent:!0}),td:new _n({closedByChildren:["td","th"],closedByParent:!0}),th:new _n({closedByChildren:["td","th"],closedByParent:!0}),col:new _n({isVoid:!0}),svg:new _n({implicitNamespacePrefix:"svg"}),foreignObject:new _n({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new _n({implicitNamespacePrefix:"math"}),li:new _n({closedByChildren:["li"],closedByParent:!0}),dt:new _n({closedByChildren:["dt","dd"]}),dd:new _n({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new _n({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new _n({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new _n({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new _n({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new _n({closedByChildren:["optgroup"],closedByParent:!0}),option:new _n({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new _n({ignoreFirstLf:!0}),listing:new _n({ignoreFirstLf:!0}),style:new _n({contentType:Bs.RAW_TEXT}),script:new _n({contentType:Bs.RAW_TEXT}),title:new _n({contentType:{default:Bs.ESCAPABLE_RAW_TEXT,svg:Bs.PARSABLE_DATA}}),textarea:new _n({contentType:Bs.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),(new Ey).allKnownElementNames().forEach(i=>{!ip[i]&&null===xh(i)&&(ip[i]=new _n({canSelfClose:!1}))})),ip[l]??ip[l.toLowerCase()]??jS}const $x={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"};class G2{constructor(){this._placeHolderNameCounts={},this._signatureToName={}}getStartTagPlaceholderName(i,a,u){const p=this._hashTag(i,a,u);if(this._signatureToName[p])return this._signatureToName[p];const f=i.toUpperCase(),v=$x[f]||`TAG_${f}`,M=this._generateUniqueName(u?v:`START_${v}`);return this._signatureToName[p]=M,M}getCloseTagPlaceholderName(i){const a=this._hashClosingTag(i);if(this._signatureToName[a])return this._signatureToName[a];const u=i.toUpperCase(),p=$x[u]||`TAG_${u}`,f=this._generateUniqueName(`CLOSE_${p}`);return this._signatureToName[a]=f,f}getPlaceholderName(i,a){const u=i.toUpperCase(),p=`PH: ${u}=${a}`;if(this._signatureToName[p])return this._signatureToName[p];const f=this._generateUniqueName(u);return this._signatureToName[p]=f,f}getUniquePlaceholder(i){return this._generateUniqueName(i.toUpperCase())}getStartBlockPlaceholderName(i,a){const u=this._hashBlock(i,a);if(this._signatureToName[u])return this._signatureToName[u];const p=this._generateUniqueName(`START_BLOCK_${this._toSnakeCase(i)}`);return this._signatureToName[u]=p,p}getCloseBlockPlaceholderName(i){const a=this._hashClosingBlock(i);if(this._signatureToName[a])return this._signatureToName[a];const u=this._generateUniqueName(`CLOSE_BLOCK_${this._toSnakeCase(i)}`);return this._signatureToName[a]=u,u}_hashTag(i,a,u){return`<${i}`+Object.keys(a).sort().map(M=>` ${M}=${a[M]}`).join("")+(u?"/>":`>`)}_hashClosingTag(i){return this._hashTag(`/${i}`,{},!1)}_hashBlock(i,a){return`@${i}${0===a.length?"":` (${a.sort().join("; ")})`} {}`}_hashClosingBlock(i){return this._hashBlock(`close_${i}`,[])}_toSnakeCase(i){return i.toUpperCase().replace(/[^A-Z0-9]/g,"_")}_generateUniqueName(i){if(!this._placeHolderNameCounts.hasOwnProperty(i))return this._placeHolderNameCounts[i]=1,i;const u=this._placeHolderNameCounts[i];return this._placeHolderNameCounts[i]=u+1,`${i}_${u}`}}const K2=new YS(new vd);function zx(l,i,a){const u=new yV(K2,l,i,a);return(p,f,v,M,L)=>u.toI18nMessage(p,f,v,M,L)}function VS(l,i){return i}class yV{constructor(i,a,u,p){this._expressionParser=i,this._interpolationConfig=a,this._containerBlocks=u,this._retainEmptyTokens=p}toI18nMessage(i,a="",u="",p="",f){const v={isIcu:1==i.length&&i[0]instanceof Zh,icuDepth:0,placeholderRegistry:new G2,placeholderToContent:{},placeholderToMessage:{},visitNodeFn:f||VS},M=Ft(this,i,v);return new br(M,v.placeholderToContent,v.placeholderToMessage,a,u,p)}visitElement(i,a){const u=Ft(this,i.children,a),p={};i.attrs.forEach(O=>{p[O.name]=O.value});const f=Ux(i.name).isVoid,v=a.placeholderRegistry.getStartTagPlaceholderName(i.name,p,f);a.placeholderToContent[v]={text:i.startSourceSpan.toString(),sourceSpan:i.startSourceSpan};let M="";f||(M=a.placeholderRegistry.getCloseTagPlaceholderName(i.name),a.placeholderToContent[M]={text:``,sourceSpan:i.endSourceSpan??i.sourceSpan});const L=new Jo(i.name,p,v,M,u,f,i.sourceSpan,i.startSourceSpan,i.endSourceSpan);return a.visitNodeFn(i,L)}visitAttribute(i,a){const u=void 0===i.valueTokens||1===i.valueTokens.length?new Zo(i.value,i.valueSpan||i.sourceSpan):this._visitTextWithInterpolation(i.valueTokens,i.valueSpan||i.sourceSpan,a,i.i18n);return a.visitNodeFn(i,u)}visitText(i,a){const u=1===i.tokens.length?new Zo(i.value,i.sourceSpan):this._visitTextWithInterpolation(i.tokens,i.sourceSpan,a,i.i18n);return a.visitNodeFn(i,u)}visitComment(i,a){return null}visitExpansion(i,a){a.icuDepth++;const u={},p=new Vc(i.switchValue,i.type,u,i.sourceSpan);if(i.cases.forEach(M=>{u[M.value]=new lr(M.expression.map(L=>L.visit(this,a)),M.expSourceSpan)}),a.icuDepth--,a.isIcu||a.icuDepth>0){const M=a.placeholderRegistry.getUniquePlaceholder(`VAR_${i.type}`);return p.expressionPlaceholder=M,a.placeholderToContent[M]={text:i.switchValue,sourceSpan:i.switchValueSourceSpan},a.visitNodeFn(i,p)}const f=a.placeholderRegistry.getPlaceholderName("ICU",i.sourceSpan.toString());a.placeholderToMessage[f]=this.toI18nMessage([i],"","","",void 0);const v=new Ca(p,f,i.sourceSpan);return a.visitNodeFn(i,v)}visitExpansionCase(i,a){throw new Error("Unreachable code")}visitBlock(i,a){const u=Ft(this,i.children,a);if(this._containerBlocks.has(i.name))return new lr(u,i.sourceSpan);const p=i.parameters.map(L=>L.expression),f=a.placeholderRegistry.getStartBlockPlaceholderName(i.name,p),v=a.placeholderRegistry.getCloseBlockPlaceholderName(i.name);a.placeholderToContent[f]={text:i.startSourceSpan.toString(),sourceSpan:i.startSourceSpan},a.placeholderToContent[v]={text:i.endSourceSpan?i.endSourceSpan.toString():"}",sourceSpan:i.endSourceSpan??i.sourceSpan};const M=new Hl(i.name,p,f,v,u,i.sourceSpan,i.startSourceSpan,i.endSourceSpan);return a.visitNodeFn(i,M)}visitBlockParameter(i,a){throw new Error("Unreachable code")}visitLetDeclaration(i,a){return null}_visitTextWithInterpolation(i,a,u,p){const f=[];let v=!1;for(const M of i)switch(M.type){case 8:case 17:v=!0;const L=M.parts[1],O=SV(L)||"INTERPOLATION",V=u.placeholderRegistry.getPlaceholderName(O,L);u.placeholderToContent[V]={text:M.parts.join(""),sourceSpan:M.sourceSpan},f.push(new ea(L,V,M.sourceSpan));break;default:if(M.parts[0].length>0||this._retainEmptyTokens){const Z=f[f.length-1];Z instanceof Zo?(Z.value+=M.parts[0],Z.sourceSpan=new Xt(Z.sourceSpan.start,M.sourceSpan.end,Z.sourceSpan.fullStart,Z.sourceSpan.details)):f.push(new Zo(M.parts[0],M.sourceSpan))}else this._retainEmptyTokens&&f.push(new Zo(M.parts[0],M.sourceSpan))}return v?(function vV(l,i){if(i instanceof br&&(function HS(l){const i=l.nodes;if(1!==i.length||!(i[0]instanceof lr))throw new Error("Unexpected previous i18n message - expected it to consist of only a single `Container` node.")}(i),i=i.nodes[0]),i instanceof lr){!function bV(l,i){if(l.length!==i.length)throw new Error(`\nThe number of i18n message children changed between first and second pass.\n\nFirst pass (${l.length} tokens):\n${l.map(a=>`"${a.sourceSpan.toString()}"`).join("\n")}\n\nSecond pass (${i.length} tokens):\n${i.map(a=>`"${a.sourceSpan.toString()}"`).join("\n")}\n `.trim());if(l.some((a,u)=>i[u].constructor!==a.constructor))throw new Error("The types of the i18n message children changed between first and second pass.")}(i.children,l);for(let a=0;a(i,a)=>{const u=l.get(i)??i;return u instanceof _d&&(a instanceof Ca&&u.i18n instanceof br&&(a.previousMessage=u.i18n),u.i18n=a),a};class Nm{constructor(i=Bi,a=!1,u=!1,p=ys,f=!0,v=!f){this.interpolationConfig=i,this.keepI18nAttrs=a,this.enableI18nLegacyMessageIdFormat=u,this.containerBlocks=p,this.preserveSignificantWhitespace=f,this.retainEmptyTokens=v,this.hasI18nMeta=!1,this._errors=[]}_generateI18nMessage(i,a="",u){const{meaning:p,description:f,customId:v}=this._parseMetadata(a),L=zx(this.interpolationConfig,this.containerBlocks,this.retainEmptyTokens)(i,p,f,v,u);return this._setMessageId(L,a),this._setLegacyIds(L,a),L}visitAllWithErrors(i){const a=i.map(u=>u.visit(this,null));return new np(a,this._errors)}visitElement(i){let a;if(function qu(l){return l.attrs.some(i=>q_(i.name))}(i)){this.hasI18nMeta=!0;const u=[],p={};for(const f of i.attrs)if(f.name===im){const v=i.i18n||f.value,M=new Map,L=this.preserveSignificantWhitespace?i.children:au(new Cy(!1,M),i.children);a=this._generateI18nMessage(L,v,xy(M)),0===a.nodes.length&&(a=void 0),i.i18n=a}else if(f.name.startsWith(Ws)){const v=f.name.slice(Ws.length);X2(i.name,v)?this._reportError(f,`Translating attribute '${v}' is disallowed for security reasons.`):p[v]=f.value}else u.push(f);if(Object.keys(p).length)for(const f of u){const v=p[f.name];void 0!==v&&f.value&&(f.i18n=this._generateI18nMessage([f],f.i18n||v))}this.keepI18nAttrs||(i.attrs=u)}return Ft(this,i.children,a),i}visitExpansion(i,a){let u;const p=i.i18n;if(this.hasI18nMeta=!0,p instanceof Ca){const f=p.name;u=this._generateI18nMessage([i],p);Ma(u).name=f,null!==a&&(a.placeholderToMessage[f]=u)}else u=this._generateI18nMessage([i],a||p);return i.i18n=u,i}visitText(i){return i}visitAttribute(i){return i}visitComment(i){return i}visitExpansionCase(i){return i}visitBlock(i,a){return Ft(this,i.children,a),i}visitBlockParameter(i,a){return i}visitLetDeclaration(i,a){return i}_parseMetadata(i){return"string"==typeof i?function Gx(l=""){let i,a,u;if(l=l.trim(),l){const p=l.indexOf(qx),f=l.indexOf(Wx);let v;[v,i]=p>-1?[l.slice(0,p),l.slice(p+2)]:[l,""],[a,u]=f>-1?[v.slice(0,f),v.slice(f+1)]:["",v]}return{customId:i,meaning:a,description:u}}(i):i instanceof br?i:{}}_setMessageId(i,a){i.id||(i.id=a instanceof br&&a.id||_e(i,this.preserveSignificantWhitespace))}_setLegacyIds(i,a){if(this.enableI18nLegacyMessageIdFormat)i.legacyIds=[Pe(i),Se(i,this.preserveSignificantWhitespace)];else if("string"!=typeof a){const u=a instanceof br?a:a instanceof Ca?a.previousMessage:void 0;i.legacyIds=u?u.legacyIds:[]}}_reportError(i,a){this._errors.push(new lu(i.sourceSpan,a))}}const Wx="|",qx="@@";const J2="goog.getMsg";function Kx(l,i,a,u){const p=function ko(l){return l.nodes.map(i=>i.visit(xo,null)).join("")}(i),f=[ne(p)];Object.keys(u).length&&(f.push(vS(rm(u,!0),!0)),f.push(vS({original_code:mn(Object.keys(u).map(L=>({key:Gu(L),quoted:!0,value:i.placeholders[L]?ne(i.placeholders[L].sourceSpan.toString()):ne(i.placeholderToMessage[L].nodes.map(O=>O.sourceSpan.toString()).join(""))})))})));const v=a.set(Ct(J2).callFn(f)).toConstDecl();v.addLeadingComment(function Z2(l){const i=[];return l.description?i.push({tagName:"desc",text:l.description}):i.push({tagName:"suppress",text:"{msgDescriptions}"}),l.meaning&&i.push({tagName:"meaning",text:l.meaning}),Yu(i)}(i));return[v,new Xs(l.set(a))]}const xo=new class rp{formatPh(i){return`{$${Gu(i)}}`}visitText(i){return i.value}visitContainer(i){return i.children.map(a=>a.visit(this)).join("")}visitIcu(i){return wx(i)}visitTagPlaceholder(i){return i.isVoid?this.formatPh(i.startName):`${this.formatPh(i.startName)}${i.children.map(a=>a.visit(this)).join("")}${this.formatPh(i.closeName)}`}visitPlaceholder(i){return this.formatPh(i.name)}visitBlockPlaceholder(i){return`${this.formatPh(i.startName)}${i.children.map(a=>a.visit(this)).join("")}${this.formatPh(i.closeName)}`}visitIcuPlaceholder(i,a){return this.formatPh(i.name)}};function Qx(l,i,a){const{messageParts:u,placeHolders:p}=function eR(l){const i=[],a=new DV(l.placeholderToMessage,i);return l.nodes.forEach(u=>u.visit(a)),function MV(l){const i=[],a=[];l[0]instanceof Ys&&i.push(ky(l[0].sourceSpan.start));for(let u=0;ua[O.text]),M=gw(i,u,p,v,f),L=l.set(M);return[new Xs(L)]}class DV{constructor(i,a){this.placeholderToMessage=i,this.pieces=a}visitText(i){if(this.pieces[this.pieces.length-1]instanceof Ba)this.pieces[this.pieces.length-1].text+=i.value;else{const a=new Xt(i.sourceSpan.fullStart,i.sourceSpan.end,i.sourceSpan.fullStart,i.sourceSpan.details);this.pieces.push(new Ba(i.value,a))}}visitContainer(i){i.children.forEach(a=>a.visit(this))}visitIcu(i){this.pieces.push(new Ba(wx(i),i.sourceSpan))}visitTagPlaceholder(i){this.pieces.push(this.createPlaceholderPiece(i.startName,i.startSourceSpan??i.sourceSpan)),i.isVoid||(i.children.forEach(a=>a.visit(this)),this.pieces.push(this.createPlaceholderPiece(i.closeName,i.endSourceSpan??i.sourceSpan)))}visitPlaceholder(i){this.pieces.push(this.createPlaceholderPiece(i.name,i.sourceSpan))}visitBlockPlaceholder(i){this.pieces.push(this.createPlaceholderPiece(i.startName,i.startSourceSpan??i.sourceSpan)),i.children.forEach(a=>a.visit(this)),this.pieces.push(this.createPlaceholderPiece(i.closeName,i.endSourceSpan??i.sourceSpan))}visitIcuPlaceholder(i){this.pieces.push(this.createPlaceholderPiece(i.name,i.sourceSpan,this.placeholderToMessage[i.name]))}createPlaceholderPiece(i,a,u){return new Ys(Gu(i,!1),a,u)}}function ky(l){return new Ba("",new Xt(l,l))}const US="ngI18nClosureMode",EV="i18n_",rc="I18N_EXP_",Ty="\ufffd",$S="MSG_";function Xx(l){return`${$S}${l}`.toUpperCase()}function op(l){return new Fi(l.name,void 0,Bt,void 0,l.sourceSpan)}function WS(l,i,a,u){const p=[],f=new Map;for(const O of u.subMessages){const V=a.get(O),{mainVar:Z,statements:he}=WS(l,i,a,V);p.push(...he);const ke=f.get(V.messagePlaceholder)??[];ke.push(Z),f.set(V.messagePlaceholder,ke)}(function qS(l,i){for(const[a,u]of i)1===u.length?l.params.set(a,u[0]):(l.params.set(a,ne(`${Ty}${rc}${a}${Ty}`)),l.postprocessingParams.set(a,qt(u)))})(u,f),u.params=new Map([...u.params.entries()].sort());const v=Ct(l.pool.uniqueName(EV)),M=function nR(l,i,a,u){let p;const f=a;if(u){const v=Xx("EXTERNAL_"),M=l.uniqueName(f);p=`${v}${qc(i)}$$${M}`}else{const v=Xx(f);p=l.uniqueName(v)}return Ct(p)}(l.pool,u.message.id,i,l.i18nUseExternalIds);let L;if(u.needsPostprocessing||u.postprocessingParams.size>0){const V=rm(Object.fromEntries([...u.postprocessingParams.entries()].sort()),!1),Z=[];u.postprocessingParams.size>0&&Z.push(vS(V,!0)),L=he=>je(te.i18nPostprocess).callFn([he,...Z])}return p.push(...function Iy(l,i,a,u,p){const f=Object.fromEntries(u),v=[op(i),gt(tR(),Kx(i,l,a,f),Qx(i,l,rm(f,!1)))];return p&&v.push(new Xs(i.set(p(i)))),v}(u.message,v,M,u.params,L)),{mainVar:v,statements:p}}function tR(){return wn(Ct(US)).notIdentical(ne("undefined",sn)).and(Ct(US))}function iR(l){const i=[];for(const a of l)i.push(ne(a.name),ne(a.target));return qt(i)}function GS(l){const i=[];let a=0,u=0,p=0,f=0,v=0,M=null;for(;a0&&0===u&&0===p){const O=l.substring(f,a-1).trim();i.push(M,O),v=a,f=0,M=null}}if(M&&f){const L=l.slice(f).trim();i.push(M,L)}return i}function ap(l){return l.replace(/[a-z][A-Z]/g,i=>i.charAt(0)+"-"+i.charAt(1)).toLowerCase()}function Fm(l,i,a,u){null===l.fnName&&(l.fnName=l.job.pool.uniqueName(qc(`${i}_${l.job.fnSuffix}`),!1));const p=new Map;for(const f of l.ops())switch(f.kind){case B.Property:case B.HostProperty:f.isAnimationTrigger&&(f.name="@"+f.name);break;case B.Listener:if(null!==f.handlerFnName)break;if(!f.hostListener&&null===f.targetSlot.slot)throw new Error("Expected a slot to be assigned");let v="";f.isAnimationListener&&(f.name=`@${f.name}.${f.animationPhase}`,v="animation"),f.hostListener?f.handlerFnName=`${i}_${v}${f.name}_HostBindingHandler`:f.handlerFnName=`${l.fnName}_${f.tag.replace("-","_")}_${v}${f.name}_${f.targetSlot.slot}_listener`,f.handlerFnName=qc(f.handlerFnName);break;case B.TwoWayListener:if(null!==f.handlerFnName)break;if(null===f.targetSlot.slot)throw new Error("Expected a slot to be assigned");f.handlerFnName=qc(`${l.fnName}_${f.tag.replace("-","_")}_${f.name}_${f.targetSlot.slot}_listener`);break;case B.Variable:p.set(f.xref,rR(l,f.variable,a));break;case B.RepeaterCreate:if(!(l instanceof iu))throw new Error("AssertionError: must be compiling a component");if(null===f.handle.slot)throw new Error("Expected slot to be assigned");if(null!==f.emptyView){Fm(l.job.views.get(f.emptyView),`${i}_${f.functionNameSuffix}Empty_${f.handle.slot+2}`,a,u)}Fm(l.job.views.get(f.xref),`${i}_${f.functionNameSuffix}_${f.handle.slot+1}`,a,u);break;case B.Projection:if(!(l instanceof iu))throw new Error("AssertionError: must be compiling a component");if(null===f.handle.slot)throw new Error("Expected slot to be assigned");if(null!==f.fallbackView){Fm(l.job.views.get(f.fallbackView),`${i}_ProjectionFallback_${f.handle.slot}`,a,u)}break;case B.Template:if(!(l instanceof iu))throw new Error("AssertionError: must be compiling a component");const M=l.job.views.get(f.xref);if(null===f.handle.slot)throw new Error("Expected slot to be assigned");Fm(M,`${i}${0===f.functionNameSuffix.length?"":`_${f.functionNameSuffix}`}_${f.handle.slot}`,a,u);break;case B.StyleProp:f.name=QS(f.name),u&&(f.name=XS(f.name));break;case B.ClassProp:u&&(f.name=XS(f.name))}for(const f of l.ops())Cr(f,v=>{if(v instanceof rl&&null===v.name){if(!p.has(v.xref))throw new Error(`Variable ${v.xref} not yet named`);v.name=p.get(v.xref)}})}function rR(l,i,a){if(null===i.name)switch(i.kind){case ci.Context:i.name="ctx_r"+a.index++;break;case ci.Identifier:if(l.job.compatibility===ur.TemplateDefinitionBuilder){const u="ctx"===i.identifier?"i":"";i.name=`${i.identifier}_${u}r${++a.index}`}else i.name=`${i.identifier}_i${a.index++}`;break;default:i.name="_r"+ ++a.index}return i.name}function QS(l){return l.startsWith("--")?l:ap(l)}function XS(l){const i=l.indexOf("!important");return i>-1?l.substring(0,i):l}function ZS(l){for(const i of l){if(!(i.kind===B.Statement&&i.statement instanceof Xs&&i.statement.expr instanceof Vh))continue;const a=i.statement.expr.steps;let u=!0;for(let p=i.next;p.kind!==B.ListEnd&&u;p=p.next)Cr(p,(f,v)=>{if(!os(f))return f;if(u&&!(v&Mn.InChildOperation))switch(f.kind){case rt.NextContext:f.steps+=a,ve.remove(i),u=!1;break;case rt.GetCurrentView:case rt.Reference:case rt.ContextLetReference:u=!1}})}}function oR(l,i){const a=l.get(i);if(void 0===a)throw new Error("All attributes should have an element-like target.");return a}function cl(l){return i=>i.kind===l}function wd(l,i){return a=>a.kind===l&&i===a.expression instanceof Ji}const Sd=[{test:l=>l.kind===B.Listener&&l.hostListener&&l.isAnimationListener},{test:function sk(l){return l.kind===B.Listener&&!(l.hostListener&&l.isAnimationListener)||l.kind===B.TwoWayListener}}],ik=[{test:cl(B.StyleMap),transform:Ry},{test:cl(B.ClassMap),transform:Ry},{test:cl(B.StyleProp)},{test:cl(B.ClassProp)},{test:wd(B.Attribute,!0)},{test:wd(B.Property,!0)},{test:function Ly(l){return!(l.kind!==B.Property&&l.kind!==B.TwoWayProperty||l.expression instanceof Ji)}},{test:wd(B.Attribute,!1)}],eD=[{test:wd(B.HostProperty,!0)},{test:wd(B.HostProperty,!1)},{test:cl(B.Attribute)},{test:cl(B.StyleMap),transform:Ry},{test:cl(B.ClassMap),transform:Ry},{test:cl(B.StyleProp)},{test:cl(B.ClassProp)}],lp=new Set([B.Listener,B.TwoWayListener,B.StyleMap,B.ClassMap,B.StyleProp,B.ClassProp,B.Property,B.TwoWayProperty,B.HostProperty,B.Attribute]);function Py(l,i){let a=[],u=null;for(const p of l){const f=Bh(p)?p.target:null;(!lp.has(p.kind)||f!==u&&null!==u&&null!==f)&&(ve.insertBefore(Ym(a,i),p),a=[],u=null),lp.has(p.kind)&&(a.push(p),ve.remove(p),u=f??u)}l.push(Ym(a,i))}function Ym(l,i){const a=Array.from(i,()=>new Array);for(const u of l){a[i.findIndex(f=>f.test(u))].push(u)}return a.flatMap((u,p)=>{const f=i[p].transform;return f?f(u):u})}function Ry(l){return l.slice(l.length-1)}function aR(l){return"select"===l.toLowerCase()}function lR(l,i){const a=l.get(i);if(void 0===a)throw new Error("All attributes should have an slottable target.");return a}function ak(l){for(const i of l.update)Cr(i,(a,u)=>{if(os(a)&&a.kind===rt.PipeBinding){if(u&Mn.InChildOperation)throw new Error("AssertionError: pipe bindings should not appear in child expressions");if(l.job.compatibility){if(null==i.target)throw new Error("AssertionError: expected slot handle to be assigned for pipe creation");lk(l,i.target,a)}else l.create.push(ZE(a.target,a.targetSlot,a.name))}})}function lk(l,i,a){for(let u=l.create.head.next;u.kind!==B.ListEnd;u=u.next){if(!ra(u)||u.xref!==i)continue;for(;u.next.kind===B.Pipe;)u=u.next;const p=ZE(a.target,a.targetSlot,a.name);return void ve.insertBefore(p,u.next)}throw new Error(`AssertionError: unable to find insertion point for pipe ${a.name}`)}function tD(l,i){let a=null;for(const u of l.create)switch(u.kind){case B.I18nStart:u.subTemplateIndex=0===i?null:i,a=u;break;case B.I18nEnd:null===a.subTemplateIndex&&(i=0),a=null;break;case B.Template:i=ce(l.job.views.get(u.xref),a,u.i18nPlaceholder,i);break;case B.RepeaterCreate:i=ce(l.job.views.get(u.xref),a,u.i18nPlaceholder,i),null!==u.emptyView&&(i=ce(l.job.views.get(u.emptyView),a,u.emptyI18nPlaceholder,i))}return i}function ce(l,i,a,u){if(void 0!==a){if(null===i)throw Error("Expected template with i18n placeholder to be in an i18n block.");u++,function uk(l,i){if(l.create.head.next?.kind!==B.I18nStart){const a=l.job.allocateXrefId();ve.insertAfter(hy(a,i.message,i.root,null),l.create.head),ve.insertBefore(Mo(a,null),l.create.tail)}}(l,i)}return tD(l,u)}class uR extends ju{constructor(i){super(),this.numArgs=i}keyOf(i){return i instanceof nu?`param(${i.index})`:super.keyOf(i)}toSharedConstantDeclaration(i,a){const u=[];for(let f=0;ff instanceof nu?Ct("a"+f.index):f,Mn.None);return new Fi(i,new Kr(u,p),void 0,mt.Final)}}function Dd(l){const i=[],a=[];for(const u of l.entries)if(u.isConstant())i.push(u);else{const p=a.length;a.push(u),i.push(new nu(p))}return new tu(qt(i),a)}function nD(l){let i=[];const a=[];for(const u of l.entries)if(u.value.isConstant())i.push(u);else{const p=a.length;a.push(u.value),i.push(new ar(u.key,new nu(p),u.quoted))}return new tu(mn(i),a)}function Bm(l,i,a,u,p){return cp(te.element,l,i,a,u,p)}function hk(l,i,a,u,p){return cp(te.elementStart,l,i,a,u,p)}function cp(l,i,a,u,p,f){const v=[ne(i)];return null!==a&&v.push(ne(a)),null!==p?v.push(ne(u),ne(p)):null!==u&&v.push(ne(u)),fn(l,v,f)}function sD(l){return fn(te.elementEnd,[],l)}function iD(l,i,a,u){return cp(te.elementContainerStart,l,null,i,a,u)}function pk(l,i,a,u){return cp(te.elementContainer,l,null,i,a,u)}function dR(l,i,a,u,p,f,v,M){const L=[ne(l),i,ne(a),ne(u),ne(p),ne(f)];for(null!==v&&(L.push(ne(v)),L.push(je(te.templateRefExtractor)));L[L.length-1].isEquivalent(Va);)L.pop();return fn(te.templateCreate,L,M)}function fk(l,i,a,u,p){const f=[ne(l),i];return null!==a&&(f.push(ne(!1)),f.push(je(a))),fn(u?te.syntheticHostListener:te.listener,f,p)}function mk(l,i){return je(te.twoWayBindingSet).callFn([l,i])}function fR(l,i,a){return fn(te.twoWayListener,[ne(l),i],a)}function mR(l,i){return fn(te.pipe,[ne(l),ne(i)],null)}function _R(l,i){return fn(te.advance,l>1?[ne(l)]:[],i)}function oD(l,i,a){const u=[ne(l,null)];return""!==i&&u.push(ne(i)),fn(te.text,u,a)}function yk(l,i,a,u,p,f,v,M,L,O){const V=[ne(l),ne(i),a??ne(null),ne(u),ne(p),ne(f),v??ne(null),M??ne(null),L?je(te.deferEnableTimerScheduling):ne(null)];let Z;for(;null!==(Z=V[V.length-1])&&Z instanceof Is&&null===Z.value;)V.pop();return fn(te.defer,V,O)}const wR=new Map([[ss.Idle,[te.deferOnIdle,te.deferPrefetchOnIdle]],[ss.Immediate,[te.deferOnImmediate,te.deferPrefetchOnImmediate]],[ss.Timer,[te.deferOnTimer,te.deferPrefetchOnTimer]],[ss.Hover,[te.deferOnHover,te.deferPrefetchOnHover]],[ss.Interaction,[te.deferOnInteraction,te.deferPrefetchOnInteraction]],[ss.Viewport,[te.deferOnViewport,te.deferPrefetchOnViewport]]]);function SR(l,i,a,u){const p=wR.get(l);if(void 0===p)throw new Error(`Unable to determine instruction for trigger ${l}`);return fn(a?p[1]:p[0],i.map(v=>ne(v)),u)}function DR(l){return fn(te.projectionDef,l?[l]:[],null)}function vk(l,i,a,u,p,f,v){const M=[ne(l)];return(0!==i||null!==a||null!==u)&&(M.push(ne(i)),null!==a&&M.push(a),null!==u&&(null===a&&M.push(ne(null)),M.push(Ct(u),ne(p),ne(f)))),fn(te.projection,M,v)}function CR(l,i,a,u){const p=[ne(l),ne(i)];return null!==a&&p.push(ne(a)),fn(te.i18nStart,p,u)}function MR(l,i,a,u,p,f,v,M,L,O,V,Z,he,ke){const Be=[ne(l),Ct(i),ne(a),ne(u),ne(p),ne(f),v];return(M||null!==L)&&(Be.push(ne(M)),null!==L&&(Be.push(Ct(L),ne(O),ne(V)),(null!==Z||null!==he)&&Be.push(ne(Z)),null!==he&&Be.push(ne(he)))),fn(te.repeaterCreate,Be,ke)}function aD(l,i){return fn(te.repeater,[l],i)}function ER(l,i,a){return fn(l?te.deferPrefetchWhen:te.deferWhen,[i],a)}function xR(l,i){return fn(te.declareLet,[ne(l)],i)}function IR(l,i,a,u){const p=[ne(l),ne(i)];return a&&p.push(ne(a)),fn(te.i18n,p,u)}function ul(l){return fn(te.i18nEnd,[],l)}function lD(l,i){const a=[ne(l),ne(i)];return fn(te.i18nAttributes,a,null)}function AR(l,i,a,u){const p=[ne(l),i];return null!==a&&p.push(a),fn(te.property,p,u)}function LR(l,i,a,u){const p=[ne(l),i];return null!==a&&p.push(a),fn(te.twoWayProperty,p,u)}function bk(l,i,a,u){const p=[ne(l),i];return(null!==a||null!==u)&&p.push(a??ne(null)),null!==u&&p.push(ne(u)),fn(te.attribute,p,null)}function wk(l,i,a,u){const p=[ne(l),i];return null!==a&&p.push(ne(a)),fn(te.styleProp,p,u)}function Ny(l,i,a){return fn(te.classProp,[ne(l),i],a)}function cD(l,i){return fn(te.styleMap,[l],i)}function kV(l,i){return fn(te.classMap,[l],i)}const uD=[te.pipeBind1,te.pipeBind2,te.pipeBind3,te.pipeBind4];function Fy(l,i,a){const u=cu(l,i);return hp(Ek,[],u,[],a)}function dD(l,i){return fn(te.i18nExp,[l],i)}function oc(l,i){return fn(te.i18nApply,[ne(l)],i)}function PR(l,i,a,u,p){const f=cu(i,a),v=[];return null!==u&&v.push(u),hp(NR,[ne(l)],f,v,p)}function RR(l,i,a,u,p){const f=cu(i,a),v=[];return null!==u&&v.push(u),hp(YR,[ne(l)],f,v,p)}function hD(l,i,a,u,p){const f=cu(i,a),v=[];return null!==u&&v.push(ne(u)),hp(FR,[ne(l)],f,v,p)}function OR(l,i,a){const u=cu(l,i);return hp(BR,[],u,[],a)}function up(l,i,a){const u=cu(l,i);return hp(jR,[],u,[],a)}function Ck(l,i,a,u){const p=[ne(l),i];return null!==a&&p.push(a),fn(te.hostProperty,p,u)}function Cd(l,i,a){return fn(te.syntheticHostProperty,[ne(l),i],a)}function cu(l,i){if(l.length<1||i.length!==l.length-1)throw new Error("AssertionError: expected specific shape of args for strings/expressions in interpolation");const a=[];if(1===i.length&&""===l[0]&&""===l[1])a.push(i[0]);else{let u;for(u=0;u{if(l%2==0)throw new Error("Expected odd number of arguments");return(l-1)/2}},NR={constant:[te.propertyInterpolate,te.propertyInterpolate1,te.propertyInterpolate2,te.propertyInterpolate3,te.propertyInterpolate4,te.propertyInterpolate5,te.propertyInterpolate6,te.propertyInterpolate7,te.propertyInterpolate8],variable:te.propertyInterpolateV,mapping:l=>{if(l%2==0)throw new Error("Expected odd number of arguments");return(l-1)/2}},FR={constant:[te.styleProp,te.stylePropInterpolate1,te.stylePropInterpolate2,te.stylePropInterpolate3,te.stylePropInterpolate4,te.stylePropInterpolate5,te.stylePropInterpolate6,te.stylePropInterpolate7,te.stylePropInterpolate8],variable:te.stylePropInterpolateV,mapping:l=>{if(l%2==0)throw new Error("Expected odd number of arguments");return(l-1)/2}},YR={constant:[te.attribute,te.attributeInterpolate1,te.attributeInterpolate2,te.attributeInterpolate3,te.attributeInterpolate4,te.attributeInterpolate5,te.attributeInterpolate6,te.attributeInterpolate7,te.attributeInterpolate8],variable:te.attributeInterpolateV,mapping:l=>{if(l%2==0)throw new Error("Expected odd number of arguments");return(l-1)/2}},BR={constant:[te.styleMap,te.styleMapInterpolate1,te.styleMapInterpolate2,te.styleMapInterpolate3,te.styleMapInterpolate4,te.styleMapInterpolate5,te.styleMapInterpolate6,te.styleMapInterpolate7,te.styleMapInterpolate8],variable:te.styleMapInterpolateV,mapping:l=>{if(l%2==0)throw new Error("Expected odd number of arguments");return(l-1)/2}},jR={constant:[te.classMap,te.classMapInterpolate1,te.classMapInterpolate2,te.classMapInterpolate3,te.classMapInterpolate4,te.classMapInterpolate5,te.classMapInterpolate6,te.classMapInterpolate7,te.classMapInterpolate8],variable:te.classMapInterpolateV,mapping:l=>{if(l%2==0)throw new Error("Expected odd number of arguments");return(l-1)/2}},VR={constant:[te.pureFunction0,te.pureFunction1,te.pureFunction2,te.pureFunction3,te.pureFunction4,te.pureFunction5,te.pureFunction6,te.pureFunction7,te.pureFunction8],variable:te.pureFunctionV,mapping:l=>l};function pD(l,i,a,u,p){const f=l.mapping(a.length);if(fuD.length)throw new Error("pipeBind() argument count out of bounds");return je(uD[a.length-1]).callFn([ne(l),ne(i),...a])}(l.targetSlot.slot,l.varOffset,l.args);case rt.PipeBindingVariadic:return function Dk(l,i,a){return je(te.pipeBindV).callFn([ne(l),ne(i),a])}(l.targetSlot.slot,l.varOffset,l.args);case rt.SlotLiteralExpr:return ne(l.slot.slot);case rt.ContextLetReference:return function TR(l){return je(te.readContextLet).callFn([ne(l)])}(l.targetSlot.slot);case rt.StoreLet:return function kR(l,i){return je(te.storeLet).callFn([l],i)}(l.value,l.sourceSpan);default:throw new Error(`AssertionError: Unsupported reification of ir.Expression kind: ${rt[l.kind]}`)}}function kk(l,i,a,u){fD(0,a);const p=[];for(const v of a){if(v.kind!==B.Statement)throw new Error(`AssertionError: expected reified statements, but found op ${B[v.kind]}`);p.push(v.statement)}const f=[];return u&&f.push(new Tt("$event")),Ho(f,p,void 0,void 0,i)}function Md(l,i){const a=new Map;a.set(l.xref,Ct("ctx"));for(const u of i)switch(u.kind){case B.Variable:if(u.variable.kind===ci.Context)a.set(u.variable.view,new rl(u.xref));break;case B.Listener:case B.TwoWayListener:Md(l,u.handlerOps)}l===l.job.root&&a.set(l.xref,Ct("ctx"));for(const u of i)ei(u,p=>{if(p instanceof ro){if(!a.has(p.view))throw new Error(`No context found for reference to view ${p.view} from view ${l.xref}`);return a.get(p.view)}return p},Mn.None)}function Ak(l){for(const i of l)(i.kind===B.Listener||i.kind===B.TwoWayListener)&&ei(i,a=>a instanceof Ln&&"$event"===a.name?(i.kind===B.Listener&&(i.consumesDollarEvent=!0),new Xn(a.name)):a,Mn.InChildOperation)}function uu(l,i,a,u,p){let f=null,v=new Map;for(const M of i.create)switch(M.kind){case B.I18nStart:if(!M.context)throw Error("Could not find i18n context for i18n op");f={i18nBlock:M,i18nContext:a.get(M.context)};break;case B.I18nEnd:f=null;break;case B.ElementStart:if(void 0!==M.i18nPlaceholder){if(null===f)throw Error("i18n tag placeholder should only occur inside an i18n block");Vm(M,f.i18nContext,f.i18nBlock,p),p&&M.i18nPlaceholder.closeName&&v.set(M.xref,p),p=void 0}break;case B.ElementEnd:const L=u.get(M.xref);if(L&&void 0!==L.i18nPlaceholder){if(null===f)throw Error("AssertionError: i18n tag placeholder should only occur inside an i18n block");By(L,f.i18nContext,f.i18nBlock,v.get(M.xref)),v.delete(M.xref)}break;case B.Projection:if(void 0!==M.i18nPlaceholder){if(null===f)throw Error("i18n tag placeholder should only occur inside an i18n block");Vm(M,f.i18nContext,f.i18nBlock,p),By(M,f.i18nContext,f.i18nBlock,p),p=void 0}break;case B.Template:const O=l.views.get(M.xref);if(void 0===M.i18nPlaceholder)uu(l,O,a,u);else{if(null===f)throw Error("i18n tag placeholder should only occur inside an i18n block");M.templateKind===Sr.Structural?uu(l,O,a,u,M):(gD(l,O,M.handle.slot,M.i18nPlaceholder,f.i18nContext,f.i18nBlock,p),uu(l,O,a,u),Lk(l,O,M.handle.slot,M.i18nPlaceholder,f.i18nContext,f.i18nBlock,p),p=void 0)}break;case B.RepeaterCreate:if(void 0!==p)throw Error("AssertionError: Unexpected structural directive associated with @for block");const V=M.handle.slot+1,Z=l.views.get(M.xref);if(void 0===M.i18nPlaceholder)uu(l,Z,a,u);else{if(null===f)throw Error("i18n tag placeholder should only occur inside an i18n block");gD(l,Z,V,M.i18nPlaceholder,f.i18nContext,f.i18nBlock,p),uu(l,Z,a,u),Lk(l,Z,V,M.i18nPlaceholder,f.i18nContext,f.i18nBlock,p),p=void 0}if(null!==M.emptyView){const he=M.handle.slot+2,ke=l.views.get(M.emptyView);if(void 0===M.emptyI18nPlaceholder)uu(l,ke,a,u);else{if(null===f)throw Error("i18n tag placeholder should only occur inside an i18n block");gD(l,ke,he,M.emptyI18nPlaceholder,f.i18nContext,f.i18nBlock,p),uu(l,ke,a,u),Lk(l,ke,he,M.emptyI18nPlaceholder,f.i18nContext,f.i18nBlock,p),p=void 0}}}}function Vm(l,i,a,u){const{startName:p,closeName:f}=l.i18nPlaceholder;let v=rs.ElementTag|rs.OpenTag,M=l.handle.slot;void 0!==u&&(v|=rs.TemplateTag,M={element:M,template:u.handle.slot}),f||(v|=rs.CloseTag),pp(i.params,p,M,a.subTemplateIndex,v)}function By(l,i,a,u){const{closeName:p}=l.i18nPlaceholder;if(p){let f=rs.ElementTag|rs.CloseTag,v=l.handle.slot;void 0!==u&&(f|=rs.TemplateTag,v={element:v,template:u.handle.slot}),pp(i.params,p,v,a.subTemplateIndex,f)}}function gD(l,i,a,u,p,f,v){let{startName:M,closeName:L}=u,O=rs.TemplateTag|rs.OpenTag;L||(O|=rs.CloseTag),void 0!==v&&pp(p.params,M,v.handle.slot,f.subTemplateIndex,O),pp(p.params,M,a,WR(l,f,i),O)}function Lk(l,i,a,u,p,f,v){const{closeName:M}=u,L=rs.TemplateTag|rs.CloseTag;M&&(pp(p.params,M,a,WR(l,f,i),L),void 0!==v&&pp(p.params,M,v.handle.slot,f.subTemplateIndex,L))}function WR(l,i,a){for(const u of a.create)if(u.kind===B.I18nStart)return u.subTemplateIndex;return i.subTemplateIndex}function pp(l,i,a,u,p){const f=l.get(i)??[];f.push({value:a,subTemplateIndex:u,flags:p}),l.set(i,f)}function TV(l,i,a,u){if(null!==l.i18nPlaceholder){const p=a.get(l.context),f=l.resolutionTime===ed.Creation?p.params:p.postprocessingParams,v=f.get(l.i18nPlaceholder)||[];v.push(i),f.set(l.i18nPlaceholder,v)}null!==l.icuPlaceholder&&u.get(l.icuPlaceholder)?.expressionPlaceholders.push(i)}function Pk(l,i,a){const u=new Map,p=new Map;for(const f of i)switch(f.kind){case B.Variable:switch(f.variable.kind){case ci.Identifier:if(f.variable.local){if(p.has(f.variable.identifier))continue;p.set(f.variable.identifier,f.xref)}else if(u.has(f.variable.identifier))continue;u.set(f.variable.identifier,f.xref);break;case ci.Alias:if(u.has(f.variable.identifier))continue;u.set(f.variable.identifier,f.xref);break;case ci.SavedView:a={view:f.variable.view,variable:f.xref}}break;case B.Listener:case B.TwoWayListener:Pk(l,f.handlerOps,a)}for(const f of i)f.kind==B.Listener||f.kind===B.TwoWayListener||ei(f,v=>{if(v instanceof Ln)return p.has(v.name)?new rl(p.get(v.name)):u.has(v.name)?new rl(u.get(v.name)):new Ds(new ro(l.job.root.xref),v.name);if(v instanceof eu&&"number"==typeof v.view){if(null===a||a.view!==v.view)throw new Error(`AssertionError: no saved view ${v.view} from view ${l.xref}`);return v.view=new rl(a.variable),v}return v},Mn.None);for(const f of i)Cr(f,v=>{if(v instanceof Ln)throw new Error(`AssertionError: no lexical reads should remain, but found read of ${v.name}`)})}const KR=new Map([[J.HTML,te.sanitizeHtml],[J.RESOURCE_URL,te.sanitizeResourceUrl],[J.SCRIPT,te.sanitizeScript],[J.STYLE,te.sanitizeStyle],[J.URL,te.sanitizeUrl]]),QR=new Map([[J.HTML,te.trustConstantHtml],[J.RESOURCE_URL,te.trustConstantResourceUrl]]);function _D(l){return l.kind===B.ElementStart&&"iframe"===l.tag?.toLowerCase()}function fp(l){if(Array.isArray(l)){if(l.length>1)throw Error("AssertionError: Ambiguous security context");return l[0]||J.NONE}return l}function Rk(l,i){i.handlerOps.prepend([Xc(l.job.allocateXrefId(),{kind:ci.Context,name:null,view:l.xref},new eu(l.xref),wr.None)]);for(const a of i.handlerOps)a.kind===B.Statement&&a.statement instanceof ri&&(a.statement.value=new ym(a.statement.value))}function Ed(l){let i=0,a=[];for(const u of l){const p=new Map;Cr(u,(O,V)=>{V&Mn.InChildOperation||O instanceof su&&p.set(O.xref,O)});let f=0;const v=new Set,M=new Set,L=new Map;Cr(u,(O,V)=>{V&Mn.InChildOperation||(O instanceof as?(v.has(O.xref)||(v.add(O.xref),L.set(O.xref,`tmp_${i}_${f++}`)),vD(L,O)):O instanceof su&&(p.get(O.xref)===O&&(M.add(O.xref),f--),vD(L,O)))}),a.push(...Array.from(new Set(L.values())).map(O=>io(new Fi(O)))),i++,(u.kind===B.Listener||u.kind===B.TwoWayListener)&&u.handlerOps.prepend(Ed(u.handlerOps))}return a}function vD(l,i){const a=l.get(i.xref);if(void 0===a)throw new Error(`Found xref with unassigned name: ${i.xref}`);i.name=a}function Yk(l,i){if(!(i instanceof Nn)||0===i.args.length||i.args.length>2||!(i.receiver instanceof Ds&&i.receiver.receiver instanceof ro)||i.receiver.receiver.view!==l)return!1;const[a,u]=i.args;return a instanceof Xn&&"$index"===a.name&&(1===i.args.length||!(!(u instanceof Xn)||"$item"!==u.name))}function tO(l){let i;switch(l.kind){case B.Property:case B.HostProperty:case B.Attribute:return i=1,l.expression instanceof Ji&&!function nO(l){return!(1!==l.expressions.length||2!==l.strings.length||""!==l.strings[0]||""!==l.strings[1])}(l.expression)&&(i+=l.expression.expressions.length),i;case B.TwoWayProperty:return 1;case B.StyleProp:case B.ClassProp:case B.StyleMap:case B.ClassMap:return i=2,l.expression instanceof Ji&&(i+=l.expression.expressions.length),i;case B.InterpolateText:return l.interpolation.expressions.length;case B.I18nExpression:case B.Conditional:case B.DeferWhen:case B.StoreLet:return 1;case B.RepeaterCreate:return l.emptyView?1:0;default:throw new Error(`Unhandled op: ${B[l.kind]}`)}}function mp(l){switch(l.kind){case rt.PureFunctionExpr:case rt.PipeBinding:return 1+l.args.length;case rt.PipeBindingVariadic:return 1+l.numArgs;case rt.StoreLet:return 1;default:throw new Error(`AssertionError: unhandled ConsumesVarsTrait expression ${l.constructor.name}`)}}var Ri;function gp(l){const i=new Map;for(const a of l)a.kind===B.Variable&&a.flags&wr.AlwaysInline&&(Cr(a,u=>{if(os(u)&&Hy(u)!==Ri.None)throw new Error("AssertionError: A context-sensitive variable was marked AlwaysInline")}),i.set(a.xref,a)),ei(a,u=>u instanceof rl&&i.has(u.xref)?i.get(u.xref).initializer.clone():u,Mn.None);for(const a of i.values())ve.remove(a)}function Vy(l,i){const a=new Map,u=new Map,p=new Set,f=new Map;for(const O of l){if(O.kind===B.Variable){if(a.has(O.xref)||u.has(O.xref))throw new Error(`Should not see two declarations of the same variable: ${O.xref}`);a.set(O.xref,O),u.set(O.xref,0)}f.set(O,Bk(O)),iO(O,u,p)}let v=!1;for(const O of l.reversed()){const V=f.get(O);if(O.kind!==B.Variable||0!==u.get(O.xref))V.fences&Ri.ViewContextRead&&(v=!0);else{if(v&&V.fences&Ri.ViewContextWrite||V.fences&Ri.SideEffectful){const Z=io(O.initializer.toStmt());f.set(Z,V),ve.replace(O,Z)}else jk(O,u),ve.remove(O);f.delete(O),a.delete(O.xref),u.delete(O.xref)}}const M=[];for(const[O,V]of u){const he=!!(a.get(O).flags&wr.AlwaysInline);1!==V||he||p.has(O)||M.push(O)}let L;for(;L=M.pop();){const O=a.get(L),V=f.get(O);if(O.flags&wr.AlwaysInline)throw new Error("AssertionError: Found an 'AlwaysInline' variable after the always inlining pass.");for(let he=O.next;he.kind!==B.ListEnd;he=he.next){const ke=f.get(he);if(ke.variablesUsed.has(L)){if(i===ur.TemplateDefinitionBuilder&&!rO(O,he))break;if($y(L,O.initializer,he,V.fences)){ke.variablesUsed.delete(L);for(const Be of V.variablesUsed)ke.variablesUsed.add(Be);ke.fences|=V.fences,a.delete(L),u.delete(L),f.delete(O),ve.remove(O)}break}if(!Uy(ke.fences,V.fences))break}}}function Hy(l){switch(l.kind){case rt.NextContext:return Ri.ViewContextRead|Ri.ViewContextWrite;case rt.RestoreView:return Ri.ViewContextRead|Ri.ViewContextWrite|Ri.SideEffectful;case rt.StoreLet:return Ri.SideEffectful;case rt.Reference:case rt.ContextLetReference:return Ri.ViewContextRead;default:return Ri.None}}function Bk(l){let i=Ri.None;const a=new Set;return Cr(l,u=>{if(os(u))if(u.kind===rt.ReadVariable)a.add(u.xref);else i|=Hy(u)}),{fences:i,variablesUsed:a}}function iO(l,i,a){Cr(l,(u,p)=>{if(!os(u)||u.kind!==rt.ReadVariable)return;const f=i.get(u.xref);void 0!==f&&(i.set(u.xref,f+1),p&Mn.InChildOperation&&a.add(u.xref))})}function jk(l,i){Cr(l,a=>{if(!os(a)||a.kind!==rt.ReadVariable)return;const u=i.get(a.xref);if(void 0!==u){if(0===u)throw new Error(`Inaccurate variable count: ${a.xref} - found another read but count is already 0`);i.set(a.xref,u-1)}})}function Uy(l,i){if(l&Ri.ViewContextWrite){if(i&Ri.ViewContextRead)return!1}else if(l&Ri.ViewContextRead&&i&Ri.ViewContextWrite)return!1;return!0}function $y(l,i,a,u){let p=!1,f=!0;return ei(a,(v,M)=>{if(!os(v)||p||!f)return v;if(M&Mn.InChildOperation&&u&Ri.ViewContextRead)return v;if(v.kind===rt.ReadVariable){if(v.xref===l)return p=!0,i}else{const L=Hy(v);f=f&&Uy(L,u)}return v},Mn.None),p}function rO(l,i){switch(l.variable.kind){case ci.Identifier:return l.initializer instanceof Xn&&"ctx"===l.initializer.name;case ci.Context:return i.kind===B.Variable;default:return!0}}!function(l){l[l.None=0]="None",l[l.ViewContextRead=1]="ViewContextRead",l[l.ViewContextWrite=2]="ViewContextWrite",l[l.SideEffectful=4]="SideEffectful"}(Ri||(Ri={}));const uO=[{kind:Ge.Tmpl,fn:function ok(l){for(const i of l.units){const a=py(i);for(const u of i.ops())if(u.kind===B.Binding){const p=lR(a,u.target);aR(u.name)&&p.kind===B.Projection&&ve.remove(u)}}}},{kind:Ge.Host,fn:function Qh(l){for(const i of l.root.update)if(i.kind===B.Binding&&i.bindingKind===ot.Property)if(i.name.endsWith(km)&&(i.name=i.name.substring(0,i.name.length-10)),i.name.startsWith("style.")){i.bindingKind=ot.StyleProperty,i.name=i.name.substring(6),yS(i.name)||(i.name=yy(i.name));const{property:a,suffix:u}=gd(i.name);i.name=a,i.unit=u}else i.name.startsWith("style!")?(i.bindingKind=ot.StyleProperty,i.name="style"):(i.name.startsWith("class.")||i.name.startsWith("class!"))&&(i.bindingKind=ot.ClassName,i.name=gd(i.name.substring(6)).property)}},{kind:Ge.Tmpl,fn:function Jx(l){for(const i of l.units){let a=ui.HTML;for(const u of i.create)u.kind===B.ElementStart&&u.namespace!==a&&(ve.insertBefore(e2(u.namespace),u),a=u.namespace)}}},{kind:Ge.Tmpl,fn:function ck(l){tD(l.root,0)}},{kind:Ge.Tmpl,fn:function oO(l){for(const i of l.units){let a=null,u=null;for(const p of i.create)switch(p.kind){case B.I18nStart:a=p;break;case B.I18nEnd:a=null;break;case B.IcuStart:null===a&&(u=l.allocateXrefId(),ve.insertBefore(hy(u,p.message,void 0,null),p));break;case B.IcuEnd:null!==u&&(ve.insertAfter(Mo(u,null),p),u=null)}}}},{kind:Ge.Both,fn:function p2(l){const i=new Map;for(const a of l.units)for(const u of a.update.reversed())if(u.kind===B.Binding&&u.isTextAttribute){const p=i.get(u.target)||new Set;p.has(u.name)&&l.compatibility===ur.TemplateDefinitionBuilder&&("style"===u.name||"class"===u.name)&&ve.remove(u),p.add(u.name),i.set(u.target,p)}}},{kind:Ge.Both,fn:function Ok(l){for(const i of l.units)for(const a of i.update)if(a.kind===B.Binding)switch(a.bindingKind){case ot.ClassName:if(a.expression instanceof Ji)throw new Error("Unexpected interpolation in ClassName binding");ve.replace(a,XP(a.target,a.name,a.expression,a.sourceSpan));break;case ot.StyleProperty:ve.replace(a,il(a.target,a.name,a.expression,a.unit,a.sourceSpan));break;case ot.Property:case ot.Template:"style"===a.name?ve.replace(a,iy(a.target,a.expression,a.sourceSpan)):"class"===a.name&&ve.replace(a,eS(a.target,a.expression,a.sourceSpan))}}},{kind:Ge.Both,fn:function ix(l){const i=new Map;for(const a of l.units)for(const u of a.create)La(u)&&i.set(u.xref,u);for(const a of l.units)for(const u of a.ops())if(u.kind===B.Binding)switch(u.bindingKind){case ot.Attribute:if("ngNonBindable"===u.name){ve.remove(u);a2(i,u.target).nonBindable=!0}else{const[p,f]=li(u.name);ve.replace(u,zE(u.target,p,f,u.expression,u.securityContext,u.isTextAttribute,u.isStructuralTemplateAttribute,u.templateKind,u.i18nMessage,u.sourceSpan))}break;case ot.Property:case ot.Animation:l.kind===Ge.Host?ve.replace(u,s2(u.name,u.expression,u.bindingKind===ot.Animation,u.i18nContext,u.securityContext,u.sourceSpan)):ve.replace(u,$E(u.target,u.name,u.expression,u.bindingKind===ot.Animation,u.securityContext,u.isStructuralTemplateAttribute,u.templateKind,u.i18nContext,u.i18nMessage,u.sourceSpan));break;case ot.TwoWayProperty:if(!(u.expression instanceof ze))throw new Error(`Expected value of two-way property binding "${u.name}" to be an expression`);ve.replace(u,QP(u.target,u.name,u.expression,u.securityContext,u.isStructuralTemplateAttribute,u.templateKind,u.i18nContext,u.i18nMessage,u.sourceSpan));break;case ot.I18n:case ot.ClassName:case ot.StyleProperty:throw new Error(`Unhandled binding of kind ${ot[u.bindingKind]}`)}}},{kind:Ge.Both,fn:function dS(l){for(const i of l.units){const a=py(i);for(const u of i.ops())switch(u.kind){case B.Attribute:o2(i,u,a);break;case B.Property:if(!u.isAnimationTrigger){let p;p=null!==u.i18nMessage&&null===u.templateKind?ot.I18n:u.isStructuralTemplateAttribute?ot.Template:ot.Property,ve.insertBefore(Co(u.target,p,null,u.name,null,null,null,u.securityContext),Wh(a,u.target))}break;case B.TwoWayProperty:ve.insertBefore(Co(u.target,ot.TwoWayProperty,null,u.name,null,null,null,u.securityContext),Wh(a,u.target));break;case B.StyleProp:case B.ClassProp:i.job.compatibility===ur.TemplateDefinitionBuilder&&u.expression instanceof ld&&ve.insertBefore(Co(u.target,ot.Property,null,u.name,null,null,null,J.STYLE),Wh(a,u.target));break;case B.Listener:if(!u.isAnimationListener){const p=Co(u.target,ot.Property,null,u.name,null,null,null,J.NONE);if(l.kind===Ge.Host){if(l.compatibility)break;i.create.push(p)}else ve.insertBefore(p,Wh(a,u.target))}break;case B.TwoWayListener:if(l.kind!==Ge.Host){const p=Co(u.target,ot.Property,null,u.name,null,null,null,J.NONE);ve.insertBefore(p,Wh(a,u.target))}}}}},{kind:Ge.Tmpl,fn:function h2(l){const i=new Map;for(const p of l.units)for(const f of p.ops())switch(f.kind){case B.Binding:case B.Property:case B.Attribute:case B.ExtractedAttribute:if(null===f.i18nMessage)continue;if(!i.has(f.i18nMessage)){const v=nx(Qc.Attr,l.allocateXrefId(),null,f.i18nMessage,null);p.create.push(v),i.set(f.i18nMessage,v.xref)}f.i18nContext=i.get(f.i18nMessage)}const a=new Map;for(const p of l.units)for(const f of p.create)if(f.kind===B.I18nStart)if(f.xref===f.root){const v=nx(Qc.RootI18n,l.allocateXrefId(),f.xref,f.message,null);p.create.push(v),f.context=v.xref,a.set(f.xref,v)}for(const p of l.units)for(const f of p.create)if(f.kind===B.I18nStart&&f.xref!==f.root){const v=a.get(f.root);if(void 0===v)throw Error("AssertionError: Root i18n block i18n context should have been created.");f.context=v.xref,a.set(f.xref,v)}let u=null;for(const p of l.units)for(const f of p.create)switch(f.kind){case B.I18nStart:u=f;break;case B.I18nEnd:u=null;break;case B.IcuStart:if(null===u)throw Error("AssertionError: Unexpected ICU outside of an i18n block.");if(f.message.id!==u.message.id){const v=nx(Qc.Icu,l.allocateXrefId(),u.root,f.message,null);p.create.push(v),f.context=v.xref}else f.context=u.context,a.get(u.xref).contextKind=Qc.Icu}}},{kind:Ge.Both,fn:function Ay(l){const i=new Map;for(const a of l.units)for(const u of a.create)La(u)&&i.set(u.xref,u);for(const a of l.units)for(const u of a.create)if(u.kind===B.ExtractedAttribute&&u.bindingKind===ot.Attribute&&oo(u.expression)){const p=i.get(u.target);if(void 0!==p&&p.kind===B.Template&&p.templateKind===Sr.Structural)continue;if("style"===u.name){const f=GS(u.expression.value);for(let v=0;v""===p)&&(a.expression=a.expression.expressions[0])}},{kind:Ge.Both,fn:function rk(l){for(const i of l.units){Py(i.create,Sd);const a=i.job.kind===Ge.Host?eD:ik;Py(i.update,a)}}},{kind:Ge.Tmpl,fn:function my(l){for(const i of l.units)for(const a of i.ops()){if(a.kind!==B.Conditional)continue;let u;const p=a.conditions.findIndex(v=>null===v.expr);if(p>=0){const v=a.conditions.splice(p,1)[0].targetSlot;u=new bm(v)}else u=ne(-1);let f=null==a.test?null:new as(a.test,l.allocateXrefId());for(let v=a.conditions.length-1;v>=0;v--){let M=a.conditions[v];if(null!==M.expr){if(null!==f){const L=0===v?f:new su(f.xref);M.expr=new Wt(He.Identical,L,M.expr)}else if(null!==M.alias){const L=l.allocateXrefId();M.expr=new as(M.expr,L),a.contextValue=new su(L)}u=new yr(M.expr,new bm(M.targetSlot),u)}}a.processed=u,a.conditions=[]}}},{kind:Ge.Tmpl,fn:function cR(l){for(const i of l.units)ak(i)}},{kind:Ge.Tmpl,fn:function f2(l){for(const i of l.units)for(const a of i.create)a.kind===B.Defer&&(null!==a.placeholderMinimumTime&&(a.placeholderConfig=new cd(hd([a.placeholderMinimumTime]))),(null!==a.loadingMinimumTime||null!==a.loadingAfterTime)&&(a.loadingConfig=new cd(hd([a.loadingMinimumTime,a.loadingAfterTime]))))}},{kind:Ge.Tmpl,fn:function Zx(l){for(const i of l.units){let a=null,u=null;const p=new Map,f=new Map,v=new Map;for(const M of i.create)switch(M.kind){case B.I18nStart:if(null===M.context)throw Error("I18n op should have its context set.");a=M;break;case B.I18nEnd:a=null;break;case B.IcuStart:if(null===M.context)throw Error("Icu op should have its context set.");u=M;break;case B.IcuEnd:u=null;break;case B.Text:if(null!==a)if(p.set(M.xref,a),f.set(M.xref,u),null!==M.icuPlaceholder){const L=dV(l.allocateXrefId(),M.icuPlaceholder,[M.initialValue]);ve.replace(M,L),v.set(M.xref,L)}else ve.remove(M)}for(const M of i.update)if(M.kind===B.InterpolateText){if(!p.has(M.target))continue;const L=p.get(M.target),O=f.get(M.target),V=v.get(M.target),Z=O?O.context:L.context,he=O?ed.Postproccessing:ed.Creation,ke=[];for(let Be=0;Be!(u instanceof od)||u.args.length<=4?u:new vm(u.target,u.targetSlot,u.name,qt(u.args),u.args.length),Mn.None)}},{kind:Ge.Both,fn:function Oy(l){for(const i of l.units)for(const a of i.update)ei(a,(u,p)=>p&Mn.InChildOperation?u:u instanceof Ls?Dd(u):u instanceof ms?nD(u):u,Mn.None)}},{kind:Ge.Tmpl,fn:function fV(l){const i=l.compatibility===ur.TemplateDefinitionBuilder,a=[];let u=0;for(const p of l.units)for(const f of p.create)f.kind===B.Projection&&(a.push(f.selector),f.projectionSlotIndex=u++);if(a.length>0){let p=null;if(a.length>1||"*"!==a[0]){const f=a.map(v=>"*"===v?v:Fe(v));p=l.pool.getConstLiteral(hd(f),i)}l.contentSelectors=l.pool.getConstLiteral(hd(a),i),l.root.create.prepend([oS(p)])}}},{kind:Ge.Tmpl,fn:function cO(l){for(const i of l.units)for(const a of i.update){if(a.kind!==B.StoreLet)continue;const u={kind:ci.Identifier,name:null,identifier:a.declaredName,local:!0};ve.replace(a,Xc(l.allocateXrefId(),u,new jh(a.target,a.value,a.sourceSpan),wr.None))}}},{kind:Ge.Tmpl,fn:function E2(l){ol(l.root,null)}},{kind:Ge.Tmpl,fn:function jy(l){for(const i of l.units){i.create.prepend([Xc(i.job.allocateXrefId(),{kind:ci.SavedView,name:null,view:i.xref},new Hh,wr.None)]);for(const a of i.create){if(a.kind!==B.Listener&&a.kind!==B.TwoWayListener)continue;let u=i!==l.root;if(!u)for(const p of a.handlerOps)Cr(p,f=>{(f instanceof id||f instanceof rd)&&(u=!0)});u&&Rk(i,a)}}}},{kind:Ge.Both,fn:function r2(l){for(const i of l.units)for(const a of i.ops())ei(a,uS,Mn.None)}},{kind:Ge.Both,fn:function dr(l){for(const i of l.units)Ak(i.create),Ak(i.update)}},{kind:Ge.Tmpl,fn:function JR(l){for(const i of l.units)for(const a of i.create)a.kind===B.RepeaterCreate&&(a.track=Xe(a.track,u=>{if(u instanceof Ln){if(a.varNames.$index.has(u.name))return Ct("$index");if(u.name===a.varNames.$implicit)return Ct("$item")}return u},Mn.None))}},{kind:Ge.Tmpl,fn:function lO(l){for(const i of l.units)for(const a of i.update){if(a.kind!==B.Variable||a.variable.kind!==ci.Identifier||!(a.initializer instanceof jh))continue;const u=a.variable.identifier;let p=a;for(;p&&p.kind!==B.ListEnd;)ei(p,f=>f instanceof Ln&&f.name===u?ne(void 0):f,Mn.None),p=p.prev}}},{kind:Ge.Both,fn:function GR(l){for(const i of l.units)Pk(i,i.create,null),Pk(i,i.update,null)}},{kind:Ge.Tmpl,fn:function ux(l){const i=new Map;function a(p){if(i.has(p.xref))return i.get(p.xref);const f=new dx;for(const v of p.create)if(La(v)&&null!==v.localRefs){if(!Array.isArray(v.localRefs))throw new Error("LocalRefs were already processed, but were needed to resolve defer targets.");for(const M of v.localRefs)""===M.target&&f.targets.set(M.name,{xref:v.xref,slot:v.handle})}return i.set(p.xref,f),f}function u(p,f,v){switch(f.trigger.kind){case ss.Idle:case ss.Immediate:case ss.Timer:return;case ss.Hover:case ss.Interaction:case ss.Viewport:if(null===f.trigger.targetName){if(null===v)throw new Error("defer on trigger with no target name must have a placeholder block");const O=l.views.get(v);if(null==O)throw new Error("AssertionError: could not find placeholder view for defer on trigger");for(const V of O.create)if(ra(V)&&(La(V)||V.kind===B.Projection))return f.trigger.targetXref=V.xref,f.trigger.targetView=v,f.trigger.targetSlotViewSteps=-1,void(f.trigger.targetSlot=V.handle);return}let M=null!==v?l.views.get(v):p,L=null!==v?-1:0;for(;null!==M;){const O=a(M);if(O.targets.has(f.trigger.targetName)){const{xref:V,slot:Z}=O.targets.get(f.trigger.targetName);return f.trigger.targetXref=V,f.trigger.targetView=M.xref,f.trigger.targetSlotViewSteps=L,void(f.trigger.targetSlot=Z)}M=null!==M.parent?l.views.get(M.parent):null,L++}break;default:throw new Error(`Trigger kind ${f.trigger.kind} not handled`)}}for(const p of l.units){const f=new Map;for(const v of p.create)switch(v.kind){case B.Defer:f.set(v.xref,v);break;case B.DeferOn:u(p,v,f.get(v.defer).placeholderView)}}}},{kind:Ge.Tmpl,fn:function yD(l){for(const i of l.units)for(const a of i.create)a.kind===B.TwoWayListener&&ei(a,u=>{if(!(u instanceof ay))return u;const{target:p,value:f}=u;if(p instanceof Ds||p instanceof Jn)return mk(p,f).or(p.set(f));if(p instanceof rl)return mk(p,f);throw new Error("Unsupported expression in two-way action binding.")},Mn.InChildOperation)}},{kind:Ge.Tmpl,fn:function Fk(l){for(const i of l.units)for(const a of i.create)a.kind===B.RepeaterCreate&&(a.track instanceof Xn&&"$index"===a.track.name?a.trackByFn=je(te.repeaterTrackByIndex):a.track instanceof Xn&&"$item"===a.track.name?a.trackByFn=je(te.repeaterTrackByIdentity):Yk(l.root.xref,a.track)?(a.usesComponentInstance=!0,a.track.receiver.receiver.view===i.xref?a.trackByFn=a.track.receiver:(a.trackByFn=je(te.componentInstance).callFn([]).prop(a.track.receiver.name),a.track=a.trackByFn)):a.track=Xe(a.track,u=>u instanceof ro?(a.usesComponentInstance=!0,new _m(u.view)):u,Mn.None))}},{kind:Ge.Both,fn:function jm(l){for(const i of l.units)Md(i,i.create),Md(i,i.update)}},{kind:Ge.Both,fn:function XR(l){for(const i of l.units){const a=py(i);if(l.kind!==Ge.Host)for(const u of i.create)if(u.kind===B.ExtractedAttribute){const p=QR.get(fp(u.securityContext))??null;u.trustedValueFn=null!==p?je(p):null}for(const u of i.update)switch(u.kind){case B.Property:case B.Attribute:case B.HostProperty:let p=null;if(p=Array.isArray(u.securityContext)&&2===u.securityContext.length&&u.securityContext.indexOf(J.URL)>-1&&u.securityContext.indexOf(J.RESOURCE_URL)>-1?te.sanitizeUrlOrResourceUrl:KR.get(fp(u.securityContext))??null,u.sanitizer=null!==p?je(p):null,null===u.sanitizer){let f=!1;if(l.kind===Ge.Host||u.kind===B.HostProperty)f=!0;else{const v=a.get(u.target);if(void 0===v||!La(v))throw Error("Property should have an element-like owner");f=_D(v)}f&&Vx(u.name)&&(u.sanitizer=je(te.validateIframeAttribute))}}}}},{kind:Ge.Tmpl,fn:function sR(l){for(const i of l.units)for(const a of i.create)switch(a.kind){case B.ElementStart:case B.Template:if(!Array.isArray(a.localRefs))throw new Error("AssertionError: expected localRefs to be an array still");if(a.numSlotsUsed+=a.localRefs.length,a.localRefs.length>0){const u=iR(a.localRefs);a.localRefs=l.addConst(u)}else a.localRefs=null}}},{kind:Ge.Both,fn:function nk(l){for(const i of l.units)for(const a of i.ops())ei(a,u=>{if(!(u instanceof Wt)||u.operator!==He.NullishCoalesce)return u;const p=new as(u.lhs.clone(),l.allocateXrefId()),f=new su(p.xref);return new yr(new Wt(He.And,new Wt(He.NotIdentical,p,Va),new Wt(He.NotIdentical,f,new Is(void 0))),f.clone(),u.rhs)},Mn.None)}},{kind:Ge.Both,fn:function fx(l){for(const i of l.units)for(const a of i.ops())ei(a,u=>b2(u,{job:l}),Mn.None),ei(a,w2,Mn.None)}},{kind:Ge.Both,fn:function ZR(l){for(const i of l.units)i.create.prepend(Ed(i.create)),i.update.prepend(Ed(i.update))}},{kind:Ge.Both,fn:function sO(l){for(const i of l.units){gp(i.create),gp(i.update);for(const a of i.create)(a.kind===B.Listener||a.kind===B.TwoWayListener)&&gp(a.handlerOps);Vy(i.create,l.compatibility),Vy(i.update,l.compatibility);for(const a of i.create)(a.kind===B.Listener||a.kind===B.TwoWayListener)&&Vy(a.handlerOps,l.compatibility)}}},{kind:Ge.Both,fn:function aO(l){const i=new Set;for(const a of l.units)for(const u of a.ops())Cr(u,p=>{p instanceof rd&&i.add(p.target)});for(const a of l.units)for(const u of a.update)ei(u,p=>p instanceof jh&&!i.has(p.target)?p.value:p,Mn.None)}},{kind:Ge.Tmpl,fn:function Hm(l){const i=new Map;for(const a of l.units){let u=0;for(const p of a.create)ra(p)&&(p.handle.slot=u,i.set(p.xref,p.handle.slot),u+=p.numSlotsUsed);a.decls=u}for(const a of l.units)for(const u of a.ops())if(u.kind===B.Template||u.kind===B.RepeaterCreate){const p=l.views.get(u.xref);u.decls=p.decls}}},{kind:Ge.Tmpl,fn:function zR(l){const i=new Map,a=new Map;for(const u of l.units)for(const p of u.create)switch(p.kind){case B.I18nContext:i.set(p.xref,p);break;case B.ElementStart:a.set(p.xref,p)}uu(l,l.root,i,a)}},{kind:Ge.Tmpl,fn:function qR(l){const i=new Map,a=new Map,u=new Map;for(const v of l.units)for(const M of v.create)switch(M.kind){case B.I18nStart:i.set(M.xref,M.subTemplateIndex);break;case B.I18nContext:a.set(M.xref,M);break;case B.IcuPlaceholder:u.set(M.xref,M)}const p=new Map,f=v=>v.usage===Kc.I18nText?v.i18nOwner:v.context;for(const v of l.units)for(const M of v.update)if(M.kind===B.I18nExpression){const L=p.get(f(M))||0;TV(M,{value:L,subTemplateIndex:i.get(M.i18nOwner)??null,flags:rs.ExpressionIndex},a,u),p.set(f(M),L+1)}}},{kind:Ge.Tmpl,fn:function yx(l){const i=new Map,a=new Map,u=new Map;for(const f of l.units)for(const v of f.create)switch(v.kind){case B.I18nContext:const M=zr(l,v);f.create.push(M),i.set(v.xref,M),u.set(v.xref,v);break;case B.I18nStart:a.set(v.xref,v)}let p=null;for(const f of l.units)for(const v of f.create)switch(v.kind){case B.IcuStart:p=v,ve.remove(v);const M=u.get(v.context);if(M.contextKind!==Qc.Icu)continue;const L=a.get(M.i18nBlock);if(L.context===M.xref)continue;const O=a.get(L.root),V=i.get(O.context);if(void 0===V)throw Error("AssertionError: ICU sub-message should belong to a root message.");const Z=i.get(M.xref);Z.messagePlaceholder=v.messagePlaceholder,V.subMessages.push(Z.xref);break;case B.IcuEnd:p=null,ve.remove(v);break;case B.IcuPlaceholder:if(null===p||null==p.context)throw Error("AssertionError: Unexpected ICU placeholder outside of i18n context");i.get(p.context).postprocessingParams.set(v.name,ne(pV(v))),ve.remove(v)}}},{kind:Ge.Tmpl,fn:function Nk(l){for(const i of l.units)for(const a of i.create){if(a.kind!==B.RepeaterCreate||null!==a.trackByFn)continue;let p,u=!1;a.track=Xe(a.track,v=>{if(v instanceof od||v instanceof vm)throw new Error("Illegal State: Pipes are not allowed in this context");return v instanceof _m?(u=!0,Ct("this")):v},Mn.None);const f=[new Tt("$index"),new Tt("$item")];p=u?new or(f,[new ri(a.track)]):It(f,a.track),a.trackByFn=l.pool.getSharedFunctionReference(p,"_forTrack")}}},{kind:Ge.Tmpl,fn:function zS(l){const i=l.relativeContextFilePath.replace(/[^A-Za-z0-9]/g,"_").toUpperCase()+"_",a=new Map,u=new Map,p=new Map,f=new Map;for(const L of l.units)for(const O of L.ops())if(O.kind===B.ExtractedAttribute&&null!==O.i18nContext){const V=a.get(O.i18nContext)??[];V.push(O),a.set(O.i18nContext,V)}else if(O.kind===B.I18nAttributes)u.set(O.target,O);else if(O.kind===B.I18nExpression&&O.usage===Kc.I18nAttribute){const V=p.get(O.target)??[];V.push(O),p.set(O.target,V)}else O.kind===B.I18nMessage&&f.set(O.xref,O);const v=new Map,M=new Map;for(const L of l.units)for(const O of L.create)if(O.kind===B.I18nMessage){if(null===O.messagePlaceholder){const{mainVar:V,statements:Z}=WS(l,i,f,O);if(null!==O.i18nBlock){const he=l.addConst(V,Z);M.set(O.i18nBlock,he)}else{l.constsInitializers.push(...Z),v.set(O.i18nContext,V);const he=a.get(O.i18nContext);if(void 0!==he)for(const ke of he)ke.expression=V.clone()}}ve.remove(O)}for(const L of l.units)for(const O of L.create)if(La(O)){const V=u.get(O.xref);if(void 0===V)continue;let Z=p.get(O.xref);if(void 0===Z)throw new Error("AssertionError: Could not find any i18n expressions associated with an I18nAttributes instruction");const he=new Set;Z=Z.filter(Be=>{const et=he.has(Be.name);return he.add(Be.name),!et});const ke=Z.flatMap(Be=>{const et=v.get(Be.context);if(void 0===et)throw new Error("AssertionError: Could not find i18n expression's value");return[ne(Be.name),et]});V.i18nAttributesConfig=l.addConst(new Ls(ke))}for(const L of l.units)for(const O of L.create)if(O.kind===B.I18nStart){const V=M.get(O.root);if(void 0===V)throw new Error("AssertionError: Could not find corresponding i18n block index for an i18n message op; was an i18n message incorrectly assumed to correspond to an attribute?");O.messageIndex=V}}},{kind:Ge.Tmpl,fn:function gS(l){for(const i of l.units)for(const a of i.ops())ei(a,u=>u instanceof cd?ne(l.addConst(u.expr)):u,Mn.None)}},{kind:Ge.Both,fn:function ox(l){const i=new Map;for(const a of l.units)for(const u of a.create)if(u.kind===B.ExtractedAttribute){const p=i.get(u.target)||new u2(l.compatibility);i.set(u.target,p),p.add(u.bindingKind,u.name,u.expression,u.namespace,u.trustedValueFn),ve.remove(u)}if(l instanceof pn)for(const a of l.units)for(const u of a.create)if(u.kind==B.Projection){const p=i.get(u.xref);if(void 0!==p){const f=pS(p);f.entries.length>0&&(u.attributes=f)}}else La(u)&&(u.attributes=ax(l,i,u.xref),u.kind===B.RepeaterCreate&&null!==u.emptyView&&(u.emptyAttributes=ax(l,i,u.emptyView)));else if(l instanceof zh)for(const[a,u]of i.entries()){if(a!==l.root.xref)throw new Error("An attribute would be const collected into the host binding's template function, but is not associated with the root xref.");const p=pS(u);p.entries.length>0&&(l.root.attributes=p)}}},{kind:Ge.Tmpl,fn:function mD(l){for(const i of l.units)for(const a of i.create)switch(a.kind){case B.I18nContext:ve.remove(a);break;case B.I18nStart:a.context=null}}},{kind:Ge.Both,fn:function eO(l){for(const i of l.units){let a=0;for(const u of i.ops())td(u)&&(a+=tO(u));for(const u of i.ops())Cr(u,p=>{os(p)&&(l.compatibility===ur.TemplateDefinitionBuilder&&p instanceof tu||(UE(p)&&(p.varOffset=a),td(p)&&(a+=mp(p))))});if(l.compatibility===ur.TemplateDefinitionBuilder)for(const u of i.ops())Cr(u,p=>{!os(p)||!(p instanceof tu)||(UE(p)&&(p.varOffset=a),td(p)&&(a+=mp(p)))});i.vars=a}if(l instanceof pn)for(const i of l.units)for(const a of i.create){if(a.kind!==B.Template&&a.kind!==B.RepeaterCreate)continue;const u=l.views.get(a.xref);a.vars=u.vars}}},{kind:Ge.Tmpl,fn:function vx(l){for(const i of l.units){const a=new Map;for(const p of i.create)if(ra(p)){if(null===p.handle.slot)throw new Error("AssertionError: expected slots to have been allocated before generating advance() calls");a.set(p.xref,p.handle.slot)}let u=0;for(const p of i.update){let f=null;if(Bh(p)?f=p:Cr(p,M=>{null===f&&Bh(M)&&(f=M)}),null===f)continue;if(!a.has(f.target))throw new Error(`AssertionError: reference to unknown slot for target ${f.target}`);const v=a.get(f.target);if(u!==v){const M=v-u;if(M<0)throw new Error("AssertionError: slot counter should never need to move backwards");ve.insertBefore(ry(M,f.sourceSpan),p),u=v}}}}},{kind:Ge.Both,fn:function KS(l){Fm(l.root,l.componentName,{index:0},l.compatibility===ur.TemplateDefinitionBuilder)}},{kind:Ge.Tmpl,fn:function d2(l){for(const i of l.units)for(const a of i.create)if(a.kind===B.Defer){if(null!==a.resolverFn)continue;if(null!==a.ownResolverFn){if(null===a.handle.slot)throw new Error("AssertionError: slot must be assigned before extracting defer deps functions");const u=i.fnName?.replace("_Template","");a.resolverFn=l.pool.getSharedFunctionReference(a.ownResolverFn,`${u}_Defer_${a.handle.slot}_DepsFn`,!1)}}}},{kind:Ge.Tmpl,fn:function bd(l){for(const i of l.units){for(const a of i.create)(a.kind===B.Listener||a.kind===B.TwoWayListener)&&ZS(a.handlerOps);ZS(i.update)}}},{kind:Ge.Tmpl,fn:function JS(l){for(const i of l.units){const a=new Set;for(const u of i.create)u.kind===B.ElementStart&&"ng-container"===u.tag&&(u.kind=B.ContainerStart,a.add(u.xref)),u.kind===B.ElementEnd&&a.has(u.xref)&&(u.kind=B.ContainerEnd)}}},{kind:Ge.Tmpl,fn:function px(l){for(const i of l.units)for(const a of i.create){const u=hx.get(a.kind);if(void 0===u)continue;const[p,f]=u;let v=a.prev;for(;null!==v&&gy.has(v.kind);)v=v.prev;null!==v&&v.kind===p&&(v.kind=f,ve.remove(a))}}},{kind:Ge.Tmpl,fn:function tk(l){const i=new Map;for(const a of l.units)for(const u of a.create)La(u)&&i.set(u.xref,u);for(const a of l.units)for(const u of a.create)(u.kind===B.ElementStart||u.kind===B.ContainerStart)&&u.nonBindable&&ve.insertAfter(uy(u.xref),u),(u.kind===B.ElementEnd||u.kind===B.ContainerEnd)&&oR(i,u.xref).nonBindable&&ve.insertBefore(JP(u.xref),u)}},{kind:Ge.Both,fn:function dk(l){for(const i of l.units)for(const a of i.ops())Cr(a,u=>{if(!(u instanceof tu)||null===u.body)return;const p=new uR(u.args.length);u.fn=l.pool.getSharedConstant(p,u.body),u.body=null})}},{kind:Ge.Both,fn:function HR(l){for(const i of l.units)$R(i,i.create),fD(i,i.update)}},{kind:Ge.Both,fn:function ao(l){for(const i of l.units)fy(i.create),fy(i.update)}}];function zy(l,i){for(const a of uO)(a.kind===i||a.kind===Ge.Both)&&a.fn(l)}function Um(l,i){const a=wD(l.root);return bD(l.root,i),a}function bD(l,i){for(const a of l.job.units){if(a.parent!==l.xref)continue;bD(a,i);const u=wD(a);i.statements.push(u.toDeclStmt(u.name))}}function wD(l){if(null===l.fnName)throw new Error(`AssertionError: view ${l.xref} is unnamed`);const i=[];for(const f of l.create){if(f.kind!==B.Statement)throw new Error(`AssertionError: expected all create ops to have been compiled, but got ${B[f.kind]}`);i.push(f.statement)}const a=[];for(const f of l.update){if(f.kind!==B.Statement)throw new Error(`AssertionError: expected all update ops to have been compiled, but got ${B[f.kind]}`);a.push(f.statement)}const u=Wy(1,i),p=Wy(2,a);return Ho([new Tt("rf"),new Tt("ctx")],[...u,...p],void 0,void 0,l.fnName)}function Wy(l,i){return 0===i.length?[]:[gt(new Wt(He.BitwiseAnd,Ct("rf"),ne(l)),i)]}const zm=ur.TemplateDefinitionBuilder,_p=new Ey,xd="ng-template";function qy(l){return l instanceof br}function hO(l,i,a,u){let p;const f=i.expression.ast;p=f instanceof qo?new Ji(f.strings,f.expressions.map(v=>Jt(v,l,i.sourceSpan)),[]):Jt(f,l,i.sourceSpan),l.root.update.push(Zc(l.root.xref,a,i.name,p,null,u,!1,!1,null,null,i.sourceSpan))}function Hk(l,i,a,u){const p=Zc(l.root.xref,ot.Attribute,i,a,null,u,!0,!1,null,null,a.sourceSpan);l.root.update.push(p)}function Uk(l,i){const[a,u]=i.type!==vr.Animation?[null,i.targetOrPhase]:[i.targetOrPhase,null],p=rS(l.root.xref,new oa,i.name,null,CD(l.root,i.handler,i.handlerSpan),a,u,!0,i.sourceSpan);l.root.create.push(p)}function dl(l,i){for(const a of i)if(a instanceof Jr)DD(l,a);else if(a instanceof jn)pO(l,a);else if(a instanceof Es)fO(l,a);else if(a instanceof Da)$k(l,a,null);else if(a instanceof Qa)zk(l,a,null);else if(a instanceof Qf)mO(l,a);else if(a instanceof Vl)gO(l,a);else if(a instanceof zu)_O(l,a);else if(a instanceof Xa)yO(l,a);else if(a instanceof Th)vO(l,a);else{if(!(a instanceof rn))throw new Error(`Unsupported template node: ${a.constructor.name}`);Wm(l,a)}}function DD(l,i){if(void 0!==i.i18n&&!(i.i18n instanceof br||i.i18n instanceof Jo))throw Error(`Unhandled i18n metadata type for element: ${i.i18n.constructor.name}`);const a=l.job.allocateXrefId(),[u,p]=li(i.name),f=function XE(l,i,a,u,p,f){return{kind:B.ElementStart,xref:i,tag:l,handle:new oa,attributes:null,localRefs:[],nonBindable:!1,namespace:a,i18nPlaceholder:u,startSourceSpan:p,wholeSourceSpan:f,...ec,...Zt}}(p,a,c2(u),i.i18n instanceof Jo?i.i18n:void 0,i.startSourceSpan,i.sourceSpan);l.create.push(f),function bO(l,i,a){let u=new Array,p=new Set;for(const f of a.attributes){const v=_p.securityContext(a.name,f.name,!0);u.push(Zc(i.xref,ot.Attribute,f.name,qm(l.job,f.value,f.i18n),null,v,!0,!1,null,hl(f.i18n),f.sourceSpan)),f.i18n&&p.add(f.name)}for(const f of a.inputs)p.has(f.name)&&console.error(`On component ${l.job.componentName}, the binding ${f.name} is both an i18n attribute and a property. You may want to remove the property binding. This will become a compilation error in future versions of Angular.`),u.push(Zc(i.xref,Wk.get(f.type),f.name,qm(l.job,bp(f.value),f.i18n),f.unit,f.securityContext,!1,!1,null,hl(f.i18n)??null,f.sourceSpan));l.create.push(u.filter(f=>f?.kind===B.ExtractedAttribute)),l.update.push(u.filter(f=>f?.kind===B.Binding));for(const f of a.outputs){if(f.type===vr.Animation&&null===f.phase)throw Error("Animation listener should have a phase");f.type===vr.TwoWay?l.create.push(dy(i.xref,i.handle,f.name,i.tag,qk(l,f.handler,f.handlerSpan),f.sourceSpan)):l.create.push(rS(i.xref,i.handle,f.name,i.tag,CD(l,f.handler,f.handlerSpan),f.phase,f.target,!1,f.sourceSpan))}null!==u.some(f=>f?.i18nMessage)&&l.create.push(lS(l.job.allocateXrefId(),new oa,i.xref))}(l,f,i),Gk(f,i);let v=null;i.i18n instanceof br&&(v=l.job.allocateXrefId(),l.create.push(hy(v,i.i18n,void 0,i.startSourceSpan))),dl(l,i.children);const M=function iS(l,i){return{kind:B.ElementEnd,xref:l,sourceSpan:i,...Zt}}(a,i.endSourceSpan??i.startSourceSpan);l.create.push(M),null!==v&&ve.insertBefore(Mo(v,i.endSourceSpan??i.startSourceSpan),M)}function pO(l,i){if(void 0!==i.i18n&&!(i.i18n instanceof br||i.i18n instanceof Jo))throw Error(`Unhandled i18n metadata type for template: ${i.i18n.constructor.name}`);const a=l.job.allocateView(l.xref);let u=i.tagName,p="";i.tagName&&([p,u]=li(i.tagName));const f=i.i18n instanceof Jo?i.i18n:void 0,v=c2(p),M=null===u?"":qh(u,v),L=function vp(l){return li(l.tagName??"")[1]===xd}(i)?Sr.NgTemplate:Sr.Structural,O=Sm(a.xref,L,u,M,v,f,i.startSourceSpan,i.sourceSpan);l.create.push(O),function wO(l,i,a,u){let p=new Array;for(const f of a.templateAttrs)if(f instanceof $u){const v=_p.securityContext(xd,f.name,!0);p.push(Gy(l,i.xref,vn.Attribute,f.name,f.value,null,v,!0,u,hl(f.i18n),f.sourceSpan))}else p.push(Gy(l,i.xref,f.type,f.name,bp(f.value),f.unit,f.securityContext,!0,u,hl(f.i18n),f.sourceSpan));for(const f of a.attributes){const v=_p.securityContext(xd,f.name,!0);p.push(Gy(l,i.xref,vn.Attribute,f.name,f.value,null,v,!1,u,hl(f.i18n),f.sourceSpan))}for(const f of a.inputs)p.push(Gy(l,i.xref,f.type,f.name,bp(f.value),f.unit,f.securityContext,!1,u,hl(f.i18n),f.sourceSpan));l.create.push(p.filter(f=>f?.kind===B.ExtractedAttribute)),l.update.push(p.filter(f=>f?.kind===B.Binding));for(const f of a.outputs){if(f.type===vr.Animation&&null===f.phase)throw Error("Animation listener should have a phase");if(u===Sr.NgTemplate&&(f.type===vr.TwoWay?l.create.push(dy(i.xref,i.handle,f.name,i.tag,qk(l,f.handler,f.handlerSpan),f.sourceSpan)):l.create.push(rS(i.xref,i.handle,f.name,i.tag,CD(l,f.handler,f.handlerSpan),f.phase,f.target,!1,f.sourceSpan))),u===Sr.Structural&&f.type!==vr.Animation){const v=_p.securityContext(xd,f.name,!1);l.create.push(Co(i.xref,ot.Property,null,f.name,null,null,null,v))}}null!==p.some(f=>f?.i18nMessage)&&l.create.push(lS(l.job.allocateXrefId(),new oa,i.xref))}(l,O,i,L),Gk(O,i),dl(a,i.children);for(const{name:V,value:Z}of i.variables)a.contextVariables.set(V,""!==Z?Z:"$implicit");if(L===Sr.NgTemplate&&i.i18n instanceof br){const V=l.job.allocateXrefId();ve.insertAfter(hy(V,i.i18n,void 0,i.startSourceSpan),a.create.head),ve.insertBefore(Mo(V,i.endSourceSpan??i.startSourceSpan),a.create.tail)}}function fO(l,i){if(void 0!==i.i18n&&!(i.i18n instanceof Jo))throw Error(`Unhandled i18n metadata type for element: ${i.i18n.constructor.name}`);let a=null;i.children.some(f=>!(f instanceof Uu||f instanceof Da&&!(f.value.trim().length>0)))&&(a=l.job.allocateView(l.xref),dl(a,i.children));const p=function JE(l,i,a,u,p){return{kind:B.Projection,xref:l,handle:new oa,selector:i,i18nPlaceholder:a,fallbackView:u,projectionSlotIndex:0,attributes:null,localRefs:[],sourceSpan:p,...Zt,...ec,numSlotsUsed:null===u?1:2}}(l.job.allocateXrefId(),i.selector,i.i18n,a?.xref??null,i.sourceSpan);for(const f of i.attributes){const v=_p.securityContext(i.name,f.name,!0);l.update.push(Zc(p.xref,ot.Attribute,f.name,ne(f.value),null,v,!0,!1,null,hl(f.i18n),f.sourceSpan))}l.create.push(p)}function $k(l,i,a){l.create.push(_t(l.job.allocateXrefId(),i.value,a,i.sourceSpan))}function zk(l,i,a){let u=i.value;if(u instanceof Xr&&(u=u.ast),!(u instanceof qo))throw new Error(`AssertionError: expected Interpolation for BoundText node, got ${u.constructor.name}`);if(void 0!==i.i18n&&!(i.i18n instanceof lr))throw Error(`Unhandled i18n metadata type for text interpolation: ${i.i18n?.constructor.name}`);const p=i.i18n instanceof lr?i.i18n.children.filter(M=>M instanceof ea).map(M=>M.name):[];if(p.length>0&&p.length!==u.expressions.length)throw Error(`Unexpected number of i18n placeholders (${u.expressions.length}) for BoundText with ${u.expressions.length} expressions`);const f=l.job.allocateXrefId();l.create.push(_t(f,"",a,i.sourceSpan));const v=l.job.compatibility?null:i.sourceSpan;l.update.push(function sy(l,i,a){return{kind:B.InterpolateText,target:l,interpolation:i,sourceSpan:a,...ia,...Dr,...Zt}}(f,new Ji(u.strings,u.expressions.map(M=>Jt(M,l.job,v)),p),i.sourceSpan))}function mO(l,i){let a=null,u=[];for(let p=0;pJt(u,i,a)),void 0,Oi(l.span,a))}if(l instanceof Si)return ne(l.value,void 0,Oi(l.span,a));if(!(l instanceof Go)){if(l instanceof ai){const u=hV.get(l.operation);if(void 0===u)throw new Error(`AssertionError: unknown binary operator ${l.operation}`);return new Wt(u,Jt(l.left,i,a),Jt(l.right,i,a),void 0,Oi(l.span,a))}if(l instanceof we)return new ro(i.root.xref);if(l instanceof jc)return new Jn(Jt(l.receiver,i,a),Jt(l.key,i,a),void 0,Oi(l.span,a));if(l instanceof zn)throw new Error("AssertionError: Chain in unknown context");if(l instanceof Wo){const u=l.keys.map((p,f)=>{const v=l.values[f];return new ar(p.key,Jt(v,i,a),p.quoted)});return new ms(u,void 0,Oi(l.span,a))}if(l instanceof Fl)return new Ls(l.expressions.map(u=>Jt(u,i,a)));if(l instanceof me)return new yr(Jt(l.condition,i,a),Jt(l.trueExp,i,a),Jt(l.falseExp,i,a),void 0,Oi(l.span,a));if(l instanceof Ko)return Jt(l.expression,i,a);if(l instanceof qa)return new od(i.allocateXrefId(),new oa,l.name,[Jt(l.exp,i,a),...l.args.map(u=>Jt(u,i,a))]);if(l instanceof Eh)return new $h(Jt(l.receiver,i,a),Jt(l.key,i,a),Oi(l.span,a));if(l instanceof za)return new Uh(Jt(l.receiver,i,a),l.name);if(l instanceof wa)return new ks(Jt(l.receiver,i,a),l.args.map(u=>Jt(u,i,a)));if(l instanceof Zs)return new ld(Oi(l.span,a));if(l instanceof Di)return Bu(Jt(l.expression,i,a),Oi(l.span,a));throw new Error(`Unhandled expression type "${l.constructor.name}" in file "${a?.start.file.url}"`)}switch(l.operator){case"+":return new As(ii.Plus,Jt(l.expr,i,a),void 0,Oi(l.span,a));case"-":return new As(ii.Minus,Jt(l.expr,i,a),void 0,Oi(l.span,a));default:throw new Error(`AssertionError: unknown unary operator ${l.operator}`)}}function qm(l,i,a,u){let p;return p=i instanceof qo?new Ji(i.strings,i.expressions.map(f=>Jt(f,l,u??null)),Object.keys(hl(a)?.placeholders??{})):i instanceof Ms?Jt(i,l,u??null):ne(i),p}const Wk=new Map([[vn.Property,ot.Property],[vn.TwoWay,ot.TwoWayProperty],[vn.Attribute,ot.Attribute],[vn.Class,ot.ClassName],[vn.Style,ot.StyleProperty],[vn.Animation,ot.Animation]]);function hl(l){if(null==l)return null;if(!(l instanceof br))throw Error(`Expected i18n meta to be a Message, but got: ${l.constructor.name}`);return l}function Gy(l,i,a,u,p,f,v,M,L,O,V){const Z="string"==typeof p;if(L===Sr.Structural){if(!M)switch(a){case vn.Property:case vn.Class:case vn.Style:return Co(i,ot.Property,null,u,null,null,O,v);case vn.TwoWay:return Co(i,ot.TwoWayProperty,null,u,null,null,O,v)}if(!Z&&(a===vn.Attribute||a===vn.Animation))return null}let he=Wk.get(a);return L===Sr.NgTemplate&&(a===vn.Class||a===vn.Style||a===vn.Attribute&&!Z)&&(he=ot.Property),Zc(i,he,u,qm(l.job,p,O),f,v,Z,M,L,O,V)}function CD(l,i,a){i=bp(i);const u=new Array;let p=i instanceof zn?i.expressions:[i];if(0===p.length)throw new Error("Expected listener to have non-empty expression list.");const f=p.map(M=>Jt(M,l.job,a)),v=f.pop();return u.push(...f.map(M=>io(new Xs(M,M.sourceSpan)))),u.push(io(new ri(v,v.sourceSpan))),u}function qk(l,i,a){i=bp(i);const u=new Array;if(i instanceof zn){if(1!==i.expressions.length)throw new Error("Expected two-way listener to have a single expression.");i=i.expressions[0]}const p=Jt(i,l.job,a),f=new Ln("$event"),v=new ay(p,f);return u.push(io(new Xs(v))),u.push(io(new ri(f))),u}function bp(l){return l instanceof Xr?l.ast:l}function Gk(l,i){!function Kk(l){if(!Array.isArray(l))throw new Error("AssertionError: expected an array")}(l.localRefs);for(const{name:a,value:u}of i.references)l.localRefs.push({name:a,target:u})}function Oi(l,i){if(null===i)return null;const a=i.start.moveBy(l.start),u=i.start.moveBy(l.end),p=i.fullStart.moveBy(l.start);return new Xt(a,u,p)}function Ky(l,i,a){let u=null;for(const p of a.children)if(!(p instanceof Uu)){if(null!==u)return null;(p instanceof Jr||p instanceof jn&&null!==p.tagName)&&(u=p)}if(null!==u){for(const f of u.attributes){const v=_p.securityContext(xd,f.name,!0);l.update.push(Zc(i,ot.Attribute,f.name,ne(f.value),null,v,!0,!1,null,hl(f.i18n),f.sourceSpan))}for(const f of u.inputs)if(f.type!==vn.Animation&&f.type!==vn.Attribute){const v=_p.securityContext(xd,f.name,!0);l.create.push(Co(i,ot.Property,null,f.name,null,null,null,v))}const p=u instanceof Jr?u.name:u.tagName;return p===xd?null:p}return null}function Qy(l,i){return gt(Ct(Uc).bitwiseAnd(ne(l),null,!1),i)}function Xk(l,i,a,u){const p=[];void 0!==u&&p.push(...u),l.isSignal&&p.push(new Ds(Ct($l),l.propertyName)),p.push(function SO(l,i){if(Array.isArray(l.predicate)){let a=[];return l.predicate.forEach(u=>{const p=u.split(",").map(f=>ne(f.trim()));a.push(...p)}),i.getConstLiteral(qt(a),!0)}switch(l.predicate.forwardRef){case 0:case 2:return l.predicate.expression;case 1:return je(te.resolveForwardRef).callFn([l.predicate.expression])}}(l,i),ne(function Qk(l){return(l.descendants?1:0)|(l.static?2:0)|(l.emitDistinctChangesOnly?4:0)}(l))),l.read&&p.push(l.read);return je(l.isSignal?a.signalBased:a.nonSignal).callFn(p)}const ac=Symbol("queryAdvancePlaceholder");function Td(l){const i=[];let a=0;const u=()=>{a>0&&(i.unshift(je(te.queryAdvance).callFn(1===a?[]:[ne(a)]).toStmt()),a=0)};for(let p=l.length-1;p>=0;p--){const f=l[p];f===ac?a++:(u(),i.unshift(f))}return u(),i}class MD extends TS{constructor(){super(Ux)}parse(i,a,u){return super.parse(i,a,u)}}const eT="animate-";class MO{constructor(i,a,u,p,f=!1){this._exprParser=i,this._interpolationConfig=a,this._schemaRegistry=u,this.errors=p,this._allowInvalidAssignmentEvents=f}get interpolationConfig(){return this._interpolationConfig}createBoundHostProperties(i,a){const u=[];for(const p of Object.keys(i)){const f=i[p];"string"==typeof f?this.parsePropertyBinding(p,f,!0,!1,a,a.start.offset,void 0,[],u,a):this._reportError(`Value of the host property binding "${p}" needs to be a string representing an expression but got "${f}" (${typeof f})`,a)}return u}createDirectiveHostEventAsts(i,a){const u=[];for(const p of Object.keys(i)){const f=i[p];"string"==typeof f?this.parseEvent(p,f,!1,a,a,[],u,a):this._reportError(`Value of the host listener "${p}" needs to be a string representing an expression but got "${f}" (${typeof f})`,a)}return u}parseInterpolation(i,a,u){const p=a.start.toString(),f=a.fullStart.offset;try{const v=this._exprParser.parseInterpolation(i,p,f,u,this._interpolationConfig);return v&&this._reportExpressionParserErrors(v.errors,a),v}catch(v){return this._reportError(`${v}`,a),this._exprParser.wrapLiteralPrimitive("ERROR",p,f)}}parseInterpolationExpression(i,a){const u=a.start.toString(),p=a.start.offset;try{const f=this._exprParser.parseInterpolationExpression(i,u,p);return f&&this._reportExpressionParserErrors(f.errors,a),f}catch(f){return this._reportError(`${f}`,a),this._exprParser.wrapLiteralPrimitive("ERROR",u,p)}}parseInlineTemplateBinding(i,a,u,p,f,v,M,L){const O=u.start.offset+1,V=this._parseTemplateBindings(i,a,u,O,p);for(const Z of V){const he=du(u,Z.sourceSpan),ke=Z.key.source,Be=du(u,Z.key.span);if(Z instanceof N_){const et=Z.value?Z.value.source:"$implicit",ct=Z.value?du(u,Z.value.span):void 0;M.push(new An(ke,et,he,Be,ct))}else if(Z.value){const et=L?he:u,ct=du(u,Z.value.ast.sourceSpan);this._parsePropertyAst(ke,Z.value,!1,et,Be,ct,f,v)}else f.push([ke,""]),this.parseLiteralAttr(ke,null,Be,p,void 0,f,v,Be)}}_parseTemplateBindings(i,a,u,p,f){const v=u.start.toString();try{const M=this._exprParser.parseTemplateBindings(i,a,v,p,f);return this._reportExpressionParserErrors(M.errors,u),M.warnings.forEach(L=>{this._reportError(L,u,Xl.WARNING)}),M.templateBindings}catch(M){return this._reportError(`${M}`,u),[]}}parseLiteralAttr(i,a,u,p,f,v,M,L){Id(i)?(i=i.substring(1),void 0!==L&&(L=du(L,new Wi(L.start.offset+1,L.end.offset))),a&&this._reportError('Assigning animation triggers via @prop="exp" attributes with an expression is invalid. Use property bindings (e.g. [@prop]="exp") or use an attribute without a value (e.g. @prop) instead.',u,Xl.ERROR),this._parseAnimation(i,a,u,p,L,f,v,M)):M.push(new Ga(i,this._exprParser.wrapLiteralPrimitive(a,"",p),Ka.LITERAL_ATTR,u,L,f))}parsePropertyBinding(i,a,u,p,f,v,M,L,O,V){0===i.length&&this._reportError("Property name is missing in binding",f);let Z=!1;i.startsWith(eT)?(Z=!0,i=i.substring(8),void 0!==V&&(V=du(V,new Wi(V.start.offset+8,V.end.offset)))):Id(i)&&(Z=!0,i=i.substring(1),void 0!==V&&(V=du(V,new Wi(V.start.offset+1,V.end.offset)))),Z?this._parseAnimation(i,a,f,v,V,M,L,O):this._parsePropertyAst(i,this.parseBinding(a,u,M||f,v),p,f,V,M,L,O)}parsePropertyInterpolation(i,a,u,p,f,v,M,L){const O=this.parseInterpolation(a,p||u,L);return!!O&&(this._parsePropertyAst(i,O,!1,u,M,p,f,v),!0)}_parsePropertyAst(i,a,u,p,f,v,M,L){M.push([i,a.source]),L.push(new Ga(i,a,u?Ka.TWO_WAY:Ka.DEFAULT,p,f,v))}_parseAnimation(i,a,u,p,f,v,M,L){0===i.length&&this._reportError("Animation trigger is missing",u);const O=this.parseBinding(a||"undefined",!1,v||u,p);M.push([i,O.source]),L.push(new Ga(i,O,Ka.ANIMATION,u,f,v))}parseBinding(i,a,u,p){const f=(u&&u.start||"(unknown)").toString();try{const v=a?this._exprParser.parseSimpleBinding(i,f,p,this._interpolationConfig):this._exprParser.parseBinding(i,f,p,this._interpolationConfig);return v&&this._reportExpressionParserErrors(v.errors,u),v}catch(v){return this._reportError(`${v}`,u),this._exprParser.wrapLiteralPrimitive("ERROR",f,p)}}createBoundElementProperty(i,a,u=!1,p=!0){if(a.isAnimation)return new $f(a.name,vn.Animation,J.NONE,a.expression,null,a.sourceSpan,a.keySpan,a.valueSpan);let v,f=null,M=null;const L=a.name.split(".");let O;if(L.length>1)if("attr"==L[0]){M=L.slice(1).join("."),u||this._validatePropertyOrAttributeName(M,a.sourceSpan,!0),O=Ui(this._schemaRegistry,i,M,!0);const V=M.indexOf(":");if(V>-1){const Z=M.substring(0,V),he=M.substring(V+1);M=Hu(Z,he)}v=vn.Attribute}else"class"==L[0]?(M=L[1],v=vn.Class,O=[J.NONE]):"style"==L[0]&&(f=L.length>2?L[2]:null,M=L[1],v=vn.Style,O=[J.STYLE]);if(null===M){const V=this._schemaRegistry.getMappedPropName(a.name);M=p?V:a.name,O=Ui(this._schemaRegistry,i,V,!1),v=a.type===Ka.TWO_WAY?vn.TwoWay:vn.Property,u||this._validatePropertyOrAttributeName(V,a.sourceSpan,!1)}return new $f(M,v,O[0],a.expression,f,a.sourceSpan,a.keySpan,a.valueSpan)}parseEvent(i,a,u,p,f,v,M,L){0===i.length&&this._reportError("Event name is missing in binding",p),Id(i)?(i=i.slice(1),void 0!==L&&(L=du(L,new Wi(L.start.offset+1,L.end.offset))),this._parseAnimationEvent(i,a,p,f,M,L)):this._parseRegularEvent(i,a,u,p,f,v,M,L)}calcPossibleSecurityContexts(i,a,u){const p=this._schemaRegistry.getMappedPropName(a);return Ui(this._schemaRegistry,i,p,u)}_parseAnimationEvent(i,a,u,p,f,v){const M=function Ae(l,i){return ww(l,".",i)}(i,[i,""]),L=M[0],O=M[1].toLowerCase(),V=this._parseAction(a,p);f.push(new wo(L,O,vr.Animation,V,u,p,v)),0===L.length&&this._reportError("Animation event name is missing in binding",u),O?"start"!==O&&"done"!==O&&this._reportError(`The provided animation output phase value "${O}" for "@${L}" is not supported (use start or done)`,u):this._reportError(`The animation trigger output event (@${L}) is missing its phase value name (start or done are currently supported)`,u)}_parseRegularEvent(i,a,u,p,f,v,M,L){const[O,V]=function bE(l,i){return ww(l,":",i)}(i,[null,i]),Z=this.errors.length,he=this._parseAction(a,f),ke=this.errors.length===Z;v.push([i,he.source]),u&&ke&&!this._isAllowedAssignmentEvent(he)&&this._reportError("Unsupported expression in a two-way binding",p),M.push(new wo(V,O,u?vr.TwoWay:vr.Regular,he,p,f,L))}_parseAction(i,a){const u=(a&&a.start||"(unknown").toString(),p=a&&a.start?a.start.offset:0;try{const f=this._exprParser.parseAction(i,u,p,this._interpolationConfig);return f&&this._reportExpressionParserErrors(f.errors,a),!f||f.ast instanceof Zs?(this._reportError("Empty expressions are not allowed",a),this._exprParser.wrapLiteralPrimitive("ERROR",u,p)):f}catch(f){return this._reportError(`${f}`,a),this._exprParser.wrapLiteralPrimitive("ERROR",u,p)}}_reportError(i,a,u=Xl.ERROR){this.errors.push(new Mt(a,i,u))}_reportExpressionParserErrors(i,a){for(const u of i)this._reportError(u.message,a)}_validatePropertyOrAttributeName(i,a,u){const p=u?this._schemaRegistry.validateAttribute(i):this._schemaRegistry.validateProperty(i);p.error&&this._reportError(p.msg,a,Xl.ERROR)}_isAllowedAssignmentEvent(i){return i instanceof Xr?this._isAllowedAssignmentEvent(i.ast):i instanceof Ko?this._isAllowedAssignmentEvent(i.expression):i instanceof zo||i instanceof jc||!!this._allowInvalidAssignmentEvents&&(i instanceof ai?("&&"===i.operation||"||"===i.operation||"??"===i.operation)&&(i.right instanceof zo||i.right instanceof jc):i instanceof me||i instanceof Di)}}function Id(l){return"@"==l[0]}function Ui(l,i,a,u){const p=[];return y.parse(i).forEach(f=>{const v=f.element?[f.element]:l.allKnownElementNames(),M=new Set(f.notSelectors.filter(O=>O.isElementSelector()).map(O=>O.element)),L=v.filter(O=>!M.has(O));p.push(...L.map(O=>l.securityContext(O,a,u)))}),0===p.length?[J.NONE]:Array.from(new Set(p)).sort()}function du(l,i){const a=i.start-l.start.offset,u=i.end-l.end.offset;return new Xt(l.start.moveBy(a),l.end.moveBy(u),l.fullStart.moveBy(a),l.details)}const kD=/^([^:/?#]+):/;function wp(l){let i=null,a=null,u=null,p=!1,f="";l.attrs.forEach(L=>{const O=L.name.toLowerCase();"select"==O?i=L.value:"href"==O?a=L.value:"rel"==O?u=L.value:"ngNonBindable"==L.name?p=!0:"ngProjectAs"==L.name&&L.value.length>0&&(f=L.value)}),i=function sT(l){return null===l||0===l.length?"*":l}(i);const v=l.name.toLowerCase();let M=To.OTHER;return qi(v)?M=To.NG_CONTENT:"style"==v?M=To.STYLE:"script"==v?M=To.SCRIPT:"link"==v&&"stylesheet"==u&&(M=To.STYLESHEET),new Jy(M,i,a,p,f)}var To;!function(l){l[l.NG_CONTENT=0]="NG_CONTENT",l[l.STYLE=1]="STYLE",l[l.STYLESHEET=2]="STYLESHEET",l[l.SCRIPT=3]="SCRIPT",l[l.OTHER=4]="OTHER"}(To||(To={}));class Jy{constructor(i,a,u,p,f){this.type=i,this.selectAttr=a,this.hrefAttr=u,this.nonBindable=p,this.projectAs=f}}const iT=/^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/,kO=/^track\s+([\S\s]*)/,Qm=/^(as\s)+(.*)/,ID=/^else[^\S\r\n]+if/,TO=/^let\s+([\S\s]*)/,rT=/(\s*)(\S+)(\s*)/,Xm=new Set(["$index","$first","$last","$even","$odd","$count"]);function oT(l){return"empty"===l}function aT(l){return"else"===l||ID.test(l)}function IO(l,i,a,u){const p=function lT(l){const i=[];let a=!1;for(let u=0;u1&&u0&&i.push(new Mt(p.startSourceSpan,"@else block cannot have parameters")),a=!0):ID.test(p.name)||i.push(new Mt(p.startSourceSpan,`Unrecognized conditional block @${p.name}`))}return i}(i),f=[],v=AD(l,p,u);null!==v&&f.push(new Ze(v.expression,Ft(a,l.children,l.children),v.expressionAlias,l.sourceSpan,l.startSourceSpan,l.endSourceSpan,l.nameSpan,l.i18n));for(const Z of i)if(ID.test(Z.name)){const he=AD(Z,p,u);if(null!==he){const ke=Ft(a,Z.children,Z.children);f.push(new Ze(he.expression,ke,he.expressionAlias,Z.sourceSpan,Z.startSourceSpan,Z.endSourceSpan,Z.nameSpan,Z.i18n))}}else if("else"===Z.name){const he=Ft(a,Z.children,Z.children);f.push(new Ze(null,he,null,Z.sourceSpan,Z.startSourceSpan,Z.endSourceSpan,Z.nameSpan,Z.i18n))}const M=f.length>0?f[0].startSourceSpan:l.startSourceSpan,L=f.length>0?f[f.length-1].endSourceSpan:l.endSourceSpan;let O=l.sourceSpan;const V=f[f.length-1];return void 0!==V&&(O=new Xt(M.start,V.sourceSpan.end)),{node:new Qf(f,O,l.startSourceSpan,L,l.nameSpan),errors:p}}function AO(l,i,a,u){const p=[],f=function LO(l,i,a){if(0===l.parameters.length)return i.push(new Mt(l.startSourceSpan,"@for loop does not have an expression")),null;const[u,...p]=l.parameters,f=function RO(l,i){const a=l.expression,u=/^\s$/;let p=0,f=0,v=a.length-1;for(let M=0;M-1;M--){const L=a[M];if(")"!==L){if(u.test(L))continue;break}if(v=M,p--,0===p)break}return 0!==p?(i.push(new Mt(l.sourceSpan,"Unclosed parentheses in expression")),null):a.slice(f,v)}(u,i)?.match(iT);if(!f||0===f[2].trim().length)return i.push(new Mt(u.sourceSpan,'Cannot parse expression. @for loop expression must match the pattern " of "')),null;const[,v,M]=f;Xm.has(v)&&i.push(new Mt(u.sourceSpan,`@for loop item name cannot be one of ${Array.from(Xm).join(", ")}.`));const L=u.expression.split(" ")[0],O=new Xt(u.sourceSpan.start,u.sourceSpan.start.moveBy(L.length)),V={itemName:new Ki(v,"$implicit",O,O),trackBy:null,expression:Ad(u,a,M),context:Array.from(Xm,Z=>{const he=new Xt(l.startSourceSpan.end,l.startSourceSpan.end);return new Ki(Z,Z,he,he)})};for(const Z of p){const he=Z.expression.match(TO);if(null!==he){const Be=new Xt(Z.sourceSpan.start.moveBy(he[0].length-he[1].length),Z.sourceSpan.end);PO(Z.sourceSpan,he[1],Be,v,V.context,i);continue}const ke=Z.expression.match(kO);if(null===ke)i.push(new Mt(Z.sourceSpan,`Unrecognized @for loop paramater "${Z.expression}"`));else if(null!==V.trackBy)i.push(new Mt(Z.sourceSpan,'@for loop can only have one "track" expression'));else{const Be=Ad(Z,a,ke[1]);Be.ast instanceof Zs&&i.push(new Mt(l.startSourceSpan,'@for loop must have a "track" expression'));const et=new Xt(Z.sourceSpan.start,Z.sourceSpan.start.moveBy(5));V.trackBy={expression:Be,keywordSpan:et}}}return V}(l,p,u);let v=null,M=null;for(const L of i)"empty"===L.name?null!==M?p.push(new Mt(L.sourceSpan,"@for loop can only have one @empty block")):L.parameters.length>0?p.push(new Mt(L.sourceSpan,"@empty block cannot have parameters")):M=new Qn(Ft(a,L.children,L.children),L.sourceSpan,L.startSourceSpan,L.endSourceSpan,L.nameSpan,L.i18n):p.push(new Mt(L.sourceSpan,`Unrecognized @for loop block "${L.name}"`));if(null!==f)if(null===f.trackBy)p.push(new Mt(l.startSourceSpan,'@for loop must have a "track" expression'));else{const L=M?.endSourceSpan??l.endSourceSpan,O=new Xt(l.sourceSpan.start,L?.end??l.sourceSpan.end);v=new Th(f.itemName,f.expression,f.trackBy.expression,f.trackBy.keywordSpan,f.context,Ft(a,l.children,l.children),M,O,l.sourceSpan,l.startSourceSpan,L,l.nameSpan,l.i18n)}return{node:v,errors:p}}function xr(l,i,a){const u=function cT(l){const i=[];let a=!1;if(1!==l.parameters.length)return i.push(new Mt(l.startSourceSpan,"@switch block must have exactly one parameter")),i;for(const u of l.children)if(!(u instanceof Jh||u instanceof Xh&&0===u.value.trim().length)){if(!(u instanceof Wr)||"case"!==u.name&&"default"!==u.name){i.push(new Mt(u.sourceSpan,"@switch block can only contain @case and @default blocks"));continue}"default"===u.name?(a?i.push(new Mt(u.startSourceSpan,"@switch block can only have one @default block")):u.parameters.length>0&&i.push(new Mt(u.startSourceSpan,"@default block cannot have parameters")),a=!0):"case"===u.name&&1!==u.parameters.length&&i.push(new Mt(u.startSourceSpan,"@case block must have exactly one parameter"))}return i}(l),p=l.parameters.length>0?Ad(l.parameters[0],a):a.parseBinding("",!1,l.sourceSpan,0),f=[],v=[];let M=null;for(const L of l.children){if(!(L instanceof Wr))continue;if(("case"!==L.name||0===L.parameters.length)&&"default"!==L.name){v.push(new Gi(L.name,L.sourceSpan,L.nameSpan));continue}const O="case"===L.name?Ad(L.parameters[0],a):null,V=new Kf(O,Ft(i,L.children,L.children),L.sourceSpan,L.startSourceSpan,L.endSourceSpan,L.nameSpan,L.i18n);null===O?M=V:f.push(V)}return null!==M&&f.push(M),{node:new Vl(p,f,v,l.sourceSpan,l.startSourceSpan,l.endSourceSpan,l.nameSpan),errors:u}}function PO(l,i,a,u,p,f){const v=i.split(",");let M=a.start;for(const L of v){const O=L.split("="),V=2===O.length?O[0].trim():"",Z=2===O.length?O[1].trim():"";if(0===V.length||0===Z.length)f.push(new Mt(l,'Invalid @for loop "let" parameter. Parameter should match the pattern " = "'));else if(Xm.has(Z))if(V===u)f.push(new Mt(l,`Invalid @for loop "let" parameter. Variable cannot be called "${u}"`));else if(p.some(he=>he.name===V))f.push(new Mt(l,`Duplicate "let" parameter variable "${Z}"`));else{const[,he,ke]=O[0].match(rT)??[],Be=void 0!==he&&2===O.length?new Xt(M.moveBy(he.length),M.moveBy(he.length+ke.length)):a;let et;if(2===O.length){const[,pt,yn]=O[1].match(rT)??[];et=void 0!==pt?new Xt(M.moveBy(O[0].length+1+pt.length),M.moveBy(O[0].length+1+pt.length+yn.length)):void 0}const ct=new Xt(Be.start,et?.end??Be.end);p.push(new Ki(V,Z,ct,Be,et))}else f.push(new Mt(l,`Unknown "let" parameter variable "${Z}". The allowed variables are: ${Array.from(Xm).join(", ")}`));M=M.moveBy(L.length+1)}}function Ad(l,i,a){let u,p;return"string"==typeof a?(u=Math.max(0,l.expression.lastIndexOf(a)),p=u+a.length):(u=0,p=l.expression.length),i.parseBinding(l.expression.slice(u,p),!1,l.sourceSpan,l.sourceSpan.start.offset+u)}function AD(l,i,a){if(0===l.parameters.length)return i.push(new Mt(l.startSourceSpan,"Conditional block does not have an expression")),null;const u=Ad(l.parameters[0],a);let p=null;for(let f=1;f0&&this.index0)throw new Error(`"${kr.IDLE}" trigger cannot have parameters`);return new So(i,a,u,p)}(a,p,O,L,M));break;case kr.TIMER:this.trackTrigger("timer",function OD(l,i,a,u,p){if(1!==l.length)throw new Error(`"${kr.TIMER}" trigger must have exactly one parameter`);const f=Dp(l[0]);if(null===f)throw new Error(`Could not parse time value of trigger "${kr.TIMER}"`);return new xw(f,i,a,u,p)}(a,p,O,this.prefetchSpan,this.onSourceSpan));break;case kr.INTERACTION:this.trackTrigger("interaction",function NO(l,i,a,u,p,f){return FD(kr.INTERACTION,l,f),new j_(l[0]??null,i,a,u,p)}(a,p,O,this.prefetchSpan,this.onSourceSpan,this.placeholder));break;case kr.IMMEDIATE:this.trackTrigger("immediate",function ND(l,i,a,u,p){if(l.length>0)throw new Error(`"${kr.IMMEDIATE}" trigger cannot have parameters`);return new Ew(i,a,u,p)}(a,p,O,this.prefetchSpan,this.onSourceSpan));break;case kr.HOVER:this.trackTrigger("hover",function OO(l,i,a,u,p,f){return FD(kr.HOVER,l,f),new Wf(l[0]??null,i,a,u,p)}(a,p,O,this.prefetchSpan,this.onSourceSpan,this.placeholder));break;case kr.VIEWPORT:this.trackTrigger("viewport",function FO(l,i,a,u,p,f){return FD(kr.VIEWPORT,l,f),new V_(l[0]??null,i,a,u,p)}(a,p,O,this.prefetchSpan,this.onSourceSpan,this.placeholder));break;default:throw new Error(`Unrecognized trigger type "${i}"`)}}catch(V){this.error(i,V.message)}}consumeParameters(){const i=[];if(!this.token().isCharacter(40))return this.unexpectedToken(this.token()),i;this.advance();const a=[];let u="";for(;this.index0&&p.isCharacter(a[a.length-1])&&a.pop(),0===a.length&&p.isCharacter(44)&&u.length>0)?(i.push(u),u="",this.advance()):(u+=this.tokenText(),this.advance())}return(!this.token().isCharacter(41)||a.length>0)&&this.error(this.token(),"Unexpected end of expression"),this.index1)throw new Error(`"${l}" trigger can only have zero or one parameters`);if(0===i.length){if(null===a)throw new Error(`"${l}" trigger with no parameters can only be placed on an @defer that has a @placeholder block`);if(1!==a.children.length||!(a.children[0]instanceof Jr))throw new Error(`"${l}" trigger with no parameters can only be placed on an @defer that has a @placeholder block with exactly one root element node`)}}function Sp(l,i=0){let a=!1;for(let u=i;u0){const Be=i[i.length-1];V=Be.endSourceSpan,Z=Be.sourceSpan.end}const he=new Xt(l.sourceSpan.start,Z);return{node:new zu(Ft(a,l.children,l.children),L,O,f,v,M,l.nameSpan,he,l.sourceSpan,l.startSourceSpan,V,l.i18n),errors:p}}function vT(l,i){let a=null;for(const u of l.parameters){if(!BD.test(u.expression))throw new Error(`Unrecognized parameter in @placeholder block: "${u.expression}"`);{if(null!=a)throw new Error('@placeholder block can only have one "minimum" parameter');const p=Dp(u.expression.slice(Sp(u.expression)));if(null===p)throw new Error('Could not parse time value of parameter "minimum"');a=p}}return new jl(Ft(i,l.children,l.children),a,l.nameSpan,l.sourceSpan,l.startSourceSpan,l.endSourceSpan,l.i18n)}function Tr(l,i){let a=null,u=null;for(const p of l.parameters)if(gT.test(p.expression)){if(null!=a)throw new Error('@loading block can only have one "after" parameter');const f=Dp(p.expression.slice(Sp(p.expression)));if(null===f)throw new Error('Could not parse time value of parameter "after"');a=f}else{if(!BD.test(p.expression))throw new Error(`Unrecognized parameter in @loading block: "${p.expression}"`);{if(null!=u)throw new Error('@loading block can only have one "minimum" parameter');const f=Dp(p.expression.slice(Sp(p.expression)));if(null===f)throw new Error('Could not parse time value of parameter "minimum"');u=f}}return new qf(Ft(i,l.children,l.children),a,u,l.nameSpan,l.sourceSpan,l.startSourceSpan,l.endSourceSpan,l.i18n)}function tv(l,i){if(l.parameters.length>0)throw new Error("@error block cannot have parameters");return new Gf(Ft(i,l.children,l.children),l.nameSpan,l.sourceSpan,l.startSourceSpan,l.endSourceSpan,l.i18n)}const LV=/^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/,lc_BANANA_BOX={start:"[(",end:")]"},lc_PROPERTY={start:"[",end:"]"},lc_EVENT={start:"(",end:")"};class BO{constructor(i,a){this.bindingParser=i,this.options=a,this.errors=[],this.styles=[],this.styleUrls=[],this.ngContentSelectors=[],this.commentNodes=[],this.inI18nBlock=!1,this.processedNodes=new Set}visitElement(i){const a=qy(i.i18n);a&&(this.inI18nBlock&&this.reportError("Cannot mark an element as translatable inside of a translatable section. Please remove the nested i18n marker.",i.sourceSpan),this.inI18nBlock=!0);const u=wp(i);if(u.type===To.SCRIPT)return null;if(u.type===To.STYLE){const ct=function OV(l){return 1===l.children.length&&l.children[0]instanceof Xh?l.children[0].value:null}(i);return null!==ct&&this.styles.push(ct),null}if(u.type===To.STYLESHEET&&function xD(l){if(null==l||0===l.length||"/"==l[0])return!1;const i=l.match(kD);return null===i||"package"==i[1]||"asset"==i[1]}(u.hrefAttr))return this.styleUrls.push(u.hrefAttr),null;const p=function Qo(l){return"ng-template"===li(l)[1]}(i.name),f=[],v=[],M=[],L=[],O=[],V={},Z=[],he=[];let Be,et,ke=!1;for(const ct of i.attrs){let pt=!1;const yn=zD(ct.name);let tr=!1;if(ct.i18n&&(V[ct.name]=ct.i18n),yn.startsWith("*")){ke&&this.reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",ct.sourceSpan),tr=!0,ke=!0;const ua=ct.value,Wn=yn.substring(1),hg=[],CN=ct.valueSpan?ct.valueSpan.start.offset:ct.sourceSpan.start.offset+ct.name.length;this.bindingParser.parseInlineTemplateBinding(Wn,ua,ct.sourceSpan,CN,[],Z,hg,!0),he.push(...hg.map(pg=>new Ki(pg.name,pg.value,pg.sourceSpan,pg.keySpan,pg.valueSpan)))}else pt=this.parseAttribute(p,ct,[],f,v,M,L);!pt&&!tr&&O.push(this.visitAttribute(ct))}if(Be=u.nonBindable?Ft(RV,i.children).flat(1/0):Ft(this,i.children,i.children),u.type===To.NG_CONTENT){const ct=u.selectAttr,pt=i.attrs.map(yn=>this.visitAttribute(yn));et=new Es(ct,pt,Be,i.sourceSpan,i.i18n),this.ngContentSelectors.push(ct)}else if(p){const ct=this.extractAttributes(i.name,f,V);et=new jn(i.name,O,ct.bound,v,[],Be,L,M,i.sourceSpan,i.startSourceSpan,i.endSourceSpan,i.i18n)}else{const ct=this.extractAttributes(i.name,f,V);et=new Jr(i.name,O,ct.bound,v,Be,L,i.sourceSpan,i.startSourceSpan,i.endSourceSpan,i.i18n)}if(ke){const ct=this.extractAttributes("ng-template",Z,V),pt=[];ct.literal.forEach(Wn=>pt.push(Wn)),ct.bound.forEach(Wn=>pt.push(Wn));const yn=et instanceof Jr?{attributes:et.attributes,inputs:et.inputs,outputs:et.outputs}:{attributes:[],inputs:[],outputs:[]},tr=p&&a?void 0:i.i18n,ua=et instanceof jn?null:et.name;et=new jn(ua,yn.attributes,yn.inputs,yn.outputs,pt,[et],[],he,i.sourceSpan,i.startSourceSpan,i.endSourceSpan,tr)}return a&&(this.inI18nBlock=!1),et}visitAttribute(i){return new $u(i.name,i.value,i.sourceSpan,i.keySpan,i.valueSpan,i.i18n)}visitText(i){return this.processedNodes.has(i)?null:this._visitTextWithInterpolation(i.value,i.sourceSpan,i.tokens,i.i18n)}visitExpansion(i){if(!i.i18n)return null;if(!qy(i.i18n))throw new Error(`Invalid type "${i.i18n.constructor}" for "i18n" property of ${i.sourceSpan.toString()}. Expected a "Message"`);const a=i.i18n,u={},p={};return Object.keys(a.placeholders).forEach(f=>{const v=a.placeholders[f];if(f.startsWith("VAR_")){const M=f.trim(),L=this.bindingParser.parseInterpolationExpression(v.text,v.sourceSpan);u[M]=new Qa(L,v.sourceSpan)}else p[f]=this._visitTextWithInterpolation(v.text,v.sourceSpan,null)}),new Xa(u,p,i.sourceSpan,a)}visitExpansionCase(i){return null}visitComment(i){return this.options.collectCommentNodes&&this.commentNodes.push(new Uu(i.value||"",i.sourceSpan)),null}visitLetDeclaration(i,a){const u=this.bindingParser.parseBinding(i.value,!1,i.valueSpan,i.valueSpan.start.offset);return 0===u.errors.length&&u.ast instanceof Zs&&this.reportError("@let declaration value cannot be empty",i.valueSpan),new rn(i.name,u,i.sourceSpan,i.nameSpan,i.valueSpan)}visitBlockParameter(){return null}visitBlock(i,a){const u=Array.isArray(a)?a.indexOf(i):-1;if(-1===u)throw new Error("Visitor invoked incorrectly. Expecting visitBlock to be invoked siblings array as its context");if(this.processedNodes.has(i))return null;let p=null;switch(i.name){case"defer":p=VD(i,this.findConnectedBlocks(u,a,jD),this,this.bindingParser);break;case"switch":p=xr(i,this,this.bindingParser);break;case"for":p=AO(i,this.findConnectedBlocks(u,a,oT),this,this.bindingParser);break;case"if":p=IO(i,this.findConnectedBlocks(u,a,aT),this,this.bindingParser);break;default:let f;jD(i.name)?(f=`@${i.name} block can only be used after an @defer block.`,this.processedNodes.add(i)):oT(i.name)?(f=`@${i.name} block can only be used after an @for block.`,this.processedNodes.add(i)):aT(i.name)?(f=`@${i.name} block can only be used after an @if or @else if block.`,this.processedNodes.add(i)):f=`Unrecognized block @${i.name}.`,p={node:new Gi(i.name,i.sourceSpan,i.nameSpan),errors:[new Mt(i.sourceSpan,f)]}}return this.errors.push(...p.errors),p.node}findConnectedBlocks(i,a,u){const p=[];for(let f=i+1;f{const M=u[v.name];if(v.isLiteral)f.push(new $u(v.name,v.expression.source||"",v.sourceSpan,v.keySpan,v.valueSpan,M));else{const L=this.bindingParser.createBoundElementProperty(i,v,!0,!1);p.push(kh.fromBoundElementProperty(L,M))}}),{bound:p,literal:f}}parseAttribute(i,a,u,p,f,v,M){const L=zD(a.name),O=a.value,V=a.sourceSpan,Z=a.valueSpan?a.valueSpan.start.offset:V.start.offset;function he(pt,yn,tr){const ua=a.name.length-L.length,Wn=pt.start.moveBy(yn.length+ua),hg=Wn.moveBy(tr.length);return new Xt(Wn,hg,Wn,tr)}const ke=L.match(LV);if(ke){if(null!=ke[1]){const pt=ke[7],yn=he(V,ke[1],pt);this.bindingParser.parsePropertyBinding(pt,O,!1,!1,V,Z,a.valueSpan,u,p,yn)}else if(ke[2])if(i){const pt=ke[7],yn=he(V,ke[2],pt);this.parseVariable(pt,O,V,yn,a.valueSpan,v)}else this.reportError('"let-" is only supported on ng-template elements.',V);else if(ke[3]){const pt=ke[7],yn=he(V,ke[3],pt);this.parseReference(pt,O,V,yn,a.valueSpan,M)}else if(ke[4]){const pt=[],yn=ke[7],tr=he(V,ke[4],yn);this.bindingParser.parseEvent(yn,O,!1,V,a.valueSpan||V,u,pt,tr),WD(pt,f)}else if(ke[5]){const pt=ke[7],yn=he(V,ke[5],pt);this.bindingParser.parsePropertyBinding(pt,O,!1,!0,V,Z,a.valueSpan,u,p,yn),this.parseAssignmentEvent(pt,O,V,a.valueSpan,u,f,yn)}else if(ke[6]){const pt=he(V,"",L);this.bindingParser.parseLiteralAttr(L,O,V,Z,a.valueSpan,u,p,pt)}return!0}let Be=null;if(L.startsWith(lc_BANANA_BOX.start)?Be=lc_BANANA_BOX:L.startsWith(lc_PROPERTY.start)?Be=lc_PROPERTY:L.startsWith(lc_EVENT.start)&&(Be=lc_EVENT),null!==Be&&L.endsWith(Be.end)&&L.length>Be.start.length+Be.end.length){const pt=L.substring(Be.start.length,L.length-Be.end.length),yn=he(V,Be.start,pt);if(Be.start===lc_BANANA_BOX.start)this.bindingParser.parsePropertyBinding(pt,O,!1,!0,V,Z,a.valueSpan,u,p,yn),this.parseAssignmentEvent(pt,O,V,a.valueSpan,u,f,yn);else if(Be.start===lc_PROPERTY.start)this.bindingParser.parsePropertyBinding(pt,O,!1,!1,V,Z,a.valueSpan,u,p,yn);else{const tr=[];this.bindingParser.parseEvent(pt,O,!1,V,a.valueSpan||V,u,tr,yn),WD(tr,f)}return!0}const et=he(V,"",L);return this.bindingParser.parsePropertyInterpolation(L,O,V,a.valueSpan,u,p,et,a.valueTokens??null)}_visitTextWithInterpolation(i,a,u,p){const f=Lx(i),v=this.bindingParser.parseInterpolation(f,a,u);return v?new Qa(v,a,p):new Da(f,a)}parseVariable(i,a,u,p,f,v){i.indexOf("-")>-1?this.reportError('"-" is not allowed in variable names',u):0===i.length&&this.reportError("Variable does not have a name",u),v.push(new Ki(i,a,u,p,f))}parseReference(i,a,u,p,f,v){i.indexOf("-")>-1?this.reportError('"-" is not allowed in reference names',u):0===i.length?this.reportError("Reference does not have a name",u):v.some(M=>M.name===i)&&this.reportError(`Reference "#${i}" is defined more than once`,u),v.push(new Ci(i,a,u,p,f))}parseAssignmentEvent(i,a,u,p,f,v,M){const L=[];this.bindingParser.parseEvent(`${i}Change`,a,!0,u,p||u,f,L,M),WD(L,v)}reportError(i,a,u=Xl.ERROR){this.errors.push(new Mt(a,i,u))}}const RV=new class PV{visitElement(i){const a=wp(i);if(a.type===To.SCRIPT||a.type===To.STYLE||a.type===To.STYLESHEET)return null;const u=Ft(this,i.children,null);return new Jr(i.name,Ft(this,i.attrs),[],[],u,[],i.sourceSpan,i.startSourceSpan,i.endSourceSpan)}visitComment(i){return null}visitAttribute(i){return new $u(i.name,i.value,i.sourceSpan,i.keySpan,i.valueSpan,i.i18n)}visitText(i){return new Da(i.value,i.sourceSpan)}visitExpansion(i){return null}visitExpansionCase(i){return null}visitBlock(i,a){const u=[new Da(i.startSourceSpan.toString(),i.startSourceSpan),...Ft(this,i.children)];return null!==i.endSourceSpan&&u.push(new Da(i.endSourceSpan.toString(),i.endSourceSpan)),u}visitBlockParameter(i,a){return null}visitLetDeclaration(i,a){return new Da(`@let ${i.name} = ${i.value};`,i.sourceSpan)}};function zD(l){return/^data-/i.test(l)?l.substring(5):l}function WD(l,i){i.push(...l.map(a=>zf.fromParsedEvent(a)))}const NV=[" ","\n","\r","\t"];function qD(l,i,a={}){const{interpolationConfig:u,preserveWhitespaces:p,enableI18nLegacyMessageIdFormat:f,allowInvalidAssignmentEvents:v}=a,M=Zm(u,v),O=(new MD).parse(l,i,{leadingTriviaChars:NV,...a,tokenizeExpansionForms:!0,tokenizeBlocks:a.enableBlockSyntax??!0,tokenizeLet:a.enableLetSyntax??!0});if(!a.alwaysAttemptHtmlToR3AstConversion&&O.errors&&O.errors.length>0){const Wn={interpolationConfig:u,preserveWhitespaces:p,errors:O.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return a.collectCommentNodes&&(Wn.commentNodes=[]),Wn}let V=O.rootNodes;const Z=!(a.preserveSignificantWhitespace??1),he=new Nm(u,!p,f,void 0,a.preserveSignificantWhitespace,Z),ke=he.visitAllWithErrors(V);if(!a.alwaysAttemptHtmlToR3AstConversion&&ke.errors&&ke.errors.length>0){const Wn={interpolationConfig:u,preserveWhitespaces:p,errors:ke.errors,nodes:[],styleUrls:[],styles:[],ngContentSelectors:[]};return a.collectCommentNodes&&(Wn.commentNodes=[]),Wn}V=ke.rootNodes,p||(V=Ft(new Cy(!0,void 0,!1),V),he.hasI18nMeta&&(V=Ft(new Nm(u,!1,void 0,void 0,!0,Z),V)));const{nodes:Be,errors:et,styleUrls:ct,styles:pt,ngContentSelectors:yn,commentNodes:tr}=function ST(l,i,a){const u=new BO(i,a),v={nodes:Ft(u,l,l),errors:i.errors.concat(u.errors),styleUrls:u.styleUrls,styles:u.styles,ngContentSelectors:u.ngContentSelectors};return a.collectCommentNodes&&(v.commentNodes=u.commentNodes),v}(V,M,{collectCommentNodes:!!a.collectCommentNodes});et.push(...O.errors,...ke.errors);const ua={interpolationConfig:u,preserveWhitespaces:p,errors:et.length>0?et:null,nodes:Be,styleUrls:ct,styles:pt,ngContentSelectors:yn};return a.collectCommentNodes&&(ua.commentNodes=tr),ua}const DT=new Ey;function Zm(l=Bi,i=!1){return new MO(new YS(new vd),l,DT,[],i)}const jO="_nghost-%COMP%",GD="_ngcontent-%COMP%";function Jm(l,i,a){const u=new Fn,p=Fe(l.selector);return u.set("type",l.type.value),p.length>0&&u.set("selectors",Je(p)),l.queries.length>0&&u.set("contentQueries",function IV(l,i,a){const u=[],p=[],f=_s(M=>p.push(M),Ve);for(const M of l){if(u.push(Xk(M,i,{nonSignal:te.contentQuery,signalBased:te.contentQuerySignal},[Ct("dirIndex")]).toStmt()),M.isSignal){p.push(ac);continue}const L=f(),O=je(te.loadQuery).callFn([]),V=je(te.queryRefresh).callFn([L.set(O)]),Z=Ct($l).prop(M.propertyName).set(M.first?L.prop("first"):L);p.push(V.and(Z).toStmt())}const v=a?`${a}_ContentQueries`:null;return Ho([new Tt(Uc,an),new Tt($l,null),new Tt("dirIndex",null)],[Qy(1,u),Qy(2,Td(p))],Bt,null,v)}(l.queries,i,l.name)),l.viewQueries.length&&u.set("viewQuery",function Gm(l,i,a){const u=[],p=[],f=_s(M=>p.push(M),Ve);l.forEach(M=>{const L=Xk(M,i,{signalBased:te.viewQuerySignal,nonSignal:te.viewQuery});if(u.push(L.toStmt()),M.isSignal)return void p.push(ac);const O=f(),V=je(te.loadQuery).callFn([]),Z=je(te.queryRefresh).callFn([O.set(V)]),he=Ct($l).prop(M.propertyName).set(M.first?O.prop("first"):O);p.push(Z.and(he).toStmt())});const v=a?`${a}_Query`:null;return Ho([new Tt(Uc,an),new Tt($l,null)],[Qy(1,u),Qy(2,Td(p))],Bt,null,v)}(l.viewQueries,i,l.name)),u.set("hostBindings",function FV(l,i,a,u,p,f,v){const M=a.createBoundHostProperties(l.properties,i),L=a.createDirectiveHostEventAsts(l.listeners,i);l.specialAttributes.styleAttr&&(l.attributes.style=ne(l.specialAttributes.styleAttr)),l.specialAttributes.classAttr&&(l.attributes.class=ne(l.specialAttributes.classAttr));const O=function Vk(l,i,a){const u=new zh(l.componentName,a,zm);for(const p of l.properties??[]){let f=ot.Property;p.name.startsWith("attr.")&&(p.name=p.name.substring(5),f=ot.Attribute),p.isAnimation&&(f=ot.Animation),hO(u,p,f,i.calcPossibleSecurityContexts(l.componentSelector,p.name,f===ot.Attribute).filter(M=>M!==J.NONE))}for(const[p,f]of Object.entries(l.attributes)??[])Hk(u,p,f,i.calcPossibleSecurityContexts(l.componentSelector,p,!0).filter(M=>M!==J.NONE));for(const p of l.events??[])Uk(u,p);return u}({componentName:f,componentSelector:p,properties:M,events:L,attributes:l.attributes},a,u);zy(O,Ge.Host),v.set("hostAttrs",O.root.attributes);const V=O.root.vars;return null!==V&&V>0&&v.set("hostVars",ne(V)),function $m(l){if(null===l.root.fnName)throw new Error("AssertionError: host binding function is unnamed");const i=[];for(const f of l.root.create){if(f.kind!==B.Statement)throw new Error(`AssertionError: expected all create ops to have been compiled, but got ${B[f.kind]}`);i.push(f.statement)}const a=[];for(const f of l.root.update){if(f.kind!==B.Statement)throw new Error(`AssertionError: expected all update ops to have been compiled, but got ${B[f.kind]}`);a.push(f.statement)}if(0===i.length&&0===a.length)return null;const u=Wy(1,i),p=Wy(2,a);return Ho([new Tt("rf"),new Tt("ctx")],[...u,...p],void 0,void 0,l.root.fnName)}(O)}(l.host,l.typeSourceSpan,a,i,l.selector||"",l.name,u)),u.set("inputs",js(l.inputs,!0)),u.set("outputs",js(l.outputs)),null!==l.exportAs&&u.set("exportAs",qt(l.exportAs.map(f=>ne(f)))),l.isStandalone&&u.set("standalone",ne(!0)),l.isSignal&&u.set("signals",ne(!0)),u}function KD(l,i){const a=[],u=i.providers,p=i.viewProviders,f=Object.keys(i.inputs);if(u||p){const v=[u||new Ls([])];p&&v.push(p),a.push(je(te.ProvidersFeature).callFn(v))}for(const v of f)if(null!==i.inputs[v].transformFunction){a.push(je(te.InputTransformsFeatureFeature));break}i.hostDirectives?.length&&a.push(je(te.HostDirectivesFeature).callFn([kT(i.hostDirectives)])),i.usesInheritance&&a.push(je(te.InheritDefinitionFeature)),i.fullInheritance&&a.push(je(te.CopyDefinitionFeature)),i.lifecycle.usesOnChanges&&a.push(je(te.NgOnChangesFeature)),i.hasOwnProperty("template")&&i.isStandalone&&a.push(je(te.StandaloneFeature)),a.length&&l.set("features",qt(a))}function VO(l,i,a){const u=Jm(l,i,a);KD(u,l);const p=l.selector&&y.parse(l.selector),f=p&&p[0];if(f){const he=f.getAttrs();he.length&&u.set("attrs",i.getConstLiteral(qt(he.map(ke=>ne(null!=ke?ke:void 0))),!0))}const v=l.name;let M=null;if(1===l.defer.mode&&null!==l.defer.dependenciesFn){const he=`${v}_DeferFn`;i.statements.push(new Fi(he,l.defer.dependenciesFn,void 0,mt.Final)),M=Ct(he)}const L=function dO(l,i,a,u,p,f,v){const M=new pn(l,a,zm,u,p,f,v);return dl(M.root,i),M}(l.name,l.template.nodes,i,l.relativeContextFilePath,l.i18nUseExternalIds,l.defer,M);zy(L,Ge.Tmpl);const O=Um(L,i);if(null!==L.contentSelectors&&u.set("ngContentSelectors",L.contentSelectors),u.set("decls",ne(L.root.decls)),u.set("vars",ne(L.root.vars)),L.consts.length>0&&(L.constsInitializers.length>0?u.set("consts",It([],[...L.constsInitializers,new ri(qt(L.consts))])):u.set("consts",qt(L.consts))),u.set("template",O),3!==l.declarationListEmitMode&&l.declarations.length>0)u.set("dependencies",function HO(l,i){switch(i){case 0:return l;case 1:return It([],l);case 2:return It([],l.prop("map").callFn([je(te.resolveForwardRef)]));case 3:throw new Error("Unsupported with an array of pre-resolved dependencies")}}(qt(l.declarations.map(he=>he.type)),l.declarationListEmitMode));else if(3===l.declarationListEmitMode){const he=[l.type.value];l.rawImports&&he.push(l.rawImports),u.set("dependencies",je(te.getComponentDepsFactory).callFn(he))}if(null===l.encapsulation&&(l.encapsulation=R.Emulated),l.styles&&l.styles.length){const ke=(l.encapsulation==R.Emulated?function sv(l,i,a){const u=new Vw;return l.map(p=>u.shimCssText(p,i,a))}(l.styles,GD,jO):l.styles).reduce((Be,et)=>(et.trim().length>0&&Be.push(i.getConstLiteral(ne(et))),Be),[]);ke.length>0&&u.set("styles",qt(ke))}else l.encapsulation===R.Emulated&&(l.encapsulation=R.None);l.encapsulation!==R.Emulated&&u.set("encapsulation",ne(l.encapsulation)),null!==l.animations&&u.set("data",mn([{key:"animation",value:l.animations,quoted:!1}])),null!==l.changeDetection&&("number"==typeof l.changeDetection&&l.changeDetection!==N.Default?u.set("changeDetection",ne(l.changeDetection)):"object"==typeof l.changeDetection&&u.set("changeDetection",l.changeDetection));return{expression:je(te.defineComponent).callFn([u.toLiteralMap()],void 0,!0),type:qe(l),statements:[]}}function qe(l){const i=UO(l);return i.push(QD(l.template.ngContentSelectors)),i.push(Ai(ne(l.isStandalone))),i.push(xT(l)),l.isSignal&&i.push(Ai(ne(l.isSignal))),Ai(je(te.ComponentDeclaration,i))}function Ep(l){return Ai(ne(l))}function Pd(l){return mn(Object.keys(l).map(a=>({key:a,value:ne(Array.isArray(l[a])?l[a][0]:l[a]),quoted:!0})))}function QD(l){return l.length>0?Ai(qt(l.map(i=>ne(i)))):Dt}function UO(l){const i=null!==l.selector?l.selector.replace(/\n/g,""):null;return[Fc(l.type.type,l.typeArgumentCount),null!==i?Ep(i):Dt,null!==l.exportAs?QD(l.exportAs):Dt,Ai(MT(l)),Ai(Pd(l.outputs)),QD(l.queries.map(a=>a.propertyName))]}function MT(l){return mn(Object.keys(l.inputs).map(i=>{const a=l.inputs[i],u=[{key:"alias",value:ne(a.bindingPropertyName),quoted:!0},{key:"required",value:ne(a.required),quoted:!0}];return a.isSignal&&u.push({key:"isSignal",value:ne(a.isSignal),quoted:!0}),{key:i,value:mn(u),quoted:!0}}))}function ET(l){const i=UO(l);return i.push(Dt),i.push(Ai(ne(l.isStandalone))),i.push(xT(l)),l.isSignal&&i.push(Ai(ne(l.isSignal))),Ai(je(te.DirectiveDeclaration,i))}const $O=/^(?:\[([^\]]+)\])|(?:\(([^\)]+)\))$/;function xT(l){return l.hostDirectives?.length?Ai(qt(l.hostDirectives.map(i=>mn([{key:"directive",value:wn(i.directive.type),quoted:!1},{key:"inputs",value:Pd(i.inputs||{}),quoted:!1},{key:"outputs",value:Pd(i.outputs||{}),quoted:!1}])))):Dt}function kT(l){const i=[];let a=!1;for(const u of l){if(u.inputs||u.outputs){const p=[{key:"directive",value:u.directive.type,quoted:!1}];if(u.inputs){const f=XD(u.inputs);f&&p.push({key:"inputs",value:f,quoted:!1})}if(u.outputs){const f=XD(u.outputs);f&&p.push({key:"outputs",value:f,quoted:!1})}i.push(mn(p))}else i.push(u.directive.type);u.isForwardReference&&(a=!0)}return a?new or([],[new ri(qt(i))]):qt(i)}function XD(l){const i=[];for(const a in l)l.hasOwnProperty(a)&&i.push(ne(a),ne(l[a]));return i.length>0?qt(i):null}class ZD{constructor(i){this.directiveMatcher=i}bind(i){if(!i.template)throw new Error("Binding without a template not yet supported");const a=Tn.apply(i.template),u=function QO(l){const i=new Map;function a(f){if(i.has(f.rootNode))return i.get(f.rootNode);const v=f.namedEntities;let M;return M=null!==f.parentScope?new Map([...a(f.parentScope),...v]):new Map(v),i.set(f.rootNode,M),M}const u=[l];for(;u.length>0;){const f=u.pop();for(const v of f.childScopes.values())u.push(v);a(f)}const p=new Map;for(const[f,v]of i)p.set(f,new Set(v.values()));return p}(a),{directives:p,eagerDirectives:f,bindings:v,references:M}=JD.apply(i.template,this.directiveMatcher),{expressions:L,symbols:O,nestingLevel:V,usedPipes:Z,eagerPipes:he,deferBlocks:ke}=iv.applyWithScope(i.template,a);return new rv(i,p,f,v,M,L,O,V,u,Z,he,ke)}}class Tn{constructor(i,a){this.parentScope=i,this.rootNode=a,this.namedEntities=new Map,this.elementsInScope=new Set,this.childScopes=new Map,this.isDeferred=!(null===i||!i.isDeferred)||a instanceof zu}static newRootScope(){return new Tn(null,null)}static apply(i){const a=Tn.newRootScope();return a.ingest(i),a}ingest(i){i instanceof jn?(i.variables.forEach(a=>this.visitVariable(a)),i.children.forEach(a=>a.visit(this))):i instanceof Ze?(null!==i.expressionAlias&&this.visitVariable(i.expressionAlias),i.children.forEach(a=>a.visit(this))):i instanceof Th?(this.visitVariable(i.item),i.contextVariables.forEach(a=>this.visitVariable(a)),i.children.forEach(a=>a.visit(this))):i instanceof Kf||i instanceof Qn||i instanceof zu||i instanceof Gf||i instanceof jl||i instanceof qf||i instanceof Es?i.children.forEach(a=>a.visit(this)):i.forEach(a=>a.visit(this))}visitElement(i){i.references.forEach(a=>this.visitReference(a)),i.children.forEach(a=>a.visit(this)),this.elementsInScope.add(i)}visitTemplate(i){i.references.forEach(a=>this.visitReference(a)),this.ingestScopedNode(i)}visitVariable(i){this.maybeDeclare(i)}visitReference(i){this.maybeDeclare(i)}visitDeferredBlock(i){this.ingestScopedNode(i),i.placeholder?.visit(this),i.loading?.visit(this),i.error?.visit(this)}visitDeferredBlockPlaceholder(i){this.ingestScopedNode(i)}visitDeferredBlockError(i){this.ingestScopedNode(i)}visitDeferredBlockLoading(i){this.ingestScopedNode(i)}visitSwitchBlock(i){i.cases.forEach(a=>a.visit(this))}visitSwitchBlockCase(i){this.ingestScopedNode(i)}visitForLoopBlock(i){this.ingestScopedNode(i),i.empty?.visit(this)}visitForLoopBlockEmpty(i){this.ingestScopedNode(i)}visitIfBlock(i){i.branches.forEach(a=>a.visit(this))}visitIfBlockBranch(i){this.ingestScopedNode(i)}visitContent(i){this.ingestScopedNode(i)}visitLetDeclaration(i){this.maybeDeclare(i)}visitBoundAttribute(i){}visitBoundEvent(i){}visitBoundText(i){}visitText(i){}visitTextAttribute(i){}visitIcu(i){}visitDeferredTrigger(i){}visitUnknownBlock(i){}maybeDeclare(i){this.namedEntities.has(i.name)||this.namedEntities.set(i.name,i)}lookup(i){return this.namedEntities.has(i)?this.namedEntities.get(i):null!==this.parentScope?this.parentScope.lookup(i):null}getChildScope(i){const a=this.childScopes.get(i);if(void 0===a)throw new Error(`Assertion error: child scope for ${i} not found`);return a}ingestScopedNode(i){const a=new Tn(this,i);a.ingest(i),this.childScopes.set(i,a)}}class JD{constructor(i,a,u,p,f){this.matcher=i,this.directives=a,this.eagerDirectives=u,this.bindings=p,this.references=f,this.isInDeferBlock=!1}static apply(i,a){const u=new Map,p=new Map,f=new Map,v=[];return new JD(a,u,v,p,f).ingest(i),{directives:u,eagerDirectives:v,bindings:p,references:f}}ingest(i){i.forEach(a=>a.visit(this))}visitElement(i){this.visitElementOrTemplate(i)}visitTemplate(i){this.visitElementOrTemplate(i)}visitElementOrTemplate(i){const a=Yi(i),u=[];this.matcher.match(a,(f,v)=>u.push(...v)),u.length>0&&(this.directives.set(i,u),this.isInDeferBlock||this.eagerDirectives.push(...u)),i.references.forEach(f=>{let v=null;if(""===f.value.trim())v=u.find(M=>M.isComponent)||null;else if(v=u.find(M=>null!==M.exportAs&&M.exportAs.some(L=>L===f.value))||null,null===v)return;null!==v?this.references.set(f,{directive:v,node:i}):this.references.set(f,i)});const p=(f,v)=>{const M=u.find(O=>O[v].hasBindingPropertyName(f.name)),L=void 0!==M?M:i;this.bindings.set(f,L)};i.inputs.forEach(f=>p(f,"inputs")),i.attributes.forEach(f=>p(f,"inputs")),i instanceof jn&&i.templateAttrs.forEach(f=>p(f,"inputs")),i.outputs.forEach(f=>p(f,"outputs")),i.children.forEach(f=>f.visit(this))}visitDeferredBlock(i){const a=this.isInDeferBlock;this.isInDeferBlock=!0,i.children.forEach(u=>u.visit(this)),this.isInDeferBlock=a,i.placeholder?.visit(this),i.loading?.visit(this),i.error?.visit(this)}visitDeferredBlockPlaceholder(i){i.children.forEach(a=>a.visit(this))}visitDeferredBlockError(i){i.children.forEach(a=>a.visit(this))}visitDeferredBlockLoading(i){i.children.forEach(a=>a.visit(this))}visitSwitchBlock(i){i.cases.forEach(a=>a.visit(this))}visitSwitchBlockCase(i){i.children.forEach(a=>a.visit(this))}visitForLoopBlock(i){i.item.visit(this),i.contextVariables.forEach(a=>a.visit(this)),i.children.forEach(a=>a.visit(this)),i.empty?.visit(this)}visitForLoopBlockEmpty(i){i.children.forEach(a=>a.visit(this))}visitIfBlock(i){i.branches.forEach(a=>a.visit(this))}visitIfBlockBranch(i){i.expressionAlias?.visit(this),i.children.forEach(a=>a.visit(this))}visitContent(i){i.children.forEach(a=>a.visit(this))}visitVariable(i){}visitReference(i){}visitTextAttribute(i){}visitBoundAttribute(i){}visitBoundEvent(i){}visitBoundAttributeOrEvent(i){}visitText(i){}visitBoundText(i){}visitIcu(i){}visitDeferredTrigger(i){}visitUnknownBlock(i){}visitLetDeclaration(i){}}class iv extends Y_{constructor(i,a,u,p,f,v,M,L,O){super(),this.bindings=i,this.symbols=a,this.usedPipes=u,this.eagerPipes=p,this.deferBlocks=f,this.nestingLevel=v,this.scope=M,this.rootNode=L,this.level=O,this.visitNode=V=>V.visit(this)}visit(i,a){i instanceof Ms?i.visit(this,a):i.visit(this)}static applyWithScope(i,a){const u=new Map,p=new Map,f=new Map,v=new Set,M=new Set,O=[];return new iv(u,p,v,M,O,f,a,i instanceof jn?i:null,0).ingest(i),{expressions:u,symbols:p,nestingLevel:f,usedPipes:v,eagerPipes:M,deferBlocks:O}}ingest(i){if(i instanceof jn)i.variables.forEach(this.visitNode),i.children.forEach(this.visitNode),this.nestingLevel.set(i,this.level);else if(i instanceof Ze)null!==i.expressionAlias&&this.visitNode(i.expressionAlias),i.children.forEach(this.visitNode),this.nestingLevel.set(i,this.level);else if(i instanceof Th)this.visitNode(i.item),i.contextVariables.forEach(a=>this.visitNode(a)),i.trackBy.visit(this),i.children.forEach(this.visitNode),this.nestingLevel.set(i,this.level);else if(i instanceof zu){if(this.scope.rootNode!==i)throw new Error(`Assertion error: resolved incorrect scope for deferred block ${i}`);this.deferBlocks.push([i,this.scope]),i.children.forEach(a=>a.visit(this)),this.nestingLevel.set(i,this.level)}else i instanceof Kf||i instanceof Qn||i instanceof Gf||i instanceof jl||i instanceof qf||i instanceof Es?(i.children.forEach(a=>a.visit(this)),this.nestingLevel.set(i,this.level)):i.forEach(this.visitNode)}visitElement(i){i.inputs.forEach(this.visitNode),i.outputs.forEach(this.visitNode),i.children.forEach(this.visitNode),i.references.forEach(this.visitNode)}visitTemplate(i){i.inputs.forEach(this.visitNode),i.outputs.forEach(this.visitNode),i.templateAttrs.forEach(this.visitNode),i.references.forEach(this.visitNode),this.ingestScopedNode(i)}visitVariable(i){null!==this.rootNode&&this.symbols.set(i,this.rootNode)}visitReference(i){null!==this.rootNode&&this.symbols.set(i,this.rootNode)}visitText(i){}visitTextAttribute(i){}visitUnknownBlock(i){}visitDeferredTrigger(){}visitIcu(i){Object.keys(i.vars).forEach(a=>i.vars[a].visit(this)),Object.keys(i.placeholders).forEach(a=>i.placeholders[a].visit(this))}visitBoundAttribute(i){i.value.visit(this)}visitBoundEvent(i){i.handler.visit(this)}visitDeferredBlock(i){this.ingestScopedNode(i),i.triggers.when?.value.visit(this),i.prefetchTriggers.when?.value.visit(this),i.placeholder&&this.visitNode(i.placeholder),i.loading&&this.visitNode(i.loading),i.error&&this.visitNode(i.error)}visitDeferredBlockPlaceholder(i){this.ingestScopedNode(i)}visitDeferredBlockError(i){this.ingestScopedNode(i)}visitDeferredBlockLoading(i){this.ingestScopedNode(i)}visitSwitchBlock(i){i.expression.visit(this),i.cases.forEach(this.visitNode)}visitSwitchBlockCase(i){i.expression?.visit(this),this.ingestScopedNode(i)}visitForLoopBlock(i){i.expression.visit(this),this.ingestScopedNode(i),i.empty?.visit(this)}visitForLoopBlockEmpty(i){this.ingestScopedNode(i)}visitIfBlock(i){i.branches.forEach(a=>a.visit(this))}visitIfBlockBranch(i){i.expression?.visit(this),this.ingestScopedNode(i)}visitContent(i){this.ingestScopedNode(i)}visitBoundText(i){i.value.visit(this)}visitLetDeclaration(i){i.value.visit(this),null!==this.rootNode&&this.symbols.set(i,this.rootNode)}visitPipe(i,a){return this.usedPipes.add(i.name),this.scope.isDeferred||this.eagerPipes.add(i.name),super.visitPipe(i,a)}visitPropertyRead(i,a){return this.maybeMap(i,i.name),super.visitPropertyRead(i,a)}visitSafePropertyRead(i,a){return this.maybeMap(i,i.name),super.visitSafePropertyRead(i,a)}visitPropertyWrite(i,a){return this.maybeMap(i,i.name),super.visitPropertyWrite(i,a)}ingestScopedNode(i){const a=this.scope.getChildScope(i);new iv(this.bindings,this.symbols,this.usedPipes,this.eagerPipes,this.deferBlocks,this.nestingLevel,a,i,this.level+1).ingest(i)}maybeMap(i,a){if(!(i.receiver instanceof Ol))return;const u=this.scope.lookup(a);u instanceof rn&&i.receiver instanceof we||null!==u&&this.bindings.set(i,u)}}class rv{constructor(i,a,u,p,f,v,M,L,O,V,Z,he){this.target=i,this.directives=a,this.eagerDirectives=u,this.bindings=p,this.references=f,this.exprTargets=v,this.symbols=M,this.nestingLevel=L,this.scopedNodeEntities=O,this.usedPipes=V,this.eagerPipes=Z,this.deferredBlocks=he.map(ke=>ke[0]),this.deferredScopes=new Map(he)}getEntitiesInScope(i){return this.scopedNodeEntities.get(i)??new Set}getDirectivesOfNode(i){return this.directives.get(i)||null}getReferenceTarget(i){return this.references.get(i)||null}getConsumerOfBinding(i){return this.bindings.get(i)||null}getExpressionTarget(i){return this.exprTargets.get(i)||null}getDefinitionNodeOfSymbol(i){return this.symbols.get(i)||null}getNestingLevel(i){return this.nestingLevel.get(i)||0}getUsedDirectives(){const i=new Set;return this.directives.forEach(a=>a.forEach(u=>i.add(u))),Array.from(i.values())}getEagerlyUsedDirectives(){const i=new Set(this.eagerDirectives);return Array.from(i.values())}getUsedPipes(){return Array.from(this.usedPipes)}getEagerlyUsedPipes(){return Array.from(this.eagerPipes)}getDeferBlocks(){return this.deferredBlocks}getDeferredTriggerTarget(i,a){if(!(a instanceof j_||a instanceof V_||a instanceof Wf))return null;const u=a.reference;if(null===u){let f=null;if(null!==i.placeholder)for(const v of i.placeholder.children)if(!(v instanceof Uu)){if(null!==f)return null;v instanceof Jr&&(f=v)}return f}const p=this.findEntityInScope(i,u);if(p instanceof Ci&&this.getDefinitionNodeOfSymbol(p)!==i){const f=this.getReferenceTarget(p);if(null!==f)return this.referenceTargetToElement(f)}if(null!==i.placeholder){const f=this.findEntityInScope(i.placeholder,u),v=f instanceof Ci?this.getReferenceTarget(f):null;if(null!==v)return this.referenceTargetToElement(v)}return null}isDeferred(i){for(const a of this.deferredBlocks){if(!this.deferredScopes.has(a))continue;const u=[this.deferredScopes.get(a)];for(;u.length>0;){const p=u.pop();if(p.elementsInScope.has(i))return!0;u.push(...p.childScopes.values())}}return!1}findEntityInScope(i,a){const u=this.getEntitiesInScope(i);for(const p of u)if(p.name===a)return p;return null}referenceTargetToElement(i){return i instanceof Jr?i:i instanceof jn?null:this.referenceTargetToElement(i.node)}}class TT{}class XO{constructor(i=new um){this.jitEvaluator=i,this.FactoryTarget=Qr,this.ResourceLoader=TT,this.elementSchemaRegistry=new Ey}compilePipe(i,a,u){const f=De({name:u.name,type:wi(u.type),typeArgumentCount:0,deps:null,pipeName:u.pipeName,pure:u.pure,isStandalone:u.isStandalone});return this.jitExpression(f.expression,i,a,[])}compilePipeDeclaration(i,a,u){const p=function dv(l){return{name:l.type.name,type:wi(l.type),typeArgumentCount:0,pipeName:l.name,deps:null,pure:l.pure??!0,isStandalone:l.isStandalone??!1}}(u),f=De(p);return this.jitExpression(f.expression,i,a,[])}compileInjectable(i,a,u){const{expression:p,statements:f}=zl({name:u.name,type:wi(u.type),typeArgumentCount:u.typeArgumentCount,providedIn:lv(u.providedIn),useClass:xp(u,"useClass"),useFactory:JO(u,"useFactory"),useValue:xp(u,"useValue"),useExisting:xp(u,"useExisting"),deps:u.deps?.map(NT)},!0);return this.jitExpression(p,i,a,f)}compileInjectableDeclaration(i,a,u){const{expression:p,statements:f}=zl({name:u.type.name,type:wi(u.type),typeArgumentCount:0,providedIn:lv(u.providedIn),useClass:xp(u,"useClass"),useFactory:JO(u,"useFactory"),useValue:xp(u,"useValue"),useExisting:xp(u,"useExisting"),deps:u.deps?.map(sC)},!0);return this.jitExpression(p,i,a,f)}compileInjector(i,a,u){const f=FP({name:u.name,type:wi(u.type),providers:u.providers&&u.providers.length>0?new Pt(u.providers):null,imports:u.imports.map(v=>new Pt(v))});return this.jitExpression(f.expression,i,a,[])}compileInjectorDeclaration(i,a,u){const p=function la(l){return{name:l.type.name,type:wi(l.type),providers:void 0!==l.providers&&l.providers.length>0?new Pt(l.providers):null,imports:void 0!==l.imports?l.imports.map(i=>new Pt(i)):[]}}(u),f=FP(p);return this.jitExpression(f.expression,i,a,[])}compileNgModule(i,a,u){const f=Ju({kind:Ia.Global,type:wi(u.type),bootstrap:u.bootstrap.map(wi),declarations:u.declarations.map(wi),publicDeclarationTypes:null,imports:u.imports.map(wi),includeImportTypes:!0,exports:u.exports.map(wi),selectorScopeMode:dm.Inline,containsForwardDecls:!1,schemas:u.schemas?u.schemas.map(wi):null,id:u.id?new Pt(u.id):null});return this.jitExpression(f.expression,i,a,[])}compileNgModuleDeclaration(i,a,u){const p=function BP(l){const i=new Fn;return i.set("type",new Pt(l.type)),void 0!==l.bootstrap&&i.set("bootstrap",new Pt(l.bootstrap)),void 0!==l.declarations&&i.set("declarations",new Pt(l.declarations)),void 0!==l.imports&&i.set("imports",new Pt(l.imports)),void 0!==l.exports&&i.set("exports",new Pt(l.exports)),void 0!==l.schemas&&i.set("schemas",new Pt(l.schemas)),void 0!==l.id&&i.set("id",new Pt(l.id)),je(te.defineNgModule).callFn([i.toLiteralMap()])}(u);return this.jitExpression(p,i,a,[])}compileDirective(i,a,u){const p=PT(u);return this.compileDirectiveFromMeta(i,a,p)}compileDirectiveDeclaration(i,a,u){const f=eC(u,this.createParseSourceSpan("Directive",u.type.name,a));return this.compileDirectiveFromMeta(i,a,f)}compileDirectiveFromMeta(i,a,u){const p=new I_,v=function Mp(l,i,a){const u=Jm(l,i,a);return KD(u,l),{expression:je(te.defineDirective).callFn([u.toLiteralMap()],void 0,!0),type:ET(l),statements:[]}}(u,p,Zm());return this.jitExpression(v.expression,i,a,p.statements)}compileComponent(i,a,u){const{template:p,interpolation:f,defer:v}=tC(u.template,u.name,a,u.preserveWhitespaces,u.interpolation,void 0),M={...u,...PT(u),selector:u.selector||this.elementSchemaRegistry.getDefaultComponentElementName(),template:p,declarations:u.declarations.map(BV),declarationListEmitMode:0,defer:v,styles:[...u.styles,...p.styles],encapsulation:u.encapsulation,interpolation:f,changeDetection:u.changeDetection??null,animations:null!=u.animations?new Pt(u.animations):null,viewProviders:null!=u.viewProviders?new Pt(u.viewProviders):null,relativeContextFilePath:"",i18nUseExternalIds:!0},L=`ng:///${u.name}.js`;return this.compileComponentFromMeta(i,L,M)}compileComponentDeclaration(i,a,u){const f=function ZO(l,i,a){const{template:u,interpolation:p,defer:f}=tC(l.template,l.type.name,a,l.preserveWhitespaces??!1,l.interpolation,l.deferBlockDependencies),v=[];if(l.dependencies)for(const M of l.dependencies)switch(M.kind){case"directive":case"component":v.push(av(M));break;case"pipe":v.push(Rd(M))}else(l.components||l.directives||l.pipes)&&(l.components&&v.push(...l.components.map(M=>av(M,!0))),l.directives&&v.push(...l.directives.map(M=>av(M))),l.pipes&&v.push(...function Pa(l){return l?Object.keys(l).map(i=>({kind:Gc.Pipe,name:i,type:new Pt(l[i])})):[]}(l.pipes)));return{...eC(l,i),template:u,styles:l.styles??[],declarations:v,viewProviders:void 0!==l.viewProviders?new Pt(l.viewProviders):null,animations:void 0!==l.animations?new Pt(l.animations):null,defer:f,changeDetection:l.changeDetection??N.Default,encapsulation:l.encapsulation??R.Emulated,interpolation:p,declarationListEmitMode:2,relativeContextFilePath:"",i18nUseExternalIds:!0}}(u,this.createParseSourceSpan("Component",u.type.name,a),a);return this.compileComponentFromMeta(i,a,f)}compileComponentFromMeta(i,a,u){const p=new I_,v=VO(u,p,Zm(u.interpolation));return this.jitExpression(v.expression,i,a,p.statements)}compileFactory(i,a,u){const p=oi({name:u.name,type:wi(u.type),typeArgumentCount:u.typeArgumentCount,deps:nC(u.deps),target:u.target});return this.jitExpression(p.expression,i,a,p.statements)}compileFactoryDeclaration(i,a,u){const p=oi({name:u.type.name,type:wi(u.type),typeArgumentCount:0,deps:Array.isArray(u.deps)?u.deps.map(sC):u.deps,target:u.target});return this.jitExpression(p.expression,i,a,p.statements)}createParseSourceSpan(i,a,u){return function xE(l,i,a){const p=new Fw("",`in ${l} ${i} in ${a}`);return new Xt(new Vi(p,-1,-1,-1),new Vi(p,-1,-1,-1))}(i,a,u)}jitExpression(i,a,u,p){const f=[...p,new Fi("$def",i,void 0,mt.Exported)];return this.jitEvaluator.evaluateStatements(u,f,new YP(a),!0).$def}}function IT(l){return{...l,isSignal:l.isSignal,predicate:LT(l.predicate),read:l.read?new Pt(l.read):null,static:l.static,emitDistinctChangesOnly:l.emitDistinctChangesOnly}}function AT(l){return{propertyName:l.propertyName,first:l.first??!1,predicate:LT(l.predicate),descendants:l.descendants??!1,read:l.read?new Pt(l.read):null,static:l.static??!1,emitDistinctChangesOnly:l.emitDistinctChangesOnly??!0,isSignal:!!l.isSignal}}function LT(l){return Array.isArray(l)?l:Bf(new Pt(l),1)}function PT(l){const i=function tg(l){return l.reduce((i,a)=>{if("string"==typeof a){const[u,p]=fu(a);i[p]={bindingPropertyName:u,classPropertyName:p,required:!1,isSignal:!1,transformFunction:null}}else i[a.name]={bindingPropertyName:a.alias||a.name,classPropertyName:a.name,required:a.required||!1,isSignal:!1,transformFunction:null!=a.transform?new Pt(a.transform):null};return i},{})}(l.inputs||[]),a=ti(l.outputs||[]),u=l.propMetadata,p={},f={};for(const M in u)u.hasOwnProperty(M)&&u[M].forEach(L=>{tN(L)?p[M]={bindingPropertyName:L.alias||M,classPropertyName:M,required:L.required||!1,isSignal:!!L.isSignal,transformFunction:null!=L.transform?new Pt(L.transform):null}:iC(L)&&(f[M]=L.alias||M)});const v=l.hostDirectives?.length?l.hostDirectives.map(M=>"function"==typeof M?{directive:wi(M),inputs:null,outputs:null,isForwardReference:!1}:{directive:wi(M.directive),isForwardReference:!1,inputs:M.inputs?ti(M.inputs):null,outputs:M.outputs?ti(M.outputs):null}):null;return{...l,typeArgumentCount:0,typeSourceSpan:l.typeSourceSpan,type:wi(l.type),deps:null,host:{...jV(l.propMetadata,l.typeSourceSpan,l.host)},inputs:{...i,...p},outputs:{...a,...f},queries:l.queries.map(IT),providers:null!=l.providers?new Pt(l.providers):null,viewQueries:l.viewQueries.map(IT),fullInheritance:!1,hostDirectives:v}}function eC(l,i){const a=l.hostDirectives?.length?l.hostDirectives.map(u=>({directive:wi(u.directive),isForwardReference:!1,inputs:u.inputs?ov(u.inputs):null,outputs:u.outputs?ov(u.outputs):null})):null;return{name:l.type.name,type:wi(l.type),typeSourceSpan:i,selector:l.selector??null,inputs:l.inputs?nN(l.inputs):{},outputs:l.outputs??{},host:RT(l.host),queries:(l.queries??[]).map(AT),viewQueries:(l.viewQueries??[]).map(AT),providers:void 0!==l.providers?new Pt(l.providers):null,exportAs:l.exportAs??null,usesInheritance:l.usesInheritance??!1,lifecycle:{usesOnChanges:l.usesOnChanges??!1},deps:null,typeArgumentCount:0,fullInheritance:!1,isStandalone:l.isStandalone??!1,isSignal:l.isSignal??!1,hostDirectives:a}}function RT(l={}){return{attributes:OT(l.attributes??{}),listeners:l.listeners??{},properties:l.properties??{},specialAttributes:{classAttr:l.classAttribute,styleAttr:l.styleAttribute}}}function ov(l){let i=null;for(let a=1;aZ.toString()).join(", ");throw new Error(`Errors during JIT compilation of template for ${i}: ${V}`)}return{template:M,interpolation:v,defer:cv(new ZD(new b).bind({template:M.nodes}),f)}}function xp(l,i){if(l.hasOwnProperty(i))return Bf(new Pt(l[i]),0)}function JO(l,i){if(l.hasOwnProperty(i))return new Pt(l[i])}function lv(l){return Bf("function"==typeof l?new Pt(l):new Is(l??null),0)}function nC(l){return null==l?null:l.map(NT)}function NT(l){const i=null!=l.attribute,a=null===l.token?null:new Pt(l.token);return eg(i?new Pt(l.attribute):a,i,l.host,l.optional,l.self,l.skipSelf)}function sC(l){const i=l.attribute??!1;return eg(null===l.token?null:new Pt(l.token),i,l.host??!1,l.optional??!1,l.self??!1,l.skipSelf??!1)}function eg(l,i,a,u,p,f){return{token:l,attributeNameType:i?ne("unknown"):null,host:a,optional:u,self:p,skipSelf:f}}function cv(l,i){const a=l.getDeferBlocks(),u=new Map;for(let p=0;pf.msg).join("\n"));for(const f in l)l.hasOwnProperty(f)&&l[f].forEach(v=>{uv(v)?u.properties[v.hostPropertyName||f]=R_("this",f):eN(v)&&(u.listeners[v.eventName||f]=`${f}(${(v.args||[]).join(",")})`)});return u}function uv(l){return"HostBinding"===l.ngMetadataName}function eN(l){return"HostListener"===l.ngMetadataName}function tN(l){return"Input"===l.ngMetadataName}function iC(l){return"Output"===l.ngMetadataName}function nN(l){return Object.keys(l).reduce((i,a)=>{const u=l[a];return"string"==typeof u||Array.isArray(u)?i[a]=function pl(l){return"string"==typeof l?{bindingPropertyName:l,classPropertyName:l,transformFunction:null,required:!1,isSignal:!1}:{bindingPropertyName:l[0],classPropertyName:l[1],transformFunction:l[2]?new Pt(l[2]):null,required:!1,isSignal:!1}}(u):i[a]={bindingPropertyName:u.publicName,classPropertyName:a,transformFunction:null!==u.transformFunction?new Pt(u.transformFunction):null,required:u.isRequired,isSignal:u.isSignal},i},{})}function ti(l){return l.reduce((i,a)=>{const[u,p]=fu(a);return i[p]=u,i},{})}function fu(l){const[i,a]=l.split(":",2).map(u=>u.trim());return[a??i,i]}new class Pc{constructor(i){this.full=i;const a=i.split(".");this.major=a[0],this.minor=a[1],this.patch=a.slice(2).join(".")}}("18.2.13");class ng{constructor({defaultEncapsulation:i=R.Emulated,preserveWhitespaces:a,strictInjectionParameters:u}={}){this.defaultEncapsulation=i,this.preserveWhitespaces=function FT(l,i=!1){return null===l?i:l}(function es(l){return void 0===l?null:l}(a)),this.strictInjectionParameters=!0===u}}var Ir;!function(l){l[l.Extract=0]="Extract",l[l.Merge=1]="Merge"}(Ir||(Ir={}));new class lC{constructor(){this.closedByParent=!1,this.implicitNamespacePrefix=null,this.isVoid=!1,this.ignoreFirstLf=!1,this.canSelfClose=!0,this.preventNamespaceInheritance=!1}requireExtraParent(i){return!1}isClosedByChild(i){return!1}getContentType(){return Bs.PARSABLE_DATA}};var _v;!function(l){l[l.Directive=0]="Directive",l[l.Component=1]="Component",l[l.Injectable=2]="Injectable",l[l.Pipe=3]="Pipe",l[l.NgModule=4]="NgModule"}(_v||(_v={}));!function kp(l){(l.ng||(l.ng={})).\u0275compilerFacade=new XO}(Ua)}},j=>{var E;E=7489,j(j.s=E)}]);