(self.webpackChunkusaepay_developer=self.webpackChunkusaepay_developer||[]).push([[792],{5455:(V,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(we(y),en.nextProducerIndex;)n.producerNode.pop(),n.producerLastReadVersion.pop(),n.producerIndexOfThis.pop()}}function Ie(n){we(n);for(let e=0;e0}function we(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"),De=Symbol("COMPUTING"),Ue=Symbol("ERRORED"),st={...$,value:ge,dirty:!0,error:null,equal:E,producerMustRecompute:n=>n.value===ge||n.value===De,producerRecomputeValue(n){if(n.value===De)throw new Error("Detected cycle in computations.");const e=n.value;n.value=De;const t=Fe(n);let s;try{s=n.computation()}catch(r){s=Ue,n.error=r}finally{Ne(n,t)}e!==ge&&e!==Ue&&s!==Ue&&n.equal(e,s)?n.value=e:(n.value=s,n.version++)}};let vs=function Kn(){throw new Error};function Kt(){vs()}let pt=null;function Te(n,e){ue()||Kt(),n.equal(n.value,e)||(n.value=e,function On(n){n.version++,function se(){w++}(),ce(n),pt?.()}(n))}const Yn={...$,equal:E,value:void 0};const wt=()=>{};function Ht(n){return"function"==typeof n}let bs=!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 bs&&console.log("RxJS: Back to a better error behavior. Thank you. <3");bs=n},get useDeprecatedSynchronousErrorHandling(){return bs}};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 St{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 St)t.remove(this);else if(null!==t)for(let o=0;oe.concat(t instanceof xn?t.errors:t),[])}St.EMPTY=((n=new St).closed=!0,n);const He="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class tn extends St{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 At{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(e){const t=new At;return t.source=this,t.operator=e,t}subscribe(e,t,s){const{operator:r}=this,o=function Qn(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}At.create=n=>new At(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 St{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 Xn extends tn{constructor(e){super(e),this.destination=e}}class ft extends At{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[He](){return new Xn(this)}lift(e){const t=new Ya(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 Ya(n,e);class Ya extends ft{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):St.EMPTY}}class zs extends ft{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 Ou(n,e))}}class Ou{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new xc(e,this.project,this.thisArg))}}class xc 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 ws(n,e){return function(s){return s.lift(new uw(n,e))}}class uw{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})(),Ba=new At(n=>n.complete());function yr(n){return n?function bi(n){return new At(e=>n.schedule(()=>e.complete()))}(n):Ba}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 Gr(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 Ss(n=ar){return e=>e.lift(new Zn(n))}class Zn{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 hs(n,e){const t=arguments.length>=2;return s=>s.pipe(n?ws((r,o)=>n(r,o,s)):Pt,Ii(1),t?Gr(e):Ss(()=>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 _a=Symbol("InputSignalNode#UNSET"),vh={...Yn,transformFn:void 0,applyValueToInputSignal(n,e){Te(n,e)}};function Al(n,e){const t=Object.create(vh);function s(){if(K(t),t.value===_a)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__",jo="__parameters__",Tc="__prop__metadata__";function Nu(n,e,t,s,r){return Xs(()=>{const o=Fu(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 Fu(n){return function(...t){if(n){const s=n(...t);for(const r in s)this[r]=s[r]}}}function Dt(n,e,t){return Xs(()=>{const s=Fu(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(jo)?h[jo]:Object.defineProperty(h,jo,{value:[]})[jo];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 Ve(n,e,t,s){return Xs(()=>{const r=Fu(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(Tc)?S[Tc]:Object.defineProperty(S,Tc,{value:{}})[Tc];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 Ds=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 fn(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(fn).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 Af(n,e){return null==n||""===n?null===e?"":e:null==e||""===e?n:n+" "+e}const Ho=wn({__forward_ref__:wn});function Lt(n){return n.__forward_ref__=Lt,n.toString=function(){return fn(this())},n}function gt(n){return Or(n)?n():n}function Or(n){return"function"==typeof n&&n.hasOwnProperty(Ho)&&n.__forward_ref__===Lt}function ja(n,e,t){n!=e&&It(t,n,e,"==")}function It(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 Cs(n){return{providers:n.providers||[],imports:n.imports||[]}}function Lf(n){return k_(n,Ha)||k_(n,T_)}function k_(n,e){return n.hasOwnProperty(e)?n[e]:null}function Ic(n){return n&&(n.hasOwnProperty(Pf)||n.hasOwnProperty(yw))?n[Pf]:null}const Ha=wn({\u0275prov:wn}),Pf=wn({\u0275inj:wn}),T_=wn({ngInjectableDef:wn}),yw=wn({ngInjectorDef:wn});class Ye{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 Lc(n){return n&&!!n.\u0275providers}const Li=wn({\u0275cmp:wn}),Pc=wn({\u0275dir:wn}),Rc=wn({\u0275pipe:wn}),bo=wn({\u0275mod:wn}),Ua=wn({\u0275fac:wn}),Oc=wn({__NG_ELEMENT_ID__:wn}),A_=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 va(n,e){throw new le(-201,!1)}var ln;let Pl;function Kr(){return Pl}function oi(n){const e=Pl;return Pl=n,e}function Yf(n,e,t){const s=Lf(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 va()}!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={},Bf="__NG_DI_FLAG__",Rl="ngTempTokenPath",Vf=/\n/gm,jf="\u0275",Nc="__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?Yf(n,void 0,e):Ms.get(n,e&ln.Optional?null:void 0,e)}function Ee(n,e=ln.Default){return(Kr()||Ol)(gt(n),e)}function zn(n){throw new le(202,!1)}function me(n,e=ln.Default){return Ee(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):fn(d)))}r=`{${o.join(", ")}}`}return`${t}${s?"("+s+")":""}[${r}]: ${n.replace(Vf,"\n ")}`}("\n"+n.message,r,t,s),n.ngTokenPath=r,n[Rl]=null,n}const Wa=$a(Dt("Inject",n=>({token:n})),-1),Si=$a(Dt("Optional"),8),Fl=$a(Dt("Self"),2),Wo=$a(Dt("SkipSelf"),4),qo=$a(Dt("Host"),1);function ai(n,e){return n.hasOwnProperty(Ua)?n[Ua]: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 ba(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 Xr(n,e,t){let s=qa(n,e);return s>=0?n[1|s]=t:(s=~s,R_(n,s,e,t)),s}function N_(n,e){const t=qa(n,e);if(t>=0)return n[1|t]}function qa(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 Sw(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+=Vl(o,r),r=""),s=c,o=o||!So(s);t++}return""!==r&&(e+=Vl(o,r)),e}function Yc(n){return Xs(()=>{const e=Qa(n),t={...e,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===wa.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:""};Kf(t);const s=n.dependencies;return t.directiveDefs=Jn(s,!1),t.pipeDefs=Jn(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 qf(n){return rn(n)||Bn(n)}function xh(n){return null!==n}function fs(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 Gf(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 et(n){return Xs(()=>{const e=Qa(n);return Kf(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 Bn(n){return n[Pc]||null}function Es(n){return n[Rc]||null}function Ki(n){const e=rn(n)||Bn(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 ${fn(n)} does not have '\u0275mod' property.`);return t}function Qa(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:Gf(n.inputs,e),outputs:Gf(n.outputs),debugInfo:null}}function Kf(n){n.features?.forEach(e=>e(n))}function Jn(n,e){if(!n)return null;const t=e?Es:qf;return()=>("function"==typeof n?n():n).map(s=>t(s)).filter(xh)}function lr(n){return{\u0275providers:n}}function Bc(...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;Da(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 Da(n,e,t,s){if(!(n=gt(n)))return!1;let r=null,o=Ic(n);const c=!o&&rn(n);if(o||c){if(c&&!c.standalone)return!1;r=n}else{const h=n.ngModule;if(o=Ic(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)Da(m,e,t,s)}}else{if(!o)return!1;{if(null!=o.imports&&!d){let m;s.add(r);try{Ko(o.imports,g=>{Da(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:Ys,useValue:r,multi:!0},r),e({provide:vn,useValue:()=>Ee(r),multi:!0},r)}const h=o.providers;if(null!=h&&!d){const m=n;B_(h,g=>{e(g,m)})}}}return r!==n&&void 0!==n.providers}function B_(n,e){for(let t of n)Lc(t)&&(t=t.\u0275providers),Array.isArray(t)?B_(t,e):e(t)}const Cw=wn({provide:String,useValue:wn});function Qf(n){return null!==n&&"object"==typeof n&&Cw in n}function V_(n){return!(!n||!n.useExisting)}function j_(n){return!(!n||!n.useFactory)}function Xa(n){return"function"==typeof n}const Xf=new Ye(""),Vc={},Zf={};let Jf;function Rt(){return void 0===Jf&&(Jf=new li),Jf}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,tm(e,c=>this.processProvider(c)),this.records.set(Hf,Za(void 0,this)),r.has("environment")&&this.records.set(Ot,Za(void 0,this));const o=this.records.get(Xf);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Ys,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(A_))return e[A_](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 xw(n){return"function"==typeof n||"object"==typeof n&&n instanceof Ye}(e)&&Lf(e);h=m&&this.injectableDefInScope(m)?Za(zu(e),Vc):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(fn(e)),o)throw d;return Ch(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(fn(s));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new le(205,!1)}processProvider(e){let t=Xa(e=gt(e))?e:gt(e&&e.provide);const s=function Ew(n){if(Qf(n))return Za(void 0,n.useValue);return Za(em(n),Vc)}(e);if(!Xa(e)&&!0===e.multi){let r=this.records.get(t);r||(r=Za(void 0,Vc,!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===Vc&&(t.value=Zf,t.value=t.factory()),"object"==typeof t.value&&t.value&&function Hl(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 zu(n){const e=Lf(n),t=null!==e?e.factory:ai(n);if(null!==t)return t;if(n instanceof Ye)throw new le(204,!1);if(n instanceof Function)return function kh(n){if(n.length>0)throw new le(204,!1);const t=function wh(n){return n&&(n[Ha]||n[T_])||null}(n);return null!==t?()=>t.factory(n):()=>new n}(n);throw new le(204,!1)}function em(n,e,t){let s;if(Xa(n)){const r=gt(n);return ai(r)||zu(r)}if(Qf(n))s=()=>gt(n.useValue);else if(j_(n))s=()=>n.useFactory(...Nl(n.deps||[]));else if(V_(n))s=()=>Ee(gt(n.useExisting));else{const r=gt(n&&(n.useClass||n.provide));if(!function ta(n){return!!n.deps}(n))return ai(r)||zu(r);s=()=>new r(...Nl(n.deps))}return s}function Za(n,e,t=!1){return{factory:n,value:e,multi:t?[]:void 0}}function tm(n,e){for(const t of n)Array.isArray(t)?tm(t,e):t&&Lc(t)?tm(t.\u0275providers,e):e(t)}function Jr(n,e){n instanceof cn&&n.assertNotDestroyed();const s=Zs(n),r=oi(void 0);try{return e()}finally{Zs(s),oi(r)}}function H_(){return void 0!==Kr()||null!=function Dh(){return Ms}()}function Th(n){if(!H_())throw new le(-203,!1)}var Ja,Ih,nm;function Ws(n){const e=Ds.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"}(Ja||(Ja={})),function(n){n[n.Directive=0]="Directive",n[n.Pipe=1]="Pipe",n[n.NgModule=2]="NgModule"}(Ih||(Ih={})),function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(nm||(nm={}));const U_={\u0275\u0275defineInjectable:Ae,\u0275\u0275defineInjector:Cs,\u0275\u0275inject:Ee,\u0275\u0275invalidFactoryDep:zn,resolveForwardRef:gt},$_=Function;function Wu(n){return"function"==typeof n}const Ca=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,kw=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,sm=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,qu=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class je{constructor(e){this._reflect=e||Ds.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 im(n){return Ca.test(n)||qu.test(n)||kw.test(n)&&!sm.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&&Ul(g.decorators));return this._zipTypesAndAnnotations(h,m)}const o=e.hasOwnProperty(jo)&&e[jo],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(!Wu(e))return[];const t=jc(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?Ul(e.decorators):e.hasOwnProperty(ri)?e[ri]:null}annotations(e){if(!Wu(e))return[];const t=jc(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]=Ul(s[o])}),r}return e.hasOwnProperty(Tc)?e[Tc]:null}propMetadata(e){if(!Wu(e))return{};const t=jc(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 Wu(e)&&this._ownPropMetadata(e,jc(e))||{}}hasLifecycleHook(e,t){return e instanceof $_&&t in e.prototype}}function Ul(n){return n?n.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function jc(n){const e=n.prototype?Object.getPrototypeOf(n.prototype):null;return(e?e.constructor:null)||Object}const ms=0,xe=1,Ze=2,Bs=3,Fn=4,Yi=5,cr=6,$l=7,cs=8,Js=9,Mi=10,Yt=11,Hc=12,Gu=13,Bi=14,gs=15,Vs=16,zl=17,Fr=18,eo=19,rm=20,Vi=21,Uc=22,Yr=23,lt=25,Wl=1,to=7,Ma=9,xs=10;var Br;function es(n){return Array.isArray(n)&&"object"==typeof n[Wl]}function qs(n){return Array.isArray(n)&&!0===n[Wl]}function Lh(n){return!!(4&n.flags)}function Pi(n){return n.componentOffset>-1}function ql(n){return!(1&~n.flags)}function Qi(n){return!!n.template}function Vr(n){return!!(512&n[Ze])}function el(n){return!(256&~n[Ze])}!function(n){n[n.None=0]="None",n[n.HasTransplantedViews=2]="HasTransplantedViews"}(Br||(Br={}));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 _s(){return Iw}function Iw(n){return n.type.prototype.ngOnChanges&&(n.setInput=am),bE}function bE(){const n=Aw(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 am(n,e,t,s,r){const o=this.declaredInputs[s],c=Aw(n)||function no(n,e){return n[xa]=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)}_s.ngInherit=!0;const xa="__ngSimpleChanges__";function Aw(n){return n[xa]||null}let q_=null;const Gl=function(n,e,t){q_?.(n,e,t)};function kn(n){for(;Array.isArray(n);)n=n[ms];return n}function na(n){for(;Array.isArray(n);){if("object"==typeof n[Wl])return n;n=n[ms]}return null}function Kl(n,e){return kn(e[n])}function Ur(n,e){return kn(e[n.index])}function Rh(n,e){return n.data[e]}function ka(n,e){return n[e]}function ji(n,e){const t=e[n];return es(t)?t:t[ms]}function Xt(n){return!(128&~n[Ze])}function Ct(n,e){return null==e?null:n[e]}function SE(n){n[zl]=0}function DE(n){1024&n[Ze]||(n[Ze]|=1024,Xt(n)&&Q_(n))}function CE(n,e){for(;n>0;)e=e[Bi],n--;return e}function zc(n){return!!(9216&n[Ze]||n[Yr]?.dirty)}function K_(n){n[Mi].changeDetectionScheduler?.notify(8),64&n[Ze]&&(n[Ze]|=1024),zc(n)&&Q_(n)}function Q_(n){n[Mi].changeDetectionScheduler?.notify(0);let e=Xl(n);for(;null!==e&&!(8192&e[Ze])&&(e[Ze]|=8192,Xt(e));)e=Xl(e)}function Xu(n,e){if(!(256&~n[Ze]))throw new le(911,!1);null===n[Vi]&&(n[Vi]=[]),n[Vi].push(e)}function Rw(n,e){if(null===n[Vi])return;const t=n[Vi].indexOf(e);-1!==t&&n[Vi].splice(t,1)}function Xl(n){const e=n[Bs];return qs(e)?e[Bs]:e}const Vt={lFrame:$w(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var lm;!function(n){n[n.Off=0]="Off",n[n.Exhaustive=1]="Exhaustive",n[n.OnlyDirtyViews=2]="OnlyDirtyViews"}(lm||(lm={}));let ME=!1;function Ta(){return Vt.bindingsEnabled}function Zu(){return null!==Vt.skipHydrationRootTNode}function Se(){return Vt.lFrame.lView}function mn(){return Vt.lFrame.tView}function us(){let n=Fw();for(;null!==n&&64===n.type;)n=n.parent;return n}function Fw(){return Vt.lFrame.currentTNode}function um(){const n=Vt.lFrame,e=n.currentTNode;return n.isParent?e:e.parent}function Ia(n,e){const t=Vt.lFrame;t.currentTNode=n,t.isParent=e}function Yw(){return Vt.lFrame.isParent}function X_(){Vt.lFrame.isParent=!1}function dm(){return Vt.lFrame.contextLView}function AE(){return ME}function LE(n){ME=n}function Ei(){const n=Vt.lFrame;let e=n.bindingRootIndex;return-1===e&&(e=n.bindingRootIndex=n.tView.bindingStartIndex),e}function tl(){return Vt.lFrame.bindingIndex}function PE(n){return Vt.lFrame.bindingIndex=n}function sa(){return Vt.lFrame.bindingIndex++}function Zl(n){const e=Vt.lFrame,t=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,t}function RE(n){Vt.lFrame.inI18n=n}function NP(n,e){const t=Vt.lFrame;t.bindingIndex=t.bindingRootIndex=n,Bw(e)}function Bw(n){Vt.lFrame.currentDirectiveIndex=n}function Vw(n){const e=Vt.lFrame.currentDirectiveIndex;return-1===e?null:n[e]}function hm(){return Vt.lFrame.currentQueryIndex}function Z_(n){Vt.lFrame.currentQueryIndex=n}function jw(n){const e=n[xe];return 2===e.type?e.declTNode:1===e.type?n[Yi]:null}function OE(n,e,t){if(t&ln.SkipSelf){let r=e,o=n;for(;(r=r.parent,null===r&&!(t&ln.Host))&&(r=jw(o),!(null===r||(o=o[Bi],10&r.type))););if(null===r)return!1;e=r,n=o}const s=Vt.lFrame=Uw();return s.currentTNode=e,s.lView=n,!0}function Hw(n){const e=Uw(),t=n[xe];Vt.lFrame=e,e.currentTNode=t.firstChild,e.lView=n,e.tView=t,e.contextLView=n,e.bindingIndex=t.bindingStartIndex,e.inI18n=!1}function Uw(){const n=Vt.lFrame,e=null===n?null:n.child;return null===e?$w(n):e}function $w(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 zw(){const n=Vt.lFrame;return Vt.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const NE=zw;function Ww(){const n=zw();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 Vt.lFrame.selectedIndex}function nl(n){Vt.lFrame.selectedIndex=n}function Ps(){const n=Vt.lFrame;return Rh(n.tView,n.selectedIndex)}function qw(){return Vt.lFrame.currentNamespace}let FE=!0;function pm(){return FE}function B(n){FE=n}function wr(n,e){for(let t=e.directiveStart,s=e.directiveEnd;t=s)break}else e[h]<0&&(n[zl]+=65536),(d>14>16&&(3&n[Ze])===e&&(n[Ze]+=16384,qc(d,o)):qc(d,o)}const ui=-1;class ts{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 Fh(n){return n!==ui}function ed(n){return 32767&n}function so(n,e){let t=function YE(n){return n>>16}(n),s=e;for(;t>0;)s=s[Bi],t--;return s}let Zt=!0;function ey(n){const e=Zt;return Zt=n,e}const Qc=255,BE=5;let UP=0;const sl={};function ty(n,e){const t=VE(n,e);if(-1!==t)return t;const s=e[xe];s.firstCreatePass&&(n.injectorIndex=e.length,Qw(s.data,n),Qw(e,null),Qw(s.blueprint,null));const r=ny(n,e),o=n.injectorIndex;if(Fh(r)){const c=ed(r),d=so(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 Qw(n,e){n.push(0,0,0,0,0,0,0,0,e)}function VE(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===e[n.injectorIndex+8]?-1:n.injectorIndex}function ny(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=id(r),null===s)return ui;if(t++,r=r[Bi],-1!==s.injectorIndex)return s.injectorIndex|t<<16}return ui}function sy(n,e,t){!function $P(n,e,t){let s;"string"==typeof t?s=t.charCodeAt(0)||0:t.hasOwnProperty(Oc)&&(s=t[Oc]),null==s&&(s=t[Oc]=UP++);const r=s&Qc,o=1<>BE)]|=o}(n,e,t)}function jE(n,e,t){if(t&ln.Optional||void 0!==n)return n;va()}function Xw(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):Yf(e,s,t&ln.Optional)}finally{oi(o)}}return jE(s,0,t)}function HE(n,e,t,s=ln.Default,r){if(null!==n){if(2048&e[Ze]&&!(s&ln.Self)){const c=function Yh(n,e,t,s,r){let o=n,c=e;for(;null!==o&&null!==c&&2048&c[Ze]&&!(512&c[Ze]);){const d=UE(o,c,t,s|ln.Self,sl);if(d!==sl)return d;let h=o.parent;if(!h){const m=c[rm];if(m){const g=m.get(t,sl,s);if(g!==sl)return g}h=id(c),c=c[Bi]}o=h}return r}(n,e,t,s,sl);if(c!==sl)return c}const o=UE(n,e,t,s,sl);if(o!==sl)return o}return Xw(e,t,s,r)}function UE(n,e,t,s,r){const o=function zE(n){if("string"==typeof n)return n.charCodeAt(0)||0;const e=n.hasOwnProperty(Oc)?n[Oc]:void 0;return"number"==typeof e?e>=0?e&Qc:ys:e}(t);if("function"==typeof o){if(!OE(e,n,s))return s&ln.Host?jE(r,0,s):Xw(e,t,s,r);try{let c;if(c=o(s),null!=c||s&ln.Optional)return c;va()}finally{NE()}}else if("number"==typeof o){let c=null,d=VE(n,e),h=ui,m=s&ln.Host?e[gs][Yi]:null;for((-1===d||s&ln.SkipSelf)&&(h=-1===d?ny(n,e):e[d+8],h!==ui&&Jw(s,!1)?(c=e[xe],d=ed(h),e=so(h,e)):d=-1);-1!==d;){const g=e[xe];if(Zw(o,d,g.data)){const S=$E(d,e,t,c,s,m);if(S!==sl)return S}h=e[d+8],h!==ui&&Jw(s,e[xe].data[d+8]===m)&&Zw(o,d,e)?(c=g,d=ed(h),e=so(h,e)):d=-1}}return r}function $E(n,e,t,s,r,o){const c=e[xe],d=c.data[n+8],g=fm(d,c,t,null==s?Pi(d)&&Zt:s!=c&&!!(3&d.type),r&ln.Host&&o===d);return null!==g?Xc(e,c,g,d):sl}function fm(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 Xc(n,e,t,s){let r=n[t];const o=e.data;if(function Gc(n){return n instanceof ts}(r)){const c=r;c.resolving&&function wi(n,e){throw e&&e.join(" > "),new le(-200,n)}($n(o[t]));const d=ey(c.canSeeViewProviders);c.resolving=!0;const m=c.injectImpl?oi(c.injectImpl):null;OE(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=Iw(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),ey(d),c.resolving=!1,NE()}}return r}function Zw(n,e,t){const s=1<>BE)]&s)}function Jw(n,e){return!(n&ln.Self||n&ln.Host&&e)}class is{constructor(e,t){this._tNode=e,this._lView=t}get(e,t,s){return HE(this._tNode,this._lView,e,zo(s),t)}}function ys(){return new is(us(),Se())}function Ln(n){return Xs(()=>{const e=n.prototype.constructor,t=e[Ua]||sd(e),s=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==s;){const o=r[Ua]||sd(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function sd(n){return Or(n)?()=>{const e=sd(gt(n));return e&&e()}:ai(n)}function id(n){const e=n[xe],t=e.type;return 2===t?e.declTNode:1===t?n[Yi]:null}function io(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__:()=>io(n)}));let Bh=null;function Vh(){return Bh=Bh||new je}function Zc(n){return gm(Vh().parameters(n))}function gm(n){return n.map(e=>function iy(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(U_,`ng:///${n.name}/\u0275prov.js`,function Hh(n,e){const t=e||{providedIn:null},s={name:n.name,type:n,typeArgumentCount:0,providedIn:t.providedIn};return(eu(t)||_m(t))&&void 0!==t.deps&&(s.deps=gm(t.deps)),eu(t)?s.useClass=t.useClass:function rd(n){return Jc in n}(t)?s.useValue=t.useValue:_m(t)?s.useFactory=t.useFactory:function jh(n){return void 0!==n.useExisting}(t)&&(s.useExisting=t.useExisting),s}(n,e))),t)}),n.hasOwnProperty(Ua)||Object.defineProperty(n,Ua,{get:()=>{if(null===s){const r=Ws();s=r.compileFactory(U_,`ng:///${n.name}/\u0275fac.js`,{name:n.name,type:n,typeArgumentCount:0,deps:Zc(n),target:r.FactoryTarget.Injectable})}return s},configurable:!0})}const Jc=wn({provide:String,useValue:wn});function eu(n){return void 0!==n.useClass}function _m(n){return void 0!==n.useFactory}const ks=Nu("Injectable",void 0,void 0,void 0,(n,e)=>il(n,e));function od(n,e=null,t=null,s){const r=ad(n,e,t,s);return r.resolveInjectorInitializers(),r}function ad(n,e=null,t=null,s,r=new Set){const o=[t||An,Bc(n)];return s=s||("object"==typeof n?void 0:fn(n)),new cn(o,e||Rt(),s||null,r)}class rs{static#e=this.THROW_IF_NOT_FOUND=$o;static#t=this.NULL=new li;static create(e,t){if(Array.isArray(e))return od({name:""},t,e,"");{const s=e.name??"";return od({name:s},e.parent,e.providers,s)}}static#n=this.\u0275prov=Ae({token:rs,providedIn:"any",factory:()=>Ee(Hf)});static#s=this.__NG_ELEMENT_ID__=-1}new Ye("").__NG_ELEMENT_ID__=n=>{const e=us();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 ld="ngOriginalError";function Mn(n){return n[ld]}const oy=!0;class ei{static#e=this.__NG_ELEMENT_ID__=vm;static#t=this.__NG_ENV_ID__=e=>e}class Xe extends ei{constructor(e){super(),this._lView=e}onDestroy(e){return Xu(this._lView,e),()=>Rw(this._lView,e)}}function vm(){return new Xe(Se())}class ro{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new zs(!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:ro,providedIn:"root",factory:()=>new ro})}class ve{constructor(){this.internalPendingTasks=me(ro)}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 ft{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,H_()&&(this.destroyRef=me(ei,{optional:!0})??void 0,this.pendingTasks=me(ro,{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 St&&e.add(d),d}wrapInTimeout(e){return t=>{const s=this.pendingTasks?.add();setTimeout(()=>{e(t),void 0!==s&&this.pendingTasks?.remove(s)})}}};function Aa(...n){}function WE(n){let e,t;function s(){n=Aa;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 bm(n){return queueMicrotask(()=>n()),()=>{n=Aa}}const eS="isAngularZone",ay=eS+"_ID";let WP=0;class Mt{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=oy}=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 qP(n){const e=()=>{!function qE(n){if(n.isCheckStableRunning||n.callbackScheduled)return;function e(){WE(()=>{n.callbackScheduled=!1,nS(n),n.isCheckStableRunning=!0,ly(n),n.isCheckStableRunning=!1})}n.callbackScheduled=!0,n.scheduleInRootZone?Zone.root.run(()=>{e()}):n._outer.run(()=>{e()}),nS(n)}(n)},t=WP++;n._inner=n._inner.fork({name:"angular",properties:{[eS]:!0,[ay]:t,[ay+t]:!0},onInvokeTask:(s,r,o,c,d,h)=>{if(function cd(n){return KE(n,"__ignore_ng_zone__")}(h))return s.invokeTask(o,c,d,h);try{return GE(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 GE(n),s.invoke(o,c,d,h,m)}finally{n.shouldCoalesceRunChangeDetection&&!n.callbackScheduled&&!function GP(n){return KE(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,nS(n),ly(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(eS)}static assertInAngularZone(){if(!Mt.isInAngularZone())throw new le(909,!1)}static assertNotInAngularZone(){if(Mt.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,tS,Aa,Aa);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 tS={};function ly(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 nS(n){n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&!0===n.callbackScheduled?n.hasPendingMicrotasks=!0:n.hasPendingMicrotasks=!1}function GE(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Co(n){n._nesting--,ly(n)}class sS{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 KE(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 KP=new Ye("",{providedIn:"root",factory:()=>{const n=me(Mt),e=me(Mo);return t=>n.runOutsideAngular(()=>e.handleError(t))}});class QE{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 iS(n,e){return Al(n,e)}iS.required=function QP(n){return Al(_a,n)};function Ge(){return ud(us(),Se())}function ud(n,e){return new gn(Ur(n,e))}class gn{constructor(e){this.nativeElement=e}static#e=this.__NG_ELEMENT_ID__=Ge}function rS(n){return n instanceof gn?n.nativeElement:n}function nu(){return this._results[Symbol.iterator]()}class Uh{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=Uh.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=nu)}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;sy2}),y2="ng",px=new Ye(""),ao=new Ye("",{providedIn:"platform",factory:()=>"unknown"}),fy=(new Ye(""),new Ye("")),dS=new Ye("",{providedIn:"root",factory:()=>su().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),fd={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},fx=new Ye("",{providedIn:"root",factory:()=>fd});function v2(){const n=new rl;return"browser"===me(ao)&&(n.store=function b2(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{}}(su(),me(pd))),n}class rl{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=Ae({token:rl,providedIn:"root",factory:v2});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 km(n,e,t=!1){return gd(n,e,t)}var $r;!function(n){n.Hydrated="hydrated",n.Skipped="skipped",n.Mismatched="mismatched"}($r||($r={}));new Ye("");const vx=new Ye("",{providedIn:"root",factory:()=>false});new Ye(""),new Ye("");let yy,_d;function vy(){if(void 0===yy&&(yy=null,Ds.trustedTypes))try{yy=Ds.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return yy}function Jh(n){return vy()?.createHTML(n)||n}function Lm(){if(void 0===_d&&(_d=null,Ds.trustedTypes))try{_d=Ds.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return _d}function er(n){return Lm()?.createHTML(n)||n}function ep(n){return Lm()?.createScript(n)||n}function MS(n){return Lm()?.createScriptURL(n)||n}class tc{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Va})`}}class Dx extends tc{getTypeName(){return"HTML"}}class Cx extends tc{getTypeName(){return"Style"}}class Mx extends tc{getTypeName(){return"Script"}}class S2 extends tc{getTypeName(){return"URL"}}class Ex extends tc{getTypeName(){return"ResourceURL"}}function lo(n){return n instanceof tc?n.changingThisBreaksApplicationSecurity:n}function ol(n,e){const t=function D2(n){return n instanceof tc&&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 kx(n){const e=new Ix(n);return function aj(){try{return!!(new window.DOMParser).parseFromString(Jh(""),"text/html")}catch{return!1}}()?new Tx(e):e}class Tx{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const t=(new window.DOMParser).parseFromString(Jh(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.firstChild?.remove(),t)}catch{return null}}}class Ix{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){const t=this.inertDocument.createElement("template");return t.innerHTML=Jh(e),t}}const ru=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function on(n){return(n=String(n)).match(ru)?n:"unsafe:"+n}function nc(n){const e={};for(const t of n.split(","))e[t]=!0;return e}function yd(...n){const e={};for(const t of n)for(const s in t)t.hasOwnProperty(s)&&(e[s]=!0);return e}const al=nc("area,br,col,hr,img,wbr"),ES=nc("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ax=nc("rp,rt"),x2=yd(Ax,ES),k2=yd(ES,nc("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")),xS=yd(Ax,nc("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")),kS=yd(al,k2,xS,x2),TS=nc("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),T2=nc("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"),IS=nc("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"),AS=yd(TS,T2,IS),LS=nc("script,style,template");class lj{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=A2(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=I2(t);if(o){t=o;break}t=r.pop()}return this.buf.join("")}startElement(e){const t=Lx(e).toLowerCase();if(!kS.hasOwnProperty(t))return this.sanitizedSomething=!0,!LS.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const s=e.attributes;for(let r=0;r"),!0}endElement(e){const t=Lx(e).toLowerCase();kS.hasOwnProperty(t)&&!al.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(RS(e))}}function I2(n){const e=n.nextSibling;if(e&&n!==e.previousSibling)throw Px(e);return e}function A2(n){const e=n.firstChild;if(e&&function PS(n,e){return(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(n,e))throw Px(e);return e}function Lx(n){const e=n.nodeName;return"string"==typeof e?e:"FORM"}function Px(n){return new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`)}const L2=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,P2=/([^\#-~ |!])/g;function RS(n){return n.replace(/&/g,"&").replace(L2,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(P2,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let sc;function tp(n,e){let t=null;try{sc=sc||kx(n);let s=e?String(e):"";t=sc.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=sc.getInertBodyElement(s)}while(s!==o);return Jh((new lj).sanitizeChildren(OS(t)||t))}finally{if(t){const s=OS(t)||t;for(;s.firstChild;)s.firstChild.remove()}}}function OS(n){return"content"in n&&function R2(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Er;function Ox(n){const e=Pm();return e?e.sanitize(Er.URL,n)||"":ol(n,"URL")?lo(n):on(Qt(n))}function Nx(n){const e=Pm();if(e)return MS(e.sanitize(Er.RESOURCE_URL,n)||"");if(ol(n,"ResourceURL"))return MS(lo(n));throw new le(904,!1)}function Fx(n,e,t){return function Y2(n,e){return"src"===e&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===e&&("base"===n||"link"===n)?Nx:Ox}(e,t)(n)}function Pm(){const n=Se();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 Dy=/^>|^->||--!>|)/g,_n="\u200b$1\u200b";function NS(n){return n.replace(Dy,e=>e.replace(V2,_n))}function $x(n){return n.ownerDocument.body}function xo(n){return n instanceof Function?n():n}function ko(n){return"browser"===(n??me(rs)).get(ao)}var ic;let Ey;function VS(n,e){return Ey(n,e)}function ip(n,e,t,s,r){if(null!=s){let o,c=!1;qs(s)?o=s:es(s)&&(c=!0,s=s[ms]);const d=kn(s);0===n&&null!==t?null==r?GS(e,t,d):vd(e,t,d,r||null,!0):1===n&&null!==t?vd(e,t,d,r||null,!0):2===n?op(e,d,c):3===n&&e.destroyNode(d),null!=o&&function eR(n,e,t,s,r){const o=t[to],c=kn(t);o!==c&&ip(e,n,s,o,r);for(let d=xs;d0&&(n[t-1][Fn]=s[Fn]);const o=ba(n,xs+e);!function G2(n,e){qx(n,e),e[ms]=null,e[Yi]=null}(s[xe],s);const c=o[Fr];null!==c&&c.detachView(o[xe]),s[Bs]=null,s[Fn]=null,s[Ze]&=-129}return s}function ky(n,e){if(!(256&e[Ze])){const t=e[Yt];t.destroyNode&&Nm(n,e,t,3,null,null),function Q2(n){let e=n[Hc];if(!e)return zS(n[xe],n);for(;e;){let t=null;if(es(e))t=e[Hc];else{const s=e[xs];s&&(t=s)}if(!t){for(;e&&!e[Fn]&&e!==n;)es(e)&&zS(e[xe],e),e=e[Bs];null===e&&(e=n),es(e)&&zS(e[xe],e),t=e&&e[Fn]}e=t}}(e)}}function zS(n,e){if(256&e[Ze])return;const t=k(null);try{e[Ze]&=-129,e[Ze]|=256,e[Yr]&&pe(e[Yr]),function Z2(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[$l]=null);const r=e[Vi];if(null!==r){e[Vi]=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 Ur(s,t)}}function vd(n,e,t,s,r){n.insertBefore(e,t,s,r)}function GS(n,e,t){n.appendChild(e,t)}function Kx(n,e,t,s,r){null!==s?vd(n,e,t,s,r):GS(n,e,t)}function KS(n,e){return n.parentNode(e)}function Qx(n,e,t){return ll(n,e,t)}function Xx(n,e,t){return 40&n.type?Ur(n,t):null}!function(n){n[n.Important=1]="Important",n[n.DashCase=2]="DashCase"}(ic||(ic={}));let bd,ll=Xx;function Zx(n,e){ll=n,bd=e}function Ty(n,e,t,s){const r=WS(n,s,e),o=e[Yt],d=Qx(s.parent||e[Yi],s,e);if(null!=r)if(Array.isArray(t))for(let h=0;hlt&&XS(n,e,lt,!1),Gl(c?2:0,r),t(s,r)}finally{nl(o),Gl(c?3:1,r)}}function ap(n,e,t){if(Lh(e)){const s=k(null);try{const r=e.directiveStart,o=e.directiveEnd;for(let c=r;cnull;function dk(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?hk(s,t,m,d,h):hk(s,t,m,d)}return s}function hk(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=Ur(e,t);let g,m=e.inputs;!d&&null!=m&&(g=m[s])?(aD(n,t,g,s,r),Pi(e)&&function hR(n,e){const t=ji(e,n);16&t[Ze]||(t[Ze]|=64)}(t,e.index)):3&e.type?(s=function dR(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 nD(n,e,t,s){if(Ta()){const r=null===s?null:{"":-1},o=function yR(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,Fm(n,t,r.hostVars,nn),r)}function cl(n,e,t,s,r,o){const c=Ur(n,e);iD(e[Yt],c,o,n.value,t,s,r)}function iD(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 CR(n,e,t,s,r,o){const c=o[e];if(null!==c)for(let d=0;d0&&(t[r-1][Fn]=e),s{Q_(n.lView)},consumerOnSignalRead(){this.lView[Yr]=this}};const RR={...$,consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{let e=Xl(n.lView);for(;e&&!cD(e[xe]);)e=Xl(e);e&&DE(e)},consumerOnSignalRead(){this.lView[Yr]=this}};function cD(n){return 2!==n.type}const up=100;function Oy(n,e=!0,t=0){const s=n[Mi],r=s.rendererFactory;r.begin?.();try{!function OR(n,e){const t=AE();try{LE(!0),dD(n,e);let s=0;for(;zc(n);){if(s===up)throw new le(103,!1);s++,dD(n,1)}}finally{LE(t)}}(n,t)}catch(c){throw e&&Ry(n,c),c}finally{r.end?.(),s.inlineEffectRunner?.flush()}}function FR(n,e,t,s){const r=e[Ze];if(!(256&~r))return;e[Mi].inlineEffectRunner?.flush(),Hw(e);let d=!0,h=null,m=null;cD(n)?(m=TR(e),h=Fe(m)):null===R()?(d=!1,m=function PR(n){const e=n[Yr]??Object.create(RR);return e.lView=n,e}(e),h=Fe(m)):e[Yr]&&(pe(e[Yr]),e[Yr]=null);try{SE(e),PE(n.bindingStartIndex),null!==t&&ak(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 Sk(n){for(let e=rx(n);null!==e;e=ox(e)){if(!(e[Ze]&Br.HasTransplantedViews))continue;const t=e[Ma];for(let s=0;s-1&&(rp(e,s),ba(t,s))}this._attachedToViewContainer=!1}ky(this._lView[xe],this._lView)}onDestroy(e){Xu(this._lView,e)}markForCheck(){Ym(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Ze]&=-129}reattach(){K_(this._lView),this._lView[Ze]|=128}detectChanges(){this._lView[Ze]|=1024,Oy(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&&$S(t,this._lView),qx(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&&Gx(s,this._lView),K_(this._lView)}}class dr{static#e=this.__NG_ELEMENT_ID__=lu}const Ek=dr,YR=class extends Ek{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=lp(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:t,dehydratedView:s});return new Cd(r)}};function lu(){return Bm(us(),Se())}function Bm(n,e){return 4&n.type?new YR(e,n,ud(n,e)):null}function mD(n,e,t){const s=e.insertBeforeIndex,r=Array.isArray(s)?s[0]:s;return null===r?Xx(n,0,t):kn(t[r])}function Ak(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];Pk(s)||WR(s,e)&&null===qR(s)&&GR(s,e.index)}}function Pk(n){return!(64&n.type)}function WR(n,e){return Pk(e)||n.index>e.index}function qR(n){const e=n.insertBeforeIndex;return Array.isArray(e)?e[0]:e}function GR(n,e){const t=n.insertBeforeIndex;Array.isArray(t)?t[0]=e:(Zx(mD,Ak),n.insertBeforeIndex=e)}function pp(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=ZS(n,t,64,null,null);return Lk(e,s),s}function fp(n,e){const t=e[n.currentCaseLViewIndex];return null===t?t:t<0?~t:t}function Yy(n){return n>>>17}function By(n){return(131070&n)>>>1}function Ok(n){return-1===n}function Vy(n,e,t){n.index=0;const s=fp(e,t);n.removes=null!==s?e.remove[s]:An}function jy(n){if(n.index0)return n.lView[e];{n.stack.push(n.index,n.removes);const t=~e;return Vy(n,n.lView[xe].data[t],n.lView),jy(n)}}return 0===n.stack.length?null:(n.removes=n.stack.pop(),n.index=n.stack.pop(),jy(n))}function ZR(){const n={stack:[],index:-1};return function e(t,s){for(n.lView=s;n.stack.length;)n.stack.pop();return Vy(n,t.value,s),jy.bind(null,n)}}new RegExp(`^(\\d+)*(${hS}|${Cm})*(.*)`);let Yk=()=>{};let dl=()=>{};let zk=()=>null;function oc(n,e){return zk(n,e)}class kd{}const Wm=new Ye("",{providedIn:"root",factory:()=>!1}),wD=(new Ye("",{providedIn:"root",factory:()=>!1}),new Ye("")),Gy=new Ye("");class gO{}class qk{}const Gk="ngComponent";class yO{resolveComponentFactory(e){throw function _O(n){const e=Error(`No component factory found for ${fn(n)}.`);return e[Gk]=n,e}(e)}}class SD{static#e=this.NULL=new yO}class Td{}class Ui{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function cu(){const n=Se(),t=ji(us().index,n);return(es(t)?t:n)[Yt]}()}class DD{static#e=this.\u0275prov=Ae({token:DD,providedIn:"root",factory:()=>null})}function CD(n){return void 0!==n.ngModule}function uu(n){return!!Ci(n)}function Ky(n){return!!Es(n)}function Qk(n){return!!Bn(n)}function qm(n){return!!rn(n)}function bO(n,e){if(Or(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)||Bn(n)||Es(n);if(null==t)throw CD(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 vO(n){return rn(n)?"component":Bn(n)?"directive":Es(n)?"pipe":"type"}(n)}, imported from "${$n(e)}", is not standalone. Did you forget to add the standalone: true flag?`)}}const MD=!0;class Xk{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))qm(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(!uu(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(uu(r)){const o=this.getNgModuleScope(r);du(o.exported.directives,s.compilation.directives),du(o.exported.pipes,s.compilation.pipes)}else{if(!Ki(r)){s.compilation.isPoisoned=!0;break}if(Qk(r)||qm(r))s.compilation.directives.add(r);else{if(!Ky(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(uu(r)||Ki(r)){s.compilation.isPoisoned=!0;break}Ky(r)?s.compilation.pipes.add(r):s.compilation.directives.add(r)}for(const r of xo(t.exports))if(uu(r)){const o=this.getNgModuleScope(r);du(o.exported.directives,s.exported.directives),du(o.exported.pipes,s.exported.pipes),du(o.exported.directives,s.compilation.directives),du(o.exported.pipes,s.compilation.pipes)}else Ky(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{bO(o,e)}catch{return s.compilation.isPoisoned=!0,s}if(uu(o)){s.compilation.ngModules.add(o);const c=this.getNgModuleScope(o);if(c.exported.isPoisoned)return s.compilation.isPoisoned=!0,s;du(c.exported.directives,s.compilation.directives),du(c.exported.pipes,s.compilation.pipes)}else if(Ky(o))s.compilation.pipes.add(o);else{if(!Qk(o)&&!qm(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 du(n,e){for(const t of n)e.add(t)}const vp=new Xk;function Qy(n,e,t){let s=t?n.styles:null,r=t?n.classes:null,o=0;if(null!==e)for(let c=0;c0&&nk(n,t,o.join(" "))}}(T,Re,P,s),void 0!==t&&function DO(n,e,t){const s=n.projection=[];for(let r=0;r0;)this.remove(this.length-1)}get(e){const t=iT(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=oc(this._lContainer,e.ssrId),d=e.createEmbeddedViewImpl(t||{},o,c);return this.insertImpl(d,r,Dd(this._hostTNode,c)),d}createComponent(e,t,s,r,o){const c=e&&!Wu(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 Gm(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=oc(this._lContainer,g?.id??null),T=S?.firstChild??null,I=h.create(m,r,T,o);return this.insertImpl(I.hostView,d,Dd(this._hostTNode,S)),I}insert(e,t){return this.insertImpl(e,t,!0)}insertImpl(e,t,s){const r=e._lView;if(function Ql(n){return qs(n[Bs])}(r)){const d=this.indexOf(e);if(-1!==d)this.detach(d);else{const h=r[Bs],m=new sT(h,h[Yi],h[Bs]);m.detach(m.indexOf(e))}}const o=this._adjustIndex(t),c=this._lContainer;return cp(c,r,o,s),e.attachToViewContainerRef(),Yl(Id(c),o,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=iT(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),s=rp(this._lContainer,t);s&&(ba(Id(this._lContainer),t),ky(s[xe],s))}detach(e){const t=this._adjustIndex(e,-1),s=rp(this._lContainer,t);return s&&null!=ba(Id(this._lContainer),t)?new Cd(s):null}_adjustIndex(e,t=0){return e??this.length+t}};function iT(n){return n[8]}function Id(n){return n[8]||(n[8]=[])}function xD(n,e){let t;const s=e[n.index];return qs(s)?t=s:(t=mk(s,e,null,n),e[n.index]=t,Py(e,t)),rT(t,e,n,s),new sT(t,n,e)}let rT=kr,kD=()=>!1;function TD(n,e,t){return kD(n,e,t)}function kr(n,e,t,s){if(n[to])return;let r;r=8&t.type?kn(s):function xO(n,e){const t=n[Yt],s=t.createComment(""),r=Ur(e,n);return vd(t,KS(t,r),s,function J2(n,e){return n.nextSibling(e)}(t,r),!1),s}(e,t),n[to]=r}class ID{constructor(e){this.queryList=e,this.matches=null}clone(){return new ID(this.queryList)}setDirty(){this.queryList.setDirty()}}class Xy{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 AD{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 ds(n,e){ue()||Kt(),Te(n,e(n.value))}(s,r),t.asReadonly=YD.bind(t),t}function YD(){const n=this[D];if(void 0===n.readonlyFn){const e=()=>this();e[D]=n,n.readonlyFn=e}return n.readonlyFn}function BD(n){return Zy(n)&&"function"==typeof n.set}function Jy(n,e){let t;const s=ae(()=>{t._dirtyCounter();const r=function gT(n,e){const t=n._lView,s=n._queryIndex;if(void 0===t||void 0===s||4&t[Ze])return e?void 0:An;const r=RD(t,s),o=pT(t,s);return r.reset(o,rS),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=Ad(0),t._flatValue=void 0,s}function VD(){return Jy(!0,!1)}function mT(){return Jy(!0,!0)}function ac(n,e){const t=n[D];t._lView=Se(),t._queryIndex=e,t._queryList=RD(t._lView,e),t._queryList.onDirty(()=>t._dirtyCounter.update(s=>s+1))}function _T(n,e){return VD()}_T.required=function LO(n,e){return mT()};function jD(n,e){return VD()}jD.required=function HD(n,e){return mT()};function UD(n){const e=Object.create(vh),t=new QE;function s(){return K(e),yT(e.value),e.value}return e.value=n,s[D]=e,s.asReadonly=YD.bind(s),s.set=r=>{e.equal(e.value,r)||(Te(e,r),t.emit(r))},s.update=r=>{yT(e.value),s.set(r(e.value))},s.subscribe=t.subscribe.bind(t),s.destroyRef=t.destroyRef,s}function yT(n){if(n===_a)throw new le(952,!1)}function Qm(n){return UD(n)}Qm.required=function vT(){return UD(_a)};class Xm{}const zD=Ve("ContentChildren",(n,e={})=>({selector:n,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:true,...e}),Xm),Dp=Ve("ContentChild",(n,e={})=>({selector:n,first:!0,isViewQuery:!1,descendants:!0,...e}),Xm),RO=Ve("ViewChildren",(n,e={})=>({selector:n,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:true,...e}),Xm),qe=Ve("ViewChild",(n,e)=>({selector:n,first:!0,isViewQuery:!0,descendants:!0,...e}),Xm);function OO(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(YO))}return o}return Cp.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 BO(n){Ld.delete(n)}(o));e.push(h)}),function wT(){const n=Cp;return Cp=new Map,n}(),Promise.all(e).then(()=>{})}let Cp=new Map;const Ld=new Set;function bT(n){return!!(n.templateUrl&&!n.hasOwnProperty("template")||n.styleUrls&&n.styleUrls.length||n.styleUrl)}function YO(n){return"string"==typeof n?n:n.text()}const ev=new Map;let VO=!0;function DT(n,e){(function ST(n,e,t){if(e&&e!==t&&VO)throw new Error(`Duplicate module registered for ${n} - ${fn(e)} vs ${fn(e.name)}`)})(e,ev.get(e)||null,n),ev.set(e,n)}function GD(n){return Object.getPrototypeOf(n.prototype).constructor}function Tn(n){let e=GD(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=nv(n.inputs),c.inputTransforms=nv(n.inputTransforms),c.declaredInputs=nv(n.declaredInputs),c.outputs=nv(n.outputs);const d=r.hostBindings;d&&$O(n,d);const h=r.viewQuery,m=r.contentQueries;if(h&&UO(n,h),m&&CT(n,m),KD(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=Ka(r.hostAttrs,t=Ka(t,r.hostAttrs))}}(s)}function KD(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 nv(n){return n===wo?{}:n===An?[]:n}function UO(n,e){const t=n.viewQuery;n.viewQuery=t?(s,r)=>{e(s,r),t(s,r)}:e}function CT(n,e){const t=n.contentQueries;n.contentQueries=t?(s,r,o)=>{e(s,r,o),t(s,r,o)}:e}function $O(n,e){const t=n.hostBindings;n.hostBindings=t?(s,r)=>{e(s,r),t(s,r)}:e}const MT=["providersResolver"],ET=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function QD(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)TT(sv(o),e,t)}else TT(s,e,t)}function TT(n,e,t){const s=Bn(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),QD(s,e,t),t.set(s,n),e.push(s)}function sv(n){return"function"==typeof n?{directive:gt(n),inputs:wo,outputs:wo}:{directive:gt(n.directive),inputs:IT(n.inputs),outputs:IT(n.outputs)}}function IT(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 ZD extends XD{constructor(e){super(),this.moduleType=e}create(e){return new rv(this.moduleType,e,[])}}class JD extends Pd{constructor(e){super(),this.componentFactoryResolver=new Zk(this),this.instance=null;const t=new cn([...e.providers,{provide:Pd,useValue:this},{provide:SD,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 Zm(n,e,t=null){return new JD({providers:n,parent:e,debugName:t,runEnvironmentInitializers:!0}).injector}class ov{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(e,t,s,r){if(!this.cachedInjectors.has(e)){const o=s.length>0?Zm(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:ov,providedIn:"environment",factory:()=>new ov})}function av(n){return!!e0(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function e0(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function hl(n,e,t){return n[e]=t}function Jm(n,e){return n[e]}function ti(n,e,t){const s=n[e];return!Object.is(s,t)&&(n[e]=t,!0)}function hu(n,e,t,s){const r=ti(n,e,t);return ti(n,e+1,s)||r}function lv(n,e,t,s,r){const o=hu(n,e,t,s);return ti(n,e+2,r)||o}function la(n,e,t,s,r,o){const c=hu(n,e,t,s);return hu(n,e+2,r,o)||c}function Ep(n){return!(32&~n.flags)}function eg(n,e,t,s,r,o,c,d,h,m){const g=t+lt,S=e.firstCreatePass?function Pj(n,e,t,s,r,o,c,d,h){const m=e.consts,g=Sd(e,n,4,c||null,d||null);nD(e,t,g,Ct(m,h)),wr(e,g);const S=g.tView=tD(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];Ia(S,!1);const T=t0(e,n,S,t);pm()&&Ty(e,n,T,S),Mr(T,n);const I=mk(T,n,T,S);return n[g]=I,Py(n,I),TD(I,S,n),ql(S)&&JS(e,n,S),null!=h&&eD(n,S,m),S}let t0=xp;function xp(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 n0=0,ZO=1;var pi,kp;!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"}(kp||(kp={}));const Ir=0,tg=1,ng=2,cv=3,PT=4,s0=5;var i0,Od;function uv(n,e,t){const s=1===n?s0:PT;null===e[s]&&(e[s]=[]),e[s].push(t)}function r0(n,e){const t=1===n?s0:PT,s=e[t];if(null!==s){for(const r of s)r();e[t]=null}}function Rd(n){r0(1,n),r0(0,n)}!function(n){n[n.Manual=0]="Manual",n[n.Playthrough=1]="Playthrough"}(i0||(i0={})),function(n){n[n.EarlyRead=0]="EarlyRead",n[n.Write=1]="Write",n[n.MixedReadWrite=2]="MixedReadWrite",n[n.Read=3]="Read"}(Od||(Od={}));class sg{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=Ae({token:sg,providedIn:"root",factory:()=>new sg})}class Io{constructor(){this.ngZone=me(Mt),this.scheduler=me(kd),this.errorHandler=me(Mo,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[Od.EarlyRead,Od.Write,Od.MixedReadWrite,Od.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 JO{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 ig(n,e){!e?.injector&&Th();const t=e?.injector??me(rs);return ko(t)?(Tr("NgAfterNextRender"),RT(n,t,e,!0)):OT}function RT(n,e,t,s){const r=e.get(sg);r.impl??=e.get(Io);const o=t?.phase??Od.MixedReadWrite,c=!0!==t?.manualCleanup?e.get(ei):null,d=new JO(r.impl,function tN(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 OT={destroy(){}};function Tp(n){return n+1}function Nd(n,e){n[xe];return n[Tp(e.index)]}function Ao(n,e){const t=Tp(e.index);return n.data[t]}function o0(n,e){return e===pi.Placeholder?n.placeholderBlockConfig?.[n0]??null:e===pi.Loading?n.loadingBlockConfig?.[n0]??null:null}function FT(n){return n.loadingBlockConfig?.[ZO]??null}function YT(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 Ip={passive:!0,capture:!0},a0=new WeakMap,dv=new WeakMap,Yd=new WeakMap,BT=["click","keydown"],hv=["mouseenter","focusin"];let Ap=null,l0=0;class c0{constructor(){this.callbacks=new Set,this.listener=()=>{for(const e of this.callbacks)e()}}}function VT(n,e){let t=dv.get(n);if(!t){t=new c0,dv.set(n,t);for(const s of BT)n.addEventListener(s,t.listener,Ip)}return t.callbacks.add(e),()=>{const{callbacks:s,listener:r}=t;if(s.delete(e),0===s.size){dv.delete(n);for(const o of BT)n.removeEventListener(o,r,Ip)}}}function jT(n,e){let t=a0.get(n);if(!t){t=new c0,a0.set(n,t);for(const s of hv)n.addEventListener(s,t.listener,Ip)}return t.callbacks.add(e),()=>{const{callbacks:s,listener:r}=t;if(s.delete(e),0===s.size){for(const o of hv)n.removeEventListener(o,r,Ip);a0.delete(n)}}}function u0(n,e,t){const s=t.get(Mt);let r=Yd.get(n);return Ap=Ap||s.runOutsideAngular(()=>new IntersectionObserver(o=>{for(const c of o)c.isIntersecting&&Yd.has(c.target)&&s.run(Yd.get(c.target).listener)})),r||(r=new c0,s.runOutsideAngular(()=>Ap.observe(n)),Yd.set(n,r),l0++),r.callbacks.add(e),()=>{Yd.has(n)&&(r.callbacks.delete(e),0===r.callbacks.size&&(Ap?.unobserve(n),Yd.delete(n),l0--),0===l0&&(Ap?.disconnect(),Ap=null))}}function Lp(n,e,t,s,r,o,c){const d=n[Js],h=d.get(Mt);ig({read:function m(){if(el(n))return;const g=Nd(n,e),S=g[tg];if(S!==kp.Initial&&S!==pi.Placeholder)return;const T=function HT(n,e,t){return null==t?n:t>=0?CE(t,n):n[e.index][xs]??null}(n,e,s);if(!T)return void ig({read:m},{injector:d});if(el(T))return;const I=function UT(n,e){return Kl(lt+e,n)}(T,t),P=r(I,()=>{h.run(()=>{n!==T&&Rw(T,P),o()})},d);n!==T&&Xu(T,P),uv(c,g,P)}},{injector:d})}function $T(n,e){const s=e[Js].get(Bd);return s.add(n),()=>s.remove(n)}class Bd{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=me(Mt),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:Bd,providedIn:"root",factory:()=>new Bd})}function zT(n){return(e,t)=>aN(n,e,t)}function aN(n,e,t){const r=t[Js].get(pv);return r.add(n,e),()=>r.remove(e)}class pv{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}R_(e,r,t,s)}removeFromQueue(e,t){let s=-1;for(let r=0;r-1&&Qr(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&&Qr(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:pv,providedIn:"root",factory:()=>new pv})}new Ye("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR");const lN=new Ye("");function fv(n){return n.get(lN,null,{optional:!0})?.behavior!==i0.Manual&&ko(n)}let d0=null;function XT(n){const e=Se(),t=us();if(Pp(e,t),ko(e[Js])){const s=n(()=>Rp(e,t),e);uv(0,Nd(e,t),s)}}function p0(n){const e=Se();if(ko(e[Js])){const t=us(),r=Ao(e[xe],t);if(r.loadingState===hi.NOT_STARTED){uv(1,Nd(e,t),n(()=>og(r,e,t),e))}}}function lc(n,e,t,s=!1){const r=t[Bs],o=r[xe];if(el(r))return;const c=Nd(r,e);if(JT(c[tg],n)&&JT(c[Ir]??-1,n)){const h=r[Js],m=Ao(o,e),S=s||!ko(h)||null===FT(m)&&null===o0(m,pi.Loading)&&!o0(m,pi.Placeholder)?ZT:d0;try{S(n,c,t,e,r)}catch(T){Ry(r,T)}}}function f0(n,e,t){return n.get(ov).getOrCreateInjector(e,n,t,"")}function ZT(n,e,t,s,r){const o=function sN(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[tg]=n;const c=r[xe],h=Rh(c,o+lt),m=0;let g;if(au(t,m),n===pi.Complete){const I=Ao(c,s),P=I.providers;P&&P.length>0&&(g=function pN(n,e,t){if(n instanceof ra){const r=n.injector,c=f0(n.parentInjector,e,t);return new ra(r,c)}const s=n.get(Ot);if(s!==n){const r=f0(s,e,t);return new ra(n,r)}return f0(n,e,t)}(r[Js],I,P))}const S=oc(t,h.tView.ssrId),T=lp(r,h,null,{dehydratedView:S,injector:g});cp(t,T,m,Dd(h,S)),Ym(T,2)}}function fN(n,e,t,s,r){const o=Date.now(),d=Ao(r[xe],s);if(null===e[ng]||e[ng]<=o){e[ng]=null;const h=FT(d),m=null!==e[cv];if(n!==pi.Loading||null===h||m){n>pi.Loading&&m&&(e[cv](),e[cv]=null,e[Ir]=null),ZT(n,e,t,s,r);const g=o0(d,n);null!==g&&(e[ng]=o+g,mN(g,e,s,t,r))}else{e[Ir]=n;const g=mN(h,e,s,t,r);e[cv]=g}}else e[Ir]=n}function mN(n,e,t,s,r){return aN(n,()=>{const c=e[Ir];e[ng]=null,e[Ir]=null,null!==c&&lc(c,t,s)},r)}function JT(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)||Bn(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);Ry(e,Y)}}else{n.loadingState=hi.COMPLETE;const P=c.tView;if(T.length>0){P.directiveRegistry=YT(P.directiveRegistry,T);const z=Jo(!1,...T.map(Q=>Q.type));n.providers=z}I.length>0&&(P.pipeRegistry=YT(P.pipeRegistry,I))}}),n.loadingPromise):(n.loadingPromise=Promise.resolve().then(()=>{n.loadingPromise=null,n.loadingState=hi.COMPLETE,h.remove(m)}),n.loadingPromise)}function Pp(n,e){const t=n[e.index];lc(pi.Placeholder,e,t)}function e1(n,e,t){n.loadingPromise.then(()=>{n.loadingState===hi.COMPLETE?lc(pi.Complete,e,t):n.loadingState===hi.FAILED&&lc(pi.Error,e,t)})}function Rp(n,e){const t=n[xe],s=n[e.index];if(!fv(n[Js]))return;const o=Nd(n,e),c=Ao(t,e);switch(Rd(o),c.loadingState){case hi.NOT_STARTED:lc(pi.Loading,e,s),m0(c,n,e),c.loadingState===hi.IN_PROGRESS&&e1(c,e,s);break;case hi.IN_PROGRESS:lc(pi.Loading,e,s),e1(c,e,s);break;case hi.COMPLETE:lc(pi.Complete,e,s);break;case hi.FAILED:lc(pi.Error,e,s)}}function Pa(n,e,t,s){const r=Se();if(ti(r,sa(),e)){mn();cl(Ps(),r,n,e,t,s)}return Pa}function Op(n,e){let t=!1,s=tl();for(let o=1;o>17&32767}function j(n){return 2|n}function Z(n){return(131068&n)>>2}function de(n,e){return-131069&n|e<<2}function Be(n){return 1|n}function dt(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||qa(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]=de(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]=de(n[d+1],s)),d=s;else n[s+1]=v(h,0),0===d?d=s:n[h+1]=de(n[h+1],s),h=s;m&&(n[s+1]=j(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&&qa(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];ca(h,e)&&(d=!0,n[c+1]=s?Be(m):j(m)),c=s?M(m):Z(m)}d&&(n[t+1]=s?j(r):Be(r))}function ca(n,e){return null===n||null==e||(Array.isArray(n)?n[1]:n)===e||!(!Array.isArray(n)||"string"!=typeof e)&&qa(n,e)>=0}const Wn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ug(n){return n.substring(Wn.key,Wn.keyEnd)}function _N(n){return n.substring(Wn.value,Wn.valueEnd)}function jj(n,e){const t=Wn.textEnd;return t===e?-1:(e=Wn.keyEnd=function g7(n,e,t){for(;e32;)e++;return e}(n,Wn.key=e,t),mv(n,e,t))}function Hj(n,e){const t=Wn.textEnd;let s=Wn.key=mv(n,e,t);return t===s?-1:(s=Wn.keyEnd=function _7(n,e,t){let s;for(;e=65&&(-33&s)<=90||s>=48&&s<=57);)e++;return e}(n,s,t),s=$j(n,s,t,58),s=Wn.value=mv(n,s,t),s=Wn.valueEnd=function y7(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),$j(n,s,t,59))}function Uj(n){Wn.key=0,Wn.keyEnd=0,Wn.value=0,Wn.valueEnd=0,Wn.textEnd=n.length}function mv(n,e,t){for(;e=0;t=Hj(e,t))Qj(n,ug(e),_N(e))}function qj(n){uc(M7,fu,n,!0)}function fu(n,e){for(let t=function dg(n){return Uj(n),jj(n,mv(n,0,Wn.textEnd))}(e);t>=0;t=jj(e,t))Xr(n,ug(e),!0)}function cc(n,e,t,s){const r=Se(),o=mn(),c=Zl(2);if(o.firstUpdatePass&&Kj(o,n,c,s),e!==nn&&ti(r,c,e)){Xj(o,o.data[Hi()],r,r[Yt],n,r[c+1]=function x7(n,e){return null==n||""===n||("string"==typeof e?n+=e:"object"==typeof n&&(n=fn(lo(n)))),n}(e,t),s,c)}}function uc(n,e,t,s){const r=mn(),o=Zl(2);r.firstUpdatePass&&Kj(r,null,o,s);const c=Se();if(t!==nn&&ti(c,o,t)){const d=r.data[Hi()];if(Jj(d,s)&&!Gj(r,o)){let h=s?d.classesWithoutHost:d.stylesWithoutHost;null!==h&&(t=Af(h,t||"")),yN(r,d,c,t,s)}else!function E7(n,e,t,s,r,o,c,d){r===nn&&(r=An);let h=0,m=0,g=0=n.expandoStartIndex}function Kj(n,e,t,s){const r=n.data;if(null===r[t+1]){const o=r[Hi()],c=Gj(n,t);Jj(o,s)&&null===e&&!c&&(e=!1),e=function b7(n,e,t,s){const r=Vw(n);let o=s?e.residualClasses:e.residualStyles;if(null===r)0===(s?e.classBindings:e.styleBindings)&&(t=vN(null,n,e,t,s),t=g0(t,e.attrs,s),o=null);else{const c=e.directiveStylingLast;if(-1===c||n[c]!==r)if(t=vN(r,n,e,t,s),null===o){let h=function w7(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=vN(null,n,e,h[1],s),h=g0(h,e.attrs,s),function S7(n,e,t,s){const r=t?e.classBindings:e.styleBindings;n[M(r)]=s}(n,e,s,h))}else o=function D7(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?N_(T,s):g===s?T:void 0;if(m&&!i1(I)&&(I=N_(h,s)),i1(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=N_(h,s))}return d}function i1(n){return void 0!==n}function Jj(n,e){return!!(n.flags&(e?8:16))}class Y7{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 bN(n,e,t,s,r){return n===t&&Object.is(e,s)?1:Object.is(r(n,e),r(t,s))?-1:0}function wN(n,e,t,s){return!(void 0===e||!e.has(s))&&(n.attach(t,e.get(s)),e.delete(s),!0)}function eH(n,e,t,s,r){if(wN(n,e,s,t(s,r)))n.updateValue(s,r);else{const o=n.create(s,r);n.attach(s,o)}}function tH(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 nH{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 j7{constructor(e,t,s){this.lContainer=e,this.$implicit=t,this.$index=s}get $count(){return this.lContainer.length-xs}}class $7{constructor(e,t,s){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=s}}class W7 extends Y7{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)[cs].$implicit}attach(e,t){const s=t[cr];this.needsIndexUpdate||=e!==this.length,cp(this.lContainer,t,e,Dd(this.templateTNode,s))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,function G7(n,e){return rp(n,e)}(this.lContainer,e)}create(e,t){const s=oc(this.lContainer,this.templateTNode.tView.ssrId),r=lp(this.hostLView,this.templateTNode,new j7(this.lContainer,t,e),{dehydratedView:s});return this.operationsCounter?.recordCreate(),r}destroy(e){ky(e[xe],e),this.operationsCounter?.recordDestroy()}updateValue(e,t){this.getLView(e)[cs].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(B(!0),xy(s,r,qw()));function DN(n,e,t){const s=Se(),r=mn(),o=n+lt,c=r.firstCreatePass?function J7(n,e,t,s,r){const o=e.consts,c=Ct(o,s),d=Sd(e,n,8,"ng-container",c);return null!==c&&Qy(d,c,!0),nD(e,t,d,Ct(o,r)),null!==e.queries&&e.queries.elementStart(e,d),d}(o,r,s,e,t):r.data[o];Ia(c,!0);const d=rH(r,s,c,n);return s[o]=d,pm()&&Ty(r,s,d,c),Mr(d,s),ql(c)&&(JS(r,s,c),ap(r,c,s)),null!=t&&eD(s,c),DN}function CN(){let n=us();const e=mn();return Yw()?X_():(n=n.parent,Ia(n,!1)),e.firstCreatePass&&(wr(e,n),Lh(n)&&e.queries.elementEnd(n)),CN}let rH=(n,e,t,s)=>(B(!0),US(e[Yt],""));const pg=void 0;var i9=["en",[["a","p"],["AM","PM"],pg],[["AM","PM"],pg,pg],[["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"]],pg,[["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"]],pg,[["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}",pg,"{1} 'at' {0}",pg],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function s9(n){const t=Math.floor(Math.abs(n)),s=n.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===s?1:5}];let gv={};function Lo(n){const e=function r9(n){return n.toLowerCase().replace(/_/g,"-")}(n);let t=cH(e);if(t)return t;const s=e.split("-")[0];if(t=cH(s),t)return t;if("en"===s)return i9;throw new le(701,!1)}function lH(n){return Lo(n)[js.PluralCase]}function cH(n){return n in gv||(gv[n]=Ds.ng&&Ds.ng.common&&Ds.ng.common.locales&&Ds.ng.common.locales[n]),gv[n]}var js;!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"}(js||(js={}));const o9=["zero","one","two","few","many"];const l1="en-US",c1={marker:"element"},u1={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 uH=l1;let y0=0,v0=0;function dH(n,e,t){const s=n[Yt];switch(t){case Node.COMMENT_NODE:return US(s,e);case Node.TEXT_NODE:return jS(s,e);case Node.ELEMENT_NODE:return xy(s,e,null)}}let b0=(n,e,t,s)=>(B(!0),dH(n,t,s));function hH(n,e,t,s){const r=t[Yt];let c,o=null;for(let d=0;d>>1,I=e[++d],P=e[++d];iD(r,Kl(T,t),null,null,I,P,null)}else switch(h){case u1:const m=e[++d],g=e[++d];if(null===t[g]){Mr(t[g]=b0(t,g,m,Node.COMMENT_NODE),t)}break;case c1:const S=e[++d],T=e[++d];if(null===t[T]){Mr(t[T]=b0(t,T,S,Node.ELEMENT_NODE),t)}}}}function pH(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?iD(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&&HS(e[Yt],Y,h);break;case 2:g9(n,pp(n,S),e,h);break;case 3:fH(n,pp(n,S),s,e)}}}}else{const h=t[o+1];if(h>0&&!(3&~h)){const g=pp(n,h>>>2);e[g.currentCaseLViewIndex]<0&&fH(n,g,s,e)}}o+=d}}function fH(n,e,t,s){let r=s[e.currentCaseLViewIndex];if(null!==r){let o=y0;r<0&&(r=s[e.currentCaseLViewIndex]=~r,o=-1),pH(n,s,e.update[r],t,o)}}function g9(n,e,t,s){const r=function _9(n,e){let t=n.cases.indexOf(e);if(-1===t)switch(n.type){case 1:{const s=function a9(n,e){const t=lH(e)(parseInt(n,10)),s=o9[t];return void 0!==s?s:"other"}(e,function u9(){return uH}());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(fp(e,t)!==r&&(mH(n,e,t),t[e.currentCaseLViewIndex]=null===r?null:~r,null!==r)){const c=t[e.anchorIdx];c&&hH(n,e.create[r],t,c),function pO(n,e,t){dl(n,e,t)}(t,e.anchorIdx,r)}}function mH(n,e,t){let s=fp(e,t);if(null!==s){const r=e.remove[s];for(let o=0;o0){const d=Kl(c,t);null!==d&&op(t[Yt],d)}else mH(n,pp(n,~c),t)}}}const d1=/\ufffd(\d+):?\d*\ufffd/gi,y9=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,v9=/\ufffd(\d+)\ufffd/,_H=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,w0="\ufffd",b9=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,w9=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,S9=/\uE500/g;function C9(n,e,t,s,r,o){const c=um(),d=[],h=[],m=[[]],g=[[]];r=function k9(n,e){if(Ok(e))return bH(n);{const t=n.indexOf(`:${e}${w0}`)+2+e.toString().length,s=n.search(new RegExp(`${w0}\\/\\*\\d+:${e}${w0}`));return bH(n.substring(t,s))}}(r,o);const S=function D9(n){return n.replace(S9," ")}(r).split(w9);for(let T=0;Tt.length&&t.push(h)}return{type:s,mainBinding:r,cases:e,values:t}}function MN(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);_H.test(h)?s.push(T9(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 I9(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=kx(su()).getInertBodyElement(d),P=OS(I)||I;return P?SH(n,e,t,s,r,m,g,S,P,o,h,0):0}function SH(n,e,t,s,r,o,c,d,h,m,g,S){let T=0,I=h.firstChild;for(;I;){const P=Fm(e,s,1,null);switch(I.nodeType){case Node.ELEMENT_NODE:const Y=I,z=Y.tagName.toLowerCase();if(kS.hasOwnProperty(z)){EN(o,c1,z,m,P),e.data[P]=z;const fe=Y.attributes;for(let Re=0;Re>>Po.SHIFT;let S=n[g],T=!1;null===S&&(S=n[g]=b0(n,g,d,h?Node.COMMENT_NODE:Node.TEXT_NODE),T=pm()),m&&null!==t&&T&&vd(r,t,S,s,!1)}}(r,h.create,g,S),RE(!0)}function EH(){RE(!1)}let kH=(n,e,t)=>{};function pl(n,e,t,s){const r=Se(),o=mn(),c=us();return xN(o,r,r[Yt],c,n,e,s),pl}function xN(n,e,t,s,r,o,c){const d=ql(s),m=n.firstCreatePass&&_k(n),g=e[cs],S=oD(e);let T=!0;if(3&s.type||c){const Y=Ur(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 q9(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=LH(s,e,g,o),kH(Y,r,o);const fe=t.listen(z,r,o);S.push(o,fe),m&&m.push(r,q,Q,Q+1)}}else o=LH(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?ji(n.index,e):e,5);let d=AH(e,t,s,o),h=r.__ngNextListenerFn__;for(;h;)d=AH(e,t,h,o)&&d,h=h.__ngNextListenerFn__;return d}}function K9(n,e){let t=null;const s=function Dw(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 e8=(n,e,t,s,r)=>(B(!0),jS(e[Yt],s));function AN(n,e,t){const s=Se(),r=ag(s,n,e,t);return r!==nn&&rc(s,Hi(),r),AN}const h8={};function LN(n,e,t,s,r){if(n=gt(n),Array.isArray(n))for(let o=0;o>20;if(Xa(n)||!n.multi){const I=new ts(m,r,he),P=RN(h,e,r?g:g+T,S);-1===P?(sy(ty(d,c),o,h),PN(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=RN(h,e,g+T,S),P=RN(h,e,g,g+T),Y=I>=0&&t[I],z=P>=0&&t[P];if(r&&!z||!r&&!Y){sy(ty(d,c),o,h);const Q=function vq(n,e,t,s,r){const o=new ts(n,t,he);return o.multi=[],o.index=e,o.componentProviders=0,f8(o,r,s&&!t),o}(r?yq:_q,t.length,r,s,m);!r&&z&&(t[P].providerFactory=Q),PN(o,n,e.length,0),e.push(h),d.directiveStart++,d.directiveEnd++,r&&(d.providerIndexes+=1048576),t.push(Q),c.push(Q)}else{PN(o,n,I>-1?I:P,f8(t[r?P:I],m,!r&&s))}!r&&s&&z&&t[P].componentProviders++}}}function PN(n,e,t,s){const r=Xa(e),o=function Mw(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 f8(n,e,t){return t&&n.componentProviders++,n.multi.push(e)-1}function RN(n,e,t,s){for(let r=t;r{t.providersResolver=(s,r)=>function gq(n,e,t){const s=mn();if(s.firstCreatePass){const r=Qi(n);LN(t,s.data,s.blueprint,r,!0),LN(e,s.data,s.blueprint,r,!1)}}(s,r?r(n):n,e)}}class f1{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?Zm([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:f1,providedIn:"environment",factory:()=>new f1(Ee(Ot))})}function m1(n){Tr("NgStandalone"),n.getStandaloneInjector=e=>e.get(f1).getOrCreateStandaloneInjector(n)}function g1(n){if("function"==typeof n)return n;const e=Di(n);return e.some(Or)?()=>e.map(gt).map(m8):e.map(m8)}function m8(n){return CD(n)?n.ngModule:n}function D0(n,e){const t=n[e];return t===nn?void 0:t}function _8(n,e,t,s,r,o){const c=e+t;return ti(n,c,r)?hl(n,c+1,o?s.call(o,r):s(r)):D0(n,c+1)}function y8(n,e,t,s,r,o,c){const d=e+t;return hu(n,d,r,o)?hl(n,d+2,c?s.call(c,r,o):s(r,o)):D0(n,d+2)}function v8(n,e,t,s,r,o,c,d){const h=e+t;return lv(n,h,r,o,c)?hl(n,h+3,d?s.call(d,r,o,c):s(r,o,c)):D0(n,h+3)}function b8(n,e,t,s,r,o,c,d,h){const m=e+t;return la(n,m,r,o,c,d)?hl(n,m+4,h?s.call(h,r,o,c,d):s(r,o,c,d)):D0(n,m+4)}function w8(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=QD,t.hostDirectives=s?n.map(sv):[n]):s?t.hostDirectives.unshift(...n.map(sv)):t.hostDirectives.unshift(n)};return e.ngInherit=!0,e},\u0275\u0275NgOnChangesFeature:_s,\u0275\u0275ProvidersFeature:Vn,\u0275\u0275CopyDefinitionFeature:function xT(n){let t,e=GD(n.type);t=Qi(n)?e.\u0275cmp:e.\u0275dir;const s=n;for(const r of MT)s[r]=t[r];if(Qi(t))for(const r of ET)s[r]=t[r]},\u0275\u0275InheritDefinitionFeature:Tn,\u0275\u0275InputTransformsFeature:La,\u0275\u0275StandaloneFeature:m1,\u0275\u0275nextContext:function G9(n=1){return function YP(n){return(Vt.lFrame.contextLView=CE(n,Vt.lFrame.contextLView))[cs]}(n)},\u0275\u0275namespaceHTML:function jP(){!function HP(){Vt.lFrame.currentNamespace=null}()},\u0275\u0275namespaceMathML:function VP(){Vt.lFrame.currentNamespace="math"},\u0275\u0275namespaceSVG:function BP(){Vt.lFrame.currentNamespace="svg"},\u0275\u0275enableBindings:function xE(){Vt.bindingsEnabled=!0},\u0275\u0275disableBindings:function Nw(){Vt.bindingsEnabled=!1},\u0275\u0275elementStart:o1,\u0275\u0275elementEnd:a1,\u0275\u0275element:_0,\u0275\u0275elementContainerStart:DN,\u0275\u0275elementContainerEnd:CN,\u0275\u0275elementContainer:function iH(n,e,t){return DN(n,e,t),CN(),iH},\u0275\u0275pureFunction0:function Dq(n,e,t){const s=Ei()+n,r=Se();return r[s]===nn?hl(r,s,t?e.call(t):e()):Jm(r,s)},\u0275\u0275pureFunction1:function Cq(n,e,t,s){return _8(Se(),Ei(),n,e,t,s)},\u0275\u0275pureFunction2:function Mq(n,e,t,s,r){return y8(Se(),Ei(),n,e,t,s,r)},\u0275\u0275pureFunction3:function Eq(n,e,t,s,r,o){return v8(Se(),Ei(),n,e,t,s,r,o)},\u0275\u0275pureFunction4:function xq(n,e,t,s,r,o,c){return b8(Se(),Ei(),n,e,t,s,r,o,c)},\u0275\u0275pureFunction5:function kq(n,e,t,s,r,o,c,d){const h=Ei()+n,m=Se(),g=la(m,h,t,s,r,o);return ti(m,h+4,c)||g?hl(m,h+5,d?e.call(d,t,s,r,o,c):e(t,s,r,o,c)):Jm(m,h+5)},\u0275\u0275pureFunction6:function Tq(n,e,t,s,r,o,c,d,h){const m=Ei()+n,g=Se(),S=la(g,m,t,s,r,o);return hu(g,m+4,c,d)||S?hl(g,m+6,h?e.call(h,t,s,r,o,c,d):e(t,s,r,o,c,d)):Jm(g,m+6)},\u0275\u0275pureFunction7:function Iq(n,e,t,s,r,o,c,d,h,m){const g=Ei()+n,S=Se();let T=la(S,g,t,s,r,o);return lv(S,g+4,c,d,h)||T?hl(S,g+7,m?e.call(m,t,s,r,o,c,d,h):e(t,s,r,o,c,d,h)):Jm(S,g+7)},\u0275\u0275pureFunction8:function Aq(n,e,t,s,r,o,c,d,h,m,g){const S=Ei()+n,T=Se(),I=la(T,S,t,s,r,o);return la(T,S+4,c,d,h,m)||I?hl(T,S+8,g?e.call(g,t,s,r,o,c,d,h,m):e(t,s,r,o,c,d,h,m)):Jm(T,S+8)},\u0275\u0275pureFunctionV:function Lq(n,e,t,s){return w8(Se(),Ei(),n,e,t,s)},\u0275\u0275getCurrentView:function n9(){return Se()},\u0275\u0275restoreView:function Wc(n){return Vt.lFrame.contextLView=n,n[cs]},\u0275\u0275listener:pl,\u0275\u0275projection:RH,\u0275\u0275syntheticHostProperty:function aH(n,e,t){const s=Se();if(ti(s,sa(),e)){const o=mn(),c=Ps();co(o,c,s,n,e,yk(Vw(o.data),c,s),t,!0)}return aH},\u0275\u0275syntheticHostListener:function IH(n,e){const t=us(),s=Se(),r=mn();return xN(r,s,yk(Vw(r.data),t,s),t,n,e),IH},\u0275\u0275pipeBind1:function Oq(n,e,t){const s=n+lt,r=Se(),o=ka(r,s);return C0(r,s)?_8(r,Ei(),e,o.transform,t,o):o.transform(t)},\u0275\u0275pipeBind2:function Nq(n,e,t,s){const r=n+lt,o=Se(),c=ka(o,r);return C0(o,r)?y8(o,Ei(),e,c.transform,t,s,c):c.transform(t,s)},\u0275\u0275pipeBind3:function Fq(n,e,t,s,r){const o=n+lt,c=Se(),d=ka(c,o);return C0(c,o)?v8(c,Ei(),e,d.transform,t,s,r,d):d.transform(t,s,r)},\u0275\u0275pipeBind4:function Yq(n,e,t,s,r,o){const c=n+lt,d=Se(),h=ka(d,c);return C0(d,c)?b8(d,Ei(),e,h.transform,t,s,r,o,h):h.transform(t,s,r,o)},\u0275\u0275pipeBindV:function Bq(n,e,t){const s=n+lt,r=Se(),o=ka(r,s);return C0(r,s)?w8(r,Ei(),e,o.transform,t,o):o.transform.apply(o,t)},\u0275\u0275projectionDef:PH,\u0275\u0275hostProperty:function oH(n,e,t){const s=Se();if(ti(s,sa(),e)){co(mn(),Ps(),s,n,e,s[Yt],t,!0)}return oH},\u0275\u0275property:function Wj(n,e,t){const s=Se();if(ti(s,sa(),e)){co(mn(),Ps(),s,n,e,s[Yt],t,!1)}return Wj},\u0275\u0275propertyInterpolate:function OH(n,e,t){return kN(n,"",e,"",t),OH},\u0275\u0275propertyInterpolate1:kN,\u0275\u0275propertyInterpolate2:function NH(n,e,t,s,r,o,c){const d=Se(),h=Np(d,e,t,s,r,o);if(h!==nn){co(mn(),Ps(),d,n,h,d[Yt],c,!1)}return NH},\u0275\u0275propertyInterpolate3:function FH(n,e,t,s,r,o,c,d,h){const m=Se(),g=Fp(m,e,t,s,r,o,c,d);if(g!==nn){co(mn(),Ps(),m,n,g,m[Yt],h,!1)}return FH},\u0275\u0275propertyInterpolate4:function YH(n,e,t,s,r,o,c,d,h,m,g){const S=Se(),T=lg(S,e,t,s,r,o,c,d,h,m);if(T!==nn){co(mn(),Ps(),S,n,T,S[Yt],g,!1)}return YH},\u0275\u0275propertyInterpolate5:function BH(n,e,t,s,r,o,c,d,h,m,g,S,T){const I=Se(),P=Yp(I,e,t,s,r,o,c,d,h,m,g,S);if(P!==nn){co(mn(),Ps(),I,n,P,I[Yt],T,!1)}return BH},\u0275\u0275propertyInterpolate6:function VH(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P){const Y=Se(),z=Bp(Y,e,t,s,r,o,c,d,h,m,g,S,T,I);if(z!==nn){co(mn(),Ps(),Y,n,z,Y[Yt],P,!1)}return VH},\u0275\u0275propertyInterpolate7:function jH(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z){const Q=Se(),q=cg(Q,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y);if(q!==nn){co(mn(),Ps(),Q,n,q,Q[Yt],z,!1)}return jH},\u0275\u0275propertyInterpolate8:function HH(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z,Q,q){const oe=Se(),fe=Vp(oe,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z,Q);if(fe!==nn){co(mn(),Ps(),oe,n,fe,oe[Yt],q,!1)}return HH},\u0275\u0275propertyInterpolateV:function UH(n,e,t){const s=Se(),r=Op(s,e);if(r!==nn){co(mn(),Ps(),s,n,r,s[Yt],t,!1)}return UH},\u0275\u0275pipe:function Pq(n,e){const t=mn();let s;const r=n+lt;t.firstCreatePass?(s=function Rq(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(he);try{const h=ey(!1),m=o();return ey(h),IN(t,Se(),r,m),m}finally{oi(d)}},\u0275\u0275queryRefresh:h1,\u0275\u0275queryAdvance:function J9(n=1){Z_(hm()+n)},\u0275\u0275viewQuery:TN,\u0275\u0275viewQuerySignal:function Z9(n,e,t,s){ac(n,OD(e,t,s))},\u0275\u0275loadQuery:p1,\u0275\u0275contentQuery:$H,\u0275\u0275contentQuerySignal:function X9(n,e,t,s,r){ac(e,dT(n,t,s,r))},\u0275\u0275reference:function eq(n){return ka(dm(),lt+n)},\u0275\u0275classMap:qj,\u0275\u0275classMapInterpolate1:function k7(n,e,t){uc(Xr,fu,ag(Se(),n,e,t),!0)},\u0275\u0275classMapInterpolate2:function T7(n,e,t,s,r){uc(Xr,fu,Np(Se(),n,e,t,s,r),!0)},\u0275\u0275classMapInterpolate3:function I7(n,e,t,s,r,o,c){uc(Xr,fu,Fp(Se(),n,e,t,s,r,o,c),!0)},\u0275\u0275classMapInterpolate4:function A7(n,e,t,s,r,o,c,d,h){uc(Xr,fu,lg(Se(),n,e,t,s,r,o,c,d,h),!0)},\u0275\u0275classMapInterpolate5:function L7(n,e,t,s,r,o,c,d,h,m,g){uc(Xr,fu,Yp(Se(),n,e,t,s,r,o,c,d,h,m,g),!0)},\u0275\u0275classMapInterpolate6:function P7(n,e,t,s,r,o,c,d,h,m,g,S,T){uc(Xr,fu,Bp(Se(),n,e,t,s,r,o,c,d,h,m,g,S,T),!0)},\u0275\u0275classMapInterpolate7:function R7(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P){uc(Xr,fu,cg(Se(),n,e,t,s,r,o,c,d,h,m,g,S,T,I,P),!0)},\u0275\u0275classMapInterpolate8:function O7(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z){uc(Xr,fu,Vp(Se(),n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z),!0)},\u0275\u0275classMapInterpolateV:function N7(n){uc(Xr,fu,Op(Se(),n),!0)},\u0275\u0275styleMap:pu,\u0275\u0275styleMapInterpolate1:function tq(n,e,t){pu(ag(Se(),n,e,t))},\u0275\u0275styleMapInterpolate2:function nq(n,e,t,s,r){pu(Np(Se(),n,e,t,s,r))},\u0275\u0275styleMapInterpolate3:function sq(n,e,t,s,r,o,c){pu(Fp(Se(),n,e,t,s,r,o,c))},\u0275\u0275styleMapInterpolate4:function iq(n,e,t,s,r,o,c,d,h){pu(lg(Se(),n,e,t,s,r,o,c,d,h))},\u0275\u0275styleMapInterpolate5:function rq(n,e,t,s,r,o,c,d,h,m,g){pu(Yp(Se(),n,e,t,s,r,o,c,d,h,m,g))},\u0275\u0275styleMapInterpolate6:function oq(n,e,t,s,r,o,c,d,h,m,g,S,T){pu(Bp(Se(),n,e,t,s,r,o,c,d,h,m,g,S,T))},\u0275\u0275styleMapInterpolate7:function aq(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P){pu(cg(Se(),n,e,t,s,r,o,c,d,h,m,g,S,T,I,P))},\u0275\u0275styleMapInterpolate8:function lq(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z){pu(Vp(Se(),n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z))},\u0275\u0275styleMapInterpolateV:function cq(n){pu(Op(Se(),n))},\u0275\u0275styleProp:s1,\u0275\u0275stylePropInterpolate1:function zH(n,e,t,s,r){return cc(n,ag(Se(),e,t,s),r,!1),zH},\u0275\u0275stylePropInterpolate2:function WH(n,e,t,s,r,o,c){return cc(n,Np(Se(),e,t,s,r,o),c,!1),WH},\u0275\u0275stylePropInterpolate3:function qH(n,e,t,s,r,o,c,d,h){return cc(n,Fp(Se(),e,t,s,r,o,c,d),h,!1),qH},\u0275\u0275stylePropInterpolate4:function GH(n,e,t,s,r,o,c,d,h,m,g){return cc(n,lg(Se(),e,t,s,r,o,c,d,h,m),g,!1),GH},\u0275\u0275stylePropInterpolate5:function KH(n,e,t,s,r,o,c,d,h,m,g,S,T){return cc(n,Yp(Se(),e,t,s,r,o,c,d,h,m,g,S),T,!1),KH},\u0275\u0275stylePropInterpolate6:function QH(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P){return cc(n,Bp(Se(),e,t,s,r,o,c,d,h,m,g,S,T,I),P,!1),QH},\u0275\u0275stylePropInterpolate7:function XH(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z){return cc(n,cg(Se(),e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y),z,!1),XH},\u0275\u0275stylePropInterpolate8:function ZH(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z,Q,q){return cc(n,Vp(Se(),e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z,Q),q,!1),ZH},\u0275\u0275stylePropInterpolateV:function JH(n,e,t){return cc(n,Op(Se(),e),t,!1),JH},\u0275\u0275classProp:hg,\u0275\u0275advance:ik,\u0275\u0275template:function LT(n,e,t,s,r,o,c,d){const h=Se(),m=mn();return eg(h,m,n,e,t,s,r,Ct(m.consts,o),c,d),LT},\u0275\u0275conditional:function V7(n,e){Tr("NgControlFlow");const t=Se(),s=sa(),r=t[s]!==nn?t[s]:-1,o=-1!==r?r1(t,lt+r):void 0;if(ti(t,s,n)){const d=k(null);try{if(void 0!==o&&au(o,0),-1!==n){const h=lt+n,m=r1(t,h),g=SN(t[xe],h),S=oc(m,g.tView.ssrId);cp(m,lp(t,g,e,{dehydratedView:S}),0,Dd(g,S))}}finally{k(d)}}else if(void 0!==o){const d=vk(o,0);void 0!==d&&(d[cs]=e)}},\u0275\u0275defer:function Nj(n,e,t,s,r,o,c,d,h){const m=Se(),g=mn(),S=n+lt,T=eg(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 nN(n,e,t){const s=Tp(e);n.data[s]=t}(g,S,z)}TD(m[S],T,m);const P=[null,kp.Initial,null,null,null,null];!function NT(n,e,t){n[xe],n[Tp(e)]=t}(m,S,P);const Y=()=>Rd(P);uv(0,P,()=>Rw(m,Y)),Xu(m,Y)},\u0275\u0275deferWhen:function Fj(n){const e=Se();if(ti(e,sa(),n)){const s=k(null);try{const r=!!n,o=Ps(),d=Nd(e,o)[tg];!1===r&&d===kp.Initial?Pp(e,o):!0===r&&(d===kp.Initial||d===pi.Placeholder)&&Rp(e,o)}finally{k(s)}}},\u0275\u0275deferOnIdle:function GT(){XT($T)},\u0275\u0275deferOnImmediate:function cN(){const n=Se(),e=us(),t=n[xe],s=n[Js],r=Ao(t,e);(!fv(s)||null===r.loadingTmplIndex)&&Pp(n,e),Rp(n,e)},\u0275\u0275deferOnTimer:function dN(n){XT(zT(n))},\u0275\u0275deferOnHover:function rg(n,e){const t=Se(),s=us();Pp(t,s),Lp(t,s,n,e,jT,()=>Rp(t,s),0)},\u0275\u0275deferOnInteraction:function hN(n,e){const t=Se(),s=us();Pp(t,s),Lp(t,s,n,e,VT,()=>Rp(t,s),0)},\u0275\u0275deferOnViewport:function Vj(n,e){const t=Se(),s=us();Pp(t,s),Lp(t,s,n,e,u0,()=>Rp(t,s),0)},\u0275\u0275deferPrefetchWhen:function qT(n){const e=Se();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&&og(d,e,c)}finally{k(s)}}},\u0275\u0275deferPrefetchOnIdle:function Yj(){p0($T)},\u0275\u0275deferPrefetchOnImmediate:function uN(){const n=Se(),e=us(),s=Ao(n[xe],e);s.loadingState===hi.NOT_STARTED&&m0(s,n,e)},\u0275\u0275deferPrefetchOnTimer:function Bj(n){p0(zT(n))},\u0275\u0275deferPrefetchOnHover:function h0(n,e){const t=Se(),s=us(),o=Ao(t[xe],s);o.loadingState===hi.NOT_STARTED&&Lp(t,s,n,e,jT,()=>og(o,t,s),1)},\u0275\u0275deferPrefetchOnInteraction:function KT(n,e){const t=Se(),s=us(),o=Ao(t[xe],s);o.loadingState===hi.NOT_STARTED&&Lp(t,s,n,e,VT,()=>og(o,t,s),1)},\u0275\u0275deferPrefetchOnViewport:function QT(n,e){const t=Se(),s=us(),o=Ao(t[xe],s);o.loadingState===hi.NOT_STARTED&&Lp(t,s,n,e,u0,()=>og(o,t,s),1)},\u0275\u0275deferEnableTimerScheduling:function WT(n,e,t,s){const r=n.consts;null!=t&&(e.placeholderBlockConfig=Ct(r,t)),null!=s&&(e.loadingBlockConfig=Ct(r,s)),null===d0&&(d0=fN)},\u0275\u0275repeater:function q7(n){const e=k(null),t=Hi();try{const s=Se(),r=s[xe],o=s[t],c=t+1,d=r1(s,c);if(void 0===o.liveCollection){const m=SN(r,c);o.liveCollection=new W7(d,s,m)}else o.liveCollection.reset();const h=o.liveCollection;if(function B7(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=bN(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=bN(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 nH,r??=tH(n,o,c,t),wN(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;)eH(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=bN(o,g,o,S,t);if(0!==T)T<0&&n.updateValue(o,S),o++,m=h.next();else{s??=new nH,r??=tH(n,o,c,t);const I=t(o,S);if(wN(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;)eH(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=r1(s,S);if(g){const I=SN(r,S),P=oc(T,I.tView.ssrId);cp(T,lp(s,I,void 0,{dehydratedView:P}),0,Dd(I,P))}else au(T,0)}}}finally{k(e)}},\u0275\u0275repeaterCreate:function z7(n,e,t,s,r,o,c,d,h,m,g,S,T){Tr("NgControlFlow");const I=Se(),P=mn(),Y=void 0!==h,z=Se(),Q=d?c.bind(z[gs][cs]):c,q=new $7(Y,Q);z[lt+n]=q,eg(I,P,n+1,e,t,s,r,Ct(P.consts,o)),Y&&eg(I,P,n+2,h,m,g,S,Ct(P.consts,T))},\u0275\u0275repeaterTrackByIndex:function H7(n){return n},\u0275\u0275repeaterTrackByIdentity:function U7(n,e){return e},\u0275\u0275componentInstance:function F7(){return Se()[gs][cs]},\u0275\u0275text:function uq(n,e=""){const t=Se(),s=mn(),r=n+lt,o=s.firstCreatePass?Sd(s,r,1,e,null):s.data[r],c=e8(s,t,o,e,n);t[r]=c,pm()&&Ty(s,t,c,o),Ia(o,!1)},\u0275\u0275textInterpolate:function t8(n){return AN("",n,""),t8},\u0275\u0275textInterpolate1:AN,\u0275\u0275textInterpolate2:function n8(n,e,t,s,r){const o=Se(),c=Np(o,n,e,t,s,r);return c!==nn&&rc(o,Hi(),c),n8},\u0275\u0275textInterpolate3:function s8(n,e,t,s,r,o,c){const d=Se(),h=Fp(d,n,e,t,s,r,o,c);return h!==nn&&rc(d,Hi(),h),s8},\u0275\u0275textInterpolate4:function i8(n,e,t,s,r,o,c,d,h){const m=Se(),g=lg(m,n,e,t,s,r,o,c,d,h);return g!==nn&&rc(m,Hi(),g),i8},\u0275\u0275textInterpolate5:function r8(n,e,t,s,r,o,c,d,h,m,g){const S=Se(),T=Yp(S,n,e,t,s,r,o,c,d,h,m,g);return T!==nn&&rc(S,Hi(),T),r8},\u0275\u0275textInterpolate6:function o8(n,e,t,s,r,o,c,d,h,m,g,S,T){const I=Se(),P=Bp(I,n,e,t,s,r,o,c,d,h,m,g,S,T);return P!==nn&&rc(I,Hi(),P),o8},\u0275\u0275textInterpolate7:function a8(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P){const Y=Se(),z=cg(Y,n,e,t,s,r,o,c,d,h,m,g,S,T,I,P);return z!==nn&&rc(Y,Hi(),z),a8},\u0275\u0275textInterpolate8:function l8(n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z){const Q=Se(),q=Vp(Q,n,e,t,s,r,o,c,d,h,m,g,S,T,I,P,Y,z);return q!==nn&&rc(Q,Hi(),q),l8},\u0275\u0275textInterpolateV:function c8(n){const e=Se(),t=Op(e,n);return t!==nn&&rc(e,Hi(),t),c8},\u0275\u0275i18n:function U9(n,e,t){MH(n,e,t),EH()},\u0275\u0275i18nAttributes:function $9(n,e){const t=mn(),s=Ct(t.consts,e);!function E9(n,e,t){const r=us().index,o=[];if(n.firstCreatePass&&null===n.data[e]){for(let c=0;c0){const s=n.data[t];pH(n,e,Array.isArray(s)?s:s.update,tl()-v0-1,y0)}y0=0,v0=0}(mn(),Se(),n+lt)},\u0275\u0275i18nPostprocess:function W9(n,e={}){return function H9(n,e={}){let t=n;if(O9.test(n)){const s={},r=[CH];t=t.replace(N9,(o,c,d)=>{const h=c||d,m=s[h]||[];if(m.length||(h.split("|").forEach(Y=>{const z=Y.match(j9),Q=z?parseInt(z[1],10):CH,q=V9.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(Y9,(s,r)=>e.hasOwnProperty(r)?e[r]:s),t=t.replace(B9,(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 W2(n){return n.ownerDocument},\u0275\u0275resolveBody:$x,\u0275\u0275setComponentScope:function bq(n,e,t){const s=n.\u0275cmp;s.directiveDefs=Jn(e,!1),s.pipeDefs=Jn(t,!0)},\u0275\u0275setNgModuleScope:function wq(n,e){return Xs(()=>{const t=Ci(n,!0);t.declarations=g1(e.declarations||An),t.imports=g1(e.imports||An),t.exports=g1(e.exports||An),e.bootstrap&&(t.bootstrap=g1(e.bootstrap)),vp.registerNgModule(n,e)})},\u0275\u0275registerNgModuleType:DT,\u0275\u0275getComponentDepsFactory:function jq(n,e){return()=>{try{return vp.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 Hq(n,e){const t=rn(n);null!==t&&(t.debugInfo=e)},\u0275\u0275declareLet:function p8(n){const e=mn(),t=Se(),s=n+lt;return Ia(Sd(e,s,128,null,null),!1),IN(e,t,s,h8),p8},\u0275\u0275storeLet:function fq(n){return Tr("NgLet"),IN(mn(),Se(),Hi(),n),n},\u0275\u0275readContextLet:function mq(n){const t=ka(dm(),lt+n);if(t===h8)throw new le(314,!1);return t},\u0275\u0275sanitizeHtml:function Rx(n){const e=Pm();return e?er(e.sanitize(Er.HTML,n)||""):ol(n,"HTML")?er(lo(n)):tp(su(),Qt(n))},\u0275\u0275sanitizeStyle:function Sy(n){const e=Pm();return e?e.sanitize(Er.STYLE,n)||"":ol(n,"Style")?lo(n):Qt(n)},\u0275\u0275sanitizeResourceUrl:Nx,\u0275\u0275sanitizeScript:function O2(n){const e=Pm();if(e)return ep(e.sanitize(Er.SCRIPT,n)||"");if(ol(n,"Script"))return ep(lo(n));throw new le(905,!1)},\u0275\u0275sanitizeUrl:Ox,\u0275\u0275sanitizeUrlOrResourceUrl:Fx,\u0275\u0275trustConstantHtml:function N2(n){return Jh(n[0])},\u0275\u0275trustConstantResourceUrl:function F2(n){return function w2(n){return vy()?.createScriptURL(n)||n}(n[0])},\u0275\u0275validateIframeAttribute:function Ij(n,e,t){const s=Se(),r=Ps(),o=Ur(r,s);if(2===r.type&&"iframe"===e.toLowerCase()){const c=o;c.src="",c.srcdoc=Jh(""),op(s[Yt],c);throw new le(-910,!1)}return n},forwardRef:Lt,resolveForwardRef:gt,\u0275\u0275twoWayProperty:function u8(n,e,t){BD(e)&&(e=e());const s=Se();if(ti(s,sa(),e)){co(mn(),Ps(),s,n,e,s[Yt],t,!1)}return u8},\u0275\u0275twoWayBindingSet:function pq(n,e){const t=BD(n);return t&&n.set(e),t},\u0275\u0275twoWayListener:function d8(n,e){const t=Se(),s=mn(),r=us();return xN(s,t,t[Yt],r,n,e),d8}};let _v=null;const M0=[];let NN=!1;function S8(n){return Array.isArray(n)?n.every(S8):!!gt(n)}function qq(n,e={}){(function Gq(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(E8),exports:Di(e.exports||An).map(gt).map(E8),schemas:e.schemas?Di(e.schemas):null,id:e.id||null}),r.schemas||(r.schemas=[])),r)});let o=null;Object.defineProperty(n,Ua,{get:()=>{if(null===o){const d=Ws();o=d.compileFactory(Ro,`ng:///${n.name}/\u0275fac.js`,{name:n.name,type:n,deps:Zc(n),target:d.FactoryTarget.NgModule,typeArgumentCount:0})}return o},configurable:!1});let c=null;Object.defineProperty(n,Pf,{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&&DT(n,e.id),function zq(n,e){M0.push({moduleType:n,ngModule:e})}(n,e)}function Xq(n,e){const t=Di(e.declarations||An),s=yv(n);t.forEach(r=>{if((r=gt(r)).hasOwnProperty(Li)){M8(rn(r),s)}else!r.hasOwnProperty(Pc)&&!r.hasOwnProperty(Rc)&&(r.ngSelectorScope=n)})}function M8(n,e){n.directiveDefs=()=>Array.from(e.compilation.directives).map(t=>t.hasOwnProperty(Li)?rn(t):Bn(t)).filter(t=>!!t),n.pipeDefs=()=>Array.from(e.compilation.pipes).map(t=>Es(t)),n.schemas=e.schemas,n.tView=null}function yv(n){if(uu(n)){if(MD){const e=vp.getNgModuleScope(n);return{schemas:Ci(n,!0).schemas||null,...e}}return function Zq(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=yv(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(uu(r)){const o=yv(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)||Bn(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 E8(n){return CD(n)?n.ngModule:n}let BN=0;function Jq(n,e){let t=null;(function WD(n,e){bT(e)&&(Cp.set(n,e),Ld.add(n))})(n,e),T8(n,e),Object.defineProperty(n,Li,{get:()=>{if(null===t){const s=Ws();if(bT(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 $q(){return _v}();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={...I8(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};BN++;try{if(h.usesInheritance&&A8(n),t=s.compileComponent(Ro,d,h),e.standalone){const m=Di(e.imports||An),{directiveDefs:g,pipeDefs:S}=function eG(n,e){let t=null,s=null;return{directiveDefs:()=>{if(MD)return qm(n)?[...vp.getStandaloneComponentScope(n,e).compilation.directives].map(d=>rn(d)||Bn(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=yv(h);for(const g of m.exported.directives){const S=rn(g)||Bn(g);S&&!c.has(g)&&(c.add(g),t.push(S))}}else{const m=rn(h)||Bn(h);m&&t.push(m)}}}return t},pipeDefs:()=>{if(MD)return qm(n)?[...vp.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=yv(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{BN--}if(0===BN&&function Wq(){if(!NN){NN=!0;try{for(let n=M0.length-1;n>=0;n--){const{moduleType:e,ngModule:t}=M0[n];t.declarations&&t.declarations.every(S8)&&(M0.splice(n,1),Xq(e,t))}}finally{NN=!1}}}(),function tG(n){return void 0!==n.ngSelectorScope}(n)){const m=yv(n.ngSelectorScope);M8(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 x8(n,e){let t=null;T8(n,e||{}),Object.defineProperty(n,Pc,{get:()=>{if(null===t){const s=k8(n,e||{});t=Ws().compileDirective(Ro,s.sourceMapUrl,s.metadata)}return t},configurable:!1})}function k8(n,e){const t=n&&n.name,s=`ng:///${t}/\u0275dir.js`,r=Ws(),o=I8(n,e);return o.typeSourceSpan=r.createParseSourceSpan("Directive",t,s),o.usesInheritance&&A8(n),{metadata:o,sourceMapUrl:s}}function T8(n,e){let t=null;Object.defineProperty(n,Ua,{get:()=>{if(null===t){const s=k8(n,e),r=Ws();t=r.compileFactory(Ro,`ng:///${n.name}/\u0275fac.js`,{name:s.metadata.name,type:s.metadata.type,typeArgumentCount:0,deps:Zc(n),target:r.FactoryTarget.Directive})}return t},configurable:!1})}function nG(n){return Object.getPrototypeOf(n.prototype)===Object.prototype}function I8(n,e){const t=Vh(),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:L8(n,s,P8),lifecycle:{usesOnChanges:t.hasLifecycleHook(n,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!nG(n),exportAs:rG(e.exportAs),providers:e.providers||null,viewQueries:L8(n,s,R8),isStandalone:!!e.standalone,isSignal:!!e.signals,hostDirectives:e.hostDirectives?.map(r=>"function"==typeof r?{directive:r}:r)||null}}function A8(n){const e=Object.prototype;let t=Object.getPrototypeOf(n.prototype).constructor;for(;t&&t!==e;)!Bn(t)&&!rn(t)&&aG(t)&&x8(t,null),t=Object.getPrototypeOf(t)}function sG(n){return"string"==typeof n?N8(n):gt(n)}function iG(n,e){return{propertyName:n,predicate:sG(e.selector),descendants:e.descendants,first:e.first,read:e.read?e.read:null,static:!!e.static,emitDistinctChangesOnly:!!e.emitDistinctChangesOnly,isSignal:!!e.isSignal}}function L8(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(O8))throw new Error("Cannot combine @Input decorators with query decorators");s.push(iG(r,c))}})}return s}function rG(n){return void 0===n?null:N8(n)}function P8(n){const e=n.ngMetadataName;return"ContentChild"===e||"ContentChildren"===e}function R8(n){const e=n.ngMetadataName;return"ViewChild"===e||"ViewChildren"===e}function O8(n){return"Input"===n.ngMetadataName}function N8(n){return n.split(",").map(e=>e.trim())}const oG=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function aG(n){const e=Vh();if(oG.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)=>x8(n,e)),Ke=Nu("Component",(n={})=>({changeDetection:wa.Default,...n}),fl,void 0,(n,e)=>Jq(n,e)),vv=Nu("Pipe",n=>({pure:!0,...n}),void 0,void 0,(n,e)=>function lG(n,e){let t=null,s=null;Object.defineProperty(n,Ua,{get:()=>{if(null===s){const r=F8(n,e),o=Ws(r.type);s=o.compileFactory(Ro,`ng:///${r.name}/\u0275fac.js`,{name:r.name,type:r.type,typeArgumentCount:0,deps:Zc(n),target:o.FactoryTarget.Pipe})}return s},configurable:!1}),Object.defineProperty(n,Rc,{get:()=>{if(null===t){const r=F8(n,e);t=Ws(r.type).compilePipe(Ro,`ng:///${r.name}/\u0275pipe.js`,r)}return t},configurable:!1})}(n,e)),G=Ve("Input",n=>n?"string"==typeof n?{alias:n}:n:{}),nt=Ve("Output",n=>({alias:n})),VN=Ve("HostBinding",n=>({hostPropertyName:n})),ml=Ve("HostListener",(n,e)=>({eventName:n,args:e})),fi=Nu("NgModule",n=>n,void 0,void 0,(n,e)=>qq(n,e));class bv{constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}}new bv("18.2.13");class jp{log(e){console.log(e)}warn(e){console.warn(e)}static#e=this.\u0275fac=function(t){return new(t||jp)};static#t=this.\u0275prov=Ae({token:jp,factory:jp.\u0275fac,providedIn:"platform"})}new class cG{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 H8=new Ye(""),b1=new Ye("");class fg{constructor(e,t,s){this._ngZone=e,this.registry=t,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,HN||(function RG(n){HN=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:()=>{Mt.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||fg)(Ee(Mt),Ee(mg),Ee(b1))};static#t=this.\u0275prov=Ae({token:fg,factory:fg.\u0275fac})}class mg{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 HN?.findTestabilityInTree(this,e,t)??null}static#e=this.\u0275fac=function(t){return new(t||mg)};static#t=this.\u0275prov=Ae({token:mg,factory:mg.\u0275fac,providedIn:"platform"})}let HN;function x0(n){return!!n&&"function"==typeof n.then}function U8(n){return!!n&&"function"==typeof n.subscribe}const UN=new Ye("");class wv{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t}),this.appInits=me(UN,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const e=[];for(const s of this.appInits){const r=s();if(x0(r))e.push(r);else if(U8(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||wv)};static#t=this.\u0275prov=Ae({token:wv,factory:wv.\u0275fac,providedIn:"root"})}const w1=new Ye("");function $8(){!function hn(n){vs=n}(()=>{throw new le(600,!1)})}function z8(n,e){return Array.isArray(e)?e.reduce(z8,n):{...n,...e}}class Oo{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=me(KP),this.afterRenderManager=me(sg),this.zonelessEnabled=me(Wm),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ft,this.afterTick=new ft,this.componentTypes=[],this.components=[],this.isStable=me(ro).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 qk;if(!this._injector.get(wv).done){!s&&Ki(e);throw new le(405,!1)}let o;o=s?e:this._injector.get(SD).resolveComponentFactory(e),this.componentTypes.push(o.componentType);const c=function OG(n){return n.isBoundToModule}(o)?void 0:this._injector.get(Pd),d=t||o.selector,h=o.create(rs.NULL,[],d,c),m=h.location.nativeElement,g=h.injector.get(H8,null);return g?.registerApplication(m),h.onDestroy(()=>{this.detachView(h.hostView),S1(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(Td,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)YG(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})=>zc(e))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;S1(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const t=this._injector.get(w1,[]);[...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),()=>S1(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 S1(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}function YG(n,e,t,s){(t||zc(n))&&Oy(n,e,t&&!s?0:1)}class BG{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}class Vd{compileModuleSync(e){return new ZD(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 Gm(d)),o},[]);return new BG(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 C1=new Ye("");function jG(n,e,t){const s=new ZD(t);if(typeof ngJitMode<"u"&&!ngJitMode)return Promise.resolve(s);const r=n.get(C1,[]).concat(e);if(function Uq(n){null!==_v&&(n.defaultEncapsulation!==_v.defaultEncapsulation||n.preserveWhitespaces!==_v.preserveWhitespaces)||(_v=n)}({defaultEncapsulation:W8(r.map(m=>m.defaultEncapsulation)),preserveWhitespaces:W8(r.map(m=>m.preserveWhitespaces))}),function FO(){return 0===Cp.size}())return Promise.resolve(s);const o=r.flatMap(m=>m.providers??[]);if(0===o.length)return Promise.resolve(s);const c=Ws(),h=rs.create({providers:o}).get(c.ResourceLoader);return OO(m=>Promise.resolve(h.get(m))).then(()=>s)}function W8(n){for(let e=n.length-1;e>=0;e--)if(void 0!==n[e])return n[e]}class k0{constructor(){this.zone=me(Mt),this.changeDetectionScheduler=me(kd),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||k0)};static#t=this.\u0275prov=Ae({token:k0,factory:k0.\u0275fac,providedIn:"root"})}new Ye("",{factory:()=>!1});function zN({ngZoneFactory:n,ignoreChangesOutsideZone:e,scheduleInRootZone:t}){return n??=()=>new Mt({...WN(),scheduleInRootZone:t}),[{provide:Mt,useFactory:n},{provide:vn,multi:!0,useFactory:()=>{const s=me(k0,{optional:!0});return()=>s.initialize()}},{provide:vn,multi:!0,useFactory:()=>{const s=me(T0);return()=>{s.initialize()}}},!0===e?{provide:wD,useValue:!0}:[],{provide:Gy,useValue:t??oy}]}function WN(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:n?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:n?.runCoalescing??!1}}class T0{constructor(){this.subscription=new St,this.initialized=!1,this.zone=me(Mt),this.pendingTasks=me(ro)}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(()=>{Mt.assertNotInAngularZone(),queueMicrotask(()=>{null!==e&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Mt.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(t){return new(t||T0)};static#t=this.\u0275prov=Ae({token:T0,factory:T0.\u0275fac,providedIn:"root"})}class jd{constructor(){this.appRef=me(Oo),this.taskService=me(ro),this.ngZone=me(Mt),this.zonelessEnabled=me(Wm),this.disableScheduling=me(wD,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new St,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ay):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(me(Gy,{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 sS||!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?bm:WE;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(ay+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,bm(()=>{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||jd)};static#t=this.\u0275prov=Ae({token:jd,factory:jd.\u0275fac,providedIn:"root"})}const Hp=new Ye("",{providedIn:"root",factory:()=>me(Hp,ln.Optional|ln.SkipSelf)||function UG(){return typeof $localize<"u"&&$localize.locale||l1}()}),$G=new Ye("",{providedIn:"root",factory:()=>"USD"});new Ye(""),new Ye("");var K8;!function(n){n[n.Error=0]="Error",n[n.Warning=1]="Warning",n[n.Ignore=2]="Ignore"}(K8||(K8={}));class M1{constructor(){this.window=null,this.observer=null,this.options=me(fx),this.isBrowser="browser"===me(ao)}start(){if(!this.isBrowser||typeof PerformanceObserver>"u"||this.options?.disableImageSizeWarning&&this.options?.disableImageLazyLoadWarning)return;this.observer=this.initPerformanceObserver();const e=su(),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=su().querySelectorAll("img");let t,s=!1;e.forEach(r=>{this.options?.disableImageSizeWarning||!r.getAttribute("ng-img")&&this.isOversized(r)&&function qG(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 WG(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||M1)};static#t=this.\u0275prov=Ae({token:M1,factory:M1.\u0275fac,providedIn:"root"})}const E1=new Ye("");function x1(n){return!n.moduleRef}function X8(n){const e=x1(n)?n.r3Injector:n.moduleRef.injector,t=e.get(Mt);return t.run(()=>{x1(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)}})}),x1(n)){const o=()=>e.destroy(),c=n.platformInjector.get(E1);c.add(o),e.onDestroy(()=>{r.unsubscribe(),c.delete(o)})}else{const o=()=>n.moduleRef.destroy(),c=n.platformInjector.get(E1);c.add(o),n.moduleRef.onDestroy(()=>{S1(n.allPlatformModules,n.moduleRef),r.unsubscribe(),c.delete(o)})}return function FG(n,e,t){try{const s=t();return x0(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(wv);return o.runInitializers(),o.donePromise.then(()=>{if(function c9(n){"string"==typeof n&&(uH=n.toLowerCase().replace(/_/g,"-"))}(e.get(Hp,l1)||l1),x1(n)){const d=e.get(Oo);return void 0!==n.rootComponent&&d.bootstrap(n.rootComponent),d}return function GG(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 Sv{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 cy(n="zone.js",e){return"noop"===n?new sS:"zone.js"===n?new Mt(e):n}(t?.ngZone,{...WN({eventCoalescing:t?.ngZoneEventCoalescing,runCoalescing:t?.ngZoneRunCoalescing}),scheduleInRootZone:s}),ignoreChangesOutsideZone:o}),{provide:kd,useExisting:jd}],d=function AT(n,e,t){return new rv(n,e,t,!1)}(e.moduleType,this.injector,c);return X8({moduleRef:d,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(e,t=[]){const s=z8({},t);return jG(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(E1,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||Sv)(Ee(rs))};static#t=this.\u0275prov=Ae({token:Sv,factory:Sv.\u0275fac,providedIn:"platform"})}let Up=null;const Z8=new Ye("");function k1(n,e,t=[]){const s=`Platform: ${e}`,r=new Ye(s);return(o=[])=>{let c=GN();if(!c||c.injector.get(Z8,!1)){const d=[...t,...o,{provide:r,useValue:!0}];n?n(d):function KG(n){if(Up&&!Up.get(Z8,!1))throw new le(400,!1);$8(),Up=n;const e=n.get(Sv);return e5(n),e}(J8(d,s))}return function QG(n){const e=GN();if(!e)throw new le(401,!1);return e}()}}function J8(n=[],e){return rs.create({name:e,providers:[{provide:Xf,useValue:"platform"},{provide:E1,useValue:new Set([()=>Up=null])},...n]})}function GN(){return Up?.get(Sv)??null}function e5(n){n.get(px,null)?.forEach(t=>t())}class gl{static#e=this.__NG_ELEMENT_ID__=ZG}function ZG(n){return function JG(n,e,t){if(Pi(n)&&!t){const s=ji(n.index,e);return new Cd(s,s)}if(175&n.type){const s=e[gs];return new Cd(s,e)}return null}(us(),Se(),!(16&~n))}class r5{constructor(){}supports(e){return av(e)}create(e){return new iK(e)}}const sK=(n,e)=>e;class iK{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||sK}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 rK(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 o5),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 o5),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 rK{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 oK{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 o5{constructor(){this.map=new Map}put(e){const t=e.trackById;let s=this.map.get(t);s||(s=new oK,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 a5(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 lK(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 lK{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 c5(){return new mu([new r5])}class mu{static#e=this.\u0275prov=Ae({token:mu,providedIn:"root",factory:c5});constructor(e){this.factories=e}static create(e,t){if(null!=t){const s=t.factories.slice();e=e.concat(s)}return new mu(e)}static extend(e){return{provide:mu,useFactory:t=>mu.create(e,t||c5()),deps:[[mu,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 u5(){return new gu([new l5])}class gu{static#e=this.\u0275prov=Ae({token:gu,providedIn:"root",factory:u5});constructor(e){this.factories=e}static create(e,t){if(t){const s=t.factories.slice();e=e.concat(s)}return new gu(e)}static extend(e){return{provide:gu,useFactory:t=>gu.create(e,t||u5()),deps:[[gu,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 cK=[new l5],uK=[new r5],d5=(new mu(uK),new gu(cK),k1(null,"core",[]));class I0{constructor(e){}static#e=this.\u0275fac=function(t){return new(t||I0)(Ee(Oo))};static#t=this.\u0275mod=fs({type:I0});static#n=this.\u0275inj=Cs({})}new Ye("",{providedIn:"root",factory:()=>({})});function $i(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}function R5(n,e=NaN){return isNaN(parseFloat(n))||isNaN(Number(n))?e:Number(n)}function R0(n,e){Tr("NgSignals");const t=ae(n);return e?.equal&&(t[D].equal=e.equal),t}function _u(n){const e=k(null);try{return n()}finally{k(e)}}new Ye("",{providedIn:"root",factory:()=>me(tF)});class tF{static#e=this.\u0275prov=Ae({token:tF,providedIn:"root",factory:()=>new UK})}class UK{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=me(ro),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 F1=x(9837);function N5(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 O0(n){return function(){var e=this,t=arguments;return new Promise(function(s,r){var o=n.apply(e,t);function c(h){N5(o,s,r,c,d,"next",h)}function d(h){N5(o,s,r,c,d,"throw",h)}c(void 0)})}}let F5=null;function Hd(){return F5}class GK{}class nF{static#e=this.\u0275fac=function(t){return new(t||nF)};static#t=this.\u0275prov=Ae({token:nF,factory:()=>window.navigation,providedIn:"platform"})}const Pn=new Ye("");class Dv{historyGo(e){throw new Error("")}static#e=this.\u0275fac=function(t){return new(t||Dv)};static#t=this.\u0275prov=Ae({token:Dv,factory:()=>me(N0),providedIn:"platform"})}const KK=new Ye("");class N0 extends Dv{constructor(){super(),this._doc=me(Pn),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Hd().getBaseHref(this._doc)}onPopState(e){const t=Hd().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){const t=Hd().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||N0)};static#t=this.\u0275prov=Ae({token:N0,factory:()=>new N0,providedIn:"platform"})}function sF(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 Y5(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 Ud(n){return n&&"?"!==n[0]?"?"+n:n}class yu{historyGo(e){throw new Error("")}static#e=this.\u0275fac=function(t){return new(t||yu)};static#t=this.\u0275prov=Ae({token:yu,factory:()=>me(Cv),providedIn:"root"})}const B5=new Ye("");class Cv extends yu{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 sF(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+Ud(this._platformLocation.search),s=this._platformLocation.hash;return s&&e?`${t}${s}`:t}pushState(e,t,s,r){const o=this.prepareExternalUrl(s+Ud(r));this._platformLocation.pushState(e,t,o)}replaceState(e,t,s,r){const o=this.prepareExternalUrl(s+Ud(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||Cv)(Ee(Dv),Ee(B5,8))};static#t=this.\u0275prov=Ae({token:Cv,factory:Cv.\u0275fac,providedIn:"root"})}class F0 extends yu{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=sF(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,s,r){let o=this.prepareExternalUrl(s+Ud(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,t,o)}replaceState(e,t,s,r){let o=this.prepareExternalUrl(s+Ud(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||F0)(Ee(Dv),Ee(B5,8))};static#t=this.\u0275prov=Ae({token:F0,factory:F0.\u0275fac})}class $d{constructor(e){this._subject=new Le,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const t=this._locationStrategy.getBaseHref();this._basePath=function ZK(n){if(new RegExp("^(https?:)?//").test(n)){const[,t]=n.split(/\/\/[^\/]+/);return t}return n}(Y5(V5(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+Ud(t))}normalize(e){return $d.stripTrailingSlash(function XK(n,e){if(!n||!e.startsWith(n))return e;const t=e.substring(n.length);return""===t||["/",";","?","#"].includes(t[0])?t:e}(this._basePath,V5(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+Ud(t)),s)}replaceState(e,t="",s=null){this._locationStrategy.replaceState(s,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ud(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=Ud;static#t=this.joinWithSlash=sF;static#n=this.stripTrailingSlash=Y5;static#s=this.\u0275fac=function(t){return new(t||$d)(Ee(yu))};static#i=this.\u0275prov=Ae({token:$d,factory:()=>function QK(){return new $d(Ee(yu))}(),providedIn:"root"})}function V5(n){return n.replace(/\/index.html$/,"")}const j5={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 Y0,_g,uo,Rs,ua;!function(n){n[n.Decimal=0]="Decimal",n[n.Percent=1]="Percent",n[n.Currency=2]="Currency",n[n.Scientific=3]="Scientific"}(Y0||(Y0={})),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"}(_g||(_g={})),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"}(ua||(ua={}));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 H5;function Y1(n,e){return yl(Lo(n)[js.DateFormat],e)}function B1(n,e){return yl(Lo(n)[js.TimeFormat],e)}function V1(n,e){return yl(Lo(n)[js.DateTimeFormat],e)}function _l(n,e){const t=Lo(n),s=t[js.NumberSymbols][e];if(typeof s>"u"){if(e===nr.CurrencyDecimal)return t[js.NumberSymbols][nr.Decimal];if(e===nr.CurrencyGroup)return t[js.NumberSymbols][nr.Group]}return s}function iF(n,e){return Lo(n)[js.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"}(H5||(H5={}));const rQ=lH;function U5(n){if(!n[js.ExtraData])throw new Error(`Missing extra locale data for the locale "${n[js.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 rF(n){const[e,t]=n.split(":");return{hours:+e,minutes:+t}}function lQ(n,e,t="en"){const s=function iQ(n){return Lo(n)[js.Currencies]}(t)[n]||j5[n]||[],r=s[1];return"narrow"===e&&"string"==typeof r?r:s[0]||n}const cQ=2;const dQ=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,j1={},hQ=/((?:[^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 vu,os,as;function pQ(n,e,t,s){let r=function SQ(n){if(W5(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 H1(r,o-1,c)}const t=parseFloat(n);if(!isNaN(n-t))return new Date(t);let s;if(s=n.match(dQ))return function DQ(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(!W5(e))throw new Error(`Unable to convert "${n}" into a date`);return e}(n);e=zd(t,e)||e;let d,c=[];for(;e;){if(d=hQ.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=z5(s,h),r=function wQ(n,e,t){const s=t?-1:1,r=n.getTimezoneOffset(),o=z5(e,r);return function bQ(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 vQ(n){if(aF[n])return aF[n];let e;switch(n){case"G":case"GG":case"GGG":e=Gs(as.Eras,Rs.Abbreviated);break;case"GGGG":e=Gs(as.Eras,Rs.Wide);break;case"GGGGG":e=Gs(as.Eras,Rs.Narrow);break;case"y":e=sr(os.FullYear,1,0,!1,!0);break;case"yy":e=sr(os.FullYear,2,0,!0,!0);break;case"yyy":e=sr(os.FullYear,3,0,!1,!0);break;case"yyyy":e=sr(os.FullYear,4,0,!1,!0);break;case"Y":e=W1(1);break;case"YY":e=W1(2,!0);break;case"YYY":e=W1(3);break;case"YYYY":e=W1(4);break;case"M":case"L":e=sr(os.Month,1,1);break;case"MM":case"LL":e=sr(os.Month,2,1);break;case"MMM":e=Gs(as.Months,Rs.Abbreviated);break;case"MMMM":e=Gs(as.Months,Rs.Wide);break;case"MMMMM":e=Gs(as.Months,Rs.Narrow);break;case"LLL":e=Gs(as.Months,Rs.Abbreviated,uo.Standalone);break;case"LLLL":e=Gs(as.Months,Rs.Wide,uo.Standalone);break;case"LLLLL":e=Gs(as.Months,Rs.Narrow,uo.Standalone);break;case"w":e=oF(1);break;case"ww":e=oF(2);break;case"W":e=oF(1,!0);break;case"d":e=sr(os.Date,1);break;case"dd":e=sr(os.Date,2);break;case"c":case"cc":e=sr(os.Day,1);break;case"ccc":e=Gs(as.Days,Rs.Abbreviated,uo.Standalone);break;case"cccc":e=Gs(as.Days,Rs.Wide,uo.Standalone);break;case"ccccc":e=Gs(as.Days,Rs.Narrow,uo.Standalone);break;case"cccccc":e=Gs(as.Days,Rs.Short,uo.Standalone);break;case"E":case"EE":case"EEE":e=Gs(as.Days,Rs.Abbreviated);break;case"EEEE":e=Gs(as.Days,Rs.Wide);break;case"EEEEE":e=Gs(as.Days,Rs.Narrow);break;case"EEEEEE":e=Gs(as.Days,Rs.Short);break;case"a":case"aa":case"aaa":e=Gs(as.DayPeriods,Rs.Abbreviated);break;case"aaaa":e=Gs(as.DayPeriods,Rs.Wide);break;case"aaaaa":e=Gs(as.DayPeriods,Rs.Narrow);break;case"b":case"bb":case"bbb":e=Gs(as.DayPeriods,Rs.Abbreviated,uo.Standalone,!0);break;case"bbbb":e=Gs(as.DayPeriods,Rs.Wide,uo.Standalone,!0);break;case"bbbbb":e=Gs(as.DayPeriods,Rs.Narrow,uo.Standalone,!0);break;case"B":case"BB":case"BBB":e=Gs(as.DayPeriods,Rs.Abbreviated,uo.Format,!0);break;case"BBBB":e=Gs(as.DayPeriods,Rs.Wide,uo.Format,!0);break;case"BBBBB":e=Gs(as.DayPeriods,Rs.Narrow,uo.Format,!0);break;case"h":e=sr(os.Hours,1,-12);break;case"hh":e=sr(os.Hours,2,-12);break;case"H":e=sr(os.Hours,1);break;case"HH":e=sr(os.Hours,2);break;case"m":e=sr(os.Minutes,1);break;case"mm":e=sr(os.Minutes,2);break;case"s":e=sr(os.Seconds,1);break;case"ss":e=sr(os.Seconds,2);break;case"S":e=sr(os.FractionalSeconds,1);break;case"SS":e=sr(os.FractionalSeconds,2);break;case"SSS":e=sr(os.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=$1(vu.Short);break;case"ZZZZZ":e=$1(vu.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=$1(vu.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=$1(vu.Long);break;default:return null}return aF[n]=e,e}(g);m+=S?S(r,t,h):"''"===g?"'":g.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),m}function H1(n,e,t){const s=new Date(0);return s.setFullYear(n,e,t),s.setHours(0,0,0),s}function zd(n,e){const t=function JK(n){return Lo(n)[js.LocaleId]}(n);if(j1[t]??={},j1[t][e])return j1[t][e];let s="";switch(e){case"shortDate":s=Y1(n,ua.Short);break;case"mediumDate":s=Y1(n,ua.Medium);break;case"longDate":s=Y1(n,ua.Long);break;case"fullDate":s=Y1(n,ua.Full);break;case"shortTime":s=B1(n,ua.Short);break;case"mediumTime":s=B1(n,ua.Medium);break;case"longTime":s=B1(n,ua.Long);break;case"fullTime":s=B1(n,ua.Full);break;case"short":const r=zd(n,"shortTime"),o=zd(n,"shortDate");s=U1(V1(n,ua.Short),[r,o]);break;case"medium":const c=zd(n,"mediumTime"),d=zd(n,"mediumDate");s=U1(V1(n,ua.Medium),[c,d]);break;case"long":const h=zd(n,"longTime"),m=zd(n,"longDate");s=U1(V1(n,ua.Long),[h,m]);break;case"full":const g=zd(n,"fullTime"),S=zd(n,"fullDate");s=U1(V1(n,ua.Full),[g,S])}return s&&(j1[t][e]=s),s}function U1(n,e){return e&&(n=n.replace(/\{([^}]+)}/g,function(t,s){return null!=e&&s in e?e[s]:t})),n}function dc(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===os.Hours)0===d&&-12===t&&(d=12);else if(n===os.FractionalSeconds)return function fQ(n,e){return dc(n,3).substring(0,e)}(d,e);const h=_l(c,nr.MinusSign);return dc(d,e,h,s,r)}}function Gs(n,e,t=uo.Format,s=!1){return function(r,o){return function gQ(n,e,t,s,r,o){switch(t){case as.Months:return function nQ(n,e,t){const s=Lo(n),o=yl([s[js.MonthsFormat],s[js.MonthsStandalone]],e);return yl(o,t)}(e,r,s)[n.getMonth()];case as.Days:return function tQ(n,e,t){const s=Lo(n),o=yl([s[js.DaysFormat],s[js.DaysStandalone]],e);return yl(o,t)}(e,r,s)[n.getDay()];case as.DayPeriods:const c=n.getHours(),d=n.getMinutes();if(o){const m=function oQ(n){const e=Lo(n);return U5(e),(e[js.ExtraData][2]||[]).map(s=>"string"==typeof s?rF(s):[rF(s[0]),rF(s[1])])}(e),g=function aQ(n,e,t){const s=Lo(n);U5(s);const o=yl([s[js.ExtraData][0],s[js.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 vu.Short:return(r>=0?"+":"")+dc(c,2,o)+dc(Math.abs(r%60),2,o);case vu.ShortGMT:return"GMT"+(r>=0?"+":"")+dc(c,1,o);case vu.Long:return"GMT"+(r>=0?"+":"")+dc(c,2,o)+":"+dc(Math.abs(r%60),2,o);case vu.Extended:return 0===s?"Z":(r>=0?"+":"")+dc(c,2,o)+":"+dc(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"}(vu||(vu={})),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"}(os||(os={})),function(n){n[n.DayPeriods=0]="DayPeriods",n[n.Days=1]="Days",n[n.Months=2]="Months",n[n.Eras=3]="Eras"}(as||(as={}));const _Q=0,z1=4;function $5(n){const e=n.getDay(),t=0===e?-3:z1-e;return H1(n.getFullYear(),n.getMonth(),n.getDate()+t)}function oF(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=$5(t),c=function yQ(n){const e=H1(n,_Q,1).getDay();return H1(n,0,1+(e<=z1?z1:z1+7)-e)}(o.getFullYear()),d=o.getTime()-c.getTime();r=1+Math.round(d/6048e5)}return dc(r,n,_l(s,nr.MinusSign))}}function W1(n,e=!1){return function(t,s){return dc($5(t).getFullYear(),n,_l(s,nr.MinusSign),e)}}const aF={};function z5(n,e){n=n.replace(/:/g,"");const t=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(t)?e:t}function W5(n){return n instanceof Date&&!isNaN(n.valueOf())}const CQ=/^(\d+)?\.((\d+)(-(\d+))?)?$/,q5=22,q1=".",B0="0",MQ=";",EQ=",",lF="#";function cF(n,e,t,s,r,o,c=!1){let d="",h=!1;if(isFinite(n)){let m=function LQ(n){let s,r,o,c,d,e=Math.abs(n)+"",t=0;for((r=e.indexOf(q1))>-1&&(e=e.replace(q1,"")),(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)===B0;o++);if(o===(d=e.length))s=[0],r=1;else{for(d--;e.charAt(d)===B0;)d--;for(r-=o,s=[],c=0;o<=d;o++,c++)s[c]=Number(e.charAt(o))}return r>q5&&(s=s.splice(0,q5-1),t=r-1,r=1),{digits:s,exponent:t,integerLen:r}}(n);c&&(m=function AQ(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(CQ);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=dF(oe)),null!=fe&&(S=dF(fe)),null!=ye?T=dF(ye):null!=fe&&S>T&&(T=S)}!function PQ(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 kQ(n,e,t,s,r){const c=uF(iF(e,Y0.Currency),_l(e,nr.MinusSign));return c.minFrac=function uQ(n){let e;const t=j5[n];return t&&(e=t[2]),"number"==typeof e?e:cQ}(s),c.maxFrac=c.minFrac,cF(n,c,e,nr.CurrencyGroup,nr.CurrencyDecimal,r).replace("\xa4",t).replace("\xa4","").trim()}function uF(n,e="-"){const t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},s=n.split(MQ),r=s[0],o=s[1],c=-1!==r.indexOf(q1)?r.split(q1):[r.substring(0,r.lastIndexOf(B0)+1),r.substring(r.lastIndexOf(B0)+1)],d=c[0],h=c[1]||"";t.posPre=d.substring(0,d.indexOf(lF));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 V0 extends Mv{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(rQ(t||this.locale)(e)){case _g.Zero:return"zero";case _g.One:return"one";case _g.Two:return"two";case _g.Few:return"few";case _g.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(t){return new(t||V0)(Ee(Hp))};static#t=this.\u0275prov=Ae({token:V0,factory:V0.\u0275fac})}function Q5(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 hF=/\s+/,X5=[];class Ev{constructor(e,t){this._ngEl=e,this._renderer=t,this.initialClasses=X5,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(hF):X5}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(hF):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(hF).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||Ev)(he(gn),he(Ui))};static#t=this.\u0275dir=et({type:Ev,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}class xv{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 Mp(n,e){return new rv(n,e??null,[])}(this.ngComponentOutletNgModule,Z5(t)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(Z5(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||xv)(he(xr))};static#t=this.\u0275dir=et({type:xv,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[_s]})}function Z5(n){return n.get(Pd).injector}class RQ{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 kv{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 RQ(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),J5(c,s)}});for(let s=0,r=t.length;s{J5(t.get(s.currentIndex),s)})}static ngTemplateContextGuard(e,t){return!0}static#e=this.\u0275fac=function(t){return new(t||kv)(he(xr),he(dr),he(mu))};static#t=this.\u0275dir=et({type:kv,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}function J5(n,e){n.context.$implicit=e.item}class Tv{constructor(e,t){this._viewContainer=e,this._context=new OQ,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){e3("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){e3("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||Tv)(he(xr),he(dr))};static#t=this.\u0275dir=et({type:Tv,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}class OQ{constructor(){this.$implicit=null,this.ngIf=null}}function e3(n,e){if(e&&!e.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${fn(e)}'.`)}class pF{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 $p{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||$p)};static#t=this.\u0275dir=et({type:$p,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}class Iv{constructor(e,t,s){this.ngSwitch=s,s._addCase(),this._view=new pF(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(t){return new(t||Iv)(he(xr),he(dr),he($p,9))};static#t=this.\u0275dir=et({type:Iv,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}class Av{constructor(e,t,s){s._addDefault(new pF(e,t))}static#e=this.\u0275fac=function(t){return new(t||Av)(he(xr),he(dr),he($p,9))};static#t=this.\u0275dir=et({type:Av,selectors:[["","ngSwitchDefault",""]],standalone:!0})}class yg{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=K5(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||yg)(he(Mv))};static#t=this.\u0275dir=et({type:yg,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}class Lv{constructor(e,t,s,r){this.value=e;const o=!isNaN(Number(e));r.addCase(o?`=${e}`:e,new pF(s,t))}static#e=this.\u0275fac=function(t){return new(t||Lv)(io("ngPluralCase"),he(dr),he(xr),he(yg,1))};static#t=this.\u0275dir=et({type:Lv,selectors:[["","ngPluralCase",""]],standalone:!0})}class Pv{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:ic.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||Pv)(he(gn),he(gu),he(Ui))};static#t=this.\u0275dir=et({type:Pv,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}class Rv{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||Rv)(he(xr))};static#t=this.\u0275dir=et({type:Rv,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[_s]})}function hc(n,e){return new le(2100,!1)}const YQ=new class FQ{createSubscription(e,t){return e.then(t,s=>{throw s})}dispose(e){}},BQ=new class NQ{createSubscription(e,t){return _u(()=>e.subscribe({next:t,error:s=>{throw s}}))}dispose(e){_u(()=>e.unsubscribe())}};class vg{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(x0(e))return YQ;if(U8(e))return BQ;throw hc()}_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||vg)(he(gl,16))};static#t=this.\u0275pipe=Gi({name:"async",type:vg,pure:!1,standalone:!0})}class bg{transform(e){if(null==e)return null;if("string"!=typeof e)throw hc();return e.toLowerCase()}static#e=this.\u0275fac=function(t){return new(t||bg)};static#t=this.\u0275pipe=Gi({name:"lowercase",type:bg,pure:!0,standalone:!0})}const VQ=/(?:[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 wg{transform(e){if(null==e)return null;if("string"!=typeof e)throw hc();return e.replace(VQ,t=>t[0].toUpperCase()+t.slice(1).toLowerCase())}static#e=this.\u0275fac=function(t){return new(t||wg)};static#t=this.\u0275pipe=Gi({name:"titlecase",type:wg,pure:!0,standalone:!0})}class Sg{transform(e){if(null==e)return null;if("string"!=typeof e)throw hc();return e.toUpperCase()}static#e=this.\u0275fac=function(t){return new(t||Sg)};static#t=this.\u0275pipe=Gi({name:"uppercase",type:Sg,pure:!0,standalone:!0})}const HQ=new Ye(""),UQ=new Ye("");class Dg{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 pQ(e,o,r||this.locale,c)}catch(o){throw hc(0,o.message)}}static#e=this.\u0275fac=function(t){return new(t||Dg)(he(Hp,16),he(HQ,24),he(UQ,24))};static#t=this.\u0275pipe=Gi({name:"date",type:Dg,pure:!0,standalone:!0})}const $Q=/#/g;class Cg{constructor(e){this._localization=e}transform(e,t,s){if(null==e)return"";if("object"!=typeof t||null===t)throw hc();return t[K5(e,Object.keys(t),this._localization,s)].replace($Q,e.toString())}static#e=this.\u0275fac=function(t){return new(t||Cg)(he(Mv,16))};static#t=this.\u0275pipe=Gi({name:"i18nPlural",type:Cg,pure:!0,standalone:!0})}class Mg{transform(e,t){if(null==e)return"";if("object"!=typeof t||"string"!=typeof e)throw hc();return t.hasOwnProperty(e)?t[e]:t.hasOwnProperty("other")?t.other:""}static#e=this.\u0275fac=function(t){return new(t||Mg)};static#t=this.\u0275pipe=Gi({name:"i18nSelect",type:Mg,pure:!0,standalone:!0})}class Ov{transform(e){return JSON.stringify(e,null,2)}static#e=this.\u0275fac=function(t){return new(t||Ov)};static#t=this.\u0275pipe=Gi({name:"json",type:Ov,pure:!1,standalone:!0})}class Nv{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=t3}transform(e,t=t3){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 zQ(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||Nv)(he(gu,16))};static#t=this.\u0275pipe=Gi({name:"keyvalue",type:Nv,pure:!1,standalone:!0})}function t3(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 t_F(me(ao))?new qQ(me(Pn),window):new KQ})}class qQ{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 GQ(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 KQ{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}}class n3{}const K1="20";function Fv(n,e){return Q1(n)?new URL(n):new URL(n,e.location.href)}function Q1(n){return/^https?:\/\//.test(n)}function s3(n){return Q1(n)?new URL(n).hostname:n}function i3(n){if("string"!=typeof n||""===n.trim())return!1;try{new URL(n);return!0}catch{return!1}}function XQ(n){return n.startsWith("/")?n.slice(1):n}const Yv=n=>n.src,vF=new Ye("",{providedIn:"root",factory:()=>Yv});function X1(n,e){return function(s){return i3(s)||function ZQ(n,e){throw new le(2959,!1)}(),s=function QQ(n){return n.endsWith("/")?n.slice(0,-1):n}(s),[{provide:vF,useValue:c=>(Q1(c.src)&&function JQ(n,e){throw new le(2959,!1)}(0,c.src),n(s,{...c,src:XQ(c.src)}))}]}}X1(function eX(n,e){let t="format=auto";return e.width&&(t+=`,width=${e.width}`),e.isPlaceholder&&(t+=`,quality=${K1}`),`${n}/cdn-cgi/image/${t}/${e.src}`});X1(function iX(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}`});X1(function lX(n,e){const{src:t,width:s}=e,r=[];s&&r.push(`w-${s}`),e.isPlaceholder&&r.push(`q-${K1}`);const o=r.length?[n,`tr:${r.join(",")}`,t]:[n,t];return new URL(o.join("/")).href});X1(function hX(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",K1),t.href});function Os(n,e=!0){return`The NgOptimizedImage directive ${e?`(activated on an element with the \`ngSrc="${n}"\`) `:""}has detected that`}function o3(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 Z1{constructor(){this.images=new Map,this.window=null,this.observer=null;const e=_F(me(ao));o3("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 _X(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 yX(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(Fv(e,this.window).href,r)}unregisterImage(e){this.observer&&this.images.delete(Fv(e,this.window).href)}updateImage(e,t){if(!this.observer)return;const s=Fv(e,this.window).href,r=this.images.get(s);r&&(r.modified=!0,this.images.set(Fv(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||Z1)};static#t=this.\u0275prov=Ae({token:Z1,factory:Z1.\u0275fac,providedIn:"root"})}const vX=new Set(["localhost","127.0.0.1","0.0.0.0"]),bX=new Ye("");class J1{constructor(){this.document=me(Pn),this.isServer=G1(me(ao)),this.preconnectLinks=null,this.alreadySeen=new Set,this.window=null,this.blocklist=new Set(vX),o3("preconnect link checker");const e=this.document.defaultView;typeof e<"u"&&(this.window=e);const t=me(bX,{optional:!0});t&&this.populateBlocklist(t)}populateBlocklist(e){Array.isArray(e)?a3(e,t=>{this.blocklist.add(s3(t))}):this.blocklist.add(s3(e))}assertPreconnect(e,t){if(this.isServer)return;const s=Fv(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=Fv(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||J1)};static#t=this.\u0275prov=Ae({token:J1,factory:J1.\u0275fac,providedIn:"root"})}function a3(n,e){for(let t of n)Array.isArray(t)?a3(t,e):e(t)}const wX=new Ye("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});class j0{constructor(){this.preloadedImages=me(wX),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||j0)};static#t=this.\u0275prov=Ae({token:j0,factory:j0.\u0275fac,providedIn:"root"})}const c3=/^((\s*\d+w\s*(,|$)){1,})$/,DX=[1,2];class SF{constructor(){this.imageLoader=me(vF),this.config=function kX(n){let e={};return n.breakpoints&&(e.breakpoints=n.breakpoints.sort((t,s)=>t-s)),Object.assign({},fd,n,e)}(me(fx)),this.renderer=me(Ui),this.imgElement=me(gn).nativeElement,this.injector=me(rs),this.isServer=G1(me(ao)),this.preloadLinkCreator=me(j0),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(Mt).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=c3.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 DX.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!==Yv&&!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);CF(e,t)}ngOnDestroy(){}setHostAttribute(e,t){this.renderer.setAttribute(this.imgElement,e,t)}static#e=this.\u0275fac=function(t){return new(t||SF)};static#t=this.\u0275dir=et({type:SF,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(t,s){2&t&&s1("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",OX],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",R5],height:[2,"height","height",R5],loading:"loading",priority:[2,"priority","priority",$i],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",$i],fill:[2,"fill","fill",$i],placeholder:[2,"placeholder","placeholder",NX],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[La,_s]})}function CF(n,e){n.complete&&n.naturalWidth&&e()}function OX(n){return"string"==typeof n?n:lo(n)}function NX(n){return"string"==typeof n&&"true"!==n&&"false"!==n&&""!==n?n:$i(n)}class FX extends GK{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class MF extends FX{static makeCurrent(){!function qK(n){F5??=n}(new MF)}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 YX(){return U0=U0||document.querySelector("base"),U0?U0.getAttribute("href"):null}();return null==t?null:function BX(n){return new URL(n,document.baseURI).pathname}(t)}resetBaseElement(){U0=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Q5(document.cookie,e)}}let U0=null;class $0{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(t){return new(t||$0)};static#t=this.\u0275prov=Ae({token:$0,factory:$0.\u0275fac})}const tI=new Ye("");class Vv{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||Vv)(Ee(tI),Ee(Mt))};static#t=this.\u0275prov=Ae({token:Vv,factory:Vv.\u0275fac})}class EF{constructor(e){this._doc=e}}const xF="ng-app-id";class jv{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=G1(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[${xF}="${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(xF),r;{const o=this.doc.createElement("style");return this.nonce&&o.setAttribute("nonce",this.nonce),o.textContent=t,this.platformIsServer&&o.setAttribute(xF,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||jv)(Ee(Pn),Ee(pd),Ee(dS,8),Ee(ao))};static#t=this.\u0275prov=Ae({token:jv,factory:jv.\u0275fac})}const kF={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"},TF=/%COMP%/g,jX="_nghost-%COMP%",HX="_ngcontent-%COMP%",$X=new Ye("",{providedIn:"root",factory:()=>true});function g3(n,e){return e.map(t=>t.replace(TF,n))}class Ig{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=G1(c),this.defaultRenderer=new IF(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 y3?s.applyToHost(e):s instanceof AF&&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 y3(d,h,t,this.appId,m,o,c,g);break;case qi.ShadowDom:return new GX(d,h,e,t,o,c,this.nonce,g);default:r=new AF(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||Ig)(Ee(Vv),Ee(jv),Ee(pd),Ee($X),Ee(Pn),Ee(ao),Ee(Mt),Ee(dS))};static#t=this.\u0275prov=Ae({token:Ig,factory:Ig.\u0275fac})}class IF{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(kF[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(_3(e)?e.content:e).appendChild(t)}insertBefore(e,t,s){e&&(_3(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=kF[r];o?e.setAttributeNS(o,t,s):e.setAttribute(t,s)}else e.setAttribute(t,s)}removeAttribute(e,t,s){if(s){const r=kF[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&(ic.DashCase|ic.Important)?e.style.setProperty(t,s,r&ic.Important?"important":""):e.style[t]=s}removeStyle(e,t,s){s&ic.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=Hd().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 _3(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class GX extends IF{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=g3(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 AF extends IF{constructor(e,t,s,r,o,c,d,h){super(e,o,c,d),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=h?g3(h,s.styles):s.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class y3 extends AF{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 zX(n){return HX.replace(TF,n)}(m),this.hostAttr=function WX(n){return jX.replace(TF,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 z0 extends EF{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||z0)(Ee(Pn))};static#t=this.\u0275prov=Ae({token:z0,factory:z0.\u0275fac})}const v3=["alt","control","meta","shift"],KX={"\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"},QX={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};class bu extends EF{constructor(e){super(e)}supports(e){return null!=bu.parseEventName(e)}addEventListener(e,t,s){const r=bu.parseEventName(t),o=bu.eventCallback(r.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Hd().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=bu._normalizeKey(t.pop());let o="",c=t.indexOf("code");if(c>-1&&(t.splice(c,1),o="code."),v3.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=KX[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"),v3.forEach(o=>{if(o!==s){(0,QX[o])(e)&&(r+=o+".")}}),r+=s,r===t)}static eventCallback(e,t,s){return r=>{bu.matchEventFullKeyCode(r,e)&&s.runGuarded(()=>t(r))}}static _normalizeKey(e){return"esc"===e?"escape":e}static#e=this.\u0275fac=function(t){return new(t||bu)(Ee(Pn))};static#t=this.\u0275prov=Ae({token:bu,factory:bu.\u0275fac})}const LF=[{provide:ao,useValue:gF},{provide:px,useValue:function XX(){MF.makeCurrent()},multi:!0},{provide:Pn,useFactory:function JX(){return function _2(n){uS=n}(document),document},deps:[]}],eZ=(k1(d5,"browser",LF),new Ye("")),w3=[{provide:b1,useClass:class VX{addToWindow(e){Ds.getAngularTestability=(s,r=!0)=>{const o=e.findTestabilityInTree(s,r);if(null==o)throw new le(5103,!1);return o},Ds.getAllAngularTestabilities=()=>e.getAllTestabilities(),Ds.getAllAngularRootElements=()=>e.getAllRootElements();Ds.frameworkStabilizers||(Ds.frameworkStabilizers=[]),Ds.frameworkStabilizers.push(s=>{const r=Ds.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?Hd().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null)}},deps:[]},{provide:H8,useClass:fg,deps:[Mt,mg,b1]},{provide:fg,useClass:fg,deps:[Mt,mg,b1]}],S3=[{provide:Xf,useValue:"root"},{provide:Mo,useFactory:function ZX(){return new Mo},deps:[]},{provide:tI,useClass:z0,multi:!0,deps:[Pn,Mt,ao]},{provide:tI,useClass:bu,multi:!0,deps:[Pn]},Ig,jv,Vv,{provide:Td,useExisting:Ig},{provide:n3,useClass:$0,deps:[]},[]];class Wd{constructor(e){}static withServerTransition(e){return{ngModule:Wd,providers:[{provide:pd,useValue:e.appId}]}}static#e=this.\u0275fac=function(t){return new(t||Wd)(Ee(eZ,12))};static#t=this.\u0275mod=fs({type:Wd,exports:[da,I0]});static#n=this.\u0275inj=Cs({providers:[...S3,...w3],imports:[da,I0]})}class nI{constructor(e){this._doc=e,this._dom=Hd()}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 tZ[e]||e}static#e=this.\u0275fac=function(t){return new(t||nI)(Ee(Pn))};static#t=this.\u0275prov=Ae({token:nI,factory:nI.\u0275fac,providedIn:"root"})}const tZ={httpEquiv:"http-equiv"};class W0{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||W0)(Ee(Pn))};static#t=this.\u0275prov=Ae({token:W0,factory:W0.\u0275fac,providedIn:"root"})}const rZ={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},PF=new Ye("HammerGestureConfig"),M3=new Ye("HammerLoader");class q0{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||q0)};static#t=this.\u0275prov=Ae({token:q0,factory:q0.\u0275fac})}class G0 extends EF{constructor(e,t,s,r){super(e),this._config=t,this.console=s,this.loader=r,this._loaderPromise=null}supports(e){return!(!rZ.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||G0)(Ee(Pn),Ee(PF),Ee(jp),Ee(M3,8))};static#t=this.\u0275prov=Ae({token:G0,factory:G0.\u0275fac})}class RF{static#e=this.\u0275fac=function(t){return new(t||RF)};static#t=this.\u0275mod=fs({type:RF});static#n=this.\u0275inj=Cs({providers:[{provide:tI,useClass:G0,multi:!0,deps:[Pn,PF,jp,[new Si,M3]]},{provide:PF,useClass:q0,deps:[]}]})}class Hv{static#e=this.\u0275fac=function(t){return new(t||Hv)};static#t=this.\u0275prov=Ae({token:Hv,factory:function(t){let s=null;return s=t?new(t||Hv):Ee(K0),s},providedIn:"root"})}class K0 extends Hv{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 ol(t,"HTML")?lo(t):tp(this._doc,String(t)).toString();case Er.STYLE:return ol(t,"Style")?lo(t):t;case Er.SCRIPT:if(ol(t,"Script"))return lo(t);throw new le(5200,!1);case Er.URL:return ol(t,"URL")?lo(t):on(String(t));case Er.RESOURCE_URL:if(ol(t,"ResourceURL"))return lo(t);throw new le(5201,!1);default:throw new le(5202,!1)}}bypassSecurityTrustHtml(e){return function xx(n){return new Dx(n)}(e)}bypassSecurityTrustStyle(e){return function wy(n){return new Cx(n)}(e)}bypassSecurityTrustScript(e){return function C2(n){return new Mx(n)}(e)}bypassSecurityTrustUrl(e){return function M2(n){return new S2(n)}(e)}bypassSecurityTrustResourceUrl(e){return function E2(n){return new Ex(n)}(e)}static#e=this.\u0275fac=function(t){return new(t||K0)(Ee(Pn))};static#t=this.\u0275prov=Ae({token:K0,factory:K0.\u0275fac,providedIn:"root"})}var zp;!function(n){n[n.NoHttpTransferCache=0]="NoHttpTransferCache",n[n.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",n[n.I18nSupport=2]="I18nSupport",n[n.EventReplay=3]="EventReplay"}(zp||(zp={}));new bv("18.2.13");const oZ=[{provide:Vd,useFactory:()=>new Vd}];function E3(n){for(let e=n.length-1;e>=0;e--)if(void 0!==n[e])return n[e]}function cZ(n){const e=[];return n.forEach(t=>t&&e.push(...t)),e}const uZ=k1(d5,"coreDynamic",[{provide:C1,useValue:{},multi:!0},{provide:class VG{},useClass:class aZ{constructor(e){const t={defaultEncapsulation:qi.Emulated};this._defaultOptions=[t,...e]}createCompiler(e=[]){const t=function lZ(n){return{defaultEncapsulation:E3(n.map(e=>e.defaultEncapsulation)),providers:cZ(n.map(e=>e.providers)),preserveWhitespaces:E3(n.map(e=>e.preserveWhitespaces))}}(this._defaultOptions.concat(e));return rs.create({providers:[oZ,{provide:F1.udt,useFactory:()=>new F1.udt({defaultEncapsulation:t.defaultEncapsulation,preserveWhitespaces:t.preserveWhitespaces}),deps:[]},t.providers]}).get(Vd)}},deps:[C1]}]);class Uv extends F1.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(Uv)))(s||Uv)}})();static#t=this.\u0275prov=Ae({token:Uv,factory:Uv.\u0275fac})}const dZ=[LF,{provide:C1,useValue:{providers:[{provide:F1.WHm,useClass:Uv,deps:[]}]},multi:!0},{provide:ao,useValue:gF}],hZ=(new bv("18.2.13"),k1(uZ,"browserDynamic",dZ));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 qd="*";function $v(n,e){return{type:Gt.Trigger,name:n,definitions:e,options:{}}}function Wp(n,e=null){return{type:Gt.Animate,styles:e,timings:n}}function k3(n,e=null){return{type:Gt.Sequence,steps:n,options:e}}function pc(n){return{type:Gt.Style,styles:n,offset:null}}function Gd(n,e,t){return{type:Gt.State,name:n,styles:e,options:t}}function qp(n,e,t=null){return{type:Gt.Transition,expr:n,animation:e,options:t}}class iI{static#e=this.\u0275fac=function(t){return new(t||iI)};static#t=this.\u0275prov=Ae({token:iI,factory:()=>me(X0),providedIn:"root"})}class NZ{}class X0 extends iI{constructor(e,t){super(),this.animationModuleType=me(fy,{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 VZ(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)?k3(e):e;return T3(this._renderer,null,t,"register",[s]),new FZ(t,this._renderer)}static#e=this.\u0275fac=function(t){return new(t||X0)(Ee(Td),Ee(Pn))};static#t=this.\u0275prov=Ae({token:X0,factory:X0.\u0275fac,providedIn:"root"})}class FZ extends NZ{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new YZ(this._id,e,t||{},this._renderer)}}class YZ{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){T3(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 BZ(n){const e=n.\u0275type;return 0===e?n:1===e?n.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function T3(n,e,t,s,r){n.setProperty(e,`@@${t}:${s}`,r)}class Z0{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 I3{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 A3(n){return new le(3e3,!1)}function Gp(n){switch(n.length){case 0:return new Z0;case 1:return n[0];default:return new I3(n)}}function L3(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 qd: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 cJ(n){return new le(3502,!1)}();return o}function VF(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&jF(t,"start",n)));break;case"done":n.onDone(()=>s(t&&jF(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&jF(t,"destroy",n)))}}function jF(n,e,t){const s=t.totalTime,r=!!t.disabled,o=HF(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 HF(n,e,t,s,r="",o=0,c){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:r,totalTime:o,disabled:!!c}}function Ra(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function P3(n){const e=n.indexOf(":");return[n.substring(1,e),n.slice(e+1)]}const wJ=typeof document>"u"?null:document.documentElement;function UF(n){const e=n.parentNode||n.host||null;return e===wJ?null:e}let Ag=null,R3=!1;function DJ(n){Ag||(Ag=function CJ(){return typeof document<"u"?document.body:null}()||{},R3=!!Ag.style&&"WebkitAppearance"in Ag.style);let e=!0;return Ag.style&&!function SJ(n){return"ebkit"==n.substring(1,6)}(n)&&(e=n in Ag.style,!e&&R3&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Ag.style)),e}function O3(n,e){for(;e;){if(e===n)return!0;e=UF(e)}return!1}function N3(n,e,t){if(t)return Array.from(n.querySelectorAll(e));const s=n.querySelector(e);return s?[s]:[]}class Lg{validateStyleProperty(e){return DJ(e)}containsElement(e,t){return O3(e,t)}getParentElement(e){return UF(e)}query(e,t,s){return N3(e,t,s)}computeStyle(e,t,s){return s||""}animate(e,t,s,r,o,c=[],d){return new Z0(s,r)}static#e=this.\u0275fac=function(t){return new(t||Lg)};static#t=this.\u0275prov=Ae({token:Lg,factory:Lg.\u0275fac})}class $F{static#e=this.NOOP=new Lg}class zF{}const EJ=1e3,WF="ng-enter",rI="ng-leave",oI="ng-trigger",aI=".ng-trigger",Y3="ng-animating",qF=".ng-animating";function Kd(n){if("number"==typeof n)return n;const e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:GF(parseFloat(e[1]),e[2])}function GF(n,e){return"s"===e?n*EJ:n}function lI(n,e,t){return n.hasOwnProperty("duration")?n:function kJ(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(A3()),{duration:0,delay:0,easing:""};r=GF(parseFloat(d[1]),d[2]);const h=d[3];null!=h&&(o=GF(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 jZ(){return new le(3100,!1)}()),d=!0),o<0&&(e.push(function HZ(){return new le(3101,!1)}()),d=!0),d&&e.splice(h,0,A3())}return{duration:r,delay:o,easing:c}}(n,e,t)}function wu(n,e,t){e.forEach((s,r)=>{const o=QF(r);t&&!t.has(r)&&t.set(r,n.style[o]),n.style[o]=s})}function Pg(n,e){e.forEach((t,s)=>{const r=QF(s);n.style[r]=""})}function J0(n){return Array.isArray(n)?1==n.length?n[0]:k3(n):n}function IJ(n,e,t){const s=e.params||{},r=V3(n);r.length&&r.forEach(o=>{s.hasOwnProperty(o)||t.push(function UZ(n){return new le(3001,!1)}())})}const KF=new RegExp("{{\\s*(.+?)\\s*}}","g");function V3(n){let e=[];if("string"==typeof n){let t;for(;t=KF.exec(n);)e.push(t[1]);KF.lastIndex=0}return e}function eC(n,e,t){const s=`${n}`,r=s.replace(KF,(o,c)=>{let d=e[c];return null==d&&(t.push(function $Z(n){return new le(3003,!1)}()),d=""),d.toString()});return r==s?n:r}const AJ=/-+([a-z0-9])/g;function QF(n){return n.replace(AJ,(...e)=>e[1].toUpperCase())}function Oa(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 zZ(n){return new le(3004,!1)}(e.type)}}function XF(n,e){return window.getComputedStyle(n)[e]}const RJ=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 j3 extends zF{normalizePropertyName(e,t){return QF(e)}normalizeStyleValue(e,t,s,r){let o="";const c=s.toString().trim();if(RJ.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 WZ(n,e){return new le(3005,!1)}())}return c+o}}const cI="*";function OJ(n,e){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(s=>function NJ(n,e,t){if(":"==n[0]){const h=function FJ(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 iJ(n){return new le(3015,!1)}()),e;const r=s[1],o=s[2],c=s[3];e.push(H3(r,c));const d=r==cI&&c==cI;"<"==o[0]&&!d&&e.push(H3(c,r))}(s,t,e)):t.push(n),t}const uI=new Set(["true","1"]),dI=new Set(["false","0"]);function H3(n,e){const t=uI.has(n)||dI.has(n),s=uI.has(e)||dI.has(e);return(r,o)=>{let c=n==cI||n==r,d=e==cI||e==o;return!c&&t&&"boolean"==typeof r&&(c=r?uI.has(n):dI.has(n)),!d&&s&&"boolean"==typeof o&&(d=o?uI.has(e):dI.has(e)),c&&d}}const U3=":self",YJ=new RegExp("s*:selfs*,?","g");function ZF(n,e,t,s){return new BJ(n).build(e,t,s)}class BJ{constructor(e){this._driver=e}build(e,t,s){const r=new HJ(t);return this._resetContextStyleTimingState(r),Oa(this,J0(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 qZ(){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 GZ(){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=>{V3(h).forEach(m=>{c.hasOwnProperty(m)||o.add(m)})})}),o.size&&t.errors.push(function KZ(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=Oa(this,J0(e.animation),t),r=OJ(e.expr,t.errors);return{type:Gt.Transition,matchers:r,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Rg(e.options)}}visitSequence(e,t){return{type:Gt.Sequence,steps:e.steps.map(s=>Oa(this,s,t)),options:Rg(e.options)}}visitGroup(e,t){const s=t.currentTime;let r=0;const o=e.steps.map(c=>{t.currentTime=s;const d=Oa(this,c,t);return r=Math.max(r,t.currentTime),d});return t.currentTime=r,{type:Gt.Group,steps:o,options:Rg(e.options)}}visitAnimate(e,t){const s=function $J(n,e){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n){return JF(lI(n,e).duration,0,"")}const t=n;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=JF(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=lI(t,e);return JF(r.duration,r.delay,r.easing)}(e.timings,t.errors);t.currentAnimateTimings=s;let r,o=e.styles?e.styles:pc({});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=pc(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===qd?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 XZ(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&&IJ(d,t.options,t.errors)})})}visitKeyframes(e,t){const s={type:Gt.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function ZZ(){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 UJ(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:Oa(this,J0(e.animation),t),options:Rg(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Gt.AnimateChild,options:Rg(e.options)}}visitAnimateRef(e,t){return{type:Gt.AnimateRef,animation:this.visitReference(e.animation,t),options:Rg(e.options)}}visitQuery(e,t){const s=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[o,c]=function VJ(n){const e=!!n.split(/\s*,\s*/).find(t=>t==U3);return e&&(n=n.replace(YJ,"")),n=n.replace(/@\*/g,aI).replace(/@\w+/g,t=>aI+"-"+t.slice(1)).replace(/:animating/g,qF),[n,e]}(e.selector);t.currentQuerySelector=s.length?s+" "+o:o,Ra(t.collectedStyles,t.currentQuerySelector,new Map);const d=Oa(this,J0(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:Rg(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function nJ(){return new le(3013,!1)}());const s="full"===e.timings?{duration:0,delay:0,easing:"full"}:lI(e.timings,t.errors,!0);return{type:Gt.Stagger,animation:Oa(this,J0(e.animation),t),timings:s,options:null}}}class HJ{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 Rg(n){return n?(n={...n}).params&&(n.params=function jJ(n){return n?{...n}:null}(n.params)):n={},n}function JF(n,e,t){return{duration:n,delay:e,easing:t}}function eY(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 hI{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 qJ=new RegExp(":enter","g"),KJ=new RegExp(":leave","g");function tY(n,e,t,s,r,o=new Map,c=new Map,d,h,m=[]){return(new QJ).buildKeyframes(n,e,t,s,r,o,c,d,h,m)}class QJ{buildKeyframes(e,t,s,r,o,c,d,h,m,g=[]){m=m||new hI;const S=new nY(e,t,m,r,o,g,[]);S.options=h;const T=h.delay?Kd(h.delay):0;S.currentTimeline.delayNextStep(T),S.currentTimeline.setStyles([c],null,S.errors,h),Oa(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()):[eY(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:Kd(eC(o,r?.params??{},t.errors));s.delayNextStep(c)}}}_visitSubInstructions(e,t,s){let o=t.currentTimeline.currentTime;const c=null!=s.duration?Kd(s.duration):null,d=null!=s.delay?Kd(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),Oa(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=pI);const c=Kd(o.delay);r.delayNextStep(c)}e.steps.length&&(e.steps.forEach(c=>Oa(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?Kd(e.options.delay):0;e.steps.forEach(c=>{const d=t.createSubContext(e.options);o&&d.delayNextStep(o),Oa(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 lI(t.params?eC(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?Kd(r.delay):0;o&&(t.previousNode.type===Gt.Style||0==s&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=pI);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),Oa(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;Oa(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=r.currentTime-S+(r.startTime-s.currentTimeline.startTime)}}const pI={};class nY{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=pI,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=h||new fI(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=Kd(s.duration)),null!=s.delay&&(r.delay=Kd(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]=eC(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 nY(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=pI,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 XJ(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(qJ,"."+this._enterClassName)).replace(KJ,"."+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 sJ(n){return new le(3014,!1)}()),d}}class fI{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 fI(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||qd),this._currentKeyframe.set(t,qd);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},c=function ZJ(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,qd)}else for(let[o,c]of r)t.set(o,c)}),t}(e,this._globalTimelineStyles);for(let[d,h]of c){const m=eC(h,o,s);this._pendingStyles.set(d,m),this._localTimelineStyles.has(d)||this._backFill.set(d,this._globalTimelineStyles.get(d)??qd),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===qd&&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 eY(this.element,r,o,c,this.duration,this.startTime,this.easing,!1)}}class XJ extends fI{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",z3(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",z3(P/c)),o.push(T)}s=c,t=0,r="",e=o}return eY(this.element,e,this.preStyleProps,this.postStyleProps,s,t,r,!0)}}function z3(n,e=3){const t=Math.pow(10,e-1);return Math.round(n*t)/t}function W3(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 sY={};class q3{constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,r){return function JJ(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||sY,I=d&&d.params||sY,P=this.buildStyles(s,I,S),Y=h&&h.params||sY,z=this.buildStyles(r,Y,S),Q=new Set,q=new Map,oe=new Map,fe="void"===r,ye={params:G3(Y,T),delay:this.ast.options?.delay},Re=g?[]:tY(e,t,this.ast.animation,o,c,P,z,ye,m,S);let Oe=0;return Re.forEach(tt=>{Oe=Math.max(tt.duration+tt.delay,Oe)}),S.length?W3(t,this._triggerName,s,r,fe,P,z,[],[],q,oe,Oe,S):(Re.forEach(tt=>{const ut=tt.element,Un=Ra(q,ut,new Set);tt.preStyleProps.forEach(bn=>Un.add(bn));const Gn=Ra(oe,ut,new Set);tt.postStyleProps.forEach(bn=>Gn.add(bn)),ut!==t&&Q.add(ut)}),W3(t,this._triggerName,s,r,fe,P,z,Re,[...Q.values()],q,oe,Oe))}}function G3(n,e){const t={...e};return Object.entries(n).forEach(([s,r])=>{null!=r&&(t[s]=r)}),t}class eee{constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){const s=new Map,r=G3(e,this.defaultParams);return this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((c,d)=>{c&&(c=eC(c,r,t));const h=this.normalizer.normalizePropertyName(d,t);c=this.normalizer.normalizeStyleValue(d,h,c,t),s.set(d,c)})}),s}}class nee{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 eee(r.style,o,s))}),K3(this.states,"true","1"),K3(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new q3(e,r,this.states))}),this.fallbackTransition=function see(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 q3(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 K3(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 iee=new hI;class ree{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=ZF(this._driver,t,s,r);if(s.length)throw function uJ(n){return new le(3503,!1)}();r.length,this._animations.set(e,o)}_buildPlayer(e,t,s){const r=e.element,o=L3(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=tY(this._driver,t,o,WF,rI,new Map,new Map,s,iee,r),c.forEach(g=>{const S=Ra(d,g.element,new Map);g.postStyleProps.forEach(T=>S.set(T,null))})):(r.push(function dJ(){return new le(3300,!1)}()),c=[]),r.length)throw function hJ(n){return new le(3504,!1)}();d.forEach((g,S)=>{g.forEach((T,I)=>{g.set(I,this._driver.computeStyle(S,I,qd))})});const m=Gp(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 pJ(n){return new le(3301,!1)}();return t}listen(e,t,s,r){const o=HF(t,"","","");return VF(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 Q3="ng-animate-queued",iY="ng-animate-disabled",uee=[],X3={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},dee={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},fc="__ng_removed";class rY{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 tC="void",oY=new rY(tC);class hee{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 fJ(n,e){return new le(3302,!1)}();if(null==s||0==s.length)throw function mJ(n){return new le(3303,!1)}();if(!function gee(n){return"start"==n||"done"==n}(s))throw function gJ(n,e){return new le(3400,!1)}();const o=Ra(this._elementListeners,e,[]),c={name:t,phase:s,callback:r};o.push(c);const d=Ra(this._engine.statesByElement,e,new Map);return d.has(t)||(vl(e,oI),vl(e,oI+"-"+t),d.set(t,oY)),()=>{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 _J(n){return new le(3401,!1)}();return t}trigger(e,t,s,r=!0){const o=this._getTrigger(t),c=new aY(this.id,t,e);let d=this._engine.statesByElement.get(e);d||(vl(e,oI),vl(e,oI+"-"+t),this._engine.statesByElement.set(e,d=new Map));let h=d.get(t);const m=new rY(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&h&&m.absorbOptions(h.options),d.set(t,m),h||(h=oY),m.value!==tC&&h.value===m.value){if(!function vee(n,e){const t=Object.keys(n),s=Object.keys(e);if(t.length!=s.length)return!1;for(let r=0;r{Pg(e,z),wu(e,Q)})}return}const T=Ra(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,Q3),c.onStart(()=>{zv(e,Q3)})),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,aI,!0);s.forEach(r=>{if(r[fc])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,tC,r);g&&d.push(g)}}),d.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,c),s&&Gp(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)||oY,g=new rY(tC),S=new aY(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[fc];(!o||o===X3)&&(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=HF(o,s.triggerName,s.fromState.value,s.toState.value);h._data=e,VF(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 pee{_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 hee(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(mI(t)){const o=this._fetchNamespace(e);if(o)return o.trigger(t,s,r),!0}return!1}insertNode(e,t,s,r){if(!mI(t))return;const o=t[fc];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,iY)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),zv(e,iY))}removeNode(e,t,s){if(mI(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[fc]={namespaceId:e,setForRemoval:r,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,t,s,r,o){return mI(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,aI,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,qF,!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 Gp(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e[fc];if(t&&t.setForRemoval){if(e[fc]=X3,t.namespaceId){this.destroyInnerAnimations(e);const s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(iY)&&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?Gp(t).onDone(()=>{s.forEach(r=>r())}):s.forEach(r=>r())}}reportError(e){throw function yJ(n){return new le(3402,!1)}()}_flushAnimations(e,t){const s=new hI,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 _t=this.driver.query($e,".ng-animate-queued",!0);for(let xt=0;xt<_t.length;xt++)g.add(_t[xt])});const S=this.bodyNode,T=Array.from(this.statesByElement.keys()),I=eU(T,this.collectedEnterElements),P=new Map;let Y=0;I.forEach(($e,_t)=>{const xt=WF+Y++;P.set(_t,xt),$e.forEach(In=>vl(In,xt))});const z=[],Q=new Set,q=new Set;for(let $e=0;$eQ.add(In)):q.add(_t))}const oe=new Map,fe=eU(T,Array.from(Q));fe.forEach(($e,_t)=>{const xt=rI+Y++;oe.set(_t,xt),$e.forEach(In=>vl(In,xt))}),e.push(()=>{I.forEach(($e,_t)=>{const xt=P.get(_t);$e.forEach(In=>zv(In,xt))}),fe.forEach(($e,_t)=>{const xt=oe.get(_t);$e.forEach(In=>zv(In,xt))}),z.forEach($e=>{this.processLeaveNode($e)})});const ye=[],Re=[];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[fc];if(vo&&vo.setForMove){if(vo.previousTriggersValues&&vo.previousTriggersValues.has(xt.triggerName)){const M_=vo.previousTriggersValues.get(xt.triggerName),xl=this.statesByElement.get(xt.element);if(xl&&xl.has(xt.triggerName)){const kP=xl.get(xt.triggerName);kP.value=M_,xl.set(xt.triggerName,kP)}}return void In.destroy()}}const qr=!S||!this.driver.containsElement(S,ki),_r=oe.get(ki),ga=P.get(ki),$s=this._buildInstruction(xt,s,ga,_r,qr);if($s.errors&&$s.errors.length)return void Re.push($s);if(qr)return In.onStart(()=>Pg(ki,$s.fromStyles)),In.onDestroy(()=>wu(ki,$s.toStyles)),void r.push(In);if(xt.isFallbackTransition)return In.onStart(()=>Pg(ki,$s.fromStyles)),In.onDestroy(()=>wu(ki,$s.toStyles)),void r.push(In);const cw=[];$s.timelines.forEach(vo=>{vo.stretchStartingKeyframe=!0,this.disabledNodes.has(vo.element)||cw.push(vo)}),$s.timelines=cw,s.append(ki,$s.timelines);const Wve={instruction:$s,player:In,element:ki};c.push(Wve),$s.queriedElements.forEach(vo=>Ra(d,vo,[]).push(In)),$s.preStyleProps.forEach((vo,M_)=>{if(vo.size){let xl=h.get(M_);xl||h.set(M_,xl=new Set),vo.forEach((kP,ej)=>xl.add(ej))}}),$s.postStyleProps.forEach((vo,M_)=>{let xl=m.get(M_);xl||m.set(M_,xl=new Set),vo.forEach((kP,ej)=>xl.add(ej))})});if(Re.length){const $e=[];Re.forEach(_t=>{$e.push(function vJ(n,e){return new le(3505,!1)}(_t.triggerName,_t.errors))}),ye.forEach(_t=>_t.destroy()),this.reportError($e)}const Oe=new Map,tt=new Map;c.forEach($e=>{const _t=$e.element;s.has(_t)&&(tt.set(_t,_t),this._beforeAnimationBuild($e.player.namespaceId,$e.instruction,Oe))}),r.forEach($e=>{const _t=$e.element;this._getPreviousPlayers(_t,!1,$e.namespaceId,$e.triggerName,null).forEach(In=>{Ra(Oe,_t,[]).push(In),In.destroy()})});const ut=z.filter($e=>nU($e,h,m)),Un=new Map;J3(Un,this.driver,q,m,qd).forEach($e=>{nU($e,h,m)&&ut.push($e)});const bn=new Map;I.forEach(($e,_t)=>{J3(bn,this.driver,new Set($e),h,"!")}),ut.forEach($e=>{const _t=Un.get($e),xt=bn.get($e);Un.set($e,new Map([..._t?.entries()??[],...xt?.entries()??[]]))});const _i=[],Pr=[],En={};c.forEach($e=>{const{element:_t,player:xt,instruction:In}=$e;if(s.has(_t)){if(g.has(_t))return xt.onDestroy(()=>wu(_t,In.toStyles)),xt.disabled=!0,xt.overrideTotalTime(In.totalTime),void r.push(xt);let ki=En;if(tt.size>1){let _r=_t;const ga=[];for(;_r=_r.parentNode;){const $s=tt.get(_r);if($s){ki=$s;break}ga.push(_r)}ga.forEach($s=>tt.set($s,ki))}const qr=this._buildAnimation(xt.namespaceId,In,Oe,o,bn,Un);if(xt.setRealPlayer(qr),ki===En)_i.push(xt);else{const _r=this.playersByElement.get(ki);_r&&_r.length&&(xt.parentPlayer=Gp(_r)),r.push(xt)}}else Pg(_t,In.fromStyles),xt.onDestroy(()=>wu(_t,In.toStyles)),Pr.push(xt),g.has(_t)&&r.push(xt)}),Pr.forEach($e=>{const _t=o.get($e.element);if(_t&&_t.length){const xt=Gp(_t);$e.setRealPlayer(xt)}}),r.forEach($e=>{$e.parentPlayer?$e.syncPlayerEvents($e.parentPlayer):$e.destroy()});for(let $e=0;$e!qr.destroyed);ki.length?_ee(this,_t,ki):this.processLeaveNode(_t)}return z.length=0,_i.forEach($e=>{this.players.push($e),$e.onDone(()=>{$e.destroy();const _t=this.players.indexOf($e);this.players.splice(_t,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==tC;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=Ra(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)})}Pg(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[fc];if(z&&z.removedBeforeQueried)return new Z0(P.duration,P.delay);const Q=Y!==h,q=function yee(n){const e=[];return tU(n,e),e}((s.get(Y)||uee).map(Oe=>Oe.getRealPlayer())).filter(Oe=>{const tt=Oe;return!!tt.element&&tt.element===Y}),oe=o.get(Y),fe=c.get(Y),ye=L3(this._normalizer,P.keyframes,oe,fe),Re=this._buildPlayer(P,ye,q);if(P.subTimeline&&r&&S.add(Y),Q){const Oe=new aY(e,d,Y);Oe.setRealPlayer(Re),m.push(Oe)}return Re});m.forEach(P=>{Ra(this.playersByQueriedElement,P.element,[]).push(P),P.onDone(()=>function fee(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,Y3));const I=Gp(T);return I.onDestroy(()=>{g.forEach(P=>zv(P,Y3)),wu(h,t.toStyles)}),S.forEach(P=>{Ra(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 Z0(e.duration,e.delay)}}class aY{constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s,this._player=new Z0,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=>VF(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){Ra(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 mI(n){return n&&1===n.nodeType}function Z3(n,e){const t=n.style.display;return n.style.display=e??"none",t}function J3(n,e,t,s,r){const o=[];t.forEach(h=>o.push(Z3(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[fc]=dee,c.push(m))}),n.set(m,g)});let d=0;return t.forEach(h=>Z3(h,o[d++])),c}function eU(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 zv(n,e){n.classList?.remove(e)}function _ee(n,e,t){Gp(t).onDone(()=>n.processLeaveNode(e))}function tU(n,e){for(let t=0;tr.add(o)):e.set(n,s),t.delete(n),!0}class nC{constructor(e,t,s){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new pee(e.body,t,s),this._timelineEngine=new ree(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=ZF(this._driver,o,h,m);if(h.length)throw function lJ(n,e){return new le(3404,!1)}();m.length,d=function tee(n,e,t){return new nee(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]=P3(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]=P3(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 sC{static#e=this.initialStylesByElement=new WeakMap;constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let r=sC.initialStylesByElement.get(e);r||sC.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&wu(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(wu(this._element,this._initialStyles),this._endStyles&&(wu(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(sC.initialStylesByElement.delete(this._element),this._startStyles&&(Pg(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Pg(this._element,this._endStyles),this._endStyles=null),wu(this._element,this._initialStyles),this._state=3)}}function lY(n){let e=null;return n.forEach((t,s)=>{(function wee(n){return"display"===n||"position"===n})(s)&&(e=e||new Map,e.set(s,t))}),e}class sU{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:XF(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){const t="start"===e?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}}class iU{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return O3(e,t)}getParentElement(e){return UF(e)}query(e,t,s){return N3(e,t,s)}computeStyle(e,t,s){return XF(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 sU);(function LJ(n,e){return 0===n||0===e})(s,r)&&g.forEach(I=>{I.currentSnapshot.forEach((P,Y)=>m.set(Y,P))});let S=function TJ(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 PJ(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,XF(n,d)))}}return e}(e,S,m);const T=function bee(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=lY(e[0]),e.length>1&&(s=lY(e[e.length-1]))):e instanceof Map&&(t=lY(e)),t||s?new sC(n,t,s):null}(e,S);return new sU(e,S,h,T)}}const rU="@.disabled";class oU{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==rU?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 See extends oU{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==rU?(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 Dee(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 Cee(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 Mee{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 oU("",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 See(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 iC extends nC{constructor(e,t,s){super(e,t,s)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(t){return new(t||iC)(Ee(Pn),Ee($F),Ee(zF))};static#t=this.\u0275prov=Ae({token:iC,factory:iC.\u0275fac})}const aU=[{provide:zF,useFactory:function Eee(){return new j3}},{provide:nC,useClass:iC},{provide:Td,useFactory:function xee(n,e,t){return new Mee(n,e,t)},deps:[Ig,nC,Mt]}],cY=[{provide:$F,useFactory:()=>new iU},{provide:fy,useValue:"BrowserAnimations"},...aU],uY=[{provide:$F,useClass:Lg},{provide:fy,useValue:"NoopAnimations"},...aU];class rC{static withConfig(e){return{ngModule:rC,providers:e.disableAnimations?uY:cY}}static#e=this.\u0275fac=function(t){return new(t||rC)};static#t=this.\u0275mod=fs({type:rC,exports:[Wd]});static#n=this.\u0275inj=Cs({providers:cY,imports:[Wd]})}class dY{static#e=this.\u0275fac=function(t){return new(t||dY)};static#t=this.\u0275mod=fs({type:dY,exports:[Wd]});static#n=this.\u0275inj=Cs({providers:uY,imports:[Wd]})}const lU=n=>e=>{for(let t=0,s=n.length;tn&&"number"==typeof n.length&&"function"!=typeof n;function uU(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}const dU=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(cU(n))return lU(n);if(uU(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[_I])return(n=>e=>{const t=n[_I]();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 hY(n,e){return new At(t=>{const s=new St;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 Fee(n,e){if(null!=n){if(function Oee(n){return n&&"function"==typeof n[yi]}(n))return function Lee(n,e){return new At(t=>{const s=new St;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(uU(n))return function Pee(n,e){return new At(t=>{const s=new St;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(cU(n))return hY(n,e);if(function Nee(n){return n&&"function"==typeof n[_I]}(n)||"string"==typeof n)return function Ree(n,e){if(!n)throw new Error("Iterable cannot be null");return new At(t=>{const s=new St;let r;return s.add(()=>{r&&"function"==typeof r.return&&r.return()}),s.add(e.schedule(()=>{r=n[_I](),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?Fee(n,e):n instanceof At?n:new At(dU(n))}function oC(...n){if(1===n.length){const e=n[0];if(Fs(e))return yI(e,null);if(an(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return yI(t.map(s=>e[s]),t)}}if("function"==typeof n[n.length-1]){const e=n.pop();return yI(n=1===n.length&&Fs(n[0])?n[0]:n,null).pipe(zt(t=>e(...t)))}return yI(n,null)}function yI(n,e){return new At(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 aC{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||aC)(he(Ui),he(gn))};static#t=this.\u0275dir=et({type:aC})}class mc extends aC{static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(mc)))(s||mc)}})();static#t=this.\u0275dir=et({type:mc,features:[Tn]})}const zr=new Ye(""),Yee={provide:zr,useExisting:Lt(()=>Kp),multi:!0};class Kp extends mc{writeValue(e){this.setProperty("checked",e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(Kp)))(s||Kp)}})();static#t=this.\u0275dir=et({type:Kp,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,s){1&t&&pl("change",function(o){return s.onChange(o.target.checked)})("blur",function(){return s.onTouched()})},features:[Vn([Yee]),Tn]})}const Bee={provide:zr,useExisting:Lt(()=>Qp),multi:!0};const jee=new Ye("");class Qp extends aC{constructor(e,t,s){super(e,t),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Vee(){const n=Hd()?Hd().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||Qp)(he(Ui),he(gn),he(jee,8))};static#t=this.\u0275dir=et({type:Qp,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&&pl("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:[Vn([Bee]),Tn]})}function Xp(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function hU(n){return null!=n&&"number"==typeof n.length}const ho=new Ye(""),Zp=new Ye(""),Hee=/^(?=.{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 pU(e)}static max(e){return fU(e)}static required(e){return mU(e)}static requiredTrue(e){return gU(e)}static email(e){return _U(e)}static minLength(e){return yU(e)}static maxLength(e){return vU(e)}static pattern(e){return bU(e)}static nullValidator(e){return null}static compose(e){return EU(e)}static composeAsync(e){return xU(e)}}function pU(n){return e=>{if(Xp(e.value)||Xp(n))return null;const t=parseFloat(e.value);return!isNaN(t)&&t{if(Xp(e.value)||Xp(n))return null;const t=parseFloat(e.value);return!isNaN(t)&&t>n?{max:{max:n,actual:e.value}}:null}}function mU(n){return Xp(n.value)?{required:!0}:null}function gU(n){return!0===n.value?null:{required:!0}}function _U(n){return Xp(n.value)||Hee.test(n.value)?null:{email:!0}}function yU(n){return e=>Xp(e.value)||!hU(e.value)?null:e.value.lengthhU(e.value)&&e.value.length>n?{maxlength:{requiredLength:n,actualLength:e.value.length}}:null}function bU(n){if(!n)return vI;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(Xp(s.value))return null;const r=s.value;return e.test(r)?null:{pattern:{requiredPattern:t,actualValue:r}}}}function vI(n){return null}function wU(n){return null!=n}function SU(n){return x0(n)?pr(n):n}function DU(n){let e={};return n.forEach(t=>{e=null!=t?{...e,...t}:e}),0===Object.keys(e).length?null:e}function CU(n,e){return e.map(t=>t(n))}function MU(n){return n.map(e=>function Uee(n){return!n.validate}(e)?e:t=>e.validate(t))}function EU(n){if(!n)return null;const e=n.filter(wU);return 0==e.length?null:function(t){return DU(CU(t,e))}}function pY(n){return null!=n?EU(MU(n)):null}function xU(n){if(!n)return null;const e=n.filter(wU);return 0==e.length?null:function(t){return oC(CU(t,e).map(SU)).pipe(zt(DU))}}function fY(n){return null!=n?xU(MU(n)):null}function kU(n,e){return null===n?[e]:Array.isArray(n)?[...n,e]:[n,e]}function TU(n){return n._rawValidators}function IU(n){return n._rawAsyncValidators}function mY(n){return n?Array.isArray(n)?n:[n]:[]}function bI(n,e){return Array.isArray(n)?n.includes(e):n===e}function AU(n,e){const t=mY(e);return mY(n).forEach(r=>{bI(t,r)||t.push(r)}),t}function LU(n,e){return mY(e).filter(t=>!bI(n,t))}class PU{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=pY(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=fY(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 PU{get formDirective(){return null}get path(){return null}}class Qd extends PU{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class RU{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 Wv extends RU{constructor(e){super(e)}static#e=this.\u0275fac=function(t){return new(t||Wv)(he(Qd,2))};static#t=this.\u0275dir=et({type:Wv,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,s){2&t&&hg("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 RU{constructor(e){super(e)}static#e=this.\u0275fac=function(t){return new(t||qv)(he(No,10))};static#t=this.\u0275dir=et({type:qv,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,s){2&t&&hg("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 lC="VALID",SI="INVALID",Gv="PENDING",cC="DISABLED";class Kv{}class NU extends Kv{constructor(e,t){super(),this.value=e,this.source=t}}class yY extends Kv{constructor(e,t){super(),this.pristine=e,this.source=t}}class vY extends Kv{constructor(e,t){super(),this.touched=e,this.source=t}}class DI extends Kv{constructor(e,t){super(),this.status=e,this.source=t}}class Gee extends Kv{constructor(e){super(),this.source=e}}class Kee extends Kv{constructor(e){super(),this.source=e}}function bY(n){return(CI(n)?n.validators:n)||null}function wY(n,e){return(CI(e)?e.asyncValidators:n)||null}function CI(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function FU(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 YU(n,e,t){n._forEachChild((s,r)=>{if(void 0===t[r])throw new le(1002,"")})}class MI{constructor(e,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=R0(()=>this.statusReactive()),this.statusReactive=Ad(void 0),this._pristine=R0(()=>this.pristineReactive()),this.pristineReactive=Ad(!0),this._touched=R0(()=>this.touchedReactive()),this.touchedReactive=Ad(!1),this._events=new ft,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 _u(this.statusReactive)}set status(e){_u(()=>this.statusReactive.set(e))}get valid(){return this.status===lC}get invalid(){return this.status===SI}get pending(){return this.status==Gv}get disabled(){return this.status===cC}get enabled(){return this.status!==cC}get pristine(){return _u(this.pristineReactive)}set pristine(e){_u(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return _u(this.touchedReactive)}set touched(e){_u(()=>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(AU(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(AU(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(LU(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(LU(e,this._rawAsyncValidators))}hasValidator(e){return bI(this._rawValidators,e)}hasAsyncValidator(e){return bI(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 vY(!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 vY(!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 yY(!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 yY(!0,s))}markAsPending(e={}){this.status=Gv;const t=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new DI(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=cC,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 NU(this.value,s)),this._events.next(new DI(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=lC,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===lC||this.status===Gv)&&this._runAsyncValidator(s,e.emitEvent)}const t=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new NU(this.value,t)),this._events.next(new DI(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()?cC:lC}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,t){if(this.asyncValidator){this.status=Gv,this._hasOwnPendingAsyncValidator={emitEvent:!1!==t};const s=SU(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 DI(this.status,t)),this._parent&&this._parent._updateControlsErrors(e,t,s)}_initObservables(){this.valueChanges=new Le,this.statusChanges=new Le}_calculateStatus(){return this._allControlsDisabled()?cC:this.errors?SI:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Gv)?Gv:this._anyControlsHaveStatus(SI)?SI:lC}_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 yY(this.pristine,t))}_updateTouched(e={},t){this.touched=this._anyControlsTouched(),this._events.next(new vY(this.touched,t)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){CI(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 Qee(n){return Array.isArray(n)?pY(n):n||null}(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=function Xee(n){return Array.isArray(n)?fY(n):n||null}(this._rawAsyncValidators)}}class uC extends MI{constructor(e,t,s){super(bY(t),wY(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={}){YU(this,0,e),Object.keys(e).forEach(s=>{FU(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 BU extends uC{}const Og=new Ye("CallSetDisabledState",{providedIn:"root",factory:()=>dC}),dC="always";function EI(n,e){return[...e.path,n]}function hC(n,e,t=dC){SY(n,e),e.valueAccessor.writeValue(n.value),(n.disabled||"always"===t)&&e.valueAccessor.setDisabledState?.(n.disabled),function Jee(n,e){e.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&VU(n,e)})}(n,e),function tte(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 ete(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&VU(n,e),"submit"!==n.updateOn&&n.markAsTouched()})}(n,e),function Zee(n,e){if(e.valueAccessor.setDisabledState){const t=s=>{e.valueAccessor.setDisabledState(s)};n.registerOnDisabledChange(t),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}(n,e)}function xI(n,e,t=!0){const s=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(s),e.valueAccessor.registerOnTouched(s)),TI(n,e),n&&(e._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function kI(n,e){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function SY(n,e){const t=TU(n);null!==e.validator?n.setValidators(kU(t,e.validator)):"function"==typeof t&&n.setValidators([t]);const s=IU(n);null!==e.asyncValidator?n.setAsyncValidators(kU(s,e.asyncValidator)):"function"==typeof s&&n.setAsyncValidators([s]);const r=()=>n.updateValueAndValidity();kI(e._rawValidators,r),kI(e._rawAsyncValidators,r)}function TI(n,e){let t=!1;if(null!==n){if(null!==e.validator){const r=TU(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=IU(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 kI(e._rawValidators,s),kI(e._rawAsyncValidators,s),t}function VU(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function jU(n,e){SY(n,e)}function CY(n,e){if(!n.hasOwnProperty("model"))return!1;const t=n.model;return!!t.isFirstChange()||!Object.is(e,t.currentValue)}function HU(n,e){n._syncPendingControls(),e.forEach(t=>{const s=t.control;"submit"===s.updateOn&&s._pendingChange&&(t.viewToModelUpdate(s._pendingValue),s._pendingChange=!1)})}function MY(n,e){if(!e)return null;let t,s,r;return Array.isArray(e),e.forEach(o=>{o.constructor===Qp?t=o:function ite(n){return Object.getPrototypeOf(n.constructor)===mc}(o)?s=o:r=o}),r||s||t||null}const ote={provide:No,useExisting:Lt(()=>Jp)},pC=Promise.resolve();class Jp extends No{get submitted(){return _u(this.submittedReactive)}constructor(e,t,s){super(),this.callSetDisabledState=s,this._submitted=R0(()=>this.submittedReactive()),this.submittedReactive=Ad(!1),this._directives=new Set,this.ngSubmit=new Le,this.form=new uC({},pY(e),fY(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){pC.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),hC(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){pC.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){pC.then(()=>{const t=this._findContainer(e.path),s=new uC({});jU(s,e),t.registerControl(e.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){pC.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){pC.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),HU(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||Jp)(he(ho,10),he(Zp,10),he(Og,8))};static#t=this.\u0275dir=et({type:Jp,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,s){1&t&&pl("submit",function(o){return s.onSubmit(o)})("reset",function(){return s.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Vn([ote]),Tn]})}function UU(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}function $U(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const Xd=class extends MI{constructor(e=null,t,s){super(bY(t),wY(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}),CI(t)&&(t.nonNullable||t.initialValueIsDefault)&&($U(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){UU(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){UU(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){$U(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}},Qv=Xd;class Xv 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 EI(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(Xv)))(s||Xv)}})();static#t=this.\u0275dir=et({type:Xv,features:[Tn]})}const lte={provide:No,useExisting:Lt(()=>ef)};class ef extends Xv{constructor(e,t,s){super(),this.name="",this._parent=e,this._setValidators(t),this._setAsyncValidators(s)}_checkParentType(){!(this._parent instanceof ef)&&this._parent}static#e=this.\u0275fac=function(t){return new(t||ef)(he(No,5),he(ho,10),he(Zp,10))};static#t=this.\u0275dir=et({type:ef,selectors:[["","ngModelGroup",""]],inputs:{name:[0,"ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[Vn([lte]),Tn]})}const cte={provide:Qd,useExisting:Lt(()=>Ng)},zU=Promise.resolve();class Ng extends Qd{constructor(e,t,s,r,o,c){super(),this._changeDetectorRef=o,this.callSetDisabledState=c,this.control=new Xd,this._registered=!1,this.name="",this.update=new Le,this._parent=e,this._setValidators(t),this._setAsyncValidators(s),this.valueAccessor=MY(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),CY(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(){hC(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){zU.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const t=e.isDisabled.currentValue,s=0!==t&&$i(t);zU.then(()=>{s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?EI(e,this._parent):[e]}static#e=this.\u0275fac=function(t){return new(t||Ng)(he(No,9),he(ho,10),he(Zp,10),he(zr,10),he(gl,8),he(Og,8))};static#t=this.\u0275dir=et({type:Ng,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:[Vn([cte]),Tn,_s]})}class Zv{static#e=this.\u0275fac=function(t){return new(t||Zv)};static#t=this.\u0275dir=et({type:Zv,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}const ute={provide:zr,useExisting:Lt(()=>tf),multi:!0};class tf extends mc{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(tf)))(s||tf)}})();static#t=this.\u0275dir=et({type:tf,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,s){1&t&&pl("input",function(o){return s.onChange(o.target.value)})("blur",function(){return s.onTouched()})},features:[Vn([ute]),Tn]})}const dte={provide:zr,useExisting:Lt(()=>Fg),multi:!0};class fC{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||fC)};static#t=this.\u0275prov=Ae({token:fC,factory:fC.\u0275fac,providedIn:"root"})}class Fg extends mc{constructor(e,t,s,r){super(e,t),this._registry=s,this._injector=r,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=me(Og,{optional:!0})??dC}ngOnInit(){this._control=this._injector.get(Qd),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||Fg)(he(Ui),he(gn),he(fC),he(rs))};static#t=this.\u0275dir=et({type:Fg,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,s){1&t&&pl("change",function(){return s.onChange()})("blur",function(){return s.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Vn([dte]),Tn]})}const hte={provide:zr,useExisting:Lt(()=>nf),multi:!0};class nf extends mc{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(nf)))(s||nf)}})();static#t=this.\u0275dir=et({type:nf,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,s){1&t&&pl("change",function(o){return s.onChange(o.target.value)})("input",function(o){return s.onChange(o.target.value)})("blur",function(){return s.onTouched()})},features:[Vn([hte]),Tn]})}const EY=new Ye(""),pte={provide:Qd,useExisting:Lt(()=>Yg)};class Yg extends Qd{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=MY(0,s)}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&xI(t,this,!1),hC(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}CY(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&xI(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||Yg)(he(ho,10),he(Zp,10),he(zr,10),he(EY,8),he(Og,8))};static#n=this.\u0275dir=et({type:Yg,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Vn([pte]),Tn,_s]})}const fte={provide:No,useExisting:Lt(()=>sf)};class sf extends No{get submitted(){return _u(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}constructor(e,t,s){super(),this.callSetDisabledState=s,this._submitted=R0(()=>this._submittedReactive()),this._submittedReactive=Ad(!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&&(TI(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 hC(t,e,this.callSetDisabledState),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){xI(e.control||null,e,!1),function rte(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),HU(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Gee(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 Kee(this.form))}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,s=this.form.get(e.path);t!==s&&(xI(t||null,e),(n=>n instanceof Xd)(s)&&(hC(s,e,this.callSetDisabledState),e.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);jU(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function nte(n,e){return TI(n,e)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){SY(this.form,this),this._oldForm&&TI(this._oldForm,this)}_checkFormPresent(){this.form}static#e=this.\u0275fac=function(t){return new(t||sf)(he(ho,10),he(Zp,10),he(Og,8))};static#t=this.\u0275dir=et({type:sf,selectors:[["","formGroup",""]],hostBindings:function(t,s){1&t&&pl("submit",function(o){return s.onSubmit(o)})("reset",function(){return s.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Vn([fte]),Tn,_s]})}const mte={provide:No,useExisting:Lt(()=>rf)};class rf extends Xv{constructor(e,t,s){super(),this.name=null,this._parent=e,this._setValidators(t),this._setAsyncValidators(s)}_checkParentType(){WU(this._parent)}static#e=this.\u0275fac=function(t){return new(t||rf)(he(No,13),he(ho,10),he(Zp,10))};static#t=this.\u0275dir=et({type:rf,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},features:[Vn([mte]),Tn]})}const gte={provide:No,useExisting:Lt(()=>af)};class af 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 EI(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){WU(this._parent)}static#e=this.\u0275fac=function(t){return new(t||af)(he(No,13),he(ho,10),he(Zp,10))};static#t=this.\u0275dir=et({type:af,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},features:[Vn([gte]),Tn]})}function WU(n){return!(n instanceof rf||n instanceof sf||n instanceof af)}const _te={provide:Qd,useExisting:Lt(()=>Bg)};class Bg extends Qd{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=MY(0,r)}ngOnChanges(e){this._added||this._setUpControl(),CY(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 EI(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||Bg)(he(No,13),he(ho,10),he(Zp,10),he(zr,10),he(EY,8))};static#n=this.\u0275dir=et({type:Bg,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[Vn([_te]),Tn,_s]})}const yte={provide:zr,useExisting:Lt(()=>Zd),multi:!0};function qU(n,e){return null==n?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${n}: ${e}`.slice(0,50))}class Zd extends mc{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=qU(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 vte(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(Zd)))(s||Zd)}})();static#t=this.\u0275dir=et({type:Zd,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,s){1&t&&pl("change",function(o){return s.onChange(o.target.value)})("blur",function(){return s.onTouched()})},inputs:{compareWith:"compareWith"},features:[Vn([yte]),Tn]})}class Jv{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(qU(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||Jv)(he(gn),he(Ui),he(Zd,9))};static#t=this.\u0275dir=et({type:Jv,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}const bte={provide:zr,useExisting:Lt(()=>Jd),multi:!0};function GU(n,e){return null==n?`${e}`:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${n}: ${e}`.slice(0,50))}class Jd extends mc{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(Jd)))(s||Jd)}})();static#t=this.\u0275dir=et({type:Jd,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,s){1&t&&pl("change",function(o){return s.onChange(o.target)})("blur",function(){return s.onTouched()})},inputs:{compareWith:"compareWith"},features:[Vn([bte]),Tn]})}class eb{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(GU(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(GU(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||eb)(he(gn),he(Ui),he(Jd,9))};static#t=this.\u0275dir=et({type:eb,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}function KU(n){return"number"==typeof n?n:parseInt(n,10)}function QU(n){return"number"==typeof n?n:parseFloat(n)}class Su{constructor(){this._validator=vI}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):vI,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||Su)};static#t=this.\u0275dir=et({type:Su,features:[_s]})}const Ste={provide:ho,useExisting:Lt(()=>lf),multi:!0};class lf extends Su{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=e=>QU(e),this.createValidator=e=>fU(e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(lf)))(s||lf)}})();static#t=this.\u0275dir=et({type:lf,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(t,s){2&t&&Pa("max",s._enabled?s.max:null)},inputs:{max:"max"},features:[Vn([Ste]),Tn]})}const Dte={provide:ho,useExisting:Lt(()=>cf),multi:!0};class cf extends Su{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>QU(e),this.createValidator=e=>pU(e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(cf)))(s||cf)}})();static#t=this.\u0275dir=et({type:cf,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(t,s){2&t&&Pa("min",s._enabled?s.min:null)},inputs:{min:"min"},features:[Vn([Dte]),Tn]})}const Cte={provide:ho,useExisting:Lt(()=>eh),multi:!0},Mte={provide:ho,useExisting:Lt(()=>uf),multi:!0};class eh extends Su{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=$i,this.createValidator=e=>mU}enabled(e){return e}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(eh)))(s||eh)}})();static#t=this.\u0275dir=et({type:eh,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,s){2&t&&Pa("required",s._enabled?"":null)},inputs:{required:"required"},features:[Vn([Cte]),Tn]})}class uf extends eh{constructor(){super(...arguments),this.createValidator=e=>gU}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(uf)))(s||uf)}})();static#t=this.\u0275dir=et({type:uf,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,s){2&t&&Pa("required",s._enabled?"":null)},features:[Vn([Mte]),Tn]})}const Ete={provide:ho,useExisting:Lt(()=>df),multi:!0};class df extends Su{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=$i,this.createValidator=e=>_U}enabled(e){return e}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(df)))(s||df)}})();static#t=this.\u0275dir=et({type:df,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[Vn([Ete]),Tn]})}const xte={provide:ho,useExisting:Lt(()=>hf),multi:!0};class hf extends Su{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=e=>KU(e),this.createValidator=e=>yU(e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(hf)))(s||hf)}})();static#t=this.\u0275dir=et({type:hf,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,s){2&t&&Pa("minlength",s._enabled?s.minlength:null)},inputs:{minlength:"minlength"},features:[Vn([xte]),Tn]})}const kte={provide:ho,useExisting:Lt(()=>pf),multi:!0};class pf extends Su{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>KU(e),this.createValidator=e=>vU(e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(pf)))(s||pf)}})();static#t=this.\u0275dir=et({type:pf,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,s){2&t&&Pa("maxlength",s._enabled?s.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Vn([kte]),Tn]})}const Tte={provide:ho,useExisting:Lt(()=>ff),multi:!0};class ff extends Su{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=e=>e,this.createValidator=e=>bU(e)}static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(ff)))(s||ff)}})();static#t=this.\u0275dir=et({type:ff,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,s){2&t&&Pa("pattern",s._enabled?s.pattern:null)},inputs:{pattern:"pattern"},features:[Vn([Tte]),Tn]})}class Vg{static#e=this.\u0275fac=function(t){return new(t||Vg)};static#t=this.\u0275mod=fs({type:Vg,declarations:[Zv,Jv,eb,Qp,tf,nf,Kp,Zd,Jd,Fg,Wv,qv,eh,hf,pf,ff,uf,df,cf,lf],exports:[Zv,Jv,eb,Qp,tf,nf,Kp,Zd,Jd,Fg,Wv,qv,eh,hf,pf,ff,uf,df,cf,lf]});static#n=this.\u0275inj=Cs({})}class XU extends MI{constructor(e,t,s){super(bY(t),wY(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={}){YU(this,0,e),e.forEach((s,r)=>{FU(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 ZU(n){return!!n&&(void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn)}class jg{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new jg;return e.useNonNullable=!0,e}group(e,t=null){const s=this._reduceControls(e);let r={};return ZU(t)?r=t:null!==t&&(r.validators=t.validator,r.asyncValidators=t.asyncValidator),new uC(s,r)}record(e,t=null){const s=this._reduceControls(e);return new BU(s,t)}control(e,t,s){let r={};return this.useNonNullable?(ZU(t)?r=t:(r.validators=t,r.asyncValidators=s),new Xd(e,{...r,nonNullable:!0})):new Xd(e,t,s)}array(e,t,s){const r=e.map(o=>this._createControl(o));return new XU(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 Xd)return e;if(e instanceof MI)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||jg)};static#t=this.\u0275prov=Ae({token:jg,factory:jg.\u0275fac,providedIn:"root"})}class xY{static#e=this.\u0275fac=function(t){return new(t||xY)};static#t=this.\u0275prov=Ae({token:xY,factory:()=>me(jg).nonNullable,providedIn:"root"})}class ir extends jg{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 bv("18.2.13");class Hg{static withConfig(e){return{ngModule:Hg,providers:[{provide:Og,useValue:e.callSetDisabledState??dC}]}}static#e=this.\u0275fac=function(t){return new(t||Hg)};static#t=this.\u0275mod=fs({type:Hg,declarations:[Ng,ef,Jp],exports:[Vg,Ng,ef,Jp]});static#n=this.\u0275inj=Cs({imports:[Vg]})}class tb{static withConfig(e){return{ngModule:tb,providers:[{provide:EY,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Og,useValue:e.callSetDisabledState??dC}]}}static#e=this.\u0275fac=function(t){return new(t||tb)};static#t=this.\u0275mod=fs({type:tb,declarations:[Yg,sf,Bg,rf,af],exports:[Vg,Yg,sf,Bg,rf,af]});static#n=this.\u0275inj=Cs({imports:[Vg]})}function nb(n){return n&&"function"==typeof n.schedule}function kY(n,e){return e?hY(n,e):new At(lU(n))}function ht(...n){let e=n[n.length-1];return nb(e)?(n.pop(),hY(n,e)):kY(n)}class II 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 sb(n,e,t,s,r=new II(n,t,s)){if(!r.closed)return e instanceof At?e.subscribe(r):dU(e)(r)}class ib 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 Ite(n,t)))}class Ite{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new Ate(e,this.project,this.concurrent))}}class Ate extends ib{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 rb(n,e){return Fo(n,e,1)}function mC(n){return e=>e.lift(new Lte(n))}class Lte{constructor(e){this.callback=e}call(e,t){return t.subscribe(new Pte(e,this.callback))}}class Pte extends tn{constructor(e,t){super(e),this.add(new St(t))}}function ha(n,e){return"function"==typeof e?t=>t.pipe(ha((s,r)=>pr(n(s,r)).pipe(zt((o,c)=>e(s,o,r,c))))):t=>t.lift(new Rte(n))}class Rte{constructor(e){this.project=e}call(e,t){return t.subscribe(new Ote(e,this.project))}}class Ote extends ib{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 II(this,t,s),c=this.destination;c.add(o),this.innerSubscription=sb(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 AI{}class LI{}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 Nte{encodeKey(e){return JU(e)}encodeValue(e){return JU(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const Yte=/%(\d[a-f0-9])/gi,Bte={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function JU(n){return encodeURIComponent(n).replace(Yte,(e,t)=>Bte[t]??e)}function PI(n){return`${n}`}class mf{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Nte,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Fte(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(PI):[PI(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 mf({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(PI(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(PI(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 Vte{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 e4(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function t4(n){return typeof Blob<"u"&&n instanceof Blob}function n4(n){return typeof FormData<"u"&&n instanceof FormData}class gC{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 jte(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 Vte,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 gC(t,s,c,{params:g,headers:m,context:S,reportProgress:h,responseType:r,withCredentials:d,transferCache:o})}}var Du;!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"}(Du||(Du={}));class TY{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 RI extends TY{constructor(e={}){super(e),this.type=Du.ResponseHeader}clone(e={}){return new RI({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 gf extends TY{constructor(e={}){super(e),this.type=Du.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new gf({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 _f extends TY{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 s4;function AY(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"}(s4||(s4={}));class Cu{constructor(e){this.handler=e}request(e,t,s={}){let r;if(e instanceof gC)r=e;else{let d,h;d=s.headers instanceof Yo?s.headers:new Yo(s.headers),s.params&&(h=s.params instanceof mf?s.params:new mf({fromObject:s.params})),r=new gC(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=ht(r).pipe(rb(d=>this.handler.handle(d)));if(e instanceof gC||"events"===s.observe)return o;const c=o.pipe(ws(d=>d instanceof gf));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 mf).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,AY(s,t))}post(e,t,s={}){return this.request("POST",e,AY(s,t))}put(e,t,s={}){return this.request("PUT",e,AY(s,t))}static#e=this.\u0275fac=function(t){return new(t||Cu)(Ee(AI))};static#t=this.\u0275prov=Ae({token:Cu,factory:Cu.\u0275fac})}const $te=/^\)\]\}',?\n/;function i4(n){if(n.url)return n.url;const e="X-Request-URL".toLocaleLowerCase();return n.headers.get(e)}class Ug{constructor(){this.fetchImpl=me(Wte,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e)),this.ngZone=me(Mt)}handle(e){return new At(t=>{const s=new AbortController;return this.doRequest(e,s.signal,t).then(LY,r=>t.error(new _f({error:r}))),()=>s.abort()})}doRequest(e,t,s){var r=this;return O0(function*(){const o=r.createRequestInit(e);let c;try{const I=r.ngZone.runOutsideAngular(()=>r.fetchImpl(e.urlWithParams,{signal:t,...o}));(function qte(n){n.then(LY,LY)})(I),s.next({type:Du.Sent}),c=yield I}catch(I){return void s.error(new _f({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=i4(c)??e.urlWithParams;let g=c.status,S=null;if(e.reportProgress&&s.next(new RI({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(O0(function*(){for(;;){const{done:ye,value:Re}=yield Y.read();if(ye)break;if(P.push(Re),z+=Re.length,e.reportProgress){q="text"===e.responseType?(q??"")+(Q??=new TextDecoder).decode(Re,{stream:!0}):void 0;const Oe=()=>s.next({type:Du.DownloadProgress,total:I?+I:void 0,loaded:z,partialText:q});oe?oe.run(Oe):Oe()}}}));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 _f({error:ye,headers:new Yo(c.headers),status:c.status,statusText:c.statusText,url:i4(c)??e.urlWithParams}))}}0===g&&(g=S?200:0),g>=200&&g<300?(s.next(new gf({body:S,headers:d,status:g,statusText:h,url:m})),s.complete()):s.error(new _f({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($te,"");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||Ug)};static#t=this.\u0275prov=Ae({token:Ug,factory:Ug.\u0275fac})}class Wte{}function LY(){}function r4(n,e){return e(n)}function Gte(n,e){return(t,s)=>e.intercept(t,{handle:r=>n(r,s)})}const o4=new Ye(""),_C=new Ye(""),a4=new Ye(""),l4=new Ye("",{providedIn:"root",factory:()=>!0});function Qte(){let n=null;return(e,t)=>{null===n&&(n=(me(o4,{optional:!0})??[]).reduceRight(Gte,r4));const s=me(ro);if(me(l4)){const o=s.add();return n(e,t).pipe(mC(()=>s.remove(o)))}return n(e,t)}}class ob extends AI{constructor(e,t){super(),this.backend=e,this.injector=t,this.chain=null,this.pendingTasks=me(ro),this.contributeToStability=me(l4)}handle(e){if(null===this.chain){const t=Array.from(new Set([...this.injector.get(_C),...this.injector.get(a4,[])]));this.chain=t.reduceRight((s,r)=>function Kte(n,e,t){return(s,r)=>Jr(t,()=>e(s,o=>n(o,r)))}(s,r,this.injector),r4)}if(this.contributeToStability){const t=this.pendingTasks.add();return this.chain(e,s=>this.backend.handle(s)).pipe(mC(()=>this.pendingTasks.remove(t)))}return this.chain(e,t=>this.backend.handle(t))}static#e=this.\u0275fac=function(t){return new(t||ob)(Ee(LI),Ee(Ot))};static#t=this.\u0275prov=Ae({token:ob,factory:ob.\u0275fac})}let c4,Zte=0;class u4{}function sne(){return"object"==typeof window?window:{}}class ab{constructor(e,t){this.callbackMap=e,this.document=t,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+Zte++}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 At(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 gf({body:c,status:200,statusText:"OK",url:r})),t.complete()):t.error(new _f({url:r,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})},g=S=>{h(),t.error(new _f({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:Du.Sent}),()=>{d||this.removeListeners(o),h()}})}removeListeners(e){c4??=this.document.implementation.createHTMLDocument(),c4.adoptNode(e)}static#e=this.\u0275fac=function(t){return new(t||ab)(Ee(u4),Ee(Pn))};static#t=this.\u0275prov=Ae({token:ab,factory:ab.\u0275fac})}function d4(n,e){return"JSONP"===n.method?me(ab).handle(n):e(n)}class OI{constructor(e){this.injector=e}intercept(e,t){return Jr(this.injector,()=>d4(e,s=>t.handle(s)))}static#e=this.\u0275fac=function(t){return new(t||OI)(Ee(Ot))};static#t=this.\u0275prov=Ae({token:OI,factory:OI.\u0275fac})}const ine=/^\)\]\}',?\n/;class lb{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()):ht(null)).pipe(ha(()=>new At(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 rne(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 RI({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(ine,"");try{q=""!==q?JSON.parse(q):null}catch(ye){q=fe,oe&&(oe=!1,q={error:ye,text:q})}}oe?(r.next(new gf({body:q,headers:P,status:Y,statusText:z,url:Q||void 0})),r.complete()):r.error(new _f({error:q,headers:P,status:Y,statusText:z,url:Q||void 0}))},g=P=>{const{url:Y}=h(),z=new _f({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:Du.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:Du.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:Du.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||lb)(Ee(n3))};static#t=this.\u0275prov=Ae({token:lb,factory:lb.\u0275fac})}const NI=new Ye(""),h4="XSRF-TOKEN",p4=new Ye("",{providedIn:"root",factory:()=>h4}),f4="X-XSRF-TOKEN",m4=new Ye("",{providedIn:"root",factory:()=>f4});class PY{}class cb{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=Q5(e,this.cookieName),this.lastCookieString=e),this.lastToken}static#e=this.\u0275fac=function(t){return new(t||cb)(Ee(Pn),Ee(ao),Ee(p4))};static#t=this.\u0275prov=Ae({token:cb,factory:cb.\u0275fac})}function g4(n,e){const t=n.url.toLowerCase();if(!me(NI)||"GET"===n.method||"HEAD"===n.method||t.startsWith("http://")||t.startsWith("https://"))return e(n);const s=me(PY).getToken(),r=me(m4);return null!=s&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,s)})),e(n)}class ub{constructor(e){this.injector=e}intercept(e,t){return Jr(this.injector,()=>g4(e,s=>t.handle(s)))}static#e=this.\u0275fac=function(t){return new(t||ub)(Ee(Ot))};static#t=this.\u0275prov=Ae({token:ub,factory:ub.\u0275fac})}var th;function $g(n,e){return{\u0275kind:n,\u0275providers:e}}function _4(...n){const e=[Cu,lb,ob,{provide:AI,useExisting:ob},{provide:LI,useFactory:()=>me(Ug,{optional:!0})??me(lb)},{provide:_C,useValue:g4,multi:!0},{provide:NI,useValue:!0},{provide:PY,useClass:cb}];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"}(th||(th={}));const y4=new Ye("");function v4(){return $g(th.LegacyInterceptors,[{provide:y4,useFactory:Qte},{provide:_C,useExisting:y4,multi:!0}])}function b4({cookieName:n,headerName:e}){const t=[];return void 0!==n&&t.push({provide:p4,useValue:n}),void 0!==e&&t.push({provide:m4,useValue:e}),$g(th.CustomXsrfConfiguration,t)}function ane(){return $g(th.JsonpSupport,[ab,{provide:u4,useFactory:sne},{provide:_C,useValue:d4,multi:!0}])}class yC{static disable(){return{ngModule:yC,providers:[$g(th.NoXsrfProtection,[{provide:NI,useValue:!1}]).\u0275providers]}}static withOptions(e={}){return{ngModule:yC,providers:b4(e).\u0275providers}}static#e=this.\u0275fac=function(t){return new(t||yC)};static#t=this.\u0275mod=fs({type:yC});static#n=this.\u0275inj=Cs({providers:[ub,{provide:o4,useExisting:ub,multi:!0},{provide:PY,useClass:cb},b4({cookieName:h4,headerName:f4}).\u0275providers,{provide:NI,useValue:!0}]})}class RY{static#e=this.\u0275fac=function(t){return new(t||RY)};static#t=this.\u0275mod=fs({type:RY});static#n=this.\u0275inj=Cs({providers:[_4(v4())]})}class OY{static#e=this.\u0275fac=function(t){return new(t||OY)};static#t=this.\u0275mod=fs({type:OY});static#n=this.\u0275inj=Cs({providers:[ane().\u0275providers]})}new Ye(""),new Ye("");function NY(n){return!!n&&(n instanceof At||"function"==typeof n.lift&&"function"==typeof n.subscribe)}const k4={};function YI(...n){let e=null,t=null;return nb(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]),kY(n,t).lift(new gne(e))}class gne{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new _ne(e,this.resultSelector))}}class _ne extends ib{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(k4),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 yf(n,e){return new At(e?t=>e.schedule(vne,0,{error:n,subscriber:t}):t=>t.error(n))}function vne({error:n,subscriber:e}){e.error(n)}function FY(){return function(e){return e.lift(new bne(e))}}class bne{constructor(e){this.connectable=e}call(e,t){const{connectable:s}=this;s._refCount++;const r=new wne(e,s),o=t.subscribe(r);return r.closed||(r.connection=s.connect()),o}}class wne 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 VI extends At{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 St,e.add(this.source.subscribe(new Sne(this.getSubject(),this))),e.closed&&(this._connection=null,e=St.EMPTY)),e}refCount(){return FY()(this)}}(()=>{const n=VI.prototype;n._subscribe,n._isComplete,n.getSubject,n.connect,n.refCount})();class Sne extends Xn{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 hb(...n){const e=n[n.length-1];return nb(e)?(n.pop(),t=>BI(n,t,e)):t=>BI(n,t)}function vf(){}function Hs(n,e,t){return function(r){return r.lift(new Cne(n,e,t))}}class Cne{constructor(e,t,s){this.nextOrObserver=e,this.error=t,this.complete=s}call(e,t){return t.subscribe(new Mne(e,this.nextOrObserver,this.error,this.complete))}}class Mne extends tn{constructor(e,t,s,r){super(e),this._tapNext=vf,this._tapError=vf,this._tapComplete=vf,this._tapError=s||vf,this._tapComplete=r||vf,Ht(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||vf,this._tapError=t.error||vf,this._tapComplete=t.complete||vf)}_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 Wr(n){return function(t){const s=new Ene(n),r=t.lift(s);return s.caught=r}}class Ene{constructor(e){this.selector=e}call(e,t){return t.subscribe(new xne(e,this.selector,this.caught))}}class xne extends ib{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 II(this,void 0,void 0);this.add(s);const r=sb(this,t,void 0,void 0,s);r!==s&&this.add(r)}}}class Tne{constructor(e,t,s=!1){this.accumulator=e,this.seed=t,this.hasSeed=s}call(e,t){return t.subscribe(new Ine(e,this.accumulator,this.seed,this.hasSeed))}}class Ine 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 YY(n){return function(t){return 0===n?yr():t.lift(new Ane(n))}}class Ane{constructor(e){if(this.total=e,this.total<0)throw new Qe}call(e,t){return t.subscribe(new Lne(e,this.total))}}class Lne 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 Fne(n))}class Fne{constructor(e){this.notifier=e}call(e,t){const s=new Yne(e),r=sb(s,this.notifier);return r&&!s.seenValue?(s.add(r),t.subscribe(s)):s}}class Yne extends ib{constructor(e){super(e),this.seenValue=!1}notifyNext(e,t,s,r,o){this.seenValue=!0,this.complete()}notifyComplete(){}}const Sn="primary",vC=Symbol("RouteTitle");class Bne{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 pb(n){return new Bne(n)}function Vne(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 A4(n){return n.length>0?n[n.length-1]:null}function bf(n){return NY(n)?n:x0(n)?pr(Promise.resolve(n)):ht(n)}const Hne={exact:function R4(n,e,t){if(!Wg(n.segments,e.segments)||!jI(n.segments,e.segments,t)||n.numberOfChildren!==e.numberOfChildren)return!1;for(const s in e.children)if(!n.children[s]||!R4(n.children[s],e.children[s],t))return!1;return!0},subset:O4},L4={exact:function Une(n,e){return Mu(n,e)},subset:function $ne(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(t=>I4(n[t],e[t]))},ignored:()=>!0};function P4(n,e,t){return Hne[t.paths](n.root,e.root,t.matrixParams)&&L4[t.queryParams](n.queryParams,e.queryParams)&&!("exact"===t.fragment&&n.fragment!==e.fragment)}function O4(n,e,t){return N4(n,e,e.segments,t)}function N4(n,e,t,s){if(n.segments.length>t.length){const r=n.segments.slice(0,t.length);return!(!Wg(r,t)||e.hasChildren()||!jI(r,t,s))}if(n.segments.length===t.length){if(!Wg(n.segments,t)||!jI(n.segments,t,s))return!1;for(const r in e.children)if(!n.children[r]||!O4(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!!(Wg(n.segments,r)&&jI(n.segments,r,s)&&n.children[Sn])&&N4(n.children[Sn],e,o,s)}}function jI(n,e,t){return e.every((s,r)=>L4[t](n[r].parameters,s.parameters))}class zg{constructor(e=new Ns([],{}),t={},s=null){this.root=e,this.queryParams=t,this.fragment=s}get queryParamMap(){return this._queryParamMap??=pb(this.queryParams),this._queryParamMap}toString(){return qne.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 UI(this)}}class bC{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap??=pb(this.parameters),this._parameterMap}toString(){return B4(this)}}function Wg(n,e){return n.length===e.length&&n.every((t,s)=>t.path===e[s].path)}class nh{static#e=this.\u0275fac=function(t){return new(t||nh)};static#t=this.\u0275prov=Ae({token:nh,factory:()=>new HI,providedIn:"root"})}class HI{parse(e){const t=new ise(e);return new zg(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){const t=`/${wC(e.root,!0)}`,s=function Qne(n){const e=Object.entries(n).map(([t,s])=>Array.isArray(s)?s.map(r=>`${$I(t)}=${$I(r)}`).join("&"):`${$I(t)}=${$I(s)}`).filter(t=>t);return e.length?`?${e.join("&")}`:""}(e.queryParams),r="string"==typeof e.fragment?`#${function Gne(n){return encodeURI(n)}(e.fragment)}`:"";return`${t}${s}${r}`}}const qne=new HI;function UI(n){return n.segments.map(e=>B4(e)).join("/")}function wC(n,e){if(!n.hasChildren())return UI(n);if(e){const t=n.children[Sn]?wC(n.children[Sn],!1):"",s=[];return Object.entries(n.children).forEach(([r,o])=>{r!==Sn&&s.push(`${r}:${wC(o,!1)}`)}),s.length>0?`${t}(${s.join("//")})`:t}{const t=function Wne(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?[wC(n.children[Sn],!1)]:[`${r}:${wC(s,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[Sn]?`${UI(n)}/${t[0]}`:`${UI(n)}/(${t.join("//")})`}}function F4(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $I(n){return F4(n).replace(/%3B/gi,";")}function VY(n){return F4(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function zI(n){return decodeURIComponent(n)}function Y4(n){return zI(n.replace(/\+/g,"%20"))}function B4(n){return`${VY(n.path)}${function Kne(n){return Object.entries(n).map(([e,t])=>`;${VY(e)}=${VY(t)}`).join("")}(n.parameters)}`}const Xne=/^[^\/()?;#]+/;function jY(n){const e=n.match(Xne);return e?e[0]:""}const Zne=/^[^\/()?;=#]+/;const ese=/^[^=?&#]+/;const nse=/^[^&#]+/;class ise{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=jY(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new le(4009,!1);return this.capture(e),new bC(zI(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=function Jne(n){const e=n.match(Zne);return e?e[0]:""}(this.remaining);if(!t)return;this.capture(t);let s="";if(this.consumeOptional("=")){const r=jY(this.remaining);r&&(s=r,this.capture(s))}e[zI(t)]=zI(s)}parseQueryParam(e){const t=function tse(n){const e=n.match(ese);return e?e[0]:""}(this.remaining);if(!t)return;this.capture(t);let s="";if(this.consumeOptional("=")){const c=function sse(n){const e=n.match(nse);return e?e[0]:""}(this.remaining);c&&(s=c,this.capture(s))}const r=Y4(t),o=Y4(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=jY(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 V4(n){return n.segments.length>0?new Ns([],{[Sn]:n}):n}function j4(n){const e={};for(const[s,r]of Object.entries(n.children)){const o=j4(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 rse(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 qg(n){return n instanceof zg}function H4(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=V4(s);return e??r}function U4(n,e,t,s){let r=n;for(;r.parent;)r=r.parent;if(0===e.length)return HY(r,r,r,t,s);const o=function ase(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new z4(!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 z4(t,e,s)}(e);if(o.toRoot())return HY(r,r,new Ns([],{}),t,s);const c=function lse(n,e,t){if(n.isAbsolute)return new qI(e,!0,0);if(!t)return new qI(e,!1,NaN);if(null===t.parent)return new qI(t,!0,0);const s=WI(n.commands[0])?0:1,r=t.segments.length-1+s;return function cse(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 qI(s,!1,r-o)}(t,r,n.numberOfDoubleDots)}(o,r,n),d=c.processChildren?DC(c.segmentGroup,c.index,o.commands):W4(c.segmentGroup,c.index,o.commands);return HY(r,c.segmentGroup,d,t,s)}function WI(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function SC(n){return"object"==typeof n&&null!=n&&n.outlets}function HY(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:$4(n,e,t);const d=V4(j4(c));return new zg(d,o,r)}function $4(n,e,t){const s={};return Object.entries(n.children).forEach(([r,o])=>{s[r]=o===e?t:$4(o,e,t)}),new Ns(n.segments,s)}class z4{constructor(e,t,s){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=s,e&&s.length>0&&WI(s[0]))throw new le(4003,!1);const r=s.find(SC);if(r&&r!==A4(s))throw new le(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class qI{constructor(e,t,s){this.segmentGroup=e,this.processChildren=t,this.index=s}}function W4(n,e,t){if(n??=new Ns([],{}),0===n.segments.length&&n.hasChildren())return DC(n,e,t);const s=function dse(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(SC(d))break;const h=`${d}`,m=s0&&void 0===h)break;if(h&&m&&"object"==typeof m&&void 0===m.outlets){if(!G4(h,m,c))return o;s+=2}else{if(!G4(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=DC(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]=W4(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 UY(n,e,t){const s=n.segments.slice(0,e);let r=0;for(;r{"string"==typeof s&&(s=[s]),null!==s&&(e[t]=UY(new Ns([],{}),0,s))}),e}function q4(n){const e={};return Object.entries(n).forEach(([t,s])=>e[t]=`${s}`),e}function G4(n,e,t){return n==t.path&&Mu(e,t.parameters)}const CC="imperative";var jn,pa,MC;!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"}(jn||(jn={}));class Eu{constructor(e,t){this.id=e,this.url=t}}class GI extends Eu{constructor(e,t,s="imperative",r=null){super(e,t),this.type=jn.NavigationStart,this.navigationTrigger=s,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class po extends Eu{constructor(e,t,s){super(e,t),this.urlAfterRedirects=s,this.type=jn.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"}(pa||(pa={})),function(n){n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy"}(MC||(MC={}));class Gg extends Eu{constructor(e,t,s,r){super(e,t),this.reason=s,this.code=r,this.type=jn.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class fb extends Eu{constructor(e,t,s,r){super(e,t),this.reason=s,this.code=r,this.type=jn.NavigationSkipped}}class $Y extends Eu{constructor(e,t,s,r){super(e,t),this.error=s,this.target=r,this.type=jn.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class K4 extends Eu{constructor(e,t,s,r){super(e,t),this.urlAfterRedirects=s,this.state=r,this.type=jn.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pse extends Eu{constructor(e,t,s,r){super(e,t),this.urlAfterRedirects=s,this.state=r,this.type=jn.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fse extends Eu{constructor(e,t,s,r,o){super(e,t),this.urlAfterRedirects=s,this.state=r,this.shouldActivate=o,this.type=jn.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class mse extends Eu{constructor(e,t,s,r){super(e,t),this.urlAfterRedirects=s,this.state=r,this.type=jn.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gse extends Eu{constructor(e,t,s,r){super(e,t),this.urlAfterRedirects=s,this.state=r,this.type=jn.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _se{constructor(e){this.route=e,this.type=jn.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class yse{constructor(e){this.route=e,this.type=jn.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class vse{constructor(e){this.snapshot=e,this.type=jn.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bse{constructor(e){this.snapshot=e,this.type=jn.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wse{constructor(e){this.snapshot=e,this.type=jn.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Sse{constructor(e){this.snapshot=e,this.type=jn.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Q4{constructor(e,t,s){this.routerEvent=e,this.position=t,this.anchor=s,this.type=jn.Scroll}toString(){const e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}}class zY{}class KI{constructor(e,t){this.url=e,this.navigationBehaviorOptions=t}}function gc(n){return n.outlet||Sn}function EC(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 kse{get injector(){return EC(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new sh(this.rootInjector),this.attachRef=null}}class sh{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 kse(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||sh)(Ee(Ot))};static#t=this.\u0275prov=Ae({token:sh,factory:sh.\u0275fac,providedIn:"root"})}class X4{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=WY(e,this._root);return t?t.children.map(s=>s.value):[]}firstChild(e){const t=WY(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=qY(e,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return qY(e,this._root).map(t=>t.value)}}function WY(n,e){if(n===e.value)return e;for(const t of e.children){const s=WY(n,t);if(s)return s}return null}function qY(n,e){if(n===e.value)return[e];for(const t of e.children){const s=qY(n,t);if(s.length)return s.unshift(e),s}return[]}class _c{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function mb(n){const e={};return n&&n.children.forEach(t=>e[t.value.outlet]=t),e}class Z4 extends X4{constructor(e,t){super(e),this.snapshot=t,GY(this,e)}toString(){return this.snapshot.toString()}}function J4(n){const e=function Tse(n){const e={},t={},s={},r="",o=new XI([],e,s,r,t,Sn,n,null,{});return new e$("",new _c(o,[]))}(n),t=new zs([new bC("",{})]),s=new zs({}),r=new zs({}),o=new zs({}),c=new zs(""),d=new fr(t,s,o,c,r,Sn,n,e.root);return d.snapshot=e.root,new Z4(new _c(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[vC]))??ht(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=>pb(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(zt(e=>pb(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function QI(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&&n$(r)&&(s.resolve[vC]=r.title),s}class XI{get title(){return this.data?.[vC]}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??=pb(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=pb(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(s=>s.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class e$ extends X4{constructor(e,t){super(t),this.url=e,GY(this,t)}toString(){return t$(this._root)}}function GY(n,e){e.value._routerState=n,e.children.forEach(t=>GY(n,t))}function t$(n){const e=n.children.length>0?` { ${n.children.map(t$).join(", ")} } `:"";return`${n.value}${e}`}function KY(n){if(n.snapshot){const e=n.snapshot,t=n._futureSnapshot;n.snapshot=t,Mu(e.queryParams,t.queryParams)||n.queryParamsSubject.next(t.queryParams),e.fragment!==t.fragment&&n.fragmentSubject.next(t.fragment),Mu(e.params,t.params)||n.paramsSubject.next(t.params),function jne(n,e){if(n.length!==e.length)return!1;for(let t=0;tMu(t.parameters,e[s].parameters))}(n.url,e.url),s=!n.parent!=!e.parent;return t&&!s&&(!n.parent||QY(n.parent,e.parent))}function n$(n){return"string"==typeof n.title||null===n.title}class Kg{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(sh),this.location=me(xr),this.changeDetector=me(gl),this.inputBinder=me(ZI,{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 XY(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||Kg)};static#t=this.\u0275dir=et({type:Kg,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[_s]})}class XY{__ngOutletInjector(e){return new XY(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===sh?this.childContexts:this.parent.get(e,t)}}const ZI=new Ye("");class gb{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=YI([t.queryParams,t.params,t.data]).pipe(ha(([r,o,c],d)=>(c={...r,...o,...c},0===d?ht(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 WK(n){const e=rn(n);if(!e)return null;const t=new Gm(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||gb)};static#t=this.\u0275prov=Ae({token:gb,factory:gb.\u0275fac})}function xC(n,e,t){if(t&&n.shouldReuseRoute(e.value,t.value.snapshot)){const s=t.value;s._futureSnapshot=e.value;const r=function Ase(n,e,t){return e.children.map(s=>{for(const r of t.children)if(n.shouldReuseRoute(s.value,r.value.snapshot))return xC(n,s,r);return xC(n,s)})}(n,e,t);return new _c(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=>xC(n,d)),c}}const s=function Lse(n){return new fr(new zs(n.url),new zs(n.params),new zs(n.queryParams),new zs(n.fragment),new zs(n.data),n.outlet,n.component,n)}(e.value),r=e.children.map(o=>xC(n,o));return new _c(s,r)}}class ZY{constructor(e,t){this.redirectTo=e,this.navigationBehaviorOptions=t}}const s$="ngNavigationCancelingError";function JI(n,e){const{redirectTo:t,navigationBehaviorOptions:s}=qg(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=i$(!1,pa.Redirect);return r.url=t,r.navigationBehaviorOptions=s,r}function i$(n,e){const t=new Error(`NavigationCancelingError: ${n||""}`);return t[s$]=!0,t.cancellationCode=e,t}function r$(n){return!!n&&n[s$]}class Ose{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),KY(this.futureState.root),this.activateChildRoutes(t,s,e)}deactivateChildRoutes(e,t,s){const r=mb(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=mb(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=mb(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=mb(t);e.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],s),this.forwardEvent(new Sse(o.value.snapshot))}),e.children.length&&this.forwardEvent(new bse(e.value.snapshot))}activateRoutes(e,t,s){const r=e.value,o=t?t.value:null;if(KY(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),KY(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 o${constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class eA{constructor(e,t){this.component=e,this.route=t}}function Nse(n,e,t){const s=n._root;return kC(s,e?e._root:null,t,[s.value])}function _b(n,e){const t=Symbol(),s=e.get(n,t);return s===t?"function"!=typeof n||function gE(n){return null!==Lf(n)}(n)?e.get(n):n:s}function kC(n,e,t,s,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=mb(e);return n.children.forEach(c=>{(function Yse(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 Bse(n,e,t){if("function"==typeof t)return t(n,e);switch(t){case"pathParamsChange":return!Wg(n.url,e.url);case"pathParamsOrQueryParamsChange":return!Wg(n.url,e.url)||!Mu(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!QY(n,e)||!Mu(n.queryParams,e.queryParams);default:return!QY(n,e)}}(c,o,o.routeConfig.runGuardsAndResolvers);h?r.canActivateChecks.push(new o$(s)):(o.data=c.data,o._resolvedData=c._resolvedData),o.component?kC(n,e,d?d.children:null,s,r):kC(n,e,t,s,r),h&&d&&d.outlet&&d.outlet.isActivated&&r.canDeactivateChecks.push(new eA(d.outlet.component,c))}else c&&TC(e,d,r),r.canActivateChecks.push(new o$(s)),o.component?kC(n,null,d?d.children:null,s,r):kC(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])=>TC(d,t.getContext(c),r)),r}function TC(n,e,t){const s=mb(n),r=n.value;Object.entries(s).forEach(([o,c])=>{r.component?TC(c,e?e.children.getContext(o):null,t):TC(c,e,t)}),r.component&&e&&e.outlet&&e.outlet.isActivated?t.canDeactivateChecks.push(new eA(e.outlet.component,r)):t.canDeactivateChecks.push(new eA(null,r))}function IC(n){return"function"==typeof n}function a$(n){return n instanceof Tl||"EmptyError"===n?.name}const tA=Symbol("INITIAL_VALUE");function yb(){return ha(n=>YI(n.map(e=>e.pipe(Ii(1),hb(tA)))).pipe(zt(e=>{for(const t of e)if(!0!==t){if(t===tA)return tA;if(!1===t||Wse(t))return t}return!0}),ws(e=>e!==tA),Ii(1)))}function Wse(n){return qg(n)||n instanceof ZY}function qse(n,e){return Fo(t=>{const{targetSnapshot:s,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:c}}=t;return 0===c.length&&0===o.length?ht({...t,guardsResult:!0}):function Gse(n,e,t,s){return pr(n).pipe(Fo(r=>function eie(n,e,t,s,r){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return ht(!0);const c=o.map(d=>{const h=EC(e)??r,m=_b(d,h);return bf(function $se(n){return n&&IC(n.canDeactivate)}(m)?m.canDeactivate(n,e,t,s):Jr(h,()=>m(n,e,t,s))).pipe(hs())});return ht(c).pipe(yb())}(r.component,r.route,t,e,s)),hs(r=>!0!==r,!0))}(c,s,r,n).pipe(Fo(d=>d&&function Vse(n){return"boolean"==typeof n}(d)?function Kse(n,e,t,s){return pr(e).pipe(rb(r=>BI(function Xse(n,e){return null!==n&&e&&e(new vse(n)),ht(!0)}(r.route.parent,s),function Qse(n,e){return null!==n&&e&&e(new wse(n)),ht(!0)}(r.route,s),function Jse(n,e,t){const s=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(c=>function Fse(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=>T4(()=>ht(c.guards.map(h=>{const m=EC(c.node)??t,g=_b(h,m);return bf(function Use(n){return n&&IC(n.canActivateChild)}(g)?g.canActivateChild(s,n):Jr(m,()=>g(s,n))).pipe(hs())})).pipe(yb())));return ht(o).pipe(yb())}(n,r.path,t),function Zse(n,e,t){const s=e.routeConfig?e.routeConfig.canActivate:null;if(!s||0===s.length)return ht(!0);const r=s.map(o=>T4(()=>{const c=EC(e)??t,d=_b(o,c);return bf(function Hse(n){return n&&IC(n.canActivate)}(d)?d.canActivate(e,n):Jr(c,()=>d(e,n))).pipe(hs())}));return ht(r).pipe(yb())}(n,r.route,t))),hs(r=>!0!==r,!0))}(s,o,n,e):ht(d)),zt(d=>({...t,guardsResult:d})))})}function tie(n,e,t,s){const r=e.canLoad;if(void 0===r||0===r.length)return ht(!0);return ht(r.map(c=>{const d=_b(c,n);return bf(function jse(n){return n&&IC(n.canLoad)}(d)?d.canLoad(e,t):Jr(n,()=>d(e,t)))})).pipe(yb(),l$(s))}function l$(n){return function Rr(...n){return vi(n)}(Hs(e=>{if("boolean"!=typeof e)throw JI(0,e)}),zt(e=>!0===e))}function nie(n,e,t,s){const r=e.canMatch;if(!r||0===r.length)return ht(!0);return ht(r.map(c=>{const d=_b(c,n);return bf(function zse(n){return n&&IC(n.canMatch)}(d)?d.canMatch(e,t):Jr(n,()=>d(e,t)))})).pipe(yb(),l$())}class JY{constructor(e){this.segmentGroup=e||null}}class nA extends Error{constructor(e){super(),this.urlTree=e}}function vb(n){return yf(new JY(n))}class rie{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 ht(s);if(r.numberOfChildren>1||!r.children[Sn])return e.redirectTo,yf(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=Jr(o,()=>d({params:I,data:P,queryParams:h,fragment:m,routeConfig:g,url:S,outlet:T,title:Y}));if(z instanceof zg)throw new nA(z);t=z}const c=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),e,s);if("/"===t[0])throw new nA(c);return c}applyRedirectCreateUrlTree(e,t,s,r){const o=this.createSegmentGroup(e,t.root,s,r);return new zg(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 eB={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function oie(n,e,t,s,r){const o=c$(n,e,t);return o.matched?(s=function Dse(n,e){return n.providers&&!n._injector&&(n._injector=Zm(n.providers,e,`Route: ${n.path}`)),n._injector??e}(e,s),nie(s,e,t).pipe(zt(c=>!0===c?o:{...eB}))):ht(o)}function c$(n,e,t){if("**"===e.path)return function aie(n){return{matched:!0,parameters:n.length>0?A4(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}(t);if(""===e.path)return"full"===e.pathMatch&&(n.hasChildren()||t.length>0)?{...eB}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const r=(e.matcher||Vne)(t,n,e);if(!r)return{...eB};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 u$(n,e,t,s){return t.length>0&&function uie(n,e,t){return t.some(s=>sA(n,e,s)&&gc(s)!==Sn)}(n,t,s)?{segmentGroup:new Ns(e,cie(s,new Ns(t,n.children))),slicedSegments:[]}:0===t.length&&function die(n,e,t){return t.some(s=>sA(n,e,s))}(n,t,s)?{segmentGroup:new Ns(n.segments,lie(n,t,s,n.children)),slicedSegments:t}:{segmentGroup:new Ns(n.segments,n.children),slicedSegments:t}}function lie(n,e,t,s){const r={};for(const o of t)if(sA(n,e,o)&&!s[gc(o)]){const c=new Ns([],{});r[gc(o)]=c}return{...s,...r}}function cie(n,e){const t={};t[Sn]=e;for(const s of n)if(""===s.path&&gc(s)!==Sn){const r=new Ns([],{});t[gc(s)]=r}return t}function sA(n,e,t){return(!(n.hasChildren()||e.length>0)||"full"!==t.pathMatch)&&""===t.path}class pie{}class gie{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 rie(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new le(4002,`'${e.segmentGroup}'`)}recognize(){const e=u$(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(zt(({children:t,rootSnapshot:s})=>{const r=new _c(s,t),o=new e$("",r),c=function ose(n,e,t=null,s=null){return U4(H4(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 XI([],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})),Wr(s=>{if(s instanceof nA)return this.urlTree=s.urlTree,this.match(s.urlTree.root);throw s instanceof JY?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 _c?[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(rb(c=>{const d=s.children[c],h=function xse(n,e){const t=n.filter(s=>gc(s)===e);return t.push(...n.filter(s=>gc(s)!==e)),t}(t,c);return this.processSegmentGroup(e,h,d,c,r)}),function kne(n,e){let t=!1;return arguments.length>=2&&(t=!0),function(r){return r.lift(new Tne(n,e,t))}}((c,d)=>(c.push(...d),c)),Gr(null),function Pne(n,e){const t=arguments.length>=2;return s=>s.pipe(n?ws((r,o)=>n(r,o,s)):Pt,YY(1),t?Gr(e):Ss(()=>new Tl))}(),Fo(c=>{if(null===c)return vb(s);const d=d$(c);return function _ie(n){n.sort((e,t)=>e.value.outlet===Sn?-1:t.value.outlet===Sn?1:e.value.outlet.localeCompare(t.value.outlet))}(d),ht(d)}))}processSegment(e,t,s,r,o,c,d){return pr(t).pipe(rb(h=>this.processSegmentAgainstRoute(h._injector??e,t,h,s,r,o,c,d).pipe(Wr(m=>{if(m instanceof JY)return ht(null);throw m}))),hs(h=>!!h),Wr(h=>{if(a$(h))return function hie(n,e,t){return 0===e.length&&!n.children[t]}(s,r,o)?ht(new pie):vb(s);throw h}))}processSegmentAgainstRoute(e,t,s,r,o,c,d,h){return gc(s)===c||c!==Sn&&sA(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):vb(r):vb(r)}expandSegmentAgainstRouteUsingRedirect(e,t,s,r,o,c,d){const{matched:h,parameters:m,consumedSegments:g,positionalParamSegments:S,remainingSegments:T}=c$(t,r,o);if(!h)return vb(t);"string"==typeof r.redirectTo&&"/"===r.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const I=new XI(o,m,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,h$(r),gc(r),r.component??r._loadedComponent??null,r,p$(r)),P=QI(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=oie(t,s,r,e,this.urlSerializer);return"**"===s.path&&(t.children={}),d.pipe(ha(h=>h.matched?(e=s._injector??e,this.getChildConfig(e,s,r).pipe(ha(({routes:m})=>{const g=s._loadedInjector??e,{parameters:S,consumedSegments:T,remainingSegments:I}=h,P=new XI(T,S,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,h$(s),gc(s),s.component??s._loadedComponent??null,s,p$(s)),Y=QI(P,c,this.paramsInheritanceStrategy);P.params=Object.freeze(Y.params),P.data=Object.freeze(Y.data);const{segmentGroup:z,slicedSegments:Q}=u$(t,T,I,m);if(0===Q.length&&z.hasChildren())return this.processChildren(g,m,z,P).pipe(zt(oe=>new _c(P,oe)));if(0===m.length&&0===Q.length)return ht(new _c(P,[]));const q=gc(s)===o;return this.processSegment(g,m,z,Q,q?Sn:o,!0,P).pipe(zt(oe=>new _c(P,oe instanceof _c?[oe]:[])))}))):vb(t)))}getChildConfig(e,t,s){return t.children?ht({routes:t.children,injector:e}):t.loadChildren?void 0!==t._loadedRoutes?ht({routes:t._loadedRoutes,injector:t._loadedInjector}):tie(e,t,s,this.urlSerializer).pipe(Fo(r=>r?this.configLoader.loadChildren(e,t).pipe(Hs(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function iie(n){return yf(i$(!1,pa.GuardRejected))}())):ht({routes:[],injector:e})}}function yie(n){const e=n.value.routeConfig;return e&&""===e.path}function d$(n){const e=[],t=new Set;for(const s of n){if(!yie(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=d$(s.children);e.push(new _c(s.value,r))}return e.filter(s=>!t.has(s))}function h$(n){return n.data||{}}function p$(n){return n.resolve||{}}function vie(n,e,t,s,r,o){return Fo(c=>function fie(n,e,t,s,r,o,c="emptyOnly"){return new gie(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 bie(n,e){return Fo(t=>{const{targetSnapshot:s,guards:{canActivateChecks:r}}=t;if(!r.length)return ht(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 f$(h))c.add(m);let d=0;return pr(c).pipe(rb(h=>o.has(h)?function wie(n,e,t,s){const r=n.routeConfig,o=n._resolve;return void 0!==r?.title&&!n$(r)&&(o[vC]=r.title),function Sie(n,e,t,s){const r=BY(n);if(0===r.length)return ht({});const o={};return pr(r).pipe(Fo(c=>function Die(n,e,t,s){const r=EC(e)??s,o=_b(n,r),c=o.resolve?o.resolve(e,t):Jr(r,()=>o(e,t));return bf(c)}(n[c],e,t,s).pipe(hs(),Hs(d=>{if(d instanceof ZY)throw JI(new HI,d);o[c]=d}))),YY(1),function Rne(n){return e=>e.lift(new One(n))}(o),Wr(c=>a$(c)?Ba:yf(c)))}(o,n,e,s).pipe(zt(c=>(n._resolvedData=c,n.data=QI(n,n.parent,t).resolve,null)))}(h,s,n,e):(h.data=QI(h,h.parent,n).resolve,ht(void 0))),Hs(()=>d++),YY(1),Fo(h=>d===c.size?ht(t):Ba))})}function f$(n){const e=n.children.map(t=>f$(t)).flat();return[n,...e]}function tB(n){return ha(e=>{const t=n(e);return t?pr(t).pipe(zt(()=>e)):ht(e)})}class AC{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[vC]}static#e=this.\u0275fac=function(t){return new(t||AC)};static#t=this.\u0275prov=Ae({token:AC,factory:()=>me(LC),providedIn:"root"})}class LC extends AC{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||LC)(Ee(W0))};static#t=this.\u0275prov=Ae({token:LC,factory:LC.\u0275fac,providedIn:"root"})}const bb=new Ye("",{providedIn:"root",factory:()=>({})});class Qg{static#e=this.\u0275fac=function(t){return new(t||Qg)};static#t=this.\u0275cmp=Yc({type:Qg,selectors:[["ng-component"]],standalone:!0,features:[m1],decls:1,vars:0,template:function(t,s){1&t&&_0(0,"router-outlet")},dependencies:[Kg],encapsulation:2})}function nB(n){const e=n.children&&n.children.map(nB),t=e?{...n,children:e}:{...n};return!t.component&&!t.loadComponent&&(e||t.loadChildren)&&t.outlet&&t.outlet!==Sn&&(t.component=Qg),t}const wb=new Ye("");class Xg{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 ht(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const t=bf(e.loadComponent()).pipe(zt(m$),Hs(r=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=r}),mC(()=>{this.componentLoaders.delete(e)})),s=new VI(t,()=>new ft).pipe(FY());return this.componentLoaders.set(e,s),s}loadChildren(e,t){if(this.childrenLoaders.get(t))return this.childrenLoaders.get(t);if(t._loadedRoutes)return ht({routes:t._loadedRoutes,injector:t._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(t);const r=function Cie(n,e,t,s){return bf(n.loadChildren()).pipe(zt(m$),Fo(r=>r instanceof XD||Array.isArray(r)?ht(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(wb,[],{optional:!0,self:!0}).flat()),{routes:c.map(nB),injector:o}}))}(t,this.compiler,e,this.onLoadEndListener).pipe(mC(()=>{this.childrenLoaders.delete(t)})),o=new VI(r,()=>new ft).pipe(FY());return this.childrenLoaders.set(t,o),o}static#e=this.\u0275fac=function(t){return new(t||Xg)};static#t=this.\u0275prov=Ae({token:Xg,factory:Xg.\u0275fac,providedIn:"root"})}function m$(n){return function Mie(n){return n&&"object"==typeof n&&"default"in n}(n)?n.default:n}class Sb{static#e=this.\u0275fac=function(t){return new(t||Sb)};static#t=this.\u0275prov=Ae({token:Sb,factory:()=>me(PC),providedIn:"root"})}class PC{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}static#e=this.\u0275fac=function(t){return new(t||PC)};static#t=this.\u0275prov=Ae({token:PC,factory:PC.\u0275fac,providedIn:"root"})}const g$=new Ye(""),_$=new Ye("");function Eie(n,e,t){const s=n.get(_$),r=n.get(Pn);return n.get(Mt).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 xie(n){return new Promise(e=>{ig({read:()=>setTimeout(e)},{injector:n})})}(n))),{onViewTransitionCreated:h}=s;return h&&Jr(n,()=>h({transition:d,from:e,to:t})),c})}const y$=new Ye("");class wf{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ft,this.transitionAbortSubject=new ft,this.configLoader=me(Xg),this.environmentInjector=me(Ot),this.urlSerializer=me(nh),this.rootContexts=me(sh),this.location=me($d),this.inputBindingEnabled=null!==me(ZI,{optional:!0}),this.titleStrategy=me(AC),this.options=me(bb,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=me(Sb),this.createViewTransition=me(g$,{optional:!0}),this.navigationErrorHandler=me(y$,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>ht(void 0),this.rootComponentType=null;this.configLoader.onLoadEndListener=s=>this.events.next(new yse(s)),this.configLoader.onLoadStartListener=s=>this.events.next(new _se(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 zs({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:CC,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ws(r=>0!==r.id),zt(r=>({...r,extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),ha(r=>{let o=!1,c=!1;return ht(r).pipe(ha(d=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",pa.SupersededByNewNavigation),Ba;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 fb(d.id,this.urlSerializer.serialize(d.rawUrl),g,MC.IgnoredSameUrlNavigation)),d.resolve(!1),Ba}if(this.urlHandlingStrategy.shouldProcessUrl(d.rawUrl))return ht(d).pipe(ha(g=>{const S=this.transitions?.getValue();return this.events.next(new GI(g.id,this.urlSerializer.serialize(g.extractedUrl),g.source,g.restoredState)),S!==this.transitions?.getValue()?Ba:Promise.resolve(g)}),vie(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),Hs(g=>{r.targetSnapshot=g.targetSnapshot,r.urlAfterRedirects=g.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:g.urlAfterRedirects};const S=new K4(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 GI(g,this.urlSerializer.serialize(S),T,I);this.events.next(Y);const z=J4(this.rootComponentType).snapshot;return this.currentTransition=r={...d,targetSnapshot:z,urlAfterRedirects:S,extras:{...P,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=S,ht(r)}{const g="";return this.events.next(new fb(d.id,this.urlSerializer.serialize(d.extractedUrl),g,MC.IgnoredByUrlHandlingStrategy)),d.resolve(!1),Ba}}),Hs(d=>{const h=new pse(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:Nse(d.targetSnapshot,d.currentSnapshot,this.rootContexts)},r)),qse(this.environmentInjector,d=>this.events.next(d)),Hs(d=>{if(r.guardsResult=d.guardsResult,d.guardsResult&&"boolean"!=typeof d.guardsResult)throw JI(this.urlSerializer,d.guardsResult);const h=new fse(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);this.events.next(h)}),ws(d=>!!d.guardsResult||(this.cancelNavigationTransition(d,"",pa.GuardRejected),!1)),tB(d=>{if(d.guards.canActivateChecks.length)return ht(d).pipe(Hs(h=>{const m=new mse(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}),ha(h=>{let m=!1;return ht(h).pipe(bie(this.paramsInheritanceStrategy,this.environmentInjector),Hs({next:()=>m=!0,complete:()=>{m||this.cancelNavigationTransition(h,"",pa.NoDataFromResolver)}}))}),Hs(h=>{const m=new gse(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}))}),tB(d=>{const h=m=>{const g=[];m.routeConfig?.loadComponent&&!m.routeConfig._loadedComponent&&g.push(this.configLoader.loadComponent(m.routeConfig).pipe(Hs(S=>{m.component=S}),zt(()=>{})));for(const S of m.children)g.push(...h(S));return g};return YI(h(d.targetSnapshot.root)).pipe(Gr(null),Ii(1))}),tB(()=>this.afterPreactivation()),ha(()=>{const{currentSnapshot:d,targetSnapshot:h}=r,m=this.createViewTransition?.(this.environmentInjector,d.root,h.root);return m?pr(m).pipe(zt(()=>r)):ht(r)}),zt(d=>{const h=function Ise(n,e,t){const s=xC(n,e._root,t?t._root:void 0);return new Z4(s,e)}(e.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return this.currentTransition=r={...d,targetRouterState:h},this.currentNavigation.targetRouterState=h,r}),Hs(()=>{this.events.next(new zY)}),((n,e,t,s)=>zt(r=>(new Ose(e,r.targetRouterState,r.currentRouterState,t,s).activate(n),r)))(this.rootContexts,e.routeReuseStrategy,d=>this.events.next(d),this.inputBindingEnabled),Ii(1),Hs({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(Hs(d=>{throw d}))),mC(()=>{!o&&!c&&this.cancelNavigationTransition(r,"",pa.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation=null,this.currentTransition=null)}),Wr(d=>{if(c=!0,r$(d))this.events.next(new Gg(r.id,this.urlSerializer.serialize(r.extractedUrl),d.message,d.cancellationCode)),function Pse(n){return r$(n)&&qg(n.url)}(d)?this.events.next(new KI(d.url,d.navigationBehaviorOptions)):r.resolve(!1);else{const h=new $Y(r.id,this.urlSerializer.serialize(r.extractedUrl),d,r.targetSnapshot??void 0);try{const m=Jr(this.environmentInjector,()=>this.navigationErrorHandler?.(h));if(m instanceof ZY){const{message:g,cancellationCode:S}=JI(this.urlSerializer,m);this.events.next(new Gg(r.id,this.urlSerializer.serialize(r.extractedUrl),g,S)),this.events.next(new KI(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 Ba}))}))}cancelNavigationTransition(e,t,s){const r=new Gg(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||wf)};static#t=this.\u0275prov=Ae({token:wf,factory:wf.\u0275fac,providedIn:"root"})}function kie(n){return n!==CC}class iA{static#e=this.\u0275fac=function(t){return new(t||iA)};static#t=this.\u0275prov=Ae({token:iA,factory:()=>me(Db),providedIn:"root"})}class Tie{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}class Db extends Tie{static#e=this.\u0275fac=(()=>{let e;return function(s){return(e||(e=Ln(Db)))(s||Db)}})();static#t=this.\u0275prov=Ae({token:Db,factory:Db.\u0275fac,providedIn:"root"})}class RC{static#e=this.\u0275fac=function(t){return new(t||RC)};static#t=this.\u0275prov=Ae({token:RC,factory:()=>me(Cb),providedIn:"root"})}class Cb extends RC{constructor(){super(...arguments),this.location=me($d),this.urlSerializer=me(nh),this.options=me(bb,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=me(Sb),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new zg,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=J4(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 GI)this.stateMemento=this.createStateMemento();else if(e instanceof fb)this.rawUrlTree=t.initialUrl;else if(e instanceof K4){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 zY?(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 Gg&&(e.code===pa.GuardRejected||e.code===pa.NoDataFromResolver)?this.restoreHistory(t):e instanceof $Y?this.restoreHistory(t,!0):e instanceof po&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,t){const s=e instanceof zg?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(Cb)))(s||Cb)}})();static#t=this.\u0275prov=Ae({token:Cb,factory:Cb.\u0275fac,providedIn:"root"})}var Mb;function v$(n,e){n.events.pipe(ws(t=>t instanceof po||t instanceof Gg||t instanceof $Y||t instanceof fb),zt(t=>t instanceof po||t instanceof fb?Mb.COMPLETE:t instanceof Gg&&(t.code===pa.Redirect||t.code===pa.SupersededByNewNavigation)?Mb.REDIRECTING:Mb.FAILED),ws(t=>t!==Mb.REDIRECTING),Ii(1)).subscribe(()=>{e()})}function Iie(n){throw n}!function(n){n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING"}(Mb||(Mb={}));const Aie={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Lie={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(jp),this.stateManager=me(RC),this.options=me(bb,{optional:!0})||{},this.pendingTasks=me(ro),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=me(wf),this.urlSerializer=me(nh),this.location=me($d),this.urlHandlingStrategy=me(Sb),this._events=new ft,this.errorHandler=this.options.errorHandler||Iie,this.navigated=!1,this.routeReuseStrategy=me(iA),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=me(wb,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!me(ZI,{optional:!0}),this.eventsSubscription=new St,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 Gg&&t.code!==pa.Redirect&&t.code!==pa.SupersededByNewNavigation)this.navigated=!0;else if(t instanceof po)this.navigated=!0;else if(t instanceof KI){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||kie(s.source),...o};this.scheduleNavigation(c,CC,null,d,{resolve:s.resolve,reject:s.reject,promise:s.promise})}(function Rie(n){return!(n instanceof zY||n instanceof KI)})(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),CC,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(nB),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=H4(s?s.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||"/"!==e[0][0])&&(e=[]),g=this.currentUrlTree.root}return U4(g,e,m,h??null)}navigateByUrl(e,t={skipLocationChange:!1}){const s=qg(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(r,CC,null,t)}navigate(e,t={skipLocationChange:!1}){return function Pie(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 v$(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 xu{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 ft,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)):(qg(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:Fx(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:qg(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||xu)(he(dn),he(fr),io("tabindex"),he(Ui),he(gn),he(yu))};static#t=this.\u0275dir=et({type:xu,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(t,s){1&t&&pl("click",function(o){return s.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&t&&Pa("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:[La,_s]})}class Eb{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(){ht(this.links.changes,ht(null)).pipe(db()).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(db()).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 Oie(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||Eb)(he(dn),he(gn),he(Ui),he(gl),he(xu,8))};static#t=this.\u0275dir=et({type:Eb,selectors:[["","routerLinkActive",""]],contentQueries:function(t,s,r){if(1&t&&$H(r,xu,5),2&t){let o;h1(o=p1())&&(s.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[_s]})}class b${}class rA{preload(e,t){return t().pipe(Wr(()=>ht(null)))}static#e=this.\u0275fac=function(t){return new(t||rA)};static#t=this.\u0275prov=Ae({token:rA,factory:rA.\u0275fac,providedIn:"root"})}class oA{preload(e,t){return ht(null)}static#e=this.\u0275fac=function(t){return new(t||oA)};static#t=this.\u0275prov=Ae({token:oA,factory:oA.\u0275fac,providedIn:"root"})}class OC{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(ws(e=>e instanceof po),rb(()=>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=Zm(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(db())}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>{let s;s=t.loadChildren&&void 0===t.canLoad?this.loader.loadChildren(e,t):ht(null);const r=s.pipe(Fo(o=>null===o?ht(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(db())}return r})}static#e=this.\u0275fac=function(t){return new(t||OC)(Ee(dn),Ee(Vd),Ee(Ot),Ee(b$),Ee(Xg))};static#t=this.\u0275prov=Ae({token:OC,factory:OC.\u0275fac,providedIn:"root"})}const sB=new Ye("");class NC{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 GI?(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 fb&&e.code===MC.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 Q4&&(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 Q4(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(t){rk()};static#t=this.\u0275prov=Ae({token:NC,factory:NC.\u0275fac})}function w$(n){return n.routerState.root}function ku(n,e){return{\u0275kind:n,\u0275providers:e}}new Ye("",{providedIn:"root",factory:()=>!1});function S$(){const n=me(rs);return e=>{const t=n.get(Oo);if(e!==t.components[0])return;const s=n.get(dn),r=n.get(D$);1===n.get(iB)&&s.initialNavigation(),n.get(C$,null,ln.Optional)?.setUpPreloading(),n.get(sB,null,ln.Optional)?.init(),s.resetRootComponentType(t.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const D$=new Ye("",{factory:()=>new ft}),iB=new Ye("",{providedIn:"root",factory:()=>1});const C$=new Ye("");function Bie(n){return ku(0,[{provide:C$,useExisting:OC},{provide:b$,useExisting:n}])}function jie(n){return ku(9,[{provide:g$,useValue:Eie},{provide:_$,useValue:{skipNextTransition:!!n?.skipInitialTransition,...n}}])}const M$=new Ye("ROUTER_FORROOT_GUARD"),Hie=[$d,{provide:nh,useClass:HI},dn,sh,{provide:fr,useFactory:w$,deps:[dn]},Xg,[]];class xi{constructor(e){}static forRoot(e,t){return{ngModule:xi,providers:[Hie,[],{provide:wb,multi:!0,useValue:e},{provide:M$,useFactory:Wie,deps:[[dn,new Si,new Wo]]},{provide:bb,useValue:t||{}},t?.useHash?{provide:yu,useClass:F0}:{provide:yu,useClass:Cv},{provide:sB,useFactory:()=>{const n=me(yF),e=me(Mt),t=me(bb),s=me(wf),r=me(nh);return t.scrollOffset&&n.setOffset(t.scrollOffset),new NC(r,s,n,e,t)}},t?.preloadingStrategy?Bie(t.preloadingStrategy).\u0275providers:[],t?.initialNavigation?qie(t):[],t?.bindToComponentInputs?ku(8,[gb,{provide:ZI,useExisting:gb}]).\u0275providers:[],t?.enableViewTransitions?jie().\u0275providers:[],[{provide:E$,useFactory:S$},{provide:w1,multi:!0,useExisting:E$}]]}}static forChild(e){return{ngModule:xi,providers:[{provide:wb,multi:!0,useValue:e}]}}static#e=this.\u0275fac=function(t){return new(t||xi)(Ee(M$,8))};static#t=this.\u0275mod=fs({type:xi,imports:[Kg,xu,Eb,Qg],exports:[Kg,xu,Eb,Qg]});static#n=this.\u0275inj=Cs({})}function Wie(n){return"guarded"}function qie(n){return["disabled"===n.initialNavigation?ku(3,[{provide:UN,multi:!0,useFactory:()=>{const e=me(dn);return()=>{e.setUpLocationChangeListener()}}},{provide:iB,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?ku(2,[{provide:iB,useValue:0},{provide:UN,multi:!0,deps:[rs],useFactory:e=>{const t=e.get(KK,Promise.resolve());return()=>t.then(()=>new Promise(s=>{const r=e.get(dn),o=e.get(D$);v$(r,()=>{s(!0)}),e.get(wf).afterPreactivation=()=>(s(!0),o.closed?ht(void 0):o),r.initialNavigation()}))}}]).\u0275providers:[]]}const E$=new Ye("");function yc(n){return n.map(e=>(...t)=>me(e).canActivate(...t))}new bv("18.2.13");var rB=x(8314);const Kie=["qrcElement"];class FC{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 O0(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,rB.dY)(this.qrdata,e,(r,o)=>{r?s(r):t(o)})})}toCanvas(e,t){return new Promise((s,r)=>{(0,rB.mo)(e,this.qrdata,t,o=>{o?r(o):s("success")})})}toSVG(e){return new Promise((t,s)=>{(0,rB.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 O0(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[]};YC=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:[Zie()]})],YC);var ere=x(1795),xb=x.n(ere);let Zg=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=()=>[]};Zg=be([ks()],Zg);let Jg=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=()=>[]};Jg=be([ks()],Jg);let lA=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=()=>[]};lA=be([ks()],lA);let ih=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:lA}]};ih=be([ks()],ih);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(Hs(()=>this.handleSessionWhenPolling(t)),Wr(s=>this.handleError(s)))}post(e,t,s=!1){return this.http.post(e,t,{headers:this.authHeader}).pipe(Hs(()=>this.handleSessionWhenPolling(s)),Wr(r=>this.handleError(r)))}put(e,t,s=!1){return this.http.put(e,t,{headers:this.authHeader}).pipe(Hs(()=>this.handleSessionWhenPolling(s)),Wr(r=>this.handleError(r)))}patch(e,t,s=!1){return this.http.patch(e,t,{headers:this.authHeader}).pipe(Hs(()=>this.handleSessionWhenPolling(s)),Wr(r=>this.handleError(r)))}delete(e,t=!1){return this.http.delete(e,{headers:this.authHeader}).pipe(Hs(()=>this.handleSessionWhenPolling(t)),Wr(s=>this.handleError(s)))}handleError(e){let t;403===e.status&&this.http.get("/api/DVPRTLFE/developers/keep_alive",{headers:this.getAuthHeader()}).subscribe(s=>yf(e),s=>(this.router.navigate(["/login"],{queryParams:{accessDenied:!0}}),yf(e)));try{t=JSON.parse(e._body)}catch{t={errorcode:e.status,error:e.statusText}}return yf(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:Cu},{type:Jg},{type:ih},{type:dn}]};fo=be([ks({providedIn:"root"})],fo);var tre=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(Hs(t=>{this.ueHttp.setCsrfToken(t.csrf)}))}logout(){return this.ueHttp.get(this.url+"/logout").pipe(Hs(()=>{this.ueHttp.removeCsrfToken(),this.sessionTimeoutService.stopInterval(),this.isLoggedIn=!1}),Wr(()=>{throw this.ueHttp.removeCsrfToken(),this.sessionTimeoutService.stopInterval(),this.isLoggedIn=!1,{error:"Logout error"}}))}register(e){return this.ueHttp.post(this.url+"/register",e).pipe(Hs(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(Hs(e=>{this.permissions=e}))}checkPermissions(e){const t=this.ueHttp.csrf,s=tre(t+e);return-1!==this.permissions.indexOf(s)}static#e=this.ctorParameters=()=>[{type:fo},{type:ih}]};ni=be([ks()],ni);let cA=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:Zg},{type:ni}]};cA=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:[xb()]})],cA);let uA=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:Zg}];static#t=this.propDecorators={alertModal:[{type:qe,args:["alertModal",{static:!0}]}]}};function e_(n,e=0){return function sre(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):e}function oB(n){return Array.isArray(n)?n:[n]}function Ar(n){return n instanceof gn?n.nativeElement:n}uA=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'})],uA);Object.prototype.toString;function dA(n,e,t,s){return Ht(t)&&(s=t,t=void 0),s?dA(n,e,t).pipe(zt(r=>Fs(r)?s(...r):s(r))):new At(r=>{x$(n,e,function o(c){arguments.length>1?r.next(Array.prototype.slice.call(arguments)):r.next(c)},r,t)})}function x$(n,e,t,s,r){let o;if(function ore(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 rre(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 ire(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 vc extends BC{constructor(e,t=BC.now){super(e,()=>vc.delegate&&vc.delegate!==this?vc.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,s){return vc.delegate&&vc.delegate!==this?vc.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 k$=new class cre extends vc{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 ure=1;const dre=Promise.resolve(),pA={};function T$(n){return n in pA&&(delete pA[n],!0)}const I$={setImmediate(n){const e=ure++;return pA[e]=!0,dre.then(()=>T$(e)&&n()),e},clearImmediate(n){T$(n)}};const fre=new class pre extends vc{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=I$.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&&(I$.clearImmediate(t),e.scheduled=void 0)}});function kb(n,e){return t=>t.lift(new mre(n,e))}class mre{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new gre(e,this.compare,this.keySelector))}}class gre 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 VC=new vc(hA);class yre{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new vre(e,this.durationSelector))}}class vre extends ib{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=sb(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 aB(n){return!Fs(n)&&n-parseFloat(n)+1>=0}function wre(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 lB(n,e=VC){return function _re(n){return function(t){return t.lift(new yre(n))}}(()=>function bre(n=0,e,t){let s=-1;return aB(e)?s=Number(e)<1?1:Number(e):nb(e)&&(t=e),nb(t)||(t=VC),new At(r=>{const o=aB(n)?n:+n-t.now();return t.schedule(wre,o,{index:0,period:s,subscriber:r})})}(n,e))}class Dre{call(e,t){return t.subscribe(new Cre(e))}}class Cre 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 xre=new class Ere extends vc{}(class Mre extends hA{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 A$;!function(n){n.NEXT="N",n.ERROR="E",n.COMPLETE="C"}(A$||(A$={}));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 ht(this.value);case"E":return yf(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 fA 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(fA.dispatch,this.delay,new Tre(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 Tre{constructor(e,t){this.notification=e,this.destination=t}}class L$ extends ft{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 Ire(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=St.EMPTY:(this.observers.push(e),c=new Is(this,e)),r&&e.add(e=new fA(e,r)),t)for(let d=0;dt&&(c=Math.max(c,o-t)),c>0&&r.splice(0,c),r}}class Ire{constructor(e,t){this.time=e,this.value=t}}function Are(n,e,t){let s;return s=n&&"object"==typeof n?n:{bufferSize:n,windowTime:e,refCount:!1,scheduler:t},r=>r.lift(function Lre({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 L$(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 cB;try{cB=typeof Intl<"u"&&Intl.v8BreakIterator}catch{cB=!1}class fa{constructor(e){this._platformId=e,this.isBrowser=this._platformId?_F(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&&!cB)&&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||fa)(Ee(ao))};static#t=this.\u0275prov=Ae({token:fa,factory:fa.\u0275fac,providedIn:"root"})}class uB{static#e=this.\u0275fac=function(t){return new(t||uB)};static#t=this.\u0275mod=fs({type:uB});static#n=this.\u0275inj=Cs({})}let jC;function Ib(n){return function Pre(){if(null==jC&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>jC=!0}))}finally{jC=jC||!1}return jC}()?n:!!n.capture}var bc;let mA,t_,dB;function HC(){if("object"!=typeof document||!document)return bc.NORMAL;if(null==mA){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),mA=bc.NORMAL,0===n.scrollLeft&&(n.scrollLeft=1,mA=0===n.scrollLeft?bc.NEGATED:bc.INVERTED),n.remove()}return mA}function hB(n){if(function Ore(){if(null==dB){const n=typeof document<"u"?document.head:null;dB=!(!n||!n.createShadowRoot&&!n.attachShadow)}return dB}()){const e=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function rh(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"}(bc||(bc={}));const Fre=new Ye("cdk-dir-doc",{providedIn:"root",factory:function Yre(){return me(Pn)}});const Bre=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function R$(n){const e=n?.toLowerCase()||"";return"auto"===e&&typeof navigator<"u"&&navigator?.language?Bre.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=R$(t||s||"ltr")}}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(t){return new(t||Sl)(Ee(Fre,8))};static#t=this.\u0275prov=Ae({token:Sl,factory:Sl.\u0275fac,providedIn:"root"})}class Ab{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=R$(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||Ab)};static#t=this.\u0275dir=et({type:Ab,selectors:[["","dir",""]],hostVars:1,hostBindings:function(t,s){2&t&&Pa("dir",s._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],standalone:!0,features:[Vn([{provide:Sl,useExisting:Ab}])]})}class n_{static#e=this.\u0275fac=function(t){return new(t||n_)};static#t=this.\u0275mod=fs({type:n_,imports:[Ab],exports:[Ab]});static#n=this.\u0275inj=Cs({})}class Vre{}class Hre extends Vre{constructor(e){super(),this._data=e}connect(){return NY(this._data)?this._data:ht(this._data)}disconnect(){}}var oh;!function(n){n[n.REPLACED=0]="REPLACED",n[n.INSERTED=1]="INSERTED",n[n.MOVED=2]="MOVED",n[n.REMOVED=3]="REMOVED"}(oh||(oh={}));const O$=new Ye("_ViewRepeater");class Ure{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?oh.INSERTED:oh.REPLACED}else null==h?(this._detachAndCacheView(d,t),g=oh.REMOVED):(m=this._moveView(d,h,t,r(c)),g=oh.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||gA)};static#t=this.\u0275prov=Ae({token:gA,factory:gA.\u0275fac,providedIn:"root"})}const $re=["contentWrapper"],zre=["*"],N$=new Ye("VIRTUAL_SCROLL_STRATEGY");class Wre{constructor(e,t,s){this._scrolledIndexChange=new ft,this.scrolledIndexChange=this._scrolledIndexChange.pipe(kb()),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 qre(n){return n._scrollStrategy}class Lb{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new Wre(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=e_(e)}get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=e_(e)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=e_(e)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static#e=this.\u0275fac=function(t){return new(t||Lb)};static#t=this.\u0275dir=et({type:Lb,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},standalone:!0,features:[Vn([{provide:N$,useFactory:qre,deps:[Lt(()=>Lb)]}]),_s]})}class Tu{constructor(e,t,s){this._ngZone=e,this._platform=t,this._scrolled=new ft,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 At(t=>{this._globalSubscription||this._addGlobalListener();const s=e>0?this._scrolled.pipe(lB(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{s.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ht()}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(ws(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=Ar(t),r=e.getElementRef().nativeElement;do{if(s==r)return!0}while(s=s.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>dA(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||Tu)(Ee(Mt),Ee(fa),Ee(Pn,8))};static#t=this.\u0275prov=Ae({token:Tu,factory:Tu.\u0275fac,providedIn:"root"})}class s_{constructor(e,t,s,r){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=s,this.dir=r,this._destroyed=new ft,this._elementScrolled=new At(o=>this.ngZone.runOutsideAngular(()=>dA(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&&HC()!=bc.NORMAL?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),HC()==bc.INVERTED?e.left=e.right:HC()==bc.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 Rre(){if(null==t_){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return t_=!1,t_;if("scrollBehavior"in document.documentElement.style)t_=!0;else{const n=Element.prototype.scrollTo;t_=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return t_}()?(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&&HC()==bc.INVERTED?e==t?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:o&&HC()==bc.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||s_)(he(gn),he(Tu),he(Mt),he(Sl,8))};static#t=this.\u0275dir=et({type:s_,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}class Pb{constructor(e,t,s){this._platform=e,this._change=new ft,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(lB(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||Pb)(Ee(fa),Ee(Mt),Ee(Pn,8))};static#t=this.\u0275prov=Ae({token:Pb,factory:Pb.\u0275fac,providedIn:"root"})}const _A=new Ye("VIRTUAL_SCROLLABLE");class Rb extends s_{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||Rb)(he(gn),he(Tu),he(Mt),he(Sl,8))};static#t=this.\u0275dir=et({type:Rb,features:[Tn]})}const Xre=typeof requestAnimationFrame<"u"?k$:fre;class i_ extends Rb{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(fa),this._detachedSubject=new ft,this._renderedRangeSubject=new ft,this._orientation="vertical",this.appendOnly=!1,this.scrolledIndexChange=new At(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=St.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(hb(null),lB(0,Xre),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 Qre(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||i_)(he(gn),he(gl),he(Mt),he(N$,8),he(Sl,8),he(Tu),he(Pb),he(_A,8))};static#t=this.\u0275cmp=Yc({type:i_,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(t,s){if(1&t&&TN($re,7),2&t){let r;h1(r=p1())&&(s._contentWrapper=r.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(t,s){2&t&&hg("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:[Vn([{provide:s_,useFactory:(e,t)=>e||t,deps:[[new Si,new Wa(_A)],i_]}]),La,Tn,m1],ngContentSelectors:zre,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(t,s){1&t&&(PH(),o1(0,"div",1,0),RH(2),a1(),_0(3,"div",2)),2&t&&(ik(3),s1("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 F$(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 UC{get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,function jre(n){return n&&"function"==typeof n.connect&&!(n instanceof VI)}(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new Hre(NY(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=e_(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 ft,this._dataSourceChanges=new ft,this.dataStream=this._dataSourceChanges.pipe(hb(null),function Sre(){return n=>n.lift(new Dre)}(),ha(([d,h])=>this._changeDataSource(d,h)),Are(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new ft,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?F$(t,"end",c)-F$(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):ht()}_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||UC)(he(xr),he(dr),he(mu),he(O$),he(i_,4),he(Mt))};static#t=this.\u0275dir=et({type:UC,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},standalone:!0,features:[Vn([{provide:O$,useClass:Ure}])]})}class Ob extends Rb{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||Ob)(he(gn),he(Tu),he(Mt),he(Sl,8))};static#t=this.\u0275dir=et({type:Ob,selectors:[["","cdkVirtualScrollingElement",""]],hostAttrs:[1,"cdk-virtual-scrollable"],standalone:!0,features:[Vn([{provide:_A,useExisting:Ob}]),Tn]})}class Nb extends Rb{constructor(e,t,s){super(new gn(document.documentElement),e,t,s),this._elementScrolled=new At(r=>this.ngZone.runOutsideAngular(()=>dA(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||Nb)(he(Tu),he(Mt),he(Sl,8))};static#t=this.\u0275dir=et({type:Nb,selectors:[["cdk-virtual-scroll-viewport","scrollWindow",""]],standalone:!0,features:[Vn([{provide:_A,useExisting:Nb}]),Tn]})}class ah{static#e=this.\u0275fac=function(t){return new(t||ah)};static#t=this.\u0275mod=fs({type:ah,imports:[s_],exports:[s_]});static#n=this.\u0275inj=Cs({})}class pB{static#e=this.\u0275fac=function(t){return new(t||pB)};static#t=this.\u0275mod=fs({type:pB,imports:[n_,ah,i_,Lb,UC,Nb,Ob],exports:[n_,ah,Lb,UC,i_,Nb,Ob]});static#n=this.\u0275inj=Cs({imports:[n_,ah,n_,ah]})}function $C(n,e=VC){return t=>t.lift(new _oe(n,e))}class _oe{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new yoe(e,this.dueTime,this.scheduler))}}class yoe 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(voe,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 voe(n){n.debouncedNext()}function Y$(n){return e=>e.lift(new boe(n))}class boe{constructor(e){this.total=e}call(e,t){return t.subscribe(new woe(e,this.total))}}class woe extends tn{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}class Fb{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static#e=this.\u0275fac=function(t){return new(t||Fb)};static#t=this.\u0275prov=Ae({token:Fb,factory:Fb.\u0275fac,providedIn:"root"})}class Yb{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=Ar(e);return new At(s=>{const o=this._observeElement(t).pipe(zt(c=>c.filter(d=>!function Soe(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 ft,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||Yb)(Ee(Fb))};static#t=this.\u0275prov=Ae({token:Yb,factory:Yb.\u0275fac,providedIn:"root"})}class zC{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=e_(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($C(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(t){return new(t||zC)(he(Yb),he(gn),he(Mt))};static#t=this.\u0275dir=et({type:zC,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",$i],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[La]})}class WC{static#e=this.\u0275fac=function(t){return new(t||WC)};static#t=this.\u0275mod=fs({type:WC,imports:[zC],exports:[zC]});static#n=this.\u0275inj=Cs({providers:[Fb]})}class fB{static#e=this.\u0275fac=function(t){return new(t||fB)};static#t=this.\u0275mod=fs({type:fB});static#n=this.\u0275inj=Cs({})}const B$=new Set;let r_;class qC{constructor(e,t){this._platform=e,this._nonce=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Coe}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function Doe(n,e){if(!B$.has(n))try{r_||(r_=document.createElement("style"),e&&r_.setAttribute("nonce",e),r_.setAttribute("type","text/css"),document.head.appendChild(r_)),r_.sheet&&(r_.sheet.insertRule(`@media ${n} {body{ }}`,0),B$.add(n))}catch(t){console.error(t)}}(e,this._nonce),this._matchMedia(e)}static#e=this.\u0275fac=function(t){return new(t||qC)(Ee(fa),Ee(dS,8))};static#t=this.\u0275prov=Ae({token:qC,factory:qC.\u0275fac,providedIn:"root"})}function Coe(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}class GC{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new ft}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return V$(oB(e)).some(s=>this._registerQuery(s).mql.matches)}observe(e){let r=YI(V$(oB(e)).map(o=>this._registerQuery(o).observable));return r=BI(r.pipe(Ii(1)),r.pipe(Y$(1),$C(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 At(o=>{const c=d=>this._zone.run(()=>o.next(d));return t.addListener(c),()=>{t.removeListener(c)}}).pipe(hb(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||GC)(Ee(qC),Ee(Mt))};static#t=this.\u0275prov=Ae({token:GC,factory:GC.\u0275fac,providedIn:"root"})}function V$(n){return n.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}function yA(n,e){return n.getAttribute(e)?.match(/\S+/g)??[]}const H$="cdk-describedby-message",vA="cdk-describedby-host";let mB=0;class bA{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+mB++,this._document=e,this._id=me(pd)+"-"+mB++}describe(e,t,s){if(!this._canBeDescribed(e,t))return;const r=gB(t,s);"string"!=typeof t?(U$(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=gB(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(`[${vA}="${this._id}"]`);for(let t=0;t0!=s.indexOf(H$));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const s=this._messageRegistry.get(t);(function Moe(n,e,t){const s=yA(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(vA,this._id),s.referenceCount++}_removeMessageReference(e,t){const s=this._messageRegistry.get(t);s.referenceCount--,function Eoe(n,e,t){const s=yA(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(vA)}_isElementDescribedByMessage(e,t){const s=yA(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||bA)(Ee(Pn),Ee(fa))};static#t=this.\u0275prov=Ae({token:bA,factory:bA.\u0275fac,providedIn:"root"})}function gB(n,e){return"string"==typeof n?`${e||""}/${n}`:n}function U$(n,e){n.id||(n.id=`${H$}-${e}-${mB++}`)}class Bb{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function Toe(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 koe(n){try{return n.frameElement}catch{return null}}(function Foe(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(t&&(-1===z$(t)||!this.isVisible(t)))return!1;let s=e.nodeName.toLowerCase(),r=z$(e);return e.hasAttribute("contenteditable")?-1!==r:!("iframe"===s||"object"===s||this._platform.WEBKIT&&this._platform.IOS&&!function Ooe(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 Noe(n){return!function Aoe(n){return function Poe(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function Ioe(n){let e=n.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(n)||function Loe(n){return function Roe(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||$$(n))}(e)&&!this.isDisabled(e)&&(t?.ignoreVisibility||this.isVisible(e))}static#e=this.\u0275fac=function(t){return new(t||Bb)(Ee(fa))};static#t=this.\u0275prov=Ae({token:Bb,factory:Bb.\u0275fac,providedIn:"root"})}function $$(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let e=n.getAttribute("tabindex");return!(!e||isNaN(parseInt(e,10)))}function z$(n){if(!$$(n))return null;const e=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class W${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 KC{constructor(e,t,s){this._checker=e,this._ngZone=t,this._document=s}create(e,t=!1){return new W$(e,this._checker,this._ngZone,this._document,t)}static#e=this.\u0275fac=function(t){return new(t||KC)(Ee(Bb),Ee(Mt),Ee(Pn))};static#t=this.\u0275prov=Ae({token:KC,factory:KC.\u0275fac,providedIn:"root"})}class QC{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(fa).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 Nre(){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||QC)(he(gn),he(KC),he(Pn))};static#t=this.\u0275dir=et({type:QC,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",$i],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",$i]},exportAs:["cdkTrapFocus"],standalone:!0,features:[La,_s]})}class Yoe extends W${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 Boe=new Ye("FOCUS_TRAP_INERT_STRATEGY");class Voe{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 XC{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||XC)};static#t=this.\u0275prov=Ae({token:XC,factory:XC.\u0275fac,providedIn:"root"})}class wA{constructor(e,t,s,r,o){this._checker=e,this._ngZone=t,this._focusTrapManager=s,this._document=r,this._inertStrategy=o||new Voe}create(e,t={defer:!1}){let s;return s="boolean"==typeof t?{defer:t}:t,new Yoe(e,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,s)}static#e=this.\u0275fac=function(t){return new(t||wA)(Ee(Bb),Ee(Mt),Ee(XC),Ee(Pn),Ee(Boe,8))};static#t=this.\u0275prov=Ae({token:wA,factory:wA.\u0275fac,providedIn:"root"})}function q$(n){return 0===n.buttons||0===n.detail}function G$(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 joe=new Ye("cdk-input-modality-detector-options"),Hoe={ignoreKeys:[18,17,224,91,16]},Vb=Ib({passive:!0,capture:!0});class ZC{get mostRecentModality(){return this._modality.value}constructor(e,t,s,r){this._platform=e,this._mostRecentTarget=null,this._modality=new zs(null),this._lastTouchMs=0,this._onKeydown=o=>{this._options?.ignoreKeys?.some(c=>c===o.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=rh(o))},this._onMousedown=o=>{Date.now()-this._lastTouchMs<650||(this._modality.next(q$(o)?"keyboard":"mouse"),this._mostRecentTarget=rh(o))},this._onTouchstart=o=>{G$(o)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=rh(o))},this._options={...Hoe,...r},this.modalityDetected=this._modality.pipe(Y$(1)),this.modalityChanged=this.modalityDetected.pipe(kb()),e.isBrowser&&t.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,Vb),s.addEventListener("mousedown",this._onMousedown,Vb),s.addEventListener("touchstart",this._onTouchstart,Vb)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Vb),document.removeEventListener("mousedown",this._onMousedown,Vb),document.removeEventListener("touchstart",this._onTouchstart,Vb))}static#e=this.\u0275fac=function(t){return new(t||ZC)(Ee(fa),Ee(Mt),Ee(Pn),Ee(joe,8))};static#t=this.\u0275prov=Ae({token:ZC,factory:ZC.\u0275fac,providedIn:"root"})}const Uoe=new Ye("liveAnnouncerElement",{providedIn:"root",factory:function $oe(){return null}});const zoe=new Ye("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Woe=0;class JC{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||eM)(he(gn),he(JC),he(Yb),he(Mt))};static#t=this.\u0275dir=et({type:eM,selectors:[["","cdkAriaLive",""]],inputs:{politeness:[0,"cdkAriaLive","politeness"],duration:[0,"cdkAriaLiveDuration","duration"]},exportAs:["cdkAriaLive"],standalone:!0})}var tM;!function(n){n[n.IMMEDIATE=0]="IMMEDIATE",n[n.EVENTUAL=1]="EVENTUAL"}(tM||(tM={}));const qoe=new Ye("cdk-focus-monitor-default-options"),SA=Ib({passive:!0,capture:!0});class nM{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 ft,this._rootNodeFocusAndBlurListener=c=>{for(let h=rh(c);h;h=h.parentElement)"focus"===c.type?this._onFocus(c,h):this._onBlur(c,h)},this._document=r,this._detectionMode=o?.detectionMode||tM.IMMEDIATE}monitor(e,t=!1){const s=Ar(e);if(!this._platform.isBrowser||1!==s.nodeType)return ht();const r=hB(s)||this._getDocument(),o=this._elementInfo.get(s);if(o)return t&&(o.checkChildren=!0),o.subject;const c={checkChildren:t,subject:new ft,rootNode:r};return this._elementInfo.set(s,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(e){const t=Ar(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=Ar(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===tM.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===tM.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=rh(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,SA),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,SA)}),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,SA),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,SA),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||sM)(he(gn),he(nM))};static#t=this.\u0275dir=et({type:sM,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}var Sf;!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"}(Sf||(Sf={}));const Q$="cdk-high-contrast-black-on-white",X$="cdk-high-contrast-white-on-black",_B="cdk-high-contrast-active";class iM{constructor(e,t){this._platform=e,this._document=t,this._breakpointSubscription=me(GC).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Sf.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 Sf.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Sf.BLACK_ON_WHITE}return Sf.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(_B,Q$,X$),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();t===Sf.BLACK_ON_WHITE?e.add(_B,Q$):t===Sf.WHITE_ON_BLACK&&e.add(_B,X$)}}static#e=this.\u0275fac=function(t){return new(t||iM)(Ee(fa),Ee(Pn))};static#t=this.\u0275prov=Ae({token:iM,factory:iM.\u0275fac,providedIn:"root"})}class yB{constructor(e){e._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(t){return new(t||yB)(Ee(iM))};static#t=this.\u0275mod=fs({type:yB,imports:[WC,eM,QC,sM],exports:[eM,QC,sM]});static#n=this.\u0275inj=Cs({imports:[WC]})}function Koe(n){const{subscriber:e,counter:t,period:s}=n;e.next(t),this.schedule({subscriber:e,counter:t+1,period:s},s)}function vB(...n){let e=Number.POSITIVE_INFINITY,t=null,s=n[n.length-1];return nb(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 At?n[0]:db(e)(kY(n,t))}function bB(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 jb(n,e){const t=e?"":"none";bB(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 Z$(n,e,t){bB(n.style,{position:e?"":"fixed",top:e?"":"0",opacity:e?"":"0",left:e?"":"-999em"},t)}function DA(n,e){return e&&"none"!=e?n+" "+e:n}function J$(n,e){n.style.width=`${e.width}px`,n.style.height=`${e.height}px`,n.style.transform=CA(e.left,e.top)}function CA(n,e){return`translate3d(${Math.round(n)}px, ${Math.round(e)}px, 0)`}function wB(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 SB(n,e,t){const{top:s,bottom:r,left:o,right:c}=n;return t>=s&&t<=r&&e>=o&&e<=c}function rM(n,e,t){n.top+=e,n.bottom=n.top+n.height,n.left+=t,n.right=n.left+n.width}function e6(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:wB(t)})})}handleScroll(e){const t=rh(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)&&rM(m.clientRect,d,h)}),r.top=o,r.left=c,{top:d,left:h}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}}function n6(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 a6(n){const e=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*e}function DB(n,e){return n.getPropertyValue(e).split(",").map(s=>s.trim())}const Zoe=new Set(["position"]);class Joe{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 Xoe(n){const e=getComputedStyle(n),t=DB(e,"transition-property"),s=t.find(d=>"transform"===d||"all"===d);if(!s)return 0;const r=t.indexOf(s),o=DB(e,"transition-duration"),c=DB(e,"transition-delay");return a6(o[r])+a6(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=o6(c,this._document),this._previewEmbeddedView=c,e.matchSize?J$(r,o):r.style.transform=CA(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=n6(this._rootElement),J$(r,this._initialDomRect),this._initialTransform&&(r.style.transform=this._initialTransform);return bB(r.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},Zoe),jb(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 l6=Ib({passive:!0}),MA=Ib({passive:!1}),c6=Ib({passive:!1,capture:!0}),u6=new Set(["position"]);class tae{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=>jb(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 ft,this._pointerMoveSubscription=St.EMPTY,this._pointerUpSubscription=St.EMPTY,this._scrollSubscription=St.EMPTY,this._resizeSubscription=St.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 ft,this.started=new ft,this.released=new ft,this.ended=new ft,this.entered=new ft,this.exited=new ft,this.dropped=new ft,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 t6(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=>Ar(s)),this._handles.forEach(s=>jb(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=Ar(e);return t!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{t.addEventListener("mousedown",this._pointerDown,MA),t.addEventListener("touchstart",this._pointerDown,l6),t.addEventListener("dragstart",this._nativeDragStart,MA)}),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?Ar(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),jb(e,!0))}enableHandle(e){this._disabledHandles.has(e)&&(this._disabledHandles.delete(e),jb(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",h6,c6)}_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){oM(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const t=this._getShadowRoot(),s=this._dropContainer;if(t&&this._ngZone.runOutsideAngular(()=>{t.addEventListener("selectstart",h6,c6)}),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 Joe(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)),Z$(r,!1,u6),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=oM(t),o=!r&&0!==t.button,c=this._rootElement,d=rh(t),h=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now(),m=r?G$(t):q$(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=wB(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){Z$(this._rootElement,!0,u6),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||rh(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=o6(this._placeholderRef,this._document)):s=n6(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=oM(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=oM(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=d6(s,d.left+o,d.right-(h-o)),r=d6(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,jb(this._rootElement,e))}_removeRootElementListeners(e){e.removeEventListener("mousedown",this._pointerDown,MA),e.removeEventListener("touchstart",this._pointerDown,l6),e.removeEventListener("dragstart",this._nativeDragStart,MA)}_applyRootElementTransform(e,t){const s=CA(e,t),r=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=r.transform&&"none"!=r.transform?r.transform:""),r.transform=DA(s,this._initialTransform)}_applyPreviewTransform(e,t){const s=this._previewTemplate?.template?void 0:this._initialTransform,r=CA(e,t);this._preview.setTransform(DA(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:oM(e)?t.touch:t?t.mouse:0}_updateOnScroll(e){const t=this._parentPositions.handleScroll(e);if(t){const s=rh(e);this._boundaryRect&&s!==this._boundaryElement&&s.contains(this._boundaryElement)&&rM(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=hB(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 Ar(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 d6(n,e,t){return Math.max(e,Math.min(t,n))}function oM(n){return"t"===n.type[0]}function h6(n){n.preventDefault()}function p6(n,e,t){const s=aM(e,n.length-1),r=aM(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 p6(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=DA(`translate3d(${Math.round(z.offset)}px, 0, 0)`,z.initialTransform),rM(z.clientRect,0,oe)):(fe.style.transform=DA(`translate3d(0, ${Math.round(z.offset)}px, 0)`,z.initialTransform),rM(z.clientRect,oe,0))}),this._previousSwap.overlaps=SB(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 Ar(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})=>{rM(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:wB(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 ft,this.entered=new ft,this.exited=new ft,this.dropped=new ft,this.sorted=new ft,this.receivingStarted=new ft,this.receivingStopped=new ft,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=St.EMPTY,this._verticalScrollDirection=Na.NONE,this._horizontalScrollDirection=mo.NONE,this._stopScrollTimers=new ft,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function Goe(n=0,e=VC){return(!aB(n)||n<0)&&(n=0),(!e||"function"!=typeof e.schedule)&&(e=VC),new At(t=>(t.add(e.schedule(Koe,n,{subscriber:t,counter:0,period:n})),t))}(0,k$).pipe(bl(this._stopScrollTimers)).subscribe(()=>{const c=this._scrollNode,d=this.autoScrollStep;this._verticalScrollDirection===Na.UP?c.scrollBy(0,-d):this._verticalScrollDirection===Na.DOWN&&c.scrollBy(0,d),this._horizontalScrollDirection===mo.LEFT?c.scrollBy(-d,0):this._horizontalScrollDirection===mo.RIGHT&&c.scrollBy(d,0)})},this.element=Ar(e),this._document=s,this.withScrollableParents([this.element]),t.registerDropContainer(this),this._parentPositions=new t6(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=Ar(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||!e6(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=Na.NONE,o=mo.NONE;if(this._parentPositions.positions.forEach((c,d)=>{d===this._document||!c.clientRect||s||e6(c.clientRect,.05,e,t)&&([r,o]=function rae(n,e,t,s,r){const o=g6(e,r),c=_6(e,s);let d=Na.NONE,h=mo.NONE;if(o){const m=n.scrollTop;o===Na.UP?m>0&&(d=Na.UP):n.scrollHeight-m>n.clientHeight&&(d=Na.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=g6(h,t),o=_6(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=Ar(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=Ar(this.element);this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(e).clientRect}_reset(){this._isDragging=!1;const e=Ar(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&&SB(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||!SB(this._domRect,t,s)||!this.enterPredicate(e,this))return!1;const r=this._getShadowRoot().elementFromPoint(t,s);if(!r)return!1;const o=Ar(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=hB(Ar(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 g6(n,e){const{top:t,bottom:s,height:r}=n,o=r*m6;return e>=t-o&&e<=t+o?Na.UP:e>=s-o&&e<=s+o?Na.DOWN:Na.NONE}function _6(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 EA=Ib({passive:!1,capture:!0}),xA=new Set;class kA{static#e=this.\u0275fac=function(t){return new(t||kA)};static#t=this.\u0275cmp=Yc({type:kA,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],standalone:!0,features:[m1],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 lM{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 ft,this.pointerUp=new ft,this.scroll=new ft,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,EA)})}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,EA)}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:EA}),s||this._globalListeners.set("mousemove",{handler:r=>this.pointerMove.next(r),options:EA}),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 At(s=>this._ngZone.runOutsideAngular(()=>{const o=c=>{this._activeDragInstances.length&&s.next(c)};return e.addEventListener("scroll",o,!0),()=>{e.removeEventListener("scroll",o,!0)}}))),vB(...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(!xA.has(this._appRef)){xA.add(this._appRef);const e=function zK(n,e){const t=rn(n),s=e.elementInjector||Rt();return new Gm(t).create(s,e.projectableNodes,e.hostElement,e.environmentInjector)}(kA,{environmentInjector:this._environmentInjector});this._appRef.onDestroy(()=>{xA.delete(this._appRef),0===xA.size&&e.destroy()})}}static#e=this.\u0275fac=function(t){return new(t||lM)(Ee(Mt),Ee(Pn))};static#t=this.\u0275prov=Ae({token:lM,factory:lM.\u0275fac,providedIn:"root"})}const oae={dragStartThreshold:5,pointerDirectionChangeThreshold:5};class o_{constructor(e,t,s,r){this._document=e,this._ngZone=t,this._viewportRuler=s,this._dragDropRegistry=r}createDrag(e,t=oae){return new tae(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new iae(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static#e=this.\u0275fac=function(t){return new(t||o_)(Ee(Pn),Ee(Mt),Ee(Pb),Ee(lM))};static#t=this.\u0275prov=Ae({token:o_,factory:o_.\u0275fac,providedIn:"root"})}const cM=new Ye("CDK_DRAG_PARENT");const y6=new Ye("CdkDragHandle");class a_{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 ft,this._disabled=!1,t?._addHandle(this)}ngOnDestroy(){this._parentDrag?._removeHandle(this),this._stateChanges.complete()}static#e=this.\u0275fac=function(t){return new(t||a_)(he(gn),he(cM,12))};static#t=this.\u0275dir=et({type:a_,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:[2,"cdkDragHandleDisabled","disabled",$i]},standalone:!0,features:[Vn([{provide:y6,useExisting:a_}]),La]})}const CB=new Ye("CDK_DRAG_CONFIG"),v6=new Ye("CdkDropList");class wc{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 ft,this._handles=new zs([]),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 At(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,wc._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=wc._dragInstances.indexOf(this);e>-1&&wc._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):Ar(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:e_(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(wc._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(Hs(e=>{const t=e.map(s=>s.element);this._selfHandle&&this.rootElementSelector&&t.push(this.element),this._dragRef.withHandles(t)}),ha(e=>vB(...e.map(t=>t._stateChanges.pipe(hb(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||wc)(he(gn),he(v6,12),he(Pn),he(Mt),he(xr),he(CB,8),he(Sl,8),he(o_),he(gl),he(y6,10),he(cM,12))};static#n=this.\u0275dir=et({type:wc,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,s){2&t&&hg("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:[Vn([{provide:cM,useExisting:wc}]),La,_s]})}const MB=new Ye("CdkDropListGroup");class l_{constructor(){this._items=new Set,this.disabled=!1}ngOnDestroy(){this._items.clear()}static#e=this.\u0275fac=function(t){return new(t||l_)};static#t=this.\u0275dir=et({type:l_,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:[2,"cdkDropListGroupDisabled","disabled",$i]},exportAs:["cdkDropListGroup"],standalone:!0,features:[Vn([{provide:MB,useExisting:l_}]),La]})}let lae=0;class Sc{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 ft,this.connectedTo=[],this.id="cdk-drop-list-"+lae++,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),Sc._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=Sc._dropLists.indexOf(this);e>-1&&Sc._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(hb(this._dir.value),bl(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const t=oB(this.connectedTo).map(s=>{if("string"==typeof s){return Sc._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=e_(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()}),vB(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||Sc)(he(gn),he(o_),he(gl),he(Tu),he(Sl,8),he(MB,12),he(CB,8))};static#n=this.\u0275dir=et({type:Sc,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,s){2&t&&(Pa("id",s.id),hg("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:[Vn([{provide:MB,useValue:void 0},{provide:v6,useExisting:Sc}]),La]})}const cae=new Ye("CdkDragPreview");class c_{constructor(e){this.templateRef=e,this._drag=me(cM,{optional:!0}),this.matchSize=!1,this._drag?._setPreviewTemplate(this)}ngOnDestroy(){this._drag?._resetPreviewTemplate(this)}static#e=this.\u0275fac=function(t){return new(t||c_)(he(dr))};static#t=this.\u0275dir=et({type:c_,selectors:[["ng-template","cdkDragPreview",""]],inputs:{data:"data",matchSize:[2,"matchSize","matchSize",$i]},standalone:!0,features:[Vn([{provide:cae,useExisting:c_}]),La]})}const uae=new Ye("CdkDragPlaceholder");class u_{constructor(e){this.templateRef=e,this._drag=me(cM,{optional:!0}),this._drag?._setPlaceholderTemplate(this)}ngOnDestroy(){this._drag?._resetPlaceholderTemplate(this)}static#e=this.\u0275fac=function(t){return new(t||u_)(he(dr))};static#t=this.\u0275dir=et({type:u_,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},standalone:!0,features:[Vn([{provide:uae,useExisting:u_}])]})}class TA{static#e=this.\u0275fac=function(t){return new(t||TA)};static#t=this.\u0275mod=fs({type:TA,imports:[Sc,l_,wc,a_,c_,u_],exports:[ah,Sc,l_,wc,a_,c_,u_]});static#n=this.\u0275inj=Cs({providers:[o_],imports:[ah]})}let uM=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:gn}];static#t=this.propDecorators={menuItems:[{type:G}],positionError:[{type:G}],getMenuItems:[{type:nt}]}};uM=be([Ke({selector:"ue-context-menu",template:''})],uM);let dM=class{constructor(e){this.el=e}onContextMenu(e){e.preventDefault(),this.ueContextMenu.show(e,this.ueContextMenuSubject)}static#e=this.ctorParameters=()=>[{type:gn}];static#t=this.propDecorators={ueContextMenu:[{type:G}],ueContextMenuSubject:[{type:G}],onContextMenu:[{type:ml,args:["contextmenu",["$event"]]}]}};dM=be([fl({selector:"[ueContextMenu]"})],dM);let hM=class{};hM=be([fi({imports:[da],declarations:[uM,dM],exports:[uM,dM]})],hM);var pae=x(3481),fae=x.n(pae);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:[fae()]})],mi);let IA=class{};IA=be([fi({imports:[da],declarations:[mi],exports:[mi]})],IA);var mae=x(4180),gae=x.n(mae);let AA=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}]}};AA=be([Ke({selector:"ue-button",template:'\n\t\n\t\n\t',styles:[gae()]})],AA);var _ae=x(1954),yae=x.n(_ae);let pM=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"]}]}};pM=be([Ke({selector:"ue-checkbox",template:'\n\t\t
\n\t\t\t\n\t\t\t\n\t\t
\n\t',providers:[{provide:zr,multi:!0,useExisting:pM}],styles:[yae()]})],pM);let LA=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}]}};LA=be([fl({selector:"[ueTemplateWrapper]"})],LA);let fM=class{};fM=be([fi({imports:[da],declarations:[AA,pM,LA],exports:[AA,pM,LA]})],fM);var bae=x(4946),wae=x.n(bae);let mM=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"]}]}};mM=be([fl({selector:"[ueTemplate]"})],mM);let gM=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:zD,args:[mM]}],template:[{type:Dp,args:[dr,{static:!0}]}]}};gM=be([Ke({selector:"ue-column",template:""})],gM);let PA=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}]}};PA=be([Ke({selector:"ue-columnBodyTemplateLoader",template:""})],PA);let Df=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:zD,args:[gM]}]}};Df=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:[wae()]})],Df);let RA=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:Df,decorators:[{type:Wa,args:[Lt(()=>Df)]}]}];static#t=this.propDecorators={columns:[{type:G,args:["ueTableBody"]}],highlightIndexArray:[{type:G}]}};RA=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'})],RA);let OA=class{constructor(e){this.dt=e}static#e=this.ctorParameters=()=>[{type:Df,decorators:[{type:Wa,args:[Lt(()=>Df)]}]}];static#t=this.propDecorators={columns:[{type:G,args:["ueColumnHeaders"]}]}};OA=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'})],OA);var Cae=x(7859),Mae=x.n(Cae);let EB=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}]}};EB=be([Ke({selector:"ue-table-dropdown",template:'
\n\t\n\t\n\t\n
',styles:[Mae()]})],EB);let NA=class{};NA=be([fi({imports:[da,hM,fM],declarations:[Df,RA,mM,gM,PA,OA,EB],exports:[Df,RA,mM,gM,PA,OA,uM,dM]})],NA);let FA=class{constructor(e){this.elementRef=e}ngAfterViewInit(){setTimeout(()=>{this.elementRef.nativeElement.focus()},100)}static#e=this.ctorParameters=()=>[{type:gn}]};FA=be([fl({selector:"[ueFocusMe]"})],FA);var Et=x(7586);let YA=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)}};YA=be([vv({name:"ueDate"})],YA);var Eae=x(7734),_M=x.n(Eae);const xae=[{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 xB=class{constructor(){this.dateMask=[/[0-1]/,/\d/,"/",/[0-3]/,/\d/,"/",/\d/,/\d/,/\d/,/\d/],this.moneyMask=_M()({prefix:"$",suffix:"",requireDecimal:!0}),this.percentMask=_M()({prefix:"",suffix:"%",requireDecimal:!0}),this.quantityMask=_M()({prefix:""}),this.negativeQuantityMask=_M()({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 _M()(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 xae.forEach(r=>{r.pregs.forEach(o=>{o.test(t)&&(s=r.mask)})}),s}static#e=this.ctorParameters=()=>[]};xB=be([ks()],xB);var Tae=x(3134),Iae=x.n(Tae);let Hb=class{constructor(){this.suggestionLookup=new Qv,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($C(this.debounceTime),kb()).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:Dp,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"]}]}};Hb=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:zr,multi:!0,useExisting:Hb}],styles:[Iae()]})],Hb);var Lae=x(9276),Pae=x.n(Lae);let yM=class{set initialNameValue(e){this.typeaheadControl.patchValue(e,{emitEvent:!1})}constructor(){this.onCompleteMethod=new Le,this.suggestions=[],this.selectControl=new Xd,this.typeaheadControl=new Xd,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}]}};yM=be([Ke({selector:"ue-typeahead-select",template:'\n',providers:[{provide:zr,multi:!0,useExisting:yM}],styles:[Pae()]})],yM);let BA=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}]}};BA=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'})],BA);var Oae=x(7062),Nae=x.n(Oae);let VA=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:gn},{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:Dp,args:[dr,{static:!0}]}]}};VA=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:[$v("panelState",[Gd("hidden",pc({opacity:0})),Gd("visible",pc({opacity:1})),qp("visible => hidden",Wp("400ms ease-in")),qp("hidden => visible",Wp("400ms ease-out"))])],styles:[Nae()]})],VA);let jA=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}]}};jA=be([Ke({selector:"ue-buttonTemplateLoader",template:""})],jA);var Yae=x(3336),Bae=x.n(Yae);class kB{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 lh=class{constructor(){this.paginationArray=[],this.goToValueControl=new Xd,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=kB.stringToNumber(kB.onlyAllowNumber(this.goToValueControl.value));this.goToValueControl.patchValue(e)}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={paginationObject:[{type:G}],goToPage:[{type:nt}]}};lh=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:[Bae()]})],lh);var jae=x(2022),Hae=x.n(jae);let HA=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}]}};HA=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:[Hae()]})],HA);var $ae=x(1434),zae=x.n($ae);let UA=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?p6(e.container.data,e.previousIndex,e.currentIndex):function nae(n,e,t,s){const r=aM(t,n.length-1),o=aM(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"]]}]}};UA=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:[$v("modalState",[Gd("hidden",pc({opacity:0,transform:"translateX(-100%)"})),Gd("visible",pc({opacity:1,transform:"translateX(0)"})),qp("* => visible",Wp("200ms ease-out"))])],providers:[{provide:CB,useValue:{zIndex:1051}}],styles:[zae()]})],UA);let $A=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"]}]}};$A=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'})],$A);var Gae=x(614),Kae=x.n(Gae);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:[Hb,{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:[Kae()]})],zA);var Xae=x(9350),Zae=x.n(Xae);let WA=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(Hs(e=>{this.currentCompanyProfile=e}))}checkoutCompany(e){return this.http.post(`${this.baseUrl}/explore`,{member_key:e})}static#e=this.ctorParameters=()=>[{type:fo}]};WA=be([ks()],WA);let qA=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:WA}];static#t=this.propDecorators={dropdownMenuOptions:[{type:G}],resellerId:[{type:G}],url:[{type:G}]}};qA=be([Ke({selector:"ue-header",template:'\x3c!-- HEADER --\x3e\n',styles:[Zae()]})],qA);var ele=x(6084),tle=x.n(ele);let GA=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:Mt},{type:dn}];static#t=this.propDecorators={navTabs:[{type:G}],childTabs:[{type:RO,args:["tabs"]}]}};GA=be([Ke({selector:"ue-navbar",template:'\n',animations:[$v("slideState",[Gd("open",pc({height:"*",paddingTop:"7px",paddingBottom:"7px"})),Gd("closed",pc({height:"0",paddingTop:"0px",paddingBottom:"0px"})),qp("closed => open",[Wp(".3s ease")]),qp("open => closed",[Wp(".3s ease")])])],styles:[tle()]})],GA);let TB=class{constructor(){}ngOnInit(){}static#e=this.ctorParameters=()=>[]};TB=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 

    '})],TB);let KA=class{constructor(){this.showNews=!1}ngOnInit(){}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={articles:[{type:G,args:["articles"]}]}};KA=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'})],KA);let IB=class{constructor(){}ngOnInit(){}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={article:[{type:G,args:["article"]}],last:[{type:G,args:["last"]}]}};IB=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'})],IB);var rle=x(8234),ole=x.n(rle);var lle=x(4216),cle=x.n(lle);let QA=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}]}};QA=be([Ke({selector:"ue-nav-tabs",template:'\n',styles:[cle()]})],QA);var dle=x(642),hle=x.n(dle);let Ub=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:gn},{type:Ui},{type:Qd,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:VN,args:["class.error"]},{type:G}],warning:[{type:VN,args:["class.warning"]},{type:G}],confirmed:[{type:VN,args:["class.confirmed"]},{type:G}]}};Ub=be([fl({selector:"[ueFloatInput]"})],Ub);let XA=class{constructor(){}focusInput(){this.inputDirective.readonly||this.inputDirective.focus()}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={inputDirective:[{type:Dp,args:[Ub,{static:!0}]}]}};XA=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:[hle()]})],XA);var fle=x(4020),mle=x.n(fle);let vM=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}]}};vM=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:zr,multi:!0,useExisting:vM}],styles:[mle()]})],vM);class Dc{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 AB=class{constructor(){this.name="date"}transform(e,...t){return e}};AB=be([vv({name:"date",pure:!1})],AB);var _le=x(5366),yle=x.n(_le);let d_=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}]}]}};d_=be([Ke({selector:"ue-progress-modal",template:'\n\n\n\t\n',styles:[yle()]})],d_);var ble=x(9126),wle=x.n(ble);let ZA=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"]]}]}};ZA=be([Ke({selector:"ue-time-picker",template:'
    \n',styles:[wle()]})],ZA);const Sle={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},Dle_easeInOutCubic="easeInOutCubic";let JA=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=Dle_easeInOutCubic,this.clicked=!1}ngAfterViewInit(){(this.routerLink||this.routerLinkWithHref)&&(this.routerSubscription=this.router.events.pipe(ws(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 Cle(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:gn},{type:xu,decorators:[{type:Si},{type:Fl}]},{type:xu,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"]}]}};JA=be([fl({selector:"[ueScrollTo]"})],JA);let bM=class{constructor(){this.inFocus=new L$(1)}getWindowInnerHeight(){return window.innerHeight}static#e=this.ctorParameters=()=>[]};bM=be([ks()],bM);let eL=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:gn},{type:bM}];static#t=this.propDecorators={ueElemScrollSpy:[{type:G}],onWindowScroll:[{type:ml,args:["window:scroll"]}]}};eL=be([fl({selector:"[ueElemScrollSpy]"})],eL);let tL=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(kb()).subscribe(e=>{e===this.spyId?this.renderer.addClass(this.elementRef.nativeElement,"active"):this.renderer.removeClass(this.elementRef.nativeElement,"active")})}static#e=this.ctorParameters=()=>[{type:bM},{type:gn},{type:Ui}];static#t=this.propDecorators={ueScrollSpyActive:[{type:G}]}};var LB;tL=be([fl({selector:"[ueScrollSpyActive]"})],tL);let b6=LB=class{static forRoot(){return{ngModule:LB,providers:[bM]}}};b6=LB=be([fi({imports:[da],declarations:[eL,tL],exports:[eL,tL]})],b6);let $b=class{transform(e){return Object.keys(e).map(t=>({key:t,val:e[t]}))}};$b=be([vv({name:"objectloop"})],$b);var Ele=x(1682),xle=x.n(Ele);let nL=class{constructor(){this.customText=""}ngOnInit(){}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={customText:[{type:G}]}};nL=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:[xle()]})],nL);let wM=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:Dp,args:[Ub,{static:!0}]}]}};wM=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:zr,multi:!0,useExisting:wM}],styles:[ole()]})],wM);let sL=class{transform(e,t){let s="";return s=t||"-",e||s}};sL=be([vv({name:"uePlaceholder"})],sL);let iL=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:gn}];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"]]}]}};iL=be([fl({selector:"[ueTooltip]"})],iL);let rL=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}]}};rL=be([Ke({selector:"ue-pill",template:"\n \n\n"})],rL);var Ile=x(7206),Ale=x.n(Ile);let SM=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}]}};SM=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:zr,useExisting:Lt(()=>SM),multi:!0}],styles:[Ale()]})],SM);var Ple=x(9644),Rle=x.n(Ple);let oL=class{constructor(){}ngOnInit(){}static#e=this.ctorParameters=()=>[];static#t=this.propDecorators={onText:[{type:G}],offText:[{type:G}],label:[{type:G}]}};oL=be([Ke({selector:"ue-toggle",template:'
    \n\t\n
    ',styles:[Rle()]})],oL);var Nle=x(8672),Fle=x.n(Nle);let aL=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"]}]}};aL=be([Ke({selector:"ue-payment-method",template:'\n',styles:[Fle()]})],aL);let lL=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`}};lL=be([vv({name:"ueSeconds"})],lL);var Ble=x(752),Vle=x.n(Ble);const jle={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 cL=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=jle.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:gn}];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"]]}]}};cL=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:[Vle()]})],cL);var Ule=x(5831),$le=x.n(Ule);const mr=(0,x(6625).extendMoment)(Et);let uL=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}]}};uL=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:[$le()]})],uL);let dL=class{};dL=be([Ke({selector:"modal-header",template:""})],dL);let hL=class{};hL=be([Ke({selector:"modal-content",template:""})],hL);let pL=class{};pL=be([Ke({selector:"modal-footer",template:""})],pL);let DM=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}]}]}};DM=be([Ke({selector:"modal",template:'\n\t\t\n\t'})],DM);let fL=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}]}]}};fL=be([Ke({selector:"route-modal",template:'\n\t\t\n\t'})],fL);let mL=class{};mL=be([fi({imports:[da],declarations:[DM,fL,dL,hL,pL],exports:[DM,fL,dL,hL,pL]})],mL);var qle=x(2479),Gle=x.n(qle);let gL=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}]}};gL=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:[Gle()]})],gL);var Qle=x(195),Xle=x.n(Qle);let PB=class{constructor(){}ngOnInit(){}static#e=this.ctorParameters=()=>[]};PB=be([Ke({selector:"ue-dashboard-card-square",template:"",styles:[Xle()]})],PB);var Jle=x(7046),ece=x.n(Jle);let _L=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}]}};_L=be([Ke({selector:"ue-multi-input",template:'
    \n \n \n \n \n \n \n \n \n
    \n',styles:[ece()]})],_L);let yL=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}};yL=be([vv({name:"ueTimeleft"})],yL);var nce=x(4534),sce=x.n(nce);let CM=class{constructor(e){this.cdRef=e,this.suggestionLookup=new Qv,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($C(this.debounceTime),kb()).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:Dp,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}]}]}};CM=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:zr,multi:!0,useExisting:CM}],changeDetection:wa.OnPush,styles:[sce()]})],CM);let Iu=class{};Iu=be([fi({imports:[da,tb,Hg,fM,mL,NA,hM,xi,IA,TA],declarations:[FA,YA,lh,HA,Hb,yM,CM,BA,VA,jA,UA,qA,GA,$A,TB,zA,wM,vM,KA,IB,sL,iL,rL,d_,SM,Ub,XA,oL,QA,AB,ZA,aL,JA,lL,$b,cL,uL,nL,gL,PB,$b,_L,yL],providers:[xB,WA],exports:[da,Hg,tb,mL,NA,hM,fM,FA,YA,lh,HA,Hb,yM,CM,BA,VA,jA,UA,qA,GA,$A,zA,wM,vM,KA,IA,sL,iL,rL,d_,SM,Ub,XA,oL,QA,ZA,aL,JA,lL,$b,cL,uL,nL,$b,gL,_L,yL]})],Iu);let Au=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?ht(!0):this.http.get(this.url,{headers:this.ueHttp.getAuthHeader()}).pipe(zt(e=>(this.authService.isLoggedIn=!0,!0)),Wr(e=>(this.logout(),ht(!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:Cu},{type:dn},{type:fo}]};Au=be([ks()],Au);let vL=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)}),Wr(()=>ht(!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:Cu},{type:dn},{type:fo}]};vL=be([ks()],vL);let ch=class{constructor(e,t){this.authService=e,this.router=t}canActivate(e,t){return this.authService.permissions.length>0?ht(this.pickRoute(e.url[0].path)):this.authService.getPermissions().pipe(zt(s=>this.pickRoute(e.url[0].path),s=>ht(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}]};ch=be([ks()],ch);var rce=x(904),oce=x.n(rce);var lce=x(8760),cce=x.n(lce);let Cf=class{constructor(){}newAlert(e,t,s){this.alert={},this.alert.title=e,this.alert.message=t,this.alert.type=s}static#e=this.ctorParameters=()=>[]};Cf=be([Ke({selector:"ue-log-in-alert",template:'
    \n\t

    {{alert.title}}

    \n\t{{alert.message}}\n
    ',styles:[cce()]})],Cf);var dce=x(5481),hce=x.n(dce);let zb=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}]};zb=be([ks({providedIn:"root"})],zb);let MM=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:zb}];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}]}};MM=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:[hce()]})],MM);let Wb=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:[Cf,{static:!0}]}],mfaModal:[{type:qe,args:[MM,{static:!0}]}]}};Wb=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:[oce(),xb()]})],Wb);var fce=x(1835),mce=x.n(fce);let qb=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:[Cf,{static:!0}]}]}};qb=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:[mce(),xb()]})],qb);var _ce=x(6436),yce=x.n(_ce);let bL=class{constructor(e,t,s){this.formBuilder=e,this.router=t,this.authService=s,this.response=!1}ngOnInit(){this.lostPasswordForm=this.formBuilder.group({email:["",it.required]})}submitForm(){if(this.lostPasswordForm.invalid)return this.validationError=!0,void this.alert.newAlert("Error!","Please enter your email.","danger");this.authService.forgotPW(this.lostPasswordForm.value).subscribe(e=>{this.response=!0,this.alert.newAlert("Success!",e.message||"Password reset email sent successfully.","success")},e=>{this.alert.newAlert("Error!",e.error,"danger")})}static#e=this.ctorParameters=()=>[{type:ir},{type:dn},{type:ni}];static#t=this.propDecorators={alert:[{type:qe,args:[Cf,{static:!0}]}]}};bL=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\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\n\t\t\tCancel\n\t\t\n\t\t\n\t
    \n
    \n',styles:[yce(),xb()]})],bL);var bce=x(1824),wce=x.n(bce);let wL=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:[Cf,{static:!0}]}]}};wL=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:[wce(),xb()]})],wL);var Dce=x(8145),Cce=x.n(Dce);let RB=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:Cu},{type:ih}];static#t=this.propDecorators={modal:[{type:qe,args:[DM,{static:!0}]}],alert:[{type:qe,args:[mi,{static:!0}]}]}};RB=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:[Cce()]})],RB);var Ece=x(5320),xce=x.n(Ece);let SL=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:[Cf,{static:!0}]}]}};SL=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:[xce(),xb()]})],SL);let EM=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}]};EM=be([ks()],EM);var Tce=x(5777),Ice=x.n(Tce);let OB=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}]}};OB=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:[Ice()]})],OB);var Lce=x(7175),Pce=x.n(Lce);let NB=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}]}};NB=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:[Pce()]})],NB);var Oce=x(7207),Nce=x.n(Oce);let FB=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}]}};FB=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:[Nce()]})],FB);var Yce=x(9369),Bce=x.n(Yce);let YB=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}]}};YB=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:[Bce()]})],YB);var jce=x(3244),Hce=x.n(jce);let BB=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}]}};BB=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:[Hce()]})],BB);let DL=class{};DL=be([fi({imports:[xi,Iu,aA],declarations:[YC,cA,uA,Wb,qb,bL,wL,Cf,RB,SL,MM,OB,NB,FB,YB,BB],exports:[YC,Wb,qb,MM],providers:[ni,Au,vL,Jg,lA,ih,Zg,ch,EM]})],DL);const w6=typeof window>"u"?function(n){return n()}:window.requestAnimationFrame;function S6(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,w6.call(window,()=>{r=!1,n.apply(e,o)}))}}const VB=n=>"start"===n?"left":"end"===n?"right":"center",go=(n,e,t)=>"start"===n?e:"end"===n?t:(e+t)/2;function uh(){}const zce=function(){let n=0;return function(){return n++}}();function ls(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 D6=(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=M6(e,t);return n}function jB(n){return n.charAt(0).toUpperCase()+n.slice(1)}const Cl=n=>typeof n<"u",Mf=n=>"function"==typeof n,E6=(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,Us=2*gi,Zce=Us+gi,EL=Number.POSITIVE_INFINITY,Jce=gi/180,Ni=gi/2,TM=gi/4,x6=2*gi/3,Ml=Math.log10,Lu=Math.sign;function k6(n){const e=Math.round(n);n=AM(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 IM(n){return!isNaN(parseFloat(n))&&isFinite(n)}function AM(n,e,t){return Math.abs(n-e)h&&m=Math.min(e,t)-s&&n<=Math.max(e,t)+s}const xL=n=>0===n||1===n,L6=(n,e,t)=>-Math.pow(2,10*(n-=1))*Math.sin((n-e)*Us/t),P6=(n,e,t)=>Math.pow(2,-10*n)*Math.sin((n-e)*Us/t)+1,PM={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=>xL(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=>xL(n)?n:L6(n,.075,.3),easeOutElastic:n=>xL(n)?n:P6(n,.075,.3),easeInOutElastic:n=>xL(n)?n:n<.5?.5*L6(2*n,.1125,.45):.5+.5*P6(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-PM.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*PM.easeInBounce(2*n):.5*PM.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},$B="0123456789ABCDEF",iue=n=>$B[15&n],rue=n=>$B[(240&n)>>4]+$B[15&n],kL=n=>(240&n)>>4==(15&n);function lue(n){var e=function oue(n){return kL(n.r)&&kL(n.g)&&kL(n.b)&&kL(n.a)}(n)?iue:rue;return n&&"#"+e(n.r)+e(n.g)+e(n.b)+(n.a<255?e(n.a):"")}function RM(n){return n+.5|0}const TL=(n,e,t)=>Math.max(Math.min(n,t),e);function OM(n){return TL(RM(2.55*n),0,255)}function NM(n){return TL(RM(255*n),0,255)}function zB(n){return TL(RM(n/2.55)/100,0,1)}function R6(n){return TL(RM(100*n),0,100)}const cue=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const hue=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function O6(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 pue(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 fue(n,e,t){const s=O6(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 WB(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}(),IL.transparent=[0,0,0,0]);const e=IL[n.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}function AL(n,e,t){if(n){let s=WB(n);s[e]=Math.max(0,Math.min(s[e]+s[e]*t,0===e?360:1)),s=GB(s),n.r=s[0],n.g=s[1],n.b=s[2]}}function B6(n,e){return n&&Object.assign(e||{},n)}function V6(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=NM(n[3]))):(e=B6(n,{r:0,g:0,b:0,a:1})).a=NM(e.a),e}function Sue(n){return"r"===n.charAt(0)?function uue(n){const e=cue.exec(n);let s,r,o,t=255;if(e){if(e[7]!==s){const c=+e[7];t=255&(e[8]?OM(c):255*c)}return s=+e[1],r=+e[3],o=+e[5],s=255&(e[2]?OM(s):s),r=255&(e[4]?OM(r):r),o=255&(e[6]?OM(o):o),{r:s,g:r,b:o,a:t}}}(n):_ue(n)}class LL{constructor(e){if(e instanceof LL)return e;const t=typeof e;let s;"object"===t?s=V6(e):"string"===t&&(s=function aue(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)||wue(e)||Sue(e)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var e=B6(this._rgb);return e&&(e.a=zB(e.a)),e}set rgb(e){this._rgb=V6(e)}rgbString(){return this._valid?function due(n){return n&&(n.a<255?`rgba(${n.r}, ${n.g}, ${n.b}, ${zB(n.a)})`:`rgb(${n.r}, ${n.g}, ${n.b})`)}(this._rgb):this._rgb}hexString(){return this._valid?lue(this._rgb):this._rgb}hslString(){return this._valid?function vue(n){if(!n)return;const e=WB(n),t=e[0],s=R6(e[1]),r=R6(e[2]);return n.a<255?`hsla(${t}, ${s}%, ${r}%, ${zB(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 LL(this.rgb)}alpha(e){return this._rgb.a=NM(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=RM(.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 AL(this._rgb,2,e),this}darken(e){return AL(this._rgb,2,-e),this}saturate(e){return AL(this._rgb,1,e),this}desaturate(e){return AL(this._rgb,1,-e),this}rotate(e){return function yue(n,e){var t=WB(n);t[0]=N6(t[0]+e),t=GB(t),n.r=t[0],n.g=t[1],n.b=t[2]}(this._rgb,e),this}}function j6(n){return new LL(n)}const H6=n=>n instanceof CanvasGradient||n instanceof CanvasPattern;function U6(n){return H6(n)?n:j6(n)}function KB(n){return H6(n)?n:j6(n).saturate(.5).darken(.1).hexString()}const p_=Object.create(null),QB=Object.create(null);function FM(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)=>KB(s.backgroundColor),this.hoverBorderColor=(t,s)=>KB(s.borderColor),this.hoverColor=(t,s)=>KB(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 XB(this,e,t)}get(e){return FM(this,e)}describe(e,t){return XB(QB,e,t)}override(e,t){return XB(p_,e,t)}route(e,t,s,r){const o=FM(this,e),c=FM(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 PL(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 Mue(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 m_(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 kue(n,e){e.translation&&n.translate(e.translation[0],e.translation[1]),ls(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 ZB(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]=Pue(o(c));return t}function z6(n){return ZB(n,{top:"y",right:"x",bottom:"y",left:"x"})}function Gb(n){return ZB(n,["topLeft","topRight","bottomLeft","bottomRight"])}function _o(n){const e=z6(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(Aue)&&(console.warn('Invalid font style specified: "'+s+'"'),s="");const r={family:Dn(n.family,e.family),lineHeight:Lue(Dn(n.lineHeight,e.lineHeight),t),size:t,style:s,weight:Dn(n.weight,e.weight),string:""};return r.string=function Cue(n){return!n||ls(n.size)||ls(n.family)?null:(n.style?n.style+" ":"")+(n.weight?n.weight+" ":"")+n.size+"px "+n.family}(r),r}function YM(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 hh=(n,e,t)=>JB(n,t,s=>n[s][e]JB(n,t,s=>n[s][e]>=t);const W6=["push","pop","shift","splice","unshift"];function q6(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)&&(W6.forEach(o=>{delete n[o]}),delete n._chartjs)}function G6(n){const e=new Set;let t,s;for(t=0,s=n.length;tn[0]){Cl(s)||(s=J6("_fallback",n));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:n,_rootScopes:t,_fallback:s,_getTarget:r,override:c=>eV([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)=>Q6(c,d,()=>function zue(n,e,t,s){let r;for(const o of e)if(r=J6(Yue(o,n),t),Cl(r))return tV(n,r)?nV(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)=>ez(c).includes(d),ownKeys:c=>ez(c),set(c,d,h){const m=c._storage||(c._storage=r());return c[d]=m[d]=h,delete c._keys,!0}})}function Kb(n,e,t,s){const r={_cacheable:!1,_proxy:n,_context:e,_subProxy:t,_stack:new Set,_descriptors:K6(n,s),setContext:o=>Kb(n,o,t,s),override:o=>Kb(n.override(o),e,t,s)};return new Proxy(r,{deleteProperty:(o,c)=>(delete o[c],delete n[c],!0),get:(o,c,d)=>Q6(o,c,()=>function Bue(n,e,t){const{_proxy:s,_context:r,_subProxy:o,_descriptors:c}=n;let d=s[e];return Mf(d)&&c.isScriptable(e)&&(d=function Vue(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),tV(n,e)&&(e=nV(r._scopes,r,n,e)),e}(e,d,n,t)),Ks(d)&&d.length&&(d=function jue(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=nV(m,r,n,g);e.push(Kb(S,o,c&&c[n],d))}}return e}(e,d,n,c.isIndexable)),tV(e,d)&&(d=Kb(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 K6(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:Mf(t)?t:()=>t,isIndexable:Mf(s)?s:()=>s}}const Yue=(n,e)=>n?n+jB(e):e,tV=(n,e)=>qn(e)&&"adapters"!==n&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Q6(n,e,t){if(Object.prototype.hasOwnProperty.call(n,e))return n[e];const s=t();return n[e]=s,s}function X6(n,e,t){return Mf(n)?n(e,t):n}const Hue=(n,e)=>!0===n?e:"string"==typeof n?h_(e,n):void 0;function Uue(n,e,t,s,r){for(const o of e){const c=Hue(t,o);if(c){n.add(c);const d=X6(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 nV(n,e,t,s){const r=e._rootScopes,o=X6(e._fallback,t,s),c=[...n,...r],d=new Set;d.add(s);let h=Z6(d,c,t,o||t,s);return!(null===h||Cl(o)&&o!==t&&(h=Z6(d,c,o,h,s),null===h))&&eV(Array.from(d),[""],r,o,()=>function $ue(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 Z6(n,e,t,s,r){for(;t;)t=Uue(n,e,t,s,r);return t}function J6(n,e){for(const t of e){if(!t)continue;const s=t[n];if(Cl(s))return s}}function ez(n){let e=n._keys;return e||(e=n._keys=function Wue(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 que=Number.EPSILON||1e-14,Qb=(n,e)=>e"x"===n?"y":"x";function Gue(n,e,t,s){const r=n.skip?e:n,o=e,c=t.skip?e:t,d=UB(o,r),h=UB(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 Xue(n,e="x"){const t=tz(e),s=n.length,r=Array(s).fill(0),o=Array(s);let c,d,h,m=Qb(n,0);for(c=0;c!m.skip)),"monotone"===e.cubicInterpolationMode)Xue(n,r);else{let m=s?n[n.length-1]:n[0];for(o=0,c=n.length;owindow.getComputedStyle(n,null);const tde=["top","right","bottom","left"];function __(n,e,t){const s={};t=t?"-"+t:"";for(let r=0;r<4;r++){const o=tde[r];s[o]=parseFloat(n[e+"-"+o+t])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const nde=(n,e,t)=>(n>0||e>0)&&(!t||!t.shadowRoot);function sz(n,e){const{canvas:t,currentDevicePixelRatio:s}=e,r=VL(t),o="border-box"===r.boxSizing,c=__(r,"padding"),d=__(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(nde(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 iV=n=>Math.round(10*n)/10;function rde(n,e,t,s){const r=VL(n),o=__(r,"margin"),c=BL(r.maxWidth,n,"clientWidth")||EL,d=BL(r.maxHeight,n,"clientHeight")||EL,h=function ide(n,e,t){let s,r;if(void 0===e||void 0===t){const o=sV(n);if(o){const c=o.getBoundingClientRect(),d=VL(o),h=__(d,"border","width"),m=__(d,"padding");e=c.width-m.width-h.width,t=c.height-m.height-h.height,s=BL(d.maxWidth,o,"clientWidth"),r=BL(d.maxHeight,o,"clientHeight")}else e=n.clientWidth,t=n.clientHeight}return{width:e,height:t,maxWidth:s||EL,maxHeight:r||EL}}(n,e,t);let{width:m,height:g}=h;if("content-box"===r.boxSizing){const S=__(r,"border","width"),T=__(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=iV(Math.min(m,c,h.maxWidth)),g=iV(Math.min(g,d,h.maxHeight)),m&&!g&&(g=iV(m/2)),{width:m,height:g}}function iz(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 ode=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 rz(n,e){const t=function ede(n,e){return VL(n).getPropertyValue(e)}(n,e),s=t&&t.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function y_(n,e,t,s){return{x:n.x+t*(e.x-n.x),y:n.y+t*(e.y-n.y)}}function ade(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 lde(n,e,t,s){const r={x:n.cp2x,y:n.cp2y},o={x:e.cp1x,y:e.cp1y},c=y_(n,r,t),d=y_(r,o,t),h=y_(o,e,t),m=y_(c,d,t),g=y_(d,h,t);return y_(m,g,t)}const oz=new Map;function BM(n,e,t){return function cde(n,e){e=e||{};const t=n+JSON.stringify(e);let s=oz.get(t);return s||(s=new Intl.NumberFormat(n,e),oz.set(t,s)),s}(e,t).format(n)}function Xb(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 az(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 lz(n,e){void 0!==e&&(delete n.prevTextDirection,n.canvas.style.setProperty("direction",e[0],e[1]))}function cz(n){return"angle"===n?{between:LM,compare:nue,normalize:Fa}:{between:dh,compare:(e,t)=>e-t,normalize:e=>e}}function uz({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 dz(n,e,t){if(!t)return[n];const{property:s,start:r,end:o}=t,c=e.length,{compare:d,between:h,normalize:m}=cz(s),{start:g,end:S,loop:T,style:I}=function hde(n,e,t){const{property:s,start:r,end:o}=t,{between:c,normalize:d}=cz(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),Oe=()=>!Y||0===d(o,Q)||h(o,oe,Q);for(let tt=g,ut=g;tt<=S;++tt)q=e[tt%c],!q.skip&&(Q=m(q[s]),Q!==oe&&(Y=h(Q,r,o),null===z&&Re()&&(z=0===d(Q,r)?tt:ut),null!==z&&Oe()&&(P.push(uz({start:z,end:tt,loop:T,count:c,style:I})),z=null),ut=tt,oe=Q));return null!==z&&P.push(uz({start:z,end:S,loop:T,count:c,style:I})),P}function hz(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=w6.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",vde={boolean:(n,e,t)=>t>.5?e:n,color(n,e,t){const s=U6(n||mz),r=s.valid&&U6(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=YM([e.to,r,o,e.from]);const c=YM([e.from,o,r]);this._active=!0,this._fn=e.fn||vde[e.type||typeof c],this._easing=PM[e.easing]||PM.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=YM([e.to,t,r,e.from]),this._from=YM([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 gz{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 Dde)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 Mde(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 Cde(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?(ph.add(this._chart,s),!0):void 0}}function _z(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 yz(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 Sz(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 Tde(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 VM(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 oV=n=>"reset"===n||"none"===n,Dz=(n,e)=>e?n:Object.assign({},n);class Pu{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=bz(e.vScale,e),this.addElements()}updateIndex(e){this.index!==e&&VM(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,rV(e,"x")),c=t.yAxisID=Dn(s.yAxisID,rV(e,"y")),d=t.rAxisID=Dn(s.rAxisID,rV(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&&q6(this._data,this),e._stacked&&VM(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),s=this._data;if(qn(t))this._data=function kde(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"+jB(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=bz(t.vScale,t),t.stack!==s.stack&&(r=!0,VM(t),t.stack=s.stack),this._resyncElements(e),(r||o!==t._stacked)&&Sz(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:yz(t,!0),values:null})(t,s,this.chart),m={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:g,max:S}=function Ide(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(Dz(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 gz(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||oV(e)||this.chart._animationsDisabled}updateElement(e,t,s,r){oV(r)?Object.assign(e,s):this._resolveAnimations(t,r).update(e,s)}updateSharedOptions(e,t,s){e&&!oV(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 Mz(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=Lu(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 Yde(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 v_ extends Pu{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=>+h_(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 zde(n,e,t){let s=1,r=1,o=0,c=0;if(eLM(oe,d,h,!0)?1:Math.max(fe,fe*t,ye,ye*t),P=(oe,fe,ye)=>LM(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=D6(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/Us)}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)?Us*(Math.abs(e)/t):0}getLabelAndValue(e){const t=this._cachedMeta,s=this.chart,r=s.data.labels||[],o=BM(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},v_.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 Zb extends Pu{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 Wde(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=Lr(Math.min(hh(d,c.axis,m).lo,t?s:hh(e,h,c.getPixelForValue(m)).lo),0,s-1)),o=T?Lr(Math.max(hh(d,c.axis,g).hi+1,t?0:hh(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 qde(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=IM(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&&Re[I]-oe[I]>Q,z&&(Oe.parsed=Re,Oe.raw=m.data[fe]),T&&(Oe.options=S||this.resolveDataElementOptions(fe,ye.active?"active":r)),q||this.updateElement(ye,fe,Oe,r),oe=Re}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()}}Zb.id="line",Zb.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},Zb.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class UM extends Pu{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=BM(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)?Cc(this.resolveDataElementOptions(e,t).angle||s):0}}UM.id="polarArea",UM.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},UM.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 jL extends v_{}jL.id="pie",jL.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class $M extends Pu{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 b_(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class lV{constructor(e){this.options=e||{}}formats(){return b_()}parse(e,t){return b_()}format(e,t){return b_()}add(e,t,s){return b_()}diff(e,t,s){return b_()}startOf(e,t,s){return b_()}endOf(e,t){return b_()}}lV.override=function(n){Object.assign(lV.prototype,n)};var Kde={_date:lV};function WM(n,e){return"native"in n?{x:n.x,y:n.y}:sz(n,e)}function Xde(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?Oue:hh;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 cV(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 the={modes:{index(n,e,t,s){const r=WM(e,n),o=t.axis||"x",c=t.intersect?uV(n,r,o,s):dV(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=WM(e,n),o=t.axis||"xy";let c=t.intersect?uV(n,r,o,s):dV(n,r,o,!1,s);if(c.length>0){const d=c[0].datasetIndex,h=n.getDatasetMeta(d).data;c=[];for(let m=0;muV(n,WM(e,n),t.axis||"xy",s),nearest:(n,e,t,s)=>dV(n,WM(e,n),t.axis||"xy",t.intersect,s),x:(n,e,t,s)=>kz(n,e,{axis:"x",intersect:t.intersect},s),y:(n,e,t,s)=>kz(n,e,{axis:"y",intersect:t.intersect},s)}};const Tz=["left","top","right","bottom"];function qM(n,e){return n.filter(t=>t.pos===e)}function Iz(n,e){return n.filter(t=>-1===Tz.indexOf(t.pos)&&t.box.axis===e)}function GM(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 ihe(n,e){const t=function she(n){const e={};for(const t of n){const{stack:s,pos:r,stackWeight:o}=t;if(!s||!Tz.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 KM(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=GM(qM(e,"left"),!0),r=GM(qM(e,"right")),o=GM(qM(e,"top"),!0),c=GM(qM(e,"bottom")),d=Iz(e,"x"),h=Iz(e,"y");return{fullSize:t,leftAndTop:s.concat(o),rightAndBottom:r.concat(h).concat(c).concat(d),chartArea:qM(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);Lz(T,_o(s));const I=Object.assign({maxPadding:T,w:o,h:c,x:r.left,y:r.top},r),P=ihe(h.concat(m),S);KM(d.fullSize,I,S,P),KM(h,I,S,P),KM(m,I,S,P)&&KM(h,I,S,P),function ahe(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),Pz(d.leftAndTop,I,S,P),I.x+=I.w,I.y+=I.h,Pz(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 Rz{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 che extends Rz{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const UL="$chartjs",uhe={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Oz=n=>null===n||""===n;const Nz=!!ode&&{passive:!0};function phe(n,e,t){n.canvas.removeEventListener(e,t,Nz)}function $L(n,e){for(const t of n)if(t===e||t.contains(e))return!0}function mhe(n,e,t){const s=n.canvas,r=new MutationObserver(o=>{let c=!1;for(const d of o)c=c||$L(d.addedNodes,s),c=c&&!$L(d.removedNodes,s);c&&t()});return r.observe(document,{childList:!0,subtree:!0}),r}function ghe(n,e,t){const s=n.canvas,r=new MutationObserver(o=>{let c=!1;for(const d of o)c=c||$L(d.removedNodes,s),c=c&&!$L(d.addedNodes,s);c&&t()});return r.observe(document,{childList:!0,subtree:!0}),r}const QM=new Map;let Fz=0;function Yz(){const n=window.devicePixelRatio;n!==Fz&&(Fz=n,QM.forEach((e,t)=>{t.currentDevicePixelRatio!==n&&e()}))}function vhe(n,e,t){const s=n.canvas,r=s&&sV(s);if(!r)return;const o=S6((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 _he(n,e){QM.size||window.addEventListener("resize",Yz),QM.set(n,e)}(n,o),c}function hV(n,e,t){t&&t.disconnect(),"resize"===e&&function yhe(n){QM.delete(n),QM.size||window.removeEventListener("resize",Yz)}(n)}function bhe(n,e,t){const s=n.canvas,r=S6(o=>{null!==n.ctx&&t(function fhe(n,e){const t=uhe[n.type]||n.type,{x:s,y:r}=sz(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 hhe(n,e,t){n.addEventListener(e,t,Nz)}(s,e,r),r}class whe extends Rz{acquireContext(e,t){const s=e&&e.getContext&&e.getContext("2d");return s&&s.canvas===e?(function dhe(n,e){const t=n.style,s=n.getAttribute("height"),r=n.getAttribute("width");if(n[UL]={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",Oz(r)){const o=rz(n,"width");void 0!==o&&(n.width=o)}if(Oz(s))if(""===n.style.height)n.height=n.width/(e||2);else{const o=rz(n,"height");void 0!==o&&(n.height=o)}return n}(e,t),s):null}releaseContext(e){const t=e.canvas;if(!t[UL])return!1;const s=t[UL].initial;["height","width"].forEach(o=>{const c=s[o];ls(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[UL],!0}addEventListener(e,t,s){this.removeEventListener(e,t);const r=e.$proxies||(e.$proxies={}),c={attach:mhe,detach:ghe,resize:vhe}[t]||bhe;r[t]=c(e,t,s)}removeEventListener(e,t){const s=e.$proxies||(e.$proxies={}),r=s[t];r&&(({attach:hV,detach:hV,resize:hV}[t]||phe)(e,t,r),s[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,s,r){return rde(e,t,s,r)}isAttached(e){const t=sV(e);return!(!t||!t.isConnected)}}class Mc{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 IM(this.x)&&IM(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}}Mc.defaults={},Mc.defaultRoutes=void 0;const Bz={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 Dhe(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),BM(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?Bz.numeric.call(this,n,e,t):""}};var zL={formatters:Bz};function Che(n,e){const t=n.options.ticks,s=t.maxTicksLimit||function Mhe(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 xhe(n){const e=[];let t,s;for(t=0,s=n.length;ts)return function khe(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(WL(e,h,m,ls(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 Vz=(n,e,t)=>"top"===e||"left"===e?n[e]+t:n[e]-t;function jz(n,e){const t=[],s=n.length/e,r=n.length;let o=0;for(;oc+d)))return h}function XM(n){return n.drawTicks?n.tickLength:0}function Hz(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 Ohe(n,e,t){let s=VB(n);return(t&&"right"!==e||!t&&"right"===e)&&(s=(n=>"left"===n?"right":"right"===n?"left":n)(s)),s}class w_ extends Mc{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 Rue(n,e,t){const{min:s,max:r}=n,o=D6(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=Lr(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-XM(e.grid)-t.padding-Hz(e.title,this.chart.options.font),m=Math.sqrt(S*S+T*T),c=HB(Math.min(Math.asin(Lr((g.highest.height+6)/d,-1,1)),Math.asin(Lr(h/m,-1,1))-Math.asin(Lr(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=Hz(r,t.options.font);if(d?(e.width=this.maxWidth,e.height=XM(o)+h):(e.height=this.maxHeight,e.width=XM(o)+h),s.display&&this.ticks.length){const{first:m,last:g,widest:S,highest:T}=this._getLabelSizes(),I=2*s.padding,P=Cc(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[Oe]||0,height:c[Oe]||0});return{first:Re(0),last:Re(t-1),widest:Re(fe),highest:Re(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 Lr(n,-32768,32767)}(this._alignToPixels?f_(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=XM(o),T=[],I=o.setContext(this.getContext()),P=I.drawBorder?I.borderWidth:0,Y=P/2,z=function(En){return f_(s,En,P)};let Q,q,oe,fe,ye,Re,Oe,tt,ut,Un,Gn,bn;if("top"===c)Q=z(this.bottom),Re=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,Re=Q+Y,tt=this.top+S;else if("left"===c)Q=z(this.right),ye=this.right-S,Oe=Q-Y,ut=z(e.left)+Y,Gn=e.right;else if("right"===c)Q=z(this.left),ut=e.left,Gn=z(e.right)-Y,ye=Q+Y,Oe=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,Re=Q+Y,tt=Re+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,Oe=ye-S,ut=e.left,Gn=e.right}const _i=Dn(r.ticks.maxTicksLimit,g),Pr=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 p_[s])}}var fh=new class Vhe{constructor(){this.controllers=new qL(Pu,"datasets",!0),this.elements=new qL(Mc,"elements"),this.plugins=new qL(Object,"plugins"),this.scales=new qL(w_,"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=jB(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 Uhe(n,e){return e||!1!==n?!0===n?{}:n:null}function zhe(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 pV(n,e){const t=Hn.datasets[n]||{};return((e.datasets||{})[n]||{}).indexAxis||e.indexAxis||t.indexAxis||"x"}function fV(n,e){return"x"===n||"y"===n?n:e.axis||function Ghe(n){return"top"===n||"bottom"===n?"x":"left"===n||"right"===n?"y":void 0}(e.position)||n.charAt(0).toLowerCase()}function Uz(n){const e=n.options||(n.options={});e.plugins=Dn(e.plugins,{}),e.scales=function Khe(n,e){const t=p_[n.type]||{scales:{}},s=e.scales||{},r=pV(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=fV(d,h),g=function qhe(n,e){return n===e?"_index_":"_value_"}(m,r),S=t.scales||{};o[m]=o[m]||d,c[d]=kM(Object.create(null),[{axis:m},h,S[m],S[g]])}),n.data.datasets.forEach(d=>{const h=d.type||n.type,m=d.indexAxis||pV(h,e),S=(p_[h]||{}).scales||{};Object.keys(S).forEach(T=>{const I=function Whe(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),kM(c[P],[{axis:I},s[P],S[T]])})}),Object.keys(c).forEach(d=>{const h=c[d];kM(h,[Hn.scales[h.type],Hn.scale])}),c}(n,e)}function $z(n){return(n=n||{}).datasets=n.datasets||[],n.labels=n.labels||[],n}const zz=new Map,Wz=new Set;function GL(n,e){let t=zz.get(n);return t||(t=e(),zz.set(n,t),Wz.add(t)),t}const ZM=(n,e,t)=>{const s=h_(e,t);void 0!==s&&n.add(s)};class Xhe{constructor(e){this._config=function Qhe(n){return(n=n||{}).data=$z(n.data),Uz(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=$z(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(),Uz(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return GL(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,t){return GL(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,t){return GL(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]])}pluginScopeKeys(e){const t=e.id;return GL(`${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=>ZM(h,e,S))),g.forEach(S=>ZM(h,r,S)),g.forEach(S=>ZM(h,p_[o]||{},S)),g.forEach(S=>ZM(h,Hn,S)),g.forEach(S=>ZM(h,QB,S))});const m=Array.from(h);return 0===m.length&&m.push(Object.create(null)),Wz.has(t)&&c.set(t,m),m}chartOptionScopes(){const{options:e,type:t}=this;return[e,p_[t]||{},Hn.datasets[t]||{},{type:t},Hn,QB]}resolveNamedOptions(e,t,s,r=[""]){const o={$shared:!0},{resolver:c,subPrefixes:d}=qz(this._resolverCache,e,r);let h=c;if(function Jhe(n,e){const{isScriptable:t,isIndexable:s}=K6(n);for(const r of e){const o=t(r),c=s(r),d=(c||o)&&n[r];if(o&&(Mf(d)||Zhe(d))||c&&Ks(d))return!0}return!1}(c,t)){o.$shared=!1;h=Kb(c,s=Mf(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}=qz(this._resolverCache,e,s);return qn(t)?Kb(o,t,void 0,r):o}}function qz(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:eV(e,t),subPrefixes:t.filter(d=>!d.toLowerCase().includes("hover"))},s.set(r,o)),o}const Zhe=n=>qn(n)&&Object.getOwnPropertyNames(n).reduce((e,t)=>e||Mf(n[t]),!1);const tpe=["top","bottom","left","right","chartArea"];function Gz(n,e){return"top"===n||"bottom"===n||-1===tpe.indexOf(n)&&"x"===e}function Kz(n,e){return function(t,s){return t[n]===s[n]?t[e]-s[e]:t[n]-s[n]}}function Qz(n){const e=n.chart,t=e.options.animation;e.notifyPlugins("afterRender"),Qs(t&&t.onComplete,[n],e)}function npe(n){const e=n.chart,t=e.options.animation;Qs(t&&t.onProgress,[n],e)}function Xz(n){return nz()&&"string"==typeof n?n=document.getElementById(n):n&&n.length&&(n=n[0]),n&&n.canvas&&(n=n.canvas),n}const KL={},Zz=n=>{const e=Xz(n);return Object.values(KL).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 JM{constructor(e,t){const s=this.config=new Xhe(t),r=Xz(e),o=Zz(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 She(n){return!nz()||typeof OffscreenCanvas<"u"&&n instanceof OffscreenCanvas?che:whe}(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=zce(),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 jhe,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function Uce(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=[],KL[this.id]=this,d&&h?(ph.listen(this,"complete",Qz),ph.listen(this,"progress",npe),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 ls(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():iz(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return $6(this.canvas,this.ctx),this}stop(){return ph.stop(this),this}resize(e,t){ph.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,iz(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=fV(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=fV(h,d),g=Dn(d.type,c.dtype);(void 0===d.position||Gz(d.position,m)!==Gz(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(fh.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(Kz("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);(!E6(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&&OL(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&&NL(t),c.cancelable=!1,this.notifyPlugins("afterDatasetDraw",c))}getElementsAtEventForMode(e,t,s,r){const o=the.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=Ef(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(),ph.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}});!CL(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:m_(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 Xce(n){return"mouseup"===n.type||"click"===n.type||"contextmenu"===n.type}(e),m=function ipe(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=!CL(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 Jz=()=>Ts(JM.instances,n=>n._plugins.invalidate()),xf=!0;function eW(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 ope(n,e,t,s){const r=function rpe(n){return ZB(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 Lr(h,0,Math.min(o,m))};return{outerStart:d(r.outerStart),outerEnd:d(r.outerEnd),innerStart:Lr(r.innerStart,0,c),innerEnd:Lr(r.innerEnd,0,c)}}function Jb(n,e,t,s){return{x:t+n*Math.cos(e),y:s+n*Math.sin(e)}}function mV(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}=ope(e,S,g,Q-z),Re=g-q,Oe=g-oe,tt=z+q/Re,ut=Q-oe/Oe,Un=S+fe,Gn=S+ye,bn=z+fe/Un,_i=Q-ye/Gn;if(n.beginPath(),n.arc(o,c,g,tt,ut),oe>0){const $e=Jb(Oe,ut,o,c);n.arc($e.x,$e.y,oe,ut,Q+Ni)}const Pr=Jb(Gn,Q,o,c);if(n.lineTo(Pr.x,Pr.y),ye>0){const $e=Jb(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=Jb(Un,bn,o,c);n.arc($e.x,$e.y,fe,bn+Math.PI,z-Ni)}const En=Jb(Re,z,o,c);if(n.lineTo(En.x,En.y),q>0){const $e=Jb(Re,tt,o,c);n.arc($e.x,$e.y,q,z-Ni,tt)}n.closePath()}function cpe(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 lpe(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&&eW(n,e,o+Us),n.beginPath(),n.arc(s,r,m,o+Us,o,!0),g=0;g{fh.add(...n),Jz()}},unregister:{enumerable:xf,value:(...n)=>{fh.remove(...n),Jz()}}});class eE extends Mc{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}=A6(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)>=Us||LM(o,d,h),Y=dh(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>Us?Math.floor(s/Us):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 ape(n,e,t,s){const{fullCircles:r,startAngle:o,circumference:c}=e;let d=e.endAngle;if(r){mV(n,e,t,s,o+Us);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,Re=0|fe;Re===P?(yez&&(z=ye),g=(S*g+fe)/++S):(oe(),n.lineTo(fe,ye),P=Re,S=0,Y=z=ye),Q=ye}oe()}function gV(n){const e=n.options,t=e.borderDash&&e.borderDash.length;return n._decimated||n._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||t?hpe:ppe}eE.id="arc",eE.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0},eE.defaultRoutes={backgroundColor:"backgroundColor"};const _pe="function"==typeof Path2D;function ype(n,e,t,s){_pe&&!e.options.segment?function mpe(n,e,t,s){let r=e._path;r||(r=e._path=new Path2D,e.path(r,t,s)&&r.closePath()),tW(n,e.options),n.stroke(r)}(n,e,t,s):function gpe(n,e,t,s){const{segments:r,options:o}=e,c=gV(e);for(const d of r)tW(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 mh extends Mc{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;Jue(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 mde(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 pde(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 pz(n,!0===s?[{start:c,end:d,loop:o}]:function fde(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 tE extends Mc{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 aW{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:Us},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 Rpe(n){return(n.scale||{}).getPointPositionForValue?function Ppe(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 aW({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 Ype(n,e,t){const s=[];for(let r=0;r{d=lW(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 mh({points:t,options:{tension:0},_loop:s,_fullLoop:s}):null}function jpe(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 uW(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 vV(n,e,t,s){if(s)return;let r=e[n],o=t[n];return"angle"===n&&(r=Fa(r),o=Fa(o)),{property:n,start:r,end:o}}function dW(n,e,t,s){return n&&e?s(n[t],e[t]):n?n[t]:e?e[t]:0}function Upe(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 hW(n,e,t,s){const r=e.interpolate(t,s);r&&n.lineTo(r.x,r.y)}function pW(n,e){const{line:t,target:s,property:r,color:o,scale:c}=e,d=function Hpe(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=lW(h,m,r);const g=vV(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=hz(e,g);for(const T of S){const I=vV(t,o[T.start],o[T.end],T.loop),P=dz(d,r,I);for(const Y of P)c.push({source:Y,target:T,start:{[t]:dW(g,I,"start",Math.max)},end:{[t]:dW(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,Upe(n,c,I&&vV(r,g,S)),n.beginPath();const P=!!t.pathSegment(n,h);let Y;if(I){P?n.closePath():hW(n,s,S,r);const z=!!s.pathSegment(n,m,{move:P,reverse:!0});Y=P&&z,Y||hW(n,s,g,r)}n.closePath(),n.fill(Y?"evenodd":"nonzero"),n.restore()}}function bV(n,e,t){const s=Vpe(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&&(OL(n,t),function $pe(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&&(uW(n,s,c.top),pW(n,{line:t,target:s,color:r,scale:d,property:h}),n.restore(),n.save(),uW(n,s,c.bottom)),pW(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}),NL(n))}var fW={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&&bV(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&&bV(n.ctx,o,n.chartArea)}},beforeDatasetDraw(n,e,t){const s=e.meta.$filler;!s||!1===s.fill||"beforeDatasetDraw"!==t.drawTime||bV(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 gW extends Mc{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=Xb(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;OL(e,this),this._draw(),NL(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:s,ctx:r}=this,{align:o,labels:c}=e,d=Hn.color,h=Xb(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},az(this.ctx,e.textDirection);const Re=Q+S;this.legendItems.forEach((Oe,tt)=>{r.strokeStyle=Oe.fontColor||g,r.fillStyle=Oe.fontColor||g;const ut=r.measureText(Oe.text).width,Un=h.textAlign(Oe.textAlign||(Oe.textAlign=c.textAlign)),Gn=Y+I+ut;let bn=P.x,_i=P.y;h.setWidth(this.width),fe?tt>0&&bn+Gn+S>this.right&&(_i=P.y+=Re,P.line++,bn=P.x=go(o,this.left+S,this.right-s[P.line])):tt>0&&_i+Re>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(Oe,tt,ut){if(isNaN(Y)||Y<=0||isNaN(z)||z<0)return;r.save();const Un=Dn(ut.lineWidth,1);if(r.fillStyle=Dn(ut.fillStyle,d),r.lineCap=Dn(ut.lineCap,"butt"),r.lineDashOffset=Dn(ut.lineDashOffset,0),r.lineJoin=Dn(ut.lineJoin,"miter"),r.lineWidth=Un,r.strokeStyle=Dn(ut.strokeStyle,d),r.setLineDash(Dn(ut.lineDash,[])),c.usePointStyle){const Gn={radius:Y*Math.SQRT2/2,pointStyle:ut.pointStyle,rotation:ut.rotation,borderWidth:Un},bn=h.xPlus(Oe,Y/2);RL(r,Gn,bn,tt+I)}else{const Gn=tt+Math.max((T-z)/2,0),bn=h.leftForLtr(Oe,Y),_i=Gb(ut.borderRadius);r.beginPath(),Object.values(_i).some(Pr=>0!==Pr)?FL(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,Oe),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(Oe,tt,ut){g_(r,ut.text,Oe,tt+Q/2,m,{strikethrough:ut.hidden,textAlign:h.textAlign(ut.textAlign)})}(h.x(bn),_i,Oe),fe?P.x+=Gn+S:P.y+=Re}),lz(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=Xb(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(VB(d)),c.textBaseline="middle",c.strokeStyle=t.color,c.fillStyle=t.color,c.font=s.string,g_(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(dh(e,this.left,this.right)&&dh(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 _W={id:"legend",_element:gW,start(n,e,t){const s=n.legend=new gW({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 wV extends Mc{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);g_(e,t.text,0,0,s,{color:t.color,maxWidth:h,rotation:m,textAlign:VB(t.align),textBaseline:"middle",translation:[c,d]})}}var yW={id:"title",_element:wV,start(n,e,t){!function qpe(n,e){const t=new wV({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 sE={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 Kpe(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 vW(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 Zpe(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 Xpe(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 bW(n,e,t){const s=t.yAlign||e.yAlign||function Qpe(n,e){const{y:t,height:s}=e;return tn.height-s/2?"bottom":"center"}(n,t);return{xAlign:t.xAlign||e.xAlign||Zpe(n,e,t,s),yAlign:s}}function wW(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}=Gb(c);let P=function Jpe(n,e){let{x:t,width:s}=n;return"right"===e?t-=s:"center"===e&&(t-=s/2),t}(e,d);const Y=function efe(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:Lr(P,0,s.width-e.width),y:Lr(Y,0,s.height-e.height)}}function XL(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 SW(n){return Ru([],gh(n))}function DW(n,e){const t=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return t?n.override(t):n}class SV extends Mc{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 gz(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=function tfe(n,e,t){return Ef(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=Ru(d,gh(r)),d=Ru(d,gh(o)),d=Ru(d,gh(c)),d}getBeforeBody(e,t){return SW(t.callbacks.beforeBody.apply(this,[e]))}getBody(e,t){const{callbacks:s}=t,r=[];return Ts(e,o=>{const c={before:[],lines:[],after:[]},d=DW(s,o);Ru(c.before,gh(d.beforeLabel.call(this,o))),Ru(c.lines,d.label.call(this,o)),Ru(c.after,gh(d.afterLabel.call(this,o))),r.push(c)}),r}getAfterBody(e,t){return SW(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=Ru(d,gh(r)),d=Ru(d,gh(o)),d=Ru(d,gh(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=DW(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=sE[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=vW(this,s),m=Object.assign({},d,h),g=bW(this.chart,s,m),S=wW(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}=Gb(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=Xb(s.rtl,this.x,this.width);for(e.x=XL(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,FL(e,{x:z,y:Y,w:m,h,radius:q}),e.fill(),e.stroke(),e.fillStyle=c.backgroundColor,e.beginPath(),FL(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=Xb(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,Re,Oe;for(t.textAlign=c,t.textBaseline="middle",t.font=S.string,e.x=XL(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,Re=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=sE[e.position].call(this,this._active,this._eventPosition);if(!c)return;const d=this._size=vW(this,e),h=Object.assign({},c,this._size),m=bW(t,e,h),g=wW(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),az(e,t.textDirection),o.y+=c.top,this.drawTitle(o,e,t),this.drawBody(o,e,t),this.drawFooter(o,e,t),lz(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=!CL(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||!CL(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=sE[o.position].call(this,e,t);return!1!==c&&(s!==c.x||r!==c.y)}}SV.positioners=sE;var CW={id:"tooltip",_element:SV,positioners:sE,afterInit(n,e,t){t&&(n.tooltip=new SV({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:uh,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 ife(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 iE extends w_{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(ls(e))return null;const s=this.getLabels();return((n,e)=>null===n?null:Lr(Math.round(n),0,e))(t=isFinite(t)&&s[t]===e?t:ife(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 ofe(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=!ls(c),q=!ls(d),oe=!ls(m),fe=(z-Y)/(S+1);let Re,Oe,tt,ut,ye=k6((z-Y)/P/I)*I;if(ye<1e-14&&!Q&&!q)return[{value:Y},{value:z}];ut=Math.ceil(z/ye)-Math.floor(Y/ye),ut>P&&(ye=k6(ut*ye/P/I)*I),ls(h)||(Re=Math.pow(10,h),ye=Math.ceil(ye*Re)/Re),"ticks"===r?(Oe=Math.floor(Y/ye)*ye,tt=Math.ceil(z/ye)*ye):(Oe=Y,tt=z),Q&&q&&o&&function tue(n,e){const t=Math.round(n);return t-e<=n&&t+e>=n}((d-c)/o,ye/1e3)?(ut=Math.round(Math.min((d-c)/ye,g)),ye=(d-c)/ut,Oe=c,tt=d):oe?(Oe=Q?c:Oe,tt=q?d:tt,ut=m-1,ye=(tt-Oe)/ut):(ut=(tt-Oe)/ye,ut=AM(ut,Math.round(ut),ye/1e3)?Math.round(ut):Math.ceil(ut));const Un=Math.max(I6(ye),I6(Oe));Re=Math.pow(10,ls(h)?Un:h),Oe=Math.round(Oe*Re)/Re,tt=Math.round(tt*Re)/Re;let Gn=0;for(Q&&(T&&Oe!==c?(t.push({value:c}),Oer=t?r:h,d=h=>o=s?o:h;if(e){const h=Lu(r),m=Lu(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=ofe({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&&T6(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 BM(e,this.chart.options.locale,this.options.ticks.format)}}class JL extends ZL{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=Cc(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 EW(n){return n/Math.pow(10,Math.floor(Ml(n)))==1}JL.id="linear",JL.defaults={ticks:{callback:zL.formatters.numeric}};class DV extends w_{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){const s=ZL.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 afe(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:EW(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 cfe(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 hfe(n){return 0===n||180===n?"center":n<180?"left":"right"}function pfe(n,e,t){return"right"===t?n-=e:"center"===t&&(n-=e/2),n}function ffe(n,e,t){return 90===t||270===t?n-=e/2:(t>270||t<90)&&(n-=e),n}function kW(n,e,t,s){const{ctx:r}=n;if(t)r.arc(n.xCenter,n.yCenter,e,0,Us);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?cfe(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 Fa(e*(Us/(this._pointLabels.length||1))+Cc(this.options.startAngle||0))}getDistanceFromCenterForValue(e){if(ls(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(ls(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(!ls(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)}g_(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 gfe(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(),kW(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)}g_(e,d.label,0,-o,g,{color:m.color})}),e.restore()}drawTitle(){}}ew.id="radialLinear",ew.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}},ew.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},ew.descriptors={angleLines:{_fallback:"grid"}};const eP={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}},ma=Object.keys(eP);function yfe(n,e){return n-e}function TW(n,e){if(ls(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||!IM(o)&&!0!==o?t.startOf(c,r):t.startOf(c,"isoWeek",o)),+c)}function IW(n,e,t,s){const r=ma.length;for(let o=ma.indexOf(n);o=e?t[s]:t[r]]=!0}}else n[e]=!0}function LW(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 rE extends w_{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 Kde._date(e.adapters.date);kM(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:TW(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 Nue(n,e,t){let s=0,r=n.length;for(;ss&&n[r-1]>t;)r--;return s>0||r=ma.indexOf(t);o--){const c=ma[o];if(eP[c].common&&n._adapter.diff(r,s,c)>=e-1)return c}return ma[t?ma.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=ma.indexOf(n)+1,t=ma.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}=hh(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}=hh(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}rE.id="time",rE.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class nP extends rE{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=tP(t,this.min),this._tableRange=tP(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 Nfe=function Ofe(n,e){var t=this.__data__,s=iP(t,n);return s<0?(++this.size,t.push([n,e])):t[s][1]=e,this};function tw(n){var e=-1,t=null==n?0:n.length;for(this.clear();++e-1&&n%1==0&&n<=9007199254740991};const LV=function Wge(n){return null!=n&&KW(n.length)&&!MV(n)};const Gge=function qge(n){return lE(n)&&LV(n)};const Qge=function Kge(){return!1};var QW="object"==typeof exports&&exports&&!exports.nodeType&&exports,XW=QW&&"object"==typeof module&&module&&!module.nodeType&&module,ZW=XW&&XW.exports===QW?nw.Buffer:void 0;const JW=(ZW?ZW.isBuffer:void 0)||Qge;var t_e=Function.prototype,n_e=Object.prototype,e7=t_e.toString,s_e=n_e.hasOwnProperty,i_e=e7.call(Object);const o_e=function r_e(n){if(!lE(n)||"[object Object]"!=aP(n))return!1;var e=zW(n);if(null===e)return!0;var t=s_e.call(e,"constructor")&&e.constructor;return"function"==typeof t&&t instanceof t&&e7.call(t)==i_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 L_e=function A_e(n){return lE(n)&&KW(n.length)&&!!si[aP(n)]};const R_e=function P_e(n){return function(e){return n(e)}};var t7="object"==typeof exports&&exports&&!exports.nodeType&&exports,cE=t7&&"object"==typeof module&&module&&!module.nodeType&&module,PV=cE&&cE.exports===t7&&PW.process,N_e=function(){try{return cE&&cE.require&&cE.require("util").types||PV&&PV.binding&&PV.binding("util")}catch{}}();var s7=N_e&&N_e.isTypedArray;const i7=s7?R_e(s7):L_e;const RV=function Y_e(n,e){if(("constructor"!==e||"function"!=typeof n[e])&&"__proto__"!=e)return n[e]};var V_e=Object.prototype.hasOwnProperty;const H_e=function j_e(n,e,t){var s=n[e];(!V_e.call(n,e)||!sP(s,t)||void 0===t&&!(e in n))&&kV(n,e,t)};const $_e=function U_e(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 Eye=Mye;const kye=function xye(n,e){return Eye(gye(n,e,l7),n+"")};const Iye=function Tye(n,e,t){if(!S_(t))return!1;var s=typeof e;return!!("number"==s?LV(t)&&r7(e,t.length):"string"==s&&e in t)&&sP(t[e],n)};var Lye=function Aye(n){return kye(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&&Iye(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 JM(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 u7({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||[]}}}aw.\u0275fac=function(e){return new(e||aw)(he(gn),he(Mt),he(ow))},aw.\u0275dir=et({type:aw,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:[_s]});const Pye=[[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]],Rye={datasets:{line:{backgroundColor:n=>Bo(Vo(n.datasetIndex),.4),borderColor:n=>Bo(Vo(n.datasetIndex),1),pointBackgroundColor:n=>Bo(Vo(n.datasetIndex),1),pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:n=>Bo(Vo(n.datasetIndex),.8)},bar:{backgroundColor:n=>Bo(Vo(n.datasetIndex),.6),borderColor:n=>Bo(Vo(n.datasetIndex),1),hoverBackgroundColor:n=>Bo(Vo(n.datasetIndex),.8),hoverBorderColor:n=>Bo(Vo(n.datasetIndex),1)},get radar(){return this.line},doughnut:{backgroundColor:n=>Bo(Vo(n.dataIndex),.6),borderColor:"#fff",hoverBackgroundColor:n=>Bo(Vo(n.dataIndex),1),hoverBorderColor:n=>Bo(Vo(n.dataIndex),1)},get pie(){return this.doughnut},polarArea:{backgroundColor:n=>Bo(Vo(n.dataIndex),.6),borderColor:n=>Bo(Vo(n.dataIndex),1),hoverBackgroundColor:n=>Bo(Vo(n.dataIndex),.8),hoverBorderColor:n=>Bo(Vo(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 OV(n,e){return Math.floor(Math.random()*(e-n+1))+n}function Vo(n=0){return Pye[n]||function Oye(){return[OV(0,255),OV(0,255),OV(0,255)]}()}JM.register(yW,CW,fW,_W,Zb,mh,tE,JL,iE,jM,nE,v_,eE,$M,ew,jL,UM,HM,zM,nP);class D_{}D_.\u0275fac=function(e){return new(e||D_)},D_.\u0275prov=Ae({token:D_,factory:D_.\u0275fac,providedIn:"root"});class Tf{constructor(e){e?.plugins&&JM.register(...e?.plugins);const t=u7(Rye,e?.defaults||{});Hn.set(t)}static forRoot(e){return{ngModule:Tf,providers:[{provide:D_,useValue:e}]}}}Tf.\u0275fac=function(e){return new(e||Tf)(Ee(D_,8))},Tf.\u0275mod=fs({type:Tf,declarations:[aw],exports:[aw]}),Tf.\u0275inj=Cs({imports:[[]]});var Fye=x(8990),Yye=x.n(Fye);let uP=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:Zg}]};uP=be([ks()],uP);let dP=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:uP},{type:dn},{type:gl}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}]}};dP=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:[Yye()]})],dP);const Bye=[{path:"",component:dP}];let NV=class{};NV=be([fi({imports:[xi.forChild(Bye)],exports:[xi]})],NV);let FV=class{};FV=be([fi({imports:[Iu,NV,Tf],declarations:[dP],providers:[uP]})],FV);var jye=x(3544),Hye=x.n(jye);let uE=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:Zg}]};uE=be([ks()],uE);let hP=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(ws(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:uE},{type:dn},{type:fr},{type:ni}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}],paginationComponent:[{type:qe,args:[lh,{static:!0}]}],confirmDeletionModal:[{type:qe,args:["confirmDeletionModal",{static:!0}]}]}};hP=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:[Hye()]})],hP);var $ye=x(7190),zye=x.n($ye);let pP=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:kB.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:uE},{type:ir},{type:dn},{type:Jg},{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-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:[$v("slideDown",[Gd("void",pc({height:"0",overflow:"hidden"})),qp("void => *",Wp("200ms ease-out"))])],styles:[zye()]})],pP);const Wye=[{path:"",component:hP,children:[{path:":key",component:pP}]}];let YV=class{};YV=be([fi({imports:[xi.forChild(Wye)],exports:[xi]})],YV);let BV=class{};BV=be([fi({imports:[Iu,YV],declarations:[hP,pP],providers:[uE]})],BV);var Gye=x(275),Kye=x.n(Gye);class d7{constructor(e){if(e)for(const t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}}let fP=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 d7(e),this.initForm()},e=>{this.alert.newAlert("Error!",e.error,"danger"),this.profile=new d7(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:zb},{type:dn},{type:ni}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}]}};fP=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:[Kye()]})],fP);var Xye=x(9751),Zye=x.n(Xye);let mP=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),Dc.uppercaseValidator,Dc.lowercaseValidator,Dc.numberValidator,Dc.specialCharValidator]],password_confirm:["",[it.required,it.minLength(12),it.maxLength(32)]]},{validators:[Dc.passwordMatchEnhanced,Dc.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 Dc.getPasswordErrorMessage(e)}getPasswordConfirmErrorMessage(){const e=this.changePWForm.get("password_confirm");return Dc.getPasswordConfirmErrorMessage(e,this.changePWForm.errors)}getFormErrorMessage(){return Dc.getFormErrorMessage(this.changePWForm.errors)}isPasswordRequirementMet(e){const t=this.changePWForm.get("password")?.value||"";return Dc.isPasswordRequirementMet(t,e)}getPasswordRequirementsStatus(){const e=this.changePWForm.get("password")?.value||"";return Dc.getPasswordRequirementsStatus(e)}static#e=this.ctorParameters=()=>[{type:ir},{type:zb}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}]}};mP=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:[Zye()]})],mP);var eve=x(7283),tve=x.n(eve);class h7{constructor(e){if(e)for(const t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}}let gP=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 h7(e),this.initForms()},e=>{this.alert.newAlert("Error!",e.error,"danger"),this.user=new h7(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:zb},{type:ni},{type:dn},{type:ih},{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}]}]}};gP=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:[tve()]})],gP);const nve=[{path:"company",canActivate:yc([ch]),component:fP},{path:"user",component:gP},{path:"change-password",component:mP}];let VV=class{};VV=be([fi({imports:[xi.forChild(nve)],exports:[xi]})],VV);let jV=class{};jV=be([fi({imports:[Iu,DL,VV],declarations:[fP,mP,gP],providers:[]})],jV);var ive=x(9838),rve=x.n(ive);let _P=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}]};_P=be([ks()],_P);let yP=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:_P}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}]}};yP=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:[rve()]})],yP);const ove=[{path:"",component:yP}];let HV=class{};HV=be([fi({imports:[xi.forChild(ove)],exports:[xi]})],HV);let UV=class{};UV=be([fi({imports:[HV,Iu],declarations:[yP],providers:[_P]})],UV);var lve=x(9167),cve=x.n(lve);let lw=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 oC(e.map(s=>this.ueHttp.post(this.url+"/"+s+"/reset",null).pipe(Wr(r=>ht(r)))))}bulkUpdateDevices(e){return oC(e.map(s=>(s.notify_update_next=!0,this.ueHttp.put(this.url+"/"+s.key,s).pipe(Wr(r=>ht(r))))))}bulkDeleteDevices(e,t){return oC(e.map(r=>{const o=t?"?hard_delete=true":"";return this.ueHttp.delete(this.url+"/"+r+o).pipe(Wr(c=>ht(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}]}};lw=be([fl(),ks()],lw);let vP=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 Qv,this.labelSelect=!1,this.labels=[]}ngOnInit(){this.updateServiceQueryParams(),this.subscribeProgressModal(),this.getDevices(),this.getLabels(),this.routerEventsSubscription=this.router.events.pipe(ws(e=>e instanceof po&&(0===this.route.children.length||0===this.devices.length)),ws(()=>!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:lw},{type:dn},{type:fr},{type:ni},{type:ih},{type:EM},{type:Document,decorators:[{type:Wa,args:[Pn]}]}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}],paginationComponent:[{type:qe,args:[lh,{static:!0}]}],progressModalComponent:[{type:qe,args:[d_,{static:!0}]}],confirmBulkResetModal:[{type:qe,args:["confirmBulkResetModal",{static:!0}]}],confirmBulkUpdateModal:[{type:qe,args:["confirmBulkUpdateModal",{static:!0}]}],confirmBulkDeletionModal:[{type:qe,args:["confirmBulkDeletionModal",{static:!0}]}]}};vP=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:[cve()]})],vP);var dve=x(3433),hve=x.n(dve);let _h=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:Cu}];static#t=this.propDecorators={emitProgressModal:[{type:nt}]}};_h=be([fl(),ks()],_h);let bP=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:_h},{type:lw},{type:ni},{type:ih},{type:EM},{type:gn}];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}]}]}};bP=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:[hve()]})],bP);const pve=[{path:"",component:vP,children:[{path:":key",component:bP}]}];let $V=class{};$V=be([fi({imports:[xi.forChild(pve)],exports:[xi]})],$V);var mve=x(2525),gve=x.n(mve),_ve=x(262),yve=x.t(_ve,2);class dE{constructor(){this._papa=yve}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||dE)};static#t=this.\u0275prov=Ae({token:dE,factory:dE.\u0275fac,providedIn:"root"})}let zV=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:lw},{type:_h},{type:ir},{type:dE}];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:[d_,{static:!0}]}],refreshDevices:[{type:nt}]}};zV=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:[gve()]})],zV);let WV=class{};WV=be([fi({imports:[Iu,$V],declarations:[vP,bP,zV],providers:[lw,_h]})],WV);var bve=x(4385),wve=x.n(bve);let wP=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 Qv}ngOnInit(){this.subscribeProgressModal(),this.updateServiceQueryParams(),this.getServerList(),this.routerEventsSubscription=this.router.events.pipe(ws(e=>e instanceof po&&(0===this.route.children.length||0===this.servers.length)),ws(()=>!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:_h},{type:dn},{type:fr},{type:Jg},{type:ni}];static#t=this.propDecorators={paginationComponent:[{type:qe,args:[lh,{static:!0}]}],alert:[{type:qe,args:[mi,{static:!0}]}],progressModalComponent:[{type:qe,args:[d_,{static:!0}]}]}};wP=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:[wve()]})],wP);var Dve=x(3617),Cve=x.n(Dve);let SP=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:_h},{type:fr},{type:ir},{type:Jg},{type:ni}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}],modal:[{type:qe,args:["modal",{static:!0}]}]}};SP=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:[Cve()]})],SP);const Mve=[{path:"",component:wP,children:[{path:":key",component:SP}]}];let qV=class{};qV=be([fi({imports:[xi.forChild(Mve)],exports:[xi]})],qV);var xve=x(6885),kve=x.n(xve);let GV=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:_h},{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}]}]}};GV=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:[kve()]})],GV);let KV=class{};KV=be([fi({imports:[Iu,qV],declarations:[wP,SP,GV],providers:[_h]})],KV);var Ive=x(9010),Ave=x.n(Ive);let C_=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}]};C_=be([ks()],C_);let DP=class{constructor(e,t,s,r){this.userService=e,this.router=t,this.route=s,this.authService=r,this.users=[],this.filterControl=new Qv,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(ws(e=>e instanceof po&&(0===this.route.children.length||0===this.users.length)),ws(()=>!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:C_},{type:dn},{type:fr},{type:ni}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}],paginationComponent:[{type:qe,args:[lh,{static:!0}]}],confirmDeletionModal:[{type:qe,args:["confirmDeletionModal",{static:!0}]}]}};DP=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:[Ave()]})],DP);var Pve=x(1010),Rve=x.n(Pve);let CP=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:C_},{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}]}]}};CP=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:[$v("slideDown",[Gd("void",pc({height:"0",overflow:"hidden"})),qp("void => *",Wp("200ms ease-out"))])],styles:[Rve()]})],CP);var Nve=x(3158),Fve=x.n(Nve);let MP=class{constructor(e,t,s){this.userService=e,this.router=t,this.route=s,this.invites=[],this.filterControl=new Qv,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(ws(e=>e instanceof po&&(0===this.route.children.length||0===this.invites.length)),ws(()=>!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:C_},{type:dn},{type:fr}];static#t=this.propDecorators={alert:[{type:qe,args:[mi,{static:!0}]}],paginationComponent:[{type:qe,args:[lh,{static:!0}]}],confirmDeletionModal:[{type:qe,args:["confirmDeletionModal",{static:!0}]}]}};MP=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:[Fve()]})],MP);var Bve=x(5538),Vve=x.n(Bve);let EP=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:C_},{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}]}]}};EP=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:[$v("slideDown",[Gd("void",pc({height:"0",overflow:"hidden"})),qp("void => *",Wp("200ms ease-out"))])],styles:[Vve()]})],EP);const jve=[{path:"members",canActivate:yc([ch]),component:DP,children:[{path:":key",component:CP}]},{path:"invites",canActivate:yc([ch]),component:MP,children:[{path:":key",component:EP}]}];let QV=class{};QV=be([fi({imports:[xi.forChild(jve)],exports:[xi]})],QV);let XV=class{};XV=be([fi({imports:[da,Iu,QV],declarations:[DP,CP,MP,EP],providers:[C_]})],XV);const Hve=[{path:"",redirectTo:"/login",pathMatch:"full"},{path:"",canActivate:yc([vL]),component:cA,children:[{path:"login",component:Wb},{path:"register",component:qb},{path:"lostpassword",component:bL},{path:"resetpassword",component:wL},{path:"register-company",component:SL},{path:"invitation",children:[{path:":key",redirectTo:"/invitation/:key/verify",pathMatch:"full"},{path:":key/verify",component:Wb},{path:":key/register",component:qb}]}]},{path:"",component:uA,children:[{path:"dashboard",canActivate:yc([Au]),loadChildren:()=>FV},{path:"endpoints",canActivate:yc([ch,Au]),loadChildren:()=>BV},{path:"profile",canActivate:yc([Au]),loadChildren:()=>jV},{path:"request-test-account",canActivate:yc([Au]),loadChildren:()=>UV},{path:"devices",canActivate:yc([ch,Au]),loadChildren:()=>WV},{path:"servers",canActivate:yc([ch,Au]),loadChildren:()=>KV},{path:"users",canActivate:yc([Au]),loadChildren:()=>XV}]},{path:"**",component:YC,pathMatch:"full"}];let ZV=class{};ZV=be([fi({imports:[xi.forRoot(Hve,{})],exports:[xi]})],ZV);var $ve=x(3553),zve=x.n($ve);let xP=class{};xP=be([Ke({selector:"ue-root",template:"",styles:[zve()]})],xP);let JV=class{};JV=be([fi({declarations:[xP],bootstrap:[xP],imports:[Wd,rC,Hg,DL,ZV],providers:[_4(v4())]})],JV),hZ().bootstrapModule(JV)},7468:V=>{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}},V.exports=x},8557:V=>{"use strict";V.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:V=>{"use strict";V.exports=function(H){return H[1]}},243:V=>{"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 ue=["Could not find a path from ",E," to ",y,"."].join("");throw new Error(ue)}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}}};V.exports=H},3174:V=>{"use strict";V.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:V=>{function H(E){return!!E.constructor&&"function"==typeof E.constructor.isBuffer&&E.constructor.isBuffer(E)}V.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:(V,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,ce=0;ce>>24)|4278255360&(N[ce]<<24|N[ce]>>>8);N[W>>>5]|=128<>>9<<4)]=W;var ue=D._ff,We=D._gg,Fe=D._hh,Ne=D._ii;for(ce=0;ce>>0,K=K+pe>>>0,se=se+Me>>>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,V.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(V,H,x){var E;V.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,Me){return pe in Ie?Object.defineProperty(Ie,pe,{value:Me,enumerable:!0,configurable:!0,writable:!0}):Ie[pe]=Me,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,Me){var Pe=this;return"string"==typeof pe&&Fe.hasOwnProperty(pe)?new Ne(Ie(Pe).startOf(pe),Ie(Pe).endOf(pe)):new Ne(pe,Me)},Ie.rangeFromInterval=function(pe){var Me=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(Me,pe),we=[];return we.push(Ie.min(Pe,_e)),we.push(Ie.max(Pe,_e)),new Ne(we)},Ie.rangeFromISOString=function(pe){var Me=W(pe),Pe=Ie.parseZone(Me[0]),_e=Ie.parseZone(Me[1]);return new Ne(Pe,_e)},Ie.parseZoneRange=Ie.rangeFromISOString,Ie.fn.range=Ie.range,Ie.range.constructor=Ne,Ie.isRange=function(pe){return pe instanceof Ne},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,Me){var Pe=[],_e=!0,we=!1,X=void 0;try{for(var ee,ae=pe[Symbol.iterator]();!(_e=(ee=ae.next()).done)&&(Pe.push(ee.value),!Me||Pe.length!==Me);_e=!0);}catch(ge){we=!0,X=ge}finally{try{!_e&&ae.return&&ae.return()}finally{if(we)throw X}}return Pe}return function(pe,Me){if(Array.isArray(pe))return pe;if(Symbol.iterator in Object(pe))return Ie(pe,Me);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,Me){for(var Pe=0;Pe=this.end.valueOf()}},{key:"add",value:function(pe){var Me=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{adjacent:!1};return this.overlaps(pe,Me)?new this.constructor(ce.default.min(this.start,pe.start),ce.default.max(this.end,pe.end)):null}},{key:"by",value:function(pe){var Me=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{excludeEnd:!1,step:1},Pe=this;return k({},We.default.iterator,function(){var _e=Me.step||1,we=Math.abs(Pe.start.diff(Pe.end,pe))/_e,X=Me.excludeEnd||!1,ee=0;return Me.hasOwnProperty("exclusive")&&(X=Me.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=Me.step||1,we=this.valueOf()/pe.valueOf()/_e,X=Math.floor(we),ee=Me.excludeEnd||!1,ae=0;return Me.hasOwnProperty("exclusive")&&(ee=Me.exclusive),k({},We.default.iterator,function(){return X===1/0?{done:!0}:{next:function(){var ge=(0,ce.default)(Pe.start.valueOf()+pe.valueOf()*ae*_e),De=X===we&&ee?!(ae1&&void 0!==arguments[1]?arguments[1]:{excludeStart:!1,excludeEnd:!1},Pe=this.start.valueOf(),_e=this.end.valueOf(),we=pe.valueOf(),X=pe.valueOf(),ee=Me.excludeStart||!1,ae=Me.excludeEnd||!1;return Me.hasOwnProperty("exclusive")&&(ee=ae=Me.exclusive),pe instanceof Ie&&(we=pe.start.valueOf(),X=pe.end.valueOf()),(PeX||_e>=X&&!ae)}},{key:"diff",value:function(pe,Me){return this.end.diff(this.start,pe,Me)}},{key:"duration",value:function(pe,Me){return this.diff(pe,Me)}},{key:"intersect",value:function(pe){var Me=this.start.valueOf(),Pe=this.end.valueOf(),_e=pe.start.valueOf(),we=pe.end.valueOf(),ee=_e==we;if(Me==Pe){if(Me==_e||Me==we)return null;if(Me>_e&&MeMe&&ge1&&void 0!==arguments[1]?arguments[1]:{adjacent:!1},Pe=null!==this.intersect(pe);return Me.adjacent&&!Pe?this.adjacent(pe):Pe}},{key:"reverseBy",value:function(pe){var Me=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{excludeStart:!1,step:1},Pe=this;return k({},We.default.iterator,function(){var _e=Me.step||1,we=Math.abs(Pe.start.diff(Pe.end,pe))/_e,X=Me.excludeStart||!1,ee=0;return Me.hasOwnProperty("exclusive")&&(X=Me.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=Me.step||1,we=this.valueOf()/pe.valueOf()/_e,X=Math.floor(we),ee=Me.excludeStart||!1,ae=0;return Me.hasOwnProperty("exclusive")&&(ee=Me.exclusive),k({},We.default.iterator,function(){return X===1/0?{done:!0}:{next:function(){var ge=(0,ce.default)(Pe.end.valueOf()-pe.valueOf()*ae*_e),De=X===we&&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,ce=Object.prototype,ue=K(null);if("function"==typeof Symbol){D=Symbol;try{String(D()),N=!0}catch{}}var Fe,We=(Fe=K(null),function(Ne){for(var Ie,pe,Me=0;Fe[Ne+(Me||"")];)++Me;return Fe[Ne+=Me||""]=!0,J(ce,Ie="@@"+Ne,W.gs(null,function(Pe){pe||(pe=!0,J(this,Ie,W(Pe)),pe=!1)})),Ie});R=function(Fe){if(this instanceof R)throw new TypeError("Symbol is not a constructor");return k(Fe)},y.exports=k=function Fe(Ne){var Ie;if(this instanceof Fe)throw new TypeError("Symbol is not a constructor");return N?D(Ne):(Ie=K(R.prototype),Ne=void 0===Ne?"":String(Ne),se(Ie,{__description__:W("",Ne),__name__:W("",We(Ne))}))},se(k,{for:W(function(Fe){return ue[Fe]?ue[Fe]:ue[Fe]=k(String(Fe))}),keyFor:W(function(Fe){var Ne;for(Ne in $(Fe),ue)if(ue[Ne]===Fe)return Ne}),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 Fe=$(this);return"symbol"==typeof Fe?Fe:Fe.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(V,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(V,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(V,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(V,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),ce=w[N][b(W)];return 2===J&&(ce=ce[$?0:1]),ce.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(V,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(V,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(V,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(V,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 ce=w($),ue=D[W][w($)];return 2===ce&&(ue=ue[K?0:1]),ue.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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,H,x){!function(E){"use strict";function y(ue,We,Fe){return ue+" "+D({mm:"munutenn",MM:"miz",dd:"devezh"}[Fe],ue)}function b(ue){switch(w(ue)){case 1:case 3:case 4:case 5:case 9:return ue+" bloaz";default:return ue+" vloaz"}}function w(ue){return ue>9?w(ue%10):ue}function D(ue,We){return 2===We?k(ue):ue}function k(ue){var We={m:"v",b:"v",d:"z"};return void 0===We[ue.charAt(0)]?ue:We[ue.charAt(0)]+ue.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(ue){return ue+(1===ue?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(ue){return"g.m."===ue},meridiem:function(ue,We,Fe){return ue<12?"a.m.":"g.m."}})}(x(7586))},7768:function(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,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(V,H,x){(V=x.nmd(V)).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 pt=/(\[[^\[]*\])|(\\)?([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,vt={},bt={};function Te(_,C,A,F){var U=F;"string"==typeof F&&(U=function(){return this[F]()}),_&&(bt[_]=U),C&&(bt[C[0]]=function(){return hn(U.apply(this,arguments),C[1],C[2])}),A&&(bt[A]=function(){return this.localeData().ordinal(U.apply(this,arguments),_)})}function ds(_){return _.match(/\[[\s\S]/)?_.replace(/^\[|\]$/g,""):_.replace(/\\/g,"")}function $t(_){var A,F,C=_.match(pt);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 wt(_){var C=this._longDateFormat[_],A=this._longDateFormat[_.toUpperCase()];return C||!A?C:(this._longDateFormat[_]=A.match(pt).map(function(F){return"MMMM"===F||"MM"===F||"DD"===F||"dddd"===F?F.slice(1):F}).join(""),this._longDateFormat[_])}var kt="Invalid date";function jt(){return this._invalidDate}var Ht="%d",bs=/\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 St(_){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 Qn(_,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(),_a(A,_.month()))):_._d["set"+(_._isUTC?"UTC":"")+C](A))}function Rr(_){return ge(this[_=xn(_)])?this[_]():this}function vi(_,C){if("object"==typeof _){var F,A=Ti(_=St(_)),U=A.length;for(F=0;F68?1900:2e3)};var qt=Qn("FullYear",!0);function fn(){return tn(this.year())}function Af(_,C,A,F,U,ie,Ce){var yt;return _<100&&_>=0?(yt=new Date(_+400,C,A,F,U,ie,Ce),isFinite(yt.getFullYear())&&yt.setFullYear(_)):yt=new Date(_,C,A,F,U,ie,Ce),yt}function Yu(_){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+Yu(_,0,F).getUTCDay()-C)%7+F-1}function Lt(_,C,A,F,U){var un,ns,yt=1+7*(C-1)+(7+A-F)%7+Ho(_,F,U);return yt<=0?ns=wn(un=_-1)+yt:yt>wn(_)?(un=_+1,ns=yt-wn(_)):(un=_,ns=yt),{year:un,dayOfYear:ns}}function gt(_,C,A){var ie,Ce,F=Ho(_.year(),C,A),U=Math.floor((_.dayOfYear()-F-1)/7)+1;return U<1?ie=U+Or(Ce=_.year()-1,C,A):U>Or(_.year(),C,A)?(ie=U-Or(_.year(),C,A),Ce=_.year()+1):(Ce=_.year(),ie=U),{week:ie,year:Ce}}function Or(_,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",Xn),Qe("ww",Xn,Nn),Qe("W",Xn),Qe("WW",Xn,Nn),or(["w","ww","W","WW"],function(_,C,A,F){C[F.substr(0,1)]=ze(_)});var hw={dow:0,doy:6};function pw(){return this._week.dow}function fw(){return this._week.doy}function ja(_){var C=this.localeData().week(this);return null==_?C:this.add(7*(_-C),"d")}function TP(_){var C=gt(this,1,4).week;return null==_?C:this.add(7*(_-C),"d")}function hE(_,C){return"string"!=typeof _?_:isNaN(_)?"number"==typeof(_=C.weekdaysParse(_))?_:null:parseInt(_,10)}function mw(_,C){return"string"==typeof _?C.weekdaysParse(_)%7||7:isNaN(_)?null:_}function E_(_,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",Xn),Qe("e",Xn),Qe("E",Xn),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:ue(A).invalidWeekday=_}),or(["d","e","E"],function(_,C,A,F){C[F]=ze(_)});var gw="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),bh="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),x_="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Bu=Il,Nr=Il,It=Il;function re(_,C){var A=w(this._weekdays)?this._weekdays:this._weekdays[_&&!0!==_&&this._weekdays.isFormat.test(C)?"format":"standalone"];return!0===_?E_(A,this._week.dow):_?A[_.day()]:A}function te(_){return!0===_?E_(this._weekdaysShort,this._week.dow):_?this._weekdaysShort[_.day()]:this._weekdaysShort}function pE(_){return!0===_?E_(this._weekdaysMin,this._week.dow):_?this._weekdaysMin[_.day()]:this._weekdaysMin}function fE(_,C,A){var F,U,ie,Ce=_.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,Ce))?U:null:"ddd"===C?-1!==(U=mt.call(this._shortWeekdaysParse,Ce))?U:null:-1!==(U=mt.call(this._minWeekdaysParse,Ce))?U:null:"dddd"===C?-1!==(U=mt.call(this._weekdaysParse,Ce))||-1!==(U=mt.call(this._shortWeekdaysParse,Ce))||-1!==(U=mt.call(this._minWeekdaysParse,Ce))?U:null:"ddd"===C?-1!==(U=mt.call(this._shortWeekdaysParse,Ce))||-1!==(U=mt.call(this._weekdaysParse,Ce))||-1!==(U=mt.call(this._minWeekdaysParse,Ce))?U:null:-1!==(U=mt.call(this._minWeekdaysParse,Ce))||-1!==(U=mt.call(this._weekdaysParse,Ce))||-1!==(U=mt.call(this._shortWeekdaysParse,Ce))?U:null}function mE(_,C,A){var F,U,ie;if(this._weekdaysParseExact)return fE.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!=_?(_=hE(_,this.localeData()),this.add(_-C,"d")):C}function _w(_){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 Cs(_){if(!this.isValid())return null!=_?this:NaN;if(null!=_){var C=mw(_,this.localeData());return this.day(this.day()%7?C:C-7)}return this.day()||7}function Lf(_){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||wh.call(this),_?this._weekdaysStrictRegex:this._weekdaysRegex):(k(this,"_weekdaysRegex")||(this._weekdaysRegex=Bu),this._weekdaysStrictRegex&&_?this._weekdaysStrictRegex:this._weekdaysRegex)}function gE(_){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||wh.call(this),_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(k(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Nr),this._weekdaysShortStrictRegex&&_?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function k_(_){return this._weekdaysParseExact?(k(this,"_weekdaysRegex")||wh.call(this),_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(k(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=It),this._weekdaysMinStrictRegex&&_?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function wh(){function _(Zi,Do){return Do.length-Zi.length}var ie,Ce,yt,un,ns,C=[],A=[],F=[],U=[];for(ie=0;ie<7;ie++)Ce=J([2e3,1]).day(ie),yt=bi(this.weekdaysMin(Ce,"")),un=bi(this.weekdaysShort(Ce,"")),ns=bi(this.weekdays(Ce,"")),C.push(yt),A.push(un),F.push(ns),U.push(yt),U.push(un),U.push(ns);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 Ic(){return this.hours()%12||12}function Ha(){return this.hours()||24}function Pf(_,C){Te(_,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),C)})}function T_(_,C){return C._meridiemParse}function yw(_){return"p"===(_+"").toLowerCase().charAt(0)}Te("H",["HH",2],0,"hour"),Te("h",["hh",2],0,Ic),Te("k",["kk",2],0,Ha),Te("hmm",0,0,function(){return""+Ic.apply(this)+hn(this.minutes(),2)}),Te("hmmss",0,0,function(){return""+Ic.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)}),Pf("a",!0),Pf("A",!1),sn("hour","h"),He("hour",13),Qe("a",T_),Qe("A",T_),Qe("H",Xn),Qe("h",Xn),Qe("k",Xn),Qe("HH",Xn,Nn),Qe("hh",Xn,Nn),Qe("kk",Xn,Nn),Qe("hmm",ft),Qe("hmmss",Ya),Qe("Hmm",ft),Qe("Hmmss",Ya),Tt(["H","HH"],Zn),Tt(["k","kk"],function(_,C,A){var F=ze(_);C[Zn]=24===F?0:F}),Tt(["a","A"],function(_,C,A){A._isPm=A._locale.isPM(_),A._meridiem=_}),Tt(["h","hh"],function(_,C,A){C[Zn]=ze(_),ue(A).bigHour=!0}),Tt("hmm",function(_,C,A){var F=_.length-2;C[Zn]=ze(_.substr(0,F)),C[Ls]=ze(_.substr(F)),ue(A).bigHour=!0}),Tt("hmmss",function(_,C,A){var F=_.length-4,U=_.length-2;C[Zn]=ze(_.substr(0,F)),C[Ls]=ze(_.substr(F,2)),C[ar]=ze(_.substr(U)),ue(A).bigHour=!0}),Tt("Hmm",function(_,C,A){var F=_.length-2;C[Zn]=ze(_.substr(0,F)),C[Ls]=ze(_.substr(F))}),Tt("Hmmss",function(_,C,A){var F=_.length-4,U=_.length-2;C[Zn]=ze(_.substr(0,F)),C[Ls]=ze(_.substr(F,2)),C[ar]=ze(_.substr(U))});var Ye=/[ap]\.?m?\.?/i,Rf=Qn("Hours",!0);function Of(_,C,A){return _>11?A?"pm":"PM":A?"am":"AM"}var Ll,Ac={calendar:vs,longDateFormat:at,invalidDate:kt,ordinal:Ht,dayOfMonthOrdinalParse:bs,relativeTime:Bt,months:vh,monthsShort:kc,week:hw,weekdays:gw,weekdaysMin:x_,weekdaysShort:bh,meridiemParse:Ye},ps={},ya={};function _E(_,C){var A,F=Math.min(_.length,C.length);for(A=0;A0;){if(U=Lc(ie.slice(0,A).join("-")))return U;if(F&&F.length>=A&&_E(ie,F)>=A-1)break;A--}C++}return Ll}function I_(_){return null!=_.match("^[^/\\\\]*$")}function Lc(_){var C=null;if(void 0===ps[_]&&V&&V.exports&&I_(_))try{C=Ll._abbr,x(5358)("./"+_),Li(C)}catch{ps[_]=null}return ps[_]}function Li(_,C){var A;return _&&((A=N(C)?bo(_):Pc(_,C))?Ll=A:typeof console<"u"&&console.warn&&console.warn("Locale "+_+" not found. Did you forget to load it?")),Ll._abbr}function Pc(_,C){if(null!==C){var A,F=Ac;if(C.abbr=_,null!=ps[_])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=ps[_]._config;else if(null!=C.parentLocale)if(null!=ps[C.parentLocale])F=ps[C.parentLocale]._config;else{if(null==(A=Lc(C.parentLocale)))return ya[C.parentLocale]||(ya[C.parentLocale]=[]),ya[C.parentLocale].push({name:_,config:C}),null;F=A._config}return ps[_]=new st(Ue(F,C)),ya[_]&&ya[_].forEach(function(U){Pc(U.name,U.config)}),Li(_),ps[_]}return delete ps[_],null}function Rc(_,C){if(null!=C){var A,F,U=Ac;null!=ps[_]&&null!=ps[_].parentLocale?ps[_].set(Ue(ps[_]._config,C)):(null!=(F=Lc(_))&&(U=F._config),C=Ue(U,C),null==F&&(C.abbr=_),(A=new st(C)).parentLocale=ps[_],ps[_]=A),Li(_)}else null!=ps[_]&&(null!=ps[_].parentLocale?(ps[_]=ps[_].parentLocale,_===Li()&&Li(_)):null!=ps[_]&&delete ps[_]);return ps[_]}function bo(_){var C;if(_&&_._locale&&_._locale._abbr&&(_=_._locale._abbr),!_)return Ll;if(!w(_)){if(C=Lc(_))return C;_=[_]}return vw(_)}function Ua(){return Kn(ps)}function Oc(_){var C,A=_._a;return A&&-2===ue(_).overflow&&(C=A[Wt]<0||A[Wt]>11?Wt:A[Ss]<1||A[Ss]>_a(A[As],A[Wt])?Ss:A[Zn]<0||A[Zn]>24||24===A[Zn]&&(0!==A[Ls]||0!==A[ar]||0!==A[hs])?Zn:A[Ls]<0||A[Ls]>59?Ls:A[ar]<0||A[ar]>59?ar:A[hs]<0||A[hs]>999?hs:-1,ue(_)._overflowDayOfYear&&(CSs)&&(C=Ss),ue(_)._overflowWeeks&&-1===C&&(C=If),ue(_)._overflowWeekday&&-1===C&&(C=Va),ue(_).overflow=C),_}var A_=/^\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]],Sh=[["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}))$/,Ff={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function va(_){var C,A,ie,Ce,yt,un,F=_._i,U=A_.exec(F)||Qt.exec(F),ns=Vu.length,Zi=Sh.length;if(U){for(ue(_).iso=!0,C=0,A=ns;Cwn(Ce)||0===_._dayOfYear)&&(ue(_)._overflowDayOfYear=!0),A=Yu(Ce,0,_._dayOfYear),_._a[Wt]=A.getUTCMonth(),_._a[Ss]=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[Zn]&&0===_._a[Ls]&&0===_._a[ar]&&0===_._a[hs]&&(_._nextDay=!0,_._a[Zn]=0),_._d=(_._useUTC?Yu:Af).apply(null,F),ie=_._useUTC?_._d.getUTCDay():_._d.getDay(),null!=_._tzm&&_._d.setUTCMinutes(_._d.getUTCMinutes()-_._tzm),_._nextDay&&(_._a[Zn]=24),_._w&&typeof _._w.d<"u"&&_._w.d!==ie&&(ue(_).weekdayMismatch=!0)}}function bw(_){var C,A,F,U,ie,Ce,yt,un,ns;null!=(C=_._w).GG||null!=C.W||null!=C.E?(ie=1,Ce=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,Ce=_._locale._week.doy,ns=gt(zn(),ie,Ce),A=$o(C.gg,_._a[As],ns.year),F=$o(C.w,ns.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>Or(A,ie,Ce)?ue(_)._overflowWeeks=!0:null!=un?ue(_)._overflowWeekday=!0:(yt=Lt(A,F,U,ie,Ce),_._a[As]=yt.year,_._dayOfYear=yt.dayOfYear)}function Vf(_){if(_._f!==y.ISO_8601)if(_._f!==y.RFC_2822){_._a=[],ue(_).empty=!0;var A,F,U,ie,Ce,ns,Zi,C=""+_._i,yt=C.length,un=0;for(Zi=(U=On(_._f,_._locale).match(pt)||[]).length,A=0;A0&&ue(_).unusedInput.push(Ce),C=C.slice(C.indexOf(F)+F.length),un+=F.length),bt[ie]?(F?ue(_).empty=!1:ue(_).unusedTokens.push(ie),Gr(ie,F,_)):_._strict&&!F&&ue(_).unusedTokens.push(ie);ue(_).charsLeftOver=yt-un,C.length>0&&ue(_).unusedInput.push(C),_._a[Zn]<=12&&!0===ue(_).bigHour&&_._a[Zn]>0&&(ue(_).bigHour=void 0),ue(_).parsedDateParts=_._a.slice(0),ue(_).meridiem=_._meridiem,_._a[Zn]=jf(_._locale,_._a[Zn],_._meridiem),null!==(ns=ue(_).era)&&(_._a[As]=_._locale.erasConvertYear(ns,_._a[As])),Rl(_),Oc(_)}else L_(_);else va(_)}function jf(_,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 Nc(_){var C,A,F,U,ie,Ce,yt=!1,un=_._f.length;if(0===un)return ue(_).invalidFormat=!0,void(_._d=new Date(NaN));for(U=0;Uthis?this:_:Ne()});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 Ga(){if(!N(this._isDSTShifted))return this._isDSTShifted;var C,_={};return Me(_,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*)?)?$/,Hf=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ys(_,C){var U,ie,Ce,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[Ss])*U,h:ze(F[Zn])*U,m:ze(F[Ls])*U,s:ze(F[ar])*U,ms:ze(ai(1e3*F[hs]))*U}):(F=Hf.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)&&(Ce=qi(zn(A.from),zn(A.to)),(A={}).ms=Ce.milliseconds,A.M=Ce.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 wa(_,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=ba(C,_),_.isBefore(C)?A=wa(_,C):((A=wa(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),Mh(this,Ys(A,F),_),this}}function Mh(_,C,A,F){var U=C._milliseconds,ie=ai(C._days),Ce=ai(C._months);_.isValid()&&(F=F??!0,Ce&&Fu(_,yi(_,"Month")+Ce*A),ie&&Pt(_,"Date",yi(_,"Date")+ie*A),U&&_._d.setTime(_._d.valueOf()+U*A),F&&y.updateOffset(_,ie||Ce))}Ys.fn=Wo.prototype,Ys.invalid=Fl;var ju=Qo(1,"add"),Hu=Qo(-1,"subtract");function Sa(_){return"string"==typeof _||_ instanceof String}function Ka(_){return _e(_)||$(_)||Sa(_)||W(_)||Eh(_)||Uu(_)||null==_}function Uu(_){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"],Ce=F.length;for(U=0;UA.valueOf():A.valueOf()9999?Yn(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",Yn(A,"Z")):Yn(A,C?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function $u(){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 Yc(_){_||(_=this.isUtc()?y.defaultFormatUtc:y.defaultFormat);var C=Yn(this,_);return this.localeData().postformat(C)}function qf(_,C){return this.isValid()&&(_e(_)&&_.isValid()||zn(_).isValid())?Ys({to:this,from:_}).locale(this.locale()).humanize(!C):this.localeData().invalidDate()}function xh(_){return this.from(zn(),_)}function fs(_,C){return this.isValid()&&(_e(_)&&_.isValid()||zn(_).isValid())?Ys({from:this,to:_}).locale(this.locale()).humanize(!C):this.localeData().invalidDate()}function Gf(_){return this.to(zn(),_)}function et(_){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 Bn=1e3,Es=60*Bn,Ki=60*Es,Ci=3506328*Ki;function Qa(_,C){return(_%C+C)%C}function Kf(_,C,A){return _<100&&_>=0?new Date(_+400,C,A)-Ci:new Date(_,C,A).valueOf()}function Jn(_,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?Jn:Kf,_){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-=Qa(C+(this._isUTC?0:this.utcOffset()*Es),Ki);break;case"minute":C=this._d.valueOf(),C-=Qa(C,Es);break;case"second":C=this._d.valueOf(),C-=Qa(C,Bn)}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?Jn:Kf,_){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-Qa(C+(this._isUTC?0:this.utcOffset()*Es),Ki)-1;break;case"minute":C=this._d.valueOf(),C+=Es-Qa(C,Es)-1;break;case"second":C=this._d.valueOf(),C+=Bn-Qa(C,Bn)-1}return this._d.setTime(C),y.updateOffset(this,!0),this}function lr(){return this._d.valueOf()-6e4*(this._offset||0)}function Bc(){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 Da(){var _=this;return{years:_.year(),months:_.month(),date:_.date(),hours:_.hours(),minutes:_.minutes(),seconds:_.seconds(),milliseconds:_.milliseconds()}}function jl(){return this.isValid()?this.toISOString():null}function B_(){return Fe(this)}function Cw(){return se({},ue(this))}function Qf(){return ue(this).overflow}function V_(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function j_(_,C){var A,F,U,ie=this._eras||bo("en")._eras;for(A=0,F=ie.length;A=0)return ie[F]}function Mw(_,C){var A=_.since<=_.until?1:-1;return void 0===C?y(_.since).year():y(_.since).year()+(C-_.offset)*A}function Xf(){var _,C,A,F=this.localeData().eras();for(_=0,C=F.length;_(ie=Or(_,F,U))&&(C=ie),Ih.call(this,_,C,A,F,U))}function Ih(_,C,A,F,U){var ie=Lt(_,C,A,F,U),Ce=Yu(ie.year,0,ie.dayOfYear);return this.year(Ce.getUTCFullYear()),this.month(Ce.getUTCMonth()),this.date(Ce.getUTCDate()),this}function nm(_){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",zu),Qe("NN",zu),Qe("NNN",zu),Qe("NNNN",kh),Qe("NNNNN",Ew),Tt(["N","NN","NNN","NNNN","NNNNN"],function(_,C,A,F){var U=A._locale.erasParse(_,F,A._strict);U?ue(A).era=U:ue(A).invalidEra=_}),Qe("y",xc),Qe("yy",xc),Qe("yyy",xc),Qe("yyyy",xc),Qe("yo",em),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",Xn,Nn),Qe("gg",Xn,Nn),Qe("GGGG",zt,rr),Qe("gggg",zt,rr),Qe("GGGGG",Ou,Is),Qe("ggggg",Ou,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",At),Tt("Q",function(_,C){C[Wt]=3*(ze(_)-1)}),Te("D",["DD",2],"Do","date"),sn("date","D"),He("date",9),Qe("D",Xn),Qe("DD",Xn,Nn),Qe("Do",function(_,C){return _?C._dayOfMonthOrdinalParse||C._ordinalParse:C._dayOfMonthOrdinalParseLenient}),Tt(["D","DD"],Ss),Tt("Do",function(_,C){C[Ss]=ze(_.match(Xn)[0])});var Ws=Qn("Date",!0);function U_(_){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",zs),Qe("DDDD",Ec),Tt(["DDD","DDDD"],function(_,C,A){A._dayOfYear=ze(_)}),Te("m",["mm",2],0,"minute"),sn("minute","m"),He("minute",14),Qe("m",Xn),Qe("mm",Xn,Nn),Tt(["m","mm"],Ls);var $_=Qn("Minutes",!1);Te("s",["ss",2],0,"second"),sn("second","s"),He("second",15),Qe("s",Xn),Qe("ss",Xn,Nn),Tt(["s","ss"],ar);var Ca,kw,Wu=Qn("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",zs,At),Qe("SS",zs,Nn),Qe("SSS",zs,Ec),Ca="SSSS";Ca.length<=9;Ca+="S")Qe(Ca,xc);function sm(_,C){C[hs]=ze(1e3*("0."+_))}for(Ca="S";Ca.length<=9;Ca+="S")Tt(Ca,sm);function qu(){return this._isUTC?"UTC":""}function im(){return this._isUTC?"Coordinated Universal Time":""}kw=Qn("Milliseconds",!1),Te("z",0,0,"zoneAbbr"),Te("zz",0,0,"zoneName");var je=Pe.prototype;function Ul(_){return zn(1e3*_)}function jc(){return zn.apply(null,arguments).parseZone()}function ms(_){return _}je.add=ju,je.calendar=Bl,je.clone=ww,je.diff=Xo,je.endOf=Zo,je.format=Yc,je.from=qf,je.fromNow=xh,je.to=fs,je.toNow=Gf,je.get=Rr,je.invalidAt=Qf,je.isAfter=So,je.isBefore=Sw,je.isBetween=$f,je.isSame=Dw,je.isSameOrAfter=F_,je.isSameOrBefore=Y_,je.isValid=B_,je.lang=Gi,je.locale=et,je.localeData=rn,je.max=zo,je.min=me,je.parsingFlags=Cw,je.set=vi,je.startOf=br,je.subtract=Hu,je.toArray=ea,je.toObject=Da,je.toDate=Jo,je.toISOString=Wf,je.inspect=$u,typeof Symbol<"u"&&null!=Symbol.for&&(je[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),je.toJSON=jl,je.toString=zf,je.unix=Bc,je.valueOf=lr,je.creationData=V_,je.eraName=Xf,je.eraNarrow=Vc,je.eraAbbr=Zf,je.eraYear=Jf,je.year=qt,je.isLeapYear=fn,je.weekYear=Hl,je.isoWeekYear=xw,je.quarter=je.quarters=nm,je.month=Dt,je.daysInMonth=Ve,je.week=je.weeks=ja,je.isoWeek=je.isoWeeks=TP,je.weeksInYear=H_,je.weeksInWeekYear=Th,je.isoWeeksInYear=tm,je.isoWeeksInISOWeekYear=Jr,je.date=Ws,je.day=je.days=Ae,je.weekday=_w,je.isoWeekday=Cs,je.dayOfYear=U_,je.hour=je.hours=Rf,je.minute=je.minutes=$_,je.second=je.seconds=Wu,je.millisecond=je.milliseconds=kw,je.utcOffset=Qr,je.utc=R_,je.local=O_,je.parseZone=Xr,je.hasAlignedHourOffset=N_,je.isDST=qa,je.isLocal=vr,je.isUtcOffset=wo,je.isUtc=An,je.isUTC=An,je.zoneAbbr=qu,je.zoneName=im,je.dates=X("dates accessor is deprecated. Use date instead.",Ws),je.months=X("months accessor is deprecated. Use month instead",Dt),je.years=X("years accessor is deprecated. Use year instead",qt),je.zone=X("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",P_),je.isDSTShifted=X("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Ga);var xe=st.prototype;function Ze(_,C,A,F){var U=bo(),ie=J().set(F,C);return U[A](ie,_)}function Bs(_,C,A){if(W(_)&&(C=_,_=void 0),_=_||"",null!=C)return Ze(_,C,A,"month");var F,U=[];for(F=0;F<12;F++)U[F]=Ze(_,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 Ce,U=bo(),ie=_?U._week.dow:0,yt=[];if(null!=A)return Ze(C,(A+ie)%7,F,"day");for(Ce=0;Ce<7;Ce++)yt[Ce]=Ze(C,(Ce+ie)%7,F,"day");return yt}function Yi(_,C){return Bs(_,C,"months")}function cr(_,C){return Bs(_,C,"monthsShort")}function $l(_,C,A){return Fn(_,C,A,"weekdays")}function cs(_,C,A){return Fn(_,C,A,"weekdaysShort")}function Js(_,C,A){return Fn(_,C,A,"weekdaysMin")}xe.calendar=Kt,xe.longDateFormat=wt,xe.invalidDate=jt,xe.ordinal=Nt,xe.preparse=ms,xe.postformat=ms,xe.relativeTime=en,xe.pastFuture=Fs,xe.set=De,xe.eras=j_,xe.erasParse=Xa,xe.erasConvertYear=Mw,xe.erasAbbrRegex=Ot,xe.erasNameRegex=Rt,xe.erasNarrowRegex=cn,xe.months=ri,xe.monthsShort=jo,xe.monthsParse=Nu,xe.monthsRegex=Ai,xe.monthsShortRegex=Ds,xe.week=ne,xe.firstDayOfYear=fw,xe.firstDayOfWeek=pw,xe.weekdays=re,xe.weekdaysMin=pE,xe.weekdaysShort=te,xe.weekdaysParse=mE,xe.weekdaysRegex=Lf,xe.weekdaysShortRegex=gE,xe.weekdaysMinRegex=k_,xe.isPM=yw,xe.meridiem=Of,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 Hc(_,C,A,F){var U=Ys(C,A);return _._milliseconds+=F*U._milliseconds,_._days+=F*U._days,_._months+=F*U._months,_._bubble()}function Gu(_,C){return Hc(this,_,C,1)}function Bi(_,C){return Hc(this,_,C,-1)}function gs(_){return _<0?Math.floor(_):Math.ceil(_)}function Vs(){var U,ie,Ce,yt,un,_=this._milliseconds,C=this._days,A=this._months,F=this._data;return _>=0&&C>=0&&A>=0||_<=0&&C<=0&&A<=0||(_+=864e5*gs(Fr(A)+C),C=0,A=0),F.milliseconds=_%1e3,U=Ut(_/1e3),F.seconds=U%60,ie=Ut(U/60),F.minutes=ie%60,Ce=Ut(ie/60),F.hours=Ce%24,C+=Ut(Ce/24),A+=un=Ut(zl(C)),C-=gs(Fr(un)),yt=Ut(A/12),A%=12,F.days=C,F.months=A,F.years=yt,this}function zl(_){return 4800*_/146097}function Fr(_){return 146097*_/4800}function eo(_){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+zl(C),_){case"month":return A;case"quarter":return A/3;case"year":return A/12}else switch(C=this._days+Math.round(Fr(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 rm(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ze(this._months/12):NaN}function Vi(_){return function(){return this.as(_)}}var Uc=Vi("ms"),Yr=Vi("s"),lt=Vi("m"),Wl=Vi("h"),$c=Vi("d"),to=Vi("w"),Ah=Vi("M"),Ma=Vi("Q"),xs=Vi("y");function Br(){return Ys(this)}function es(_){return _=xn(_),this.isValid()?this[_+"s"]():NaN}function qs(_){return function(){return this.isValid()?this._data[_]:NaN}}var Lh=qs("milliseconds"),Pi=qs("seconds"),ql=qs("minutes"),Qi=qs("hours"),Vr=qs("days"),Ea=qs("months"),jr=qs("years");function el(){return Ut(this.days()/7)}var Xi=Math.round,Hr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ph(_,C,A,F,U){return U.relativeTime(C||1,!!A,_,F)}function z_(_,C,A,F){var U=Ys(_).abs(),ie=Xi(U.as("s")),Ce=Xi(U.as("m")),yt=Xi(U.as("h")),un=Xi(U.as("d")),ns=Xi(U.as("M")),Zi=Xi(U.as("w")),Do=Xi(U.as("y")),_s=ie<=A.ss&&["s",ie]||ie0,_s[4]=F,Ph.apply(null,_s)}function vE(_){return void 0===_?Xi:"function"==typeof _&&(Xi=_,!0)}function Tw(_,C){return void 0!==Hr[_]&&(void 0===C?Hr[_]:(Hr[_]=C,"s"===_&&(Hr.ss=C-1),!0))}function Ku(_,C){if(!this.isValid())return this.localeData().invalidDate();var U,ie,A=!1,F=Hr;return"object"==typeof _&&(C=_,_=!1),"boolean"==typeof _&&(A=_),"object"==typeof C&&(F=Object.assign({},Hr,C),null!=C.s&&null==C.ss&&(F.ss=C.s-1)),ie=z_(this,!A,F,U=this.localeData()),A&&(ie=U.pastFuture(+this,ie)),U.postformat(ie)}var W_=Math.abs;function Qu(_){return(_>0)-(_<0)||+_}function om(){if(!this.isValid())return this.localeData().invalidDate();var F,U,ie,Ce,un,ns,Zi,Do,_=W_(this._milliseconds)/1e3,C=W_(this._days),A=W_(this._months),yt=this.asSeconds();return yt?(F=Ut(_/60),U=Ut(F/60),_%=60,F%=60,ie=Ut(A/12),A%=12,Ce=_?_.toFixed(3).replace(/\.?0+$/,""):"",un=yt<0?"-":"",ns=Qu(this._months)!==Qu(yt)?"-":"",Zi=Qu(this._days)!==Qu(yt)?"-":"",Do=Qu(this._milliseconds)!==Qu(yt)?"-":"",un+"P"+(ie?ns+ie+"Y":"")+(A?ns+A+"M":"")+(C?Zi+C+"D":"")+(U||F||_?"T":"")+(U?Do+U+"H":"")+(F?Do+F+"M":"")+(_?Do+Ce+"S":"")):"P0D"}var Cn=Wo.prototype;return Cn.isValid=Si,Cn.abs=Yt,Cn.add=Gu,Cn.subtract=Bi,Cn.as=eo,Cn.asMilliseconds=Uc,Cn.asSeconds=Yr,Cn.asMinutes=lt,Cn.asHours=Wl,Cn.asDays=$c,Cn.asWeeks=to,Cn.asMonths=Ah,Cn.asQuarters=Ma,Cn.asYears=xs,Cn.valueOf=rm,Cn._bubble=Vs,Cn.clone=Br,Cn.get=es,Cn.milliseconds=Lh,Cn.seconds=Pi,Cn.minutes=ql,Cn.hours=Qi,Cn.days=Vr,Cn.weeks=el,Cn.months=Ea,Cn.years=jr,Cn.humanize=Ku,Cn.toISOString=om,Cn.toString=om,Cn.toJSON=om,Cn.locale=et,Cn.localeData=rn,Cn.toIsoString=X("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",om),Cn.lang=Gi,Te("X",0,0,"unix"),Te("x",0,0,"valueOf"),Qe("x",kl),Qe("X",uw),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=je,y.min=$a,y.max=Fc,y.now=Ch,y.utc=J,y.unix=Ul,y.months=Yi,y.isDate=$,y.locale=Li,y.invalid=Ne,y.duration=Ys,y.isMoment=_e,y.weekdays=$l,y.parseZone=jc,y.localeData=bo,y.isDuration=qo,y.monthsShort=cr,y.weekdaysMin=Js,y.defineLocale=Pc,y.updateLocale=Rc,y.locales=Ua,y.weekdaysShort=cs,y.normalizeUnits=xn,y.relativeTimeRounding=vE,y.relativeTimeThreshold=Tw,y.calendarFormat=Zr,y.prototype=je,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(V,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:De,workerId:$.WORKER_ID,finished:ge});else if(we(this._config.chunk)&&!ae){if(this._config.chunk(De,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=De=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(De.data),this._completeResults.errors=this._completeResults.errors.concat(De.errors),this._completeResults.meta=De.meta),this._completed||!ge||!we(this._config.complete)||De&&De.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),ge||De&&De.meta.paused||this._nextChunk(),De}this._halted=!0},this._sendError=function(ee){we(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 De;this._config.chunkSize&&(De=this._start+this._config.chunkSize-1,ee.setRequestHeader("Range","bytes="+this._start+"-"+De));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(De){this._input=De,ae=De.slice||De.webkitSlice||De.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(De.target.result)},this._chunkError=function(){this._sendError(ee.error)}}function ce(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 ue(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(De){this._input=De,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(De){try{ee.push("string"==typeof De?De:De.toString(this._config.encoding)),ae&&(ae=!1,this._checkIsFinished(),this.parseChunk(ee.shift()))}catch(Ue){this._streamError(Ue)}},this),this._streamError=_e(function(De){this._streamCleanUp(),this._sendError(De)},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,De,Ue=Math.pow(2,53),st=-Ue,Kn=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,vs=/^((\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,pt=0,Rn=!1,vt=!1,bt=[],Te={data:[],errors:[],meta:{}};function ds(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!ds(Ht)})),Yn()){let Ht=function(bs,Nt){we(X.transformHeader)&&(bs=X.transformHeader(bs,Nt)),bt.push(bs)};if(Te)if(Array.isArray(Te.data[0])){for(var at=0;Yn()&&at=bt.length?"__parsed_extra":bt[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),stbt.length?On("FieldMismatch","TooManyFields","Too many fields: expected "+bt.length+" fields but parsed "+Bt,pt+bs):BtX.preview?ae.abort():(Te.data=Te.data[0],De(Te,Kt))))}),this.parse=function(at,wt,kt){var jt=X.quoteChar||'"';return X.newline||(X.newline=this.guessLineEndings(at,jt)),ge=!1,X.delimiter?we(X.delimiter)&&(X.delimiter=X.delimiter(at),Te.meta.delimiter=X.delimiter):((jt=((Ht,bs,Nt,Bt,en)=>{var Fs,an,sn,xn;en=en||[",","\t","|",";",$.RECORD_SEP,$.UNIT_SEP];for(var St=0;St=kt.length/2?"\r\n":"\r"}}function Fe(X){return X.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Ne(X){var ee=(X=X||{}).delimiter,ae=X.newline,ge=X.comments,De=X.step,Ue=X.preview,st=X.fastMode,Kn=null,vs=!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 pt=0,Rn=!1;this.parse=function(vt,bt,Te){if("string"!=typeof vt)throw new Error("Input must be a string");var ds=vt.length,$t=ee.length,Yn=ae.length,On=ge.length,at=we(De),wt=[],kt=[],jt=[],Ht=pt=0;if(!vt)return Ti();if(st||!1!==st&&-1===vt.indexOf(Kt)){for(var bs=vt.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:wt.length,index:pt}),an++}}else if(ge&&0===jt.length&&vt.substring(pt,pt+On)===ge){if(-1===en)return Ti();pt=en+Yn,en=vt.indexOf(ae,pt),Bt=vt.indexOf(ee,pt)}else if(-1!==Bt&&(Bt=Ue)return Ti(!0)}return ii();function xn(Ut){wt.push(Ut),Ht=pt}function St(Ut){var ze=0;return-1!==Ut&&(Ut=vt.substring(an+1,Ut))&&""===Ut.trim()?Ut.length:ze}function ii(Ut){return Te||(void 0===Ut&&(Ut=vt.substring(pt)),jt.push(Ut),pt=ds,xn(jt),at&&tn()),Ti()}function He(Ut){pt=Ut,xn(jt),jt=[],en=vt.indexOf(ae,pt)}function Ti(Ut){if(X.header&&!bt&&wt.length&&!vs){var ze=wt[0],Qn={},yi=new Set(ze);let Pt=!1;for(let Rr=0;Rr{var ge,De,Ue;return!!$.WORKERS_SUPPORTED&&(De=w.URL||w.webkitURL||null,Ue=b.toString(),ge=$.BLOB_URL||($.BLOB_URL=De.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=we(ee.step),ee.chunk=we(ee.chunk),ee.complete=we(ee.complete),ee.error=we(ee.error),delete ee.worker,ae.postMessage({input:X,config:ee,workerId:ae.id})},$.unparse=function(X,ee){var ae=!1,ge=!0,De=",",Ue="\r\n",st='"',Kn=st+st,vs=!1,Kt=null,hn=!1,pt=((()=>{if("object"==typeof ee){if("string"!=typeof ee.delimiter||$.BAD_DELIMITERS.filter(function(bt){return-1!==ee.delimiter.indexOf(bt)}).length||(De=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||(vs=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(Fe(st),"g"));if("string"==typeof X&&(X=JSON.parse(X)),Array.isArray(X)){if(!X.length||Array.isArray(X[0]))return Rn(null,X,vs);if("object"==typeof X[0])return Rn(Kt||Object.keys(X[0]),X,vs)}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||[],vs);throw new Error("Unable to serialize unrecognized input");function Rn(bt,Te,ds){var $t="",Yn=("string"==typeof bt&&(bt=JSON.parse(bt)),"string"==typeof Te&&(Te=JSON.parse(Te)),Array.isArray(bt)&&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,ce="function"==typeof se[J-1];if(!ce&&!y())throw new Error("Callback required as last argument");if(!ce){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(ue,We){try{const Fe=b.create(W,$);ue(R(Fe,N,$))}catch(Fe){We(Fe)}})}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 ue=b.create(W,$);K(null,R(ue,N,$))}catch(ue){K(ue)}}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:V=>{V.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},6214:(V,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)},V.exports=b},4662:V=>{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++}},V.exports=H},5941:V=>{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]},V.exports=H},4969:(V,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:(V,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:(V,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:(V,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:(V,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)}},V.exports=b},3361:(V,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:(V,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))},V.exports=y},1744:(V,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 Ne(_e,we,X){const ee=_e.size,ae=K.getEncodedBits(we,X);let ge,De;for(ge=0;ge<15;ge++)De=1==(ae>>ge&1),ge<6?_e.set(ge,8,De,!0):ge<8?_e.set(ge+1,8,De,!0):_e.set(ee-15+ge,8,De,!0),ge<8?_e.set(8,ee-ge-1,De,!0):ge<9?_e.set(8,15-ge-1+1,De,!0):_e.set(8,15-ge-1,De,!0);_e.set(ee-8,8,1,!0)}function pe(_e,we,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 De=8*(E.getSymbolTotalCodewords(_e)-N.getTotalCodewordsCount(_e,we));for(ee.getLengthInBits()+4<=De&&ee.put(0,4);ee.getLengthInBits()%8!=0;)ee.putBit(0);const Ue=(De-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,De+st,!0,!0):_e.set(ge+Ue,De+st,!1,!0))}}(st,we),function ue(_e){const we=_e.size;for(let X=8;X=7&&function Fe(_e,we){const X=_e.size,ee=$.getEncodedBits(we);let ae,ge,De;for(let Ue=0;Ue<18;Ue++)ae=Math.floor(Ue/3),ge=Ue%3+X-8-3,De=1==(ee>>Ue&1),_e.set(ae,ge,De,!0),_e.set(ge,ae,De,!0)}(st,we),function Ie(_e,we){const X=_e.size;let ee=-1,ae=X-1,ge=7,De=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;De>>ge&1)),_e.set(ae,Ue-st,Kn),ge--,-1===ge&&(De++,ge=7)}if(ae+=ee,ae<0||X<=ae){ae-=ee,ee=-ee;break}}}(st,De),isNaN(ee)&&(ee=R.getBestMask(st,Ne.bind(null,st,X))),R.applyMask(ee,st),Ne(st,X,ee),{modules:st,version:we,errorCorrectionLevel:X,maskPattern:ee,segments:ae}}H.create=function(we,X){if(typeof we>"u"||""===we)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(we,ae,ee,ge)}},6289:(V,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},V.exports=y},9359:(V,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:(V,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(Fe){return unescape(encodeURIComponent(Fe)).length}function $(Fe,Ne,Ie){const pe=[];let Me;for(;null!==(Me=Fe.exec(Ie));)pe.push({data:Me[0],index:Me.index,mode:Ne,length:Me[0].length});return pe}function K(Fe){const Ne=$(k.NUMERIC,E.NUMERIC,Fe),Ie=$(k.ALPHANUMERIC,E.ALPHANUMERIC,Fe);let pe,Me;return R.isKanjiModeEnabled()?(pe=$(k.BYTE,E.BYTE,Fe),Me=$(k.KANJI,E.KANJI,Fe)):(pe=$(k.BYTE_KANJI,E.BYTE,Fe),Me=[]),Ne.concat(Ie,pe,Me).sort(function(_e,we){return _e.index-we.index}).map(function(_e){return{data:_e.data,mode:_e.mode,length:_e.length}})}function se(Fe,Ne){switch(Ne){case E.NUMERIC:return y.getBitsLength(Fe);case E.ALPHANUMERIC:return b.getBitsLength(Fe);case E.KANJI:return D.getBitsLength(Fe);case E.BYTE:return w.getBitsLength(Fe)}}function We(Fe,Ne){let Ie;const pe=E.getBestModeForData(Fe);if(Ie=E.from(Ne,pe),Ie!==E.BYTE&&Ie.bit=0?Ne[Ne.length-1]:null;return pe&&pe.mode===Ie.mode?(Ne[Ne.length-1].data+=Ie.data,Ne):(Ne.push(Ie),Ne)},[])}(we))},H.rawSplit=function(Ne){return H.fromArray(K(Ne,R.isKanjiModeEnabled()))}},9089:(V,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:(V,H)=>{H.isValid=function(E){return!isNaN(E)&&E>=1&&E<=40}},1252:(V,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 ce=0;return se.forEach(function(ue){const We=W(ue.mode,J);ce+=We+ue.getBitsLength()}),ce}H.from=function(J,ce){return D.isValid(J)?parseInt(J,10):ce},H.getCapacity=function(J,ce,ue){if(!D.isValid(J))throw new Error("Invalid QR Code version");typeof ue>"u"&&(ue=w.BYTE);const Ne=8*(E.getSymbolTotalCodewords(J)-y.getTotalCodewordsCount(J,ce));if(ue===w.MIXED)return Ne;const Ie=Ne-W(ue,J);switch(ue){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,ce){let ue;const We=b.from(ce,b.M);if(Array.isArray(J)){if(J.length>1)return function K(se,J){for(let ce=1;ce<=40;ce++)if($(se,ce)<=H.getCapacity(ce,J,w.MIXED))return ce}(J,We);if(0===J.length)return 1;ue=J[0]}else ue=J;return function N(se,J,ce){for(let ue=1;ue<=40;ue++)if(J<=H.getCapacity(ue,ce,se))return ue}(ue.mode,ue.getLength(),We)},H.getEncodedBits=function(J){if(!D.isValid(J)||J<7)throw new Error("Invalid QR Code version");let ce=J<<12;for(;E.getBCHDigit(ce)-R>=0;)ce^=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:(V,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?"':"",ce="0&&J>0&&D[se-1]||(N+=$?b("M",J+R,.5+ce+R):b("m",W,0),W=0,$=!1),J+1',ue='viewBox="0 0 '+se+" "+se+'"',Fe=''+J+ce+"\n";return"function"==typeof N&&N(null,Fe),Fe}},7077:(V,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,Yn=$t.length;if($t===k||$t[0]===Ne[0]&&1===Yn)return Ne.split(k).concat([J]).concat(pe.split(k));if($t===ge&&ee)return Ne.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),wt=-1!==at,kt=void 0,jt=void 0,Ht=void 0;if($t.slice(-1*Te)===pe&&($t=$t.slice(0,-1*Te)),wt&&(ee||Kn)?(kt=$t.slice($t.slice(0,bt)===Ne?bt:0,at),jt=y((jt=$t.slice(at+1,Yn)).replace(K,k))):kt=$t.slice(0,bt)===Ne?$t.slice(bt):$t,vt&&(typeof vt>"u"?"undefined":w(vt))===se){var bs="."===we?"[.]":""+we,Nt=(kt.match(new RegExp(bs,"g"))||[]).length;kt=kt.slice(0,vt+Nt*ds)}return kt=kt.replace(K,k),pt||(kt=kt.replace(/^0+(0$|[^0])/,"$1")),Ht=y(kt=Pe?b(kt,we):kt),(wt&&ee||!0===Kn)&&($t[at-1]!==ge&&Ht.push(ce),Ht.push(ge,ce),jt&&((typeof Ue>"u"?"undefined":w(Ue))===se&&(jt=jt.slice(0,Ue)),Ht=Ht.concat(jt)),!0===Kn&&$t[at-1]===ge&&Ht.push(J)),bt>0&&(Ht=Ne.split(k).concat(Ht)),On&&(Ht.length===bt&&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]:{},Fe=We.prefix,Ne=void 0===Fe?D:Fe,Ie=We.suffix,pe=void 0===Ie?k:Ie,Me=We.includeThousandsSeparator,Pe=void 0===Me||Me,_e=We.thousandsSeparatorSymbol,we=void 0===_e?R:_e,X=We.allowDecimal,ee=void 0!==X&&X,ae=We.decimalSymbol,ge=void 0===ae?N:ae,De=We.decimalLimit,Ue=void 0===De?2:De,st=We.requireDecimal,Kn=void 0!==st&&st,vs=We.allowNegative,Kt=void 0!==vs&&vs,hn=We.allowLeadingZeroes,pt=void 0!==hn&&hn,Rn=We.integerLimit,vt=void 0===Rn?null:Rn,bt=Ne&&Ne.length||0,Te=pe&&pe.length||0,ds=we&&we.length||0;return ue.instanceOf="createNumberMask",ue}function y(ue){return ue.split(k).map(function(We){return J.test(We)?J:We})}function b(ue,We){return ue.replace(/\B(?=(\d{3})+(?!\d))/g,We)}Object.defineProperty(x,"__esModule",{value:!0});var w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ue){return typeof ue}:function(ue){return ue&&"function"==typeof Symbol&&ue.constructor===Symbol&&ue!==Symbol.prototype?"symbol":typeof ue};x.default=E;var D="$",k="",R=",",N=".",W="-",$=/-/,K=/\D+/g,se="number",J=/\d/,ce="[]"}])},3481:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"\n\t\t.alert {\n\t\t\tmargin-bottom: 10px;\n\t\t}\n\t",""]),V.exports=b.toString()},4180:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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",""]),V.exports=b.toString()},3553:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"",""]),V.exports=b.toString()},8760:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}",""]),V.exports=b.toString()},904:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"",""]),V.exports=b.toString()},1795:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}",""]),V.exports=b.toString()},6436:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"",""]),V.exports=b.toString()},5320:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"",""]),V.exports=b.toString()},1835:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,".size {\n font-size:10px\n}",""]),V.exports=b.toString()},1824:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"",""]),V.exports=b.toString()},5777:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}',""]),V.exports=b.toString()},7207:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}',""]),V.exports=b.toString()},9369:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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} ",""]),V.exports=b.toString()},7175:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}',""]),V.exports=b.toString()},5481:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}",""]),V.exports=b.toString()},3244:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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} ",""]),V.exports=b.toString()},3533:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"",""]),V.exports=b.toString()},8145:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"",""]),V.exports=b.toString()},8990:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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",""]),V.exports=b.toString()},3433:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}",""]),V.exports=b.toString()},2525:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"#upload {\n\topacity: 0;\n\tposition: absolute;\n\tz-index: -1;\t\n}",""]),V.exports=b.toString()},9167:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}",""]),V.exports=b.toString()},7190:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,".fa-clipboard {\n\tcursor: pointer;\n}",""]),V.exports=b.toString()},3544:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"",""]),V.exports=b.toString()},9751:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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",""]),V.exports=b.toString()},275:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"input.empty {\n\tpadding-top: 14px;\n}",""]),V.exports=b.toString()},7283:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}",""]),V.exports=b.toString()},9838:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"",""]),V.exports=b.toString()},6885:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"",""]),V.exports=b.toString()},3617:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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",""]),V.exports=b.toString()},4385:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,".buttonPadding {\n padding-right: 5px;\n}",""]),V.exports=b.toString()},1954:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}",""]),V.exports=b.toString()},2022:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,".ellipsis {\n\twhite-space: nowrap;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n}\n\n.red-text {\n\tcolor: red;\n}",""]),V.exports=b.toString()},1434:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}",""]),V.exports=b.toString()},195:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"",""]),V.exports=b.toString()},2479:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}",""]),V.exports=b.toString()},5831:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}",""]),V.exports=b.toString()},752:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}',""]),V.exports=b.toString()},7062:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}",""]),V.exports=b.toString()},642:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}",""]),V.exports=b.toString()},4020:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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",""]),V.exports=b.toString()},8234:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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",""]),V.exports=b.toString()},7206:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}",""]),V.exports=b.toString()},9350:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"#fontIcon{\n font-size:35px !important;\n margin:5px !important;\n}",""]),V.exports=b.toString()},1682:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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",""]),V.exports=b.toString()},7046:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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",""]),V.exports=b.toString()},4216:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"",""]),V.exports=b.toString()},6084:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}",""]),V.exports=b.toString()},3336:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"",""]),V.exports=b.toString()},8672:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"",""]),V.exports=b.toString()},5366:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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",""]),V.exports=b.toString()},614:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}",""]),V.exports=b.toString()},7859:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"",""]),V.exports=b.toString()},4946:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"table.dataTable {\n\tborder-bottom: 0px;\n}\n.wrapper {\n height: 100%;\n overflow: visible;\n}",""]),V.exports=b.toString()},9126:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}',""]),V.exports=b.toString()},9644:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"",""]),V.exports=b.toString()},4534:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}",""]),V.exports=b.toString()},9276:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"",""]),V.exports=b.toString()},3134:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}",""]),V.exports=b.toString()},5538:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}",""]),V.exports=b.toString()},3158:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,".expired {\n\tcolor: darkred;\n}",""]),V.exports=b.toString()},1010:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.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}",""]),V.exports=b.toString()},9010:(V,H,x)=>{var E=x(8564),b=x(8557)(E);b.push([V.id,"",""]),V.exports=b.toString()},5358:(V,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,V.exports=y,y.id=5358},9837:(V,H,x)=>{"use strict";x.d(H,{WHm:()=>CT,udt:()=>eg});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 j=f[3];"#"===j?v.addAttribute("id",L.slice(1)):"."===j?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,ce;function Fe(l){const i=function ue(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 Ne(l){return l?y.parse(l).map(Fe):[]}!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"}(ce||(ce={}));let pe;function Pe(l){return function De(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 j=0;ji.visit(ee,null))}(l.nodes).join("")+`[${l.meaning}]`)}function _e(l,i){return l.id||we(l,i)}function we(l,i){const a=new ge(i);return vs(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 pt,Yn,at;function Rn(l,i){return function vt(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 bt(l,i){return l<>>32-i}function ds(l,i){return i>=l.length?0:l[i]}function $t(l,i,a){let u=0;if(a===pt.Big)for(let p=0;p<4;p++)u+=ds(l,i+p)<<24-8*p;else for(let p=0;p<4;p++)u+=ds(l,i+p)<<8*p;return u}!function(l){l[l.Little=0]="Little",l[l.Big=1]="Big"}(pt||(pt={})),function(l){l[l.None=0]="None",l[l.Const=1]="Const"}(Yn||(Yn={}));class On{constructor(i=Yn.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 wt 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 wt(at.Dynamic),Bt=new wt(at.Inferred),en=new wt(at.Bool),an=(new wt(at.Int),new wt(at.Number)),sn=new wt(at.String),St=(new wt(at.Function),new wt(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 Ss(this,i,null,a)}key(i,a,u){return new Zn(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 Qn extends ze{constructor(i,a,u){super(a,u),this.name=i}isEquivalent(i){return i instanceof Qn&&this.name===i.name}isConstant(){return!1}visitExpression(i,a){return i.visitReadVarExpr(this,a)}clone(){return new Qn(this.name,this.type,this.sourceSpan)}set(i){return new Rr(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 Rr extends ze{constructor(i,a,u,p){super(u||a.type,p),this.name=i,this.value=a}isEquivalent(i){return i instanceof Rr&&this.name===i.name&&this.value.isEquivalent(i.value)}isConstant(){return!1}visitExpression(i,a){return i.visitWriteVarExpr(this,a)}clone(){return new Rr(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 At 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 At&&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 At(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 Ec extends ze{constructor(i,a,u,p){super(u,p),this.tag=i,this.template=a}isEquivalent(i){return i instanceof Ec&&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 Ec(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 Xn{constructor(i,a){this.elements=i,this.expressions=a}clone(){return new Xn(this.elements.map(i=>i.clone()),this.expressions.map(i=>i.clone()))}}class ft{constructor(i,a,u){this.text=i,this.sourceSpan=a,this.rawText=u??a?.toString()??Il(Tl(i))}clone(){return new ft(this.text,this.sourceSpan,this.rawText)}}class Ya{constructor(i,a){this.text=i,this.sourceSpan=a}}class zs{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}`}),yh(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+=`@@${vs(a.associatedMessage.messageString,a.associatedMessage.meaning)}`),yh(p,u.text,this.getMessagePartSourceSpan(i))}}const Tl=l=>l.replace(/\\/g,"\\\\"),ws=l=>l.replace(/^:/,"\\:"),uw=l=>l.replace(/:/g,"\\:"),Il=l=>l.replace(/`/g,"\\`").replace(/\${/g,"$\\{");function yh(l,i,a){return""===l?{cooked:i,raw:Il(ws(Tl(i))),range:a}:{cooked:`:${l}:${i}`,raw:Il(`:${uw(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 Gr extends ze{constructor(i,a,u,p){super(u,p),this.params=i,this.body=a}isEquivalent(i){return!!(i instanceof Gr&&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 Gr(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 Ss 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 Ss&&this.receiver.isEquivalent(i.receiver)&&this.name===i.name}isConstant(){return!1}visitExpression(i,a){return i.visitReadPropExpr(this,a)}set(i){return new At(this.receiver,this.name,i,null,this.sourceSpan)}clone(){return new Ss(this.receiver.clone(),this.name,this.type,this.sourceSpan)}}class Zn extends ze{constructor(i,a,u,p){super(u,p),this.receiver=i,this.index=a}isEquivalent(i){return i instanceof Zn&&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 Zn(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 hs 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 hs&&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 hs(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 _a{constructor(i,a,u){this.text=i,this.multiline=a,this.trailingNewline=u}toString(){return this.multiline?` ${this.text} `:this.text}}class vh extends _a{constructor(i){super("",!0,!0),this.tags=i}toString(){return function ja(l){if(0===l.length)return"";if(1===l.length&&l[0].tagName&&!l[0].text)return`*${fw(l[0])} `;let i="*\n";for(const a of l)i+=" *",i+=fw(a).replace(/\n/g,"\n * "),i+="\n";return i+=" ",i}(this.tags)}}class kc{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 kc{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 kc{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 kc{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 kc{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 jo extends kc{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 jo&&this.condition.isEquivalent(i.condition)&&Ut(this.trueCase,i.trueCase)&&Ut(this.falseCase,i.falseCase)}visitStatement(i,a){return i.visitIfStmt(this,a)}}function Fu(l=[]){return new vh(l)}function Dt(l,i,a){return new Qn(l,i,a)}function Ve(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 fn(l,i=null){return new hs(l.map(a=>new ar(a.key,a.value,a.quoted)),i,null)}function Yu(l,i){return new Ii(l,i)}function Ho(l,i,a,u,p){return new or(l,i,a,u,p)}function Lt(l,i,a,u){return new Gr(l,i,a,u)}function gt(l,i,a,u,p){return new jo(l,i,a,u,p)}function Or(l,i,a,u){return new Ec(l,i,a,u)}function ne(l,i,a){return new Is(l,i,a)}function hw(l,i,a,u,p){return new kl(l,i,a,u,p)}function fw(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 mw=Dt(""),E_={};class bh extends ze{constructor(i){super(i.type),this.resolved=i,this.shared=!1,this.original=i}visitExpression(i,a){return a===E_?this.original.visitExpression(i,a):this.resolved.visitExpression(i,a)}isEquivalent(i){return i instanceof bh&&this.resolved.isEquivalent(i.resolved)}isConstant(){return!0}clone(){throw new Error("Not supported.")}fixup(i){this.resolved=i,this.shared=!0}}class x_{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&&!It(i)||i instanceof bh)return i;const u=Bu.INSTANCE.keyOf(i);let p=this.literals.get(u),f=!1;if(p||(p=new bh(i),this.literals.set(u,p),f=!0),!f&&!p.shared||f&&a){const v=this.freshName();let M,L;this.isClosureCompilerEnabled&&It(i)?(M=Dt(v).set(new or([],[new ri(i)])),L=Dt(v).callFn([])):(M=Dt(v).set(i),L=Dt(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,Dt(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:mw),u=Bu.INSTANCE.keyOf(qt(a));return this._getLiteralFactory(u,i.entries,p=>qt(p))}{const a=fn(i.entries.map(p=>({key:p.key,value:p.value.isConstant()?p.value:mw,quoted:p.quoted}))),u=Bu.INSTANCE.keyOf(a);return this._getLiteralFactory(u,i.entries.map(p=>p.value),p=>fn(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 Gr;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 Dt(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)),Dt(f)}_getLiteralFactory(i,a,u){let p=this.literalFactories.get(i);const f=a.filter(v=>!v.isConstant());if(!p){const v=a.map((j,Z)=>j.isConstant()?this.getConstLiteral(j,!0):Dt(`a${Z}`)),L=Lt(v.filter(Nr).map(j=>new Tt(j.name,Nt)),u(v),Bt),O=this.freshName();this.statements.push(Dt(O).set(L).toDeclStmt(Bt,mt.Final)),p=Dt(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 Bu{static#e=this.INSTANCE=new Bu;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 hs){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 Qn)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 Nr(l){return l instanceof Qn}function It(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#V=this.classMapInterpolate3={name:"\u0275\u0275classMapInterpolate3",moduleName:re};static#j=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#Ve=this.textInterpolate8={name:"\u0275\u0275textInterpolate8",moduleName:re};static#je=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#Vt=this.resolveBody={name:"\u0275\u0275resolveBody",moduleName:re};static#jt=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#Vn=this.sanitizeHtml={name:"\u0275\u0275sanitizeHtml",moduleName:re};static#jn=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 pE=/-+([a-z0-9])/g;function _w(l,i,a){const u=l.indexOf(i);return-1==u?a:[l.slice(0,u).trim(),l.slice(u+1).trim()]}function wh(l){if("string"==typeof l)return l;if(Array.isArray(l))return"["+l.map(wh).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 Ha=globalThis;class Rf{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,j),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(j=>{let Z=Ac(j.col0-f);return f=j.col0,null!=j.sourceUrl&&(Z+=Ac(i.get(j.sourceUrl)-v),v=i.get(j.sourceUrl),Z+=Ac(j.sourceLine0-M),M=j.sourceLine0,Z+=Ac(j.sourceCol0-L),L=j.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 Of(l){let i="";const a=function k_(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+=ya((3&p)<<4|(null===f?0:f>>4)),i+=null===f?"=":ya((15&f)<<2|(null===v?0:v>>6)),i+=null===f||null===v?"=":ya(63&v)}return i}(JSON.stringify(this,null,0)):""}}function Ac(l){l=l<0?1+(-l<<1):l<<1;let i="";do{let a=31&l;(l>>=5)>0&&(a|=32),i+=ya(a)}while(l>0);return i}const ps="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function ya(l){if(l<0||l>=64)throw new Error("Can only encode value in the range [0, 63]");return ps[l]}const Ll=/'|\\|\n|\r|\$/g,_E=/^[$A-Z_][0-9A-Z_$]*$/i;class vw{constructor(i){this.indent=i,this.partsLength=0,this.parts=[],this.srcSpans=[]}}class I_{static createRoot(){return new I_(0)}constructor(i){this._indent=i,this._lines=[new vw(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 vw(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?Pc(i.indent)+i.parts.join(""):"").join("\n")}toSourceMapGenerator(i,a=0){const u=new Rf(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 j=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 Lc{constructor(i){this._escapeDollarInStrings=i}printLeadingComments(i,a){if(void 0!==i.leadingComments)for(const u of i.leadingComments)u instanceof vh?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 Gr;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||!_E.test(u)?`'${u}'`:u}function Pc(l){let i="";for(let a=0;au.value));return i?Lt([],a):a}function Ff(l,i){return{expression:l,forwardRef:i}}function va({expression:l,forwardRef:i}){switch(i){case 0:case 1:return l;case 2:return ln(l)}}function ln(l){return Ve(te.forwardRef).callFn([Lt([],l)])}var Pl,Kr,Ga,vr,vn,Ys;function oi(l){const i=Dt("__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,L_(l.deps,l.target))):(a=Dt(`\u0275${l.name}_BaseFactory`),p=a.callFn([u]));const f=[];let v=null;function M(O){const j=Dt("__ngConditionalFactory__");f.push(j.set(Va).toDeclStmt());const Z=null!==p?j.set(p).toStmt():Ve(te.invalidFactory).callFn([]).toStmt();return f.push(gt(i,[Z],[j.set(O).toStmt()])),j}if(Rl(l)){const O=L_(l.delegateDeps,l.target);v=M(new(l.delegateType===Pl.Class?rr:Nn)(l.delegate,O))}else v=function bw(l){return void 0!==l.expression}(l)?M(l.expression):p;if(null===v)f.push(Ve(te.invalidFactory).callFn([]).toStmt());else if(null!==a){const O=Ve(te.getInheritedFactory).callFn([l.type.value]),j=new Wt(He.Or,a,a.set(O));f.push(new ri(j.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=Lt([],[new Fi(a.name),new ri(L)]).callFn([],void 0,!0)),{expression:L,statements:[],type:Yf(l)}}function Yf(l){const i=null!==l.deps&&"invalid"!==l.deps?function $o(l){let i=!1;const a=l.map(u=>{const p=function Bf(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?fn(i):null}(u);return null!==p?(i=!0,p):ne(null)});return i?Ai(qt(a)):St}(l.deps):St;return Ai(Ve(te.FactoryDeclaration,[Rc(l.type.type,l.typeArgumentCount),i]))}function L_(l,i){return l.map((a,u)=>function yE(l,i,a){if(null===l.token)return Ve(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===Kr.Pipe?16:0);let p=0!==u||l.optional?ne(u):null;const f=[l.token];p&&f.push(p);const v=function Vf(l){switch(l){case Kr.Component:case Kr.Directive:case Kr.Pipe:return te.directiveInject;case Kr.NgModule:case Kr.Injectable:default:return te.inject}}(i);return Ve(v).callFn(f)}return Ve(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"}(Kr||(Kr={}));class jf{constructor(i,a,u,p){this.input=a,this.errLocation=u,this.ctxLocation=p,this.message=`Parser Error: ${i} ${u} [${a}] in ${p}`}}class Nc{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 Dh 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 Ee 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 Dh{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 Dh{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 $a extends Dh{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 Fc 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 Ch 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 za 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 Wa extends Dh{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 ba 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 Qr extends Ms{constructor(i,a,u,p,f){super(new Nc(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 P_{constructor(i,a,u){this.sourceSpan=i,this.key=a,this.value=u}}class R_{constructor(i,a,u){this.sourceSpan=i,this.key=a,this.value=u}}class O_{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 qa{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===Ga.LITERAL_ATTR,this.isAnimation=this.type===Ga.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"}(Ga||(Ga={})),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 Hf{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 wa(l){return"ng-container"===li(l)[1]}function qi(l){return"ng-content"===li(l)[1]}function Mh(l){return null===l?null:li(l)[0]}function ju(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"}(Ys||(Ys={}));class Hu{constructor(i,a){this.value=i,this.sourceSpan=a}visit(i){throw new Error("visit() not implemented for Comment")}}class Sa{constructor(i,a){this.value=i,this.sourceSpan=a}visit(i){return i.visitText(this)}}class Ka{constructor(i,a,u){this.value=i,this.sourceSpan=a,this.i18n=u}visit(i){return i.visitBoundText(this)}}class Uu{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 Eh{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 Eh(i.name,i.type,i.securityContext,i.value,i.unit,i.sourceSpan,i.keySpan,i.valueSpan,a)}visit(i){return i.visitBoundAttribute(this)}}class Uf{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 Uf(i.name,i.type,i.handler,a,u,i.sourceSpan,i.handlerSpan,i.keySpan)}visit(i){return i.visitBoundEvent(this)}}class Zr{constructor(i,a,u,p,f,v,M,L,O,j){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=j}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 ww extends Bl{constructor(i,a,u,p){super(null,a,u,p),this.value=i}}class So extends Bl{}class Sw extends Bl{}class $f extends Bl{constructor(i,a,u,p,f){super(a,u,p,f),this.reference=i}}class Dw extends Bl{constructor(i,a,u,p,f){super(a,u,p,f),this.delay=i}}class F_ extends Bl{constructor(i,a,u,p,f){super(a,u,p,f),this.reference=i}}class Y_ 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 Vl 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 zf 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 Wf 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 $u extends Xo{constructor(i,a,u,p,f,v,M,L,O,j,Z,de){super(M,L,j,Z),this.children=i,this.placeholder=p,this.loading=f,this.error=v,this.mainBlockSpan=O,this.i18n=de,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),Jn(i,this.children);Jn(i,[this.placeholder,this.loading,this.error].filter(u=>null!==u))}visitTriggers(i,a,u){Jn(u,i.map(p=>a[p]))}}class Yc 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 qf 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 xh extends Xo{constructor(i,a,u,p,f,v,M,L,O,j,Z,de,ke){super(de,L,j,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 fs 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 Gf extends Xo{constructor(i,a,u,p,f){super(f,a,u,p),this.branches=i}visit(i){return i.visitIfBlock(this)}}class et 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 Bn{constructor(i,a,u,p,f,v,M,L,O,j,Z,de){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=j,this.endSourceSpan=Z,this.i18n=de}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 Qa{constructor(i,a,u,p){this.vars=i,this.placeholders=a,this.sourceSpan=u,this.i18n=p}visit(i){return i.visitIcu(this)}}function Jn(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 Qf(l){const i=new V_;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 Bc{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 Da{constructor(i,a,u){this.value=i,this.name=a,this.sourceSpan=u}visit(i,a){return i.visitIcuPlaceholder(this,a)}}class jl{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 V_{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 Mw{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 Ih(l){return l.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}const nm="i18n",Ws="i18n-";function $_(l){return l===nm||l.startsWith(Ws)}function Ca(l){return l.nodes[0]}function sm(l={},i){const a={};return l&&Object.keys(l).length&&Object.keys(l).forEach(u=>a[qu(u,i)]=l[u]),a}function qu(l,i=!0){const a=Ih(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 im=/[-.]/,je="_t",Ul="ctx",jc="rf";function ms(l,i){let a=null;return()=>(a||(l(new Fi(je,void 0,Nt)),a=Dt(i)),a)}function Ze(l){return Array.isArray(l)?qt(l.map(Ze)):ne(l,Bt)}function Bs(l,i){const a=Object.getOwnPropertyNames(l);return 0===a.length?null:fn(a.map(u=>{const p=l[u];let f,v,M,L;if("string"==typeof p)f=u,M=u,v=p,L=Ze(v);else{M=u,f=p.classPropertyName,v=p.bindingPropertyName;const O=v!==f,j=null!==p.transformFunction;let Z=W.None;if(p.isSignal&&(Z|=W.SignalBased),j&&(Z|=W.HasDecoratorInputTransform),i&&(O||j||Z!==W.None)){const de=[ne(Z),Ze(v)];(O||j)&&(de.push(Ze(f)),j&&de.push(p.transformFunction)),L=qt(de)}else L=Ze(v)}return{key:M,quoted:im.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 fn(this.values)}}function Yi(l){const i=l instanceof Zr?l.name:"ng-template",a=function cr(l){const i={};return l instanceof Bn&&"ng-template"!==l.tagName?l.templateAttrs.forEach(a=>i[a.name]=""):(l.attributes.forEach(a=>{$_(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 $l(l,i){let a=null;const u={name:l.name,type:l.type,typeArgumentCount:l.typeArgumentCount,deps:[],target:Kr.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:Lt([],l.useFactory.callFn([]))}:void 0!==l.useValue?oi({...u,expression:l.useValue.expression}):void 0!==l.useExisting?oi({...u,expression:Ve(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",va(l.providedIn)),{expression:Ve(te.\u0275\u0275defineInjectable).callFn([f.toLiteralMap()],void 0,!0),type:cs(l),statements:a.statements}}function cs(l){return new kt(Ve(te.InjectableDeclaration,[Rc(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(Ve(te.resolveForwardRef).callFn([i]))}function Mi(l){const i=new Tt("__ngFactoryType__",Nt);return Lt([i],l.prop("\u0275fac").callFn([Dt(i.name)]))}const Yt=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];class Gu{static fromArray(i){return i?(function Hc(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 Gu(i[0],i[1])):Bi}constructor(i,a){this.start=i,this.end=a}}const Bi=new Gu("{{","}}"),gs=new Set(["switch"]),Vs=0,Fr=9,Yr=32,to=36,z_=48,Tw=57,Ku=65,Qu=70,Cn=90,_=91,A=93,U=95,ie=97,un=102,am=122,xa=123,no=125,q_=160;function kn(l){return l>=Fr&&l<=Yr||l==q_}function na(l){return z_<=l&&l<=Tw}function Kl(l){return l>=ie&&l<=am||l>=Ku&&l<=Cn}function Lw(l){return 10===l||13===l}function Rh(l){return z_<=l&&l<=55}function ka(l){return 39===l||34===l||96===l}class ji{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 ji(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 DE=0;function zc(l){return l.replace(/\W/g,"_")}const K_='(this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e})';class Q_ extends Lc{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,`(${K_}(`),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 hs;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(${K_}(`);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 Xu;function Xl(l){return function Rw(){if(void 0===Xu){const l=Ha.trustedTypes;if(Xu=null,l)try{Xu=l.createPolicy("angular#unsafe-jit",{createScript:i=>i})}catch{}}return Xu}()?.createScript(l)||l}function Vt(...l){if(!Ha.trustedTypes)return new Function(...l);const u=`(function anonymous(${l.slice(0,-1).join(",")}\n) { ${l[l.length-1]}\n})`,p=Ha.eval(Xl(u));return void 0===p.bind?new Function(...l):(p.toString=()=>u,p.bind(Ha))}class lm{evaluateStatements(i,a,u,p){const f=new Ow(u),v=I_.createRoot();return a.length>0&&!function ME(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=Vt(...v.concat("return null;")).toString(),j=O.slice(0,O.indexOf("return null;")).split("\n").length-1;f+=`\n${a.toSourceMapGenerator(i,j).toJsComment()}`}const L=Vt(...v.concat(f));return this.executeFunction(L,M)}executeFunction(i,a){return i(...a)}}class Ow extends Q_{constructor(i){super(),this.refResolver=i,this._evalArgNames=[],this._evalArgValues=[],this._evalExportedVars=[]}createReturnStmt(i){new ri(new hs(this._evalExportedVars.map(u=>new ar(u,Dt(u),!1)))).visitStatement(this,i)}getArgs(){const i={};for(let a=0;a=0?(a="anonymous_"+DE++,i.__anonymousType=a):a=zc(a),a}({reference:a})||"val";this._evalArgNames.push(`jit_${f}_${p}`)}u.print(i,this._evalArgNames[p])}}function IP(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:Ve(te.defineInjector).callFn([i.toLiteralMap()],void 0,!0),type:EE(l),statements:[]}}function EE(l){return new kt(Ve(te.InjectorDeclaration,[new kt(l.type.type)]))}class AP{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 cm,Ta,Wc;function Zu(l){const i=[],a=new Fn;if(a.set("type",l.type.value),l.kind===Ta.Global&&l.bootstrap.length>0&&a.set("bootstrap",Uo(l.bootstrap,l.containsForwardDecls)),l.selectorScopeMode===cm.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===cm.SideEffect){const f=function PP(l){const i=new Fn;if(l.kind===Ta.Global?l.declarations.length>0&&i.set("declarations",Uo(l.declarations,l.containsForwardDecls)):l.declarationsExpression&&i.set("declarations",l.declarationsExpression),l.kind===Ta.Global?l.imports.length>0&&i.set("imports",Uo(l.imports,l.containsForwardDecls)):l.importsExpression&&i.set("imports",l.importsExpression),l.kind===Ta.Global?l.exports.length>0&&i.set("exports",Uo(l.exports,l.containsForwardDecls)):l.exportsExpression&&i.set("exports",l.exportsExpression),l.kind===Ta.Local&&l.bootstrapExpression&&i.set("bootstrap",l.bootstrapExpression),0===Object.keys(i.values).length)return null;const a=new Nn(Ve(te.setNgModuleScope),[l.type.value,i.toLiteralMap()]),u=function $n(l){return Sh("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(Ve(te.registerNgModuleType).callFn([l.type.value,l.id]).toStmt()));return{expression:Ve(te.defineNgModule).callFn([a.toLiteralMap()],void 0,!0),type:xE(l),statements:i}}function xE(l){if(l.kind===Ta.Local)return new kt(l.type.value);const{type:i,declarations:a,exports:u,imports:p,includeImportTypes:f,publicDeclarationTypes:v}=l;return new kt(Ve(te.NgModuleDeclaration,[new kt(i.type),null===v?Nw(a):RP(v),f?Nw(p):St,Nw(u)]))}function Nw(l){const i=l.map(a=>wn(a.type));return l.length>0?Ai(qt(i)):St}function RP(l){const i=l.map(a=>wn(a));return l.length>0?Ai(qt(i)):St}function Se(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:Ve(te.definePipe).callFn([fn(i)],void 0,!0),type:mn(l),statements:[]}}function mn(l){return new kt(Ve(te.PipeDeclaration,[Rc(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"}(cm||(cm={})),function(l){l[l.Global=0]="Global",l[l.Local=1]="Local"}(Ta||(Ta={})),function(l){l[l.Directive=0]="Directive",l[l.Pipe=1]="Pipe",l[l.NgModule=2]="NgModule"}(Wc||(Wc={}));const OP=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"]),us=["@media","@supports","@document","@layer","@container","@scope","@starting-style"];class Fw{constructor(){this._animationDeclarationKeyframesRe=/(^|\s+|,)(?:(?:(['"])((?:\\\\|\\\2|(?!\2).)+)\2)|(-?[A-Za-z][\w\-]*))(?=[,\s]|$)/g}shimCssText(i,a,u=""){const p=[];i=i.replace(Bw,M=>{if(M.match(Vw))p.push(M);else{const L=M.match(FP);p.push((L?.join("")??"")+"\n")}return hm}),i=this._insertDirectives(i);const f=this._scopeCssText(i,a,u);let v=0;return f.replace(Z_,()=>p[v++])}_insertDirectives(i){return i=this._insertPolyfillDirectivesInCssText(i),this._insertPolyfillRulesInCssText(i)}_scopeKeyframesRelatedCss(i,a){const u=new Set,p=nl(i,f=>this._scopeLocalKeyframeDeclarations(f,a,u));return nl(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(qw(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(qw(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,j="",Z,de)=>Z?`${O}${this._scopeAnimationKeyframe(`${j}${Z}${j}`,a,u)}`:OP.has(de)?L:`${O}${this._scopeAnimationKeyframe(de,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(Ia,function(...a){return a[2]+"{"})}_insertPolyfillRulesInCssText(i){return i.replace(Yw,(...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(X_.lastIndex=0;null!==(u=X_.exec(i));){a+=u[0].replace(u[2],"").replace(u[1],u[4])+"\n\n"}return a}_convertColonHost(i){return i.replace(IE,(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(dm,"")+p;f.push(L)}return f.join(",")}return Ei+p})}_convertColonHostContext(i){return i.replace(AE,a=>{const u=[[]];let p;for(;p=LE.exec(a);){const f=(p[1]??"").trim().split(",").map(M=>M.trim()).filter(M=>""!==M),v=u.length;pm(u,f.length);for(let M=0;Mfunction FE(l,i){const a=Ei;Oh.lastIndex=0;const u=Oh.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 PE.reduce((a,u)=>a.replace(u," "),i)}_scopeSelectors(i,a,u){return nl(i,p=>{let f=p.selector,v=p.content;return"@"!==p.selector[0]?f=this._scopeSelector(p.selector,a,u):us.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 nl(i,a=>{const u=a.selector.replace(sa," ").replace(tl," ");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+")"+Zl,"m")}_applySimpleSelectorScope(i,a,u){if(Oh.lastIndex=0,Oh.test(i)){const p=`[${u}]`;return i.replace(tl,(f,v)=>v.replace(/([^:]*)(:*)(.*)/,(M,L,O,j)=>L+p+O+j)).replace(Oh,p+" ")}return a+" "+i}_applySelectorScope(i,a,u){const f="["+(a=a.replace(/\[is=([^\]]*)\]/g,(Je,...ct)=>ct[0]))+"]",v=Je=>{let ct=Je.trim();if(!ct)return Je;if(Je.includes(Ei))ct=this._applySimpleSelectorScope(Je,a,u);else{const dt=Je.replace(Oh,"");if(dt.length>0){const yn=dt.match(/([^:]*)(:*)(.*)/);yn&&(ct=yn[1]+f+yn[2]+yn[3])}}return ct},M=new um(i);let j,L="",O=0;const Z=/( |>|\+|~(?!=))\s*/g;let ke=!(i=M.content()).includes(Ei);for(;null!==(j=Z.exec(i));){const Je=j[1],ct=i.slice(O,j.index);if(ct.match(/__esc-ph-(\d+)__/)&&i[j.index+1]?.match(/[a-fA-F\d]/))continue;ke=ke||ct.includes(Ei);L+=`${ke?v(ct):ct} ${Je} `,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(NP,kE).replace(RE,dm)}}class um{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 Ia=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,Yw=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,X_=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,dm="-shadowcsshost",kE="-shadowcsscontext",TE="(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",IE=new RegExp(dm+TE,"gim"),AE=new RegExp(kE+TE,"gim"),LE=new RegExp(kE+TE,"im"),Ei=dm+"-no-combinator",tl=/-shadowcsshost-no-combinator([^\s]*)/,PE=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],sa=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,Zl="([>\\s~+[.,{:][\\s\\S]*)?$",Oh=/-shadowcsshost/gim,RE=/:host/gim,NP=/:host-context/gim,FP=/\r?\n/g,Bw=/\/\*[\s\S]*?\*\//g,Vw=/\/\*\s*#\s*source(Mapping)?URL=/g,hm="%COMMENT%",Z_=new RegExp(hm,"g"),jw="%BLOCK%",OE=new RegExp(`(\\s*(?:${hm}\\s*)*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))`,"g"),Hw=new Map([["{","}"]]),Uw="%COMMA_IN_PLACEHOLDER%",$w="%SEMI_IN_PLACEHOLDER%",zw="%COLON_IN_PLACEHOLDER%",NE=new RegExp(Uw,"g"),Ww=new RegExp($w,"g"),YP=new RegExp(zw,"g");class Hi{constructor(i,a){this.selector=i,this.content=a}}function nl(l,i){const a=function jP(l){let i=l,a=null;for(let u=0;u{const M=v[2];let L="",O=v[4],j="";O&&O.startsWith("{"+jw)&&(L=u.blocks[p++],O=O.substring(jw.length+1),j="{");const Z=i(new Hi(M,L));return`${v[1]}${Z.selector}${v[3]}${j}${Z.content}${O}`}))}class Ps{constructor(i,a){this.escapedString=i,this.blocks=a}}const VP={";":$w,",":Uw,":":zw};function qw(l,i){return i?l.replace(/((?:^|[^\\])(?:\\\\)*)\\(?=['"])/g,"$1"):l}function pm(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 eu extends ys{constructor(i){super(),this.index=i,this.kind=rt.PureFunctionParameterExpr}visitExpression(){}isEquivalent(i){return i instanceof eu&&i.index===this.index}isConstant(){return!0}transformInternalExpressions(){}clone(){return new eu(this.index)}}class rd extends ys{static#e=(Zw=Nh,Jw=J_);constructor(i,a,u,p){super(),this.target=i,this.targetSlot=a,this.name=u,this.args=p,this.kind=rt.PipeBinding,this[Zw]=!0,this[Jw]=!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 _m extends ys{static#e=(td=Nh,nd=J_);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[td]=!0,this[nd]=!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 _m(this.target,this.targetSlot,this.name,this.args.clone(),this.numArgs);return i.varOffset=this.varOffset,i}}class jh extends ys{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 jh(this.receiver.clone(),this.name)}}class Hh extends ys{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 Hh(this.receiver.clone(),this.index.clone(),this.sourceSpan)}}class ks extends ys{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 od extends ys{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 od(this.guard.clone(),this.expr.clone())}}class ad extends ys{constructor(){super(...arguments),this.kind=rt.EmptyExpr}visitExpression(i,a){}isEquivalent(i){return i instanceof ad}isConstant(){return!0}clone(){return new ad}transformInternalExpressions(){}}class rs extends ys{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 rs(this.expr.clone(),this.xref);return i.name=this.name,i}}class tu extends ys{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 tu(this.xref);return i.name=this.name,i}}class ym extends ys{constructor(i){super(),this.slot=i,this.kind=rt.SlotLiteralExpr}visitExpression(i,a){}isEquivalent(i){return i instanceof ym&&i.slot===this.slot}isConstant(){return!0}clone(){return new ym(this.slot)}transformInternalExpressions(){}}class ry extends ys{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 ry&&i.expr===this.expr}isConstant(){return!0}clone(){return new ry(this.expr,this.target,this.targetSlot)}transformInternalExpressions(i,a){null!==this.expr&&(this.expr=Xe(this.expr,i,a))}}class ld extends ys{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 ld&&this.expr.isEquivalent(i.expr)}isConstant(){return this.expr.isConstant()}clone(){return new ld(this.expr)}}function Cr(l,i){ei(l,(a,u)=>(i(a,u),a),Mn.None)}function oy(l,i,a){for(let u=0;uXe(u,i,a));else if(l instanceof Gr)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 n2(l){const i=new Map([["svg",ui.SVG],["math",ui.Math]]);return null===l?ui.HTML:i.get(l)??ui.HTML}function zh(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 dd(l){return Array.isArray(l)?qt(l.map(dd)):ne(l)}function nx(l,i,a){const u=i.get(a);if(void 0!==u){const p=cS(u);if(p.entries.length>0)return l.addConst(p)}return null}const hd=Object.freeze([]);class s2{get attributes(){return this.byKind.get(ot.Attribute)??hd}get classes(){return this.byKind.get(ot.ClassName)??hd}get styles(){return this.byKind.get(ot.StyleProperty)??hd}get bindings(){return this.propertyBindings??hd}get template(){return this.byKind.get(ot.Template)??hd}get i18n(){return this.byKind.get(ot.I18n)??hd}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 sx(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(!ro(u))throw Error("AssertionError: extracted attribute value should be string literal");M.push(Or(f,new Xn([new ft(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 cS({attributes:l,bindings:i,classes:a,i18n:u,projectAs:p,styles:f,template:v}){const M=[...l];if(null!==p){const L=Ne(p)[0];M.push(ne(5),dd(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 ox{constructor(){this.targets=new Map}}const ax=new Map([[B.ElementEnd,[B.ElementStart,B.Element]],[B.ContainerEnd,[B.ContainerStart,B.Container]],[B.I18nEnd,[B.I18nStart,B.I18n]]]),py=new Set([B.Pipe]);[Nn,Ls,hs,ks,rd].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 rs?Eo(l.expr):l instanceof Ss?Eo(l.receiver):l instanceof Zn?Eo(l.receiver)||Eo(l.index):l instanceof Nn||l instanceof Ls||l instanceof hs||l instanceof ks||l instanceof rd}function Wh(l,i,a){let u;if(Eo(l)){const p=a.job.allocateXrefId();u=[new rs(l,p),new tu(p)]}else u=[l,l.clone()],function u2(l,i,a){return Xe(l,u=>{if(u instanceof rs&&i.has(u.xref)){const p=new tu(u.xref);return a.job.compatibility===ur.TemplateDefinitionBuilder?new rs(p,p.xref):p}return u},Mn.None),l}(u[1],function c2(l){const i=new Set;return Xe(l,a=>(a instanceof rs&&i.add(a.xref),a),Mn.None),i}(u[0]),a);return new od(u[0],i(u[1]))}function h2(l){return function d2(l){return l instanceof jh||l instanceof Hh||l instanceof ks}(l)||function ux(l){return l instanceof Ss||l instanceof Zn||l instanceof Nn}(l)}function p2(l,i){if(!h2(l))return l;const a=function dx(l){if(h2(l)&&l.receiver instanceof od){let i=l.receiver;for(;i.expr instanceof od;)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 Ss)return a.expr=a.expr.prop(l.name),l.receiver;if(l instanceof Zn)return a.expr=a.expr.key(l.index),l.receiver;if(l instanceof ks)return a.expr=Wh(a.expr,u=>u.callFn(l.args),i),l.receiver;if(l instanceof jh)return a.expr=Wh(a.expr,u=>u.prop(l.name),i),l.receiver;if(l instanceof Hh)return a.expr=Wh(a.expr,u=>u.key(l.index),i),l.receiver}else{if(l instanceof ks)return Wh(l.receiver,u=>u.callFn(l.args),i);if(l instanceof jh)return Wh(l.receiver,u=>u.prop(l.name),i);if(l instanceof Hh)return Wh(l.receiver,u=>u.key(l.index),i)}return l}function f2(l){return l instanceof od?new yr(new Wt(He.Equals,l.guard,Va),Va,l.expr):l}const m2="\ufffd",g2="#",hx="*",uS="/",_2=":",su="[",pd="]",y2="|";function ao(l,i,a){let u=fy(i.params);const p=fy(i.postprocessingParams);let f=[...i.params.values()].some(v=>v.length>1);return function KE(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 rj(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(fd);return l.strings.flatMap((a,u)=>[a,i[u]||""]).join("")}function fy(l){const i=new Map;for(const[a,u]of l){const p=dS(u);null!==p&&i.set(a,ne(p))}return i}function dS(l){if(0===l.length)return null;const i=l.map(a=>fd(a));return 1===i.length?i[0]:`${su}${i.join(y2)}${pd}`}function fd(l){if(l.flags&ss.ElementTag&&l.flags&ss.TemplateTag){if("object"!=typeof l.value)throw Error("AssertionError: Expected i18n param value to have an element and template slot");const p=fd({...l,value:l.value.element,flags:l.flags&~ss.TemplateTag}),f=fd({...l,value:l.value.template,flags:l.flags&~ss.ElementTag});return l.flags&ss.OpenTag&&l.flags&ss.CloseTag?`${f}${p}${f}`:l.flags&ss.CloseTag?`${p}${f}`:`${f}${p}`}if(l.flags&ss.OpenTag&&l.flags&ss.CloseTag)return`${fd({...l,flags:l.flags&~ss.CloseTag})}${fd({...l,flags:l.flags&~ss.OpenTag})}`;if(l.flags===ss.None)return`${l.value}`;let i="",a="";l.flags&ss.ElementTag?i=g2:l.flags&ss.TemplateTag&&(i=hx),""!==i&&(a=l.flags&ss.CloseTag?uS:"");const u=null===l.subTemplateIndex?"":`${_2}${l.subTemplateIndex}`;return`${m2}${a}${i}${l.value}${u}${m2}`}function rl(l,i){const a=function b2(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 md(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 mS(l,i=!1){return fn(Object.keys(l).map(a=>({key:a,quoted:i,value:l[a]})))}const xm=new class gS{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`{${qu(i,!1)}}`}};function gx(l){return l.visit(xm)}class gd{constructor(i,a){this.sourceSpan=i,this.i18n=a}}class Kh extends gd{constructor(i,a,u,p){super(a,p),this.value=i,this.tokens=u}visit(i,a){return i.visitText(this,a)}}class Qh extends gd{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 km{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 Tm extends gd{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 gd{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 Xh{constructor(i,a){this.value=i,this.sourceSpan=a}visit(i,a){return i.visitComment(this,a)}}class $r extends gd{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 _S{constructor(i,a){this.expression=i,this.sourceSpan=a}visit(i,a){return i.visitBlockParameter(this,a)}}class gy{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 yS={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"},Zh="\ue500";yS.ngsp=Zh;class vS extends Ct{constructor(i,a,u){super(u,i),this.tokenType=a}}class _y{constructor(i,a,u){this.tokens=i,this.errors=a,this.nonNormalizedIcuExpressions=u}}const _x=/\r\n?/g;function Im(l){return`Unexpected character "${l===Vs?"EOF":String.fromCharCode(l)}"`}function wS(l){return`Unknown entity "${l}" - use the "&#;" or "&#x;" syntax`}var Am;!function(l){l.HEX="hexadecimal",l.DEC="decimal"}(Am||(Am={}));class ec{constructor(i){this.error=i}}class yx{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 _d(i,p):new by(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(_x,"\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(no)?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 Jh(l){return Kl(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(xa)?(this._beginToken(25),this._endToken([])):a.type=28}_consumeBlockEnd(i){this._beginToken(26,i),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(Sx);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&&ka(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(Sx)}}_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)&&!Lw(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=>!(Kl(u)||u===to||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;ka(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 wx(l){return l!==no}(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===no){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 vS("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 vS("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 vS(i,this._currentTokenType,a);return this._currentTokenStart=null,this._currentTokenType=null,new ec(u)}handleError(i){if(i instanceof Lm&&(i=this._createError(i.msg,this._cursor.getSpan(i.cursor))),!(i instanceof ec))throw i;this.errors.push(i.error)}_attemptCharCode(i){return this._cursor.peek()===i&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(i){return!!function yy(l,i){return vy(l)===vy(i)}(this._cursor.peek(),i)&&(this._cursor.advance(),!0)}_requireCharCode(i){const a=this._cursor.clone();if(!this._attemptCharCode(i))throw this._createError(Im(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()&&!vx(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(DS,""===a?0:1);return[a,this._cursor.getChars(u)]}_consumeTagOpen(i){let a,u,p;try{if(!Kl(this._cursor.peek()))throw this._createError(Im(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 ec)return void(p?p.type=4:(this._beginToken(5,i),this._endToken(["<"])));throw v}const f=this._getTagDefinition(a).getContentType(u);f===Ys.RAW_TEXT?this._consumeRawTextWithTagClose(u,a,!1):f===Ys.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(Im(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=()=>DS(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(xa),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(xa).trim();this._endToken([i]),this._attemptCharCodeUntilFn(di),this._beginToken(21),this._requireCharCode(xa),this._endToken([]),this._attemptCharCodeUntilFn(di),this._expansionCaseStack.push(21)}_consumeExpansionCaseEnd(){this._beginToken(22),this._requireCharCode(no),this._endToken([]),this._attemptCharCodeUntilFn(di),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(23),this._requireCharCode(no),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&&ka(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()===no&&this._isInExpansionCase()))&&(!this._tokenizeBlocks||this._inInterpolation||this._isInExpansion()||64!==this._cursor.peek()&&this._cursor.peek()!==no))}_isTagStart(){if(60===this._cursor.peek()){const i=this._cursor.clone();i.advance();const a=i.peek();if(ie<=a&&a<=am||Ku<=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()!==xa)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 DS(l){return kn(l)||62===l||60===l||47===l||39===l||34===l||61===l||l===Vs}function vx(l){return(lTw)}function bx(l){return 59===l||l===Vs||!function Ur(l){return l>=ie&&l<=un||l>=Ku&&l<=Qu||na(l)}(l)}function CS(l){return 59===l||l===Vs||!Kl(l)}function vy(l){return l>=ie&&l<=am?l-ie+Ku:l}function Sx(l){return 59!==l&&di(l)}class by{constructor(i,a){if(i instanceof by){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 by(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 Lm('Unexpected character "EOF"',this);const a=this.charAt(i.offset);10===a?(i.line++,i.column=0):Lw(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 ji(i.file,i.state.offset,i.state.line,i.state.column)}}class _d extends by{constructor(i,a){i instanceof _d?(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 _d(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=Fr;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()===xa){this.advanceState(this.internalState);const a=this.clone();let u=0;for(;i()!==no;)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(Rh(i())){let a="",u=0,p=this.clone();for(;Rh(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 Lw(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 Lm("Invalid hexadecimal escape sequence",i);return p}}class Lm{constructor(i,a){this.msg=i,this.cursor=a}}class er extends Ct{static create(i,a,u){return new er(i,a,u)}constructor(i,a,u){super(a,u),this.elementName=i}}class ep{constructor(i,a){this.rootNodes=i,this.errors=a}}class MS{constructor(i){this.getTagDefinition=i}parse(i,a,u){const p=function bS(l,i,a,u={}){const p=new yx(new Pw(l,i),a,u);return p.tokenize(),new _y(function w2(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 km(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(!Dx(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(!Dx(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,Cx):9===i.type?p+=i.parts[0]:p+=i.parts.join("");if(p.length>0){const f=i.sourceSpan;this._addToParent(new Kh(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 de=this.getTagDefinition(f);de.canSelfClose||null!==Mh(f)||de.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),j=new aa(f,p,[],L,O,void 0),Z=this._getContainer();this._pushContainer(j,Z instanceof aa&&this.getTagDefinition(Z.name).isClosedByChild(j.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 $r||v instanceof aa&&!this.getTagDefinition(v.name).closedByParent)&&(p=!0)}return!1}_consumeAttr(i){const a=ju(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 j=this._advance();f.push(j),17===j.type?p+=j.parts.join("").replace(/&([^;]+);/g,Cx):9===j.type?p+=j.parts[0]:p+=j.parts.join(""),M=u=j.sourceSpan.end}15===this._peek.type&&(u=this._advance().sourceSpan.end);const O=v&&M&&new Xt(v.start,M,v.fullStart);return new Tm(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 _S(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 $r(i.parts[0],a,[],p,i.sourceSpan,f);this._pushContainer(v,!1)}_consumeBlockClose(i){this._popContainer(null,$r,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 _S(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 $r(i.parts[0],a,[],p,i.sourceSpan,f);this._pushContainer(v,!1),this._popContainer(null,$r,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),j=new gy(a,u.parts[0],v,O,u.sourceSpan);this._addToParent(j)}_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 gy(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=Mh(u.name))}return ju(i,a)}}function Dx(l,i){return l.length>0&&l[l.length-1]===i}function Cx(l,i){return void 0!==yS[i]?yS[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 Mx="ngPreserveWhitespaces",S2=new Set(["pre","template","textarea","script","style"]),Ex=" \f\n\r\t\v\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff",lo=new RegExp(`[^${Ex}]`),ol=new RegExp(`[${Ex}]{2,}`,"g");function xx(l){return l.replace(new RegExp(Zh,"g")," ")}class wy{constructor(i,a,u=!0){this.preserveSignificantWhitespace=i,this.originalNodeMap=a,this.requireContext=u,this.icuExpansionDepth=0}visitElement(i,a){if(S2.has(i.name)||function D2(l){return l.some(i=>i.name===Mx)}(i.attrs)){const p=new aa(i.name,ru(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,ru(this,i.children),i.sourceSpan,i.startSourceSpan,i.endSourceSpan,i.i18n);return this.originalNodeMap?.set(u,i),u}visitAttribute(i,a){return i.name!==Mx?i:null}visitText(i,a){const u=i.value.match(lo),p=a&&(a.prev instanceof Qh||a.next instanceof Qh);if(this.icuExpansionDepth>0&&this.preserveSignificantWhitespace)return i;if(u||p){const v=i.tokens.map(j=>5===j.type?function kx({type:l,parts:i,sourceSpan:a}){return{type:l,parts:[Ix(i[0])],sourceSpan:a}}(j):j);if(!this.preserveSignificantWhitespace&&v.length>0){const j=v[0];v.splice(0,1,function C2(l,i){return 5!==l.type||i?.prev?l:Tx(l,u=>u.trimStart())}(j,a));const Z=v[v.length-1];v.splice(v.length-1,1,function M2(l,i){return 5!==l.type||i?.next?l:Tx(l,u=>u.trimEnd())}(Z,a))}const M=Ix(i.value),L=this.preserveSignificantWhitespace?M:function E2(l,i){const a=!i?.prev,u=!i?.next,p=a?l.trimStart():l;return u?p.trimEnd():p}(M,a),O=new Kh(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 Qh(i.switchValue,i.type,ru(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 km(i.value,ru(this,i.expression),i.sourceSpan,i.valueSourceSpan,i.expSourceSpan);return this.originalNodeMap?.set(u,i),u}visitBlock(i,a){const u=new $r(i.name,i.parameters,ru(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 Tx({type:l,parts:i,sourceSpan:a},u){return{type:l,parts:[u(i[0])],sourceSpan:a}}function Ix(l){return xx(l).replace(ol," ")}function ru(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 nc=["var","let","as","null","undefined","true","false","if","else","this"];class yd{tokenize(i){const a=new AS(i),u=[];let p=a.scanToken();for(;null!=p;)u.push(p),p=a.scanToken();return u}}class al{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 ES(l,i,a){return new al(l,i,on.Character,a,String.fromCharCode(a))}function xS(l,i,a){return new al(l,i,on.Operator,0,a)}const IS=new al(-1,-1,on.Character,0,"");class AS{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<=Yr;){if(++p>=a){u=Vs;break}u=i.charCodeAt(p)}if(this.peek=u,this.index=p,p>=a)return null;if(LS(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):ES(f,this.index,46);case 40:case 41:case xa:case no: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(),ES(i,this.index,a)}scanOperator(i,a){return this.advance(),xS(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),xS(i,this.index,M)}scanIdentifier(){const i=this.index;for(this.advance();PS(this.peek);)this.advance();const a=this.input.substring(i,this.index);return nc.indexOf(a)>-1?function k2(l,i,a){return new al(l,i,on.Keyword,0,a)}(i,this.index,a):function Ax(l,i,a){return new al(l,i,on.Identifier,0,a)}(i,this.index,a)}scanPrivateIdentifier(){const i=this.index;if(this.advance(),!LS(this.peek))return this.error("Invalid character [#]",-1);for(;PS(this.peek);)this.advance();const a=this.input.substring(i,this.index);return function x2(l,i,a){return new al(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(!I2(this.peek))break;if(this.advance(),A2(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 Px(l){const i=parseInt(l);if(isNaN(i))throw new Error("Invalid integer literal when parsing "+l);return i}(p):parseFloat(p);return function TS(l,i,a){return new al(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=Lx(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 kS(l,i,a){return new al(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()),xS(i,this.index,a)}error(i,a){const u=this.index+a;return function T2(l,i,a){return new al(l,i,on.Error,0,a)}(u,this.index,`Lexer Error: ${i} at column ${u} in expression [${this.input}]`)}}function LS(l){return ie<=l&&l<=am||Ku<=l&&l<=Cn||l==U||l==to}function PS(l){return Kl(l)||na(l)||l==U||l==to}function I2(l){return 101==l||69==l}function A2(l){return 45==l||43==l}function Lx(l){switch(l){case 110:return 10;case un:return 12;case 114:return 13;case 116:return Fr;case 118:return 11;default:return l}}class L2{constructor(i,a,u){this.strings=i,this.expressions=a,this.offsets=u}}class P2{constructor(i,a,u){this.templateBindings=i,this.warnings=a,this.errors=u}}class RS{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 tp(i,a,u,v,1,this.errors,0).parseChain();return new Qr(M,i,a,u,this.errors)}parseBinding(i,a,u,p=Bi){const f=this._parseBindingAst(i,a,u,p);return new Qr(f,i,a,u,this.errors)}checkSimpleExpression(i){const a=new OS;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 Qr(f,i,a,u,this.errors)}_reportError(i,a,u,p){this.errors.push(new jf(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 tp(i,a,u,v,0,this.errors,0).parseChain()}parseTemplateBindings(i,a,u,p,f){const v=this._lexer.tokenize(a);return new tp(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 j=0;jj.text),O,i,a,u)}parseInterpolationExpression(i,a,u){const p=this._stripComments(i),f=this._lexer.tokenize(p),v=new tp(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 Nc(0,u.length),M=new qo(v,v.toAbsolute(f),i,a);return new Qr(M,u,p,f,this.errors)}splitInterpolation(i,a,u,p=Bi){const f=[],v=[],M=[],L=u?function R2(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,j=!1,Z=!1,{start:de,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 Nc(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===IS?"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 Ee(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(xa))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(xa),!this.consumeOptionalCharacter(no)){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(no));this.rbracesExpected--,this.expectCharacter(no)}return new Wo(this.span(u),this.sourceSpan(u),i,a)}parseAccessMember(i,a,u){const p=this.inputIndex,f=this.withContext(sc.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 $a(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 ba(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 Ch(this.span(a),this.sourceSpan(a),i,p):new Fc(this.span(a),this.sourceSpan(a),i,p);if(!u){const f=this.parseConditional();return new za(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 R_(v,i,u)),f&&a.push(f),a}getDirectiveBoundTarget(){if(this.next===IS||this.peekKeywordAs()||this.peekKeywordLet())return null;const i=this.parsePipe(),{start:a,end:u}=i.span,p=this.input.substring(a,u);return new Qr(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 P_(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 P_(p,a,u)}consumeStatementTerminator(){this.consumeOptionalCharacter(59)||this.consumeOptionalCharacter(44)}error(i,a=null){this.errors.push(new jf(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 Dy extends O2{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,cj.forEach(i=>{const a=new Map,u=new Set,[p,f]=i.split("|"),v=f.split(","),[M,L]=p.split("^");M.split(",").forEach(j=>{this._schema.set(j.toLowerCase(),a),this._eventSchema.set(j.toLowerCase(),u)});const O=L&&this._schema.get(L.toLowerCase());if(O){for(const[j,Z]of O)a.set(j,Z);for(const j of this._eventSchema.get(L.toLowerCase()))u.add(j)}v.forEach(j=>{if(j.length>0)switch(j[0]){case"*":u.add(j.substring(1));break;case"!":a.set(j.substring(1),"boolean");break;case"#":a.set(j.substring(1),"number");break;case"%":a.set(j.substring(1),"object");break;default:a.set(j,"string")}})})}hasProperty(i,a,u){if(u.some(f=>f.name===K.name))return!0;if(i.indexOf("-")>-1){if(wa(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&&(wa(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=Rx()[i+"|"+a];return p||(p=Rx()["*|"+a],p||J.NONE)}getMappedPropName(i){return B2.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=>Pm.get(u)??u)}allKnownEventsOfElement(i){return Array.from(this._eventSchema.get(i.toLowerCase())??[])}normalizeAnimationStyleProperty(i){return function fE(l){return l.replace(pE,(...i)=>i[1].toUpperCase())}(i)}normalizeAnimationStyleValue(i,a,u){let p="";const f=u.toString().trim();let v=null;if(function V2(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=Ys.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 NS,np;function Yx(l){return np||(NS=new _n({canSelfClose:!0}),np=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:Ys.RAW_TEXT}),script:new _n({contentType:Ys.RAW_TEXT}),title:new _n({contentType:{default:Ys.ESCAPABLE_RAW_TEXT,svg:Ys.PARSABLE_DATA}}),textarea:new _n({contentType:Ys.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),(new Dy).allKnownElementNames().forEach(i=>{!np[i]&&null===Mh(i)&&(np[i]=new _n({canSelfClose:!1}))})),np[l]??np[l.toLowerCase()]??NS}const Bx={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 j2{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=Bx[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=Bx[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 H2=new RS(new yd);function Vx(l,i,a){const u=new uj(H2,l,i,a);return(p,f,v,M,L)=>u.toI18nMessage(p,f,v,M,L)}function FS(l,i){return i}class uj{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 Qh,icuDepth:0,placeholderRegistry:new j2,placeholderToContent:{},placeholderToMessage:{},visitNodeFn:f||FS},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=Yx(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 Bc(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 Da(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 jl(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=fj(L)||"INTERPOLATION",j=u.placeholderRegistry.getPlaceholderName(O,L);u.placeholderToContent[j]={text:M.parts.join(""),sourceSpan:M.sourceSpan},f.push(new ea(L,j,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 dj(l,i){if(i instanceof br&&(function YS(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 hj(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 gd&&(a instanceof Da&&u.i18n instanceof br&&(a.previousMessage=u.i18n),u.i18n=a),a};class Rm{constructor(i=Bi,a=!1,u=!1,p=gs,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=Vx(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 ep(a,this._errors)}visitElement(i){let a;if(function Wu(l){return l.attrs.some(i=>$_(i.name))}(i)){this.hasI18nMeta=!0;const u=[],p={};for(const f of i.attrs)if(f.name===nm){const v=i.i18n||f.value,M=new Map,L=this.preserveSignificantWhitespace?i.children:ru(new wy(!1,M),i.children);a=this._generateI18nMessage(L,v,Cy(M)),0===a.nodes.length&&(a=void 0),i.i18n=a}else if(f.name.startsWith(Ws)){const v=f.name.slice(Ws.length);$2(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 Da){const f=p.name;u=this._generateI18nMessage([i],p);Ca(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 Ux(l=""){let i,a,u;if(l=l.trim(),l){const p=l.indexOf(Hx),f=l.indexOf(jx);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),we(i,this.preserveSignificantWhitespace)];else if("string"!=typeof a){const u=a instanceof br?a:a instanceof Da?a.previousMessage:void 0;i.legacyIds=u?u.legacyIds:[]}}_reportError(i,a){this._errors.push(new ou(i.sourceSpan,a))}}const jx="|",Hx="@@";const W2="goog.getMsg";function $x(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(mS(sm(u,!0),!0)),f.push(mS({original_code:fn(Object.keys(u).map(L=>({key:qu(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(Dt(W2).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}),Fu(i)}(i));return[v,new Xs(l.set(a))]}const xo=new class sp{formatPh(i){return`{$${qu(i)}}`}visitText(i){return i.value}visitContainer(i){return i.children.map(a=>a.visit(this)).join("")}visitIcu(i){return gx(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 zx(l,i,a){const{messageParts:u,placeHolders:p}=function q2(l){const i=[],a=new mj(l.placeholderToMessage,i);return l.nodes.forEach(u=>u.visit(a)),function _j(l){const i=[],a=[];l[0]instanceof zs&&i.push(My(l[0].sourceSpan.start));for(let u=0;ua[O.text]),M=hw(i,u,p,v,f),L=l.set(M);return[new Xs(L)]}class mj{constructor(i,a){this.placeholderToMessage=i,this.pieces=a}visitText(i){if(this.pieces[this.pieces.length-1]instanceof Ya)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 Ya(i.value,a))}}visitContainer(i){i.children.forEach(a=>a.visit(this))}visitIcu(i){this.pieces.push(new Ya(gx(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 zs(qu(i,!1),a,u)}}function My(l){return new Ya("",new Xt(l,l))}const BS="ngI18nClosureMode",yj="i18n_",ic="I18N_EXP_",Ey="\ufffd",VS="MSG_";function Wx(l){return`${VS}${l}`.toUpperCase()}function ip(l){return new Fi(l.name,void 0,Bt,void 0,l.sourceSpan)}function HS(l,i,a,u){const p=[],f=new Map;for(const O of u.subMessages){const j=a.get(O),{mainVar:Z,statements:de}=HS(l,i,a,j);p.push(...de);const ke=f.get(j.messagePlaceholder)??[];ke.push(Z),f.set(j.messagePlaceholder,ke)}(function US(l,i){for(const[a,u]of i)1===u.length?l.params.set(a,u[0]):(l.params.set(a,ne(`${Ey}${ic}${a}${Ey}`)),l.postprocessingParams.set(a,qt(u)))})(u,f),u.params=new Map([...u.params.entries()].sort());const v=Dt(l.pool.uniqueName(yj)),M=function K2(l,i,a,u){let p;const f=a;if(u){const v=Wx("EXTERNAL_"),M=l.uniqueName(f);p=`${v}${zc(i)}$$${M}`}else{const v=Wx(f);p=l.uniqueName(v)}return Dt(p)}(l.pool,u.message.id,i,l.i18nUseExternalIds);let L;if(u.needsPostprocessing||u.postprocessingParams.size>0){const j=sm(Object.fromEntries([...u.postprocessingParams.entries()].sort()),!1),Z=[];u.postprocessingParams.size>0&&Z.push(mS(j,!0)),L=de=>Ve(te.i18nPostprocess).callFn([de,...Z])}return p.push(...function xy(l,i,a,u,p){const f=Object.fromEntries(u),v=[ip(i),gt(G2(),$x(i,l,a,f),zx(i,l,sm(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 G2(){return wn(Dt(BS)).notIdentical(ne("undefined",sn)).and(Dt(BS))}function X2(l){const i=[];for(const a of l)i.push(ne(a.name),ne(a.target));return qt(i)}function $S(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 rp(l){return l.replace(/[a-z][A-Z]/g,i=>i.charAt(0)+"-"+i.charAt(1)).toLowerCase()}function Om(l,i,a,u){null===l.fnName&&(l.fnName=l.job.pool.uniqueName(zc(`${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=zc(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=zc(`${l.fnName}_${f.tag.replace("-","_")}_${f.name}_${f.targetSlot.slot}_listener`);break;case B.Variable:p.set(f.xref,Z2(l,f.variable,a));break;case B.RepeaterCreate:if(!(l instanceof nu))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){Om(l.job.views.get(f.emptyView),`${i}_${f.functionNameSuffix}Empty_${f.handle.slot+2}`,a,u)}Om(l.job.views.get(f.xref),`${i}_${f.functionNameSuffix}_${f.handle.slot+1}`,a,u);break;case B.Projection:if(!(l instanceof nu))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){Om(l.job.views.get(f.fallbackView),`${i}_ProjectionFallback_${f.handle.slot}`,a,u)}break;case B.Template:if(!(l instanceof nu))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");Om(M,`${i}${0===f.functionNameSuffix.length?"":`_${f.functionNameSuffix}`}_${f.handle.slot}`,a,u);break;case B.StyleProp:f.name=WS(f.name),u&&(f.name=qS(f.name));break;case B.ClassProp:u&&(f.name=qS(f.name))}for(const f of l.ops())Cr(f,v=>{if(v instanceof il&&null===v.name){if(!p.has(v.xref))throw new Error(`Variable ${v.xref} not yet named`);v.name=p.get(v.xref)}})}function Z2(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 WS(l){return l.startsWith("--")?l:rp(l)}function qS(l){const i=l.indexOf("!important");return i>-1?l.substring(0,i):l}function GS(l){for(const i of l){if(!(i.kind===B.Statement&&i.statement instanceof Xs&&i.statement.expr instanceof Bh))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(!is(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 J2(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 ll(l){return i=>i.kind===l}function bd(l,i){return a=>a.kind===l&&i===a.expression instanceof Ji}const wd=[{test:l=>l.kind===B.Listener&&l.hostListener&&l.isAnimationListener},{test:function Zx(l){return l.kind===B.Listener&&!(l.hostListener&&l.isAnimationListener)||l.kind===B.TwoWayListener}}],Jx=[{test:ll(B.StyleMap),transform:Ay},{test:ll(B.ClassMap),transform:Ay},{test:ll(B.StyleProp)},{test:ll(B.ClassProp)},{test:bd(B.Attribute,!0)},{test:bd(B.Property,!0)},{test:function Ty(l){return!(l.kind!==B.Property&&l.kind!==B.TwoWayProperty||l.expression instanceof Ji)}},{test:bd(B.Attribute,!1)}],QS=[{test:bd(B.HostProperty,!0)},{test:bd(B.HostProperty,!1)},{test:ll(B.Attribute)},{test:ll(B.StyleMap),transform:Ay},{test:ll(B.ClassMap),transform:Ay},{test:ll(B.StyleProp)},{test:ll(B.ClassProp)}],op=new Set([B.Listener,B.TwoWayListener,B.StyleMap,B.ClassMap,B.StyleProp,B.ClassProp,B.Property,B.TwoWayProperty,B.HostProperty,B.Attribute]);function Iy(l,i){let a=[],u=null;for(const p of l){const f=Fh(p)?p.target:null;(!op.has(p.kind)||f!==u&&null!==u&&null!==f)&&(ve.insertBefore(Nm(a,i),p),a=[],u=null),op.has(p.kind)&&(a.push(p),ve.remove(p),u=f??u)}l.push(Nm(a,i))}function Nm(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 Ay(l){return l.slice(l.length-1)}function eR(l){return"select"===l.toLowerCase()}function tR(l,i){const a=l.get(i);if(void 0===a)throw new Error("All attributes should have an slottable target.");return a}function nk(l){for(const i of l.update)Cr(i,(a,u)=>{if(is(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");sk(l,i.target,a)}else l.create.push(qE(a.target,a.targetSlot,a.name))}})}function sk(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=qE(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 XS(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=he(l.job.views.get(u.xref),a,u.i18nPlaceholder,i);break;case B.RepeaterCreate:i=he(l.job.views.get(u.xref),a,u.i18nPlaceholder,i),null!==u.emptyView&&(i=he(l.job.views.get(u.emptyView),a,u.emptyI18nPlaceholder,i))}return i}function he(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 rk(l,i){if(l.create.head.next?.kind!==B.I18nStart){const a=l.job.allocateXrefId();ve.insertAfter(cy(a,i.message,i.root,null),l.create.head),ve.insertBefore(Mo(a,null),l.create.tail)}}(l,i)}return XS(l,u)}class sR extends Bu{constructor(i){super(),this.numArgs=i}keyOf(i){return i instanceof eu?`param(${i.index})`:super.keyOf(i)}toSharedConstantDeclaration(i,a){const u=[];for(let f=0;ff instanceof eu?Dt("a"+f.index):f,Mn.None);return new Fi(i,new Gr(u,p),void 0,mt.Final)}}function Sd(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 eu(p))}return new Jc(qt(i),a)}function ZS(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 eu(p),u.quoted))}return new Jc(fn(i),a)}function Fm(l,i,a,u,p){return ap(te.element,l,i,a,u,p)}function ak(l,i,a,u,p){return ap(te.elementStart,l,i,a,u,p)}function ap(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)),pn(l,v,f)}function JS(l){return pn(te.elementEnd,[],l)}function eD(l,i,a,u){return ap(te.elementContainerStart,l,null,i,a,u)}function lk(l,i,a,u){return ap(te.elementContainer,l,null,i,a,u)}function iR(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(Ve(te.templateRefExtractor)));L[L.length-1].isEquivalent(Va);)L.pop();return pn(te.templateCreate,L,M)}function ck(l,i,a,u,p){const f=[ne(l),i];return null!==a&&(f.push(ne(!1)),f.push(Ve(a))),pn(u?te.syntheticHostListener:te.listener,f,p)}function uk(l,i){return Ve(te.twoWayBindingSet).callFn([l,i])}function aR(l,i,a){return pn(te.twoWayListener,[ne(l),i],a)}function lR(l,i){return pn(te.pipe,[ne(l),ne(i)],null)}function uR(l,i){return pn(te.advance,l>1?[ne(l)]:[],i)}function nD(l,i,a){const u=[ne(l,null)];return""!==i&&u.push(ne(i)),pn(te.text,u,a)}function pk(l,i,a,u,p,f,v,M,L,O){const j=[ne(l),ne(i),a??ne(null),ne(u),ne(p),ne(f),v??ne(null),M??ne(null),L?Ve(te.deferEnableTimerScheduling):ne(null)];let Z;for(;null!==(Z=j[j.length-1])&&Z instanceof Is&&null===Z.value;)j.pop();return pn(te.defer,j,O)}const fR=new Map([[ts.Idle,[te.deferOnIdle,te.deferPrefetchOnIdle]],[ts.Immediate,[te.deferOnImmediate,te.deferPrefetchOnImmediate]],[ts.Timer,[te.deferOnTimer,te.deferPrefetchOnTimer]],[ts.Hover,[te.deferOnHover,te.deferPrefetchOnHover]],[ts.Interaction,[te.deferOnInteraction,te.deferPrefetchOnInteraction]],[ts.Viewport,[te.deferOnViewport,te.deferPrefetchOnViewport]]]);function mR(l,i,a,u){const p=fR.get(l);if(void 0===p)throw new Error(`Unable to determine instruction for trigger ${l}`);return pn(a?p[1]:p[0],i.map(v=>ne(v)),u)}function gR(l){return pn(te.projectionDef,l?[l]:[],null)}function fk(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(Dt(u),ne(p),ne(f)))),pn(te.projection,M,v)}function _R(l,i,a,u){const p=[ne(l),ne(i)];return null!==a&&p.push(ne(a)),pn(te.i18nStart,p,u)}function yR(l,i,a,u,p,f,v,M,L,O,j,Z,de,ke){const Be=[ne(l),Dt(i),ne(a),ne(u),ne(p),ne(f),v];return(M||null!==L)&&(Be.push(ne(M)),null!==L&&(Be.push(Dt(L),ne(O),ne(j)),(null!==Z||null!==de)&&Be.push(ne(Z)),null!==de&&Be.push(ne(de)))),pn(te.repeaterCreate,Be,ke)}function sD(l,i){return pn(te.repeater,[l],i)}function vR(l,i,a){return pn(l?te.deferPrefetchWhen:te.deferWhen,[i],a)}function bR(l,i){return pn(te.declareLet,[ne(l)],i)}function DR(l,i,a,u){const p=[ne(l),ne(i)];return a&&p.push(ne(a)),pn(te.i18n,p,u)}function cl(l){return pn(te.i18nEnd,[],l)}function iD(l,i){const a=[ne(l),ne(i)];return pn(te.i18nAttributes,a,null)}function CR(l,i,a,u){const p=[ne(l),i];return null!==a&&p.push(a),pn(te.property,p,u)}function MR(l,i,a,u){const p=[ne(l),i];return null!==a&&p.push(a),pn(te.twoWayProperty,p,u)}function mk(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)),pn(te.attribute,p,null)}function gk(l,i,a,u){const p=[ne(l),i];return null!==a&&p.push(ne(a)),pn(te.styleProp,p,u)}function Py(l,i,a){return pn(te.classProp,[ne(l),i],a)}function rD(l,i){return pn(te.styleMap,[l],i)}function bj(l,i){return pn(te.classMap,[l],i)}const oD=[te.pipeBind1,te.pipeBind2,te.pipeBind3,te.pipeBind4];function Ry(l,i,a){const u=au(l,i);return up(wk,[],u,[],a)}function aD(l,i){return pn(te.i18nExp,[l],i)}function rc(l,i){return pn(te.i18nApply,[ne(l)],i)}function ER(l,i,a,u,p){const f=au(i,a),v=[];return null!==u&&v.push(u),up(TR,[ne(l)],f,v,p)}function xR(l,i,a,u,p){const f=au(i,a),v=[];return null!==u&&v.push(u),up(AR,[ne(l)],f,v,p)}function lD(l,i,a,u,p){const f=au(i,a),v=[];return null!==u&&v.push(ne(u)),up(IR,[ne(l)],f,v,p)}function kR(l,i,a){const u=au(l,i);return up(LR,[],u,[],a)}function lp(l,i,a){const u=au(l,i);return up(PR,[],u,[],a)}function vk(l,i,a,u){const p=[ne(l),i];return null!==a&&p.push(a),pn(te.hostProperty,p,u)}function Dd(l,i,a){return pn(te.syntheticHostProperty,[ne(l),i],a)}function au(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}},TR={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}},IR={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}},AR={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}},LR={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}},PR={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}},RR={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 cD(l,i,a,u,p){const f=l.mapping(a.length);if(foD.length)throw new Error("pipeBind() argument count out of bounds");return Ve(oD[a.length-1]).callFn([ne(l),ne(i),...a])}(l.targetSlot.slot,l.varOffset,l.args);case rt.PipeBindingVariadic:return function yk(l,i,a){return Ve(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 SR(l){return Ve(te.readContextLet).callFn([ne(l)])}(l.targetSlot.slot);case rt.StoreLet:return function wR(l,i){return Ve(te.storeLet).callFn([l],i)}(l.value,l.sourceSpan);default:throw new Error(`AssertionError: Unsupported reification of ir.Expression kind: ${rt[l.kind]}`)}}function Dk(l,i,a,u){uD(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 Cd(l,i){const a=new Map;a.set(l.xref,Dt("ctx"));for(const u of i)switch(u.kind){case B.Variable:if(u.variable.kind===ci.Context)a.set(u.variable.view,new il(u.xref));break;case B.Listener:case B.TwoWayListener:Cd(l,u.handlerOps)}l===l.job.root&&a.set(l.xref,Dt("ctx"));for(const u of i)ei(u,p=>{if(p instanceof io){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 Ek(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 Qn(a.name)):a,Mn.InChildOperation)}function lu(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");Bm(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");Ny(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");Bm(M,f.i18nContext,f.i18nBlock,p),Ny(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)lu(l,O,a,u);else{if(null===f)throw Error("i18n tag placeholder should only occur inside an i18n block");M.templateKind===Sr.Structural?lu(l,O,a,u,M):(hD(l,O,M.handle.slot,M.i18nPlaceholder,f.i18nContext,f.i18nBlock,p),lu(l,O,a,u),xk(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 j=M.handle.slot+1,Z=l.views.get(M.xref);if(void 0===M.i18nPlaceholder)lu(l,Z,a,u);else{if(null===f)throw Error("i18n tag placeholder should only occur inside an i18n block");hD(l,Z,j,M.i18nPlaceholder,f.i18nContext,f.i18nBlock,p),lu(l,Z,a,u),xk(l,Z,j,M.i18nPlaceholder,f.i18nContext,f.i18nBlock,p),p=void 0}if(null!==M.emptyView){const de=M.handle.slot+2,ke=l.views.get(M.emptyView);if(void 0===M.emptyI18nPlaceholder)lu(l,ke,a,u);else{if(null===f)throw Error("i18n tag placeholder should only occur inside an i18n block");hD(l,ke,de,M.emptyI18nPlaceholder,f.i18nContext,f.i18nBlock,p),lu(l,ke,a,u),xk(l,ke,de,M.emptyI18nPlaceholder,f.i18nContext,f.i18nBlock,p),p=void 0}}}}function Bm(l,i,a,u){const{startName:p,closeName:f}=l.i18nPlaceholder;let v=ss.ElementTag|ss.OpenTag,M=l.handle.slot;void 0!==u&&(v|=ss.TemplateTag,M={element:M,template:u.handle.slot}),f||(v|=ss.CloseTag),dp(i.params,p,M,a.subTemplateIndex,v)}function Ny(l,i,a,u){const{closeName:p}=l.i18nPlaceholder;if(p){let f=ss.ElementTag|ss.CloseTag,v=l.handle.slot;void 0!==u&&(f|=ss.TemplateTag,v={element:v,template:u.handle.slot}),dp(i.params,p,v,a.subTemplateIndex,f)}}function hD(l,i,a,u,p,f,v){let{startName:M,closeName:L}=u,O=ss.TemplateTag|ss.OpenTag;L||(O|=ss.CloseTag),void 0!==v&&dp(p.params,M,v.handle.slot,f.subTemplateIndex,O),dp(p.params,M,a,BR(l,f,i),O)}function xk(l,i,a,u,p,f,v){const{closeName:M}=u,L=ss.TemplateTag|ss.CloseTag;M&&(dp(p.params,M,a,BR(l,f,i),L),void 0!==v&&dp(p.params,M,v.handle.slot,f.subTemplateIndex,L))}function BR(l,i,a){for(const u of a.create)if(u.kind===B.I18nStart)return u.subTemplateIndex;return i.subTemplateIndex}function dp(l,i,a,u,p){const f=l.get(i)??[];f.push({value:a,subTemplateIndex:u,flags:p}),l.set(i,f)}function wj(l,i,a,u){if(null!==l.i18nPlaceholder){const p=a.get(l.context),f=l.resolutionTime===Ju.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 kk(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:kk(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 il(p.get(v.name)):u.has(v.name)?new il(u.get(v.name)):new Ss(new io(l.job.root.xref),v.name);if(v instanceof Zc&&"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 il(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 HR=new Map([[J.HTML,te.sanitizeHtml],[J.RESOURCE_URL,te.sanitizeResourceUrl],[J.SCRIPT,te.sanitizeScript],[J.STYLE,te.sanitizeStyle],[J.URL,te.sanitizeUrl]]),UR=new Map([[J.HTML,te.trustConstantHtml],[J.RESOURCE_URL,te.trustConstantResourceUrl]]);function pD(l){return l.kind===B.ElementStart&&"iframe"===l.tag?.toLowerCase()}function hp(l){if(Array.isArray(l)){if(l.length>1)throw Error("AssertionError: Ambiguous security context");return l[0]||J.NONE}return l}function Tk(l,i){i.handlerOps.prepend([Kc(l.job.allocateXrefId(),{kind:ci.Context,name:null,view:l.xref},new Zc(l.xref),wr.None)]);for(const a of i.handlerOps)a.kind===B.Statement&&a.statement instanceof ri&&(a.statement.value=new gm(a.statement.value))}function Md(l){let i=0,a=[];for(const u of l){const p=new Map;Cr(u,(O,j)=>{j&Mn.InChildOperation||O instanceof tu&&p.set(O.xref,O)});let f=0;const v=new Set,M=new Set,L=new Map;Cr(u,(O,j)=>{j&Mn.InChildOperation||(O instanceof rs?(v.has(O.xref)||(v.add(O.xref),L.set(O.xref,`tmp_${i}_${f++}`)),mD(L,O)):O instanceof tu&&(p.get(O.xref)===O&&(M.add(O.xref),f--),mD(L,O)))}),a.push(...Array.from(new Set(L.values())).map(O=>so(new Fi(O)))),i++,(u.kind===B.Listener||u.kind===B.TwoWayListener)&&u.handlerOps.prepend(Md(u.handlerOps))}return a}function mD(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 Pk(l,i){if(!(i instanceof Nn)||0===i.args.length||i.args.length>2||!(i.receiver instanceof Ss&&i.receiver.receiver instanceof io)||i.receiver.receiver.view!==l)return!1;const[a,u]=i.args;return a instanceof Qn&&"$index"===a.name&&(1===i.args.length||!(!(u instanceof Qn)||"$item"!==u.name))}function GR(l){let i;switch(l.kind){case B.Property:case B.HostProperty:case B.Attribute:return i=1,l.expression instanceof Ji&&!function KR(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 pp(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 fp(l){const i=new Map;for(const a of l)a.kind===B.Variable&&a.flags&wr.AlwaysInline&&(Cr(a,u=>{if(is(u)&&By(u)!==Ri.None)throw new Error("AssertionError: A context-sensitive variable was marked AlwaysInline")}),i.set(a.xref,a)),ei(a,u=>u instanceof il&&i.has(u.xref)?i.get(u.xref).initializer.clone():u,Mn.None);for(const a of i.values())ve.remove(a)}function Yy(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,Rk(O)),XR(O,u,p)}let v=!1;for(const O of l.reversed()){const j=f.get(O);if(O.kind!==B.Variable||0!==u.get(O.xref))j.fences&Ri.ViewContextRead&&(v=!0);else{if(v&&j.fences&Ri.ViewContextWrite||j.fences&Ri.SideEffectful){const Z=so(O.initializer.toStmt());f.set(Z,j),ve.replace(O,Z)}else Ok(O,u),ve.remove(O);f.delete(O),a.delete(O.xref),u.delete(O.xref)}}const M=[];for(const[O,j]of u){const de=!!(a.get(O).flags&wr.AlwaysInline);1!==j||de||p.has(O)||M.push(O)}let L;for(;L=M.pop();){const O=a.get(L),j=f.get(O);if(O.flags&wr.AlwaysInline)throw new Error("AssertionError: Found an 'AlwaysInline' variable after the always inlining pass.");for(let de=O.next;de.kind!==B.ListEnd;de=de.next){const ke=f.get(de);if(ke.variablesUsed.has(L)){if(i===ur.TemplateDefinitionBuilder&&!ZR(O,de))break;if(jy(L,O.initializer,de,j.fences)){ke.variablesUsed.delete(L);for(const Be of j.variablesUsed)ke.variablesUsed.add(Be);ke.fences|=j.fences,a.delete(L),u.delete(L),f.delete(O),ve.remove(O)}break}if(!Vy(ke.fences,j.fences))break}}}function By(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 Rk(l){let i=Ri.None;const a=new Set;return Cr(l,u=>{if(is(u))if(u.kind===rt.ReadVariable)a.add(u.xref);else i|=By(u)}),{fences:i,variablesUsed:a}}function XR(l,i,a){Cr(l,(u,p)=>{if(!is(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 Ok(l,i){Cr(l,a=>{if(!is(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 Vy(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 jy(l,i,a,u){let p=!1,f=!0;return ei(a,(v,M)=>{if(!is(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=By(v);f=f&&Vy(L,u)}return v},Mn.None),p}function ZR(l,i){switch(l.variable.kind){case ci.Identifier:return l.initializer instanceof Qn&&"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 sO=[{kind:Ge.Tmpl,fn:function tk(l){for(const i of l.units){const a=uy(i);for(const u of i.ops())if(u.kind===B.Binding){const p=tR(a,u.target);eR(u.name)&&p.kind===B.Projection&&ve.remove(u)}}}},{kind:Ge.Host,fn:function Gh(l){for(const i of l.root.update)if(i.kind===B.Binding&&i.bindingKind===ot.Property)if(i.name.endsWith(Em)&&(i.name=i.name.substring(0,i.name.length-10)),i.name.startsWith("style.")){i.bindingKind=ot.StyleProperty,i.name=i.name.substring(6),fS(i.name)||(i.name=my(i.name));const{property:a,suffix:u}=md(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=md(i.name.substring(6)).property)}},{kind:Ge.Tmpl,fn:function Gx(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(qP(u.namespace),u),a=u.namespace)}}},{kind:Ge.Tmpl,fn:function ik(l){XS(l.root,0)}},{kind:Ge.Tmpl,fn:function JR(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(cy(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 o2(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 Ik(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,$P(a.target,a.name,a.expression,a.sourceSpan));break;case ot.StyleProperty:ve.replace(a,sl(a.target,a.name,a.expression,a.unit,a.sourceSpan));break;case ot.Property:case ot.Template:"style"===a.name?ve.replace(a,ty(a.target,a.expression,a.sourceSpan)):"class"===a.name&&ve.replace(a,Qw(a.target,a.expression,a.sourceSpan))}}},{kind:Ge.Both,fn:function JE(l){const i=new Map;for(const a of l.units)for(const u of a.create)Aa(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);e2(i,u.target).nonBindable=!0}else{const[p,f]=li(u.name);ve.replace(u,VE(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,QP(u.name,u.expression,u.bindingKind===ot.Animation,u.i18nContext,u.securityContext,u.sourceSpan)):ve.replace(u,BE(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,UP(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 aS(l){for(const i of l.units){const a=uy(i);for(const u of i.ops())switch(u.kind){case B.Attribute:JP(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),$h(a,u.target))}break;case B.TwoWayProperty:ve.insertBefore(Co(u.target,ot.TwoWayProperty,null,u.name,null,null,null,u.securityContext),$h(a,u.target));break;case B.StyleProp:case B.ClassProp:i.job.compatibility===ur.TemplateDefinitionBuilder&&u.expression instanceof ad&&ve.insertBefore(Co(u.target,ot.Property,null,u.name,null,null,null,J.STYLE),$h(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,$h(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,$h(a,u.target))}}}}},{kind:Ge.Tmpl,fn:function r2(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=XE(Gc.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=XE(Gc.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=XE(Gc.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=Gc.Icu}}},{kind:Ge.Both,fn:function ky(l){const i=new Map;for(const a of l.units)for(const u of a.create)Aa(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&&ro(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=$S(u.expression.value);for(let v=0;v""===p)&&(a.expression=a.expression.expressions[0])}},{kind:Ge.Both,fn:function ek(l){for(const i of l.units){Iy(i.create,wd);const a=i.job.kind===Ge.Host?QS:Jx;Iy(i.update,a)}}},{kind:Ge.Tmpl,fn:function hy(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 ym(v)}else u=ne(-1);let f=null==a.test?null:new rs(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 tu(f.xref);M.expr=new Wt(He.Identical,L,M.expr)}else if(null!==M.alias){const L=l.allocateXrefId();M.expr=new rs(M.expr,L),a.contextValue=new tu(L)}u=new yr(M.expr,new ym(M.targetSlot),u)}}a.processed=u,a.conditions=[]}}},{kind:Ge.Tmpl,fn:function nR(l){for(const i of l.units)nk(i)}},{kind:Ge.Tmpl,fn:function a2(l){for(const i of l.units)for(const a of i.create)a.kind===B.Defer&&(null!==a.placeholderMinimumTime&&(a.placeholderConfig=new ld(dd([a.placeholderMinimumTime]))),(null!==a.loadingMinimumTime||null!==a.loadingAfterTime)&&(a.loadingConfig=new ld(dd([a.loadingMinimumTime,a.loadingAfterTime]))))}},{kind:Ge.Tmpl,fn:function qx(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=sj(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),j=v.get(M.target),Z=O?O.context:L.context,de=O?Ju.Postproccessing:Ju.Creation,ke=[];for(let Be=0;Be!(u instanceof rd)||u.args.length<=4?u:new _m(u.target,u.targetSlot,u.name,qt(u.args),u.args.length),Mn.None)}},{kind:Ge.Both,fn:function Ly(l){for(const i of l.units)for(const a of i.update)ei(a,(u,p)=>p&Mn.InChildOperation?u:u instanceof Ls?Sd(u):u instanceof hs?ZS(u):u,Mn.None)}},{kind:Ge.Tmpl,fn:function oj(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:Ne(v));p=l.pool.getConstLiteral(dd(f),i)}l.contentSelectors=l.pool.getConstLiteral(dd(a),i),l.root.create.prepend([nS(p)])}}},{kind:Ge.Tmpl,fn:function nO(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,Kc(l.allocateXrefId(),u,new Yh(a.target,a.value,a.sourceSpan),wr.None))}}},{kind:Ge.Tmpl,fn:function v2(l){rl(l.root,null)}},{kind:Ge.Tmpl,fn:function Fy(l){for(const i of l.units){i.create.prepend([Kc(i.job.allocateXrefId(),{kind:ci.SavedView,name:null,view:i.xref},new Vh,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 sd||f instanceof id)&&(u=!0)});u&&Tk(i,a)}}}},{kind:Ge.Both,fn:function ZP(l){for(const i of l.units)for(const a of i.ops())ei(a,oS,Mn.None)}},{kind:Ge.Both,fn:function dr(l){for(const i of l.units)Ek(i.create),Ek(i.update)}},{kind:Ge.Tmpl,fn:function WR(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 Dt("$index");if(u.name===a.varNames.$implicit)return Dt("$item")}return u},Mn.None))}},{kind:Ge.Tmpl,fn:function tO(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 Yh))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 jR(l){for(const i of l.units)kk(i,i.create,null),kk(i,i.update,null)}},{kind:Ge.Tmpl,fn:function rx(l){const i=new Map;function a(p){if(i.has(p.xref))return i.get(p.xref);const f=new ox;for(const v of p.create)if(Aa(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 ts.Idle:case ts.Immediate:case ts.Timer:return;case ts.Hover:case ts.Interaction:case ts.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 j of O.create)if(ra(j)&&(Aa(j)||j.kind===B.Projection))return f.trigger.targetXref=j.xref,f.trigger.targetView=v,f.trigger.targetSlotViewSteps=-1,void(f.trigger.targetSlot=j.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:j,slot:Z}=O.targets.get(f.trigger.targetName);return f.trigger.targetXref=j,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 fD(l){for(const i of l.units)for(const a of i.create)a.kind===B.TwoWayListener&&ei(a,u=>{if(!(u instanceof iy))return u;const{target:p,value:f}=u;if(p instanceof Ss||p instanceof Zn)return uk(p,f).or(p.set(f));if(p instanceof il)return uk(p,f);throw new Error("Unsupported expression in two-way action binding.")},Mn.InChildOperation)}},{kind:Ge.Tmpl,fn:function Lk(l){for(const i of l.units)for(const a of i.create)a.kind===B.RepeaterCreate&&(a.track instanceof Qn&&"$index"===a.track.name?a.trackByFn=Ve(te.repeaterTrackByIndex):a.track instanceof Qn&&"$item"===a.track.name?a.trackByFn=Ve(te.repeaterTrackByIdentity):Pk(l.root.xref,a.track)?(a.usesComponentInstance=!0,a.track.receiver.receiver.view===i.xref?a.trackByFn=a.track.receiver:(a.trackByFn=Ve(te.componentInstance).callFn([]).prop(a.track.receiver.name),a.track=a.trackByFn)):a.track=Xe(a.track,u=>u instanceof io?(a.usesComponentInstance=!0,new mm(u.view)):u,Mn.None))}},{kind:Ge.Both,fn:function Ym(l){for(const i of l.units)Cd(i,i.create),Cd(i,i.update)}},{kind:Ge.Both,fn:function $R(l){for(const i of l.units){const a=uy(i);if(l.kind!==Ge.Host)for(const u of i.create)if(u.kind===B.ExtractedAttribute){const p=UR.get(hp(u.securityContext))??null;u.trustedValueFn=null!==p?Ve(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:HR.get(hp(u.securityContext))??null,u.sanitizer=null!==p?Ve(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||!Aa(v))throw Error("Property should have an element-like owner");f=pD(v)}f&&Nx(u.name)&&(u.sanitizer=Ve(te.validateIframeAttribute))}}}}},{kind:Ge.Tmpl,fn:function Q2(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=X2(a.localRefs);a.localRefs=l.addConst(u)}else a.localRefs=null}}},{kind:Ge.Both,fn:function Xx(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 rs(u.lhs.clone(),l.allocateXrefId()),f=new tu(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 cx(l){for(const i of l.units)for(const a of i.ops())ei(a,u=>p2(u,{job:l}),Mn.None),ei(a,f2,Mn.None)}},{kind:Ge.Both,fn:function zR(l){for(const i of l.units)i.create.prepend(Md(i.create)),i.update.prepend(Md(i.update))}},{kind:Ge.Both,fn:function QR(l){for(const i of l.units){fp(i.create),fp(i.update);for(const a of i.create)(a.kind===B.Listener||a.kind===B.TwoWayListener)&&fp(a.handlerOps);Yy(i.create,l.compatibility),Yy(i.update,l.compatibility);for(const a of i.create)(a.kind===B.Listener||a.kind===B.TwoWayListener)&&Yy(a.handlerOps,l.compatibility)}}},{kind:Ge.Both,fn:function eO(l){const i=new Set;for(const a of l.units)for(const u of a.ops())Cr(u,p=>{p instanceof id&&i.add(p.target)});for(const a of l.units)for(const u of a.update)ei(u,p=>p instanceof Yh&&!i.has(p.target)?p.value:p,Mn.None)}},{kind:Ge.Tmpl,fn:function Vm(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 YR(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)}lu(l,l.root,i,a)}},{kind:Ge.Tmpl,fn:function VR(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===qc.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;wj(M,{value:L,subTemplateIndex:i.get(M.i18nOwner)??null,flags:ss.ExpressionIndex},a,u),p.set(f(M),L+1)}}},{kind:Ge.Tmpl,fn:function px(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=ao(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!==Gc.Icu)continue;const L=a.get(M.i18nBlock);if(L.context===M.xref)continue;const O=a.get(L.root),j=i.get(O.context);if(void 0===j)throw Error("AssertionError: ICU sub-message should belong to a root message.");const Z=i.get(M.xref);Z.messagePlaceholder=v.messagePlaceholder,j.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(rj(v))),ve.remove(v)}}},{kind:Ge.Tmpl,fn:function Ak(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 rd||v instanceof _m)throw new Error("Illegal State: Pipes are not allowed in this context");return v instanceof mm?(u=!0,Dt("this")):v},Mn.None);const f=[new Tt("$index"),new Tt("$item")];p=u?new or(f,[new ri(a.track)]):Lt(f,a.track),a.trackByFn=l.pool.getSharedFunctionReference(p,"_forTrack")}}},{kind:Ge.Tmpl,fn:function jS(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 j=a.get(O.i18nContext)??[];j.push(O),a.set(O.i18nContext,j)}else if(O.kind===B.I18nAttributes)u.set(O.target,O);else if(O.kind===B.I18nExpression&&O.usage===qc.I18nAttribute){const j=p.get(O.target)??[];j.push(O),p.set(O.target,j)}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:j,statements:Z}=HS(l,i,f,O);if(null!==O.i18nBlock){const de=l.addConst(j,Z);M.set(O.i18nBlock,de)}else{l.constsInitializers.push(...Z),v.set(O.i18nContext,j);const de=a.get(O.i18nContext);if(void 0!==de)for(const ke of de)ke.expression=j.clone()}}ve.remove(O)}for(const L of l.units)for(const O of L.create)if(Aa(O)){const j=u.get(O.xref);if(void 0===j)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 de=new Set;Z=Z.filter(Be=>{const Je=de.has(Be.name);return de.add(Be.name),!Je});const ke=Z.flatMap(Be=>{const Je=v.get(Be.context);if(void 0===Je)throw new Error("AssertionError: Could not find i18n expression's value");return[ne(Be.name),Je]});j.i18nAttributesConfig=l.addConst(new Ls(ke))}for(const L of l.units)for(const O of L.create)if(O.kind===B.I18nStart){const j=M.get(O.root);if(void 0===j)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=j}}},{kind:Ge.Tmpl,fn:function hS(l){for(const i of l.units)for(const a of i.ops())ei(a,u=>u instanceof ld?ne(l.addConst(u.expr)):u,Mn.None)}},{kind:Ge.Both,fn:function tx(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 s2(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 gn)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=cS(p);f.entries.length>0&&(u.attributes=f)}}else Aa(u)&&(u.attributes=nx(l,i,u.xref),u.kind===B.RepeaterCreate&&null!==u.emptyView&&(u.emptyAttributes=nx(l,i,u.emptyView)));else if(l instanceof Uh)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=cS(u);p.entries.length>0&&(l.root.attributes=p)}}},{kind:Ge.Tmpl,fn:function dD(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 qR(l){for(const i of l.units){let a=0;for(const u of i.ops())ed(u)&&(a+=GR(u));for(const u of i.ops())Cr(u,p=>{is(p)&&(l.compatibility===ur.TemplateDefinitionBuilder&&p instanceof Jc||(YE(p)&&(p.varOffset=a),ed(p)&&(a+=pp(p))))});if(l.compatibility===ur.TemplateDefinitionBuilder)for(const u of i.ops())Cr(u,p=>{!is(p)||!(p instanceof Jc)||(YE(p)&&(p.varOffset=a),ed(p)&&(a+=pp(p)))});i.vars=a}if(l instanceof gn)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 fx(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(Fh(p)?f=p:Cr(p,M=>{null===f&&Fh(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(ny(M,f.sourceSpan),p),u=v}}}}},{kind:Ge.Both,fn:function zS(l){Om(l.root,l.componentName,{index:0},l.compatibility===ur.TemplateDefinitionBuilder)}},{kind:Ge.Tmpl,fn:function i2(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 vd(l){for(const i of l.units){for(const a of i.create)(a.kind===B.Listener||a.kind===B.TwoWayListener)&&GS(a.handlerOps);GS(i.update)}}},{kind:Ge.Tmpl,fn:function KS(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 lx(l){for(const i of l.units)for(const a of i.create){const u=ax.get(a.kind);if(void 0===u)continue;const[p,f]=u;let v=a.prev;for(;null!==v&&py.has(v.kind);)v=v.prev;null!==v&&v.kind===p&&(v.kind=f,ve.remove(a))}}},{kind:Ge.Tmpl,fn:function Qx(l){const i=new Map;for(const a of l.units)for(const u of a.create)Aa(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(ay(u.xref),u),(u.kind===B.ElementEnd||u.kind===B.ContainerEnd)&&J2(i,u.xref).nonBindable&&ve.insertBefore(WP(u.xref),u)}},{kind:Ge.Both,fn:function ok(l){for(const i of l.units)for(const a of i.ops())Cr(a,u=>{if(!(u instanceof Jc)||null===u.body)return;const p=new sR(u.args.length);u.fn=l.pool.getSharedConstant(p,u.body),u.body=null})}},{kind:Ge.Both,fn:function OR(l){for(const i of l.units)FR(i,i.create),uD(i,i.update)}},{kind:Ge.Both,fn:function oo(l){for(const i of l.units)dy(i.create),dy(i.update)}}];function Hy(l,i){for(const a of sO)(a.kind===i||a.kind===Ge.Both)&&a.fn(l)}function jm(l,i){const a=_D(l.root);return gD(l.root,i),a}function gD(l,i){for(const a of l.job.units){if(a.parent!==l.xref)continue;gD(a,i);const u=_D(a);i.statements.push(u.toDeclStmt(u.name))}}function _D(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=Uy(1,i),p=Uy(2,a);return Ho([new Tt("rf"),new Tt("ctx")],[...u,...p],void 0,void 0,l.fnName)}function Uy(l,i){return 0===i.length?[]:[gt(new Wt(He.BitwiseAnd,Dt("rf"),ne(l)),i)]}const Um=ur.TemplateDefinitionBuilder,mp=new Dy,Ed="ng-template";function $y(l){return l instanceof br}function rO(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(Qc(l.root.xref,a,i.name,p,null,u,!1,!1,null,null,i.sourceSpan))}function Fk(l,i,a,u){const p=Qc(l.root.xref,ot.Attribute,i,a,null,u,!0,!1,null,null,a.sourceSpan);l.root.update.push(p)}function Yk(l,i){const[a,u]=i.type!==vr.Animation?[null,i.targetOrPhase]:[i.targetOrPhase,null],p=tS(l.root.xref,new oa,i.name,null,bD(l.root,i.handler,i.handlerSpan),a,u,!0,i.sourceSpan);l.root.create.push(p)}function ul(l,i){for(const a of i)if(a instanceof Zr)vD(l,a);else if(a instanceof Bn)oO(l,a);else if(a instanceof Es)aO(l,a);else if(a instanceof Sa)Bk(l,a,null);else if(a instanceof Ka)Vk(l,a,null);else if(a instanceof Gf)lO(l,a);else if(a instanceof Yc)cO(l,a);else if(a instanceof $u)uO(l,a);else if(a instanceof Qa)dO(l,a);else if(a instanceof xh)hO(l,a);else{if(!(a instanceof rn))throw new Error(`Unsupported template node: ${a.constructor.name}`);$m(l,a)}}function vD(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 WE(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,...Jl,...Zt}}(p,a,n2(u),i.i18n instanceof Jo?i.i18n:void 0,i.startSourceSpan,i.sourceSpan);l.create.push(f),function pO(l,i,a){let u=new Array,p=new Set;for(const f of a.attributes){const v=mp.securityContext(a.name,f.name,!0);u.push(Qc(i.xref,ot.Attribute,f.name,zm(l.job,f.value,f.i18n),null,v,!0,!1,null,dl(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(Qc(i.xref,jk.get(f.type),f.name,zm(l.job,yp(f.value),f.i18n),f.unit,f.securityContext,!1,!1,null,dl(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(ly(i.xref,i.handle,f.name,i.tag,Hk(l,f.handler,f.handlerSpan),f.sourceSpan)):l.create.push(tS(i.xref,i.handle,f.name,i.tag,bD(l,f.handler,f.handlerSpan),f.phase,f.target,!1,f.sourceSpan))}null!==u.some(f=>f?.i18nMessage)&&l.create.push(iS(l.job.allocateXrefId(),new oa,i.xref))}(l,f,i),Uk(f,i);let v=null;i.i18n instanceof br&&(v=l.job.allocateXrefId(),l.create.push(cy(v,i.i18n,void 0,i.startSourceSpan))),ul(l,i.children);const M=function eS(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 oO(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=n2(p),M=null===u?"":zh(u,v),L=function _p(l){return li(l.tagName??"")[1]===Ed}(i)?Sr.NgTemplate:Sr.Structural,O=bm(a.xref,L,u,M,v,f,i.startSourceSpan,i.sourceSpan);l.create.push(O),function fO(l,i,a,u){let p=new Array;for(const f of a.templateAttrs)if(f instanceof Uu){const v=mp.securityContext(Ed,f.name,!0);p.push(zy(l,i.xref,vn.Attribute,f.name,f.value,null,v,!0,u,dl(f.i18n),f.sourceSpan))}else p.push(zy(l,i.xref,f.type,f.name,yp(f.value),f.unit,f.securityContext,!0,u,dl(f.i18n),f.sourceSpan));for(const f of a.attributes){const v=mp.securityContext(Ed,f.name,!0);p.push(zy(l,i.xref,vn.Attribute,f.name,f.value,null,v,!1,u,dl(f.i18n),f.sourceSpan))}for(const f of a.inputs)p.push(zy(l,i.xref,f.type,f.name,yp(f.value),f.unit,f.securityContext,!1,u,dl(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(ly(i.xref,i.handle,f.name,i.tag,Hk(l,f.handler,f.handlerSpan),f.sourceSpan)):l.create.push(tS(i.xref,i.handle,f.name,i.tag,bD(l,f.handler,f.handlerSpan),f.phase,f.target,!1,f.sourceSpan))),u===Sr.Structural&&f.type!==vr.Animation){const v=mp.securityContext(Ed,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(iS(l.job.allocateXrefId(),new oa,i.xref))}(l,O,i,L),Uk(O,i),ul(a,i.children);for(const{name:j,value:Z}of i.variables)a.contextVariables.set(j,""!==Z?Z:"$implicit");if(L===Sr.NgTemplate&&i.i18n instanceof br){const j=l.job.allocateXrefId();ve.insertAfter(cy(j,i.i18n,void 0,i.startSourceSpan),a.create.head),ve.insertBefore(Mo(j,i.endSourceSpan??i.startSourceSpan),a.create.tail)}}function aO(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 Hu||f instanceof Sa&&!(f.value.trim().length>0)))&&(a=l.job.allocateView(l.xref),ul(a,i.children));const p=function GE(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,...Jl,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=mp.securityContext(i.name,f.name,!0);l.update.push(Qc(p.xref,ot.Attribute,f.name,ne(f.value),null,v,!0,!1,null,dl(f.i18n),f.sourceSpan))}l.create.push(p)}function Bk(l,i,a){l.create.push(Mt(l.job.allocateXrefId(),i.value,a,i.sourceSpan))}function Vk(l,i,a){let u=i.value;if(u instanceof Qr&&(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(Mt(f,"",a,i.sourceSpan));const v=l.job.compatibility?null:i.sourceSpan;l.update.push(function ey(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 lO(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=ij.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 Ee)return new io(i.root.xref);if(l instanceof Fc)return new Zn(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 hs(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 Wa)return new rd(i.allocateXrefId(),new oa,l.name,[Jt(l.exp,i,a),...l.args.map(u=>Jt(u,i,a))]);if(l instanceof Ch)return new Hh(Jt(l.receiver,i,a),Jt(l.key,i,a),Oi(l.span,a));if(l instanceof $a)return new jh(Jt(l.receiver,i,a),l.name);if(l instanceof ba)return new ks(Jt(l.receiver,i,a),l.args.map(u=>Jt(u,i,a)));if(l instanceof Zs)return new ad(Oi(l.span,a));if(l instanceof Di)return Yu(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 zm(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(dl(a)?.placeholders??{})):i instanceof Ms?Jt(i,l,u??null):ne(i),p}const jk=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 dl(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 zy(l,i,a,u,p,f,v,M,L,O,j){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 de=jk.get(a);return L===Sr.NgTemplate&&(a===vn.Class||a===vn.Style||a===vn.Attribute&&!Z)&&(de=ot.Property),Qc(i,de,u,zm(l.job,p,O),f,v,Z,M,L,O,j)}function bD(l,i,a){i=yp(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=>so(new Xs(M,M.sourceSpan)))),u.push(so(new ri(v,v.sourceSpan))),u}function Hk(l,i,a){i=yp(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 iy(p,f);return u.push(so(new Xs(v))),u.push(so(new ri(f))),u}function yp(l){return l instanceof Qr?l.ast:l}function Uk(l,i){!function $k(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 Wy(l,i,a){let u=null;for(const p of a.children)if(!(p instanceof Hu)){if(null!==u)return null;(p instanceof Zr||p instanceof Bn&&null!==p.tagName)&&(u=p)}if(null!==u){for(const f of u.attributes){const v=mp.securityContext(Ed,f.name,!0);l.update.push(Qc(i,ot.Attribute,f.name,ne(f.value),null,v,!0,!1,null,dl(f.i18n),f.sourceSpan))}for(const f of u.inputs)if(f.type!==vn.Animation&&f.type!==vn.Attribute){const v=mp.securityContext(Ed,f.name,!0);l.create.push(Co(i,ot.Property,null,f.name,null,null,null,v))}const p=u instanceof Zr?u.name:u.tagName;return p===Ed?null:p}return null}function qy(l,i){return gt(Dt(jc).bitwiseAnd(ne(l),null,!1),i)}function Wk(l,i,a,u){const p=[];void 0!==u&&p.push(...u),l.isSignal&&p.push(new Ss(Dt(Ul),l.propertyName)),p.push(function mO(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 Ve(te.resolveForwardRef).callFn([l.predicate.expression])}}(l,i),ne(function zk(l){return(l.descendants?1:0)|(l.static?2:0)|(l.emitDistinctChangesOnly?4:0)}(l))),l.read&&p.push(l.read);return Ve(l.isSignal?a.signalBased:a.nonSignal).callFn(p)}const oc=Symbol("queryAdvancePlaceholder");function kd(l){const i=[];let a=0;const u=()=>{a>0&&(i.unshift(Ve(te.queryAdvance).callFn(1===a?[]:[ne(a)]).toStmt()),a=0)};for(let p=l.length-1;p>=0;p--){const f=l[p];f===oc?a++:(u(),i.unshift(f))}return u(),i}class wD extends MS{constructor(){super(Yx)}parse(i,a,u){return super.parse(i,a,u)}}const Kk="animate-";class yO{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,j=this._parseTemplateBindings(i,a,u,O,p);for(const Z of j){const de=cu(u,Z.sourceSpan),ke=Z.key.source,Be=cu(u,Z.key.span);if(Z instanceof P_){const Je=Z.value?Z.value.source:"$implicit",ct=Z.value?cu(u,Z.value.span):void 0;M.push(new An(ke,Je,de,Be,ct))}else if(Z.value){const Je=L?de:u,ct=cu(u,Z.value.ast.sourceSpan);this._parsePropertyAst(ke,Z.value,!1,Je,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,Ql.WARNING)}),M.templateBindings}catch(M){return this._reportError(`${M}`,u),[]}}parseLiteralAttr(i,a,u,p,f,v,M,L){Td(i)?(i=i.substring(1),void 0!==L&&(L=cu(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,Ql.ERROR),this._parseAnimation(i,a,u,p,L,f,v,M)):M.push(new qa(i,this._exprParser.wrapLiteralPrimitive(a,"",p),Ga.LITERAL_ATTR,u,L,f))}parsePropertyBinding(i,a,u,p,f,v,M,L,O,j){0===i.length&&this._reportError("Property name is missing in binding",f);let Z=!1;i.startsWith(Kk)?(Z=!0,i=i.substring(8),void 0!==j&&(j=cu(j,new Wi(j.start.offset+8,j.end.offset)))):Td(i)&&(Z=!0,i=i.substring(1),void 0!==j&&(j=cu(j,new Wi(j.start.offset+1,j.end.offset)))),Z?this._parseAnimation(i,a,f,v,j,M,L,O):this._parsePropertyAst(i,this.parseBinding(a,u,M||f,v),p,f,j,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 qa(i,a,u?Ga.TWO_WAY:Ga.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 qa(i,O,Ga.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 Hf(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 j=M.indexOf(":");if(j>-1){const Z=M.substring(0,j),de=M.substring(j+1);M=ju(Z,de)}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 j=this._schemaRegistry.getMappedPropName(a.name);M=p?j:a.name,O=Ui(this._schemaRegistry,i,j,!1),v=a.type===Ga.TWO_WAY?vn.TwoWay:vn.Property,u||this._validatePropertyOrAttributeName(j,a.sourceSpan,!1)}return new Hf(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),Td(i)?(i=i.slice(1),void 0!==L&&(L=cu(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 _w(l,".",i)}(i,[i,""]),L=M[0],O=M[1].toLowerCase(),j=this._parseAction(a,p);f.push(new wo(L,O,vr.Animation,j,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,j]=function mE(l,i){return _w(l,":",i)}(i,[null,i]),Z=this.errors.length,de=this._parseAction(a,f),ke=this.errors.length===Z;v.push([i,de.source]),u&&ke&&!this._isAllowedAssignmentEvent(de)&&this._reportError("Unsupported expression in a two-way binding",p),M.push(new wo(j,O,u?vr.TwoWay:vr.Regular,de,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=Ql.ERROR){this.errors.push(new Ct(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,Ql.ERROR)}_isAllowedAssignmentEvent(i){return i instanceof Qr?this._isAllowedAssignmentEvent(i.ast):i instanceof Ko?this._isAllowedAssignmentEvent(i.expression):i instanceof zo||i instanceof Fc||!!this._allowInvalidAssignmentEvents&&(i instanceof ai?("&&"===i.operation||"||"===i.operation||"??"===i.operation)&&(i.right instanceof zo||i.right instanceof Fc):i instanceof me||i instanceof Di)}}function Td(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 cu(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 CD=/^([^:/?#]+):/;function vp(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 Zk(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 Qy(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 Qy{constructor(i,a,u,p,f){this.type=i,this.selectAttr=a,this.hrefAttr=u,this.nonBindable=p,this.projectAs=f}}const Jk=/^\s*([0-9A-Za-z_$]*)\s+of\s+([\S\s]*)/,wO=/^track\s+([\S\s]*)/,Gm=/^(as\s)+(.*)/,ED=/^else[^\S\r\n]+if/,SO=/^let\s+([\S\s]*)/,eT=/(\s*)(\S+)(\s*)/,Km=new Set(["$index","$first","$last","$even","$odd","$count"]);function tT(l){return"empty"===l}function nT(l){return"else"===l||ED.test(l)}function DO(l,i,a,u){const p=function sT(l){const i=[];let a=!1;for(let u=0;u1&&u0&&i.push(new Ct(p.startSourceSpan,"@else block cannot have parameters")),a=!0):ED.test(p.name)||i.push(new Ct(p.startSourceSpan,`Unrecognized conditional block @${p.name}`))}return i}(i),f=[],v=xD(l,p,u);null!==v&&f.push(new et(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(ED.test(Z.name)){const de=xD(Z,p,u);if(null!==de){const ke=Ft(a,Z.children,Z.children);f.push(new et(de.expression,ke,de.expressionAlias,Z.sourceSpan,Z.startSourceSpan,Z.endSourceSpan,Z.nameSpan,Z.i18n))}}else if("else"===Z.name){const de=Ft(a,Z.children,Z.children);f.push(new et(null,de,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 j=f[f.length-1];return void 0!==j&&(O=new Xt(M.start,j.sourceSpan.end)),{node:new Gf(f,O,l.startSourceSpan,L,l.nameSpan),errors:p}}function CO(l,i,a,u){const p=[],f=function MO(l,i,a){if(0===l.parameters.length)return i.push(new Ct(l.startSourceSpan,"@for loop does not have an expression")),null;const[u,...p]=l.parameters,f=function xO(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 Ct(l.sourceSpan,"Unclosed parentheses in expression")),null):a.slice(f,v)}(u,i)?.match(Jk);if(!f||0===f[2].trim().length)return i.push(new Ct(u.sourceSpan,'Cannot parse expression. @for loop expression must match the pattern " of "')),null;const[,v,M]=f;Km.has(v)&&i.push(new Ct(u.sourceSpan,`@for loop item name cannot be one of ${Array.from(Km).join(", ")}.`));const L=u.expression.split(" ")[0],O=new Xt(u.sourceSpan.start,u.sourceSpan.start.moveBy(L.length)),j={itemName:new Ki(v,"$implicit",O,O),trackBy:null,expression:Id(u,a,M),context:Array.from(Km,Z=>{const de=new Xt(l.startSourceSpan.end,l.startSourceSpan.end);return new Ki(Z,Z,de,de)})};for(const Z of p){const de=Z.expression.match(SO);if(null!==de){const Be=new Xt(Z.sourceSpan.start.moveBy(de[0].length-de[1].length),Z.sourceSpan.end);EO(Z.sourceSpan,de[1],Be,v,j.context,i);continue}const ke=Z.expression.match(wO);if(null===ke)i.push(new Ct(Z.sourceSpan,`Unrecognized @for loop paramater "${Z.expression}"`));else if(null!==j.trackBy)i.push(new Ct(Z.sourceSpan,'@for loop can only have one "track" expression'));else{const Be=Id(Z,a,ke[1]);Be.ast instanceof Zs&&i.push(new Ct(l.startSourceSpan,'@for loop must have a "track" expression'));const Je=new Xt(Z.sourceSpan.start,Z.sourceSpan.start.moveBy(5));j.trackBy={expression:Be,keywordSpan:Je}}}return j}(l,p,u);let v=null,M=null;for(const L of i)"empty"===L.name?null!==M?p.push(new Ct(L.sourceSpan,"@for loop can only have one @empty block")):L.parameters.length>0?p.push(new Ct(L.sourceSpan,"@empty block cannot have parameters")):M=new fs(Ft(a,L.children,L.children),L.sourceSpan,L.startSourceSpan,L.endSourceSpan,L.nameSpan,L.i18n):p.push(new Ct(L.sourceSpan,`Unrecognized @for loop block "${L.name}"`));if(null!==f)if(null===f.trackBy)p.push(new Ct(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 xh(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 iT(l){const i=[];let a=!1;if(1!==l.parameters.length)return i.push(new Ct(l.startSourceSpan,"@switch block must have exactly one parameter")),i;for(const u of l.children)if(!(u instanceof Xh||u instanceof Kh&&0===u.value.trim().length)){if(!(u instanceof $r)||"case"!==u.name&&"default"!==u.name){i.push(new Ct(u.sourceSpan,"@switch block can only contain @case and @default blocks"));continue}"default"===u.name?(a?i.push(new Ct(u.startSourceSpan,"@switch block can only have one @default block")):u.parameters.length>0&&i.push(new Ct(u.startSourceSpan,"@default block cannot have parameters")),a=!0):"case"===u.name&&1!==u.parameters.length&&i.push(new Ct(u.startSourceSpan,"@case block must have exactly one parameter"))}return i}(l),p=l.parameters.length>0?Id(l.parameters[0],a):a.parseBinding("",!1,l.sourceSpan,0),f=[],v=[];let M=null;for(const L of l.children){if(!(L instanceof $r))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?Id(L.parameters[0],a):null,j=new qf(O,Ft(i,L.children,L.children),L.sourceSpan,L.startSourceSpan,L.endSourceSpan,L.nameSpan,L.i18n);null===O?M=j:f.push(j)}return null!==M&&f.push(M),{node:new Yc(p,f,v,l.sourceSpan,l.startSourceSpan,l.endSourceSpan,l.nameSpan),errors:u}}function EO(l,i,a,u,p,f){const v=i.split(",");let M=a.start;for(const L of v){const O=L.split("="),j=2===O.length?O[0].trim():"",Z=2===O.length?O[1].trim():"";if(0===j.length||0===Z.length)f.push(new Ct(l,'Invalid @for loop "let" parameter. Parameter should match the pattern " = "'));else if(Km.has(Z))if(j===u)f.push(new Ct(l,`Invalid @for loop "let" parameter. Variable cannot be called "${u}"`));else if(p.some(de=>de.name===j))f.push(new Ct(l,`Duplicate "let" parameter variable "${Z}"`));else{const[,de,ke]=O[0].match(eT)??[],Be=void 0!==de&&2===O.length?new Xt(M.moveBy(de.length),M.moveBy(de.length+ke.length)):a;let Je;if(2===O.length){const[,dt,yn]=O[1].match(eT)??[];Je=void 0!==dt?new Xt(M.moveBy(O[0].length+1+dt.length),M.moveBy(O[0].length+1+dt.length+yn.length)):void 0}const ct=new Xt(Be.start,Je?.end??Be.end);p.push(new Ki(j,Z,ct,Be,Je))}else f.push(new Ct(l,`Unknown "let" parameter variable "${Z}". The allowed variables are: ${Array.from(Km).join(", ")}`));M=M.moveBy(L.length+1)}}function Id(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 xD(l,i,a){if(0===l.parameters.length)return i.push(new Ct(l.startSourceSpan,"Conditional block does not have an expression")),null;const u=Id(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 AD(l,i,a,u,p){if(1!==l.length)throw new Error(`"${kr.TIMER}" trigger must have exactly one parameter`);const f=wp(l[0]);if(null===f)throw new Error(`Could not parse time value of trigger "${kr.TIMER}"`);return new Dw(f,i,a,u,p)}(a,p,O,this.prefetchSpan,this.onSourceSpan));break;case kr.INTERACTION:this.trackTrigger("interaction",function TO(l,i,a,u,p,f){return PD(kr.INTERACTION,l,f),new F_(l[0]??null,i,a,u,p)}(a,p,O,this.prefetchSpan,this.onSourceSpan,this.placeholder));break;case kr.IMMEDIATE:this.trackTrigger("immediate",function LD(l,i,a,u,p){if(l.length>0)throw new Error(`"${kr.IMMEDIATE}" trigger cannot have parameters`);return new Sw(i,a,u,p)}(a,p,O,this.prefetchSpan,this.onSourceSpan));break;case kr.HOVER:this.trackTrigger("hover",function kO(l,i,a,u,p,f){return PD(kr.HOVER,l,f),new $f(l[0]??null,i,a,u,p)}(a,p,O,this.prefetchSpan,this.onSourceSpan,this.placeholder));break;case kr.VIEWPORT:this.trackTrigger("viewport",function IO(l,i,a,u,p,f){return PD(kr.VIEWPORT,l,f),new Y_(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(j){this.error(i,j.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 Zr))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 bp(l,i=0){let a=!1;for(let u=i;u0){const Be=i[i.length-1];j=Be.endSourceSpan,Z=Be.sourceSpan.end}const de=new Xt(l.sourceSpan.start,Z);return{node:new $u(Ft(a,l.children,l.children),L,O,f,v,M,l.nameSpan,de,l.sourceSpan,l.startSourceSpan,j,l.i18n),errors:p}}function fT(l,i){let a=null;for(const u of l.parameters){if(!OD.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=wp(u.expression.slice(bp(u.expression)));if(null===p)throw new Error('Could not parse time value of parameter "minimum"');a=p}}return new Vl(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(dT.test(p.expression)){if(null!=a)throw new Error('@loading block can only have one "after" parameter');const f=wp(p.expression.slice(bp(p.expression)));if(null===f)throw new Error('Could not parse time value of parameter "after"');a=f}else{if(!OD.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=wp(p.expression.slice(bp(p.expression)));if(null===f)throw new Error('Could not parse time value of parameter "minimum"');u=f}}return new zf(Ft(i,l.children,l.children),a,u,l.nameSpan,l.sourceSpan,l.startSourceSpan,l.endSourceSpan,l.i18n)}function Zy(l,i){if(l.parameters.length>0)throw new Error("@error block cannot have parameters");return new Wf(Ft(i,l.children,l.children),l.nameSpan,l.sourceSpan,l.startSourceSpan,l.endSourceSpan,l.i18n)}const Cj=/^(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.*)$/,ac_BANANA_BOX={start:"[(",end:")]"},ac_PROPERTY={start:"[",end:"]"},ac_EVENT={start:"(",end:")"};class LO{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=$y(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=vp(i);if(u.type===To.SCRIPT)return null;if(u.type===To.STYLE){const ct=function xj(l){return 1===l.children.length&&l.children[0]instanceof Kh?l.children[0].value:null}(i);return null!==ct&&this.styles.push(ct),null}if(u.type===To.STYLESHEET&&function DD(l){if(null==l||0===l.length||"/"==l[0])return!1;const i=l.match(CD);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=[],j={},Z=[],de=[];let Be,Je,ke=!1;for(const ct of i.attrs){let dt=!1;const yn=jD(ct.name);let tr=!1;if(ct.i18n&&(j[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 ca=ct.value,Wn=yn.substring(1),ug=[],_N=ct.valueSpan?ct.valueSpan.start.offset:ct.sourceSpan.start.offset+ct.name.length;this.bindingParser.parseInlineTemplateBinding(Wn,ca,ct.sourceSpan,_N,[],Z,ug,!0),de.push(...ug.map(dg=>new Ki(dg.name,dg.value,dg.sourceSpan,dg.keySpan,dg.valueSpan)))}else dt=this.parseAttribute(p,ct,[],f,v,M,L);!dt&&!tr&&O.push(this.visitAttribute(ct))}if(Be=u.nonBindable?Ft(Ej,i.children).flat(1/0):Ft(this,i.children,i.children),u.type===To.NG_CONTENT){const ct=u.selectAttr,dt=i.attrs.map(yn=>this.visitAttribute(yn));Je=new Es(ct,dt,Be,i.sourceSpan,i.i18n),this.ngContentSelectors.push(ct)}else if(p){const ct=this.extractAttributes(i.name,f,j);Je=new Bn(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,j);Je=new Zr(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,j),dt=[];ct.literal.forEach(Wn=>dt.push(Wn)),ct.bound.forEach(Wn=>dt.push(Wn));const yn=Je instanceof Zr?{attributes:Je.attributes,inputs:Je.inputs,outputs:Je.outputs}:{attributes:[],inputs:[],outputs:[]},tr=p&&a?void 0:i.i18n,ca=Je instanceof Bn?null:Je.name;Je=new Bn(ca,yn.attributes,yn.inputs,yn.outputs,dt,[Je],[],de,i.sourceSpan,i.startSourceSpan,i.endSourceSpan,tr)}return a&&(this.inI18nBlock=!1),Je}visitAttribute(i){return new Uu(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(!$y(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 Ka(L,v.sourceSpan)}else p[f]=this._visitTextWithInterpolation(v.text,v.sourceSpan,null)}),new Qa(u,p,i.sourceSpan,a)}visitExpansionCase(i){return null}visitComment(i){return this.options.collectCommentNodes&&this.commentNodes.push(new Hu(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=FD(i,this.findConnectedBlocks(u,a,ND),this,this.bindingParser);break;case"switch":p=xr(i,this,this.bindingParser);break;case"for":p=CO(i,this.findConnectedBlocks(u,a,tT),this,this.bindingParser);break;case"if":p=DO(i,this.findConnectedBlocks(u,a,nT),this,this.bindingParser);break;default:let f;ND(i.name)?(f=`@${i.name} block can only be used after an @defer block.`,this.processedNodes.add(i)):tT(i.name)?(f=`@${i.name} block can only be used after an @for block.`,this.processedNodes.add(i)):nT(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 Ct(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 Uu(v.name,v.expression.source||"",v.sourceSpan,v.keySpan,v.valueSpan,M));else{const L=this.bindingParser.createBoundElementProperty(i,v,!0,!1);p.push(Eh.fromBoundElementProperty(L,M))}}),{bound:p,literal:f}}parseAttribute(i,a,u,p,f,v,M){const L=jD(a.name),O=a.value,j=a.sourceSpan,Z=a.valueSpan?a.valueSpan.start.offset:j.start.offset;function de(dt,yn,tr){const ca=a.name.length-L.length,Wn=dt.start.moveBy(yn.length+ca),ug=Wn.moveBy(tr.length);return new Xt(Wn,ug,Wn,tr)}const ke=L.match(Cj);if(ke){if(null!=ke[1]){const dt=ke[7],yn=de(j,ke[1],dt);this.bindingParser.parsePropertyBinding(dt,O,!1,!1,j,Z,a.valueSpan,u,p,yn)}else if(ke[2])if(i){const dt=ke[7],yn=de(j,ke[2],dt);this.parseVariable(dt,O,j,yn,a.valueSpan,v)}else this.reportError('"let-" is only supported on ng-template elements.',j);else if(ke[3]){const dt=ke[7],yn=de(j,ke[3],dt);this.parseReference(dt,O,j,yn,a.valueSpan,M)}else if(ke[4]){const dt=[],yn=ke[7],tr=de(j,ke[4],yn);this.bindingParser.parseEvent(yn,O,!1,j,a.valueSpan||j,u,dt,tr),HD(dt,f)}else if(ke[5]){const dt=ke[7],yn=de(j,ke[5],dt);this.bindingParser.parsePropertyBinding(dt,O,!1,!0,j,Z,a.valueSpan,u,p,yn),this.parseAssignmentEvent(dt,O,j,a.valueSpan,u,f,yn)}else if(ke[6]){const dt=de(j,"",L);this.bindingParser.parseLiteralAttr(L,O,j,Z,a.valueSpan,u,p,dt)}return!0}let Be=null;if(L.startsWith(ac_BANANA_BOX.start)?Be=ac_BANANA_BOX:L.startsWith(ac_PROPERTY.start)?Be=ac_PROPERTY:L.startsWith(ac_EVENT.start)&&(Be=ac_EVENT),null!==Be&&L.endsWith(Be.end)&&L.length>Be.start.length+Be.end.length){const dt=L.substring(Be.start.length,L.length-Be.end.length),yn=de(j,Be.start,dt);if(Be.start===ac_BANANA_BOX.start)this.bindingParser.parsePropertyBinding(dt,O,!1,!0,j,Z,a.valueSpan,u,p,yn),this.parseAssignmentEvent(dt,O,j,a.valueSpan,u,f,yn);else if(Be.start===ac_PROPERTY.start)this.bindingParser.parsePropertyBinding(dt,O,!1,!1,j,Z,a.valueSpan,u,p,yn);else{const tr=[];this.bindingParser.parseEvent(dt,O,!1,j,a.valueSpan||j,u,tr,yn),HD(tr,f)}return!0}const Je=de(j,"",L);return this.bindingParser.parsePropertyInterpolation(L,O,j,a.valueSpan,u,p,Je,a.valueTokens??null)}_visitTextWithInterpolation(i,a,u,p){const f=xx(i),v=this.bindingParser.parseInterpolation(f,a,u);return v?new Ka(v,a,p):new Sa(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),HD(L,v)}reportError(i,a,u=Ql.ERROR){this.errors.push(new Ct(a,i,u))}}const Ej=new class Mj{visitElement(i){const a=vp(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 Zr(i.name,Ft(this,i.attrs),[],[],u,[],i.sourceSpan,i.startSourceSpan,i.endSourceSpan)}visitComment(i){return null}visitAttribute(i){return new Uu(i.name,i.value,i.sourceSpan,i.keySpan,i.valueSpan,i.i18n)}visitText(i){return new Sa(i.value,i.sourceSpan)}visitExpansion(i){return null}visitExpansionCase(i){return null}visitBlock(i,a){const u=[new Sa(i.startSourceSpan.toString(),i.startSourceSpan),...Ft(this,i.children)];return null!==i.endSourceSpan&&u.push(new Sa(i.endSourceSpan.toString(),i.endSourceSpan)),u}visitBlockParameter(i,a){return null}visitLetDeclaration(i,a){return new Sa(`@let ${i.name} = ${i.value};`,i.sourceSpan)}};function jD(l){return/^data-/i.test(l)?l.substring(5):l}function HD(l,i){i.push(...l.map(a=>Uf.fromParsedEvent(a)))}const kj=[" ","\n","\r","\t"];function UD(l,i,a={}){const{interpolationConfig:u,preserveWhitespaces:p,enableI18nLegacyMessageIdFormat:f,allowInvalidAssignmentEvents:v}=a,M=Qm(u,v),O=(new wD).parse(l,i,{leadingTriviaChars:kj,...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 j=O.rootNodes;const Z=!(a.preserveSignificantWhitespace??1),de=new Rm(u,!p,f,void 0,a.preserveSignificantWhitespace,Z),ke=de.visitAllWithErrors(j);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}j=ke.rootNodes,p||(j=Ft(new wy(!0,void 0,!1),j),de.hasI18nMeta&&(j=Ft(new Rm(u,!1,void 0,void 0,!0,Z),j)));const{nodes:Be,errors:Je,styleUrls:ct,styles:dt,ngContentSelectors:yn,commentNodes:tr}=function _T(l,i,a){const u=new LO(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}(j,M,{collectCommentNodes:!!a.collectCommentNodes});Je.push(...O.errors,...ke.errors);const ca={interpolationConfig:u,preserveWhitespaces:p,errors:Je.length>0?Je:null,nodes:Be,styleUrls:ct,styles:dt,ngContentSelectors:yn};return a.collectCommentNodes&&(ca.commentNodes=tr),ca}const yT=new Dy;function Qm(l=Bi,i=!1){return new yO(new RS(new yd),l,yT,[],i)}const PO="_nghost-%COMP%",$D="_ngcontent-%COMP%";function Xm(l,i,a){const u=new Fn,p=Ne(l.selector);return u.set("type",l.type.value),p.length>0&&u.set("selectors",Ze(p)),l.queries.length>0&&u.set("contentQueries",function Sj(l,i,a){const u=[],p=[],f=ms(M=>p.push(M),je);for(const M of l){if(u.push(Wk(M,i,{nonSignal:te.contentQuery,signalBased:te.contentQuerySignal},[Dt("dirIndex")]).toStmt()),M.isSignal){p.push(oc);continue}const L=f(),O=Ve(te.loadQuery).callFn([]),j=Ve(te.queryRefresh).callFn([L.set(O)]),Z=Dt(Ul).prop(M.propertyName).set(M.first?L.prop("first"):L);p.push(j.and(Z).toStmt())}const v=a?`${a}_ContentQueries`:null;return Ho([new Tt(jc,an),new Tt(Ul,null),new Tt("dirIndex",null)],[qy(1,u),qy(2,kd(p))],Bt,null,v)}(l.queries,i,l.name)),l.viewQueries.length&&u.set("viewQuery",function Wm(l,i,a){const u=[],p=[],f=ms(M=>p.push(M),je);l.forEach(M=>{const L=Wk(M,i,{signalBased:te.viewQuerySignal,nonSignal:te.viewQuery});if(u.push(L.toStmt()),M.isSignal)return void p.push(oc);const O=f(),j=Ve(te.loadQuery).callFn([]),Z=Ve(te.queryRefresh).callFn([O.set(j)]),de=Dt(Ul).prop(M.propertyName).set(M.first?O.prop("first"):O);p.push(Z.and(de).toStmt())});const v=a?`${a}_Query`:null;return Ho([new Tt(jc,an),new Tt(Ul,null)],[qy(1,u),qy(2,kd(p))],Bt,null,v)}(l.viewQueries,i,l.name)),u.set("hostBindings",function Tj(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 Nk(l,i,a){const u=new Uh(l.componentName,a,Um);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),rO(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)??[])Fk(u,p,f,i.calcPossibleSecurityContexts(l.componentSelector,p,!0).filter(M=>M!==J.NONE));for(const p of l.events??[])Yk(u,p);return u}({componentName:f,componentSelector:p,properties:M,events:L,attributes:l.attributes},a,u);Hy(O,Ge.Host),v.set("hostAttrs",O.root.attributes);const j=O.root.vars;return null!==j&&j>0&&v.set("hostVars",ne(j)),function Hm(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=Uy(1,i),p=Uy(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",Bs(l.inputs,!0)),u.set("outputs",Bs(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 zD(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(Ve(te.ProvidersFeature).callFn(v))}for(const v of f)if(null!==i.inputs[v].transformFunction){a.push(Ve(te.InputTransformsFeatureFeature));break}i.hostDirectives?.length&&a.push(Ve(te.HostDirectivesFeature).callFn([DT(i.hostDirectives)])),i.usesInheritance&&a.push(Ve(te.InheritDefinitionFeature)),i.fullInheritance&&a.push(Ve(te.CopyDefinitionFeature)),i.lifecycle.usesOnChanges&&a.push(Ve(te.NgOnChangesFeature)),i.hasOwnProperty("template")&&i.isStandalone&&a.push(Ve(te.StandaloneFeature)),a.length&&l.set("features",qt(a))}function RO(l,i,a){const u=Xm(l,i,a);zD(u,l);const p=l.selector&&y.parse(l.selector),f=p&&p[0];if(f){const de=f.getAttrs();de.length&&u.set("attrs",i.getConstLiteral(qt(de.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 de=`${v}_DeferFn`;i.statements.push(new Fi(de,l.defer.dependenciesFn,void 0,mt.Final)),M=Dt(de)}const L=function iO(l,i,a,u,p,f,v){const M=new gn(l,a,Um,u,p,f,v);return ul(M.root,i),M}(l.name,l.template.nodes,i,l.relativeContextFilePath,l.i18nUseExternalIds,l.defer,M);Hy(L,Ge.Tmpl);const O=jm(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",Lt([],[...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 OO(l,i){switch(i){case 0:return l;case 1:return Lt([],l);case 2:return Lt([],l.prop("map").callFn([Ve(te.resolveForwardRef)]));case 3:throw new Error("Unsupported with an array of pre-resolved dependencies")}}(qt(l.declarations.map(de=>de.type)),l.declarationListEmitMode));else if(3===l.declarationListEmitMode){const de=[l.type.value];l.rawImports&&de.push(l.rawImports),u.set("dependencies",Ve(te.getComponentDepsFactory).callFn(de))}if(null===l.encapsulation&&(l.encapsulation=R.Emulated),l.styles&&l.styles.length){const ke=(l.encapsulation==R.Emulated?function ev(l,i,a){const u=new Fw;return l.map(p=>u.shimCssText(p,i,a))}(l.styles,$D,PO):l.styles).reduce((Be,Je)=>(Je.trim().length>0&&Be.push(i.getConstLiteral(ne(Je))),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",fn([{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:Ve(te.defineComponent).callFn([u.toLiteralMap()],void 0,!0),type:qe(l),statements:[]}}function qe(l){const i=NO(l);return i.push(WD(l.template.ngContentSelectors)),i.push(Ai(ne(l.isStandalone))),i.push(ST(l)),l.isSignal&&i.push(Ai(ne(l.isSignal))),Ai(Ve(te.ComponentDeclaration,i))}function Cp(l){return Ai(ne(l))}function Ld(l){return fn(Object.keys(l).map(a=>({key:a,value:ne(Array.isArray(l[a])?l[a][0]:l[a]),quoted:!0})))}function WD(l){return l.length>0?Ai(qt(l.map(i=>ne(i)))):St}function NO(l){const i=null!==l.selector?l.selector.replace(/\n/g,""):null;return[Rc(l.type.type,l.typeArgumentCount),null!==i?Cp(i):St,null!==l.exportAs?WD(l.exportAs):St,Ai(bT(l)),Ai(Ld(l.outputs)),WD(l.queries.map(a=>a.propertyName))]}function bT(l){return fn(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:fn(u),quoted:!0}}))}function wT(l){const i=NO(l);return i.push(St),i.push(Ai(ne(l.isStandalone))),i.push(ST(l)),l.isSignal&&i.push(Ai(ne(l.isSignal))),Ai(Ve(te.DirectiveDeclaration,i))}const FO=/^(?:\[([^\]]+)\])|(?:\(([^\)]+)\))$/;function ST(l){return l.hostDirectives?.length?Ai(qt(l.hostDirectives.map(i=>fn([{key:"directive",value:wn(i.directive.type),quoted:!1},{key:"inputs",value:Ld(i.inputs||{}),quoted:!1},{key:"outputs",value:Ld(i.outputs||{}),quoted:!1}])))):St}function DT(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=qD(u.inputs);f&&p.push({key:"inputs",value:f,quoted:!1})}if(u.outputs){const f=qD(u.outputs);f&&p.push({key:"outputs",value:f,quoted:!1})}i.push(fn(p))}else i.push(u.directive.type);u.isForwardReference&&(a=!0)}return a?new or([],[new ri(qt(i))]):qt(i)}function qD(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 GD{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 UO(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}=KD.apply(i.template,this.directiveMatcher),{expressions:L,symbols:O,nestingLevel:j,usedPipes:Z,eagerPipes:de,deferBlocks:ke}=tv.applyWithScope(i.template,a);return new nv(i,p,f,v,M,L,O,j,u,Z,de,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 $u}static newRootScope(){return new Tn(null,null)}static apply(i){const a=Tn.newRootScope();return a.ingest(i),a}ingest(i){i instanceof Bn?(i.variables.forEach(a=>this.visitVariable(a)),i.children.forEach(a=>a.visit(this))):i instanceof et?(null!==i.expressionAlias&&this.visitVariable(i.expressionAlias),i.children.forEach(a=>a.visit(this))):i instanceof xh?(this.visitVariable(i.item),i.contextVariables.forEach(a=>this.visitVariable(a)),i.children.forEach(a=>a.visit(this))):i instanceof qf||i instanceof fs||i instanceof $u||i instanceof Wf||i instanceof Vl||i instanceof zf||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 KD{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 KD(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 Bn&&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 tv extends O_{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=j=>j.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 tv(u,p,v,M,O,f,a,i instanceof Bn?i:null,0).ingest(i),{expressions:u,symbols:p,nestingLevel:f,usedPipes:v,eagerPipes:M,deferBlocks:O}}ingest(i){if(i instanceof Bn)i.variables.forEach(this.visitNode),i.children.forEach(this.visitNode),this.nestingLevel.set(i,this.level);else if(i instanceof et)null!==i.expressionAlias&&this.visitNode(i.expressionAlias),i.children.forEach(this.visitNode),this.nestingLevel.set(i,this.level);else if(i instanceof xh)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 $u){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 qf||i instanceof fs||i instanceof Wf||i instanceof Vl||i instanceof zf||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 tv(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 Ee||null!==u&&this.bindings.set(i,u)}}class nv{constructor(i,a,u,p,f,v,M,L,O,j,Z,de){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=j,this.eagerPipes=Z,this.deferredBlocks=de.map(ke=>ke[0]),this.deferredScopes=new Map(de)}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 F_||a instanceof Y_||a instanceof $f))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 Hu)){if(null!==f)return null;v instanceof Zr&&(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 Zr?i:i instanceof Bn?null:this.referenceTargetToElement(i.node)}}class CT{}class $O{constructor(i=new lm){this.jitEvaluator=i,this.FactoryTarget=Kr,this.ResourceLoader=CT,this.elementSchemaRegistry=new Dy}compilePipe(i,a,u){const f=Se({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 lv(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=Se(p);return this.jitExpression(f.expression,i,a,[])}compileInjectable(i,a,u){const{expression:p,statements:f}=$l({name:u.name,type:wi(u.type),typeArgumentCount:u.typeArgumentCount,providedIn:rv(u.providedIn),useClass:Mp(u,"useClass"),useFactory:WO(u,"useFactory"),useValue:Mp(u,"useValue"),useExisting:Mp(u,"useExisting"),deps:u.deps?.map(AT)},!0);return this.jitExpression(p,i,a,f)}compileInjectableDeclaration(i,a,u){const{expression:p,statements:f}=$l({name:u.type.name,type:wi(u.type),typeArgumentCount:0,providedIn:rv(u.providedIn),useClass:Mp(u,"useClass"),useFactory:WO(u,"useFactory"),useValue:Mp(u,"useValue"),useExisting:Mp(u,"useExisting"),deps:u.deps?.map(JD)},!0);return this.jitExpression(p,i,a,f)}compileInjector(i,a,u){const f=IP({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=IP(p);return this.jitExpression(f.expression,i,a,[])}compileNgModule(i,a,u){const f=Zu({kind:Ta.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:cm.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 LP(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)),Ve(te.defineNgModule).callFn([i.toLiteralMap()])}(u);return this.jitExpression(p,i,a,[])}compileDirective(i,a,u){const p=kT(u);return this.compileDirectiveFromMeta(i,a,p)}compileDirectiveDeclaration(i,a,u){const f=QD(u,this.createParseSourceSpan("Directive",u.type.name,a));return this.compileDirectiveFromMeta(i,a,f)}compileDirectiveFromMeta(i,a,u){const p=new x_,v=function Dp(l,i,a){const u=Xm(l,i,a);return zD(u,l),{expression:Ve(te.defineDirective).callFn([u.toLiteralMap()],void 0,!0),type:wT(l),statements:[]}}(u,p,Qm());return this.jitExpression(v.expression,i,a,p.statements)}compileComponent(i,a,u){const{template:p,interpolation:f,defer:v}=XD(u.template,u.name,a,u.preserveWhitespaces,u.interpolation,void 0),M={...u,...kT(u),selector:u.selector||this.elementSchemaRegistry.getDefaultComponentElementName(),template:p,declarations:u.declarations.map(Aj),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}=XD(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(iv(M));break;case"pipe":v.push(Pd(M))}else(l.components||l.directives||l.pipes)&&(l.components&&v.push(...l.components.map(M=>iv(M,!0))),l.directives&&v.push(...l.directives.map(M=>iv(M))),l.pipes&&v.push(...function La(l){return l?Object.keys(l).map(i=>({kind:Wc.Pipe,name:i,type:new Pt(l[i])})):[]}(l.pipes)));return{...QD(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 x_,v=RO(u,p,Qm(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:ZD(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(JD):u.deps,target:u.target});return this.jitExpression(p.expression,i,a,p.statements)}createParseSourceSpan(i,a,u){return function SE(l,i,a){const p=new Pw("",`in ${l} ${i} in ${a}`);return new Xt(new ji(p,-1,-1,-1),new ji(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 AP(a),!0).$def}}function MT(l){return{...l,isSignal:l.isSignal,predicate:xT(l.predicate),read:l.read?new Pt(l.read):null,static:l.static,emitDistinctChangesOnly:l.emitDistinctChangesOnly}}function ET(l){return{propertyName:l.propertyName,first:l.first??!1,predicate:xT(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 xT(l){return Array.isArray(l)?l:Ff(new Pt(l),1)}function kT(l){const i=function Jm(l){return l.reduce((i,a)=>{if("string"==typeof a){const[u,p]=hu(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=>{GO(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}:e0(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:{...Lj(l.propMetadata,l.typeSourceSpan,l.host)},inputs:{...i,...p},outputs:{...a,...f},queries:l.queries.map(MT),providers:null!=l.providers?new Pt(l.providers):null,viewQueries:l.viewQueries.map(MT),fullInheritance:!1,hostDirectives:v}}function QD(l,i){const a=l.hostDirectives?.length?l.hostDirectives.map(u=>({directive:wi(u.directive),isForwardReference:!1,inputs:u.inputs?sv(u.inputs):null,outputs:u.outputs?sv(u.outputs):null})):null;return{name:l.type.name,type:wi(l.type),typeSourceSpan:i,selector:l.selector??null,inputs:l.inputs?KO(l.inputs):{},outputs:l.outputs??{},host:TT(l.host),queries:(l.queries??[]).map(ET),viewQueries:(l.viewQueries??[]).map(ET),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 TT(l={}){return{attributes:IT(l.attributes??{}),listeners:l.listeners??{},properties:l.properties??{},specialAttributes:{classAttr:l.classAttribute,styleAttr:l.styleAttribute}}}function sv(l){let i=null;for(let a=1;aZ.toString()).join(", ");throw new Error(`Errors during JIT compilation of template for ${i}: ${j}`)}return{template:M,interpolation:v,defer:ov(new GD(new b).bind({template:M.nodes}),f)}}function Mp(l,i){if(l.hasOwnProperty(i))return Ff(new Pt(l[i]),0)}function WO(l,i){if(l.hasOwnProperty(i))return new Pt(l[i])}function rv(l){return Ff("function"==typeof l?new Pt(l):new Is(l??null),0)}function ZD(l){return null==l?null:l.map(AT)}function AT(l){const i=null!=l.attribute,a=null===l.token?null:new Pt(l.token);return Zm(i?new Pt(l.attribute):a,i,l.host,l.optional,l.self,l.skipSelf)}function JD(l){const i=l.attribute??!1;return Zm(null===l.token?null:new Pt(l.token),i,l.host??!1,l.optional??!1,l.self??!1,l.skipSelf??!1)}function Zm(l,i,a,u,p,f){return{token:l,attributeNameType:i?ne("unknown"):null,host:a,optional:u,self:p,skipSelf:f}}function ov(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=>{av(v)?u.properties[v.hostPropertyName||f]=A_("this",f):qO(v)&&(u.listeners[v.eventName||f]=`${f}(${(v.args||[]).join(",")})`)});return u}function av(l){return"HostBinding"===l.ngMetadataName}function qO(l){return"HostListener"===l.ngMetadataName}function GO(l){return"Input"===l.ngMetadataName}function e0(l){return"Output"===l.ngMetadataName}function KO(l){return Object.keys(l).reduce((i,a)=>{const u=l[a];return"string"==typeof u||Array.isArray(u)?i[a]=function hl(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]=hu(a);return i[p]=u,i},{})}function hu(l){const[i,a]=l.split(":",2).map(u=>u.trim());return[a??i,i]}new class Ic{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 eg{constructor({defaultEncapsulation:i=R.Emulated,preserveWhitespaces:a,strictInjectionParameters:u}={}){this.defaultEncapsulation=i,this.preserveWhitespaces=function LT(l,i=!1){return null===l?i:l}(function Cs(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 i0{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 Ys.PARSABLE_DATA}};var fv;!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"}(fv||(fv={}));!function Ep(l){(l.ng||(l.ng={})).\u0275compilerFacade=new $O}(Ha)}},V=>{var E;E=5455,V(V.s=E)}]);