| Linux server.clickboxgo.com 3.10.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64 Path : /home/clickboxgo/www/cliboxadmhg/ |
| Current File : /home/clickboxgo/www/cliboxadmhg/main.9b68fd7cefb2e97c.js |
(self.webpackChunkCliBox_Adm=self.webpackChunkCliBox_Adm||[]).push([[179],{2769:(Me,we,ee)=>{"use strict";function P(t){return"function"==typeof t}function w(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const A=w(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function E(t,n){if(t){const e=t.indexOf(n);0<=e&&t.splice(e,1)}}class S{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const o of e)o.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(P(i))try{i()}catch(o){n=o instanceof A?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{te(o)}catch(s){n=n??[],s instanceof A?n=[...n,...s.errors]:n.push(s)}}if(n)throw new A(n)}}add(n){var e;if(n&&n!==this)if(this.closed)te(n);else{if(n instanceof S){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(n)}}_hasParent(n){const{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){const{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&E(e,n)}remove(n){const{_finalizers:e}=this;e&&E(e,n),n instanceof S&&n._removeParent(this)}}S.EMPTY=(()=>{const t=new S;return t.closed=!0,t})();const B=S.EMPTY;function G(t){return t instanceof S||t&&"closed"in t&&P(t.remove)&&P(t.add)&&P(t.unsubscribe)}function te(t){P(t)?t():t.unsubscribe()}const ge={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ve={setTimeout(t,n,...e){const{delegate:i}=ve;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){const{delegate:n}=ve;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Ze(t){ve.setTimeout(()=>{const{onUnhandledError:n}=ge;if(!n)throw t;n(t)})}function pt(){}const _t=br("C",void 0,void 0);function br(t,n,e){return{kind:t,value:n,error:e}}let Ar=null;function Wo(t){if(ge.useDeprecatedSynchronousErrorHandling){const n=!Ar;if(n&&(Ar={errorThrown:!1,error:null}),t(),n){const{errorThrown:e,error:i}=Ar;if(Ar=null,e)throw i}}else t()}class ds extends S{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,G(n)&&n.add(this)):this.destination=Gs}static create(n,e,i){return new lc(n,e,i)}next(n){this.isStopped?qu(function at(t){return br("N",t,void 0)}(n),this):this._next(n)}error(n){this.isStopped?qu(function ui(t){return br("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?qu(_t,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const _p=Function.prototype.bind;function Dl(t,n){return _p.call(t,n)}class us{constructor(n){this.partialObserver=n}next(n){const{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){Wr(i)}}error(n){const{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){Wr(i)}else Wr(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Wr(e)}}}class lc extends ds{constructor(n,e,i){let r;if(super(),P(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&ge.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&Dl(n.next,o),error:n.error&&Dl(n.error,o),complete:n.complete&&Dl(n.complete,o)}):r=n}this.destination=new us(r)}}function Wr(t){ge.useDeprecatedSynchronousErrorHandling?function ac(t){ge.useDeprecatedSynchronousErrorHandling&&Ar&&(Ar.errorThrown=!0,Ar.error=t)}(t):Ze(t)}function qu(t,n){const{onStoppedNotification:e}=ge;e&&ve.setTimeout(()=>e(t,n))}const Gs={closed:!0,next:pt,error:function $_(t){throw t},complete:pt},vp="function"==typeof Symbol&&Symbol.observable||"@@observable";function fs(t){return t}function Xu(t){return 0===t.length?fs:1===t.length?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}let kn=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){const o=function Dp(t){return t&&t instanceof ds||function js(t){return t&&P(t.next)&&P(t.error)&&P(t.complete)}(t)&&G(t)}(e)?e:new lc(e,i,r);return Wo(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=q_(i))((r,o)=>{const s=new lc({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[vp](){return this}pipe(...e){return Xu(e)(this)}toPromise(e){return new(e=q_(e))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return t.create=n=>new t(n),t})();function q_(t){var n;return null!==(n=t??ge.Promise)&&void 0!==n?n:Promise}const Qu=w(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let vt=(()=>{class t extends kn{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new yl(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Qu}next(e){Wo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){Wo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){Wo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:r,observers:o}=this;return i||r?B:(this.currentObservers=null,o.push(e),new S(()=>{this.currentObservers=null,E(o,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){const e=new kn;return e.source=this,e}}return t.create=(n,e)=>new yl(n,e),t})();class yl extends vt{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,n)}error(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,n)}complete(){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===e||e.call(n)}_subscribe(n){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(n))&&void 0!==i?i:B}}function Tt(t){return P(t?.lift)}function ri(t){return n=>{if(Tt(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Pn(t,n,e,i,r){return new Ju(t,n,e,i,r)}class Ju extends ds{constructor(n,e,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function xt(t,n){return ri((e,i)=>{let r=0;e.subscribe(Pn(i,o=>{i.next(t.call(n,o,r++))}))})}function zo(t){return this instanceof zo?(this.v=t,this):new zo(t)}function ZD(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function Dr(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(d){o({value:d,done:a})},s)}(a,l,(s=t[o](s)).done,s.value)})}}}const tf=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function xp(t){return P(t?.then)}function md(t){return P(t[vp])}function nf(t){return Symbol.asyncIterator&&P(t?.[Symbol.asyncIterator])}function gd(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const _d=function cc(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Z_(t){return P(t?.[_d])}function vd(t){return function ef(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=e.apply(t,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(g){i[g]&&(r[g]=function(b){return new Promise(function(M,y){o.push([g,b,M,y])>1||a(g,b)})})}function a(g,b){try{!function l(g){g.value instanceof zo?Promise.resolve(g.value.v).then(d,f):m(o[0][2],g)}(i[g](b))}catch(M){m(o[0][3],M)}}function d(g){a("next",g)}function f(g){a("throw",g)}function m(g,b){g(b),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:i,done:r}=yield zo(e.read());if(r)return yield zo(void 0);yield yield zo(i)}}finally{e.releaseLock()}})}function K_(t){return P(t?.getReader)}function si(t){if(t instanceof kn)return t;if(null!=t){if(md(t))return function rf(t){return new kn(n=>{const e=t[vp]();if(P(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(tf(t))return function ft(t){return new kn(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}(t);if(xp(t))return function ey(t){return new kn(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Ze)})}(t);if(nf(t))return io(t);if(Z_(t))return function ty(t){return new kn(n=>{for(const e of t)if(n.next(e),n.closed)return;n.complete()})}(t);if(K_(t))return function Tp(t){return io(vd(t))}(t)}throw gd(t)}function io(t){return new kn(n=>{(function Gn(t,n){var e,i,r,o;return function Rr(t,n,e,i){return new(e||(e=Promise))(function(o,s){function a(f){try{d(i.next(f))}catch(m){s(m)}}function l(f){try{d(i.throw(f))}catch(m){s(m)}}function d(f){f.done?o(f.value):function r(o){return o instanceof e?o:new e(function(s){s(o)})}(f.value).then(a,l)}d((i=i.apply(t,n||[])).next())})}(this,void 0,void 0,function*(){try{for(e=ZD(t);!(i=yield e.next()).done;)if(n.next(i.value),n.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=e.return)&&(yield o.call(e))}finally{if(r)throw r.error}}n.complete()})})(t,n).catch(e=>n.error(e))})}function To(t,n,e,i=0,r=!1){const o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}function Dn(t,n,e=1/0){return P(n)?Dn((i,r)=>xt((o,s)=>n(i,o,r,s))(si(t(i,r))),e):("number"==typeof n&&(e=n),ri((i,r)=>function ny(t,n,e,i,r,o,s,a){const l=[];let d=0,f=0,m=!1;const g=()=>{m&&!l.length&&!d&&n.complete()},b=y=>d<i?M(y):l.push(y),M=y=>{o&&n.next(y),d++;let T=!1;si(e(y,f++)).subscribe(Pn(n,k=>{r?.(k),o?b(k):n.next(k)},()=>{T=!0},void 0,()=>{if(T)try{for(d--;l.length&&d<i;){const k=l.shift();s?To(n,s,()=>M(k)):M(k)}g()}catch(k){n.error(k)}}))};return t.subscribe(Pn(n,b,()=>{m=!0,g()})),()=>{a?.()}}(i,r,t,e)))}function ro(t=1/0){return Dn(fs,t)}const Ci=new kn(t=>t.complete());function Ys(t){return t&&P(t.schedule)}function ya(t){return t[t.length-1]}function sf(t){return P(ya(t))?t.pop():void 0}function bd(t){return Ys(ya(t))?t.pop():void 0}function xi(t,n=0){return ri((e,i)=>{e.subscribe(Pn(i,r=>To(i,t,()=>i.next(r),n),()=>To(i,t,()=>i.complete(),n),r=>To(i,t,()=>i.error(r),n)))})}function Dd(t,n=0){return ri((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function n0(t,n){if(!t)throw new Error("Iterable cannot be null");return new kn(e=>{To(e,n,()=>{const i=t[Symbol.asyncIterator]();To(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function Bi(t,n){return n?function ay(t,n){if(null!=t){if(md(t))return function ry(t,n){return si(t).pipe(Dd(n),xi(n))}(t,n);if(tf(t))return function t0(t,n){return new kn(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}(t,n);if(xp(t))return function e0(t,n){return si(t).pipe(Dd(n),xi(n))}(t,n);if(nf(t))return n0(t,n);if(Z_(t))return function oy(t,n){return new kn(e=>{let i;return To(e,n,()=>{i=t[_d](),To(e,n,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void e.error(s)}o?e.complete():e.next(r)},0,!0)}),()=>P(i?.return)&&i.return()})}(t,n);if(K_(t))return function sy(t,n){return n0(vd(t),n)}(t,n)}throw gd(t)}(t,n):si(t)}function yd(...t){const n=bd(t),e=function iy(t,n){return"number"==typeof ya(t)?t.pop():n}(t,1/0),i=t;return i.length?1===i.length?si(i[0]):ro(e)(Bi(i,n)):Ci}function af(t,n,...e){if(!0===n)return void t();if(!1===n)return;const i=new lc({next:()=>{i.unsubscribe(),t()}});return si(n(...e)).subscribe(i)}function Wn(t){for(let n in t)if(t[n]===Wn)return n;throw Error("Could not find renamed property on target object.")}function Ep(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Qn(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Qn).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function lf(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const Md=Wn({__forward_ref__:Wn});function dn(t){return t.__forward_ref__=dn,t.toString=function(){return Qn(this())},t}function Lt(t){return Sp(t)?t():t}function Sp(t){return"function"==typeof t&&t.hasOwnProperty(Md)&&t.__forward_ref__===dn}function Ml(t){return t&&!!t.\u0275providers}const Cd="https://g.co/ng/security#xss";class Re extends Error{constructor(n,e){super(qo(n,e)),this.code=n}}function qo(t,n){return`NG0${Math.abs(t)}${n?": "+n.trim():""}`}function qt(t){return"string"==typeof t?t:null==t?"":String(t)}function cf(t,n){throw new Re(-201,!1)}function Fn(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}function Pe(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Ct(t){return{providers:t.providers||[],imports:t.imports||[]}}function dc(t){return Rp(t,df)||Rp(t,Np)}function Rp(t,n){return t.hasOwnProperty(n)?t[n]:null}function o0(t){return t&&(t.hasOwnProperty(Fp)||t.hasOwnProperty(ai))?t[Fp]:null}const df=Wn({\u0275prov:Wn}),Fp=Wn({\u0275inj:Wn}),Np=Wn({ngInjectableDef:Wn}),ai=Wn({ngInjectorDef:Wn});var kt=(()=>((kt=kt||{})[kt.Default=0]="Default",kt[kt.Host=1]="Host",kt[kt.Self=2]="Self",kt[kt.SkipSelf=4]="SkipSelf",kt[kt.Optional=8]="Optional",kt))();let Cl;function Eo(t){const n=Cl;return Cl=t,n}function s0(t,n,e){const i=dc(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&kt.Optional?null:void 0!==n?n:void cf(Qn(t))}const jn=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),So={},Op="__NG_DI_FLAG__",uc="ngTempTokenPath",my="ngTokenPath",gy=/\n/gm,_y="\u0275",xd="__source";let Tl;function fc(t){const n=Tl;return Tl=t,n}function vy(t,n=kt.Default){if(void 0===Tl)throw new Re(-203,!1);return null===Tl?s0(t,void 0,n):Tl.get(t,n&kt.Optional?null:void 0,n)}function me(t,n=kt.Default){return(function py(){return Cl}()||vy)(Lt(t),n)}function Pt(t,n=kt.Default){return me(t,uf(n))}function uf(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Lp(t){const n=[];for(let e=0;e<t.length;e++){const i=Lt(t[e]);if(Array.isArray(i)){if(0===i.length)throw new Re(900,!1);let r,o=kt.Default;for(let s=0;s<i.length;s++){const a=i[s],l=by(a);"number"==typeof l?-1===l?r=a.token:o|=l:r=a}n.push(me(r,o))}else n.push(me(i))}return n}function Td(t,n){return t[Op]=n,t.prototype[Op]=n,t}function by(t){return t[Op]}function oo(t){return{toString:t}.toString()}var Us=(()=>((Us=Us||{})[Us.OnPush=0]="OnPush",Us[Us.Default=1]="Default",Us))(),ko=(()=>{return(t=ko||(ko={}))[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",ko;var t})();const Ca={},xn=[],ff=Wn({\u0275cmp:Wn}),Pp=Wn({\u0275dir:Wn}),Bp=Wn({\u0275pipe:Wn}),c0=Wn({\u0275mod:Wn}),Ws=Wn({\u0275fac:Wn}),wd=Wn({__NG_ELEMENT_ID__:Wn});let d0=0;function Oe(t){return oo(()=>{const n=h0(t),e={...n,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Us.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:null,data:t.data||{},encapsulation:t.encapsulation||ko.Emulated,id:"c"+d0++,styles:t.styles||xn,_:null,schemas:t.schemas||null,tView:null};Vp(e);const i=t.dependencies;return e.directiveDefs=hf(i,!1),e.pipeDefs=hf(i,!0),e})}function My(t){return Nn(t)||Fr(t)}function u0(t){return null!==t}function wt(t){return oo(()=>({type:t.type,bootstrap:t.bootstrap||xn,declarations:t.declarations||xn,imports:t.imports||xn,exports:t.exports||xn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function f0(t,n){if(null==t)return Ca;const e={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,n&&(n[r]=o)}return e}function je(t){return oo(()=>{const n=h0(t);return Vp(n),n})}function so(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function Nn(t){return t[ff]||null}function Fr(t){return t[Pp]||null}function yr(t){return t[Bp]||null}function zr(t,n){const e=t[c0]||null;if(!e&&!0===n)throw new Error(`Type ${Qn(t)} does not have '\u0275mod' property.`);return e}function h0(t){const n={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,exportAs:t.exportAs||null,standalone:!0===t.standalone,selectors:t.selectors||xn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:f0(t.inputs,n),outputs:f0(t.outputs)}}function Vp(t){t.features?.forEach(n=>n(t))}function hf(t,n){if(!t)return null;const e=n?yr:My;return()=>("function"==typeof t?t():t).map(i=>e(i)).filter(u0)}const gs=0,dt=1,Jt=2,Ti=3,_s=4,wl=5,Nr=6,hc=7,Fi=8,pf=9,mf=10,sn=11,Hp=12,pc=13,p0=14,mc=15,Jn=16,vs=17,El=18,zs=19,gc=20,Gp=21,ei=22,gf=1,m0=2,_f=7,vf=8,_c=9,$r=10;function Ao(t){return Array.isArray(t)&&"object"==typeof t[gf]}function bs(t){return Array.isArray(t)&&!0===t[gf]}function jp(t){return 0!=(4&t.flags)}function Ed(t){return t.componentOffset>-1}function bf(t){return 1==(1&t.flags)}function Ds(t){return!!t.template}function xy(t){return 0!=(256&t[Jt])}function Sl(t,n){return t.hasOwnProperty(Ws)?t[Ws]:null}class Ry{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function ti(){return g0}function g0(t){return t.type.prototype.ngOnChanges&&(t.setInput=Ny),Fy}function Fy(){const t=v0(this),n=t?.current;if(n){const e=t.previous;if(e===Ca)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function Ny(t,n,e,i){const r=this.declaredInputs[e],o=v0(t)||function Oy(t,n){return t[_0]=n}(t,{previous:Ca,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[r];s[r]=new Ry(l&&l.currentValue,n,a===Ca),t[i]=n}ti.ngInherit=!0;const _0="__ngSimpleChanges__";function v0(t){return t[_0]||null}const Qo=function(t,n,e){},b0="svg";function Mr(t){for(;Array.isArray(t);)t=t[gs];return t}function yf(t,n){return Mr(n[t])}function Ro(t,n){return Mr(n[t.index])}function y0(t,n){return t.data[n]}function vc(t,n){return t[n]}function Fo(t,n){const e=n[t];return Ao(e)?e:e[gs]}function Mf(t){return 64==(64&t[Jt])}function Ya(t,n){return null==n?null:t[n]}function Cf(t){t[El]=0}function bc(t,n){t[wl]+=n;let e=t,i=t[Ti];for(;null!==i&&(1===n&&1===e[wl]||-1===n&&0===e[wl]);)i[wl]+=n,e=i,i=i[Ti]}const Xt={lFrame:xf(null),bindingsEnabled:!0};function $p(){return Xt.bindingsEnabled}function Ge(){return Xt.lFrame.lView}function yn(){return Xt.lFrame.tView}function z(t){return Xt.lFrame.contextLView=t,t[Fi]}function q(t){return Xt.lFrame.contextLView=null,t}function li(){let t=qp();for(;null!==t&&64===t.type;)t=t.parent;return t}function qp(){return Xt.lFrame.currentTNode}function Rd(){const t=Xt.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function $s(t,n){const e=Xt.lFrame;e.currentTNode=t,e.isParent=n}function Xp(){return Xt.lFrame.isParent}function Xe(){Xt.lFrame.isParent=!1}function Ut(){const t=Xt.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function Jo(){return Xt.lFrame.bindingIndex}function Ua(){return Xt.lFrame.bindingIndex++}function Ta(t){const n=Xt.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function C0(t){Xt.lFrame.inI18n=t}function zy(t,n){const e=Xt.lFrame;e.bindingIndex=e.bindingRootIndex=t,ys(n)}function ys(t){Xt.lFrame.currentDirectiveIndex=t}function Zp(t){const n=Xt.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function Kp(){return Xt.lFrame.currentQueryIndex}function em(t){Xt.lFrame.currentQueryIndex=t}function qy(t){const n=t[dt];return 2===n.type?n.declTNode:1===n.type?t[Nr]:null}function tm(t,n,e){if(e&kt.SkipSelf){let r=n,o=t;for(;!(r=r.parent,null!==r||e&kt.Host||(r=qy(o),null===r||(o=o[mc],10&r.type))););if(null===r)return!1;n=r,t=o}const i=Xt.lFrame=im();return i.currentTNode=n,i.lView=t,!0}function nm(t){const n=im(),e=t[dt];Xt.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function im(){const t=Xt.lFrame,n=null===t?null:t.child;return null===n?xf(t):n}function xf(t){const n={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:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function x0(){const t=Xt.lFrame;return Xt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const T0=x0;function Ms(){const t=x0();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function qr(){return Xt.lFrame.selectedIndex}function kl(t){Xt.lFrame.selectedIndex=t}function fi(){const t=Xt.lFrame;return y0(t.tView,t.selectedIndex)}function rm(){Xt.lFrame.currentNamespace=b0}function qs(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e<i;e++){const o=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:d,ngOnDestroy:f}=o;s&&(t.contentHooks||(t.contentHooks=[])).push(-e,s),a&&((t.contentHooks||(t.contentHooks=[])).push(e,a),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(e,a)),l&&(t.viewHooks||(t.viewHooks=[])).push(-e,l),d&&((t.viewHooks||(t.viewHooks=[])).push(e,d),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(e,d)),null!=f&&(t.destroyHooks||(t.destroyHooks=[])).push(e,f)}}function Tf(t,n,e){E0(t,n,3,e)}function wf(t,n,e,i){(3&t[Jt])===e&&E0(t,n,e,i)}function om(t,n){let e=t[Jt];(3&e)===n&&(e&=2047,e+=1,t[Jt]=e)}function E0(t,n,e,i){const o=i??-1,s=n.length-1;let a=0;for(let l=void 0!==i?65535&t[El]:0;l<s;l++)if("number"==typeof n[l+1]){if(a=n[l],null!=i&&a>=i)break}else n[l]<0&&(t[El]+=65536),(a<o||-1==o)&&(tM(t,e,n,l),t[El]=(4294901760&t[El])+l+2),l++}function tM(t,n,e,i){const r=e[i]<0,o=e[i+1],a=t[r?-e[i]:e[i]];if(r){if(t[Jt]>>11<t[El]>>16&&(3&t[Jt])===n){t[Jt]+=2048,Qo(4,a,o);try{o.call(a)}finally{Qo(5,a,o)}}}else{Qo(4,a,o);try{o.call(a)}finally{Qo(5,a,o)}}}const Dc=-1;class Fd{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Nd(t,n,e){let i=0;for(;i<e.length;){const r=e[i];if("number"==typeof r){if(0!==r)break;i++;const o=e[i++],s=e[i++],a=e[i++];t.setAttribute(n,s,a,o)}else{const o=r,s=e[++i];Od(o)?t.setProperty(n,o,s):t.setAttribute(n,o,s),i++}}return i}function Al(t){return 3===t||4===t||6===t}function Od(t){return 64===t.charCodeAt(0)}function hn(t,n){if(null!==n&&0!==n.length)if(null===t||0===t.length)t=n.slice();else{let e=-1;for(let i=0;i<n.length;i++){const r=n[i];"number"==typeof r?e=r:0===e||v(t,e,r,null,-1===e||2===e?n[++i]:null)}}return t}function v(t,n,e,i,r){let o=0,s=t.length;if(-1===n)s=-1;else for(;o<t.length;){const a=t[o++];if("number"==typeof a){if(a===n){s=-1;break}if(a>n){s=o-1;break}}}for(;o<t.length;){const a=t[o];if("number"==typeof a)break;if(a===e){if(null===i)return void(null!==r&&(t[o+1]=r));if(i===t[o+1])return void(t[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(t.splice(s,0,n),o=s+1),t.splice(o++,0,e),null!==i&&t.splice(o++,0,i),null!==r&&t.splice(o++,0,r)}function x(t){return t!==Dc}function F(t){return 32767&t}function j(t,n){let e=function L(t){return t>>16}(t),i=n;for(;e>0;)i=i[mc],e--;return i}let fe=!0;function Ee(t){const n=fe;return fe=t,n}const tn=255,Bn=5;let Xr=0;const or={};function S0(t,n){const e=ik(t,n);if(-1!==e)return e;const i=n[dt];i.firstCreatePass&&(t.injectorIndex=n.length,oM(i.data,t),oM(n,null),oM(i.blueprint,null));const r=sM(t,n),o=t.injectorIndex;if(x(r)){const s=F(r),a=j(r,n),l=a[dt].data;for(let d=0;d<8;d++)n[o+d]=a[s+d]|l[s+d]}return n[o+8]=r,o}function oM(t,n){t.push(0,0,0,0,0,0,0,0,n)}function ik(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function sM(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;null!==r;){if(i=dk(r),null===i)return Dc;if(e++,r=r[mc],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return Dc}function aM(t,n,e){!function $a(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(wd)&&(i=e[wd]),null==i&&(i=e[wd]=Xr++);const r=i&tn;n.data[t+(r>>Bn)]|=1<<r}(t,n,e)}function rk(t,n,e){if(e&kt.Optional||void 0!==t)return t;cf()}function ok(t,n,e,i){if(e&kt.Optional&&void 0===i&&(i=null),!(e&(kt.Self|kt.Host))){const r=t[pf],o=Eo(void 0);try{return r?r.get(n,i,e&kt.Optional):s0(n,i,e&kt.Optional)}finally{Eo(o)}}return rk(i,0,e)}function sk(t,n,e,i=kt.Default,r){if(null!==t){if(1024&n[Jt]){const s=function F9(t,n,e,i,r){let o=t,s=n;for(;null!==o&&null!==s&&1024&s[Jt]&&!(256&s[Jt]);){const a=ak(o,s,e,i|kt.Self,or);if(a!==or)return a;let l=o.parent;if(!l){const d=s[Gp];if(d){const f=d.get(e,or,i);if(f!==or)return f}l=dk(s),s=s[mc]}o=l}return r}(t,n,e,i,or);if(s!==or)return s}const o=ak(t,n,e,i,or);if(o!==or)return o}return ok(n,e,i,r)}function ak(t,n,e,i,r){const o=function A9(t){if("string"==typeof t)return t.charCodeAt(0)||0;const n=t.hasOwnProperty(wd)?t[wd]:void 0;return"number"==typeof n?n>=0?n&tn:R9:n}(e);if("function"==typeof o){if(!tm(n,t,i))return i&kt.Host?rk(r,0,i):ok(n,e,i,r);try{const s=o(i);if(null!=s||i&kt.Optional)return s;cf()}finally{T0()}}else if("number"==typeof o){let s=null,a=ik(t,n),l=Dc,d=i&kt.Host?n[Jn][Nr]:null;for((-1===a||i&kt.SkipSelf)&&(l=-1===a?sM(t,n):n[a+8],l!==Dc&&ck(i,!1)?(s=n[dt],a=F(l),n=j(l,n)):a=-1);-1!==a;){const f=n[dt];if(lk(o,a,f.data)){const m=k9(a,n,e,s,i,d);if(m!==or)return m}l=n[a+8],l!==Dc&&ck(i,n[dt].data[a+8]===d)&&lk(o,a,n)?(s=f,a=F(l),n=j(l,n)):a=-1}}return r}function k9(t,n,e,i,r,o){const s=n[dt],a=s.data[t+8],f=k0(a,s,e,null==i?Ed(a)&&fe:i!=s&&0!=(3&a.type),r&kt.Host&&o===a);return null!==f?Id(n,s,f,a):or}function k0(t,n,e,i,r){const o=t.providerIndexes,s=n.data,a=1048575&o,l=t.directiveStart,f=o>>20,g=r?a+f:t.directiveEnd;for(let b=i?a:a+f;b<g;b++){const M=s[b];if(b<l&&e===M||b>=l&&M.type===e)return b}if(r){const b=s[l];if(b&&Ds(b)&&b.type===e)return l}return null}function Id(t,n,e,i){let r=t[e];const o=n.data;if(function nM(t){return t instanceof Fd}(r)){const s=r;s.resolving&&function ly(t,n){const e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new Re(-200,`Circular dependency in DI detected for ${t}${e}`)}(function Rn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():qt(t)}(o[e]));const a=Ee(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Eo(s.injectImpl):null;tm(t,i,kt.Default);try{r=t[e]=s.factory(void 0,o,t,i),n.firstCreatePass&&e>=i.directiveStart&&function eM(t,n,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=g0(n);(e.preOrderHooks||(e.preOrderHooks=[])).push(t,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,s)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-t,r),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(t,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,o))}(e,o[e],n)}finally{null!==l&&Eo(l),Ee(a),s.resolving=!1,T0()}}return r}function lk(t,n,e){return!!(e[n+(t>>Bn)]&1<<t)}function ck(t,n){return!(t&kt.Self||t&kt.Host&&n)}class Ef{constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return sk(this._tNode,this._lView,n,uf(i),e)}}function R9(){return new Ef(li(),Ge())}function wi(t){return oo(()=>{const n=t.prototype.constructor,e=n[Ws]||lM(n),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const o=r[Ws]||lM(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function lM(t){return Sp(t)?()=>{const n=lM(Lt(t));return n&&n()}:Sl(t)}function dk(t){const n=t[dt],e=n.type;return 2===e?n.declTNode:1===e?t[Nr]:null}function yc(t){return function S9(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let r=0;for(;r<i;){const o=e[r];if(Al(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<i&&"string"==typeof e[r];)r++;else{if(o===n)return e[r+1];r+=2}}}return null}(li(),t)}const kf="__parameters__";function Rf(t,n,e){return oo(()=>{const i=function cM(t){return function(...e){if(t){const i=t(...e);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,d,f){const m=l.hasOwnProperty(kf)?l[kf]:Object.defineProperty(l,kf,{value:[]})[kf];for(;m.length<=f;)m.push(null);return(m[f]=m[f]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}class $e{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=Pe({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Ld(t,n){t.forEach(e=>Array.isArray(e)?Ld(e,n):n(e))}function fk(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function A0(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function lm(t,n){const e=[];for(let i=0;i<t;i++)e.push(n);return e}function Cs(t,n,e){let i=Ff(t,n);return i>=0?t[1|i]=e:(i=~i,function L9(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(1===r)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;)t[r]=t[r-2],r--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function uM(t,n){const e=Ff(t,n);if(e>=0)return t[1|e]}function Ff(t,n){return function hk(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){const o=i+(r-i>>1),s=t[o<<e];if(n===s)return o<<e;s>n?r=o:i=o+1}return~(r<<e)}(t,n,1)}const F0=Td(Rf("Inject",t=>({token:t})),-1),Rl=Td(Rf("Optional"),8),Nf=Td(Rf("SkipSelf"),4);var Zo=(()=>((Zo=Zo||{})[Zo.Important=1]="Important",Zo[Zo.DashCase=2]="DashCase",Zo))();const tj=/^>|^->|<!--|-->|--!>|<!-$/g,nj=/(<|>)/,ij="\u200b$1\u200b";const gM=new Map;let rj=0;const vM="__ngContext__";function ao(t,n){Ao(n)?(t[vM]=n[gc],function sj(t){gM.set(t[gc],t)}(n)):t[vM]=n}let bM;function DM(t,n){return bM(t,n)}function fm(t){const n=t[Ti];return bs(n)?n[Ti]:n}function yM(t){return Nk(t[pc])}function MM(t){return Nk(t[_s])}function Nk(t){for(;null!==t&&!bs(t);)t=t[_s];return t}function If(t,n,e,i,r){if(null!=i){let o,s=!1;bs(i)?o=i:Ao(i)&&(s=!0,i=i[gs]);const a=Mr(i);0===t&&null!==e?null==r?Vk(n,e,a):Pd(n,e,a,r||null,!0):1===t&&null!==e?Pd(n,e,a,r||null,!0):2===t?kM(n,a,s):3===t&&n.destroyNode(a),null!=o&&function kj(t,n,e,i,r){const o=e[_f];o!==Mr(e)&&If(n,t,i,o,r);for(let a=$r;a<e.length;a++){const l=e[a];hm(l[dt],l,t,n,i,o)}}(n,t,o,e,r)}}function CM(t,n){return t.createText(n)}function Ok(t,n,e){t.setValue(n,e)}function _j(t,n){return t.createComment(function Tk(t){return t.replace(tj,n=>n.replace(nj,ij))}(n))}function xM(t,n,e){return t.createElement(n,e)}function Ik(t,n){const e=t[_c],i=e.indexOf(n),r=n[Ti];512&n[Jt]&&(n[Jt]&=-513,bc(r,-1)),e.splice(i,1)}function TM(t,n){if(t.length<=$r)return;const e=$r+n,i=t[e];if(i){const r=i[vs];null!==r&&r!==t&&Ik(r,i),n>0&&(t[e-1][_s]=i[_s]);const o=A0(t,$r+n);!function vj(t,n){hm(t,n,n[sn],2,null,null),n[gs]=null,n[Nr]=null}(i[dt],i);const s=o[zs];null!==s&&s.detachView(o[dt]),i[Ti]=null,i[_s]=null,i[Jt]&=-65}return i}function Lk(t,n){if(!(128&n[Jt])){const e=n[sn];e.destroyNode&&hm(t,n,e,3,null,null),function yj(t){let n=t[pc];if(!n)return wM(t[dt],t);for(;n;){let e=null;if(Ao(n))e=n[pc];else{const i=n[$r];i&&(e=i)}if(!e){for(;n&&!n[_s]&&n!==t;)Ao(n)&&wM(n[dt],n),n=n[Ti];null===n&&(n=t),Ao(n)&&wM(n[dt],n),e=n&&n[_s]}n=e}}(n)}}function wM(t,n){if(!(128&n[Jt])){n[Jt]&=-65,n[Jt]|=128,function Tj(t,n){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i<e.length;i+=2){const r=n[e[i]];if(!(r instanceof Fd)){const o=e[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=r[o[s]],l=o[s+1];Qo(4,a,l);try{l.call(a)}finally{Qo(5,a,l)}}else{Qo(4,r,o);try{o.call(r)}finally{Qo(5,r,o)}}}}}(t,n),function xj(t,n){const e=t.cleanup,i=n[hc];let r=-1;if(null!==e)for(let o=0;o<e.length-1;o+=2)if("string"==typeof e[o]){const s=e[o+3];s>=0?i[r=s]():i[r=-s].unsubscribe(),o+=2}else{const s=i[r=e[o+1]];e[o].call(s)}if(null!==i){for(let o=r+1;o<i.length;o++)(0,i[o])();n[hc]=null}}(t,n),1===n[dt].type&&n[sn].destroy();const e=n[vs];if(null!==e&&bs(n[Ti])){e!==n[Ti]&&Ik(e,n);const i=n[zs];null!==i&&i.detachView(t)}!function aj(t){gM.delete(t[gc])}(n)}}function Pk(t,n,e){return Bk(t,n.parent,e)}function Bk(t,n,e){let i=n;for(;null!==i&&40&i.type;)i=(n=i).parent;if(null===i)return e[gs];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:o}=t.data[i.directiveStart+r];if(o===ko.None||o===ko.Emulated)return null}return Ro(i,e)}}function Pd(t,n,e,i,r){t.insertBefore(n,e,i,r)}function Vk(t,n,e){t.appendChild(n,e)}function Hk(t,n,e,i,r){null!==i?Pd(t,n,e,i,r):Vk(t,n,e)}function I0(t,n){return t.parentNode(n)}function Gk(t,n,e){return Yk(t,n,e)}function jk(t,n,e){return 40&t.type?Ro(t,e):null}let EM,B0,FM,Yk=jk;function Uk(t,n){Yk=t,EM=n}function L0(t,n,e,i){const r=Pk(t,i,n),o=n[sn],a=Gk(i.parent||n[Nr],i,n);if(null!=r)if(Array.isArray(e))for(let l=0;l<e.length;l++)Hk(o,r,e[l],a,!1);else Hk(o,r,e,a,!1);void 0!==EM&&EM(o,i,n,e,r)}function P0(t,n){if(null!==n){const e=n.type;if(3&e)return Ro(n,t);if(4&e)return SM(-1,t[n.index]);if(8&e){const i=n.child;if(null!==i)return P0(t,i);{const r=t[n.index];return bs(r)?SM(-1,r):Mr(r)}}if(32&e)return DM(n,t)()||Mr(t[n.index]);{const i=Wk(t,n);return null!==i?Array.isArray(i)?i[0]:P0(fm(t[Jn]),i):P0(t,n.next)}}return null}function Wk(t,n){return null!==n?t[Jn][Nr].projection[n.projection]:null}function SM(t,n){const e=$r+t+1;if(e<n.length){const i=n[e],r=i[dt].firstChild;if(null!==r)return P0(i,r)}return n[_f]}function kM(t,n,e){const i=I0(t,n);i&&function wj(t,n,e,i){t.removeChild(n,e,i)}(t,i,n,e)}function AM(t,n,e,i,r,o,s){for(;null!=e;){const a=i[e.index],l=e.type;if(s&&0===n&&(a&&ao(Mr(a),i),e.flags|=2),32!=(32&e.flags))if(8&l)AM(t,n,e.child,i,r,o,!1),If(n,t,r,a,o);else if(32&l){const d=DM(e,i);let f;for(;f=d();)If(n,t,r,f,o);If(n,t,r,a,o)}else 16&l?zk(t,n,i,e,r,o):If(n,t,r,a,o);e=s?e.projectionNext:e.next}}function hm(t,n,e,i,r,o){AM(e,i,t.firstChild,n,r,o,!1)}function zk(t,n,e,i,r,o){const s=e[Jn],l=s[Nr].projection[i.projection];if(Array.isArray(l))for(let d=0;d<l.length;d++)If(n,t,r,l[d],o);else AM(t,n,l,s[Ti],r,o,!0)}function $k(t,n,e){""===e?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function qk(t,n,e){const{mergedAttrs:i,classes:r,styles:o}=e;null!==i&&Nd(t,n,i),null!==r&&$k(t,n,r),null!==o&&function Rj(t,n,e){t.setAttribute(n,"style",e)}(t,n,o)}function Lf(t){return function RM(){if(void 0===B0&&(B0=null,jn.trustedTypes))try{B0=jn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return B0}()?.createHTML(t)||t}class Bd{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Cd})`}}class Lj extends Bd{getTypeName(){return"HTML"}}class Pj extends Bd{getTypeName(){return"Style"}}class Bj extends Bd{getTypeName(){return"Script"}}class Vj extends Bd{getTypeName(){return"URL"}}class Hj extends Bd{getTypeName(){return"ResourceURL"}}function xs(t){return t instanceof Bd?t.changingThisBreaksApplicationSecurity:t}function qa(t,n){const e=function Gj(t){return t instanceof Bd&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Cd})`)}return e===n}function Kk(t){const n=new qj(t);return function Xj(){try{return!!(new window.DOMParser).parseFromString(Lf(""),"text/html")}catch{return!1}}()?new $j(n):n}class $j{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const e=(new window.DOMParser).parseFromString(Lf(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.removeChild(e.firstChild),e)}catch{return null}}}class qj{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const e=this.inertDocument.createElement("template");return e.innerHTML=Lf(n),e}}const Qj=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function H0(t){return(t=String(t)).match(Qj)?t:"unsafe:"+t}function Fl(t){const n={};for(const e of t.split(","))n[e]=!0;return n}function pm(...t){const n={};for(const e of t)for(const i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}const eA=Fl("area,br,col,hr,img,wbr"),tA=Fl("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),nA=Fl("rp,rt"),OM=pm(eA,pm(tA,Fl("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")),pm(nA,Fl("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")),pm(nA,tA)),IM=Fl("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),iA=pm(IM,Fl("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"),Fl("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")),Jj=Fl("script,style,template");class Zj{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(n){const e=n.nodeName.toLowerCase();if(!OM.hasOwnProperty(e))return this.sanitizedSomething=!0,!Jj.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=n.attributes;for(let r=0;r<i.length;r++){const o=i.item(r),s=o.name,a=s.toLowerCase();if(!iA.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;IM[a]&&(l=H0(l)),this.buf.push(" ",s,'="',rA(l),'"')}return this.buf.push(">"),!0}endElement(n){const e=n.nodeName.toLowerCase();OM.hasOwnProperty(e)&&!eA.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(rA(n))}checkClobberedElement(n,e){if(e&&(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return e}}const Kj=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,eY=/([^\#-~ |!])/g;function rA(t){return t.replace(/&/g,"&").replace(Kj,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(eY,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let G0;function LM(t){return"content"in t&&function tY(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Vn=(()=>((Vn=Vn||{})[Vn.NONE=0]="NONE",Vn[Vn.HTML=1]="HTML",Vn[Vn.STYLE=2]="STYLE",Vn[Vn.SCRIPT=3]="SCRIPT",Vn[Vn.URL=4]="URL",Vn[Vn.RESOURCE_URL=5]="RESOURCE_URL",Vn))();function rt(t){const n=function mm(){const t=Ge();return t&&t[Hp]}();return n?n.sanitize(Vn.URL,t)||"":qa(t,"URL")?xs(t):H0(qt(t))}const j0=new $e("ENVIRONMENT_INITIALIZER"),lA=new $e("INJECTOR",-1),cA=new $e("INJECTOR_DEF_TYPES");class dA{get(n,e=So){if(e===So){const i=new Error(`NullInjectorError: No provider for ${Qn(n)}!`);throw i.name="NullInjectorError",i}return e}}function cY(...t){return{\u0275providers:uA(0,t),\u0275fromNgModule:!0}}function uA(t,...n){const e=[],i=new Set;let r;return Ld(n,o=>{const s=o;PM(s,e,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&fA(r,e),e}function fA(t,n){for(let e=0;e<t.length;e++){const{providers:r}=t[e];BM(r,o=>{n.push(o)})}}function PM(t,n,e,i){if(!(t=Lt(t)))return!1;let r=null,o=o0(t);const s=!o&&Nn(t);if(o||s){if(s&&!s.standalone)return!1;r=t}else{const l=t.ngModule;if(o=o0(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const d of l)PM(d,n,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let d;i.add(r);try{Ld(o.imports,f=>{PM(f,n,e,i)&&(d||(d=[]),d.push(f))})}finally{}void 0!==d&&fA(d,n)}if(!a){const d=Sl(r)||(()=>new r);n.push({provide:r,useFactory:d,deps:xn},{provide:cA,useValue:r,multi:!0},{provide:j0,useValue:()=>me(r),multi:!0})}const l=o.providers;null==l||a||BM(l,f=>{n.push(f)})}}return r!==t&&void 0!==t.providers}function BM(t,n){for(let e of t)Ml(e)&&(e=e.\u0275providers),Array.isArray(e)?BM(e,n):n(e)}const dY=Wn({provide:String,useValue:Wn});function VM(t){return null!==t&&"object"==typeof t&&dY in t}function Vd(t){return"function"==typeof t}const HM=new $e("Set Injector scope."),Y0={},fY={};let GM;function U0(){return void 0===GM&&(GM=new dA),GM}class Qs{}class mA extends Qs{get destroyed(){return this._destroyed}constructor(n,e,i,r){super(),this.parent=e,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,YM(n,s=>this.processProvider(s)),this.records.set(lA,Pf(void 0,this)),r.has("environment")&&this.records.set(Qs,Pf(void 0,this));const o=this.records.get(HM);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(cA.multi,xn,kt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();for(const n of this._onDestroyHooks)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(n){this._onDestroyHooks.push(n)}runInContext(n){this.assertNotDestroyed();const e=fc(this),i=Eo(void 0);try{return n()}finally{fc(e),Eo(i)}}get(n,e=So,i=kt.Default){this.assertNotDestroyed(),i=uf(i);const r=fc(this),o=Eo(void 0);try{if(!(i&kt.SkipSelf)){let a=this.records.get(n);if(void 0===a){const l=function _Y(t){return"function"==typeof t||"object"==typeof t&&t instanceof $e}(n)&&dc(n);a=l&&this.injectableDefInScope(l)?Pf(jM(n),Y0):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(i&kt.Self?U0():this.parent).get(n,e=i&kt.Optional&&e===So?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[uc]=s[uc]||[]).unshift(Qn(n)),r)throw s;return function l0(t,n,e,i){const r=t[uc];throw n[xd]&&r.unshift(n[xd]),t.message=function Dy(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&t.charAt(1)==_y?t.slice(2):t;let r=Qn(n);if(Array.isArray(n))r=n.map(Qn).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Qn(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${t.replace(gy,"\n ")}`}("\n"+t.message,r,e,i),t[my]=r,t[uc]=null,t}(s,n,"R3InjectorError",this.source)}throw s}finally{Eo(o),fc(r)}}resolveInjectorInitializers(){const n=fc(this),e=Eo(void 0);try{const i=this.get(j0.multi,xn,kt.Self);for(const r of i)r()}finally{fc(n),Eo(e)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(Qn(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Re(205,!1)}processProvider(n){let e=Vd(n=Lt(n))?n:Lt(n&&n.provide);const i=function pY(t){return VM(t)?Pf(void 0,t.useValue):Pf(gA(t),Y0)}(n);if(Vd(n)||!0!==n.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=Pf(void 0,Y0,!0),r.factory=()=>Lp(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e){return e.value===Y0&&(e.value=fY,e.value=e.factory()),"object"==typeof e.value&&e.value&&function gY(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(n){if(!n.providedIn)return!1;const e=Lt(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function jM(t){const n=dc(t),e=null!==n?n.factory:Sl(t);if(null!==e)return e;if(t instanceof $e)throw new Re(204,!1);if(t instanceof Function)return function hY(t){const n=t.length;if(n>0)throw lm(n,"?"),new Re(204,!1);const e=function r0(t){const n=t&&(t[df]||t[Np]);return n?(function hy(t){if(t.hasOwnProperty("name"))return t.name;(""+t).match(/^function\s*([^\s(]+)/)}(t),n):null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new Re(204,!1)}function gA(t,n,e){let i;if(Vd(t)){const r=Lt(t);return Sl(r)||jM(r)}if(VM(t))i=()=>Lt(t.useValue);else if(function pA(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Lp(t.deps||[]));else if(function hA(t){return!(!t||!t.useExisting)}(t))i=()=>me(Lt(t.useExisting));else{const r=Lt(t&&(t.useClass||t.provide));if(!function mY(t){return!!t.deps}(t))return Sl(r)||jM(r);i=()=>new r(...Lp(t.deps))}return i}function Pf(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function YM(t,n){for(const e of t)Array.isArray(e)?YM(e,n):e&&Ml(e)?YM(e.\u0275providers,n):n(e)}class vY{}class _A{}class DY{resolveComponentFactory(n){throw function bY(t){const n=Error(`No component factory found for ${Qn(t)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=t,n}(n)}}let Hd=(()=>{class t{}return t.NULL=new DY,t})();function yY(){return Bf(li(),Ge())}function Bf(t,n){return new Gt(Ro(t,n))}let Gt=(()=>{class t{constructor(e){this.nativeElement=e}}return t.__NG_ELEMENT_ID__=yY,t})();function MY(t){return t instanceof Gt?t.nativeElement:t}class Vf{}let No=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function CY(){const t=Ge(),e=Fo(li().index,t);return(Ao(e)?e:t)[sn]}(),t})(),xY=(()=>{class t{}return t.\u0275prov=Pe({token:t,providedIn:"root",factory:()=>null}),t})();class Gd{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const TY=new Gd("15.2.3"),UM={},WM="ngOriginalError";function zM(t){return t[WM]}class Mc{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&zM(n);for(;e&&zM(e);)e=zM(e);return e||null}}function Nl(t){return t instanceof Function?t():t}function DA(t,n,e){let i=t.length;for(;;){const r=t.indexOf(n,e);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}const yA="ng-template";function LY(t,n,e){let i=0;for(;i<t.length;){let r=t[i++];if(e&&"class"===r){if(r=t[i],-1!==DA(r.toLowerCase(),n,0))return!0}else if(1===r){for(;i<t.length&&"string"==typeof(r=t[i++]);)if(r.toLowerCase()===n)return!0;return!1}}return!1}function MA(t){return 4===t.type&&t.value!==yA}function PY(t,n,e){return n===(4!==t.type||e?t.value:yA)}function BY(t,n,e){let i=4;const r=t.attrs||[],o=function GY(t){for(let n=0;n<t.length;n++)if(Al(t[n]))return n;return t.length}(r);let s=!1;for(let a=0;a<n.length;a++){const l=n[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!PY(t,l,e)||""===l&&1===n.length){if(wa(i))return!1;s=!0}}else{const d=8&i?l:n[++a];if(8&i&&null!==t.attrs){if(!LY(t.attrs,d,e)){if(wa(i))return!1;s=!0}continue}const m=VY(8&i?"class":l,r,MA(t),e);if(-1===m){if(wa(i))return!1;s=!0;continue}if(""!==d){let g;g=m>o?"":r[m+1].toLowerCase();const b=8&i?g:null;if(b&&-1!==DA(b,d,0)||2&i&&d!==g){if(wa(i))return!1;s=!0}}}}else{if(!s&&!wa(i)&&!wa(l))return!1;if(s&&wa(l))continue;s=!1,i=l|1&i}}return wa(i)||s}function wa(t){return 0==(1&t)}function VY(t,n,e,i){if(null===n)return-1;let r=0;if(i||!e){let o=!1;for(;r<n.length;){const s=n[r];if(s===t)return r;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=n[++r];for(;"string"==typeof a;)a=n[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=o?1:2}return-1}return function jY(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){const i=t[e];if("number"==typeof i)return-1;if(i===n)return e;e++}return-1}(n,t)}function CA(t,n,e=!1){for(let i=0;i<n.length;i++)if(BY(t,n[i],e))return!0;return!1}function YY(t,n){e:for(let e=0;e<n.length;e++){const i=n[e];if(t.length===i.length){for(let r=0;r<t.length;r++)if(t[r]!==i[r])continue e;return!0}}return!1}function xA(t,n){return t?":not("+n.trim()+")":n}function UY(t){let n=t[0],e=1,i=2,r="",o=!1;for(;e<t.length;){let s=t[e];if("string"==typeof s)if(2&i){const a=t[++e];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!wa(s)&&(n+=xA(o,r),r=""),i=s,o=o||!wa(i);e++}return""!==r&&(n+=xA(o,r)),n}const Zt={};function h(t){TA(yn(),Ge(),qr()+t,!1)}function TA(t,n,e,i){if(!i)if(3==(3&n[Jt])){const o=t.preOrderCheckHooks;null!==o&&Tf(n,o,e)}else{const o=t.preOrderHooks;null!==o&&wf(n,o,0,e)}kl(e)}function kA(t,n=null,e=null,i){const r=AA(t,n,e,i);return r.resolveInjectorInitializers(),r}function AA(t,n=null,e=null,i,r=new Set){const o=[e||xn,cY(t)];return i=i||("object"==typeof t?void 0:Qn(t)),new mA(o,n||U0(),i||null,r)}let hi=(()=>{class t{static create(e,i){if(Array.isArray(e))return kA({name:""},i,e,"");{const r=e.name??"";return kA({name:r},e.parent,e.providers,r)}}}return t.THROW_IF_NOT_FOUND=So,t.NULL=new dA,t.\u0275prov=Pe({token:t,providedIn:"any",factory:()=>me(lA)}),t.__NG_ELEMENT_ID__=-1,t})();function V(t,n=kt.Default){const e=Ge();return null===e?me(t,n):sk(li(),e,Lt(t),n)}function z0(){throw new Error("invalid")}function PA(t,n){const e=t.contentQueries;if(null!==e)for(let i=0;i<e.length;i+=2){const o=e[i+1];if(-1!==o){const s=t.data[o];em(e[i]),s.contentQueries(2,n[o],o)}}}function $0(t,n,e,i,r,o,s,a,l,d,f){const m=n.blueprint.slice();return m[gs]=r,m[Jt]=76|i,(null!==f||t&&1024&t[Jt])&&(m[Jt]|=1024),Cf(m),m[Ti]=m[mc]=t,m[Fi]=e,m[mf]=s||t&&t[mf],m[sn]=a||t&&t[sn],m[Hp]=l||t&&t[Hp]||null,m[pf]=d||t&&t[pf]||null,m[Nr]=o,m[gc]=function oj(){return rj++}(),m[Gp]=f,m[Jn]=2==n.type?t[Jn]:m,m}function jf(t,n,e,i,r){let o=t.data[n];if(null===o)o=JM(t,n,e,i,r),function Wy(){return Xt.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=e,o.value=i,o.attrs=r;const s=Rd();o.injectorIndex=null===s?-1:s.injectorIndex}return $s(o,!0),o}function JM(t,n,e,i,r){const o=qp(),s=Xp(),l=t.data[n]=function gU(t,n,e,i,r,o){return{type:e,index:i,insertBeforeIndex:null,injectorIndex:n?n.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,e,n,i,r);return null===t.firstChild&&(t.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}function gm(t,n,e,i){if(0===e)return-1;const r=n.length;for(let o=0;o<e;o++)n.push(i),t.blueprint.push(i),t.data.push(null);return r}function ZM(t,n,e){nm(n);try{const i=t.viewQuery;null!==i&&lC(1,i,e);const r=t.template;null!==r&&BA(t,n,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&PA(t,n),t.staticViewQueries&&lC(2,t.viewQuery,e);const o=t.components;null!==o&&function hU(t,n){for(let e=0;e<n.length;e++)IU(t,n[e])}(n,o)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[Jt]&=-5,Ms()}}function q0(t,n,e,i){const r=n[Jt];if(128!=(128&r)){nm(n);try{Cf(n),function Jp(t){return Xt.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==e&&BA(t,n,e,2,i);const s=3==(3&r);if(s){const d=t.preOrderCheckHooks;null!==d&&Tf(n,d,null)}else{const d=t.preOrderHooks;null!==d&&wf(n,d,0,null),om(n,0)}if(function NU(t){for(let n=yM(t);null!==n;n=MM(n)){if(!n[m0])continue;const e=n[_c];for(let i=0;i<e.length;i++){const r=e[i];512&r[Jt]||bc(r[Ti],1),r[Jt]|=512}}}(n),function FU(t){for(let n=yM(t);null!==n;n=MM(n))for(let e=$r;e<n.length;e++){const i=n[e],r=i[dt];Mf(i)&&q0(r,i,r.template,i[Fi])}}(n),null!==t.contentQueries&&PA(t,n),s){const d=t.contentCheckHooks;null!==d&&Tf(n,d)}else{const d=t.contentHooks;null!==d&&wf(n,d,1),om(n,1)}!function uU(t,n){const e=t.hostBindingOpCodes;if(null!==e)try{for(let i=0;i<e.length;i++){const r=e[i];if(r<0)kl(~r);else{const o=r,s=e[++i],a=e[++i];zy(s,o),a(2,n[o])}}}finally{kl(-1)}}(t,n);const a=t.components;null!==a&&function fU(t,n){for(let e=0;e<n.length;e++)OU(t,n[e])}(n,a);const l=t.viewQuery;if(null!==l&&lC(2,l,i),s){const d=t.viewCheckHooks;null!==d&&Tf(n,d)}else{const d=t.viewHooks;null!==d&&wf(n,d,2),om(n,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),n[Jt]&=-41,512&n[Jt]&&(n[Jt]&=-513,bc(n[Ti],-1))}finally{Ms()}}}function BA(t,n,e,i,r){const o=qr(),s=2&i;try{kl(-1),s&&n.length>ei&&TA(t,n,ei,!1),Qo(s?2:0,r),e(i,r)}finally{kl(o),Qo(s?3:1,r)}}function KM(t,n,e){if(jp(n)){const r=n.directiveEnd;for(let o=n.directiveStart;o<r;o++){const s=t.data[o];s.contentQueries&&s.contentQueries(1,e[o],o)}}}function eC(t,n,e){$p()&&(function MU(t,n,e,i){const r=e.directiveStart,o=e.directiveEnd;Ed(e)&&function kU(t,n,e){const i=Ro(n,t),r=VA(e),o=t[mf],s=X0(t,$0(t,r,null,e.onPush?32:16,i,n,o,o.createRenderer(i,e),null,null,null));t[n.index]=s}(n,e,t.data[r+e.componentOffset]),t.firstCreatePass||S0(e,n),ao(i,n);const s=e.initialInputs;for(let a=r;a<o;a++){const l=t.data[a],d=Id(n,t,a,e);ao(d,n),null!==s&&AU(0,a-r,d,l,0,s),Ds(l)&&(Fo(e.index,n)[Fi]=Id(n,t,a,e))}}(t,n,e,Ro(e,n)),64==(64&e.flags)&&WA(t,n,e))}function tC(t,n,e=Ro){const i=n.localNames;if(null!==i){let r=n.index+1;for(let o=0;o<i.length;o+=2){const s=i[o+1],a=-1===s?e(n,t):t[s];t[r++]=a}}}function VA(t){const n=t.tView;return null===n||n.incompleteFirstPass?t.tView=nC(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):n}function nC(t,n,e,i,r,o,s,a,l,d){const f=ei+i,m=f+r,g=function pU(t,n){const e=[];for(let i=0;i<n;i++)e.push(i<t?null:Zt);return e}(f,m),b="function"==typeof d?d():d;return g[dt]={type:t,blueprint:g,template:e,queries:null,viewQuery:a,declTNode:n,data:g.slice().fill(null,f),bindingStartIndex:f,expandoStartIndex:m,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:b,incompleteFirstPass:!1}}function HA(t,n,e,i){const r=$A(n);null===e?r.push(i):(r.push(e),t.firstCreatePass&&qA(t).push(i,r.length-1))}function GA(t,n,e,i){for(let r in t)if(t.hasOwnProperty(r)){e=null===e?{}:e;const o=t[r];null===i?jA(e,n,r,o):i.hasOwnProperty(r)&&jA(e,n,i[r],o)}return e}function jA(t,n,e,i){t.hasOwnProperty(e)?t[e].push(n,i):t[e]=[n,i]}function Ts(t,n,e,i,r,o,s,a){const l=Ro(n,e);let f,d=n.inputs;!a&&null!=d&&(f=d[i])?(cC(t,e,f,i,r),Ed(n)&&YA(e,n.index)):3&n.type&&(i=function vU(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(i),r=null!=s?s(r,n.value||"",i):r,o.setProperty(l,i,r))}function YA(t,n){const e=Fo(n,t);16&e[Jt]||(e[Jt]|=32)}function iC(t,n,e,i){if($p()){const r=null===i?null:{"":-1},o=function xU(t,n){const e=t.directiveRegistry;let i=null,r=null;if(e)for(let o=0;o<e.length;o++){const s=e[o];if(CA(n,s.selectors,!1))if(i||(i=[]),Ds(s))if(null!==s.findHostDirectiveDefs){const a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),i.unshift(...a,s),rC(t,n,a.length)}else i.unshift(s),rC(t,n,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,i,r),i.push(s)}return null===i?null:[i,r]}(t,e);let s,a;null===o?s=a=null:[s,a]=o,null!==s&&UA(t,n,e,s,r,a),r&&function TU(t,n,e){if(n){const i=t.localNames=[];for(let r=0;r<n.length;r+=2){const o=e[n[r+1]];if(null==o)throw new Re(-301,!1);i.push(n[r],o)}}}(e,i,r)}e.mergedAttrs=hn(e.mergedAttrs,e.attrs)}function UA(t,n,e,i,r,o){for(let d=0;d<i.length;d++)aM(S0(e,n),t,i[d].type);!function EU(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}(e,t.data.length,i.length);for(let d=0;d<i.length;d++){const f=i[d];f.providersResolver&&f.providersResolver(f)}let s=!1,a=!1,l=gm(t,n,i.length,null);for(let d=0;d<i.length;d++){const f=i[d];e.mergedAttrs=hn(e.mergedAttrs,f.hostAttrs),SU(t,e,n,l,f),wU(l,f,r),null!==f.contentQueries&&(e.flags|=4),(null!==f.hostBindings||null!==f.hostAttrs||0!==f.hostVars)&&(e.flags|=64);const m=f.type.prototype;!s&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(e.index),s=!0),!a&&(m.ngOnChanges||m.ngDoCheck)&&((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(e.index),a=!0),l++}!function _U(t,n,e){const r=n.directiveEnd,o=t.data,s=n.attrs,a=[];let l=null,d=null;for(let f=n.directiveStart;f<r;f++){const m=o[f],g=e?e.get(m):null,M=g?g.outputs:null;l=GA(m.inputs,f,l,g?g.inputs:null),d=GA(m.outputs,f,d,M);const y=null===l||null===s||MA(n)?null:RU(l,f,s);a.push(y)}null!==l&&(l.hasOwnProperty("class")&&(n.flags|=8),l.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=a,n.inputs=l,n.outputs=d}(t,e,o)}function WA(t,n,e){const i=e.directiveStart,r=e.directiveEnd,o=e.index,s=function $y(){return Xt.lFrame.currentDirectiveIndex}();try{kl(o);for(let a=i;a<r;a++){const l=t.data[a],d=n[a];ys(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&CU(l,d)}}finally{kl(-1),ys(s)}}function CU(t,n){null!==t.hostBindings&&t.hostBindings(1,n)}function rC(t,n,e){n.componentOffset=e,(t.components||(t.components=[])).push(n.index)}function wU(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Ds(n)&&(e[""]=t)}}function SU(t,n,e,i,r){t.data[i]=r;const o=r.factory||(r.factory=Sl(r.type)),s=new Fd(o,Ds(r),V);t.blueprint[i]=s,e[i]=s,function DU(t,n,e,i,r){const o=r.hostBindings;if(o){let s=t.hostBindingOpCodes;null===s&&(s=t.hostBindingOpCodes=[]);const a=~n.index;(function yU(t){let n=t.length;for(;n>0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(s)!=a&&s.push(a),s.push(e,i,o)}}(t,n,i,gm(t,e,r.hostVars,Zt),r)}function oC(t,n,e,i,r,o,s){if(null==o)t.removeAttribute(n,r,e);else{const a=null==s?qt(o):s(o,i||"",r);t.setAttribute(n,r,a,e)}}function AU(t,n,e,i,r,o){const s=o[n];if(null!==s){const a=i.setInput;for(let l=0;l<s.length;){const d=s[l++],f=s[l++],m=s[l++];null!==a?i.setInput(e,m,d,f):e[f]=m}}}function RU(t,n,e){let i=null,r=0;for(;r<e.length;){const o=e[r];if(0!==o)if(5!==o){if("number"==typeof o)break;if(t.hasOwnProperty(o)){null===i&&(i=[]);const s=t[o];for(let a=0;a<s.length;a+=2)if(s[a]===n){i.push(o,s[a+1],e[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function zA(t,n,e,i){return[t,!0,!1,n,null,0,i,e,null,null]}function OU(t,n){const e=Fo(n,t);if(Mf(e)){const i=e[dt];48&e[Jt]?q0(i,e,i.template,e[Fi]):e[wl]>0&&sC(e)}}function sC(t){for(let i=yM(t);null!==i;i=MM(i))for(let r=$r;r<i.length;r++){const o=i[r];if(Mf(o))if(512&o[Jt]){const s=o[dt];q0(s,o,s.template,o[Fi])}else o[wl]>0&&sC(o)}const e=t[dt].components;if(null!==e)for(let i=0;i<e.length;i++){const r=Fo(e[i],t);Mf(r)&&r[wl]>0&&sC(r)}}function IU(t,n){const e=Fo(n,t),i=e[dt];(function LU(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])})(i,e),ZM(i,e,e[Fi])}function X0(t,n){return t[pc]?t[p0][_s]=n:t[pc]=n,t[p0]=n,n}function aC(t){for(;t;){t[Jt]|=32;const n=fm(t);if(xy(t)&&!n)return t;t=n}return null}function Q0(t,n,e,i=!0){const r=n[mf];r.begin&&r.begin();try{q0(t,n,t.template,e)}catch(s){throw i&&QA(n,s),s}finally{r.end&&r.end()}}function lC(t,n,e){em(0),n(t,e)}function $A(t){return t[hc]||(t[hc]=[])}function qA(t){return t.cleanup||(t.cleanup=[])}function XA(t,n,e){return(null===t||Ds(t))&&(e=function Ly(t){for(;Array.isArray(t);){if("object"==typeof t[gf])return t;t=t[gs]}return null}(e[n.index])),e[sn]}function QA(t,n){const e=t[pf],i=e?e.get(Mc,null):null;i&&i.handleError(n)}function cC(t,n,e,i,r){for(let o=0;o<e.length;){const s=e[o++],a=e[o++],l=n[s],d=t.data[s];null!==d.setInput?d.setInput(l,r,i,a):l[a]=r}}function Ol(t,n,e){const i=yf(n,t);Ok(t[sn],i,e)}function J0(t,n,e){let i=e?t.styles:null,r=e?t.classes:null,o=0;if(null!==n)for(let s=0;s<n.length;s++){const a=n[s];"number"==typeof a?o=a:1==o?r=lf(r,a):2==o&&(i=lf(i,a+": "+n[++s]+";"))}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=r:t.classesWithoutHost=r}function Z0(t,n,e,i,r=!1){for(;null!==e;){const o=n[e.index];if(null!==o&&i.push(Mr(o)),bs(o))for(let a=$r;a<o.length;a++){const l=o[a],d=l[dt].firstChild;null!==d&&Z0(l[dt],l,d,i)}const s=e.type;if(8&s)Z0(t,n,e.child,i);else if(32&s){const a=DM(e,n);let l;for(;l=a();)i.push(l)}else if(16&s){const a=Wk(n,e);if(Array.isArray(a))i.push(...a);else{const l=fm(n[Jn]);Z0(l[dt],l,a,i,!0)}}e=r?e.projectionNext:e.next}return i}class _m{get rootNodes(){const n=this._lView,e=n[dt];return Z0(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Fi]}set context(n){this._lView[Fi]=n}get destroyed(){return 128==(128&this._lView[Jt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[Ti];if(bs(n)){const e=n[vf],i=e?e.indexOf(this):-1;i>-1&&(TM(n,i),A0(e,i))}this._attachedToViewContainer=!1}Lk(this._lView[dt],this._lView)}onDestroy(n){HA(this._lView[dt],this._lView,null,n)}markForCheck(){aC(this._cdRefInjectingView||this._lView)}detach(){this._lView[Jt]&=-65}reattach(){this._lView[Jt]|=64}detectChanges(){Q0(this._lView[dt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Re(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Dj(t,n){hm(t,n,n[sn],2,null,null)}(this._lView[dt],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new Re(902,!1);this._appRef=n}}class PU extends _m{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;Q0(n[dt],n,n[Fi],!1)}checkNoChanges(){}get context(){return null}}class JA extends Hd{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const e=Nn(n);return new vm(e,this.ngModule)}}function ZA(t){const n=[];for(let e in t)t.hasOwnProperty(e)&&n.push({propName:t[e],templateName:e});return n}class VU{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){i=uf(i);const r=this.injector.get(n,UM,i);return r!==UM||e===UM?r:this.parentInjector.get(n,e,i)}}class vm extends _A{get inputs(){return ZA(this.componentDef.inputs)}get outputs(){return ZA(this.componentDef.outputs)}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=function WY(t){return t.map(UY).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}create(n,e,i,r){let o=(r=r||this.ngModule)instanceof Qs?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new VU(n,o):n,a=s.get(Vf,null);if(null===a)throw new Re(407,!1);const l=s.get(xY,null),d=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",m=i?function mU(t,n,e){return t.selectRootElement(n,e===ko.ShadowDom)}(d,i,this.componentDef.encapsulation):xM(d,f,function BU(t){const n=t.toLowerCase();return"svg"===n?b0:"math"===n?"math":null}(f)),g=this.componentDef.onPush?288:272,b=nC(0,null,null,1,0,null,null,null,null,null),M=$0(null,b,null,g,null,null,a,d,l,s,null);let y,T;nm(M);try{const k=this.componentDef;let O,N=null;k.findHostDirectiveDefs?(O=[],N=new Map,k.findHostDirectiveDefs(k,O,N),O.push(k)):O=[k];const H=function GU(t,n){const e=t[dt],i=ei;return t[i]=n,jf(e,i,2,"#host",null)}(M,m),U=function jU(t,n,e,i,r,o,s,a){const l=r[dt];!function YU(t,n,e,i){for(const r of t)n.mergedAttrs=hn(n.mergedAttrs,r.hostAttrs);null!==n.mergedAttrs&&(J0(n,n.mergedAttrs,!0),null!==e&&qk(i,e,n))}(i,t,n,s);const d=o.createRenderer(n,e),f=$0(r,VA(e),null,e.onPush?32:16,r[t.index],t,o,d,a||null,null,null);return l.firstCreatePass&&rC(l,t,i.length-1),X0(r,f),r[t.index]=f}(H,m,k,O,M,a,d);T=y0(b,ei),m&&function WU(t,n,e,i){if(i)Nd(t,e,["ng-version",TY.full]);else{const{attrs:r,classes:o}=function zY(t){const n=[],e=[];let i=1,r=2;for(;i<t.length;){let o=t[i];if("string"==typeof o)2===r?""!==o&&n.push(o,t[++i]):8===r&&e.push(o);else{if(!wa(r))break;r=o}i++}return{attrs:n,classes:e}}(n.selectors[0]);r&&Nd(t,e,r),o&&o.length>0&&$k(t,e,o.join(" "))}}(d,k,m,i),void 0!==e&&function zU(t,n,e){const i=t.projection=[];for(let r=0;r<n.length;r++){const o=e[r];i.push(null!=o?Array.from(o):null)}}(T,this.ngContentSelectors,e),y=function UU(t,n,e,i,r,o){const s=li(),a=r[dt],l=Ro(s,r);UA(a,r,s,e,null,i);for(let f=0;f<e.length;f++)ao(Id(r,a,s.directiveStart+f,s),r);WA(a,r,s),l&&ao(l,r);const d=Id(r,a,s.directiveStart+s.componentOffset,s);if(t[Fi]=r[Fi]=d,null!==o)for(const f of o)f(d,n);return KM(a,s,t),d}(U,k,O,N,M,[$U]),ZM(b,M,null)}finally{Ms()}return new HU(this.componentType,y,Bf(T,M),M,T)}}class HU extends vY{constructor(n,e,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.instance=e,this.hostView=this.changeDetectorRef=new PU(r),this.componentType=n}setInput(n,e){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[n])){const o=this._rootLView;cC(o[dt],o,r,n,e),YA(o,this._tNode.index)}}get injector(){return new Ef(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function $U(){const t=li();qs(Ge()[dt],t)}function Qt(t){let n=function KA(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),e=!0;const i=[t];for(;n;){let r;if(Ds(t))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new Re(903,!1);r=n.\u0275dir}if(r){if(e){i.push(r);const s=t;s.inputs=dC(t.inputs),s.declaredInputs=dC(t.declaredInputs),s.outputs=dC(t.outputs);const a=r.hostBindings;a&&JU(t,a);const l=r.viewQuery,d=r.contentQueries;if(l&&XU(t,l),d&&QU(t,d),Ep(t.inputs,r.inputs),Ep(t.declaredInputs,r.declaredInputs),Ep(t.outputs,r.outputs),Ds(r)&&r.data.animation){const f=t.data;f.animation=(f.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(t),a===Qt&&(e=!1)}}n=Object.getPrototypeOf(n)}!function qU(t){let n=0,e=null;for(let i=t.length-1;i>=0;i--){const r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=hn(r.hostAttrs,e=hn(e,r.hostAttrs))}}(i)}function dC(t){return t===Ca?{}:t===xn?[]:t}function XU(t,n){const e=t.viewQuery;t.viewQuery=e?(i,r)=>{n(i,r),e(i,r)}:n}function QU(t,n){const e=t.contentQueries;t.contentQueries=e?(i,r,o)=>{n(i,r,o),e(i,r,o)}:n}function JU(t,n){const e=t.hostBindings;t.hostBindings=e?(i,r)=>{n(i,r),e(i,r)}:n}function K0(t){return!!uC(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function uC(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Qa(t,n,e){return t[n]=e}function lo(t,n,e){return!Object.is(t[n],e)&&(t[n]=e,!0)}function jd(t,n,e,i){const r=lo(t,n,e);return lo(t,n+1,i)||r}function e1(t,n,e,i,r){const o=jd(t,n,e,i);return lo(t,n+2,r)||o}function Ot(t,n,e,i){const r=Ge();return lo(r,Ua(),n)&&(yn(),function Xa(t,n,e,i,r,o){const s=Ro(t,n);oC(n[sn],s,o,t.value,e,i,r)}(fi(),r,t,n,e,i)),Ot}function Uf(t,n,e,i){return lo(t,Ua(),e)?n+qt(e)+i:Zt}function Wf(t,n,e,i,r,o){const a=jd(t,Jo(),e,r);return Ta(2),a?n+qt(e)+i+qt(r)+o:Zt}function zf(t,n,e,i,r,o,s,a){const d=e1(t,Jo(),e,r,s);return Ta(3),d?n+qt(e)+i+qt(r)+o+qt(s)+a:Zt}function C(t,n,e,i,r,o,s,a){const l=Ge(),d=yn(),f=t+ei,m=d.firstCreatePass?function aW(t,n,e,i,r,o,s,a,l){const d=n.consts,f=jf(n,t,4,s||null,Ya(d,a));iC(n,e,f,Ya(d,l)),qs(n,f);const m=f.tView=nC(2,f,i,r,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,d);return null!==n.queries&&(n.queries.template(n,f),m.queries=n.queries.embeddedTView(f)),f}(f,d,l,n,e,i,r,o,s):d.data[f];$s(m,!1);const g=l[sn].createComment("");L0(d,l,g,m),ao(g,l),X0(l,l[f]=zA(g,l,g,m)),bf(m)&&eC(d,l,m),null!=s&&tC(l,m,a)}function Oo(t){return vc(function Uy(){return Xt.lFrame.contextLView}(),ei+t)}function _(t,n,e){const i=Ge();return lo(i,Ua(),n)&&Ts(yn(),fi(),i,t,n,i[sn],e,!1),_}function fC(t,n,e,i,r){const s=r?"class":"style";cC(t,e,n.inputs[s],s,i)}function c(t,n,e,i){const r=Ge(),o=yn(),s=ei+t,a=r[sn],l=o.firstCreatePass?function cW(t,n,e,i,r,o){const s=n.consts,l=jf(n,t,2,i,Ya(s,r));return iC(n,e,l,Ya(s,o)),null!==l.attrs&&J0(l,l.attrs,!1),null!==l.mergedAttrs&&J0(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,r,n,e,i):o.data[s],d=r[s]=xM(a,n,function Ky(){return Xt.lFrame.currentNamespace}()),f=bf(l);return $s(l,!0),qk(a,d,l),32!=(32&l.flags)&&L0(o,r,d,l),0===function Vy(){return Xt.lFrame.elementDepthCount}()&&ao(d,r),function Hy(){Xt.lFrame.elementDepthCount++}(),f&&(eC(o,r,l),KM(o,l,r)),null!==i&&tC(r,l),c}function u(){let t=li();Xp()?Xe():(t=t.parent,$s(t,!1));const n=t;!function Gy(){Xt.lFrame.elementDepthCount--}();const e=yn();return e.firstCreatePass&&(qs(e,t),jp(t)&&e.queries.elementEnd(t)),null!=n.classesWithoutHost&&function iM(t){return 0!=(8&t.flags)}(n)&&fC(e,n,Ge(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function rM(t){return 0!=(16&t.flags)}(n)&&fC(e,n,Ge(),n.stylesWithoutHost,!1),u}function X(t,n,e,i){return c(t,n,e,i),u(),X}function t1(t,n,e){const i=Ge(),r=yn(),o=t+ei,s=r.firstCreatePass?function dW(t,n,e,i,r){const o=n.consts,s=Ya(o,i),a=jf(n,t,8,"ng-container",s);return null!==s&&J0(a,s,!0),iC(n,e,a,Ya(o,r)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,r,i,n,e):r.data[o];$s(s,!0);const a=i[o]=i[sn].createComment("");return L0(r,i,a,s),ao(a,i),bf(s)&&(eC(r,i,s),KM(r,s,i)),null!=e&&tC(i,s),t1}function n1(){let t=li();const n=yn();return Xp()?Xe():(t=t.parent,$s(t,!1)),n.firstCreatePass&&(qs(n,t),jp(t)&&n.queries.elementEnd(t)),n1}function Dm(t,n,e){return t1(t,n,e),n1(),Dm}function ae(){return Ge()}function ym(t){return!!t&&"function"==typeof t.then}const hC=function fR(t){return!!t&&"function"==typeof t.subscribe};function R(t,n,e,i){const r=Ge(),o=yn(),s=li();return hR(o,r,r[sn],s,t,n,i),R}function pC(t,n){const e=li(),i=Ge(),r=yn();return hR(r,i,XA(Zp(r.data),e,i),e,t,n),pC}function hR(t,n,e,i,r,o,s){const a=bf(i),d=t.firstCreatePass&&qA(t),f=n[Fi],m=$A(n);let g=!0;if(3&i.type||s){const y=Ro(i,n),T=s?s(y):y,k=m.length,O=s?H=>s(Mr(H[i.index])):i.index;let N=null;if(!s&&a&&(N=function uW(t,n,e,i){const r=t.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const s=r[o];if(s===e&&r[o+1]===i){const a=n[hc],l=r[o+2];return a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(t,n,r,i.index)),null!==N)(N.__ngLastListenerFn__||N).__ngNextListenerFn__=o,N.__ngLastListenerFn__=o,g=!1;else{o=mR(i,n,f,o,!1);const H=e.listen(T,r,o);m.push(o,H),d&&d.push(r,O,k,k+1)}}else o=mR(i,n,f,o,!1);const b=i.outputs;let M;if(g&&null!==b&&(M=b[r])){const y=M.length;if(y)for(let T=0;T<y;T+=2){const U=n[M[T]][M[T+1]].subscribe(o),Q=m.length;m.push(o,U),d&&d.push(r,i.index,Q,-(Q+1))}}}function pR(t,n,e,i){try{return Qo(6,n,e),!1!==e(i)}catch(r){return QA(t,r),!1}finally{Qo(7,n,e)}}function mR(t,n,e,i,r){return function o(s){if(s===Function)return i;aC(t.componentOffset>-1?Fo(t.index,n):n);let l=pR(n,e,i,s),d=o.__ngNextListenerFn__;for(;d;)l=pR(n,e,d,s)&&l,d=d.__ngNextListenerFn__;return r&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function D(t=1){return function Xy(t){return(Xt.lFrame.contextLView=function Qy(t,n){for(;t>0;)n=n[mc],t--;return n}(t,Xt.lFrame.contextLView))[Fi]}(t)}function fW(t,n){let e=null;const i=function HY(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(!(1&e))return n[e+1]}return null}(t);for(let r=0;r<n.length;r++){const o=n[r];if("*"!==o){if(null===i?CA(t,o,!0):YY(i,o))return r}else e=r}return e}function Zs(t){const n=Ge()[Jn][Nr];if(!n.projection){const i=n.projection=lm(t?t.length:1,null),r=i.slice();let o=n.child;for(;null!==o;){const s=t?fW(o,t):0;null!==s&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o),o=o.next}}}function Vi(t,n=0,e){const i=Ge(),r=yn(),o=jf(r,ei+t,16,null,e||null);null===o.projection&&(o.projection=n),Xe(),32!=(32&o.flags)&&function Sj(t,n,e){zk(n[sn],0,n,e,Pk(t,e,n),Gk(e.parent||n[Nr],e,n))}(r,i,o)}function Hi(t,n,e){return On(t,"",n,"",e),Hi}function On(t,n,e,i,r){const o=Ge(),s=Uf(o,n,e,i);return s!==Zt&&Ts(yn(),fi(),o,t,s,o[sn],r,!1),On}function Mn(t,n,e,i,r,o,s){const a=Ge(),l=Wf(a,n,e,i,r,o);return l!==Zt&&Ts(yn(),fi(),a,t,l,a[sn],s,!1),Mn}function nn(t,n,e,i,r,o,s,a,l){const d=Ge(),f=zf(d,n,e,i,r,o,s,a);return f!==Zt&&Ts(yn(),fi(),d,t,f,d[sn],l,!1),nn}function r1(t,n){return t<<17|n<<2}function Cc(t){return t>>17&32767}function mC(t){return 2|t}function Yd(t){return(131068&t)>>2}function gC(t,n){return-131069&t|n<<2}function _C(t){return 1|t}function MR(t,n,e,i,r){const o=t[e+1],s=null===n;let a=i?Cc(o):Yd(o),l=!1;for(;0!==a&&(!1===l||s);){const f=t[a+1];vW(t[a],n)&&(l=!0,t[a+1]=i?_C(f):mC(f)),a=i?Cc(f):Yd(f)}l&&(t[e+1]=i?mC(o):_C(o))}function vW(t,n){return null===t||null==n||(Array.isArray(t)?t[1]:t)===n||!(!Array.isArray(t)||"string"!=typeof n)&&Ff(t,n)>=0}const xr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function CR(t){return t.substring(xr.key,xr.keyEnd)}function xR(t,n){const e=xr.textEnd;return e===n?-1:(n=xr.keyEnd=function MW(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}(t,xr.key=n,e),Zf(t,n,e))}function Zf(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function ws(t,n,e){return Ea(t,n,e,!1),ws}function Nt(t,n){return Ea(t,n,null,!0),Nt}function xc(t){Sa(Cs,Za,t,!0)}function Za(t,n){for(let e=function DW(t){return function wR(t){xr.key=0,xr.keyEnd=0,xr.value=0,xr.valueEnd=0,xr.textEnd=t.length}(t),xR(t,Zf(t,0,xr.textEnd))}(n);e>=0;e=xR(n,e))Cs(t,CR(n),!0)}function Ea(t,n,e,i){const r=Ge(),o=yn(),s=Ta(2);o.firstUpdatePass&&AR(o,t,s,i),n!==Zt&&lo(r,s,n)&&FR(o,o.data[qr()],r,r[sn],t,r[s+1]=function FW(t,n){return null==t||("string"==typeof n?t+=n:"object"==typeof t&&(t=Qn(xs(t)))),t}(n,e),i,s)}function Sa(t,n,e,i){const r=yn(),o=Ta(2);r.firstUpdatePass&&AR(r,null,o,i);const s=Ge();if(e!==Zt&&lo(s,o,e)){const a=r.data[qr()];if(OR(a,i)&&!kR(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(e=lf(l,e||"")),fC(r,a,s,e,i)}else!function RW(t,n,e,i,r,o,s,a){r===Zt&&(r=xn);let l=0,d=0,f=0<r.length?r[0]:null,m=0<o.length?o[0]:null;for(;null!==f||null!==m;){const g=l<r.length?r[l+1]:void 0,b=d<o.length?o[d+1]:void 0;let y,M=null;f===m?(l+=2,d+=2,g!==b&&(M=m,y=b)):null===m||null!==f&&f<m?(l+=2,M=f):(d+=2,M=m,y=b),null!==M&&FR(t,n,e,i,M,y,s,a),f=l<r.length?r[l]:null,m=d<o.length?o[d]:null}}(r,a,s,s[sn],s[o+1],s[o+1]=function AW(t,n,e){if(null==e||""===e)return xn;const i=[],r=xs(e);if(Array.isArray(r))for(let o=0;o<r.length;o++)t(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&t(i,o,r[o]);else"string"==typeof r&&n(i,r);return i}(t,n,e),i,o)}}function kR(t,n){return n>=t.expandoStartIndex}function AR(t,n,e,i){const r=t.data;if(null===r[e+1]){const o=r[qr()],s=kR(t,e);OR(o,i)&&null===n&&!s&&(n=!1),n=function wW(t,n,e,i){const r=Zp(t);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(e=Mm(e=vC(null,t,n,e,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||t[s]!==r)if(e=vC(r,t,n,e,i),null===o){let l=function EW(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==Yd(i))return t[Cc(i)]}(t,n,i);void 0!==l&&Array.isArray(l)&&(l=vC(null,t,n,l[1],i),l=Mm(l,n.attrs,i),function SW(t,n,e,i){t[Cc(e?n.classBindings:n.styleBindings)]=i}(t,n,i,l))}else o=function kW(t,n,e){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++)i=Mm(i,t[o].hostAttrs,e);return Mm(i,n.attrs,e)}(t,n,i)}return void 0!==o&&(i?n.residualClasses=o:n.residualStyles=o),e}(r,o,n,i),function gW(t,n,e,i,r,o){let s=o?n.classBindings:n.styleBindings,a=Cc(s),l=Yd(s);t[i]=e;let f,d=!1;if(Array.isArray(e)?(f=e[1],(null===f||Ff(e,f)>0)&&(d=!0)):f=e,r)if(0!==l){const g=Cc(t[a+1]);t[i+1]=r1(g,a),0!==g&&(t[g+1]=gC(t[g+1],i)),t[a+1]=function pW(t,n){return 131071&t|n<<17}(t[a+1],i)}else t[i+1]=r1(a,0),0!==a&&(t[a+1]=gC(t[a+1],i)),a=i;else t[i+1]=r1(l,0),0===a?a=i:t[l+1]=gC(t[l+1],i),l=i;d&&(t[i+1]=mC(t[i+1])),MR(t,f,i,!0),MR(t,f,i,!1),function _W(t,n,e,i,r){const o=r?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof n&&Ff(o,n)>=0&&(e[i+1]=_C(e[i+1]))}(n,f,t,i,o),s=r1(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,e,s,i)}}function vC(t,n,e,i,r){let o=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a<s&&(o=n[a],i=Mm(i,o.hostAttrs,r),o!==t);)a++;return null!==t&&(e.directiveStylingLast=a),i}function Mm(t,n,e){const i=e?1:2;let r=-1;if(null!==n)for(let o=0;o<n.length;o++){const s=n[o];"number"==typeof s?r=s:r===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),Cs(t,s,!!e||n[++o]))}return void 0===t?null:t}function FR(t,n,e,i,r,o,s,a){if(!(3&n.type))return;const l=t.data,d=l[a+1],f=function mW(t){return 1==(1&t)}(d)?NR(l,n,e,r,Yd(d),s):void 0;o1(f)||(o1(o)||function hW(t){return 2==(2&t)}(d)&&(o=NR(l,null,e,r,a,s)),function Aj(t,n,e,i,r){if(n)r?t.addClass(e,i):t.removeClass(e,i);else{let o=-1===i.indexOf("-")?void 0:Zo.DashCase;null==r?t.removeStyle(e,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Zo.Important),t.setStyle(e,i,r,o))}}(i,s,yf(qr(),e),r,o))}function NR(t,n,e,i,r,o){const s=null===n;let a;for(;r>0;){const l=t[r],d=Array.isArray(l),f=d?l[1]:l,m=null===f;let g=e[r+1];g===Zt&&(g=m?xn:void 0);let b=m?uM(g,i):f===i?g:void 0;if(d&&!o1(b)&&(b=uM(l,i)),o1(b)&&(a=b,s))return a;const M=t[r+1];r=s?Cc(M):Yd(M)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=uM(l,i))}return a}function o1(t){return void 0!==t}function OR(t,n){return 0!=(t.flags&(n?8:16))}function p(t,n=""){const e=Ge(),i=yn(),r=t+ei,o=i.firstCreatePass?jf(i,r,1,n,null):i.data[r],s=e[r]=CM(e[sn],n);L0(i,e,s,o),$s(o,!1)}function I(t){return Be("",t,""),I}function Be(t,n,e){const i=Ge(),r=Uf(i,t,n,e);return r!==Zt&&Ol(i,qr(),r),Be}function Rt(t,n,e,i,r){const o=Ge(),s=Wf(o,t,n,e,i,r);return s!==Zt&&Ol(o,qr(),s),Rt}function bC(t,n,e,i,r,o,s){const a=Ge(),l=zf(a,t,n,e,i,r,o,s);return l!==Zt&&Ol(a,qr(),l),bC}function Il(t,n,e){const i=Ge();return lo(i,Ua(),n)&&Ts(yn(),fi(),i,t,n,i[sn],e,!0),Il}function DC(t,n,e){const i=Ge();if(lo(i,Ua(),n)){const o=yn(),s=fi();Ts(o,s,i,t,n,XA(Zp(o.data),s,i),e,!0)}return DC}const Ud=void 0;var JW=["en",[["a","p"],["AM","PM"],Ud],[["AM","PM"],Ud,Ud],[["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"]],Ud,[["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"]],Ud,[["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}",Ud,"{1} 'at' {0}",Ud],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function QW(t){const e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let Kf={};function Io(t){const n=function ZW(t){return t.toLowerCase().replace(/_/g,"-")}(t);let e=ZR(n);if(e)return e;const i=n.split("-")[0];if(e=ZR(i),e)return e;if("en"===i)return JW;throw new Re(701,!1)}function ZR(t){return t in Kf||(Kf[t]=jn.ng&&jn.ng.common&&jn.ng.common.locales&&jn.ng.common.locales[t]),Kf[t]}var ut=(()=>((ut=ut||{})[ut.LocaleId=0]="LocaleId",ut[ut.DayPeriodsFormat=1]="DayPeriodsFormat",ut[ut.DayPeriodsStandalone=2]="DayPeriodsStandalone",ut[ut.DaysFormat=3]="DaysFormat",ut[ut.DaysStandalone=4]="DaysStandalone",ut[ut.MonthsFormat=5]="MonthsFormat",ut[ut.MonthsStandalone=6]="MonthsStandalone",ut[ut.Eras=7]="Eras",ut[ut.FirstDayOfWeek=8]="FirstDayOfWeek",ut[ut.WeekendRange=9]="WeekendRange",ut[ut.DateFormat=10]="DateFormat",ut[ut.TimeFormat=11]="TimeFormat",ut[ut.DateTimeFormat=12]="DateTimeFormat",ut[ut.NumberSymbols=13]="NumberSymbols",ut[ut.NumberFormats=14]="NumberFormats",ut[ut.CurrencyCode=15]="CurrencyCode",ut[ut.CurrencySymbol=16]="CurrencySymbol",ut[ut.CurrencyName=17]="CurrencyName",ut[ut.Currencies=18]="Currencies",ut[ut.Directionality=19]="Directionality",ut[ut.PluralCase=20]="PluralCase",ut[ut.ExtraData=21]="ExtraData",ut))();const KW=["zero","one","two","few","many"],eh="en-US",s1={marker:"element"},a1={marker:"ICU"};var Gi=(()=>((Gi=Gi||{})[Gi.SHIFT=2]="SHIFT",Gi[Gi.APPEND_EAGERLY=1]="APPEND_EAGERLY",Gi[Gi.COMMENT=2]="COMMENT",Gi))();let KR=eh;function eF(t){(function Xo(t,n){null==t&&Fn(n,t,null,"!=")})(t,"Expected localeId to be defined"),"string"==typeof t&&(KR=t.toLowerCase().replace(/_/g,"-"))}function tF(t,n,e){const i=n.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return null===r?jk(t,0,e):Mr(e[r])}function nF(t,n,e,i,r){const o=n.insertBeforeIndex;if(Array.isArray(o)){let s=i,a=null;if(3&n.type||(a=s,s=r),null!==s&&-1===n.componentOffset)for(let l=1;l<o.length;l++)Pd(t,s,e[o[l]],a,!1)}}function iF(t,n){if(t.push(n),t.length>1)for(let e=t.length-2;e>=0;e--){const i=t[e];rF(i)||iz(i,n)&&null===rz(i)&&oz(i,n.index)}}function rF(t){return!(64&t.type)}function iz(t,n){return rF(n)||t.index>n.index}function rz(t){const n=t.insertBeforeIndex;return Array.isArray(n)?n[0]:n}function oz(t,n){const e=t.insertBeforeIndex;Array.isArray(e)?e[0]=n:(Uk(tF,nF),t.insertBeforeIndex=n)}function Cm(t,n){const e=t.data[n];return null===e||"string"==typeof e?null:e.hasOwnProperty("currentCaseLViewIndex")?e:e.value}function lz(t,n,e){const i=JM(t,e,64,null,null);return iF(n,i),i}function l1(t,n){const e=n[t.currentCaseLViewIndex];return null===e?e:e<0?~e:e}function oF(t){return t>>>17}function sF(t){return(131070&t)>>>1}let xm=0,Tm=0;function lF(t,n,e,i){const r=e[sn];let s,o=null;for(let a=0;a<n.length;a++){const l=n[a];if("string"==typeof l){const d=n[++a];null===e[d]&&(e[d]=CM(r,l))}else if("number"==typeof l)switch(1&l){case 0:const d=oF(l);let f,m;if(null===o&&(o=d,s=I0(r,i)),d===o?(f=i,m=s):(f=null,m=Mr(e[d])),null!==m){const y=sF(l);Pd(r,m,e[y],f,!1);const k=Cm(t,y);if(null!==k&&"object"==typeof k){const O=l1(k,e);null!==O&&lF(t,k.create[O],e,e[k.anchorIdx])}}break;case 1:const b=n[++a],M=n[++a];oC(r,yf(l>>>1,e),null,null,b,M,null)}else switch(l){case a1:const d=n[++a],f=n[++a];null===e[f]&&ao(e[f]=_j(r,d),e);break;case s1:const m=n[++a],g=n[++a];null===e[g]&&ao(e[g]=xM(r,m,null),e)}}}function cF(t,n,e,i,r){for(let o=0;o<e.length;o++){const s=e[o],a=e[++o];if(s&r){let l="";for(let d=o+1;d<=o+a;d++){const f=e[d];if("string"==typeof f)l+=f;else if("number"==typeof f)if(f<0)l+=qt(n[i-f]);else{const m=f>>>2;switch(3&f){case 1:const g=e[++d],b=e[++d],M=t.data[m];"string"==typeof M?oC(n[sn],n[m],null,M,g,l,b):Ts(t,M,n,g,l,n[sn],b,!1);break;case 0:const y=n[m];null!==y&&Ok(n[sn],y,l);break;case 2:hz(t,Cm(t,m),n,l);break;case 3:dF(t,Cm(t,m),i,n)}}}}else{const l=e[o+1];if(l>0&&3==(3&l)){const f=Cm(t,l>>>2);n[f.currentCaseLViewIndex]<0&&dF(t,f,i,n)}}o+=a}}function dF(t,n,e,i){let r=i[n.currentCaseLViewIndex];if(null!==r){let o=xm;r<0&&(r=i[n.currentCaseLViewIndex]=~r,o=-1),cF(t,i,n.update[r],e,o)}}function hz(t,n,e,i){const r=function pz(t,n){let e=t.cases.indexOf(n);if(-1===e)switch(t.type){case 1:{const i=function ez(t,n){const e=function JR(t){return Io(t)[ut.PluralCase]}(n)(parseInt(t,10)),i=KW[e];return void 0!==i?i:"other"}(n,function nz(){return KR}());e=t.cases.indexOf(i),-1===e&&"other"!==i&&(e=t.cases.indexOf("other"));break}case 0:e=t.cases.indexOf("other")}return-1===e?null:e}(n,i);if(l1(n,e)!==r&&(uF(t,n,e),e[n.currentCaseLViewIndex]=null===r?null:~r,null!==r)){const s=e[n.anchorIdx];s&&lF(t,n.create[r],e,s)}}function uF(t,n,e){let i=l1(n,e);if(null!==i){const r=n.remove[i];for(let o=0;o<r.length;o++){const s=r[o];if(s>0){const a=yf(s,e);null!==a&&kM(e[sn],a)}else uF(t,Cm(t,~s),e)}}}function mz(){const t=[];let e,i,n=-1;function o(a,l){n=0;const d=l1(a,l);i=null!==d?a.remove[d]:xn}function s(){if(n<i.length){const a=i[n++];return a>0?e[a]:(t.push(n,i),o(e[dt].data[~a],e),s())}return 0===t.length?null:(i=t.pop(),n=t.pop(),s())}return function r(a,l){for(e=l;t.length;)t.pop();return o(a.value,l),s}}const c1=/\ufffd(\d+):?\d*\ufffd/gi,_z=/\ufffd(\d+)\ufffd/,hF=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,wm="\ufffd",vz=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,bz=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Dz=/\uE500/g;function pF(t,n,e,i,r,o,s){const a=gm(t,i,1,null);let l=a<<Gi.SHIFT,d=Rd();n===d&&(d=null),null===d&&(l|=Gi.APPEND_EAGERLY),s&&(l|=Gi.COMMENT,function pj(t){void 0===bM&&(bM=t())}(mz)),r.push(l,null===o?"":o);const f=JM(t,a,s?32:1,null===o?"":o,null);iF(e,f);const m=f.index;return $s(f,!1),null!==d&&n!==d&&function az(t,n){let e=t.insertBeforeIndex;null===e?(Uk(tF,nF),e=t.insertBeforeIndex=[null,n]):(function Ma(t,n,e){t!=n&&Fn(e,t,n,"==")}(Array.isArray(e),!0,"Expecting array here"),e.push(n))}(d,m),f}function Cz(t,n,e,i,r,o,s){const a=s.match(c1),l=pF(t,n,e,o,i,a?null:s,!1);a&&Em(r,s,l.index,null,0,null)}function Em(t,n,e,i,r,o){const s=t.length,a=s+1;t.push(null,null);const l=s+2,d=n.split(c1);let f=0;for(let m=0;m<d.length;m++){const g=d[m];if(1&m){const b=r+parseInt(g,10);t.push(-1-b),f|=mF(b)}else""!==g&&t.push(g)}return t.push(e<<2|(i?1:0)),i&&t.push(i,o),t[s]=f,t[a]=t.length-l,f}function mF(t){return 1<<Math.min(t,31)}function gF(t){let n,o,e="",i=0,r=!1;for(;null!==(n=vz.exec(t));)r?n[0]===`${wm}/*${o}${wm}`&&(i=n.index,r=!1):(e+=t.substring(i,n.index+n[0].length),o=n[1],r=!0);return e+=t.slice(i),e}function _F(t,n,e,i,r,o){let s=0;const a={type:r.type,currentCaseLViewIndex:gm(t,n,1,null),anchorIdx:o,cases:[],create:[],remove:[],update:[]};(function Rz(t,n,e){t.push(mF(n.mainBinding),2,-1-n.mainBinding,e<<2|2)})(e,r,o),function sz(t,n,e){const i=t.data[n];null===i?t.data[n]=e:i.value=e}(t,o,a);const l=r.values;for(let d=0;d<l.length;d++){const f=l[d],m=[];for(let g=0;g<f.length;g++){const b=f[g];if("string"!=typeof b){const M=m.push(b)-1;f[g]=`\x3c!--\ufffd${M}\ufffd--\x3e`}}s=kz(t,a,n,e,i,r.cases[d],f.join(""),m)|s}s&&function Fz(t,n,e){t.push(n,1,e<<2|3)}(e,s,o)}function Sz(t){const n=[],e=[];let i=1,r=0;const o=yC(t=t.replace(hF,function(s,a,l){return i="select"===l?0:1,r=parseInt(a.slice(1),10),""}));for(let s=0;s<o.length;){let a=o[s++].trim();1===i&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&n.push(a);const l=yC(o[s++]);n.length>e.length&&e.push(l)}return{type:i,mainBinding:r,cases:n,values:e}}function yC(t){if(!t)return[];let n=0;const e=[],i=[],r=/[{}]/g;let o;for(r.lastIndex=0;o=r.exec(t);){const a=o.index;if("}"==o[0]){if(e.pop(),0==e.length){const l=t.substring(n,a);hF.test(l)?i.push(Sz(l)):i.push(l),n=a+1}}else{if(0==e.length){const l=t.substring(n,a);i.push(l),n=a+1}e.push("{")}}const s=t.substring(n);return i.push(s),i}function kz(t,n,e,i,r,o,s,a){const l=[],d=[],f=[];n.cases.push(o),n.create.push(l),n.remove.push(d),n.update.push(f);const g=Kk(function Xk(){return void 0!==FM?FM:typeof document<"u"?document:void 0}()).getInertBodyElement(s),b=LM(g)||g;return b?vF(t,n,e,i,l,d,f,b,r,a,0):0}function vF(t,n,e,i,r,o,s,a,l,d,f){let m=0,g=a.firstChild;for(;g;){const b=gm(t,e,1,null);switch(g.nodeType){case Node.ELEMENT_NODE:const M=g,y=M.tagName.toLowerCase();if(OM.hasOwnProperty(y)){MC(r,s1,y,l,b),t.data[b]=y;const N=M.attributes;for(let H=0;H<N.length;H++){const U=N.item(H),Q=U.name.toLowerCase();U.value.match(c1)?iA.hasOwnProperty(Q)&&Em(s,U.value,b,U.name,0,IM[Q]?H0:null):Nz(r,b,U)}m=vF(t,n,e,i,r,o,s,g,b,d,f+1)|m,bF(o,b,f)}break;case Node.TEXT_NODE:const T=g.textContent||"",k=T.match(c1);MC(r,null,k?"":T,l,b),bF(o,b,f),k&&(m=Em(s,T,b,null,0,null)|m);break;case Node.COMMENT_NODE:const O=_z.exec(g.textContent||"");if(O){const H=d[parseInt(O[1],10)];MC(r,a1,"",l,b),_F(t,e,i,l,H,b),Az(o,b,f)}}g=g.nextSibling}return m}function bF(t,n,e){0===e&&t.push(n)}function Az(t,n,e){0===e&&(t.push(~n),t.push(n))}function MC(t,n,e,i,r){null!==n&&t.push(n),t.push(e,r,function cz(t,n,e){return t|n<<17|e<<1}(0,i,r))}function Nz(t,n,e){t.push(n<<1|1,e.name,e.value)}function yF(t,n,e=-1){const i=yn(),r=Ge(),o=ei+t,s=Ya(i.consts,n),a=Rd();i.firstCreatePass&&function Mz(t,n,e,i,r,o){const s=Rd(),a=[],l=[],d=[[]];r=function Ez(t,n){if(function wz(t){return-1===t}(n))return gF(t);{const e=t.indexOf(`:${n}${wm}`)+2+n.toString().length,i=t.search(new RegExp(`${wm}\\/\\*\\d+:${n}${wm}`));return gF(t.substring(e,i))}}(r,o);const f=function yz(t){return t.replace(Dz," ")}(r).split(bz);for(let m=0;m<f.length;m++){let g=f[m];if(1&m){const b=47===g.charCodeAt(0),y=(g.charCodeAt(b?1:0),ei+Number.parseInt(g.substring(b?2:1)));if(b)d.shift(),$s(Rd(),!1);else{const T=lz(t,d[0],y);d.unshift([]),$s(T,!0)}}else{const b=yC(g);for(let M=0;M<b.length;M++){let y=b[M];if(1&M){const T=y;if("object"!=typeof T)throw new Error(`Unable to parse ICU expression in "${r}" message.`);_F(t,e,l,n,T,pF(t,s,d[0],e,a,"",!0).index)}else""!==y&&Cz(t,s,d[0],a,l,e,y)}}}t.data[i]={create:a,update:l}}(i,null===a?0:a.index,r,o,s,e);const l=i.data[o],f=Bk(i,a===r[Nr]?null:a,r);(function fz(t,n,e,i){const r=t[sn];for(let o=0;o<n.length;o++){const s=n[o++],a=n[o],d=(s&Gi.APPEND_EAGERLY)===Gi.APPEND_EAGERLY,f=s>>>Gi.SHIFT;let m=t[f];null===m&&(m=t[f]=(s&Gi.COMMENT)===Gi.COMMENT?r.createComment(a):CM(r,a)),d&&null!==e&&Pd(r,e,m,i,!1)}})(r,l.create,f,a&&8&a.type?r[a.index]:null),C0(!0)}function Qr(t,n,e){yF(t,n,e),function MF(){C0(!1)}()}function th(t){return function dz(t){t&&(xm|=1<<Math.min(Tm,31)),Tm++}(lo(Ge(),Ua(),t)),th}function Sm(t){!function uz(t,n,e){if(Tm>0){const i=t.data[e];cF(t,n,Array.isArray(i)?i:i.update,Jo()-Tm-1,xm)}xm=0,Tm=0}(yn(),Ge(),t+ei)}function CC(t,n,e,i,r){if(t=Lt(t),Array.isArray(t))for(let o=0;o<t.length;o++)CC(t[o],n,e,i,r);else{const o=yn(),s=Ge();let a=Vd(t)?t:Lt(t.provide),l=gA(t);const d=li(),f=1048575&d.providerIndexes,m=d.directiveStart,g=d.providerIndexes>>20;if(Vd(t)||!t.multi){const b=new Fd(l,r,V),M=TC(a,n,r?f:f+g,m);-1===M?(aM(S0(d,s),o,a),xC(o,t,n.length),n.push(a),d.directiveStart++,d.directiveEnd++,r&&(d.providerIndexes+=1048576),e.push(b),s.push(b)):(e[M]=b,s[M]=b)}else{const b=TC(a,n,f+g,m),M=TC(a,n,f,f+g),T=M>=0&&e[M];if(r&&!T||!r&&!(b>=0&&e[b])){aM(S0(d,s),o,a);const k=function $z(t,n,e,i,r){const o=new Fd(t,e,V);return o.multi=[],o.index=n,o.componentProviders=0,CF(o,r,i&&!e),o}(r?zz:Wz,e.length,r,i,l);!r&&T&&(e[M].providerFactory=k),xC(o,t,n.length,0),n.push(a),d.directiveStart++,d.directiveEnd++,r&&(d.providerIndexes+=1048576),e.push(k),s.push(k)}else xC(o,t,b>-1?b:M,CF(e[r?M:b],l,!r&&i));!r&&i&&T&&e[M].componentProviders++}}}function xC(t,n,e,i){const r=Vd(n),o=function uY(t){return!!t.useClass}(n);if(r||o){const l=(o?Lt(n.useClass):n).prototype.ngOnDestroy;if(l){const d=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){const f=d.indexOf(e);-1===f?d.push(e,[i,l]):d[f+1].push(i,l)}else d.push(e,l)}}}function CF(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function TC(t,n,e,i){for(let r=e;r<i;r++)if(n[r]===t)return r;return-1}function Wz(t,n,e,i){return wC(this.multi,[])}function zz(t,n,e,i){const r=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=Id(e,e[dt],this.providerFactory.index,i);o=a.slice(0,s),wC(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],wC(r,o);return o}function wC(t,n){for(let e=0;e<t.length;e++)n.push((0,t[e])());return n}function En(t,n=[]){return e=>{e.providersResolver=(i,r)=>function Uz(t,n,e){const i=yn();if(i.firstCreatePass){const r=Ds(t);CC(e,i.data,i.blueprint,r,!0),CC(n,i.data,i.blueprint,r,!1)}}(i,r?r(t):t,n)}}class nh{}class xF{}class TF extends nh{constructor(n,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new JA(this);const i=zr(n);this._bootstrapComponents=Nl(i.bootstrap),this._r3Injector=AA(n,e,[{provide:nh,useValue:this},{provide:Hd,useValue:this.componentFactoryResolver}],Qn(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class EC extends xF{constructor(n){super(),this.moduleType=n}create(n){return new TF(this.moduleType,n)}}class Xz extends nh{constructor(n,e,i){super(),this.componentFactoryResolver=new JA(this),this.instance=null;const r=new mA([...n,{provide:nh,useValue:this},{provide:Hd,useValue:this.componentFactoryResolver}],e||U0(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function d1(t,n,e=null){return new Xz(t,n,e).injector}let Qz=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=uA(0,e.type),r=i.length>0?d1([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,r)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}return t.\u0275prov=Pe({token:t,providedIn:"environment",factory:()=>new t(me(Qs))}),t})();function sr(t){t.getStandaloneInjector=n=>n.get(Qz).getOrCreateStandaloneInjector(t)}function ke(t,n,e,i){return FF(Ge(),Ut(),t,n,e,i)}function km(t,n,e,i,r){return function NF(t,n,e,i,r,o,s){const a=n+e;return jd(t,a,r,o)?Qa(t,a+2,s?i.call(s,r,o):i(r,o)):Am(t,a+2)}(Ge(),Ut(),t,n,e,i,r)}function kC(t,n,e,i,r,o){return function OF(t,n,e,i,r,o,s,a){const l=n+e;return e1(t,l,r,o,s)?Qa(t,l+3,a?i.call(a,r,o,s):i(r,o,s)):Am(t,l+3)}(Ge(),Ut(),t,n,e,i,r,o)}function Am(t,n){const e=t[n];return e===Zt?void 0:e}function FF(t,n,e,i,r,o){const s=n+e;return lo(t,s,r)?Qa(t,s+1,o?i.call(o,r):i(r)):Am(t,s+1)}function BF(t,n,e){const i=t+ei,r=Ge(),o=vc(r,i);return function Rm(t,n){return t[dt].data[n].pure}(r,i)?FF(r,Ut(),n,o.transform,e,o):o.transform(e)}function AC(t){return n=>{setTimeout(t,void 0,n)}}const ht=class _$ extends vt{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,e,i){let r=n,o=e||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=AC(o),r&&(r=AC(r)),s&&(s=AC(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof S&&n.add(a),a}};function v$(){return this._results[Symbol.iterator]()}class ih{get changes(){return this._changes||(this._changes=new ht)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=ih.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=v$)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){const i=this;i.dirty=!1;const r=function Xs(t){return t.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function O9(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i<t.length;i++){let r=t[i],o=n[i];if(e&&(r=e(r),o=e(o)),o!==r)return!1}return!0}(i._results,r,e))&&(i._results=r,i.length=r.length,i.last=r[this.length-1],i.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Zn=(()=>{class t{}return t.__NG_ELEMENT_ID__=y$,t})();const b$=Zn,D$=class extends b${constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(n,e){const i=this._declarationTContainer.tView,r=$0(this._declarationLView,i,n,16,null,i.declTNode,null,null,null,null,e||null);r[vs]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[zs];return null!==s&&(r[zs]=s.createEmbeddedView(i)),ZM(i,r,n),new _m(r)}};function y$(){return u1(li(),Ge())}function u1(t,n){return 4&t.type?new D$(n,t,Bf(t,n)):null}let es=(()=>{class t{}return t.__NG_ELEMENT_ID__=M$,t})();function M$(){return GF(li(),Ge())}const C$=es,VF=class extends C${constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Bf(this._hostTNode,this._hostLView)}get injector(){return new Ef(this._hostTNode,this._hostLView)}get parentInjector(){const n=sM(this._hostTNode,this._hostLView);if(x(n)){const e=j(n,this._hostLView),i=F(n);return new Ef(e[dt].data[i+8],e)}return new Ef(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=HF(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-$r}createEmbeddedView(n,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=n.createEmbeddedView(e||{},o);return this.insert(s,r),s}createComponent(n,e,i,r,o){const s=n&&!function am(t){return"function"==typeof t}(n);let a;if(s)a=e;else{const m=e||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const l=s?n:new vm(Nn(n)),d=i||this.parentInjector;if(!o&&null==l.ngModule){const g=(s?d:this.parentInjector).get(Qs,null);g&&(o=g)}const f=l.create(d,r,void 0,o);return this.insert(f.hostView,a),f}insert(n,e){const i=n._lView,r=i[dt];if(function By(t){return bs(t[Ti])}(i)){const f=this.indexOf(n);if(-1!==f)this.detach(f);else{const m=i[Ti],g=new VF(m,m[Nr],m[Ti]);g.detach(g.indexOf(n))}}const o=this._adjustIndex(e),s=this._lContainer;!function Mj(t,n,e,i){const r=$r+i,o=e.length;i>0&&(e[r-1][_s]=n),i<o-$r?(n[_s]=e[r],fk(e,$r+i,n)):(e.push(n),n[_s]=null),n[Ti]=e;const s=n[vs];null!==s&&e!==s&&function Cj(t,n){const e=t[_c];n[Jn]!==n[Ti][Ti][Jn]&&(t[m0]=!0),null===e?t[_c]=[n]:e.push(n)}(s,n);const a=n[zs];null!==a&&a.insertView(t),n[Jt]|=64}(r,i,s,o);const a=SM(o,s),l=i[sn],d=I0(l,s[_f]);return null!==d&&function bj(t,n,e,i,r,o){i[gs]=r,i[Nr]=n,hm(t,i,e,1,r,o)}(r,s[Nr],l,i,d,a),n.attachToViewContainerRef(),fk(RC(s),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){const e=HF(this._lContainer);return null!==e?e.indexOf(n):-1}remove(n){const e=this._adjustIndex(n,-1),i=TM(this._lContainer,e);i&&(A0(RC(this._lContainer),e),Lk(i[dt],i))}detach(n){const e=this._adjustIndex(n,-1),i=TM(this._lContainer,e);return i&&null!=A0(RC(this._lContainer),e)?new _m(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function HF(t){return t[vf]}function RC(t){return t[vf]||(t[vf]=[])}function GF(t,n){let e;const i=n[t.index];if(bs(i))e=i;else{let r;if(8&t.type)r=Mr(i);else{const o=n[sn];r=o.createComment("");const s=Ro(t,n);Pd(o,I0(o,s),r,function Ej(t,n){return t.nextSibling(n)}(o,s),!1)}n[t.index]=e=zA(i,n,r,t),X0(n,e)}return new VF(e,t,n)}class FC{constructor(n){this.queryList=n,this.matches=null}clone(){return new FC(this.queryList)}setDirty(){this.queryList.setDirty()}}class NC{constructor(n=[]){this.queries=n}createEmbeddedView(n){const e=n.queries;if(null!==e){const i=null!==n.contentQueries?n.contentQueries[0]:e.length,r=[];for(let o=0;o<i;o++){const s=e.getByIndex(o);r.push(this.queries[s.indexInDeclarationView].clone())}return new NC(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)null!==zF(n,e).matches&&this.queries[e].setDirty()}}class jF{constructor(n,e,i=null){this.predicate=n,this.flags=e,this.read=i}}class OC{constructor(n=[]){this.queries=n}elementStart(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let i=0;i<this.length;i++){const r=null!==e?e.length:0,o=this.getByIndex(i).embeddedTView(n,r);o&&(o.indexInDeclarationView=i,null!==e?e.push(o):e=[o])}return null!==e?new OC(e):null}template(n,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class IC{constructor(n,e=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new IC(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let i=n.parent;for(;null!==i&&8&i.type&&i.index!==e;)i=i.parent;return e===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(n,e){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(n,e,x$(e,o)),this.matchTNodeWithReadOption(n,e,k0(e,n,o,!1,!1))}else i===Zn?4&e.type&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,k0(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===Gt||r===es||r===Zn&&4&e.type)this.addMatch(e.index,-2);else{const o=k0(e,n,r,!1,!1);null!==o&&this.addMatch(e.index,o)}else this.addMatch(e.index,i)}}addMatch(n,e){null===this.matches?this.matches=[n,e]:this.matches.push(n,e)}}function x$(t,n){const e=t.localNames;if(null!==e)for(let i=0;i<e.length;i+=2)if(e[i]===n)return e[i+1];return null}function w$(t,n,e,i){return-1===e?function T$(t,n){return 11&t.type?Bf(t,n):4&t.type?u1(t,n):null}(n,t):-2===e?function E$(t,n,e){return e===Gt?Bf(n,t):e===Zn?u1(n,t):e===es?GF(n,t):void 0}(t,n,i):Id(t,t[dt],e,n)}function YF(t,n,e,i){const r=n[zs].queries[i];if(null===r.matches){const o=t.data,s=e.matches,a=[];for(let l=0;l<s.length;l+=2){const d=s[l];a.push(d<0?null:w$(n,o[d],s[l+1],e.metadata.read))}r.matches=a}return r.matches}function LC(t,n,e,i){const r=t.queries.getByIndex(e),o=r.matches;if(null!==o){const s=YF(t,n,r,e);for(let a=0;a<o.length;a+=2){const l=o[a];if(l>0)i.push(s[a/2]);else{const d=o[a+1],f=n[-l];for(let m=$r;m<f.length;m++){const g=f[m];g[vs]===g[Ti]&&LC(g[dt],g,d,i)}if(null!==f[_c]){const m=f[_c];for(let g=0;g<m.length;g++){const b=m[g];LC(b[dt],b,d,i)}}}}}return i}function lt(t){const n=Ge(),e=yn(),i=Kp();em(i+1);const r=zF(e,i);if(t.dirty&&function zp(t){return 4==(4&t[Jt])}(n)===(2==(2&r.metadata.flags))){if(null===r.matches)t.reset([]);else{const o=r.crossesNgTemplate?LC(e,n,i,[]):YF(e,n,r,i);t.reset(o,MY),t.notifyOnChanges()}return!0}return!1}function Ht(t,n,e){const i=yn();i.firstCreatePass&&(WF(i,new jF(t,n,e),-1),2==(2&n)&&(i.staticViewQueries=!0)),UF(i,Ge(),n)}function pi(t,n,e,i){const r=yn();if(r.firstCreatePass){const o=li();WF(r,new jF(n,e,i),o.index),function k$(t,n){const e=t.contentQueries||(t.contentQueries=[]);n!==(e.length?e[e.length-1]:-1)&&e.push(t.queries.length-1,n)}(r,t),2==(2&e)&&(r.staticContentQueries=!0)}UF(r,Ge(),e)}function ct(){return function S$(t,n){return t[zs].queries[n].queryList}(Ge(),Kp())}function UF(t,n,e){const i=new ih(4==(4&e));HA(t,n,i,i.destroy),null===n[zs]&&(n[zs]=new NC),n[zs].queries.push(new FC(i))}function WF(t,n,e){null===t.queries&&(t.queries=new OC),t.queries.track(new IC(n,e))}function zF(t,n){return t.queries.getByIndex(n)}function co(t,n){return u1(t,n)}function h1(...t){}const p1=new $e("Application Initializer");let m1=(()=>{class t{constructor(e){this.appInits=e,this.resolve=h1,this.reject=h1,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r<this.appInits.length;r++){const o=this.appInits[r]();if(ym(o))e.push(o);else if(hC(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}Promise.all(e).then(()=>{i()}).catch(r=>{this.reject(r)}),0===e.length&&i(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(me(p1,8))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const sh=new $e("AppId",{providedIn:"root",factory:function dN(){return`${jC()}${jC()}${jC()}`}});function jC(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const uN=new $e("Platform Initializer"),Nm=new $e("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Ks=new $e("AnimationModuleType");let X$=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const ts=new $e("LocaleId",{providedIn:"root",factory:()=>Pt(ts,kt.Optional|kt.SkipSelf)||function Q$(){return typeof $localize<"u"&&$localize.locale||eh}()});class Z${constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let fN=(()=>{class t{compileModuleSync(e){return new EC(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),o=Nl(zr(e).declarations).reduce((s,a)=>{const l=Nn(a);return l&&s.push(new vm(l)),s},[]);return new Z$(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const tq=(()=>Promise.resolve(0))();function YC(t){typeof Zone>"u"?tq.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class St{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ht(!1),this.onMicrotaskEmpty=new ht(!1),this.onStable=new ht(!1),this.onError=new ht(!1),typeof Zone>"u")throw new Re(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function nq(){let t=jn.requestAnimationFrame,n=jn.cancelAnimationFrame;if(typeof Zone<"u"&&t&&n){const e=t[Zone.__symbol__("OriginalDelegate")];e&&(t=e);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function oq(t){const n=()=>{!function rq(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(jn,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,WC(t),t.isCheckStableRunning=!0,UC(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),WC(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,s,a)=>{try{return mN(t),e.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&n(),gN(t)}},onInvoke:(e,i,r,o,s,a,l)=>{try{return mN(t),e.invoke(r,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&n(),gN(t)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,WC(t),UC(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,r,o)=>(e.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!St.isInAngularZone())throw new Re(909,!1)}static assertNotInAngularZone(){if(St.isInAngularZone())throw new Re(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,iq,h1,h1);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const iq={};function UC(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function WC(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function mN(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function gN(t){t._nesting--,UC(t)}class sq{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ht,this.onMicrotaskEmpty=new ht,this.onStable=new ht,this.onError=new ht}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}}const _N=new $e(""),g1=new $e("");let qC,zC=(()=>{class t{constructor(e,i,r){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,qC||(function aq(t){qC=t}(r),r.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{St.assertNotInAngularZone(),YC(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())YC(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:r})}whenStable(e,i,r){if(r&&!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,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,r){return[]}}return t.\u0275fac=function(e){return new(e||t)(me(St),me($C),me(g1))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})(),$C=(()=>{class t{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}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,i=!0){return qC?.findTestabilityInTree(this,e,i)??null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const Ll=!1;let Tc=null;const vN=new $e("AllowMultipleToken"),XC=new $e("PlatformDestroyListeners"),bN=new $e("appBootstrapListener");class DN{constructor(n,e){this.name=n,this.token=e}}function MN(t,n,e=[]){const i=`Platform: ${n}`,r=new $e(i);return(o=[])=>{let s=QC();if(!s||s.injector.get(vN,!1)){const a=[...e,...o,{provide:r,useValue:!0}];t?t(a):function dq(t){if(Tc&&!Tc.get(vN,!1))throw new Re(400,!1);Tc=t;const n=t.get(xN);(function yN(t){const n=t.get(uN,null);n&&n.forEach(e=>e())})(t)}(function CN(t=[],n){return hi.create({name:n,providers:[{provide:HM,useValue:"platform"},{provide:XC,useValue:new Set([()=>Tc=null])},...t]})}(a,i))}return function fq(t){const n=QC();if(!n)throw new Re(401,!1);return n}()}}function QC(){return Tc?.get(xN)??null}let xN=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function wN(t,n){let e;return e="noop"===t?new sq:("zone.js"===t?void 0:t)||new St(n),e}(i?.ngZone,function TN(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!t||!t.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!t||!t.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:St,useValue:r}];return r.run(()=>{const s=hi.create({providers:o,parent:this.injector,name:e.moduleType.name}),a=e.create(s),l=a.injector.get(Mc,null);if(!l)throw new Re(402,!1);return r.runOutsideAngular(()=>{const d=r.onError.subscribe({next:f=>{l.handleError(f)}});a.onDestroy(()=>{_1(this._modules,a),d.unsubscribe()})}),function EN(t,n,e){try{const i=e();return ym(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(l,r,()=>{const d=a.injector.get(m1);return d.runInitializers(),d.donePromise.then(()=>(eF(a.injector.get(ts,eh)||eh),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,i=[]){const r=SN({},i);return function lq(t,n,e){const i=new EC(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const i=e.injector.get(Wd);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new Re(-403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Re(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(XC,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(me(hi))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function SN(t,n){return Array.isArray(n)?n.reduce(SN,t):{...t,...n}}let Wd=(()=>{class t{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(e,i,r){this._zone=e,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new kn(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new kn(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{St.assertNotInAngularZone(),YC(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{St.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),d.unsubscribe()}});this.isStable=yd(o,s.pipe(function wp(t={}){const{connector:n=(()=>new vt),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,d=0,f=!1,m=!1;const g=()=>{a?.unsubscribe(),a=void 0},b=()=>{g(),s=l=void 0,f=m=!1},M=()=>{const y=s;b(),y?.unsubscribe()};return ri((y,T)=>{d++,!m&&!f&&g();const k=l=l??n();T.add(()=>{d--,0===d&&!m&&!f&&(a=af(M,r))}),k.subscribe(T),!s&&d>0&&(s=new lc({next:O=>k.next(O),error:O=>{m=!0,g(),a=af(b,e,O),k.error(O)},complete:()=>{f=!0,g(),a=af(b,i),k.complete()}}),si(y).subscribe(s))})(o)}}()))}bootstrap(e,i){const r=e instanceof _A;if(!this._injector.get(m1).done){!r&&function xa(t){const n=Nn(t)||Fr(t)||yr(t);return null!==n&&n.standalone}(e);throw new Re(405,Ll)}let s;s=r?e:this._injector.get(Hd).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function cq(t){return t.isBoundToModule}(s)?void 0:this._injector.get(nh),d=s.create(hi.NULL,[],i||s.selector,a),f=d.location.nativeElement,m=d.injector.get(_N,null);return m?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),_1(this.components,d),m?.unregisterApplication(f)}),this._loadComponent(d),d}tick(){if(this._runningTick)throw new Re(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;_1(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(bN,[]);i.push(...this._bootstrapListeners),i.forEach(r=>r(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>_1(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new Re(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(e){return new(e||t)(me(St),me(Qs),me(Mc))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function _1(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}let ar=(()=>{class t{}return t.__NG_ELEMENT_ID__=pq,t})();function pq(t){return function mq(t,n,e){if(Ed(t)&&!e){const i=Fo(t.index,n);return new _m(i,i)}return 47&t.type?new _m(n[Jn],n):null}(li(),Ge(),16==(16&t))}class NN{constructor(){}supports(n){return K0(n)}create(n){return new yq(n)}}const Dq=(t,n)=>n;class yq{constructor(n){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=n||Dq}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,r=0,o=null;for(;e||i;){const s=!i||e&&e.currentIndex<IN(i,r,o)?e:i,a=IN(s,r,o),l=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(e=e._next,null==s.previousIndex)r++;else{o||(o=[]);const d=a-r,f=l-r;if(d!=f){for(let g=0;g<d;g++){const b=g<o.length?o[g]:o[g]=0,M=b+g;f<=M&&M<d&&(o[g]=b+1)}o[s.previousIndex]=f-d}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)n(e)}diff(n){if(null==n&&(n=[]),!K0(n))throw new Re(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let r,o,s,e=this._itHead,i=!1;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[a],s=this._trackByFn(a,o),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,o,s,a)),Object.is(e.item,o)||this._addIdentityChange(e,o)):(e=this._mismatch(e,o,s,a),i=!0),e=e._next}else r=0,function rW(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{const e=t[Symbol.iterator]();let i;for(;!(i=e.next()).done;)n(i.value)}}(n,a=>{s=this._trackByFn(r,a),null!==e&&Object.is(e.trackById,s)?(i&&(e=this._verifyReinsertion(e,a,s,r)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,s,r),i=!0),e=e._next,r++}),this.length=r;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,r)):n=this._addAfter(new Mq(e,i),o,r),n}_verifyReinsertion(n,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=e}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(n,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const r=null===e?this._itHead:e._next;return n._next=r,n._prev=e,null===r?this._itTail=n:r._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new ON),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ON),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class Mq{constructor(n,e){this.item=n,this.trackById=e,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 Cq{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class ON{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new Cq,this.map.set(e,i)),i.add(n)}get(n,e){const r=this.map.get(n);return r?r.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function IN(t,n,e){const i=t.previousIndex;if(null===i)return i;let r=0;return e&&i<e.length&&(r=e[i]),i+n+r}class LN{constructor(){}supports(n){return n instanceof Map||uC(n)}create(){return new xq}}class xq{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(n){let e;for(e=this._mapHead;null!==e;e=e._next)n(e)}forEachPreviousItem(n){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)n(e)}forEachChangedItem(n){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)n(e)}diff(n){if(n){if(!(n instanceof Map||uC(n)))throw new Re(900,!1)}else n=new Map;return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(i,r)=>{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const r=this._records.get(n);this._maybeAddToChanges(r,e);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new Tq(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class Tq{constructor(n){this.key=n,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 PN(){return new D1([new NN])}let D1=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||PN()),deps:[[t,new Nf,new Rl]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new Re(901,!1)}}return t.\u0275prov=Pe({token:t,providedIn:"root",factory:PN}),t})();function BN(){return new Om([new LN])}let Om=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||BN()),deps:[[t,new Nf,new Rl]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new Re(901,!1)}}return t.\u0275prov=Pe({token:t,providedIn:"root",factory:BN}),t})();const Sq=MN(null,"core",[]);let kq=(()=>{class t{constructor(e){}}return t.\u0275fac=function(e){return new(e||t)(me(Wd))},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({}),t})();function tx(t,n){const e=Nn(t),i=n.elementInjector||U0();return new vm(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}let nx=null;function Pl(){return nx}class Fq{}const It=new $e("DocumentToken");let ix=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:function(){return function Nq(){return me(VN)}()},providedIn:"platform"}),t})();const Oq=new $e("Location Initialized");let VN=(()=>{class t extends ix{constructor(e){super(),this._doc=e,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Pl().getBaseHref(this._doc)}onPopState(e){const i=Pl().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Pl().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.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,i,r){HN()?this._history.pushState(e,i,r):this._location.hash=r}replaceState(e,i,r){HN()?this._history.replaceState(e,i,r):this._location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(me(It))},t.\u0275prov=Pe({token:t,factory:function(){return function Iq(){return new VN(me(It))}()},providedIn:"platform"}),t})();function HN(){return!!window.history.pushState}function rx(t,n){if(0==t.length)return n;if(0==n.length)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,2==e?t+n.substring(1):1==e?t+n:t+"/"+n}function GN(t){const n=t.match(/#|\?|$/),e=n&&n.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function Bl(t){return t&&"?"!==t[0]?"?"+t:t}let $d=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:function(){return Pt(YN)},providedIn:"root"}),t})();const jN=new $e("appBaseHref");let YN=(()=>{class t extends $d{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Pt(It).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 rx(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Bl(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const s=this.prepareExternalUrl(r+Bl(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){const s=this.prepareExternalUrl(r+Bl(o));this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return t.\u0275fac=function(e){return new(e||t)(me(ix),me(jN,8))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Lq=(()=>{class t extends $d{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}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){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=rx(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+Bl(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+Bl(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}return t.\u0275fac=function(e){return new(e||t)(me(ix),me(jN,8))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})(),Po=(()=>{class t{constructor(e){this._subject=new ht,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function Vq(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(GN(UN(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Bl(i))}normalize(e){return t.stripTrailingSlash(function Bq(t,n){if(!t||!n.startsWith(t))return n;const e=n.substring(t.length);return""===e||["/",";","?","#"].includes(e[0])?e:n}(this._basePath,UN(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",r=null){this._locationStrategy.pushState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Bl(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Bl(i)),r)}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._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(r=>r(e,i))}subscribe(e,i,r){return this._subject.subscribe({next:e,error:i,complete:r})}}return t.normalizeQueryParams=Bl,t.joinWithSlash=rx,t.stripTrailingSlash=GN,t.\u0275fac=function(e){return new(e||t)(me($d))},t.\u0275prov=Pe({token:t,factory:function(){return function Pq(){return new Po(me($d))}()},providedIn:"root"}),t})();function UN(t){return t.replace(/\/index.html$/,"")}var ns=(()=>((ns=ns||{})[ns.Decimal=0]="Decimal",ns[ns.Percent=1]="Percent",ns[ns.Currency=2]="Currency",ns[ns.Scientific=3]="Scientific",ns))(),mi=(()=>((mi=mi||{})[mi.Format=0]="Format",mi[mi.Standalone=1]="Standalone",mi))(),Kt=(()=>((Kt=Kt||{})[Kt.Narrow=0]="Narrow",Kt[Kt.Abbreviated=1]="Abbreviated",Kt[Kt.Wide=2]="Wide",Kt[Kt.Short=3]="Short",Kt))(),Ni=(()=>((Ni=Ni||{})[Ni.Short=0]="Short",Ni[Ni.Medium=1]="Medium",Ni[Ni.Long=2]="Long",Ni[Ni.Full=3]="Full",Ni))(),Bt=(()=>((Bt=Bt||{})[Bt.Decimal=0]="Decimal",Bt[Bt.Group=1]="Group",Bt[Bt.List=2]="List",Bt[Bt.PercentSign=3]="PercentSign",Bt[Bt.PlusSign=4]="PlusSign",Bt[Bt.MinusSign=5]="MinusSign",Bt[Bt.Exponential=6]="Exponential",Bt[Bt.SuperscriptingExponent=7]="SuperscriptingExponent",Bt[Bt.PerMille=8]="PerMille",Bt[Bt.Infinity=9]="Infinity",Bt[Bt.NaN=10]="NaN",Bt[Bt.TimeSeparator=11]="TimeSeparator",Bt[Bt.CurrencyDecimal=12]="CurrencyDecimal",Bt[Bt.CurrencyGroup=13]="CurrencyGroup",Bt))();function zN(t,n,e){const i=Io(t),o=ta([i[ut.DayPeriodsFormat],i[ut.DayPeriodsStandalone]],n);return ta(o,e)}function $N(t,n,e){const i=Io(t),o=ta([i[ut.DaysFormat],i[ut.DaysStandalone]],n);return ta(o,e)}function ox(t,n,e){const i=Io(t),o=ta([i[ut.MonthsFormat],i[ut.MonthsStandalone]],n);return ta(o,e)}function y1(t,n){return ta(Io(t)[ut.DateFormat],n)}function M1(t,n){return ta(Io(t)[ut.TimeFormat],n)}function C1(t,n){return ta(Io(t)[ut.DateTimeFormat],n)}function ea(t,n){const e=Io(t),i=e[ut.NumberSymbols][n];if(typeof i>"u"){if(n===Bt.CurrencyDecimal)return e[ut.NumberSymbols][Bt.Decimal];if(n===Bt.CurrencyGroup)return e[ut.NumberSymbols][Bt.Group]}return i}function qN(t){if(!t[ut.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[ut.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ta(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function ax(t){const[n,e]=t.split(":");return{hours:+n,minutes:+e}}const Xq=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Im={},Qq=/((?:[^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 Tr=(()=>((Tr=Tr||{})[Tr.Short=0]="Short",Tr[Tr.ShortGMT=1]="ShortGMT",Tr[Tr.Long=2]="Long",Tr[Tr.Extended=3]="Extended",Tr))(),jt=(()=>((jt=jt||{})[jt.FullYear=0]="FullYear",jt[jt.Month=1]="Month",jt[jt.Date=2]="Date",jt[jt.Hours=3]="Hours",jt[jt.Minutes=4]="Minutes",jt[jt.Seconds=5]="Seconds",jt[jt.FractionalSeconds=6]="FractionalSeconds",jt[jt.Day=7]="Day",jt))(),un=(()=>((un=un||{})[un.DayPeriods=0]="DayPeriods",un[un.Days=1]="Days",un[un.Months=2]="Months",un[un.Eras=3]="Eras",un))();function XN(t,n,e,i){let r=function oX(t){if(ZN(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[r,o=1,s=1]=t.split("-").map(a=>+a);return x1(r,o-1,s)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(Xq))return function sX(t){const n=new Date(0);let e=0,i=0;const r=t[8]?n.setUTCFullYear:n.setFullYear,o=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));const s=Number(t[4]||0)-e,a=Number(t[5]||0)-i,l=Number(t[6]||0),d=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return o.call(n,s,a,l,d),n}(i)}const n=new Date(t);if(!ZN(n))throw new Error(`Unable to convert "${t}" into a date`);return n}(t);n=Vl(e,n)||n;let a,s=[];for(;n;){if(a=Qq.exec(n),!a){s.push(n);break}{s=s.concat(a.slice(1));const f=s.pop();if(!f)break;n=f}}let l=r.getTimezoneOffset();i&&(l=JN(i,l),r=function rX(t,n,e){const i=e?-1:1,r=t.getTimezoneOffset();return function iX(t,n){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+n),t}(t,i*(JN(n,r)-r))}(r,i,!0));let d="";return s.forEach(f=>{const m=function nX(t){if(cx[t])return cx[t];let n;switch(t){case"G":case"GG":case"GGG":n=ci(un.Eras,Kt.Abbreviated);break;case"GGGG":n=ci(un.Eras,Kt.Wide);break;case"GGGGG":n=ci(un.Eras,Kt.Narrow);break;case"y":n=cr(jt.FullYear,1,0,!1,!0);break;case"yy":n=cr(jt.FullYear,2,0,!0,!0);break;case"yyy":n=cr(jt.FullYear,3,0,!1,!0);break;case"yyyy":n=cr(jt.FullYear,4,0,!1,!0);break;case"Y":n=S1(1);break;case"YY":n=S1(2,!0);break;case"YYY":n=S1(3);break;case"YYYY":n=S1(4);break;case"M":case"L":n=cr(jt.Month,1,1);break;case"MM":case"LL":n=cr(jt.Month,2,1);break;case"MMM":n=ci(un.Months,Kt.Abbreviated);break;case"MMMM":n=ci(un.Months,Kt.Wide);break;case"MMMMM":n=ci(un.Months,Kt.Narrow);break;case"LLL":n=ci(un.Months,Kt.Abbreviated,mi.Standalone);break;case"LLLL":n=ci(un.Months,Kt.Wide,mi.Standalone);break;case"LLLLL":n=ci(un.Months,Kt.Narrow,mi.Standalone);break;case"w":n=lx(1);break;case"ww":n=lx(2);break;case"W":n=lx(1,!0);break;case"d":n=cr(jt.Date,1);break;case"dd":n=cr(jt.Date,2);break;case"c":case"cc":n=cr(jt.Day,1);break;case"ccc":n=ci(un.Days,Kt.Abbreviated,mi.Standalone);break;case"cccc":n=ci(un.Days,Kt.Wide,mi.Standalone);break;case"ccccc":n=ci(un.Days,Kt.Narrow,mi.Standalone);break;case"cccccc":n=ci(un.Days,Kt.Short,mi.Standalone);break;case"E":case"EE":case"EEE":n=ci(un.Days,Kt.Abbreviated);break;case"EEEE":n=ci(un.Days,Kt.Wide);break;case"EEEEE":n=ci(un.Days,Kt.Narrow);break;case"EEEEEE":n=ci(un.Days,Kt.Short);break;case"a":case"aa":case"aaa":n=ci(un.DayPeriods,Kt.Abbreviated);break;case"aaaa":n=ci(un.DayPeriods,Kt.Wide);break;case"aaaaa":n=ci(un.DayPeriods,Kt.Narrow);break;case"b":case"bb":case"bbb":n=ci(un.DayPeriods,Kt.Abbreviated,mi.Standalone,!0);break;case"bbbb":n=ci(un.DayPeriods,Kt.Wide,mi.Standalone,!0);break;case"bbbbb":n=ci(un.DayPeriods,Kt.Narrow,mi.Standalone,!0);break;case"B":case"BB":case"BBB":n=ci(un.DayPeriods,Kt.Abbreviated,mi.Format,!0);break;case"BBBB":n=ci(un.DayPeriods,Kt.Wide,mi.Format,!0);break;case"BBBBB":n=ci(un.DayPeriods,Kt.Narrow,mi.Format,!0);break;case"h":n=cr(jt.Hours,1,-12);break;case"hh":n=cr(jt.Hours,2,-12);break;case"H":n=cr(jt.Hours,1);break;case"HH":n=cr(jt.Hours,2);break;case"m":n=cr(jt.Minutes,1);break;case"mm":n=cr(jt.Minutes,2);break;case"s":n=cr(jt.Seconds,1);break;case"ss":n=cr(jt.Seconds,2);break;case"S":n=cr(jt.FractionalSeconds,1);break;case"SS":n=cr(jt.FractionalSeconds,2);break;case"SSS":n=cr(jt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":n=w1(Tr.Short);break;case"ZZZZZ":n=w1(Tr.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=w1(Tr.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=w1(Tr.Long);break;default:return null}return cx[t]=n,n}(f);d+=m?m(r,e,l):"''"===f?"'":f.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),d}function x1(t,n,e){const i=new Date(0);return i.setFullYear(t,n,e),i.setHours(0,0,0),i}function Vl(t,n){const e=function Hq(t){return Io(t)[ut.LocaleId]}(t);if(Im[e]=Im[e]||{},Im[e][n])return Im[e][n];let i="";switch(n){case"shortDate":i=y1(t,Ni.Short);break;case"mediumDate":i=y1(t,Ni.Medium);break;case"longDate":i=y1(t,Ni.Long);break;case"fullDate":i=y1(t,Ni.Full);break;case"shortTime":i=M1(t,Ni.Short);break;case"mediumTime":i=M1(t,Ni.Medium);break;case"longTime":i=M1(t,Ni.Long);break;case"fullTime":i=M1(t,Ni.Full);break;case"short":const r=Vl(t,"shortTime"),o=Vl(t,"shortDate");i=T1(C1(t,Ni.Short),[r,o]);break;case"medium":const s=Vl(t,"mediumTime"),a=Vl(t,"mediumDate");i=T1(C1(t,Ni.Medium),[s,a]);break;case"long":const l=Vl(t,"longTime"),d=Vl(t,"longDate");i=T1(C1(t,Ni.Long),[l,d]);break;case"full":const f=Vl(t,"fullTime"),m=Vl(t,"fullDate");i=T1(C1(t,Ni.Full),[f,m])}return i&&(Im[e][n]=i),i}function T1(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,i){return null!=n&&i in n?n[i]:e})),t}function Aa(t,n,e="-",i,r){let o="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,o=e));let s=String(t);for(;s.length<n;)s="0"+s;return i&&(s=s.slice(s.length-n)),o+s}function cr(t,n,e=0,i=!1,r=!1){return function(o,s){let a=function Zq(t,n){switch(t){case jt.FullYear:return n.getFullYear();case jt.Month:return n.getMonth();case jt.Date:return n.getDate();case jt.Hours:return n.getHours();case jt.Minutes:return n.getMinutes();case jt.Seconds:return n.getSeconds();case jt.FractionalSeconds:return n.getMilliseconds();case jt.Day:return n.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,o);if((e>0||a>-e)&&(a+=e),t===jt.Hours)0===a&&-12===e&&(a=12);else if(t===jt.FractionalSeconds)return function Jq(t,n){return Aa(t,3).substring(0,n)}(a,n);const l=ea(s,Bt.MinusSign);return Aa(a,n,l,i,r)}}function ci(t,n,e=mi.Format,i=!1){return function(r,o){return function Kq(t,n,e,i,r,o){switch(e){case un.Months:return ox(n,r,i)[t.getMonth()];case un.Days:return $N(n,r,i)[t.getDay()];case un.DayPeriods:const s=t.getHours(),a=t.getMinutes();if(o){const d=function Uq(t){const n=Io(t);return qN(n),(n[ut.ExtraData][2]||[]).map(i=>"string"==typeof i?ax(i):[ax(i[0]),ax(i[1])])}(n),f=function Wq(t,n,e){const i=Io(t);qN(i);const o=ta([i[ut.ExtraData][0],i[ut.ExtraData][1]],n)||[];return ta(o,e)||[]}(n,r,i),m=d.findIndex(g=>{if(Array.isArray(g)){const[b,M]=g,y=s>=b.hours&&a>=b.minutes,T=s<M.hours||s===M.hours&&a<M.minutes;if(b.hours<M.hours){if(y&&T)return!0}else if(y||T)return!0}else if(g.hours===s&&g.minutes===a)return!0;return!1});if(-1!==m)return f[m]}return zN(n,r,i)[s<12?0:1];case un.Eras:return function Gq(t,n){return ta(Io(t)[ut.Eras],n)}(n,i)[t.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${e}`)}}(r,o,t,n,e,i)}}function w1(t){return function(n,e,i){const r=-1*i,o=ea(e,Bt.MinusSign),s=r>0?Math.floor(r/60):Math.ceil(r/60);switch(t){case Tr.Short:return(r>=0?"+":"")+Aa(s,2,o)+Aa(Math.abs(r%60),2,o);case Tr.ShortGMT:return"GMT"+(r>=0?"+":"")+Aa(s,1,o);case Tr.Long:return"GMT"+(r>=0?"+":"")+Aa(s,2,o)+":"+Aa(Math.abs(r%60),2,o);case Tr.Extended:return 0===i?"Z":(r>=0?"+":"")+Aa(s,2,o)+":"+Aa(Math.abs(r%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}const eX=0,E1=4;function QN(t){return x1(t.getFullYear(),t.getMonth(),t.getDate()+(E1-t.getDay()))}function lx(t,n=!1){return function(e,i){let r;if(n){const o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();r=1+Math.floor((s+o)/7)}else{const o=QN(e),s=function tX(t){const n=x1(t,eX,1).getDay();return x1(t,0,1+(n<=E1?E1:E1+7)-n)}(o.getFullYear()),a=o.getTime()-s.getTime();r=1+Math.round(a/6048e5)}return Aa(r,t,ea(i,Bt.MinusSign))}}function S1(t,n=!1){return function(e,i){return Aa(QN(e).getFullYear(),t,ea(i,Bt.MinusSign),n)}}const cx={};function JN(t,n){t=t.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function ZN(t){return t instanceof Date&&!isNaN(t.valueOf())}const aX=/^(\d+)?\.((\d+)(-(\d+))?)?$/,KN=22,k1=".",Lm="0",lX=";",cX=",",dx="#";function hx(t){const n=parseInt(t);if(isNaN(n))throw new Error("Invalid integer literal when parsing "+t);return n}function nO(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}class DX{constructor(n,e,i,r){this.$implicit=n,this.ngForOf=e,this.index=i,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}}let Mt=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,r){this._viewContainer=e,this._template=i,this._differs=r,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 i=this._viewContainer;e.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new DX(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),sO(a,r)}});for(let r=0,o=i.length;r<o;r++){const a=i.get(r).context;a.index=r,a.count=o,a.ngForOf=this._ngForOf}e.forEachIdentityChange(r=>{sO(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(V(es),V(Zn),V(D1))},t.\u0275dir=je({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function sO(t,n){t.context.$implicit=n.item}let mt=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new MX,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){aO("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){aO("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,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(V(es),V(Zn))},t.\u0275dir=je({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class MX{constructor(){this.$implicit=null,this.ngIf=null}}function aO(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Qn(n)}'.`)}let Wt=(()=>{class t{constructor(e,i,r){this._ngEl=e,this._differs=i,this._renderer=r,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,i){const[r,o]=e.split("."),s=-1===r.indexOf("-")?void 0:Zo.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${i}${o}`:i,s):this._renderer.removeStyle(this._ngEl.nativeElement,r,s)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(V(Gt),V(Om),V(No))},t.\u0275dir=je({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),t})(),Ka=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:o,ngTemplateOutletInjector:s}=this;this._viewRef=i.createEmbeddedView(r,o,s?{injector:s}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(V(es))},t.\u0275dir=je({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ti]}),t})();let dO=(()=>{class t{constructor(e){this._locale=e}transform(e,i,r){if(!function vx(t){return!(null==t||""===t||t!=t)}(e))return null;r=r||this._locale;try{return function fX(t,n,e){return function ux(t,n,e,i,r,o,s=!1){let a="",l=!1;if(isFinite(t)){let d=function mX(t){let i,r,o,s,a,n=Math.abs(t)+"",e=0;for((r=n.indexOf(k1))>-1&&(n=n.replace(k1,"")),(o=n.search(/e/i))>0?(r<0&&(r=o),r+=+n.slice(o+1),n=n.substring(0,o)):r<0&&(r=n.length),o=0;n.charAt(o)===Lm;o++);if(o===(a=n.length))i=[0],r=1;else{for(a--;n.charAt(a)===Lm;)a--;for(r-=o,i=[],s=0;o<=a;o++,s++)i[s]=Number(n.charAt(o))}return r>KN&&(i=i.splice(0,KN-1),e=r-1,r=1),{digits:i,exponent:e,integerLen:r}}(t);s&&(d=function pX(t){if(0===t.digits[0])return t;const n=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===n?t.digits.push(0,0):1===n&&t.digits.push(0),t.integerLen+=2),t}(d));let f=n.minInt,m=n.minFrac,g=n.maxFrac;if(o){const O=o.match(aX);if(null===O)throw new Error(`${o} is not a valid digit info`);const N=O[1],H=O[3],U=O[5];null!=N&&(f=hx(N)),null!=H&&(m=hx(H)),null!=U?g=hx(U):null!=H&&m>g&&(g=m)}!function gX(t,n,e){if(n>e)throw new Error(`The minimum number of digits after fraction (${n}) is higher than the maximum (${e}).`);let i=t.digits,r=i.length-t.integerLen;const o=Math.min(Math.max(n,r),e);let s=o+t.integerLen,a=i[s];if(s>0){i.splice(Math.max(t.integerLen,s));for(let m=s;m<i.length;m++)i[m]=0}else{r=Math.max(0,r),t.integerLen=1,i.length=Math.max(1,s=o+1),i[0]=0;for(let m=1;m<s;m++)i[m]=0}if(a>=5)if(s-1<0){for(let m=0;m>s;m--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[s-1]++;for(;r<Math.max(0,o);r++)i.push(0);let l=0!==o;const d=n+t.integerLen,f=i.reduceRight(function(m,g,b,M){return M[b]=(g+=m)<10?g:g-10,l&&(0===M[b]&&b>=d?M.pop():l=!1),g>=10?1:0},0);f&&(i.unshift(f),t.integerLen++)}(d,m,g);let b=d.digits,M=d.integerLen;const y=d.exponent;let T=[];for(l=b.every(O=>!O);M<f;M++)b.unshift(0);for(;M<0;M++)b.unshift(0);M>0?T=b.splice(M,b.length):(T=b,b=[0]);const k=[];for(b.length>=n.lgSize&&k.unshift(b.splice(-n.lgSize,b.length).join(""));b.length>n.gSize;)k.unshift(b.splice(-n.gSize,b.length).join(""));b.length&&k.unshift(b.join("")),a=k.join(ea(e,i)),T.length&&(a+=ea(e,r)+T.join("")),y&&(a+=ea(e,Bt.Exponential)+"+"+y)}else a=ea(e,Bt.Infinity);return a=t<0&&!l?n.negPre+a+n.negSuf:n.posPre+a+n.posSuf,a}(t,function fx(t,n="-"){const e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(lX),r=i[0],o=i[1],s=-1!==r.indexOf(k1)?r.split(k1):[r.substring(0,r.lastIndexOf(Lm)+1),r.substring(r.lastIndexOf(Lm)+1)],a=s[0],l=s[1]||"";e.posPre=a.substring(0,a.indexOf(dx));for(let f=0;f<l.length;f++){const m=l.charAt(f);m===Lm?e.minFrac=e.maxFrac=f+1:m===dx?e.maxFrac=f+1:e.posSuf+=m}const d=a.split(cX);if(e.gSize=d[1]?d[1].length:0,e.lgSize=d[2]||d[1]?(d[2]||d[1]).length:0,o){const f=r.length-e.posPre.length-e.posSuf.length,m=o.indexOf(dx);e.negPre=o.substring(0,m).replace(/'/g,""),e.negSuf=o.slice(m+f).replace(/'/g,"")}else e.negPre=n+e.posPre,e.negSuf=e.posSuf;return e}(function sx(t,n){return Io(t)[ut.NumberFormats][n]}(n,ns.Percent),ea(n,Bt.MinusSign)),n,Bt.Group,Bt.Decimal,e,!0).replace(new RegExp("%","g"),ea(n,Bt.PercentSign))}(function bx(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error(`${t} is not a number`);return t}(e),r,i)}catch(o){throw function Ra(t,n){return new Re(2100,!1)}()}}}return t.\u0275fac=function(e){return new(e||t)(V(ts,16))},t.\u0275pipe=so({name:"percent",type:t,pure:!0,standalone:!0}),t})();let qd=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({}),t})();const uO="browser";function fO(t){return t===uO}let QX=(()=>{class t{}return t.\u0275prov=Pe({token:t,providedIn:"root",factory:()=>new JX(me(It),window)}),t})();class JX{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const e=function ZX(t,n){const e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=n)}}scrollToElement(n){const e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=hO(this.window.history)||hO(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function hO(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class pO{}class TQ extends Fq{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Mx extends TQ{static makeCurrent(){!function Rq(t){nx||(nx=t)}(new Mx)}onAndCancel(n,e,i){return n.addEventListener(e,i,!1),()=>{n.removeEventListener(e,i,!1)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function wQ(){return Bm=Bm||document.querySelector("base"),Bm?Bm.getAttribute("href"):null}();return null==e?null:function EQ(t){F1=F1||document.createElement("a"),F1.setAttribute("href",t);const n=F1.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){Bm=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return nO(document.cookie,n)}}let F1,Bm=null;const bO=new $e("TRANSITION_ID"),kQ=[{provide:p1,useFactory:function SQ(t,n,e){return()=>{e.get(m1).donePromise.then(()=>{const i=Pl(),r=n.querySelectorAll(`style[ng-transition="${t}"]`);for(let o=0;o<r.length;o++)i.remove(r[o])})}},deps:[bO,It,hi],multi:!0}];let RQ=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})();const N1=new $e("EventManagerPlugins");let O1=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(r=>{r.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,r){return this._findPluginFor(i).addEventListener(e,i,r)}addGlobalEventListener(e,i,r){return this._findPluginFor(i).addGlobalEventListener(e,i,r)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const r=this._plugins;for(let o=0;o<r.length;o++){const s=r[o];if(s.supports(e))return this._eventNameToPlugin.set(e,s),s}throw new Error(`No event manager plugin found for event ${e}`)}}return t.\u0275fac=function(e){return new(e||t)(me(N1),me(St))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})();class DO{constructor(n){this._doc=n}addGlobalEventListener(n,e,i){const r=Pl().getGlobalEventTarget(this._doc,n);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,i)}}let yO=(()=>{class t{constructor(){this.usageCount=new Map}addStyles(e){for(const i of e)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(e){for(const i of e)0===this.changeUsageCount(i,-1)&&this.onStyleRemoved(i)}onStyleRemoved(e){}onStyleAdded(e){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(e,i){const r=this.usageCount;let o=r.get(e)??0;return o+=i,o>0?r.set(e,o):r.delete(e),o}ngOnDestroy(){for(const e of this.getAllStyles())this.onStyleRemoved(e);this.usageCount.clear()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})(),Vm=(()=>{class t extends yO{constructor(e){super(),this.doc=e,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(e){for(const i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){const i=this.styleRef;i.get(e)?.forEach(o=>o.remove()),i.delete(e)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}addStyleToHost(e,i){const r=this.doc.createElement("style");r.textContent=i,e.appendChild(r);const o=this.styleRef.get(i);o?o.push(r):this.styleRef.set(i,[r])}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}}return t.\u0275fac=function(e){return new(e||t)(me(It))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})();const Cx={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/MathML/"},xx=/%COMP%/g,xO=new $e("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function TO(t,n){return n.flat(100).map(e=>e.replace(xx,t))}function wO(t){return n=>{if("__ngUnwrap__"===n)return t;!1===t(n)&&(n.preventDefault(),n.returnValue=!1)}}let I1=(()=>{class t{constructor(e,i,r,o){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestory=o,this.rendererByCompId=new Map,this.defaultRenderer=new Tx(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;const r=this.getOrCreateRenderer(e,i);return r instanceof kO?r.applyToHost(e):r instanceof wx&&r.applyStyles(),r}getOrCreateRenderer(e,i){const r=this.rendererByCompId;let o=r.get(i.id);if(!o){const s=this.eventManager,a=this.sharedStylesHost,l=this.removeStylesOnCompDestory;switch(i.encapsulation){case ko.Emulated:o=new kO(s,a,i,this.appId,l);break;case ko.ShadowDom:return new BQ(s,a,e,i);default:o=new wx(s,a,i,l)}o.onDestroy=()=>r.delete(i.id),r.set(i.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(me(O1),me(Vm),me(sh),me(xO))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})();class Tx{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?document.createElementNS(Cx[e]||e,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,e){(SO(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(SO(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let i="string"==typeof n?document.querySelector(n):n;if(!i)throw new Error(`The selector "${n}" did not match any elements`);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;const o=Cx[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const r=Cx[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(Zo.DashCase|Zo.Important)?n.style.setProperty(e,i,r&Zo.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&Zo.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n[e]=i}setValue(n,e){n.nodeValue=e}listen(n,e,i){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,wO(i)):this.eventManager.addEventListener(n,e,wO(i))}}function SO(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class BQ extends Tx{constructor(n,e,i,r){super(n),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=TO(r.id,r.styles);for(const s of o){const a=document.createElement("style");a.textContent=s,this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,i){return super.insertBefore(this.nodeOrShadowRoot(n),e,i)}removeChild(n,e){return super.removeChild(this.nodeOrShadowRoot(n),e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class wx extends Tx{constructor(n,e,i,r,o=i.id){super(n),this.sharedStylesHost=e,this.removeStylesOnCompDestory=r,this.rendererUsageCount=0,this.styles=TO(o,i.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class kO extends wx{constructor(n,e,i,r,o){const s=r+"-"+i.id;super(n,e,i,o,s),this.contentAttr=function IQ(t){return"_ngcontent-%COMP%".replace(xx,t)}(s),this.hostAttr=function LQ(t){return"_nghost-%COMP%".replace(xx,t)}(s)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}let VQ=(()=>{class t extends DO{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,r){return e.addEventListener(i,r,!1),()=>this.removeEventListener(e,i,r)}removeEventListener(e,i,r){return e.removeEventListener(i,r)}}return t.\u0275fac=function(e){return new(e||t)(me(It))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})();const AO=["alt","control","meta","shift"],HQ={"\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"},GQ={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let jQ=(()=>{class t extends DO{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,r){const o=t.parseEventName(i),s=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Pl().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const i=e.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=t._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),AO.forEach(d=>{const f=i.indexOf(d);f>-1&&(i.splice(f,1),s+=d+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(e,i){let r=HQ[e.key]||e.key,o="";return i.indexOf("code.")>-1&&(r=e.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),AO.forEach(s=>{s!==r&&(0,GQ[s])(e)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return t.\u0275fac=function(e){return new(e||t)(me(It))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})();const FO=[{provide:Nm,useValue:uO},{provide:uN,useValue:function YQ(){Mx.makeCurrent()},multi:!0},{provide:It,useFactory:function WQ(){return function Ij(t){FM=t}(document),document},deps:[]}],zQ=MN(Sq,"browser",FO),NO=new $e(""),OO=[{provide:g1,useClass:class AQ{addToWindow(n){jn.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},jn.getAllAngularTestabilities=()=>n.getAllTestabilities(),jn.getAllAngularRootElements=()=>n.getAllRootElements(),jn.frameworkStabilizers||(jn.frameworkStabilizers=[]),jn.frameworkStabilizers.push(i=>{const r=jn.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&i(s)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(n,e,i){return null==e?null:n.getTestability(e)??(i?Pl().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},deps:[]},{provide:_N,useClass:zC,deps:[St,$C,g1]},{provide:zC,useClass:zC,deps:[St,$C,g1]}],IO=[{provide:HM,useValue:"root"},{provide:Mc,useFactory:function UQ(){return new Mc},deps:[]},{provide:N1,useClass:VQ,multi:!0,deps:[It,St,Nm]},{provide:N1,useClass:jQ,multi:!0,deps:[It]},{provide:I1,useClass:I1,deps:[O1,Vm,sh,xO]},{provide:Vf,useExisting:I1},{provide:yO,useExisting:Vm},{provide:Vm,useClass:Vm,deps:[It]},{provide:O1,useClass:O1,deps:[N1,St]},{provide:pO,useClass:RQ,deps:[]},[]];let LO=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:sh,useValue:e.appId},{provide:bO,useExisting:sh},kQ]}}}return t.\u0275fac=function(e){return new(e||t)(me(NO,12))},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({providers:[...IO,...OO],imports:[qd,kq]}),t})(),PO=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return t.\u0275fac=function(e){return new(e||t)(me(It))},t.\u0275prov=Pe({token:t,factory:function(e){let i=null;return i=e?new e:function qQ(){return new PO(me(It))}(),i},providedIn:"root"}),t})();typeof window<"u"&&window;let L1=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:function(e){let i=null;return i=e?new(e||t):me(HO),i},providedIn:"root"}),t})(),HO=(()=>{class t extends L1{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case Vn.NONE:return i;case Vn.HTML:return qa(i,"HTML")?xs(i):function oA(t,n){let e=null;try{G0=G0||Kk(t);let i=n?String(n):"";e=G0.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=e.innerHTML,e=G0.getInertBodyElement(i)}while(i!==o);return Lf((new Zj).sanitizeChildren(LM(e)||e))}finally{if(e){const i=LM(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}(this._doc,String(i)).toString();case Vn.STYLE:return qa(i,"Style")?xs(i):i;case Vn.SCRIPT:if(qa(i,"Script"))return xs(i);throw new Error("unsafe value used in a script context");case Vn.URL:return qa(i,"URL")?xs(i):H0(String(i));case Vn.RESOURCE_URL:if(qa(i,"ResourceURL"))return xs(i);throw new Error(`unsafe value used in a resource URL context (see ${Cd})`);default:throw new Error(`Unexpected SecurityContext ${e} (see ${Cd})`)}}bypassSecurityTrustHtml(e){return function jj(t){return new Lj(t)}(e)}bypassSecurityTrustStyle(e){return function Yj(t){return new Pj(t)}(e)}bypassSecurityTrustScript(e){return function Uj(t){return new Bj(t)}(e)}bypassSecurityTrustUrl(e){return function Wj(t){return new Vj(t)}(e)}bypassSecurityTrustResourceUrl(e){return function zj(t){return new Hj(t)}(e)}}return t.\u0275fac=function(e){return new(e||t)(me(It))},t.\u0275prov=Pe({token:t,factory:function(e){let i=null;return i=e?new e:function KQ(t){return new HO(t.get(It))}(me(hi)),i},providedIn:"root"}),t})();function yt(...t){return Bi(t,bd(t))}class dr extends vt{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){const{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}const P1=w(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:eJ}=Array,{getPrototypeOf:tJ,prototype:nJ,keys:iJ}=Object;function GO(t){if(1===t.length){const n=t[0];if(eJ(n))return{args:n,keys:null};if(function rJ(t){return t&&"object"==typeof t&&tJ(t)===nJ}(n)){const e=iJ(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}const{isArray:oJ}=Array;function kx(t){return xt(n=>function sJ(t,n){return oJ(n)?t(...n):t(n)}(t,n))}function jO(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}function Hm(...t){const n=bd(t),e=sf(t),{args:i,keys:r}=GO(t);if(0===i.length)return Bi([],n);const o=new kn(function aJ(t,n,e=fs){return i=>{YO(n,()=>{const{length:r}=t,o=new Array(r);let s=r,a=r;for(let l=0;l<r;l++)YO(n,()=>{const d=Bi(t[l],n);let f=!1;d.subscribe(Pn(i,m=>{o[l]=m,f||(f=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,r?s=>jO(r,s):fs));return e?o.pipe(kx(e)):o}function YO(t,n,e){t?To(e,t,n):n()}function lh(...t){return function lJ(){return ro(1)}()(Bi(t,bd(t)))}function B1(t){return new kn(n=>{si(t()).subscribe(n)})}function ch(t,n){const e=P(t)?t:()=>t,i=r=>r.error(e());return new kn(n?r=>n.schedule(i,0,r):i)}function Ax(){return ri((t,n)=>{let e=null;t._refCount++;const i=Pn(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(e=null);const r=t._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}class UO extends kn{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Tt(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new S;const e=this.getSubject();n.add(this.source.subscribe(Pn(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=S.EMPTY)}return n}refCount(){return Ax()(this)}}function na(t,n){return ri((e,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();e.subscribe(Pn(i,l=>{r?.unsubscribe();let d=0;const f=o++;si(t(l,f)).subscribe(r=Pn(i,m=>i.next(n?n(l,m,f,d++):m),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function ni(t){return t<=0?()=>Ci:ri((n,e)=>{let i=0;n.subscribe(Pn(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}function el(...t){const n=bd(t);return ri((e,i)=>{(n?lh(t,e,n):lh(t,e)).subscribe(i)})}function zn(t,n){return ri((e,i)=>{let r=0;e.subscribe(Pn(i,o=>t.call(n,o,r++)&&i.next(o)))})}function V1(t){return ri((n,e)=>{let i=!1;n.subscribe(Pn(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}function WO(t=cJ){return ri((n,e)=>{let i=!1;n.subscribe(Pn(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function cJ(){return new P1}function Ec(t,n){const e=arguments.length>=2;return i=>i.pipe(t?zn((r,o)=>t(r,o,i)):fs,ni(1),e?V1(n):WO(()=>new P1))}function Sc(t,n){return P(n)?Dn(t,n,1):Dn(t,1)}function ji(t,n,e){const i=P(t)||n||e?{next:t,error:n,complete:e}:t;return i?ri((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(Pn(o,l=>{var d;null===(d=i.next)||void 0===d||d.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var d;a=!1,null===(d=i.error)||void 0===d||d.call(i,l),o.error(l)},()=>{var l,d;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(d=i.finalize)||void 0===d||d.call(i)}))}):fs}function Hl(t){return ri((n,e)=>{let o,i=null,r=!1;i=n.subscribe(Pn(e,void 0,void 0,s=>{o=si(t(s,Hl(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function zO(t,n){return ri(function dJ(t,n,e,i,r){return(o,s)=>{let a=e,l=n,d=0;o.subscribe(Pn(s,f=>{const m=d++;l=a?t(l,f,m):(a=!0,f),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}(t,n,arguments.length>=2,!0))}function Rx(t){return t<=0?()=>Ci:ri((n,e)=>{let i=[];n.subscribe(Pn(e,r=>{i.push(r),t<i.length&&i.shift()},()=>{for(const r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function $O(t,n){const e=arguments.length>=2;return i=>i.pipe(t?zn((r,o)=>t(r,o,i)):fs,Rx(1),e?V1(n):WO(()=>new P1))}function H1(t){return ri((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}const rn="primary",Gm=Symbol("RouteTitle");class fJ{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function dh(t){return new fJ(t)}function hJ(t,n,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||i.length<t.length))return null;const r={};for(let o=0;o<i.length;o++){const s=i[o],a=t[o];if(s.startsWith(":"))r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}function tl(t,n){const e=t?Object.keys(t):void 0,i=n?Object.keys(n):void 0;if(!e||!i||e.length!=i.length)return!1;let r;for(let o=0;o<e.length;o++)if(r=e[o],!XO(t[r],n[r]))return!1;return!0}function XO(t,n){if(Array.isArray(t)&&Array.isArray(n)){if(t.length!==n.length)return!1;const e=[...t].sort(),i=[...n].sort();return e.every((r,o)=>i[o]===r)}return t===n}function QO(t){return Array.prototype.concat.apply([],t)}function JO(t){return t.length>0?t[t.length-1]:null}function Jr(t,n){for(const e in t)t.hasOwnProperty(e)&&n(t[e],e)}function kc(t){return hC(t)?t:ym(t)?Bi(Promise.resolve(t)):yt(t)}const G1=!1,mJ={exact:function eI(t,n,e){if(!Xd(t.segments,n.segments)||!j1(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!eI(t.children[i],n.children[i],e))return!1;return!0},subset:tI},ZO={exact:function gJ(t,n){return tl(t,n)},subset:function _J(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>XO(t[e],n[e]))},ignored:()=>!0};function KO(t,n,e){return mJ[e.paths](t.root,n.root,e.matrixParams)&&ZO[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function tI(t,n,e){return nI(t,n,n.segments,e)}function nI(t,n,e,i){if(t.segments.length>e.length){const r=t.segments.slice(0,e.length);return!(!Xd(r,e)||n.hasChildren()||!j1(r,e,i))}if(t.segments.length===e.length){if(!Xd(t.segments,e)||!j1(t.segments,e,i))return!1;for(const r in n.children)if(!t.children[r]||!tI(t.children[r],n.children[r],i))return!1;return!0}{const r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!!(Xd(t.segments,r)&&j1(t.segments,r,i)&&t.children[rn])&&nI(t.children[rn],n,o,i)}}function j1(t,n,e){return n.every((i,r)=>ZO[e](t[r].parameters,i.parameters))}class Ac{constructor(n=new vn([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=dh(this.queryParams)),this._queryParamMap}toString(){return DJ.serialize(this)}}class vn{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Jr(e,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Y1(this)}}class jm{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=dh(this.parameters)),this._parameterMap}toString(){return oI(this)}}function Xd(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}let Ym=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:function(){return new Fx},providedIn:"root"}),t})();class Fx{parse(n){const e=new kJ(n);return new Ac(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${Um(n.root,!0)}`,i=function CJ(t){const n=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(r=>`${U1(e)}=${U1(r)}`).join("&"):`${U1(e)}=${U1(i)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${e}${i}${"string"==typeof n.fragment?`#${function yJ(t){return encodeURI(t)}(n.fragment)}`:""}`}}const DJ=new Fx;function Y1(t){return t.segments.map(n=>oI(n)).join("/")}function Um(t,n){if(!t.hasChildren())return Y1(t);if(n){const e=t.children[rn]?Um(t.children[rn],!1):"",i=[];return Jr(t.children,(r,o)=>{o!==rn&&i.push(`${o}:${Um(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function bJ(t,n){let e=[];return Jr(t.children,(i,r)=>{r===rn&&(e=e.concat(n(i,r)))}),Jr(t.children,(i,r)=>{r!==rn&&(e=e.concat(n(i,r)))}),e}(t,(i,r)=>r===rn?[Um(t.children[rn],!1)]:[`${r}:${Um(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[rn]?`${Y1(t)}/${e[0]}`:`${Y1(t)}/(${e.join("//")})`}}function iI(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function U1(t){return iI(t).replace(/%3B/gi,";")}function Nx(t){return iI(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function W1(t){return decodeURIComponent(t)}function rI(t){return W1(t.replace(/\+/g,"%20"))}function oI(t){return`${Nx(t.path)}${function MJ(t){return Object.keys(t).map(n=>`;${Nx(n)}=${Nx(t[n])}`).join("")}(t.parameters)}`}const xJ=/^[^\/()?;=#]+/;function z1(t){const n=t.match(xJ);return n?n[0]:""}const TJ=/^[^=?&#]+/,EJ=/^[^&#]+/;class kJ{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new vn([],{}):new vn([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[rn]=new vn(n,e)),i}parseSegment(){const n=z1(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new Re(4009,G1);return this.capture(n),new jm(W1(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=z1(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=z1(this.remaining);r&&(i=r,this.capture(i))}n[W1(e)]=W1(i)}parseQueryParam(n){const e=function wJ(t){const n=t.match(TJ);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=function SJ(t){const n=t.match(EJ);return n?n[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=rI(e),o=rI(i);if(n.hasOwnProperty(r)){let s=n[r];Array.isArray(s)||(s=[s],n[r]=s),s.push(o)}else n[r]=o}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=z1(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new Re(4010,G1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=rn);const s=this.parseChildren();e[o]=1===Object.keys(s).length?s[rn]:new vn([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new Re(4011,G1)}}function Ox(t){return t.segments.length>0?new vn([],{[rn]:t}):t}function $1(t){const n={};for(const i of Object.keys(t.children)){const o=$1(t.children[i]);(o.segments.length>0||o.hasChildren())&&(n[i]=o)}return function AJ(t){if(1===t.numberOfChildren&&t.children[rn]){const n=t.children[rn];return new vn(t.segments.concat(n.segments),n.children)}return t}(new vn(t.segments,n))}function Qd(t){return t instanceof Ac}const Ix=!1;function RJ(t,n,e,i,r){if(0===e.length)return uh(n.root,n.root,n.root,i,r);const o=function dI(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new cI(!0,0,t);let n=0,e=!1;const i=t.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Jr(o.outlets,(l,d)=>{a[d]="string"==typeof l?l.split("/"):l}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?e=!0:".."===a?n++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new cI(e,n,i)}(e);return o.toRoot()?uh(n.root,n.root,new vn([],{}),i,r):function s(l){const d=function NJ(t,n,e,i){if(t.isAbsolute)return new fh(n.root,!0,0);if(-1===i)return new fh(e,e===n.root,0);return function uI(t,n,e){let i=t,r=n,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new Re(4005,Ix&&"Invalid number of '../'");r=i.segments.length}return new fh(i,!1,r-o)}(e,i+(Wm(t.commands[0])?0:1),t.numberOfDoubleDots)}(o,n,t.snapshot?._urlSegment,l),f=d.processChildren?hh(d.segmentGroup,d.index,o.commands):Lx(d.segmentGroup,d.index,o.commands);return uh(n.root,d.segmentGroup,f,i,r)}(t.snapshot?._lastPathIndex)}function Wm(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function zm(t){return"object"==typeof t&&null!=t&&t.outlets}function uh(t,n,e,i,r){let s,o={};i&&Jr(i,(l,d)=>{o[d]=Array.isArray(l)?l.map(f=>`${f}`):`${l}`}),s=t===n?e:lI(t,n,e);const a=Ox($1(s));return new Ac(a,o,r)}function lI(t,n,e){const i={};return Jr(t.children,(r,o)=>{i[o]=r===n?e:lI(r,n,e)}),new vn(t.segments,i)}class cI{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Wm(i[0]))throw new Re(4003,Ix&&"Root segment cannot have matrix parameters");const r=i.find(zm);if(r&&r!==JO(i))throw new Re(4004,Ix&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class fh{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function Lx(t,n,e){if(t||(t=new vn([],{})),0===t.segments.length&&t.hasChildren())return hh(t,n,e);const i=function IJ(t,n,e){let i=0,r=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;r<t.segments.length;){if(i>=e.length)return o;const s=t.segments[r],a=e[i];if(zm(a))break;const l=`${a}`,d=i<e.length-1?e[i+1]:null;if(r>0&&void 0===l)break;if(l&&d&&"object"==typeof d&&void 0===d.outlets){if(!hI(l,d,s))return o;i+=2}else{if(!hI(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){const o=new vn(t.segments.slice(0,i.pathIndex),{});return o.children[rn]=new vn(t.segments.slice(i.pathIndex),t.children),hh(o,0,r)}return i.match&&0===r.length?new vn(t.segments,{}):i.match&&!t.hasChildren()?Px(t,n,e):i.match?hh(t,0,r):Px(t,n,e)}function hh(t,n,e){if(0===e.length)return new vn(t.segments,{});{const i=function OJ(t){return zm(t[0])?t[0].outlets:{[rn]:t}}(e),r={};return!i[rn]&&t.children[rn]&&1===t.numberOfChildren&&0===t.children[rn].segments.length?hh(t.children[rn],n,e):(Jr(i,(o,s)=>{"string"==typeof o&&(o=[o]),null!==o&&(r[s]=Lx(t.children[s],n,o))}),Jr(t.children,(o,s)=>{void 0===i[s]&&(r[s]=o)}),new vn(t.segments,r))}}function Px(t,n,e){const i=t.segments.slice(0,n);let r=0;for(;r<e.length;){const o=e[r];if(zm(o)){const l=LJ(o.outlets);return new vn(i,l)}if(0===r&&Wm(e[0])){i.push(new jm(t.segments[n].path,fI(e[0]))),r++;continue}const s=zm(o)?o.outlets[rn]:`${o}`,a=r<e.length-1?e[r+1]:null;s&&a&&Wm(a)?(i.push(new jm(s,fI(a))),r+=2):(i.push(new jm(s,{})),r++)}return new vn(i,{})}function LJ(t){const n={};return Jr(t,(e,i)=>{"string"==typeof e&&(e=[e]),null!==e&&(n[i]=Px(new vn([],{}),0,e))}),n}function fI(t){const n={};return Jr(t,(e,i)=>n[i]=`${e}`),n}function hI(t,n,e){return t==e.path&&tl(n,e.parameters)}const $m="imperative";class nl{constructor(n,e){this.id=n,this.url=e}}class Bx extends nl{constructor(n,e,i="imperative",r=null){super(n,e),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Jd extends nl{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class q1 extends nl{constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class X1 extends nl{constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r,this.type=16}}class Vx extends nl{constructor(n,e,i,r){super(n,e),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class PJ extends nl{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class BJ extends nl{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class VJ extends nl{constructor(n,e,i,r,o){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class HJ extends nl{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class GJ extends nl{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jJ{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class YJ{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class UJ{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class WJ{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zJ{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $J{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pI{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let QJ=(()=>{class t{createUrlTree(e,i,r,o,s,a){return RJ(e||i.root,r,o,s,a)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})(),ZJ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:function(n){return QJ.\u0275fac(n)},providedIn:"root"}),t})();class mI{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=Hx(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=Hx(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=Gx(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return Gx(n,this._root).map(e=>e.value)}}function Hx(t,n){if(t===n.value)return n;for(const e of n.children){const i=Hx(t,e);if(i)return i}return null}function Gx(t,n){if(t===n.value)return[n];for(const e of n.children){const i=Gx(t,e);if(i.length)return i.unshift(n),i}return[]}class Gl{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function ph(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class gI extends mI{constructor(n,e){super(n),this.snapshot=e,jx(this,n)}toString(){return this.snapshot.toString()}}function _I(t,n){const e=function KJ(t,n){const s=new Q1([],{},{},"",{},rn,n,null,t.root,-1,{});return new bI("",new Gl(s,[]))}(t,n),i=new dr([new jm("",{})]),r=new dr({}),o=new dr({}),s=new dr({}),a=new dr(""),l=new Zd(i,r,s,a,o,rn,n,e.root);return l.snapshot=e.root,new gI(new Gl(l,[]),e)}class Zd{constructor(n,e,i,r,o,s,a,l){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.pipe(xt(d=>d[Gm]))??yt(void 0),this._futureSnapshot=l}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._paramMap=this.params.pipe(xt(n=>dh(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(xt(n=>dh(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function vI(t,n="emptyOnly"){const e=t.pathFromRoot;let i=0;if("always"!==n)for(i=e.length-1;i>=1;){const r=e[i],o=e[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function eZ(t){return t.reduce((n,e)=>({params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class Q1{get title(){return this.data?.[Gm]}constructor(n,e,i,r,o,s,a,l,d,f,m){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._urlSegment=d,this._lastPathIndex=f,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||(this._paramMap=dh(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=dh(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class bI extends mI{constructor(n,e){super(e),this.url=n,jx(this,e)}toString(){return DI(this._root)}}function jx(t,n){n.value._routerState=t,n.children.forEach(e=>jx(t,e))}function DI(t){const n=t.children.length>0?` { ${t.children.map(DI).join(", ")} } `:"";return`${t.value}${n}`}function Yx(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,tl(n.queryParams,e.queryParams)||t.queryParams.next(e.queryParams),n.fragment!==e.fragment&&t.fragment.next(e.fragment),tl(n.params,e.params)||t.params.next(e.params),function pJ(t,n){if(t.length!==n.length)return!1;for(let e=0;e<t.length;++e)if(!tl(t[e],n[e]))return!1;return!0}(n.url,e.url)||t.url.next(e.url),tl(n.data,e.data)||t.data.next(e.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function Ux(t,n){const e=tl(t.params,n.params)&&function vJ(t,n){return Xd(t,n)&&t.every((e,i)=>tl(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||Ux(t.parent,n.parent))}function qm(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const r=function nZ(t,n,e){return n.children.map(i=>{for(const r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return qm(t,i,r);return qm(t,i)})}(t,n,e);return new Gl(i,r)}{if(t.shouldAttach(n.value)){const o=t.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>qm(t,a)),s}}const i=function iZ(t){return new Zd(new dr(t.url),new dr(t.params),new dr(t.queryParams),new dr(t.fragment),new dr(t.data),t.outlet,t.component,t)}(n.value),r=n.children.map(o=>qm(t,o));return new Gl(i,r)}}const Wx="ngNavigationCancelingError";function yI(t,n){const{redirectTo:e,navigationBehaviorOptions:i}=Qd(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=MI(!1,0,n);return r.url=e,r.navigationBehaviorOptions=i,r}function MI(t,n,e){const i=new Error("NavigationCancelingError: "+(t||""));return i[Wx]=!0,i.cancellationCode=n,e&&(i.url=e),i}function CI(t){return xI(t)&&Qd(t.url)}function xI(t){return t&&t[Wx]}class rZ{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Xm,this.attachRef=null}}let Xm=(()=>{class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new rZ,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const J1=!1;let Z1=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=rn,this.activateEvents=new ht,this.deactivateEvents=new ht,this.attachEvents=new ht,this.detachEvents=new ht,this.parentContexts=Pt(Xm),this.location=Pt(es),this.changeDetector=Pt(ar),this.environmentInjector=Pt(Qs)}ngOnChanges(e){if(e.name){const{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}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 Re(4012,J1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Re(4012,J1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Re(4012,J1);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),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,i){if(this.isActivated)throw new Re(4013,J1);this._activatedRoute=e;const r=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new oZ(e,a,r.injector);if(i&&function sZ(t){return!!t.resolveComponentFactory}(i)){const d=i.resolveComponentFactory(s);this.activated=r.createComponent(d,r.length,l)}else this.activated=r.createComponent(s,{index:r.length,injector:l,environmentInjector:i??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=je({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[ti]}),t})();class oZ{constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===Zd?this.route:n===Xm?this.childContexts:this.parent.get(n,e)}}let zx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Oe({type:t,selectors:[["ng-component"]],standalone:!0,features:[sr],decls:1,vars:0,template:function(e,i){1&e&&X(0,"router-outlet")},dependencies:[Z1],encapsulation:2}),t})();function TI(t,n){return t.providers&&!t._injector&&(t._injector=d1(t.providers,n,`Route: ${t.path}`)),t._injector??n}function qx(t){const n=t.children&&t.children.map(qx),e=n?{...t,children:n}:{...t};return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==rn&&(e.component=zx),e}function ia(t){return t.outlet||rn}function wI(t,n){const e=t.filter(i=>ia(i)===n);return e.push(...t.filter(i=>ia(i)!==n)),e}function Qm(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class uZ{constructor(n,e,i,r){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r}activate(n){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),Yx(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const r=ph(e);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Jr(r,(o,s)=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,e,i){const r=n.value,o=e?e.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=ph(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){const i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=ph(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(n,e,i){const r=ph(e);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new $J(o.value.snapshot))}),n.children.length&&this.forwardEvent(new WJ(n.value.snapshot))}activateRoutes(n,e,i){const r=n.value,o=e?e.value:null;if(Yx(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,i);else if(r.component){const s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Yx(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=Qm(r.snapshot),l=a?.get(Hd)??null;s.attachRef=null,s.route=r,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,i)}}class EI{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class K1{constructor(n,e){this.component=n,this.route=e}}function fZ(t,n,e){const i=t._root;return Jm(i,n?n._root:null,e,[i.value])}function mh(t,n){const e=Symbol(),i=n.get(t,e);return i===e?"function"!=typeof t||function fy(t){return null!==dc(t)}(t)?n.get(t):t:i}function Jm(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=ph(n);return t.children.forEach(s=>{(function pZ(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function mZ(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!Xd(t.url,n.url);case"pathParamsOrQueryParamsChange":return!Xd(t.url,n.url)||!tl(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ux(t,n)||!tl(t.queryParams,n.queryParams);default:return!Ux(t,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new EI(i)):(o.data=s.data,o._resolvedData=s._resolvedData),Jm(t,n,o.component?a?a.children:null:e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new K1(a.outlet.component,s))}else s&&Zm(n,a,r),r.canActivateChecks.push(new EI(i)),Jm(t,null,o.component?a?a.children:null:e,i,r)})(s,o[s.value.outlet],e,i.concat([s.value]),r),delete o[s.value.outlet]}),Jr(o,(s,a)=>Zm(s,e.getContext(a),r)),r}function Zm(t,n,e){const i=ph(t),r=t.value;Jr(i,(o,s)=>{Zm(o,r.component?n?n.children.getContext(s):null:n,e)}),e.canDeactivateChecks.push(new K1(r.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,r))}function Km(t){return"function"==typeof t}function Xx(t){return t instanceof P1||"EmptyError"===t?.name}const ev=Symbol("INITIAL_VALUE");function gh(){return na(t=>Hm(t.map(n=>n.pipe(ni(1),el(ev)))).pipe(xt(n=>{for(const e of n)if(!0!==e){if(e===ev)return ev;if(!1===e||e instanceof Ac)return e}return!0}),zn(n=>n!==ev),ni(1)))}function SI(t){return function bp(...t){return Xu(t)}(ji(n=>{if(Qd(n))throw yI(0,n)}),xt(n=>!0===n))}const Qx={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function kI(t,n,e,i,r){const o=Jx(t,n,e);return o.matched?function FZ(t,n,e,i){const r=n.canMatch;return r&&0!==r.length?yt(r.map(s=>{const a=mh(s,t);return kc(function yZ(t){return t&&Km(t.canMatch)}(a)?a.canMatch(n,e):t.runInContext(()=>a(n,e)))})).pipe(gh(),SI()):yt(!0)}(i=TI(n,i),n,e).pipe(xt(s=>!0===s?o:{...Qx})):yt(o)}function Jx(t,n,e){if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?{...Qx}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(n.matcher||hJ)(e,t,n);if(!r)return{...Qx};const o={};Jr(r.posParams,(a,l)=>{o[l]=a.path});const s=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function tv(t,n,e,i){if(e.length>0&&function IZ(t,n,e){return e.some(i=>nv(t,n,i)&&ia(i)!==rn)}(t,e,i)){const o=new vn(n,function OZ(t,n,e,i){const r={};r[rn]=i,i._sourceSegment=t,i._segmentIndexShift=n.length;for(const o of e)if(""===o.path&&ia(o)!==rn){const s=new vn([],{});s._sourceSegment=t,s._segmentIndexShift=n.length,r[ia(o)]=s}return r}(t,n,i,new vn(e,t.children)));return o._sourceSegment=t,o._segmentIndexShift=n.length,{segmentGroup:o,slicedSegments:[]}}if(0===e.length&&function LZ(t,n,e){return e.some(i=>nv(t,n,i))}(t,e,i)){const o=new vn(t.segments,function NZ(t,n,e,i,r){const o={};for(const s of i)if(nv(t,e,s)&&!r[ia(s)]){const a=new vn([],{});a._sourceSegment=t,a._segmentIndexShift=n.length,o[ia(s)]=a}return{...r,...o}}(t,n,e,i,t.children));return o._sourceSegment=t,o._segmentIndexShift=n.length,{segmentGroup:o,slicedSegments:e}}const r=new vn(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=n.length,{segmentGroup:r,slicedSegments:e}}function nv(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}function AI(t,n,e,i){return!!(ia(t)===i||i!==rn&&nv(n,e,t))&&("**"===t.path||Jx(n,t,e).matched)}function RI(t,n,e){return 0===n.length&&!t.children[e]}const iv=!1;class rv{constructor(n){this.segmentGroup=n||null}}class FI{constructor(n){this.urlTree=n}}function eg(t){return ch(new rv(t))}function NI(t){return ch(new FI(t))}class HZ{constructor(n,e,i,r,o){this.injector=n,this.configLoader=e,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0}apply(){const n=tv(this.urlTree.root,[],[],this.config).segmentGroup,e=new vn(n.segments,n.children);return this.expandSegmentGroup(this.injector,this.config,e,rn).pipe(xt(o=>this.createUrlTree($1(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Hl(o=>{if(o instanceof FI)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof rv?this.noMatchError(o):o}))}match(n){return this.expandSegmentGroup(this.injector,this.config,n.root,rn).pipe(xt(r=>this.createUrlTree($1(r),n.queryParams,n.fragment))).pipe(Hl(r=>{throw r instanceof rv?this.noMatchError(r):r}))}noMatchError(n){return new Re(4002,iv)}createUrlTree(n,e,i){const r=Ox(n);return new Ac(r,e,i)}expandSegmentGroup(n,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(n,e,i).pipe(xt(o=>new vn([],o))):this.expandSegment(n,i,e,i.segments,r,!0)}expandChildren(n,e,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return Bi(r).pipe(Sc(o=>{const s=i.children[o],a=wI(e,o);return this.expandSegmentGroup(n,a,s,o).pipe(xt(l=>({segment:l,outlet:o})))}),zO((o,s)=>(o[s.outlet]=s.segment,o),{}),$O())}expandSegment(n,e,i,r,o,s){return Bi(i).pipe(Sc(a=>this.expandSegmentAgainstRoute(n,e,i,a,r,o,s).pipe(Hl(d=>{if(d instanceof rv)return yt(null);throw d}))),Ec(a=>!!a),Hl((a,l)=>{if(Xx(a))return RI(e,r,o)?yt(new vn([],{})):eg(e);throw a}))}expandSegmentAgainstRoute(n,e,i,r,o,s,a){return AI(r,e,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,e,r,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s):eg(e):eg(e)}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,i,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,i,r){const o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?NI(o):this.lineralizeSegments(i,o).pipe(Dn(s=>{const a=new vn(s,{});return this.expandSegment(n,a,e,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s){const{matched:a,consumedSegments:l,remainingSegments:d,positionalParamSegments:f}=Jx(e,r,o);if(!a)return eg(e);const m=this.applyRedirectCommands(l,r.redirectTo,f);return r.redirectTo.startsWith("/")?NI(m):this.lineralizeSegments(r,m).pipe(Dn(g=>this.expandSegment(n,e,i,g.concat(d),s,!1)))}matchSegmentAgainstRoute(n,e,i,r,o){return"**"===i.path?(n=TI(i,n),i.loadChildren?(i._loadedRoutes?yt({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(n,i)).pipe(xt(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new vn(r,{})))):yt(new vn(r,{}))):kI(e,i,r,n).pipe(na(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(n=i._injector??n,i,r).pipe(Dn(f=>{const m=f.injector??n,g=f.routes,{segmentGroup:b,slicedSegments:M}=tv(e,a,l,g),y=new vn(b.segments,b.children);if(0===M.length&&y.hasChildren())return this.expandChildren(m,g,y).pipe(xt(N=>new vn(a,N)));if(0===g.length&&0===M.length)return yt(new vn(a,{}));const T=ia(i)===o;return this.expandSegment(m,y,g,M,T?rn:o,!0).pipe(xt(O=>new vn(a.concat(O.segments),O.children)))})):eg(e)))}getChildConfig(n,e,i){return e.children?yt({routes:e.children,injector:n}):e.loadChildren?void 0!==e._loadedRoutes?yt({routes:e._loadedRoutes,injector:e._loadedInjector}):function RZ(t,n,e,i){const r=n.canLoad;return void 0===r||0===r.length?yt(!0):yt(r.map(s=>{const a=mh(s,t);return kc(function _Z(t){return t&&Km(t.canLoad)}(a)?a.canLoad(n,e):t.runInContext(()=>a(n,e)))})).pipe(gh(),SI())}(n,e,i).pipe(Dn(r=>r?this.configLoader.loadChildren(n,e).pipe(ji(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function BZ(t){return ch(MI(iv,3))}())):yt({routes:[],injector:n})}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return yt(i);if(r.numberOfChildren>1||!r.children[rn])return n.redirectTo,ch(new Re(4e3,iv));r=r.children[rn]}}applyRedirectCommands(n,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i)}applyRedirectCreateUrlTree(n,e,i,r){const o=this.createSegmentGroup(n,e.root,i,r);return new Ac(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return Jr(n,(r,o)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[o]=e[a]}else i[o]=r}),i}createSegmentGroup(n,e,i,r){const o=this.createSegments(n,e.segments,i,r);let s={};return Jr(e.children,(a,l)=>{s[l]=this.createSegmentGroup(n,a,i,r)}),new vn(o,s)}createSegments(n,e,i,r){return e.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,e,i){const r=i[e.path.substring(1)];if(!r)throw new Re(4001,iv);return r}findOrReturn(n,e){let i=0;for(const r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}}class jZ{}class WZ{constructor(n,e,i,r,o,s,a){this.injector=n,this.rootComponentType=e,this.config=i,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a}recognize(){const n=tv(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,rn).pipe(xt(e=>{if(null===e)return null;const i=new Q1([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},rn,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Gl(i,e),o=new bI(this.url,r);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(n){const e=n.value,i=vI(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),n.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(n,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,e,i):this.processSegment(n,e,i,i.segments,r)}processChildren(n,e,i){return Bi(Object.keys(i.children)).pipe(Sc(r=>{const o=i.children[r],s=wI(e,r);return this.processSegmentGroup(n,s,o,r)}),zO((r,o)=>r&&o?(r.push(...o),r):null),function uJ(t,n=!1){return ri((e,i)=>{let r=0;e.subscribe(Pn(i,o=>{const s=t(o,r++);(s||n)&&i.next(o),!s&&i.complete()}))})}(r=>null!==r),V1(null),$O(),xt(r=>{if(null===r)return null;const o=II(r);return function zZ(t){t.sort((n,e)=>n.value.outlet===rn?-1:e.value.outlet===rn?1:n.value.outlet.localeCompare(e.value.outlet))}(o),o}))}processSegment(n,e,i,r,o){return Bi(e).pipe(Sc(s=>this.processSegmentAgainstRoute(s._injector??n,s,i,r,o)),Ec(s=>!!s),Hl(s=>{if(Xx(s))return RI(i,r,o)?yt([]):yt(null);throw s}))}processSegmentAgainstRoute(n,e,i,r,o){if(e.redirectTo||!AI(e,i,r,o))return yt(null);let s;if("**"===e.path){const a=r.length>0?JO(r).parameters:{},l=PI(i)+r.length;s=yt({snapshot:new Q1(r,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,BI(e),ia(e),e.component??e._loadedComponent??null,e,LI(i),l,VI(e)),consumedSegments:[],remainingSegments:[]})}else s=kI(i,e,r,n).pipe(xt(({matched:a,consumedSegments:l,remainingSegments:d,parameters:f})=>{if(!a)return null;const m=PI(i)+l.length;return{snapshot:new Q1(l,f,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,BI(e),ia(e),e.component??e._loadedComponent??null,e,LI(i),m,VI(e)),consumedSegments:l,remainingSegments:d}}));return s.pipe(na(a=>{if(null===a)return yt(null);const{snapshot:l,consumedSegments:d,remainingSegments:f}=a;n=e._injector??n;const m=e._loadedInjector??n,g=function $Z(t){return t.children?t.children:t.loadChildren?t._loadedRoutes:[]}(e),{segmentGroup:b,slicedSegments:M}=tv(i,d,f,g.filter(T=>void 0===T.redirectTo));if(0===M.length&&b.hasChildren())return this.processChildren(m,g,b).pipe(xt(T=>null===T?null:[new Gl(l,T)]));if(0===g.length&&0===M.length)return yt([new Gl(l,[])]);const y=ia(e)===o;return this.processSegment(m,g,b,M,y?rn:o).pipe(xt(T=>null===T?null:[new Gl(l,T)]))}))}}function qZ(t){const n=t.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function II(t){const n=[],e=new Set;for(const i of t){if(!qZ(i)){n.push(i);continue}const r=n.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),e.add(r)):n.push(i)}for(const i of e){const r=II(i.children);n.push(new Gl(i.value,r))}return n.filter(i=>!e.has(i))}function LI(t){let n=t;for(;n._sourceSegment;)n=n._sourceSegment;return n}function PI(t){let n=t,e=n._segmentIndexShift??0;for(;n._sourceSegment;)n=n._sourceSegment,e+=n._segmentIndexShift??0;return e-1}function BI(t){return t.data||{}}function VI(t){return t.resolve||{}}function JZ(t,n){return Dn(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return yt(e);let o=0;return Bi(r).pipe(Sc(s=>function ZZ(t,n,e,i){const r=t.routeConfig,o=t._resolve;return void 0!==r?.title&&!HI(r)&&(o[Gm]=r.title),function KZ(t,n,e,i){const r=function eK(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===r.length)return yt({});const o={};return Bi(r).pipe(Dn(s=>function tK(t,n,e,i){const r=Qm(n)??i,o=mh(t,r);return kc(o.resolve?o.resolve(n,e):r.runInContext(()=>o(n,e)))}(t[s],n,e,i).pipe(Ec(),ji(a=>{o[s]=a}))),Rx(1),function qO(t){return xt(()=>t)}(o),Hl(s=>Xx(s)?Ci:ch(s)))}(o,t,n,i).pipe(xt(s=>(t._resolvedData=s,t.data=vI(t,e).resolve,r&&HI(r)&&(t.data[Gm]=r.title),null)))}(s.route,i,t,n)),ji(()=>o++),Rx(1),Dn(s=>o===r.length?yt(e):Ci))})}function HI(t){return"string"==typeof t.title||null===t.title}function Zx(t){return na(n=>{const e=t(n);return e?Bi(e).pipe(xt(()=>n)):yt(n)})}const _h=new $e("ROUTES");let Kx=(()=>{class t{constructor(e,i){this.injector=e,this.compiler=i,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return yt(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=kc(e.loadComponent()).pipe(xt(jI),ji(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),H1(()=>{this.componentLoaders.delete(e)})),r=new UO(i,()=>new vt).pipe(Ax());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return yt({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(xt(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,d,f=!1;Array.isArray(a)?d=a:(l=a.create(e).injector,d=QO(l.get(_h,[],kt.Self|kt.Optional)));return{routes:d.map(qx),injector:l}}),H1(()=>{this.childrenLoaders.delete(i)})),s=new UO(o,()=>new vt).pipe(Ax());return this.childrenLoaders.set(i,s),s}loadModuleFactoryOrRoutes(e){return kc(e()).pipe(xt(jI),Dn(r=>r instanceof xF||Array.isArray(r)?yt(r):Bi(this.compiler.compileModuleAsync(r))))}}return t.\u0275fac=function(e){return new(e||t)(me(hi),me(fN))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function jI(t){return function iK(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}let sv=(()=>{class t{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new vt,this.configLoader=Pt(Kx),this.environmentInjector=Pt(Qs),this.urlSerializer=Pt(Ym),this.rootContexts=Pt(Xm),this.navigationId=0,this.afterPreactivation=()=>yt(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=r=>this.events.next(new YJ(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new jJ(r))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:i})}setupNavigations(e){return this.transitions=new dr({id:0,targetPageId:0,currentUrlTree:e.currentUrlTree,currentRawUrl:e.currentUrlTree,extractedUrl:e.urlHandlingStrategy.extract(e.currentUrlTree),urlAfterRedirects:e.urlHandlingStrategy.extract(e.currentUrlTree),rawUrl:e.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:$m,restoredState:null,currentSnapshot:e.routerState.snapshot,targetSnapshot:null,currentRouterState:e.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(zn(i=>0!==i.id),xt(i=>({...i,extractedUrl:e.urlHandlingStrategy.extract(i.rawUrl)})),na(i=>{let r=!1,o=!1;return yt(i).pipe(ji(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),na(s=>{const a=e.browserUrlTree.toString(),l=!e.navigated||s.extractedUrl.toString()!==a||a!==e.currentUrlTree.toString();if(!l&&"reload"!==(s.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const f="";return this.events.next(new X1(s.id,e.serializeUrl(i.rawUrl),f,0)),e.rawUrlTree=s.rawUrl,s.resolve(null),Ci}if(e.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return YI(s.source)&&(e.browserUrlTree=s.extractedUrl),yt(s).pipe(na(f=>{const m=this.transitions?.getValue();return this.events.next(new Bx(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),m!==this.transitions?.getValue()?Ci:Promise.resolve(f)}),function GZ(t,n,e,i){return na(r=>function VZ(t,n,e,i,r){return new HZ(t,n,e,i,r).apply()}(t,n,e,r.extractedUrl,i).pipe(xt(o=>({...r,urlAfterRedirects:o}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,e.config),ji(f=>{this.currentNavigation={...this.currentNavigation,finalUrl:f.urlAfterRedirects},i.urlAfterRedirects=f.urlAfterRedirects}),function QZ(t,n,e,i,r){return Dn(o=>function UZ(t,n,e,i,r,o,s="emptyOnly"){return new WZ(t,n,e,i,r,s,o).recognize().pipe(na(a=>null===a?function YZ(t){return new kn(n=>n.error(t))}(new jZ):yt(a)))}(t,n,e,o.urlAfterRedirects,i.serialize(o.urlAfterRedirects),i,r).pipe(xt(s=>({...o,targetSnapshot:s}))))}(this.environmentInjector,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),ji(f=>{if(i.targetSnapshot=f.targetSnapshot,"eager"===e.urlUpdateStrategy){if(!f.extras.skipLocationChange){const g=e.urlHandlingStrategy.merge(f.urlAfterRedirects,f.rawUrl);e.setBrowserUrl(g,f)}e.browserUrlTree=f.urlAfterRedirects}const m=new PJ(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(m)}));if(l&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){const{id:f,extractedUrl:m,source:g,restoredState:b,extras:M}=s,y=new Bx(f,this.urlSerializer.serialize(m),g,b);this.events.next(y);const T=_I(m,this.rootComponentType).snapshot;return yt(i={...s,targetSnapshot:T,urlAfterRedirects:m,extras:{...M,skipLocationChange:!1,replaceUrl:!1}})}{const f="";return this.events.next(new X1(s.id,e.serializeUrl(i.extractedUrl),f,1)),e.rawUrlTree=s.rawUrl,s.resolve(null),Ci}}),ji(s=>{const a=new BJ(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),xt(s=>i={...s,guards:fZ(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function CZ(t,n){return Dn(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return 0===s.length&&0===o.length?yt({...e,guardsResult:!0}):function xZ(t,n,e,i){return Bi(t).pipe(Dn(r=>function AZ(t,n,e,i,r){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?yt(o.map(a=>{const l=Qm(n)??r,d=mh(a,l);return kc(function DZ(t){return t&&Km(t.canDeactivate)}(d)?d.canDeactivate(t,n,e,i):l.runInContext(()=>d(t,n,e,i))).pipe(Ec())})).pipe(gh()):yt(!0)}(r.component,r.route,e,n,i)),Ec(r=>!0!==r,!0))}(s,i,r,t).pipe(Dn(a=>a&&function gZ(t){return"boolean"==typeof t}(a)?function TZ(t,n,e,i){return Bi(n).pipe(Sc(r=>lh(function EZ(t,n){return null!==t&&n&&n(new UJ(t)),yt(!0)}(r.route.parent,i),function wZ(t,n){return null!==t&&n&&n(new zJ(t)),yt(!0)}(r.route,i),function kZ(t,n,e){const i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function hZ(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(s)).filter(s=>null!==s).map(s=>B1(()=>yt(s.guards.map(l=>{const d=Qm(s.node)??e,f=mh(l,d);return kc(function bZ(t){return t&&Km(t.canActivateChild)}(f)?f.canActivateChild(i,t):d.runInContext(()=>f(i,t))).pipe(Ec())})).pipe(gh())));return yt(o).pipe(gh())}(t,r.path,e),function SZ(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return yt(!0);const r=i.map(o=>B1(()=>{const s=Qm(n)??e,a=mh(o,s);return kc(function vZ(t){return t&&Km(t.canActivate)}(a)?a.canActivate(n,t):s.runInContext(()=>a(n,t))).pipe(Ec())}));return yt(r).pipe(gh())}(t,r.route,e))),Ec(r=>!0!==r,!0))}(i,o,t,n):yt(a)),xt(a=>({...e,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),ji(s=>{if(i.guardsResult=s.guardsResult,Qd(s.guardsResult))throw yI(0,s.guardsResult);const a=new VJ(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),zn(s=>!!s.guardsResult||(e.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),Zx(s=>{if(s.guards.canActivateChecks.length)return yt(s).pipe(ji(a=>{const l=new HJ(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),na(a=>{let l=!1;return yt(a).pipe(JZ(e.paramsInheritanceStrategy,this.environmentInjector),ji({next:()=>l=!0,complete:()=>{l||(e.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),ji(a=>{const l=new GJ(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),Zx(s=>{const a=l=>{const d=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(l.routeConfig).pipe(ji(f=>{l.component=f}),xt(()=>{})));for(const f of l.children)d.push(...a(f));return d};return Hm(a(s.targetSnapshot.root)).pipe(V1(),ni(1))}),Zx(()=>this.afterPreactivation()),xt(s=>{const a=function tZ(t,n,e){const i=qm(t,n._root,e?e._root:void 0);return new gI(i,n)}(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return i={...s,targetRouterState:a}}),ji(s=>{e.currentUrlTree=s.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),e.routerState=s.targetRouterState,"deferred"===e.urlUpdateStrategy&&(s.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,s),e.browserUrlTree=s.urlAfterRedirects)}),((t,n,e)=>xt(i=>(new uZ(n,i.targetRouterState,i.currentRouterState,e).activate(t),i)))(this.rootContexts,e.routeReuseStrategy,s=>this.events.next(s)),ji({next:s=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,e.navigated=!0,this.events.next(new Jd(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(e.currentUrlTree))),e.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{r=!0}}),H1(()=>{r||o||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),Hl(s=>{if(o=!0,xI(s)){CI(s)||(e.navigated=!0,e.restoreHistory(i,!0));const a=new q1(i.id,this.urlSerializer.serialize(i.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),CI(s)){const l=e.urlHandlingStrategy.merge(s.url,e.rawUrlTree),d={skipLocationChange:i.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||YI(i.source)};e.scheduleNavigation(l,$m,null,d,{resolve:i.resolve,reject:i.reject,promise:i.promise})}else i.resolve(!1)}else{e.restoreHistory(i,!0);const a=new Vx(i.id,this.urlSerializer.serialize(i.extractedUrl),s,i.targetSnapshot??void 0);this.events.next(a);try{i.resolve(e.errorHandler(s))}catch(l){i.reject(l)}}return Ci}))}))}cancelNavigationTransition(e,i,r){const o=new q1(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(o),e.resolve(!1)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function YI(t){return t!==$m}let UI=(()=>{class t{buildTitle(e){let i,r=e.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===rn);return i}getResolvedTitleForRoute(e){return e.data[Gm]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:function(){return Pt(rK)},providedIn:"root"}),t})(),rK=(()=>{class t extends UI{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return t.\u0275fac=function(e){return new(e||t)(me(PO))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),oK=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:function(){return Pt(aK)},providedIn:"root"}),t})();class sK{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}let aK=(()=>{class t extends sK{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=wi(t)))(i||t)}}(),t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const av=new $e("",{providedIn:"root",factory:()=>({})});let cK=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:function(){return Pt(dK)},providedIn:"root"}),t})(),dK=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function uK(t){throw t}function fK(t,n,e){return n.parse("/")}const hK={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},pK={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let gt=(()=>{class t{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=Pt(X$),this.isNgZoneEnabled=!1,this.options=Pt(av,{optional:!0})||{},this.errorHandler=this.options.errorHandler||uK,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||fK,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=Pt(cK),this.routeReuseStrategy=Pt(oK),this.urlCreationStrategy=Pt(ZJ),this.titleStrategy=Pt(UI),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=QO(Pt(_h,{optional:!0})??[]),this.navigationTransitions=Pt(sv),this.urlSerializer=Pt(Ym),this.location=Pt(Po),this.isNgZoneEnabled=Pt(St)instanceof St&&St.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Ac,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=_I(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const e=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),$m,e)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{this.navigateToSyncWithBrowser(e.url,i,e.state)},0)}))}navigateToSyncWithBrowser(e,i,r){const o={replaceUrl:!0},s=r?.navigationId?r:null;if(r){const l={...r};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(e);this.scheduleNavigation(a,i,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(e){this.config=e.map(qx),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:r,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=i,d=l?this.currentUrlTree.fragment:s;let f=null;switch(a){case"merge":f={...this.currentUrlTree.queryParams,...o};break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=o||null}return null!==f&&(f=this.removeEmptyProps(f)),this.urlCreationStrategy.createUrlTree(r,this.routerState,this.currentUrlTree,e,f,d??null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=Qd(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,$m,null,i)}navigate(e,i={skipLocationChange:!1}){return function mK(t){for(let n=0;n<t.length;n++){const e=t[n];if(null==e)throw new Re(4008,false)}}(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let i;try{i=this.urlSerializer.parse(e)}catch(r){i=this.malformedUriErrorHandler(r,this.urlSerializer,e)}return i}isActive(e,i){let r;if(r=!0===i?{...hK}:!1===i?{...pK}:i,Qd(e))return KO(this.currentUrlTree,e,r);const o=this.parseUrl(e);return KO(this.currentUrlTree,o,r)}removeEmptyProps(e){return Object.keys(e).reduce((i,r)=>{const o=e[r];return null!=o&&(i[r]=o),i},{})}scheduleNavigation(e,i,r,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,d,f;return s?(a=s.resolve,l=s.reject,d=s.promise):d=new Promise((m,g)=>{a=m,l=g}),f="computed"===this.canceledNavigationResolution?r&&r.\u0275routerPageId?r.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:f,source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:l,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(m=>Promise.reject(m))}setBrowserUrl(e,i){const r=this.urlSerializer.serialize(e),o={...i.extras.state,...this.generateNgRouterState(i.id,i.targetPageId)};this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl?this.location.replaceState(r,"",o):this.location.go(r,"",o)}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===r?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class WI{}let vK=(()=>{class t{constructor(e,i,r,o,s){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(zn(e=>e instanceof Jd),Sc(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const r=[];for(const o of i){o.providers&&!o._injector&&(o._injector=d1(o.providers,e,`Route: ${o.path}`));const s=o._injector??e,a=o._loadedInjector??s;o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent?r.push(this.preloadConfig(s,o)):(o.children||o._loadedRoutes)&&r.push(this.processRoutes(a,o.children??o._loadedRoutes))}return Bi(r).pipe(ro())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):yt(null);const o=r.pipe(Dn(s=>null===s?yt(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));return i.loadComponent&&!i._loadedComponent?Bi([o,this.loader.loadComponent(i)]).pipe(ro()):o})}}return t.\u0275fac=function(e){return new(e||t)(me(gt),me(fN),me(Qs),me(WI),me(Kx))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const nT=new $e("");let zI=(()=>{class t{constructor(e,i,r,o,s={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.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 Bx?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Jd&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof pI&&(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,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new pI(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return t.\u0275fac=function(e){z0()},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})();var Es=(()=>((Es=Es||{})[Es.COMPLETE=0]="COMPLETE",Es[Es.FAILED=1]="FAILED",Es[Es.REDIRECTING=2]="REDIRECTING",Es))();const vh=!1;function Rc(t,n){return{\u0275kind:t,\u0275providers:n}}const iT=new $e("",{providedIn:"root",factory:()=>!1});function qI(){const t=Pt(hi);return n=>{const e=t.get(Wd);if(n!==e.components[0])return;const i=t.get(gt),r=t.get(XI);1===t.get(rT)&&i.initialNavigation(),t.get(QI,null,kt.Optional)?.setUpPreloading(),t.get(nT,null,kt.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.unsubscribe())}}const XI=new $e(vh?"bootstrap done indicator":"",{factory:()=>new vt}),rT=new $e(vh?"initial navigation":"",{providedIn:"root",factory:()=>1});function CK(){let t=[];return t=vh?[{provide:j0,multi:!0,useFactory:()=>{const n=Pt(gt);return()=>n.events.subscribe(e=>{console.group?.(`Router Event: ${e.constructor.name}`),console.log(function qJ(t){if(!("type"in t))return`Unknown Router Event: ${t.constructor.name}`;switch(t.type){case 14:return`ActivationEnd(path: '${t.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${t.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${t.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${t.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state}, shouldActivate: ${t.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case 2:return`NavigationCancel(id: ${t.id}, url: '${t.url}')`;case 16:return`NavigationSkipped(id: ${t.id}, url: '${t.url}')`;case 1:return`NavigationEnd(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${t.id}, url: '${t.url}', error: ${t.error})`;case 0:return`NavigationStart(id: ${t.id}, url: '${t.url}')`;case 6:return`ResolveEnd(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case 5:return`ResolveStart(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case 10:return`RouteConfigLoadEnd(path: ${t.route.path})`;case 9:return`RouteConfigLoadStart(path: ${t.route.path})`;case 4:return`RoutesRecognized(id: ${t.id}, url: '${t.url}', urlAfterRedirects: '${t.urlAfterRedirects}', state: ${t.state})`;case 15:return`Scroll(anchor: '${t.anchor}', position: '${t.position?`${t.position[0]}, ${t.position[1]}`:null}')`}}(e)),console.log(e),console.groupEnd?.()})}}]:[],Rc(1,t)}const QI=new $e(vh?"router preloader":"");function xK(t){return Rc(0,[{provide:QI,useExisting:vK},{provide:WI,useExisting:t}])}const tg=!1,JI=new $e(tg?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),TK=[Po,{provide:Ym,useClass:Fx},gt,Xm,{provide:Zd,useFactory:function $I(t){return t.routerState.root},deps:[gt]},Kx,tg?{provide:iT,useValue:!0}:[]];function wK(){return new DN("Router",gt)}let ZI=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[TK,tg&&i?.enableTracing?CK().\u0275providers:[],{provide:_h,multi:!0,useValue:e},{provide:JI,useFactory:AK,deps:[[gt,new Rl,new Nf]]},{provide:av,useValue:i||{}},i?.useHash?{provide:$d,useClass:Lq}:{provide:$d,useClass:YN},{provide:nT,useFactory:()=>{const t=Pt(QX),n=Pt(St),e=Pt(av),i=Pt(sv),r=Pt(Ym);return e.scrollOffset&&t.setOffset(e.scrollOffset),new zI(r,i,t,n,e)}},i?.preloadingStrategy?xK(i.preloadingStrategy).\u0275providers:[],{provide:DN,multi:!0,useFactory:wK},i?.initialNavigation?RK(i):[],[{provide:KI,useFactory:qI},{provide:bN,multi:!0,useExisting:KI}]]}}static forChild(e){return{ngModule:t,providers:[{provide:_h,multi:!0,useValue:e}]}}}return t.\u0275fac=function(e){return new(e||t)(me(JI,8))},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[zx]}),t})();function AK(t){if(tg&&t)throw new Re(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function RK(t){return["disabled"===t.initialNavigation?Rc(3,[{provide:p1,multi:!0,useFactory:()=>{const n=Pt(gt);return()=>{n.setUpLocationChangeListener()}}},{provide:rT,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?Rc(2,[{provide:rT,useValue:0},{provide:p1,multi:!0,deps:[hi],useFactory:n=>{const e=n.get(Oq,Promise.resolve());return()=>e.then(()=>new Promise(i=>{const r=n.get(gt),o=n.get(XI);(function bK(t,n){t.events.pipe(zn(e=>e instanceof Jd||e instanceof q1||e instanceof Vx||e instanceof X1),xt(e=>e instanceof Jd||e instanceof X1?Es.COMPLETE:e instanceof q1&&(0===e.code||1===e.code)?Es.REDIRECTING:Es.FAILED),zn(e=>e!==Es.REDIRECTING),ni(1)).subscribe(()=>{n()})})(r,()=>{i(!0)}),n.get(sv).afterPreactivation=()=>(i(!0),o.closed?yt(void 0):o),r.initialNavigation()}))}}]).\u0275providers:[]]}const KI=new $e(tg?"Router Initializer":"");let NK=(()=>{class t{constructor(e){this.router=e}ngOnInit(){this.router.navigate(["login"])}}return t.\u0275fac=function(e){return new(e||t)(V(gt))},t.\u0275cmp=Oe({type:t,selectors:[["app-ini"]],decls:2,vars:0,template:function(e,i){1&e&&(c(0,"p"),p(1," ini works!\n"),u())}}),t})();function e3(t,n,e,i,r,o,s){try{var a=t[o](s),l=a.value}catch(d){return void e(d)}a.done?n(l):Promise.resolve(l).then(i,r)}function ra(t){return function(){var n=this,e=arguments;return new Promise(function(i,r){var o=t.apply(n,e);function s(l){e3(o,i,r,s,a,"next",l)}function a(l){e3(o,i,r,s,a,"throw",l)}s(void 0)})}}class lv{}class oT{}class ur{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const r=e.slice(0,i),o=r.toLowerCase(),s=e.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(n).forEach(e=>{let i=n[e];const r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof ur?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new ur;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof ur?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,e);const r=("a"===n.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=n.value;if(o){let s=this.headers.get(e);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class OK{encodeKey(n){return t3(n)}encodeValue(n){return t3(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const LK=/%(\d[a-f0-9])/gi,PK={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function t3(t){return encodeURIComponent(t).replace(LK,(n,e)=>PK[e]??n)}function cv(t){return`${t}`}class Fc{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new OK,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function IK(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],r=Array.isArray(i)?i.map(cv):[cv(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const r=n[i];Array.isArray(r)?r.forEach(o=>{e.push({param:i,value:o,op:"a"})}):e.push({param:i,value:r,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new Fc({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(cv(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const r=i.indexOf(cv(n.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class BK{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function n3(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function r3(t){return typeof Blob<"u"&&t instanceof Blob}function o3(t){return typeof FormData<"u"&&t instanceof FormData}class ng{constructor(n,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function VK(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,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.headers||(this.headers=new ur),this.context||(this.context=new BK),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a<e.length-1?"&":"")+s}}else this.params=new Fc,this.urlWithParams=e}serializeBody(){return null===this.body?null:n3(this.body)||r3(this.body)||o3(this.body)||function HK(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Fc?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||o3(this.body)?null:r3(this.body)?this.body.type||null:n3(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Fc?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(n={}){const e=n.method||this.method,i=n.url||this.url,r=n.responseType||this.responseType,o=void 0!==n.body?n.body:this.body,s=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,a=void 0!==n.reportProgress?n.reportProgress:this.reportProgress;let l=n.headers||this.headers,d=n.params||this.params;const f=n.context??this.context;return void 0!==n.setHeaders&&(l=Object.keys(n.setHeaders).reduce((m,g)=>m.set(g,n.setHeaders[g]),l)),n.setParams&&(d=Object.keys(n.setParams).reduce((m,g)=>m.set(g,n.setParams[g]),d)),new ng(e,i,o,{params:d,headers:l,context:f,reportProgress:a,responseType:r,withCredentials:s})}}var fr=(()=>((fr=fr||{})[fr.Sent=0]="Sent",fr[fr.UploadProgress=1]="UploadProgress",fr[fr.ResponseHeader=2]="ResponseHeader",fr[fr.DownloadProgress=3]="DownloadProgress",fr[fr.Response=4]="Response",fr[fr.User=5]="User",fr))();class sT{constructor(n,e=200,i="OK"){this.headers=n.headers||new ur,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class aT extends sT{constructor(n={}){super(n),this.type=fr.ResponseHeader}clone(n={}){return new aT({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class dv extends sT{constructor(n={}){super(n),this.type=fr.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new dv({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class s3 extends sT{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function lT(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let uv=(()=>{class t{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof ng)o=e;else{let l,d;l=r.headers instanceof ur?r.headers:new ur(r.headers),r.params&&(d=r.params instanceof Fc?r.params:new Fc({fromObject:r.params})),o=new ng(e,i,void 0!==r.body?r.body:null,{headers:l,context:r.context,params:d,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}const s=yt(o).pipe(Sc(l=>this.handler.handle(l)));if(e instanceof ng||"events"===r.observe)return s;const a=s.pipe(zn(l=>l instanceof dv));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(xt(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(xt(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(xt(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(xt(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${r.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Fc).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,r={}){return this.request("PATCH",e,lT(r,i))}post(e,i,r={}){return this.request("POST",e,lT(r,i))}put(e,i,r={}){return this.request("PUT",e,lT(r,i))}}return t.\u0275fac=function(e){return new(e||t)(me(lv))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})();function a3(t,n){return n(t)}function GK(t,n){return(e,i)=>n.intercept(e,{handle:r=>t(r,i)})}const YK=new $e("HTTP_INTERCEPTORS"),ig=new $e("HTTP_INTERCEPTOR_FNS");function UK(){let t=null;return(n,e)=>(null===t&&(t=(Pt(YK,{optional:!0})??[]).reduceRight(GK,a3)),t(n,e))}let l3=(()=>{class t extends lv{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=Array.from(new Set(this.injector.get(ig)));this.chain=i.reduceRight((r,o)=>function jK(t,n,e){return(i,r)=>e.runInContext(()=>n(i,o=>t(o,r)))}(r,o,this.injector),a3)}return this.chain(e,i=>this.backend.handle(i))}}return t.\u0275fac=function(e){return new(e||t)(me(oT),me(Qs))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})();const qK=/^\)\]\}',?\n/;let d3=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new kn(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((b,M)=>r.setRequestHeader(b,M.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const b=e.detectContentTypeHeader();null!==b&&r.setRequestHeader("Content-Type",b)}if(e.responseType){const b=e.responseType.toLowerCase();r.responseType="json"!==b?b:"text"}const o=e.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const b=r.statusText||"OK",M=new ur(r.getAllResponseHeaders()),y=function XK(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new aT({headers:M,status:r.status,statusText:b,url:y}),s},l=()=>{let{headers:b,status:M,statusText:y,url:T}=a(),k=null;204!==M&&(k=typeof r.response>"u"?r.responseText:r.response),0===M&&(M=k?200:0);let O=M>=200&&M<300;if("json"===e.responseType&&"string"==typeof k){const N=k;k=k.replace(qK,"");try{k=""!==k?JSON.parse(k):null}catch(H){k=N,O&&(O=!1,k={error:H,text:k})}}O?(i.next(new dv({body:k,headers:b,status:M,statusText:y,url:T||void 0})),i.complete()):i.error(new s3({error:k,headers:b,status:M,statusText:y,url:T||void 0}))},d=b=>{const{url:M}=a(),y=new s3({error:b,status:r.status||0,statusText:r.statusText||"Unknown Error",url:M||void 0});i.error(y)};let f=!1;const m=b=>{f||(i.next(a()),f=!0);let M={type:fr.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(M.total=b.total),"text"===e.responseType&&r.responseText&&(M.partialText=r.responseText),i.next(M)},g=b=>{let M={type:fr.UploadProgress,loaded:b.loaded};b.lengthComputable&&(M.total=b.total),i.next(M)};return r.addEventListener("load",l),r.addEventListener("error",d),r.addEventListener("timeout",d),r.addEventListener("abort",d),e.reportProgress&&(r.addEventListener("progress",m),null!==o&&r.upload&&r.upload.addEventListener("progress",g)),r.send(o),i.next({type:fr.Sent}),()=>{r.removeEventListener("error",d),r.removeEventListener("abort",d),r.removeEventListener("load",l),r.removeEventListener("timeout",d),e.reportProgress&&(r.removeEventListener("progress",m),null!==o&&r.upload&&r.upload.removeEventListener("progress",g)),r.readyState!==r.DONE&&r.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(me(pO))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})();const cT=new $e("XSRF_ENABLED"),u3=new $e("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),f3=new $e("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class h3{}let ZK=(()=>{class t{constructor(e,i,r){this.doc=e,this.platform=i,this.cookieName=r,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=nO(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(me(It),me(Nm),me(u3))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})();function KK(t,n){const e=t.url.toLowerCase();if(!Pt(cT)||"GET"===t.method||"HEAD"===t.method||e.startsWith("http://")||e.startsWith("https://"))return n(t);const i=Pt(h3).getToken(),r=Pt(f3);return null!=i&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,i)})),n(t)}var er=(()=>((er=er||{})[er.Interceptors=0]="Interceptors",er[er.LegacyInterceptors=1]="LegacyInterceptors",er[er.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",er[er.NoXsrfProtection=3]="NoXsrfProtection",er[er.JsonpSupport=4]="JsonpSupport",er[er.RequestsMadeViaParent=5]="RequestsMadeViaParent",er))();function bh(t,n){return{\u0275kind:t,\u0275providers:n}}function eee(...t){const n=[uv,d3,l3,{provide:lv,useExisting:l3},{provide:oT,useExisting:d3},{provide:ig,useValue:KK,multi:!0},{provide:cT,useValue:!0},{provide:h3,useClass:ZK}];for(const e of t)n.push(...e.\u0275providers);return function lY(t){return{\u0275providers:t}}(n)}const p3=new $e("LEGACY_INTERCEPTOR_FN");let nee=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({providers:[eee(bh(er.LegacyInterceptors,[{provide:p3,useFactory:UK},{provide:ig,useExisting:p3,multi:!0}]))]}),t})();var m3=ee(5439),iee=ee(4327),rg={version:"0.18.5"},Ss=1200,Kd=1252,ree=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],dT={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},fv=function(t){-1!=ree.indexOf(t)&&(Kd=dT[0]=t)},oa=function(t){Ss=t,fv(t)};var Sn,og=function(n){return String.fromCharCode(n)},uT=function(n){return String.fromCharCode(n)},Yi=null,sg=!0,Nc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function ag(t){for(var n="",e=0,i=0,r=0,o=0,s=0,a=0,l=0,d=0;d<t.length;)o=(e=t.charCodeAt(d++))>>2,s=(3&e)<<4|(i=t.charCodeAt(d++))>>4,a=(15&i)<<2|(r=t.charCodeAt(d++))>>6,l=63&r,isNaN(i)?a=l=64:isNaN(r)&&(l=64),n+=Nc.charAt(o)+Nc.charAt(s)+Nc.charAt(a)+Nc.charAt(l);return n}function ks(t){var n="",o=0,s=0,a=0,l=0;t=t.replace(/[^\w\+\/\=]/g,"");for(var d=0;d<t.length;)o=Nc.indexOf(t.charAt(d++)),s=Nc.indexOf(t.charAt(d++)),n+=String.fromCharCode(o<<2|s>>4),64!==(a=Nc.indexOf(t.charAt(d++)))&&(n+=String.fromCharCode((15&s)<<4|a>>2)),64!==(l=Nc.indexOf(t.charAt(d++)))&&(n+=String.fromCharCode((3&a)<<6|l));return n}var gn=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),jl=function(){if(typeof Buffer<"u"){var t=!Buffer.from;if(!t)try{Buffer.from("foo","utf8")}catch{t=!0}return t?function(n,e){return e?new Buffer(n,e):new Buffer(n)}:Buffer.from.bind(Buffer)}return function(){}}();function Oc(t){return gn?Buffer.alloc?Buffer.alloc(t):new Buffer(t):typeof Uint8Array<"u"?new Uint8Array(t):new Array(t)}function _3(t){return gn?Buffer.allocUnsafe?Buffer.allocUnsafe(t):new Buffer(t):typeof Uint8Array<"u"?new Uint8Array(t):new Array(t)}var As=function(n){return gn?jl(n,"binary"):n.split("").map(function(e){return 255&e.charCodeAt(0)})};function lg(t){if(typeof ArrayBuffer>"u")return As(t);for(var n=new ArrayBuffer(t.length),e=new Uint8Array(n),i=0;i!=t.length;++i)e[i]=255&t.charCodeAt(i);return n}function Ic(t){if(Array.isArray(t))return t.map(function(i){return String.fromCharCode(i)}).join("");for(var n=[],e=0;e<t.length;++e)n[e]=String.fromCharCode(t[e]);return n.join("")}var Or=gn?function(t){return Buffer.concat(t.map(function(n){return Buffer.isBuffer(n)?n:jl(n)}))}:function(t){if(typeof Uint8Array<"u"){var n=0,e=0;for(n=0;n<t.length;++n)e+=t[n].length;var i=new Uint8Array(e),r=0;for(n=0,e=0;n<t.length;e+=r,++n)if(r=t[n].length,t[n]instanceof Uint8Array)i.set(t[n],e);else{if("string"==typeof t[n])throw"wtf";i.set(new Uint8Array(t[n]),e)}return i}return[].concat.apply([],t.map(function(o){return Array.isArray(o)?o:[].slice.call(o)}))},uo=/\u0000/g,cg=/[\u0001-\u0006]/g;function yh(t){for(var n="",e=t.length-1;e>=0;)n+=t.charAt(e--);return n}function Fa(t,n){var e=""+t;return e.length>=n?e:Wi("0",n-e.length)+e}function hT(t,n){var e=""+t;return e.length>=n?e:Wi(" ",n-e.length)+e}function mv(t,n){var e=""+t;return e.length>=n?e:e+Wi(" ",n-e.length)}var v3=Math.pow(2,32);function Mh(t,n){return t>v3||t<-v3?function cee(t,n){var e=""+Math.round(t);return e.length>=n?e:Wi("0",n-e.length)+e}(t,n):function dee(t,n){var e=""+t;return e.length>=n?e:Wi("0",n-e.length)+e}(Math.round(t),n)}function gv(t,n){return t.length>=7+(n=n||0)&&103==(32|t.charCodeAt(n))&&101==(32|t.charCodeAt(n+1))&&110==(32|t.charCodeAt(n+2))&&101==(32|t.charCodeAt(n+3))&&114==(32|t.charCodeAt(n+4))&&97==(32|t.charCodeAt(n+5))&&108==(32|t.charCodeAt(n+6))}var b3=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],pT=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]],Vt={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"\u4e0a\u5348/\u4e0b\u5348 "hh"\u6642"mm"\u5206"ss"\u79d2 "'},D3={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},fee={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function _v(t,n,e){for(var i=t<0?-1:1,r=t*i,o=0,s=1,a=0,l=1,d=0,f=0,m=Math.floor(r);d<n&&(a=(m=Math.floor(r))*s+o,f=m*d+l,!(r-m<5e-8));)r=1/(r-m),o=s,s=a,l=d,d=f;if(f>n&&(d>n?(f=l,a=o):(f=d,a=s)),!e)return[0,i*a,f];var g=Math.floor(i*a/f);return[g,i*a-g*f,f]}function Lc(t,n,e){if(t>2958465||t<0)return null;var i=0|t,r=Math.floor(86400*(t-i)),o=0,s=[],a={D:i,T:r,u:86400*(t-i)-r,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(a.u)<1e-6&&(a.u=0),n&&n.date1904&&(i+=1462),a.u>.9999&&(a.u=0,86400==++r&&(a.T=r=0,++i,++a.D)),60===i)s=e?[1317,10,29]:[1900,2,29],o=3;else if(0===i)s=e?[1317,8,29]:[1900,1,0],o=6;else{i>60&&--i;var l=new Date(1900,0,1);l.setDate(l.getDate()+i-1),s=[l.getFullYear(),l.getMonth()+1,l.getDate()],o=l.getDay(),i<60&&(o=(o+6)%7),e&&(o=function vee(t,n){n[0]-=581;var e=t.getDay();return t<60&&(e=(e+6)%7),e}(l,s))}return a.y=s[0],a.m=s[1],a.d=s[2],a.S=r%60,r=Math.floor(r/60),a.M=r%60,r=Math.floor(r/60),a.H=r,a.q=o,a}var y3=new Date(1899,11,31,0,0,0),hee=y3.getTime(),pee=new Date(1900,2,1,0,0,0);function M3(t,n){var e=t.getTime();return n?e-=1262304e5:t>=pee&&(e+=864e5),(e-(hee+6e4*(t.getTimezoneOffset()-y3.getTimezoneOffset())))/864e5}function mT(t){return-1==t.indexOf(".")?t:t.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function eu(t,n){switch(typeof t){case"string":return t;case"boolean":return t?"TRUE":"FALSE";case"number":return(0|t)===t?t.toString(10):function dg(t){var e,n=Math.floor(Math.log(Math.abs(t))*Math.LOG10E);return e=n>=-4&&n<=-1?t.toPrecision(10+n):Math.abs(n)<=9?function gee(t){var n=t<0?12:11,e=mT(t.toFixed(12));return e.length<=n||(e=t.toPrecision(10)).length<=n?e:t.toExponential(5)}(t):10===n?t.toFixed(10).substr(0,12):function _ee(t){var n=mT(t.toFixed(11));return n.length>(t<0?12:11)||"0"===n||"-0"===n?t.toPrecision(6):n}(t),mT(function mee(t){return-1==t.indexOf("E")?t:t.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(e.toUpperCase()))}(t);case"undefined":return"";case"object":if(null==t)return"";if(t instanceof Date)return Rs(14,M3(t,n&&n.date1904),n)}throw new Error("unsupported value in General format: "+t)}function bee(t,n,e,i){var l,r="",o=0,s=0,a=e.y,d=0;switch(t){case 98:a=e.y+543;case 121:switch(n.length){case 1:case 2:l=a%100,d=2;break;default:l=a%1e4,d=4}break;case 109:switch(n.length){case 1:case 2:l=e.m,d=n.length;break;case 3:return pT[e.m-1][1];case 5:return pT[e.m-1][0];default:return pT[e.m-1][2]}break;case 100:switch(n.length){case 1:case 2:l=e.d,d=n.length;break;case 3:return b3[e.q][0];default:return b3[e.q][1]}break;case 104:switch(n.length){case 1:case 2:l=1+(e.H+11)%12,d=n.length;break;default:throw"bad hour format: "+n}break;case 72:switch(n.length){case 1:case 2:l=e.H,d=n.length;break;default:throw"bad hour format: "+n}break;case 77:switch(n.length){case 1:case 2:l=e.M,d=n.length;break;default:throw"bad minute format: "+n}break;case 115:if("s"!=n&&"ss"!=n&&".0"!=n&&".00"!=n&&".000"!=n)throw"bad second format: "+n;return 0!==e.u||"s"!=n&&"ss"!=n?(s=i>=2?3===i?1e3:100:1===i?10:1,(o=Math.round(s*(e.S+e.u)))>=60*s&&(o=0),"s"===n?0===o?"0":""+o/s:(r=Fa(o,2+i),"ss"===n?r.substr(0,2):"."+r.substr(2,n.length-1))):Fa(e.S,n.length);case 90:switch(n){case"[h]":case"[hh]":l=24*e.D+e.H;break;case"[m]":case"[mm]":l=60*(24*e.D+e.H)+e.M;break;case"[s]":case"[ss]":l=60*(60*(24*e.D+e.H)+e.M)+Math.round(e.S+e.u);break;default:throw"bad abstime format: "+n}d=3===n.length?1:2;break;case 101:l=a,d=1}return d>0?Fa(l,d):""}function Pc(t){if(t.length<=3)return t;for(var e=t.length%3,i=t.substr(0,e);e!=t.length;e+=3)i+=(i.length>0?",":"")+t.substr(e,3);return i}var C3=/%/g;function x3(t,n){var e,i=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==n)return"0.0E+0";if(n<0)return"-"+x3(t,-n);var r=t.indexOf(".");-1===r&&(r=t.indexOf("E"));var o=Math.floor(Math.log(n)*Math.LOG10E)%r;if(o<0&&(o+=r),-1===(e=(n/Math.pow(10,o)).toPrecision(i+1+(r+o)%r)).indexOf("e")){var s=Math.floor(Math.log(n)*Math.LOG10E);for(-1===e.indexOf(".")?e=e.charAt(0)+"."+e.substr(1)+"E+"+(s-e.length+o):e+="E+"+(s-o);"0."===e.substr(0,2);)e=(e=e.charAt(0)+e.substr(2,r)+"."+e.substr(2+r)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");e=e.replace(/\+-/,"-")}e=e.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(a,l,d,f){return l+d+f.substr(0,(r+o)%r)+"."+f.substr(o)+"E"})}else e=n.toExponential(i);return t.match(/E\+00$/)&&e.match(/e[+-]\d$/)&&(e=e.substr(0,e.length-1)+"0"+e.charAt(e.length-1)),t.match(/E\-/)&&e.match(/e\+/)&&(e=e.replace(/e\+/,"e")),e.replace("e","E")}var T3=/# (\?+)( ?)\/( ?)(\d+)/,w3=/^#*0*\.([0#]+)/,E3=/\).*[0#]/,S3=/\(###\) ###\\?-####/;function Bo(t){for(var e,n="",i=0;i!=t.length;++i)switch(e=t.charCodeAt(i)){case 35:break;case 63:n+=" ";break;case 48:n+="0";break;default:n+=String.fromCharCode(e)}return n}function k3(t,n){var e=Math.pow(10,n);return""+Math.round(t*e)/e}function A3(t,n){var e=t-Math.floor(t),i=Math.pow(10,n);return n<(""+Math.round(e*i)).length?0:Math.round(e*i)}function sa(t,n,e){if(40===t.charCodeAt(0)&&!n.match(E3)){var i=n.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return e>=0?sa("n",i,e):"("+sa("n",i,-e)+")"}if(44===n.charCodeAt(n.length-1))return function yee(t,n,e){for(var i=n.length-1;44===n.charCodeAt(i-1);)--i;return Yl(t,n.substr(0,i),e/Math.pow(10,3*(n.length-i)))}(t,n,e);if(-1!==n.indexOf("%"))return function Dee(t,n,e){var i=n.replace(C3,""),r=n.length-i.length;return Yl(t,i,e*Math.pow(10,2*r))+Wi("%",r)}(t,n,e);if(-1!==n.indexOf("E"))return x3(n,e);if(36===n.charCodeAt(0))return"$"+sa(t,n.substr(" "==n.charAt(1)?2:1),e);var r,o,s,a,l=Math.abs(e),d=e<0?"-":"";if(n.match(/^00+$/))return d+Mh(l,n.length);if(n.match(/^[#?]+$/))return"0"===(r=Mh(e,0))&&(r=""),r.length>n.length?r:Bo(n.substr(0,n.length-r.length))+r;if(o=n.match(T3))return function Mee(t,n,e){var i=parseInt(t[4],10),r=Math.round(n*i),o=Math.floor(r/i),s=r-o*i,a=i;return e+(0===o?"":""+o)+" "+(0===s?Wi(" ",t[1].length+1+t[4].length):hT(s,t[1].length)+t[2]+"/"+t[3]+Fa(a,t[4].length))}(o,l,d);if(n.match(/^#+0+$/))return d+Mh(l,n.length-n.indexOf("0"));if(o=n.match(w3))return r=k3(e,o[1].length).replace(/^([^\.]+)$/,"$1."+Bo(o[1])).replace(/\.$/,"."+Bo(o[1])).replace(/\.(\d*)$/,function(M,y){return"."+y+Wi("0",Bo(o[1]).length-y.length)}),-1!==n.indexOf("0.")?r:r.replace(/^0\./,".");if(n=n.replace(/^#+([0.])/,"$1"),o=n.match(/^(0*)\.(#*)$/))return d+k3(l,o[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=n.match(/^#{1,3},##0(\.?)$/))return d+Pc(Mh(l,0));if(o=n.match(/^#,##0\.([#0]*0)$/))return e<0?"-"+sa(t,n,-e):Pc(""+(Math.floor(e)+function xee(t,n){return n<(""+Math.round((t-Math.floor(t))*Math.pow(10,n))).length?1:0}(e,o[1].length)))+"."+Fa(A3(e,o[1].length),o[1].length);if(o=n.match(/^#,#*,#0/))return sa(t,n.replace(/^#,#*,/,""),e);if(o=n.match(/^([0#]+)(\\?-([0#]+))+$/))return r=yh(sa(t,n.replace(/[\\-]/g,""),e)),s=0,yh(yh(n.replace(/\\/g,"")).replace(/[0#]/g,function(M){return s<r.length?r.charAt(s++):"0"===M?"0":""}));if(n.match(S3))return"("+(r=sa(t,"##########",e)).substr(0,3)+") "+r.substr(3,3)+"-"+r.substr(6);var f="";if(o=n.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(o[4].length,7),a=_v(l,Math.pow(10,s)-1,!1),r=""+d," "==(f=Yl("n",o[1],a[1])).charAt(f.length-1)&&(f=f.substr(0,f.length-1)+"0"),r+=f+o[2]+"/"+o[3],(f=mv(a[2],s)).length<o[4].length&&(f=Bo(o[4].substr(o[4].length-f.length))+f),r+=f;if(o=n.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(Math.max(o[1].length,o[4].length),7),d+((a=_v(l,Math.pow(10,s)-1,!0))[0]||(a[1]?"":"0"))+" "+(a[1]?hT(a[1],s)+o[2]+"/"+o[3]+mv(a[2],s):Wi(" ",2*s+1+o[2].length+o[3].length));if(o=n.match(/^[#0?]+$/))return r=Mh(e,0),n.length<=r.length?r:Bo(n.substr(0,n.length-r.length))+r;if(o=n.match(/^([#0?]+)\.([#0]+)$/)){r=""+e.toFixed(Math.min(o[2].length,10)).replace(/([^0])0+$/,"$1"),s=r.indexOf(".");var m=n.indexOf(".")-s,g=n.length-r.length-m;return Bo(n.substr(0,m)+r+n.substr(n.length-g))}if(o=n.match(/^00,000\.([#0]*0)$/))return s=A3(e,o[1].length),e<0?"-"+sa(t,n,-e):Pc(function Tee(t){return t<2147483647&&t>-2147483648?""+(t>=0?0|t:t-1|0):""+Math.floor(t)}(e)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(M){return"00,"+(M.length<3?Fa(0,3-M.length):"")+M})+"."+Fa(s,o[1].length);switch(n){case"###,##0.00":return sa(t,"#,##0.00",e);case"###,###":case"##,###":case"#,###":var b=Pc(Mh(l,0));return"0"!==b?d+b:"";case"###,###.00":return sa(t,"###,##0.00",e).replace(/^0\./,".");case"#,###.00":return sa(t,"#,##0.00",e).replace(/^0\./,".")}throw new Error("unsupported format |"+n+"|")}function R3(t,n){var e,i=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==n)return"0.0E+0";if(n<0)return"-"+R3(t,-n);var r=t.indexOf(".");-1===r&&(r=t.indexOf("E"));var o=Math.floor(Math.log(n)*Math.LOG10E)%r;if(o<0&&(o+=r),!(e=(n/Math.pow(10,o)).toPrecision(i+1+(r+o)%r)).match(/[Ee]/)){var s=Math.floor(Math.log(n)*Math.LOG10E);-1===e.indexOf(".")?e=e.charAt(0)+"."+e.substr(1)+"E+"+(s-e.length+o):e+="E+"+(s-o),e=e.replace(/\+-/,"-")}e=e.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(a,l,d,f){return l+d+f.substr(0,(r+o)%r)+"."+f.substr(o)+"E"})}else e=n.toExponential(i);return t.match(/E\+00$/)&&e.match(/e[+-]\d$/)&&(e=e.substr(0,e.length-1)+"0"+e.charAt(e.length-1)),t.match(/E\-/)&&e.match(/e\+/)&&(e=e.replace(/e\+/,"e")),e.replace("e","E")}function il(t,n,e){if(40===t.charCodeAt(0)&&!n.match(E3)){var i=n.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return e>=0?il("n",i,e):"("+il("n",i,-e)+")"}if(44===n.charCodeAt(n.length-1))return function wee(t,n,e){for(var i=n.length-1;44===n.charCodeAt(i-1);)--i;return Yl(t,n.substr(0,i),e/Math.pow(10,3*(n.length-i)))}(t,n,e);if(-1!==n.indexOf("%"))return function Eee(t,n,e){var i=n.replace(C3,""),r=n.length-i.length;return Yl(t,i,e*Math.pow(10,2*r))+Wi("%",r)}(t,n,e);if(-1!==n.indexOf("E"))return R3(n,e);if(36===n.charCodeAt(0))return"$"+il(t,n.substr(" "==n.charAt(1)?2:1),e);var r,o,s,a,l=Math.abs(e),d=e<0?"-":"";if(n.match(/^00+$/))return d+Fa(l,n.length);if(n.match(/^[#?]+$/))return r=""+e,0===e&&(r=""),r.length>n.length?r:Bo(n.substr(0,n.length-r.length))+r;if(o=n.match(T3))return function Cee(t,n,e){return e+(0===n?"":""+n)+Wi(" ",t[1].length+2+t[4].length)}(o,l,d);if(n.match(/^#+0+$/))return d+Fa(l,n.length-n.indexOf("0"));if(o=n.match(w3))return r=(r=(""+e).replace(/^([^\.]+)$/,"$1."+Bo(o[1])).replace(/\.$/,"."+Bo(o[1]))).replace(/\.(\d*)$/,function(M,y){return"."+y+Wi("0",Bo(o[1]).length-y.length)}),-1!==n.indexOf("0.")?r:r.replace(/^0\./,".");if(n=n.replace(/^#+([0.])/,"$1"),o=n.match(/^(0*)\.(#*)$/))return d+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=n.match(/^#{1,3},##0(\.?)$/))return d+Pc(""+l);if(o=n.match(/^#,##0\.([#0]*0)$/))return e<0?"-"+il(t,n,-e):Pc(""+e)+"."+Wi("0",o[1].length);if(o=n.match(/^#,#*,#0/))return il(t,n.replace(/^#,#*,/,""),e);if(o=n.match(/^([0#]+)(\\?-([0#]+))+$/))return r=yh(il(t,n.replace(/[\\-]/g,""),e)),s=0,yh(yh(n.replace(/\\/g,"")).replace(/[0#]/g,function(M){return s<r.length?r.charAt(s++):"0"===M?"0":""}));if(n.match(S3))return"("+(r=il(t,"##########",e)).substr(0,3)+") "+r.substr(3,3)+"-"+r.substr(6);var f="";if(o=n.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(o[4].length,7),a=_v(l,Math.pow(10,s)-1,!1),r=""+d," "==(f=Yl("n",o[1],a[1])).charAt(f.length-1)&&(f=f.substr(0,f.length-1)+"0"),r+=f+o[2]+"/"+o[3],(f=mv(a[2],s)).length<o[4].length&&(f=Bo(o[4].substr(o[4].length-f.length))+f),r+=f;if(o=n.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(Math.max(o[1].length,o[4].length),7),d+((a=_v(l,Math.pow(10,s)-1,!0))[0]||(a[1]?"":"0"))+" "+(a[1]?hT(a[1],s)+o[2]+"/"+o[3]+mv(a[2],s):Wi(" ",2*s+1+o[2].length+o[3].length));if(o=n.match(/^[#0?]+$/))return n.length<=(r=""+e).length?r:Bo(n.substr(0,n.length-r.length))+r;if(o=n.match(/^([#0]+)\.([#0]+)$/)){r=""+e.toFixed(Math.min(o[2].length,10)).replace(/([^0])0+$/,"$1"),s=r.indexOf(".");var m=n.indexOf(".")-s,g=n.length-r.length-m;return Bo(n.substr(0,m)+r+n.substr(n.length-g))}if(o=n.match(/^00,000\.([#0]*0)$/))return e<0?"-"+il(t,n,-e):Pc(""+e).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(M){return"00,"+(M.length<3?Fa(0,3-M.length):"")+M})+"."+Fa(0,o[1].length);switch(n){case"###,###":case"##,###":case"#,###":var b=Pc(""+l);return"0"!==b?d+b:"";default:if(n.match(/\.[0#?]*$/))return il(t,n.slice(0,n.lastIndexOf(".")),e)+Bo(n.slice(n.lastIndexOf(".")))}throw new Error("unsupported format |"+n+"|")}function Yl(t,n,e){return(0|e)===e?il(t,n,e):sa(t,n,e)}var F3=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function Ch(t){for(var n=0,e="",i="";n<t.length;)switch(e=t.charAt(n)){case"G":gv(t,n)&&(n+=6),n++;break;case'"':for(;34!==t.charCodeAt(++n)&&n<t.length;);++n;break;case"\\":case"_":n+=2;break;case"@":++n;break;case"B":case"b":if("1"===t.charAt(n+1)||"2"===t.charAt(n+1))return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"\u4e0a":if("A/P"===t.substr(n,3).toUpperCase()||"AM/PM"===t.substr(n,5).toUpperCase()||"\u4e0a\u5348/\u4e0b\u5348"===t.substr(n,5).toUpperCase())return!0;++n;break;case"[":for(i=e;"]"!==t.charAt(n++)&&n<t.length;)i+=t.charAt(n);if(i.match(F3))return!0;break;case".":case"0":case"#":for(;n<t.length&&("0#?.,E+-%".indexOf(e=t.charAt(++n))>-1||"\\"==e&&"-"==t.charAt(n+1)&&"0#".indexOf(t.charAt(n+2))>-1););break;case"?":for(;t.charAt(++n)===e;);break;case"*":++n,(" "==t.charAt(n)||"*"==t.charAt(n))&&++n;break;case"(":case")":++n;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;n<t.length&&"0123456789".indexOf(t.charAt(++n))>-1;);break;default:++n}return!1}var N3=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function O3(t,n){if(null==n)return!1;var e=parseFloat(n[2]);switch(n[1]){case"=":if(t==e)return!0;break;case">":if(t>e)return!0;break;case"<":if(t<e)return!0;break;case"<>":if(t!=e)return!0;break;case">=":if(t>=e)return!0;break;case"<=":if(t<=e)return!0}return!1}function Rs(t,n,e){null==e&&(e={});var i="";switch(typeof t){case"string":i="m/d/yy"==t&&e.dateNF?e.dateNF:t;break;case"number":null==(i=14==t&&e.dateNF?e.dateNF:(null!=e.table?e.table:Vt)[t])&&(i=e.table&&e.table[D3[t]]||Vt[D3[t]]),null==i&&(i=fee[t]||"General")}if(gv(i,0))return eu(n,e);n instanceof Date&&(n=M3(n,e.date1904));var r=function Aee(t,n){var e=function See(t){for(var n=[],e=!1,i=0,r=0;i<t.length;++i)switch(t.charCodeAt(i)){case 34:e=!e;break;case 95:case 42:case 92:++i;break;case 59:n[n.length]=t.substr(r,i-r),r=i+1}if(n[n.length]=t.substr(r),!0===e)throw new Error("Format |"+t+"| unterminated string ");return n}(t),i=e.length,r=e[i-1].indexOf("@");if(i<4&&r>-1&&--i,e.length>4)throw new Error("cannot find right format for |"+e.join("|")+"|");if("number"!=typeof n)return[4,4===e.length||r>-1?e[e.length-1]:"@"];switch(e.length){case 1:e=r>-1?["General","General","General",e[0]]:[e[0],e[0],e[0],"@"];break;case 2:e=r>-1?[e[0],e[0],e[0],e[1]]:[e[0],e[1],e[0],"@"];break;case 3:e=r>-1?[e[0],e[1],e[0],e[2]]:[e[0],e[1],e[2],"@"]}var o=n>0?e[0]:n<0?e[1]:e[2];if(-1===e[0].indexOf("[")&&-1===e[1].indexOf("["))return[i,o];if(null!=e[0].match(/\[[=<>]/)||null!=e[1].match(/\[[=<>]/)){var s=e[0].match(N3),a=e[1].match(N3);return O3(n,s)?[i,e[0]]:O3(n,a)?[i,e[1]]:[i,e[null!=s&&null!=a?2:1]]}return[i,o]}(i,n);if(gv(r[1]))return eu(n,e);if(!0===n)n="TRUE";else if(!1===n)n="FALSE";else if(""===n||null==n)return"";return function kee(t,n,e,i){for(var d,f,m,r=[],o="",s=0,a="",l="t",g="H";s<t.length;)switch(a=t.charAt(s)){case"G":if(!gv(t,s))throw new Error("unrecognized character "+a+" in "+t);r[r.length]={t:"G",v:"General"},s+=7;break;case'"':for(o="";34!==(m=t.charCodeAt(++s))&&s<t.length;)o+=String.fromCharCode(m);r[r.length]={t:"t",v:o},++s;break;case"\\":var b=t.charAt(++s);r[r.length]={t:"("===b||")"===b?b:"t",v:b},++s;break;case"_":r[r.length]={t:"t",v:" "},s+=2;break;case"@":r[r.length]={t:"T",v:n},++s;break;case"B":case"b":if("1"===t.charAt(s+1)||"2"===t.charAt(s+1)){if(null==d&&null==(d=Lc(n,e,"2"===t.charAt(s+1))))return"";r[r.length]={t:"X",v:t.substr(s,2)},l=a,s+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":a=a.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(n<0||null==d&&null==(d=Lc(n,e)))return"";for(o=a;++s<t.length&&t.charAt(s).toLowerCase()===a;)o+=a;"m"===a&&"h"===l.toLowerCase()&&(a="M"),"h"===a&&(a=g),r[r.length]={t:a,v:o},l=a;break;case"A":case"a":case"\u4e0a":var y={t:a,v:a};if(null==d&&(d=Lc(n,e)),"A/P"===t.substr(s,3).toUpperCase()?(null!=d&&(y.v=d.H>=12?"P":"A"),y.t="T",g="h",s+=3):"AM/PM"===t.substr(s,5).toUpperCase()?(null!=d&&(y.v=d.H>=12?"PM":"AM"),y.t="T",s+=5,g="h"):"\u4e0a\u5348/\u4e0b\u5348"===t.substr(s,5).toUpperCase()?(null!=d&&(y.v=d.H>=12?"\u4e0b\u5348":"\u4e0a\u5348"),y.t="T",s+=5,g="h"):(y.t="t",++s),null==d&&"T"===y.t)return"";r[r.length]=y,l=a;break;case"[":for(o=a;"]"!==t.charAt(s++)&&s<t.length;)o+=t.charAt(s);if("]"!==o.slice(-1))throw'unterminated "[" block: |'+o+"|";if(o.match(F3)){if(null==d&&null==(d=Lc(n,e)))return"";r[r.length]={t:"Z",v:o.toLowerCase()},l=o.charAt(1)}else o.indexOf("$")>-1&&(o=(o.match(/\$([^-\[\]]*)/)||[])[1]||"$",Ch(t)||(r[r.length]={t:"t",v:o}));break;case".":if(null!=d){for(o=a;++s<t.length&&"0"===(a=t.charAt(s));)o+=a;r[r.length]={t:"s",v:o};break}case"0":case"#":for(o=a;++s<t.length&&"0#?.,E+-%".indexOf(a=t.charAt(s))>-1;)o+=a;r[r.length]={t:"n",v:o};break;case"?":for(o=a;t.charAt(++s)===a;)o+=a;r[r.length]={t:a,v:o},l=a;break;case"*":++s,(" "==t.charAt(s)||"*"==t.charAt(s))&&++s;break;case"(":case")":r[r.length]={t:1===i?"t":a,v:a},++s;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(o=a;s<t.length&&"0123456789".indexOf(t.charAt(++s))>-1;)o+=t.charAt(s);r[r.length]={t:"D",v:o};break;case" ":r[r.length]={t:a,v:a},++s;break;case"$":r[r.length]={t:"t",v:"$"},++s;break;default:if(-1===",$-+/():!^&'~{}<>=\u20acacfijklopqrtuvwxzP".indexOf(a))throw new Error("unrecognized character "+a+" in "+t);r[r.length]={t:"t",v:a},++s}var O,T=0,k=0;for(s=r.length-1,l="t";s>=0;--s)switch(r[s].t){case"h":case"H":r[s].t=g,l="h",T<1&&(T=1);break;case"s":(O=r[s].v.match(/\.0+$/))&&(k=Math.max(k,O[0].length-1)),T<3&&(T=3);case"d":case"y":case"M":case"e":l=r[s].t;break;case"m":"s"===l&&(r[s].t="M",T<2&&(T=2));break;case"X":break;case"Z":T<1&&r[s].v.match(/[Hh]/)&&(T=1),T<2&&r[s].v.match(/[Mm]/)&&(T=2),T<3&&r[s].v.match(/[Ss]/)&&(T=3)}switch(T){case 0:break;case 1:d.u>=.5&&(d.u=0,++d.S),d.S>=60&&(d.S=0,++d.M),d.M>=60&&(d.M=0,++d.H);break;case 2:d.u>=.5&&(d.u=0,++d.S),d.S>=60&&(d.S=0,++d.M)}var H,N="";for(s=0;s<r.length;++s)switch(r[s].t){case"t":case"T":case" ":case"D":break;case"X":r[s].v="",r[s].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":r[s].v=bee(r[s].t.charCodeAt(0),r[s].v,d,k),r[s].t="t";break;case"n":case"?":for(H=s+1;null!=r[H]&&("?"===(a=r[H].t)||"D"===a||(" "===a||"t"===a)&&null!=r[H+1]&&("?"===r[H+1].t||"t"===r[H+1].t&&"/"===r[H+1].v)||"("===r[s].t&&(" "===a||"n"===a||")"===a)||"t"===a&&("/"===r[H].v||" "===r[H].v&&null!=r[H+1]&&"?"==r[H+1].t));)r[s].v+=r[H].v,r[H]={v:"",t:";"},++H;N+=r[s].v,s=H-1;break;case"G":r[s].t="t",r[s].v=eu(n,e)}var Q,W,U="";if(N.length>0){40==N.charCodeAt(0)?(Q=n<0&&45===N.charCodeAt(0)?-n:n,W=Yl("n",N,Q)):(W=Yl("n",N,Q=n<0&&i>1?-n:n),Q<0&&r[0]&&"t"==r[0].t&&(W=W.substr(1),r[0].v="-"+r[0].v)),H=W.length-1;var J=r.length;for(s=0;s<r.length;++s)if(null!=r[s]&&"t"!=r[s].t&&r[s].v.indexOf(".")>-1){J=s;break}var ne=r.length;if(J===r.length&&-1===W.indexOf("E")){for(s=r.length-1;s>=0;--s)null==r[s]||-1==="n?".indexOf(r[s].t)||(H>=r[s].v.length-1?r[s].v=W.substr(1+(H-=r[s].v.length),r[s].v.length):H<0?r[s].v="":(r[s].v=W.substr(0,H+1),H=-1),r[s].t="t",ne=s);H>=0&&ne<r.length&&(r[ne].v=W.substr(0,H+1)+r[ne].v)}else if(J!==r.length&&-1===W.indexOf("E")){for(H=W.indexOf(".")-1,s=J;s>=0;--s)if(null!=r[s]&&-1!=="n?".indexOf(r[s].t)){for(f=r[s].v.indexOf(".")>-1&&s===J?r[s].v.indexOf(".")-1:r[s].v.length-1,U=r[s].v.substr(f+1);f>=0;--f)H>=0&&("0"===r[s].v.charAt(f)||"#"===r[s].v.charAt(f))&&(U=W.charAt(H--)+U);r[s].v=U,r[s].t="t",ne=s}for(H>=0&&ne<r.length&&(r[ne].v=W.substr(0,H+1)+r[ne].v),H=W.indexOf(".")+1,s=J;s<r.length;++s)if(null!=r[s]&&(-1!=="n?(".indexOf(r[s].t)||s===J)){for(f=r[s].v.indexOf(".")>-1&&s===J?r[s].v.indexOf(".")+1:0,U=r[s].v.substr(0,f);f<r[s].v.length;++f)H<W.length&&(U+=W.charAt(H++));r[s].v=U,r[s].t="t",ne=s}}}for(s=0;s<r.length;++s)null!=r[s]&&"n?".indexOf(r[s].t)>-1&&(r[s].v=Yl(r[s].t,r[s].v,Q=i>1&&n<0&&s>0&&"-"===r[s-1].v?-n:n),r[s].t="t");var he="";for(s=0;s!==r.length;++s)null!=r[s]&&(he+=r[s].v);return he}(r[1],n,e,r[0])}function rl(t,n){if("number"!=typeof n){n=+n||-1;for(var e=0;e<392;++e)if(null!=Vt[e]){if(Vt[e]==t){n=e;break}}else n<0&&(n=e);n<0&&(n=391)}return Vt[n]=t,n}function ug(t){for(var n=0;392!=n;++n)void 0!==t[n]&&rl(t[n],n)}function xh(){Vt=function uee(t){return t||(t={}),t[0]="General",t[1]="0",t[2]="0.00",t[3]="#,##0",t[4]="#,##0.00",t[9]="0%",t[10]="0.00%",t[11]="0.00E+00",t[12]="# ?/?",t[13]="# ??/??",t[14]="m/d/yy",t[15]="d-mmm-yy",t[16]="d-mmm",t[17]="mmm-yy",t[18]="h:mm AM/PM",t[19]="h:mm:ss AM/PM",t[20]="h:mm",t[21]="h:mm:ss",t[22]="m/d/yy h:mm",t[37]="#,##0 ;(#,##0)",t[38]="#,##0 ;[Red](#,##0)",t[39]="#,##0.00;(#,##0.00)",t[40]="#,##0.00;[Red](#,##0.00)",t[45]="mm:ss",t[46]="[h]:mm:ss",t[47]="mmss.0",t[48]="##0.0E+0",t[49]="@",t[56]='"\u4e0a\u5348/\u4e0b\u5348 "hh"\u6642"mm"\u5206"ss"\u79d2 "',t}()}var I3=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g,Iee=function(){var t={version:"1.2.0"},e=function n(){for(var W=0,J=new Array(256),ne=0;256!=ne;++ne)J[ne]=W=1&(W=1&(W=1&(W=1&(W=1&(W=1&(W=1&(W=1&(W=ne)?-306674912^W>>>1:W>>>1)?-306674912^W>>>1:W>>>1)?-306674912^W>>>1:W>>>1)?-306674912^W>>>1:W>>>1)?-306674912^W>>>1:W>>>1)?-306674912^W>>>1:W>>>1)?-306674912^W>>>1:W>>>1)?-306674912^W>>>1:W>>>1;return typeof Int32Array<"u"?new Int32Array(J):J}(),r=function i(W){var J=0,ne=0,he=0,pe=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(he=0;256!=he;++he)pe[he]=W[he];for(he=0;256!=he;++he)for(ne=W[he],J=256+he;J<4096;J+=256)ne=pe[J]=ne>>>8^W[255&ne];var ue=[];for(he=1;16!=he;++he)ue[he-1]=typeof Int32Array<"u"?pe.subarray(256*he,256*he+256):pe.slice(256*he,256*he+256);return ue}(e),o=r[0],s=r[1],a=r[2],l=r[3],d=r[4],f=r[5],m=r[6],g=r[7],b=r[8],M=r[9],y=r[10],T=r[11],k=r[12],O=r[13],N=r[14];return t.table=e,t.bstr=function H(W,J){for(var ne=-1^J,he=0,pe=W.length;he<pe;)ne=ne>>>8^e[255&(ne^W.charCodeAt(he++))];return~ne},t.buf=function U(W,J){for(var ne=-1^J,he=W.length-15,pe=0;pe<he;)ne=N[W[pe++]^255&ne]^O[W[pe++]^ne>>8&255]^k[W[pe++]^ne>>16&255]^T[W[pe++]^ne>>>24]^y[W[pe++]]^M[W[pe++]]^b[W[pe++]]^g[W[pe++]]^m[W[pe++]]^f[W[pe++]]^d[W[pe++]]^l[W[pe++]]^a[W[pe++]]^s[W[pe++]]^o[W[pe++]]^e[W[pe++]];for(he+=15;pe<he;)ne=ne>>>8^e[255&(ne^W[pe++])];return~ne},t.str=function Q(W,J){for(var ne=-1^J,he=0,pe=W.length,ue=0,Ie=0;he<pe;)(ue=W.charCodeAt(he++))<128?ne=ne>>>8^e[255&(ne^ue)]:ue<2048?ne=(ne=ne>>>8^e[255&(ne^(192|ue>>6&31))])>>>8^e[255&(ne^(128|63&ue))]:ue>=55296&&ue<57344?(ue=64+(1023&ue),Ie=1023&W.charCodeAt(he++),ne=(ne=(ne=(ne=ne>>>8^e[255&(ne^(240|ue>>8&7))])>>>8^e[255&(ne^(128|ue>>2&63))])>>>8^e[255&(ne^(128|Ie>>6&15|(3&ue)<<4))])>>>8^e[255&(ne^(128|63&Ie))]):ne=(ne=(ne=ne>>>8^e[255&(ne^(224|ue>>12&15))])>>>8^e[255&(ne^(128|ue>>6&63))])>>>8^e[255&(ne^(128|63&ue))];return~ne},t}(),Ft=function(){var l,n={};function i(Y){if("/"==Y.charAt(Y.length-1))return-1===Y.slice(0,-1).indexOf("/")?Y:i(Y.slice(0,-1));var ie=Y.lastIndexOf("/");return-1===ie?Y:Y.slice(0,ie+1)}function r(Y){if("/"==Y.charAt(Y.length-1))return r(Y.slice(0,-1));var ie=Y.lastIndexOf("/");return-1===ie?Y:Y.slice(ie+1)}function o(Y,ie){"string"==typeof ie&&(ie=new Date(ie));var Z=ie.getHours();Z=(Z=Z<<6|ie.getMinutes())<<5|ie.getSeconds()>>>1,Y.write_shift(2,Z);var K=ie.getFullYear()-1980;K=(K=K<<4|ie.getMonth()+1)<<5|ie.getDate(),Y.write_shift(2,K)}function a(Y){Kr(Y,0);for(var ie={},Z=0;Y.l<=Y.length-4;){var K=Y.read_shift(2),re=Y.read_shift(2),oe=Y.l+re,De={};21589===K&&(1&(Z=Y.read_shift(1))&&(De.mtime=Y.read_shift(4)),re>5&&(2&Z&&(De.atime=Y.read_shift(4)),4&Z&&(De.ctime=Y.read_shift(4))),De.mtime&&(De.mt=new Date(1e3*De.mtime))),Y.l=oe,ie[K]=De}return ie}function d(){return l||(l={})}function f(Y,ie){if(80==Y[0]&&75==Y[1])return E9(Y,ie);if(109==(32|Y[0])&&105==(32|Y[1]))return function H9e(Y,ie){if("mime-version:"!=Ae(Y.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var Z=ie&&ie.root||"",K=(gn&&Buffer.isBuffer(Y)?Y.toString("binary"):Ae(Y)).split("\r\n"),re=0,oe="";for(re=0;re<K.length;++re)if(/^Content-Location:/i.test(oe=K[re])&&(oe=oe.slice(oe.indexOf("file")),Z||(Z=oe.slice(0,oe.lastIndexOf("/")+1)),oe.slice(0,Z.length)!=Z))for(;Z.length>0&&(Z=(Z=Z.slice(0,Z.length-1)).slice(0,Z.lastIndexOf("/")+1),oe.slice(0,Z.length)!=Z););var De=(K[1]||"").match(/boundary="(.*?)"/);if(!De)throw new Error("MAD cannot find boundary");var Ne="--"+(De[1]||""),Te={FileIndex:[],FullPaths:[]};W(Te);var Je,tt=0;for(re=0;re<K.length;++re){var Dt=K[re];Dt!==Ne&&Dt!==Ne+"--"||(tt++&&V9e(Te,K.slice(Je,re),Z),Je=re)}return Te}(Y,ie);if(Y.length<512)throw new Error("CFB file size "+Y.length+" < 512");var Z,re,oe,De,Ne,xe,K=512,ye=[],Te=Y.slice(0,512);Kr(Te,0);var Je=function m(Y){if(80==Y[Y.l]&&75==Y[Y.l+1])return[0,0];Y.chk(Qe,"Header Signature: "),Y.l+=16;var ie=Y.read_shift(2,"u");return[Y.read_shift(2,"u"),ie]}(Te);switch(Z=Je[0]){case 3:K=512;break;case 4:K=4096;break;case 0:if(0==Je[1])return E9(Y,ie);default:throw new Error("Major Version: Expected 3 or 4 saw "+Z)}512!==K&&Kr(Te=Y.slice(0,K),28);var tt=Y.slice(0,K);!function g(Y,ie){var Z;switch(Y.l+=2,Z=Y.read_shift(2)){case 9:if(3!=ie)throw new Error("Sector Shift: Expected 9 saw "+Z);break;case 12:if(4!=ie)throw new Error("Sector Shift: Expected 12 saw "+Z);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+Z)}Y.chk("0600","Mini Sector Shift: "),Y.chk("000000000000","Reserved: ")}(Te,Z);var Dt=Te.read_shift(4,"i");if(3===Z&&0!==Dt)throw new Error("# Directory Sectors: Expected 0 saw "+Dt);Te.l+=4,De=Te.read_shift(4,"i"),Te.l+=4,Te.chk("00100000","Mini Stream Cutoff Size: "),Ne=Te.read_shift(4,"i"),re=Te.read_shift(4,"i"),xe=Te.read_shift(4,"i"),oe=Te.read_shift(4,"i");for(var nt=-1,ot=0;ot<109&&!((nt=Te.read_shift(4,"i"))<0);++ot)ye[ot]=nt;var en=function b(Y,ie){for(var Z=Math.ceil(Y.length/ie)-1,K=[],re=1;re<Z;++re)K[re-1]=Y.slice(re*ie,(re+1)*ie);return K[Z-1]=Y.slice(Z*ie),K}(Y,K);T(xe,oe,en,K,ye);var Mi=function O(Y,ie,Z,K){var re=Y.length,oe=[],De=[],Ne=[],xe=[],ye=K-1,Te=0,Je=0,tt=0,Dt=0;for(Te=0;Te<re;++Te)if(Ne=[],(tt=Te+ie)>=re&&(tt-=re),!De[tt]){xe=[];var nt=[];for(Je=tt;Je>=0;){nt[Je]=!0,De[Je]=!0,Ne[Ne.length]=Je,xe.push(Y[Je]);var ot=Z[Math.floor(4*Je/K)];if(K<4+(Dt=4*Je&ye))throw new Error("FAT boundary crossed: "+Je+" 4 "+K);if(!Y[ot]||nt[Je=nu(Y[ot],Dt)])break}oe[tt]={nodes:Ne,data:iL([xe])}}return oe}(en,De,ye,K);Mi[De].name="!Directory",re>0&&Ne!==Ie&&(Mi[Ne].name="!MiniFAT"),Mi[ye[0]].name="!FAT",Mi.fat_addrs=ye,Mi.ssz=K;var vr=[],Hs=[],W_=[];(function N(Y,ie,Z,K,re,oe,De,Ne){for(var Dt,xe=0,ye=K.length?2:0,Te=ie[Y].data,Je=0,tt=0;Je<Te.length;Je+=128){var nt=Te.slice(Je,Je+128);Kr(nt,64),tt=nt.read_shift(2),Dt=Mv(nt,0,tt-ye),K.push(Dt);var ot={name:Dt,type:nt.read_shift(1),color:nt.read_shift(1),L:nt.read_shift(4,"i"),R:nt.read_shift(4,"i"),C:nt.read_shift(4,"i"),clsid:nt.read_shift(16),state:nt.read_shift(4,"i"),start:0,size:0};0!==nt.read_shift(2)+nt.read_shift(2)+nt.read_shift(2)+nt.read_shift(2)&&(ot.ct=H(nt,nt.l-8)),0!==nt.read_shift(2)+nt.read_shift(2)+nt.read_shift(2)+nt.read_shift(2)&&(ot.mt=H(nt,nt.l-8)),ot.start=nt.read_shift(4,"i"),ot.size=nt.read_shift(4,"i"),ot.size<0&&ot.start<0&&(ot.size=ot.type=0,ot.start=Ie,ot.name=""),5===ot.type?(xe=ot.start,re>0&&xe!==Ie&&(ie[xe].name="!StreamData")):ot.size>=4096?(ot.storage="fat",void 0===ie[ot.start]&&(ie[ot.start]=k(Z,ot.start,ie.fat_addrs,ie.ssz)),ie[ot.start].name=ot.name,ot.content=ie[ot.start].data.slice(0,ot.size)):(ot.storage="minifat",ot.size<0?ot.size=0:xe!==Ie&&ot.start!==Ie&&ie[xe]&&(ot.content=y(ot,ie[xe].data,(ie[Ne]||{}).data))),ot.content&&Kr(ot.content,0),oe[Dt]=ot,De.push(ot)}})(De,Mi,en,vr,re,{},Hs,Ne),function M(Y,ie,Z){for(var K=0,re=0,oe=0,De=0,Ne=0,xe=Z.length,ye=[],Te=[];K<xe;++K)ye[K]=Te[K]=K,ie[K]=Z[K];for(;Ne<Te.length;++Ne)re=Y[K=Te[Ne]].L,oe=Y[K].R,De=Y[K].C,ye[K]===K&&(-1!==re&&ye[re]!==re&&(ye[K]=ye[re]),-1!==oe&&ye[oe]!==oe&&(ye[K]=ye[oe])),-1!==De&&(ye[De]=K),-1!==re&&K!=ye[K]&&(ye[re]=ye[K],Te.lastIndexOf(re)<Ne&&Te.push(re)),-1!==oe&&K!=ye[K]&&(ye[oe]=ye[K],Te.lastIndexOf(oe)<Ne&&Te.push(oe));for(K=1;K<xe;++K)ye[K]===K&&(-1!==oe&&ye[oe]!==oe?ye[K]=ye[oe]:-1!==re&&ye[re]!==re&&(ye[K]=ye[re]));for(K=1;K<xe;++K)if(0!==Y[K].type){if((Ne=K)!=ye[Ne])do{ie[K]=ie[Ne=ye[Ne]]+"/"+ie[K]}while(0!==Ne&&-1!==ye[Ne]&&Ne!=ye[Ne]);ye[K]=-1}for(ie[0]+="/",K=1;K<xe;++K)2!==Y[K].type&&(ie[K]+="/")}(Hs,W_,vr),vr.shift();var z_={FileIndex:Hs,FullPaths:W_};return ie&&ie.raw&&(z_.raw={header:tt,sectors:en}),z_}function y(Y,ie,Z){for(var re=Y.size,oe=[],De=Y.start;Z&&re>0&&De>=0;)oe.push(ie.slice(De*ue,De*ue+ue)),re-=ue,De=nu(Z,4*De);return 0===oe.length?Fe(0):Or(oe).slice(0,Y.size)}function T(Y,ie,Z,K,re){var oe=Ie;if(Y===Ie){if(0!==ie)throw new Error("DIFAT chain shorter than expected")}else if(-1!==Y){var De=Z[Y],Ne=(K>>>2)-1;if(!De)return;for(var xe=0;xe<Ne&&(oe=nu(De,4*xe))!==Ie;++xe)re.push(oe);T(nu(De,K-4),ie-1,Z,K,re)}}function k(Y,ie,Z,K,re){var oe=[],De=[];re||(re=[]);var Ne=K-1,xe=0,ye=0;for(xe=ie;xe>=0;){re[xe]=!0,oe[oe.length]=xe,De.push(Y[xe]);var Te=Z[Math.floor(4*xe/K)];if(K<4+(ye=4*xe&Ne))throw new Error("FAT boundary crossed: "+xe+" 4 "+K);if(!Y[Te])break;xe=nu(Y[Te],ye)}return{nodes:oe,data:iL([De])}}function H(Y,ie){return new Date(1e3*(Lr(Y,ie+4)/1e7*Math.pow(2,32)+Lr(Y,ie)/1e7-11644473600))}function W(Y,ie){var Z=ie||{},K=Z.root||"Root Entry";if(Y.FullPaths||(Y.FullPaths=[]),Y.FileIndex||(Y.FileIndex=[]),Y.FullPaths.length!==Y.FileIndex.length)throw new Error("inconsistent CFB structure");0===Y.FullPaths.length&&(Y.FullPaths[0]=K+"/",Y.FileIndex[0]={name:K,type:5}),Z.CLSID&&(Y.FileIndex[0].clsid=Z.CLSID),function J(Y){var ie="\x01Sh33tJ5";if(!Ft.find(Y,"/"+ie)){var Z=Fe(4);Z[0]=55,Z[1]=Z[3]=50,Z[2]=54,Y.FileIndex.push({name:ie,type:2,content:Z,size:4,L:69,R:69,C:69}),Y.FullPaths.push(Y.FullPaths[0]+ie),ne(Y)}}(Y)}function ne(Y,ie){W(Y);for(var Z=!1,K=!1,re=Y.FullPaths.length-1;re>=0;--re){var oe=Y.FileIndex[re];switch(oe.type){case 0:K?Z=!0:(Y.FileIndex.pop(),Y.FullPaths.pop());break;case 1:case 2:case 5:K=!0,isNaN(oe.R*oe.L*oe.C)&&(Z=!0),oe.R>-1&&oe.L>-1&&oe.R==oe.L&&(Z=!0);break;default:Z=!0}}if(Z||ie){var De=new Date(1987,1,19),Ne=0,xe=Object.create?Object.create(null):{},ye=[];for(re=0;re<Y.FullPaths.length;++re)xe[Y.FullPaths[re]]=!0,0!==Y.FileIndex[re].type&&ye.push([Y.FullPaths[re],Y.FileIndex[re]]);for(re=0;re<ye.length;++re){var Te=i(ye[re][0]);(K=xe[Te])||(ye.push([Te,{name:r(Te).replace("/",""),type:1,clsid:be,ct:De,mt:De,content:null}]),xe[Te]=!0)}for(ye.sort(function(Dt,nt){return function e(Y,ie){for(var Z=Y.split("/"),K=ie.split("/"),re=0,oe=0,De=Math.min(Z.length,K.length);re<De;++re){if(oe=Z[re].length-K[re].length)return oe;if(Z[re]!=K[re])return Z[re]<K[re]?-1:1}return Z.length-K.length}(Dt[0],nt[0])}),Y.FullPaths=[],Y.FileIndex=[],re=0;re<ye.length;++re)Y.FullPaths[re]=ye[re][0],Y.FileIndex[re]=ye[re][1];for(re=0;re<ye.length;++re){var Je=Y.FileIndex[re],tt=Y.FullPaths[re];if(Je.name=r(tt).replace("/",""),Je.L=Je.R=Je.C=-(Je.color=1),Je.size=Je.content?Je.content.length:0,Je.start=0,Je.clsid=Je.clsid||be,0===re)Je.C=ye.length>1?1:-1,Je.size=0,Je.type=5;else if("/"==tt.slice(-1)){for(Ne=re+1;Ne<ye.length&&i(Y.FullPaths[Ne])!=tt;++Ne);for(Je.C=Ne>=ye.length?-1:Ne,Ne=re+1;Ne<ye.length&&i(Y.FullPaths[Ne])!=i(tt);++Ne);Je.R=Ne>=ye.length?-1:Ne,Je.type=1}else i(Y.FullPaths[re+1]||"")==i(tt)&&(Je.R=re+1),Je.type=2}}}function he(Y,ie){var Z=ie||{};if("mad"==Z.fileType)return function G9e(Y,ie){for(var Z=ie||{},K=Z.boundary||"SheetJS",re=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(K="------="+K).slice(2)+'"',"","",""],oe=Y.FullPaths[0],De=oe,Ne=Y.FileIndex[0],xe=1;xe<Y.FullPaths.length;++xe)if(De=Y.FullPaths[xe].slice(oe.length),(Ne=Y.FileIndex[xe]).size&&Ne.content&&"\x01Sh33tJ5"!=De){De=De.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(en){return"_x"+en.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(en){return"_u"+en.charCodeAt(0).toString(16)+"_"});for(var ye=Ne.content,Te=gn&&Buffer.isBuffer(ye)?ye.toString("binary"):Ae(ye),Je=0,tt=Math.min(1024,Te.length),Dt=0,nt=0;nt<=tt;++nt)(Dt=Te.charCodeAt(nt))>=32&&Dt<128&&++Je;var ot=Je>=4*tt/5;re.push(K),re.push("Content-Location: "+(Z.root||"file:///C:/SheetJS/")+De),re.push("Content-Transfer-Encoding: "+(ot?"quoted-printable":"base64")),re.push("Content-Type: "+I9e(Ne,De)),re.push(""),re.push(ot?P9e(Te):L9e(Te))}return re.push(K+"--\r\n"),re.join("\r\n")}(Y,Z);if("zip"===(ne(Y),Z.fileType))return function O9e(Y,ie){var Z=ie||{},K=[],re=[],oe=Fe(1),De=Z.compression?8:0,Ne=0,ye=0,Te=0,Je=0,tt=0,Dt=Y.FullPaths[0],nt=Dt,ot=Y.FileIndex[0],en=[],Mi=0;for(ye=1;ye<Y.FullPaths.length;++ye)if(nt=Y.FullPaths[ye].slice(Dt.length),(ot=Y.FileIndex[ye]).size&&ot.content&&"\x01Sh33tJ5"!=nt){var cs=Je,vr=Fe(nt.length);for(Te=0;Te<nt.length;++Te)vr.write_shift(1,127&nt.charCodeAt(Te));vr=vr.slice(0,vr.l),en[tt]=Iee.buf(ot.content,0);var Hs=ot.content;8==De&&(Hs=le(Hs)),(oe=Fe(30)).write_shift(4,67324752),oe.write_shift(2,20),oe.write_shift(2,Ne),oe.write_shift(2,De),ot.mt?o(oe,ot.mt):oe.write_shift(4,0),oe.write_shift(-4,8&Ne?0:en[tt]),oe.write_shift(4,8&Ne?0:Hs.length),oe.write_shift(4,8&Ne?0:ot.content.length),oe.write_shift(2,vr.length),oe.write_shift(2,0),Je+=oe.length,K.push(oe),Je+=vr.length,K.push(vr),Je+=Hs.length,K.push(Hs),8&Ne&&((oe=Fe(12)).write_shift(-4,en[tt]),oe.write_shift(4,Hs.length),oe.write_shift(4,ot.content.length),Je+=oe.l,K.push(oe)),(oe=Fe(46)).write_shift(4,33639248),oe.write_shift(2,0),oe.write_shift(2,20),oe.write_shift(2,Ne),oe.write_shift(2,De),oe.write_shift(4,0),oe.write_shift(-4,en[tt]),oe.write_shift(4,Hs.length),oe.write_shift(4,ot.content.length),oe.write_shift(2,vr.length),oe.write_shift(2,0),oe.write_shift(2,0),oe.write_shift(2,0),oe.write_shift(2,0),oe.write_shift(4,0),oe.write_shift(4,cs),Mi+=oe.l,re.push(oe),Mi+=vr.length,re.push(vr),++tt}return(oe=Fe(22)).write_shift(4,101010256),oe.write_shift(2,0),oe.write_shift(2,0),oe.write_shift(2,tt),oe.write_shift(2,tt),oe.write_shift(4,Mi),oe.write_shift(4,Je),oe.write_shift(2,0),Or([Or(K),Or(re),oe])}(Y,Z);var K=function(Dt){for(var nt=0,ot=0,en=0;en<Dt.FileIndex.length;++en){var Mi=Dt.FileIndex[en];if(Mi.content){var cs=Mi.content.length;cs>0&&(cs<4096?nt+=cs+63>>6:ot+=cs+511>>9)}}for(var vr=Dt.FullPaths.length+3>>2,W_=nt+127>>7,z_=(nt+7>>3)+ot+vr+W_,$u=z_+127>>7,_S=$u<=109?0:Math.ceil(($u-109)/127);z_+$u+_S+127>>7>$u;)_S=++$u<=109?0:Math.ceil(($u-109)/127);var sc=[1,_S,$u,W_,vr,ot,nt,0];return Dt.FileIndex[0].size=nt<<6,sc[7]=(Dt.FileIndex[0].start=sc[0]+sc[1]+sc[2]+sc[3]+sc[4]+sc[5])+(sc[6]+7>>3),sc}(Y),re=Fe(K[7]<<9),oe=0,De=0;for(oe=0;oe<8;++oe)re.write_shift(1,Ve[oe]);for(oe=0;oe<8;++oe)re.write_shift(2,0);for(re.write_shift(2,62),re.write_shift(2,3),re.write_shift(2,65534),re.write_shift(2,9),re.write_shift(2,6),oe=0;oe<3;++oe)re.write_shift(2,0);for(re.write_shift(4,0),re.write_shift(4,K[2]),re.write_shift(4,K[0]+K[1]+K[2]+K[3]-1),re.write_shift(4,0),re.write_shift(4,4096),re.write_shift(4,K[3]?K[0]+K[1]+K[2]-1:Ie),re.write_shift(4,K[3]),re.write_shift(-4,K[1]?K[0]-1:Ie),re.write_shift(4,K[1]),oe=0;oe<109;++oe)re.write_shift(-4,oe<K[2]?K[1]+oe:-1);if(K[1])for(De=0;De<K[1];++De){for(;oe<236+127*De;++oe)re.write_shift(-4,oe<K[2]?K[1]+oe:-1);re.write_shift(-4,De===K[1]-1?Ie:De+1)}var Ne=function(Dt){for(De+=Dt;oe<De-1;++oe)re.write_shift(-4,oe+1);Dt&&(++oe,re.write_shift(-4,Ie))};for(De=oe=0,De+=K[1];oe<De;++oe)re.write_shift(-4,Ce.DIFSECT);for(De+=K[2];oe<De;++oe)re.write_shift(-4,Ce.FATSECT);Ne(K[3]),Ne(K[4]);for(var xe=0,ye=0,Te=Y.FileIndex[0];xe<Y.FileIndex.length;++xe)(Te=Y.FileIndex[xe]).content&&!((ye=Te.content.length)<4096)&&(Te.start=De,Ne(ye+511>>9));for(Ne(K[6]+7>>3);511&re.l;)re.write_shift(-4,Ce.ENDOFCHAIN);for(De=oe=0,xe=0;xe<Y.FileIndex.length;++xe)(Te=Y.FileIndex[xe]).content&&(ye=Te.content.length)&&!(ye>=4096)&&(Te.start=De,Ne(ye+63>>6));for(;511&re.l;)re.write_shift(-4,Ce.ENDOFCHAIN);for(oe=0;oe<K[4]<<2;++oe){var Je=Y.FullPaths[oe];if(Je&&0!==Je.length){Te=Y.FileIndex[oe],0===oe&&(Te.start=Te.size?Te.start-1:Ie);var tt=0===oe&&Z.root||Te.name;if(ye=2*(tt.length+1),re.write_shift(64,tt,"utf16le"),re.write_shift(2,ye),re.write_shift(1,Te.type),re.write_shift(1,Te.color),re.write_shift(-4,Te.L),re.write_shift(-4,Te.R),re.write_shift(-4,Te.C),Te.clsid)re.write_shift(16,Te.clsid,"hex");else for(xe=0;xe<4;++xe)re.write_shift(4,0);re.write_shift(4,Te.state||0),re.write_shift(4,0),re.write_shift(4,0),re.write_shift(4,0),re.write_shift(4,0),re.write_shift(4,Te.start),re.write_shift(4,Te.size),re.write_shift(4,0)}else{for(xe=0;xe<17;++xe)re.write_shift(4,0);for(xe=0;xe<3;++xe)re.write_shift(4,-1);for(xe=0;xe<12;++xe)re.write_shift(4,0)}}for(oe=1;oe<Y.FileIndex.length;++oe)if((Te=Y.FileIndex[oe]).size>=4096)if(re.l=Te.start+1<<9,gn&&Buffer.isBuffer(Te.content))Te.content.copy(re,re.l,0,Te.size),re.l+=Te.size+511&-512;else{for(xe=0;xe<Te.size;++xe)re.write_shift(1,Te.content[xe]);for(;511&xe;++xe)re.write_shift(1,0)}for(oe=1;oe<Y.FileIndex.length;++oe)if((Te=Y.FileIndex[oe]).size>0&&Te.size<4096)if(gn&&Buffer.isBuffer(Te.content))Te.content.copy(re,re.l,0,Te.size),re.l+=Te.size+63&-64;else{for(xe=0;xe<Te.size;++xe)re.write_shift(1,Te.content[xe]);for(;63&xe;++xe)re.write_shift(1,0)}if(gn)re.l=re.length;else for(;re.l<re.length;)re.write_shift(1,0);return re}n.version="1.2.1";var Le,ue=64,Ie=-2,Qe="d0cf11e0a1b11ae1",Ve=[208,207,17,224,161,177,26,225],be="00000000000000000000000000000000",Ce={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:Ie,FREESECT:-1,HEADER_SIGNATURE:Qe,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:be,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function Ae(Y){for(var ie=new Array(Y.length),Z=0;Z<Y.length;++Z)ie[Z]=String.fromCharCode(Y[Z]);return ie.join("")}function le(Y){return Le?Le.deflateRawSync(Y):bn(Y)}for(var Y,ie,de=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Se=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],qe=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],We=typeof Uint8Array<"u",He=We?new Uint8Array(256):[],$t=0;$t<256;++$t)He[$t]=(void 0,255&((ie=139536&((Y=$t)<<1|Y<<11)|558144&(Y<<5|Y<<15))>>16|ie>>8|ie));function ce(Y,ie){var Z=He[255&Y];return ie<=8?Z>>>8-ie:(Z=Z<<8|He[Y>>8&255],ie<=16?Z>>>16-ie:(Z=Z<<8|He[Y>>16&255])>>>24-ie)}function Ln(Y,ie){var Z=7&ie,K=ie>>>3;return(Y[K]|(Z<=6?0:Y[K+1]<<8))>>>Z&3}function _n(Y,ie){var Z=7&ie,K=ie>>>3;return(Y[K]|(Z<=5?0:Y[K+1]<<8))>>>Z&7}function pn(Y,ie){var Z=7&ie,K=ie>>>3;return(Y[K]|(Z<=3?0:Y[K+1]<<8))>>>Z&31}function st(Y,ie){var Z=7&ie,K=ie>>>3;return(Y[K]|(Z<=1?0:Y[K+1]<<8))>>>Z&127}function Pi(Y,ie,Z){var K=7&ie,re=ie>>>3,De=Y[re]>>>K;return Z<8-K||(De|=Y[re+1]<<8-K,Z<16-K)||(De|=Y[re+2]<<16-K,Z<24-K)||(De|=Y[re+3]<<24-K),De&(1<<Z)-1}function as(Y,ie,Z){var K=7&ie,re=ie>>>3;return K<=5?Y[re]|=(7&Z)<<K:(Y[re]|=Z<<K&255,Y[re+1]=(7&Z)>>8-K),ie+3}function Yr(Y,ie,Z){return Y[ie>>>3]|=Z=(1&Z)<<(7&ie),ie+1}function ls(Y,ie,Z){var re=ie>>>3;return Y[re]|=255&(Z<<=7&ie),Y[re+1]=Z>>>=8,ie+8}function hd(Y,ie,Z){var re=ie>>>3;return Y[re]|=255&(Z<<=7&ie),Y[re+1]=255&(Z>>>=8),Y[re+2]=Z>>>8,ie+16}function Ga(Y,ie){var Z=Y.length,K=2*Z>ie?2*Z:ie+5,re=0;if(Z>=ie)return Y;if(gn){var oe=_3(K);if(Y.copy)Y.copy(oe);else for(;re<Y.length;++re)oe[re]=Y[re];return oe}if(We){var De=new Uint8Array(K);if(De.set)De.set(Y);else for(;re<Z;++re)De[re]=Y[re];return De}return Y.length=K,Y}function no(Y){for(var ie=new Array(Y),Z=0;Z<Y;++Z)ie[Z]=0;return ie}function ba(Y,ie,Z){var K=1,re=0,oe=0,De=0,Ne=0,xe=Y.length,ye=We?new Uint16Array(32):no(32);for(oe=0;oe<32;++oe)ye[oe]=0;for(oe=xe;oe<Z;++oe)Y[oe]=0;xe=Y.length;var Te=We?new Uint16Array(xe):no(xe);for(oe=0;oe<xe;++oe)ye[re=Y[oe]]++,K<re&&(K=re),Te[oe]=0;for(ye[0]=0,oe=1;oe<=K;++oe)ye[oe+16]=Ne=Ne+ye[oe-1]<<1;for(oe=0;oe<xe;++oe)0!=(Ne=Y[oe])&&(Te[oe]=ye[Ne+16]++);var Je=0;for(oe=0;oe<xe;++oe)if(0!=(Je=Y[oe]))for(Ne=ce(Te[oe],K)>>K-Je,De=(1<<K+4-Je)-1;De>=0;--De)ie[Ne|De<<Je]=15&Je|oe<<4;return K}var ja=We?new Uint16Array(512):no(512),pd=We?new Uint16Array(32):no(32);if(!We){for(var Ur=0;Ur<512;++Ur)ja[Ur]=0;for(Ur=0;Ur<32;++Ur)pd[Ur]=0}!function(){for(var Y=[],ie=0;ie<32;ie++)Y.push(5);ba(Y,pd,32);var Z=[];for(ie=0;ie<=143;ie++)Z.push(8);for(;ie<=255;ie++)Z.push(9);for(;ie<=279;ie++)Z.push(7);for(;ie<=287;ie++)Z.push(8);ba(Z,ja,288)}();var bl=function(){for(var ie=We?new Uint8Array(32768):[],Z=0,K=0;Z<qe.length-1;++Z)for(;K<qe[Z+1];++K)ie[K]=Z;for(;K<32768;++K)ie[K]=29;var re=We?new Uint8Array(259):[];for(Z=0,K=0;Z<Se.length-1;++Z)for(;K<Se[Z+1];++K)re[K]=Z;return function(xe,ye){return xe.length<8?function oe(Ne,xe){for(var ye=0;ye<Ne.length;){var Te=Math.min(65535,Ne.length-ye);for(xe.write_shift(1,+(ye+Te==Ne.length)),xe.write_shift(2,Te),xe.write_shift(2,65535&~Te);Te-- >0;)xe[xe.l++]=Ne[ye++]}return xe.l}(xe,ye):function De(Ne,xe){for(var ye=0,Te=0,Je=We?new Uint16Array(32768):[];Te<Ne.length;){var tt=Math.min(65535,Ne.length-Te);if(tt<10){for(7&(ye=as(xe,ye,+(Te+tt==Ne.length)))&&(ye+=8-(7&ye)),xe.l=ye/8|0,xe.write_shift(2,tt),xe.write_shift(2,65535&~tt);tt-- >0;)xe[xe.l++]=Ne[Te++];ye=8*xe.l}else{ye=as(xe,ye,+(Te+tt==Ne.length)+2);for(var Dt=0;tt-- >0;){var nt=Ne[Te],ot=-1,en=0;if((ot=Je[Dt=32767&(Dt<<5^nt)])&&((ot|=-32768&Te)>Te&&(ot-=32768),ot<Te))for(;Ne[ot+en]==Ne[Te+en]&&en<250;)++en;if(en>2){(nt=re[en])<=22?ye=ls(xe,ye,He[nt+1]>>1)-1:(ls(xe,ye,3),ls(xe,ye+=5,He[nt-23]>>5),ye+=3);var Mi=nt<8?0:nt-4>>2;Mi>0&&(hd(xe,ye,en-Se[nt]),ye+=Mi),ye=ls(xe,ye,He[nt=ie[Te-ot]]>>3),ye-=3;var cs=nt<4?0:nt-2>>1;cs>0&&(hd(xe,ye,Te-ot-qe[nt]),ye+=cs);for(var vr=0;vr<en;++vr)Je[Dt]=32767&Te,Dt=32767&(Dt<<5^Ne[Te]),++Te;tt-=en-1}else nt<=143?nt+=48:ye=Yr(xe,ye,1),ye=ls(xe,ye,He[nt]),Je[Dt]=32767&Te,++Te}ye=ls(xe,ye,0)-1}}return xe.l=(ye+7)/8|0,xe.l}(xe,ye)}}();function bn(Y){var ie=Fe(50+Math.floor(1.1*Y.length)),Z=bl(Y,ie);return ie.slice(0,Z)}var ir=We?new Uint16Array(32768):no(32768),Da=We?new Uint16Array(32768):no(32768),kr=We?new Uint16Array(128):no(128),zu=1,x9=1;function R9e(Y,ie){var Z=pn(Y,ie)+257,K=pn(Y,ie+=5)+1,re=function Hn(Y,ie){var Z=7&ie,K=ie>>>3;return(Y[K]|(Z<=4?0:Y[K+1]<<8))>>>Z&15}(Y,ie+=5)+4;ie+=4;for(var oe=0,De=We?new Uint8Array(19):no(19),Ne=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],xe=1,ye=We?new Uint8Array(8):no(8),Te=We?new Uint8Array(8):no(8),Je=De.length,tt=0;tt<re;++tt)De[de[tt]]=oe=_n(Y,ie),xe<oe&&(xe=oe),ye[oe]++,ie+=3;var Dt=0;for(ye[0]=0,tt=1;tt<=xe;++tt)Te[tt]=Dt=Dt+ye[tt-1]<<1;for(tt=0;tt<Je;++tt)0!=(Dt=De[tt])&&(Ne[tt]=Te[Dt]++);var nt=0;for(tt=0;tt<Je;++tt)if(0!=(nt=De[tt])){Dt=He[Ne[tt]]>>8-nt;for(var ot=(1<<7-nt)-1;ot>=0;--ot)kr[Dt|ot<<nt]=7&nt|tt<<3}var en=[];for(xe=1;en.length<Z+K;)switch(Dt=kr[st(Y,ie)],ie+=7&Dt,Dt>>>=3){case 16:for(oe=3+Ln(Y,ie),ie+=2,Dt=en[en.length-1];oe-- >0;)en.push(Dt);break;case 17:for(oe=3+_n(Y,ie),ie+=3;oe-- >0;)en.push(0);break;case 18:for(oe=11+st(Y,ie),ie+=7;oe-- >0;)en.push(0);break;default:en.push(Dt),xe<Dt&&(xe=Dt)}var Mi=en.slice(0,Z),cs=en.slice(Z);for(tt=Z;tt<286;++tt)Mi[tt]=0;for(tt=K;tt<30;++tt)cs[tt]=0;return zu=ba(Mi,ir,286),x9=ba(cs,Da,30),ie}function T9(Y,ie){var K=function F9e(Y,ie){if(3==Y[0]&&!(3&Y[1]))return[Oc(ie),2];for(var Z=0,K=0,re=_3(ie||1<<18),oe=0,De=re.length>>>0,Ne=0,xe=0;!(1&K);)if(K=_n(Y,Z),Z+=3,K>>>1)for(K>>1==1?(Ne=9,xe=5):(Z=R9e(Y,Z),Ne=zu,xe=x9);;){!ie&&De<oe+32767&&(De=(re=Ga(re,oe+32767)).length);var Te=Pi(Y,Z,Ne),Je=K>>>1==1?ja[Te]:ir[Te];if(Z+=15&Je,(Je>>>=4)>>>8&255){if(256==Je)break;var tt=(Je-=257)<8?0:Je-4>>2;tt>5&&(tt=0);var Dt=oe+Se[Je];tt>0&&(Dt+=Pi(Y,Z,tt),Z+=tt),Te=Pi(Y,Z,xe),Z+=15&(Je=K>>>1==1?pd[Te]:Da[Te]);var nt=(Je>>>=4)<4?0:Je-2>>1,ot=qe[Je];for(nt>0&&(ot+=Pi(Y,Z,nt),Z+=nt),!ie&&De<Dt&&(De=(re=Ga(re,Dt+100)).length);oe<Dt;)re[oe]=re[oe-ot],++oe}else re[oe++]=Je}else{7&Z&&(Z+=8-(7&Z));var ye=Y[Z>>>3]|Y[1+(Z>>>3)]<<8;if(Z+=32,ye>0)for(!ie&&De<oe+ye&&(De=(re=Ga(re,oe+ye)).length);ye-- >0;)re[oe++]=Y[Z>>>3],Z+=8}return ie?[re,Z+7>>>3]:[re.slice(0,oe),Z+7>>>3]}(Y.slice(Y.l||0),ie);return Y.l+=K[1],K[0]}function w9(Y,ie){if(!Y)throw new Error(ie);typeof console<"u"&&console.error(ie)}function E9(Y,ie){var Z=Y;Kr(Z,0);var oe={FileIndex:[],FullPaths:[]};W(oe,{root:ie.root});for(var De=Z.length-4;(80!=Z[De]||75!=Z[De+1]||5!=Z[De+2]||6!=Z[De+3])&&De>=0;)--De;Z.l=De+4,Z.l+=4;var Ne=Z.read_shift(2);Z.l+=6;var xe=Z.read_shift(4);for(Z.l=xe,De=0;De<Ne;++De){Z.l+=20;var ye=Z.read_shift(4),Te=Z.read_shift(4),Je=Z.read_shift(2),tt=Z.read_shift(2),Dt=Z.read_shift(2);Z.l+=8;var nt=Z.read_shift(4),ot=a(Z.slice(Z.l+Je,Z.l+Je+tt));Z.l+=Je+tt+Dt;var en=Z.l;Z.l=nt+4,N9e(Z,ye,Te,oe,ot),Z.l=en}return oe}function N9e(Y,ie,Z,K,re){Y.l+=2;var oe=Y.read_shift(2),De=Y.read_shift(2),Ne=function s(Y){var ie=65535&Y.read_shift(2),Z=65535&Y.read_shift(2),K=new Date,re=31&Z,oe=15&(Z>>>=5);Z>>>=4,K.setMilliseconds(0),K.setFullYear(Z+1980),K.setMonth(oe-1),K.setDate(re);var De=31&ie,Ne=63&(ie>>>=5);return K.setHours(ie>>>=6),K.setMinutes(Ne),K.setSeconds(De<<1),K}(Y);if(8257&oe)throw new Error("Unsupported ZIP encryption");Y.read_shift(4);for(var ye=Y.read_shift(4),Te=Y.read_shift(4),Je=Y.read_shift(2),tt=Y.read_shift(2),Dt="",nt=0;nt<Je;++nt)Dt+=String.fromCharCode(Y[Y.l++]);if(tt){var ot=a(Y.slice(Y.l,Y.l+tt));(ot[21589]||{}).mt&&(Ne=ot[21589].mt),((re||{})[21589]||{}).mt&&(Ne=re[21589].mt)}Y.l+=tt;var en=Y.slice(Y.l,Y.l+ye);switch(De){case 8:en=function _e(Y,ie){if(!Le)return T9(Y,ie);var K=new(0,Le.InflateRaw),re=K._processChunk(Y.slice(Y.l),K._finishFlushFlag);return Y.l+=K.bytesRead,re}(Y,Te);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+De)}var Mi=!1;8&oe&&(134695760==Y.read_shift(4)&&(Y.read_shift(4),Mi=!0),ye=Y.read_shift(4),Te=Y.read_shift(4)),ye!=ie&&w9(Mi,"Bad compressed size: "+ie+" != "+ye),Te!=Z&&w9(Mi,"Bad uncompressed size: "+Z+" != "+Te),gS(K,Dt,en,{unsafe:!0,mt:Ne})}var qD={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function I9e(Y,ie){if(Y.ctype)return Y.ctype;var Z=Y.name||"",K=Z.match(/\.([^\.]+)$/);return K&&qD[K[1]]||ie&&(K=(Z=ie).match(/[\.\\]([^\.\\])+$/))&&qD[K[1]]?qD[K[1]]:"application/octet-stream"}function L9e(Y){for(var ie=ag(Y),Z=[],K=0;K<ie.length;K+=76)Z.push(ie.slice(K,K+76));return Z.join("\r\n")+"\r\n"}function P9e(Y){var ie=Y.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(ye){var Te=ye.charCodeAt(0).toString(16).toUpperCase();return"="+(1==Te.length?"0"+Te:Te)});"\n"==(ie=ie.replace(/ $/gm,"=20").replace(/\t$/gm,"=09")).charAt(0)&&(ie="=0D"+ie.slice(1));for(var Z=[],K=(ie=ie.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A")).split("\r\n"),re=0;re<K.length;++re){var oe=K[re];if(0!=oe.length)for(var De=0;De<oe.length;){var Ne=76,xe=oe.slice(De,De+Ne);"="==xe.charAt(Ne-1)?Ne--:"="==xe.charAt(Ne-2)?Ne-=2:"="==xe.charAt(Ne-3)&&(Ne-=3),xe=oe.slice(De,De+Ne),(De+=Ne)<oe.length&&(xe+="="),Z.push(xe)}else Z.push("")}return Z.join("\r\n")}function V9e(Y,ie,Z){for(var De,K="",re="",oe="",Ne=0;Ne<10;++Ne){var xe=ie[Ne];if(!xe||xe.match(/^\s*$/))break;var ye=xe.match(/^(.*?):\s*([^\s].*)$/);if(ye)switch(ye[1].toLowerCase()){case"content-location":K=ye[2].trim();break;case"content-type":oe=ye[2].trim();break;case"content-transfer-encoding":re=ye[2].trim()}}switch(++Ne,re.toLowerCase()){case"base64":De=As(ks(ie.slice(Ne).join("")));break;case"quoted-printable":De=function B9e(Y){for(var ie=[],Z=0;Z<Y.length;++Z){for(var K=Y[Z];Z<=Y.length&&"="==K.charAt(K.length-1);)K=K.slice(0,K.length-1)+Y[++Z];ie.push(K)}for(var re=0;re<ie.length;++re)ie[re]=ie[re].replace(/[=][0-9A-Fa-f]{2}/g,function(oe){return String.fromCharCode(parseInt(oe.slice(1),16))});return As(ie.join("\r\n"))}(ie.slice(Ne));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+re)}var Te=gS(Y,K.slice(Z.length),De,{unsafe:!0});oe&&(Te.ctype=oe)}function gS(Y,ie,Z,K){var re=K&&K.unsafe;re||W(Y);var oe=!re&&Ft.find(Y,ie);if(!oe){var De=Y.FullPaths[0];ie.slice(0,De.length)==De?De=ie:("/"!=De.slice(-1)&&(De+="/"),De=(De+ie).replace("//","/")),oe={name:r(ie),type:2},Y.FileIndex.push(oe),Y.FullPaths.push(De),re||Ft.utils.cfb_gc(Y)}return oe.content=Z,oe.size=Z?Z.length:0,K&&(K.CLSID&&(oe.clsid=K.CLSID),K.mt&&(oe.mt=K.mt),K.ct&&(oe.ct=K.ct)),oe}return n.find=function pe(Y,ie){var Z=Y.FullPaths.map(function(xe){return xe.toUpperCase()}),K=Z.map(function(xe){var ye=xe.split("/");return ye[ye.length-("/"==xe.slice(-1)?2:1)]}),re=!1;47===ie.charCodeAt(0)?(re=!0,ie=Z[0].slice(0,-1)+ie):re=-1!==ie.indexOf("/");var oe=ie.toUpperCase(),De=!0===re?Z.indexOf(oe):K.indexOf(oe);if(-1!==De)return Y.FileIndex[De];var Ne=!oe.match(cg);for(oe=oe.replace(uo,""),Ne&&(oe=oe.replace(cg,"!")),De=0;De<Z.length;++De)if((Ne?Z[De].replace(cg,"!"):Z[De]).replace(uo,"")==oe||(Ne?K[De].replace(cg,"!"):K[De]).replace(uo,"")==oe)return Y.FileIndex[De];return null},n.read=function Q(Y,ie){var Z=ie&&ie.type;switch(Z||gn&&Buffer.isBuffer(Y)&&(Z="buffer"),Z||"base64"){case"file":return function U(Y,ie){return d(),f(l.readFileSync(Y),ie)}(Y,ie);case"base64":return f(As(ks(Y)),ie);case"binary":return f(As(Y),ie)}return f(Y,ie)},n.parse=f,n.write=function it(Y,ie){var Z=he(Y,ie);switch(ie&&ie.type||"buffer"){case"file":return d(),l.writeFileSync(ie.filename,Z),Z;case"binary":return"string"==typeof Z?Z:Ae(Z);case"base64":return ag("string"==typeof Z?Z:Ae(Z));case"buffer":if(gn)return Buffer.isBuffer(Z)?Z:jl(Z);case"array":return"string"==typeof Z?As(Z):Z}return Z},n.writeFile=function Ue(Y,ie,Z){d();var K=he(Y,Z);l.writeFileSync(ie,K)},n.utils={cfb_new:function j9e(Y){var ie={};return W(ie,Y),ie},cfb_add:gS,cfb_del:function Y9e(Y,ie){W(Y);var Z=Ft.find(Y,ie);if(Z)for(var K=0;K<Y.FileIndex.length;++K)if(Y.FileIndex[K]==Z)return Y.FileIndex.splice(K,1),Y.FullPaths.splice(K,1),!0;return!1},cfb_mov:function U9e(Y,ie,Z){W(Y);var K=Ft.find(Y,ie);if(K)for(var re=0;re<Y.FileIndex.length;++re)if(Y.FileIndex[re]==K)return Y.FileIndex[re].name=r(Z),Y.FullPaths[re]=Z,!0;return!1},cfb_gc:function W9e(Y){ne(Y,!0)},ReadShift:gg,CheckField:mL,prep_blob:Kr,bconcat:Or,use_zlib:function se(Y){try{var Z=new(0,Y.InflateRaw);if(Z._processChunk(new Uint8Array([3,0]),Z._finishFlushFlag),!Z.bytesRead)throw new Error("zlib does not expose bytesRead");Le=Y}catch(K){console.error("cannot use native zlib: "+(K.message||K))}},_deflateRaw:bn,_inflateRaw:T9,consts:Ce},n}();let Bc;function Lee(t){return"string"==typeof t?lg(t):Array.isArray(t)?function aee(t){if(typeof Uint8Array>"u")throw new Error("Unsupported");return new Uint8Array(t)}(t):t}function fg(t,n,e){if(typeof Bc<"u"&&Bc.writeFileSync)return e?Bc.writeFileSync(t,n,e):Bc.writeFileSync(t,n);if(typeof Deno<"u"){if(e&&"string"==typeof n)switch(e){case"utf8":n=new TextEncoder(e).encode(n);break;case"binary":n=lg(n);break;default:throw new Error("Unsupported encoding "+e)}return Deno.writeFileSync(t,n)}var i="utf8"==e?sl(n):n;if(typeof IE_SaveFile<"u")return IE_SaveFile(i,t);if(typeof Blob<"u"){var r=new Blob([Lee(i)],{type:"application/octet-stream"});if(typeof navigator<"u"&&navigator.msSaveBlob)return navigator.msSaveBlob(r,t);if(typeof saveAs<"u")return saveAs(r,t);if(typeof URL<"u"&&typeof document<"u"&&document.createElement&&URL.createObjectURL){var o=URL.createObjectURL(r);if("object"==typeof chrome&&"function"==typeof(chrome.downloads||{}).download)return URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(o)},6e4),chrome.downloads.download({url:o,filename:t,saveAs:!0});var s=document.createElement("a");if(null!=s.download)return s.download=t,s.href=o,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(o)},6e4),o}}if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var a=File(t);return a.open("w"),a.encoding="binary",Array.isArray(n)&&(n=Ic(n)),a.write(n),a.close(),n}catch(l){if(!l.message||!l.message.match(/onstruct/))throw l}throw new Error("cannot save file "+t)}function Ui(t){for(var n=Object.keys(t),e=[],i=0;i<n.length;++i)Object.prototype.hasOwnProperty.call(t,n[i])&&e.push(n[i]);return e}function L3(t,n){for(var e=[],i=Ui(t),r=0;r!==i.length;++r)null==e[t[i[r]][n]]&&(e[t[i[r]][n]]=i[r]);return e}function vv(t){for(var n=[],e=Ui(t),i=0;i!==e.length;++i)n[t[e[i]]]=e[i];return n}function bv(t){for(var n=[],e=Ui(t),i=0;i!==e.length;++i)n[t[e[i]]]=parseInt(e[i],10);return n}var Dv=new Date(1899,11,30,0,0,0);function Ir(t,n){var e=t.getTime();return n&&(e-=1263168e5),(e-(Dv.getTime()+6e4*(t.getTimezoneOffset()-Dv.getTimezoneOffset())))/864e5}var P3=new Date,Vee=Dv.getTime()+6e4*(P3.getTimezoneOffset()-Dv.getTimezoneOffset()),B3=P3.getTimezoneOffset();function gT(t){var n=new Date;return n.setTime(24*t*60*60*1e3+Vee),n.getTimezoneOffset()!==B3&&n.setTime(n.getTime()+6e4*(n.getTimezoneOffset()-B3)),n}var V3=new Date("2017-02-19T19:06:09.000Z"),H3=isNaN(V3.getFullYear())?new Date("2/19/17"):V3,Gee=2017==H3.getFullYear();function Oi(t,n){var e=new Date(t);if(Gee)return n>0?e.setTime(e.getTime()+60*e.getTimezoneOffset()*1e3):n<0&&e.setTime(e.getTime()-60*e.getTimezoneOffset()*1e3),e;if(t instanceof Date)return t;if(1917==H3.getFullYear()&&!isNaN(e.getFullYear())){var i=e.getFullYear();return t.indexOf(""+i)>-1||e.setFullYear(e.getFullYear()+100),e}var r=t.match(/\d+/g)||["2017","2","19","0","0","0"],o=new Date(+r[0],+r[1]-1,+r[2],+r[3]||0,+r[4]||0,+r[5]||0);return t.indexOf("Z")>-1&&(o=new Date(o.getTime()-60*o.getTimezoneOffset()*1e3)),o}function tu(t,n){if(gn&&Buffer.isBuffer(t)){if(n){if(255==t[0]&&254==t[1])return sl(t.slice(2).toString("utf16le"));if(254==t[1]&&255==t[2])return sl(function g3(t){for(var n=[],e=0;e<t.length>>1;++e)n[e]=String.fromCharCode(t.charCodeAt(2*e+1)+(t.charCodeAt(2*e)<<8));return n.join("")}(t.slice(2).toString("binary")))}return t.toString("binary")}if(typeof TextDecoder<"u")try{if(n){if(255==t[0]&&254==t[1])return sl(new TextDecoder("utf-16le").decode(t.slice(2)));if(254==t[0]&&255==t[1])return sl(new TextDecoder("utf-16be").decode(t.slice(2)))}var e={"\u20ac":"\x80","\u201a":"\x82",\u0192:"\x83","\u201e":"\x84","\u2026":"\x85","\u2020":"\x86","\u2021":"\x87",\u02c6:"\x88","\u2030":"\x89",\u0160:"\x8a","\u2039":"\x8b",\u0152:"\x8c",\u017d:"\x8e","\u2018":"\x91","\u2019":"\x92","\u201c":"\x93","\u201d":"\x94","\u2022":"\x95","\u2013":"\x96","\u2014":"\x97","\u02dc":"\x98","\u2122":"\x99",\u0161:"\x9a","\u203a":"\x9b",\u0153:"\x9c",\u017e:"\x9e",\u0178:"\x9f"};return Array.isArray(t)&&(t=new Uint8Array(t)),new TextDecoder("latin1").decode(t).replace(/[\u20ac\u201a\u0192\u201e\u2026\u2020\u2021\u02c6\u2030\u0160\u2039\u0152\u017d\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u02dc\u2122\u0161\u203a\u0153\u017e\u0178]/g,function(o){return e[o]||o})}catch{}for(var i=[],r=0;r!=t.length;++r)i.push(String.fromCharCode(t[r]));return i.join("")}function ii(t){if(typeof JSON<"u"&&!Array.isArray(t))return JSON.parse(JSON.stringify(t));if("object"!=typeof t||null==t)return t;if(t instanceof Date)return new Date(t.getTime());var n={};for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=ii(t[e]));return n}function Wi(t,n){for(var e="";e.length<n;)e+=t;return e}function Na(t){var n=Number(t);if(!isNaN(n))return isFinite(n)?n:NaN;if(!/\d/.test(t))return n;var e=1,i=t.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return e*=100,""});return isNaN(n=Number(i))&&(i=i.replace(/[(](.*)[)]/,function(r,o){return e=-e,o}),isNaN(n=Number(i)))?n:n/e}var jee=["january","february","march","april","may","june","july","august","september","october","november","december"];function Th(t){var n=new Date(t),e=new Date(NaN),i=n.getYear(),r=n.getMonth(),o=n.getDate();if(isNaN(o))return e;var s=t.toLowerCase();if(s.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if((s=s.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,"")).length>3&&-1==jee.indexOf(s))return e}else if(s.match(/[a-z]/))return e;return i<0||i>8099?e:(r>0||o>1)&&101!=i?n:t.match(/[^-0-9:,\/\\]/)?e:n}function fn(t,n,e){if(t.FullPaths){var i;if("string"==typeof e)return i=gn?jl(e):function lee(t){for(var n=[],e=0,i=t.length+250,r=Oc(t.length+255),o=0;o<t.length;++o){var s=t.charCodeAt(o);if(s<128)r[e++]=s;else if(s<2048)r[e++]=192|s>>6&31,r[e++]=128|63&s;else if(s>=55296&&s<57344){s=64+(1023&s);var a=1023&t.charCodeAt(++o);r[e++]=240|s>>8&7,r[e++]=128|s>>2&63,r[e++]=128|a>>6&15|(3&s)<<4,r[e++]=128|63&a}else r[e++]=224|s>>12&15,r[e++]=128|s>>6&63,r[e++]=128|63&s;e>i&&(n.push(r.slice(0,e)),e=0,r=Oc(65535),i=65530)}return n.push(r.slice(0,e)),Or(n)}(e),Ft.utils.cfb_add(t,n,i);Ft.utils.cfb_add(t,n,e)}else t.file(n,e)}function vT(){return Ft.utils.cfb_new()}var zi='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n',bT=vv({""":'"',"'":"'",">":">","<":"<","&":"&"}),DT=/[&<>'"]/g,Qee=/[\u0000-\u0008\u000b-\u001f]/g;function qn(t){return(t+"").replace(DT,function(e){return bT[e]}).replace(Qee,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function $3(t){return qn(t).replace(/ /g,"_x0020_")}var q3=/[\u0000-\u001f]/g;function X3(t){return(t+"").replace(DT,function(e){return bT[e]}).replace(/\n/g,"<br/>").replace(q3,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}function yT(t){for(var n="",e=0,i=0,r=0,o=0,s=0,a=0;e<t.length;)(i=t.charCodeAt(e++))<128?n+=String.fromCharCode(i):(r=t.charCodeAt(e++),i>191&&i<224?(s=(31&i)<<6,s|=63&r,n+=String.fromCharCode(s)):(o=t.charCodeAt(e++),i<240?n+=String.fromCharCode((15&i)<<12|(63&r)<<6|63&o):(a=((7&i)<<18|(63&r)<<12|(63&o)<<6|63&(s=t.charCodeAt(e++)))-65536,n+=String.fromCharCode(55296+(a>>>10&1023)),n+=String.fromCharCode(56320+(1023&a)))));return n}function J3(t){var e,i,a,n=Oc(2*t.length),r=1,o=0,s=0;for(i=0;i<t.length;i+=r)r=1,(a=t.charCodeAt(i))<128?e=a:a<224?(e=64*(31&a)+(63&t.charCodeAt(i+1)),r=2):a<240?(e=4096*(15&a)+64*(63&t.charCodeAt(i+1))+(63&t.charCodeAt(i+2)),r=3):(r=4,e=262144*(7&a)+4096*(63&t.charCodeAt(i+1))+64*(63&t.charCodeAt(i+2))+(63&t.charCodeAt(i+3)),s=55296+((e-=65536)>>>10&1023),e=56320+(1023&e)),0!==s&&(n[o++]=255&s,n[o++]=s>>>8,s=0),n[o++]=e%256,n[o++]=e>>>8;return n.slice(0,o).toString("ucs2")}function Z3(t){return jl(t,"binary").toString("utf8")}var yv="foo bar baz\xe2\x98\x83\xf0\x9f\x8d\xa3",gi=gn&&(Z3(yv)==yT(yv)&&Z3||J3(yv)==yT(yv)&&J3)||yT,sl=gn?function(t){return jl(t,"utf8").toString("binary")}:function(t){for(var n=[],e=0,i=0,r=0;e<t.length;)switch(i=t.charCodeAt(e++),!0){case i<128:n.push(String.fromCharCode(i));break;case i<2048:n.push(String.fromCharCode(192+(i>>6))),n.push(String.fromCharCode(128+(63&i)));break;case i>=55296&&i<57344:i-=55296,r=t.charCodeAt(e++)-56320+(i<<10),n.push(String.fromCharCode(240+(r>>18&7))),n.push(String.fromCharCode(144+(r>>12&63))),n.push(String.fromCharCode(128+(r>>6&63))),n.push(String.fromCharCode(128+(63&r)));break;default:n.push(String.fromCharCode(224+(i>>12))),n.push(String.fromCharCode(128+(i>>6&63))),n.push(String.fromCharCode(128+(63&i)))}return n.join("")},tL=/(^\s|\s$|\n)/;function Zr(t,n){return"<"+t+(n.match(tL)?' xml:space="preserve"':"")+">"+n+"</"+t+">"}function pg(t){return Ui(t).map(function(n){return" "+n+'="'+t[n]+'"'}).join("")}function Ke(t,n,e){return"<"+t+(null!=e?pg(e):"")+(null!=n?(n.match(tL)?' xml:space="preserve"':"")+">"+n+"</"+t:"/")+">"}function MT(t,n){try{return t.toISOString().replace(/\.\d*/,"")}catch(e){if(n)throw e}return""}var pr={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},Vc=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],Ns={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"},nL=function(t){for(var n=[],i=0;i<t[0].length;++i)if(t[0][i])for(var r=0,o=t[0][i].length;r<o;r+=10240)n.push.apply(n,t[0][i].slice(r,r+10240));return n},iL=gn?function(t){return t[0].length>0&&Buffer.isBuffer(t[0][0])?Buffer.concat(t[0].map(function(n){return Buffer.isBuffer(n)?n:jl(n)})):nL(t)}:nL,rL=function(t,n,e){for(var i=[],r=n;r<e;r+=2)i.push(String.fromCharCode(Ul(t,r)));return i.join("").replace(uo,"")},Mv=gn?function(t,n,e){return Buffer.isBuffer(t)?t.toString("utf16le",n,e).replace(uo,""):rL(t,n,e)}:rL,oL=function(t,n,e){for(var i=[],r=n;r<n+e;++r)i.push(("0"+t[r].toString(16)).slice(-2));return i.join("")},sL=gn?function(t,n,e){return Buffer.isBuffer(t)?t.toString("hex",n,n+e):oL(t,n,e)}:oL,aL=function(t,n,e){for(var i=[],r=n;r<e;r++)i.push(String.fromCharCode(Eh(t,r)));return i.join("")},wh=gn?function(n,e,i){return Buffer.isBuffer(n)?n.toString("utf8",e,i):aL(n,e,i)}:aL,lL=function(t,n){var e=Lr(t,n);return e>0?wh(t,n+4,n+4+e-1):""},xT=lL,cL=function(t,n){var e=Lr(t,n);return e>0?wh(t,n+4,n+4+e-1):""},TT=cL,dL=function(t,n){var e=2*Lr(t,n);return e>0?wh(t,n+4,n+4+e-1):""},wT=dL,uL=function(n,e){var i=Lr(n,e);return i>0?Mv(n,e+4,e+4+i):""},ET=uL,fL=function(t,n){var e=Lr(t,n);return e>0?wh(t,n+4,n+4+e):""},ST=fL,hL=function(t,n){return function rte(t,n){for(var e=1-2*(t[n+7]>>>7),i=((127&t[n+7])<<4)+(t[n+6]>>>4&15),r=15&t[n+6],o=5;o>=0;--o)r=256*r+t[n+o];return 2047==i?0==r?e*(1/0):NaN:(0==i?i=-1022:(i-=1023,r+=Math.pow(2,52)),e*Math.pow(2,i-52)*r)}(t,n)},Cv=hL,kT=function(n){return Array.isArray(n)||typeof Uint8Array<"u"&&n instanceof Uint8Array};gn&&(xT=function(n,e){if(!Buffer.isBuffer(n))return lL(n,e);var i=n.readUInt32LE(e);return i>0?n.toString("utf8",e+4,e+4+i-1):""},TT=function(n,e){if(!Buffer.isBuffer(n))return cL(n,e);var i=n.readUInt32LE(e);return i>0?n.toString("utf8",e+4,e+4+i-1):""},wT=function(n,e){if(!Buffer.isBuffer(n))return dL(n,e);var i=2*n.readUInt32LE(e);return n.toString("utf16le",e+4,e+4+i-1)},ET=function(n,e){if(!Buffer.isBuffer(n))return uL(n,e);var i=n.readUInt32LE(e);return n.toString("utf16le",e+4,e+4+i)},ST=function(n,e){if(!Buffer.isBuffer(n))return fL(n,e);var i=n.readUInt32LE(e);return n.toString("utf8",e+4,e+4+i)},Cv=function(n,e){return Buffer.isBuffer(n)?n.readDoubleLE(e):hL(n,e)},kT=function(n){return Buffer.isBuffer(n)||Array.isArray(n)||typeof Uint8Array<"u"&&n instanceof Uint8Array}),typeof Sn<"u"&&function pL(){Mv=function(t,n,e){return Sn.utils.decode(1200,t.slice(n,e)).replace(uo,"")},wh=function(t,n,e){return Sn.utils.decode(65001,t.slice(n,e))},xT=function(t,n){var e=Lr(t,n);return e>0?Sn.utils.decode(Kd,t.slice(n+4,n+4+e-1)):""},TT=function(t,n){var e=Lr(t,n);return e>0?Sn.utils.decode(Ss,t.slice(n+4,n+4+e-1)):""},wT=function(t,n){var e=2*Lr(t,n);return e>0?Sn.utils.decode(1200,t.slice(n+4,n+4+e-1)):""},ET=function(t,n){var e=Lr(t,n);return e>0?Sn.utils.decode(1200,t.slice(n+4,n+4+e)):""},ST=function(t,n){var e=Lr(t,n);return e>0?Sn.utils.decode(65001,t.slice(n+4,n+4+e)):""}}();var Eh=function(t,n){return t[n]},Ul=function(t,n){return 256*t[n+1]+t[n]},ste=function(t,n){var e=256*t[n+1]+t[n];return e<32768?e:-1*(65535-e+1)},Lr=function(t,n){return t[n+3]*(1<<24)+(t[n+2]<<16)+(t[n+1]<<8)+t[n]},nu=function(t,n){return t[n+3]<<24|t[n+2]<<16|t[n+1]<<8|t[n]},ate=function(t,n){return t[n]<<24|t[n+1]<<16|t[n+2]<<8|t[n+3]};function gg(t,n){var i,r,s,a,l,d,e="",o=[];switch(n){case"dbcs":if(d=this.l,gn&&Buffer.isBuffer(this))e=this.slice(this.l,this.l+2*t).toString("utf16le");else for(l=0;l<t;++l)e+=String.fromCharCode(Ul(this,d)),d+=2;t*=2;break;case"utf8":e=wh(this,this.l,this.l+t);break;case"utf16le":e=Mv(this,this.l,this.l+(t*=2));break;case"wstr":if(!(typeof Sn<"u"))return gg.call(this,t,"dbcs");e=Sn.utils.decode(Ss,this.slice(this.l,this.l+2*t)),t*=2;break;case"lpstr-ansi":e=xT(this,this.l),t=4+Lr(this,this.l);break;case"lpstr-cp":e=TT(this,this.l),t=4+Lr(this,this.l);break;case"lpwstr":e=wT(this,this.l),t=4+2*Lr(this,this.l);break;case"lpp4":t=4+Lr(this,this.l),e=ET(this,this.l),2&t&&(t+=2);break;case"8lpp4":t=4+Lr(this,this.l),e=ST(this,this.l),3&t&&(t+=4-(3&t));break;case"cstr":for(t=0,e="";0!==(s=Eh(this,this.l+t++));)o.push(og(s));e=o.join("");break;case"_wstr":for(t=0,e="";0!==(s=Ul(this,this.l+t));)o.push(og(s)),t+=2;t+=2,e=o.join("");break;case"dbcs-cont":for(e="",d=this.l,l=0;l<t;++l){if(this.lens&&-1!==this.lens.indexOf(d))return s=Eh(this,d),this.l=d+1,a=gg.call(this,t-l,s?"dbcs-cont":"sbcs-cont"),o.join("")+a;o.push(og(Ul(this,d))),d+=2}e=o.join(""),t*=2;break;case"cpstr":if(typeof Sn<"u"){e=Sn.utils.decode(Ss,this.slice(this.l,this.l+t));break}case"sbcs-cont":for(e="",d=this.l,l=0;l!=t;++l){if(this.lens&&-1!==this.lens.indexOf(d))return s=Eh(this,d),this.l=d+1,a=gg.call(this,t-l,s?"dbcs-cont":"sbcs-cont"),o.join("")+a;o.push(og(Eh(this,d))),d+=1}e=o.join("");break;default:switch(t){case 1:return i=Eh(this,this.l),this.l++,i;case 2:return i=("i"===n?ste:Ul)(this,this.l),this.l+=2,i;case 4:case-4:return"i"!==n&&128&this[this.l+3]?(r=Lr(this,this.l),this.l+=4,r):(i=(t>0?nu:ate)(this,this.l),this.l+=4,i);case 8:case-8:if("f"===n)return r=8==t?Cv(this,this.l):Cv([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,r;t=8;case 16:e=sL(this,this.l,t)}}return this.l+=t,e}var lte=function(t,n,e){t[e]=255&n,t[e+1]=n>>>8&255,t[e+2]=n>>>16&255,t[e+3]=n>>>24&255},cte=function(t,n,e){t[e]=255&n,t[e+1]=n>>8&255,t[e+2]=n>>16&255,t[e+3]=n>>24&255},dte=function(t,n,e){t[e]=255&n,t[e+1]=n>>>8&255};function ute(t,n,e){var i=0,r=0;if("dbcs"===e){for(r=0;r!=n.length;++r)dte(this,n.charCodeAt(r),this.l+2*r);i=2*n.length}else if("sbcs"===e){if(typeof Sn<"u"&&874==Kd)for(r=0;r!=n.length;++r){var o=Sn.utils.encode(Kd,n.charAt(r));this[this.l+r]=o[0]}else for(n=n.replace(/[^\x00-\x7F]/g,"_"),r=0;r!=n.length;++r)this[this.l+r]=255&n.charCodeAt(r);i=n.length}else{if("hex"===e){for(;r<t;++r)this[this.l++]=parseInt(n.slice(2*r,2*r+2),16)||0;return this}if("utf16le"===e){var s=Math.min(this.l+t,this.length);for(r=0;r<Math.min(n.length,t);++r){var a=n.charCodeAt(r);this[this.l++]=255&a,this[this.l++]=a>>8}for(;this.l<s;)this[this.l++]=0;return this}switch(t){case 1:i=1,this[this.l]=255&n;break;case 2:i=2,this[this.l]=255&n,this[this.l+1]=255&(n>>>=8);break;case 3:i=3,this[this.l]=255&n,this[this.l+1]=255&(n>>>=8),this[this.l+2]=255&(n>>>=8);break;case 4:i=4,lte(this,n,this.l);break;case 8:if(i=8,"f"===e){!function ote(t,n,e){var i=(n<0||1/n==-1/0?1:0)<<7,r=0,o=0,s=i?-n:n;isFinite(s)?0==s?r=o=0:(r=Math.floor(Math.log(s)/Math.LN2),o=s*Math.pow(2,52-r),r<=-1023&&(!isFinite(o)||o<Math.pow(2,52))?r=-1022:(o-=Math.pow(2,52),r+=1023)):(r=2047,o=isNaN(n)?26985:0);for(var a=0;a<=5;++a,o/=256)t[e+a]=255&o;t[e+6]=(15&r)<<4|15&o,t[e+7]=r>>4|i}(this,n,this.l);break}case 16:break;case-4:i=4,cte(this,n,this.l)}}return this.l+=i,this}function mL(t,n){var e=sL(this,this.l,t.length>>1);if(e!==t)throw new Error(n+"Expected "+t+" saw "+e);this.l+=t.length>>1}function Kr(t,n){t.l=n,t.read_shift=gg,t.chk=mL,t.write_shift=ute}function ho(t,n){t.l+=n}function Fe(t){var n=Oc(t);return Kr(n,0),n}function Vo(){var t=[],n=gn?256:2048,e=function(d){var f=Fe(d);return Kr(f,0),f},i=e(n),r=function(){i&&(i.length>i.l&&((i=i.slice(0,i.l)).l=i.length),i.length>0&&t.push(i),i=null)},o=function(d){return i&&d<i.length-i.l?i:(r(),i=e(Math.max(d+1,n)))};return{next:o,push:function(d){r(),null==(i=d).l&&(i.l=i.length),o(n)},end:function(){return r(),Or(t)},_bufs:t}}function Ye(t,n,e,i){var o,r=+n;if(!isNaN(r)){i||(i=Og[r].p||(e||[]).length||0),o=1+(r>=128?1:0)+1,i>=128&&++o,i>=16384&&++o,i>=2097152&&++o;var s=t.next(o);r<=127?s.write_shift(1,r):(s.write_shift(1,128+(127&r)),s.write_shift(1,r>>7));for(var a=0;4!=a;++a){if(!(i>=128)){s.write_shift(1,i);break}s.write_shift(1,128+(127&i)),i>>=7}i>0&&kT(e)&&t.push(e)}}function _g(t,n,e){var i=ii(t);if(n.s?(i.cRel&&(i.c+=n.s.c),i.rRel&&(i.r+=n.s.r)):(i.cRel&&(i.c+=n.c),i.rRel&&(i.r+=n.r)),!e||e.biff<12){for(;i.c>=256;)i.c-=256;for(;i.r>=65536;)i.r-=65536}return i}function gL(t,n,e){var i=ii(t);return i.s=_g(i.s,n.s,e),i.e=_g(i.e,n.s,e),i}function vg(t,n){if(t.cRel&&t.c<0)for(t=ii(t);t.c<0;)t.c+=n>8?16384:256;if(t.rRel&&t.r<0)for(t=ii(t);t.r<0;)t.r+=n>8?1048576:n>5?65536:16384;var e=zt(t);return!t.cRel&&null!=t.cRel&&(e=function pte(t){return t.replace(/^([A-Z])/,"$$$1")}(e)),!t.rRel&&null!=t.rRel&&(e=function fte(t){return t.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(e)),e}function AT(t,n){return 0!=t.s.r||t.s.rRel||t.e.r!=(n.biff>=12?1048575:n.biff>=8?65536:16384)||t.e.rRel?0!=t.s.c||t.s.cRel||t.e.c!=(n.biff>=12?16383:255)||t.e.cRel?vg(t.s,n.biff)+":"+vg(t.e,n.biff):(t.s.rRel?"":"$")+$i(t.s.r)+":"+(t.e.rRel?"":"$")+$i(t.e.r):(t.s.cRel?"":"$")+_i(t.s.c)+":"+(t.e.cRel?"":"$")+_i(t.e.c)}function RT(t){return parseInt(function hte(t){return t.replace(/\$(\d+)$/,"$1")}(t),10)-1}function $i(t){return""+(t+1)}function FT(t){for(var n=function mte(t){return t.replace(/^\$([A-Z])/,"$1")}(t),e=0,i=0;i!==n.length;++i)e=26*e+n.charCodeAt(i)-64;return e-1}function _i(t){if(t<0)throw new Error("invalid column "+t);var n="";for(++t;t;t=Math.floor((t-1)/26))n=String.fromCharCode((t-1)%26+65)+n;return n}function tr(t){for(var n=0,e=0,i=0;i<t.length;++i){var r=t.charCodeAt(i);r>=48&&r<=57?n=10*n+(r-48):r>=65&&r<=90&&(e=26*e+(r-64))}return{c:e-1,r:n-1}}function zt(t){for(var n=t.c+1,e="";n;n=(n-1)/26|0)e=String.fromCharCode((n-1)%26+65)+e;return e+(t.r+1)}function Ho(t){var n=t.indexOf(":");return-1==n?{s:tr(t),e:tr(t)}:{s:tr(t.slice(0,n)),e:tr(t.slice(n+1))}}function an(t,n){return typeof n>"u"||"number"==typeof n?an(t.s,t.e):("string"!=typeof t&&(t=zt(t)),"string"!=typeof n&&(n=zt(n)),t==n?t:t+":"+n)}function Tn(t){var n={s:{c:0,r:0},e:{c:0,r:0}},e=0,i=0,r=0,o=t.length;for(e=0;i<o&&!((r=t.charCodeAt(i)-64)<1||r>26);++i)e=26*e+r;for(n.s.c=--e,e=0;i<o&&!((r=t.charCodeAt(i)-48)<0||r>9);++i)e=10*e+r;if(n.s.r=--e,i===o||10!=r)return n.e.c=n.s.c,n.e.r=n.s.r,n;for(++i,e=0;i!=o&&!((r=t.charCodeAt(i)-64)<1||r>26);++i)e=26*e+r;for(n.e.c=--e,e=0;i!=o&&!((r=t.charCodeAt(i)-48)<0||r>9);++i)e=10*e+r;return n.e.r=--e,n}function al(t,n,e){return null==t||null==t.t||"z"==t.t?"":void 0!==t.w?t.w:("d"==t.t&&!t.z&&e&&e.dateNF&&(t.z=e.dateNF),"e"==t.t?zl[t.v]||t.v:function _L(t,n){var e="d"==t.t&&n instanceof Date;if(null!=t.z)try{return t.w=Rs(t.z,e?Ir(n):n)}catch{}try{return t.w=Rs((t.XF||{}).numFmtId||(e?14:0),e?Ir(n):n)}catch{return""+n}}(t,null==n?t.v:n))}function Hc(t,n){var e=n&&n.sheet?n.sheet:"Sheet1",i={};return i[e]=t,{SheetNames:[e],Sheets:i}}function vL(t,n,e){var i=e||{},r=t?Array.isArray(t):i.dense;null!=Yi&&null==r&&(r=Yi);var o=t||(r?[]:{}),s=0,a=0;if(o&&null!=i.origin){if("number"==typeof i.origin)s=i.origin;else{var l="string"==typeof i.origin?tr(i.origin):i.origin;s=l.r,a=l.c}o["!ref"]||(o["!ref"]="A1:A1")}var d={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(o["!ref"]){var f=Tn(o["!ref"]);d.s.c=f.s.c,d.s.r=f.s.r,d.e.c=Math.max(d.e.c,f.e.c),d.e.r=Math.max(d.e.r,f.e.r),-1==s&&(d.e.r=s=f.e.r+1)}for(var m=0;m!=n.length;++m)if(n[m]){if(!Array.isArray(n[m]))throw new Error("aoa_to_sheet expects an array of arrays");for(var g=0;g!=n[m].length;++g)if(!(typeof n[m][g]>"u")){var b={v:n[m][g]},M=s+m,y=a+g;if(d.s.r>M&&(d.s.r=M),d.s.c>y&&(d.s.c=y),d.e.r<M&&(d.e.r=M),d.e.c<y&&(d.e.c=y),!n[m][g]||"object"!=typeof n[m][g]||Array.isArray(n[m][g])||n[m][g]instanceof Date)if(Array.isArray(b.v)&&(b.f=n[m][g][1],b.v=b.v[0]),null===b.v)if(b.f)b.t="n";else if(i.nullError)b.t="e",b.v=0;else{if(!i.sheetStubs)continue;b.t="z"}else"number"==typeof b.v?b.t="n":"boolean"==typeof b.v?b.t="b":b.v instanceof Date?(b.z=i.dateNF||Vt[14],i.cellDates?(b.t="d",b.w=Rs(b.z,Ir(b.v))):(b.t="n",b.v=Ir(b.v),b.w=Rs(b.z,b.v))):b.t="s";else b=n[m][g];if(r)o[M]||(o[M]=[]),o[M][y]&&o[M][y].z&&(b.z=o[M][y].z),o[M][y]=b;else{var T=zt({c:y,r:M});o[T]&&o[T].z&&(b.z=o[T].z),o[T]=b}}}return d.s.c<1e7&&(o["!ref"]=an(d)),o}function Sh(t,n){return vL(null,t,n)}function Oa(t,n){return n||(n=Fe(4)),n.write_shift(4,t),n}function po(t){var n=t.read_shift(4);return 0===n?"":t.read_shift(n,"dbcs")}function Pr(t,n){var e=!1;return null==n&&(e=!0,n=Fe(4+2*t.length)),n.write_shift(4,t.length),t.length>0&&n.write_shift(0,t,"dbcs"),e?n.slice(0,n.l):n}function vte(t){return{ich:t.read_shift(2),ifnt:t.read_shift(2)}}function NT(t,n){var e=t.l,i=t.read_shift(1),r=po(t),o=[],s={t:r,h:r};if(1&i){for(var a=t.read_shift(4),l=0;l!=a;++l)o.push(vte(t));s.r=o}else s.r=[{ich:0,ifnt:0}];return t.l=e+n,s}var yte=NT;function la(t){var n=t.read_shift(4),e=t.read_shift(2);return e+=t.read_shift(1)<<16,t.l++,{c:n,iStyleRef:e}}function iu(t,n){return null==n&&(n=Fe(8)),n.write_shift(-4,t.c),n.write_shift(3,t.iStyleRef||t.s),n.write_shift(1,0),n}function ru(t){var n=t.read_shift(2);return n+=t.read_shift(1)<<16,t.l++,{c:-1,iStyleRef:n}}function ou(t,n){return null==n&&(n=Fe(4)),n.write_shift(3,t.iStyleRef||t.s),n.write_shift(1,0),n}var Cte=po,bL=Pr;function OT(t){var n=t.read_shift(4);return 0===n||4294967295===n?"":t.read_shift(n,"dbcs")}function xv(t,n){var e=!1;return null==n&&(e=!0,n=Fe(127)),n.write_shift(4,t.length>0?t.length:4294967295),t.length>0&&n.write_shift(0,t,"dbcs"),e?n.slice(0,n.l):n}var xte=po,IT=OT,LT=xv;function PT(t){var n=t.slice(t.l,t.l+4),e=1&n[0],i=2&n[0];t.l+=4;var r=0===i?Cv([0,0,0,0,252&n[0],n[1],n[2],n[3]],0):nu(n,0)>>2;return e?r/100:r}function DL(t,n){null==n&&(n=Fe(4));var e=0,i=0,r=100*t;if(t==(0|t)&&t>=-(1<<29)&&t<1<<29?i=1:r==(0|r)&&r>=-(1<<29)&&r<1<<29&&(i=1,e=1),!i)throw new Error("unsupported RkNumber "+t);n.write_shift(-4,((e?r:t)<<2)+(e+2))}function yL(t){var n={s:{},e:{}};return n.s.r=t.read_shift(4),n.e.r=t.read_shift(4),n.s.c=t.read_shift(4),n.e.c=t.read_shift(4),n}var su=yL,kh=function Tte(t,n){return n||(n=Fe(16)),n.write_shift(4,t.s.r),n.write_shift(4,t.e.r),n.write_shift(4,t.s.c),n.write_shift(4,t.e.c),n};function mo(t){if(t.length-t.l<8)throw"XLS Xnum Buffer underflow";return t.read_shift(8,"f")}function au(t,n){return(n||Fe(8)).write_shift(8,t,"f")}function Tv(t,n){if(n||(n=Fe(8)),!t||t.auto)return n.write_shift(4,0),n.write_shift(4,0),n;null!=t.index?(n.write_shift(1,2),n.write_shift(1,t.index)):null!=t.theme?(n.write_shift(1,6),n.write_shift(1,t.theme)):(n.write_shift(1,5),n.write_shift(1,0));var e=t.tint||0;if(e>0?e*=32767:e<0&&(e*=32768),n.write_shift(2,e),t.rgb&&null==t.theme){var i=t.rgb||"FFFFFF";"number"==typeof i&&(i=("000000"+i.toString(16)).slice(-6)),n.write_shift(1,parseInt(i.slice(0,2),16)),n.write_shift(1,parseInt(i.slice(2,4),16)),n.write_shift(1,parseInt(i.slice(4,6),16)),n.write_shift(1,255)}else n.write_shift(2,0),n.write_shift(1,0),n.write_shift(1,0);return n}var VT={1:{n:"CodePage",t:2},2:{n:"Category",t:80},3:{n:"PresentationFormat",t:80},4:{n:"ByteCount",t:3},5:{n:"LineCount",t:3},6:{n:"ParagraphCount",t:3},7:{n:"SlideCount",t:3},8:{n:"NoteCount",t:3},9:{n:"HiddenCount",t:3},10:{n:"MultimediaClipCount",t:3},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:80},15:{n:"Company",t:80},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:3},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:3,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:80},27:{n:"ContentStatus",t:80},28:{n:"Language",t:80},29:{n:"Version",t:80},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},HT={1:{n:"CodePage",t:2},2:{n:"Title",t:80},3:{n:"Subject",t:80},4:{n:"Author",t:80},5:{n:"Keywords",t:80},6:{n:"Comments",t:80},7:{n:"Template",t:80},8:{n:"LastAuthor",t:80},9:{n:"RevNumber",t:80},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:3},15:{n:"WordCount",t:3},16:{n:"CharCount",t:3},17:{n:"Thumbnail",t:71},18:{n:"Application",t:80},19:{n:"DocSecurity",t:3},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}};function Pte(t){return t.map(function(n){return[n>>16&255,n>>8&255,255&n]})}var lu=ii(Pte([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),zl={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},GT={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},kv={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function wL(t,n){var r,e=function Bee(t){for(var n=[],e=Ui(t),i=0;i!==e.length;++i)null==n[t[e[i]]]&&(n[t[e[i]]]=[]),n[t[e[i]]].push(e[i]);return n}(GT),i=[];i[i.length]=zi,i[i.length]=Ke("Types",null,{xmlns:pr.CT,"xmlns:xsd":pr.xsd,"xmlns:xsi":pr.xsi}),i=i.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(l){return Ke("Default",null,{Extension:l[0],ContentType:l[1]})}));var o=function(l){t[l]&&t[l].length>0&&(i[i.length]=Ke("Override",null,{PartName:("/"==(r=t[l][0])[0]?"":"/")+r,ContentType:kv[l][n.bookType]||kv[l].xlsx}))},s=function(l){(t[l]||[]).forEach(function(d){i[i.length]=Ke("Override",null,{PartName:("/"==d[0]?"":"/")+d,ContentType:kv[l][n.bookType]||kv[l].xlsx})})},a=function(l){(t[l]||[]).forEach(function(d){i[i.length]=Ke("Override",null,{PartName:("/"==d[0]?"":"/")+d,ContentType:e[l][0]})})};return o("workbooks"),s("sheets"),s("charts"),a("themes"),["strs","styles"].forEach(o),["coreprops","extprops","custprops"].forEach(a),a("vba"),a("comments"),a("threadedcomments"),a("drawings"),s("metadata"),a("people"),i.length>2&&(i[i.length]="</Types>",i[1]=i[1].replace("/>",">")),i.join("")}var ln={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function bg(t){var n=t.lastIndexOf("/");return t.slice(0,n+1)+"_rels/"+t.slice(n+1)+".rels"}function Ah(t){var n=[zi,Ke("Relationships",null,{xmlns:pr.RELS})];return Ui(t["!id"]).forEach(function(e){n[n.length]=Ke("Relationship",null,t["!id"][e])}),n.length>2&&(n[n.length]="</Relationships>",n[1]=n[1].replace("/>",">")),n.join("")}function Yn(t,n,e,i,r,o){if(r||(r={}),t["!id"]||(t["!id"]={}),t["!idx"]||(t["!idx"]=1),n<0)for(n=t["!idx"];t["!id"]["rId"+n];++n);if(t["!idx"]=n+1,r.Id="rId"+n,r.Type=i,r.Target=e,o?r.TargetMode=o:[ln.HLINK,ln.XPATH,ln.XMISS].indexOf(r.Type)>-1&&(r.TargetMode="External"),t["!id"][r.Id])throw new Error("Cannot rewrite rId "+n);return t["!id"][r.Id]=r,t[("/"+r.Target).replace("//","/")]=r,n}function EL(t,n,e){return[' <rdf:Description rdf:about="'+t+'">\n',' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(e||"odf")+"#"+n+'"/>\n'," </rdf:Description>\n"].join("")}function Ute(t,n){return[' <rdf:Description rdf:about="'+t+'">\n',' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+n+'"/>\n'," </rdf:Description>\n"].join("")}function SL(){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+rg.version+"</meta:generator></office:meta></office:document-meta>"}var $l=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function YT(t,n,e,i,r){null!=r[t]||null==n||""===n||(r[t]=n,n=qn(n),i[i.length]=e?Ke(t,n,e):Zr(t,n))}function AL(t,n){var e=n||{},i=[zi,Ke("cp:coreProperties",null,{"xmlns:cp":pr.CORE_PROPS,"xmlns:dc":pr.dc,"xmlns:dcterms":pr.dcterms,"xmlns:dcmitype":pr.dcmitype,"xmlns:xsi":pr.xsi})],r={};if(!t&&!e.Props)return i.join("");t&&(null!=t.CreatedDate&&YT("dcterms:created","string"==typeof t.CreatedDate?t.CreatedDate:MT(t.CreatedDate,e.WTF),{"xsi:type":"dcterms:W3CDTF"},i,r),null!=t.ModifiedDate&&YT("dcterms:modified","string"==typeof t.ModifiedDate?t.ModifiedDate:MT(t.ModifiedDate,e.WTF),{"xsi:type":"dcterms:W3CDTF"},i,r));for(var o=0;o!=$l.length;++o){var s=$l[o],a=e.Props&&null!=e.Props[s[1]]?e.Props[s[1]]:t?t[s[1]]:null;!0===a?a="1":!1===a?a="0":"number"==typeof a&&(a=String(a)),null!=a&&YT(s[0],a,null,i,r)}return i.length>2&&(i[i.length]="</cp:coreProperties>",i[1]=i[1].replace("/>",">")),i.join("")}var cu=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],RL=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function NL(t){var n=[],e=Ke;return t||(t={}),t.Application="SheetJS",n[n.length]=zi,n[n.length]=Ke("Properties",null,{xmlns:pr.EXT_PROPS,"xmlns:vt":pr.vt}),cu.forEach(function(i){if(void 0!==t[i[1]]){var r;switch(i[2]){case"string":r=qn(String(t[i[1]]));break;case"bool":r=t[i[1]]?"true":"false"}void 0!==r&&(n[n.length]=e(i[0],r))}}),n[n.length]=e("HeadingPairs",e("vt:vector",e("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+e("vt:variant",e("vt:i4",String(t.Worksheets))),{size:2,baseType:"variant"})),n[n.length]=e("TitlesOfParts",e("vt:vector",t.SheetNames.map(function(i){return"<vt:lpstr>"+qn(i)+"</vt:lpstr>"}).join(""),{size:t.Worksheets,baseType:"lpstr"})),n.length>2&&(n[n.length]="</Properties>",n[1]=n[1].replace("/>",">")),n.join("")}function OL(t){var n=[zi,Ke("Properties",null,{xmlns:pr.CUST_PROPS,"xmlns:vt":pr.vt})];if(!t)return n.join("");var e=1;return Ui(t).forEach(function(r){++e,n[n.length]=Ke("property",function ite(t,n){switch(typeof t){case"string":var e=Ke("vt:lpwstr",qn(t));return n&&(e=e.replace(/"/g,"_x0022_")),e;case"number":return Ke((0|t)==t?"vt:i4":"vt:r8",qn(String(t)));case"boolean":return Ke("vt:bool",t?"true":"false")}if(t instanceof Date)return Ke("vt:filetime",MT(t));throw new Error("Unable to serialize "+t)}(t[r],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:e,name:qn(r)})}),n.length>2&&(n[n.length]="</Properties>",n[1]=n[1].replace("/>",">")),n.join("")}var UT={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function HL(t,n){var e=Fe(4),i=Fe(4);switch(e.write_shift(4,80==t?31:t),t){case 3:i.write_shift(-4,n);break;case 5:(i=Fe(8)).write_shift(8,n,"f");break;case 11:i.write_shift(4,n?1:0);break;case 64:i=function Kte(t){var e=("string"==typeof t?new Date(Date.parse(t)):t).getTime()/1e3+11644473600,i=e%Math.pow(2,32),r=(e-i)/Math.pow(2,32);r*=1e7;var o=(i*=1e7)/Math.pow(2,32)|0;o>0&&(i%=Math.pow(2,32),r+=o);var s=Fe(8);return s.write_shift(4,i),s.write_shift(4,r),s}(n);break;case 31:case 80:for((i=Fe(4+2*(n.length+1)+(n.length%2?0:2))).write_shift(4,n.length+1),i.write_shift(0,n,"dbcs");i.l!=i.length;)i.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+n)}return Or([e,i])}var jL=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function sne(t){switch(typeof t){case"boolean":return 11;case"number":return(0|t)==t?3:5;case"string":return 31;case"object":if(t instanceof Date)return 64}return-1}function YL(t,n,e){var i=Fe(8),r=[],o=[],s=8,a=0,l=Fe(8),d=Fe(8);if(l.write_shift(4,2),l.write_shift(4,1200),d.write_shift(4,1),o.push(l),r.push(d),s+=8+l.length,!n){(d=Fe(8)).write_shift(4,0),r.unshift(d);var f=[Fe(4)];for(f[0].write_shift(4,t.length),a=0;a<t.length;++a){var m=t[a][0];for((l=Fe(8+2*(m.length+1)+(m.length%2?0:2))).write_shift(4,a+2),l.write_shift(4,m.length+1),l.write_shift(0,m,"dbcs");l.l!=l.length;)l.write_shift(1,0);f.push(l)}l=Or(f),o.unshift(l),s+=8+l.length}for(a=0;a<t.length;++a)if((!n||n[t[a][0]])&&!(jL.indexOf(t[a][0])>-1||RL.indexOf(t[a][0])>-1)&&null!=t[a][1]){var g=t[a][1],b=0;if(n){var M=e[b=+n[t[a][0]]];if("version"==M.p&&"string"==typeof g){var y=g.split(".");g=(+y[0]<<16)+(+y[1]||0)}l=HL(M.t,g)}else{var T=sne(g);-1==T&&(T=31,g=String(g)),l=HL(T,g)}o.push(l),(d=Fe(8)).write_shift(4,n?b:2+a),r.push(d),s+=8+l.length}var k=8*(o.length+1);for(a=0;a<o.length;++a)r[a].write_shift(4,k),k+=o[a].length;return i.write_shift(4,s),i.write_shift(4,o.length),Or([i].concat(r).concat(o))}function WL(t,n,e,i,r,o){var s=Fe(r?68:48),a=[s];s.write_shift(2,65534),s.write_shift(2,0),s.write_shift(4,842412599),s.write_shift(16,Ft.utils.consts.HEADER_CLSID,"hex"),s.write_shift(4,r?2:1),s.write_shift(16,n,"hex"),s.write_shift(4,r?68:48);var l=YL(t,e,i);if(a.push(l),r){var d=YL(r,null,null);s.write_shift(16,o,"hex"),s.write_shift(4,68+l.length),a.push(d)}return Or(a)}function Go(t,n){return n||(n=Fe(2)),n.write_shift(2,+!!t),n}function mr(t){return t.read_shift(2,"u")}function ca(t,n){return n||(n=Fe(2)),n.write_shift(2,t),n}function $L(t,n,e){return e||(e=Fe(2)),e.write_shift(1,"e"==n?+t:+!!t),e.write_shift(1,"e"==n?1:0),e}function yg(t,n,e){var i=t.read_shift(e&&e.biff>=12?2:1),r="sbcs-cont",o=Ss;e&&e.biff>=8&&(Ss=1200),e&&8!=e.biff?12==e.biff&&(r="wstr"):t.read_shift(1)&&(r="dbcs-cont"),e.biff>=2&&e.biff<=5&&(r="cpstr");var a=i?t.read_shift(i,r):"";return Ss=o,a}function une(t){var n=t.t||"",i=Fe(3);i.write_shift(2,n.length),i.write_shift(1,1);var r=Fe(2*n.length);return r.write_shift(2*n.length,n,"utf16le"),Or([i,r])}function qL(t,n,e){return e||(e=Fe(3+2*t.length)),e.write_shift(2,t.length),e.write_shift(1,1),e.write_shift(31,t,"utf16le"),e}function XL(t,n){n||(n=Fe(6+2*t.length)),n.write_shift(4,1+t.length);for(var e=0;e<t.length;++e)n.write_shift(2,t.charCodeAt(e));return n.write_shift(2,0),n}function _ne(t){var n=Fe(512),e=0,i=t.Target;"file://"==i.slice(0,7)&&(i=i.slice(7));var r=i.indexOf("#"),o=r>-1?31:23;switch(i.charAt(0)){case"#":o=28;break;case".":o&=-3}n.write_shift(4,2),n.write_shift(4,o);var s=[8,6815827,6619237,4849780,83];for(e=0;e<s.length;++e)n.write_shift(4,s[e]);if(28==o)XL(i=i.slice(1),n);else if(2&o){for(s="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),e=0;e<s.length;++e)n.write_shift(1,parseInt(s[e],16));var a=r>-1?i.slice(0,r):i;for(n.write_shift(4,2*(a.length+1)),e=0;e<a.length;++e)n.write_shift(2,a.charCodeAt(e));n.write_shift(2,0),8&o&&XL(r>-1?i.slice(r+1):"",n)}else{for(s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),e=0;e<s.length;++e)n.write_shift(1,parseInt(s[e],16));for(var l=0;"../"==i.slice(3*l,3*l+3)||"..\\"==i.slice(3*l,3*l+3);)++l;for(n.write_shift(2,l),n.write_shift(4,i.length-3*l+1),e=0;e<i.length-3*l;++e)n.write_shift(1,255&i.charCodeAt(e+3*l));for(n.write_shift(1,0),n.write_shift(2,65535),n.write_shift(2,57005),e=0;e<6;++e)n.write_shift(4,0)}return n.slice(0,n.l)}function fu(t,n,e,i){return i||(i=Fe(6)),i.write_shift(2,t),i.write_shift(2,n),i.write_shift(2,e||0),i}function Dne(t,n,e){var i=e.biff>8?4:2;return[t.read_shift(i),t.read_shift(i,"i"),t.read_shift(i,"i")]}function Fv(t){var n=t.read_shift(2),e=t.read_shift(2);return{s:{c:t.read_shift(2),r:n},e:{c:t.read_shift(2),r:e}}}function KL(t,n){return n||(n=Fe(8)),n.write_shift(2,t.s.r),n.write_shift(2,t.e.r),n.write_shift(2,t.s.c),n.write_shift(2,t.e.c),n}function qT(t,n,e){var i=1536,r=16;switch(e.bookType){case"biff8":case"xla":break;case"biff5":i=1280,r=8;break;case"biff4":i=4,r=6;break;case"biff3":i=3,r=6;break;case"biff2":i=2,r=4;break;default:throw new Error("unsupported BIFF version")}var o=Fe(r);return o.write_shift(2,i),o.write_shift(2,n),r>4&&o.write_shift(2,29282),r>6&&o.write_shift(2,1997),r>8&&(o.write_shift(2,49161),o.write_shift(2,1),o.write_shift(2,1798),o.write_shift(2,0)),o}function Fne(t,n){var e=!n||n.biff>=8?2:1,i=Fe(8+e*t.name.length);i.write_shift(4,t.pos),i.write_shift(1,t.hs||0),i.write_shift(1,t.dt),i.write_shift(1,t.name.length),n.biff>=8&&i.write_shift(1,1),i.write_shift(e*t.name.length,t.name,n.biff<8?"sbcs":"utf16le");var r=i.slice(0,i.l);return r.l=i.l,r}function Jne(t,n,e,i){var r=e&&5==e.biff;i||(i=Fe(r?3+n.length:5+2*n.length)),i.write_shift(2,t),i.write_shift(r?1:2,n.length),r||i.write_shift(1,1),i.write_shift((r?1:2)*n.length,n,r?"sbcs":"utf16le");var o=i.length>i.l?i.slice(0,i.l):i;return null==o.l&&(o.l=o.length),o}function rP(t,n,e,i){var r=e&&5==e.biff;i||(i=Fe(r?16:20)),i.write_shift(2,0),t.style?(i.write_shift(2,t.numFmtId||0),i.write_shift(2,65524)):(i.write_shift(2,t.numFmtId||0),i.write_shift(2,n<<4));var o=0;return t.numFmtId>0&&r&&(o|=1024),i.write_shift(4,o),i.write_shift(4,0),r||i.write_shift(4,0),i.write_shift(2,0),i}function Tie(t){var n=Fe(24),e=tr(t[0]);n.write_shift(2,e.r),n.write_shift(2,e.r),n.write_shift(2,e.c),n.write_shift(2,e.c);for(var i="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),r=0;r<16;++r)n.write_shift(1,parseInt(i[r],16));return Or([n,_ne(t[1])])}function Eie(t){var n=t[1].Tooltip,e=Fe(10+2*(n.length+1));e.write_shift(2,2048);var i=tr(t[0]);e.write_shift(2,i.r),e.write_shift(2,i.r),e.write_shift(2,i.c),e.write_shift(2,i.c);for(var r=0;r<n.length;++r)e.write_shift(2,n.charCodeAt(r));return e.write_shift(2,0),e}var XT=function(){var t={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},n=vv({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function i(a,l){var d=l||{};d.dateNF||(d.dateNF="yyyymmdd");var f=Sh(function e(a,l){var d=[],f=Oc(1);switch(l.type){case"base64":f=As(ks(a));break;case"binary":f=As(a);break;case"buffer":case"array":f=a}Kr(f,0);var m=f.read_shift(1),g=!!(136&m),b=!1,M=!1;switch(m){case 2:case 3:case 131:case 139:case 245:break;case 48:case 49:b=!0,g=!0;break;case 140:M=!0;break;default:throw new Error("DBF Unsupported Version: "+m.toString(16))}var y=0,T=521;2==m&&(y=f.read_shift(2)),f.l+=3,2!=m&&(y=f.read_shift(4)),y>1048576&&(y=1e6),2!=m&&(T=f.read_shift(2));var k=f.read_shift(2),O=l.codepage||1252;2!=m&&(f.l+=16,f.read_shift(1),0!==f[f.l]&&(O=t[f[f.l]]),f.l+=1,f.l+=2),M&&(f.l+=36);for(var N=[],H={},U=Math.min(f.length,2==m?521:T-10-(b?264:0)),Q=M?32:11;f.l<U&&13!=f[f.l];)switch(H={},H.name=Sn.utils.decode(O,f.slice(f.l,f.l+Q)).replace(/[\u0000\r\n].*$/g,""),f.l+=Q,H.type=String.fromCharCode(f.read_shift(1)),2!=m&&!M&&(H.offset=f.read_shift(4)),H.len=f.read_shift(1),2==m&&(H.offset=f.read_shift(2)),H.dec=f.read_shift(1),H.name.length&&N.push(H),2!=m&&(f.l+=M?13:14),H.type){case"B":(!b||8!=H.len)&&l.WTF&&console.log("Skipping "+H.name+":"+H.type);break;case"G":case"P":l.WTF&&console.log("Skipping "+H.name+":"+H.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+H.type)}if(13!==f[f.l]&&(f.l=T-1),13!==f.read_shift(1))throw new Error("DBF Terminator not found "+f.l+" "+f[f.l]);f.l=T;var W=0,J=0;for(d[0]=[],J=0;J!=N.length;++J)d[0][J]=N[J].name;for(;y-- >0;)if(42!==f[f.l])for(++f.l,d[++W]=[],J=0,J=0;J!=N.length;++J){var ne=f.slice(f.l,f.l+N[J].len);f.l+=N[J].len,Kr(ne,0);var he=Sn.utils.decode(O,ne);switch(N[J].type){case"C":he.trim().length&&(d[W][J]=he.replace(/\s+$/,""));break;case"D":d[W][J]=8===he.length?new Date(+he.slice(0,4),+he.slice(4,6)-1,+he.slice(6,8)):he;break;case"F":d[W][J]=parseFloat(he.trim());break;case"+":case"I":d[W][J]=M?2147483648^ne.read_shift(-4,"i"):ne.read_shift(4,"i");break;case"L":switch(he.trim().toUpperCase()){case"Y":case"T":d[W][J]=!0;break;case"N":case"F":d[W][J]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+he+"|")}break;case"M":if(!g)throw new Error("DBF Unexpected MEMO for type "+m.toString(16));d[W][J]="##MEMO##"+(M?parseInt(he.trim(),10):ne.read_shift(4));break;case"N":(he=he.replace(/\u0000/g,"").trim())&&"."!=he&&(d[W][J]=+he||0);break;case"@":d[W][J]=new Date(ne.read_shift(-8,"f")-621356832e5);break;case"T":d[W][J]=new Date(864e5*(ne.read_shift(4)-2440588)+ne.read_shift(4));break;case"Y":d[W][J]=ne.read_shift(4,"i")/1e4+ne.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":d[W][J]=-ne.read_shift(-8,"f");break;case"B":if(b&&8==N[J].len){d[W][J]=ne.read_shift(8,"f");break}case"G":case"P":ne.l+=N[J].len;break;case"0":if("_NullFlags"===N[J].name)break;default:throw new Error("DBF Unsupported data type "+N[J].type)}}else f.l+=k;if(2!=m&&f.l<f.length&&26!=f[f.l++])throw new Error("DBF EOF Marker missing "+(f.l-1)+" of "+f.length+" "+f[f.l-1].toString(16));return l&&l.sheetRows&&(d=d.slice(0,l.sheetRows)),l.DBF=N,d}(a,d),d);return f["!cols"]=d.DBF.map(function(m){return{wch:m.len,DBF:m}}),delete d.DBF,f}var o={B:8,C:250,L:1,D:8,"?":0,"":0};return{to_workbook:function r(a,l){try{return Hc(i(a,l),l)}catch(d){if(l&&l.WTF)throw d}return{SheetNames:[],Sheets:{}}},to_sheet:i,from_sheet:function s(a,l){var d=l||{};if(+d.codepage>=0&&oa(+d.codepage),"string"==d.type)throw new Error("Cannot write DBF to JS string");var f=Vo(),m=zv(a,{header:1,raw:!0,cellDates:!0}),g=m[0],b=m.slice(1),M=a["!cols"]||[],y=0,T=0,k=0,O=1;for(y=0;y<g.length;++y)if(((M[y]||{}).DBF||{}).name)g[y]=M[y].DBF.name,++k;else if(null!=g[y]){if(++k,"number"==typeof g[y]&&(g[y]=g[y].toString(10)),"string"!=typeof g[y])throw new Error("DBF Invalid column name "+g[y]+" |"+typeof g[y]+"|");if(g.indexOf(g[y])!==y)for(T=0;T<1024;++T)if(-1==g.indexOf(g[y]+"_"+T)){g[y]+="_"+T;break}}var N=Tn(a["!ref"]),H=[],U=[],Q=[];for(y=0;y<=N.e.c-N.s.c;++y){var W="",J="",ne=0,he=[];for(T=0;T<b.length;++T)null!=b[T][y]&&he.push(b[T][y]);if(0!=he.length&&null!=g[y]){for(T=0;T<he.length;++T){switch(typeof he[T]){case"number":J="B";break;case"string":default:J="C";break;case"boolean":J="L";break;case"object":J=he[T]instanceof Date?"D":"C"}ne=Math.max(ne,String(he[T]).length),W=W&&W!=J?"C":J}ne>250&&(ne=250),"C"==(J=((M[y]||{}).DBF||{}).type)&&M[y].DBF.len>ne&&(ne=M[y].DBF.len),"B"==W&&"N"==J&&(W="N",Q[y]=M[y].DBF.dec,ne=M[y].DBF.len),U[y]="C"==W||"N"==J?ne:o[W]||0,O+=U[y],H[y]=W}else H[y]="?"}var pe=f.next(32);for(pe.write_shift(4,318902576),pe.write_shift(4,b.length),pe.write_shift(2,296+32*k),pe.write_shift(2,O),y=0;y<4;++y)pe.write_shift(4,0);for(pe.write_shift(4,0|(+n[Kd]||3)<<8),y=0,T=0;y<g.length;++y)if(null!=g[y]){var ue=f.next(32),Ie=(g[y].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);ue.write_shift(1,Ie,"sbcs"),ue.write_shift(1,"?"==H[y]?"C":H[y],"sbcs"),ue.write_shift(4,T),ue.write_shift(1,U[y]||o[H[y]]||0),ue.write_shift(1,Q[y]||0),ue.write_shift(1,2),ue.write_shift(4,0),ue.write_shift(1,0),ue.write_shift(4,0),ue.write_shift(4,0),T+=U[y]||o[H[y]]||0}var Qe=f.next(264);for(Qe.write_shift(4,13),y=0;y<65;++y)Qe.write_shift(4,0);for(y=0;y<b.length;++y){var Ve=f.next(O);for(Ve.write_shift(1,0),T=0;T<g.length;++T)if(null!=g[T])switch(H[T]){case"L":Ve.write_shift(1,null==b[y][T]?63:b[y][T]?84:70);break;case"B":Ve.write_shift(8,b[y][T]||0,"f");break;case"N":var be="0";for("number"==typeof b[y][T]&&(be=b[y][T].toFixed(Q[T]||0)),k=0;k<U[T]-be.length;++k)Ve.write_shift(1,32);Ve.write_shift(1,be,"sbcs");break;case"D":b[y][T]?(Ve.write_shift(4,("0000"+b[y][T].getFullYear()).slice(-4),"sbcs"),Ve.write_shift(2,("00"+(b[y][T].getMonth()+1)).slice(-2),"sbcs"),Ve.write_shift(2,("00"+b[y][T].getDate()).slice(-2),"sbcs")):Ve.write_shift(8,"00000000","sbcs");break;case"C":var Ce=String(null!=b[y][T]?b[y][T]:"").slice(0,U[T]);for(Ve.write_shift(1,Ce,"sbcs"),k=0;k<U[T]-Ce.length;++k)Ve.write_shift(1,32)}}return f.next(1).write_shift(1,26),f.end()}}}(),fP=function(){var t={AA:"\xc0",BA:"\xc1",CA:"\xc2",DA:195,HA:"\xc4",JA:197,AE:"\xc8",BE:"\xc9",CE:"\xca",HE:"\xcb",AI:"\xcc",BI:"\xcd",CI:"\xce",HI:"\xcf",AO:"\xd2",BO:"\xd3",CO:"\xd4",DO:213,HO:"\xd6",AU:"\xd9",BU:"\xda",CU:"\xdb",HU:"\xdc",Aa:"\xe0",Ba:"\xe1",Ca:"\xe2",Da:227,Ha:"\xe4",Ja:229,Ae:"\xe8",Be:"\xe9",Ce:"\xea",He:"\xeb",Ai:"\xec",Bi:"\xed",Ci:"\xee",Hi:"\xef",Ao:"\xf2",Bo:"\xf3",Co:"\xf4",Do:245,Ho:"\xf6",Au:"\xf9",Bu:"\xfa",Cu:"\xfb",Hu:"\xfc",KC:"\xc7",Kc:"\xe7",q:"\xe6",z:"\u0153",a:"\xc6",j:"\u0152",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},n=new RegExp("\x1bN("+Ui(t).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),e=function(g,b){var M=t[b];return"number"==typeof M?uT(M):M},i=function(g,b,M){var y=b.charCodeAt(0)-32<<4|M.charCodeAt(0)-48;return 59==y?g:uT(y)};function o(g,b){var pe,M=g.split(/[\n\r]+/),y=-1,T=-1,k=0,O=0,N=[],H=[],U=null,Q={},W=[],J=[],ne=[],he=0;for(+b.codepage>=0&&oa(+b.codepage);k!==M.length;++k){he=0;var Ve,ue=M[k].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,i).replace(n,e),Ie=ue.replace(/;;/g,"\0").split(";").map(function(de){return de.replace(/\u0000/g,";")});if(ue.length>0)switch(Ie[0]){case"ID":case"E":case"B":case"O":case"W":break;case"P":"P"==Ie[1].charAt(0)&&H.push(ue.slice(3).replace(/;;/g,";"));break;case"C":var be=!1,Ce=!1,Ue=!1,Ae=!1,it=-1,Le=-1;for(O=1;O<Ie.length;++O)switch(Ie[O].charAt(0)){case"A":case"G":break;case"X":T=parseInt(Ie[O].slice(1))-1,Ce=!0;break;case"Y":for(y=parseInt(Ie[O].slice(1))-1,Ce||(T=0),pe=N.length;pe<=y;++pe)N[pe]=[];break;case"K":'"'===(Ve=Ie[O].slice(1)).charAt(0)?Ve=Ve.slice(1,Ve.length-1):"TRUE"===Ve?Ve=!0:"FALSE"===Ve?Ve=!1:isNaN(Na(Ve))?isNaN(Th(Ve).getDate())||(Ve=Oi(Ve)):(Ve=Na(Ve),null!==U&&Ch(U)&&(Ve=gT(Ve))),typeof Sn<"u"&&"string"==typeof Ve&&"string"!=(b||{}).type&&(b||{}).codepage&&(Ve=Sn.utils.decode(b.codepage,Ve)),be=!0;break;case"E":Ae=!0;var se=Nh(Ie[O].slice(1),{r:y,c:T});N[y][T]=[N[y][T],se];break;case"S":Ue=!0,N[y][T]=[N[y][T],"S5S"];break;case"R":it=parseInt(Ie[O].slice(1))-1;break;case"C":Le=parseInt(Ie[O].slice(1))-1;break;default:if(b&&b.WTF)throw new Error("SYLK bad record "+ue)}if(be&&(N[y][T]&&2==N[y][T].length?N[y][T][0]=Ve:N[y][T]=Ve,U=null),Ue){if(Ae)throw new Error("SYLK shared formula cannot have own formula");var _e=it>-1&&N[it][Le];if(!_e||!_e[1])throw new Error("SYLK shared formula cannot find base");N[y][T][1]=NP(_e[1],{r:y-it,c:T-Le})}break;case"F":var le=0;for(O=1;O<Ie.length;++O)switch(Ie[O].charAt(0)){case"X":T=parseInt(Ie[O].slice(1))-1,++le;break;case"Y":for(y=parseInt(Ie[O].slice(1))-1,pe=N.length;pe<=y;++pe)N[pe]=[];break;case"M":he=parseInt(Ie[O].slice(1))/20;break;case"F":case"G":case"S":case"D":case"N":break;case"P":U=H[parseInt(Ie[O].slice(1))];break;case"W":for(ne=Ie[O].slice(1).split(" "),pe=parseInt(ne[0],10);pe<=parseInt(ne[1],10);++pe)he=parseInt(ne[2],10),J[pe-1]=0===he?{hidden:!0}:{wch:he},jc(J[pe-1]);break;case"C":J[T=parseInt(Ie[O].slice(1))-1]||(J[T]={});break;case"R":W[y=parseInt(Ie[O].slice(1))-1]||(W[y]={}),he>0?(W[y].hpt=he,W[y].hpx=Lv(he)):0===he&&(W[y].hidden=!0);break;default:if(b&&b.WTF)throw new Error("SYLK bad record "+ue)}le<1&&(U=null);break;default:if(b&&b.WTF)throw new Error("SYLK bad record "+ue)}}return W.length>0&&(Q["!rows"]=W),J.length>0&&(Q["!cols"]=J),b&&b.sheetRows&&(N=N.slice(0,b.sheetRows)),[N,Q]}function s(g,b){var M=function r(g,b){switch(b.type){case"base64":return o(ks(g),b);case"binary":return o(g,b);case"buffer":return o(gn&&Buffer.isBuffer(g)?g.toString("binary"):Ic(g),b);case"array":return o(tu(g),b)}throw new Error("Unrecognized type "+b.type)}(g,b),T=M[1],k=Sh(M[0],b);return Ui(T).forEach(function(O){k[O]=T[O]}),k}function l(g,b,M,y){var T="C;Y"+(M+1)+";X"+(y+1)+";K";switch(g.t){case"n":T+=g.v||0,g.f&&!g.F&&(T+=";E"+n2(g.f,{r:M,c:y}));break;case"b":T+=g.v?"TRUE":"FALSE";break;case"e":T+=g.w||g.v;break;case"d":T+='"'+(g.w||g.v)+'"';break;case"s":T+='"'+g.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return T}return t["|"]=254,{to_workbook:function a(g,b){return Hc(s(g,b),b)},to_sheet:s,from_sheet:function m(g,b){var k,M=["ID;PWXL;N;E"],y=[],T=Tn(g["!ref"]),O=Array.isArray(g),N="\r\n";M.push("P;PGeneral"),M.push("F;P0;DG0G8;M255"),g["!cols"]&&function d(g,b){b.forEach(function(M,y){var T="F;W"+(y+1)+" "+(y+1)+" ";M.hidden?T+="0":("number"==typeof M.width&&!M.wpx&&(M.wpx=xg(M.width)),"number"==typeof M.wpx&&!M.wch&&(M.wch=Tg(M.wpx)),"number"==typeof M.wch&&(T+=Math.round(M.wch)))," "!=T.charAt(T.length-1)&&g.push(T)})}(M,g["!cols"]),g["!rows"]&&function f(g,b){b.forEach(function(M,y){var T="F;";M.hidden?T+="M0;":M.hpt?T+="M"+20*M.hpt+";":M.hpx&&(T+="M"+20*wg(M.hpx)+";"),T.length>2&&g.push(T+"R"+(y+1))})}(M,g["!rows"]),M.push("B;Y"+(T.e.r-T.s.r+1)+";X"+(T.e.c-T.s.c+1)+";D"+[T.s.c,T.s.r,T.e.c,T.e.r].join(" "));for(var H=T.s.r;H<=T.e.r;++H)for(var U=T.s.c;U<=T.e.c;++U){var Q=zt({r:H,c:U});(k=O?(g[H]||[])[U]:g[Q])&&(null!=k.v||k.f&&!k.F)&&y.push(l(k,0,H,U))}return M.join(N)+N+y.join(N)+N+"E"+N}}}(),hP=function(){function n(o,s){for(var a=o.split("\n"),l=-1,d=-1,f=0,m=[];f!==a.length;++f)if("BOT"!==a[f].trim()){if(!(l<0)){for(var g=a[f].trim().split(","),b=g[0],M=g[1],y=a[++f]||"";1&(y.match(/["]/g)||[]).length&&f<a.length-1;)y+="\n"+a[++f];switch(y=y.trim(),+b){case-1:if("BOT"===y){m[++l]=[],d=0;continue}if("EOD"!==y)throw new Error("Unrecognized DIF special command "+y);break;case 0:m[l][d]="TRUE"===y||"FALSE"!==y&&(isNaN(Na(M))?isNaN(Th(M).getDate())?M:Oi(M):Na(M)),++d;break;case 1:y=(y=y.slice(1,y.length-1)).replace(/""/g,'"'),sg&&y&&y.match(/^=".*"$/)&&(y=y.slice(2,-1)),m[l][d++]=""!==y?y:null}if("EOD"===y)break}}else m[++l]=[],d=0;return s&&s.sheetRows&&(m=m.slice(0,s.sheetRows)),m}function e(o,s){return Sh(function t(o,s){switch(s.type){case"base64":return n(ks(o),s);case"binary":return n(o,s);case"buffer":return n(gn&&Buffer.isBuffer(o)?o.toString("binary"):Ic(o),s);case"array":return n(tu(o),s)}throw new Error("Unrecognized type "+s.type)}(o,s),s)}return{to_workbook:function i(o,s){return Hc(e(o,s),s)},to_sheet:e,from_sheet:function(){var o=function(l,d,f,m,g){l.push(d),l.push(f+","+m),l.push('"'+g.replace(/"/g,'""')+'"')},s=function(l,d,f,m){l.push(d+","+f),l.push(1==d?'"'+m.replace(/"/g,'""')+'"':m)};return function(l){var m,d=[],f=Tn(l["!ref"]),g=Array.isArray(l);o(d,"TABLE",0,1,"sheetjs"),o(d,"VECTORS",0,f.e.r-f.s.r+1,""),o(d,"TUPLES",0,f.e.c-f.s.c+1,""),o(d,"DATA",0,0,"");for(var b=f.s.r;b<=f.e.r;++b){s(d,-1,0,"BOT");for(var M=f.s.c;M<=f.e.c;++M){var y=zt({r:b,c:M});if(m=g?(l[b]||[])[M]:l[y])switch(m.t){case"n":var T=sg?m.w:m.v;!T&&null!=m.v&&(T=m.v),null==T?s(d,1,0,sg&&m.f&&!m.F?"="+m.f:""):s(d,0,T,"V");break;case"b":s(d,0,m.v?1:0,m.v?"TRUE":"FALSE");break;case"s":s(d,1,0,!sg||isNaN(m.v)?m.v:'="'+m.v+'"');break;case"d":m.w||(m.w=Rs(m.z||Vt[14],Ir(Oi(m.v)))),sg?s(d,0,m.w,"V"):s(d,1,0,m.w);break;default:s(d,1,0,"")}else s(d,1,0,"")}}return s(d,-1,0,"EOD"),d.join("\r\n")}}()}}(),pP=function(){function t(m){return m.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n")}function n(m){return m.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function i(m,g){return Sh(function e(m,g){for(var b=m.split("\n"),M=-1,y=-1,T=0,k=[];T!==b.length;++T){var O=b[T].trim().split(":");if("cell"===O[0]){var N=tr(O[1]);if(k.length<=N.r)for(M=k.length;M<=N.r;++M)k[M]||(k[M]=[]);switch(M=N.r,y=N.c,O[2]){case"t":k[M][y]=t(O[3]);break;case"v":k[M][y]=+O[3];break;case"vtf":var H=O[O.length-1];case"vtc":k[M][y]="nl"===O[3]?!!+O[4]:+O[4],"vtf"==O[2]&&(k[M][y]=[k[M][y],H])}}}return g&&g.sheetRows&&(k=k.slice(0,g.sheetRows)),k}(m,g),g)}var o=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n"),s=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n",a=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n"),l="--SocialCalcSpreadsheetControlSave--";function d(m){if(!m||!m["!ref"])return"";for(var M,g=[],b=[],y="",T=Ho(m["!ref"]),k=Array.isArray(m),O=T.s.r;O<=T.e.r;++O)for(var N=T.s.c;N<=T.e.c;++N)if(y=zt({r:O,c:N}),(M=k?(m[O]||[])[N]:m[y])&&null!=M.v&&"z"!==M.t){switch(b=["cell",y,"t"],M.t){case"s":case"str":b.push(n(M.v));break;case"n":M.f?(b[2]="vtf",b[3]="n",b[4]=M.v,b[5]=n(M.f)):(b[2]="v",b[3]=M.v);break;case"b":b[2]="vt"+(M.f?"f":"c"),b[3]="nl",b[4]=M.v?"1":"0",b[5]=n(M.f||(M.v?"TRUE":"FALSE"));break;case"d":var H=Ir(Oi(M.v));b[2]="vtc",b[3]="nd",b[4]=""+H,b[5]=M.w||Rs(M.z||Vt[14],H);break;case"e":continue}g.push(b.join(":"))}return g.push("sheet:c:"+(T.e.c-T.s.c+1)+":r:"+(T.e.r-T.s.r+1)+":tvf:1"),g.push("valueformat:1:text-wiki"),g.join("\n")}return{to_workbook:function r(m,g){return Hc(i(m,g),g)},to_sheet:i,from_sheet:function f(m){return[o,s,a,s,d(m),l].join("\n")}}}(),Rh=function(){function t(f,m,g,b,M){M.raw?m[g][b]=f:""===f||(m[g][b]="TRUE"===f||"FALSE"!==f&&(isNaN(Na(f))?isNaN(Th(f).getDate())?f:Oi(f):Na(f)))}var e={44:",",9:"\t",59:";",124:"|"},i={44:3,9:2,59:1,124:0};function r(f){for(var m={},g=!1,b=0,M=0;b<f.length;++b)34==(M=f.charCodeAt(b))?g=!g:!g&&M in e&&(m[M]=(m[M]||0)+1);for(b in M=[],m)Object.prototype.hasOwnProperty.call(m,b)&&M.push([m[b],b]);if(!M.length)for(b in m=i)Object.prototype.hasOwnProperty.call(m,b)&&M.push([m[b],b]);return M.sort(function(y,T){return y[0]-T[0]||i[y[1]]-i[T[1]]}),e[M.pop()[1]]||44}function s(f,m){return!m||!m.PRN||m.FS||"sep="==f.slice(0,4)||f.indexOf("\t")>=0||f.indexOf(",")>=0||f.indexOf(";")>=0?function o(f,m){var g=m||{},b="";null!=Yi&&null==g.dense&&(g.dense=Yi);var M=g.dense?[]:{},y={s:{c:0,r:0},e:{c:0,r:0}};"sep="==f.slice(0,4)?13==f.charCodeAt(5)&&10==f.charCodeAt(6)?(b=f.charAt(4),f=f.slice(7)):13==f.charCodeAt(5)||10==f.charCodeAt(5)?(b=f.charAt(4),f=f.slice(6)):b=r(f.slice(0,1024)):b=g&&g.FS?g.FS:r(f.slice(0,1024));var T=0,k=0,O=0,N=0,H=0,U=b.charCodeAt(0),Q=!1,W=0,J=f.charCodeAt(0);f=f.replace(/\r\n/gm,"\n");var ne=null!=g.dateNF?function Nee(t){var n="number"==typeof t?Vt[t]:t;return n=n.replace(I3,"(\\d+)"),new RegExp("^"+n+"$")}(g.dateNF):null;function he(){var pe=f.slice(N,H),ue={};if('"'==pe.charAt(0)&&'"'==pe.charAt(pe.length-1)&&(pe=pe.slice(1,-1).replace(/""/g,'"')),0===pe.length)ue.t="z";else if(g.raw)ue.t="s",ue.v=pe;else if(0===pe.trim().length)ue.t="s",ue.v=pe;else if(61==pe.charCodeAt(0))34==pe.charCodeAt(1)&&34==pe.charCodeAt(pe.length-1)?(ue.t="s",ue.v=pe.slice(2,-1).replace(/""/g,'"')):function ise(t){return 1!=t.length}(pe)?(ue.t="n",ue.f=pe.slice(1)):(ue.t="s",ue.v=pe);else if("TRUE"==pe)ue.t="b",ue.v=!0;else if("FALSE"==pe)ue.t="b",ue.v=!1;else if(isNaN(O=Na(pe)))if(!isNaN(Th(pe).getDate())||ne&&pe.match(ne)){ue.z=g.dateNF||Vt[14];var Ie=0;ne&&pe.match(ne)&&(pe=function Oee(t,n,e){var i=-1,r=-1,o=-1,s=-1,a=-1,l=-1;(n.match(I3)||[]).forEach(function(m,g){var b=parseInt(e[g+1],10);switch(m.toLowerCase().charAt(0)){case"y":i=b;break;case"d":o=b;break;case"h":s=b;break;case"s":l=b;break;case"m":s>=0?a=b:r=b}}),l>=0&&-1==a&&r>=0&&(a=r,r=-1);var d=(""+(i>=0?i:(new Date).getFullYear())).slice(-4)+"-"+("00"+(r>=1?r:1)).slice(-2)+"-"+("00"+(o>=1?o:1)).slice(-2);7==d.length&&(d="0"+d),8==d.length&&(d="20"+d);var f=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(a>=0?a:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return-1==s&&-1==a&&-1==l?d:-1==i&&-1==r&&-1==o?f:d+"T"+f}(0,g.dateNF,pe.match(ne)||[]),Ie=1),g.cellDates?(ue.t="d",ue.v=Oi(pe,Ie)):(ue.t="n",ue.v=Ir(Oi(pe,Ie))),!1!==g.cellText&&(ue.w=Rs(ue.z,ue.v instanceof Date?Ir(ue.v):ue.v)),g.cellNF||delete ue.z}else ue.t="s",ue.v=pe;else ue.t="n",!1!==g.cellText&&(ue.w=pe),ue.v=O;if("z"==ue.t||(g.dense?(M[T]||(M[T]=[]),M[T][k]=ue):M[zt({c:k,r:T})]=ue),J=f.charCodeAt(N=H+1),y.e.c<k&&(y.e.c=k),y.e.r<T&&(y.e.r=T),W==U)++k;else if(k=0,++T,g.sheetRows&&g.sheetRows<=T)return!0}e:for(;H<f.length;++H)switch(W=f.charCodeAt(H)){case 34:34===J&&(Q=!Q);break;case U:case 10:case 13:if(!Q&&he())break e}return H-N>0&&he(),M["!ref"]=an(y),M}(f,m):Sh(function n(f,m){var g=m||{},b=[];if(!f||0===f.length)return b;for(var M=f.split(/[\r\n]/),y=M.length-1;y>=0&&0===M[y].length;)--y;for(var T=10,k=0,O=0;O<=y;++O)-1==(k=M[O].indexOf(" "))?k=M[O].length:k++,T=Math.max(T,k);for(O=0;O<=y;++O){b[O]=[];var N=0;for(t(M[O].slice(0,T).trim(),b,O,N,g),N=1;N<=(M[O].length-T)/10+1;++N)t(M[O].slice(T+10*(N-1),T+10*N).trim(),b,O,N,g)}return g.sheetRows&&(b=b.slice(0,g.sheetRows)),b}(f,m),m)}function a(f,m){var g="",b="string"==m.type?[0,0,0,0]:function D2(t,n){var e="";switch((n||{}).type||"base64"){case"buffer":case"array":return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]];case"base64":e=ks(t.slice(0,12));break;case"binary":e=t;break;default:throw new Error("Unrecognized type "+(n&&n.type||"undefined"))}return[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3),e.charCodeAt(4),e.charCodeAt(5),e.charCodeAt(6),e.charCodeAt(7)]}(f,m);switch(m.type){case"base64":g=ks(f);break;case"binary":case"string":g=f;break;case"buffer":g=65001==m.codepage?f.toString("utf8"):m.codepage&&typeof Sn<"u"?Sn.utils.decode(m.codepage,f):gn&&Buffer.isBuffer(f)?f.toString("binary"):Ic(f);break;case"array":g=tu(f);break;default:throw new Error("Unrecognized type "+m.type)}return 239==b[0]&&187==b[1]&&191==b[2]?g=gi(g.slice(3)):"string"!=m.type&&"buffer"!=m.type&&65001==m.codepage?g=gi(g):"binary"==m.type&&typeof Sn<"u"&&m.codepage&&(g=Sn.utils.decode(m.codepage,Sn.utils.encode(28591,g))),"socialcalc:version:"==g.slice(0,19)?pP.to_sheet("string"==m.type?g:gi(g),m):s(g,m)}return{to_workbook:function l(f,m){return Hc(a(f,m),m)},to_sheet:a,from_sheet:function d(f){for(var b,m=[],g=Tn(f["!ref"]),M=Array.isArray(f),y=g.s.r;y<=g.e.r;++y){for(var T=[],k=g.s.c;k<=g.e.c;++k){var O=zt({r:y,c:k});if((b=M?(f[y]||[])[k]:f[O])&&null!=b.v){for(var N=(b.w||(al(b),b.w)||"").slice(0,10);N.length<10;)N+=" ";T.push(N+(0===k?" ":""))}else T.push(" ")}m.push(T.join(""))}return m.join("\n")}}}(),hu=function(){function t(se,_e,le){if(se){Kr(se,se.l||0);for(var de=le.Enum||it;se.l<se.length;){var Se=se.read_shift(2),qe=de[Se]||de[65535],ze=se.read_shift(2),We=se.l+ze,He=qe.f&&qe.f(se,ze,le);if(se.l=We,_e(He,qe,Se))return}}}function e(se,_e){if(!se)return se;var le=_e||{};null!=Yi&&null==le.dense&&(le.dense=Yi);var de=le.dense?[]:{},Se="Sheet1",qe="",ze=0,We={},He=[],$t=[],ce={s:{r:0,c:0},e:{r:0,c:0}},Ln=le.sheetRows||0;if(0==se[2]&&(8==se[3]||9==se[3])&&se.length>=16&&5==se[14]&&108===se[15])throw new Error("Unsupported Works 3 for Mac file");if(2==se[2])le.Enum=it,t(se,function(st,Pi,as){switch(as){case 0:le.vers=st,st>=4096&&(le.qpro=!0);break;case 6:ce=st;break;case 204:st&&(qe=st);break;case 222:qe=st;break;case 15:case 51:le.qpro||(st[1].v=st[1].v.slice(1));case 13:case 14:case 16:14==as&&112==(112&st[2])&&(15&st[2])>1&&(15&st[2])<15&&(st[1].z=le.dateNF||Vt[14],le.cellDates&&(st[1].t="d",st[1].v=gT(st[1].v))),le.qpro&&st[3]>ze&&(de["!ref"]=an(ce),We[Se]=de,He.push(Se),de=le.dense?[]:{},ce={s:{r:0,c:0},e:{r:0,c:0}},ze=st[3],Se=qe||"Sheet"+(ze+1),qe="");var Yr=le.dense?(de[st[0].r]||[])[st[0].c]:de[zt(st[0])];if(Yr){Yr.t=st[1].t,Yr.v=st[1].v,null!=st[1].z&&(Yr.z=st[1].z),null!=st[1].f&&(Yr.f=st[1].f);break}le.dense?(de[st[0].r]||(de[st[0].r]=[]),de[st[0].r][st[0].c]=st[1]):de[zt(st[0])]=st[1]}},le);else{if(26!=se[2]&&14!=se[2])throw new Error("Unrecognized LOTUS BOF "+se[2]);le.Enum=Le,14==se[2]&&(le.qpro=!0,se.l=0),t(se,function(st,Pi,as){switch(as){case 204:Se=st;break;case 22:st[1].v=st[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(st[3]>ze&&(de["!ref"]=an(ce),We[Se]=de,He.push(Se),de=le.dense?[]:{},ce={s:{r:0,c:0},e:{r:0,c:0}},Se="Sheet"+((ze=st[3])+1)),Ln>0&&st[0].r>=Ln)break;le.dense?(de[st[0].r]||(de[st[0].r]=[]),de[st[0].r][st[0].c]=st[1]):de[zt(st[0])]=st[1],ce.e.c<st[0].c&&(ce.e.c=st[0].c),ce.e.r<st[0].r&&(ce.e.r=st[0].r);break;case 27:st[14e3]&&($t[st[14e3][0]]=st[14e3][1]);break;case 1537:$t[st[0]]=st[1],st[0]==ze&&(Se=st[1])}},le)}if(de["!ref"]=an(ce),We[qe||Se]=de,He.push(qe||Se),!$t.length)return{SheetNames:He,Sheets:We};for(var _n={},Hn=[],pn=0;pn<$t.length;++pn)We[He[pn]]?(Hn.push($t[pn]||He[pn]),_n[$t[pn]]=We[$t[pn]]||We[He[pn]]):(Hn.push($t[pn]),_n[$t[pn]]={"!ref":"A1"});return{SheetNames:Hn,Sheets:_n}}function d(se,_e,le){var de=[{c:0,r:0},{t:"n",v:0},0,0];return le.qpro&&20768!=le.vers?(de[0].c=se.read_shift(1),de[3]=se.read_shift(1),de[0].r=se.read_shift(2),se.l+=2):(de[2]=se.read_shift(1),de[0].c=se.read_shift(2),de[0].r=se.read_shift(2)),de}function f(se,_e,le){var de=se.l+_e,Se=d(se,0,le);if(Se[1].t="s",20768==le.vers){se.l++;var qe=se.read_shift(1);return Se[1].v=se.read_shift(qe,"utf8"),Se}return le.qpro&&se.l++,Se[1].v=se.read_shift(de-se.l,"cstr"),Se}function m(se,_e,le){var de=Fe(7+le.length);de.write_shift(1,255),de.write_shift(2,_e),de.write_shift(2,se),de.write_shift(1,39);for(var Se=0;Se<de.length;++Se){var qe=le.charCodeAt(Se);de.write_shift(1,qe>=128?95:qe)}return de.write_shift(1,0),de}function b(se,_e,le){var de=Fe(7);return de.write_shift(1,255),de.write_shift(2,_e),de.write_shift(2,se),de.write_shift(2,le,"i"),de}function y(se,_e,le){var de=Fe(13);return de.write_shift(1,255),de.write_shift(2,_e),de.write_shift(2,se),de.write_shift(8,le,"f"),de}function k(se,_e,le){var de=32768&_e;return _e=(de?se:0)+((_e&=-32769)>=8192?_e-16384:_e),(de?"":"$")+(le?_i(_e):$i(_e))}var O={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},N=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function U(se){var _e=[{c:0,r:0},{t:"n",v:0},0];return _e[0].r=se.read_shift(2),_e[3]=se[se.l++],_e[0].c=se[se.l++],_e}function W(se,_e,le,de){var Se=Fe(6+de.length);Se.write_shift(2,se),Se.write_shift(1,le),Se.write_shift(1,_e),Se.write_shift(1,39);for(var qe=0;qe<de.length;++qe){var ze=de.charCodeAt(qe);Se.write_shift(1,ze>=128?95:ze)}return Se.write_shift(1,0),Se}function ne(se,_e){var le=U(se),de=se.read_shift(4),Se=se.read_shift(4),qe=se.read_shift(2);if(65535==qe)return 0===de&&3221225472===Se?(le[1].t="e",le[1].v=15):0===de&&3489660928===Se?(le[1].t="e",le[1].v=42):le[1].v=0,le;var ze=32768&qe;return qe=(32767&qe)-16446,le[1].v=(1-2*ze)*(Se*Math.pow(2,qe+32)+de*Math.pow(2,qe)),le}function he(se,_e,le,de){var Se=Fe(14);if(Se.write_shift(2,se),Se.write_shift(1,le),Se.write_shift(1,_e),0==de)return Se.write_shift(4,0),Se.write_shift(4,0),Se.write_shift(2,65535),Se;var qe=0,ze=0,He=0;return de<0&&(qe=1,de=-de),ze=0|Math.log2(de),2147483648&(He=(de/=Math.pow(2,ze-31))>>>0)||(++ze,He=(de/=2)>>>0),de-=He,He|=2147483648,He>>>=0,de*=Math.pow(2,32),Se.write_shift(4,de>>>0),Se.write_shift(4,He),Se.write_shift(2,ze+=16383+(qe?32768:0)),Se}function Ie(se,_e){var le=U(se),de=se.read_shift(8,"f");return le[1].v=de,le}function Ve(se,_e){return 0==se[se.l+_e-1]?se.read_shift(_e,"cstr"):""}function Ae(se,_e){var le=Fe(5+se.length);le.write_shift(2,14e3),le.write_shift(2,_e);for(var de=0;de<se.length;++de){var Se=se.charCodeAt(de);le[le.l++]=Se>127?95:Se}return le[le.l++]=0,le}var it={0:{n:"BOF",f:mr},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function a(se,_e,le){var de={s:{c:0,r:0},e:{c:0,r:0}};return 8==_e&&le.qpro?(de.s.c=se.read_shift(1),se.l++,de.s.r=se.read_shift(2),de.e.c=se.read_shift(1),se.l++,de.e.r=se.read_shift(2),de):(de.s.c=se.read_shift(2),de.s.r=se.read_shift(2),12==_e&&le.qpro&&(se.l+=2),de.e.c=se.read_shift(2),de.e.r=se.read_shift(2),12==_e&&le.qpro&&(se.l+=2),65535==de.s.c&&(de.s.c=de.e.c=de.s.r=de.e.r=0),de)}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function g(se,_e,le){var de=d(se,0,le);return de[1].v=se.read_shift(2,"i"),de}},14:{n:"NUMBER",f:function M(se,_e,le){var de=d(se,0,le);return de[1].v=se.read_shift(8,"f"),de}},15:{n:"LABEL",f},16:{n:"FORMULA",f:function T(se,_e,le){var de=se.l+_e,Se=d(se,0,le);if(Se[1].v=se.read_shift(8,"f"),le.qpro)se.l=de;else{var qe=se.read_shift(2);(function H(se,_e){Kr(se,0);for(var le=[],de=0,Se="",qe="",ze="",We="";se.l<se.length;){var He=se[se.l++];switch(He){case 0:le.push(se.read_shift(8,"f"));break;case 1:qe=k(_e[0].c,se.read_shift(2),!0),Se=k(_e[0].r,se.read_shift(2),!1),le.push(qe+Se);break;case 2:var $t=k(_e[0].c,se.read_shift(2),!0),ce=k(_e[0].r,se.read_shift(2),!1);qe=k(_e[0].c,se.read_shift(2),!0),Se=k(_e[0].r,se.read_shift(2),!1),le.push($t+ce+":"+qe+Se);break;case 3:if(se.l<se.length)return void console.error("WK1 premature formula end");break;case 4:le.push("("+le.pop()+")");break;case 5:le.push(se.read_shift(2));break;case 6:for(var Ln="";He=se[se.l++];)Ln+=String.fromCharCode(He);le.push('"'+Ln.replace(/"/g,'""')+'"');break;case 8:le.push("-"+le.pop());break;case 23:le.push("+"+le.pop());break;case 22:le.push("NOT("+le.pop()+")");break;case 20:case 21:We=le.pop(),ze=le.pop(),le.push(["AND","OR"][He-20]+"("+ze+","+We+")");break;default:if(He<32&&N[He])We=le.pop(),ze=le.pop(),le.push(ze+N[He]+We);else{if(!O[He])return He<=7?console.error("WK1 invalid opcode "+He.toString(16)):He<=24?console.error("WK1 unsupported op "+He.toString(16)):He<=30?console.error("WK1 invalid opcode "+He.toString(16)):He<=115?console.error("WK1 unsupported function opcode "+He.toString(16)):console.error("WK1 unrecognized opcode "+He.toString(16));if(69==(de=O[He][1])&&(de=se[se.l++]),de>le.length)return void console.error("WK1 bad formula parse 0x"+He.toString(16)+":|"+le.join("|")+"|");var _n=le.slice(-de);le.length-=de,le.push(O[He][0]+"("+_n.join(",")+")")}}}1==le.length?_e[1].f=""+le[0]:console.error("WK1 bad formula parse |"+le.join("|")+"|")})(se.slice(se.l,se.l+qe),Se),se.l+=qe}return Se}},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:Ve},222:{n:"SHEETNAMELP",f:function be(se,_e){var le=se[se.l++];le>_e-1&&(le=_e-1);for(var de="";de.length<le;)de+=String.fromCharCode(se[se.l++]);return de}},65535:{n:""}},Le={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:function Q(se,_e){var le=U(se);return le[1].t="s",le[1].v=se.read_shift(_e-4,"cstr"),le}},23:{n:"NUMBER17",f:ne},24:{n:"NUMBER18",f:function J(se,_e){var le=U(se);le[1].v=se.read_shift(2);var de=le[1].v>>1;if(1&le[1].v)switch(7&de){case 0:de=5e3*(de>>3);break;case 1:de=500*(de>>3);break;case 2:de=(de>>3)/20;break;case 3:de=(de>>3)/200;break;case 4:de=(de>>3)/2e3;break;case 5:de=(de>>3)/2e4;break;case 6:de=(de>>3)/16;break;case 7:de=(de>>3)/64}return le[1].v=de,le}},25:{n:"FORMULA19",f:function pe(se,_e){var le=ne(se);return se.l+=_e-14,le}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function Ue(se,_e){for(var le={},de=se.l+_e;se.l<de;){var Se=se.read_shift(2);if(14e3==Se){for(le[Se]=[0,""],le[Se][0]=se.read_shift(2);se[se.l];)le[Se][1]+=String.fromCharCode(se[se.l]),se.l++;se.l++}}return le}},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:function ue(se,_e){var le=U(se),de=se.read_shift(4);return le[1].v=de>>6,le}},38:{n:"??"},39:{n:"NUMBER27",f:Ie},40:{n:"FORMULA28",f:function Qe(se,_e){var le=Ie(se);return se.l+=_e-10,le}},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:Ve},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:function Ce(se,_e,le){if(le.qpro&&!(_e<21)){var de=se.read_shift(1);return se.l+=17,se.l+=1,se.l+=2,[de,se.read_shift(_e-21,"cstr")]}}},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:function i(se,_e){var le=_e||{};if(+le.codepage>=0&&oa(+le.codepage),"string"==le.type)throw new Error("Cannot write WK1 to JS string");var de=Vo(),Se=Tn(se["!ref"]),qe=Array.isArray(se),ze=[];et(de,0,function o(se){var _e=Fe(2);return _e.write_shift(2,se),_e}(1030)),et(de,6,function l(se){var _e=Fe(8);return _e.write_shift(2,se.s.c),_e.write_shift(2,se.s.r),_e.write_shift(2,se.e.c),_e.write_shift(2,se.e.r),_e}(Se));for(var We=Math.min(Se.e.r,8191),He=Se.s.r;He<=We;++He)for(var $t=$i(He),ce=Se.s.c;ce<=Se.e.c;++ce){He===Se.s.r&&(ze[ce]=_i(ce));var _n=qe?(se[He]||[])[ce]:se[ze[ce]+$t];_n&&"z"!=_n.t&&("n"==_n.t?(0|_n.v)==_n.v&&_n.v>=-32768&&_n.v<=32767?et(de,13,b(He,ce,_n.v)):et(de,14,y(He,ce,_n.v)):et(de,15,m(He,ce,al(_n).slice(0,239))))}return et(de,1),de.end()},book_to_wk3:function r(se,_e){var le=_e||{};if(+le.codepage>=0&&oa(+le.codepage),"string"==le.type)throw new Error("Cannot write WK3 to JS string");var de=Vo();et(de,0,function s(se){var _e=Fe(26);_e.write_shift(2,4096),_e.write_shift(2,4),_e.write_shift(4,0);for(var le=0,de=0,Se=0,qe=0;qe<se.SheetNames.length;++qe){var We=se.Sheets[se.SheetNames[qe]];if(We&&We["!ref"]){++Se;var He=Ho(We["!ref"]);le<He.e.r&&(le=He.e.r),de<He.e.c&&(de=He.e.c)}}return le>8191&&(le=8191),_e.write_shift(2,le),_e.write_shift(1,Se),_e.write_shift(1,de),_e.write_shift(2,0),_e.write_shift(2,0),_e.write_shift(1,1),_e.write_shift(1,2),_e.write_shift(4,0),_e.write_shift(4,0),_e}(se));for(var Se=0,qe=0;Se<se.SheetNames.length;++Se)(se.Sheets[se.SheetNames[Se]]||{})["!ref"]&&et(de,27,Ae(se.SheetNames[Se],qe++));var ze=0;for(Se=0;Se<se.SheetNames.length;++Se){var We=se.Sheets[se.SheetNames[Se]];if(We&&We["!ref"]){for(var He=Tn(We["!ref"]),$t=Array.isArray(We),ce=[],Ln=Math.min(He.e.r,8191),_n=He.s.r;_n<=Ln;++_n)for(var Hn=$i(_n),pn=He.s.c;pn<=He.e.c;++pn){_n===He.s.r&&(ce[pn]=_i(pn));var Pi=$t?(We[_n]||[])[pn]:We[ce[pn]+Hn];Pi&&"z"!=Pi.t&&("n"==Pi.t?et(de,23,he(_n,pn,ze,Pi.v)):et(de,22,W(_n,pn,ze,al(Pi).slice(0,239))))}++ze}}return et(de,1),de.end()},to_workbook:function n(se,_e){switch(_e.type){case"base64":return e(As(ks(se)),_e);case"binary":return e(As(se),_e);case"buffer":case"array":return e(se,_e)}throw"Unsupported type "+_e.type}}}(),sre=/^\s|\s$|[\t\n\r]/;function gP(t,n){if(!n.bookSST)return"";var e=[zi];e[e.length]=Ke("sst",null,{xmlns:Vc[0],count:t.Count,uniqueCount:t.Unique});for(var i=0;i!=t.length;++i)if(null!=t[i]){var r=t[i],o="<si>";r.r?o+=r.r:(o+="<t",r.t||(r.t=""),r.t.match(sre)&&(o+=' xml:space="preserve"'),o+=">"+qn(r.t)+"</t>"),e[e.length]=o+="</si>"}return e.length>2&&(e[e.length]="</sst>",e[1]=e[1].replace("/>",">")),e.join("")}var dre=function Dte(t,n){var e=!1;return null==n&&(e=!0,n=Fe(15+4*t.t.length)),n.write_shift(1,0),Pr(t.t,n),e?n.slice(0,n.l):n};function ure(t){var n=Vo();Ye(n,159,function cre(t,n){return n||(n=Fe(8)),n.write_shift(4,t.Count),n.write_shift(4,t.Unique),n}(t));for(var e=0;e<t.length;++e)Ye(n,19,dre(t[e]));return Ye(n,160),n.end()}function QT(t){var e,o,n=0,i=function _P(t){if(typeof Sn<"u")return Sn.utils.encode(Kd,t);for(var n=[],e=t.split(""),i=0;i<e.length;++i)n[i]=e[i].charCodeAt(0);return n}(t),r=i.length+1;for((e=Oc(r))[0]=i.length,o=1;o!=r;++o)e[o]=i[o-1];for(o=r-1;o>=0;--o)n=((16384&n?1:0)|n<<1&32767)^e[o];return 52811^n}var yP=function(){function t(r,o){switch(o.type){case"base64":return n(ks(r),o);case"binary":return n(r,o);case"buffer":return n(gn&&Buffer.isBuffer(r)?r.toString("binary"):Ic(r),o);case"array":return n(tu(r),o)}throw new Error("Unrecognized type "+o.type)}function n(r,o){var a=(o||{}).dense?[]:{},l=r.match(/\\trowd.*?\\row\b/g);if(!l.length)throw new Error("RTF missing table");var d={s:{c:0,r:0},e:{c:0,r:l.length-1}};return l.forEach(function(f,m){Array.isArray(a)&&(a[m]=[]);for(var M,g=/\\\w+\b/g,b=0,y=-1;M=g.exec(f);){if("\\cell"===M[0]){var T=f.slice(b,g.lastIndex-M[0].length);if(" "==T[0]&&(T=T.slice(1)),++y,T.length){var k={v:T,t:"s"};Array.isArray(a)?a[m][y]=k:a[zt({r:m,c:y})]=k}}b=g.lastIndex}y>d.e.c&&(d.e.c=y)}),a["!ref"]=an(d),a}return{to_workbook:function e(r,o){return Hc(t(r,o),o)},to_sheet:t,from_sheet:function i(r){for(var a,o=["{\\rtf1\\ansi"],s=Tn(r["!ref"]),l=Array.isArray(r),d=s.s.r;d<=s.e.r;++d){o.push("\\trowd\\trautofit1");for(var f=s.s.c;f<=s.e.c;++f)o.push("\\cellx"+(f+1));for(o.push("\\pard\\intbl"),f=s.s.c;f<=s.e.c;++f){var m=zt({r:d,c:f});(a=l?(r[d]||[])[f]:r[m])&&(null!=a.v||a.f&&!a.F)&&(o.push(" "+(a.w||(al(a),a.w))),o.push("\\cell"))}o.push("\\pard\\intbl\\row")}return o.join("")+"}"}}}();function Cg(t){for(var n=0,e=1;3!=n;++n)e=256*e+(t[n]>255?255:t[n]<0?0:t[n]);return e.toString(16).toUpperCase().slice(1)}var _o=6;function xg(t){return Math.floor((t+Math.round(128/_o)/256)*_o)}function Tg(t){return Math.floor((t-5)/_o*100+.5)/100}function Iv(t){return Math.round((t*_o+5)/_o*256)/256}function jc(t){t.width?(t.wpx=xg(t.width),t.wch=Tg(t.wpx),t.MDW=_o):t.wpx?(t.wch=Tg(t.wpx),t.width=Iv(t.wch),t.MDW=_o):"number"==typeof t.wch&&(t.width=Iv(t.wch),t.wpx=xg(t.width),t.MDW=_o),t.customWidth&&delete t.customWidth}var CP=96;function wg(t){return 96*t/CP}function Lv(t){return t*CP/96}function xP(t,n){var i,e=[zi,Ke("styleSheet",null,{xmlns:Vc[0],"xmlns:vt":pr.vt})];return t.SSF&&null!=(i=function Lre(t){var n=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var i=e[0];i<=e[1];++i)null!=t[i]&&(n[n.length]=Ke("numFmt",null,{numFmtId:i,formatCode:qn(t[i])}))}),1===n.length?"":(n[n.length]="</numFmts>",n[0]=Ke("numFmts",null,{count:n.length-2}).replace("/>",">"),n.join(""))}(t.SSF))&&(e[e.length]=i),e[e.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',e[e.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',e[e.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',e[e.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(i=function Pre(t){var n=[];return n[n.length]=Ke("cellXfs",null),t.forEach(function(e){n[n.length]=Ke("xf",null,e)}),n[n.length]="</cellXfs>",2===n.length?"":(n[0]=Ke("cellXfs",null,{count:n.length-2}).replace("/>",">"),n.join(""))}(n.cellXfs))&&(e[e.length]=i),e[e.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',e[e.length]='<dxfs count="0"/>',e[e.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',e.length>2&&(e[e.length]="</styleSheet>",e[1]=e[1].replace("/>",">")),e.join("")}function Hre(t,n,e){e||(e=Fe(6+4*n.length)),e.write_shift(2,t),Pr(n,e);var i=e.length>e.l?e.slice(0,e.l):e;return null==e.l&&(e.l=e.length),i}var KT,Yre=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],Ure=ho;function TP(t,n){n||(n=Fe(84)),KT||(KT=vv(Yre));var e=KT[t.patternType];null==e&&(e=40),n.write_shift(4,e);var i=0;if(40!=e)for(Tv({auto:1},n),Tv({auto:1},n);i<12;++i)n.write_shift(4,0);else{for(;i<4;++i)n.write_shift(4,0);for(;i<12;++i)n.write_shift(4,0)}return n.length>n.l?n.slice(0,n.l):n}function wP(t,n,e){return e||(e=Fe(16)),e.write_shift(2,n||0),e.write_shift(2,t.numFmtId||0),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(1,0),e.write_shift(1,0),e.write_shift(1,0),e.write_shift(1,0),e.write_shift(1,0),e.write_shift(1,0),e}function Eg(t,n){return n||(n=Fe(10)),n.write_shift(1,0),n.write_shift(1,0),n.write_shift(4,0),n.write_shift(4,0),n}var zre=ho;function soe(t,n){var e=Vo();return Ye(e,278),function Jre(t,n){if(n){var e=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(i){for(var r=i[0];r<=i[1];++r)null!=n[r]&&++e}),0!=e&&(Ye(t,615,Oa(e)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(i){for(var r=i[0];r<=i[1];++r)null!=n[r]&&Ye(t,44,Hre(r,n[r]))}),Ye(t,616))}}(e,t.SSF),function Zre(t){Ye(t,611,Oa(1)),Ye(t,43,function jre(t,n){n||(n=Fe(153)),n.write_shift(2,20*t.sz),function Ste(t,n){n||(n=Fe(2)),n.write_shift(1,(t.italic?2:0)|(t.strike?8:0)|(t.outline?16:0)|(t.shadow?32:0)|(t.condense?64:0)|(t.extend?128:0)),n.write_shift(1,0)}(t,n),n.write_shift(2,t.bold?700:400);var e=0;"superscript"==t.vertAlign?e=1:"subscript"==t.vertAlign&&(e=2),n.write_shift(2,e),n.write_shift(1,t.underline||0),n.write_shift(1,t.family||0),n.write_shift(1,t.charset||0),n.write_shift(1,0),Tv(t.color,n);var i=0;return"major"==t.scheme&&(i=1),"minor"==t.scheme&&(i=2),n.write_shift(1,i),Pr(t.name,n),n.length>n.l?n.slice(0,n.l):n}({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),Ye(t,612)}(e),function Kre(t){Ye(t,603,Oa(2)),Ye(t,45,TP({patternType:"none"})),Ye(t,45,TP({patternType:"gray125"})),Ye(t,604)}(e),function eoe(t){Ye(t,613,Oa(1)),Ye(t,46,function $re(t,n){return n||(n=Fe(51)),n.write_shift(1,0),Eg(0,n),Eg(0,n),Eg(0,n),Eg(0,n),Eg(0,n),n.length>n.l?n.slice(0,n.l):n}()),Ye(t,614)}(e),function toe(t){Ye(t,626,Oa(1)),Ye(t,47,wP({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),Ye(t,627)}(e),function noe(t,n){Ye(t,617,Oa(n.length)),n.forEach(function(e){Ye(t,47,wP(e,0))}),Ye(t,618)}(e,n.cellXfs),function ioe(t){Ye(t,619,Oa(1)),Ye(t,48,function qre(t,n){return n||(n=Fe(52)),n.write_shift(4,t.xfId),n.write_shift(2,1),n.write_shift(1,+t.builtinId),n.write_shift(1,0),xv(t.name||"",n),n.length>n.l?n.slice(0,n.l):n}({xfId:0,builtinId:0,name:"Normal"})),Ye(t,620)}(e),function roe(t){Ye(t,505,Oa(0)),Ye(t,506)}(e),function ooe(t){Ye(t,508,function Xre(t,n,e){var i=Fe(2052);return i.write_shift(4,t),xv(n,i),xv(e,i),i.length>i.l?i.slice(0,i.l):i}(0,"TableStyleMedium9","PivotStyleMedium4")),Ye(t,509)}(e),Ye(e,279),e.end()}function e2(t,n){if(n&&n.themeXLSX)return n.themeXLSX;if(t&&"string"==typeof t.raw)return t.raw;var e=[zi];return e[e.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',e[e.length]="<a:themeElements>",e[e.length]='<a:clrScheme name="Office">',e[e.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',e[e.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',e[e.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',e[e.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',e[e.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',e[e.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',e[e.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',e[e.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',e[e.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',e[e.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',e[e.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',e[e.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',e[e.length]="</a:clrScheme>",e[e.length]='<a:fontScheme name="Office">',e[e.length]="<a:majorFont>",e[e.length]='<a:latin typeface="Cambria"/>',e[e.length]='<a:ea typeface=""/>',e[e.length]='<a:cs typeface=""/>',e[e.length]='<a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/>',e[e.length]='<a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/>',e[e.length]='<a:font script="Hans" typeface="\u5b8b\u4f53"/>',e[e.length]='<a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/>',e[e.length]='<a:font script="Arab" typeface="Times New Roman"/>',e[e.length]='<a:font script="Hebr" typeface="Times New Roman"/>',e[e.length]='<a:font script="Thai" typeface="Tahoma"/>',e[e.length]='<a:font script="Ethi" typeface="Nyala"/>',e[e.length]='<a:font script="Beng" typeface="Vrinda"/>',e[e.length]='<a:font script="Gujr" typeface="Shruti"/>',e[e.length]='<a:font script="Khmr" typeface="MoolBoran"/>',e[e.length]='<a:font script="Knda" typeface="Tunga"/>',e[e.length]='<a:font script="Guru" typeface="Raavi"/>',e[e.length]='<a:font script="Cans" typeface="Euphemia"/>',e[e.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',e[e.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',e[e.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',e[e.length]='<a:font script="Thaa" typeface="MV Boli"/>',e[e.length]='<a:font script="Deva" typeface="Mangal"/>',e[e.length]='<a:font script="Telu" typeface="Gautami"/>',e[e.length]='<a:font script="Taml" typeface="Latha"/>',e[e.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',e[e.length]='<a:font script="Orya" typeface="Kalinga"/>',e[e.length]='<a:font script="Mlym" typeface="Kartika"/>',e[e.length]='<a:font script="Laoo" typeface="DokChampa"/>',e[e.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',e[e.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',e[e.length]='<a:font script="Viet" typeface="Times New Roman"/>',e[e.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',e[e.length]='<a:font script="Geor" typeface="Sylfaen"/>',e[e.length]="</a:majorFont>",e[e.length]="<a:minorFont>",e[e.length]='<a:latin typeface="Calibri"/>',e[e.length]='<a:ea typeface=""/>',e[e.length]='<a:cs typeface=""/>',e[e.length]='<a:font script="Jpan" typeface="\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af"/>',e[e.length]='<a:font script="Hang" typeface="\ub9d1\uc740 \uace0\ub515"/>',e[e.length]='<a:font script="Hans" typeface="\u5b8b\u4f53"/>',e[e.length]='<a:font script="Hant" typeface="\u65b0\u7d30\u660e\u9ad4"/>',e[e.length]='<a:font script="Arab" typeface="Arial"/>',e[e.length]='<a:font script="Hebr" typeface="Arial"/>',e[e.length]='<a:font script="Thai" typeface="Tahoma"/>',e[e.length]='<a:font script="Ethi" typeface="Nyala"/>',e[e.length]='<a:font script="Beng" typeface="Vrinda"/>',e[e.length]='<a:font script="Gujr" typeface="Shruti"/>',e[e.length]='<a:font script="Khmr" typeface="DaunPenh"/>',e[e.length]='<a:font script="Knda" typeface="Tunga"/>',e[e.length]='<a:font script="Guru" typeface="Raavi"/>',e[e.length]='<a:font script="Cans" typeface="Euphemia"/>',e[e.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',e[e.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',e[e.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',e[e.length]='<a:font script="Thaa" typeface="MV Boli"/>',e[e.length]='<a:font script="Deva" typeface="Mangal"/>',e[e.length]='<a:font script="Telu" typeface="Gautami"/>',e[e.length]='<a:font script="Taml" typeface="Latha"/>',e[e.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',e[e.length]='<a:font script="Orya" typeface="Kalinga"/>',e[e.length]='<a:font script="Mlym" typeface="Kartika"/>',e[e.length]='<a:font script="Laoo" typeface="DokChampa"/>',e[e.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',e[e.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',e[e.length]='<a:font script="Viet" typeface="Arial"/>',e[e.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',e[e.length]='<a:font script="Geor" typeface="Sylfaen"/>',e[e.length]="</a:minorFont>",e[e.length]="</a:fontScheme>",e[e.length]='<a:fmtScheme name="Office">',e[e.length]="<a:fillStyleLst>",e[e.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',e[e.length]='<a:gradFill rotWithShape="1">',e[e.length]="<a:gsLst>",e[e.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',e[e.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',e[e.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',e[e.length]="</a:gsLst>",e[e.length]='<a:lin ang="16200000" scaled="1"/>',e[e.length]="</a:gradFill>",e[e.length]='<a:gradFill rotWithShape="1">',e[e.length]="<a:gsLst>",e[e.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',e[e.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',e[e.length]="</a:gsLst>",e[e.length]='<a:lin ang="16200000" scaled="0"/>',e[e.length]="</a:gradFill>",e[e.length]="</a:fillStyleLst>",e[e.length]="<a:lnStyleLst>",e[e.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',e[e.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',e[e.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',e[e.length]="</a:lnStyleLst>",e[e.length]="<a:effectStyleLst>",e[e.length]="<a:effectStyle>",e[e.length]="<a:effectLst>",e[e.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',e[e.length]="</a:effectLst>",e[e.length]="</a:effectStyle>",e[e.length]="<a:effectStyle>",e[e.length]="<a:effectLst>",e[e.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',e[e.length]="</a:effectLst>",e[e.length]="</a:effectStyle>",e[e.length]="<a:effectStyle>",e[e.length]="<a:effectLst>",e[e.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',e[e.length]="</a:effectLst>",e[e.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',e[e.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',e[e.length]="</a:effectStyle>",e[e.length]="</a:effectStyleLst>",e[e.length]="<a:bgFillStyleLst>",e[e.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',e[e.length]='<a:gradFill rotWithShape="1">',e[e.length]="<a:gsLst>",e[e.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',e[e.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',e[e.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',e[e.length]="</a:gsLst>",e[e.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',e[e.length]="</a:gradFill>",e[e.length]='<a:gradFill rotWithShape="1">',e[e.length]="<a:gsLst>",e[e.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',e[e.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',e[e.length]="</a:gsLst>",e[e.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',e[e.length]="</a:gradFill>",e[e.length]="</a:bgFillStyleLst>",e[e.length]="</a:fmtScheme>",e[e.length]="</a:themeElements>",e[e.length]="<a:objectDefaults>",e[e.length]="<a:spDef>",e[e.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',e[e.length]="</a:spDef>",e[e.length]="<a:lnDef>",e[e.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',e[e.length]="</a:lnDef>",e[e.length]="</a:objectDefaults>",e[e.length]="<a:extraClrSchemeLst/>",e[e.length]="</a:theme>",e.join("")}function Foe(){var t=Vo();return Ye(t,332),Ye(t,334,Oa(1)),Ye(t,335,function Toe(t){var n=Fe(12+2*t.name.length);return n.write_shift(4,t.flags),n.write_shift(4,t.version),Pr(t.name,n),n.slice(0,n.l)}({name:"XLDAPR",version:12e4,flags:3496657072})),Ye(t,336),Ye(t,339,function Soe(t,n){var e=Fe(8+2*n.length);return e.write_shift(4,t),Pr(n,e),e.slice(0,e.l)}(1,"XLDAPR")),Ye(t,52),Ye(t,35,Oa(514)),Ye(t,4096,Oa(0)),Ye(t,4097,ca(1)),Ye(t,36),Ye(t,53),Ye(t,340),Ye(t,337,function Aoe(t,n){var e=Fe(8);return e.write_shift(4,t),e.write_shift(4,n?1:0),e}(1,!0)),Ye(t,51,function Eoe(t){var n=Fe(4+8*t.length);n.write_shift(4,t.length);for(var e=0;e<t.length;++e)n.write_shift(4,t[e][0]),n.write_shift(4,t[e][1]);return n}([[1,0]])),Ye(t,338),Ye(t,333),t.end()}function SP(){var t=[zi];return t.push('<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">\n <metadataTypes count="1">\n <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>\n </metadataTypes>\n <futureMetadata name="XLDAPR" count="1">\n <bk>\n <extLst>\n <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">\n <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>\n </ext>\n </extLst>\n </bk>\n </futureMetadata>\n <cellMetadata count="1">\n <bk>\n <rc t="1" v="0"/>\n </bk>\n </cellMetadata>\n</metadata>'),t.join("")}var Fh=1024;function kP(t,n){for(var e=[21600,21600],i=["m0,0l0",e[1],e[0],e[1],e[0],"0xe"].join(","),r=[Ke("xml",null,{"xmlns:v":Ns.v,"xmlns:o":Ns.o,"xmlns:x":Ns.x,"xmlns:mv":Ns.mv}).replace(/\/>/,">"),Ke("o:shapelayout",Ke("o:idmap",null,{"v:ext":"edit",data:t}),{"v:ext":"edit"}),Ke("v:shapetype",[Ke("v:stroke",null,{joinstyle:"miter"}),Ke("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:e.join(","),path:i})];Fh<1e3*t;)Fh+=1e3;return n.forEach(function(o){var s=tr(o[0]),a={color2:"#BEFF82",type:"gradient"};"gradient"==a.type&&(a.angle="-180");var l="gradient"==a.type?Ke("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,d=Ke("v:fill",l,a);++Fh,r=r.concat(["<v:shape"+pg({id:"_x0000_s"+Fh,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(o[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",d,Ke("v:shadow",null,{on:"t",obscured:"t"}),Ke("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Zr("x:Anchor",[s.c+1,0,s.r+1,0,s.c+3,20,s.r+5,20].join(",")),Zr("x:AutoFill","False"),Zr("x:Row",String(s.r)),Zr("x:Column",String(s.c)),o[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),r.push("</xml>"),r.join("")}function RP(t){var n=[zi,Ke("comments",null,{xmlns:Vc[0]})],e=[];return n.push("<authors>"),t.forEach(function(i){i[1].forEach(function(r){var o=qn(r.a);-1==e.indexOf(o)&&(e.push(o),n.push("<author>"+o+"</author>")),r.T&&r.ID&&-1==e.indexOf("tc="+r.ID)&&(e.push("tc="+r.ID),n.push("<author>tc="+r.ID+"</author>"))})}),0==e.length&&(e.push("SheetJ5"),n.push("<author>SheetJ5</author>")),n.push("</authors>"),n.push("<commentList>"),t.forEach(function(i){var r=0,o=[];if(i[1][0]&&i[1][0].T&&i[1][0].ID?r=e.indexOf("tc="+i[1][0].ID):i[1].forEach(function(l){l.a&&(r=e.indexOf(qn(l.a))),o.push(l.t||"")}),n.push('<comment ref="'+i[0]+'" authorId="'+r+'"><text>'),o.length<=1)n.push(Zr("t",qn(o[0]||"")));else{for(var s="Comment:\n "+o[0]+"\n",a=1;a<o.length;++a)s+="Reply:\n "+o[a]+"\n";n.push(Zr("t",qn(s)))}n.push("</text></comment>")}),n.push("</commentList>"),n.length>2&&(n[n.length]="</comments>",n[1]=n[1].replace("/>",">")),n.join("")}function Goe(t,n,e){var i=[zi,Ke("ThreadedComments",null,{xmlns:pr.TCMNT}).replace(/[\/]>/,">")];return t.forEach(function(r){var o="";(r[1]||[]).forEach(function(s,a){if(s.T){s.a&&-1==n.indexOf(s.a)&&n.push(s.a);var l={ref:r[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+e.tcid++).slice(-12)+"}"};0==a?o=l.id:l.parentId=o,s.ID=l.id,s.a&&(l.personId="{54EE7950-7262-4200-6969-"+("000000000000"+n.indexOf(s.a)).slice(-12)+"}"),i.push(Ke("threadedComment",Zr("text",s.t||""),l))}else delete s.ID})}),i.push("</ThreadedComments>"),i.join("")}var zoe=po;function Xoe(t){var n=Vo(),e=[];return Ye(n,628),Ye(n,630),t.forEach(function(i){i[1].forEach(function(r){e.indexOf(r.a)>-1||(e.push(r.a.slice(0,54)),Ye(n,632,function $oe(t){return Pr(t.slice(0,54))}(r.a)))})}),Ye(n,631),Ye(n,633),t.forEach(function(i){i[1].forEach(function(r){r.iauthor=e.indexOf(r.a);var o={s:tr(i[0]),e:tr(i[0])};Ye(n,635,function Woe(t,n){return null==n&&(n=Fe(36)),n.write_shift(4,t[1].iauthor),kh(t[0],n),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(4,0),n}([o,r])),r.t&&r.t.length>0&&Ye(n,637,function Mte(t,n){var e=!1;return null==n&&(e=!0,n=Fe(23+4*t.t.length)),n.write_shift(1,1),Pr(t.t,n),n.write_shift(4,1),function bte(t,n){n||(n=Fe(4)),n.write_shift(2,t.ich||0),n.write_shift(2,t.ifnt||0)}({ich:0,ifnt:0},n),e?n.slice(0,n.l):n}(r)),Ye(n,636),delete r.iauthor})}),Ye(n,634),Ye(n,629),n.end()}var FP=["xlsb","xlsm","xlam","biff8","xla"],Nh=function(){var t=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,n={r:0,c:0};function e(i,r,o,s){var a=!1,l=!1;0==o.length?l=!0:"["==o.charAt(0)&&(l=!0,o=o.slice(1,-1)),0==s.length?a=!0:"["==s.charAt(0)&&(a=!0,s=s.slice(1,-1));var d=o.length>0?0|parseInt(o,10):0,f=s.length>0?0|parseInt(s,10):0;return a?f+=n.c:--f,l?d+=n.r:--d,r+(a?"":"$")+_i(f)+(l?"":"$")+$i(d)}return function(r,o){return n=o,r.replace(t,e)}}(),t2=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,n2=function(){return function(n,e){return n.replace(t2,function(i,r,o,s,a,l){var d=FT(s)-(o?0:e.c),f=RT(l)-(a?0:e.r);return r+"R"+(0==f?"":a?f+1:"["+f+"]")+"C"+(0==d?"":o?d+1:"["+d+"]")})}}();function NP(t,n){return t.replace(t2,function(e,i,r,o,s,a){return i+("$"==r?r+o:_i(FT(o)+n.c))+("$"==s?s+a:$i(RT(a)+n.r))})}function gr(t){t.l+=1}function Yc(t,n){var e=t.read_shift(1==n?1:2);return[16383&e,e>>14&1,e>>15&1]}function OP(t,n,e){var i=2;if(e){if(e.biff>=2&&e.biff<=5)return IP(t);12==e.biff&&(i=4)}var r=t.read_shift(i),o=t.read_shift(i),s=Yc(t,2),a=Yc(t,2);return{s:{r,c:s[0],cRel:s[1],rRel:s[2]},e:{r:o,c:a[0],cRel:a[1],rRel:a[2]}}}function IP(t){var n=Yc(t,2),e=Yc(t,2),i=t.read_shift(1),r=t.read_shift(1);return{s:{r:n[0],c:i,cRel:n[1],rRel:n[2]},e:{r:e[0],c:r,cRel:e[1],rRel:e[2]}}}function LP(t,n,e){if(e&&e.biff>=2&&e.biff<=5)return function ose(t){var n=Yc(t,2),e=t.read_shift(1);return{r:n[0],c:e,cRel:n[1],rRel:n[2]}}(t);var i=t.read_shift(e&&12==e.biff?4:2),r=Yc(t,2);return{r:i,c:r[0],cRel:r[1],rRel:r[2]}}function sse(t){var n=t.read_shift(2),e=t.read_shift(2);return{r:n,c:255&e,fQuoted:!!(16384&e),cRel:e>>15,rRel:e>>15}}function PP(t){var n=1&t[t.l+1];return t.l+=4,[n,1]}function BP(t){return[t.read_shift(1),t.read_shift(1)]}function Ise(t,n){var e=[t.read_shift(1)];if(12==n)switch(e[0]){case 2:e[0]=4;break;case 4:e[0]=16;break;case 0:e[0]=1;break;case 1:e[0]=2}switch(e[0]){case 4:e[1]=function nr(t,n){return 1===t.read_shift(n)}(t,1)?"TRUE":"FALSE",12!=n&&(t.l+=7);break;case 37:case 16:e[1]=zl[t[t.l]],t.l+=12==n?4:8;break;case 0:t.l+=8;break;case 1:e[1]=mo(t);break;case 2:e[1]=function uu(t,n,e){if(e.biff>5)return function Mg(t,n,e){var i=t.read_shift(e&&2==e.biff?1:2);return 0===i?(t.l++,""):function du(t,n,e){if(e){if(e.biff>=2&&e.biff<=5)return t.read_shift(n,"cpstr");if(e.biff>=12)return t.read_shift(n,"dbcs-cont")}var r=t.read_shift(1);return t.read_shift(n,0===r?"sbcs-cont":"dbcs-cont")}(t,i,e)}(t,0,e);var i=t.read_shift(1);return 0===i?(t.l++,""):t.read_shift(i,e.biff<=4||!t.lens?"cpstr":"sbcs-cont")}(t,0,{biff:n>0&&n<8?2:n});break;default:throw new Error("Bad SerAr: "+e[0])}return e}function Lse(t,n,e){for(var i=t.read_shift(12==e.biff?4:2),r=[],o=0;o!=i;++o)r.push((12==e.biff?su:Fv)(t,8));return r}function Pse(t,n,e){var i=0,r=0;12==e.biff?(i=t.read_shift(4),r=t.read_shift(4)):(r=1+t.read_shift(1),i=1+t.read_shift(2)),e.biff>=2&&e.biff<8&&(--i,0==--r&&(r=256));for(var o=0,s=[];o!=i&&(s[o]=[]);++o)for(var a=0;a!=r;++a)s[o][a]=Ise(t,e.biff);return s}function Sg(t,n,e){return t.l+=2,[sse(t)]}function r2(t){return t.l+=6,[]}function VP(t){return t.l+=2,[mr(t),1&t.read_shift(2)]}var iae=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"],HP={1:{n:"PtgExp",f:function kse(t,n,e){return t.l++,e&&12==e.biff?[t.read_shift(4,"i"),0]:[t.read_shift(2),t.read_shift(e&&2==e.biff?1:2)]}},2:{n:"PtgTbl",f:ho},3:{n:"PtgAdd",f:gr},4:{n:"PtgSub",f:gr},5:{n:"PtgMul",f:gr},6:{n:"PtgDiv",f:gr},7:{n:"PtgPower",f:gr},8:{n:"PtgConcat",f:gr},9:{n:"PtgLt",f:gr},10:{n:"PtgLe",f:gr},11:{n:"PtgEq",f:gr},12:{n:"PtgGe",f:gr},13:{n:"PtgGt",f:gr},14:{n:"PtgNe",f:gr},15:{n:"PtgIsect",f:gr},16:{n:"PtgUnion",f:gr},17:{n:"PtgRange",f:gr},18:{n:"PtgUplus",f:gr},19:{n:"PtgUminus",f:gr},20:{n:"PtgPercent",f:gr},21:{n:"PtgParen",f:gr},22:{n:"PtgMissArg",f:gr},23:{n:"PtgStr",f:function Ose(t,n,e){return t.l++,yg(t,0,e)}},26:{n:"PtgSheet",f:function sae(t,n,e){return t.l+=5,t.l+=2,t.l+=2==e.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function aae(t,n,e){return t.l+=2==e.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function Ase(t){return t.l++,zl[t.read_shift(1)]}},29:{n:"PtgBool",f:function Fse(t){return t.l++,0!==t.read_shift(1)}},30:{n:"PtgInt",f:function Rse(t){return t.l++,t.read_shift(2)}},31:{n:"PtgNum",f:function Nse(t){return t.l++,mo(t)}},32:{n:"PtgArray",f:function pse(t,n,e){var i=(96&t[t.l++])>>5;return t.l+=2==e.biff?6:12==e.biff?14:7,[i]}},33:{n:"PtgFunc",f:function Tse(t,n,e){var i=(96&t[t.l])>>5;t.l+=1;var r=t.read_shift(e&&e.biff<=3?1:2);return[Sae[r],YP[r],i]}},34:{n:"PtgFuncVar",f:function wse(t,n,e){var i=t[t.l++],r=t.read_shift(1),o=e&&e.biff<=3?[88==i?-1:0,t.read_shift(1)]:function Ese(t){return[t[t.l+1]>>7,32767&t.read_shift(2)]}(t);return[r,(0===o[0]?YP:Eae)[o[1]]]}},35:{n:"PtgName",f:function Bse(t,n,e){var i=t.read_shift(1)>>>5&3,o=t.read_shift(!e||e.biff>=8?4:2);switch(e.biff){case 2:t.l+=5;break;case 3:case 4:t.l+=8;break;case 5:t.l+=12}return[i,0,o]}},36:{n:"PtgRef",f:function Mse(t,n,e){var i=(96&t[t.l])>>5;return t.l+=1,[i,LP(t,0,e)]}},37:{n:"PtgArea",f:function cse(t,n,e){return[(96&t[t.l++])>>5,OP(t,0,e)]}},38:{n:"PtgMemArea",f:function Gse(t,n,e){var i=t.read_shift(1)>>>5&3;return t.l+=e&&2==e.biff?3:4,[i,t.read_shift(e&&2==e.biff?1:2)]}},39:{n:"PtgMemErr",f:ho},40:{n:"PtgMemNoMem",f:ho},41:{n:"PtgMemFunc",f:function jse(t,n,e){return[t.read_shift(1)>>>5&3,t.read_shift(e&&2==e.biff?1:2)]}},42:{n:"PtgRefErr",f:function Yse(t,n,e){var i=t.read_shift(1)>>>5&3;return t.l+=4,e.biff<8&&t.l--,12==e.biff&&(t.l+=2),[i]}},43:{n:"PtgAreaErr",f:function use(t,n,e){var i=(96&t[t.l++])>>5;return t.l+=e&&e.biff>8?12:e.biff<8?6:8,[i]}},44:{n:"PtgRefN",f:function Cse(t,n,e){var i=(96&t[t.l])>>5;t.l+=1;var r=function ase(t,n,e){var i=e&&e.biff?e.biff:8;if(i>=2&&i<=5)return function lse(t){var n=t.read_shift(2),e=t.read_shift(1),i=(32768&n)>>15,r=(16384&n)>>14;return n&=16383,1==i&&n>=8192&&(n-=16384),1==r&&e>=128&&(e-=256),{r:n,c:e,cRel:r,rRel:i}}(t);var r=t.read_shift(i>=12?4:2),o=t.read_shift(2),s=(16384&o)>>14,a=(32768&o)>>15;if(o&=16383,1==a)for(;r>524287;)r-=1048576;if(1==s)for(;o>8191;)o-=16384;return{r,c:o,cRel:s,rRel:a}}(t,0,e);return[i,r]}},45:{n:"PtgAreaN",f:function hse(t,n,e){var i=(96&t[t.l++])>>5,r=function rse(t,n,e){if(e.biff<8)return IP(t);var i=t.read_shift(12==e.biff?4:2),r=t.read_shift(12==e.biff?4:2),o=Yc(t,2),s=Yc(t,2);return{s:{r:i,c:o[0],cRel:o[1],rRel:o[2]},e:{r,c:s[0],cRel:s[1],rRel:s[2]}}}(t,0,e);return[i,r]}},46:{n:"PtgMemAreaN",f:function lae(t){return[t.read_shift(1)>>>5&3,t.read_shift(2)]}},47:{n:"PtgMemNoMemN",f:function cae(t){return[t.read_shift(1)>>>5&3,t.read_shift(2)]}},57:{n:"PtgNameX",f:function Vse(t,n,e){return 5==e.biff?function Hse(t){var n=t.read_shift(1)>>>5&3,e=t.read_shift(2,"i");t.l+=8;var i=t.read_shift(2);return t.l+=12,[n,e,i]}(t):[t.read_shift(1)>>>5&3,t.read_shift(2),t.read_shift(4)]}},58:{n:"PtgRef3d",f:function xse(t,n,e){var i=(96&t[t.l])>>5;t.l+=1;var r=t.read_shift(2);return e&&5==e.biff&&(t.l+=12),[i,r,LP(t,0,e)]}},59:{n:"PtgArea3d",f:function dse(t,n,e){var i=(96&t[t.l++])>>5,r=t.read_shift(2,"i");if(e&&5===e.biff)t.l+=12;return[i,r,OP(t,0,e)]}},60:{n:"PtgRefErr3d",f:function Use(t,n,e){var i=(96&t[t.l++])>>5,r=t.read_shift(2),o=4;if(e)switch(e.biff){case 5:o=15;break;case 12:o=6}return t.l+=o,[i,r]}},61:{n:"PtgAreaErr3d",f:function fse(t,n,e){var i=(96&t[t.l++])>>5,r=t.read_shift(2),o=8;if(e)switch(e.biff){case 5:t.l+=12,o=6;break;case 12:o=12}return t.l+=o,[i,r]}},255:{}},uae={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},fae={1:{n:"PtgElfLel",f:VP},2:{n:"PtgElfRw",f:Sg},3:{n:"PtgElfCol",f:Sg},6:{n:"PtgElfRwV",f:Sg},7:{n:"PtgElfColV",f:Sg},10:{n:"PtgElfRadical",f:Sg},11:{n:"PtgElfRadicalS",f:r2},13:{n:"PtgElfColS",f:r2},15:{n:"PtgElfColSV",f:r2},16:{n:"PtgElfRadicalLel",f:VP},25:{n:"PtgList",f:function rae(t){t.l+=2;var n=t.read_shift(2),e=t.read_shift(2),i=t.read_shift(4),r=t.read_shift(2),o=t.read_shift(2);return{ixti:n,coltype:3&e,rt:iae[e>>2&31],idx:i,c:r,C:o}}},29:{n:"PtgSxName",f:function oae(t){return t.l+=2,[t.read_shift(4)]}},255:{}},hae={0:{n:"PtgAttrNoop",f:function dae(t){return t.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function bse(t,n,e){var i=255&t[t.l+1]?1:0;return t.l+=e&&2==e.biff?3:4,[i]}},2:{n:"PtgAttrIf",f:function _se(t,n,e){var i=255&t[t.l+1]?1:0;return t.l+=2,[i,t.read_shift(e&&2==e.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function mse(t,n,e){t.l+=2;for(var i=t.read_shift(e&&2==e.biff?1:2),r=[],o=0;o<=i;++o)r.push(t.read_shift(e&&2==e.biff?1:2));return r}},8:{n:"PtgAttrGoto",f:function gse(t,n,e){var i=255&t[t.l+1]?1:0;return t.l+=2,[i,t.read_shift(e&&2==e.biff?1:2)]}},16:{n:"PtgAttrSum",f:function Sse(t,n,e){t.l+=e&&2==e.biff?3:4}},32:{n:"PtgAttrBaxcel",f:PP},33:{n:"PtgAttrBaxcel",f:PP},64:{n:"PtgAttrSpace",f:function Dse(t){return t.read_shift(2),BP(t)}},65:{n:"PtgAttrSpaceSemi",f:function yse(t){return t.read_shift(2),BP(t)}},128:{n:"PtgAttrIfError",f:function vse(t){var n=255&t[t.l+1]?1:0;return t.l+=2,[n,t.read_shift(2)]}},255:{}};function kg(t,n,e,i){if(i.biff<8)return ho(t,n);for(var r=t.l+n,o=[],s=0;s!==e.length;++s)switch(e[s][0]){case"PtgArray":e[s][1]=Pse(t,0,i),o.push(e[s][1]);break;case"PtgMemArea":e[s][2]=Lse(t,0,i),o.push(e[s][2]);break;case"PtgExp":i&&12==i.biff&&(e[s][1][1]=t.read_shift(4),o.push(e[s][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+e[s][0]}return 0!=(n=r-t.l)&&o.push(ho(t,n)),o}function pae(t){for(var n=[],e=0;e<t.length;++e){for(var i=t[e],r=[],o=0;o<i.length;++o){var s=i[o];r.push(s?2===s[0]?'"'+s[1].replace(/"/g,'""')+'"':s[1]:"")}n.push(r.join(","))}return n.join(";")}var mae={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function GP(t,n,e){if(!t)return"SH33TJSERR0";if(e.biff>8&&(!t.XTI||!t.XTI[n]))return t.SheetNames[n];if(!t.XTI)return"SH33TJSERR6";var i=t.XTI[n];if(e.biff<8)return n>1e4&&(n-=65536),n<0&&(n=-n),0==n?"":t.XTI[n-1];if(!i)return"SH33TJSERR1";var r="";if(e.biff>8)switch(t[i[0]][0]){case 357:return r=-1==i[1]?"#REF":t.SheetNames[i[1]],i[1]==i[2]?r:r+":"+t.SheetNames[i[2]];case 358:return null!=e.SID?t.SheetNames[e.SID]:"SH33TJSSAME"+t[i[0]][0];default:return"SH33TJSSRC"+t[i[0]][0]}switch(t[i[0]][0][0]){case 1025:return r=-1==i[1]?"#REF":t.SheetNames[i[1]]||"SH33TJSERR3",i[1]==i[2]?r:r+":"+t.SheetNames[i[2]];case 14849:return t[i[0]].slice(1).map(function(o){return o.Name}).join(";;");default:return t[i[0]][0][3]?(r=-1==i[1]?"#REF":t[i[0]][0][3][i[1]]||"SH33TJSERR4",i[1]==i[2]?r:r+":"+t[i[0]][0][3][i[2]]):"SH33TJSERR2"}}function jP(t,n,e){var i=GP(t,n,e);return"#REF"==i?i:function gae(t,n){if(!(t||n&&n.biff<=5&&n.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(t)?"'"+t+"'":t}(i,e)}function vo(t,n,e,i,r){var l,d,f,b,o=r&&r.biff||8,s={s:{c:0,r:0},e:{c:0,r:0}},a=[],m=0,g=0,M="";if(!t[0]||!t[0][0])return"";for(var y=-1,T="",k=0,O=t[0].length;k<O;++k){var N=t[0][k];switch(N[0]){case"PtgUminus":a.push("-"+a.pop());break;case"PtgUplus":a.push("+"+a.pop());break;case"PtgPercent":a.push(a.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(l=a.pop(),d=a.pop(),y>=0){switch(t[0][y][1][0]){case 0:T=Wi(" ",t[0][y][1][1]);break;case 1:T=Wi("\r",t[0][y][1][1]);break;default:if(T="",r.WTF)throw new Error("Unexpected PtgAttrSpaceType "+t[0][y][1][0])}d+=T,y=-1}a.push(d+mae[N[0]]+l);break;case"PtgIsect":l=a.pop(),d=a.pop(),a.push(d+" "+l);break;case"PtgUnion":l=a.pop(),d=a.pop(),a.push(d+","+l);break;case"PtgRange":l=a.pop(),d=a.pop(),a.push(d+":"+l);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":case"PtgAttrBaxcel":case"PtgAttrSemi":case"PtgMemArea":case"PtgTbl":case"PtgMemErr":case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgRef":f=_g(N[1][1],s,r),a.push(vg(f,o));break;case"PtgRefN":f=e?_g(N[1][1],e,r):N[1][1],a.push(vg(f,o));break;case"PtgRef3d":m=N[1][1],f=_g(N[1][2],s,r),M=jP(i,m,r),a.push(M+"!"+vg(f,o));break;case"PtgFunc":case"PtgFuncVar":var U=N[1][0],Q=N[1][1];U||(U=0);var W=0==(U&=127)?[]:a.slice(-U);a.length-=U,"User"===Q&&(Q=W.shift()),a.push(Q+"("+W.join(",")+")");break;case"PtgBool":a.push(N[1]?"TRUE":"FALSE");break;case"PtgInt":case"PtgErr":a.push(N[1]);break;case"PtgNum":a.push(String(N[1]));break;case"PtgStr":a.push('"'+N[1].replace(/"/g,'""')+'"');break;case"PtgAreaN":b=gL(N[1][1],e?{s:e}:s,r),a.push(AT(b,r));break;case"PtgArea":b=gL(N[1][1],s,r),a.push(AT(b,r));break;case"PtgArea3d":b=N[1][2],M=jP(i,m=N[1][1],r),a.push(M+"!"+AT(b,r));break;case"PtgAttrSum":a.push("SUM("+a.pop()+")");break;case"PtgName":var J=(i.names||[])[(g=N[1][2])-1]||(i[0]||[])[g],ne=J?J.Name:"SH33TJSNAME"+String(g);ne&&"_xlfn."==ne.slice(0,6)&&!r.xlfn&&(ne=ne.slice(6)),a.push(ne);break;case"PtgNameX":var pe,he=N[1][1];if(g=N[1][2],!(r.biff<=5)){var ue="";if(14849==((i[he]||[])[0]||[])[0]||(1025==((i[he]||[])[0]||[])[0]?i[he][g]&&i[he][g].itab>0&&(ue=i.SheetNames[i[he][g].itab-1]+"!"):ue=i.SheetNames[g-1]+"!"),i[he]&&i[he][g])ue+=i[he][g].Name;else if(i[0]&&i[0][g])ue+=i[0][g].Name;else{var Ie=(GP(i,he,r)||"").split(";;");Ie[g-1]?ue=Ie[g-1]:ue+="SH33TJSERRX"}a.push(ue);break}he<0&&(he=-he),i[he]&&(pe=i[he][g]),pe||(pe={Name:"SH33TJSERRY"}),a.push(pe.Name);break;case"PtgParen":var Qe="(",Ve=")";if(y>=0){switch(T="",t[0][y][1][0]){case 2:Qe=Wi(" ",t[0][y][1][1])+Qe;break;case 3:Qe=Wi("\r",t[0][y][1][1])+Qe;break;case 4:Ve=Wi(" ",t[0][y][1][1])+Ve;break;case 5:Ve=Wi("\r",t[0][y][1][1])+Ve;break;default:if(r.WTF)throw new Error("Unexpected PtgAttrSpaceType "+t[0][y][1][0])}y=-1}a.push(Qe+a.pop()+Ve);break;case"PtgRefErr":case"PtgRefErr3d":case"PtgAreaErr":case"PtgAreaErr3d":a.push("#REF!");break;case"PtgExp":var be={c:e.c,r:e.r};if(i.sharedf[zt(f={c:N[1][1],r:N[1][0]})]){var Ce=i.sharedf[zt(f)];a.push(vo(Ce,0,be,i,r))}else{var Ue=!1;for(l=0;l!=i.arrayf.length;++l)if(!(f.c<(d=i.arrayf[l])[0].s.c||f.c>d[0].e.c||f.r<d[0].s.r||f.r>d[0].e.r)){a.push(vo(d[1],0,be,i,r)),Ue=!0;break}Ue||a.push(N[1])}break;case"PtgArray":a.push("{"+pae(N[1])+"}");break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":y=k;break;case"PtgMissArg":a.push("");break;case"PtgList":a.push("Table"+N[1].idx+"[#"+N[1].rt+"]");break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");default:throw new Error("Unrecognized Formula Token: "+String(N))}if(3!=r.biff&&y>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(t[0][k][0])){var it=!0;switch((N=t[0][y])[1][0]){case 4:it=!1;case 0:T=Wi(" ",N[1][1]);break;case 5:it=!1;case 1:T=Wi("\r",N[1][1]);break;default:if(T="",r.WTF)throw new Error("Unexpected PtgAttrSpaceType "+N[1][0])}a.push((it?T:"")+a.pop()+(it?"":T)),y=-1}}if(a.length>1&&r.WTF)throw new Error("bad formula stack");return a[0]}function Vv(t,n,e){var i=t.read_shift(4),r=function Ag(t,n,e){for(var r,o,i=t.l+n,s=[];i!=t.l;)n=i-t.l,r=HP[o=t[t.l]]||HP[uae[o]],(24===o||25===o)&&(r=(24===o?fae:hae)[t[t.l+1]]),r&&r.f?s.push([r.n,r.f(t,n,e)]):ho(t,n);return s}(t,i,e),o=t.read_shift(4);return[r,o>0?kg(t,o,r,e):null]}var xae=Vv,Hv=Vv,Tae=Vv,wae=Vv,Eae={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},YP={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},Sae={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function kae(t){return("of:="+t.replace(t2,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")}function Aae(t){return t.replace(/\./,"!")}var Rg=typeof Map<"u";function a2(t,n,e){var i=0,r=t.length;if(e){if(Rg?e.has(n):Object.prototype.hasOwnProperty.call(e,n))for(var o=Rg?e.get(n):e[n];i<o.length;++i)if(t[o[i]].t===n)return t.Count++,o[i]}else for(;i<r;++i)if(t[i].t===n)return t.Count++,i;return t[r]={t:n},t.Count++,t.Unique++,e&&(Rg?(e.has(n)||e.set(n,[]),e.get(n).push(r)):(Object.prototype.hasOwnProperty.call(e,n)||(e[n]=[]),e[n].push(r))),r}function jv(t,n){var e={min:t+1,max:t+1},i=-1;return n.MDW&&(_o=n.MDW),null!=n.width?e.customWidth=1:null!=n.wpx?i=Tg(n.wpx):null!=n.wch&&(i=n.wch),i>-1?(e.width=Iv(i),e.customWidth=1):null!=n.width&&(e.width=n.width),n.hidden&&(e.hidden=!0),null!=n.level&&(e.outlineLevel=e.level=n.level),e}function pu(t,n){if(t){var e=[.7,.7,.75,.75,.3,.3];"xlml"==n&&(e=[1,1,1,1,.5,.5]),null==t.left&&(t.left=e[0]),null==t.right&&(t.right=e[1]),null==t.top&&(t.top=e[2]),null==t.bottom&&(t.bottom=e[3]),null==t.header&&(t.header=e[4]),null==t.footer&&(t.footer=e[5])}}function Uc(t,n,e){var i=e.revssf[null!=n.z?n.z:"General"],r=60,o=t.length;if(null==i&&e.ssf)for(;r<392;++r)if(null==e.ssf[r]){rl(n.z,r),e.ssf[r]=n.z,e.revssf[n.z]=i=r;break}for(r=0;r!=o;++r)if(t[r].numFmtId===i)return r;return t[o]={numFmtId:i,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},o}function Fae(t,n,e){if(t&&t["!ref"]){var i=Tn(t["!ref"]);if(i.e.c<i.s.c||i.e.r<i.s.r)throw new Error("Bad range ("+e+"): "+t["!ref"])}}var $ae=["objects","scenarios","selectLockedCells","selectUnlockedCells"],qae=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function sle(t,n,e,i){if(t.c&&e["!comments"].push([n,t.c]),void 0===t.v&&"string"!=typeof t.f||"z"===t.t&&!t.f)return"";var r="",o=t.t,s=t.v;if("z"!==t.t)switch(t.t){case"b":r=t.v?"1":"0";break;case"n":r=""+t.v;break;case"e":r=zl[t.v];break;case"d":i&&i.cellDates?r=Oi(t.v,-1).toISOString():((t=ii(t)).t="n",r=""+(t.v=Ir(Oi(t.v)))),typeof t.z>"u"&&(t.z=Vt[14]);break;default:r=t.v}var a=Zr("v",qn(r)),l={r:n},d=Uc(i.cellXfs,t,i);switch(0!==d&&(l.s=d),t.t){case"n":case"z":break;case"d":l.t="d";break;case"b":l.t="b";break;case"e":l.t="e";break;default:if(null==t.v){delete t.t;break}if(t.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(i&&i.bookSST){a=Zr("v",""+a2(i.Strings,t.v,i.revStrings)),l.t="s";break}l.t="str"}if(t.t!=o&&(t.t=o,t.v=s),"string"==typeof t.f&&t.f){var f=t.F&&t.F.slice(0,n.length)==n?{t:"array",ref:t.F}:null;a=Ke("f",qn(t.f),f)+(null!=t.v?a:"")}return t.l&&e["!links"].push([n,t.l]),t.D&&(l.cm=1),Ke("c",a,l)}function zP(t,n,e,i){var s,r=[zi,Ke("worksheet",null,{xmlns:Vc[0],"xmlns:r":pr.r})],a="",l=e.Sheets[e.SheetNames[t]];null==l&&(l={});var d=l["!ref"]||"A1",f=Tn(d);if(f.e.c>16383||f.e.r>1048575){if(n.WTF)throw new Error("Range "+d+" exceeds format limit A1:XFD1048576");f.e.c=Math.min(f.e.c,16383),f.e.r=Math.min(f.e.c,1048575),d=an(f)}i||(i={}),l["!comments"]=[];var m=[];(function zae(t,n,e,i,r){var o=!1,s={},a=null;if("xlsx"!==i.bookType&&n.vbaraw){var l=n.SheetNames[e];try{n.Workbook&&(l=n.Workbook.Sheets[e].CodeName||l)}catch{}o=!0,s.codeName=sl(qn(l))}if(t&&t["!outline"]){var d={summaryBelow:1,summaryRight:1};t["!outline"].above&&(d.summaryBelow=0),t["!outline"].left&&(d.summaryRight=0),a=(a||"")+Ke("outlinePr",null,d)}!o&&!a||(r[r.length]=Ke("sheetPr",a,s))})(l,e,t,n,r),r[r.length]=Ke("dimension",null,{ref:d}),r[r.length]=function ole(t,n,e,i){var r={workbookViewId:"0"};return(((i||{}).Workbook||{}).Views||[])[0]&&(r.rightToLeft=i.Workbook.Views[0].RTL?"1":"0"),Ke("sheetViews",Ke("sheetView",null,r),{})}(0,0,0,e),n.sheetFormat&&(r[r.length]=Ke("sheetFormatPr",null,{defaultRowHeight:n.sheetFormat.defaultRowHeight||"16",baseColWidth:n.sheetFormat.baseColWidth||"10",outlineLevelRow:n.sheetFormat.outlineLevelRow||"7"})),null!=l["!cols"]&&l["!cols"].length>0&&(r[r.length]=function ele(t,n){for(var i,e=["<cols>"],r=0;r!=n.length;++r)(i=n[r])&&(e[e.length]=Ke("col",null,jv(r,i)));return e[e.length]="</cols>",e.join("")}(0,l["!cols"])),r[s=r.length]="<sheetData/>",l["!links"]=[],null!=l["!ref"]&&(a=function lle(t,n,e,i){var l,T,r=[],o=[],s=Tn(t["!ref"]),a="",d="",f=[],m=0,g=0,b=t["!rows"],M=Array.isArray(t),y={r:d},k=-1;for(g=s.s.c;g<=s.e.c;++g)f[g]=_i(g);for(m=s.s.r;m<=s.e.r;++m){for(o=[],d=$i(m),g=s.s.c;g<=s.e.c;++g){l=f[g]+d;var O=M?(t[m]||[])[g]:t[l];void 0!==O&&null!=(a=sle(O,l,t,n))&&o.push(a)}(o.length>0||b&&b[m])&&(y={r:d},b&&b[m]&&((T=b[m]).hidden&&(y.hidden=1),k=-1,T.hpx?k=wg(T.hpx):T.hpt&&(k=T.hpt),k>-1&&(y.ht=k,y.customHeight=1),T.level&&(y.outlineLevel=T.level)),r[r.length]=Ke("row",o.join(""),y))}if(b)for(;m<b.length;++m)b&&b[m]&&(y={r:m+1},(T=b[m]).hidden&&(y.hidden=1),k=-1,T.hpx?k=wg(T.hpx):T.hpt&&(k=T.hpt),k>-1&&(y.ht=k,y.customHeight=1),T.level&&(y.outlineLevel=T.level),r[r.length]=Ke("row","",y));return r.join("")}(l,n),a.length>0&&(r[r.length]=a)),r.length>s+1&&(r[r.length]="</sheetData>",r[s]=r[s].replace("/>",">")),l["!protect"]&&(r[r.length]=function Xae(t){var n={sheet:1};return $ae.forEach(function(e){null!=t[e]&&t[e]&&(n[e]="1")}),qae.forEach(function(e){null!=t[e]&&!t[e]&&(n[e]="0")}),t.password&&(n.password=QT(t.password).toString(16).toUpperCase()),Ke("sheetProtection",null,n)}(l["!protect"])),null!=l["!autofilter"]&&(r[r.length]=function nle(t,n,e,i){var r="string"==typeof t.ref?t.ref:an(t.ref);e.Workbook||(e.Workbook={Sheets:[]}),e.Workbook.Names||(e.Workbook.Names=[]);var o=e.Workbook.Names,s=Ho(r);s.s.r==s.e.r&&(s.e.r=Ho(n["!ref"]).e.r,r=an(s));for(var a=0;a<o.length;++a){var l=o[a];if("_xlnm._FilterDatabase"==l.Name&&l.Sheet==i){l.Ref="'"+e.SheetNames[i]+"'!"+r;break}}return a==o.length&&o.push({Name:"_xlnm._FilterDatabase",Sheet:i,Ref:"'"+e.SheetNames[i]+"'!"+r}),Ke("autoFilter",null,{ref:r})}(l["!autofilter"],l,e,t)),null!=l["!merges"]&&l["!merges"].length>0&&(r[r.length]=function Uae(t){if(0===t.length)return"";for(var n='<mergeCells count="'+t.length+'">',e=0;e!=t.length;++e)n+='<mergeCell ref="'+an(t[e])+'"/>';return n+"</mergeCells>"}(l["!merges"]));var b,g=-1,M=-1;return l["!links"].length>0&&(r[r.length]="<hyperlinks>",l["!links"].forEach(function(y){y[1].Target&&(b={ref:y[0]},"#"!=y[1].Target.charAt(0)&&(M=Yn(i,-1,qn(y[1].Target).replace(/#.*$/,""),ln.HLINK),b["r:id"]="rId"+M),(g=y[1].Target.indexOf("#"))>-1&&(b.location=qn(y[1].Target.slice(g+1))),y[1].Tooltip&&(b.tooltip=qn(y[1].Tooltip)),r[r.length]=Ke("hyperlink",null,b))}),r[r.length]="</hyperlinks>"),delete l["!links"],null!=l["!margins"]&&(r[r.length]=function Zae(t){return pu(t),Ke("pageMargins",null,t)}(l["!margins"])),(!n||n.ignoreEC||null==n.ignoreEC)&&(r[r.length]=Zr("ignoredErrors",Ke("ignoredError",null,{numberStoredAsText:1,sqref:d}))),m.length>0&&(M=Yn(i,-1,"../drawings/drawing"+(t+1)+".xml",ln.DRAW),r[r.length]=Ke("drawing",null,{"r:id":"rId"+M}),l["!drawing"]=m),l["!comments"].length>0&&(M=Yn(i,-1,"../drawings/vmlDrawing"+(t+1)+".vml",ln.VML),r[r.length]=Ke("legacyDrawing",null,{"r:id":"rId"+M}),l["!legacy"]=M),r.length>1&&(r[r.length]="</worksheet>",r[1]=r[1].replace("/>",">")),r.join("")}function ule(t,n,e,i){var r=function dle(t,n,e){var i=Fe(145),r=(e["!rows"]||[])[t]||{};i.write_shift(4,t),i.write_shift(4,0);var o=320;r.hpx?o=20*wg(r.hpx):r.hpt&&(o=20*r.hpt),i.write_shift(2,o),i.write_shift(1,0);var s=0;r.level&&(s|=r.level),r.hidden&&(s|=16),(r.hpx||r.hpt)&&(s|=32),i.write_shift(1,s),i.write_shift(1,0);var a=0,l=i.l;i.l+=4;for(var d={r:t,c:0},f=0;f<16;++f)if(!(n.s.c>f+1<<10||n.e.c<f<<10)){for(var m=-1,g=-1,b=f<<10;b<f+1<<10;++b)d.c=b,(Array.isArray(e)?(e[d.r]||[])[d.c]:e[zt(d)])&&(m<0&&(m=b),g=b);m<0||(++a,i.write_shift(4,m),i.write_shift(4,g))}var y=i.l;return i.l=l,i.write_shift(4,a),i.l=y,i.length>i.l?i.slice(0,i.l):i}(i,e,n);(r.length>17||(n["!rows"]||[])[i])&&Ye(t,0,r)}var fle=su,hle=kh;var Xle=su,Qle=kh,qP=["left","right","top","bottom","header","footer"];function hce(t,n,e,i,r,o,s){if(void 0===n.v)return!1;var a="";switch(n.t){case"b":a=n.v?"1":"0";break;case"d":(n=ii(n)).z=n.z||Vt[14],n.v=Ir(Oi(n.v)),n.t="n";break;case"n":case"e":a=""+n.v;break;default:a=n.v}var l={r:e,c:i};switch(l.s=Uc(r.cellXfs,n,r),n.l&&o["!links"].push([zt(l),n.l]),n.c&&o["!comments"].push([zt(l),n.c]),n.t){case"s":case"str":return r.bookSST?(a=a2(r.Strings,n.v,r.revStrings),l.t="s",l.v=a,s?Ye(t,18,function Fle(t,n,e){return null==e&&(e=Fe(8)),ou(n,e),e.write_shift(4,n.v),e}(0,l)):Ye(t,7,function Ale(t,n,e){return null==e&&(e=Fe(12)),iu(n,e),e.write_shift(4,n.v),e}(0,l))):(l.t="str",s?Ye(t,17,function Ule(t,n,e){return null==e&&(e=Fe(8+4*t.v.length)),ou(n,e),Pr(t.v,e),e.length>e.l?e.slice(0,e.l):e}(n,l)):Ye(t,6,function jle(t,n,e){return null==e&&(e=Fe(12+4*t.v.length)),iu(n,e),Pr(t.v,e),e.length>e.l?e.slice(0,e.l):e}(n,l))),!0;case"n":return n.v==(0|n.v)&&n.v>-1e3&&n.v<1e3?s?Ye(t,13,function Vle(t,n,e){return null==e&&(e=Fe(8)),ou(n,e),DL(t.v,e),e}(n,l)):Ye(t,2,function Ple(t,n,e){return null==e&&(e=Fe(12)),iu(n,e),DL(t.v,e),e}(n,l)):s?Ye(t,16,function Ile(t,n,e){return null==e&&(e=Fe(12)),ou(n,e),au(t.v,e),e}(n,l)):Ye(t,5,function Ole(t,n,e){return null==e&&(e=Fe(16)),iu(n,e),au(t.v,e),e}(n,l)),!0;case"b":return l.t="b",s?Ye(t,15,function xle(t,n,e){return null==e&&(e=Fe(5)),ou(n,e),e.write_shift(1,t.v?1:0),e}(n,l)):Ye(t,4,function Mle(t,n,e){return null==e&&(e=Fe(9)),iu(n,e),e.write_shift(1,t.v?1:0),e}(n,l)),!0;case"e":return l.t="e",s?Ye(t,14,function Sle(t,n,e){return null==e&&(e=Fe(8)),ou(n,e),e.write_shift(1,t.v),e.write_shift(2,0),e.write_shift(1,0),e}(n,l)):Ye(t,3,function wle(t,n,e){return null==e&&(e=Fe(9)),iu(n,e),e.write_shift(1,t.v),e}(n,l)),!0}return s?Ye(t,12,function Dle(t,n,e){return null==e&&(e=Fe(4)),ou(n,e)}(0,l)):Ye(t,1,function vle(t,n,e){return null==e&&(e=Fe(8)),iu(n,e)}(0,l)),!0}function Cce(t,n,e,i){var r=Vo(),o=e.SheetNames[t],s=e.Sheets[o]||{},a=o;try{e&&e.Workbook&&(a=e.Workbook.Sheets[t].CodeName||a)}catch{}var l=Tn(s["!ref"]||"A1");if(l.e.c>16383||l.e.r>1048575){if(n.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");l.e.c=Math.min(l.e.c,16383),l.e.r=Math.min(l.e.c,1048575)}return s["!links"]=[],s["!comments"]=[],Ye(r,129),(e.vbaraw||s["!outline"])&&Ye(r,147,function gle(t,n,e){null==e&&(e=Fe(84+4*t.length));var i=192;n&&(n.above&&(i&=-65),n.left&&(i&=-129)),e.write_shift(1,i);for(var r=1;r<3;++r)e.write_shift(1,0);return Tv({auto:1},e),e.write_shift(-4,-1),e.write_shift(-4,-1),bL(t,e),e.slice(0,e.l)}(a,s["!outline"])),Ye(r,148,hle(l)),function yce(t,n,e){Ye(t,133),Ye(t,137,function ace(t,n,e){null==e&&(e=Fe(30));var i=924;return(((n||{}).Views||[])[0]||{}).RTL&&(i|=32),e.write_shift(2,i),e.write_shift(4,0),e.write_shift(4,0),e.write_shift(4,0),e.write_shift(1,0),e.write_shift(1,0),e.write_shift(2,0),e.write_shift(2,100),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(4,0),e}(0,e)),Ye(t,138),Ye(t,134)}(r,0,e.Workbook),function gce(t,n){!n||!n["!cols"]||(Ye(t,390),n["!cols"].forEach(function(e,i){e&&Ye(t,60,function ice(t,n,e){null==e&&(e=Fe(18));var i=jv(t,n);e.write_shift(-4,t),e.write_shift(-4,t),e.write_shift(4,256*(i.width||10)),e.write_shift(4,0);var r=0;return n.hidden&&(r|=1),"number"==typeof i.width&&(r|=2),n.level&&(r|=n.level<<8),e.write_shift(2,r),e}(i,e))}),Ye(t,391))}(r,s),function pce(t,n,e,i){var r=Tn(n["!ref"]||"A1"),s="",a=[];Ye(t,145);var l=Array.isArray(n),d=r.e.r;n["!rows"]&&(d=Math.max(r.e.r,n["!rows"].length-1));for(var f=r.s.r;f<=d;++f){s=$i(f),ule(t,n,r,f);var m=!1;if(f<=r.e.r)for(var g=r.s.c;g<=r.e.c;++g){f===r.s.r&&(a[g]=_i(g));var b=l?(n[f]||[])[g]:n[a[g]+s];m=!!b&&hce(t,b,f,g,i,n,m)}}Ye(t,146)}(r,s,0,n),function Mce(t,n){n["!protect"]&&Ye(t,535,function cce(t,n){return null==n&&(n=Fe(66)),n.write_shift(2,t.password?QT(t.password):0),n.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(e){n.write_shift(4,e[1]?null==t[e[0]]||t[e[0]]?0:1:null!=t[e[0]]&&t[e[0]]?0:1)}),n}(n["!protect"]))}(r,s),function Dce(t,n,e,i){if(n["!autofilter"]){var r=n["!autofilter"],o="string"==typeof r.ref?r.ref:an(r.ref);e.Workbook||(e.Workbook={Sheets:[]}),e.Workbook.Names||(e.Workbook.Names=[]);var s=e.Workbook.Names,a=Ho(o);a.s.r==a.e.r&&(a.e.r=Ho(n["!ref"]).e.r,o=an(a));for(var l=0;l<s.length;++l){var d=s[l];if("_xlnm._FilterDatabase"==d.Name&&d.Sheet==i){d.Ref="'"+e.SheetNames[i]+"'!"+o;break}}l==s.length&&s.push({Name:"_xlnm._FilterDatabase",Sheet:i,Ref:"'"+e.SheetNames[i]+"'!"+o}),Ye(t,161,kh(Tn(o))),Ye(t,162)}}(r,s,e,t),function mce(t,n){!n||!n["!merges"]||(Ye(t,177,function Jle(t,n){return null==n&&(n=Fe(4)),n.write_shift(4,t),n}(n["!merges"].length)),n["!merges"].forEach(function(e){Ye(t,176,Qle(e))}),Ye(t,178))}(r,s),function vce(t,n,e){n["!links"].forEach(function(i){if(i[1].Target){var r=Yn(e,-1,i[1].Target.replace(/#.*$/,""),ln.HLINK);Ye(t,494,function Kle(t,n){var e=Fe(50+4*(t[1].Target.length+(t[1].Tooltip||"").length));kh({s:tr(t[0]),e:tr(t[0])},e),LT("rId"+n,e);var i=t[1].Target.indexOf("#");return Pr((-1==i?"":t[1].Target.slice(i+1))||"",e),Pr(t[1].Tooltip||"",e),Pr("",e),e.slice(0,e.l)}(i,r))}}),delete n["!links"]}(r,s,i),s["!margins"]&&Ye(r,476,function oce(t,n){return null==n&&(n=Fe(48)),pu(t),qP.forEach(function(e){au(t[e],n)}),n}(s["!margins"])),(!n||n.ignoreEC||null==n.ignoreEC)&&function _ce(t,n){!n||!n["!ref"]||(Ye(t,648),Ye(t,649,function lce(t){var n=Fe(24);return n.write_shift(4,4),n.write_shift(4,1),kh(t,n),n}(Tn(n["!ref"]))),Ye(t,650))}(r,s),function bce(t,n,e,i){if(n["!comments"].length>0){var r=Yn(i,-1,"../drawings/vmlDrawing"+(e+1)+".vml",ln.VML);Ye(t,551,LT("rId"+r)),n["!legacy"]=r}}(r,s,t,i),Ye(r,130),r.end()}var c2=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],Ice="][*?/\\".split("");function ZP(t,n){if(t.length>31){if(n)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var e=!0;return Ice.forEach(function(i){if(-1!=t.indexOf(i)){if(!n)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");e=!1}}),e}function e4(t){var n=[zi];n[n.length]=Ke("workbook",null,{xmlns:Vc[0],"xmlns:r":pr.r});var e=t.Workbook&&(t.Workbook.Names||[]).length>0,i={codeName:"ThisWorkbook"};t.Workbook&&t.Workbook.WBProps&&(c2.forEach(function(a){null!=t.Workbook.WBProps[a[0]]&&t.Workbook.WBProps[a[0]]!=a[1]&&(i[a[0]]=t.Workbook.WBProps[a[0]])}),t.Workbook.WBProps.CodeName&&(i.codeName=t.Workbook.WBProps.CodeName,delete i.CodeName)),n[n.length]=Ke("workbookPr",null,i);var r=t.Workbook&&t.Workbook.Sheets||[],o=0;if(r&&r[0]&&r[0].Hidden){for(n[n.length]="<bookViews>",o=0;o!=t.SheetNames.length&&r[o]&&r[o].Hidden;++o);o==t.SheetNames.length&&(o=0),n[n.length]='<workbookView firstSheet="'+o+'" activeTab="'+o+'"/>',n[n.length]="</bookViews>"}for(n[n.length]="<sheets>",o=0;o!=t.SheetNames.length;++o){var s={name:qn(t.SheetNames[o].slice(0,31))};if(s.sheetId=""+(o+1),s["r:id"]="rId"+(o+1),r[o])switch(r[o].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden"}n[n.length]=Ke("sheet",null,s)}return n[n.length]="</sheets>",e&&(n[n.length]="<definedNames>",t.Workbook&&t.Workbook.Names&&t.Workbook.Names.forEach(function(a){var l={name:a.Name};a.Comment&&(l.comment=a.Comment),null!=a.Sheet&&(l.localSheetId=""+a.Sheet),a.Hidden&&(l.hidden="1"),a.Ref&&(n[n.length]=Ke("definedName",qn(a.Ref),l))}),n[n.length]="</definedNames>"),n.length>2&&(n[n.length]="</workbook>",n[1]=n[1].replace("/>",">")),n.join("")}function Hce(t,n){return n||(n=Fe(127)),n.write_shift(4,t.Hidden),n.write_shift(4,t.iTabID),LT(t.strRelID,n),Pr(t.name.slice(0,31),n),n.length>n.l?n.slice(0,n.l):n}function Qce(t,n){var e=Vo();return Ye(e,131),Ye(e,128,function $ce(t,n){n||(n=Fe(127));for(var e=0;4!=e;++e)n.write_shift(4,0);return Pr("SheetJS",n),Pr(rg.version,n),Pr(rg.version,n),Pr("7262",n),n.length>n.l?n.slice(0,n.l):n}()),Ye(e,153,function jce(t,n){n||(n=Fe(72));var e=0;return t&&t.filterPrivacy&&(e|=8),n.write_shift(4,e),n.write_shift(4,0),bL(t&&t.CodeName||"ThisWorkbook",n),n.slice(0,n.l)}(t.Workbook&&t.Workbook.WBProps||null)),function Xce(t,n){if(n.Workbook&&n.Workbook.Sheets){for(var e=n.Workbook.Sheets,i=0,r=-1,o=-1;i<e.length;++i)!e[i]||!e[i].Hidden&&-1==r?r=i:1==e[i].Hidden&&-1==o&&(o=i);o>r||(Ye(t,135),Ye(t,158,function qce(t,n){return n||(n=Fe(29)),n.write_shift(-4,0),n.write_shift(-4,460),n.write_shift(4,28800),n.write_shift(4,17600),n.write_shift(4,500),n.write_shift(4,t),n.write_shift(4,t),n.write_shift(1,120),n.length>n.l?n.slice(0,n.l):n}(r)),Ye(t,136))}}(e,t),function zce(t,n){Ye(t,143);for(var e=0;e!=n.SheetNames.length;++e)Ye(t,156,Hce({Hidden:n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[e]&&n.Workbook.Sheets[e].Hidden||0,iTabID:e+1,strRelID:"rId"+(e+1),name:n.SheetNames[e]}));Ye(t,144)}(e,t),Ye(e,132),e.end()}function dde(t,n,e,i,r){return(".bin"===n.slice(-4)?Cce:zP)(t,e,i,r)}function hde(t,n,e){return(".bin"===n.slice(-4)?Xoe:RP)(t,e)}function r4(t){return Ke("NamedRange",null,{"ss:Name":t.Name,"ss:RefersTo":"="+n2(t.Ref,{r:0,c:0})})}function kde(t,n,e,i,r,o,s){if(!t||null==t.v&&null==t.f)return"";var a={};if(t.f&&(a["ss:Formula"]="="+qn(n2(t.f,s))),t.F&&t.F.slice(0,n.length)==n){var l=tr(t.F.slice(n.length+1));a["ss:ArrayRange"]="RC:R"+(l.r==s.r?"":"["+(l.r-s.r)+"]")+"C"+(l.c==s.c?"":"["+(l.c-s.c)+"]")}if(t.l&&t.l.Target&&(a["ss:HRef"]=qn(t.l.Target),t.l.Tooltip&&(a["x:HRefScreenTip"]=qn(t.l.Tooltip))),e["!merges"])for(var d=e["!merges"],f=0;f!=d.length;++f)d[f].s.c!=s.c||d[f].s.r!=s.r||(d[f].e.c>d[f].s.c&&(a["ss:MergeAcross"]=d[f].e.c-d[f].s.c),d[f].e.r>d[f].s.r&&(a["ss:MergeDown"]=d[f].e.r-d[f].s.r));var m="",g="";switch(t.t){case"z":if(!i.sheetStubs)return"";break;case"n":m="Number",g=String(t.v);break;case"b":m="Boolean",g=t.v?"1":"0";break;case"e":m="Error",g=zl[t.v];break;case"d":m="DateTime",g=new Date(t.v).toISOString(),null==t.z&&(t.z=t.z||Vt[14]);break;case"s":m="String",g=function Jee(t){return(t+"").replace(DT,function(e){return bT[e]}).replace(q3,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}(t.v||"")}var b=Uc(i.cellXfs,t,i);a["ss:StyleID"]="s"+(21+b),a["ss:Index"]=s.c+1;var y="z"==t.t?"":'<Data ss:Type="'+m+'">'+(null!=t.v?g:"")+"</Data>";return(t.c||[]).length>0&&(y+=function Sde(t){return t.map(function(n){var e=function Zee(t){return t.replace(/(\r\n|[\r\n])/g," ")}(n.t||""),i=Ke("ss:Data",e,{xmlns:"http://www.w3.org/TR/REC-html40"});return Ke("Comment",i,{"ss:Author":n.a})}).join("")}(t.c)),Ke("Cell",y,a)}function Ade(t,n){var e='<Row ss:Index="'+(t+1)+'"';return n&&(n.hpt&&!n.hpx&&(n.hpx=Lv(n.hpt)),n.hpx&&(e+=' ss:AutoFitHeight="0" ss:Height="'+n.hpx+'"'),n.hidden&&(e+=' ss:Hidden="1"')),e+">"}function Fde(t,n,e){var i=[],o=e.Sheets[e.SheetNames[t]],s=o?function wde(t,n,e,i){if(!t||!((i||{}).Workbook||{}).Names)return"";for(var r=i.Workbook.Names,o=[],s=0;s<r.length;++s){var a=r[s];a.Sheet==e&&(a.Name.match(/^_xlfn\./)||o.push(r4(a)))}return o.join("")}(o,0,t,e):"";return s.length>0&&i.push("<Names>"+s+"</Names>"),s=o?function Rde(t,n,e,i){if(!t["!ref"])return"";var r=Tn(t["!ref"]),o=t["!merges"]||[],s=0,a=[];t["!cols"]&&t["!cols"].forEach(function(T,k){jc(T);var O=!!T.width,N=jv(k,T),H={"ss:Index":k+1};O&&(H["ss:Width"]=xg(N.width)),T.hidden&&(H["ss:Hidden"]="1"),a.push(Ke("Column",null,H))});for(var l=Array.isArray(t),d=r.s.r;d<=r.e.r;++d){for(var f=[Ade(d,(t["!rows"]||[])[d])],m=r.s.c;m<=r.e.c;++m){var g=!1;for(s=0;s!=o.length;++s)if(!(o[s].s.c>m||o[s].s.r>d||o[s].e.c<m||o[s].e.r<d)){(o[s].s.c!=m||o[s].s.r!=d)&&(g=!0);break}if(!g){var b={r:d,c:m},M=zt(b);f.push(kde(l?(t[d]||[])[m]:t[M],M,t,n,0,0,b))}}f.push("</Row>"),f.length>2&&a.push(f.join(""))}return a.join("")}(o,n):"",s.length>0&&i.push("<Table>"+s+"</Table>"),i.push(function Ede(t,n,e,i){if(!t)return"";var r=[];if(t["!margins"]&&(r.push("<PageSetup>"),t["!margins"].header&&r.push(Ke("Header",null,{"x:Margin":t["!margins"].header})),t["!margins"].footer&&r.push(Ke("Footer",null,{"x:Margin":t["!margins"].footer})),r.push(Ke("PageMargins",null,{"x:Bottom":t["!margins"].bottom||"0.75","x:Left":t["!margins"].left||"0.7","x:Right":t["!margins"].right||"0.7","x:Top":t["!margins"].top||"0.75"})),r.push("</PageSetup>")),i&&i.Workbook&&i.Workbook.Sheets&&i.Workbook.Sheets[e])if(i.Workbook.Sheets[e].Hidden)r.push(Ke("Visible",1==i.Workbook.Sheets[e].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var o=0;o<e&&(!i.Workbook.Sheets[o]||i.Workbook.Sheets[o].Hidden);++o);o==e&&r.push("<Selected/>")}return((((i||{}).Workbook||{}).Views||[])[0]||{}).RTL&&r.push("<DisplayRightToLeft/>"),t["!protect"]&&(r.push(Zr("ProtectContents","True")),t["!protect"].objects&&r.push(Zr("ProtectObjects","True")),t["!protect"].scenarios&&r.push(Zr("ProtectScenarios","True")),null==t["!protect"].selectLockedCells||t["!protect"].selectLockedCells?null!=t["!protect"].selectUnlockedCells&&!t["!protect"].selectUnlockedCells&&r.push(Zr("EnableSelection","UnlockedCells")):r.push(Zr("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(s){t["!protect"][s[0]]&&r.push("<"+s[1]+"/>")})),0==r.length?"":Ke("WorksheetOptions",r.join(""),{xmlns:Ns.x})}(o,0,t,e)),i.join("")}function Nde(t,n){n||(n={}),t.SSF||(t.SSF=ii(Vt)),t.SSF&&(xh(),ug(t.SSF),n.revssf=bv(t.SSF),n.revssf[t.SSF[65535]]=0,n.ssf=t.SSF,n.cellXfs=[],Uc(n.cellXfs,{},{revssf:{General:0}}));var e=[];e.push(function Mde(t,n){var e=[];return t.Props&&e.push(function Jte(t,n){var e=[];return Ui(UT).map(function(i){for(var r=0;r<$l.length;++r)if($l[r][1]==i)return $l[r];for(r=0;r<cu.length;++r)if(cu[r][1]==i)return cu[r];throw i}).forEach(function(i){if(null!=t[i[1]]){var r=n&&n.Props&&null!=n.Props[i[1]]?n.Props[i[1]]:t[i[1]];"date"===i[2]&&(r=new Date(r).toISOString().replace(/\.\d*Z/,"Z")),"number"==typeof r?r=String(r):!0===r||!1===r?r=r?"1":"0":r instanceof Date&&(r=new Date(r).toISOString().replace(/\.\d*Z/,"")),e.push(Zr(UT[i[1]]||i[1],r))}}),Ke("DocumentProperties",e.join(""),{xmlns:Ns.o})}(t.Props,n)),t.Custprops&&e.push(function Zte(t,n){var e=["Worksheets","SheetNames"],i="CustomDocumentProperties",r=[];return t&&Ui(t).forEach(function(o){if(Object.prototype.hasOwnProperty.call(t,o)){for(var s=0;s<$l.length;++s)if(o==$l[s][1])return;for(s=0;s<cu.length;++s)if(o==cu[s][1])return;for(s=0;s<e.length;++s)if(o==e[s])return;var a=t[o],l="string";"number"==typeof a?(l="float",a=String(a)):!0===a||!1===a?(l="boolean",a=a?"1":"0"):a=String(a),r.push(Ke($3(o),a,{"dt:dt":l}))}}),n&&Ui(n).forEach(function(o){if(Object.prototype.hasOwnProperty.call(n,o)&&(!t||!Object.prototype.hasOwnProperty.call(t,o))){var s=n[o],a="string";"number"==typeof s?(a="float",s=String(s)):!0===s||!1===s?(a="boolean",s=s?"1":"0"):s instanceof Date?(a="dateTime.tz",s=s.toISOString()):s=String(s),r.push(Ke($3(o),s,{"dt:dt":a}))}}),"<"+i+' xmlns="'+Ns.o+'">'+r.join("")+"</"+i+">"}(t.Props,t.Custprops)),e.join("")}(t,n)),e.push(""),e.push(""),e.push("");for(var i=0;i<t.SheetNames.length;++i)e.push(Ke("Worksheet",Fde(i,n,t),{"ss:Name":qn(t.SheetNames[i])}));return e[2]=function xde(t,n){var e=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return n.cellXfs.forEach(function(i,r){var o=[];o.push(Ke("NumberFormat",null,{"ss:Format":qn(Vt[i.numFmtId])}));var s={"ss:ID":"s"+(21+r)};e.push(Ke("Style",o.join(""),s))}),Ke("Styles",e.join(""))}(0,n),e[3]=function Tde(t){if(!((t||{}).Workbook||{}).Names)return"";for(var n=t.Workbook.Names,e=[],i=0;i<n.length;++i){var r=n[i];null==r.Sheet&&(r.Name.match(/^_xlfn\./)||e.push(r4(r)))}return Ke("Names",e.join(""))}(t),zi+Ke("Workbook",e.join(""),{xmlns:Ns.ss,"xmlns:o":Ns.o,"xmlns:x":Ns.x,"xmlns:ss":Ns.ss,"xmlns:dt":Ns.dt,"xmlns:html":Ns.html})}var Ng={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};var Og={0:{f:function cle(t,n){var e={},i=t.l+n;e.r=t.read_shift(4),t.l+=4;var r=t.read_shift(2);t.l+=1;var o=t.read_shift(1);return t.l=i,7&o&&(e.level=7&o),16&o&&(e.hidden=!0),32&o&&(e.hpt=r/20),e}},1:{f:function _le(t){return[la(t)]}},2:{f:function Lle(t){return[la(t),PT(t),"n"]}},3:{f:function Tle(t){return[la(t),t.read_shift(1),"e"]}},4:{f:function yle(t){return[la(t),t.read_shift(1),"b"]}},5:{f:function Nle(t){return[la(t),mo(t),"n"]}},6:{f:function Gle(t){return[la(t),po(t),"str"]}},7:{f:function kle(t){return[la(t),t.read_shift(4),"s"]}},8:{f:function qle(t,n,e){var i=t.l+n,r=la(t);r.r=e["!row"];var s=[r,po(t),"str"];if(e.cellFormula){t.l+=2;var a=Hv(t,i-t.l,e);s[3]=vo(a,0,r,e.supbooks,e)}else t.l=i;return s}},9:{f:function $le(t,n,e){var i=t.l+n,r=la(t);r.r=e["!row"];var s=[r,mo(t),"n"];if(e.cellFormula){t.l+=2;var a=Hv(t,i-t.l,e);s[3]=vo(a,0,r,e.supbooks,e)}else t.l=i;return s}},10:{f:function Wle(t,n,e){var i=t.l+n,r=la(t);r.r=e["!row"];var s=[r,t.read_shift(1),"b"];if(e.cellFormula){t.l+=2;var a=Hv(t,i-t.l,e);s[3]=vo(a,0,r,e.supbooks,e)}else t.l=i;return s}},11:{f:function zle(t,n,e){var i=t.l+n,r=la(t);r.r=e["!row"];var s=[r,t.read_shift(1),"e"];if(e.cellFormula){t.l+=2;var a=Hv(t,i-t.l,e);s[3]=vo(a,0,r,e.supbooks,e)}else t.l=i;return s}},12:{f:function ble(t){return[ru(t)]}},13:{f:function Ble(t){return[ru(t),PT(t),"n"]}},14:{f:function Ele(t){return[ru(t),t.read_shift(1),"e"]}},15:{f:function Cle(t){return[ru(t),t.read_shift(1),"b"]}},16:{f:function $P(t){return[ru(t),mo(t),"n"]}},17:{f:function Yle(t){return[ru(t),po(t),"str"]}},18:{f:function Rle(t){return[ru(t),t.read_shift(4),"s"]}},19:{f:NT},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:function Uce(t,n,e){var i=t.l+n;t.l+=4,t.l+=1;var r=t.read_shift(4),o=xte(t),s=Tae(t,0,e),a=OT(t);t.l=i;var l={Name:o,Ptg:s};return r<268435455&&(l.Sheet=r),a&&(l.Comment=a),l}},40:{},42:{},43:{f:function Gre(t,n,e){var i={};i.sz=t.read_shift(2)/20;var r=function Ete(t){var n=t.read_shift(1);return t.l++,{fBold:1&n,fItalic:2&n,fUnderline:4&n,fStrikeout:8&n,fOutline:16&n,fShadow:32&n,fCondense:64&n,fExtend:128&n}}(t);switch(r.fItalic&&(i.italic=1),r.fCondense&&(i.condense=1),r.fExtend&&(i.extend=1),r.fShadow&&(i.shadow=1),r.fOutline&&(i.outline=1),r.fStrikeout&&(i.strike=1),700===t.read_shift(2)&&(i.bold=1),t.read_shift(2)){case 1:i.vertAlign="superscript";break;case 2:i.vertAlign="subscript"}var s=t.read_shift(1);0!=s&&(i.underline=s);var a=t.read_shift(1);a>0&&(i.family=a);var l=t.read_shift(1);switch(l>0&&(i.charset=l),t.l++,i.color=function wte(t){var n={},i=t.read_shift(1)>>>1,r=t.read_shift(1),o=t.read_shift(2,"i"),s=t.read_shift(1),a=t.read_shift(1),l=t.read_shift(1);switch(t.l++,i){case 0:n.auto=1;break;case 1:n.index=r;var d=lu[r];d&&(n.rgb=Cg(d));break;case 2:n.rgb=Cg([s,a,l]);break;case 3:n.theme=r}return 0!=o&&(n.tint=o>0?o/32767:o/32768),n}(t),t.read_shift(1)){case 1:i.scheme="major";break;case 2:i.scheme="minor"}return i.name=po(t),i}},44:{f:function Vre(t,n){return[t.read_shift(2),po(t)]}},45:{f:Ure},46:{f:zre},47:{f:function Wre(t,n){var e=t.l+n,i=t.read_shift(2),r=t.read_shift(2);return t.l=e,{ixfe:i,numFmtId:r}}},48:{},49:{f:function _te(t){return t.read_shift(4,"i")}},50:{},51:{f:function woe(t){for(var n=[],e=t.read_shift(4);e-- >0;)n.push([t.read_shift(4),t.read_shift(4)]);return n}},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:function uP(t,n,e){if(!e.cellStyles)return ho(t,n);var i=e&&e.biff>=12?4:2,r=t.read_shift(i),o=t.read_shift(i),s=t.read_shift(i),a=t.read_shift(i),l=t.read_shift(2);2==i&&(t.l+=2);var d={s:r,e:o,w:s,ixfe:a,flags:l};return(e.biff>=5||!e.biff)&&(d.level=l>>8&7),d}},62:{f:function Hle(t){return[la(t),NT(t),"is"]}},63:{f:function Ioe(t){var n={};n.i=t.read_shift(4);var e={};e.r=t.read_shift(4),e.c=t.read_shift(4),n.r=zt(e);var i=t.read_shift(1);return 2&i&&(n.l="1"),8&i&&(n.a="1"),n}},64:{f:function dce(){}},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:ho,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:function sce(t){var n=t.read_shift(2);return t.l+=28,{RTL:32&n}}},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:function mle(t,n){var e={},i=t[t.l];return++t.l,e.above=!(64&i),e.left=!(128&i),t.l+=18,e.name=Cte(t,n-19),e}},148:{f:fle,p:16},151:{f:function ece(){}},152:{},153:{f:function Gce(t,n){var e={},i=t.read_shift(4);e.defaultThemeVersion=t.read_shift(4);var r=n>8?po(t):"";return r.length>0&&(e.CodeName=r),e.autoCompressPictures=!!(65536&i),e.backupFile=!!(64&i),e.checkCompatibility=!!(4096&i),e.date1904=!!(1&i),e.filterPrivacy=!!(8&i),e.hidePivotFieldList=!!(1024&i),e.promptedSolutions=!!(16&i),e.publishItems=!!(2048&i),e.refreshAllConnections=!!(262144&i),e.saveExternalLinkValues=!!(128&i),e.showBorderUnselectedTables=!!(4&i),e.showInkAnnotation=!!(32&i),e.showObjects=["all","placeholders","none"][i>>13&3],e.showPivotChartFilter=!!(32768&i),e.updateLinks=["userSet","never","always"][i>>8&3],e}},154:{},155:{},156:{f:function Vce(t,n){var e={};return e.Hidden=t.read_shift(4),e.iTabID=t.read_shift(4),e.strRelID=IT(t,n-8),e.name=po(t),e}},157:{},158:{},159:{T:1,f:function are(t){return[t.read_shift(4),t.read_shift(4)]}},160:{T:-1},161:{T:1,f:su},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:Xle},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:function xoe(t,n){return{flags:t.read_shift(4),version:t.read_shift(4),name:po(t)}}},336:{T:-1},337:{f:function koe(t){return t.l+=4,0!=t.read_shift(4)},T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:IT},357:{},358:{},359:{},360:{T:1},361:{},362:{f:function cP(t,n,e){if(e.biff<8)return function fie(t,n,e){3==t[t.l+1]&&t[t.l]++;var i=yg(t,0,e);return 3==i.charCodeAt(0)?i.slice(1):i}(t,0,e);for(var i=[],r=t.l+n,o=t.read_shift(e.biff>8?4:2);0!=o--;)i.push(Dne(t,0,e));if(t.l!=r)throw new Error("Bad ExternSheet: "+t.l+" != "+r);return i}},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:function tce(t,n,e){var i=t.l+n,r=yL(t),o=t.read_shift(1),s=[r];if(s[2]=o,e.cellFormula){var a=xae(t,i-t.l,e);s[1]=a}else t.l=i;return s}},427:{f:function nce(t,n,e){var i=t.l+n,o=[su(t,16)];if(e.cellFormula){var s=wae(t,i-t.l,e);o[1]=s,t.l=i}else t.l=i;return o}},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:function rce(t){var n={};return qP.forEach(function(e){n[e]=mo(t)}),n}},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:function ple(){}},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:function Zle(t,n){var e=t.l+n,i=su(t,16),r=OT(t),o=po(t),s=po(t),a=po(t);t.l=e;var l={rfx:i,relId:r,loc:o,display:a};return s&&(l.Tooltip=s),l}},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:IT},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:zoe},633:{T:1},634:{T:-1},635:{T:1,f:function Uoe(t){var n={};n.iauthor=t.read_shift(4);var e=su(t,16);return n.rfx=e.s,n.ref=zt(e.s),t.l+=16,n}},636:{T:-1},637:{f:yte},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:function Sce(t,n){return t.l+=10,{name:po(t)}}},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:function uce(){}},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};function et(t,n,e,i){var r=n;if(!isNaN(r)){var o=i||(e||[]).length||0,s=t.next(4);s.write_shift(2,r),s.write_shift(2,o),o>0&&kT(e)&&t.push(e)}}function Ig(t,n,e){return t||(t=Fe(7)),t.write_shift(2,n),t.write_shift(2,e),t.write_shift(2,0),t.write_shift(1,0),t}function Ude(t,n,e,i){if(null!=n.v)switch(n.t){case"d":case"n":var r="d"==n.t?Ir(Oi(n.v)):n.v;return void(r==(0|r)&&r>=0&&r<65536?et(t,2,function Wie(t,n,e){var i=Fe(9);return Ig(i,t,n),i.write_shift(2,e),i}(e,i,r)):et(t,3,function Yie(t,n,e){var i=Fe(15);return Ig(i,t,n),i.write_shift(8,e,"f"),i}(e,i,r)));case"b":case"e":return void et(t,5,function jde(t,n,e,i){var r=Fe(9);return Ig(r,t,n),$L(e,i||"b",r),r}(e,i,n.v,n.t));case"s":case"str":return void et(t,4,function Yde(t,n,e){var i=Fe(8+2*e.length);return Ig(i,t,n),i.write_shift(1,e.length),i.write_shift(e.length,e,"sbcs"),i.l<i.length?i.slice(0,i.l):i}(e,i,(n.v||"").slice(0,255)))}et(t,1,Ig(null,e,i))}function Kde(t,n,e,i,r){var o=16+Uc(r.cellXfs,n,r);if(null!=n.v||n.bf)if(n.bf)et(t,6,function Cae(t,n,e,i,r){var o=fu(n,e,r),s=function Mae(t){if(null==t){var n=Fe(8);return n.write_shift(1,3),n.write_shift(1,0),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,65535),n}return au("number"==typeof t?t:0)}(t.v),a=Fe(6);a.write_shift(2,33),a.write_shift(4,0);for(var d=Fe(t.bf.length),f=0;f<t.bf.length;++f)d[f]=t.bf[f];return Or([o,s,a,d])}(n,e,i,0,o));else switch(n.t){case"d":case"n":et(t,515,function cie(t,n,e,i){var r=Fe(14);return fu(t,n,i,r),au(e,r),r}(e,i,"d"==n.t?Ir(Oi(n.v)):n.v,o));break;case"b":case"e":et(t,517,function aie(t,n,e,i,r,o){var s=Fe(8);return fu(t,n,i,s),$L(e,o,s),s}(e,i,n.v,o,0,n.t));break;case"s":case"str":r.bookSST?et(t,253,function $ne(t,n,e,i){var r=Fe(10);return fu(t,n,i,r),r.write_shift(4,e),r}(e,i,a2(r.Strings,n.v,r.revStrings),o)):et(t,516,function Xne(t,n,e,i,r){var o=!r||8==r.biff,s=Fe(+o+8+(1+o)*e.length);return fu(t,n,i,s),s.write_shift(2,e.length),o&&s.write_shift(1,1),s.write_shift((1+o)*e.length,e,o?"utf16le":"sbcs"),s}(e,i,(n.v||"").slice(0,255),o,r));break;default:et(t,513,fu(e,i,o))}else et(t,513,fu(e,i,o))}function eue(t,n,e){var f,i=Vo(),r=e.SheetNames[t],o=e.Sheets[r]||{},s=(e||{}).Workbook||{},a=(s.Sheets||[])[t]||{},l=Array.isArray(o),d=8==n.biff,m="",g=[],b=Tn(o["!ref"]||"A1"),M=d?65536:16384;if(b.e.c>255||b.e.r>=M){if(n.WTF)throw new Error("Range "+(o["!ref"]||"A1")+" exceeds format limit A1:IV16384");b.e.c=Math.min(b.e.c,255),b.e.r=Math.min(b.e.c,M-1)}et(i,2057,qT(0,16,n)),et(i,13,ca(1)),et(i,12,ca(100)),et(i,15,Go(!0)),et(i,17,Go(!1)),et(i,16,au(.001)),et(i,95,Go(!0)),et(i,42,Go(!1)),et(i,43,Go(!1)),et(i,130,ca(1)),et(i,128,function sie(t){var n=Fe(8);return n.write_shift(4,0),n.write_shift(2,t[0]?t[0]+1:0),n.write_shift(2,t[1]?t[1]+1:0),n}([0,0])),et(i,131,Go(!1)),et(i,132,Go(!1)),d&&function Zde(t,n){if(n){var e=0;n.forEach(function(i,r){++e<=256&&i&&et(t,125,function Nie(t,n){var e=Fe(12);e.write_shift(2,n),e.write_shift(2,n),e.write_shift(2,256*t.width),e.write_shift(2,0);var i=0;return t.hidden&&(i|=1),e.write_shift(1,i),e.write_shift(1,i=t.level||0),e.write_shift(2,0),e}(jv(r,i),r))})}}(i,o["!cols"]),et(i,512,function Kne(t,n){var e=8!=n.biff&&n.biff?2:4,i=Fe(2*e+6);return i.write_shift(e,t.s.r),i.write_shift(e,t.e.r+1),i.write_shift(2,t.s.c),i.write_shift(2,t.e.c+1),i.write_shift(2,0),i}(b,n)),d&&(o["!links"]=[]);for(var y=b.s.r;y<=b.e.r;++y){m=$i(y);for(var T=b.s.c;T<=b.e.c;++T){y===b.s.r&&(g[T]=_i(T)),f=g[T]+m;var k=l?(o[y]||[])[T]:o[f];k&&(Kde(i,k,y,T,n),d&&k.l&&o["!links"].push([f,k.l]))}}var O=a.CodeName||a.name||r;return d&&et(i,574,function jne(t){var n=Fe(18),e=1718;return t&&t.RTL&&(e|=64),n.write_shift(2,e),n.write_shift(4,0),n.write_shift(4,64),n.write_shift(4,0),n.write_shift(4,0),n}((s.Views||[])[0])),d&&(o["!merges"]||[]).length&&et(i,229,function bie(t){var n=Fe(2+8*t.length);n.write_shift(2,t.length);for(var e=0;e<t.length;++e)KL(t[e],n);return n}(o["!merges"])),d&&function Jde(t,n){for(var e=0;e<n["!links"].length;++e){var i=n["!links"][e];et(t,440,Tie(i)),i[1].Tooltip&&et(t,2048,Eie(i))}delete n["!links"]}(i,o),et(i,442,qL(O)),d&&function Xde(t,n){var e=Fe(19);e.write_shift(4,2151),e.write_shift(4,0),e.write_shift(4,0),e.write_shift(2,3),e.write_shift(1,1),e.write_shift(4,0),et(t,2151,e),(e=Fe(39)).write_shift(4,2152),e.write_shift(4,0),e.write_shift(4,0),e.write_shift(2,3),e.write_shift(1,0),e.write_shift(4,0),e.write_shift(2,1),e.write_shift(4,4),e.write_shift(2,0),KL(Tn(n["!ref"]||"A1"),e),e.write_shift(4,4),et(t,2152,e)}(i,o),et(i,10),i.end()}function tue(t,n,e){var i=Vo(),r=(t||{}).Workbook||{},o=r.Sheets||[],s=r.WBProps||{},a=8==e.biff,l=5==e.biff;et(i,2057,qT(0,5,e)),"xla"==e.bookType&&et(i,135),et(i,225,a?ca(1200):null),et(i,193,function ane(t,n){n||(n=Fe(t));for(var e=0;e<t;++e)n.write_shift(1,0);return n}(2)),l&&et(i,191),l&&et(i,192),et(i,226),et(i,92,function kne(t,n){var e=!n||8==n.biff,i=Fe(e?112:54);for(i.write_shift(8==n.biff?2:1,7),e&&i.write_shift(1,0),i.write_shift(4,859007059),i.write_shift(4,5458548|(e?0:536870912));i.l<i.length;)i.write_shift(1,e?0:32);return i}(0,e)),et(i,66,ca(a?1200:1252)),a&&et(i,353,ca(0)),a&&et(i,448),et(i,317,function Lie(t){for(var n=Fe(2*t),e=0;e<t;++e)n.write_shift(2,e+1);return n}(t.SheetNames.length)),a&&t.vbaraw&&et(i,211),a&&t.vbaraw&&et(i,442,qL(s.CodeName||"ThisWorkbook")),et(i,156,ca(17)),et(i,25,Go(!1)),et(i,18,Go(!1)),et(i,19,ca(0)),a&&et(i,431,Go(!1)),a&&et(i,444,ca(0)),et(i,61,function Hne(){var t=Fe(18);return t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,29280),t.write_shift(2,17600),t.write_shift(2,56),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,1),t.write_shift(2,500),t}()),et(i,64,Go(!1)),et(i,141,ca(0)),et(i,34,Go("true"==function Oce(t){return t.Workbook&&t.Workbook.WBProps&&function Ei(t){switch(t){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}(t.Workbook.WBProps.date1904)?"true":"false"}(t))),et(i,14,Go(!0)),a&&et(i,439,Go(!1)),et(i,218,ca(0)),function $de(t,n,e){et(t,49,function Wne(t,n){var e=t.name||"Arial",i=n&&5==n.biff,o=Fe(i?15+e.length:16+2*e.length);return o.write_shift(2,20*(t.sz||12)),o.write_shift(4,0),o.write_shift(2,400),o.write_shift(4,0),o.write_shift(2,0),o.write_shift(1,e.length),i||o.write_shift(1,1),o.write_shift((i?1:2)*e.length,e,i?"sbcs":"utf16le"),o}({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},e))}(i,0,e),function qde(t,n,e){n&&[[5,8],[23,26],[41,44],[50,392]].forEach(function(i){for(var r=i[0];r<=i[1];++r)null!=n[r]&&et(t,1054,Jne(r,n[r],e))})}(i,t.SSF,e),function Qde(t,n){for(var e=0;e<16;++e)et(t,224,rP({numFmtId:0,style:!0},0,n));n.cellXfs.forEach(function(i){et(t,224,rP(i,0,n))})}(i,e),a&&et(i,352,Go(!1));var f=i.end(),m=Vo();a&&et(m,140,function kie(t){return t||(t=Fe(4)),t.write_shift(2,1),t.write_shift(2,1),t}()),a&&e.Strings&&function Gde(t,n,e,i){var r=i||(e||[]).length||0;if(r<=8224)return et(t,n,e,r);var o=n;if(!isNaN(o)){for(var s=e.parts||[],a=0,l=0,d=0;d+(s[a]||8224)<=8224;)d+=s[a]||8224,a++;var f=t.next(4);for(f.write_shift(2,o),f.write_shift(2,d),t.push(e.slice(l,l+d)),l+=d;l<r;){for((f=t.next(4)).write_shift(2,60),d=0;d+(s[a]||8224)<=8224;)d+=s[a]||8224,a++;f.write_shift(2,d),t.push(e.slice(l,l+d)),l+=d}}}(m,252,function One(t,n){var e=Fe(8);e.write_shift(4,t.Count),e.write_shift(4,t.Unique);for(var i=[],r=0;r<t.length;++r)i[r]=une(t[r]);var o=Or([e].concat(i));return o.parts=[e.length].concat(i.map(function(s){return s.length})),o}(e.Strings)),et(m,10);var g=m.end(),b=Vo(),M=0,y=0;for(y=0;y<t.SheetNames.length;++y)M+=(a?12:11)+(a?2:1)*t.SheetNames[y].length;var T=f.length+M+g.length;for(y=0;y<t.SheetNames.length;++y)et(b,133,Fne({pos:T,hs:(o[y]||{}).Hidden||0,dt:0,name:t.SheetNames[y]},e)),T+=n[y].length;var O=b.end();if(M!=O.length)throw new Error("BS8 "+M+" != "+O.length);var N=[];return f.length&&N.push(f),O.length&&N.push(O),g.length&&N.push(g),Or(N)}function s4(t,n){for(var e=0;e<=t.SheetNames.length;++e){var i=t.Sheets[t.SheetNames[e]];i&&i["!ref"]&&Ho(i["!ref"]).e.c>255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+t.SheetNames[e]+"' extends beyond column IV (255). Data may be lost.")}var o=n||{};switch(o.biff||2){case 8:case 5:return function nue(t,n){var e=n||{},i=[];t&&!t.SSF&&(t.SSF=ii(Vt)),t&&t.SSF&&(xh(),ug(t.SSF),e.revssf=bv(t.SSF),e.revssf[t.SSF[65535]]=0,e.ssf=t.SSF),e.Strings=[],e.Strings.Count=0,e.Strings.Unique=0,b2(e),e.cellXfs=[],Uc(e.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={});for(var r=0;r<t.SheetNames.length;++r)i[i.length]=eue(r,e,t);return i.unshift(tue(t,i,e)),Or(i)}(t,n);case 4:case 3:case 2:return function zde(t,n){var e=n||{};null!=Yi&&null==e.dense&&(e.dense=Yi);for(var i=Vo(),r=0,o=0;o<t.SheetNames.length;++o)t.SheetNames[o]==e.sheet&&(r=o);if(0==r&&e.sheet&&t.SheetNames[0]!=e.sheet)throw new Error("Sheet not found: "+e.sheet);return et(i,4==e.biff?1033:3==e.biff?521:9,qT(0,16,e)),function Wde(t,n,e,i){var s,r=Array.isArray(n),o=Tn(n["!ref"]||"A1"),a="",l=[];if(o.e.c>255||o.e.r>16383){if(i.WTF)throw new Error("Range "+(n["!ref"]||"A1")+" exceeds format limit A1:IV16384");o.e.c=Math.min(o.e.c,255),o.e.r=Math.min(o.e.c,16383),s=an(o)}for(var d=o.s.r;d<=o.e.r;++d){a=$i(d);for(var f=o.s.c;f<=o.e.c;++f){d===o.s.r&&(l[f]=_i(f)),s=l[f]+a;var m=r?(n[d]||[])[f]:n[s];m&&Ude(t,m,d,f)}}}(i,t.Sheets[t.SheetNames[r]],0,e),et(i,10),i.end()}(t,n)}throw new Error("invalid type "+o.bookType+" for BIFF")}function l4(t,n,e,i){for(var r=t["!merges"]||[],o=[],s=n.s.c;s<=n.e.c;++s){for(var a=0,l=0,d=0;d<r.length;++d)if(!(r[d].s.r>e||r[d].s.c>s||r[d].e.r<e||r[d].e.c<s)){if(r[d].s.r<e||r[d].s.c<s){a=-1;break}a=r[d].e.r-r[d].s.r+1,l=r[d].e.c-r[d].s.c+1;break}if(!(a<0)){var f=zt({r:e,c:s}),m=i.dense?(t[e]||[])[s]:t[f],g=m&&null!=m.v&&(m.h||X3(m.w||(al(m),m.w)||""))||"",b={};a>1&&(b.rowspan=a),l>1&&(b.colspan=l),i.editable?g='<span contenteditable="true">'+g+"</span>":m&&(b["data-t"]=m&&m.t||"z",null!=m.v&&(b["data-v"]=m.v),null!=m.z&&(b["data-z"]=m.z),m.l&&"#"!=(m.l.Target||"#").charAt(0)&&(g='<a href="'+m.l.Target+'">'+g+"</a>")),b.id=(i.id||"sjs")+"-"+f,o.push(Ke("td",g,b))}}return"<tr>"+o.join("")+"</tr>"}var c4='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',d4="</body></html>";function f4(t,n){var e=n||{},r=null!=e.footer?e.footer:d4,o=[null!=e.header?e.header:c4],s=Ho(t["!ref"]);e.dense=Array.isArray(t),o.push(function u4(t,n,e){return[].join("")+"<table"+(e&&e.id?' id="'+e.id+'"':"")+">"}(0,0,e));for(var a=s.s.r;a<=s.e.r;++a)o.push(l4(t,s,a,e));return o.push("</table>"+r),o.join("")}var aue=function(){var t=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join(""),n="<office:document-styles "+pg({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+t+"</office:document-styles>";return function(){return zi+n}}(),D4=function(){var t=function(o){return qn(o).replace(/ +/g,function(s){return'<text:s text:c="'+s.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},n=" <table:table-cell />\n",i=function(o,s,a){var l=[];l.push(' <table:table table:name="'+qn(s.SheetNames[a])+'" table:style-name="ta1">\n');var d=0,f=0,m=Ho(o["!ref"]||"A1"),g=o["!merges"]||[],b=0,M=Array.isArray(o);if(o["!cols"])for(f=0;f<=m.e.c;++f)l.push(" <table:table-column"+(o["!cols"][f]?' table:style-name="co'+o["!cols"][f].ods+'"':"")+"></table:table-column>\n");var T=o["!rows"]||[];for(d=0;d<m.s.r;++d)l.push(" <table:table-row"+(T[d]?' table:style-name="ro'+T[d].ods+'"':"")+"></table:table-row>\n");for(;d<=m.e.r;++d){for(l.push(" <table:table-row"+(T[d]?' table:style-name="ro'+T[d].ods+'"':"")+">\n"),f=0;f<m.s.c;++f)l.push(n);for(;f<=m.e.c;++f){var k=!1,O={},N="";for(b=0;b!=g.length;++b)if(!(g[b].s.c>f||g[b].s.r>d||g[b].e.c<f||g[b].e.r<d)){(g[b].s.c!=f||g[b].s.r!=d)&&(k=!0),O["table:number-columns-spanned"]=g[b].e.c-g[b].s.c+1,O["table:number-rows-spanned"]=g[b].e.r-g[b].s.r+1;break}if(k)l.push(" <table:covered-table-cell/>\n");else{var H=zt({r:d,c:f}),U=M?(o[d]||[])[f]:o[H];if(U&&U.f&&(O["table:formula"]=qn(kae(U.f)),U.F&&U.F.slice(0,H.length)==H)){var Q=Ho(U.F);O["table:number-matrix-columns-spanned"]=Q.e.c-Q.s.c+1,O["table:number-matrix-rows-spanned"]=Q.e.r-Q.s.r+1}if(U){switch(U.t){case"b":N=U.v?"TRUE":"FALSE",O["office:value-type"]="boolean",O["office:boolean-value"]=U.v?"true":"false";break;case"n":N=U.w||String(U.v||0),O["office:value-type"]="float",O["office:value"]=U.v||0;break;case"s":case"str":N=null==U.v?"":U.v,O["office:value-type"]="string";break;case"d":N=U.w||Oi(U.v).toISOString(),O["office:value-type"]="date",O["office:date-value"]=Oi(U.v).toISOString(),O["table:style-name"]="ce1";break;default:l.push(n);continue}var W=t(N);if(U.l&&U.l.Target){var J=U.l.Target;"#"!=(J="#"==J.charAt(0)?"#"+Aae(J.slice(1)):J).charAt(0)&&!J.match(/^\w+:/)&&(J="../"+J),W=Ke("text:a",W,{"xlink:href":J.replace(/&/g,"&")})}l.push(" "+Ke("table:table-cell",Ke("text:p",W,{}),O)+"\n")}else l.push(n)}}l.push(" </table:table-row>\n")}return l.push(" </table:table>\n"),l.join("")};return function(s,a){var l=[zi],d=pg({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),f=pg({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==a.bookType?(l.push("<office:document"+d+f+">\n"),l.push(SL().replace(/office:document-meta/g,"office:meta"))):l.push("<office:document-content"+d+">\n"),function(o,s){o.push(" <office:automatic-styles>\n"),o.push(' <number:date-style style:name="N37" number:automatic-order="true">\n'),o.push(' <number:month number:style="long"/>\n'),o.push(" <number:text>/</number:text>\n"),o.push(' <number:day number:style="long"/>\n'),o.push(" <number:text>/</number:text>\n"),o.push(" <number:year/>\n"),o.push(" </number:date-style>\n");var a=0;s.SheetNames.map(function(d){return s.Sheets[d]}).forEach(function(d){if(d&&d["!cols"])for(var f=0;f<d["!cols"].length;++f)if(d["!cols"][f]){var m=d["!cols"][f];if(null==m.width&&null==m.wpx&&null==m.wch)continue;jc(m),m.ods=a;var g=d["!cols"][f].wpx+"px";o.push(' <style:style style:name="co'+a+'" style:family="table-column">\n'),o.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+g+'"/>\n'),o.push(" </style:style>\n"),++a}});var l=0;s.SheetNames.map(function(d){return s.Sheets[d]}).forEach(function(d){if(d&&d["!rows"])for(var f=0;f<d["!rows"].length;++f)if(d["!rows"][f]){d["!rows"][f].ods=l;var m=d["!rows"][f].hpx+"px";o.push(' <style:style style:name="ro'+l+'" style:family="table-row">\n'),o.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+m+'"/>\n'),o.push(" </style:style>\n"),++l}}),o.push(' <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">\n'),o.push(' <style:table-properties table:display="true" style:writing-mode="lr-tb"/>\n'),o.push(" </style:style>\n"),o.push(' <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>\n'),o.push(" </office:automatic-styles>\n")}(l,s),l.push(" <office:body>\n"),l.push(" <office:spreadsheet>\n");for(var m=0;m!=s.SheetNames.length;++m)l.push(i(s.Sheets[s.SheetNames[m]],s,m));return l.push(" </office:spreadsheet>\n"),l.push(" </office:body>\n"),l.push("fods"==a.bookType?"</office:document>":"</office:document-content>"),l.join("")}}();function y4(t,n){if("fods"==n.bookType)return D4(t,n);var e=vT(),i="",r=[],o=[];return fn(e,i="mimetype","application/vnd.oasis.opendocument.spreadsheet"),fn(e,i="content.xml",D4(t,n)),r.push([i,"text/xml"]),o.push([i,"ContentFile"]),fn(e,i="styles.xml",aue(t,n)),r.push([i,"text/xml"]),o.push([i,"StylesFile"]),fn(e,i="meta.xml",zi+SL()),r.push([i,"text/xml"]),o.push([i,"MetadataFile"]),fn(e,i="manifest.rdf",function Wte(t){var n=[zi];n.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var e=0;e!=t.length;++e)n.push(EL(t[e][0],t[e][1])),n.push(Ute("",t[e][0]));return n.push(EL("","Document","pkg")),n.push("</rdf:RDF>"),n.join("")}(o)),r.push([i,"application/rdf+xml"]),fn(e,i="META-INF/manifest.xml",function Yte(t){var n=[zi];n.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n'),n.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');for(var e=0;e<t.length;++e)n.push(' <manifest:file-entry manifest:full-path="'+t[e][0]+'" manifest:media-type="'+t[e][1]+'"/>\n');return n.push("</manifest:manifest>"),n.join("")}(r)),e}function mu(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function lue(t){return typeof TextEncoder<"u"?(new TextEncoder).encode(t):As(sl(t))}function Wc(t){var n=t.reduce(function(r,o){return r+o.length},0),e=new Uint8Array(n),i=0;return t.forEach(function(r){e.set(r,i),i+=r.length}),e}function Lg(t,n){var e=n?n[0]:0,i=127&t[e];e:if(t[e++]>=128&&(i|=(127&t[e])<<7,t[e++]<128||(i|=(127&t[e])<<14,t[e++]<128)||(i|=(127&t[e])<<21,t[e++]<128)||(i+=(127&t[e])*Math.pow(2,28),++e,t[e++]<128)||(i+=(127&t[e])*Math.pow(2,35),++e,t[e++]<128)||(i+=(127&t[e])*Math.pow(2,42),++e,t[e++]<128)))break e;return n&&(n[0]=e),i}function Un(t){var n=new Uint8Array(7);n[0]=127&t;var e=1;e:if(t>127){if(n[e-1]|=128,n[e]=t>>7&127,++e,t<=16383||(n[e-1]|=128,n[e]=t>>14&127,++e,t<=2097151)||(n[e-1]|=128,n[e]=t>>21&127,++e,t<=268435455)||(n[e-1]|=128,n[e]=t/256>>>21&127,++e,t<=34359738367)||(n[e-1]|=128,n[e]=t/65536>>>21&127,++e,t<=4398046511103))break e;n[e-1]|=128,n[e]=t/16777216>>>21&127,++e}return n.slice(0,e)}function qi(t){var n=0,e=127&t[n];e:if(t[n++]>=128){if(e|=(127&t[n])<<7,t[n++]<128||(e|=(127&t[n])<<14,t[n++]<128)||(e|=(127&t[n])<<21,t[n++]<128))break e;e|=(127&t[n])<<28}return e}function In(t){for(var n=[],e=[0];e[0]<t.length;){var a,i=e[0],r=Lg(t,e),o=7&r,s=0;if(0==(r=Math.floor(r/8)))break;switch(o){case 0:for(var l=e[0];t[e[0]++]>=128;);a=t.slice(l,e[0]);break;case 5:a=t.slice(e[0],e[0]+(s=4)),e[0]+=s;break;case 1:a=t.slice(e[0],e[0]+(s=8)),e[0]+=s;break;case 2:s=Lg(t,e),a=t.slice(e[0],e[0]+s),e[0]+=s;break;default:throw new Error("PB Type ".concat(o," for Field ").concat(r," at offset ").concat(i))}var d={data:a,type:o};null==n[r]?n[r]=[d]:n[r].push(d)}return n}function Vr(t){var n=[];return t.forEach(function(e,i){e.forEach(function(r){r.data&&(n.push(Un(8*i+r.type)),2==r.type&&n.push(Un(r.data.length)),n.push(r.data))})}),Wc(n)}function da(t){for(var n,e=[],i=[0];i[0]<t.length;){var r=Lg(t,i),o=In(t.slice(i[0],i[0]+r));i[0]+=r;var s={id:qi(o[1][0].data),messages:[]};o[2].forEach(function(a){var l=In(a.data),d=qi(l[3][0].data);s.messages.push({meta:l,data:t.slice(i[0],i[0]+d)}),i[0]+=d}),null!=(n=o[3])&&n[0]&&(s.merge=qi(o[3][0].data)>>>0>0),e.push(s)}return e}function Ih(t){var n=[];return t.forEach(function(e){var i=[];i[1]=[{data:Un(e.id),type:0}],i[2]=[],null!=e.merge&&(i[3]=[{data:Un(+!!e.merge),type:0}]);var r=[];e.messages.forEach(function(s){r.push(s.data),s.meta[3]=[{type:0,data:Un(s.data.length)}],i[2].push({data:Vr(s.meta),type:2})});var o=Vr(i);n.push(Un(o.length)),n.push(o),r.forEach(function(s){return n.push(s)})}),Wc(n)}function fue(t,n){if(0!=t)throw new Error("Unexpected Snappy chunk type ".concat(t));for(var e=[0],i=Lg(n,e),r=[];e[0]<n.length;){var o=3&n[e[0]];if(0!=o){var l=0,d=0;if(1==o?(d=4+(n[e[0]]>>2&7),l=(224&n[e[0]++])<<3,l|=n[e[0]++]):(d=1+(n[e[0]++]>>2),2==o?(l=n[e[0]]|n[e[0]+1]<<8,e[0]+=2):(l=(n[e[0]]|n[e[0]+1]<<8|n[e[0]+2]<<16|n[e[0]+3]<<24)>>>0,e[0]+=4)),r=[Wc(r)],0==l)throw new Error("Invalid offset 0");if(l>r[0].length)throw new Error("Invalid offset beyond length");if(d>=l)for(r.push(r[0].slice(-l)),d-=l;d>=r[r.length-1].length;)r.push(r[r.length-1]),d-=r[r.length-1].length;r.push(r[0].slice(-l,-l+d))}else{var s=n[e[0]++]>>2;if(s<60)++s;else{var a=s-59;s=n[e[0]],a>1&&(s|=n[e[0]+1]<<8),a>2&&(s|=n[e[0]+2]<<16),a>3&&(s|=n[e[0]+3]<<24),s>>>=0,s++,e[0]+=a}r.push(n.slice(e[0],e[0]+s)),e[0]+=s}}var f=Wc(r);if(f.length!=i)throw new Error("Unexpected length: ".concat(f.length," != ").concat(i));return f}function ua(t){for(var n=[],e=0;e<t.length;){var i=t[e++],r=t[e]|t[e+1]<<8|t[e+2]<<16;n.push(fue(i,t.slice(e+=3,e+r))),e+=r}if(e!==t.length)throw new Error("data is not a valid framed stream!");return Wc(n)}function Lh(t){for(var n=[],e=0;e<t.length;){var i=Math.min(t.length-e,268435455),r=new Uint8Array(4);n.push(r);var o=Un(i),s=o.length;n.push(o),i<=60?(s++,n.push(new Uint8Array([i-1<<2]))):i<=256?(s+=2,n.push(new Uint8Array([240,i-1&255]))):i<=65536?(s+=3,n.push(new Uint8Array([244,i-1&255,i-1>>8&255]))):i<=16777216?(s+=4,n.push(new Uint8Array([248,i-1&255,i-1>>8&255,i-1>>16&255]))):i<=4294967296&&(s+=5,n.push(new Uint8Array([252,i-1&255,i-1>>8&255,i-1>>16&255,i-1>>>24&255]))),n.push(t.slice(e,e+i)),s+=i,r[0]=0,r[1]=255&s,r[2]=s>>8&255,r[3]=s>>16&255,e+=i}return Wc(n)}function m2(t,n){var e=new Uint8Array(32),i=mu(e),r=12,o=0;switch(e[0]=5,t.t){case"n":e[1]=2,function uue(t,n,e){var i=Math.floor(0==e?0:Math.LOG10E*Math.log(Math.abs(e)))+6176-20,r=e/Math.pow(10,i-6176);t[n+15]|=i>>7,t[n+14]|=(127&i)<<1;for(var o=0;r>=1;++o,r/=256)t[n+o]=255&r;t[n+15]|=e>=0?0:128}(e,r,t.v),o|=1,r+=16;break;case"b":e[1]=6,i.setFloat64(r,t.v?1:0,!0),o|=2,r+=8;break;case"s":if(-1==n.indexOf(t.v))throw new Error("Value ".concat(t.v," missing from SST!"));e[1]=3,i.setUint32(r,n.indexOf(t.v),!0),o|=8,r+=4;break;default:throw"unsupported cell type "+t.t}return i.setUint32(8,o,!0),e.slice(0,r)}function g2(t,n){var e=new Uint8Array(32),i=mu(e),r=12,o=0;switch(e[0]=3,t.t){case"n":e[2]=2,i.setFloat64(r,t.v,!0),o|=32,r+=8;break;case"b":e[2]=6,i.setFloat64(r,t.v?1:0,!0),o|=32,r+=8;break;case"s":if(-1==n.indexOf(t.v))throw new Error("Value ".concat(t.v," missing from SST!"));e[2]=3,i.setUint32(r,n.indexOf(t.v),!0),o|=16,r+=4;break;default:throw"unsupported cell type "+t.t}return i.setUint32(4,o,!0),e.slice(0,r)}function bo(t){return Lg(In(t)[1][0].data)}function Mue(t,n,e){var i,r,o,s;if(null==(i=t[6])||!i[0]||null==(r=t[7])||!r[0])throw"Mutation only works on post-BNC storages!";if((null==(s=null==(o=t[8])?void 0:o[0])?void 0:s.data)&&qi(t[8][0].data)>0)throw"Math only works with normal offsets";for(var l=0,d=mu(t[7][0].data),f=0,m=[],g=mu(t[4][0].data),b=0,M=[],y=0;y<n.length;++y)if(null!=n[y]){var T,k;switch(d.setUint16(2*y,f,!0),g.setUint16(2*y,b,!0),typeof n[y]){case"string":T=m2({t:"s",v:n[y]},e),k=g2({t:"s",v:n[y]},e);break;case"number":T=m2({t:"n",v:n[y]},e),k=g2({t:"n",v:n[y]},e);break;case"boolean":T=m2({t:"b",v:n[y]},e),k=g2({t:"b",v:n[y]},e);break;default:throw new Error("Unsupported value "+n[y])}m.push(T),f+=T.length,M.push(k),b+=k.length,++l}else d.setUint16(2*y,65535,!0),g.setUint16(2*y,65535);for(t[2][0].data=Un(l);y<t[7][0].data.length/2;++y)d.setUint16(2*y,65535,!0),g.setUint16(2*y,65535,!0);return t[6][0].data=Wc(m),t[3][0].data=Wc(M),l}function b2(t){!function x4(t){return function(e){for(var i=0;i!=t.length;++i){var r=t[i];void 0===e[r[0]]&&(e[r[0]]=r[1]),"n"===r[2]&&(e[r[0]]=Number(e[r[0]]))}}}([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(t)}function kue(t,n){return"ods"==n.bookType?y4(t,n):"numbers"==n.bookType?function Cue(t,n){if(!n||!n.numbers)throw new Error("Must pass a `numbers` option -- check the README");var e=t.Sheets[t.SheetNames[0]];t.SheetNames.length>1&&console.error("The Numbers writer currently writes only the first table");var i=Ho(e["!ref"]);i.s.r=i.s.c=0;var r=!1;i.e.c>9&&(r=!0,i.e.c=9),i.e.r>49&&(r=!0,i.e.r=49),r&&console.error("The Numbers writer is currently limited to ".concat(an(i)));var o=zv(e,{range:i,header:1}),s=["~Sh33tJ5~"];o.forEach(function(le){return le.forEach(function(de){"string"==typeof de&&s.push(de)})});var a={},l=[],d=Ft.read(n.numbers,{type:"base64"});d.FileIndex.map(function(le,de){return[le,d.FullPaths[de]]}).forEach(function(le){var de=le[0],Se=le[1];2==de.type&&de.name.match(/\.iwa/)&&da(ua(de.content)).forEach(function(He){l.push(He.id),a[He.id]={deps:[],location:Se,type:qi(He.messages[0].meta[1][0].data)}})}),l.sort(function(le,de){return le-de});var f=l.filter(function(le){return le>1}).map(function(le){return[le,Un(le)]});d.FileIndex.map(function(le,de){return[le,d.FullPaths[de]]}).forEach(function(le){var de=le[0];de.name.match(/\.iwa/)&&da(ua(de.content)).forEach(function(ze){ze.messages.forEach(function(We){f.forEach(function(He){ze.messages.some(function($t){return 11006!=qi($t.meta[1][0].data)&&function cue(t,n){e:for(var e=0;e<=t.length-n.length;++e){for(var i=0;i<n.length;++i)if(t[e+i]!=n[i])continue e;return!0}return!1}($t.data,He[1])})&&a[He[0]].deps.push(ze.id)})})})});for(var M,g=Ft.find(d,a[1].location),b=da(ua(g.content)),y=0;y<b.length;++y){var T=b[y];1==T.id&&(M=T)}var k=bo(In(M.messages[0].data)[1][0].data);for(b=da(ua((g=Ft.find(d,a[k].location)).content)),y=0;y<b.length;++y)(T=b[y]).id==k&&(M=T);for(k=bo(In(M.messages[0].data)[2][0].data),b=da(ua((g=Ft.find(d,a[k].location)).content)),y=0;y<b.length;++y)(T=b[y]).id==k&&(M=T);for(k=bo(In(M.messages[0].data)[2][0].data),b=da(ua((g=Ft.find(d,a[k].location)).content)),y=0;y<b.length;++y)(T=b[y]).id==k&&(M=T);var O=In(M.messages[0].data);O[6][0].data=Un(i.e.r+1),O[7][0].data=Un(i.e.c+1);for(var N=bo(O[46][0].data),H=Ft.find(d,a[N].location),U=da(ua(H.content)),Q=0;Q<U.length&&U[Q].id!=N;++Q);if(U[Q].id!=N)throw"Bad ColumnRowUIDMapArchive";var W=In(U[Q].messages[0].data);W[1]=[],W[2]=[],W[3]=[];for(var J=0;J<=i.e.c;++J){var ne=[];ne[1]=ne[2]=[{type:0,data:Un(J+420690)}],W[1].push({type:2,data:Vr(ne)}),W[2].push({type:0,data:Un(J)}),W[3].push({type:0,data:Un(J)})}W[4]=[],W[5]=[],W[6]=[];for(var he=0;he<=i.e.r;++he)(ne=[])[1]=ne[2]=[{type:0,data:Un(he+726270)}],W[4].push({type:2,data:Vr(ne)}),W[5].push({type:0,data:Un(he)}),W[6].push({type:0,data:Un(he)});U[Q].messages[0].data=Vr(W),H.content=Lh(Ih(U)),H.size=H.content.length,delete O[46];var pe=In(O[4][0].data);pe[7][0].data=Un(i.e.r+1);var Ie=bo(In(pe[1][0].data)[2][0].data);if((U=da(ua((H=Ft.find(d,a[Ie].location)).content)))[0].id!=Ie)throw"Bad HeaderStorageBucket";var Qe=In(U[0].messages[0].data);for(he=0;he<o.length;++he){var Ve=In(Qe[2][0].data);Ve[1][0].data=Un(he),Ve[4][0].data=Un(o[he].length),Qe[2][he]={type:Qe[2][0].type,data:Vr(Ve)}}U[0].messages[0].data=Vr(Qe),H.content=Lh(Ih(U)),H.size=H.content.length;var be=bo(pe[2][0].data);if((U=da(ua((H=Ft.find(d,a[be].location)).content)))[0].id!=be)throw"Bad HeaderStorageBucket";for(Qe=In(U[0].messages[0].data),J=0;J<=i.e.c;++J)(Ve=In(Qe[2][0].data))[1][0].data=Un(J),Ve[4][0].data=Un(i.e.r+1),Qe[2][J]={type:Qe[2][0].type,data:Vr(Ve)};U[0].messages[0].data=Vr(Qe),H.content=Lh(Ih(U)),H.size=H.content.length;var Ce=bo(pe[4][0].data);!function(){for(var Se,le=Ft.find(d,a[Ce].location),de=da(ua(le.content)),qe=0;qe<de.length;++qe){var ze=de[qe];ze.id==Ce&&(Se=ze)}var We=In(Se.messages[0].data);We[3]=[];var He=[];s.forEach(function(Ln,_n){He[1]=[{type:0,data:Un(_n)}],He[2]=[{type:0,data:Un(1)}],He[3]=[{type:2,data:lue(Ln)}],We[3].push({type:2,data:Vr(He)})}),Se.messages[0].data=Vr(We);var ce=Lh(Ih(de));le.content=ce,le.size=le.content.length}();var Ue=In(pe[3][0].data),Ae=Ue[1][0];delete Ue[2];var it=In(Ae.data),Le=bo(it[2][0].data);!function(){for(var Se,le=Ft.find(d,a[Le].location),de=da(ua(le.content)),qe=0;qe<de.length;++qe){var ze=de[qe];ze.id==Le&&(Se=ze)}var We=In(Se.messages[0].data);delete We[6],delete Ue[7];var He=new Uint8Array(We[5][0].data);We[5]=[];for(var $t=0,ce=0;ce<=i.e.r;++ce){var Ln=In(He);$t+=Mue(Ln,o[ce],s),Ln[1][0].data=Un(ce),We[5].push({data:Vr(Ln),type:2})}We[1]=[{type:0,data:Un(i.e.c+1)}],We[2]=[{type:0,data:Un(i.e.r+1)}],We[3]=[{type:0,data:Un($t)}],We[4]=[{type:0,data:Un(i.e.r+1)}],Se.messages[0].data=Vr(We);var Hn=Lh(Ih(de));le.content=Hn,le.size=le.content.length}(),Ae.data=Vr(it),pe[3][0].data=Vr(Ue),O[4][0].data=Vr(pe),M.messages[0].data=Vr(O);var _e=Lh(Ih(b));return g.content=_e,g.size=g.content.length,d}(t,n):"xlsb"==n.bookType?function Aue(t,n){Fh=1024,t&&!t.SSF&&(t.SSF=ii(Vt)),t&&t.SSF&&(xh(),ug(t.SSF),n.revssf=bv(t.SSF),n.revssf[t.SSF[65535]]=0,n.ssf=t.SSF),n.rels={},n.wbrels={},n.Strings=[],n.Strings.Count=0,n.Strings.Unique=0,Rg?n.revStrings=new Map:(n.revStrings={},n.revStrings.foo=[],delete n.revStrings.foo);var e="xlsb"==n.bookType?"bin":"xml",i=FP.indexOf(n.bookType)>-1,r={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};b2(n=n||{});var o=vT(),s="",a=0;if(n.cellXfs=[],Uc(n.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={}),fn(o,s="docProps/core.xml",AL(t.Props,n)),r.coreprops.push(s),Yn(n.rels,2,s,ln.CORE_PROPS),s="docProps/app.xml",!t.Props||!t.Props.SheetNames)if(t.Workbook&&t.Workbook.Sheets){for(var l=[],d=0;d<t.SheetNames.length;++d)2!=(t.Workbook.Sheets[d]||{}).Hidden&&l.push(t.SheetNames[d]);t.Props.SheetNames=l}else t.Props.SheetNames=t.SheetNames;for(t.Props.Worksheets=t.Props.SheetNames.length,fn(o,s,NL(t.Props)),r.extprops.push(s),Yn(n.rels,3,s,ln.EXT_PROPS),t.Custprops!==t.Props&&Ui(t.Custprops||{}).length>0&&(fn(o,s="docProps/custom.xml",OL(t.Custprops)),r.custprops.push(s),Yn(n.rels,4,s,ln.CUST_PROPS)),a=1;a<=t.SheetNames.length;++a){var f={"!id":{}},m=t.Sheets[t.SheetNames[a-1]];if(fn(o,s="xl/worksheets/sheet"+a+"."+e,dde(a-1,s,n,t,f)),r.sheets.push(s),Yn(n.wbrels,-1,"worksheets/sheet"+a+"."+e,ln.WS[0]),m){var b=m["!comments"],M=!1,y="";b&&b.length>0&&(fn(o,y="xl/comments"+a+"."+e,hde(b,y,n)),r.comments.push(y),Yn(f,-1,"../comments"+a+"."+e,ln.CMNT),M=!0),m["!legacy"]&&M&&fn(o,"xl/drawings/vmlDrawing"+a+".vml",kP(a,m["!comments"])),delete m["!comments"],delete m["!legacy"]}f["!id"].rId1&&fn(o,bg(s),Ah(f))}return null!=n.Strings&&n.Strings.length>0&&(fn(o,s="xl/sharedStrings."+e,function fde(t,n,e){return(".bin"===n.slice(-4)?ure:gP)(t,e)}(n.Strings,s,n)),r.strs.push(s),Yn(n.wbrels,-1,"sharedStrings."+e,ln.SST)),fn(o,s="xl/workbook."+e,function cde(t,n,e){return(".bin"===n.slice(-4)?Qce:e4)(t,e)}(t,s,n)),r.workbooks.push(s),Yn(n.rels,1,s,ln.WB),fn(o,s="xl/theme/theme1.xml",e2(t.Themes,n)),r.themes.push(s),Yn(n.wbrels,-1,"theme/theme1.xml",ln.THEME),fn(o,s="xl/styles."+e,function ude(t,n,e){return(".bin"===n.slice(-4)?soe:xP)(t,e)}(t,s,n)),r.styles.push(s),Yn(n.wbrels,-1,"styles."+e,ln.STY),t.vbaraw&&i&&(fn(o,s="xl/vbaProject.bin",t.vbaraw),r.vba.push(s),Yn(n.wbrels,-1,"vbaProject.bin",ln.VBA)),fn(o,s="xl/metadata."+e,function pde(t){return(".bin"===t.slice(-4)?Foe:SP)()}(s)),r.metadata.push(s),Yn(n.wbrels,-1,"metadata."+e,ln.XLMETA),fn(o,"[Content_Types].xml",wL(r,n)),fn(o,"_rels/.rels",Ah(n.rels)),fn(o,"xl/_rels/workbook."+e+".rels",Ah(n.wbrels)),delete n.revssf,delete n.ssf,o}(t,n):function T4(t,n){Fh=1024,t&&!t.SSF&&(t.SSF=ii(Vt)),t&&t.SSF&&(xh(),ug(t.SSF),n.revssf=bv(t.SSF),n.revssf[t.SSF[65535]]=0,n.ssf=t.SSF),n.rels={},n.wbrels={},n.Strings=[],n.Strings.Count=0,n.Strings.Unique=0,Rg?n.revStrings=new Map:(n.revStrings={},n.revStrings.foo=[],delete n.revStrings.foo);var e="xml",i=FP.indexOf(n.bookType)>-1,r={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};b2(n=n||{});var o=vT(),s="",a=0;if(n.cellXfs=[],Uc(n.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={}),fn(o,s="docProps/core.xml",AL(t.Props,n)),r.coreprops.push(s),Yn(n.rels,2,s,ln.CORE_PROPS),s="docProps/app.xml",!t.Props||!t.Props.SheetNames)if(t.Workbook&&t.Workbook.Sheets){for(var l=[],d=0;d<t.SheetNames.length;++d)2!=(t.Workbook.Sheets[d]||{}).Hidden&&l.push(t.SheetNames[d]);t.Props.SheetNames=l}else t.Props.SheetNames=t.SheetNames;t.Props.Worksheets=t.Props.SheetNames.length,fn(o,s,NL(t.Props)),r.extprops.push(s),Yn(n.rels,3,s,ln.EXT_PROPS),t.Custprops!==t.Props&&Ui(t.Custprops||{}).length>0&&(fn(o,s="docProps/custom.xml",OL(t.Custprops)),r.custprops.push(s),Yn(n.rels,4,s,ln.CUST_PROPS));var f=["SheetJ5"];for(n.tcid=0,a=1;a<=t.SheetNames.length;++a){var m={"!id":{}},g=t.Sheets[t.SheetNames[a-1]];if(fn(o,s="xl/worksheets/sheet"+a+"."+e,zP(a-1,n,t,m)),r.sheets.push(s),Yn(n.wbrels,-1,"worksheets/sheet"+a+"."+e,ln.WS[0]),g){var M=g["!comments"],y=!1,T="";if(M&&M.length>0){var k=!1;M.forEach(function(O){O[1].forEach(function(N){1==N.T&&(k=!0)})}),k&&(fn(o,T="xl/threadedComments/threadedComment"+a+"."+e,Goe(M,f,n)),r.threadedcomments.push(T),Yn(m,-1,"../threadedComments/threadedComment"+a+"."+e,ln.TCMNT)),fn(o,T="xl/comments"+a+"."+e,RP(M)),r.comments.push(T),Yn(m,-1,"../comments"+a+"."+e,ln.CMNT),y=!0}g["!legacy"]&&y&&fn(o,"xl/drawings/vmlDrawing"+a+".vml",kP(a,g["!comments"])),delete g["!comments"],delete g["!legacy"]}m["!id"].rId1&&fn(o,bg(s),Ah(m))}return null!=n.Strings&&n.Strings.length>0&&(fn(o,s="xl/sharedStrings."+e,gP(n.Strings,n)),r.strs.push(s),Yn(n.wbrels,-1,"sharedStrings."+e,ln.SST)),fn(o,s="xl/workbook."+e,e4(t)),r.workbooks.push(s),Yn(n.rels,1,s,ln.WB),fn(o,s="xl/theme/theme1.xml",e2(t.Themes,n)),r.themes.push(s),Yn(n.wbrels,-1,"theme/theme1.xml",ln.THEME),fn(o,s="xl/styles."+e,xP(t,n)),r.styles.push(s),Yn(n.wbrels,-1,"styles."+e,ln.STY),t.vbaraw&&i&&(fn(o,s="xl/vbaProject.bin",t.vbaraw),r.vba.push(s),Yn(n.wbrels,-1,"vbaProject.bin",ln.VBA)),fn(o,s="xl/metadata."+e,SP()),r.metadata.push(s),Yn(n.wbrels,-1,"metadata."+e,ln.XLMETA),f.length>1&&(fn(o,s="xl/persons/person.xml",function Yoe(t){var n=[zi,Ke("personList",null,{xmlns:pr.TCMNT,"xmlns:x":Vc[0]}).replace(/[\/]>/,">")];return t.forEach(function(e,i){n.push(Ke("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+i).slice(-12)+"}",userId:e,providerId:"None"}))}),n.push("</personList>"),n.join("")}(f)),r.people.push(s),Yn(n.wbrels,-1,"persons/person.xml",ln.PEOPLE)),fn(o,"[Content_Types].xml",wL(r,n)),fn(o,"_rels/.rels",Ah(n.rels)),fn(o,"xl/_rels/workbook.xml.rels",Ah(n.wbrels)),delete n.revssf,delete n.ssf,o}(t,n)}function E4(t,n){switch(n.type){case"base64":case"binary":break;case"buffer":case"array":n.type="";break;case"file":return fg(n.file,Ft.write(t,{type:gn?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+n.bookType+"' files");default:throw new Error("Unrecognized type "+n.type)}return Ft.write(t,n)}function dl(t,n,e){e||(e="");var i=e+t;switch(n.type){case"base64":return ag(sl(i));case"binary":return sl(i);case"string":return t;case"file":return fg(n.file,i,"utf8");case"buffer":return gn?jl(i,"utf8"):typeof TextEncoder<"u"?(new TextEncoder).encode(i):dl(i,{type:"binary"}).split("").map(function(r){return r.charCodeAt(0)})}throw new Error("Unrecognized type "+n.type)}function Uv(t,n){switch(n.type){case"string":case"base64":case"binary":for(var e="",i=0;i<t.length;++i)e+=String.fromCharCode(t[i]);return"base64"==n.type?ag(e):"string"==n.type?gi(e):e;case"file":return fg(n.file,t);case"buffer":return t;default:throw new Error("Unrecognized type "+n.type)}}function Wv(t,n){(function hv(){oa(1200),function oee(){fv(1252)}()})(),function KP(t){if(!t||!t.SheetNames||!t.Sheets)throw new Error("Invalid Workbook");if(!t.SheetNames.length)throw new Error("Workbook is empty");!function Lce(t,n,e){t.forEach(function(i,r){ZP(i);for(var o=0;o<r;++o)if(i==t[o])throw new Error("Duplicate Sheet Name: "+i);if(e){var s=n&&n[r]&&n[r].CodeName||i;if(95==s.charCodeAt(0)&&s.length>22)throw new Error("Bad Code Name: Worksheet"+s)}})}(t.SheetNames,t.Workbook&&t.Workbook.Sheets||[],!!t.vbaraw);for(var e=0;e<t.SheetNames.length;++e)Fae(t.Sheets[t.SheetNames[e]],0,e)}(t);var e=ii(n||{});if(e.cellStyles&&(e.cellNF=!0,e.sheetStubs=!0),"array"==e.type){e.type="binary";var i=Wv(t,e);return e.type="array",lg(i)}var r=0;if(e.sheet&&(r="number"==typeof e.sheet?e.sheet:t.SheetNames.indexOf(e.sheet),!t.SheetNames[r]))throw new Error("Sheet not found: "+e.sheet+" : "+typeof e.sheet);switch(e.bookType||"xlsb"){case"xml":case"xlml":return dl(Nde(t,e),e);case"slk":case"sylk":return dl(fP.from_sheet(t.Sheets[t.SheetNames[r]],e),e);case"htm":case"html":return dl(f4(t.Sheets[t.SheetNames[r]],e),e);case"txt":return function Vue(t,n){switch(n.type){case"base64":return ag(t);case"binary":case"string":return t;case"file":return fg(n.file,t,"binary");case"buffer":return gn?jl(t,"binary"):t.split("").map(function(e){return e.charCodeAt(0)})}throw new Error("Unrecognized type "+n.type)}(N4(t.Sheets[t.SheetNames[r]],e),e);case"csv":return dl(x2(t.Sheets[t.SheetNames[r]],e),e,"\ufeff");case"dif":return dl(hP.from_sheet(t.Sheets[t.SheetNames[r]],e),e);case"dbf":return Uv(XT.from_sheet(t.Sheets[t.SheetNames[r]],e),e);case"prn":return dl(Rh.from_sheet(t.Sheets[t.SheetNames[r]],e),e);case"rtf":return dl(yP.from_sheet(t.Sheets[t.SheetNames[r]],e),e);case"eth":return dl(pP.from_sheet(t.Sheets[t.SheetNames[r]],e),e);case"fods":return dl(y4(t,e),e);case"wk1":return Uv(hu.sheet_to_wk1(t.Sheets[t.SheetNames[r]],e),e);case"wk3":return Uv(hu.book_to_wk3(t,e),e);case"biff2":e.biff||(e.biff=2);case"biff3":e.biff||(e.biff=3);case"biff4":return e.biff||(e.biff=4),Uv(s4(t,e),e);case"biff5":e.biff||(e.biff=5);case"biff8":case"xla":case"xls":return e.biff||(e.biff=8),function Bue(t,n){var e=n||{};return E4(function Hde(t,n){var e=n||{},i=Ft.utils.cfb_new({root:"R"}),r="/Workbook";switch(e.bookType||"xls"){case"xls":e.bookType="biff8";case"xla":e.bookType||(e.bookType="xla");case"biff8":r="/Workbook",e.biff=8;break;case"biff5":r="/Book",e.biff=5;break;default:throw new Error("invalid type "+e.bookType+" for XLS CFB")}return Ft.utils.cfb_add(i,r,s4(t,e)),8==e.biff&&(t.Props||t.Custprops)&&function Vde(t,n){var s,e=[],i=[],r=[],o=0,a=L3(VT,"n"),l=L3(HT,"n");if(t.Props)for(s=Ui(t.Props),o=0;o<s.length;++o)(Object.prototype.hasOwnProperty.call(a,s[o])?e:Object.prototype.hasOwnProperty.call(l,s[o])?i:r).push([s[o],t.Props[s[o]]]);if(t.Custprops)for(s=Ui(t.Custprops),o=0;o<s.length;++o)Object.prototype.hasOwnProperty.call(t.Props||{},s[o])||(Object.prototype.hasOwnProperty.call(a,s[o])?e:Object.prototype.hasOwnProperty.call(l,s[o])?i:r).push([s[o],t.Custprops[s[o]]]);var d=[];for(o=0;o<r.length;++o)jL.indexOf(r[o][0])>-1||RL.indexOf(r[o][0])>-1||null!=r[o][1]&&d.push(r[o]);i.length&&Ft.utils.cfb_add(n,"/\x05SummaryInformation",WL(i,Ng.SI,l,HT)),(e.length||d.length)&&Ft.utils.cfb_add(n,"/\x05DocumentSummaryInformation",WL(e,Ng.DSI,a,VT,d.length?d:null,Ng.UDI))}(t,i),8==e.biff&&t.vbaraw&&function Zoe(t,n){n.FullPaths.forEach(function(e,i){if(0!=i){var r=e.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==r.slice(-1)&&Ft.utils.cfb_add(t,r,n.FileIndex[i].content)}})}(i,Ft.read(t.vbaraw,{type:"string"==typeof t.vbaraw?"binary":"buffer"})),i}(t,e),e)}(t,e);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return function Lue(t,n){var e=ii(n||{});return function S4(t,n){var e={},i=gn?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(n.compression&&(e.compression="DEFLATE"),n.password)e.type=i;else switch(n.type){case"base64":e.type="base64";break;case"binary":e.type="string";break;case"string":throw new Error("'string' output type invalid for '"+n.bookType+"' files");case"buffer":case"file":e.type=i;break;default:throw new Error("Unrecognized type "+n.type)}var r=t.FullPaths?Ft.write(t,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[e.type]||e.type,compression:!!n.compression}):t.generate(e);if(typeof Deno<"u"&&"string"==typeof r){if("binary"==n.type||"base64"==n.type)return r;r=new Uint8Array(lg(r))}return n.password&&typeof encrypt_agile<"u"?E4(encrypt_agile(r,n.password),n):"file"===n.type?fg(n.file,r):"string"==n.type?gi(r):r}(kue(t,e),e)}(t,e);default:throw new Error("Unrecognized bookType |"+e.bookType+"|")}}function A4(t,n,e,i,r,o,s,a){var l=$i(e),d=a.defval,f=a.raw||!Object.prototype.hasOwnProperty.call(a,"raw"),m=!0,g=1===r?[]:{};if(1!==r)if(Object.defineProperty)try{Object.defineProperty(g,"__rowNum__",{value:e,enumerable:!1})}catch{g.__rowNum__=e}else g.__rowNum__=e;if(!s||t[e])for(var b=n.s.c;b<=n.e.c;++b){var M=s?t[e][b]:t[i[b]+l];if(void 0!==M&&void 0!==M.t){var y=M.v;switch(M.t){case"z":if(null==y)break;continue;case"e":y=0==y?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+M.t)}if(null!=o[b]){if(null==y)if("e"==M.t&&null===y)g[o[b]]=null;else if(void 0!==d)g[o[b]]=d;else{if(!f||null!==y)continue;g[o[b]]=null}else g[o[b]]=f&&("n"!==M.t||"n"===M.t&&!1!==a.rawNumbers)?y:al(M,y,a);null!=y&&(m=!1)}}else{if(void 0===d)continue;null!=o[b]&&(g[o[b]]=d)}}return{row:g,isempty:m}}function zv(t,n){if(null==t||null==t["!ref"])return[];var e={t:"n",v:0},i=0,r=1,o=[],s=0,a="",l={s:{r:0,c:0},e:{r:0,c:0}},d=n||{},f=null!=d.range?d.range:t["!ref"];switch(1===d.header?i=1:"A"===d.header?i=2:Array.isArray(d.header)?i=3:null==d.header&&(i=0),typeof f){case"string":l=Tn(f);break;case"number":(l=Tn(t["!ref"])).s.r=f;break;default:l=f}i>0&&(r=0);var m=$i(l.s.r),g=[],b=[],M=0,y=0,T=Array.isArray(t),k=l.s.r,O=0,N={};T&&!t[k]&&(t[k]=[]);var H=d.skipHidden&&t["!cols"]||[],U=d.skipHidden&&t["!rows"]||[];for(O=l.s.c;O<=l.e.c;++O)if(!(H[O]||{}).hidden)switch(g[O]=_i(O),e=T?t[k][O]:t[g[O]+m],i){case 1:o[O]=O-l.s.c;break;case 2:o[O]=g[O];break;case 3:o[O]=d.header[O-l.s.c];break;default:if(null==e&&(e={w:"__EMPTY",t:"s"}),a=s=al(e,null,d),y=N[s]||0){do{a=s+"_"+y++}while(N[a]);N[s]=y,N[a]=1}else N[s]=1;o[O]=a}for(k=l.s.r+r;k<=l.e.r;++k)if(!(U[k]||{}).hidden){var Q=A4(t,l,k,g,i,o,T,d);(!1===Q.isempty||(1===i?!1!==d.blankrows:d.blankrows))&&(b[M++]=Q.row)}return b.length=M,b}var R4=/"/g;function F4(t,n,e,i,r,o,s,a){for(var l=!0,d=[],f="",m=$i(e),g=n.s.c;g<=n.e.c;++g)if(i[g]){var b=a.dense?(t[e]||[])[g]:t[i[g]+m];if(null==b)f="";else if(null!=b.v){l=!1,f=""+(a.rawNumbers&&"n"==b.t?b.v:al(b,null,a));for(var M=0,y=0;M!==f.length;++M)if((y=f.charCodeAt(M))===r||y===o||34===y||a.forceQuotes){f='"'+f.replace(R4,'""')+'"';break}"ID"==f&&(f='"ID"')}else null==b.f||b.F?f="":(l=!1,(f="="+b.f).indexOf(",")>=0&&(f='"'+f.replace(R4,'""')+'"'));d.push(f)}return!1===a.blankrows&&l?null:d.join(s)}function x2(t,n){var e=[],i=n??{};if(null==t||null==t["!ref"])return"";var r=Tn(t["!ref"]),o=void 0!==i.FS?i.FS:",",s=o.charCodeAt(0),a=void 0!==i.RS?i.RS:"\n",l=a.charCodeAt(0),d=new RegExp(("|"==o?"\\|":o)+"+$"),f="",m=[];i.dense=Array.isArray(t);for(var g=i.skipHidden&&t["!cols"]||[],b=i.skipHidden&&t["!rows"]||[],M=r.s.c;M<=r.e.c;++M)(g[M]||{}).hidden||(m[M]=_i(M));for(var y=0,T=r.s.r;T<=r.e.r;++T)(b[T]||{}).hidden||null!=(f=F4(t,r,T,m,s,l,o,i))&&(i.strip&&(f=f.replace(d,"")),(f||!1!==i.blankrows)&&e.push((y++?a:"")+f));return delete i.dense,e.join("")}function N4(t,n){n||(n={}),n.FS="\t",n.RS="\n";var e=x2(t,n);if(typeof Sn>"u"||"string"==n.type)return e;var i=Sn.utils.encode(1200,e,"str");return String.fromCharCode(255)+String.fromCharCode(254)+i}function O4(t,n,e){var i=e||{},r=+!i.skipHeader,o=t||{},s=0,a=0;if(o&&null!=i.origin)if("number"==typeof i.origin)s=i.origin;else{var l="string"==typeof i.origin?tr(i.origin):i.origin;s=l.r,a=l.c}var d,f={s:{c:0,r:0},e:{c:a,r:s+n.length-1+r}};if(o["!ref"]){var m=Tn(o["!ref"]);f.e.c=Math.max(f.e.c,m.e.c),f.e.r=Math.max(f.e.r,m.e.r),-1==s&&(f.e.r=(s=m.e.r+1)+n.length-1+r)}else-1==s&&(s=0,f.e.r=n.length-1+r);var g=i.header||[],b=0;n.forEach(function(y,T){Ui(y).forEach(function(k){-1==(b=g.indexOf(k))&&(g[b=g.length]=k);var O=y[k],N="z",H="",U=zt({c:a+b,r:s+T+r});d=Pg(o,U),!O||"object"!=typeof O||O instanceof Date?("number"==typeof O?N="n":"boolean"==typeof O?N="b":"string"==typeof O?N="s":O instanceof Date?(N="d",i.cellDates||(N="n",O=Ir(O)),H=i.dateNF||Vt[14]):null===O&&i.nullError&&(N="e",O=0),d?(d.t=N,d.v=O,delete d.w,delete d.R,H&&(d.z=H)):o[U]=d={t:N,v:O},H&&(d.z=H)):o[U]=O})}),f.e.c=Math.max(f.e.c,a+g.length-1);var M=$i(s);if(r)for(b=0;b<g.length;++b)o[_i(b+a)+M]={t:"s",v:g[b]};return o["!ref"]=an(f),o}function Pg(t,n,e){if("string"==typeof n){if(Array.isArray(t)){var i=tr(n);return t[i.r]||(t[i.r]=[]),t[i.r][i.c]||(t[i.r][i.c]={t:"z"})}return t[n]||(t[n]={t:"z"})}return Pg(t,zt("number"!=typeof n?n:{r:n,c:e||0}))}var que_json_to_sheet=function Gue(t,n){return O4(null,t,n)};let E2;try{E2=typeof Intl<"u"&&Intl.v8BreakIterator}catch{E2=!1}let Bg,Xv,gu,S2,jo=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?fO(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&&!E2)&&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}}return t.\u0275fac=function(e){return new(e||t)(me(Nm))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function qv(t){return function Kue(){if(null==Bg&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Bg=!0}))}finally{Bg=Bg||!1}return Bg}()?t:!!t.capture}function P4(){if(null==gu){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return gu=!1,gu;if("scrollBehavior"in document.documentElement.style)gu=!0;else{const t=Element.prototype.scrollTo;gu=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return gu}function Vg(){if("object"!=typeof document||!document)return 0;if(null==Xv){const t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";const e=document.createElement("div"),i=e.style;i.width="2px",i.height="1px",t.appendChild(e),document.body.appendChild(t),Xv=0,0===t.scrollLeft&&(t.scrollLeft=1,Xv=0===t.scrollLeft?1:2),t.remove()}return Xv}function k2(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function zc(t){return t.composedPath?t.composedPath()[0]:t.target}function A2(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Qv(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}class Mfe extends S{constructor(n,e){super()}schedule(n,e=0){return this}}const Jv={setInterval(t,n,...e){const{delegate:i}=Jv;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){const{delegate:n}=Jv;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};class R2 extends Mfe{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,e),this}requestAsyncId(n,e,i=0){return Jv.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&Jv.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let r,i=!1;try{this.work(n)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,E(i,this),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}const V4={now:()=>(V4.delegate||Date).now(),delegate:void 0};class Hg{constructor(n,e=Hg.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}}Hg.now=V4.now;class F2 extends Hg{constructor(n,e=Hg.now){super(n,e),this.actions=[],this._active=!1}flush(n){const{actions:e}=this;if(this._active)return void e.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}const Zv=new F2(R2),Cfe=Zv;function H4(t,n=Zv){return ri((e,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const d=o;o=null,i.next(d)}};function l(){const d=s+t,f=n.now();if(f<d)return r=this.schedule(void 0,d-f),void i.add(r);a()}e.subscribe(Pn(i,d=>{o=d,s=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function N2(t){return zn((n,e)=>t<=e)}function Bh(t,n=fs){return t=t??xfe,ri((e,i)=>{let r,o=!0;e.subscribe(Pn(i,s=>{const a=n(s);(o||!t(r,a))&&(o=!1,r=a,i.next(s))}))})}function xfe(t,n){return t===n}function Kn(t){return ri((n,e)=>{si(t).subscribe(Pn(e,()=>e.complete(),pt)),!e.closed&&n.subscribe(e)})}function ul(t){return null!=t&&"false"!=`${t}`}function $c(t,n=0){return function Tfe(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):n}function Kv(t){return Array.isArray(t)?t:[t]}function _r(t){return null==t?"":"string"==typeof t?t:`${t}px`}function Vh(t){return t instanceof Gt?t.nativeElement:t}let wfe=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Efe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({providers:[wfe]}),t})();const G4=new Set;let Hh,Sfe=(()=>{class t{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Afe}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function kfe(t){if(!G4.has(t))try{Hh||(Hh=document.createElement("style"),Hh.setAttribute("type","text/css"),document.head.appendChild(Hh)),Hh.sheet&&(Hh.sheet.insertRule(`@media ${t} {body{ }}`,0),G4.add(t))}catch(n){console.error(n)}}(e),this._matchMedia(e)}}return t.\u0275fac=function(e){return new(e||t)(me(jo))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Afe(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let O2=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new vt}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return j4(Kv(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=Hm(j4(Kv(e)).map(s=>this._registerQuery(s).observable));return o=lh(o.pipe(ni(1)),o.pipe(N2(1),H4(0))),o.pipe(xt(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:d})=>{a.matches=a.matches||l,a.breakpoints[d]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),o={observable:new kn(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(el(i),xt(({matches:s})=>({query:e,matches:s})),Kn(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return t.\u0275fac=function(e){return new(e||t)(me(Sfe),me(St))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function j4(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function eb(t,n){return(t.getAttribute(n)||"").match(/\S+/g)||[]}const U4="cdk-describedby-message",tb="cdk-describedby-host";let I2=0,Ofe=(()=>{class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+I2++,this._document=e,this._id=Pt(sh)+"-"+I2++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;const o=L2(i,r);"string"!=typeof i?(W4(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;const o=L2(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),"string"==typeof i){const s=this._messageRegistry.get(o);s&&0===s.referenceCount&&this._deleteMessageElement(o)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${tb}="${this._id}"]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(tb);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,i){const r=this._document.createElement("div");W4(r,this._id),r.textContent=e,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(L2(e,i),{messageElement:r,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;const e="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let o=0;o<i.length;o++)i[o].remove();const r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(e),r.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(e){const i=eb(e,"aria-describedby").filter(r=>0!=r.indexOf(U4));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const r=this._messageRegistry.get(i);(function Ffe(t,n,e){const i=eb(t,n);i.some(r=>r.trim()==e.trim())||(i.push(e.trim()),t.setAttribute(n,i.join(" ")))})(e,"aria-describedby",r.messageElement.id),e.setAttribute(tb,this._id),r.referenceCount++}_removeMessageReference(e,i){const r=this._messageRegistry.get(i);r.referenceCount--,function Nfe(t,n,e){const r=eb(t,n).filter(o=>o!=e.trim());r.length?t.setAttribute(n,r.join(" ")):t.removeAttribute(n)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(tb)}_isElementDescribedByMessage(e,i){const r=eb(e,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&-1!=r.indexOf(s)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const r=null==i?"":`${i}`.trim(),o=e.getAttribute("aria-label");return!(!r||o&&o.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(me(It),me(jo))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function L2(t,n){return"string"==typeof t?`${n||""}/${t}`:t}function W4(t,n){t.id||(t.id=`${U4}-${n}-${I2++}`)}class Ife{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new vt,this._typeaheadSubscription=S.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new vt,this.change=new vt,n instanceof ih&&(this._itemChangesSubscription=n.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ji(e=>this._pressedLetters.push(e)),H4(n),zn(()=>this._pressedLetters.length>0),xt(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r<i.length+1;r++){const o=(this._activeItemIndex+r)%i.length,s=i[o];if(!this._skipPredicateFn(s)&&0===s.getLabel().toUpperCase().trim().indexOf(e)){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){const e=this._activeItem;this.updateActiveItem(n),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){const e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}return;default:return void((r||Qv(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const e=this._getItemsArray(),i="number"==typeof n?n:e.indexOf(n);this._activeItem=e[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+n*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof ih?this._items.toArray():this._items}}class Lfe extends Ife{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let nb=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function Bfe(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function Pfe(t){try{return t.frameElement}catch{return null}}(function zfe(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(e));if(i&&(-1===$4(i)||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=$4(e);return e.hasAttribute("contenteditable")?-1!==o:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function Ufe(t){let n=t.nodeName.toLowerCase(),e="input"===n&&t.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==o:"video"===r?-1!==o&&(null!==o||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function Wfe(t){return!function Hfe(t){return function jfe(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function Vfe(t){let n=t.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(t)||function Gfe(t){return function Yfe(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||z4(t))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}}return t.\u0275fac=function(e){return new(e||t)(me(jo))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function z4(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let n=t.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function $4(t){if(!z4(t))return null;const n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class $fe{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,e,i,r,o=!1){this._element=n,this._checker=e,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.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(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let i=0;i<e.length;i++){const r=e[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[i]):null;if(r)return r}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let i=e.length-1;i>=0;i--){const r=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(r)return r}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(ni(1)).subscribe(n)}}let P2=(()=>{class t{constructor(e,i,r){this._checker=e,this._ngZone=i,this._document=r}create(e,i=!1){return new $fe(e,this._checker,this._ngZone,this._document,i)}}return t.\u0275fac=function(e){return new(e||t)(me(nb),me(St),me(It))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function q4(t){return 0===t.buttons||0===t.offsetX&&0===t.offsetY}function X4(t){const n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const qfe=new $e("cdk-input-modality-detector-options"),Xfe={ignoreKeys:[18,17,224,91,16]},Gh=qv({passive:!0,capture:!0});let Qfe=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new dr(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=zc(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(q4(s)?"keyboard":"mouse"),this._mostRecentTarget=zc(s))},this._onTouchstart=s=>{X4(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=zc(s))},this._options={...Xfe,...o},this.modalityDetected=this._modality.pipe(N2(1)),this.modalityChanged=this.modalityDetected.pipe(Bh()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Gh),r.addEventListener("mousedown",this._onMousedown,Gh),r.addEventListener("touchstart",this._onTouchstart,Gh)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Gh),document.removeEventListener("mousedown",this._onMousedown,Gh),document.removeEventListener("touchstart",this._onTouchstart,Gh))}}return t.\u0275fac=function(e){return new(e||t)(me(jo),me(St),me(It),me(qfe,8))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Jfe=new $e("liveAnnouncerElement",{providedIn:"root",factory:function Zfe(){return null}}),Kfe=new $e("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ehe=0,J4=(()=>{class t{constructor(e,i,r,o){this._ngZone=i,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...i){const r=this._defaultOptions;let o,s;return 1===i.length&&"number"==typeof i[0]?s=i[0]:[o,s]=i,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),null==s&&r&&(s=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),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",i=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o<i.length;o++)i[o].remove();return r.classList.add(e),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id="cdk-live-announcer-"+ehe++,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(e){const i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){const o=i[r],s=o.getAttribute("aria-owns");s?-1===s.indexOf(e)&&o.setAttribute("aria-owns",s+" "+e):o.setAttribute("aria-owns",e)}}}return t.\u0275fac=function(e){return new(e||t)(me(Jfe,8),me(St),me(It),me(Kfe,8))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const the=new $e("cdk-focus-monitor-default-options"),ib=qv({passive:!0,capture:!0});let Gg=(()=>{class t{constructor(e,i,r,o,s){this._ngZone=e,this._platform=i,this._inputModalityDetector=r,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 vt,this._rootNodeFocusAndBlurListener=a=>{for(let d=zc(a);d;d=d.parentElement)"focus"===a.type?this._onFocus(a,d):this._onBlur(a,d)},this._document=o,this._detectionMode=s?.detectionMode||0}monitor(e,i=!1){const r=Vh(e);if(!this._platform.isBrowser||1!==r.nodeType)return yt(null);const o=function tfe(t){if(function efe(){if(null==S2){const t=typeof document<"u"?document.head:null;S2=!(!t||!t.createShadowRoot&&!t.attachShadow)}return S2}()){const n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new vt,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=Vh(e),r=this._elementInfo.get(i);r&&(r.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(r))}focusVia(e,i,r){const o=Vh(e);o===this._getDocument().activeElement?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,i,l)):(this._setOrigin(i),"function"==typeof o.focus&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_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 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const r=this._elementInfo.get(i),o=zc(e);!r||!r.checkChildren&&i!==o||this._originChanged(i,this._getFocusOrigin(o),r)}_onBlur(e,i){const r=this._elementInfo.get(i);!r||r.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(r,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,r=this._rootNodeFocusListenerCount.get(i)||0;r||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,ib),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,ib)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Kn(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const r=this._rootNodeFocusListenerCount.get(i);r>1?this._rootNodeFocusListenerCount.set(i,r-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ib),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ib),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,r){this._setClasses(e,i),this._emitOrigin(r,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&i.push([o,r])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:r}=this._inputModalityDetector;if("mouse"!==r||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const o=e.labels;if(o)for(let s=0;s<o.length;s++)if(o[s].contains(i))return!0;return!1}}return t.\u0275fac=function(e){return new(e||t)(me(St),me(jo),me(Qfe),me(It,8),me(the,8))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Z4="cdk-high-contrast-black-on-white",K4="cdk-high-contrast-white-on-black",B2="cdk-high-contrast-active";let e5=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=Pt(O2).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,r=i&&i.getComputedStyle?i.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(B2,Z4,K4),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(B2,Z4):2===i&&e.add(B2,K4)}}}return t.\u0275fac=function(e){return new(e||t)(me(jo),me(It))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),t5=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(me(e5))},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[Efe]}),t})();const nhe=new $e("cdk-dir-doc",{providedIn:"root",factory:function ihe(){return Pt(It)}}),rhe=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let jh=(()=>{class t{constructor(e){this.value="ltr",this.change=new ht,e&&(this.value=function ohe(t){const n=t?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?rhe.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(me(nhe,8))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),jg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({}),t})();const ahe=new $e("mat-sanity-checks",{providedIn:"root",factory:function she(){return!0}});let vi=(()=>{class t{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!A2()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return t.\u0275fac=function(e){return new(e||t)(me(e5),me(ahe,8),me(It))},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[jg,jg]}),t})();function o5(t){return class extends t{get disabled(){return this._disabled}set disabled(n){this._disabled=ul(n)}constructor(...n){super(...n),this._disabled=!1}}}function V2(t,n){return class extends t{get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}constructor(...e){super(...e),this.defaultColor=n,this.color=n}}}function lhe(t){return class extends t{get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=ul(n)}constructor(...n){super(...n),this._disableRipple=!1}}}function che(t,n=0){return class extends t{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?$c(e):this.defaultTabIndex}constructor(...e){super(...e),this._tabIndex=n,this.defaultTabIndex=n}}}let s5=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[vi,vi]}),t})();class uhe{constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const a5=qv({passive:!0,capture:!0});class fhe{constructor(){this._events=new Map,this._delegateEventHandler=n=>{const e=zc(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(n))})}}addHandler(n,e,i,r){const o=this._events.get(e);if(o){const s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(e,new Map([[i,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,a5)})}removeHandler(n,e,i){const r=this._events.get(n);if(!r)return;const o=r.get(e);o&&(o.delete(i),0===o.size&&r.delete(e),0===r.size&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,a5)))}}const l5={enterDuration:225,exitDuration:150},c5=qv({passive:!0,capture:!0}),d5=["mousedown","touchstart"],u5=["mouseup","mouseleave","touchend","touchcancel"];class Ug{constructor(n,e,i,r){this._target=n,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Vh(i))}fadeInRipple(n,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...l5,...i.animation};i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);const s=i.radius||function phe(t,n,e){const i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}(n,e,r),a=n-r.left,l=e-r.top,d=o.enterDuration,f=document.createElement("div");f.classList.add("mat-ripple-element"),f.style.left=a-s+"px",f.style.top=l-s+"px",f.style.height=2*s+"px",f.style.width=2*s+"px",null!=i.color&&(f.style.backgroundColor=i.color),f.style.transitionDuration=`${d}ms`,this._containerElement.appendChild(f);const m=window.getComputedStyle(f),b=m.transitionDuration,M="none"===m.transitionProperty||"0s"===b||"0s, 0s"===b||0===r.width&&0===r.height,y=new uhe(this,f,i,M);f.style.transform="scale3d(1, 1, 1)",y.state=0,i.persistent||(this._mostRecentTransientRipple=y);let T=null;return!M&&(d||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const k=()=>this._finishRippleTransition(y),O=()=>this._destroyRipple(y);f.addEventListener("transitionend",k),f.addEventListener("transitioncancel",O),T={onTransitionEnd:k,onTransitionCancel:O}}),this._activeRipples.set(y,T),(M||!d)&&this._finishRippleTransition(y),y}fadeOutRipple(n){if(2===n.state||3===n.state)return;const e=n.element,i={...l5,...n.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=2,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const e=Vh(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,d5.forEach(i=>{Ug._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{u5.forEach(e=>{this._triggerElement.addEventListener(e,this,c5)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){0===n.state?this._startFadeOutTransition(n):2===n.state&&this._destroyRipple(n)}_startFadeOutTransition(n){const e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=1,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=3,null!==e&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel)),n.element.remove()}_onMousedown(n){const e=q4(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!X4(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=n.changedTouches;for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const n=this._triggerElement;n&&(d5.forEach(e=>Ug._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&u5.forEach(e=>n.removeEventListener(e,this,c5)))}}Ug._eventManager=new fhe;const mhe=new $e("mat-ripple-global-options");let f5=(()=>{class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,r,o,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new Ug(this,i,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,r){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...r}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}return t.\u0275fac=function(e){return new(e||t)(V(Gt),V(St),V(jo),V(mhe,8),V(Ks,8))},t.\u0275dir=je({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&Nt("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),t})(),ghe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[vi,vi]}),t})();const _he=["mat-button",""],vhe=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],bhe=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Dhe=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],yhe=V2(o5(lhe(class{constructor(t){this._elementRef=t}})));let Mhe=(()=>{class t extends yhe{constructor(e,i,r,o){super(e),this._platform=i,this._ngZone=r,this._animationMode=o,this._focusMonitor=Pt(Gg),this._isFab=!1;const s=e.nativeElement.classList;for(const a of Dhe)this._hasHostAttributes(a.selector)&&a.mdcClasses.forEach(l=>{s.add(l)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",i){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,i):this._elementRef.nativeElement.focus(i)}_hasHostAttributes(...e){return e.some(i=>this._elementRef.nativeElement.hasAttribute(i))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return t.\u0275fac=function(e){z0()},t.\u0275dir=je({type:t,viewQuery:function(e,i){if(1&e&&Ht(f5,5),2&e){let r;lt(r=ct())&&(i.ripple=r.first)}},features:[Qt]}),t})(),xhe=(()=>{class t extends Mhe{constructor(e,i,r,o){super(e,i,r,o)}}return t.\u0275fac=function(e){return new(e||t)(V(Gt),V(jo),V(St),V(Ks,8))},t.\u0275cmp=Oe({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(e,i){2&e&&(Ot("disabled",i.disabled||null),Nt("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Qt],attrs:_he,ngContentSelectors:bhe,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(e,i){1&e&&(Zs(vhe),X(0,"span",0),Vi(1),c(2,"span",1),Vi(3,1),u(),Vi(4,2),X(5,"span",2)(6,"span",3)(7,"span",4)),2&e&&(Nt("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab),h(6),_("matRippleDisabled",i._isRippleDisabled())("matRippleTrigger",i._elementRef.nativeElement))},dependencies:[f5],styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0}),t})(),whe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[vi,ghe,vi]}),t})();class h5{}class Ehe{}const Xl="*";function Wg(t,n){return{type:7,name:t,definitions:n,options:{}}}function qc(t,n=null){return{type:4,styles:n,timings:t}}function m5(t,n=null){return{type:2,steps:t,options:n}}function Yo(t){return{type:6,styles:t,offset:null}}function fl(t,n,e){return{type:0,name:t,styles:n,options:e}}function Xc(t,n,e=null){return{type:1,expr:t,animation:n,options:e}}function v5(t){Promise.resolve().then(t)}class zg{constructor(n=0,e=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=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){v5(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class b5{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,i=0,r=0;const o=this.players.length;0==o?v5(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const n=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}const H2="!";class G2{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class $g extends G2{constructor(n,e,i,r,o){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class rb extends G2{constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class She extends G2{constructor(n){super(),this.element=n instanceof Gt?n.nativeElement:n}}class ob{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof $g?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof rb?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof She?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class khe extends ob{constructor(n,e,i,r,o){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(n.injector||this._defaultInjector||hi.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=n,r}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(i);-1!==r&&e.remove(r)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let Yh=(()=>{class t extends ob{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new ht,this.attachDomPortal=o=>{const s=o.element,a=this._document.createComment("dom-portal");o.setAttachedHost(this),s.parentNode.insertBefore(a,s),this._getRootNode().appendChild(s),this._attachedPortal=o,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(s,a)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),s=i.createComponent(o,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return t.\u0275fac=function(e){return new(e||t)(V(Hd),V(es),V(It))},t.\u0275dir=je({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Qt]}),t})(),Uh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({}),t})();const Ahe=["addListener","removeListener"],Rhe=["addEventListener","removeEventListener"],Fhe=["on","off"];function wr(t,n,e,i){if(P(e)&&(i=e,e=void 0),i)return wr(t,n,e).pipe(kx(i));const[r,o]=function Ihe(t){return P(t.addEventListener)&&P(t.removeEventListener)}(t)?Rhe.map(s=>a=>t[s](n,a,e)):function Nhe(t){return P(t.addListener)&&P(t.removeListener)}(t)?Ahe.map(D5(t,n)):function Ohe(t){return P(t.on)&&P(t.off)}(t)?Fhe.map(D5(t,n)):[];if(!r&&tf(t))return Dn(s=>wr(s,n,e))(si(t));if(!r)throw new TypeError("Invalid event target");return new kn(s=>{const a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function D5(t,n){return e=>i=>t[e](n,i)}const qg={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=qg;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);const r=n(o=>{e=void 0,t(o)});return new S(()=>e?.(r))},requestAnimationFrame(...t){const{delegate:n}=qg;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:n}=qg;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0},Bhe=new class Phe extends F2{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw r}}}(class Lhe extends R2{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=qg.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:o}=n;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(qg.cancelAnimationFrame(e),n._scheduled=void 0)}});let j2,Vhe=1;const sb={};function y5(t){return t in sb&&(delete sb[t],!0)}const Hhe={setImmediate(t){const n=Vhe++;return sb[n]=!0,j2||(j2=Promise.resolve()),j2.then(()=>y5(n)&&t()),n},clearImmediate(t){y5(t)}},{setImmediate:Ghe,clearImmediate:jhe}=Hhe,ab={setImmediate(...t){const{delegate:n}=ab;return(n?.setImmediate||Ghe)(...t)},clearImmediate(t){const{delegate:n}=ab;return(n?.clearImmediate||jhe)(t)},delegate:void 0},Whe=new class Uhe extends F2{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw r}}}(class Yhe extends R2{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=ab.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:o}=n;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(ab.clearImmediate(e),n._scheduled=void 0)}});function lb(t=0,n,e=Cfe){let i=-1;return null!=n&&(Ys(n)?e=n:i=n),new kn(r=>{let o=function $he(t){return t instanceof Date&&!isNaN(t)}(t)?+t-e.now():t;o<0&&(o=0);let s=0;return e.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function Y2(t,n=Zv){return function zhe(t){return ri((n,e)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const d=r;r=null,e.next(d)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};n.subscribe(Pn(e,d=>{i=!0,r=d,o||si(t(d)).subscribe(o=Pn(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}(()=>lb(t,n))}const qhe=["contentWrapper"],Xhe=["*"],Qhe=new $e("VIRTUAL_SCROLL_STRATEGY");let cb=(()=>{class t{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new vt,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new kn(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(Y2(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):yt()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const r=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(zn(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let r=Vh(i),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>wr(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(me(St),me(jo),me(It,8))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),M5=(()=>{class t{constructor(e,i,r,o){this.elementRef=e,this.scrollDispatcher=i,this.ngZone=r,this.dir=o,this._destroyed=new vt,this._elementScrolled=new kn(s=>this.ngZone.runOutsideAngular(()=>wr(this.elementRef.nativeElement,"scroll").pipe(Kn(this._destroyed)).subscribe(s)))}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 i=this.elementRef.nativeElement,r=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=r?e.end:e.start),null==e.right&&(e.right=r?e.start:e.end),null!=e.bottom&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),r&&0!=Vg()?(null!=e.left&&(e.right=i.scrollWidth-i.clientWidth-e.left),2==Vg()?e.left=e.right:1==Vg()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const i=this.elementRef.nativeElement;P4()?i.scrollTo(e):(null!=e.top&&(i.scrollTop=e.top),null!=e.left&&(i.scrollLeft=e.left))}measureScrollOffset(e){const i="left",r="right",o=this.elementRef.nativeElement;if("top"==e)return o.scrollTop;if("bottom"==e)return o.scrollHeight-o.clientHeight-o.scrollTop;const s=this.dir&&"rtl"==this.dir.value;return"start"==e?e=s?r:i:"end"==e&&(e=s?i:r),s&&2==Vg()?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&1==Vg()?e==i?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==i?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(V(Gt),V(cb),V(St),V(jh,8))},t.\u0275dir=je({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),t})(),U2=(()=>{class t{constructor(e,i,r){this._platform=e,this._change=new vt,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(e.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.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:i,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect();return{top:-o.top||e.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||e.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Y2(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}}}return t.\u0275fac=function(e){return new(e||t)(me(jo),me(St),me(It,8))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const C5=new $e("VIRTUAL_SCROLLABLE");let Khe=(()=>{class t extends M5{constructor(e,i,r,o){super(e,i,r,o)}measureViewportSize(e){const i=this.elementRef.nativeElement;return"horizontal"===e?i.clientWidth:i.clientHeight}}return t.\u0275fac=function(e){return new(e||t)(V(Gt),V(cb),V(St),V(jh,8))},t.\u0275dir=je({type:t,features:[Qt]}),t})();const tpe=typeof requestAnimationFrame<"u"?Bhe:Whe;let npe=(()=>{class t extends Khe{get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=ul(e)}constructor(e,i,r,o,s,a,l,d){super(e,a,r,s),this.elementRef=e,this._changeDetectorRef=i,this._scrollStrategy=o,this.scrollable=d,this._platform=Pt(jo),this._detachedSubject=new vt,this._renderedRangeSubject=new vt,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new kn(f=>this._scrollStrategy.scrolledIndexChange.subscribe(m=>Promise.resolve().then(()=>this.ngZone.run(()=>f.next(m))))),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=S.EMPTY,this._viewportChanges=l.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(el(null),Y2(0,tpe)).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.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(Kn(this._detachedSubject)).subscribe(i=>{const r=i.length;r!==this._dataLength&&(this._dataLength=r,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 epe(t,n){return t.start==n.start&&t.end==n.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,i="to-start"){e=this.appendOnly&&"to-start"===i?0:e;const o="horizontal"==this.orientation,s=o?"X":"Y";let l=`translate${s}(${Number((o&&this.dir&&"rtl"==this.dir.value?-1:1)*e)}px)`;this._renderedContentOffset=e,"to-end"===i&&(l+=` translate${s}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=l&&(this._renderedContentTransform=l,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,i="auto"){const r={behavior:i};"horizontal"===this.orientation?r.start=e:r.top=e,this.scrollable.scrollTo(r)}scrollToIndex(e,i="auto"){this._scrollStrategy.scrollToIndex(e,i)}measureScrollOffset(e){let i;return i=this.scrollable==this?r=>super.measureScrollOffset(r):r=>this.scrollable.measureScrollOffset(r),Math.max(0,i(e??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let i;const r="left",o="right",s="rtl"==this.dir?.value;i="start"==e?s?o:r:"end"==e?s?r:o:e||("horizontal"===this.orientation?"left":"top");const a=this.scrollable.measureBoundingClientRectWithScrollOffset(i);return this.elementRef.nativeElement.getBoundingClientRect()[i]-a}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 i of e)i()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return t.\u0275fac=function(e){return new(e||t)(V(Gt),V(ar),V(St),V(Qhe,8),V(jh,8),V(cb),V(U2),V(C5,8))},t.\u0275cmp=Oe({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,i){if(1&e&&Ht(qhe,7),2&e){let r;lt(r=ct())&&(i._contentWrapper=r.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,i){2&e&&Nt("cdk-virtual-scroll-orientation-horizontal","horizontal"===i.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==i.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[En([{provide:M5,useFactory:(n,e)=>n||e,deps:[[new Rl,new F0(C5)],t]}]),Qt,sr],ngContentSelectors:Xhe,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,i){1&e&&(Zs(),c(0,"div",0,1),Vi(2),u(),X(3,"div",2)),2&e&&(h(3),ws("width",i._totalContentWidth)("height",i._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}),t})(),db=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({}),t})(),x5=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[jg,db,npe,jg,db]}),t})();const T5=P4();class ipe{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=_r(-this._previousScrollPosition.left),n.style.top=_r(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),T5&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),T5&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class rpe{constructor(n,e,i,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class w5{enable(){}disable(){}attach(){}}function W2(t,n){return n.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function E5(t,n){return n.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class ope{constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();W2(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let spe=(()=>{class t{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new w5,this.close=s=>new rpe(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new ipe(this._viewportRuler,this._document),this.reposition=s=>new ope(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return t.\u0275fac=function(e){return new(e||t)(me(cb),me(U2),me(St),me(It))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class z2{constructor(n){if(this.scrollStrategy=new w5,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const i of e)void 0!==n[i]&&(this[i]=n[i])}}}class ape{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}let S5=(()=>{class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(me(It))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),lpe=(()=>{class t extends S5{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(me(It),me(St,8))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),cpe=(()=>{class t extends S5{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=zc(o)},this._clickListener=o=>{const s=zc(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let d=l.length-1;d>-1;d--){const f=l[d];if(f._outsidePointerEvents.observers.length<1||!f.hasAttached())continue;if(f.overlayElement.contains(s)||f.overlayElement.contains(a))break;const m=f._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>m.next(o)):m.next(o)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return t.\u0275fac=function(e){return new(e||t)(me(It),me(jo),me(St,8))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ub=(()=>{class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||A2()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}const i=this._document.createElement("div");i.classList.add(e),A2()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}}return t.\u0275fac=function(e){return new(e||t)(me(It),me(jo))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class Xg{constructor(n,e,i,r,o,s,a,l,d,f=!1){this._portalOutlet=n,this._host=e,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=d,this._animationsDisabled=f,this._backdropElement=null,this._backdropClick=new vt,this._attachments=new vt,this._detachments=new vt,this._locationChanges=S.EMPTY,this._backdropClickHandler=m=>this._backdropClick.next(m),this._backdropTransitionendHandler=m=>{this._disposeBackdrop(m.target)},this._keydownEvents=new vt,this._outsidePointerEvents=new vt,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(ni(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof e?.onDestroy&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=_r(this._config.width),n.height=_r(this._config.height),n.minWidth=_r(this._config.minWidth),n.minHeight=_r(this._config.minHeight),n.maxWidth=_r(this._config.maxWidth),n.maxHeight=_r(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,i){const r=Kv(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(Kn(yd(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const k5="cdk-overlay-connected-position-bounding-box",dpe=/([A-Za-z%]+)$/;class upe{get positions(){return this._preferredPositions}constructor(n,e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new vt,this._resizeSubscription=S.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(k5),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,r,a),d=this._getOverlayPoint(l,e,a),f=this._getOverlayFit(d,e,i,a);if(f.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(f,d,i)?o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleArea<f.visibleArea)&&(s={overlayFit:f,overlayPoint:d,originPoint:l,position:a,overlayRect:e})}if(o.length){let a=null,l=-1;for(const d of o){const f=d.boundingBoxRect.width*d.boundingBoxRect.height*(d.position.weight||1);f>l&&(l=f,a=d)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&_u(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(k5),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let r,o;if("center"==i.originX)r=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r="start"==i.originX?s:a}return e.left<0&&(r-=e.left),o="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,e,i){let r,o;return r="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,o="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,e,i,r){const o=R5(e);let{x:s,y:a}=n,l=this._getOffset(r,"x"),d=this._getOffset(r,"y");l&&(s+=l),d&&(a+=d);let g=0-a,b=a+o.height-i.height,M=this._subtractOverflows(o.width,0-s,s+o.width-i.width),y=this._subtractOverflows(o.height,g,b),T=M*y;return{visibleArea:T,isCompletelyWithinViewport:o.width*o.height===T,fitsInViewportVertically:y===o.height,fitsInViewportHorizontally:M==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,s=A5(this._overlayRef.getConfig().minHeight),a=A5(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=r)&&(n.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const r=R5(e),o=this._viewportRect,s=Math.max(n.x+r.width-o.width,0),a=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),d=Math.max(o.left-i.left-n.x,0);let f=0,m=0;return f=r.width<=o.width?d||-s:n.x<this._viewportMargin?o.left-i.left-n.x:0,m=r.height<=o.height?l||-a:n.y<this._viewportMargin?o.top-i.top-n.y:0,this._previousPushAmount={x:f,y:m},{x:n.x+f,y:n.y+m}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._lastPosition=n,this._positionChanges.observers.length){const i=this._getScrollVisibility(),r=new ape(n,i);this._positionChanges.next(r)}this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,r=n.overlayY;i="center"===n.overlayX?"center":this._isRtl()?"start"===n.overlayX?"right":"left":"start"===n.overlayX?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(n,e){const i=this._viewportRect,r=this._isRtl();let o,s,a,f,m,g;if("top"===e.overlayY)s=n.y,o=i.height-s+this._viewportMargin;else if("bottom"===e.overlayY)a=i.height-n.y+2*this._viewportMargin,o=i.height-a+this._viewportMargin;else{const b=Math.min(i.bottom-n.y+i.top,n.y),M=this._lastBoundingBoxSize.height;o=2*b,s=n.y-b,o>M&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-M/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)g=i.width-n.x+this._viewportMargin,f=n.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)m=n.x,f=i.right-n.x;else{const b=Math.min(i.right-n.x+i.left,n.x),M=this._lastBoundingBoxSize.width;f=2*b,m=n.x-b,f>M&&!this._isInitialRender&&!this._growAfterOpen&&(m=n.x-M/2)}return{top:s,left:m,bottom:a,right:g,width:f,height:o}}_setBoundingBoxStyles(n,e){const i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=_r(i.height),r.top=_r(i.top),r.bottom=_r(i.bottom),r.width=_r(i.width),r.left=_r(i.left),r.right=_r(i.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=_r(o)),s&&(r.maxWidth=_r(s))}this._lastBoundingBoxSize=i,_u(this._boundingBox.style,r)}_resetBoundingBoxStyles(){_u(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){_u(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const f=this._viewportRuler.getViewportScrollPosition();_u(i,this._getExactOverlayY(e,n,f)),_u(i,this._getExactOverlayX(e,n,f))}else i.position="static";let a="",l=this._getOffset(e,"x"),d=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),d&&(a+=`translateY(${d}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=_r(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=_r(s.maxWidth):o&&(i.maxWidth="")),_u(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===n.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=_r(o.y),r}_getExactOverlayX(n,e,i){let s,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=_r(o.x),r}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:E5(n,i),isOriginOutsideView:W2(n,i),isOverlayClipped:E5(e,i),isOverlayOutsideView:W2(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Kv(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof Gt)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}}function _u(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function A5(t){if("number"!=typeof t&&null!=t){const[n,e]=t.split(dpe);return e&&"px"!==e?null:parseFloat(n)}return t||null}function R5(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const F5="cdk-global-overlay-wrapper";class fpe{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(F5),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),d=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),f=this._xPosition,m=this._xOffset,g="rtl"===this._overlayRef.getConfig().direction;let b="",M="",y="";l?y="flex-start":"center"===f?(y="center",g?M=m:b=m):g?"left"===f||"end"===f?(y="flex-end",b=m):("right"===f||"start"===f)&&(y="flex-start",M=m):"left"===f||"start"===f?(y="flex-start",b=m):("right"===f||"end"===f)&&(y="flex-end",M=m),n.position=this._cssPosition,n.marginLeft=l?"0":b,n.marginTop=d?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":M,e.justifyContent=y,e.alignItems=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(F5),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let hpe=(()=>{class t{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new fpe}flexibleConnectedTo(e){return new upe(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(me(U2),me(It),me(jo),me(ub))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ppe=0,Qc=(()=>{class t{constructor(e,i,r,o,s,a,l,d,f,m,g,b){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=d,this._directionality=f,this._location=m,this._outsideClickDispatcher=g,this._animationsModuleType=b}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new z2(e);return s.direction=s.direction||this._directionality.value,new Xg(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+ppe++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Wd)),new khe(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(me(spe),me(ub),me(Hd),me(hpe),me(lpe),me(hi),me(St),me(It),me(jh),me(Po),me(cpe),me(Ks,8))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const _pe={provide:new $e("cdk-connected-overlay-scroll-strategy"),deps:[Qc],useFactory:function gpe(t){return()=>t.scrollStrategies.reposition()}};let $2=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({providers:[Qc,_pe],imports:[jg,Uh,x5,x5]}),t})();function vpe(t,n){if(1&t){const e=ae();c(0,"div",2)(1,"button",3),R("click",function(){return z(e),q(D().action())}),p(2),u()()}if(2&t){const e=D();h(2),Be(" ",e.data.action," ")}}const bpe=["label"];function Dpe(t,n){}const ype=Math.pow(2,31)-1;class q2{constructor(n,e){this._overlayRef=e,this._afterDismissed=new vt,this._afterOpened=new vt,this._onAction=new vt,this._dismissedByAction=!1,this.containerInstance=n,n._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,ype))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const N5=new $e("MatSnackBarData");class fb{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let Mpe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=je({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),t})(),Cpe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=je({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),t})(),xpe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=je({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),t})(),Tpe=(()=>{class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return t.\u0275fac=function(e){return new(e||t)(V(q2),V(N5))},t.\u0275cmp=Oe({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1),u(),C(2,vpe,3,1,"div",1)),2&e&&(h(1),Be(" ",i.data.message,"\n"),h(1),_("ngIf",i.hasAction))},dependencies:[mt,xhe,Mpe,Cpe,xpe],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),t})();const wpe={snackBarState:Wg("state",[fl("void, hidden",Yo({transform:"scale(0.8)",opacity:0})),fl("visible",Yo({transform:"scale(1)",opacity:1})),Xc("* => visible",qc("150ms cubic-bezier(0, 0, 0.2, 1)")),Xc("* => void, * => hidden",qc("75ms cubic-bezier(0.4, 0.0, 1, 1)",Yo({opacity:0})))])};let Epe=0,Spe=(()=>{class t extends ob{constructor(e,i,r,o,s){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=r,this._platform=o,this.snackBarConfig=s,this._document=Pt(It),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new vt,this._onExit=new vt,this._onEnter=new vt,this._animationState="void",this._liveElementId="mat-snack-bar-container-live-"+Epe++,this.attachDomPortal=a=>{this._assertNotAttached();const l=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),l},this._live="assertive"!==s.politeness||s.announcementMessage?"off"===s.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){const{fromState:i,toState:r}=e;if(("void"===r&&"void"!==i||"hidden"===r)&&this._completeExit(),"visible"===r){const o=this._onEnter;this._ngZone.run(()=>{o.next(),o.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(ni(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(r=>e.classList.add(r)):e.classList.add(i)),this._exposeToModals()}_exposeToModals(){const e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<i.length;r++){const o=i[r],s=o.getAttribute("aria-owns");this._trackedModals.add(o),s?-1===s.indexOf(e)&&o.setAttribute("aria-owns",s+" "+e):o.setAttribute("aria-owns",e)}}_clearFromModals(){this._trackedModals.forEach(e=>{const i=e.getAttribute("aria-owns");if(i){const r=i.replace(this._liveElementId,"").trim();r.length>0?e.setAttribute("aria-owns",r):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(r=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return t.\u0275fac=function(e){return new(e||t)(V(St),V(Gt),V(ar),V(jo),V(fb))},t.\u0275dir=je({type:t,viewQuery:function(e,i){if(1&e&&Ht(Yh,7),2&e){let r;lt(r=ct())&&(i._portalOutlet=r.first)}},features:[Qt]}),t})(),kpe=(()=>{class t extends Spe{_afterPortalAttached(){super._afterPortalAttached();const e=this._label.nativeElement,i="mdc-snackbar__label";e.classList.toggle(i,!e.querySelector(`.${i}`))}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=wi(t)))(i||t)}}(),t.\u0275cmp=Oe({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(e,i){if(1&e&&Ht(bpe,7),2&e){let r;lt(r=ct())&&(i._label=r.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(e,i){1&e&&pC("@state.done",function(o){return i.onAnimationEnd(o)}),2&e&&DC("@state",i._animationState)},features:[Qt],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(c(0,"div",0)(1,"div",1,2)(3,"div",3),C(4,Dpe,0,0,"ng-template",4),u(),X(5,"div"),u()()),2&e&&(h(5),Ot("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[Yh],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px))}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss svg,.mat-mdc-snack-bar-container .mdc-snackbar__dismiss img{width:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px));height:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-icon-size, 24px))}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size, inherit);font-family:var(--mdc-snackbar-supporting-text-font, inherit);font-weight:var(--mdc-snackbar-supporting-text-weight, inherit);line-height:var(--mdc-snackbar-supporting-text-line-height, inherit)}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-mdc-snack-bar-button-color, transparent);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.mat-mdc-snack-bar-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[wpe.snackBarState]}}),t})(),O5=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[$2,Uh,qd,whe,vi,vi]}),t})();const I5=new $e("mat-snack-bar-default-options",{providedIn:"root",factory:function Ape(){return new fb}});let Rpe=(()=>{class t{get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,i,r,o,s,a){this._overlay=e,this._live=i,this._injector=r,this._breakpointObserver=o,this._parentSnackBar=s,this._defaultConfig=a,this._snackBarRefAtThisLevel=null}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",r){const o={...this._defaultConfig,...r};return o.data={message:e,action:i},o.announcementMessage===e&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){const o=hi.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:fb,useValue:i}]}),s=new $g(this.snackBarContainerComponent,i.viewContainerRef,o),a=e.attach(s);return a.instance.snackBarConfig=i,a.instance}_attach(e,i){const r={...new fb,...this._defaultConfig,...i},o=this._createOverlay(r),s=this._attachSnackBarContainer(o,r),a=new q2(s,o);if(e instanceof Zn){const l=new rb(e,null,{$implicit:r.data,snackBarRef:a});a.instance=s.attachTemplatePortal(l)}else{const l=this._createInjector(r,a),d=new $g(e,void 0,l),f=s.attachComponentPortal(d);a.instance=f.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(Kn(o.detachments())).subscribe(l=>{o.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),r.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(a,r),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){const i=new z2;i.direction=e.direction;let r=this._overlay.position().global();const o="rtl"===e.direction,s="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!o||"end"===e.horizontalPosition&&o,a=!s&&"center"!==e.horizontalPosition;return s?r.left("0"):a?r.right("0"):r.centerHorizontally(),"top"===e.verticalPosition?r.top("0"):r.bottom("0"),i.positionStrategy=r,this._overlay.create(i)}_createInjector(e,i){return hi.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:q2,useValue:i},{provide:N5,useValue:e.data}]})}}return t.\u0275fac=function(e){return new(e||t)(me(Qc),me(J4),me(hi),me(O2),me(t,12),me(I5))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})(),Fpe=(()=>{class t extends Rpe{constructor(e,i,r,o,s,a){super(e,i,r,o,s,a),this.simpleSnackBarComponent=Tpe,this.snackBarContainerComponent=kpe,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return t.\u0275fac=function(e){return new(e||t)(me(Qc),me(J4),me(hi),me(O2),me(t,12),me(I5))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:O5}),t})(),Et=(()=>{class t{constructor(e,i){this.http=e,this.snackBar=i,this.Cargando=!1,this.UsuMat={},this.ApiUrl="https://clickboxgo.com/clibox/",this.App={Nombre:"Click Box"},this.Pais={Nombre:"El Salvador",Codigo:"+503",CodWha:"503",Bandera:"bansal.png",TerCon:"tercon.pdf",PolDat:"poldat.pdf",ConArr:"conarr.pdf",SimMon:"$",Lat:"13.687158108144736",Lon:"-89.19522208021475"},this.dataRCV={},this.dataRes={},this.mosLC="No",this.VPB=0,this.Lat=0,this.Lon=0,this.lastImage="",this.lastImageThiss="",this.FotSub="",this.FotRes="",this.TipSer="",this.UbiSitOri="",this.UbiSitOriDes="",this.UbiMapOri="",this.UbiMapOriDes="",this.UbiSitDes="",this.UbiSitDesDes="",this.UbiMapDes="",this.UbiMapDesDes="",this.Firma="",this.LisVia=[],this.DGF={},this.DatNot={Pedidos:[],Membresias:[],Soporte:[]},this.apiurl="https://clickboxgo.com/clibox/api/",this.apiimg="https://clickboxgo.com/clibox/img/",this.apiaud="https://clickboxgo.com/clibox/aud/",this.apippm="https://clickboxgo.com/clibox/api/tmpapi.php",this.UsuMat=[]}AccSobBDAA(e,i,r,o,s,a,l,d,f,m){var g=this;return ra(function*(){m&&(g.Cargando=!0);let b={acc:e,res:i,cam:r,val:o,cyv:s,tab:a,don:l,ord:d,sen:f,tok:window.localStorage.getItem("Token")};b=JSON.stringify(b);let M="jsonsend="+b,T={headers:new ur({"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"})},k=g.ApiUrl+"api/admbd.php",O=yield g.http.post(k,M,T).toPromise();return g.Cargando=!1,O})()}AccSobBD(e,i,r,o,s,a,l,d,f,m,g,b){var M=this;return ra(function*(){M.Cargando||setTimeout(()=>{M.Cargando=!0},100);let y={acc:e,res:i,cam:r,val:o,cyv:s,tab:a,don:l,ord:d,sen:f,tok:window.localStorage.getItem("Token")};y=JSON.stringify(y);let T="jsonsend="+y,O={headers:new ur({"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"})},N=M.apiurl+"admbd.php",H=yield M.http.post(N,T,O).toPromise();if(setTimeout(()=>{M.Cargando=!1},100),M.dataRCV=H,"success"==M.dataRCV.estatus)switch(m){case"Login":case"Registrar":case"CarVar":case"Sel":case"Ins":case"Upd":case"Del":case"Sen":b(M.dataRCV,g)}else M.EnvMsgSim("Error en AdmBD","Peligro")})()}EnvNotPus(e,i,r,o,s){var a=this;return ra(function*(){let l="NRegUsu="+e+"&Tit="+i+"&Men="+r+"&Acc="+o+"&Dat="+s,f={headers:new ur({"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"})},m=a.ApiUrl+"api/sennotpus.php",g=yield a.http.post(m,l,f).toPromise();return console.log(g),g})()}addLisVia(e,i,r,o){this.LisVia.push({NReg:e,Nombre:i,Telefono:r,FotPer:o})}eliLisVia(e){for(var i=0;i<this.LisVia.length;i++)if(this.LisVia[i].NReg==e){this.LisVia.splice(i,1);break}}vacLisVia(){for(;this.LisVia.length>0;)this.LisVia.pop()}conLisVia(){return this.LisVia}setApiUrl(e){this.apiurl=e}getApiUrl(){return this.apiurl}setApiImg(e){this.apiimg=e}getApiImg(){return this.apiimg}setApiAud(e){this.apiaud=e}getApiAud(){return this.apiaud}setApiPPM(e){this.apippm=e}getApiPPM(){return this.apippm}setUsuMat(e){this.UsuMat=e}getUsuMat(){return this.UsuMat}setTipSer(e){this.TipSer=e}getTipSer(){return this.TipSer}setUbiSitOri(e){this.UbiSitOri=e}getUbiSitOri(){return this.UbiSitOri}setUbiSitOriDes(e){this.UbiSitOriDes=e}getUbiSitOriDes(){return this.UbiSitOriDes}setUbiMapOri(e){this.UbiMapOri=e}getUbiMapOri(){return this.UbiMapOri}setUbiMapOriDes(e){this.UbiMapOriDes=e}getUbiMapOriDes(){return this.UbiMapOriDes}setUbiSitDes(e){this.UbiSitDes=e}getUbiSitDes(){return this.UbiSitDes}setUbiSitDesDes(e){this.UbiSitDesDes=e}getUbiSitDesDes(){return this.UbiSitDesDes}setUbiMapDes(e){this.UbiMapDes=e}getUbiMapDes(){return this.UbiMapDes}setUbiMapDesDes(e){this.UbiMapDesDes=e}getUbiMapDesDes(){return this.UbiMapDesDes}setFirma(e){this.Firma=e}getFirma(){return this.Firma}ObtRelTimMom(e,i){return m3(e,i).locale("es").fromNow()}ObtFecComMom(e,i){return m3(e).locale("es").format(i)}AliCamMod(e){switch(e){case"Texto":case"SelectQry":return"left";case"Entero":case"Numero":case"Porcentaje":case"Wallet":return"right";case"Select":case"Fecha":case"FechaHora":case"Imagen":case"Geocerca":case"NumTarCre":case"VenTarCre":case"CodTarCre":return"center"}}ForCamMod(e,i){switch(i.Tip){case"Texto":case"Entero":case"Select":case"Imagen":case"VenTarCre":return e;case"Numero":case"Porcentaje":return this.NumFor(e,2);case"SelectQry":for(var r=i.Qry.Cmps.split(","),o=0;o<i.Qry.Res.length;o++)if(i.Qry.Res[o][r[0]]==e)return i.Qry.Res[o][r[2]]?i.Qry.Res[o][r[1]]+" "+i.Qry.Res[o][r[2]]:i.Qry.Res[o][r[1]];return"???";case"Fecha":return this.ForFec(e);case"FechaHora":return this.ForFecHorPeq(e);case"Wallet":let s="";return 0==e?s="#000":e<0?s="#900":e>0&&(s="#090"),this.NumFor(e,2);case"NumTarCre":return"****-****-****-"+e.substr(-4);case"CodTarCre":return"**"+e.substr(-1);case"Geocerca":let a=/\)\!\(/gi,l=/\(/gi,d=/\)/gi,f=e.replace(" ","");f=f.replace(a,"|"),f=f.replace(l,""),f=f.replace(d,"")}}BusDesCamQry(e){}ColEstSer(e){switch(e){case"Nuevo":return"#60d49b";case"Asignado":return"#29a5dc";case"En Proceso":return"#32cf32";case"Entregado":return"#f29b13";case"Completado":return"#8832cf";case"Cancelado":return"#cf5132"}}ColEstRep(e){return"Desconectado"===e?"#666666":"#34e916"}ColEstTra(e){switch(e){case"Nueva":return"#60d49b";case"Aceptada":return"#29a5dc";case"Rechazada":return"#cf5132"}}ColEstVia(e){switch(e){case"Pendiente":case"Devuelto":return"#e99047";case"Nuevo":return"#60d49b";case"Aceptado":return"#29a5dc";case"Preparado":return"#291f55";case"Cerca":return"#32cf32";case"Iniciado":case"En Devolucion":return"#f29b13";case"Finalizado":case"Calificado Repartidor":case"Calificado Vendedor":case"En Centro":return"#8832cf";case"Cancelado Cliente":case"Cancelado Vendedor":case"Cancelado Repartidor":return"#cf5132";case"Terminado":return"#32ad32"}}ColPun(e){return e<50?"#cf5132":e<75?"#c6cf32":"#32cf32"}ColSal(e){return e<1?"#cf5132":"#32cf32"}ColMon(e){return e<0?"#f29b13":"#32cf32"}ColEstPag(e){switch(e){case"Nuevo":return"#1be5d9";case"Aceptado":return"#17e22b";case"Rechazado":return"#e02219"}}EnvMsgSim(e,i){var r;switch(i){case"Normal":default:r="snackbar-azuloscuro";break;case"Informacion":r="snackbar-azulclaro";break;case"Advertencia":r="snackbar-amarilloclaro";break;case"Peligro":r="snackbar-rojoclaro";break;case"Hecho":r="snackbar-verdeclaro"}this.snackBar.open(e,"",{duration:3e3,panelClass:[r]})}GenCodAle(e){let i="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",r="";for(let o=0;o<e;o++)r+=i.charAt(Math.floor(Math.random()*i.length));return r}MosMsgToa(e){alert(e)}NumFor(e,i){let r=e;if(e+="",e=parseFloat(e.replace(/[^0-9\.]/g,"")),i=i||0,isNaN(e)||0===e)return 0==i?"0":"0,"+"0".repeat(i);for(var o=(e=""+e.toFixed(i)).split("."),s=/(\d+)(\d{3})/;s.test(o[0]);)o[0]=o[0].replace(s,"$1.$2");return r>0?o.join(","):"-"+o.join(",")}ForFec(e){var i=e.split("-");return i[2]+"-"+i[1]+"-"+i[0]}ForFecHor(e){var i=e.split(" "),r=i[0].split("-");return r[2]+"-"+r[1]+"-"+r[0]+" "+i[1]}ForFecHorPeq(e){var i=e.split(" "),r=i[0].split("-"),o=i[1].split(":");return r[2]+"-"+r[1]+"-"+r[0].substr(-2)+" "+o[0]+":"+o[1]}ForFecHorFer(e){var i=e.split("-");return i[2]+"-"+i[1]}ForFecHorID(e){var r=e.split(" ")[0].split("-");return r[0]+""+r[1]+r[2]}CalDisEntCooMts(e,i,r,o){function s(b){return b*Math.PI/180}var l=s(r-e),d=s(o-i),f=Math.sin(l/2)*Math.sin(l/2)+Math.cos(s(e))*Math.cos(s(r))*Math.sin(d/2)*Math.sin(d/2);return(2*Math.atan2(Math.sqrt(f),Math.sqrt(1-f))*6378137).toFixed(0)}CobTarDeb(e,i,r){r({data:{Res:"Si",ResDes:"Aprobado",Mon:e.MONTO,Ref:"87526554"}},i)}CobTarCre(e,i,r){r({data:{Res:"Si",ResDes:"Aprobado",Mon:e.MONTO,Ref:"25412554"}},i)}exportAsExcelFile(e,i){const s=Wv({Sheets:{data:que_json_to_sheet(e)},SheetNames:["data"]},{bookType:"xlsx",type:"array"});this.saveAsExcelFile(s,i)}saveAsExcelFile(e,i){const r=new Blob([e],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8"});iee.saveAs(r,i+"_export_"+(new Date).getTime()+".xlsx")}EnvRecCli(e,i){var r=this;return ra(function*(){let a="nrv="+e+"&emades="+i,d={headers:new ur({"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"})},f=r.apiurl+"envreccli.php";yield r.http.post(f,a,d).toPromise(),"success"==r.dataRes.estatus&&r.EnvMsgSim("Por favor verifique su bandeja de correo","Informacion")})()}EnvEmaAdmAjuBil(e){var i=this;return ra(function*(){let o="des="+e,a={headers:new ur({"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"})},l=i.apiurl+"envemaadmajubil.php";yield i.http.post(l,o,a).toPromise(),"success"==i.dataRes.estatus&&i.EnvMsgSim("Por favor verifique su bandeja de correo","Informacion")})()}ProPagTar(e,i,r){r({Res:"success",IDT:"000000",OV:"123456"},i)}CalTarVia(e,i,r,o,s,a){var l=this;return ra(function*(){let b="CLL="+e+"&OLL="+i+"&DLL="+r+"&DV="+o,y={headers:new ur({"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"})},T=l.apiurl+"caltar.php";yield l.http.post(T,b,y).toPromise(),"success"==l.dataRes.estatus&&a(l.dataRes,s)})()}OlvCla(e){var i=this;return ra(function*(){let r=e,o="ema="+r,a={headers:new ur({"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"})},l=i.apiurl+"reccla.php";yield i.http.post(l,o,a).toPromise(),"success"==i.dataRes.estatus?i.EnvMsgSim("Por favor verifique la bandeja de entrada de "+r,"Hecho"):i.EnvMsgSim("El Email "+r+" no esta registrado en la base de datos","Advertencia")})()}RecCon(e,i){var r=this;return ra(function*(){let a="ema="+e+"&cod="+i,d={headers:new ur({"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"})},f=r.apiurl+"reccon.php";yield r.http.post(f,a,d).toPromise(),"success"==r.dataRes.estatus?r.EnvMsgSim("C\xf3digo de recuperacion enviado","Hecho"):r.EnvMsgSim("Error al enviar el correo","Advertencia")})()}EnvEmaPed(e,i){var r=this;return ra(function*(){let o="ema="+e+"&nrp="+i,a={headers:new ur({"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"})},l=r.ApiUrl+"api/envdetped.php";return yield r.http.post(l,o,a).toPromise()})()}EnvLinPed(e,i){var r=this;return ra(function*(){let a="nru="+e+"&nrp="+i,d={headers:new ur({"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"})},f=r.apiurl+"envlinped.php";yield r.http.post(f,a,d).toPromise(),"success"==r.dataRes.estatus&&r.EnvMsgSim("El Comprador fue nofiticado a su email","Informacion")})()}GenCod4Dig(){var e=9*Math.random(),i=9*Math.random(),r=9*Math.random(),o=9*Math.random();return(e=Math.floor(e))+" "+(i=Math.floor(i))+" "+(r=Math.floor(r))+" "+Math.floor(o)}GenCod6Dig(){var e=9*Math.random(),i=9*Math.random(),r=9*Math.random(),o=9*Math.random(),s=9*Math.random(),a=9*Math.random();return(e=Math.floor(e))+""+(i=Math.floor(i))+(r=Math.floor(r))+"-"+(o=Math.floor(o))+(s=Math.floor(s))+Math.floor(a)}SubB64Img(e,i,r,o,s){var a=this;return ra(function*(){let f="img="+e+"&nom="+i,g={headers:new ur({"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"})},b=a.apiimg+r+"/uploadimgb64.php",M=yield a.http.post(b,f,g).toPromise();"success"==M.estatus?s(M,o):a.EnvMsgSim("No hay conexion de datos! Por favor revise su configuracion","Peligro")})()}CalMinEnt2Fec(e,i){var l,d,M,y,T;return y=(M=e.split(" "))[0].split("-"),T=M[1].split(":"),l=new Date(y[0],y[1],y[2],T[0],T[1],T[2]).getTime(),y=(M=i.split(" "))[0].split("-"),T=M[1].split(":"),d=l-new Date(y[0],y[1],y[2],T[0],T[1],T[2]).getTime(),Math.floor(d/6e4)}ValCam(e,i,r,o,s){var a=document.getElementById(e);if("Si"==s&&(""===o||null===o))return this.EnvMsgSim("El campo "+i+" es requerido","Advertencia"),a.style.backgroundColor="#fff3cd",!1;switch(a.style.backgroundColor="#fff",r){case"Texto":default:return a.style.backgroundColor="#fff",!0;case"Cedula":return/^[A-Za-z]*[0-9]/.test(o)?(a.style.backgroundColor="#fff",!0):(this.EnvMsgSim("El campo "+i+" debe ser una c\xe9dula v\xe1lida","Advertencia"),a.style.backgroundColor="#fff3cd",!1);case"Telefono":return/^([0-9]){7,14}$/.test(o)?(a.style.backgroundColor="#fff",!0):(this.EnvMsgSim("El campo "+i+" debe ser un tel\xe9fono v\xe1lido","Advertencia"),a.style.backgroundColor="#fff3cd",!1);case"Email":return/^[A-Za-z0-9_.]*@[A-Za-z0-9_]+\.[A-Za-z0-9_.]+[A-za-z]$/.test(o)?(a.style.backgroundColor="#fff",!0):(this.EnvMsgSim("El campo "+i+" debe ser un email v\xe1lido","Advertencia"),a.style.backgroundColor="#fff3cd",!1);case"SolLet":return/^[A-Za-z]/.test(o)?(a.style.backgroundColor="#fff",!0):(this.EnvMsgSim("El campo "+i+" debe ser solo letras","Advertencia"),a.style.backgroundColor="#fff3cd",!1);case"SolNum":return isNaN(o)?(this.EnvMsgSim("El campo "+i+" debe ser solo n\xfameros","Advertencia"),a.style.backgroundColor="#fff3cd",!1):(a.style.backgroundColor="#fff",!0);case"Entero":return isNaN(parseInt(o))?(this.EnvMsgSim("El campo "+i+" debe ser un n\xfamero entero v\xe1lido","Advertencia"),a.style.backgroundColor="#fff3cd",!1):(a.style.backgroundColor="#fff",!0);case"Numero":case"Decimal":return isNaN(parseFloat(o))?(this.EnvMsgSim("El campo "+i+" debe ser un n\xfamero decimal v\xe1lido","Advertencia"),a.style.backgroundColor="#fff3cd",!1):(a.style.backgroundColor="#fff",!0);case"Porcentaje":return isNaN(parseFloat(o))?(this.EnvMsgSim("El campo "+i+" debe ser un Porcentaje v\xe1lido","Advertencia"),!1):parseFloat(o)>-1&&parseFloat(o)<101||(this.EnvMsgSim("El campo "+i+" debe ser un Porcentaje v\xe1lido","Advertencia"),!1);case"NumTarCre":return/^([0-9]){16}$/.test(o)?(a.style.backgroundColor="#fff",!0):(this.EnvMsgSim("El campo "+i+" debe ser un numero de tarjeta v\xe1lido","Advertencia"),a.style.backgroundColor="#fff3cd",!1);case"VenTarCre":return/^([0-9]{2})\/([0-9]{2})$/.test(o)?(a.style.backgroundColor="#fff",!0):(this.EnvMsgSim("El campo "+i+" debe ser una fecha de vencimiento v\xe1lida MM/AA","Advertencia"),a.style.backgroundColor="#fff3cd",!1);case"CodTarCre":return/^([0-9]){3}$/.test(o)?(a.style.backgroundColor="#fff",!0):(this.EnvMsgSim("El campo "+i+" debe ser un c\xf3digo de seguridad v\xe1lido","Advertencia"),a.style.backgroundColor="#fff3cd",!1)}}}return t.\u0275fac=function(e){return new(e||t)(me(uv),me(Fpe))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})();let P5=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return t.\u0275fac=function(e){return new(e||t)(V(No),V(Gt))},t.\u0275dir=je({type:t}),t})(),vu=(()=>{class t extends P5{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=wi(t)))(i||t)}}(),t.\u0275dir=je({type:t,features:[Qt]}),t})();const rs=new $e("NgValueAccessor"),Lpe={provide:rs,useExisting:dn(()=>Si),multi:!0},Bpe=new $e("CompositionEventMode");let Si=(()=>{class t extends P5{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Ppe(){const t=Pl()?Pl().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_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)}}return t.\u0275fac=function(e){return new(e||t)(V(No),V(Gt),V(Bpe,8))},t.\u0275dir=je({type:t,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(e,i){1&e&&R("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[En([Lpe]),Qt]}),t})();const Vpe=!1,eo=new $e("NgValidators"),Zc=new $e("NgAsyncValidators");function q5(t){return null!=t}function X5(t){const n=ym(t)?Bi(t):t;if(Vpe&&!hC(n)){let e="Expected async validator to return Promise or Observable.";throw"object"==typeof t&&(e+=" Are you using a synchronous validator where an async validator is expected?"),new Re(-1101,e)}return n}function Q5(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function J5(t,n){return n.map(e=>e(t))}function Z5(t){return t.map(n=>function Gpe(t){return!t.validate}(n)?n:e=>n.validate(e))}function X2(t){return null!=t?function K5(t){if(!t)return null;const n=t.filter(q5);return 0==n.length?null:function(e){return Q5(J5(e,n))}}(Z5(t)):null}function eB(t){if(!t)return null;const n=t.filter(q5);return 0==n.length?null:function(e){return function L5(...t){const n=sf(t),{args:e,keys:i}=GO(t),r=new kn(o=>{const{length:s}=e;if(!s)return void o.complete();const a=new Array(s);let l=s,d=s;for(let f=0;f<s;f++){let m=!1;si(e[f]).subscribe(Pn(o,g=>{m||(m=!0,d--),a[f]=g},()=>l--,void 0,()=>{(!l||!m)&&(d||o.next(i?jO(i,a):a),o.complete())}))}});return n?r.pipe(kx(n)):r}(J5(e,n).map(X5)).pipe(xt(Q5))}}function Q2(t){return null!=t?eB(Z5(t)):null}function tB(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function J2(t){return t?Array.isArray(t)?t:[t]:[]}function pb(t,n){return Array.isArray(t)?t.includes(n):t===n}function rB(t,n){const e=J2(n);return J2(t).forEach(r=>{pb(e,r)||e.push(r)}),e}function oB(t,n){return J2(n).filter(e=>!pb(t,e))}class sB{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(n){this._rawValidators=n||[],this._composedValidatorFn=X2(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Q2(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class Uo extends sB{get formDirective(){return null}get path(){return null}}class Kc extends sB{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class aB{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Ii=(()=>{class t extends aB{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(V(Kc,2))},t.\u0275dir=je({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&Nt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[Qt]}),t})();const Qg="VALID",gb="INVALID",Wh="PENDING",Jg="DISABLED";function _b(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class uB{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Qg}get invalid(){return this.status===gb}get pending(){return this.status==Wh}get disabled(){return this.status===Jg}get enabled(){return this.status!==Jg}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(rB(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(rB(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(oB(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(oB(n,this._rawAsyncValidators))}hasValidator(n){return pb(this._rawValidators,n)}hasAsyncValidator(n){return pb(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Wh,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Jg,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Qg,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Qg||this.status===Wh)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Jg:Qg}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Wh,this._hasOwnPendingAsyncValidator=!0;const e=X5(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new ht,this.statusChanges=new ht}_calculateStatus(){return this._allControlsDisabled()?Jg:this.errors?gb:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Wh)?Wh:this._anyControlsHaveStatus(gb)?gb:Qg}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){_b(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function Xpe(t){return Array.isArray(t)?X2(t):t||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function Qpe(t){return Array.isArray(t)?Q2(t):t||null}(this._rawAsyncValidators)}}const zh=new $e("CallSetDisabledState",{providedIn:"root",factory:()=>vb}),vb="always";function Zg(t,n,e=vb){(function rw(t,n){const e=function nB(t){return t._rawValidators}(t);null!==n.validator?t.setValidators(tB(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=function iB(t){return t._rawAsyncValidators}(t);null!==n.asyncValidator?t.setAsyncValidators(tB(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const r=()=>t.updateValueAndValidity();yb(n._rawValidators,r),yb(n._rawAsyncValidators,r)})(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||"always"===e)&&n.valueAccessor.setDisabledState?.(t.disabled),function Kpe(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&fB(t,n)})}(t,n),function tme(t,n){const e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function eme(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&fB(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function Zpe(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function yb(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function fB(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function mB(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function gB(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const _B=class extends uB{constructor(n=null,e,i){super(function tw(t){return(_b(t)?t.validators:t)||null}(e),function nw(t,n){return(_b(n)?n.asyncValidators:t)||null}(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),_b(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=gB(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){mB(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){mB(this._onDisabledChange,n)}_forEachChild(n){}_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(n){gB(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},cme={provide:Kc,useExisting:dn(()=>ki)},DB=(()=>Promise.resolve())();let ki=(()=>{class t extends Kc{constructor(e,i,r,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new _B,this._registered=!1,this.update=new ht,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function aw(t,n){if(!n)return null;let e,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===Si?e=o:function rme(t){return Object.getPrototypeOf(t.constructor)===vu}(o)?i=o:r=o}),r||i||e||null}(0,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),function sw(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}(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(){Zg(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()}_updateValue(e){DB.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=0!==i&&function ah(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}(i);DB.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?function bb(t,n){return[...n.path,t]}(e,this._parent):[e]}}return t.\u0275fac=function(e){return new(e||t)(V(Uo,9),V(eo,10),V(Zc,10),V(rs,10),V(ar,8),V(zh,8))},t.\u0275dir=je({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[En([cme]),Qt,ti]}),t})();const ume={provide:rs,useExisting:dn(()=>Ql),multi:!0};let Ql=(()=>{class t extends vu{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=i=>{e(""==i?null:parseFloat(i))}}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=wi(t)))(i||t)}}(),t.\u0275dir=je({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,i){1&e&&R("input",function(o){return i.onChange(o.target.value)})("blur",function(){return i.onTouched()})},features:[En([ume]),Qt]}),t})(),yB=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({}),t})();const Dme={provide:rs,useExisting:dn(()=>Hr),multi:!0};function SB(t,n){return null==t?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${t}: ${n}`.slice(0,50))}let Hr=(()=>{class t extends vu{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 r=SB(this._getOptionId(e),e);this.setProperty("value",r)}registerOnChange(e){this.onChange=i=>{this.value=this._getOptionValue(i),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const i of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(i),e))return i;return null}_getOptionValue(e){const i=function yme(t){return t.split(":")[0]}(e);return this._optionMap.has(i)?this._optionMap.get(i):e}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=wi(t)))(i||t)}}(),t.\u0275dir=je({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,i){1&e&&R("change",function(o){return i.onChange(o.target.value)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},features:[En([Dme]),Qt]}),t})(),Do=(()=>{class t{constructor(e,i,r){this._element=e,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(SB(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))}}return t.\u0275fac=function(e){return new(e||t)(V(Gt),V(No),V(Hr,9))},t.\u0275dir=je({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const Mme={provide:rs,useExisting:dn(()=>fw),multi:!0};function kB(t,n){return null==t?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${t}: ${n}`.slice(0,50))}let fw=(()=>{class t extends vu{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let i;if(this.value=e,Array.isArray(e)){const r=e.map(o=>this._getOptionId(o));i=(o,s)=>{o._setSelected(r.indexOf(s.toString())>-1)}}else i=(r,o)=>{r._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(e){this.onChange=i=>{const r=[],o=i.selectedOptions;if(void 0!==o){const s=o;for(let a=0;a<s.length;a++){const d=this._getOptionValue(s[a].value);r.push(d)}}else{const s=i.options;for(let a=0;a<s.length;a++){const l=s[a];if(l.selected){const d=this._getOptionValue(l.value);r.push(d)}}}this.value=r,e(r)}}_registerOption(e){const i=(this._idCounter++).toString();return this._optionMap.set(i,e),i}_getOptionId(e){for(const i of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(i)._value,e))return i;return null}_getOptionValue(e){const i=function Cme(t){return t.split(":")[0]}(e);return this._optionMap.has(i)?this._optionMap.get(i)._value:e}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=wi(t)))(i||t)}}(),t.\u0275dir=je({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,i){1&e&&R("change",function(o){return i.onChange(o.target)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},features:[En([Mme]),Qt]}),t})(),yo=(()=>{class t{constructor(e,i,r){this._element=e,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(kB(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(kB(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))}}return t.\u0275fac=function(e){return new(e||t)(V(Gt),V(No),V(fw,9))},t.\u0275dir=je({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})(),Fme=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[yB]}),t})(),Ome=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:zh,useValue:e.callSetDisabledState??vb}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[Fme]}),t})(),Ime=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.email="",this.passw="",this.token=""}ngOnInit(){this.token=window.localStorage.getItem("token"),""!=this.token&&null!=this.token&&null!=this.token&&this.Login()}Login(){""!=this.email&&""!=this.passw||""!=this.token?(""==this.token&&(this.servicios.VPB=50),this.servicios.AccSobBD("LOGINADM","Si","",this.email+","+this.passw+","+this.token,"","","","","","Login",this,function(e,i){if(console.log(e),e.data.length>0)switch(e.data[0].Estatus){case"Activo":window.localStorage.setItem("token",e.data[0].Token),i.servicios.setUsuMat(e.data[0]),i.servicios.VPB=100,i.router.navigate(["home"]);break;case"Nuevo":i.servicios.EnvMsgSim("Usuario Nuevo","Advertencia"),i.servicios.VPB=0;break;case"Bloqueado":i.servicios.EnvMsgSim("Usuario Bloqueado","Peligro"),i.servicios.VPB=0}else i.servicios.EnvMsgSim("Usuario y/o contrase\xf1a invalida","Advertencia"),i.servicios.VPB=0})):this.servicios.EnvMsgSim("Por favor complete los campos","Advertencia")}RecCla(){""!=this.email?this.servicios.OlvCla(this.email):this.servicios.EnvMsgSim("Por favor ingrese su email de acceso","Advertencia")}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-login"]],decls:22,vars:2,consts:[[2,"padding","50px"],[2,"margin","0 auto","margin-top","10%","min-width","300px","max-width","500px"],[1,"card","mb-4","box-shadow"],[1,"card-header",2,"background-color","#ff4b41","color","#fff"],[1,"logoBar"],[1,"card-body"],[1,"input-group","mb-3"],[1,"input-group-prepend"],["id","basic-addon1",1,"input-group-text"],["type","text","placeholder","Email","id","Email",1,"form-control",3,"ngModel","ngModelChange"],["id","basic-addon2",1,"input-group-text",2,"min-width","40px"],["type","password","placeholder","Contrase\xf1a","id","Passw",1,"form-control",3,"ngModel","ngModelChange"],[2,"width","100%","text-align","right","cursor","pointer",3,"click"],["type","button",1,"btn","btn-primary",2,"background-color","#ff4b41","color","#fff","border","#ff4b41",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h4"),X(5,"img",4),p(6," Iniciar Sesi\xf3n"),u()(),c(7,"div",5)(8,"div",6)(9,"div",7)(10,"span",8),p(11,"@"),u()(),c(12,"input",9),R("ngModelChange",function(o){return i.email=o}),u()(),c(13,"div",6)(14,"div",7)(15,"span",10),p(16,"*"),u()(),c(17,"input",11),R("ngModelChange",function(o){return i.passw=o}),u()(),c(18,"p",12),R("click",function(){return i.RecCla()}),p(19,"\xbfOlvido su contrase\xf1a?"),u(),c(20,"button",13),R("click",function(){return i.Login()}),p(21,"Iniciar Sesi\xf3n"),u()()()()()),2&e&&(h(12),_("ngModel",i.email),h(5),_("ngModel",i.passw))},dependencies:[Si,Ii,ki]}),t})();const Lme=["determinateSpinner"];function Pme(t,n){if(1&t&&(rm(),c(0,"svg",11),X(1,"circle",12),u()),2&t){const e=D();Ot("viewBox",e._viewBox()),h(1),ws("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),Ot("r",e._circleRadius())}}const Bme=V2(class{constructor(t){this._elementRef=t}},"primary"),Vme=new $e("mat-progress-spinner-default-options",{providedIn:"root",factory:function Hme(){return{diameter:VB}}}),VB=100;let Yt=(()=>{class t extends Bme{constructor(e,i,r){super(e),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=VB,this._noopAnimations="NoopAnimations"===i&&!!r&&!r._forceAnimations,r&&(r.color&&(this.color=this.defaultColor=r.color),r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,$c(e)))}get diameter(){return this._diameter}set diameter(e){this._diameter=$c(e)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=$c(e)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const e=2*this._circleRadius()+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}}return t.\u0275fac=function(e){return new(e||t)(V(Gt),V(Ks,8),V(Vme))},t.\u0275cmp=Oe({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(e,i){if(1&e&&Ht(Lme,5),2&e){let r;lt(r=ct())&&(i._determinateCircle=r.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(e,i){2&e&&(Ot("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===i.mode?i.value:null)("mode",i.mode),ws("width",i.diameter,"px")("height",i.diameter,"px"),Nt("_mat-animation-noopable",i._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===i.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[Qt],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(e,i){if(1&e&&(C(0,Pme,2,8,"ng-template",null,0,co),c(2,"div",1,2),rm(),c(4,"svg",3),X(5,"circle",4),u()(),function w0(){!function Zy(){Xt.lFrame.currentNamespace=null}()}(),c(6,"div",5)(7,"div",6)(8,"div",7),Dm(9,8),u(),c(10,"div",9),Dm(11,8),u(),c(12,"div",10),Dm(13,8),u()()()),2&e){const r=Oo(1);h(4),Ot("viewBox",i._viewBox()),h(1),ws("stroke-dasharray",i._strokeCircumference(),"px")("stroke-dashoffset",i._strokeDashOffset(),"px")("stroke-width",i._circleStrokeWidth(),"%"),Ot("r",i._circleRadius()),h(4),_("ngTemplateOutlet",r),h(2),_("ngTemplateOutlet",r),h(2),_("ngTemplateOutlet",r)}},dependencies:[Ka],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, transparent)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0}),t})(),jme=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[qd,vi]}),t})();const Yme=["map"],Ume=["closeAddExpenseModal"],Wme=["closeAddExpenseModal2"],zme=["IFPM"],$me=["MMP"];function qme(t,n){if(1&t){const e=ae();c(0,"button",61),R("click",function(){return z(e),q(D().RevEstPagPer())}),p(1,"Procesar Pago ML"),u()}}function Xme(t,n){if(1&t&&X(0,"img",66),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotCli,"",rt)}}function Qme(t,n){if(1&t&&(c(0,"table",62)(1,"tr")(2,"td",63),C(3,Xme,1,2,"img",64),u(),c(4,"td",65)(5,"strong"),p(6,"Nombre: "),u(),c(7,"span"),p(8),u()()(),c(9,"tr")(10,"td",65)(11,"strong"),p(12,"Telefono: "),u(),c(13,"span"),p(14),u()()(),c(15,"tr")(16,"td",65)(17,"strong"),p(18,"Email: "),u(),c(19,"span"),p(20),u()()()()),2&t){const e=D();h(3),_("ngIf",e.DetDat.FotCli),h(5),I(e.DetDat.DesCli),h(6),I(e.DetDat.TelCli),h(6),I(e.DetDat.EmaCli)}}function Jme(t,n){if(1&t&&X(0,"img",66),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotCho,"",rt)}}function Zme(t,n){if(1&t&&(c(0,"table",62)(1,"tr")(2,"td",67),C(3,Jme,1,2,"img",64),u(),c(4,"td",65)(5,"strong"),p(6,"Nombre: "),u(),c(7,"span"),p(8),u()()(),c(9,"tr")(10,"td",65)(11,"strong"),p(12,"Telefono: "),u(),c(13,"span"),p(14),u()()(),c(15,"tr")(16,"td",65)(17,"strong"),p(18,"Email: "),u(),c(19,"span"),p(20),u()()()()),2&t){const e=D();h(3),_("ngIf",e.DetDat.FotCho),h(5),I(e.DetDat.DesCho),h(6),I(e.DetDat.TelCho),h(6),I(e.DetDat.EmaCho)}}const Kme=function(t){return{color:t}};function ege(t,n){if(1&t&&(c(0,"table",68)(1,"tr")(2,"td",69)(3,"strong"),p(4,"Origen: "),u(),c(5,"span"),p(6),u()()(),c(7,"tr")(8,"td",69)(9,"strong"),p(10,"Destino: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td",70)(15,"strong"),p(16,"Recorrido: "),u(),c(17,"span"),p(18),u()(),c(19,"td",70)(20,"strong"),p(21,"Precio: "),u(),c(22,"span"),p(23),u()(),c(24,"td",70)(25,"strong"),p(26,"Pago: "),u(),c(27,"span"),p(28),u()()(),c(29,"tr")(30,"td",54)(31,"strong"),p(32,"Solicitado: "),u(),c(33,"span"),p(34),u()(),c(35,"td",54)(36,"strong"),p(37,"Estatus: "),u(),c(38,"span",71),p(39),u()()()()),2&t){const e=D();h(6),I(e.DetDat.OriDes),h(6),I(e.DetDat.DesDes),h(6),Be("",e.servicios.NumFor(e.DetDat.Recorrido,0),"Mts"),h(5),Be("$",e.servicios.NumFor(e.DetDat.Precio,2),""),h(5),I(e.DetDat.EstPag),h(6),I(e.servicios.ForFecHorPeq(e.DetDat.FecHorSol)),h(4),_("ngStyle",ke(8,Kme,e.servicios.ColEstVia(e.DetDat.Estatus))),h(1),I(e.DetDat.Estatus)}}function tge(t,n){1&t&&(c(0,"tr")(1,"td",72),X(2,"mat-spinner",73),u()()),2&t&&(h(2),_("diameter",50))}function nge(t,n){1&t&&(c(0,"tr")(1,"td",74),p(2,"No existen registros"),u()())}function ige(t,n){if(1&t&&(c(0,"tr")(1,"td",75),X(2,"img",76),u(),c(3,"td",65),p(4),u(),c(5,"td",77),p(6),u(),c(7,"td",77),p(8),u(),c(9,"td",77),p(10),u()()),2&t){const e=n.$implicit,i=D();h(2),nn("src","",i.ApiImg,"",i.CarPro,"/",e.FotPro,"",rt),h(2),I(e.NomPro),h(2),I(i.servicios.NumFor(e.Cantidad,0)),h(2),I(i.servicios.NumFor(e.Precio,2)),h(2),I(i.servicios.NumFor(e.TotPro,2))}}function rge(t,n){if(1&t&&(c(0,"table",78)(1,"tr",79)(2,"td",65)(3,"strong"),p(4,"Productos"),u()(),c(5,"td",77)(6,"strong"),p(7,"SubTotal:"),u(),c(8,"span"),X(9,"br"),p(10),u()(),c(11,"td",77)(12,"strong"),p(13),u(),c(14,"span"),X(15,"br"),p(16),u()(),c(17,"td",77)(18,"strong"),p(19,"Total:"),u(),c(20,"span"),X(21,"br"),p(22),u()()(),c(23,"tr",80)(24,"td",65)(25,"strong"),p(26,"Viaje"),u()(),c(27,"td",77)(28,"strong"),p(29,"SubTotal:"),u(),c(30,"span"),X(31,"br"),p(32),u()(),c(33,"td",77)(34,"strong"),p(35),u(),c(36,"span"),X(37,"br"),p(38),u()(),c(39,"td",77)(40,"strong"),p(41,"Total:"),u(),c(42,"span"),X(43,"br"),p(44),u()()(),c(45,"tr",81)(46,"td",82)(47,"strong"),p(48,"Total General:"),u(),c(49,"span"),X(50,"br"),p(51),u()()()()),2&t){const e=D();h(10),Be("$",e.servicios.NumFor(e.SubTot,2),""),h(3),Be("IVA ",e.IVA,"%:"),h(3),Be("$",e.servicios.NumFor(e.IVAMon,2),""),h(6),Be("$",e.servicios.NumFor(e.TotMon,2),""),h(10),Be("$",e.servicios.NumFor(e.DetDat.Precio,2),""),h(3),Be("IVA ",e.IVA,"%:"),h(3),Be("$",e.servicios.NumFor(e.DetDat.IVA,2),""),h(6),Be("$",e.servicios.NumFor(e.DetDat.Total,2),""),h(7),Be("$",e.servicios.NumFor(e.TotGen,2),"")}}function oge(t,n){1&t&&(c(0,"div",83),p(1,"Pago del servicio "),c(2,"div",84)(3,"a",85,86)(5,"strong"),p(6,"\xd7"),u()()()())}function sge(t,n){1&t&&(c(0,"div",83),p(1,"Por favor complete los datos "),c(2,"div",84)(3,"a",85,87)(5,"strong"),p(6,"\xd7"),u()()()())}let age=(()=>{class t{constructor(e,i,r,o){this.router=e,this.routeAct=i,this.sanitizer=r,this.servicios=o,this.CTT="",this.NRegSer="",this.NRegSerID="",this.ApiPPM="",this.OriDes="",this.OriLatLon="",this.DesDes="",this.DesLatLon="",this.PriDes="",this.PriLatLon="",this.SegDes="",this.SegLatLon="",this.TerDes="",this.TerLatLon="",this.CarPro="pro",this.IVA=0,this.SubTot=0,this.IVAMon=0,this.TotMon=0,this.TotGen=0,this.Titular="",this.Numero="",this.CSV="",this.Mes="",this.Ano="",this.QRData="",this.CTT=this.routeAct.snapshot.paramMap.get("NRegSer"),this.CTT=this.CTT.substr(27,this.CTT.length-74),this.NRegSer=this.CTT,this.ApiImg=this.servicios.getApiImg(),this.ApiPPM=this.servicios.getApiPPM()}ngOnInit(){this.CarDatSer()}ngAfterViewLoad(){Mercadopago.setPublishableKey("TEST-ca5126c2-0e23-4f86-9773-cd00f132fcc1")}RevEstPagPer(){this.TimRevPag=setInterval(()=>this.RevEstPag(),3e3)}RevEstPag(){this.MMP.nativeElement.classList.contains("show")?this.servicios.AccSobBD("SELECT","Si","IntPag,RefPag","","","pedidos","WHERE NRegistro="+this.NRegSer,"","","CarVar",this,function(e,i){if(console.log(e.data[0].IntPag),"Rechazado"==e.data[0].IntPag)clearInterval(i.TimRevPag),i.servicios.AccSobBD("UPDATE","No","","","IntPag=|Pendiente|","pedidos","WHERE NRegistro="+i.NRegSer,"","","Upd",i,function(o,s){}),setTimeout(()=>{i.closeAddExpenseModal2.nativeElement.click(),i.TimRevPag=void 0,i.servicios.EnvMsgSim("El pago fue rechazado","Advertencia")},3e3);else if("Aprobado"==e.data[0].IntPag){clearInterval(i.TimRevPag);var r=e.data[0].RefPag;console.log(e.data[0].RefPag),i.servicios.AccSobBD("UPDATE","No","","","EstPag=|Pagado|","pedidos","WHERE NRegistro="+i.NRegSer,"","","Upd",i,function(o,s){s.InsAboBil("Credito",r,s.TotGen,""),s.CarDatSer()}),setTimeout(()=>{i.closeAddExpenseModal2.nativeElement.click(),i.TimRevPag=void 0,i.servicios.EnvMsgSim("El pago fue aprobado","Hecho")},3e3)}}):(console.log("Cerrado"),clearInterval(this.TimRevPag),this.TimRevPag=void 0)}Pagar(){this.servicios.ValCam("Titular","Titular","Texto",this.Titular,"Si")&&this.servicios.ValCam("Numero","Numero","Texto",this.Numero,"Si")&&this.servicios.ValCam("CSV","CSV","Texto",this.CSV,"Si")&&this.servicios.ValCam("Mes","Mes","Texto",this.Mes,"Si")&&this.servicios.ValCam("Ano","Ano","Texto",this.Ano,"Si")&&this.servicios.ProPagTar({Sal:"Hola"},this,function(e,i){"success"==e.Res&&i.servicios.AccSobBD("UPDATE","No","","","EstPag=|Pagado|","pedidos","WHERE NRegistro="+i.DetDat.NRegistro,"","","Upd",i,function(r,o){o.InsAboBil("Credito","159357822456",o.TotGen,"****-****-****-"+o.Numero),o.closeAddExpenseModal.nativeElement.click(),o.servicios.EnvMsgSim("El servicio fue pagado","Informacion"),o.CarDatSer()})})}InsAboBil(e,i,r,o){this.servicios.AccSobBD("INSERT","No","NRegUsu,Transaccion,Descripcion,Monto,FecHor",this.DetDat.NRegCom+",|Abono|,|Abono con tarjeta REF:"+i+"|,"+r+",NOW()","","billetera","","","","Ins",this,function(s,a){a.servicios.AccSobBD("UPDATE","No","","","Saldo=Saldo\xac"+r,"usuarios","WHERE NRegistro="+a.DetDat.NRegCom,"","","Upd",a,function(l,d){})})}CarDatSer(){this.servicios.AccSobBD("SELECT","Si","*,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegCli) DesCli,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegCli) FotCli,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegCli) TelCli,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegCli) EmaCli,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) DesCho,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) FotCho,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) TelCho,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) EmaCho","","","pedidos A","WHERE NRegistro = "+this.NRegSer,"","","CarVar",this,function(e,i){i.DatSer=e.data,i.QRData=i.DatSer[0].IdePed;var r=i.DatSer[0].FecHorSol.split("-");i.NRegSerID=r[0].substr(2,2)+r[1]+i.NRegSer,i.DetDat=i.DatSer[0],i.CarLisPro(i.DatSer[0]),i.servicios.VPB=25,i.showMap(function(o){o.OriDes=o.DetDat.OriDes,o.OriLatLon=o.DetDat.Origen,o.DesDes=o.DetDat.DesDes,o.DesLatLon=o.DetDat.Destino,o.PriDes=o.DetDat.PriDes,o.PriLatLon=o.DetDat.Primera,o.SegDes=o.DetDat.SegDes,o.SegLatLon=o.DetDat.Segunda,o.TerDes=o.DetDat.TerDes,o.TerLatLon=o.DetDat.Tercera,o.MosRutMap(o.DetDat.Origen,o.DetDat.Destino,o.DetDat.Primera,o.DetDat.Segunda,o.DetDat.Tercera),o.ActPosCho()})})}CarLisPro(e){this.servicios.AccSobBD("SELECT","Si","*,(SELECT Nombre FROM productos WHERE NRegistro = A.NRegPro) NomPro,(SELECT Imagen FROM productos WHERE NRegistro = A.NRegPro) FotPro,(Precio*Cantidad) TotPro","","","pedidospro A","WHERE NRegPed = "+e.NRegistro,"ORDER BY NomPro","","CarVar",this,function(i,r){r.LisPro=i.data,r.servicios.VPB=50;for(let o=0;o<r.LisPro.length;o++)r.SubTot=r.SubTot+parseFloat(r.LisPro[o].TotPro);r.servicios.AccSobBD("SELECT","Si","*","","","parametros","","ORDER BY NRegistro","","CarVar",r,function(o,s){s.servicios.VPB=100;for(let a=0;a<o.data.length;a++)if("IVA"==o.data[a].Nombre){s.IVA=parseFloat(o.data[a].Valor),s.IVAMon=s.SubTot*s.IVA/100,s.TotMon=s.SubTot+s.IVAMon,s.TotGen=s.TotMon+parseFloat(s.DetDat.Total);break}})})}showMap(e){const r={center:new google.maps.LatLng(this.servicios.Pais.Lat,this.servicios.Pais.Lon),zoom:13,mapTypeControl:!0,streetViewControl:!1,zoomControl:!0,zoomControlOptions:{position:google.maps.ControlPosition.RIGHT_TOP},fullscreenControl:!0,fullscreenControlOptions:{position:google.maps.ControlPosition.RIGHT_BOTTOM},styles:[]};this.map=new google.maps.Map(this.mapRef.nativeElement,r),e(this)}MosRutMap(e,i,r,o,s){this.DirSer=new google.maps.DirectionsService,this.DirDis=new google.maps.DirectionsRenderer({suppressMarkers:!0,polylineOptions:{strokeColor:"#154c68",strokeOpacity:.7}});var a=[];""!=r&&a.push({location:r,stopover:!0}),""!=o&&a.push({location:o,stopover:!0}),""!=s&&a.push({location:s,stopover:!0});var l=this.DirDis;this.AgrMarRut(e,i,r,o,s),this.DirDis.setMap(this.map),this.DirSer.route({origin:e,destination:i,travelMode:"DRIVING"},function(d,f){"OK"===f&&setTimeout(()=>{l.setDirections(d)},350)})}AgrMarRut(e,i,r,o,s){var l=String(e).split(","),d=new google.maps.LatLng(l[0],l[1]),m=String(i).split(","),g=new google.maps.LatLng(m[0],m[1]);if(""!=r)var M=String(r).split(","),y=new google.maps.LatLng(M[0],M[1]);if(""!=o)var k=String(o).split(","),O=new google.maps.LatLng(k[0],k[1]);if(""!=s)var H=String(s).split(","),U=new google.maps.LatLng(H[0],H[1]);this.infwinOri=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)}),this.infwinDes=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)}),""!=r&&(this.infwinPri=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)})),""!=o&&(this.infwinSeg=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)})),""!=s&&(this.infwinTer=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)})),this.infwinOri.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.OriDes+"</td></tr></table></div>"),this.infwinDes.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#ff4b41; text-align:center; vertical-align:middle;' id='tdDV'></td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.DesDes+"</td></tr></table></div>"),""!=r&&this.infwinPri.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.PriDes+"</td></tr></table></div>"),""!=o&&this.infwinSeg.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.SegDes+"</td></tr></table></div>"),""!=s&&this.infwinTer.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.TerDes+"</td></tr></table></div>");var Q={url:this.ApiImg+"mapa/ori.png",scaledSize:new google.maps.Size(24,24),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(12,12)},W={url:this.ApiImg+"mapa/des.png",scaledSize:new google.maps.Size(24,24),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(12,12)},J={url:this.ApiImg+"mapa/par.png",scaledSize:new google.maps.Size(24,24),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(12,12)};this.IcoOri=new google.maps.Marker({position:d,map:this.map,icon:Q,title:"Origen"}),this.IcoDes=new google.maps.Marker({position:g,map:this.map,icon:W,title:"Destino"}),""!=r&&(this.IcoPri=new google.maps.Marker({position:y,map:this.map,icon:J,title:"Primera parada"})),""!=o&&(this.IcoSeg=new google.maps.Marker({position:O,map:this.map,icon:J,title:"Segunda parada"})),""!=s&&(this.IcoTer=new google.maps.Marker({position:U,map:this.map,icon:J,title:"Tercera parada"}))}ActPosCho(){this.BusPosCho(),setInterval(()=>{this.BusPosCho()},1e4)}BusPosCho(){this.servicios.AccSobBD("SELECT","Si","UbiAct","","","usuarios","WHERE NRegistro = "+this.DetDat.NRegRep,"","","CarVar",this,function(e,i){var r=e.data[0].UbiAct.split(",");i.addChoMar(r[0],r[1],r[1])})}addChoMar(e,i,r){var o=new google.maps.LatLng(e,i),s={url:"assets/img/icomot.png",scaledSize:new google.maps.Size(36,36),rotation:0,ID:"MarChoVia"};if(this.ChoMar)this.ChoMar.setMap(this.map),this.ChoMar.setPosition(o);else{this.ChoMar=new google.maps.Marker({title:"Repartidor",position:o,map:this.map,optimized:!1,icon:s});var a=new google.maps.OverlayView;a.draw=function(){this.getPanes().markerLayer.id="markerLayer";for(var l=0;l<this.getPanes().markerLayer.children.length;l++)null!=this.getPanes().markerLayer.children[l].g&&(this.getPanes().markerLayer.children[l].id=this.getPanes().markerLayer.children[l].g.ID)},a.setMap(this.map)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Zd),V(L1),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-conser"]],viewQuery:function(e,i){if(1&e&&(Ht(Yme,5),Ht(Ume,5),Ht(Wme,5),Ht(zme,5),Ht($me,5)),2&e){let r;lt(r=ct())&&(i.mapRef=r.first),lt(r=ct())&&(i.closeAddExpenseModal=r.first),lt(r=ct())&&(i.closeAddExpenseModal2=r.first),lt(r=ct())&&(i.IFPM=r.first),lt(r=ct())&&(i.MMP=r.first)}},decls:144,vars:17,consts:[[2,"height","100%","width","100%","border","0px solid #f00"],[1,"topbarser"],[2,"font-size","30px","font-weight","bold"],[1,"logoBarSer"],[2,"float","right","background-color","#fff","padding","5px","border","0px solid #0ff"],[1,"TitModSer"],[2,"width","100%"],[2,"width","80%"],[2,"font-size","18px"],[2,"width","20%","text-align","right"],["data-toggle","modal","data-target",".bd-example-modal-lg2","type","button","class","btn btn-primary","style","background-color:#04579E !important; border-color:#04579E !important;",3,"click",4,"ngIf"],[1,"ConModConSer"],[1,"card-deck","mb-12","text-center",2,"margin","2%"],[1,"card","mb-6","box-shadow"],[1,"card-header"],[1,"my-0","font-weight-normal"],[1,"card-body",2,"text-align","center","padding","0"],["cellpadding","5px","style","width:100%; height:80%; background-color:#fff;",4,"ngIf"],["cellpadding","10px;","style","width:100%; height:100%; background-color:#fff;",4,"ngIf"],["id","map"],["map",""],[1,"card","mb-12","box-shadow"],[1,"card-body",2,"text-align","center","padding","0","overflow","auto"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col",2,"text-align","center"],["scope","col",2,"text-align","left"],["scope","col",2,"text-align","right"],[4,"ngIf"],[4,"ngFor","ngForOf"],["cellpadding","10px;","style","width:100%; height:80%; background-color:#fff;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","80% !important"],[1,"modal-content",2,"height","650px"],["class","TitModSerPag",4,"ngIf"],[1,"container-fluid"],[1,"row",2,"height","600px !important"],[1,"col-md-12",2,"height","100%","padding","0px","border","0px solid #f00"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],["cellpadding","5",2,"width","100%","height","90%","background-color","#f5f5f5"],["colspan","3"],[1,"form-group"],["for","Titular"],[2,"color","#f00"],["type","text","id","Titular",1,"form-control",3,"ngModel","ngModelChange"],["for","Numero"],["type","number","id","Numero",1,"form-control",3,"ngModel","ngModelChange"],["for","CSV"],["type","number","id","CSV","placeholder","Ej: 321",1,"form-control",3,"ngModel","ngModelChange"],["for","Mes"],["type","number","id","Mes","placeholder","Ej: 12",1,"form-control",3,"ngModel","ngModelChange"],["for","Ano"],["type","number","id","Ano","placeholder","Ej: 2020",1,"form-control",3,"ngModel","ngModelChange"],["colspan","3",2,"text-align","center","background-color","#e0e0e0","font-size","20px"],["colspan","3",2,"text-align","center"],["src","assets/img/ace.png","title","Pagar",1,"BotModPie",3,"click"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg2"],["MMP",""],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","75% !important"],[1,"modal-content",2,"max-height","550px"],[1,"row",2,"height","500px !important"],["data-toggle","modal","data-target",".bd-example-modal-lg2","type","button",1,"btn","btn-primary",2,"background-color","#04579E !important","border-color","#04579E !important",3,"click"],["cellpadding","5px",2,"width","100%","height","80%","background-color","#fff"],["rowspan","4",2,"text-align","center","vertical-align","middle"],["style","height:100px; width:100px; border-radius:50%; margin:10px;",3,"src",4,"ngIf"],[2,"text-align","left"],[2,"height","100px","width","100px","border-radius","50%","margin","10px",3,"src"],["rowspan","3",2,"text-align","center","vertical-align","middle"],["cellpadding","10px;",2,"width","100%","height","100%","background-color","#fff"],["colspan","6",2,"text-align","left"],["colspan","2",2,"text-align","center"],[3,"ngStyle"],["colspan","8","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","8","align","center","valign","middle",2,"color","#856404"],[2,"text-align","center"],["alt","",2,"height","100px","width","150px","border-radius","5px",3,"src"],[2,"text-align","right"],["cellpadding","10px;",2,"width","100%","height","80%","background-color","#fff"],[2,"background-color","#d5d5d5"],[2,"background-color","#f0f0f0"],[2,"background-color","#ffffff"],["colspan","4",2,"text-align","right","font-size","20px"],[1,"TitModSerPag"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],["closeAddExpenseModal",""],["closeAddExpenseModal2",""]],template:function(e,i){1&e&&(c(0,"div",0)(1,"div",1)(2,"span",2),X(3,"img",3),p(4,"Click Box"),u(),X(5,"div",4),u(),c(6,"div",5)(7,"table",6)(8,"tr")(9,"td",7),p(10," Consulta del Servicio ID: "),c(11,"span",8),p(12),u()(),c(13,"td",9),C(14,qme,2,0,"button",10),u()()()(),c(15,"div",11)(16,"div",12)(17,"div",13)(18,"div",14)(19,"h4",15),p(20,"Vendedor"),u()(),c(21,"div",16),C(22,Qme,21,4,"table",17),u()(),c(23,"div",13)(24,"div",14)(25,"h4",15),p(26,"Repartidor"),u()(),c(27,"div",16),C(28,Zme,21,4,"table",17),u()()(),c(29,"div",12)(30,"div",13)(31,"div",14)(32,"h4",15),p(33,"Viaje"),u()(),c(34,"div",16),C(35,ege,40,10,"table",18),u()(),c(36,"div",13)(37,"div",14)(38,"h4",15),p(39,"Recorrido en tiempo real"),u()(),c(40,"div",16),X(41,"div",19,20),u()()(),c(43,"div",12)(44,"div",21)(45,"div",14)(46,"h4",15),p(47,"Lista de Productos"),u()(),c(48,"div",22)(49,"table",23)(50,"thead",24)(51,"tr")(52,"th",25),p(53,"Foto"),u(),c(54,"th",26),p(55,"Nombre"),u(),c(56,"th",27),p(57,"Cantidad"),u(),c(58,"th",27),p(59,"Precio"),u(),c(60,"th",27),p(61,"Total"),u()()(),c(62,"tbody"),C(63,tge,3,1,"tr",28),C(64,nge,3,0,"tr",28),C(65,ige,11,7,"tr",29),u()()()()(),c(66,"div",12)(67,"div",21)(68,"div",14)(69,"h4",15),p(70,"Totales"),u()(),c(71,"div",16),C(72,rge,52,9,"table",30),u()()()()(),c(73,"div",31)(74,"div",32)(75,"div",33),C(76,oge,7,0,"div",34),c(77,"div",35)(78,"div",36)(79,"div",37)(80,"div",38)(81,"h3"),p(82,"Tarjeta"),u()(),c(83,"table",39)(84,"tr")(85,"td",40)(86,"div",41)(87,"label",42)(88,"strong"),p(89,"Titular"),c(90,"span",43),p(91,"*"),u()()(),c(92,"input",44),R("ngModelChange",function(o){return i.Titular=o}),u()()()(),c(93,"tr")(94,"td",40)(95,"div",41)(96,"label",45)(97,"strong"),p(98,"Numero"),c(99,"span",43),p(100,"*"),u()()(),c(101,"input",46),R("ngModelChange",function(o){return i.Numero=o}),u()()()(),c(102,"tr")(103,"td")(104,"div",41)(105,"label",47)(106,"strong"),p(107,"CSV"),c(108,"span",43),p(109,"*"),u()()(),c(110,"input",48),R("ngModelChange",function(o){return i.CSV=o}),u()()(),c(111,"td")(112,"div",41)(113,"label",49)(114,"strong"),p(115,"Mes"),c(116,"span",43),p(117,"*"),u()()(),c(118,"input",50),R("ngModelChange",function(o){return i.Mes=o}),u()()(),c(119,"td")(120,"div",41)(121,"label",51)(122,"strong"),p(123,"A\xf1o"),c(124,"span",43),p(125,"*"),u()()(),c(126,"input",52),R("ngModelChange",function(o){return i.Ano=o}),u()()()(),c(127,"tr")(128,"td",53)(129,"strong"),p(130,"Total a Pagar: "),u(),c(131,"span"),p(132),u()()(),c(133,"tr")(134,"td",54)(135,"img",55),R("click",function(){return i.Pagar()}),u()()()()()()()()()(),c(136,"div",56,57)(138,"div",58)(139,"div",59),C(140,sge,7,0,"div",34),c(141,"div",35)(142,"div",60),X(143,"div",37),u()()()()()),2&e&&(h(12),I(i.NRegSerID),h(2),_("ngIf",i.DetDat&&"Pendiente"==i.DetDat.EstPag),h(8),_("ngIf",i.DetDat),h(6),_("ngIf",i.DetDat),h(7),_("ngIf",i.DetDat),h(28),_("ngIf",!i.LisPro),h(1),_("ngIf",i.LisPro&&0==i.LisPro.length),h(1),_("ngForOf",i.LisPro),h(7),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(16),_("ngModel",i.Titular),h(9),_("ngModel",i.Numero),h(9),_("ngModel",i.CSV),h(8),_("ngModel",i.Mes),h(8),_("ngModel",i.Ano),h(6),Be("$",i.servicios.NumFor(i.TotGen,2),""),h(8),_("ngIf",i.DetDat))},dependencies:[Mt,mt,Wt,Si,Ql,Ii,ki,Yt],styles:[".topbarser[_ngcontent-%COMP%]{padding:16px;background-color:#ff4b41;color:#f1f1f1;height:130px}.TitModSer[_ngcontent-%COMP%]{width:100%;min-height:58px;background:#f5f5f5;padding:10px;font-size:20px;font-weight:700;color:#777;box-shadow:0 3px 10px #64646480}.TitModSerPag[_ngcontent-%COMP%]{width:100%;background:#f5f5f5;padding:10px;font-size:20px;font-weight:700;color:#777;box-shadow:0 3px 10px #64646480}.ConModConSer[_ngcontent-%COMP%]{margin:1%;border:0px solid #ff0}#map[_ngcontent-%COMP%]{height:250px}#map[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(3){opacity:0}#map[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] button.gm-ui-hover-effect[_ngcontent-%COMP%]{display:none!important;margin:0!important;padding:0!important}#map[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(4){height:90%!important;background:#ff4b41!important;border:0px solid #f00}.gm-style-iw[_ngcontent-%COMP%]{width:90%!important;top:5px!important;left:5px!important;background-color:#ff4b41;border:0px solid #f00;border-radius:2px 2px 0 0}"]}),t})(),HB=(()=>{class t{constructor(){this._listeners=[]}notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),lge=0;const pw=new $e("CdkAccordion");let cge=(()=>{class t{constructor(){this._stateChanges=new vt,this._openCloseAllActions=new vt,this.id="cdk-accordion-"+lge++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=ul(e)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=je({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[En([{provide:pw,useExisting:t}]),ti]}),t})(),dge=0,uge=(()=>{class t{get expanded(){return this._expanded}set expanded(e){e=ul(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=ul(e)}constructor(e,i,r){this.accordion=e,this._changeDetectorRef=i,this._expansionDispatcher=r,this._openCloseAllSubscription=S.EMPTY,this.closed=new ht,this.opened=new ht,this.destroyed=new ht,this.expandedChange=new ht,this.id="cdk-accordion-child-"+dge++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((o,s)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===s&&this.id!==o&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return t.\u0275fac=function(e){return new(e||t)(V(pw,12),V(ar),V(HB))},t.\u0275dir=je({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[En([{provide:pw,useValue:void 0}])]}),t})(),fge=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({}),t})();const hge=["body"];function pge(t,n){}const mge=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],gge=["mat-expansion-panel-header","*","mat-action-row"];function _ge(t,n){1&t&&X(0,"span",2),2&t&&_("@indicatorRotate",D()._getExpandedState())}const vge=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],bge=["mat-panel-title","mat-panel-description","*"],mw=new $e("MAT_ACCORDION"),GB="225ms cubic-bezier(0.4,0.0,0.2,1)",jB={indicatorRotate:Wg("indicatorRotate",[fl("collapsed, void",Yo({transform:"rotate(0deg)"})),fl("expanded",Yo({transform:"rotate(180deg)"})),Xc("expanded <=> collapsed, void => collapsed",qc(GB))]),bodyExpansion:Wg("bodyExpansion",[fl("collapsed, void",Yo({height:"0px",visibility:"hidden"})),fl("expanded",Yo({height:"*",visibility:"visible"})),Xc("expanded <=> collapsed, void => collapsed",qc(GB))])},YB=new $e("MAT_EXPANSION_PANEL");let Dge=(()=>{class t{constructor(e,i){this._template=e,this._expansionPanel=i}}return t.\u0275fac=function(e){return new(e||t)(V(Zn),V(YB,8))},t.\u0275dir=je({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),yge=0;const UB=new $e("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let WB=(()=>{class t extends uge{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=ul(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}constructor(e,i,r,o,s,a,l){super(e,i,r),this._viewContainerRef=o,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new ht,this.afterCollapse=new ht,this._inputChanges=new vt,this._headerId="mat-expansion-panel-header-"+yge++,this._bodyAnimationDone=new vt,this.accordion=e,this._document=s,this._bodyAnimationDone.pipe(Bh((d,f)=>d.fromState===f.fromState&&d.toState===f.toState)).subscribe(d=>{"void"!==d.fromState&&("expanded"===d.toState?this.afterExpand.emit():"collapsed"===d.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(el(null),zn(()=>this.expanded&&!this._portal),ni(1)).subscribe(()=>{this._portal=new rb(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}}return t.\u0275fac=function(e){return new(e||t)(V(mw,12),V(ar),V(HB),V(es),V(It),V(Ks,8),V(UB,8))},t.\u0275cmp=Oe({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(e,i,r){if(1&e&&pi(r,Dge,5),2&e){let o;lt(o=ct())&&(i._lazyContent=o.first)}},viewQuery:function(e,i){if(1&e&&Ht(hge,5),2&e){let r;lt(r=ct())&&(i._body=r.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,i){2&e&&Nt("mat-expanded",i.expanded)("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-expansion-panel-spacing",i._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[En([{provide:mw,useValue:void 0},{provide:YB,useExisting:t}]),Qt,ti],ngContentSelectors:gge,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,i){1&e&&(Zs(mge),Vi(0),c(1,"div",0,1),R("@bodyExpansion.done",function(o){return i._bodyAnimationDone.next(o)}),c(3,"div",2),Vi(4,1),C(5,pge,0,0,"ng-template",3),u(),Vi(6,2),u()),2&e&&(h(1),_("@bodyExpansion",i._getExpandedState())("id",i.id),Ot("aria-labelledby",i._headerId),h(4),_("cdkPortalOutlet",i._portal))},dependencies:[Yh],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[jB.bodyExpansion]},changeDetection:0}),t})();class Mge{}const Cge=che(Mge);let zB=(()=>{class t extends Cge{constructor(e,i,r,o,s,a,l){super(),this.panel=e,this._element=i,this._focusMonitor=r,this._changeDetectorRef=o,this._animationMode=a,this._parentChangeSubscription=S.EMPTY;const d=e.accordion?e.accordion._stateChanges.pipe(zn(f=>!(!f.hideToggle&&!f.togglePosition))):Ci;this.tabIndex=parseInt(l||"")||0,this._parentChangeSubscription=yd(e.opened,e.closed,d,e._inputChanges.pipe(zn(f=>!!(f.hideToggle||f.disabled||f.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(zn(()=>e._containsFocus())).subscribe(()=>r.focusVia(i,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:Qv(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(V(WB,1),V(Gt),V(Gg),V(ar),V(UB,8),V(Ks,8),yc("tabindex"))},t.\u0275cmp=Oe({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,i){1&e&&R("click",function(){return i._toggle()})("keydown",function(o){return i._keydown(o)}),2&e&&(Ot("id",i.panel._headerId)("tabindex",i.tabIndex)("aria-controls",i._getPanelId())("aria-expanded",i._isExpanded())("aria-disabled",i.panel.disabled),ws("height",i._getHeaderHeight()),Nt("mat-expanded",i._isExpanded())("mat-expansion-toggle-indicator-after","after"===i._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===i._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[Qt],ngContentSelectors:bge,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,i){1&e&&(Zs(vge),c(0,"span",0),Vi(1),Vi(2,1),Vi(3,2),u(),C(4,_ge,1,1,"span",1)),2&e&&(Nt("mat-content-hide-toggle",!i._showToggle()),h(4),_("ngIf",i._showToggle()))},dependencies:[mt],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[jB.indicatorRotate]},changeDetection:0}),t})(),xge=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=je({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),Tge=(()=>{class t extends cge{constructor(){super(...arguments),this._ownHeaders=new ih,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=ul(e)}ngAfterContentInit(){this._headers.changes.pipe(el(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Lfe(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=wi(t)))(i||t)}}(),t.\u0275dir=je({type:t,selectors:[["mat-accordion"]],contentQueries:function(e,i,r){if(1&e&&pi(r,zB,5),2&e){let o;lt(o=ct())&&(i._headers=o)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,i){2&e&&Nt("mat-accordion-multi",i.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[En([{provide:mw,useExisting:t}]),Qt]}),t})(),wge=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[qd,vi,fge,Uh]}),t})(),Ege=0;const Sge=o5(class{}),$B="mat-badge-content";let kge=(()=>{class t extends Sge{get color(){return this._color}set color(e){this._setColor(e),this._color=e}get overlap(){return this._overlap}set overlap(e){this._overlap=ul(e)}get content(){return this._content}set content(e){this._updateRenderedContent(e)}get description(){return this._description}set description(e){this._updateHostAriaDescription(e)}get hidden(){return this._hidden}set hidden(e){this._hidden=ul(e)}constructor(e,i,r,o,s){super(),this._ngZone=e,this._elementRef=i,this._ariaDescriber=r,this._renderer=o,this._animationMode=s,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=Ege++,this._isInitialized=!1}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const e=this._renderer.createElement("span"),i="mat-badge-active";return e.setAttribute("id",`mat-badge-content-${this._id}`),e.setAttribute("aria-hidden","true"),e.classList.add($B),"NoopAnimations"===this._animationMode&&e.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(e),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{e.classList.add(i)})}):e.classList.add(i),e}_updateRenderedContent(e){const i=`${e??""}`.trim();this._isInitialized&&i&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=i),this._content=i}_updateHostAriaDescription(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),e&&this._ariaDescriber.describe(this._elementRef.nativeElement,e),this._description=e}_setColor(e){const i=this._elementRef.nativeElement.classList;i.remove(`mat-badge-${this._color}`),e&&i.add(`mat-badge-${e}`)}_clearExistingBadges(){const e=this._elementRef.nativeElement.querySelectorAll(`:scope > .${$B}`);for(const i of Array.from(e))i!==this._badgeElement&&i.remove()}}return t.\u0275fac=function(e){return new(e||t)(V(St),V(Gt),V(Ofe),V(No),V(Ks,8))},t.\u0275dir=je({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(e,i){2&e&&Nt("mat-badge-overlap",i.overlap)("mat-badge-above",i.isAbove())("mat-badge-below",!i.isAbove())("mat-badge-before",!i.isAfter())("mat-badge-after",i.isAfter())("mat-badge-small","small"===i.size)("mat-badge-medium","medium"===i.size)("mat-badge-large","large"===i.size)("mat-badge-hidden",i.hidden||!i.content)("mat-badge-disabled",i.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[Qt]}),t})(),Age=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[t5,vi,vi]}),t})();const Rge=["PlaNuePed"];function Fge(t,n){if(1&t&&X(0,"img",20),2&t){const e=D();Mn("src","",e.ApiImg,"usu/",e.UsuMat.FotPer,"",rt)}}function Nge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D().VerDash2())}),p(1,"Resumen"),u()}}function Oge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D().VerDashMap())}),p(1,"Mapa"),u()}}function Ige(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D().VerDash())}),p(1,"Gr\xe1ficos"),u()}}function Lge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D().VerDashEmp())}),p(1),u()}if(2&t){const e=D();h(1),I(e.UsuMat.Tipo)}}function Pge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D().VerPedidos())}),p(1,"Pedidos"),u()}}function Bge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D().VerTarifas())}),p(1,"Tarifas"),u()}}function Vge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D().VerImpuestos())}),p(1,"Impuestos"),u()}}function Hge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D().VerNoti())}),p(1,"Notificaciones"),u()}}function Gge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D().VerChoNue())}),p(1,"Nuevos repartidores"),u()}}function jge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D().VerVenNue())}),p(1,"Nuevos vendedores"),u()}}function Yge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D().VerProNue())}),p(1,"Nuevos productos"),u()}}function Uge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D().VerMemEme())}),p(1,"Mensajes Emergentes"),u()}}function Wge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D().VerPara())}),p(1,"Par\xe1metros"),u()}}function zge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D().VerSolVia())}),p(1,"Solicitar viaje"),u()}}function $ge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D().VerViajesEmp())}),p(1,"Viajes"),u()}}function qge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D().VerBilEmp())}),p(1,"Billetera"),u()}}function Xge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D().VerChoEmp())}),p(1,"Repartidores"),u()}}function Qge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D().VerTarjetas())}),p(1,"Tarjetas"),u()}}function Jge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D().VerCuentas())}),p(1,"Cuentas"),u()}}function Zge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D(2).VerMembresia())}),p(1,"Definici\xf3n"),u()}}function Kge(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D(2).VerMemPag())}),p(1,"\xa0\xa0\xa0\xa0\xb7 Pagos"),u()}}function e_e(t,n){if(1&t&&(c(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"h1",12),p(4,"Membres\xedas"),u()()(),C(5,Zge,2,0,"a",13),C(6,Kge,2,0,"a",13),u()),2&t){const e=D();h(5),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo)}}function t_e(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D(2).VerPubA())}),p(1,"Publicidad Superior"),u()}}function n_e(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D(2).VerPubB())}),p(1,"Publicidad Inferior"),u()}}function i_e(t,n){if(1&t&&(c(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"h1",12),p(4,"Publicidad"),u()()(),C(5,t_e,2,0,"a",13),C(6,n_e,2,0,"a",13),u()),2&t){const e=D();h(5),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo)}}function r_e(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D(2).VerProCat())}),p(1,"Categor\xedas"),u()}}function o_e(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D(2).VerProEsp())}),p(1,"Especialidades"),u()}}function s_e(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D(2).VerProDef())}),p(1,"Definici\xf3n"),u()}}function a_e(t,n){if(1&t&&(c(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"h1",12),p(4,"Productos"),u()()(),C(5,r_e,2,0,"a",13),C(6,o_e,2,0,"a",13),C(7,s_e,2,0,"a",13),u()),2&t){const e=D();h(5),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo)}}function l_e(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D(2).VerViaDev())}),p(1,"Pedidos"),u()}}function c_e(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D(2).VerCenDev())}),p(1,"Centros"),u()}}function d_e(t,n){if(1&t&&(c(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"h1",12),p(4,"Devoluciones"),u()()(),C(5,l_e,2,0,"a",13),C(6,c_e,2,0,"a",13),u()),2&t){const e=D();h(5),_("ngIf","Admin"==e.UsuMat.Tipo||"Supervisor"==e.UsuMat.Tipo||"Soporte"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo)}}function u_e(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D(2).VerDefPro())}),p(1,"Definici\xf3n"),u()}}function f_e(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D(2).VerEjePro())}),p(1,"Ejecuci\xf3n"),u()}}function h_e(t,n){if(1&t&&(c(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"h1",12),p(4,"Promociones"),u()()(),C(5,u_e,2,0,"a",13),C(6,f_e,2,0,"a",13),u()),2&t){const e=D();h(5),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo)}}function p_e(t,n){if(1&t){const e=ae();c(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"h1",12),p(4,"Soporte"),u()()(),c(5,"a",15),R("click",function(){return z(e),q(D().VerPQRSRec())}),p(6,"PQRS Recibidos"),u(),c(7,"a",15),R("click",function(){return z(e),q(D().VerPQRSDef())}),p(8,"PQRS Definici\xf3n"),u(),c(9,"a",15),R("click",function(){return z(e),q(D().VerPreFre())}),p(10,"Preguntas frecuentes"),u()()}}function m_e(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D(2).VerAdmin())}),p(1,"Administradores"),u()}}function g_e(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D(2).VerSop())}),p(1,"Soporte"),u()}}function __e(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D(2).VerSup())}),p(1,"Supervisores"),u()}}function v_e(t,n){if(1&t){const e=ae();c(0,"a",15),R("click",function(){return z(e),q(D(2).VerCon())}),p(1,"Contadores"),u()}}function b_e(t,n){if(1&t){const e=ae();c(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"h1",12),p(4,"Usuarios"),u()()(),C(5,m_e,2,0,"a",13),C(6,g_e,2,0,"a",13),C(7,__e,2,0,"a",13),C(8,v_e,2,0,"a",13),c(9,"a",15),R("click",function(){return z(e),q(D().VerCli())}),p(10,"Clientes"),u(),c(11,"a",15),R("click",function(){return z(e),q(D().VerVen())}),p(12,"Vendedores"),u(),c(13,"a",15),R("click",function(){return z(e),q(D().VerCho())}),p(14,"Repartidores"),u()()}if(2&t){const e=D();h(5),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo)}}let D_e=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.HidBagNot=!0,this.LisNot=[],this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){null==this.UsuMat.Nombre||null==this.UsuMat.Nombre||""==this.UsuMat.Nombre?this.router.navigate(["login"]):this.REVNOT||(this.REVNOT=setInterval(()=>this.RevNot(),1e4))}RevNot(){this.servicios.AccSobBD("SELECT","Si","*","","","noti","WHERE NRegUsu="+this.UsuMat.NRegistro+" AND Estatus=|Nueva|","ORDER BY NRegistro","","CarVar",this,function(e,i){if(e.data.length>0){i.LisNot=e.data,i.HidBagNot=!1,i.PlaAle();for(let r=0;r<e.data.length;r++)switch(e.data[r].Accion){case"Pedidos":i.servicios.DatNot.Pedidos.push(e.data[r]);break;case"Membresias":i.servicios.DatNot.Membresias.push(e.data[r]);break;case"Soporte":i.servicios.DatNot.Soporte.push(e.data[r])}i.servicios.AccSobBD("UPDATE","No","","","Estatus=|Vista|","noti","WHERE NRegUsu="+i.UsuMat.NRegistro+" AND Estatus=|Nueva|","","","Upd",i,function(r,o){})}})}TogNav(){"0px"==document.getElementById("mySidenav").style.width?(document.getElementById("mySidenav").style.width="250px",document.getElementById("main").style.marginLeft="250px",document.getElementById("topbar").style.marginLeft="250px"):(document.getElementById("mySidenav").style.width="0",document.getElementById("main").style.marginLeft="0",document.getElementById("topbar").style.marginLeft="0px")}VerDash(){this.servicios.VPB=0,this.router.navigate(["home/graficos"])}VerDashMap(){this.router.navigate(["home/mapa"])}VerDash2(){this.router.navigate(["home/resumen"])}VerDashEmp(){this.router.navigate(["home"])}VerPedidos(){this.servicios.VPB=0,this.router.navigate(["home/pedidos"])}VerViajes(){this.servicios.VPB=0,this.router.navigate(["home/viajes"])}VerViajesPas(){this.servicios.VPB=0,this.router.navigate(["home/viajespas"])}VerViajesEmp(){this.servicios.VPB=0,this.router.navigate(["home/viajesemp"])}VerSolVia(){this.router.navigate(["home/solvia"])}VerBilEmp(){this.servicios.VPB=0,this.router.navigate(["home/bilemp"])}VerTarjetas(){this.servicios.VPB=0,this.router.navigate(["home/tarjetas"])}VerCuentas(){this.servicios.VPB=0,this.router.navigate(["home/cuentas"])}VerChoEmp(){this.servicios.VPB=0,this.router.navigate(["home/choemp"])}VerZonas(){this.servicios.VPB=0,this.router.navigate(["home/zonas"])}VerTarifas(){this.servicios.VPB=0,this.router.navigate(["home/tarifas"])}VerImpuestos(){this.servicios.VPB=0,this.router.navigate(["home/impuestos"])}VerForPag(){this.servicios.VPB=0,this.router.navigate(["home/forpag"])}VerBill(){this.servicios.VPB=0,this.router.navigate(["home/billetera"])}VerSolAbo(){this.router.navigate(["home/solabo"])}VerSolRet(){this.router.navigate(["home/solret"])}VerMembresia(){this.servicios.VPB=0,this.router.navigate(["home/membresias"])}VerMemPag(){this.servicios.VPB=0,this.router.navigate(["home/mempag"])}VerPubA(){this.servicios.VPB=0,this.router.navigate(["home/puba"])}VerPubB(){this.servicios.VPB=0,this.router.navigate(["home/pubb"])}VerRegCho(){this.servicios.VPB=0,this.router.navigate(["home/regcho"])}VerMemEme(){this.servicios.VPB=100,this.router.navigate(["home/mememe"])}VerPara(){this.servicios.VPB=0,this.router.navigate(["home/parametros"])}VerProCat(){this.servicios.VPB=0,this.router.navigate(["home/procat"])}VerProEsp(){this.servicios.VPB=0,this.router.navigate(["home/proesp"])}VerProDef(){this.servicios.VPB=0,this.router.navigate(["home/prodef"])}VerCenDev(){this.servicios.VPB=0,this.router.navigate(["home/cendev"])}VerViaDev(){this.servicios.VPB=0,this.router.navigate(["home/viadev"])}VerDefPro(){this.servicios.VPB=0,this.router.navigate(["home/defpro"])}VerEjePro(){this.servicios.VPB=0,this.router.navigate(["home/ejepro"])}VerPQRSRec(){this.servicios.VPB=0,this.router.navigate(["home/pqrsrec"])}VerPQRSDef(){this.servicios.VPB=0,this.router.navigate(["home/pqrsdef"])}VerPreFre(){this.servicios.VPB=0,this.router.navigate(["home/prefre"])}VerRecTar(){this.servicios.VPB=0,this.router.navigate(["home/rectar"])}VerConsul(){this.servicios.VPB=0,this.router.navigate(["home/consul"])}VerAdmin(){this.servicios.VPB=0,this.router.navigate(["home/manadm"])}VerSop(){this.servicios.VPB=0,this.router.navigate(["home/mansop"])}VerSup(){this.servicios.VPB=0,this.router.navigate(["home/mansup"])}VerCon(){this.servicios.VPB=0,this.router.navigate(["home/mancon"])}VerCli(){this.servicios.VPB=0,this.router.navigate(["home/mancli"])}VerVen(){this.servicios.VPB=0,this.router.navigate(["home/manven"])}VerEmp(){this.servicios.VPB=0,this.router.navigate(["home/manemp"])}VerCho(){this.servicios.VPB=0,this.router.navigate(["home/mancho"])}VerChoNue(){this.servicios.VPB=0,this.router.navigate(["home/manchonue"])}VerVenNue(){this.servicios.VPB=0,this.router.navigate(["home/manvennue"])}VerProNue(){this.servicios.VPB=0,this.router.navigate(["home/manpronue"])}VerNoti(){this.servicios.VPB=0,this.router.navigate(["home/noti"])}VerAyuda(){this.servicios.VPB=0,this.router.navigate(["home/ayuda"])}Salir(){window.localStorage.setItem("token",""),this.router.navigate([""])}VerLogin(){this.servicios.VPB=0,this.router.navigate(["login"])}VerManCliFav(){this.servicios.VPB=0,this.router.navigate(["manclifav"])}VerManCliCon(){this.servicios.VPB=0,this.router.navigate(["manclicon"])}VerManCliSitFav(){this.servicios.VPB=0,this.router.navigate(["manclisitfav"])}VerManCliSitRec(){this.servicios.VPB=0,this.router.navigate(["manclisitrec"])}VerManCliForPag(){this.servicios.VPB=0,this.router.navigate(["mancliforpag"])}VerManCliBil(){this.servicios.VPB=0,this.router.navigate(["manclibil"])}VerManChoVeh(){this.servicios.VPB=0,this.router.navigate(["manchoveh"])}VerManChoBil(){this.servicios.VPB=0,this.router.navigate(["manchobil"])}VerManChoAct(){this.servicios.VPB=0,this.router.navigate(["manchoact"])}VerNot(){for(this.router.navigate(["home/noti"]);this.servicios.DatNot.Pedidos.length>0;)this.servicios.DatNot.Pedidos.pop();for(;this.servicios.DatNot.Membresias.length>0;)this.servicios.DatNot.Membresias.pop();for(;this.servicios.DatNot.Soporte.length>0;)this.servicios.DatNot.Soporte.pop();this.LisNot=[],this.HidBagNot=!0}PlaAle(){this.PlaNuePedRef.nativeElement.play()}StoAle(){this.PlaNuePedRef.nativeElement.pause()}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-home"]],viewQuery:function(e,i){if(1&e&&Ht(Rge,5),2&e){let r;lt(r=ct())&&(i.PlaNuePedRef=r.first)}},decls:71,vars:33,consts:[["id","topbar"],[2,"width","100%"],[2,"width","80%"],[2,"font-size","30px","cursor","pointer",3,"click"],[1,"logoBar"],[2,"text-align","center"],["matBadgeOverlap","true","matBadgeColor","accent",3,"matBadgeHidden","matBadge","click"],["src","assets/img/not.png","title","Ver notificaciones",2,"height","32px","cursor","pointer"],["id","mySidenav",1,"sidenav"],[2,"width","250px","height","101px","overflow","hidden","padding","10px","color","#f9f9f9","border-bottom","0px solid #eee"],["rowspan","1"],["style","height:75px; width:75px; border-radius:50%; margin-right:5px;",3,"src",4,"ngIf"],[1,"H1TM"],[3,"click",4,"ngIf"],[4,"ngIf"],[3,"click"],["id","main"],["id","PlaNuePed"],["PlaNuePed",""],["src","assets/aud/notped.wav","type","audio/wav"],[2,"height","75px","width","75px","border-radius","50%","margin-right","5px",3,"src"]],template:function(e,i){1&e&&(c(0,"div",0)(1,"table",1)(2,"tr")(3,"td",2)(4,"span",3),R("click",function(){return i.TogNav()}),X(5,"img",4),p(6),u()(),c(7,"td",5)(8,"span",6),R("click",function(){return i.VerNot()}),X(9,"img",7),u()()()()(),c(10,"div",8)(11,"div",9)(12,"table")(13,"tr")(14,"td",10),C(15,Fge,1,2,"img",11),u(),c(16,"td")(17,"h5"),p(18),u(),p(19),u()()()(),c(20,"mat-accordion")(21,"mat-expansion-panel")(22,"mat-expansion-panel-header")(23,"mat-panel-title")(24,"h1",12),p(25,"Dashboard"),u()()(),C(26,Nge,2,0,"a",13),C(27,Oge,2,0,"a",13),C(28,Ige,2,0,"a",13),C(29,Lge,2,1,"a",13),u(),c(30,"mat-expansion-panel")(31,"mat-expansion-panel-header")(32,"mat-panel-title")(33,"h1",12),p(34,"Servicios"),u()()(),C(35,Pge,2,0,"a",13),C(36,Bge,2,0,"a",13),C(37,Vge,2,0,"a",13),C(38,Hge,2,0,"a",13),C(39,Gge,2,0,"a",13),C(40,jge,2,0,"a",13),C(41,Yge,2,0,"a",13),C(42,Uge,2,0,"a",13),C(43,Wge,2,0,"a",13),C(44,zge,2,0,"a",13),C(45,$ge,2,0,"a",13),C(46,qge,2,0,"a",13),C(47,Xge,2,0,"a",13),C(48,Qge,2,0,"a",13),C(49,Jge,2,0,"a",13),u(),C(50,e_e,7,2,"mat-expansion-panel",14),C(51,i_e,7,2,"mat-expansion-panel",14),C(52,a_e,8,3,"mat-expansion-panel",14),C(53,d_e,7,2,"mat-expansion-panel",14),C(54,h_e,7,2,"mat-expansion-panel",14),C(55,p_e,11,0,"mat-expansion-panel",14),C(56,b_e,15,4,"mat-expansion-panel",14),c(57,"mat-expansion-panel")(58,"mat-expansion-panel-header")(59,"mat-panel-title")(60,"h1",12),p(61,"Opciones"),u()()(),c(62,"a",15),R("click",function(){return i.VerAyuda()}),p(63,"Ayuda"),u(),c(64,"a",15),R("click",function(){return i.Salir()}),p(65,"Salir"),u()()()(),c(66,"div",16),X(67,"router-outlet"),u(),c(68,"audio",17,18),X(70,"source",19),u()),2&e&&(h(6),Be("Click Box ",i.UsuMat.Tipo,""),h(2),Hi("matBadge",i.LisNot.length),_("matBadgeHidden",i.HidBagNot),h(7),_("ngIf",i.UsuMat.FotPer),h(3),Rt("",i.UsuMat.Nombre," ",i.UsuMat.Apellido,""),h(1),Be(" ",i.UsuMat.Tipo," "),h(7),_("ngIf","Admin"==i.UsuMat.Tipo||"Soporte"==i.UsuMat.Tipo||"Supervisor"==i.UsuMat.Tipo||"Contador"==i.UsuMat.Tipo),h(1),_("ngIf","Admin"==i.UsuMat.Tipo||"Soporte"==i.UsuMat.Tipo||"Supervisor"==i.UsuMat.Tipo||"Contador"==i.UsuMat.Tipo),h(1),_("ngIf","Admin"==i.UsuMat.Tipo||"Soporte"==i.UsuMat.Tipo||"Supervisor"==i.UsuMat.Tipo||"Contador"==i.UsuMat.Tipo),h(1),_("ngIf","Empresa"==i.UsuMat.Tipo||"Vendedor"==i.UsuMat.Tipo),h(6),_("ngIf","Admin"==i.UsuMat.Tipo||"Soporte"==i.UsuMat.Tipo||"Supervisor"==i.UsuMat.Tipo),h(1),_("ngIf","Admin"==i.UsuMat.Tipo),h(1),_("ngIf","Admin"==i.UsuMat.Tipo),h(1),_("ngIf","Admin"==i.UsuMat.Tipo),h(1),_("ngIf","Admin"==i.UsuMat.Tipo),h(1),_("ngIf","Admin"==i.UsuMat.Tipo),h(1),_("ngIf","Admin"==i.UsuMat.Tipo),h(1),_("ngIf","Admin"==i.UsuMat.Tipo),h(1),_("ngIf","Admin"==i.UsuMat.Tipo),h(1),_("ngIf","Vendedor"==i.UsuMat.Tipo),h(1),_("ngIf","Empresa"==i.UsuMat.Tipo||"Vendedor"==i.UsuMat.Tipo),h(1),_("ngIf","Vendedor"==i.UsuMat.Tipo),h(1),_("ngIf","Empresa"==i.UsuMat.Tipo),h(1),_("ngIf","Vendedor"==i.UsuMat.Tipo),h(1),_("ngIf","Vendedor"==i.UsuMat.Tipo),h(1),_("ngIf","Admin"==i.UsuMat.Tipo),h(1),_("ngIf","Admin"==i.UsuMat.Tipo),h(1),_("ngIf","Admin"==i.UsuMat.Tipo||"Supervisor"==i.UsuMat.Tipo||"Soporte"==i.UsuMat.Tipo),h(1),_("ngIf","Admin"==i.UsuMat.Tipo||"Supervisor"==i.UsuMat.Tipo||"Soporte"==i.UsuMat.Tipo),h(1),_("ngIf","Admin"==i.UsuMat.Tipo||"Supervisor"==i.UsuMat.Tipo),h(1),_("ngIf","Admin"==i.UsuMat.Tipo||"Soporte"==i.UsuMat.Tipo),h(1),_("ngIf","Admin"==i.UsuMat.Tipo||"Soporte"==i.UsuMat.Tipo||"Supervisor"==i.UsuMat.Tipo))},dependencies:[mt,Z1,Tge,WB,zB,xge,kge]}),t})();function y_e(t,n){if(1&t&&(c(0,"option",44),p(1),u()),2&t){const e=n.$implicit;Hi("value",e.Nombre),h(1),I(e.Nombre)}}function M_e(t,n){if(1&t){const e=ae();c(0,"div",45),R("click",function(){return z(e),q(D().VerBil())}),c(1,"div",21)(2,"div",22)(3,"h2"),p(4),u(),c(5,"div"),p(6,"Ganancias"),u()(),c(7,"div",23),X(8,"img",46),u()()()}if(2&t){const e=D();h(4),Be("",e.servicios.NumFor(e.TotGan/1e3,2),"K")}}let qB=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.FAD=new Date,this.FecAnt="",this.FecAct=(new Date).toISOString(),this.FecDes=this.FecAct.substr(0,10),this.FecHas=this.FecAct.substr(0,10),this.TotCli=0,this.TotCho=0,this.TotVen=0,this.TotGan=0,this.TotCliAct=0,this.TotChoAct=0,this.TotChoActCon=0,this.TotVia=0,this.TotCur=0,this.TotCan=0,this.TotDev=0,this.TotTer=0,this.TotAbo=0,this.TotRet=0,this.Zona="",this.OJE=[],this.UsuMat=this.servicios.getUsuMat(),"Vendedor"==this.UsuMat.Tipo&&this.router.navigate(["home/dashemp"]),this.DGM="Admin"==this.UsuMat.Tipo?{Nombre:"Pedidos",CamMod:[{Tit:"Cliente",Cmp:"DesCli",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegCli)"},{Tit:"Origen",Cmp:"OriDes",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Destino",Cmp:"DesDes",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Calificaci\xf3n Cliente",Cmp:"PunCalCli",Tip:"Entero",Req:"Si",VD:"",Val:""},{Tit:"Repartidor",Cmp:"DesCho",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0)"},{Tit:"Calificaci\xf3n Repartidor",Cmp:"PunCalCho",Tip:"Entero",Req:"Si",VD:"",Val:""},{Tit:"Recorrido Mts",Cmp:"Recorrido",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Precio $",Cmp:"Precio",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Zona",Cmp:"OriZon",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Promoci\xf3n Cliente $",Cmp:"ProCli",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Promoci\xf3n Repartidor $",Cmp:"ProCho",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Ganancia $",Cmp:"Ganancia",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Solicitado",Cmp:"FecHorSol",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Cancelado",Cmp:"FecHorCan",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Inicio",Cmp:"FecHorIni",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Fin",Cmp:"FecHorFin",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Nuevo",Tex:"Nuevo"},{Val:"Aceptado",Tex:"Aceptado"},{Val:"Cerca",Tex:"Cerca"},{Val:"Iniciado",Tex:"Iniciado"},{Val:"Finalizado",Tex:"Finalizado"},{Val:"Calificado Repartidor",Tex:"Calificado Repartidor"},{Val:"Calificado Cliente",Tex:"Calificado Cliente"},{Val:"Cancelado Cliente",Tex:"Cancelado Cliente"},{Val:"Cancelado Repartidor",Tex:"Cancelado Repartidor"},{Val:"Terminado",Tex:"Terminado"}]}],OpcFil:"Si",CamQry:"*,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegCli) DesCli,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegCli) FotCli,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegCli) TelCli,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegCli) EmaCli,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) DesCho,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) FotCho,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) TelCho,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) EmaCho",Tabla:"pedidos A",Donde:"",Ordena:"ORDER BY NRegistro DESC",TabFor:{Fil:[1,2,3,4,5],Col:[1,2,3]},Carpeta:""}:{Nombre:"Pedidos",CamMod:[{Tit:"Cliente",Cmp:"DesCli",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegCli)"},{Tit:"Origen",Cmp:"OriDes",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Destino",Cmp:"DesDes",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Calificaci\xf3n Cliente",Cmp:"PunCalCli",Tip:"Entero",Req:"Si",VD:"",Val:""},{Tit:"Repartidor",Cmp:"DesCho",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0)"},{Tit:"Calificaci\xf3n Repartidor",Cmp:"PunCalCho",Tip:"Entero",Req:"Si",VD:"",Val:""},{Tit:"Recorrido Mts",Cmp:"Recorrido",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Precio $",Cmp:"Precio",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Solicitado",Cmp:"FecHorSol",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Cancelado",Cmp:"FecHorCan",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Inicio",Cmp:"FecHorIni",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Fin",Cmp:"FecHorFin",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Nuevo",Tex:"Nuevo"},{Val:"Aceptado",Tex:"Aceptado"},{Val:"Cerca",Tex:"Cerca"},{Val:"Iniciado",Tex:"Iniciado"},{Val:"Finalizado",Tex:"Finalizado"},{Val:"Calificado Repartidor",Tex:"Calificado Repartidor"},{Val:"Calificado Cliente",Tex:"Calificado Cliente"},{Val:"Cancelado Cliente",Tex:"Cancelado Cliente"},{Val:"Cancelado Repartidor",Tex:"Cancelado Repartidor"},{Val:"Terminado",Tex:"Terminado"}]}],OpcFil:"Si",CamQry:"*,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegCli) DesCli,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegCli) FotCli,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegCli) TelCli,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegCli) EmaCli,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) DesCho,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) FotCho,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) TelCho,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) EmaCho",Tabla:"pedidos A",Donde:"",Ordena:"ORDER BY NRegistro DESC",TabFor:{Fil:[1,2,3,4,5],Col:[1,2,3]},Carpeta:""},this.DGM2={Nombre:"Repartidores",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Apellido",Cmp:"Apellido",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Telefono",Cmp:"Telefono",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Email",Cmp:"Email",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Password",Cmp:"Password",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Tipo",Cmp:"Tipo",Tip:"Texto",Req:"Si",VD:"Repartidor",Val:"",Blo:"Si"},{Tit:"Billetera",Cmp:"Saldo",Tip:"Wallet",Req:"Si",VD:"0",Val:"",Blo:"Si"},{Tit:"Zona",Cmp:"Zona",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"Nombre,Nombre",Tab:"zonas",Don:"WHERE Estatus = |Activa|",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Bloqueado",Tex:"Bloqueado"}]}],OpcFil:"Si",CamQry:"*",Tabla:"usuarios",Donde:"WHERE Tipo = |Repartidor|",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3],Col:[1,2,3]},Carpeta:""},this.DGM3={Nombre:"Clientes",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Apellido",Cmp:"Apellido",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Telefono",Cmp:"Telefono",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Email",Cmp:"Email",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Password",Cmp:"Password",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Tipo",Cmp:"Tipo",Tip:"Texto",Req:"Si",VD:"Cliente",Val:"",Blo:"Si"},{Tit:"Billetera",Cmp:"Saldo",Tip:"Wallet",Req:"Si",VD:"0",Val:"",Blo:"Si"},{Tit:"Cr\xe9dito",Cmp:"Credito",Tip:"Wallet",Req:"Si",VD:"0",Val:"",Blo:"No"},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Bloqueado",Tex:"Bloqueado"}]}],OpcFil:"Si",CamQry:"*",Tabla:"usuarios",Donde:"WHERE Tipo = |Cliente|",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3],Col:[1,2,3]},Carpeta:""}}ngOnInit(){this.FAD.setMonth(this.FAD.getMonth()-1),this.FecAnt=this.FAD.toISOString(),this.FecDes=this.FecAnt.substr(0,10)}ngAfterViewInit(){this.CarTotCli(),this.CarTotCho(),this.CarTotVen(),this.CarTotGan(),this.CarTotVia(),this.CarTotCur(),this.CarTotCan(),this.CarTotDev(),this.CarTotTer(),this.CarTotCliAct(),this.CarTotChoAct(),this.CarTotChoActCon(),this.CarLisZona(),this.CalTotAbo(),this.CalTotRet(),this.CarVia(),this.CarChoNue(),this.CarCliNue()}VerCli(){this.router.navigate(["home/mancli"])}VerCon(){this.router.navigate(["home/mancho"])}VerEmp(){this.router.navigate(["home/manemp"])}VerVen(){this.router.navigate(["home/manven"])}VerBil(){this.router.navigate(["home/billetera"])}VerVia(e){var i="";switch(e){case"Todos":i="";break;case"Curso":i="Estatus NOT IN (|Terminado|,|Cancelado Cliente|,|Cancelado Vendedor|,|Cancelado Repartidor|,|En Devolucion|,|Devuelto|)";break;case"Cancelados":i="Estatus IN (|Cancelado Cliente|,|Cancelado Vendedor|,|Cancelado Repartidor|)";break;case"Devueltos":i="Estatus IN (|En Devolucion|,|Devuelto|)";break;case"Terminados":i="Estatus = |Terminado|"}window.localStorage.setItem("buscarPedidos",i),this.router.navigate(["home/pedidos"])}VerSolAbo(){this.router.navigate(["home/solabo"])}VerSolRet(){this.router.navigate(["home/solret"])}CarTotCli(){this.servicios.AccSobBD("SELECT","Si","COUNT(*) TotCli","","","usuarios","WHERE Tipo=|Cliente| AND FecHorReg BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.TotCli=e.data[0].TotCli})}CarTotCho(){this.servicios.AccSobBD("SELECT","Si","COUNT(*) TotCho","","","usuarios","WHERE Tipo=|Repartidor| AND FecHorReg BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.TotCho=e.data[0].TotCho})}CarTotVen(){this.servicios.AccSobBD("SELECT","Si","COUNT(*) TotVen","","","usuarios","WHERE Tipo=|Vendedor| AND FecHorReg BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.TotVen=e.data[0].TotVen})}CarTotGan(){this.servicios.AccSobBD("SELECT","Si","SUM(Monto) TotGan","","","mempag","WHERE Estatus = |Aceptado| AND FecHorPro BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.TotGan=e.data[0].TotGan,i.servicios.VPB=100})}CarTotVia(){this.servicios.AccSobBD("SELECT","Si","COUNT(*) TotVia","","","pedidos","WHERE OriZon LIKE |\xb7"+this.Zona+"\xb7| AND FecHorSol BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.TotVia=e.data[0].TotVia})}CarTotCur(){this.servicios.AccSobBD("SELECT","Si","COUNT(*) TotCur","","","pedidos","WHERE OriZon LIKE |\xb7"+this.Zona+"\xb7| AND Estatus NOT IN (|Terminado|,|Cancelado Cliente|,|Cancelado Vendedor|,|Cancelado Repartidor|,|En Devolucion|,|Devuelto|) AND FecHorSol BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.TotCur=e.data[0].TotCur})}CarTotCan(){this.servicios.AccSobBD("SELECT","Si","COUNT(*) TotCan","","","pedidos","WHERE OriZon LIKE |\xb7"+this.Zona+"\xb7| AND Estatus IN (|Cancelado Cliente|,|Cancelado Vendedor|,|Cancelado Repartidor|) AND FecHorSol BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.TotCan=e.data[0].TotCan})}CarTotDev(){this.servicios.AccSobBD("SELECT","Si","COUNT(*) TotDev","","","pedidos","WHERE OriZon LIKE |\xb7"+this.Zona+"\xb7| AND Estatus IN (|En Devolucion|,|Devuelto|) AND FecHorSol BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.TotDev=e.data[0].TotDev})}CarTotTer(){this.servicios.AccSobBD("SELECT","Si","COUNT(*) TotTer","","","pedidos","WHERE OriZon LIKE |\xb7"+this.Zona+"\xb7| AND Estatus = |Terminado| AND FecHorSol BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.TotTer=e.data[0].TotTer})}CalTotAbo(){this.servicios.AccSobBD("SELECT","Si","SUM(Monto) TotAbo","","","billetera","WHERE Transaccion = |Abono| AND FecHor BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.TotAbo=e.data[0].TotAbo})}CalTotRet(){this.servicios.AccSobBD("SELECT","Si","SUM(Monto) TotRet","","","billetera","WHERE Transaccion = |Retiro| AND FecHor BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.TotRet=e.data[0].TotRet})}CarTotCliAct(){this.servicios.AccSobBD("SELECT","Si","COUNT(DISTINCT NRegCli) TotCliAct","","","pedidos","WHERE FecHorSol BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.TotCliAct=e.data[0].TotCliAct})}CarTotChoAct(){this.servicios.AccSobBD("SELECT","Si","COUNT(DISTINCT NRegRep) TotChoAct","","","pedidos","WHERE FecHorSol BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.TotChoAct=e.data[0].TotChoAct})}CarTotChoActCon(){this.servicios.AccSobBD("SELECT","Si","COUNT(DISTINCT NRegRep) TotChoActCon","","","pedidos","WHERE FecHorSol BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY) AND NRegRep IN (SELECT NRegistro FROM usuarios WHERE EstRep=|Conectado|)","","","CarVar",this,function(e,i){i.TotChoActCon=e.data[0].TotChoActCon})}CarLisZona(){this.servicios.AccSobBD("SELECT","Si","*","","","zonas","WHERE NRegistro } 0 AND Estatus = |Activa|","ORDER BY Nombre","","CarVar",this,function(e,i){i.LisZona=e.data})}CarLisExp(){for(;this.OJE.length>0;)this.OJE.pop();let e={};e={Variable:"Cantidad de Clientes",Valor:this.servicios.NumFor(this.TotCli,2),Desde:this.servicios.ForFec(this.FecDes),Hasta:this.servicios.ForFec(this.FecHas),Zona:this.Zona},this.OJE.push(e),e={Variable:"Cantidad de Repartidores",Valor:this.servicios.NumFor(this.TotCho,2),Desde:this.servicios.ForFec(this.FecDes),Hasta:this.servicios.ForFec(this.FecHas),Zona:this.Zona},this.OJE.push(e),e={Variable:"Cantidad de Vendedores",Valor:this.servicios.NumFor(this.TotVen,2),Desde:this.servicios.ForFec(this.FecDes),Hasta:this.servicios.ForFec(this.FecHas),Zona:this.Zona},this.OJE.push(e),"Admin"==this.UsuMat.Tipo&&(e={Variable:"Cantidad de Ganancias",Valor:this.servicios.NumFor(this.TotGan,2),Desde:this.servicios.ForFec(this.FecDes),Hasta:this.servicios.ForFec(this.FecHas),Zona:this.Zona},this.OJE.push(e)),e={Variable:"Pedidos Totales",Valor:this.servicios.NumFor(this.TotVia,0),Desde:this.servicios.ForFec(this.FecDes),Hasta:this.servicios.ForFec(this.FecHas),Zona:this.Zona},this.OJE.push(e),e={Variable:"Pedidos en Curso",Valor:this.servicios.NumFor(this.TotCur,0),Desde:this.servicios.ForFec(this.FecDes),Hasta:this.servicios.ForFec(this.FecHas),Zona:this.Zona},this.OJE.push(e),e={Variable:"Pedidos Cancelados",Valor:this.servicios.NumFor(this.TotCan,0),Desde:this.servicios.ForFec(this.FecDes),Hasta:this.servicios.ForFec(this.FecHas),Zona:this.Zona},this.OJE.push(e),e={Variable:"Pedidos Terminados",Valor:this.servicios.NumFor(this.TotTer,0),Desde:this.servicios.ForFec(this.FecDes),Hasta:this.servicios.ForFec(this.FecHas),Zona:this.Zona},this.OJE.push(e),this.servicios.exportAsExcelFile(this.OJE,"Resumen"),this.CarLisExpVia(),this.CarLisExpCho(),this.CarLisExpCli()}CarCliNue(){this.servicios.AccSobBD("SELECT","Si","*","","","usuarios","WHERE Tipo=|Cliente| AND FecHorReg BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.CliNue=e.data})}CarLisExpCli(){for(;this.OJE.length>0;)this.OJE.pop();for(var e=0;e<this.CliNue.length;e++){let r={};for(var i=0;i<this.DGM3.CamMod.length;i++)r[this.DGM3.CamMod[i].Tit]=this.servicios.ForCamMod(this.CliNue[e][this.DGM3.CamMod[i].Cmp],this.DGM3.CamMod[i]);this.OJE.push(r)}this.servicios.exportAsExcelFile(this.OJE,"Lista de nuevos Clientes")}CarChoNue(){this.servicios.AccSobBD("SELECT","Si","*","","","usuarios","WHERE Tipo=|Repartidor| AND FecHorReg BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.ChoNue=e.data})}CarLisExpCho(){for(;this.OJE.length>0;)this.OJE.pop();for(var e=0;e<this.ChoNue.length;e++){let r={};for(var i=0;i<this.DGM2.CamMod.length;i++)r[this.DGM2.CamMod[i].Tit]=this.servicios.ForCamMod(this.ChoNue[e][this.DGM2.CamMod[i].Cmp],this.DGM2.CamMod[i]);this.OJE.push(r)}this.servicios.exportAsExcelFile(this.OJE,"Lista de nuevos repartidores")}CarVia(){this.servicios.AccSobBD("SELECT","Si","*","","","pedidos","WHERE OriZon LIKE |\xb7"+this.Zona+"\xb7| AND Estatus=|Terminado| AND FecHorSol BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.LisVia=e.data})}CarLisExpVia(){for(;this.OJE.length>0;)this.OJE.pop();for(var e=0;e<this.LisVia.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.LisVia[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}this.servicios.exportAsExcelFile(this.OJE,"Lista de pedidos")}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-dash2"]],decls:144,vars:16,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"PieMod"],["width","100%","cellpadding","5px;"],["width","20%","align","center","valign","middle"],[1,"input-group","mb-3",2,"margin-bottom","0px !important"],[1,"input-group-prepend"],["id","InpDes",1,"input-group-text"],["type","date","aria-label","Sizing example input","aria-describedby","InpDes",1,"form-control",3,"ngModel","ngModelChange"],["id","InpHas",1,"input-group-text"],["type","date","aria-label","Sizing example input","aria-describedby","InpHas",1,"form-control",3,"ngModel","ngModelChange"],["id","Zona","placeholder","Forma de pago",1,"form-control",3,"ngModel","ngModelChange"],["selected","","value",""],[3,"value",4,"ngFor","ngForOf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],[1,"card-deck","mb-2","text-center",2,"margin","2%"],[1,"card","mb-6","box-shadow"],[1,"card-header"],[1,"my-0","font-weight-normal"],[1,"card-body",2,"text-align","center"],["title","Ver Clientes",1,"col-md-5","EstAzu",2,"cursor","pointer",3,"click"],[1,"row"],[1,"col-7",2,"padding","20px"],[1,"col-5",2,"background","rgba(255,255,255,0.3)","position","relative"],["src","assets/img/clientes.png",2,"height","60px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],["title","Ver repartidores",1,"col-md-5","EstAma",2,"cursor","pointer",3,"click"],["src","assets/img/repartidores.png",2,"height","60px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],["title","Ver Vendedores",1,"col-md-5","EstNar",2,"cursor","pointer",3,"click"],["src","assets/img/vendedores.png",2,"height","60px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],["class","col-md-5 EstVer","style","cursor:pointer;","title","Ver billetera",3,"click",4,"ngIf"],["title","Ver todos los viajes",1,"col-md-5","EstAzu",2,"cursor","pointer",3,"click"],["src","assets/img/viajes.png",2,"height","60px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],["title","Ver los viajes en curso",1,"col-md-5","EstAma",2,"cursor","pointer",3,"click"],["src","assets/img/encurso.png",2,"height","60px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],["title","Ver los viajes cancelados",1,"col-md-5","EstRoj",2,"cursor","pointer",3,"click"],["src","assets/img/cancelado.png",2,"height","60px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],["title","Ver los viajes devueltos",1,"col-md-5","EstNar",2,"cursor","pointer",3,"click"],["src","assets/img/devolucion.png",2,"height","60px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],["title","Ver los viajes terminados",1,"col-md-11","EstVer",2,"cursor","pointer",3,"click"],["src","assets/img/terminado.png",2,"height","60px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],[1,"card","mb-12","box-shadow"],["title","Ver Clientes",1,"col-md-4","EstAzu",2,"cursor","pointer",3,"click"],["title","Ver repartidores",1,"col-md-3","EstAma",2,"cursor","pointer",3,"click"],["title","Ver repartidores",1,"col-md-4","EstVer",2,"cursor","pointer",3,"click"],[3,"value"],["title","Ver billetera",1,"col-md-5","EstVer",2,"cursor","pointer",3,"click"],["src","assets/img/dinero.png",2,"height","60px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Dashboard / "),c(2,"span",1),p(3,"Resumen"),u()(),c(4,"div",2)(5,"table",3)(6,"tr")(7,"td",4)(8,"div",5)(9,"div",6)(10,"span",7),p(11,"Desde"),u()(),c(12,"input",8),R("ngModelChange",function(o){return i.FecDes=o}),u()()(),c(13,"td",4)(14,"div",5)(15,"div",6)(16,"span",9),p(17,"Hasta"),u()(),c(18,"input",10),R("ngModelChange",function(o){return i.FecHas=o}),u()()(),c(19,"td",4)(20,"div",5)(21,"select",11),R("ngModelChange",function(o){return i.Zona=o}),c(22,"option",12),p(23,"Todas las Zonas"),u(),C(24,y_e,2,2,"option",13),u()()(),c(25,"td",4)(26,"img",14),R("click",function(){return i.ngAfterViewInit()}),u()()()()(),c(27,"div",15)(28,"div",16)(29,"div",17)(30,"h4",18),p(31,"Estad\xedsticas generales"),u()(),c(32,"div",19)(33,"div",20),R("click",function(){return i.VerCli()}),c(34,"div",21)(35,"div",22)(36,"h2"),p(37),u(),c(38,"div"),p(39,"Nuevos Clientes"),u()(),c(40,"div",23),X(41,"img",24),u()()(),c(42,"div",25),R("click",function(){return i.VerCon()}),c(43,"div",21)(44,"div",22)(45,"h2"),p(46),u(),c(47,"div"),p(48,"Nuevos Repartidores"),u()(),c(49,"div",23),X(50,"img",26),u()()(),c(51,"div",27),R("click",function(){return i.VerVen()}),c(52,"div",21)(53,"div",22)(54,"h2"),p(55),u(),c(56,"div"),p(57,"Nuevas Vendedores"),u()(),c(58,"div",23),X(59,"img",28),u()()(),C(60,M_e,9,1,"div",29),u()(),c(61,"div",16)(62,"div",17)(63,"h4",18),p(64,"Estad\xedsticas de Pedido"),u()(),c(65,"div",19)(66,"div",30),R("click",function(){return i.VerVia("Todos")}),c(67,"div",21)(68,"div",22)(69,"h2"),p(70),u(),c(71,"div"),p(72,"Total"),u()(),c(73,"div",23),X(74,"img",31),u()()(),c(75,"div",32),R("click",function(){return i.VerVia("Curso")}),c(76,"div",21)(77,"div",22)(78,"h2"),p(79),u(),c(80,"div"),p(81,"En curso"),u()(),c(82,"div",23),X(83,"img",33),u()()(),c(84,"div",34),R("click",function(){return i.VerVia("Cancelados")}),c(85,"div",21)(86,"div",22)(87,"h2"),p(88),u(),c(89,"div"),p(90,"Cancelados"),u()(),c(91,"div",23),X(92,"img",35),u()()(),c(93,"div",36),R("click",function(){return i.VerVia("Devueltos")}),c(94,"div",21)(95,"div",22)(96,"h2"),p(97),u(),c(98,"div"),p(99,"Devueltos"),u()(),c(100,"div",23),X(101,"img",37),u()()(),c(102,"div",38),R("click",function(){return i.VerVia("Terminados")}),c(103,"div",21)(104,"div",22)(105,"h2"),p(106),u(),c(107,"div"),p(108,"Terminados"),u()(),c(109,"div",23),X(110,"img",39),u()()()()()(),c(111,"div",15)(112,"div",40)(113,"div",17)(114,"h4",18),p(115,"Usuarios Activos"),u()(),c(116,"div",19)(117,"div",41),R("click",function(){return i.VerCli()}),c(118,"div",21)(119,"div",22)(120,"h2"),p(121),u(),c(122,"div"),p(123,"Clientes"),u()(),c(124,"div",23),X(125,"img",24),u()()(),c(126,"div",42),R("click",function(){return i.VerCon()}),c(127,"div",21)(128,"div",22)(129,"h2"),p(130),u(),c(131,"div"),p(132,"Repartidores"),u()(),c(133,"div",23),X(134,"img",26),u()()(),c(135,"div",43),R("click",function(){return i.VerCon()}),c(136,"div",21)(137,"div",22)(138,"h2"),p(139),u(),c(140,"div"),p(141,"Repartidores Conectados"),u()(),c(142,"div",23),X(143,"img",26),u()()()()()()),2&e&&(h(12),_("ngModel",i.FecDes),h(6),_("ngModel",i.FecHas),h(3),_("ngModel",i.Zona),h(3),_("ngForOf",i.LisZona),h(13),I(i.TotCli),h(9),I(i.TotCho),h(9),I(i.TotVen),h(5),_("ngIf","Admin"==i.UsuMat.Tipo),h(10),I(i.TotVia),h(9),I(i.TotCur),h(9),I(i.TotCan),h(9),I(i.TotDev),h(9),I(i.TotTer),h(15),I(i.TotCliAct),h(9),I(i.TotChoAct),h(9),I(i.TotChoActCon))},dependencies:[Mt,mt,Do,yo,Si,Hr,Ii,ki],styles:[".EstAzu[_ngcontent-%COMP%]{margin:10px;padding:0;background:#49b9e3;color:#fff;border-radius:5px;box-shadow:0 0 5px #00000040;float:left}.EstAma[_ngcontent-%COMP%]{margin:10px;padding:0;background:#efcd67;color:#fff;border-radius:5px;box-shadow:0 0 5px #00000040;float:left}.EstRoj[_ngcontent-%COMP%]{margin:10px;padding:0;background:#d55454;color:#fff;border-radius:5px;box-shadow:0 0 5px #00000040;float:left}.EstNar[_ngcontent-%COMP%]{margin:10px;padding:0;background:#e99047;color:#fff;border-radius:5px;box-shadow:0 0 5px #00000040;float:left}.EstVer[_ngcontent-%COMP%]{margin:10px;padding:0;background:#5bc689;color:#fff;border-radius:5px;box-shadow:0 0 5px #00000040;float:left}"]}),t})();const C_e=["map"];let x_e=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.Zona="",this.CarIni=!1,this.PunGeo=[],this.Tipo="",this.marcadores=[],this.infowin=[],this.DesTra="",this.OriLatLon="",this.OriDes="",this.OriZon="",this.DesLatLon="",this.DesDes="",this.Deszon="",this.PriLatLon="",this.PriDes="",this.PriZon="",this.SegLatLon="",this.SegDes="",this.SegZon="",this.TerLatLon="",this.TerDes="",this.TerZon="",this.VehDis=[],this.Lat="",this.Lon="",this.Ori="",this.FilUsu="",this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){}ngAfterViewInit(){var e=this;return ra(function*(){yield e.showMap(function(i){i.CarVehDis(),i.TimCon||(i.TimCon=setInterval(()=>i.CarVehDis(),5e3))})})()}CarLisZona(){this.servicios.AccSobBD("SELECT","Si","*","","","zonas","WHERE NRegistro } 0 AND Estatus = |Activa|","ORDER BY Nombre","","CarVar",this,function(e,i){i.LisZona=e.data;for(var r=0;r<i.LisZona.length;r++)i.MosGeoMap(i.LisZona[r])})}Mapa(){this.showMap(function(e){})}showMap(e){const r={center:new google.maps.LatLng(this.servicios.Pais.Lat,this.servicios.Pais.Lon),zoom:12,mapTypeControl:!1,streetViewControl:!1,zoomControl:!0,zoomControlOptions:{position:google.maps.ControlPosition.RIGHT_TOP},fullscreenControl:!1,fullscreenControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},styles:[]},o=new google.maps.Map(this.mapRef.nativeElement,r);this.map=o,e(this)}MosGeoMap(e){if(""!=e.Puntos){var i=new google.maps.LatLngBounds,r=e.Puntos.split("!"),o=[];this.PunGeo.length=0;for(var s=0;s<r.length;s++)r[s]=r[s].replace("(",""),r[s]=r[s].replace(")",""),r[s]=r[s].replace(" ",""),o=r[s].split(","),this.PunGeo.push(new google.maps.LatLng(o[0],o[1])),i.extend(new google.maps.LatLng(o[0],o[1]));o=r[0].split(","),this.PunGeo.push(new google.maps.LatLng(o[0],o[1])),this.Geo0=new google.maps.Polygon({paths:this.PunGeo,strokeColor:"#0000ff",strokeOpacity:.7,strokeWeight:3,fillColor:"#aaaaff",fillOpacity:.1,editable:!1}),this.Geo0.setMap(this.map)}else this.creator_geo=new PolygonCreator(this.map)}LimMap(){for(this.limits=new google.maps.LatLngBounds;this.marcadores.length>0;)this.marcadores.pop().setMap(null);for(;this.infowin.length>0;)this.infowin.pop().setMap(null);for(var e=0;e<this.VehDis.length;e++)this.VehDis[e]&&(this.VehDis[e].setMap(null),this.VehDis[e]=void 0);this.DirDis&&this.DirDis.setMap(null),this.DirDisCho&&this.DirDisCho.setMap(null),this.IcoOri&&this.IcoOri.setMap(null),this.IcoDes&&this.IcoDes.setMap(null),this.IcoPri&&this.IcoPri.setMap(null),this.IcoSeg&&this.IcoSeg.setMap(null),this.IcoTer&&this.IcoTer.setMap(null),this.infwinOri&&this.infwinOri.close(),this.infwinDes&&this.infwinDes.close(),document.getElementById("OriPop").style.opacity="0",document.getElementById("DesPop").style.opacity="0",document.getElementById("PriPop").style.opacity="0",document.getElementById("SegPop").style.opacity="0",document.getElementById("TerPop").style.opacity="0",this.map.panTo(new google.maps.LatLng(-33.449182,-70.667628)),this.map.setZoom(12)}MosRutMap(e,i,r,o,s){this.DirSer=new google.maps.DirectionsService,this.DirDis=new google.maps.DirectionsRenderer({suppressMarkers:!0,polylineOptions:{strokeColor:"#154c68",strokeOpacity:.8,strokeWeight:7}});var a=[];""!=r&&a.push({location:r,stopover:!0}),""!=o&&a.push({location:o,stopover:!0}),""!=s&&a.push({location:s,stopover:!0});var l=this.DirDis;this.AgrMarRut(e,i,r,o,s),this.DirDis.setMap(this.map),this.DirSer.route({origin:e,destination:i,waypoints:a,optimizeWaypoints:!0,travelMode:"DRIVING"},function(d,f){if("OK"===f){l.setDirections(d);var m=d.routes[0].legs[0].duration.value;m=(m/=60).toFixed(0),document.getElementById("tdDV").innerHTML=m+"<br>Min"}})}AgrMarRut(e,i,r,o,s){var l=String(e).split(","),d=new google.maps.LatLng(l[0],l[1]),m=String(i).split(","),g=new google.maps.LatLng(m[0],m[1]);if(""!=r)var M=String(r).split(","),y=new google.maps.LatLng(M[0],M[1]);if(""!=o)var k=String(o).split(","),O=new google.maps.LatLng(k[0],k[1]);if(""!=s)var H=String(s).split(","),U=new google.maps.LatLng(H[0],H[1]);this.infwinOri=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)}),this.infwinDes=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)}),""!=r&&(this.infwinPri=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)})),""!=o&&(this.infwinSeg=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)})),""!=s&&(this.infwinTer=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)})),this.infwinOri.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.OriDes+" <spam style='color:#555; font-size:16px; font-weight:bold;'> ></spam></td></tr></table></div>"),this.infwinDes.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#3270dd; text-align:center; vertical-align:middle;' id='tdDVx'></td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.DesDes+" <spam style='color:#555; font-size:16px; font-weight:bold;'> ></spam></td></tr></table></div>"),document.getElementById("OriPop").innerHTML="<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; text-align:center; vertical-align:middle;'>"+this.DesTra.substring(0,50)+"... <spam style='color:#154c68; font-size:16px; font-weight:bold;'></spam></td></tr></table></div>",this.OriPop=this.createPopupClass(),this.oripop=new this.OriPop(d,document.getElementById("OriPop")),this.oripop.setMap(this.map),document.getElementById("DesPop").innerHTML="<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#3270dd; text-align:center; vertical-align:middle;' id='tdDV'></td><td style='padding:3px; text-align:center; vertical-align:middle;'> Para la llegada del Worker <spam style='color:#154c68; font-size:16px; font-weight:bold;'></spam></td></tr></table></div>",this.DesPop=this.createPopupClass(),this.despop=new this.DesPop(g,document.getElementById("DesPop")),this.despop.setMap(this.map),""!=r&&(this.infwinPri.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.PriDes+" <spam style='color:#154c68; font-size:16px; font-weight:bold;'> ></spam></td></tr></table></div>"),document.getElementById("PriPop").innerHTML="<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.PriDes+" <spam style='color:#555; font-size:16px; font-weight:bold;'> ></spam></td></tr></table></div>",document.getElementById("PriPop").style.opacity="1",this.PriPop=this.createPopupClass(),this.pripop=new this.PriPop(y,document.getElementById("PriPop")),this.pripop.setMap(this.map)),""!=o&&(this.infwinSeg.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.SegDes+" <spam style='color:#154c68; font-size:16px; font-weight:bold;'> ></spam></td></tr></table></div>"),document.getElementById("SegPop").innerHTML="<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.SegDes+" <spam style='color:#555; font-size:16px; font-weight:bold;'> ></spam></td></tr></table></div>",document.getElementById("SegPop").style.opacity="1",this.SegPop=this.createPopupClass(),this.segpop=new this.SegPop(O,document.getElementById("SegPop")),this.segpop.setMap(this.map)),""!=s&&(this.infwinTer.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.TerDes+" <spam style='color:#154c68; font-size:16px; font-weight:bold;'> ></spam></td></tr></table></div>"),document.getElementById("TerPop").innerHTML="<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.TerDes+" <spam style='color:#555; font-size:16px; font-weight:bold;'> ></spam></td></tr></table></div>",document.getElementById("TerPop").style.opacity="1",this.TerPop=this.createPopupClass(),this.terpop=new this.TerPop(U,document.getElementById("TerPop")),this.terpop.setMap(this.map));var Q={url:this.ApiImg+"mapa/ori.png",scaledSize:new google.maps.Size(24,24),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(12,12)},W={url:this.ApiImg+"mapa/des.png",scaledSize:new google.maps.Size(24,24),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(12,12)},J={url:this.ApiImg+"mapa/par.png",scaledSize:new google.maps.Size(24,24),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(12,12)};this.IcoOri=new google.maps.Marker({position:d,map:this.map,icon:Q,title:"Origen"}),this.IcoDes=new google.maps.Marker({position:g,map:this.map,icon:W,title:"Destino"}),""!=r&&(this.IcoPri=new google.maps.Marker({position:y,map:this.map,icon:J,title:"Primera parada"})),""!=o&&(this.IcoSeg=new google.maps.Marker({position:O,map:this.map,icon:J,title:"Segunda parada"})),""!=s&&(this.IcoTer=new google.maps.Marker({position:U,map:this.map,icon:J,title:"Tercera parada"}))}createPopupClass(){function e(i,r){this.position=i,r.classList.add("popup-bubble");var o=document.createElement("div");o.appendChild(r),this.containerDiv=document.createElement("div"),this.containerDiv.classList.add("popup-container"),this.containerDiv.appendChild(o),google.maps.OverlayView.preventMapHitsAndGesturesFrom(this.containerDiv)}return(e.prototype=Object.create(google.maps.OverlayView.prototype)).onAdd=function(){this.getPanes().floatPane.appendChild(this.containerDiv)},e.prototype.onRemove=function(){this.containerDiv.parentElement&&this.containerDiv.parentElement.removeChild(this.containerDiv)},e.prototype.draw=function(){var i=this.getProjection().fromLatLngToDivPixel(this.position),r=Math.abs(i.x)<4e3&&Math.abs(i.y)<4e3?"block":"none";"block"===r&&(this.containerDiv.style.left=i.x+"px",this.containerDiv.style.top=i.y+"px"),this.containerDiv.style.display!==r&&(this.containerDiv.style.display=r)},e}CarVehDis(){this.FilUsu="",this.servicios.AccSobBD("SELECT","Si","*","","","usuarios","WHERE Tipo = |Repartidor| "+this.FilUsu,"","","CarVar",this,function(e,i){i.LisVehDis=e.data,i.addVehDis()})}addVehDis(){for(var e=new google.maps.LatLngBounds,i=0;i<this.LisVehDis.length;i++)if(""!=this.LisVehDis[i].UbiAct){var s,r=this.LisVehDis[i].UbiAct.split(","),o=new google.maps.LatLng(r[0],r[1]);if(this.Ori=r[2],e.extend(new google.maps.LatLng(r[0],r[1])),s={url:"assets/img/icomot.png",scaledSize:new google.maps.Size(36,36),rotation:0,ID:"VD"+this.LisVehDis[i].NRegistro},null==this.VehDis[i]){this.VehDis[i]=new google.maps.Marker({id:"VD"+this.LisVehDis[i].NRegistro,title:this.LisVehDis[i].NRegistro,position:o,map:this.map,optimized:!1,icon:s});var a="";a=(a=(a=(a="<div style='margin:5px; padding:5px; border-radius:5px; border-left:solid #fff; border-left-width:5px; border-left-color:"+this.servicios.ColEstRep(this.LisVehDis[i].EstRep)+";'>")+"<strong>Nombre: </strong>"+this.LisVehDis[i].Nombre+" "+this.LisVehDis[i].Apellido+"<br>")+"<strong>Tel\xe9fono: </strong>"+this.LisVehDis[i].Telefono+"<br>")+"<strong>Estado: </strong>"+this.LisVehDis[i].EstRep+"<br>",a+="</div>";const f=new google.maps.InfoWindow({content:a});!function(m){google.maps.event.addListener(m,"click",function(){f.open(this.map,m)})}(this.VehDis[i]);var d=new google.maps.OverlayView;d.draw=function(){this.getPanes().markerLayer.id="markerLayer";for(var m=0;m<this.getPanes().markerLayer.children.length;m++)null!=this.getPanes().markerLayer.children[m].g&&(this.getPanes().markerLayer.children[m].id=this.getPanes().markerLayer.children[m].g.ID)},d.setMap(this.map)}else s={url:"assets/img/icomot.png",scaledSize:new google.maps.Size(36,36),rotation:0,ID:"VD"+this.LisVehDis[i].NRegistro},this.VehDis[i].setIcon(s),this.VehDis[i].setPosition(o)}0==this.LisVehDis.length&&e.extend(new google.maps.LatLng(this.servicios.Pais.Lat,this.servicios.Pais.Lon)),!this.CarIni&&this.LisVehDis.length>0&&(this.CarIni=!0,setTimeout(()=>{this.map.fitBounds(e)},350))}OriMarCho(e,i){null!=document.getElementById(e)&&setTimeout(()=>{document.getElementById(e).style.transform="rotate("+i+"deg)"},100)}EstMarCho(e,i){document.getElementById(e)}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-dashmap"]],viewQuery:function(e,i){if(1&e&&Ht(C_e,5),2&e){let r;lt(r=ct())&&(i.mapRef=r.first)}},decls:25,vars:0,consts:[[1,"TitMod",3,"click"],[2,"font-size","18px"],[1,"ConMod"],["id","map"],["map",""],[1,"PieMod"],["width","100%","cellpadding","5px;"],["width","20%","align","center","valign","middle"],["id","OriPop",2,"background-color","#3270dd","color","#fff","font-size","14px","opacity","0"],["id","PriPop",2,"background-color","#3270dd","color","#fff","font-size","14px","opacity","0"],["id","SegPop",2,"background-color","#3270dd","color","#fff","font-size","14px","opacity","0"],["id","TerPop",2,"background-color","#3270dd","color","#fff","font-size","14px","opacity","0"],["id","DesPop",2,"background-color","#3270dd","color","#fff","font-size","14px","opacity","0"]],template:function(e,i){1&e&&(c(0,"div",0),R("click",function(){return i.Mapa()}),p(1,"Dashboard / "),c(2,"span",1),p(3,"Mapa"),u()(),c(4,"div",2),X(5,"div",3,4),u(),c(7,"div",5)(8,"table",6)(9,"tr"),X(10,"td",7)(11,"td",7)(12,"td",7)(13,"td",7)(14,"td",7),u()()(),c(15,"div",8),p(16,"Pruebas"),u(),c(17,"div",9),p(18,"Pruebas"),u(),c(19,"div",10),p(20,"Pruebas"),u(),c(21,"div",11),p(22,"Pruebas"),u(),c(23,"div",12),p(24,"Pruebas"),u())},styles:['#map[_ngcontent-%COMP%]{height:100%}.popup-bubble[_ngcontent-%COMP%]{position:absolute;top:0;left:0;transform:translate(-50%,-150%);background-color:#fff;padding:5px;border-radius:5px;font-family:sans-serif;overflow-y:auto;max-height:80px;box-shadow:0 2px 10px 1px #00000080}.popup-bubble-anchor[_ngcontent-%COMP%]{position:absolute;width:100%;bottom:8px;left:0}.popup-bubble-anchor[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0;left:0;transform:translate(-50%);width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:8px solid white}.popup-container[_ngcontent-%COMP%]{cursor:auto;height:0;position:absolute;width:200px}']}),t})();function e_(t){return(e_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(t)}function bt(t,n,e){return(n=function w_e(t){var n=function T_e(t,n){if("object"!==e_(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,n||"default");if("object"!==e_(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"===e_(n)?n:String(n)}(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function $h(t){return t+.5|0}const Jl=(t,n,e)=>Math.max(Math.min(t,e),n);function t_(t){return Jl($h(2.55*t),0,255)}function ed(t){return Jl($h(255*t),0,255)}function Zl(t){return Jl($h(t/2.55)/100,0,1)}function XB(t){return Jl($h(100*t),0,100)}const ha={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},gw=[..."0123456789ABCDEF"],E_e=t=>gw[15&t],S_e=t=>gw[(240&t)>>4]+gw[15&t],Cb=t=>(240&t)>>4==(15&t),N_e=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function QB(t,n,e){const i=n*Math.min(e,1-e),r=(o,s=(o+t/30)%12)=>e-i*Math.max(Math.min(s-3,9-s,1),-1);return[r(0),r(8),r(4)]}function O_e(t,n,e){const i=(r,o=(r+t/60)%6)=>e-e*n*Math.max(Math.min(o,4-o,1),0);return[i(5),i(3),i(1)]}function I_e(t,n,e){const i=QB(t,1,.5);let r;for(n+e>1&&(r=1/(n+e),n*=r,e*=r),r=0;r<3;r++)i[r]*=1-n-e,i[r]+=n;return i}function _w(t){const e=t.r/255,i=t.g/255,r=t.b/255,o=Math.max(e,i,r),s=Math.min(e,i,r),a=(o+s)/2;let l,d,f;return o!==s&&(f=o-s,d=a>.5?f/(2-o-s):f/(o+s),l=function L_e(t,n,e,i,r){return t===r?(n-e)/i+(n<e?6:0):n===r?(e-t)/i+2:(t-n)/i+4}(e,i,r,f,o),l=60*l+.5),[0|l,d||0,a]}function vw(t,n,e,i){return(Array.isArray(n)?t(n[0],n[1],n[2]):t(n,e,i)).map(ed)}function bw(t,n,e){return vw(QB,t,n,e)}function JB(t){return(t%360+360)%360}const ZB={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},KB={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let xb;const U_e=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,Dw=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,qh=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function Tb(t,n,e){if(t){let i=_w(t);i[n]=Math.max(0,Math.min(i[n]+i[n]*e,0===n?360:1)),i=bw(i),t.r=i[0],t.g=i[1],t.b=i[2]}}function e8(t,n){return t&&Object.assign(n||{},t)}function t8(t){var n={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(n={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(n.a=ed(t[3]))):(n=e8(t,{r:0,g:0,b:0,a:1})).a=ed(n.a),n}function q_e(t){return"r"===t.charAt(0)?function W_e(t){const n=U_e.exec(t);let i,r,o,e=255;if(n){if(n[7]!==i){const s=+n[7];e=n[8]?t_(s):Jl(255*s,0,255)}return i=+n[1],r=+n[3],o=+n[5],i=255&(n[2]?t_(i):Jl(i,0,255)),r=255&(n[4]?t_(r):Jl(r,0,255)),o=255&(n[6]?t_(o):Jl(o,0,255)),{r:i,g:r,b:o,a:e}}}(t):function V_e(t){const n=N_e.exec(t);let i,e=255;if(!n)return;n[5]!==i&&(e=n[6]?t_(+n[5]):ed(+n[5]));const r=JB(+n[2]),o=+n[3]/100,s=+n[4]/100;return i="hwb"===n[1]?function P_e(t,n,e){return vw(I_e,t,n,e)}(r,o,s):"hsv"===n[1]?function B_e(t,n,e){return vw(O_e,t,n,e)}(r,o,s):bw(r,o,s),{r:i[0],g:i[1],b:i[2],a:e}}(t)}class Xh{constructor(n){if(n instanceof Xh)return n;const e=typeof n;let i;"object"===e?i=t8(n):"string"===e&&(i=function A_e(t){var e,n=t.length;return"#"===t[0]&&(4===n||5===n?e={r:255&17*ha[t[1]],g:255&17*ha[t[2]],b:255&17*ha[t[3]],a:5===n?17*ha[t[4]]:255}:(7===n||9===n)&&(e={r:ha[t[1]]<<4|ha[t[2]],g:ha[t[3]]<<4|ha[t[4]],b:ha[t[5]]<<4|ha[t[6]],a:9===n?ha[t[7]]<<4|ha[t[8]]:255})),e}(n)||function Y_e(t){xb||(xb=function j_e(){const t={},n=Object.keys(KB),e=Object.keys(ZB);let i,r,o,s,a;for(i=0;i<n.length;i++){for(s=a=n[i],r=0;r<e.length;r++)o=e[r],a=a.replace(o,ZB[o]);o=parseInt(KB[s],16),t[a]=[o>>16&255,o>>8&255,255&o]}return t}(),xb.transparent=[0,0,0,0]);const n=xb[t.toLowerCase()];return n&&{r:n[0],g:n[1],b:n[2],a:4===n.length?n[3]:255}}(n)||q_e(n)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var n=e8(this._rgb);return n&&(n.a=Zl(n.a)),n}set rgb(n){this._rgb=t8(n)}rgbString(){return this._valid?function z_e(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${Zl(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}(this._rgb):void 0}hexString(){return this._valid?function F_e(t){var n=(t=>Cb(t.r)&&Cb(t.g)&&Cb(t.b)&&Cb(t.a))(t)?E_e:S_e;return t?"#"+n(t.r)+n(t.g)+n(t.b)+((t,n)=>t<255?n(t):"")(t.a,n):void 0}(this._rgb):void 0}hslString(){return this._valid?function G_e(t){if(!t)return;const n=_w(t),e=n[0],i=XB(n[1]),r=XB(n[2]);return t.a<255?`hsla(${e}, ${i}%, ${r}%, ${Zl(t.a)})`:`hsl(${e}, ${i}%, ${r}%)`}(this._rgb):void 0}mix(n,e){if(n){const i=this.rgb,r=n.rgb;let o;const s=e===o?.5:e,a=2*s-1,l=i.a-r.a,d=((a*l==-1?a:(a+l)/(1+a*l))+1)/2;o=1-d,i.r=255&d*i.r+o*r.r+.5,i.g=255&d*i.g+o*r.g+.5,i.b=255&d*i.b+o*r.b+.5,i.a=s*i.a+(1-s)*r.a,this.rgb=i}return this}interpolate(n,e){return n&&(this._rgb=function $_e(t,n,e){const i=qh(Zl(t.r)),r=qh(Zl(t.g)),o=qh(Zl(t.b));return{r:ed(Dw(i+e*(qh(Zl(n.r))-i))),g:ed(Dw(r+e*(qh(Zl(n.g))-r))),b:ed(Dw(o+e*(qh(Zl(n.b))-o))),a:t.a+e*(n.a-t.a)}}(this._rgb,n._rgb,e)),this}clone(){return new Xh(this.rgb)}alpha(n){return this._rgb.a=ed(n),this}clearer(n){return this._rgb.a*=1-n,this}greyscale(){const n=this._rgb,e=$h(.3*n.r+.59*n.g+.11*n.b);return n.r=n.g=n.b=e,this}opaquer(n){return this._rgb.a*=1+n,this}negate(){const n=this._rgb;return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,this}lighten(n){return Tb(this._rgb,2,n),this}darken(n){return Tb(this._rgb,2,-n),this}saturate(n){return Tb(this._rgb,1,n),this}desaturate(n){return Tb(this._rgb,1,-n),this}rotate(n){return function H_e(t,n){var e=_w(t);e[0]=JB(e[0]+n),e=bw(e),t.r=e[0],t.g=e[1],t.b=e[2]}(this._rgb,n),this}}function Kl(){}const X_e=(()=>{let t=0;return()=>t++})();function An(t){return null===t||typeof t>"u"}function bi(t){if(Array.isArray&&Array.isArray(t))return!0;const n=Object.prototype.toString.call(t);return"[object"===n.slice(0,7)&&"Array]"===n.slice(-6)}function Cn(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function Xi(t){return("number"==typeof t||t instanceof Number)&&isFinite(+t)}function Os(t,n){return Xi(t)?t:n}function cn(t,n){return typeof t>"u"?n:t}const n8=(t,n)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*n:+t;function di(t,n,e){if(t&&"function"==typeof t.call)return t.apply(e,n)}function Xn(t,n,e,i){let r,o,s;if(bi(t))if(o=t.length,i)for(r=o-1;r>=0;r--)n.call(e,t[r],r);else for(r=0;r<o;r++)n.call(e,t[r],r);else if(Cn(t))for(s=Object.keys(t),o=s.length,r=0;r<o;r++)n.call(e,t[s[r]],s[r])}function wb(t,n){let e,i,r,o;if(!t||!n||t.length!==n.length)return!1;for(e=0,i=t.length;e<i;++e)if(r=t[e],o=n[e],r.datasetIndex!==o.datasetIndex||r.index!==o.index)return!1;return!0}function Eb(t){if(bi(t))return t.map(Eb);if(Cn(t)){const n=Object.create(null),e=Object.keys(t),i=e.length;let r=0;for(;r<i;++r)n[e[r]]=Eb(t[e[r]]);return n}return t}function i8(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function J_e(t,n,e,i){if(!i8(t))return;const r=n[t],o=e[t];Cn(r)&&Cn(o)?n_(r,o,i):n[t]=Eb(o)}function n_(t,n,e){const i=bi(n)?n:[n],r=i.length;if(!Cn(t))return t;const o=(e=e||{}).merger||J_e;let s;for(let a=0;a<r;++a){if(s=i[a],!Cn(s))continue;const l=Object.keys(s);for(let d=0,f=l.length;d<f;++d)o(l[d],t,s,e)}return t}function i_(t,n){return n_(t,n,{merger:Z_e})}function Z_e(t,n,e){if(!i8(t))return;const i=n[t],r=e[t];Cn(i)&&Cn(r)?i_(i,r):Object.prototype.hasOwnProperty.call(n,t)||(n[t]=Eb(r))}const r8={"":t=>t,x:t=>t.x,y:t=>t.y};function td(t,n){return(r8[n]||(r8[n]=function e0e(t){const n=function K_e(t){const n=t.split("."),e=[];let i="";for(const r of n)i+=r,i.endsWith("\\")?i=i.slice(0,-1)+".":(e.push(i),i="");return e}(t);return e=>{for(const i of n){if(""===i)break;e=e&&e[i]}return e}}(n)))(t)}function yw(t){return t.charAt(0).toUpperCase()+t.slice(1)}const pa=t=>typeof t<"u",nd=t=>"function"==typeof t,o8=(t,n)=>{if(t.size!==n.size)return!1;for(const e of t)if(!n.has(e))return!1;return!0},Ai=Math.PI,Di=2*Ai,n0e=Di+Ai,Sb=Number.POSITIVE_INFINITY,i0e=Ai/180,Qi=Ai/2,Du=Ai/4,s8=2*Ai/3,id=Math.log10,hl=Math.sign;function r_(t,n,e){return Math.abs(t-n)<e}function a8(t){const n=Math.round(t);t=r_(t,n,t/1e3)?n:t;const e=Math.pow(10,Math.floor(id(t))),i=t/e;return(i<=1?1:i<=2?2:i<=5?5:10)*e}function Qh(t){return!isNaN(parseFloat(t))&&isFinite(t)}function l8(t,n,e){let i,r,o;for(i=0,r=t.length;i<r;i++)o=t[i][e],isNaN(o)||(n.min=Math.min(n.min,o),n.max=Math.max(n.max,o))}function La(t){return t*(Ai/180)}function Mw(t){return t*(180/Ai)}function c8(t){if(!Xi(t))return;let n=1,e=0;for(;Math.round(t*n)/n!==t;)n*=10,e++;return e}function d8(t,n){const e=n.x-t.x,i=n.y-t.y,r=Math.sqrt(e*e+i*i);let o=Math.atan2(i,e);return o<-.5*Ai&&(o+=Di),{angle:o,distance:r}}function Cw(t,n){return Math.sqrt(Math.pow(n.x-t.x,2)+Math.pow(n.y-t.y,2))}function s0e(t,n){return(t-n+n0e)%Di-Ai}function Is(t){return(t%Di+Di)%Di}function o_(t,n,e,i){const r=Is(t),o=Is(n),s=Is(e),a=Is(o-r),l=Is(s-r),d=Is(r-o),f=Is(r-s);return r===o||r===s||i&&o===s||a>l&&d<f}function Gr(t,n,e){return Math.max(n,Math.min(e,t))}function ec(t,n,e,i=1e-6){return t>=Math.min(n,e)-i&&t<=Math.max(n,e)+i}function xw(t,n,e){e=e||(s=>t[s]<n);let o,i=t.length-1,r=0;for(;i-r>1;)o=r+i>>1,e(o)?r=o:i=o;return{lo:r,hi:i}}const tc=(t,n,e,i)=>xw(t,e,i?r=>{const o=t[r][n];return o<e||o===e&&t[r+1][n]===e}:r=>t[r][n]<e),l0e=(t,n,e)=>xw(t,e,i=>t[i][n]>=e),u8=["push","pop","shift","splice","unshift"];function f8(t,n){const e=t._chartjs;if(!e)return;const i=e.listeners,r=i.indexOf(n);-1!==r&&i.splice(r,1),!(i.length>0)&&(u8.forEach(o=>{delete t[o]}),delete t._chartjs)}function h8(t){const n=new Set;let e,i;for(e=0,i=t.length;e<i;++e)n.add(t[e]);return n.size===i?t:Array.from(n)}const p8=typeof window>"u"?function(t){return t()}:window.requestAnimationFrame;function m8(t,n){let e=[],i=!1;return function(...r){e=r,i||(i=!0,p8.call(window,()=>{i=!1,t.apply(n,e)}))}}const Tw=t=>"start"===t?"left":"end"===t?"right":"center",Mo=(t,n,e)=>"start"===t?n:"end"===t?e:(n+e)/2;function g8(t,n,e){const i=n.length;let r=0,o=i;if(t._sorted){const{iScale:s,_parsed:a}=t,l=s.axis,{min:d,max:f,minDefined:m,maxDefined:g}=s.getUserBounds();m&&(r=Gr(Math.min(tc(a,s.axis,d).lo,e?i:tc(n,l,s.getPixelForValue(d)).lo),0,i-1)),o=g?Gr(Math.max(tc(a,s.axis,f,!0).hi+1,e?0:tc(n,l,s.getPixelForValue(f),!0).hi+1),r,i)-r:i-r}return{start:r,count:o}}function _8(t){const{xScale:n,yScale:e,_scaleRanges:i}=t,r={xmin:n.min,xmax:n.max,ymin:e.min,ymax:e.max};if(!i)return t._scaleRanges=r,!0;const o=i.xmin!==n.min||i.xmax!==n.max||i.ymin!==e.min||i.ymax!==e.max;return Object.assign(i,r),o}const kb=t=>0===t||1===t,v8=(t,n,e)=>-Math.pow(2,10*(t-=1))*Math.sin((t-n)*Di/e),b8=(t,n,e)=>Math.pow(2,-10*t)*Math.sin((t-n)*Di/e)+1,s_={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*Qi),easeOutSine:t=>Math.sin(t*Qi),easeInOutSine:t=>-.5*(Math.cos(Ai*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>kb(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>kb(t)?t:v8(t,.075,.3),easeOutElastic:t=>kb(t)?t:b8(t,.075,.3),easeInOutElastic:t=>kb(t)?t:t<.5?.5*v8(2*t,.1125,.45):.5+.5*b8(2*t-1,.1125,.45),easeInBack:t=>t*t*(2.70158*t-1.70158),easeOutBack:t=>(t-=1)*t*(2.70158*t+1.70158)+1,easeInOutBack(t){let n=1.70158;return(t/=.5)<1?t*t*((1+(n*=1.525))*t-n)*.5:.5*((t-=2)*t*((1+(n*=1.525))*t+n)+2)},easeInBounce:t=>1-s_.easeOutBounce(1-t),easeOutBounce:t=>t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,easeInOutBounce:t=>t<.5?.5*s_.easeInBounce(2*t):.5*s_.easeOutBounce(2*t-1)+.5};function D8(t){if(t&&"object"==typeof t){const n=t.toString();return"[object CanvasPattern]"===n||"[object CanvasGradient]"===n}return!1}function y8(t){return D8(t)?t:new Xh(t)}function ww(t){return D8(t)?t:new Xh(t).saturate(.5).darken(.1).hexString()}const h0e=["x","y","borderWidth","radius","tension"],p0e=["color","borderColor","backgroundColor"],M8=new Map;function a_(t,n,e){return function _0e(t,n){n=n||{};const e=t+JSON.stringify(n);let i=M8.get(e);return i||(i=new Intl.NumberFormat(t,n),M8.set(e,i)),i}(n,e).format(t)}const C8={values:t=>bi(t)?t:""+t,numeric(t,n,e){if(0===t)return"0";const i=this.chart.options.locale;let r,o=t;if(e.length>1){const d=Math.max(Math.abs(e[0].value),Math.abs(e[e.length-1].value));(d<1e-4||d>1e15)&&(r="scientific"),o=function v0e(t,n){let e=n.length>3?n[2].value-n[1].value:n[1].value-n[0].value;return Math.abs(e)>=1&&t!==Math.floor(t)&&(e=t-Math.floor(t)),e}(t,e)}const s=id(Math.abs(o)),a=Math.max(Math.min(-1*Math.floor(s),20),0),l={notation:r,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),a_(t,i,l)},logarithmic(t,n,e){if(0===t)return"0";const i=e[n].significand||t/Math.pow(10,Math.floor(id(t)));return[1,2,3,5,10,15].includes(i)||n>.8*e.length?C8.numeric.call(this,t,n,e):""}};var Ab={formatters:C8};const yu=Object.create(null),Ew=Object.create(null);function l_(t,n){if(!n)return t;const e=n.split(".");for(let i=0,r=e.length;i<r;++i){const o=e[i];t=t[o]||(t[o]=Object.create(null))}return t}function Sw(t,n,e){return"string"==typeof n?n_(l_(t,n),e):n_(l_(t,""),n)}class D0e{constructor(n,e){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=i=>i.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=(i,r)=>ww(r.backgroundColor),this.hoverBorderColor=(i,r)=>ww(r.borderColor),this.hoverColor=(i,r)=>ww(r.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},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(n),this.apply(e)}set(n,e){return Sw(this,n,e)}get(n){return l_(this,n)}describe(n,e){return Sw(Ew,n,e)}override(n,e){return Sw(yu,n,e)}route(n,e,i,r){const o=l_(this,n),s=l_(this,i),a="_"+e;Object.defineProperties(o,{[a]:{value:o[e],writable:!0},[e]:{enumerable:!0,get(){const l=this[a],d=s[r];return Cn(l)?Object.assign({},d,l):cn(l,d)},set(l){this[a]=l}}})}apply(n){n.forEach(e=>e(this))}}var Ji=new D0e({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function m0e(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:n=>"onProgress"!==n&&"onComplete"!==n&&"fn"!==n}),t.set("animations",{colors:{type:"color",properties:p0e},numbers:{type:"number",properties:h0e}}),t.describe("animations",{_fallback:"animation"}),t.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}}}})},function g0e(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function b0e(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(n,e)=>e.lineWidth,tickColor:(n,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width: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:Ab.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:n=>!n.startsWith("before")&&!n.startsWith("after")&&"callback"!==n&&"parser"!==n,_indexable:n=>"borderDash"!==n&&"tickBorderDash"!==n&&"dash"!==n}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:n=>"backdropPadding"!==n&&"callback"!==n,_indexable:n=>"backdropPadding"!==n})}]);function Rb(t,n,e,i,r){let o=n[r];return o||(o=n[r]=t.measureText(r).width,e.push(r)),o>i&&(i=o),i}function M0e(t,n,e,i){let r=(i=i||{}).data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==n&&(r=i.data={},o=i.garbageCollect=[],i.font=n),t.save(),t.font=n;let s=0;const a=e.length;let l,d,f,m,g;for(l=0;l<a;l++)if(m=e[l],null!=m&&!0!==bi(m))s=Rb(t,r,o,s,m);else if(bi(m))for(d=0,f=m.length;d<f;d++)g=m[d],null!=g&&!bi(g)&&(s=Rb(t,r,o,s,g));t.restore();const b=o.length/2;if(b>e.length){for(l=0;l<b;l++)delete r[o[l]];o.splice(0,b)}return s}function Mu(t,n,e){const i=t.currentDevicePixelRatio,r=0!==e?Math.max(e/2,.5):0;return Math.round((n-r)*i)/i+r}function x8(t,n){(n=n||t.getContext("2d")).save(),n.resetTransform(),n.clearRect(0,0,t.width,t.height),n.restore()}function kw(t,n,e,i){T8(t,n,e,i,null)}function T8(t,n,e,i,r){let o,s,a,l,d,f,m,g;const b=n.pointStyle,M=n.rotation,y=n.radius;let T=(M||0)*i0e;if(b&&"object"==typeof b&&(o=b.toString(),"[object HTMLImageElement]"===o||"[object HTMLCanvasElement]"===o))return t.save(),t.translate(e,i),t.rotate(T),t.drawImage(b,-b.width/2,-b.height/2,b.width,b.height),void t.restore();if(!(isNaN(y)||y<=0)){switch(t.beginPath(),b){default:r?t.ellipse(e,i,r/2,y,0,0,Di):t.arc(e,i,y,0,Di),t.closePath();break;case"triangle":f=r?r/2:y,t.moveTo(e+Math.sin(T)*f,i-Math.cos(T)*y),T+=s8,t.lineTo(e+Math.sin(T)*f,i-Math.cos(T)*y),T+=s8,t.lineTo(e+Math.sin(T)*f,i-Math.cos(T)*y),t.closePath();break;case"rectRounded":d=.516*y,l=y-d,s=Math.cos(T+Du)*l,m=Math.cos(T+Du)*(r?r/2-d:l),a=Math.sin(T+Du)*l,g=Math.sin(T+Du)*(r?r/2-d:l),t.arc(e-m,i-a,d,T-Ai,T-Qi),t.arc(e+g,i-s,d,T-Qi,T),t.arc(e+m,i+a,d,T,T+Qi),t.arc(e-g,i+s,d,T+Qi,T+Ai),t.closePath();break;case"rect":if(!M){l=Math.SQRT1_2*y,f=r?r/2:l,t.rect(e-f,i-l,2*f,2*l);break}T+=Du;case"rectRot":m=Math.cos(T)*(r?r/2:y),s=Math.cos(T)*y,a=Math.sin(T)*y,g=Math.sin(T)*(r?r/2:y),t.moveTo(e-m,i-a),t.lineTo(e+g,i-s),t.lineTo(e+m,i+a),t.lineTo(e-g,i+s),t.closePath();break;case"crossRot":T+=Du;case"cross":m=Math.cos(T)*(r?r/2:y),s=Math.cos(T)*y,a=Math.sin(T)*y,g=Math.sin(T)*(r?r/2:y),t.moveTo(e-m,i-a),t.lineTo(e+m,i+a),t.moveTo(e+g,i-s),t.lineTo(e-g,i+s);break;case"star":m=Math.cos(T)*(r?r/2:y),s=Math.cos(T)*y,a=Math.sin(T)*y,g=Math.sin(T)*(r?r/2:y),t.moveTo(e-m,i-a),t.lineTo(e+m,i+a),t.moveTo(e+g,i-s),t.lineTo(e-g,i+s),T+=Du,m=Math.cos(T)*(r?r/2:y),s=Math.cos(T)*y,a=Math.sin(T)*y,g=Math.sin(T)*(r?r/2:y),t.moveTo(e-m,i-a),t.lineTo(e+m,i+a),t.moveTo(e+g,i-s),t.lineTo(e-g,i+s);break;case"line":s=r?r/2:Math.cos(T)*y,a=Math.sin(T)*y,t.moveTo(e-s,i-a),t.lineTo(e+s,i+a);break;case"dash":t.moveTo(e,i),t.lineTo(e+Math.cos(T)*(r?r/2:y),i+Math.sin(T)*y);break;case!1:t.closePath()}t.fill(),n.borderWidth>0&&t.stroke()}}function c_(t,n,e){return e=e||.5,!n||t&&t.x>n.left-e&&t.x<n.right+e&&t.y>n.top-e&&t.y<n.bottom+e}function Fb(t,n){t.save(),t.beginPath(),t.rect(n.left,n.top,n.right-n.left,n.bottom-n.top),t.clip()}function Nb(t){t.restore()}function C0e(t,n,e,i,r){if(!n)return t.lineTo(e.x,e.y);if("middle"===r){const o=(n.x+e.x)/2;t.lineTo(o,n.y),t.lineTo(o,e.y)}else"after"===r!=!!i?t.lineTo(n.x,e.y):t.lineTo(e.x,n.y);t.lineTo(e.x,e.y)}function x0e(t,n,e,i){if(!n)return t.lineTo(e.x,e.y);t.bezierCurveTo(i?n.cp1x:n.cp2x,i?n.cp1y:n.cp2y,i?e.cp2x:e.cp1x,i?e.cp2y:e.cp1y,e.x,e.y)}function Cu(t,n,e,i,r,o={}){const s=bi(n)?n:[n],a=o.strokeWidth>0&&""!==o.strokeColor;let l,d;for(t.save(),t.font=r.string,function T0e(t,n){n.translation&&t.translate(n.translation[0],n.translation[1]),An(n.rotation)||t.rotate(n.rotation),n.color&&(t.fillStyle=n.color),n.textAlign&&(t.textAlign=n.textAlign),n.textBaseline&&(t.textBaseline=n.textBaseline)}(t,o),l=0;l<s.length;++l)d=s[l],o.backdrop&&E0e(t,o.backdrop),a&&(o.strokeColor&&(t.strokeStyle=o.strokeColor),An(o.strokeWidth)||(t.lineWidth=o.strokeWidth),t.strokeText(d,e,i,o.maxWidth)),t.fillText(d,e,i,o.maxWidth),w0e(t,e,i,d,o),i+=r.lineHeight;t.restore()}function w0e(t,n,e,i,r){if(r.strikethrough||r.underline){const o=t.measureText(i),s=n-o.actualBoundingBoxLeft,a=n+o.actualBoundingBoxRight,d=e+o.actualBoundingBoxDescent,f=r.strikethrough?(e-o.actualBoundingBoxAscent+d)/2:d;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=r.decorationWidth||2,t.moveTo(s,f),t.lineTo(a,f),t.stroke()}}function E0e(t,n){const e=t.fillStyle;t.fillStyle=n.color,t.fillRect(n.left,n.top,n.width,n.height),t.fillStyle=e}function d_(t,n){const{x:e,y:i,w:r,h:o,radius:s}=n;t.arc(e+s.topLeft,i+s.topLeft,s.topLeft,-Qi,Ai,!0),t.lineTo(e,i+o-s.bottomLeft),t.arc(e+s.bottomLeft,i+o-s.bottomLeft,s.bottomLeft,Ai,Qi,!0),t.lineTo(e+r-s.bottomRight,i+o),t.arc(e+r-s.bottomRight,i+o-s.bottomRight,s.bottomRight,Qi,0,!0),t.lineTo(e+r,i+s.topRight),t.arc(e+r-s.topRight,i+s.topRight,s.topRight,0,-Qi,!0),t.lineTo(e+s.topLeft,i)}const S0e=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,k0e=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function A0e(t,n){const e=(""+t).match(S0e);if(!e||"normal"===e[1])return 1.2*n;switch(t=+e[2],e[3]){case"px":return t;case"%":t/=100}return n*t}const R0e=t=>+t||0;function Aw(t,n){const e={},i=Cn(n),r=i?Object.keys(n):n,o=Cn(t)?i?s=>cn(t[s],t[n[s]]):s=>t[s]:()=>t;for(const s of r)e[s]=R0e(o(s));return e}function w8(t){return Aw(t,{top:"y",right:"x",bottom:"y",left:"x"})}function xu(t){return Aw(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Co(t){const n=w8(t);return n.width=n.left+n.right,n.height=n.top+n.bottom,n}function Er(t,n){let e=cn((t=t||{}).size,(n=n||Ji.font).size);"string"==typeof e&&(e=parseInt(e,10));let i=cn(t.style,n.style);i&&!(""+i).match(k0e)&&(console.warn('Invalid font style specified: "'+i+'"'),i=void 0);const r={family:cn(t.family,n.family),lineHeight:A0e(cn(t.lineHeight,n.lineHeight),e),size:e,style:i,weight:cn(t.weight,n.weight),string:""};return r.string=function y0e(t){return!t||An(t.size)||An(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(r),r}function u_(t,n,e,i){let o,s,a,r=!0;for(o=0,s=t.length;o<s;++o)if(a=t[o],void 0!==a&&(void 0!==n&&"function"==typeof a&&(a=a(n),r=!1),void 0!==e&&bi(a)&&(a=a[e%a.length],r=!1),void 0!==a))return i&&!r&&(i.cacheable=!1),a}function rd(t,n){return Object.assign(Object.create(t),n)}function Rw(t,n=[""],e=t,i,r=(()=>t[0])){pa(i)||(i=R8("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:e,_fallback:i,_getTarget:r,override:s=>Rw([s,...t],n,e,i)};return new Proxy(o,{deleteProperty:(s,a)=>(delete s[a],delete s._keys,delete t[0][a],!0),get:(s,a)=>S8(s,a,()=>function H0e(t,n,e,i){let r;for(const o of n)if(r=R8(N0e(o,t),e),pa(r))return Fw(t,r)?Nw(e,i,t,r):r}(a,n,t,s)),getOwnPropertyDescriptor:(s,a)=>Reflect.getOwnPropertyDescriptor(s._scopes[0],a),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(s,a)=>F8(s).includes(a),ownKeys:s=>F8(s),set(s,a,l){const d=s._storage||(s._storage=r());return s[a]=d[a]=l,delete s._keys,!0}})}function Jh(t,n,e,i){const r={_cacheable:!1,_proxy:t,_context:n,_subProxy:e,_stack:new Set,_descriptors:E8(t,i),setContext:o=>Jh(t,o,e,i),override:o=>Jh(t.override(o),n,e,i)};return new Proxy(r,{deleteProperty:(o,s)=>(delete o[s],delete t[s],!0),get:(o,s,a)=>S8(o,s,()=>function O0e(t,n,e){const{_proxy:i,_context:r,_subProxy:o,_descriptors:s}=t;let a=i[n];return nd(a)&&s.isScriptable(n)&&(a=function I0e(t,n,e,i){const{_proxy:r,_context:o,_subProxy:s,_stack:a}=e;if(a.has(t))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+t);return a.add(t),n=n(o,s||i),a.delete(t),Fw(t,n)&&(n=Nw(r._scopes,r,t,n)),n}(n,a,t,e)),bi(a)&&a.length&&(a=function L0e(t,n,e,i){const{_proxy:r,_context:o,_subProxy:s,_descriptors:a}=e;if(pa(o.index)&&i(t))n=n[o.index%n.length];else if(Cn(n[0])){const l=n,d=r._scopes.filter(f=>f!==l);n=[];for(const f of l){const m=Nw(d,r,t,f);n.push(Jh(m,o,s&&s[t],a))}}return n}(n,a,t,s.isIndexable)),Fw(n,a)&&(a=Jh(a,r,o&&o[n],s)),a}(o,s,a)),getOwnPropertyDescriptor:(o,s)=>o._descriptors.allKeys?Reflect.has(t,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,s),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(o,s)=>Reflect.has(t,s),ownKeys:()=>Reflect.ownKeys(t),set:(o,s,a)=>(t[s]=a,delete o[s],!0)})}function E8(t,n={scriptable:!0,indexable:!0}){const{_scriptable:e=n.scriptable,_indexable:i=n.indexable,_allKeys:r=n.allKeys}=t;return{allKeys:r,scriptable:e,indexable:i,isScriptable:nd(e)?e:()=>e,isIndexable:nd(i)?i:()=>i}}const N0e=(t,n)=>t?t+yw(n):n,Fw=(t,n)=>Cn(n)&&"adapters"!==t&&(null===Object.getPrototypeOf(n)||n.constructor===Object);function S8(t,n,e){if(Object.prototype.hasOwnProperty.call(t,n))return t[n];const i=e();return t[n]=i,i}function k8(t,n,e){return nd(t)?t(n,e):t}const P0e=(t,n)=>!0===t?n:"string"==typeof t?td(n,t):void 0;function B0e(t,n,e,i,r){for(const o of n){const s=P0e(e,o);if(s){t.add(s);const a=k8(s._fallback,e,r);if(pa(a)&&a!==e&&a!==i)return a}else if(!1===s&&pa(i)&&e!==i)return null}return!1}function Nw(t,n,e,i){const r=n._rootScopes,o=k8(n._fallback,e,i),s=[...t,...r],a=new Set;a.add(i);let l=A8(a,s,e,o||e,i);return!(null===l||pa(o)&&o!==e&&(l=A8(a,s,o,l,i),null===l))&&Rw(Array.from(a),[""],r,o,()=>function V0e(t,n,e){const i=t._getTarget();n in i||(i[n]={});const r=i[n];return bi(r)&&Cn(e)?e:r||{}}(n,e,i))}function A8(t,n,e,i,r){for(;e;)e=B0e(t,n,e,i,r);return e}function R8(t,n){for(const e of n){if(!e)continue;const i=e[t];if(pa(i))return i}}function F8(t){let n=t._keys;return n||(n=t._keys=function G0e(t){const n=new Set;for(const e of t)for(const i of Object.keys(e).filter(r=>!r.startsWith("_")))n.add(i);return Array.from(n)}(t._scopes)),n}function N8(t,n,e,i){const{iScale:r}=t,{key:o="r"}=this._parsing,s=new Array(i);let a,l,d,f;for(a=0,l=i;a<l;++a)d=a+e,f=n[d],s[a]={r:r.parse(td(f,o),d)};return s}const j0e=Number.EPSILON||1e-14,Zh=(t,n)=>n<t.length&&!t[n].skip&&t[n],O8=t=>"x"===t?"y":"x";function Y0e(t,n,e,i){const r=t.skip?n:t,o=n,s=e.skip?n:e,a=Cw(o,r),l=Cw(s,o);let d=a/(a+l),f=l/(a+l);d=isNaN(d)?0:d,f=isNaN(f)?0:f;const m=i*d,g=i*f;return{previous:{x:o.x-m*(s.x-r.x),y:o.y-m*(s.y-r.y)},next:{x:o.x+g*(s.x-r.x),y:o.y+g*(s.y-r.y)}}}function Ob(t,n,e){return Math.max(Math.min(t,e),n)}function q0e(t,n,e,i,r){let o,s,a,l;if(n.spanGaps&&(t=t.filter(d=>!d.skip)),"monotone"===n.cubicInterpolationMode)!function z0e(t,n="x"){const e=O8(n),i=t.length,r=Array(i).fill(0),o=Array(i);let s,a,l,d=Zh(t,0);for(s=0;s<i;++s)if(a=l,l=d,d=Zh(t,s+1),l){if(d){const f=d[n]-l[n];r[s]=0!==f?(d[e]-l[e])/f:0}o[s]=a?d?hl(r[s-1])!==hl(r[s])?0:(r[s-1]+r[s])/2:r[s-1]:r[s]}(function U0e(t,n,e){const i=t.length;let r,o,s,a,l,d=Zh(t,0);for(let f=0;f<i-1;++f)if(l=d,d=Zh(t,f+1),l&&d){if(r_(n[f],0,j0e)){e[f]=e[f+1]=0;continue}r=e[f]/n[f],o=e[f+1]/n[f],a=Math.pow(r,2)+Math.pow(o,2),!(a<=9)&&(s=3/Math.sqrt(a),e[f]=r*s*n[f],e[f+1]=o*s*n[f])}})(t,r,o),function W0e(t,n,e="x"){const i=O8(e),r=t.length;let o,s,a,l=Zh(t,0);for(let d=0;d<r;++d){if(s=a,a=l,l=Zh(t,d+1),!a)continue;const f=a[e],m=a[i];s&&(o=(f-s[e])/3,a[`cp1${e}`]=f-o,a[`cp1${i}`]=m-o*n[d]),l&&(o=(l[e]-f)/3,a[`cp2${e}`]=f+o,a[`cp2${i}`]=m+o*n[d])}}(t,o,n)}(t,r);else{let d=i?t[t.length-1]:t[0];for(o=0,s=t.length;o<s;++o)a=t[o],l=Y0e(d,a,t[Math.min(o+1,s-(i?0:1))%s],n.tension),a.cp1x=l.previous.x,a.cp1y=l.previous.y,a.cp2x=l.next.x,a.cp2y=l.next.y,d=a}n.capBezierPoints&&function $0e(t,n){let e,i,r,o,s,a=c_(t[0],n);for(e=0,i=t.length;e<i;++e)s=o,o=a,a=e<i-1&&c_(t[e+1],n),o&&(r=t[e],s&&(r.cp1x=Ob(r.cp1x,n.left,n.right),r.cp1y=Ob(r.cp1y,n.top,n.bottom)),a&&(r.cp2x=Ob(r.cp2x,n.left,n.right),r.cp2y=Ob(r.cp2y,n.top,n.bottom)))}(t,e)}function I8(){return typeof window<"u"&&typeof document<"u"}function Ow(t){let n=t.parentNode;return n&&"[object ShadowRoot]"===n.toString()&&(n=n.host),n}function Ib(t,n,e){let i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*n.parentNode[e])):i=t,i}const Lb=t=>t.ownerDocument.defaultView.getComputedStyle(t,null),Q0e=["top","right","bottom","left"];function Tu(t,n,e){const i={};e=e?"-"+e:"";for(let r=0;r<4;r++){const o=Q0e[r];i[o]=parseFloat(t[n+"-"+o+e])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}const J0e=(t,n,e)=>(t>0||n>0)&&(!e||!e.shadowRoot);function wu(t,n){if("native"in t)return t;const{canvas:e,currentDevicePixelRatio:i}=n,r=Lb(e),o="border-box"===r.boxSizing,s=Tu(r,"padding"),a=Tu(r,"border","width"),{x:l,y:d,box:f}=function Z0e(t,n){const e=t.touches,i=e&&e.length?e[0]:t,{offsetX:r,offsetY:o}=i;let a,l,s=!1;if(J0e(r,o,t.target))a=r,l=o;else{const d=n.getBoundingClientRect();a=i.clientX-d.left,l=i.clientY-d.top,s=!0}return{x:a,y:l,box:s}}(t,e),m=s.left+(f&&a.left),g=s.top+(f&&a.top);let{width:b,height:M}=n;return o&&(b-=s.width+a.width,M-=s.height+a.height),{x:Math.round((l-m)/b*e.width/i),y:Math.round((d-g)/M*e.height/i)}}const Pb=t=>Math.round(10*t)/10;function L8(t,n,e){const i=n||1,r=Math.floor(t.height*i),o=Math.floor(t.width*i);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const s=t.canvas;return s.style&&(e||!s.style.height&&!s.style.width)&&(s.style.height=`${t.height}px`,s.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==i||s.height!==r||s.width!==o)&&(t.currentDevicePixelRatio=i,s.height=r,s.width=o,t.ctx.setTransform(i,0,0,i,0,0),!0)}const t1e=function(){let t=!1;try{const n={get passive(){return t=!0,!1}};window.addEventListener("test",null,n),window.removeEventListener("test",null,n)}catch{}return t}();function P8(t,n){const e=function X0e(t,n){return Lb(t).getPropertyValue(n)}(t,n),i=e&&e.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function Eu(t,n,e,i){return{x:t.x+e*(n.x-t.x),y:t.y+e*(n.y-t.y)}}function n1e(t,n,e,i){return{x:t.x+e*(n.x-t.x),y:"middle"===i?e<.5?t.y:n.y:"after"===i?e<1?t.y:n.y:e>0?n.y:t.y}}function i1e(t,n,e,i){const r={x:t.cp2x,y:t.cp2y},o={x:n.cp1x,y:n.cp1y},s=Eu(t,r,e),a=Eu(r,o,e),l=Eu(o,n,e),d=Eu(s,a,e),f=Eu(a,l,e);return Eu(d,f,e)}const r1e=function(t,n){return{x:e=>t+t+n-e,setWidth(e){n=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,i)=>e-i,leftForLtr:(e,i)=>e-i}},o1e=function(){return{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,n)=>t+n,leftForLtr:(t,n)=>t}};function Kh(t,n,e){return t?r1e(n,e):o1e()}function B8(t,n){let e,i;("ltr"===n||"rtl"===n)&&(e=t.canvas.style,i=[e.getPropertyValue("direction"),e.getPropertyPriority("direction")],e.setProperty("direction",n,"important"),t.prevTextDirection=i)}function V8(t,n){void 0!==n&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",n[0],n[1]))}function H8(t){return"angle"===t?{between:o_,compare:s0e,normalize:Is}:{between:ec,compare:(n,e)=>n-e,normalize:n=>n}}function G8({start:t,end:n,count:e,loop:i,style:r}){return{start:t%e,end:n%e,loop:i&&(n-t+1)%e==0,style:r}}function j8(t,n,e){if(!e)return[t];const{property:i,start:r,end:o}=e,s=n.length,{compare:a,between:l,normalize:d}=H8(i),{start:f,end:m,loop:g,style:b}=function s1e(t,n,e){const{property:i,start:r,end:o}=e,{between:s,normalize:a}=H8(i),l=n.length;let g,b,{start:d,end:f,loop:m}=t;if(m){for(d+=l,f+=l,g=0,b=l;g<b&&s(a(n[d%l][i]),r,o);++g)d--,f--;d%=l,f%=l}return f<d&&(f+=l),{start:d,end:f,loop:m,style:t.style}}(t,n,e),M=[];let k,O,N,y=!1,T=null;for(let J=f,ne=f;J<=m;++J)O=n[J%s],!O.skip&&(k=d(O[i]),k!==N&&(y=l(k,r,o),null===T&&(y||l(r,N,k)&&0!==a(r,N))&&(T=0===a(k,r)?J:ne),null!==T&&(!y||0===a(o,k)||l(o,N,k))&&(M.push(G8({start:T,end:J,loop:g,count:s,style:b})),T=null),ne=J,N=k));return null!==T&&M.push(G8({start:T,end:m,loop:g,count:s,style:b})),M}function Y8(t,n){const e=[],i=t.segments;for(let r=0;r<i.length;r++){const o=j8(i[r],t.points,n);o.length&&e.push(...o)}return e}function W8(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function u1e(t,n){return n&&JSON.stringify(t)!==JSON.stringify(n)}class f1e{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(n,e,i,r){const s=e.duration;e.listeners[r].forEach(a=>a({chart:n,initial:e.initial,numSteps:s,currentStep:Math.min(i-e.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=p8.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(n=Date.now()){let e=0;this._charts.forEach((i,r)=>{if(!i.running||!i.items.length)return;const o=i.items;let l,s=o.length-1,a=!1;for(;s>=0;--s)l=o[s],l._active?(l._total>i.duration&&(i.duration=l._total),l.tick(n),a=!0):(o[s]=o[o.length-1],o.pop());a&&(r.draw(),this._notify(r,i,n,"progress")),o.length||(i.running=!1,this._notify(r,i,n,"complete"),i.initial=!1),e+=o.length}),this._lastDate=n,0===e&&(this._running=!1)}_getAnims(n){const e=this._charts;let i=e.get(n);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(n,i)),i}listen(n,e,i){this._getAnims(n).listeners[e].push(i)}add(n,e){!e||!e.length||this._getAnims(n).items.push(...e)}has(n){return this._getAnims(n).items.length>0}start(n){const e=this._charts.get(n);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((i,r)=>Math.max(i,r._duration),0),this._refresh())}running(n){if(!this._running)return!1;const e=this._charts.get(n);return!(!e||!e.running||!e.items.length)}stop(n){const e=this._charts.get(n);if(!e||!e.items.length)return;const i=e.items;let r=i.length-1;for(;r>=0;--r)i[r].cancel();e.items=[],this._notify(n,e,Date.now(),"complete")}remove(n){return this._charts.delete(n)}}var nc=new f1e;const z8="transparent",h1e={boolean:(t,n,e)=>e>.5?n:t,color(t,n,e){const i=y8(t||z8),r=i.valid&&y8(n||z8);return r&&r.valid?r.mix(i,e).hexString():n},number:(t,n,e)=>t+(n-t)*e};class p1e{constructor(n,e,i,r){const o=e[i];r=u_([n.to,r,o,n.from]);const s=u_([n.from,o,r]);this._active=!0,this._fn=n.fn||h1e[n.type||typeof s],this._easing=s_[n.easing]||s_.linear,this._start=Math.floor(Date.now()+(n.delay||0)),this._duration=this._total=Math.floor(n.duration),this._loop=!!n.loop,this._target=e,this._prop=i,this._from=s,this._to=r,this._promises=void 0}active(){return this._active}update(n,e,i){if(this._active){this._notify(!1);const r=this._target[this._prop],o=i-this._start,s=this._duration-o;this._start=i,this._duration=Math.floor(Math.max(s,n.duration)),this._total+=o,this._loop=!!n.loop,this._to=u_([n.to,e,r,n.from]),this._from=u_([n.from,r,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(n){const e=n-this._start,i=this._duration,r=this._prop,o=this._from,s=this._loop,a=this._to;let l;if(this._active=o!==a&&(s||e<i),!this._active)return this._target[r]=a,void this._notify(!0);e<0?this._target[r]=o:(l=e/i%2,l=s&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[r]=this._fn(o,a,l))}wait(){const n=this._promises||(this._promises=[]);return new Promise((e,i)=>{n.push({res:e,rej:i})})}_notify(n){const e=n?"res":"rej",i=this._promises||[];for(let r=0;r<i.length;r++)i[r][e]()}}class $8{constructor(n,e){this._chart=n,this._properties=new Map,this.configure(e)}configure(n){if(!Cn(n))return;const e=Object.keys(Ji.animation),i=this._properties;Object.getOwnPropertyNames(n).forEach(r=>{const o=n[r];if(!Cn(o))return;const s={};for(const a of e)s[a]=o[a];(bi(o.properties)&&o.properties||[r]).forEach(a=>{(a===r||!i.has(a))&&i.set(a,s)})})}_animateOptions(n,e){const i=e.options,r=function g1e(t,n){if(!n)return;let e=t.options;if(e)return e.$shared&&(t.options=e=Object.assign({},e,{$shared:!1,$animations:{}})),e;t.options=n}(n,i);if(!r)return[];const o=this._createAnimations(r,i);return i.$shared&&function m1e(t,n){const e=[],i=Object.keys(n);for(let r=0;r<i.length;r++){const o=t[i[r]];o&&o.active()&&e.push(o.wait())}return Promise.all(e)}(n.options.$animations,i).then(()=>{n.options=i},()=>{}),o}_createAnimations(n,e){const i=this._properties,r=[],o=n.$animations||(n.$animations={}),s=Object.keys(e),a=Date.now();let l;for(l=s.length-1;l>=0;--l){const d=s[l];if("$"===d.charAt(0))continue;if("options"===d){r.push(...this._animateOptions(n,e));continue}const f=e[d];let m=o[d];const g=i.get(d);if(m){if(g&&m.active()){m.update(g,f,a);continue}m.cancel()}g&&g.duration?(o[d]=m=new p1e(g,n,d,f),r.push(m)):n[d]=f}return r}update(n,e){if(0===this._properties.size)return void Object.assign(n,e);const i=this._createAnimations(n,e);return i.length?(nc.add(this._chart,i),!0):void 0}}function q8(t,n){const e=t&&t.options||{},i=e.reverse,r=void 0===e.min?n:0,o=void 0===e.max?n:0;return{start:i?o:r,end:i?r:o}}function X8(t,n){const e=[],i=t._getSortedDatasetMetas(n);let r,o;for(r=0,o=i.length;r<o;++r)e.push(i[r].index);return e}function Q8(t,n,e,i={}){const r=t.keys,o="single"===i.mode;let s,a,l,d;if(null!==n){for(s=0,a=r.length;s<a;++s){if(l=+r[s],l===e){if(i.all)continue;break}d=t.values[l],Xi(d)&&(o||0===n||hl(n)===hl(d))&&(n+=d)}return n}}function J8(t,n){const e=t&&t.options.stacked;return e||void 0===e&&void 0!==n.stack}function M1e(t,n,e){const i=t[n]||(t[n]={});return i[e]||(i[e]={})}function Z8(t,n,e,i){for(const r of n.getMatchingVisibleMetas(i).reverse()){const o=t[r.index];if(e&&o>0||!e&&o<0)return r.index}return null}function K8(t,n){const{chart:e,_cachedMeta:i}=t,r=e._stacks||(e._stacks={}),{iScale:o,vScale:s,index:a}=i,l=o.axis,d=s.axis,f=function D1e(t,n,e){return`${t.id}.${n.id}.${e.stack||e.type}`}(o,s,i),m=n.length;let g;for(let b=0;b<m;++b){const M=n[b],{[l]:y,[d]:T}=M;g=(M._stacks||(M._stacks={}))[d]=M1e(r,f,y),g[a]=T,g._top=Z8(g,s,!0,i.type),g._bottom=Z8(g,s,!1,i.type),(g._visualValues||(g._visualValues={}))[a]=T}}function Iw(t,n){const e=t.scales;return Object.keys(e).filter(i=>e[i].axis===n).shift()}function f_(t,n){const e=t.controller.index,i=t.vScale&&t.vScale.axis;if(i){n=n||t._parsed;for(const r of n){const o=r._stacks;if(!o||void 0===o[i]||void 0===o[i][e])return;delete o[i][e],void 0!==o[i]._visualValues&&void 0!==o[i]._visualValues[e]&&delete o[i]._visualValues[e]}}}const Lw=t=>"reset"===t||"none"===t,eV=(t,n)=>n?t:Object.assign({},t);let od=(()=>{class t{constructor(e,i){this.chart=e,this._ctx=e.ctx,this.index=i,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.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=J8(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&f_(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,i=this._cachedMeta,r=this.getDataset(),o=(g,b,M,y)=>"x"===g?b:"r"===g?y:M,s=i.xAxisID=cn(r.xAxisID,Iw(e,"x")),a=i.yAxisID=cn(r.yAxisID,Iw(e,"y")),l=i.rAxisID=cn(r.rAxisID,Iw(e,"r")),d=i.indexAxis,f=i.iAxisID=o(d,s,a,l),m=i.vAxisID=o(d,a,s,l);i.xScale=this.getScaleForId(s),i.yScale=this.getScaleForId(a),i.rScale=this.getScaleForId(l),i.iScale=this.getScaleForId(f),i.vScale=this.getScaleForId(m)}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 i=this._cachedMeta;return e===i.iScale?i.vScale:i.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&f8(this._data,this),e._stacked&&f_(e)}_dataCheck(){const e=this.getDataset(),i=e.data||(e.data=[]),r=this._data;if(Cn(i))this._data=function b1e(t){const n=Object.keys(t),e=new Array(n.length);let i,r,o;for(i=0,r=n.length;i<r;++i)o=n[i],e[i]={x:o,y:t[o]};return e}(i);else if(r!==i){if(r){f8(r,this);const o=this._cachedMeta;f_(o),o._parsed=[]}i&&Object.isExtensible(i)&&function d0e(t,n){t._chartjs?t._chartjs.listeners.push(n):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[n]}}),u8.forEach(e=>{const i="_onData"+yw(e),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...o){const s=r.apply(this,o);return t._chartjs.listeners.forEach(a=>{"function"==typeof a[i]&&a[i](...o)}),s}})}))}(i,this),this._syncList=[],this._data=i}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const i=this._cachedMeta,r=this.getDataset();let o=!1;this._dataCheck();const s=i._stacked;i._stacked=J8(i.vScale,i),i.stack!==r.stack&&(o=!0,f_(i),i.stack=r.stack),this._resyncElements(e),(o||s!==i._stacked)&&K8(this,i._parsed)}configure(){const e=this.chart.config,i=e.datasetScopeKeys(this._type),r=e.getOptionScopes(this.getDataset(),i,!0);this.options=e.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,i){const{_cachedMeta:r,_data:o}=this,{iScale:s,_stacked:a}=r,l=s.axis;let m,g,b,d=0===e&&i===o.length||r._sorted,f=e>0&&r._parsed[e-1];if(!1===this._parsing)r._parsed=o,r._sorted=!0,b=o;else{b=bi(o[e])?this.parseArrayData(r,o,e,i):Cn(o[e])?this.parseObjectData(r,o,e,i):this.parsePrimitiveData(r,o,e,i);const M=()=>null===g[l]||f&&g[l]<f[l];for(m=0;m<i;++m)r._parsed[m+e]=g=b[m],d&&(M()&&(d=!1),f=g);r._sorted=d}a&&K8(this,b)}parsePrimitiveData(e,i,r,o){const{iScale:s,vScale:a}=e,l=s.axis,d=a.axis,f=s.getLabels(),m=s===a,g=new Array(o);let b,M,y;for(b=0,M=o;b<M;++b)y=b+r,g[b]={[l]:m||s.parse(f[y],y),[d]:a.parse(i[y],y)};return g}parseArrayData(e,i,r,o){const{xScale:s,yScale:a}=e,l=new Array(o);let d,f,m,g;for(d=0,f=o;d<f;++d)m=d+r,g=i[m],l[d]={x:s.parse(g[0],m),y:a.parse(g[1],m)};return l}parseObjectData(e,i,r,o){const{xScale:s,yScale:a}=e,{xAxisKey:l="x",yAxisKey:d="y"}=this._parsing,f=new Array(o);let m,g,b,M;for(m=0,g=o;m<g;++m)b=m+r,M=i[b],f[m]={x:s.parse(td(M,l),b),y:a.parse(td(M,d),b)};return f}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,i,r){const s=this._cachedMeta,a=i[e.axis];return Q8({keys:X8(this.chart,!0),values:i._stacks[e.axis]._visualValues},a,s.index,{mode:r})}updateRangeFromParsed(e,i,r,o){const s=r[i.axis];let a=null===s?NaN:s;const l=o&&r._stacks[i.axis];o&&l&&(o.values=l,a=Q8(o,s,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,i){const r=this._cachedMeta,o=r._parsed,s=r._sorted&&e===r.iScale,a=o.length,l=this._getOtherScale(e),d=((t,n,e)=>t&&!n.hidden&&n._stacked&&{keys:X8(this.chart,!0),values:null})(i,r),f={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:m,max:g}=function y1e(t){const{min:n,max:e,minDefined:i,maxDefined:r}=t.getUserBounds();return{min:i?n:Number.NEGATIVE_INFINITY,max:r?e:Number.POSITIVE_INFINITY}}(l);let b,M;function y(){M=o[b];const T=M[l.axis];return!Xi(M[e.axis])||m>T||g<T}for(b=0;b<a&&(y()||(this.updateRangeFromParsed(f,e,M,d),!s));++b);if(s)for(b=a-1;b>=0;--b)if(!y()){this.updateRangeFromParsed(f,e,M,d);break}return f}getAllParsedValues(e){const i=this._cachedMeta._parsed,r=[];let o,s,a;for(o=0,s=i.length;o<s;++o)a=i[o][e.axis],Xi(a)&&r.push(a);return r}getMaxOverflow(){return!1}getLabelAndValue(e){const i=this._cachedMeta,r=i.iScale,o=i.vScale,s=this.getParsed(e);return{label:r?""+r.getLabelForValue(s[r.axis]):"",value:o?""+o.getLabelForValue(s[o.axis]):""}}_update(e){const i=this._cachedMeta;this.update(e||"default"),i._clip=function v1e(t){let n,e,i,r;return Cn(t)?(n=t.top,e=t.right,i=t.bottom,r=t.left):n=e=i=r=t,{top:n,right:e,bottom:i,left:r,disabled:!1===t}}(cn(this.options.clip,function _1e(t,n,e){if(!1===e)return!1;const i=q8(t,e),r=q8(n,e);return{top:r.end,right:i.end,bottom:r.start,left:i.start}}(i.xScale,i.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,r=this._cachedMeta,o=r.data||[],s=this.chart.chartArea,a=[],l=this._drawStart||0,d=this._drawCount||o.length-l,f=this.options.drawActiveElementsOnTop;let m;for(r.dataset&&r.dataset.draw(e,s,l,d),m=l;m<l+d;++m){const g=o[m];g.hidden||(g.active&&f?a.push(g):g.draw(e,s))}for(m=0;m<a.length;++m)a[m].draw(e,s)}getStyle(e,i){const r=i?"active":"default";return void 0===e&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(r):this.resolveDataElementOptions(e||0,r)}getContext(e,i,r){const o=this.getDataset();let s;if(e>=0&&e<this._cachedMeta.data.length){const a=this._cachedMeta.data[e];s=a.$context||(a.$context=function x1e(t,n,e){return rd(t,{active:!1,dataIndex:n,parsed:void 0,raw:void 0,element:e,index:n,mode:"default",type:"data"})}(this.getContext(),e,a)),s.parsed=this.getParsed(e),s.raw=o.data[e],s.index=s.dataIndex=e}else s=this.$context||(this.$context=function C1e(t,n){return rd(t,{active:!1,dataset:void 0,datasetIndex:n,index:n,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),s.dataset=o,s.index=s.datasetIndex=this.index;return s.active=!!i,s.mode=r,s}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,i){return this._resolveElementOptions(this.dataElementType.id,i,e)}_resolveElementOptions(e,i="default",r){const o="active"===i,s=this._cachedDataOpts,a=e+"-"+i,l=s[a],d=this.enableOptionSharing&&pa(r);if(l)return eV(l,d);const f=this.chart.config,m=f.datasetElementScopeKeys(this._type,e),g=o?[`${e}Hover`,"hover",e,""]:[e,""],b=f.getOptionScopes(this.getDataset(),m),M=Object.keys(Ji.elements[e]),T=f.resolveNamedOptions(b,M,()=>this.getContext(r,o,i),g);return T.$shared&&(T.$shared=d,s[a]=Object.freeze(eV(T,d))),T}_resolveAnimations(e,i,r){const o=this.chart,s=this._cachedDataOpts,a=`animation-${i}`,l=s[a];if(l)return l;let d;if(!1!==o.options.animation){const m=this.chart.config,g=m.datasetAnimationScopeKeys(this._type,i),b=m.getOptionScopes(this.getDataset(),g);d=m.createResolver(b,this.getContext(e,r,i))}const f=new $8(o,d&&d.animations);return d&&d._cacheable&&(s[a]=Object.freeze(f)),f}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,i){return!i||Lw(e)||this.chart._animationsDisabled}_getSharedOptions(e,i){const r=this.resolveDataElementOptions(e,i),o=this._sharedOptions,s=this.getSharedOptions(r),a=this.includeOptions(i,s)||s!==o;return this.updateSharedOptions(s,i,r),{sharedOptions:s,includeOptions:a}}updateElement(e,i,r,o){Lw(o)?Object.assign(e,r):this._resolveAnimations(i,o).update(e,r)}updateSharedOptions(e,i,r){e&&!Lw(i)&&this._resolveAnimations(void 0,i).update(e,r)}_setStyle(e,i,r,o){e.active=o;const s=this.getStyle(i,o);this._resolveAnimations(i,r,o).update(e,{options:!o&&this.getSharedOptions(s)||s})}removeHoverStyle(e,i,r){this._setStyle(e,r,"active",!1)}setHoverStyle(e,i,r){this._setStyle(e,r,"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 i=this._data,r=this._cachedMeta.data;for(const[l,d,f]of this._syncList)this[l](d,f);this._syncList=[];const o=r.length,s=i.length,a=Math.min(s,o);a&&this.parse(0,a),s>o?this._insertElements(o,s-o,e):s<o&&this._removeElements(s,o-s)}_insertElements(e,i,r=!0){const o=this._cachedMeta,s=o.data,a=e+i;let l;const d=f=>{for(f.length+=i,l=f.length-1;l>=a;l--)f[l]=f[l-i]};for(d(s),l=e;l<a;++l)s[l]=new this.dataElementType;this._parsing&&d(o._parsed),this.parse(e,i),r&&this.updateElements(s,e,i,"reset")}updateElements(e,i,r,o){}_removeElements(e,i){const r=this._cachedMeta;if(this._parsing){const o=r._parsed.splice(e,i);r._stacked&&f_(r,o)}r.data.splice(e,i)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[i,r,o]=e;this[i](r,o)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,i){i&&this._sync(["_removeElements",e,i]);const r=arguments.length-2;r&&this._sync(["_insertElements",e,r])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}return bt(t,"defaults",{}),bt(t,"datasetElementType",null),bt(t,"dataElementType",null),t})();function E1e(t){const n=t.iScale,e=function w1e(t,n){if(!t._cache.$bar){const e=t.getMatchingVisibleMetas(n);let i=[];for(let r=0,o=e.length;r<o;r++)i=i.concat(e[r].controller.getAllParsedValues(t));t._cache.$bar=h8(i.sort((r,o)=>r-o))}return t._cache.$bar}(n,t.type);let r,o,s,a,i=n._length;const l=()=>{32767===s||-32768===s||(pa(a)&&(i=Math.min(i,Math.abs(s-a)||i)),a=s)};for(r=0,o=e.length;r<o;++r)s=n.getPixelForValue(e[r]),l();for(a=void 0,r=0,o=n.ticks.length;r<o;++r)s=n.getPixelForTick(r),l();return i}function tV(t,n,e,i){return bi(t)?function A1e(t,n,e,i){const r=e.parse(t[0],i),o=e.parse(t[1],i),s=Math.min(r,o),a=Math.max(r,o);let l=s,d=a;Math.abs(s)>Math.abs(a)&&(l=a,d=s),n[e.axis]=d,n._custom={barStart:l,barEnd:d,start:r,end:o,min:s,max:a}}(t,n,e,i):n[e.axis]=e.parse(t,i),n}function nV(t,n,e,i){const r=t.iScale,o=t.vScale,s=r.getLabels(),a=r===o,l=[];let d,f,m,g;for(d=e,f=e+i;d<f;++d)g=n[d],m={},m[r.axis]=a||r.parse(s[d],d),l.push(tV(g,m,o,d));return l}function Pw(t){return t&&void 0!==t.barStart&&void 0!==t.barEnd}function N1e(t,n,e,i){let r=n.borderSkipped;const o={};if(!r)return void(t.borderSkipped=o);if(!0===r)return void(t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:s,end:a,reverse:l,top:d,bottom:f}=function F1e(t){let n,e,i,r,o;return t.horizontal?(n=t.base>t.x,e="left",i="right"):(n=t.base<t.y,e="bottom",i="top"),n?(r="end",o="start"):(r="start",o="end"),{start:e,end:i,reverse:n,top:r,bottom:o}}(t);"middle"===r&&e&&(t.enableBorderRadius=!0,(e._top||0)===i?r=d:(e._bottom||0)===i?r=f:(o[iV(f,s,a,l)]=!0,r=d)),o[iV(r,s,a,l)]=!0,t.borderSkipped=o}function iV(t,n,e,i){return i?(t=function O1e(t,n,e){return t===n?e:t===e?n:t}(t,n,e),t=rV(t,e,n)):t=rV(t,n,e),t}function rV(t,n,e){return"start"===t?n:"end"===t?e:t}function I1e(t,{inflateAmount:n},e){t.inflateAmount="auto"===n?1===e?.33:0:n}let L1e=(()=>{class t extends od{parsePrimitiveData(e,i,r,o){return nV(e,i,r,o)}parseArrayData(e,i,r,o){return nV(e,i,r,o)}parseObjectData(e,i,r,o){const{iScale:s,vScale:a}=e,{xAxisKey:l="x",yAxisKey:d="y"}=this._parsing,f="x"===s.axis?l:d,m="x"===a.axis?l:d,g=[];let b,M,y,T;for(b=r,M=r+o;b<M;++b)T=i[b],y={},y[s.axis]=s.parse(td(T,f),b),g.push(tV(td(T,m),y,a,b));return g}updateRangeFromParsed(e,i,r,o){super.updateRangeFromParsed(e,i,r,o);const s=r._custom;s&&i===this._cachedMeta.vScale&&(e.min=Math.min(e.min,s.min),e.max=Math.max(e.max,s.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const i=this._cachedMeta,{iScale:r,vScale:o}=i,s=this.getParsed(e),a=s._custom,l=Pw(a)?"["+a.start+", "+a.end+"]":""+o.getLabelForValue(s[o.axis]);return{label:""+r.getLabelForValue(s[r.axis]),value:l}}initialize(){this.enableOptionSharing=!0,super.initialize(),this._cachedMeta.stack=this.getDataset().stack}update(e){const i=this._cachedMeta;this.updateElements(i.data,0,i.data.length,e)}updateElements(e,i,r,o){const s="reset"===o,{index:a,_cachedMeta:{vScale:l}}=this,d=l.getBasePixel(),f=l.isHorizontal(),m=this._getRuler(),{sharedOptions:g,includeOptions:b}=this._getSharedOptions(i,o);for(let M=i;M<i+r;M++){const y=this.getParsed(M),T=s||An(y[l.axis])?{base:d,head:d}:this._calculateBarValuePixels(M),k=this._calculateBarIndexPixels(M,m),O=(y._stacks||{})[l.axis],N={horizontal:f,base:T.base,enableBorderRadius:!O||Pw(y._custom)||a===O._top||a===O._bottom,x:f?T.head:k.center,y:f?k.center:T.head,height:f?k.size:Math.abs(T.size),width:f?Math.abs(T.size):k.size};b&&(N.options=g||this.resolveDataElementOptions(M,e[M].active?"active":o));const H=N.options||e[M].options;N1e(N,H,O,a),I1e(N,H,m.ratio),this.updateElement(e[M],M,N,o)}}_getStacks(e,i){const{iScale:r}=this._cachedMeta,o=r.getMatchingVisibleMetas(this._type).filter(d=>d.controller.options.grouped),s=r.options.stacked,a=[],l=d=>{const f=d.controller.getParsed(i),m=f&&f[d.vScale.axis];if(An(m)||isNaN(m))return!0};for(const d of o)if((void 0===i||!l(d))&&((!1===s||-1===a.indexOf(d.stack)||void 0===s&&void 0===d.stack)&&a.push(d.stack),d.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,i,r){const o=this._getStacks(e,r),s=void 0!==i?o.indexOf(i):-1;return-1===s?o.length-1:s}_getRuler(){const e=this.options,i=this._cachedMeta,r=i.iScale,o=[];let s,a;for(s=0,a=i.data.length;s<a;++s)o.push(r.getPixelForValue(this.getParsed(s)[r.axis],s));const l=e.barThickness;return{min:l||E1e(i),pixels:o,start:r._startPixel,end:r._endPixel,stackCount:this._getStackCount(),scale:r,grouped:e.grouped,ratio:l?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:i,_stacked:r,index:o},options:{base:s,minBarLength:a}}=this,l=s||0,d=this.getParsed(e),f=d._custom,m=Pw(f);let y,T,g=d[i.axis],b=0,M=r?this.applyStack(i,d,r):g;M!==g&&(b=M-g,M=g),m&&(g=f.barStart,M=f.barEnd-f.barStart,0!==g&&hl(g)!==hl(f.barEnd)&&(b=0),b+=g);const k=An(s)||m?b:s;let O=i.getPixelForValue(k);if(y=this.chart.getDataVisibility(e)?i.getPixelForValue(b+M):O,T=y-O,Math.abs(T)<a){T=function R1e(t,n,e){return 0!==t?hl(t):(n.isHorizontal()?1:-1)*(n.min>=e?1:-1)}(T,i,l)*a,g===l&&(O-=T/2);const N=i.getPixelForDecimal(0),H=i.getPixelForDecimal(1),U=Math.min(N,H),Q=Math.max(N,H);O=Math.max(Math.min(O,Q),U),y=O+T,r&&!m&&(d._stacks[i.axis]._visualValues[o]=i.getValueForPixel(y)-i.getValueForPixel(O))}if(O===i.getPixelForValue(l)){const N=hl(T)*i.getLineWidthForValue(l)/2;O+=N,T-=N}return{size:T,base:O,head:y,center:y+T/2}}_calculateBarIndexPixels(e,i){const r=i.scale,o=this.options,s=o.skipNull,a=cn(o.maxBarThickness,1/0);let l,d;if(i.grouped){const f=s?this._getStackCount(e):i.stackCount,m="flex"===o.barThickness?function k1e(t,n,e,i){const r=n.pixels,o=r[t];let s=t>0?r[t-1]:null,a=t<r.length-1?r[t+1]:null;const l=e.categoryPercentage;null===s&&(s=o-(null===a?n.end-n.start:a-o)),null===a&&(a=o+o-s);const d=o-(o-Math.min(s,a))/2*l;return{chunk:Math.abs(a-s)/2*l/i,ratio:e.barPercentage,start:d}}(e,i,o,f):function S1e(t,n,e,i){const r=e.barThickness;let o,s;return An(r)?(o=n.min*e.categoryPercentage,s=e.barPercentage):(o=r*i,s=1),{chunk:o/i,ratio:s,start:n.pixels[t]-o/2}}(e,i,o,f),g=this._getStackIndex(this.index,this._cachedMeta.stack,s?e:void 0);l=m.start+m.chunk*g+m.chunk/2,d=Math.min(a,m.chunk*m.ratio)}else l=r.getPixelForValue(this.getParsed(e)[r.axis],e),d=Math.min(a,i.min*i.ratio);return{base:l-d/2,head:l+d/2,center:l,size:d}}draw(){const e=this._cachedMeta,i=e.vScale,r=e.data,o=r.length;let s=0;for(;s<o;++s)null!==this.getParsed(s)[i.axis]&&r[s].draw(this._ctx)}}return bt(t,"id","bar"),bt(t,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),bt(t,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}}),t})(),P1e=(()=>{class t extends od{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(e,i,r,o){const s=super.parsePrimitiveData(e,i,r,o);for(let a=0;a<s.length;a++)s[a]._custom=this.resolveDataElementOptions(a+r).radius;return s}parseArrayData(e,i,r,o){const s=super.parseArrayData(e,i,r,o);for(let a=0;a<s.length;a++)s[a]._custom=cn(i[r+a][2],this.resolveDataElementOptions(a+r).radius);return s}parseObjectData(e,i,r,o){const s=super.parseObjectData(e,i,r,o);for(let a=0;a<s.length;a++){const l=i[r+a];s[a]._custom=cn(l&&l.r&&+l.r,this.resolveDataElementOptions(a+r).radius)}return s}getMaxOverflow(){const e=this._cachedMeta.data;let i=0;for(let r=e.length-1;r>=0;--r)i=Math.max(i,e[r].size(this.resolveDataElementOptions(r))/2);return i>0&&i}getLabelAndValue(e){const i=this._cachedMeta,r=this.chart.data.labels||[],{xScale:o,yScale:s}=i,a=this.getParsed(e),l=o.getLabelForValue(a.x),d=s.getLabelForValue(a.y),f=a._custom;return{label:r[e]||"",value:"("+l+", "+d+(f?", "+f:"")+")"}}update(e){const i=this._cachedMeta.data;this.updateElements(i,0,i.length,e)}updateElements(e,i,r,o){const s="reset"===o,{iScale:a,vScale:l}=this._cachedMeta,{sharedOptions:d,includeOptions:f}=this._getSharedOptions(i,o),m=a.axis,g=l.axis;for(let b=i;b<i+r;b++){const M=e[b],y=!s&&this.getParsed(b),T={},k=T[m]=s?a.getPixelForDecimal(.5):a.getPixelForValue(y[m]),O=T[g]=s?l.getBasePixel():l.getPixelForValue(y[g]);T.skip=isNaN(k)||isNaN(O),f&&(T.options=d||this.resolveDataElementOptions(b,M.active?"active":o),s&&(T.options.radius=0)),this.updateElement(M,b,T,o)}}resolveDataElementOptions(e,i){const r=this.getParsed(e);let o=super.resolveDataElementOptions(e,i);o.$shared&&(o=Object.assign({},o,{$shared:!1}));const s=o.radius;return"active"!==i&&(o.radius=0),o.radius+=cn(r&&r._custom,s),o}}return bt(t,"id","bubble"),bt(t,"defaults",{datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}}),bt(t,"overrides",{scales:{x:{type:"linear"},y:{type:"linear"}}}),t})(),Bw=(()=>{class t extends od{constructor(e,i){super(e,i),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,i){const r=this.getDataset().data,o=this._cachedMeta;if(!1===this._parsing)o._parsed=r;else{let a,l,s=d=>+r[d];if(Cn(r[e])){const{key:d="value"}=this._parsing;s=f=>+td(r[f],d)}for(a=e,l=e+i;a<l;++a)o._parsed[a]=s(a)}}_getRotation(){return La(this.options.rotation-90)}_getCircumference(){return La(this.options.circumference)}_getRotationExtents(){let e=Di,i=-Di;for(let r=0;r<this.chart.data.datasets.length;++r)if(this.chart.isDatasetVisible(r)&&this.chart.getDatasetMeta(r).type===this._type){const o=this.chart.getDatasetMeta(r).controller,s=o._getRotation(),a=o._getCircumference();e=Math.min(e,s),i=Math.max(i,s+a)}return{rotation:e,circumference:i-e}}update(e){const i=this.chart,{chartArea:r}=i,o=this._cachedMeta,s=o.data,a=this.getMaxBorderWidth()+this.getMaxOffset(s)+this.options.spacing,l=Math.max((Math.min(r.width,r.height)-a)/2,0),d=Math.min(((t,n)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:+t/n)(this.options.cutout,l),1),f=this._getRingWeight(this.index),{circumference:m,rotation:g}=this._getRotationExtents(),{ratioX:b,ratioY:M,offsetX:y,offsetY:T}=function B1e(t,n,e){let i=1,r=1,o=0,s=0;if(n<Di){const a=t,l=a+n,d=Math.cos(a),f=Math.sin(a),m=Math.cos(l),g=Math.sin(l),b=(N,H,U)=>o_(N,a,l,!0)?1:Math.max(H,H*e,U,U*e),M=(N,H,U)=>o_(N,a,l,!0)?-1:Math.min(H,H*e,U,U*e),y=b(0,d,m),T=b(Qi,f,g),k=M(Ai,d,m),O=M(Ai+Qi,f,g);i=(y-k)/2,r=(T-O)/2,o=-(y+k)/2,s=-(T+O)/2}return{ratioX:i,ratioY:r,offsetX:o,offsetY:s}}(g,m,d),N=Math.max(Math.min((r.width-a)/b,(r.height-a)/M)/2,0),H=n8(this.options.radius,N),Q=(H-Math.max(H*d,0))/this._getVisibleDatasetWeightTotal();this.offsetX=y*H,this.offsetY=T*H,o.total=this.calculateTotal(),this.outerRadius=H-Q*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-Q*f,0),this.updateElements(s,0,s.length,e)}_circumference(e,i){const r=this.options,o=this._cachedMeta,s=this._getCircumference();return i&&r.animation.animateRotate||!this.chart.getDataVisibility(e)||null===o._parsed[e]||o.data[e].hidden?0:this.calculateCircumference(o._parsed[e]*s/Di)}updateElements(e,i,r,o){const s="reset"===o,a=this.chart,l=a.chartArea,m=(l.left+l.right)/2,g=(l.top+l.bottom)/2,b=s&&a.options.animation.animateScale,M=b?0:this.innerRadius,y=b?0:this.outerRadius,{sharedOptions:T,includeOptions:k}=this._getSharedOptions(i,o);let N,O=this._getRotation();for(N=0;N<i;++N)O+=this._circumference(N,s);for(N=i;N<i+r;++N){const H=this._circumference(N,s),U=e[N],Q={x:m+this.offsetX,y:g+this.offsetY,startAngle:O,endAngle:O+H,circumference:H,outerRadius:y,innerRadius:M};k&&(Q.options=T||this.resolveDataElementOptions(N,U.active?"active":o)),O+=H,this.updateElement(U,N,Q,o)}}calculateTotal(){const e=this._cachedMeta,i=e.data;let o,r=0;for(o=0;o<i.length;o++){const s=e._parsed[o];null!==s&&!isNaN(s)&&this.chart.getDataVisibility(o)&&!i[o].hidden&&(r+=Math.abs(s))}return r}calculateCircumference(e){const i=this._cachedMeta.total;return i>0&&!isNaN(e)?Di*(Math.abs(e)/i):0}getLabelAndValue(e){const r=this.chart,o=r.data.labels||[],s=a_(this._cachedMeta._parsed[e],r.options.locale);return{label:o[e]||"",value:s}}getMaxBorderWidth(e){let i=0;const r=this.chart;let o,s,a,l,d;if(!e)for(o=0,s=r.data.datasets.length;o<s;++o)if(r.isDatasetVisible(o)){a=r.getDatasetMeta(o),e=a.data,l=a.controller;break}if(!e)return 0;for(o=0,s=e.length;o<s;++o)d=l.resolveDataElementOptions(o),"inner"!==d.borderAlign&&(i=Math.max(i,d.borderWidth||0,d.hoverBorderWidth||0));return i}getMaxOffset(e){let i=0;for(let r=0,o=e.length;r<o;++r){const s=this.resolveDataElementOptions(r);i=Math.max(i,s.offset||0,s.hoverOffset||0)}return i}_getRingWeightOffset(e){let i=0;for(let r=0;r<e;++r)this.chart.isDatasetVisible(r)&&(i+=this._getRingWeight(r));return i}_getRingWeight(e){return Math.max(cn(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}return bt(t,"id","doughnut"),bt(t,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),bt(t,"descriptors",{_scriptable:n=>"spacing"!==n,_indexable:n=>"spacing"!==n}),bt(t,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(n){const e=n.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i,color:r}}=n.legend.options;return e.labels.map((o,s)=>{const l=n.getDatasetMeta(0).controller.getStyle(s);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:r,lineWidth:l.borderWidth,pointStyle:i,hidden:!n.getDataVisibility(s),index:s}})}return[]}},onClick(n,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}}}}),t})(),V1e=(()=>{class t extends od{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const i=this._cachedMeta,{dataset:r,data:o=[],_dataset:s}=i,a=this.chart._animationsDisabled;let{start:l,count:d}=g8(i,o,a);this._drawStart=l,this._drawCount=d,_8(i)&&(l=0,d=o.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!s._decimated,r.points=o;const f=this.resolveDatasetElementOptions(e);this.options.showLine||(f.borderWidth=0),f.segment=this.options.segment,this.updateElement(r,void 0,{animated:!a,options:f},e),this.updateElements(o,l,d,e)}updateElements(e,i,r,o){const s="reset"===o,{iScale:a,vScale:l,_stacked:d,_dataset:f}=this._cachedMeta,{sharedOptions:m,includeOptions:g}=this._getSharedOptions(i,o),b=a.axis,M=l.axis,{spanGaps:y,segment:T}=this.options,k=Qh(y)?y:Number.POSITIVE_INFINITY,O=this.chart._animationsDisabled||s||"none"===o,N=i+r,H=e.length;let U=i>0&&this.getParsed(i-1);for(let Q=0;Q<H;++Q){const W=e[Q],J=O?W:{};if(Q<i||Q>=N){J.skip=!0;continue}const ne=this.getParsed(Q),he=An(ne[M]),pe=J[b]=a.getPixelForValue(ne[b],Q),ue=J[M]=s||he?l.getBasePixel():l.getPixelForValue(d?this.applyStack(l,ne,d):ne[M],Q);J.skip=isNaN(pe)||isNaN(ue)||he,J.stop=Q>0&&Math.abs(ne[b]-U[b])>k,T&&(J.parsed=ne,J.raw=f.data[Q]),g&&(J.options=m||this.resolveDataElementOptions(Q,W.active?"active":o)),O||this.updateElement(W,Q,J,o),U=ne}}getMaxOverflow(){const e=this._cachedMeta,i=e.dataset,r=i.options&&i.options.borderWidth||0,o=e.data||[];if(!o.length)return r;const s=o[0].size(this.resolveDataElementOptions(0)),a=o[o.length-1].size(this.resolveDataElementOptions(o.length-1));return Math.max(r,s,a)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}return bt(t,"id","line"),bt(t,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),bt(t,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}}),t})(),oV=(()=>{class t extends od{constructor(e,i){super(e,i),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const r=this.chart,o=r.data.labels||[],s=a_(this._cachedMeta._parsed[e].r,r.options.locale);return{label:o[e]||"",value:s}}parseObjectData(e,i,r,o){return N8.bind(this)(e,i,r,o)}update(e){const i=this._cachedMeta.data;this._updateRadius(),this.updateElements(i,0,i.length,e)}getMinMax(){const i={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return this._cachedMeta.data.forEach((r,o)=>{const s=this.getParsed(o).r;!isNaN(s)&&this.chart.getDataVisibility(o)&&(s<i.min&&(i.min=s),s>i.max&&(i.max=s))}),i}_updateRadius(){const e=this.chart,i=e.chartArea,r=e.options,o=Math.min(i.right-i.left,i.bottom-i.top),s=Math.max(o/2,0),l=(s-Math.max(r.cutoutPercentage?s/100*r.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=s-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(e,i,r,o){const s="reset"===o,a=this.chart,d=a.options.animation,f=this._cachedMeta.rScale,m=f.xCenter,g=f.yCenter,b=f.getIndexAngle(0)-.5*Ai;let y,M=b;const T=360/this.countVisibleElements();for(y=0;y<i;++y)M+=this._computeAngle(y,o,T);for(y=i;y<i+r;y++){const k=e[y];let O=M,N=M+this._computeAngle(y,o,T),H=a.getDataVisibility(y)?f.getDistanceFromCenterForValue(this.getParsed(y).r):0;M=N,s&&(d.animateScale&&(H=0),d.animateRotate&&(O=N=b));const U={x:m,y:g,innerRadius:0,outerRadius:H,startAngle:O,endAngle:N,options:this.resolveDataElementOptions(y,k.active?"active":o)};this.updateElement(k,y,U,o)}}countVisibleElements(){let i=0;return this._cachedMeta.data.forEach((r,o)=>{!isNaN(this.getParsed(o).r)&&this.chart.getDataVisibility(o)&&i++}),i}_computeAngle(e,i,r){return this.chart.getDataVisibility(e)?La(this.resolveDataElementOptions(e,i).angle||r):0}}return bt(t,"id","polarArea"),bt(t,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),bt(t,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(n){const e=n.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i,color:r}}=n.legend.options;return e.labels.map((o,s)=>{const l=n.getDatasetMeta(0).controller.getStyle(s);return{text:o,fillStyle:l.backgroundColor,strokeStyle:l.borderColor,fontColor:r,lineWidth:l.borderWidth,pointStyle:i,hidden:!n.getDataVisibility(s),index:s}})}return[]}},onClick(n,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}}),t})();var H1e=Object.freeze({__proto__:null,BarController:L1e,BubbleController:P1e,DoughnutController:Bw,LineController:V1e,PolarAreaController:oV,PieController:(()=>{class t extends Bw{}return bt(t,"id","pie"),bt(t,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"}),t})(),RadarController:(()=>{class t extends od{getLabelAndValue(e){const i=this._cachedMeta.vScale,r=this.getParsed(e);return{label:i.getLabels()[e],value:""+i.getLabelForValue(r[i.axis])}}parseObjectData(e,i,r,o){return N8.bind(this)(e,i,r,o)}update(e){const i=this._cachedMeta,r=i.dataset,o=i.data||[],s=i.iScale.getLabels();if(r.points=o,"resize"!==e){const a=this.resolveDatasetElementOptions(e);this.options.showLine||(a.borderWidth=0),this.updateElement(r,void 0,{_loop:!0,_fullLoop:s.length===o.length,options:a},e)}this.updateElements(o,0,o.length,e)}updateElements(e,i,r,o){const s=this._cachedMeta.rScale,a="reset"===o;for(let l=i;l<i+r;l++){const d=e[l],f=this.resolveDataElementOptions(l,d.active?"active":o),m=s.getPointPositionForValue(l,this.getParsed(l).r),g=a?s.xCenter:m.x,b=a?s.yCenter:m.y,M={x:g,y:b,angle:m.angle,skip:isNaN(g)||isNaN(b),options:f};this.updateElement(d,l,M,o)}}}return bt(t,"id","radar"),bt(t,"defaults",{datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}}),bt(t,"overrides",{aspectRatio:1,scales:{r:{type:"radialLinear"}}}),t})(),ScatterController:(()=>{class t extends od{getLabelAndValue(e){const i=this._cachedMeta,r=this.chart.data.labels||[],{xScale:o,yScale:s}=i,a=this.getParsed(e),l=o.getLabelForValue(a.x),d=s.getLabelForValue(a.y);return{label:r[e]||"",value:"("+l+", "+d+")"}}update(e){const i=this._cachedMeta,{data:r=[]}=i,o=this.chart._animationsDisabled;let{start:s,count:a}=g8(i,r,o);if(this._drawStart=s,this._drawCount=a,_8(i)&&(s=0,a=r.length),this.options.showLine){const{dataset:l,_dataset:d}=i;l._chart=this.chart,l._datasetIndex=this.index,l._decimated=!!d._decimated,l.points=r;const f=this.resolveDatasetElementOptions(e);f.segment=this.options.segment,this.updateElement(l,void 0,{animated:!o,options:f},e)}this.updateElements(r,s,a,e)}addElements(){const{showLine:e}=this.options;!this.datasetElementType&&e&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(e,i,r,o){const s="reset"===o,{iScale:a,vScale:l,_stacked:d,_dataset:f}=this._cachedMeta,m=this.resolveDataElementOptions(i,o),g=this.getSharedOptions(m),b=this.includeOptions(o,g),M=a.axis,y=l.axis,{spanGaps:T,segment:k}=this.options,O=Qh(T)?T:Number.POSITIVE_INFINITY,N=this.chart._animationsDisabled||s||"none"===o;let H=i>0&&this.getParsed(i-1);for(let U=i;U<i+r;++U){const Q=e[U],W=this.getParsed(U),J=N?Q:{},ne=An(W[y]),he=J[M]=a.getPixelForValue(W[M],U),pe=J[y]=s||ne?l.getBasePixel():l.getPixelForValue(d?this.applyStack(l,W,d):W[y],U);J.skip=isNaN(he)||isNaN(pe)||ne,J.stop=U>0&&Math.abs(W[M]-H[M])>O,k&&(J.parsed=W,J.raw=f.data[U]),b&&(J.options=g||this.resolveDataElementOptions(U,Q.active?"active":o)),N||this.updateElement(Q,U,J,o),H=W}this.updateSharedOptions(g,o,m)}getMaxOverflow(){const e=this._cachedMeta,i=e.data||[];if(!this.options.showLine){let l=0;for(let d=i.length-1;d>=0;--d)l=Math.max(l,i[d].size(this.resolveDataElementOptions(d))/2);return l>0&&l}const r=e.dataset,o=r.options&&r.options.borderWidth||0;if(!i.length)return o;const s=i[0].size(this.resolveDataElementOptions(0)),a=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(o,s,a)/2}}return bt(t,"id","scatter"),bt(t,"defaults",{datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1}),bt(t,"overrides",{interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}}),t})()});function Su(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Vw{static override(n){Object.assign(Vw.prototype,n)}constructor(n){this.options=n||{}}init(){}formats(){return Su()}parse(){return Su()}format(){return Su()}add(){return Su()}diff(){return Su()}startOf(){return Su()}endOf(){return Su()}}var G1e__date=Vw;function j1e(t,n,e,i){const{controller:r,data:o,_sorted:s}=t,a=r._cachedMeta.iScale;if(a&&n===a.axis&&"r"!==n&&s&&o.length){const l=a._reversePixels?l0e:tc;if(!i)return l(o,n,e);if(r._sharedOptions){const d=o[0],f="function"==typeof d.getRange&&d.getRange(n);if(f){const m=l(o,n,e-f),g=l(o,n,e+f);return{lo:m.lo,hi:g.hi}}}}return{lo:0,hi:o.length-1}}function h_(t,n,e,i,r){const o=t.getSortedVisibleDatasetMetas(),s=e[n];for(let a=0,l=o.length;a<l;++a){const{index:d,data:f}=o[a],{lo:m,hi:g}=j1e(o[a],n,s,r);for(let b=m;b<=g;++b){const M=f[b];M.skip||i(M,d,b)}}}function Hw(t,n,e,i,r){const o=[];return!r&&!t.isPointInArea(n)||h_(t,e,n,function(a,l,d){!r&&!c_(a,t.chartArea,0)||a.inRange(n.x,n.y,i)&&o.push({element:a,datasetIndex:l,index:d})},!0),o}function Gw(t,n,e,i,r,o){return o||t.isPointInArea(n)?"r"!==e||i?function W1e(t,n,e,i,r,o){let s=[];const a=function Y1e(t){const n=-1!==t.indexOf("x"),e=-1!==t.indexOf("y");return function(i,r){const o=n?Math.abs(i.x-r.x):0,s=e?Math.abs(i.y-r.y):0;return Math.sqrt(Math.pow(o,2)+Math.pow(s,2))}}(e);let l=Number.POSITIVE_INFINITY;return h_(t,e,n,function d(f,m,g){const b=f.inRange(n.x,n.y,r);if(i&&!b)return;const M=f.getCenterPoint(r);if(!o&&!t.isPointInArea(M)&&!b)return;const T=a(n,M);T<l?(s=[{element:f,datasetIndex:m,index:g}],l=T):T===l&&s.push({element:f,datasetIndex:m,index:g})}),s}(t,n,e,i,r,o):function U1e(t,n,e,i){let r=[];return h_(t,e,n,function o(s,a,l){const{startAngle:d,endAngle:f}=s.getProps(["startAngle","endAngle"],i),{angle:m}=d8(s,{x:n.x,y:n.y});o_(m,d,f)&&r.push({element:s,datasetIndex:a,index:l})}),r}(t,n,e,r):[]}function sV(t,n,e,i,r){const o=[],s="x"===e?"inXRange":"inYRange";let a=!1;return h_(t,e,n,(l,d,f)=>{l[s](n[e],r)&&(o.push({element:l,datasetIndex:d,index:f}),a=a||l.inRange(n.x,n.y,r))}),i&&!a?[]:o}var z1e={evaluateInteractionItems:h_,modes:{index(t,n,e,i){const r=wu(n,t),o=e.axis||"x",s=e.includeInvisible||!1,a=e.intersect?Hw(t,r,o,i,s):Gw(t,r,o,!1,i,s),l=[];return a.length?(t.getSortedVisibleDatasetMetas().forEach(d=>{const f=a[0].index,m=d.data[f];m&&!m.skip&&l.push({element:m,datasetIndex:d.index,index:f})}),l):[]},dataset(t,n,e,i){const r=wu(n,t),o=e.axis||"xy",s=e.includeInvisible||!1;let a=e.intersect?Hw(t,r,o,i,s):Gw(t,r,o,!1,i,s);if(a.length>0){const l=a[0].datasetIndex,d=t.getDatasetMeta(l).data;a=[];for(let f=0;f<d.length;++f)a.push({element:d[f],datasetIndex:l,index:f})}return a},point:(t,n,e,i)=>Hw(t,wu(n,t),e.axis||"xy",i,e.includeInvisible||!1),nearest:(t,n,e,i)=>Gw(t,wu(n,t),e.axis||"xy",e.intersect,i,e.includeInvisible||!1),x:(t,n,e,i)=>sV(t,wu(n,t),"x",e.intersect,i),y:(t,n,e,i)=>sV(t,wu(n,t),"y",e.intersect,i)}};const aV=["left","top","right","bottom"];function p_(t,n){return t.filter(e=>e.pos===n)}function lV(t,n){return t.filter(e=>-1===aV.indexOf(e.pos)&&e.box.axis===n)}function m_(t,n){return t.sort((e,i)=>{const r=n?i:e,o=n?e:i;return r.weight===o.weight?r.index-o.index:r.weight-o.weight})}function cV(t,n,e,i){return Math.max(t[e],n[e])+Math.max(t[i],n[i])}function dV(t,n){t.top=Math.max(t.top,n.top),t.left=Math.max(t.left,n.left),t.bottom=Math.max(t.bottom,n.bottom),t.right=Math.max(t.right,n.right)}function J1e(t,n,e,i){const{pos:r,box:o}=e,s=t.maxPadding;if(!Cn(r)){e.size&&(t[r]-=e.size);const m=i[e.stack]||{size:0,count:1};m.size=Math.max(m.size,e.horizontal?o.height:o.width),e.size=m.size/m.count,t[r]+=e.size}o.getPadding&&dV(s,o.getPadding());const a=Math.max(0,n.outerWidth-cV(s,t,"left","right")),l=Math.max(0,n.outerHeight-cV(s,t,"top","bottom")),d=a!==t.w,f=l!==t.h;return t.w=a,t.h=l,e.horizontal?{same:d,other:f}:{same:f,other:d}}function K1e(t,n){const e=n.maxPadding;return function i(r){const o={left:0,top:0,right:0,bottom:0};return r.forEach(s=>{o[s]=Math.max(n[s],e[s])}),o}(t?["left","right"]:["top","bottom"])}function g_(t,n,e,i){const r=[];let o,s,a,l,d,f;for(o=0,s=t.length,d=0;o<s;++o){a=t[o],l=a.box,l.update(a.width||n.w,a.height||n.h,K1e(a.horizontal,n));const{same:m,other:g}=J1e(n,e,a,i);d|=m&&r.length,f=f||g,l.fullSize||r.push(a)}return d&&g_(r,n,e,i)||f}function Bb(t,n,e,i,r){t.top=e,t.left=n,t.right=n+i,t.bottom=e+r,t.width=i,t.height=r}function uV(t,n,e,i){const r=e.padding;let{x:o,y:s}=n;for(const a of t){const l=a.box,d=i[a.stack]||{count:1,placed:0,weight:1},f=a.stackWeight/d.weight||1;if(a.horizontal){const m=n.w*f,g=d.size||l.height;pa(d.start)&&(s=d.start),l.fullSize?Bb(l,r.left,s,e.outerWidth-r.right-r.left,g):Bb(l,n.left+d.placed,s,m,g),d.start=s,d.placed+=m,s=l.bottom}else{const m=n.h*f,g=d.size||l.width;pa(d.start)&&(o=d.start),l.fullSize?Bb(l,o,r.top,g,e.outerHeight-r.bottom-r.top):Bb(l,o,n.top+d.placed,g,m),d.start=o,d.placed+=m,o=l.right}}n.x=o,n.y=s}var xo={addBox(t,n){t.boxes||(t.boxes=[]),n.fullSize=n.fullSize||!1,n.position=n.position||"top",n.weight=n.weight||0,n._layers=n._layers||function(){return[{z:0,draw(e){n.draw(e)}}]},t.boxes.push(n)},removeBox(t,n){const e=t.boxes?t.boxes.indexOf(n):-1;-1!==e&&t.boxes.splice(e,1)},configure(t,n,e){n.fullSize=e.fullSize,n.position=e.position,n.weight=e.weight},update(t,n,e,i){if(!t)return;const r=Co(t.options.layout.padding),o=Math.max(n-r.width,0),s=Math.max(e-r.height,0),a=function Q1e(t){const n=function $1e(t){const n=[];let e,i,r,o,s,a;for(e=0,i=(t||[]).length;e<i;++e)r=t[e],({position:o,options:{stack:s,stackWeight:a=1}}=r),n.push({index:e,box:r,pos:o,horizontal:r.isHorizontal(),weight:r.weight,stack:s&&o+s,stackWeight:a});return n}(t),e=m_(n.filter(d=>d.box.fullSize),!0),i=m_(p_(n,"left"),!0),r=m_(p_(n,"right")),o=m_(p_(n,"top"),!0),s=m_(p_(n,"bottom")),a=lV(n,"x"),l=lV(n,"y");return{fullSize:e,leftAndTop:i.concat(o),rightAndBottom:r.concat(l).concat(s).concat(a),chartArea:p_(n,"chartArea"),vertical:i.concat(r).concat(l),horizontal:o.concat(s).concat(a)}}(t.boxes),l=a.vertical,d=a.horizontal;Xn(t.boxes,y=>{"function"==typeof y.beforeLayout&&y.beforeLayout()});const f=l.reduce((y,T)=>T.box.options&&!1===T.box.options.display?y:y+1,0)||1,m=Object.freeze({outerWidth:n,outerHeight:e,padding:r,availableWidth:o,availableHeight:s,vBoxMaxWidth:o/2/f,hBoxMaxHeight:s/2}),g=Object.assign({},r);dV(g,Co(i));const b=Object.assign({maxPadding:g,w:o,h:s,x:r.left,y:r.top},r),M=function X1e(t,n){const e=function q1e(t){const n={};for(const e of t){const{stack:i,pos:r,stackWeight:o}=e;if(!i||!aV.includes(r))continue;const s=n[i]||(n[i]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=o}return n}(t),{vBoxMaxWidth:i,hBoxMaxHeight:r}=n;let o,s,a;for(o=0,s=t.length;o<s;++o){a=t[o];const{fullSize:l}=a.box,d=e[a.stack],f=d&&a.stackWeight/d.weight;a.horizontal?(a.width=f?f*i:l&&n.availableWidth,a.height=r):(a.width=i,a.height=f?f*r:l&&n.availableHeight)}return e}(l.concat(d),m);g_(a.fullSize,b,m,M),g_(l,b,m,M),g_(d,b,m,M)&&g_(l,b,m,M),function Z1e(t){const n=t.maxPadding;function e(i){const r=Math.max(n[i]-t[i],0);return t[i]+=r,r}t.y+=e("top"),t.x+=e("left"),e("right"),e("bottom")}(b),uV(a.leftAndTop,b,m,M),b.x+=b.w,b.y+=b.h,uV(a.rightAndBottom,b,m,M),t.chartArea={left:b.left,top:b.top,right:b.left+b.w,bottom:b.top+b.h,height:b.h,width:b.w},Xn(a.chartArea,y=>{const T=y.box;Object.assign(T,t.chartArea),T.update(b.w,b.h,{left:0,top:0,right:0,bottom:0})})}};class fV{acquireContext(n,e){}releaseContext(n){return!1}addEventListener(n,e,i){}removeEventListener(n,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(n,e,i,r){return e=Math.max(0,e||n.width),i=i||n.height,{width:e,height:Math.max(0,r?Math.floor(e/r):i)}}isAttached(n){return!0}updateConfig(n){}}class eve extends fV{acquireContext(n){return n&&n.getContext&&n.getContext("2d")||null}updateConfig(n){n.options.animation=!1}}const Vb="$chartjs",tve={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},hV=t=>null===t||""===t,pV=!!t1e&&{passive:!0};function rve(t,n,e){t.canvas.removeEventListener(n,e,pV)}function Hb(t,n){for(const e of t)if(e===n||e.contains(n))return!0}function sve(t,n,e){const i=t.canvas,r=new MutationObserver(o=>{let s=!1;for(const a of o)s=s||Hb(a.addedNodes,i),s=s&&!Hb(a.removedNodes,i);s&&e()});return r.observe(document,{childList:!0,subtree:!0}),r}function ave(t,n,e){const i=t.canvas,r=new MutationObserver(o=>{let s=!1;for(const a of o)s=s||Hb(a.removedNodes,i),s=s&&!Hb(a.addedNodes,i);s&&e()});return r.observe(document,{childList:!0,subtree:!0}),r}const __=new Map;let mV=0;function gV(){const t=window.devicePixelRatio;t!==mV&&(mV=t,__.forEach((n,e)=>{e.currentDevicePixelRatio!==t&&n()}))}function dve(t,n,e){const i=t.canvas,r=i&&Ow(i);if(!r)return;const o=m8((a,l)=>{const d=r.clientWidth;e(a,l),d<r.clientWidth&&e()},window),s=new ResizeObserver(a=>{const l=a[0],d=l.contentRect.width,f=l.contentRect.height;0===d&&0===f||o(d,f)});return s.observe(r),function lve(t,n){__.size||window.addEventListener("resize",gV),__.set(t,n)}(t,o),s}function jw(t,n,e){e&&e.disconnect(),"resize"===n&&function cve(t){__.delete(t),__.size||window.removeEventListener("resize",gV)}(t)}function uve(t,n,e){const i=t.canvas,r=m8(o=>{null!==t.ctx&&e(function ove(t,n){const e=tve[t.type]||t.type,{x:i,y:r}=wu(t,n);return{type:e,chart:n,native:t,x:void 0!==i?i:null,y:void 0!==r?r:null}}(o,t))},t);return function ive(t,n,e){t.addEventListener(n,e,pV)}(i,n,r),r}class fve extends fV{acquireContext(n,e){const i=n&&n.getContext&&n.getContext("2d");return i&&i.canvas===n?(function nve(t,n){const e=t.style,i=t.getAttribute("height"),r=t.getAttribute("width");if(t[Vb]={initial:{height:i,width:r,style:{display:e.display,height:e.height,width:e.width}}},e.display=e.display||"block",e.boxSizing=e.boxSizing||"border-box",hV(r)){const o=P8(t,"width");void 0!==o&&(t.width=o)}if(hV(i))if(""===t.style.height)t.height=t.width/(n||2);else{const o=P8(t,"height");void 0!==o&&(t.height=o)}}(n,e),i):null}releaseContext(n){const e=n.canvas;if(!e[Vb])return!1;const i=e[Vb].initial;["height","width"].forEach(o=>{const s=i[o];An(s)?e.removeAttribute(o):e.setAttribute(o,s)});const r=i.style||{};return Object.keys(r).forEach(o=>{e.style[o]=r[o]}),e.width=e.width,delete e[Vb],!0}addEventListener(n,e,i){this.removeEventListener(n,e),(n.$proxies||(n.$proxies={}))[e]=({attach:sve,detach:ave,resize:dve}[e]||uve)(n,e,i)}removeEventListener(n,e){const i=n.$proxies||(n.$proxies={}),r=i[e];r&&(({attach:jw,detach:jw,resize:jw}[e]||rve)(n,e,r),i[e]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(n,e,i,r){return function e1e(t,n,e,i){const r=Lb(t),o=Tu(r,"margin"),s=Ib(r.maxWidth,t,"clientWidth")||Sb,a=Ib(r.maxHeight,t,"clientHeight")||Sb,l=function K0e(t,n,e){let i,r;if(void 0===n||void 0===e){const o=Ow(t);if(o){const s=o.getBoundingClientRect(),a=Lb(o),l=Tu(a,"border","width"),d=Tu(a,"padding");n=s.width-d.width-l.width,e=s.height-d.height-l.height,i=Ib(a.maxWidth,o,"clientWidth"),r=Ib(a.maxHeight,o,"clientHeight")}else n=t.clientWidth,e=t.clientHeight}return{width:n,height:e,maxWidth:i||Sb,maxHeight:r||Sb}}(t,n,e);let{width:d,height:f}=l;if("content-box"===r.boxSizing){const g=Tu(r,"border","width"),b=Tu(r,"padding");d-=b.width+g.width,f-=b.height+g.height}return d=Math.max(0,d-o.width),f=Math.max(0,i?d/i:f-o.height),d=Pb(Math.min(d,s,l.maxWidth)),f=Pb(Math.min(f,a,l.maxHeight)),d&&!f&&(f=Pb(d/2)),(void 0!==n||void 0!==e)&&i&&l.height&&f>l.height&&(f=l.height,d=Pb(Math.floor(f*i))),{width:d,height:f}}(n,e,i,r)}isAttached(n){const e=Ow(n);return!(!e||!e.isConnected)}}class Pa{constructor(){bt(this,"active",!1)}tooltipPosition(n){const{x:e,y:i}=this.getProps(["x","y"],n);return{x:e,y:i}}hasValue(){return Qh(this.x)&&Qh(this.y)}getProps(n,e){const i=this.$animations;if(!e||!i)return this;const r={};return n.forEach(o=>{r[o]=i[o]&&i[o].active()?i[o]._to:this[o]}),r}}function Gb(t,n,e,i,r){const o=cn(i,0),s=Math.min(cn(r,t.length),t.length);let l,d,f,a=0;for(e=Math.ceil(e),r&&(l=r-i,e=l/Math.floor(l/e)),f=o;f<0;)a++,f=Math.round(o+a*e);for(d=Math.max(o,0);d<s;d++)d===f&&(n.push(t[d]),a++,f=Math.round(o+a*e))}bt(Pa,"defaults",{}),bt(Pa,"defaultRoutes",void 0);const Dve=t=>"left"===t?"right":"right"===t?"left":t,_V=(t,n,e)=>"top"===n||"left"===n?t[n]+e:t[n]-e,vV=(t,n)=>Math.min(n||t,t);function bV(t,n){const e=[],i=t.length/n,r=t.length;let o=0;for(;o<r;o+=i)e.push(t[Math.floor(o)]);return e}function yve(t,n,e){const i=t.ticks.length,r=Math.min(n,i-1),o=t._startPixel,s=t._endPixel,a=1e-6;let d,l=t.getPixelForTick(r);if(!(e&&(d=1===i?Math.max(l-o,s-l):0===n?(t.getPixelForTick(1)-l)/2:(l-t.getPixelForTick(r-1))/2,l+=r<n?d:-d,l<o-a||l>s+a)))return l}function v_(t){return t.drawTicks?t.tickLength:0}function DV(t,n){if(!t.display)return 0;const e=Er(t.font,n),i=Co(t.padding);return(bi(t.text)?t.text.length:1)*e.lineHeight+i.height}function Tve(t,n,e){let i=Tw(t);return(e&&"right"!==n||!e&&"right"===n)&&(i=Dve(i)),i}class ku extends Pa{constructor(n){super(),this.id=n.id,this.type=n.type,this.options=void 0,this.ctx=n.ctx,this.chart=n.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(n){this.options=n.setContext(this.getContext()),this.axis=n.axis,this._userMin=this.parse(n.min),this._userMax=this.parse(n.max),this._suggestedMin=this.parse(n.suggestedMin),this._suggestedMax=this.parse(n.suggestedMax)}parse(n,e){return n}getUserBounds(){let{_userMin:n,_userMax:e,_suggestedMin:i,_suggestedMax:r}=this;return n=Os(n,Number.POSITIVE_INFINITY),e=Os(e,Number.NEGATIVE_INFINITY),i=Os(i,Number.POSITIVE_INFINITY),r=Os(r,Number.NEGATIVE_INFINITY),{min:Os(n,i),max:Os(e,r),minDefined:Xi(n),maxDefined:Xi(e)}}getMinMax(n){let s,{min:e,max:i,minDefined:r,maxDefined:o}=this.getUserBounds();if(r&&o)return{min:e,max:i};const a=this.getMatchingVisibleMetas();for(let l=0,d=a.length;l<d;++l)s=a[l].controller.getMinMax(this,n),r||(e=Math.min(e,s.min)),o||(i=Math.max(i,s.max));return e=o&&e>i?i:e,i=r&&e>i?e:i,{min:Os(e,Os(i,e)),max:Os(i,Os(e,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const n=this.chart.data;return this.options.labels||(this.isHorizontal()?n.xLabels:n.yLabels)||n.labels||[]}getLabelItems(n=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(n))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){di(this.options.beforeUpdate,[this])}update(n,e,i){const{beginAtZero:r,grace:o,ticks:s}=this.options,a=s.sampleSize;this.beforeUpdate(),this.maxWidth=n,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function F0e(t,n,e){const{min:i,max:r}=t,o=n8(n,(r-i)/2),s=(a,l)=>e&&0===a?0:a+l;return{min:s(i,-Math.abs(o)),max:s(r,o)}}(this,o,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=a<this.ticks.length;this._convertTicksToLabels(l?bV(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||"auto"===s.source)&&(this.ticks=function pve(t,n){const e=t.options.ticks,i=function mve(t){const n=t.options.offset,e=t._tickSize();return Math.floor(Math.min(t._length/e+(n?0:1),t._maxLength/e))}(t),r=Math.min(e.maxTicksLimit||i,i),o=e.major.enabled?function _ve(t){const n=[];let e,i;for(e=0,i=t.length;e<i;e++)t[e].major&&n.push(e);return n}(n):[],s=o.length,a=o[0],l=o[s-1],d=[];if(s>r)return function vve(t,n,e,i){let s,r=0,o=e[0];for(i=Math.ceil(i),s=0;s<t.length;s++)s===o&&(n.push(t[s]),r++,o=e[r*i])}(n,d,o,s/r),d;const f=function gve(t,n,e){const i=function bve(t){const n=t.length;let e,i;if(n<2)return!1;for(i=t[0],e=1;e<n;++e)if(t[e]-t[e-1]!==i)return!1;return i}(t),r=n.length/e;if(!i)return Math.max(r,1);const o=function r0e(t){const n=[],e=Math.sqrt(t);let i;for(i=1;i<e;i++)t%i==0&&(n.push(i),n.push(t/i));return e===(0|e)&&n.push(e),n.sort((r,o)=>r-o).pop(),n}(i);for(let s=0,a=o.length-1;s<a;s++){const l=o[s];if(l>r)return l}return Math.max(r,1)}(o,n,r);if(s>0){let m,g;const b=s>1?Math.round((l-a)/(s-1)):null;for(Gb(n,d,f,An(b)?0:a-b,a),m=0,g=s-1;m<g;m++)Gb(n,d,f,o[m],o[m+1]);return Gb(n,d,f,l,An(b)?n.length:l+b),d}return Gb(n,d,f),d}(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e,i,n=this.options.reverse;this.isHorizontal()?(e=this.left,i=this.right):(e=this.top,i=this.bottom,n=!n),this._startPixel=e,this._endPixel=i,this._reversePixels=n,this._length=i-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){di(this.options.afterUpdate,[this])}beforeSetDimensions(){di(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){di(this.options.afterSetDimensions,[this])}_callHooks(n){this.chart.notifyPlugins(n,this.getContext()),di(this.options[n],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){di(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(n){const e=this.options.ticks;let i,r,o;for(i=0,r=n.length;i<r;i++)o=n[i],o.label=di(e.callback,[o.value,i,n],this)}afterTickToLabelConversion(){di(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){di(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const n=this.options,e=n.ticks,i=vV(this.ticks.length,n.ticks.maxTicksLimit),r=e.minRotation||0,o=e.maxRotation;let a,l,d,s=r;if(!this._isVisible()||!e.display||r>=o||i<=1||!this.isHorizontal())return void(this.labelRotation=r);const f=this._getLabelSizes(),m=f.widest.width,g=f.highest.height,b=Gr(this.chart.width-m,0,this.maxWidth);a=n.offset?this.maxWidth/i:b/(i-1),m+6>a&&(a=b/(i-(n.offset?.5:1)),l=this.maxHeight-v_(n.grid)-e.padding-DV(n.title,this.chart.options.font),d=Math.sqrt(m*m+g*g),s=Mw(Math.min(Math.asin(Gr((f.highest.height+6)/a,-1,1)),Math.asin(Gr(l/d,-1,1))-Math.asin(Gr(g/d,-1,1)))),s=Math.max(r,Math.min(o,s))),this.labelRotation=s}afterCalculateLabelRotation(){di(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){di(this.options.beforeFit,[this])}fit(){const n={width:0,height:0},{chart:e,options:{ticks:i,title:r,grid:o}}=this,s=this._isVisible(),a=this.isHorizontal();if(s){const l=DV(r,e.options.font);if(a?(n.width=this.maxWidth,n.height=v_(o)+l):(n.height=this.maxHeight,n.width=v_(o)+l),i.display&&this.ticks.length){const{first:d,last:f,widest:m,highest:g}=this._getLabelSizes(),b=2*i.padding,M=La(this.labelRotation),y=Math.cos(M),T=Math.sin(M);a?n.height=Math.min(this.maxHeight,n.height+(i.mirror?0:T*m.width+y*g.height)+b):n.width=Math.min(this.maxWidth,n.width+(i.mirror?0:y*m.width+T*g.height)+b),this._calculatePadding(d,f,T,y)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=n.height):(this.width=n.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(n,e,i,r){const{ticks:{align:o,padding:s},position:a}=this.options,l=0!==this.labelRotation,d="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const f=this.getPixelForTick(0)-this.left,m=this.right-this.getPixelForTick(this.ticks.length-1);let g=0,b=0;l?d?(g=r*n.width,b=i*e.height):(g=i*n.height,b=r*e.width):"start"===o?b=e.width:"end"===o?g=n.width:"inner"!==o&&(g=n.width/2,b=e.width/2),this.paddingLeft=Math.max((g-f+s)*this.width/(this.width-f),0),this.paddingRight=Math.max((b-m+s)*this.width/(this.width-m),0)}else{let f=e.height/2,m=n.height/2;"start"===o?(f=0,m=n.height):"end"===o&&(f=e.height,m=0),this.paddingTop=f+s,this.paddingBottom=m+s}}_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(){di(this.options.afterFit,[this])}isHorizontal(){const{axis:n,position:e}=this.options;return"top"===e||"bottom"===e||"x"===n}isFullSize(){return this.options.fullSize}_convertTicksToLabels(n){let e,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(n),e=0,i=n.length;e<i;e++)An(n[e].label)&&(n.splice(e,1),i--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let n=this._labelSizes;if(!n){const e=this.options.ticks.sampleSize;let i=this.ticks;e<i.length&&(i=bV(i,e)),this._labelSizes=n=this._computeLabelSizes(i,i.length,this.options.ticks.maxTicksLimit)}return n}_computeLabelSizes(n,e,i){const{ctx:r,_longestTextCache:o}=this,s=[],a=[],l=Math.floor(e/vV(e,i));let m,g,b,M,y,T,k,O,N,H,U,d=0,f=0;for(m=0;m<e;m+=l){if(M=n[m].label,y=this._resolveTickFontOptions(m),r.font=T=y.string,k=o[T]=o[T]||{data:{},gc:[]},O=y.lineHeight,N=H=0,An(M)||bi(M)){if(bi(M))for(g=0,b=M.length;g<b;++g)U=M[g],!An(U)&&!bi(U)&&(N=Rb(r,k.data,k.gc,N,U),H+=O)}else N=Rb(r,k.data,k.gc,N,M),H=O;s.push(N),a.push(H),d=Math.max(N,d),f=Math.max(H,f)}!function Mve(t,n){Xn(t,e=>{const i=e.gc,r=i.length/2;let o;if(r>n){for(o=0;o<r;++o)delete e.data[i[o]];i.splice(0,r)}})}(o,e);const Q=s.indexOf(d),W=a.indexOf(f),J=ne=>({width:s[ne]||0,height:a[ne]||0});return{first:J(0),last:J(e-1),widest:J(Q),highest:J(W),widths:s,heights:a}}getLabelForValue(n){return n}getPixelForValue(n,e){return NaN}getValueForPixel(n){}getPixelForTick(n){const e=this.ticks;return n<0||n>e.length-1?null:this.getPixelForValue(e[n].value)}getPixelForDecimal(n){this._reversePixels&&(n=1-n);const e=this._startPixel+n*this._length;return function a0e(t){return Gr(t,-32768,32767)}(this._alignToPixels?Mu(this.chart,e,0):e)}getDecimalForPixel(n){const e=(n-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:n,max:e}=this;return n<0&&e<0?e:n>0&&e>0?n:0}getContext(n){const e=this.ticks||[];if(n>=0&&n<e.length){const i=e[n];return i.$context||(i.$context=function xve(t,n,e){return rd(t,{tick:e,index:n,type:"tick"})}(this.getContext(),n,i))}return this.$context||(this.$context=function Cve(t,n){return rd(t,{scale:n,type:"scale"})}(this.chart.getContext(),this))}_tickSize(){const n=this.options.ticks,e=La(this.labelRotation),i=Math.abs(Math.cos(e)),r=Math.abs(Math.sin(e)),o=this._getLabelSizes(),s=n.autoSkipPadding||0,a=o?o.widest.width+s:0,l=o?o.highest.height+s:0;return this.isHorizontal()?l*i>a*r?a/i:l/r:l*r<a*i?l/i:a/r}_isVisible(){const n=this.options.display;return"auto"!==n?!!n:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(n){const e=this.axis,i=this.chart,r=this.options,{grid:o,position:s,border:a}=r,l=o.offset,d=this.isHorizontal(),m=this.ticks.length+(l?1:0),g=v_(o),b=[],M=a.setContext(this.getContext()),y=M.display?M.width:0,T=y/2,k=function(be){return Mu(i,be,y)};let O,N,H,U,Q,W,J,ne,he,pe,ue,Ie;if("top"===s)O=k(this.bottom),W=this.bottom-g,ne=O-T,pe=k(n.top)+T,Ie=n.bottom;else if("bottom"===s)O=k(this.top),pe=n.top,Ie=k(n.bottom)-T,W=O+T,ne=this.top+g;else if("left"===s)O=k(this.right),Q=this.right-g,J=O-T,he=k(n.left)+T,ue=n.right;else if("right"===s)O=k(this.left),he=n.left,ue=k(n.right)-T,Q=O+T,J=this.left+g;else if("x"===e){if("center"===s)O=k((n.top+n.bottom)/2+.5);else if(Cn(s)){const be=Object.keys(s)[0];O=k(this.chart.scales[be].getPixelForValue(s[be]))}pe=n.top,Ie=n.bottom,W=O+T,ne=W+g}else if("y"===e){if("center"===s)O=k((n.left+n.right)/2);else if(Cn(s)){const be=Object.keys(s)[0];O=k(this.chart.scales[be].getPixelForValue(s[be]))}Q=O-T,J=Q-g,he=n.left,ue=n.right}const Qe=cn(r.ticks.maxTicksLimit,m),Ve=Math.max(1,Math.ceil(m/Qe));for(N=0;N<m;N+=Ve){const be=this.getContext(N),Ce=o.setContext(be),Ue=a.setContext(be),Ae=Ce.lineWidth,it=Ce.color,Le=Ue.dash||[],se=Ue.dashOffset,_e=Ce.tickWidth,le=Ce.tickColor,de=Ce.tickBorderDash||[],Se=Ce.tickBorderDashOffset;H=yve(this,N,l),void 0!==H&&(U=Mu(i,H,Ae),d?Q=J=he=ue=U:W=ne=pe=Ie=U,b.push({tx1:Q,ty1:W,tx2:J,ty2:ne,x1:he,y1:pe,x2:ue,y2:Ie,width:Ae,color:it,borderDash:Le,borderDashOffset:se,tickWidth:_e,tickColor:le,tickBorderDash:de,tickBorderDashOffset:Se}))}return this._ticksLength=m,this._borderValue=O,b}_computeLabelItems(n){const e=this.axis,i=this.options,{position:r,ticks:o}=i,s=this.isHorizontal(),a=this.ticks,{align:l,crossAlign:d,padding:f,mirror:m}=o,g=v_(i.grid),b=g+f,M=m?-f:b,y=-La(this.labelRotation),T=[];let k,O,N,H,U,Q,W,J,ne,he,pe,ue,Ie="middle";if("top"===r)Q=this.bottom-M,W=this._getXAxisLabelAlignment();else if("bottom"===r)Q=this.top+M,W=this._getXAxisLabelAlignment();else if("left"===r){const Ve=this._getYAxisLabelAlignment(g);W=Ve.textAlign,U=Ve.x}else if("right"===r){const Ve=this._getYAxisLabelAlignment(g);W=Ve.textAlign,U=Ve.x}else if("x"===e){if("center"===r)Q=(n.top+n.bottom)/2+b;else if(Cn(r)){const Ve=Object.keys(r)[0];Q=this.chart.scales[Ve].getPixelForValue(r[Ve])+b}W=this._getXAxisLabelAlignment()}else if("y"===e){if("center"===r)U=(n.left+n.right)/2-b;else if(Cn(r)){const Ve=Object.keys(r)[0];U=this.chart.scales[Ve].getPixelForValue(r[Ve])}W=this._getYAxisLabelAlignment(g).textAlign}"y"===e&&("start"===l?Ie="top":"end"===l&&(Ie="bottom"));const Qe=this._getLabelSizes();for(k=0,O=a.length;k<O;++k){N=a[k],H=N.label;const Ve=o.setContext(this.getContext(k));J=this.getPixelForTick(k)+o.labelOffset,ne=this._resolveTickFontOptions(k),he=ne.lineHeight,pe=bi(H)?H.length:1;const be=pe/2,Ce=Ve.color,Ue=Ve.textStrokeColor,Ae=Ve.textStrokeWidth;let Le,it=W;if(s?(U=J,"inner"===W&&(it=k===O-1?this.options.reverse?"left":"right":0===k?this.options.reverse?"right":"left":"center"),ue="top"===r?"near"===d||0!==y?-pe*he+he/2:"center"===d?-Qe.highest.height/2-be*he+he:he/2-Qe.highest.height:"near"===d||0!==y?he/2:"center"===d?Qe.highest.height/2-be*he:Qe.highest.height-pe*he,m&&(ue*=-1),0!==y&&!Ve.showLabelBackdrop&&(U+=he/2*Math.sin(y))):(Q=J,ue=(1-pe)*he/2),Ve.showLabelBackdrop){const se=Co(Ve.backdropPadding),_e=Qe.heights[k],le=Qe.widths[k];let de=ue-se.top,Se=0-se.left;switch(Ie){case"middle":de-=_e/2;break;case"bottom":de-=_e}switch(W){case"center":Se-=le/2;break;case"right":Se-=le}Le={left:Se,top:de,width:le+se.width,height:_e+se.height,color:Ve.backdropColor}}T.push({label:H,font:ne,textOffset:ue,options:{rotation:y,color:Ce,strokeColor:Ue,strokeWidth:Ae,textAlign:it,textBaseline:Ie,translation:[U,Q],backdrop:Le}})}return T}_getXAxisLabelAlignment(){const{position:n,ticks:e}=this.options;if(-La(this.labelRotation))return"top"===n?"left":"right";let r="center";return"start"===e.align?r="left":"end"===e.align?r="right":"inner"===e.align&&(r="inner"),r}_getYAxisLabelAlignment(n){const{position:e,ticks:{crossAlign:i,mirror:r,padding:o}}=this.options,a=n+o,l=this._getLabelSizes().widest.width;let d,f;return"left"===e?r?(f=this.right+o,"near"===i?d="left":"center"===i?(d="center",f+=l/2):(d="right",f+=l)):(f=this.right-a,"near"===i?d="right":"center"===i?(d="center",f-=l/2):(d="left",f=this.left)):"right"===e?r?(f=this.left+o,"near"===i?d="right":"center"===i?(d="center",f-=l/2):(d="left",f-=l)):(f=this.left+a,"near"===i?d="left":"center"===i?(d="center",f+=l/2):(d="right",f=this.right)):d="right",{textAlign:d,x:f}}_computeLabelArea(){if(this.options.ticks.mirror)return;const n=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:n.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:n.width}:void 0}drawBackground(){const{ctx:n,options:{backgroundColor:e},left:i,top:r,width:o,height:s}=this;e&&(n.save(),n.fillStyle=e,n.fillRect(i,r,o,s),n.restore())}getLineWidthForValue(n){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const r=this.ticks.findIndex(o=>o.value===n);return r>=0?e.setContext(this.getContext(r)).lineWidth:0}drawGrid(n){const e=this.options.grid,i=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(n));let o,s;const a=(l,d,f)=>{!f.width||!f.color||(i.save(),i.lineWidth=f.width,i.strokeStyle=f.color,i.setLineDash(f.borderDash||[]),i.lineDashOffset=f.borderDashOffset,i.beginPath(),i.moveTo(l.x,l.y),i.lineTo(d.x,d.y),i.stroke(),i.restore())};if(e.display)for(o=0,s=r.length;o<s;++o){const l=r[o];e.drawOnChartArea&&a({x:l.x1,y:l.y1},{x:l.x2,y:l.y2},l),e.drawTicks&&a({x:l.tx1,y:l.ty1},{x:l.tx2,y:l.ty2},{color:l.tickColor,width:l.tickWidth,borderDash:l.tickBorderDash,borderDashOffset:l.tickBorderDashOffset})}}drawBorder(){const{chart:n,ctx:e,options:{border:i,grid:r}}=this,o=i.setContext(this.getContext()),s=i.display?o.width:0;if(!s)return;const a=r.setContext(this.getContext(0)).lineWidth,l=this._borderValue;let d,f,m,g;this.isHorizontal()?(d=Mu(n,this.left,s)-s/2,f=Mu(n,this.right,a)+a/2,m=g=l):(m=Mu(n,this.top,s)-s/2,g=Mu(n,this.bottom,a)+a/2,d=f=l),e.save(),e.lineWidth=o.width,e.strokeStyle=o.color,e.beginPath(),e.moveTo(d,m),e.lineTo(f,g),e.stroke(),e.restore()}drawLabels(n){if(!this.options.ticks.display)return;const i=this.ctx,r=this._computeLabelArea();r&&Fb(i,r);const o=this.getLabelItems(n);for(const s of o)Cu(i,s.label,0,s.textOffset,s.font,s.options);r&&Nb(i)}drawTitle(){const{ctx:n,options:{position:e,title:i,reverse:r}}=this;if(!i.display)return;const o=Er(i.font),s=Co(i.padding),a=i.align;let l=o.lineHeight/2;"bottom"===e||"center"===e||Cn(e)?(l+=s.bottom,bi(i.text)&&(l+=o.lineHeight*(i.text.length-1))):l+=s.top;const{titleX:d,titleY:f,maxWidth:m,rotation:g}=function wve(t,n,e,i){const{top:r,left:o,bottom:s,right:a,chart:l}=t,{chartArea:d,scales:f}=l;let g,b,M,m=0;const y=s-r,T=a-o;if(t.isHorizontal()){if(b=Mo(i,o,a),Cn(e)){const k=Object.keys(e)[0];M=f[k].getPixelForValue(e[k])+y-n}else M="center"===e?(d.bottom+d.top)/2+y-n:_V(t,e,n);g=a-o}else{if(Cn(e)){const k=Object.keys(e)[0];b=f[k].getPixelForValue(e[k])-T+n}else b="center"===e?(d.left+d.right)/2-T+n:_V(t,e,n);M=Mo(i,s,r),m="left"===e?-Qi:Qi}return{titleX:b,titleY:M,maxWidth:g,rotation:m}}(this,l,e,a);Cu(n,i.text,0,0,o,{color:i.color,maxWidth:m,rotation:g,textAlign:Tve(a,e,r),textBaseline:"middle",translation:[d,f]})}draw(n){this._isVisible()&&(this.drawBackground(),this.drawGrid(n),this.drawBorder(),this.drawTitle(),this.drawLabels(n))}_layers(){const n=this.options,e=n.ticks&&n.ticks.z||0,i=cn(n.grid&&n.grid.z,-1),r=cn(n.border&&n.border.z,0);return this._isVisible()&&this.draw===ku.prototype.draw?[{z:i,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:r,draw:()=>{this.drawBorder()}},{z:e,draw:o=>{this.drawLabels(o)}}]:[{z:e,draw:o=>{this.draw(o)}}]}getMatchingVisibleMetas(n){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",r=[];let o,s;for(o=0,s=e.length;o<s;++o){const a=e[o];a[i]===this.id&&(!n||a.type===n)&&r.push(a)}return r}_resolveTickFontOptions(n){return Er(this.options.ticks.setContext(this.getContext(n)).font)}_maxDigits(){const n=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/n}}class jb{constructor(n,e,i){this.type=n,this.scope=e,this.override=i,this.items=Object.create(null)}isForType(n){return Object.prototype.isPrototypeOf.call(this.type.prototype,n.prototype)}register(n){const e=Object.getPrototypeOf(n);let i;(function kve(t){return"id"in t&&"defaults"in t})(e)&&(i=this.register(e));const r=this.items,o=n.id,s=this.scope+"."+o;if(!o)throw new Error("class does not have id: "+n);return o in r||(r[o]=n,function Eve(t,n,e){const i=n_(Object.create(null),[e?Ji.get(e):{},Ji.get(n),t.defaults]);Ji.set(n,i),t.defaultRoutes&&function Sve(t,n){Object.keys(n).forEach(e=>{const i=e.split("."),r=i.pop(),o=[t].concat(i).join("."),s=n[e].split("."),a=s.pop(),l=s.join(".");Ji.route(o,r,l,a)})}(n,t.defaultRoutes),t.descriptors&&Ji.describe(n,t.descriptors)}(n,s,i),this.override&&Ji.override(n.id,n.overrides)),s}get(n){return this.items[n]}unregister(n){const e=this.items,i=n.id,r=this.scope;i in e&&delete e[i],r&&i in Ji[r]&&(delete Ji[r][i],this.override&&delete yu[i])}}class Ave{constructor(){this.controllers=new jb(od,"datasets",!0),this.elements=new jb(Pa,"elements"),this.plugins=new jb(Object,"plugins"),this.scales=new jb(ku,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...n){this._each("register",n)}remove(...n){this._each("unregister",n)}addControllers(...n){this._each("register",n,this.controllers)}addElements(...n){this._each("register",n,this.elements)}addPlugins(...n){this._each("register",n,this.plugins)}addScales(...n){this._each("register",n,this.scales)}getController(n){return this._get(n,this.controllers,"controller")}getElement(n){return this._get(n,this.elements,"element")}getPlugin(n){return this._get(n,this.plugins,"plugin")}getScale(n){return this._get(n,this.scales,"scale")}removeControllers(...n){this._each("unregister",n,this.controllers)}removeElements(...n){this._each("unregister",n,this.elements)}removePlugins(...n){this._each("unregister",n,this.plugins)}removeScales(...n){this._each("unregister",n,this.scales)}_each(n,e,i){[...e].forEach(r=>{const o=i||this._getRegistryForType(r);i||o.isForType(r)||o===this.plugins&&r.id?this._exec(n,o,r):Xn(r,s=>{const a=i||this._getRegistryForType(s);this._exec(n,a,s)})})}_exec(n,e,i){const r=yw(n);di(i["before"+r],[],i),e[n](i),di(i["after"+r],[],i)}_getRegistryForType(n){for(let e=0;e<this._typedRegistries.length;e++){const i=this._typedRegistries[e];if(i.isForType(n))return i}return this.plugins}_get(n,e,i){const r=e.get(n);if(void 0===r)throw new Error('"'+n+'" is not a registered '+i+".");return r}}var pl=new Ave;class Rve{constructor(){this._init=[]}notify(n,e,i,r){"beforeInit"===e&&(this._init=this._createDescriptors(n,!0),this._notify(this._init,n,"install"));const o=r?this._descriptors(n).filter(r):this._descriptors(n),s=this._notify(o,n,e,i);return"afterDestroy"===e&&(this._notify(o,n,"stop"),this._notify(this._init,n,"uninstall")),s}_notify(n,e,i,r){r=r||{};for(const o of n){const s=o.plugin;if(!1===di(s[i],[e,r,o.options],s)&&r.cancelable)return!1}return!0}invalidate(){An(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(n){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(n);return this._notifyStateChanges(n),e}_createDescriptors(n,e){const i=n&&n.config,r=cn(i.options&&i.options.plugins,{}),o=function Fve(t){const n={},e=[],i=Object.keys(pl.plugins.items);for(let o=0;o<i.length;o++)e.push(pl.getPlugin(i[o]));const r=t.plugins||[];for(let o=0;o<r.length;o++){const s=r[o];-1===e.indexOf(s)&&(e.push(s),n[s.id]=!0)}return{plugins:e,localIds:n}}(i);return!1!==r||e?function Ove(t,{plugins:n,localIds:e},i,r){const o=[],s=t.getContext();for(const a of n){const l=a.id,d=Nve(i[l],r);null!==d&&o.push({plugin:a,options:Ive(t.config,{plugin:a,local:e[l]},d,s)})}return o}(n,o,r,e):[]}_notifyStateChanges(n){const e=this._oldCache||[],i=this._cache,r=(o,s)=>o.filter(a=>!s.some(l=>a.plugin.id===l.plugin.id));this._notify(r(e,i),n,"stop"),this._notify(r(i,e),n,"start")}}function Nve(t,n){return n||!1!==t?!0===t?{}:t:null}function Ive(t,{plugin:n,local:e},i,r){const o=t.pluginScopeKeys(n),s=t.getOptionScopes(i,o);return e&&n.defaults&&s.push(n.defaults),t.createResolver(s,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Yw(t,n){return((n.datasets||{})[t]||{}).indexAxis||n.indexAxis||(Ji.datasets[t]||{}).indexAxis||"x"}function Yb(t,n){if("x"===t||"y"===t||"r"===t||(t=n.axis||function Bve(t){return"top"===t||"bottom"===t?"x":"left"===t||"right"===t?"y":void 0}(n.position)||t.length>1&&Yb(t[0].toLowerCase(),n)))return t;throw new Error(`Cannot determine type of '${name}' axis. Please provide 'axis' or 'position' option.`)}function yV(t){const n=t.options||(t.options={});n.plugins=cn(n.plugins,{}),n.scales=function Vve(t,n){const e=yu[t.type]||{scales:{}},i=n.scales||{},r=Yw(t.type,n),o=Object.create(null);return Object.keys(i).forEach(s=>{const a=i[s];if(!Cn(a))return console.error(`Invalid scale configuration for scale: ${s}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const l=Yb(s,a),d=function Pve(t,n){return t===n?"_index_":"_value_"}(l,r),f=e.scales||{};o[s]=i_(Object.create(null),[{axis:l},a,f[l],f[d]])}),t.data.datasets.forEach(s=>{const a=s.type||t.type,l=s.indexAxis||Yw(a,n),f=(yu[a]||{}).scales||{};Object.keys(f).forEach(m=>{const g=function Lve(t,n){let e=t;return"_index_"===t?e=n:"_value_"===t&&(e="x"===n?"y":"x"),e}(m,l),b=s[g+"AxisID"]||g;o[b]=o[b]||Object.create(null),i_(o[b],[{axis:g},i[b],f[m]])})}),Object.keys(o).forEach(s=>{const a=o[s];i_(a,[Ji.scales[a.type],Ji.scale])}),o}(t,n)}function MV(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const CV=new Map,xV=new Set;function Ub(t,n){let e=CV.get(t);return e||(e=n(),CV.set(t,e),xV.add(e)),e}const b_=(t,n,e)=>{const i=td(n,e);void 0!==i&&t.add(i)};class Gve{constructor(n){this._config=function Hve(t){return(t=t||{}).data=MV(t.data),yV(t),t}(n),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(n){this._config.type=n}get data(){return this._config.data}set data(n){this._config.data=MV(n)}get options(){return this._config.options}set options(n){this._config.options=n}get plugins(){return this._config.plugins}update(){const n=this._config;this.clearCache(),yV(n)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(n){return Ub(n,()=>[[`datasets.${n}`,""]])}datasetAnimationScopeKeys(n,e){return Ub(`${n}.transition.${e}`,()=>[[`datasets.${n}.transitions.${e}`,`transitions.${e}`],[`datasets.${n}`,""]])}datasetElementScopeKeys(n,e){return Ub(`${n}-${e}`,()=>[[`datasets.${n}.elements.${e}`,`datasets.${n}`,`elements.${e}`,""]])}pluginScopeKeys(n){const e=n.id;return Ub(`${this.type}-plugin-${e}`,()=>[[`plugins.${e}`,...n.additionalOptionScopes||[]]])}_cachedScopes(n,e){const i=this._scopeCache;let r=i.get(n);return(!r||e)&&(r=new Map,i.set(n,r)),r}getOptionScopes(n,e,i){const{options:r,type:o}=this,s=this._cachedScopes(n,i),a=s.get(e);if(a)return a;const l=new Set;e.forEach(f=>{n&&(l.add(n),f.forEach(m=>b_(l,n,m))),f.forEach(m=>b_(l,r,m)),f.forEach(m=>b_(l,yu[o]||{},m)),f.forEach(m=>b_(l,Ji,m)),f.forEach(m=>b_(l,Ew,m))});const d=Array.from(l);return 0===d.length&&d.push(Object.create(null)),xV.has(e)&&s.set(e,d),d}chartOptionScopes(){const{options:n,type:e}=this;return[n,yu[e]||{},Ji.datasets[e]||{},{type:e},Ji,Ew]}resolveNamedOptions(n,e,i,r=[""]){const o={$shared:!0},{resolver:s,subPrefixes:a}=TV(this._resolverCache,n,r);let l=s;(function Yve(t,n){const{isScriptable:e,isIndexable:i}=E8(t);for(const r of n){const o=e(r),s=i(r),a=(s||o)&&t[r];if(o&&(nd(a)||jve(a))||s&&bi(a))return!0}return!1})(s,e)&&(o.$shared=!1,l=Jh(s,i=nd(i)?i():i,this.createResolver(n,i,a)));for(const d of e)o[d]=l[d];return o}createResolver(n,e,i=[""],r){const{resolver:o}=TV(this._resolverCache,n,i);return Cn(e)?Jh(o,e,void 0,r):o}}function TV(t,n,e){let i=t.get(n);i||(i=new Map,t.set(n,i));const r=e.join();let o=i.get(r);return o||(o={resolver:Rw(n,e),subPrefixes:e.filter(a=>!a.toLowerCase().includes("hover"))},i.set(r,o)),o}const jve=t=>Cn(t)&&Object.getOwnPropertyNames(t).reduce((n,e)=>n||nd(t[e]),!1),Wve=["top","bottom","left","right","chartArea"];function wV(t,n){return"top"===t||"bottom"===t||-1===Wve.indexOf(t)&&"x"===n}function EV(t,n){return function(e,i){return e[t]===i[t]?e[n]-i[n]:e[t]-i[t]}}function SV(t){const n=t.chart,e=n.options.animation;n.notifyPlugins("afterRender"),di(e&&e.onComplete,[t],n)}function zve(t){const n=t.chart,e=n.options.animation;di(e&&e.onProgress,[t],n)}function kV(t){return I8()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const Wb={},AV=t=>{const n=kV(t);return Object.values(Wb).filter(e=>e.canvas===n).pop()};function $ve(t,n,e){const i=Object.keys(t);for(const r of i){const o=+r;if(o>=n){const s=t[r];delete t[r],(e>0||o>n)&&(t[o+e]=s)}}}let zb=(()=>{class t{static register(...e){pl.add(...e),RV()}static unregister(...e){pl.remove(...e),RV()}constructor(e,i){const r=this.config=new Gve(i),o=kV(e),s=AV(o);if(s)throw new Error("Canvas is already in use. Chart with ID '"+s.id+"' must be destroyed before the canvas with ID '"+s.canvas.id+"' can be reused.");const a=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||function hve(t){return!I8()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?eve:fve}(o)),this.platform.updateConfig(r);const l=this.platform.acquireContext(o,a.aspectRatio),d=l&&l.canvas,f=d&&d.height,m=d&&d.width;this.id=X_e(),this.ctx=l,this.canvas=d,this.width=m,this.height=f,this._options=a,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 Rve,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function u0e(t,n){let e;return function(...i){return n?(clearTimeout(e),e=setTimeout(t,n,i)):t.apply(this,i),n}}(g=>this.update(g),a.resizeDelay||0),this._dataChanges=[],Wb[this.id]=this,l&&d?(nc.listen(this,"complete",SV),nc.listen(this,"progress",zve),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:i},width:r,height:o,_aspectRatio:s}=this;return An(e)?i&&s?s:o?r/o: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}get registry(){return pl}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():L8(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return x8(this.canvas,this.ctx),this}stop(){return nc.stop(this),this}resize(e,i){nc.running(this)?this._resizeBeforeDraw={width:e,height:i}:this._resize(e,i)}_resize(e,i){const r=this.options,a=this.platform.getMaximumSize(this.canvas,e,i,r.maintainAspectRatio&&this.aspectRatio),l=r.devicePixelRatio||this.platform.getDevicePixelRatio(),d=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,L8(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),di(r.onResize,[this,a],this),this.attached&&this._doResize(d)&&this.render())}ensureScalesHaveIDs(){Xn(this.options.scales||{},(r,o)=>{r.id=o})}buildOrUpdateScales(){const e=this.options,i=e.scales,r=this.scales,o=Object.keys(r).reduce((a,l)=>(a[l]=!1,a),{});let s=[];i&&(s=s.concat(Object.keys(i).map(a=>{const l=i[a],d=Yb(a,l),f="r"===d,m="x"===d;return{options:l,dposition:f?"chartArea":m?"bottom":"left",dtype:f?"radialLinear":m?"category":"linear"}}))),Xn(s,a=>{const l=a.options,d=l.id,f=Yb(d,l),m=cn(l.type,a.dtype);(void 0===l.position||wV(l.position,f)!==wV(a.dposition))&&(l.position=a.dposition),o[d]=!0;let g=null;d in r&&r[d].type===m?g=r[d]:(g=new(pl.getScale(m))({id:d,type:m,ctx:this.ctx,chart:this}),r[g.id]=g),g.init(l,e)}),Xn(o,(a,l)=>{a||delete r[l]}),Xn(r,a=>{xo.configure(this,a,a.options),xo.addBox(this,a)})}_updateMetasets(){const e=this._metasets,i=this.data.datasets.length,r=e.length;if(e.sort((o,s)=>o.index-s.index),r>i){for(let o=i;o<r;++o)this._destroyDatasetMeta(o);e.splice(i,r-i)}this._sortedMetasets=e.slice(0).sort(EV("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:i}}=this;e.length>i.length&&delete this._stacks,e.forEach((r,o)=>{0===i.filter(s=>s===r._dataset).length&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){const e=[],i=this.data.datasets;let r,o;for(this._removeUnreferencedMetasets(),r=0,o=i.length;r<o;r++){const s=i[r];let a=this.getDatasetMeta(r);const l=s.type||this.config.type;if(a.type&&a.type!==l&&(this._destroyDatasetMeta(r),a=this.getDatasetMeta(r)),a.type=l,a.indexAxis=s.indexAxis||Yw(l,this.options),a.order=s.order||0,a.index=r,a.label=""+s.label,a.visible=this.isDatasetVisible(r),a.controller)a.controller.updateIndex(r),a.controller.linkScales();else{const d=pl.getController(l),{datasetElementType:f,dataElementType:m}=Ji.datasets[l];Object.assign(d,{dataElementType:pl.getElement(m),datasetElementType:f&&pl.getElement(f)}),a.controller=new d(this,r),e.push(a.controller)}}return this._updateMetasets(),e}_resetElements(){Xn(this.data.datasets,(e,i)=>{this.getDatasetMeta(i).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const i=this.config;i.update();const r=this._options=i.createResolver(i.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const s=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let f=0,m=this.data.datasets.length;f<m;f++){const{controller:g}=this.getDatasetMeta(f),b=!o&&-1===s.indexOf(g);g.buildOrUpdateElements(b),a=Math.max(+g.getMaxOverflow(),a)}a=this._minPadding=r.layout.autoPadding?a:0,this._updateLayout(a),o||Xn(s,f=>{f.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(EV("z","_idx"));const{_active:l,_lastEvent:d}=this;d?this._eventHandler(d,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){Xn(this.scales,e=>{xo.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,i=new Set(Object.keys(this._listeners)),r=new Set(e.events);(!o8(i,r)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,i=this._getUniformDataChanges()||[];for(const{method:r,start:o,count:s}of i)$ve(e,o,"_removeElements"===r?-s:s)}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const i=this.data.datasets.length,r=s=>new Set(e.filter(a=>a[0]===s).map((a,l)=>l+","+a.splice(1).join(","))),o=r(0);for(let s=1;s<i;s++)if(!o8(o,r(s)))return;return Array.from(o).map(s=>s.split(",")).map(s=>({method:s[1],start:+s[2],count:+s[3]}))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;xo.update(this,this.width,this.height,e);const i=this.chartArea,r=i.width<=0||i.height<=0;this._layers=[],Xn(this.boxes,o=>{r&&"chartArea"===o.position||(o.configure&&o.configure(),this._layers.push(...o._layers()))},this),this._layers.forEach((o,s)=>{o._idx=s}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let i=0,r=this.data.datasets.length;i<r;++i)this.getDatasetMeta(i).controller.configure();for(let i=0,r=this.data.datasets.length;i<r;++i)this._updateDataset(i,nd(e)?e({datasetIndex:i}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,i){const r=this.getDatasetMeta(e),o={meta:r,index:e,mode:i,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",o)&&(r.controller._update(i),o.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",o))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(nc.has(this)?this.attached&&!nc.running(this)&&nc.start(this):(this.draw(),SV({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:r,height:o}=this._resizeBeforeDraw;this._resize(r,o),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const i=this._layers;for(e=0;e<i.length&&i[e].z<=0;++e)i[e].draw(this.chartArea);for(this._drawDatasets();e<i.length;++e)i[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const i=this._sortedMetasets,r=[];let o,s;for(o=0,s=i.length;o<s;++o){const a=i[o];(!e||a.visible)&&r.push(a)}return r}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const e=this.getSortedVisibleDatasetMetas();for(let i=e.length-1;i>=0;--i)this._drawDataset(e[i]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const i=this.ctx,r=e._clip,o=!r.disabled,s=function Xve(t){const{xScale:n,yScale:e}=t;if(n&&e)return{left:n.left,right:n.right,top:e.top,bottom:e.bottom}}(e)||this.chartArea,a={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",a)&&(o&&Fb(i,{left:!1===r.left?0:s.left-r.left,right:!1===r.right?this.width:s.right+r.right,top:!1===r.top?0:s.top-r.top,bottom:!1===r.bottom?this.height:s.bottom+r.bottom}),e.controller.draw(),o&&Nb(i),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return c_(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,i,r,o){const s=z1e.modes[i];return"function"==typeof s?s(this,e,r,o):[]}getDatasetMeta(e){const i=this.data.datasets[e],r=this._metasets;let o=r.filter(s=>s&&s._dataset===i).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:i&&i.order||0,index:e,_dataset:i,_parsed:[],_sorted:!1},r.push(o)),o}getContext(){return this.$context||(this.$context=rd(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const i=this.data.datasets[e];if(!i)return!1;const r=this.getDatasetMeta(e);return"boolean"==typeof r.hidden?!r.hidden:!i.hidden}setDatasetVisibility(e,i){this.getDatasetMeta(e).hidden=!i}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,i,r){const o=r?"show":"hide",s=this.getDatasetMeta(e),a=s.controller._resolveAnimations(void 0,o);pa(i)?(s.data[i].hidden=!r,this.update()):(this.setDatasetVisibility(e,r),a.update(s,{visible:r}),this.update(l=>l.datasetIndex===e?o:void 0))}hide(e,i){this._updateVisibility(e,i,!1)}show(e,i){this._updateVisibility(e,i,!0)}_destroyDatasetMeta(e){const i=this._metasets[e];i&&i.controller&&i.controller._destroy(),delete this._metasets[e]}_stop(){let e,i;for(this.stop(),nc.remove(this),e=0,i=this.data.datasets.length;e<i;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:i}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),x8(e,i),this.platform.releaseContext(i),this.canvas=null,this.ctx=null),delete Wb[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,i=this.platform,r=(s,a)=>{i.addEventListener(this,s,a),e[s]=a},o=(s,a,l)=>{s.offsetX=a,s.offsetY=l,this._eventHandler(s)};Xn(this.options.events,s=>r(s,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,i=this.platform,r=(d,f)=>{i.addEventListener(this,d,f),e[d]=f},o=(d,f)=>{e[d]&&(i.removeEventListener(this,d,f),delete e[d])},s=(d,f)=>{this.canvas&&this.resize(d,f)};let a;const l=()=>{o("attach",l),this.attached=!0,this.resize(),r("resize",s),r("detach",a)};a=()=>{this.attached=!1,o("resize",s),this._stop(),this._resize(0,0),r("attach",l)},i.isAttached(this.canvas)?l():a()}unbindEvents(){Xn(this._listeners,(e,i)=>{this.platform.removeEventListener(this,i,e)}),this._listeners={},Xn(this._responsiveListeners,(e,i)=>{this.platform.removeEventListener(this,i,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,i,r){const o=r?"set":"remove";let s,a,l,d;for("dataset"===i&&(s=this.getDatasetMeta(e[0].datasetIndex),s.controller["_"+o+"DatasetHoverStyle"]()),l=0,d=e.length;l<d;++l){a=e[l];const f=a&&this.getDatasetMeta(a.datasetIndex).controller;f&&f[o+"HoverStyle"](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const i=this._active||[],r=e.map(({datasetIndex:s,index:a})=>{const l=this.getDatasetMeta(s);if(!l)throw new Error("No dataset found at index "+s);return{datasetIndex:s,element:l.data[a],index:a}});!wb(r,i)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,i))}notifyPlugins(e,i,r){return this._plugins.notify(this,e,i,r)}isPluginEnabled(e){return 1===this._plugins._cache.filter(i=>i.plugin.id===e).length}_updateHoverStyles(e,i,r){const o=this.options.hover,s=(d,f)=>d.filter(m=>!f.some(g=>m.datasetIndex===g.datasetIndex&&m.index===g.index)),a=s(i,e),l=r?e:s(e,i);a.length&&this.updateHoverStyle(a,o.mode,!1),l.length&&o.mode&&this.updateHoverStyle(l,o.mode,!0)}_eventHandler(e,i){const r={event:e,replay:i,cancelable:!0,inChartArea:this.isPointInArea(e)},o=a=>(a.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",r,o))return;const s=this._handleEvent(e,i,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,o),(s||r.changed)&&this.render(),this}_handleEvent(e,i,r){const{_active:o=[],options:s}=this,l=this._getActiveElements(e,o,r,i),d=function t0e(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}(e),f=function qve(t,n,e,i){return e&&"mouseout"!==t.type?i?n:t:null}(e,this._lastEvent,r,d);r&&(this._lastEvent=null,di(s.onHover,[e,l,this],this),d&&di(s.onClick,[e,l,this],this));const m=!wb(l,o);return(m||i)&&(this._active=l,this._updateHoverStyles(l,o,i)),this._lastEvent=f,m}_getActiveElements(e,i,r,o){if("mouseout"===e.type)return[];if(!r)return i;const s=this.options.hover;return this.getElementsAtEventForMode(e,s.mode,s,o)}}return bt(t,"defaults",Ji),bt(t,"instances",Wb),bt(t,"overrides",yu),bt(t,"registry",pl),bt(t,"version","4.2.1"),bt(t,"getChart",AV),t})();function RV(){return Xn(zb.instances,t=>t._plugins.invalidate())}function ep(t,n,e,i){return{x:e+t*Math.cos(n),y:i+t*Math.sin(n)}}function $b(t,n,e,i,r,o){const{x:s,y:a,startAngle:l,pixelMargin:d,innerRadius:f}=n,m=Math.max(n.outerRadius+i+e-d,0),g=f>0?f+i+e+d:0;let b=0;const M=r-l;if(i){const Ce=((f>0?f-i:0)+(m>0?m-i:0))/2;b=(M-(0!==Ce?M*Ce/(Ce+i):M))/2}const T=(M-Math.max(.001,M*m-e/Ai)/m)/2,k=l+T+b,O=r-T-b,{outerStart:N,outerEnd:H,innerStart:U,innerEnd:Q}=function Zve(t,n,e,i){const r=function Jve(t){return Aw(t,["outerStart","outerEnd","innerStart","innerEnd"])}(t.options.borderRadius),o=(e-n)/2,s=Math.min(o,i*n/2),a=l=>{const d=(e-Math.min(o,l))*i/2;return Gr(l,0,Math.min(o,d))};return{outerStart:a(r.outerStart),outerEnd:a(r.outerEnd),innerStart:Gr(r.innerStart,0,s),innerEnd:Gr(r.innerEnd,0,s)}}(n,g,m,O-k),W=m-N,J=m-H,ne=k+N/W,he=O-H/J,pe=g+U,ue=g+Q,Ie=k+U/pe,Qe=O-Q/ue;if(t.beginPath(),o){const Ve=(ne+he)/2;if(t.arc(s,a,m,ne,Ve),t.arc(s,a,m,Ve,he),H>0){const Ae=ep(J,he,s,a);t.arc(Ae.x,Ae.y,H,he,O+Qi)}const be=ep(ue,O,s,a);if(t.lineTo(be.x,be.y),Q>0){const Ae=ep(ue,Qe,s,a);t.arc(Ae.x,Ae.y,Q,O+Qi,Qe+Math.PI)}const Ce=(O-Q/g+(k+U/g))/2;if(t.arc(s,a,g,O-Q/g,Ce,!0),t.arc(s,a,g,Ce,k+U/g,!0),U>0){const Ae=ep(pe,Ie,s,a);t.arc(Ae.x,Ae.y,U,Ie+Math.PI,k-Qi)}const Ue=ep(W,k,s,a);if(t.lineTo(Ue.x,Ue.y),N>0){const Ae=ep(W,ne,s,a);t.arc(Ae.x,Ae.y,N,k-Qi,ne)}}else{t.moveTo(s,a);const Ve=Math.cos(ne)*m+s,be=Math.sin(ne)*m+a;t.lineTo(Ve,be);const Ce=Math.cos(he)*m+s,Ue=Math.sin(he)*m+a;t.lineTo(Ce,Ue)}t.closePath()}class qb extends Pa{constructor(n){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,n&&Object.assign(this,n)}inRange(n,e,i){const r=this.getProps(["x","y"],i),{angle:o,distance:s}=d8(r,{x:n,y:e}),{startAngle:a,endAngle:l,innerRadius:d,outerRadius:f,circumference:m}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),g=this.options.spacing/2,M=cn(m,l-a)>=Di||o_(o,a,l),y=ec(s,d+g,f+g);return M&&y}getCenterPoint(n){const{x:e,y:i,startAngle:r,endAngle:o,innerRadius:s,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:l,spacing:d}=this.options,f=(r+o)/2,m=(s+a+d+l)/2;return{x:e+Math.cos(f)*m,y:i+Math.sin(f)*m}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:e,circumference:i}=this,r=(e.offset||0)/4,o=(e.spacing||0)/2,s=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=i>Di?Math.floor(i/Di):0,0===i||this.innerRadius<0||this.outerRadius<0)return;n.save();const a=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(a)*r,Math.sin(a)*r);const d=r*(1-Math.sin(Math.min(Ai,i||0)));n.fillStyle=e.backgroundColor,n.strokeStyle=e.borderColor,function Kve(t,n,e,i,r){const{fullCircles:o,startAngle:s,circumference:a}=n;let l=n.endAngle;if(o){$b(t,n,e,i,l,r);for(let d=0;d<o;++d)t.fill();isNaN(a)||(l=s+(a%Di||Di))}$b(t,n,e,i,l,r),t.fill()}(n,this,d,o,s),function ebe(t,n,e,i,r){const{fullCircles:o,startAngle:s,circumference:a,options:l}=n,{borderWidth:d,borderJoinStyle:f}=l,m="inner"===l.borderAlign;if(!d)return;m?(t.lineWidth=2*d,t.lineJoin=f||"round"):(t.lineWidth=d,t.lineJoin=f||"bevel");let g=n.endAngle;if(o){$b(t,n,e,i,g,r);for(let b=0;b<o;++b)t.stroke();isNaN(a)||(g=s+(a%Di||Di))}m&&function Qve(t,n,e){const{startAngle:i,pixelMargin:r,x:o,y:s,outerRadius:a,innerRadius:l}=n;let d=r/a;t.beginPath(),t.arc(o,s,a,i-d,e+d),l>r?(d=r/l,t.arc(o,s,l,e+d,i-d,!0)):t.arc(o,s,r,e+Qi,i-Qi),t.closePath(),t.clip()}(t,n,g),o||($b(t,n,e,i,g,r),t.stroke())}(n,this,d,o,s),n.restore()}}function FV(t,n,e=n){t.lineCap=cn(e.borderCapStyle,n.borderCapStyle),t.setLineDash(cn(e.borderDash,n.borderDash)),t.lineDashOffset=cn(e.borderDashOffset,n.borderDashOffset),t.lineJoin=cn(e.borderJoinStyle,n.borderJoinStyle),t.lineWidth=cn(e.borderWidth,n.borderWidth),t.strokeStyle=cn(e.borderColor,n.borderColor)}function tbe(t,n,e){t.lineTo(e.x,e.y)}function NV(t,n,e={}){const i=t.length,{start:r=0,end:o=i-1}=e,{start:s,end:a}=n,l=Math.max(r,s),d=Math.min(o,a);return{count:i,start:l,loop:n.loop,ilen:d<l&&!(r<s&&o<s||r>a&&o>a)?i+d-l:d-l}}function ibe(t,n,e,i){const{points:r,options:o}=n,{count:s,start:a,loop:l,ilen:d}=NV(r,e,i),f=function nbe(t){return t.stepped?C0e:t.tension||"monotone"===t.cubicInterpolationMode?x0e:tbe}(o);let b,M,y,{move:m=!0,reverse:g}=i||{};for(b=0;b<=d;++b)M=r[(a+(g?d-b:b))%s],!M.skip&&(m?(t.moveTo(M.x,M.y),m=!1):f(t,y,M,g,o.stepped),y=M);return l&&(M=r[(a+(g?d:0))%s],f(t,y,M,g,o.stepped)),!!l}function rbe(t,n,e,i){const r=n.points,{count:o,start:s,ilen:a}=NV(r,e,i),{move:l=!0,reverse:d}=i||{};let g,b,M,y,T,k,f=0,m=0;const O=H=>(s+(d?a-H:H))%o,N=()=>{y!==T&&(t.lineTo(f,T),t.lineTo(f,y),t.lineTo(f,k))};for(l&&(b=r[O(0)],t.moveTo(b.x,b.y)),g=0;g<=a;++g){if(b=r[O(g)],b.skip)continue;const H=b.x,U=b.y,Q=0|H;Q===M?(U<y?y=U:U>T&&(T=U),f=(m*f+H)/++m):(N(),t.lineTo(H,U),M=Q,m=0,y=T=U),k=U}N()}function Uw(t){const n=t.options;return t._decimated||t._loop||n.tension||"monotone"===n.cubicInterpolationMode||n.stepped||n.borderDash&&n.borderDash.length?ibe:rbe}bt(qb,"id","arc"),bt(qb,"defaults",{borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),bt(qb,"defaultRoutes",{backgroundColor:"backgroundColor"});const lbe="function"==typeof Path2D;let Xb=(()=>{class t extends Pa{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,i){const r=this.options;!r.tension&&"monotone"!==r.cubicInterpolationMode||r.stepped||this._pointsUpdated||(q0e(this._points,r,e,r.spanGaps?this._loop:this._fullLoop,i),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 c1e(t,n){const e=t.points,i=t.options.spanGaps,r=e.length;if(!r)return[];const o=!!t._loop,{start:s,end:a}=function a1e(t,n,e,i){let r=0,o=n-1;if(e&&!i)for(;r<n&&!t[r].skip;)r++;for(;r<n&&t[r].skip;)r++;for(r%=n,e&&(o+=r);o>r&&t[o%n].skip;)o--;return o%=n,{start:r,end:o}}(e,r,o,i);return function U8(t,n,e,i){return i&&i.setContext&&e?function d1e(t,n,e,i){const r=t._chart.getContext(),o=W8(t.options),{_datasetIndex:s,options:{spanGaps:a}}=t,l=e.length,d=[];let f=o,m=n[0].start,g=m;function b(M,y,T,k){const O=a?-1:1;if(M!==y){for(M+=l;e[M%l].skip;)M-=O;for(;e[y%l].skip;)y+=O;M%l!=y%l&&(d.push({start:M%l,end:y%l,loop:T,style:k}),f=k,m=y%l)}}for(const M of n){m=a?m:M.start;let T,y=e[m%l];for(g=m+1;g<=M.end;g++){const k=e[g%l];T=W8(i.setContext(rd(r,{type:"segment",p0:y,p1:k,p0DataIndex:(g-1)%l,p1DataIndex:g%l,datasetIndex:s}))),u1e(T,f)&&b(m,g-1,M.loop,f),y=k,f=T}m<g-1&&b(m,g-1,M.loop,f)}return d}(t,n,e,i):n}(t,!0===i?[{start:s,end:a,loop:o}]:function l1e(t,n,e,i){const r=t.length,o=[];let l,s=n,a=t[n];for(l=n+1;l<=e;++l){const d=t[l%r];d.skip||d.stop?a.skip||(o.push({start:n%r,end:(l-1)%r,loop:i=!1}),n=s=d.stop?l:null):(s=l,a.skip&&(n=l)),a=d}return null!==s&&o.push({start:n%r,end:s%r,loop:i}),o}(e,s,a<s?a+r:a,!!t._fullLoop&&0===s&&a===r-1),e,n)}(this,this.options.segment))}first(){const e=this.segments;return e.length&&this.points[e[0].start]}last(){const e=this.segments,r=e.length;return r&&this.points[e[r-1].end]}interpolate(e,i){const r=this.options,o=e[i],s=this.points,a=Y8(this,{property:i,start:o,end:o});if(!a.length)return;const l=[],d=function obe(t){return t.stepped?n1e:t.tension||"monotone"===t.cubicInterpolationMode?i1e:Eu}(r);let f,m;for(f=0,m=a.length;f<m;++f){const{start:g,end:b}=a[f],M=s[g],y=s[b];if(M===y){l.push(M);continue}const k=d(M,y,Math.abs((o-M[i])/(y[i]-M[i])),r.stepped);k[i]=e[i],l.push(k)}return 1===l.length?l[0]:l}pathSegment(e,i,r){return Uw(this)(e,this,i,r)}path(e,i,r){const o=this.segments,s=Uw(this);let a=this._loop;i=i||0,r=r||this.points.length-i;for(const l of o)a&=s(e,this,l,{start:i,end:i+r-1});return!!a}draw(e,i,r,o){(this.points||[]).length&&(this.options||{}).borderWidth&&(e.save(),function cbe(t,n,e,i){lbe&&!n.options.segment?function sbe(t,n,e,i){let r=n._path;r||(r=n._path=new Path2D,n.path(r,e,i)&&r.closePath()),FV(t,n.options),t.stroke(r)}(t,n,e,i):function abe(t,n,e,i){const{segments:r,options:o}=n,s=Uw(n);for(const a of r)FV(t,o,a.style),t.beginPath(),s(t,n,a,{start:e,end:e+i-1})&&t.closePath(),t.stroke()}(t,n,e,i)}(e,this,r,o),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}return bt(t,"id","line"),bt(t,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),bt(t,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),bt(t,"descriptors",{_scriptable:!0,_indexable:n=>"borderDash"!==n&&"fill"!==n}),t})();function OV(t,n,e,i){const r=t.options,{[e]:o}=t.getProps([e],i);return Math.abs(n-o)<r.radius+r.hitRadius}let dbe=(()=>{class t extends Pa{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,i,r){const o=this.options,{x:s,y:a}=this.getProps(["x","y"],r);return Math.pow(e-s,2)+Math.pow(i-a,2)<Math.pow(o.hitRadius+o.radius,2)}inXRange(e,i){return OV(this,e,"x",i)}inYRange(e,i){return OV(this,e,"y",i)}getCenterPoint(e){const{x:i,y:r}=this.getProps(["x","y"],e);return{x:i,y:r}}size(e){let i=(e=e||this.options||{}).radius||0;return i=Math.max(i,i&&e.hoverRadius||0),2*(i+(i&&e.borderWidth||0))}draw(e,i){const r=this.options;this.skip||r.radius<.1||!c_(this,i,this.size(r)/2)||(e.strokeStyle=r.borderColor,e.lineWidth=r.borderWidth,e.fillStyle=r.backgroundColor,kw(e,r,this.x,this.y))}getRange(){const e=this.options||{};return e.radius+e.hitRadius}}return bt(t,"id","point"),bt(t,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),bt(t,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),t})();function IV(t,n){const{x:e,y:i,base:r,width:o,height:s}=t.getProps(["x","y","base","width","height"],n);let a,l,d,f,m;return t.horizontal?(m=s/2,a=Math.min(e,r),l=Math.max(e,r),d=i-m,f=i+m):(m=o/2,a=e-m,l=e+m,d=Math.min(i,r),f=Math.max(i,r)),{left:a,top:d,right:l,bottom:f}}function sd(t,n,e,i){return t?0:Gr(n,e,i)}function Ww(t,n,e,i){const r=null===n,o=null===e,a=t&&!(r&&o)&&IV(t,i);return a&&(r||ec(n,a.left,a.right))&&(o||ec(e,a.top,a.bottom))}function mbe(t,n){t.rect(n.x,n.y,n.w,n.h)}function zw(t,n,e={}){const i=t.x!==e.x?-n:0,r=t.y!==e.y?-n:0;return{x:t.x+i,y:t.y+r,w:t.w+((t.x+t.w!==e.x+e.w?n:0)-i),h:t.h+((t.y+t.h!==e.y+e.h?n:0)-r),radius:t.radius}}class Qb extends Pa{constructor(n){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,n&&Object.assign(this,n)}draw(n){const{inflateAmount:e,options:{borderColor:i,backgroundColor:r}}=this,{inner:o,outer:s}=function hbe(t){const n=IV(t),e=n.right-n.left,i=n.bottom-n.top,r=function ube(t,n,e){const r=t.borderSkipped,o=w8(t.options.borderWidth);return{t:sd(r.top,o.top,0,e),r:sd(r.right,o.right,0,n),b:sd(r.bottom,o.bottom,0,e),l:sd(r.left,o.left,0,n)}}(t,e/2,i/2),o=function fbe(t,n,e){const{enableBorderRadius:i}=t.getProps(["enableBorderRadius"]),r=t.options.borderRadius,o=xu(r),s=Math.min(n,e),a=t.borderSkipped,l=i||Cn(r);return{topLeft:sd(!l||a.top||a.left,o.topLeft,0,s),topRight:sd(!l||a.top||a.right,o.topRight,0,s),bottomLeft:sd(!l||a.bottom||a.left,o.bottomLeft,0,s),bottomRight:sd(!l||a.bottom||a.right,o.bottomRight,0,s)}}(t,e/2,i/2);return{outer:{x:n.left,y:n.top,w:e,h:i,radius:o},inner:{x:n.left+r.l,y:n.top+r.t,w:e-r.l-r.r,h:i-r.t-r.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(r.t,r.l)),topRight:Math.max(0,o.topRight-Math.max(r.t,r.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(r.b,r.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(r.b,r.r))}}}}(this),a=function pbe(t){return t.topLeft||t.topRight||t.bottomLeft||t.bottomRight}(s.radius)?d_:mbe;n.save(),(s.w!==o.w||s.h!==o.h)&&(n.beginPath(),a(n,zw(s,e,o)),n.clip(),a(n,zw(o,-e,s)),n.fillStyle=i,n.fill("evenodd")),n.beginPath(),a(n,zw(o,e)),n.fillStyle=r,n.fill(),n.restore()}inRange(n,e,i){return Ww(this,n,e,i)}inXRange(n,e){return Ww(this,n,null,e)}inYRange(n,e){return Ww(this,null,n,e)}getCenterPoint(n){const{x:e,y:i,base:r,horizontal:o}=this.getProps(["x","y","base","horizontal"],n);return{x:o?(e+r)/2:e,y:o?i:(i+r)/2}}getRange(n){return"x"===n?this.width/2:this.height/2}}bt(Qb,"id","bar"),bt(Qb,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),bt(Qb,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});var gbe=Object.freeze({__proto__:null,ArcElement:qb,LineElement:Xb,PointElement:dbe,BarElement:Qb});const $w=["rgb(54, 162, 235)","rgb(255, 99, 132)","rgb(255, 159, 64)","rgb(255, 205, 86)","rgb(75, 192, 192)","rgb(153, 102, 255)","rgb(201, 203, 207)"],LV=$w.map(t=>t.replace("rgb(","rgba(").replace(")",", 0.5)"));function PV(t){return $w[t%$w.length]}function BV(t){return LV[t%LV.length]}function VV(t){let n;for(n in t)if(t[n].borderColor||t[n].backgroundColor)return!0;return!1}var Mbe={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(t,n,e){if(!e.enabled)return;const{data:{datasets:i},options:r}=t.config,{elements:o}=r;if(!e.forceOverride&&(VV(i)||function ybe(t){return t&&(t.borderColor||t.backgroundColor)}(r)||o&&VV(o)))return;const s=function Dbe(t){let n=0;return(e,i)=>{const r=t.getDatasetMeta(i).controller;r instanceof Bw?n=function vbe(t,n){return t.backgroundColor=t.data.map(()=>PV(n++)),n}(e,n):r instanceof oV?n=function bbe(t,n){return t.backgroundColor=t.data.map(()=>BV(n++)),n}(e,n):r&&(n=function _be(t,n){return t.borderColor=PV(n),t.backgroundColor=BV(n),++n}(e,n))}}(t);i.forEach(s)}};function HV(t){if(t._decimated){const n=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,writable:!0,value:n})}}function GV(t){t.data.datasets.forEach(n=>{HV(n)})}var wbe={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,n,e)=>{if(!e.enabled)return void GV(t);const i=t.width;t.data.datasets.forEach((r,o)=>{const{_data:s,indexAxis:a}=r,l=t.getDatasetMeta(o),d=s||r.data;if("y"===u_([a,t.options.indexAxis])||!l.controller.supportsDecimation)return;const f=t.scales[l.xAxisID];if("linear"!==f.type&&"time"!==f.type||t.options.parsing)return;let M,{start:m,count:g}=function Tbe(t,n){const e=n.length;let r,i=0;const{iScale:o}=t,{min:s,max:a,minDefined:l,maxDefined:d}=o.getUserBounds();return l&&(i=Gr(tc(n,o.axis,s).lo,0,e-1)),r=d?Gr(tc(n,o.axis,a).hi+1,i,e)-i:e-i,{start:i,count:r}}(l,d);if(g<=(e.threshold||4*i))HV(r);else{switch(An(s)&&(r._data=d,delete r.data,Object.defineProperty(r,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(y){this._data=y}})),e.algorithm){case"lttb":M=function Cbe(t,n,e,i,r){const o=r.samples||i;if(o>=e)return t.slice(n,n+e);const s=[],a=(e-2)/(o-2);let l=0;const d=n+e-1;let m,g,b,M,y,f=n;for(s[l++]=t[f],m=0;m<o-2;m++){let O,T=0,k=0;const N=Math.floor((m+1)*a)+1+n,H=Math.min(Math.floor((m+2)*a)+1,e)+n,U=H-N;for(O=N;O<H;O++)T+=t[O].x,k+=t[O].y;T/=U,k/=U;const Q=Math.floor(m*a)+1+n,W=Math.min(Math.floor((m+1)*a)+1,e)+n,{x:J,y:ne}=t[f];for(b=M=-1,O=Q;O<W;O++)M=.5*Math.abs((J-T)*(t[O].y-ne)-(J-t[O].x)*(k-ne)),M>b&&(b=M,g=t[O],y=O);s[l++]=g,f=y}return s[l++]=t[d],s}(d,m,g,i,e);break;case"min-max":M=function xbe(t,n,e,i){let s,a,l,d,f,m,g,b,M,y,r=0,o=0;const T=[],O=t[n].x,H=t[n+e-1].x-O;for(s=n;s<n+e;++s){a=t[s],l=(a.x-O)/H*i,d=a.y;const U=0|l;if(U===f)d<M?(M=d,m=s):d>y&&(y=d,g=s),r=(o*r+a.x)/++o;else{const Q=s-1;if(!An(m)&&!An(g)){const W=Math.min(m,g),J=Math.max(m,g);W!==b&&W!==Q&&T.push({...t[W],x:r}),J!==b&&J!==Q&&T.push({...t[J],x:r})}s>0&&Q!==b&&T.push(t[Q]),T.push(a),f=U,o=0,M=y=d,m=g=b=s}}return T}(d,m,g,i);break;default:throw new Error(`Unsupported decimation algorithm '${e.algorithm}'`)}r._decimated=M}})},destroy(t){GV(t)}};function qw(t,n,e,i){if(i)return;let r=n[t],o=e[t];return"angle"===t&&(r=Is(r),o=Is(o)),{property:t,start:r,end:o}}function Xw(t,n,e){for(;n>t;n--){const i=e[n];if(!isNaN(i.x)&&!isNaN(i.y))break}return n}function jV(t,n,e,i){return t&&n?i(t[e],n[e]):t?t[e]:n?n[e]:0}function YV(t,n){let e=[],i=!1;return bi(t)?(i=!0,e=t):e=function Sbe(t,n){const{x:e=null,y:i=null}=t||{},r=n.points,o=[];return n.segments.forEach(({start:s,end:a})=>{a=Xw(s,a,r);const l=r[s],d=r[a];null!==i?(o.push({x:l.x,y:i}),o.push({x:d.x,y:i})):null!==e&&(o.push({x:e,y:l.y}),o.push({x:e,y:d.y}))}),o}(t,n),e.length?new Xb({points:e,options:{tension:0},_loop:i,_fullLoop:i}):null}function UV(t){return t&&!1!==t.fill}function kbe(t,n,e){let r=t[n].fill;const o=[n];let s;if(!e)return r;for(;!1!==r&&-1===o.indexOf(r);){if(!Xi(r))return r;if(s=t[r],!s)return!1;if(s.visible)return r;o.push(r),r=s.fill}return!1}function Abe(t,n,e){const i=function Obe(t){const n=t.options,e=n.fill;let i=cn(e&&e.target,e);return void 0===i&&(i=!!n.backgroundColor),!1!==i&&null!==i&&(!0===i?"origin":i)}(t);if(Cn(i))return!isNaN(i.value)&&i;let r=parseFloat(i);return Xi(r)&&Math.floor(r)===r?function Rbe(t,n,e,i){return("-"===t||"+"===t)&&(e=n+e),!(e===n||e<0||e>=i)&&e}(i[0],n,r,e):["origin","start","end","stack","shape"].indexOf(i)>=0&&i}function Pbe(t,n,e){const i=[];for(let r=0;r<e.length;r++){const o=e[r],{first:s,last:a,point:l}=Bbe(o,n,"x");if(!(!l||s&&a))if(s)i.unshift(l);else if(t.push(l),!a)break}t.push(...i)}function Bbe(t,n,e){const i=t.interpolate(n,e);if(!i)return{};const r=i[e],o=t.segments,s=t.points;let a=!1,l=!1;for(let d=0;d<o.length;d++){const f=o[d],m=s[f.start][e],g=s[f.end][e];if(ec(r,m,g)){a=r===m,l=r===g;break}}return{first:a,last:l,point:i}}class WV{constructor(n){this.x=n.x,this.y=n.y,this.radius=n.radius}pathSegment(n,e,i){const{x:r,y:o,radius:s}=this;return n.arc(r,o,s,(e=e||{start:0,end:Di}).end,e.start,!0),!i.bounds}interpolate(n){const{x:e,y:i,radius:r}=this,o=n.angle;return{x:e+Math.cos(o)*r,y:i+Math.sin(o)*r,angle:o}}}function Qw(t,n,e){const i=function Vbe(t){const{chart:n,fill:e,line:i}=t;if(Xi(e))return function Hbe(t,n){const e=t.getDatasetMeta(n);return e&&t.isDatasetVisible(n)?e.dataset:null}(n,e);if("stack"===e)return function Ibe(t){const{scale:n,index:e,line:i}=t,r=[],o=i.segments,s=i.points,a=function Lbe(t,n){const e=[],i=t.getMatchingVisibleMetas("line");for(let r=0;r<i.length;r++){const o=i[r];if(o.index===n)break;o.hidden||e.unshift(o.dataset)}return e}(n,e);a.push(YV({x:null,y:n.bottom},i));for(let l=0;l<o.length;l++){const d=o[l];for(let f=d.start;f<=d.end;f++)Pbe(r,s[f],a)}return new Xb({points:r,options:{}})}(t);if("shape"===e)return!0;const r=function Gbe(t){return(t.scale||{}).getPointPositionForValue?function Ybe(t){const{scale:n,fill:e}=t,i=n.options,r=n.getLabels().length,o=i.reverse?n.max:n.min,s=function Nbe(t,n,e){let i;return i="start"===t?e:"end"===t?n.options.reverse?n.min:n.max:Cn(t)?t.value:n.getBaseValue(),i}(e,n,o),a=[];if(i.grid.circular){const l=n.getPointPositionForValue(0,o);return new WV({x:l.x,y:l.y,radius:n.getDistanceFromCenterForValue(s)})}for(let l=0;l<r;++l)a.push(n.getPointPositionForValue(l,s));return a}(t):function jbe(t){const{scale:n={},fill:e}=t,i=function Fbe(t,n){let e=null;return"start"===t?e=n.bottom:"end"===t?e=n.top:Cn(t)?e=n.getPixelForValue(t.value):n.getBasePixel&&(e=n.getBasePixel()),e}(e,n);if(Xi(i)){const r=n.isHorizontal();return{x:r?i:null,y:r?null:i}}return null}(t)}(t);return r instanceof WV?r:YV(r,i)}(n),{line:r,scale:o,axis:s}=n,a=r.options,l=a.fill,d=a.backgroundColor,{above:f=d,below:m=d}=l||{};i&&r.points.length&&(Fb(t,e),function Ube(t,n){const{line:e,target:i,above:r,below:o,area:s,scale:a}=n,l=e._loop?"angle":n.axis;t.save(),"x"===l&&o!==r&&(zV(t,i,s.top),$V(t,{line:e,target:i,color:r,scale:a,property:l}),t.restore(),t.save(),zV(t,i,s.bottom)),$V(t,{line:e,target:i,color:o,scale:a,property:l}),t.restore()}(t,{line:r,target:i,above:f,below:m,area:e,scale:o,axis:s}),Nb(t))}function zV(t,n,e){const{segments:i,points:r}=n;let o=!0,s=!1;t.beginPath();for(const a of i){const{start:l,end:d}=a,f=r[l],m=r[Xw(l,d,r)];o?(t.moveTo(f.x,f.y),o=!1):(t.lineTo(f.x,e),t.lineTo(f.x,f.y)),s=!!n.pathSegment(t,a,{move:s}),s?t.closePath():t.lineTo(m.x,e)}t.lineTo(n.first().x,e),t.closePath(),t.clip()}function $V(t,n){const{line:e,target:i,property:r,color:o,scale:s}=n,a=function Ebe(t,n,e){const i=t.segments,r=t.points,o=n.points,s=[];for(const a of i){let{start:l,end:d}=a;d=Xw(l,d,r);const f=qw(e,r[l],r[d],a.loop);if(!n.segments){s.push({source:a,target:f,start:r[l],end:r[d]});continue}const m=Y8(n,f);for(const g of m){const b=qw(e,o[g.start],o[g.end],g.loop),M=j8(a,r,b);for(const y of M)s.push({source:y,target:g,start:{[e]:jV(f,b,"start",Math.max)},end:{[e]:jV(f,b,"end",Math.min)}})}}return s}(e,i,r);for(const{source:l,target:d,start:f,end:m}of a){const{style:{backgroundColor:g=o}={}}=l,b=!0!==i;t.save(),t.fillStyle=g,Wbe(t,s,b&&qw(r,f,m)),t.beginPath();const M=!!e.pathSegment(t,l);let y;if(b){M?t.closePath():qV(t,i,m,r);const T=!!i.pathSegment(t,d,{move:M,reverse:!0});y=M&&T,y||qV(t,i,f,r)}t.closePath(),t.fill(y?"evenodd":"nonzero"),t.restore()}}function Wbe(t,n,e){const{top:i,bottom:r}=n.chart.chartArea,{property:o,start:s,end:a}=e||{};"x"===o&&(t.beginPath(),t.rect(s,i,a-s,r-i),t.clip())}function qV(t,n,e,i){const r=n.interpolate(e,i);r&&t.lineTo(r.x,r.y)}var zbe={id:"filler",afterDatasetsUpdate(t,n,e){const i=(t.data.datasets||[]).length,r=[];let o,s,a,l;for(s=0;s<i;++s)o=t.getDatasetMeta(s),a=o.dataset,l=null,a&&a.options&&a instanceof Xb&&(l={visible:t.isDatasetVisible(s),index:s,fill:Abe(a,s,i),chart:t,axis:o.controller.options.indexAxis,scale:o.vScale,line:a}),o.$filler=l,r.push(l);for(s=0;s<i;++s)l=r[s],l&&!1!==l.fill&&(l.fill=kbe(r,s,e.propagate))},beforeDraw(t,n,e){const i="beforeDraw"===e.drawTime,r=t.getSortedVisibleDatasetMetas(),o=t.chartArea;for(let s=r.length-1;s>=0;--s){const a=r[s].$filler;a&&(a.line.updateControlPoints(o,a.axis),i&&a.fill&&Qw(t.ctx,a,o))}},beforeDatasetsDraw(t,n,e){if("beforeDatasetsDraw"!==e.drawTime)return;const i=t.getSortedVisibleDatasetMetas();for(let r=i.length-1;r>=0;--r){const o=i[r].$filler;UV(o)&&Qw(t.ctx,o,t.chartArea)}},beforeDatasetDraw(t,n,e){const i=n.meta.$filler;!UV(i)||"beforeDatasetDraw"!==e.drawTime||Qw(t.ctx,i,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const XV=(t,n)=>{let{boxHeight:e=n,boxWidth:i=n}=t;return t.usePointStyle&&(e=Math.min(e,n),i=t.pointStyleWidth||Math.min(i,n)),{boxWidth:i,boxHeight:e,itemHeight:Math.max(n,e)}};class QV extends Pa{constructor(n){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=n.chart,this.options=n.options,this.ctx=n.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(n,e,i){this.maxWidth=n,this.maxHeight=e,this._margins=i,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 n=this.options.labels||{};let e=di(n.generateLabels,[this.chart],this)||[];n.filter&&(e=e.filter(i=>n.filter(i,this.chart.data))),n.sort&&(e=e.sort((i,r)=>n.sort(i,r,this.chart.data))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:n,ctx:e}=this;if(!n.display)return void(this.width=this.height=0);const i=n.labels,r=Er(i.font),o=r.size,s=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=XV(i,o);let d,f;e.font=r.string,this.isHorizontal()?(d=this.maxWidth,f=this._fitRows(s,o,a,l)+10):(f=this.maxHeight,d=this._fitCols(s,r,a,l)+10),this.width=Math.min(d,n.maxWidth||this.maxWidth),this.height=Math.min(f,n.maxHeight||this.maxHeight)}_fitRows(n,e,i,r){const{ctx:o,maxWidth:s,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],d=this.lineWidths=[0],f=r+a;let m=n;o.textAlign="left",o.textBaseline="middle";let g=-1,b=-f;return this.legendItems.forEach((M,y)=>{const T=i+e/2+o.measureText(M.text).width;(0===y||d[d.length-1]+T+2*a>s)&&(m+=f,d[d.length-(y>0?0:1)]=0,b+=f,g++),l[y]={left:0,top:b,row:g,width:T,height:r},d[d.length-1]+=T+a}),m}_fitCols(n,e,i,r){const{ctx:o,maxHeight:s,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],d=this.columnSizes=[],f=s-n;let m=a,g=0,b=0,M=0,y=0;return this.legendItems.forEach((T,k)=>{const{itemWidth:O,itemHeight:N}=function qbe(t,n,e,i,r){const o=function Xbe(t,n,e,i){let r=t.text;return r&&"string"!=typeof r&&(r=r.reduce((o,s)=>o.length>s.length?o:s)),n+e.size/2+i.measureText(r).width}(i,t,n,e),s=function Qbe(t,n,e){let i=t;return"string"!=typeof n.text&&(i=JV(n,e)),i}(r,i,n.lineHeight);return{itemWidth:o,itemHeight:s}}(i,e,o,T,r);k>0&&b+N+2*a>f&&(m+=g+a,d.push({width:g,height:b}),M+=g+a,y++,g=b=0),l[k]={left:M,top:b,col:y,width:O,height:N},g=Math.max(g,O),b+=N+a}),m+=g,d.push({width:g,height:b}),m}adjustHitBoxes(){if(!this.options.display)return;const n=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:r},rtl:o}}=this,s=Kh(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=Mo(i,this.left+r,this.right-this.lineWidths[a]);for(const d of e)a!==d.row&&(a=d.row,l=Mo(i,this.left+r,this.right-this.lineWidths[a])),d.top+=this.top+n+r,d.left=s.leftForLtr(s.x(l),d.width),l+=d.width+r}else{let a=0,l=Mo(i,this.top+n+r,this.bottom-this.columnSizes[a].height);for(const d of e)d.col!==a&&(a=d.col,l=Mo(i,this.top+n+r,this.bottom-this.columnSizes[a].height)),d.top=l,d.left+=this.left+r,d.left=s.leftForLtr(s.x(d.left),d.width),l+=d.height+r}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const n=this.ctx;Fb(n,this),this._draw(),Nb(n)}}_draw(){const{options:n,columnSizes:e,lineWidths:i,ctx:r}=this,{align:o,labels:s}=n,a=Ji.color,l=Kh(n.rtl,this.left,this.width),d=Er(s.font),{padding:f}=s,m=d.size,g=m/2;let b;this.drawTitle(),r.textAlign=l.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=d.string;const{boxWidth:M,boxHeight:y,itemHeight:T}=XV(s,m),N=this.isHorizontal(),H=this._computeTitleHeight();b=N?{x:Mo(o,this.left+f,this.right-i[0]),y:this.top+f+H,line:0}:{x:this.left+f,y:Mo(o,this.top+H+f,this.bottom-e[0].height),line:0},B8(this.ctx,n.textDirection);const U=T+f;this.legendItems.forEach((Q,W)=>{r.strokeStyle=Q.fontColor,r.fillStyle=Q.fontColor;const J=r.measureText(Q.text).width,ne=l.textAlign(Q.textAlign||(Q.textAlign=s.textAlign)),he=M+g+J;let pe=b.x,ue=b.y;l.setWidth(this.width),N?W>0&&pe+he+f>this.right&&(ue=b.y+=U,b.line++,pe=b.x=Mo(o,this.left+f,this.right-i[b.line])):W>0&&ue+U>this.bottom&&(pe=b.x=pe+e[b.line].width+f,b.line++,ue=b.y=Mo(o,this.top+H+f,this.bottom-e[b.line].height)),function(Q,W,J){if(isNaN(M)||M<=0||isNaN(y)||y<0)return;r.save();const ne=cn(J.lineWidth,1);if(r.fillStyle=cn(J.fillStyle,a),r.lineCap=cn(J.lineCap,"butt"),r.lineDashOffset=cn(J.lineDashOffset,0),r.lineJoin=cn(J.lineJoin,"miter"),r.lineWidth=ne,r.strokeStyle=cn(J.strokeStyle,a),r.setLineDash(cn(J.lineDash,[])),s.usePointStyle){const he={radius:y*Math.SQRT2/2,pointStyle:J.pointStyle,rotation:J.rotation,borderWidth:ne},pe=l.xPlus(Q,M/2);T8(r,he,pe,W+g,s.pointStyleWidth&&M)}else{const he=W+Math.max((m-y)/2,0),pe=l.leftForLtr(Q,M),ue=xu(J.borderRadius);r.beginPath(),Object.values(ue).some(Ie=>0!==Ie)?d_(r,{x:pe,y:he,w:M,h:y,radius:ue}):r.rect(pe,he,M,y),r.fill(),0!==ne&&r.stroke()}r.restore()}(l.x(pe),ue,Q),pe=((t,n,e,i)=>t===(i?"left":"right")?e:"center"===t?(n+e)/2:n)(ne,pe+M+g,N?pe+he:this.right,n.rtl),function(Q,W,J){Cu(r,J.text,Q,W+T/2,d,{strikethrough:J.hidden,textAlign:l.textAlign(J.textAlign)})}(l.x(pe),ue,Q),N?b.x+=he+f:b.y+="string"!=typeof Q.text?JV(Q,d.lineHeight):U}),V8(this.ctx,n.textDirection)}drawTitle(){const n=this.options,e=n.title,i=Er(e.font),r=Co(e.padding);if(!e.display)return;const o=Kh(n.rtl,this.left,this.width),s=this.ctx,a=e.position,d=r.top+i.size/2;let f,m=this.left,g=this.width;if(this.isHorizontal())g=Math.max(...this.lineWidths),f=this.top+d,m=Mo(n.align,m,this.right-g);else{const M=this.columnSizes.reduce((y,T)=>Math.max(y,T.height),0);f=d+Mo(n.align,this.top,this.bottom-M-n.labels.padding-this._computeTitleHeight())}const b=Mo(a,m,m+g);s.textAlign=o.textAlign(Tw(a)),s.textBaseline="middle",s.strokeStyle=e.color,s.fillStyle=e.color,s.font=i.string,Cu(s,e.text,b,f,i)}_computeTitleHeight(){const n=this.options.title,e=Er(n.font),i=Co(n.padding);return n.display?e.lineHeight+i.height:0}_getLegendItemAt(n,e){let i,r,o;if(ec(n,this.left,this.right)&&ec(e,this.top,this.bottom))for(o=this.legendHitBoxes,i=0;i<o.length;++i)if(r=o[i],ec(n,r.left,r.left+r.width)&&ec(e,r.top,r.top+r.height))return this.legendItems[i];return null}handleEvent(n){const e=this.options;if(!function Jbe(t,n){return!(("mousemove"!==t&&"mouseout"!==t||!n.onHover&&!n.onLeave)&&(!n.onClick||"click"!==t&&"mouseup"!==t))}(n.type,e))return;const i=this._getLegendItemAt(n.x,n.y);if("mousemove"===n.type||"mouseout"===n.type){const r=this._hoveredItem,o=((t,n)=>null!==t&&null!==n&&t.datasetIndex===n.datasetIndex&&t.index===n.index)(r,i);r&&!o&&di(e.onLeave,[n,r,this],this),this._hoveredItem=i,i&&!o&&di(e.onHover,[n,i,this],this)}else i&&di(e.onClick,[n,i,this],this)}}function JV(t,n){return n*(t.text?t.text.length+.5:0)}var Zbe={id:"legend",_element:QV,start(t,n,e){const i=t.legend=new QV({ctx:t.ctx,options:e,chart:t});xo.configure(t,i,e),xo.addBox(t,i)},stop(t){xo.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,n,e){const i=t.legend;xo.configure(t,i,e),i.options=e},afterUpdate(t){const n=t.legend;n.buildLabels(),n.adjustHitBoxes()},afterEvent(t,n){n.replay||t.legend.handleEvent(n.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,n,e){const i=n.datasetIndex,r=e.chart;r.isDatasetVisible(i)?(r.hide(i),n.hidden=!0):(r.show(i),n.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const n=t.data.datasets,{labels:{usePointStyle:e,pointStyle:i,textAlign:r,color:o,useBorderRadius:s,borderRadius:a}}=t.legend.options;return t._getSortedDatasetMetas().map(l=>{const d=l.controller.getStyle(e?0:void 0),f=Co(d.borderWidth);return{text:n[l.index].label,fillStyle:d.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:d.borderCapStyle,lineDash:d.borderDash,lineDashOffset:d.borderDashOffset,lineJoin:d.borderJoinStyle,lineWidth:(f.width+f.height)/4,strokeStyle:d.borderColor,pointStyle:i||d.pointStyle,rotation:d.rotation,textAlign:r||d.textAlign,borderRadius:s&&(a||d.borderRadius),datasetIndex:l.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Jw extends Pa{constructor(n){super(),this.chart=n.chart,this.options=n.options,this.ctx=n.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(n,e){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=n,this.height=this.bottom=e;const r=bi(i.text)?i.text.length:1;this._padding=Co(i.padding);const o=r*Er(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const n=this.options.position;return"top"===n||"bottom"===n}_drawArgs(n){const{top:e,left:i,bottom:r,right:o,options:s}=this,a=s.align;let d,f,m,l=0;return this.isHorizontal()?(f=Mo(a,i,o),m=e+n,d=o-i):("left"===s.position?(f=i+n,m=Mo(a,r,e),l=-.5*Ai):(f=o-n,m=Mo(a,e,r),l=.5*Ai),d=r-e),{titleX:f,titleY:m,maxWidth:d,rotation:l}}draw(){const n=this.ctx,e=this.options;if(!e.display)return;const i=Er(e.font),o=i.lineHeight/2+this._padding.top,{titleX:s,titleY:a,maxWidth:l,rotation:d}=this._drawArgs(o);Cu(n,e.text,0,0,i,{color:e.color,maxWidth:l,rotation:d,textAlign:Tw(e.align),textBaseline:"middle",translation:[s,a]})}}var eDe={id:"title",_element:Jw,start(t,n,e){!function Kbe(t,n){const e=new Jw({ctx:t.ctx,options:n,chart:t});xo.configure(t,e,n),xo.addBox(t,e),t.titleBlock=e}(t,e)},stop(t){xo.removeBox(t,t.titleBlock),delete t.titleBlock},beforeUpdate(t,n,e){const i=t.titleBlock;xo.configure(t,i,e),i.options=e},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 Jb=new WeakMap;var tDe={id:"subtitle",start(t,n,e){const i=new Jw({ctx:t.ctx,options:e,chart:t});xo.configure(t,i,e),xo.addBox(t,i),Jb.set(t,i)},stop(t){xo.removeBox(t,Jb.get(t)),Jb.delete(t)},beforeUpdate(t,n,e){const i=Jb.get(t);xo.configure(t,i,e),i.options=e},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const D_={average(t){if(!t.length)return!1;let n,e,i=0,r=0,o=0;for(n=0,e=t.length;n<e;++n){const s=t[n].element;if(s&&s.hasValue()){const a=s.tooltipPosition();i+=a.x,r+=a.y,++o}}return{x:i/o,y:r/o}},nearest(t,n){if(!t.length)return!1;let o,s,a,e=n.x,i=n.y,r=Number.POSITIVE_INFINITY;for(o=0,s=t.length;o<s;++o){const l=t[o].element;if(l&&l.hasValue()){const f=Cw(n,l.getCenterPoint());f<r&&(r=f,a=l)}}if(a){const l=a.tooltipPosition();e=l.x,i=l.y}return{x:e,y:i}}};function ml(t,n){return n&&(bi(n)?Array.prototype.push.apply(t,n):t.push(n)),t}function ic(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function nDe(t,n){const{element:e,datasetIndex:i,index:r}=n,o=t.getDatasetMeta(i).controller,{label:s,value:a}=o.getLabelAndValue(r);return{chart:t,label:s,parsed:o.getParsed(r),raw:t.data.datasets[i].data[r],formattedValue:a,dataset:o.getDataset(),dataIndex:r,datasetIndex:i,element:e}}function ZV(t,n){const e=t.chart.ctx,{body:i,footer:r,title:o}=t,{boxWidth:s,boxHeight:a}=n,l=Er(n.bodyFont),d=Er(n.titleFont),f=Er(n.footerFont),m=o.length,g=r.length,b=i.length,M=Co(n.padding);let y=M.height,T=0,k=i.reduce((H,U)=>H+U.before.length+U.lines.length+U.after.length,0);k+=t.beforeBody.length+t.afterBody.length,m&&(y+=m*d.lineHeight+(m-1)*n.titleSpacing+n.titleMarginBottom),k&&(y+=b*(n.displayColors?Math.max(a,l.lineHeight):l.lineHeight)+(k-b)*l.lineHeight+(k-1)*n.bodySpacing),g&&(y+=n.footerMarginTop+g*f.lineHeight+(g-1)*n.footerSpacing);let O=0;const N=function(H){T=Math.max(T,e.measureText(H).width+O)};return e.save(),e.font=d.string,Xn(t.title,N),e.font=l.string,Xn(t.beforeBody.concat(t.afterBody),N),O=n.displayColors?s+2+n.boxPadding:0,Xn(i,H=>{Xn(H.before,N),Xn(H.lines,N),Xn(H.after,N)}),O=0,e.font=f.string,Xn(t.footer,N),e.restore(),T+=M.width,{width:T,height:y}}function oDe(t,n,e,i){const{x:r,width:o}=e,{width:s,chartArea:{left:a,right:l}}=t;let d="center";return"center"===i?d=r<=(a+l)/2?"left":"right":r<=o/2?d="left":r>=s-o/2&&(d="right"),function rDe(t,n,e,i){const{x:r,width:o}=i,s=e.caretSize+e.caretPadding;if("left"===t&&r+o+s>n.width||"right"===t&&r-o-s<0)return!0}(d,t,n,e)&&(d="center"),d}function KV(t,n,e){const i=e.yAlign||n.yAlign||function iDe(t,n){const{y:e,height:i}=n;return e<i/2?"top":e>t.height-i/2?"bottom":"center"}(t,e);return{xAlign:e.xAlign||n.xAlign||oDe(t,n,e,i),yAlign:i}}function e6(t,n,e,i){const{caretSize:r,caretPadding:o,cornerRadius:s}=t,{xAlign:a,yAlign:l}=e,d=r+o,{topLeft:f,topRight:m,bottomLeft:g,bottomRight:b}=xu(s);let M=function sDe(t,n){let{x:e,width:i}=t;return"right"===n?e-=i:"center"===n&&(e-=i/2),e}(n,a);const y=function aDe(t,n,e){let{y:i,height:r}=t;return"top"===n?i+=e:i-="bottom"===n?r+e:r/2,i}(n,l,d);return"center"===l?"left"===a?M+=d:"right"===a&&(M-=d):"left"===a?M-=Math.max(f,g)+r:"right"===a&&(M+=Math.max(m,b)+r),{x:Gr(M,0,i.width-n.width),y:Gr(y,0,i.height-n.height)}}function Zb(t,n,e){const i=Co(e.padding);return"center"===n?t.x+t.width/2:"right"===n?t.x+t.width-i.right:t.x+i.left}function t6(t){return ml([],ic(t))}function n6(t,n){const e=n&&n.dataset&&n.dataset.tooltip&&n.dataset.tooltip.callbacks;return e?t.override(e):t}const i6={beforeTitle:Kl,title(t){if(t.length>0){const n=t[0],e=n.chart.data.labels,i=e?e.length:0;if(this&&this.options&&"dataset"===this.options.mode)return n.dataset.label||"";if(n.label)return n.label;if(i>0&&n.dataIndex<i)return e[n.dataIndex]}return""},afterTitle:Kl,beforeBody:Kl,beforeLabel:Kl,label(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;let n=t.dataset.label||"";n&&(n+=": ");const e=t.formattedValue;return An(e)||(n+=e),n},labelColor(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:Kl,afterBody:Kl,beforeFooter:Kl,footer:Kl,afterFooter:Kl};function os(t,n,e,i){const r=t[n].call(e,i);return typeof r>"u"?i6[n].call(e,i):r}let r6=(()=>{class t extends Pa{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,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 i=this.chart,r=this.options.setContext(this.getContext()),o=r.enabled&&i.options.animation&&r.animations,s=new $8(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(s)),s}getContext(){return this.$context||(this.$context=function lDe(t,n,e){return rd(t,{tooltip:n,tooltipItems:e,type:"tooltip"})}(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,i){const{callbacks:r}=i,o=os(r,"beforeTitle",this,e),s=os(r,"title",this,e),a=os(r,"afterTitle",this,e);let l=[];return l=ml(l,ic(o)),l=ml(l,ic(s)),l=ml(l,ic(a)),l}getBeforeBody(e,i){return t6(os(i.callbacks,"beforeBody",this,e))}getBody(e,i){const{callbacks:r}=i,o=[];return Xn(e,s=>{const a={before:[],lines:[],after:[]},l=n6(r,s);ml(a.before,ic(os(l,"beforeLabel",this,s))),ml(a.lines,os(l,"label",this,s)),ml(a.after,ic(os(l,"afterLabel",this,s))),o.push(a)}),o}getAfterBody(e,i){return t6(os(i.callbacks,"afterBody",this,e))}getFooter(e,i){const{callbacks:r}=i,o=os(r,"beforeFooter",this,e),s=os(r,"footer",this,e),a=os(r,"afterFooter",this,e);let l=[];return l=ml(l,ic(o)),l=ml(l,ic(s)),l=ml(l,ic(a)),l}_createItems(e){const i=this._active,r=this.chart.data,o=[],s=[],a=[];let d,f,l=[];for(d=0,f=i.length;d<f;++d)l.push(nDe(this.chart,i[d]));return e.filter&&(l=l.filter((m,g,b)=>e.filter(m,g,b,r))),e.itemSort&&(l=l.sort((m,g)=>e.itemSort(m,g,r))),Xn(l,m=>{const g=n6(e.callbacks,m);o.push(os(g,"labelColor",this,m)),s.push(os(g,"labelPointStyle",this,m)),a.push(os(g,"labelTextColor",this,m))}),this.labelColors=o,this.labelPointStyles=s,this.labelTextColors=a,this.dataPoints=l,l}update(e,i){const r=this.options.setContext(this.getContext()),o=this._active;let s,a=[];if(o.length){const l=D_[r.position].call(this,o,this._eventPosition);a=this._createItems(r),this.title=this.getTitle(a,r),this.beforeBody=this.getBeforeBody(a,r),this.body=this.getBody(a,r),this.afterBody=this.getAfterBody(a,r),this.footer=this.getFooter(a,r);const d=this._size=ZV(this,r),f=Object.assign({},l,d),m=KV(this.chart,r,f),g=e6(r,f,m,this.chart);this.xAlign=m.xAlign,this.yAlign=m.yAlign,s={opacity:1,x:g.x,y:g.y,width:d.width,height:d.height,caretX:l.x,caretY:l.y}}else 0!==this.opacity&&(s={opacity:0});this._tooltipItems=a,this.$context=void 0,s&&this._resolveAnimations().update(this,s),e&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:i})}drawCaret(e,i,r,o){const s=this.getCaretPosition(e,r,o);i.lineTo(s.x1,s.y1),i.lineTo(s.x2,s.y2),i.lineTo(s.x3,s.y3)}getCaretPosition(e,i,r){const{xAlign:o,yAlign:s}=this,{caretSize:a,cornerRadius:l}=r,{topLeft:d,topRight:f,bottomLeft:m,bottomRight:g}=xu(l),{x:b,y:M}=e,{width:y,height:T}=i;let k,O,N,H,U,Q;return"center"===s?(U=M+T/2,"left"===o?(k=b,O=k-a,H=U+a,Q=U-a):(k=b+y,O=k+a,H=U-a,Q=U+a),N=k):(O="left"===o?b+Math.max(d,m)+a:"right"===o?b+y-Math.max(f,g)-a:this.caretX,"top"===s?(H=M,U=H-a,k=O-a,N=O+a):(H=M+T,U=H+a,k=O+a,N=O-a),Q=H),{x1:k,x2:O,x3:N,y1:H,y2:U,y3:Q}}drawTitle(e,i,r){const o=this.title,s=o.length;let a,l,d;if(s){const f=Kh(r.rtl,this.x,this.width);for(e.x=Zb(this,r.titleAlign,r),i.textAlign=f.textAlign(r.titleAlign),i.textBaseline="middle",a=Er(r.titleFont),l=r.titleSpacing,i.fillStyle=r.titleColor,i.font=a.string,d=0;d<s;++d)i.fillText(o[d],f.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+l,d+1===s&&(e.y+=r.titleMarginBottom-l)}}_drawColorBox(e,i,r,o,s){const a=this.labelColors[r],l=this.labelPointStyles[r],{boxHeight:d,boxWidth:f,boxPadding:m}=s,g=Er(s.bodyFont),b=Zb(this,"left",s),M=o.x(b),T=i.y+(d<g.lineHeight?(g.lineHeight-d)/2:0);if(s.usePointStyle){const k={radius:Math.min(f,d)/2,pointStyle:l.pointStyle,rotation:l.rotation,borderWidth:1},O=o.leftForLtr(M,f)+f/2,N=T+d/2;e.strokeStyle=s.multiKeyBackground,e.fillStyle=s.multiKeyBackground,kw(e,k,O,N),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,kw(e,k,O,N)}else{e.lineWidth=Cn(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;const k=o.leftForLtr(M,f-m),O=o.leftForLtr(o.xPlus(M,1),f-m-2),N=xu(a.borderRadius);Object.values(N).some(H=>0!==H)?(e.beginPath(),e.fillStyle=s.multiKeyBackground,d_(e,{x:k,y:T,w:f,h:d,radius:N}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),d_(e,{x:O,y:T+1,w:f-2,h:d-2,radius:N}),e.fill()):(e.fillStyle=s.multiKeyBackground,e.fillRect(k,T,f,d),e.strokeRect(k,T,f,d),e.fillStyle=a.backgroundColor,e.fillRect(O,T+1,f-2,d-2))}e.fillStyle=this.labelTextColors[r]}drawBody(e,i,r){const{body:o}=this,{bodySpacing:s,bodyAlign:a,displayColors:l,boxHeight:d,boxWidth:f,boxPadding:m}=r,g=Er(r.bodyFont);let b=g.lineHeight,M=0;const y=Kh(r.rtl,this.x,this.width),T=function(ne){i.fillText(ne,y.x(e.x+M),e.y+b/2),e.y+=b+s},k=y.textAlign(a);let O,N,H,U,Q,W,J;for(i.textAlign=a,i.textBaseline="middle",i.font=g.string,e.x=Zb(this,k,r),i.fillStyle=r.bodyColor,Xn(this.beforeBody,T),M=l&&"right"!==k?"center"===a?f/2+m:f+2+m:0,U=0,W=o.length;U<W;++U){for(O=o[U],N=this.labelTextColors[U],i.fillStyle=N,Xn(O.before,T),H=O.lines,l&&H.length&&(this._drawColorBox(i,e,U,y,r),b=Math.max(g.lineHeight,d)),Q=0,J=H.length;Q<J;++Q)T(H[Q]),b=g.lineHeight;Xn(O.after,T)}M=0,b=g.lineHeight,Xn(this.afterBody,T),e.y-=s}drawFooter(e,i,r){const o=this.footer,s=o.length;let a,l;if(s){const d=Kh(r.rtl,this.x,this.width);for(e.x=Zb(this,r.footerAlign,r),e.y+=r.footerMarginTop,i.textAlign=d.textAlign(r.footerAlign),i.textBaseline="middle",a=Er(r.footerFont),i.fillStyle=r.footerColor,i.font=a.string,l=0;l<s;++l)i.fillText(o[l],d.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+r.footerSpacing}}drawBackground(e,i,r,o){const{xAlign:s,yAlign:a}=this,{x:l,y:d}=e,{width:f,height:m}=r,{topLeft:g,topRight:b,bottomLeft:M,bottomRight:y}=xu(o.cornerRadius);i.fillStyle=o.backgroundColor,i.strokeStyle=o.borderColor,i.lineWidth=o.borderWidth,i.beginPath(),i.moveTo(l+g,d),"top"===a&&this.drawCaret(e,i,r,o),i.lineTo(l+f-b,d),i.quadraticCurveTo(l+f,d,l+f,d+b),"center"===a&&"right"===s&&this.drawCaret(e,i,r,o),i.lineTo(l+f,d+m-y),i.quadraticCurveTo(l+f,d+m,l+f-y,d+m),"bottom"===a&&this.drawCaret(e,i,r,o),i.lineTo(l+M,d+m),i.quadraticCurveTo(l,d+m,l,d+m-M),"center"===a&&"left"===s&&this.drawCaret(e,i,r,o),i.lineTo(l,d+g),i.quadraticCurveTo(l,d,l+g,d),i.closePath(),i.fill(),o.borderWidth>0&&i.stroke()}_updateAnimationTarget(e){const i=this.chart,r=this.$animations,o=r&&r.x,s=r&&r.y;if(o||s){const a=D_[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=ZV(this,e),d=Object.assign({},a,this._size),f=KV(i,e,d),m=e6(e,d,f,i);(o._to!==m.x||s._to!==m.y)&&(this.xAlign=f.xAlign,this.yAlign=f.yAlign,this.width=l.width,this.height=l.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,m))}}_willRender(){return!!this.opacity}draw(e){const i=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(i);const o={width:this.width,height:this.height},s={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const a=Co(i.padding);i.enabled&&(this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length)&&(e.save(),e.globalAlpha=r,this.drawBackground(s,e,o,i),B8(e,i.textDirection),s.y+=a.top,this.drawTitle(s,e,i),this.drawBody(s,e,i),this.drawFooter(s,e,i),V8(e,i.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,i){const r=this._active,o=e.map(({datasetIndex:l,index:d})=>{const f=this.chart.getDatasetMeta(l);if(!f)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:f.data[d],index:d}}),s=!wb(r,o),a=this._positionChanged(o,i);(s||a)&&(this._active=o,this._eventPosition=i,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,i,r=!0){if(i&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const o=this.options,s=this._active||[],a=this._getActiveElements(e,s,i,r),l=this._positionChanged(a,e),d=i||!wb(a,s)||l;return d&&(this._active=a,(o.enabled||o.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,i))),d}_getActiveElements(e,i,r,o){const s=this.options;if("mouseout"===e.type)return[];if(!o)return i;const a=this.chart.getElementsAtEventForMode(e,s.mode,s,r);return s.reverse&&a.reverse(),a}_positionChanged(e,i){const{caretX:r,caretY:o,options:s}=this,a=D_[s.position].call(this,e,i);return!1!==a&&(r!==a.x||o!==a.y)}}return bt(t,"positioners",D_),t})();var cDe={id:"tooltip",_element:r6,positioners:D_,afterInit(t,n,e){e&&(t.tooltip=new r6({chart:t,options:e}))},beforeUpdate(t,n,e){t.tooltip&&t.tooltip.initialize(e)},reset(t,n,e){t.tooltip&&t.tooltip.initialize(e)},afterDraw(t){const n=t.tooltip;if(n&&n._willRender()){const e={tooltip:n};if(!1===t.notifyPlugins("beforeTooltipDraw",{...e,cancelable:!0}))return;n.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",e)}},afterEvent(t,n){t.tooltip&&t.tooltip.handleEvent(n.event,n.replay,n.inChartArea)&&(n.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:(t,n)=>n.bodyFont.size,boxWidth:(t,n)=>n.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:i6},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},dDe=Object.freeze({__proto__:null,Colors:Mbe,Decimation:wbe,Filler:zbe,Legend:Zbe,SubTitle:tDe,Title:eDe,Tooltip:cDe});function o6(t){const n=this.getLabels();return t>=0&&t<n.length?n[t]:t}let pDe=(()=>{class t extends ku{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const i=this._addedLabels;if(i.length){const r=this.getLabels();for(const{index:o,label:s}of i)r[o]===s&&r.splice(o,1);this._addedLabels=[]}super.init(e)}parse(e,i){if(An(e))return null;const r=this.getLabels();return i=isFinite(i)&&r[i]===e?i:function fDe(t,n,e,i){const r=t.indexOf(n);return-1===r?((t,n,e,i)=>("string"==typeof n?(e=t.push(n)-1,i.unshift({index:e,label:n})):isNaN(n)&&(e=null),e))(t,n,e,i):r!==t.lastIndexOf(n)?e:r}(r,e,cn(i,e),this._addedLabels),((t,n)=>null===t?null:Gr(Math.round(t),0,n))(i,r.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:r,max:o}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(r=0),i||(o=this.getLabels().length-1)),this.min=r,this.max=o}buildTicks(){const e=this.min,i=this.max,r=this.options.offset,o=[];let s=this.getLabels();s=0===e&&i===s.length-1?s:s.slice(e,i+1),this._valueRange=Math.max(s.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let a=e;a<=i;a++)o.push({value:a});return o}getLabelForValue(e){return o6.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!=typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const i=this.ticks;return e<0||e>i.length-1?null:this.getPixelForValue(i[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}return bt(t,"id","category"),bt(t,"defaults",{ticks:{callback:o6}}),t})();function s6(t,n,{horizontal:e,minRotation:i}){const r=La(i),o=(e?Math.sin(r):Math.cos(r))||.001;return Math.min(n/o,.75*n*(""+t).length)}class Kb extends ku{constructor(n){super(n),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(n,e){return An(n)||("number"==typeof n||n instanceof Number)&&!isFinite(+n)?null:+n}handleTickRangeOptions(){const{beginAtZero:n}=this.options,{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:r,max:o}=this;const s=l=>r=e?r:l,a=l=>o=i?o:l;if(n){const l=hl(r),d=hl(o);l<0&&d<0?a(0):l>0&&d>0&&s(0)}if(r===o){let l=0===o?1:Math.abs(.05*o);a(o+l),n||s(r-l)}this.min=r,this.max=o}getTickLimit(){const n=this.options.ticks;let r,{maxTicksLimit:e,stepSize:i}=n;return i?(r=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,r>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${r} ticks. Limiting to 1000.`),r=1e3)):(r=this.computeTickLimit(),e=e||11),e&&(r=Math.min(e,r)),r}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const n=this.options,e=n.ticks;let i=this.getTickLimit();i=Math.max(2,i);const s=function mDe(t,n){const e=[],{bounds:r,step:o,min:s,max:a,precision:l,count:d,maxTicks:f,maxDigits:m,includeBounds:g}=t,b=o||1,M=f-1,{min:y,max:T}=n,k=!An(s),O=!An(a),N=!An(d),H=(T-y)/(m+1);let Q,W,J,ne,U=a8((T-y)/M/b)*b;if(U<1e-14&&!k&&!O)return[{value:y},{value:T}];ne=Math.ceil(T/U)-Math.floor(y/U),ne>M&&(U=a8(ne*U/M/b)*b),An(l)||(Q=Math.pow(10,l),U=Math.ceil(U*Q)/Q),"ticks"===r?(W=Math.floor(y/U)*U,J=Math.ceil(T/U)*U):(W=y,J=T),k&&O&&o&&function o0e(t,n){const e=Math.round(t);return e-n<=t&&e+n>=t}((a-s)/o,U/1e3)?(ne=Math.round(Math.min((a-s)/U,f)),U=(a-s)/ne,W=s,J=a):N?(W=k?s:W,J=O?a:J,ne=d-1,U=(J-W)/ne):(ne=(J-W)/U,ne=r_(ne,Math.round(ne),U/1e3)?Math.round(ne):Math.ceil(ne));const he=Math.max(c8(U),c8(W));Q=Math.pow(10,An(l)?he:l),W=Math.round(W*Q)/Q,J=Math.round(J*Q)/Q;let pe=0;for(k&&(g&&W!==s?(e.push({value:s}),W<s&&pe++,r_(Math.round((W+pe*U)*Q)/Q,s,s6(s,H,t))&&pe++):W<s&&pe++);pe<ne;++pe)e.push({value:Math.round((W+pe*U)*Q)/Q});return O&&g&&J!==a?e.length&&r_(e[e.length-1].value,a,s6(a,H,t))?e[e.length-1].value=a:e.push({value:a}):(!O||J===a)&&e.push({value:J}),e}({maxTicks:i,bounds:n.bounds,min:n.min,max:n.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===n.bounds&&l8(s,this,"value"),n.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const n=this.ticks;let e=this.min,i=this.max;if(super.configure(),this.options.offset&&n.length){const r=(i-e)/Math.max(n.length-1,1)/2;e-=r,i+=r}this._startValue=e,this._endValue=i,this._valueRange=i-e}getLabelForValue(n){return a_(n,this.chart.options.locale,this.options.ticks.format)}}class Zw extends Kb{determineDataLimits(){const{min:n,max:e}=this.getMinMax(!0);this.min=Xi(n)?n:0,this.max=Xi(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const n=this.isHorizontal(),e=n?this.width:this.height,i=La(this.options.ticks.minRotation),r=(n?Math.sin(i):Math.cos(i))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,o.lineHeight/r))}getPixelForValue(n){return null===n?NaN:this.getPixelForDecimal((n-this._startValue)/this._valueRange)}getValueForPixel(n){return this._startValue+this.getDecimalForPixel(n)*this._valueRange}}bt(Zw,"id","linear"),bt(Zw,"defaults",{ticks:{callback:Ab.formatters.numeric}});const y_=t=>Math.floor(id(t)),Au=(t,n)=>Math.pow(10,y_(t)+n);function a6(t){return t/Math.pow(10,y_(t))==1}function l6(t,n,e){const i=Math.pow(10,e),r=Math.floor(t/i);return Math.ceil(n/i)-r}class Kw extends ku{constructor(n){super(n),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(n,e){const i=Kb.prototype.parse.apply(this,[n,e]);if(0!==i)return Xi(i)&&i>0?i:null;this._zero=!0}determineDataLimits(){const{min:n,max:e}=this.getMinMax(!0);this.min=Xi(n)?Math.max(0,n):null,this.max=Xi(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!Xi(this._userMin)&&(this.min=n===Au(this.min,0)?Au(this.min,-1):Au(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:n,maxDefined:e}=this.getUserBounds();let i=this.min,r=this.max;const o=a=>i=n?i:a,s=a=>r=e?r:a;i===r&&(i<=0?(o(1),s(10)):(o(Au(i,-1)),s(Au(r,1)))),i<=0&&o(Au(r,-1)),r<=0&&s(Au(i,1)),this.min=i,this.max=r}buildTicks(){const n=this.options,i=function _De(t,{min:n,max:e}){n=Os(t.min,n);const i=[],r=y_(n);let o=function gDe(t,n){let i=y_(n-t);for(;l6(t,n,i)>10;)i++;for(;l6(t,n,i)<10;)i--;return Math.min(i,y_(t))}(n,e),s=o<0?Math.pow(10,Math.abs(o)):1;const a=Math.pow(10,o),l=r>o?Math.pow(10,r):0,d=Math.round((n-l)*s)/s,f=Math.floor((n-l)/a/10)*a*10;let m=Math.floor((d-f)/Math.pow(10,o)),g=Os(t.min,Math.round((l+f+m*Math.pow(10,o))*s)/s);for(;g<e;)i.push({value:g,major:a6(g),significand:m}),m>=10?m=m<15?15:20:m++,m>=20&&(o++,m=2,s=o>=0?1:s),g=Math.round((l+f+m*Math.pow(10,o))*s)/s;const b=Os(t.max,g);return i.push({value:b,major:a6(b),significand:m}),i}({min:this._userMin,max:this._userMax},this);return"ticks"===n.bounds&&l8(i,this,"value"),n.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}getLabelForValue(n){return void 0===n?"0":a_(n,this.chart.options.locale,this.options.ticks.format)}configure(){const n=this.min;super.configure(),this._startValue=id(n),this._valueRange=id(this.max)-id(n)}getPixelForValue(n){return(void 0===n||0===n)&&(n=this.min),null===n||isNaN(n)?NaN:this.getPixelForDecimal(n===this.min?0:(id(n)-this._startValue)/this._valueRange)}getValueForPixel(n){const e=this.getDecimalForPixel(n);return Math.pow(10,this._startValue+e*this._valueRange)}}function eE(t){const n=t.ticks;if(n.display&&t.display){const e=Co(n.backdropPadding);return cn(n.font&&n.font.size,Ji.font.size)+e.height}return 0}function vDe(t,n,e){return e=bi(e)?e:[e],{w:M0e(t,n.string,e),h:e.length*n.lineHeight}}function c6(t,n,e,i,r){return t===i||t===r?{start:n-e/2,end:n+e/2}:t<i||t>r?{start:n-e,end:n}:{start:n,end:n+e}}function DDe(t,n,e,i,r){const o=Math.abs(Math.sin(e)),s=Math.abs(Math.cos(e));let a=0,l=0;i.start<n.l?(a=(n.l-i.start)/o,t.l=Math.min(t.l,n.l-a)):i.end>n.r&&(a=(i.end-n.r)/o,t.r=Math.max(t.r,n.r+a)),r.start<n.t?(l=(n.t-r.start)/s,t.t=Math.min(t.t,n.t-l)):r.end>n.b&&(l=(r.end-n.b)/s,t.b=Math.max(t.b,n.b+l))}function MDe(t){return 0===t||180===t?"center":t<180?"left":"right"}function CDe(t,n,e){return"right"===e?t-=n:"center"===e&&(t-=n/2),t}function xDe(t,n,e){return 90===e||270===e?t-=n/2:(e>270||e<90)&&(t-=n),t}function d6(t,n,e,i){const{ctx:r}=t;if(e)r.arc(t.xCenter,t.yCenter,n,0,Di);else{let o=t.getPointPosition(0,n);r.moveTo(o.x,o.y);for(let s=1;s<i;s++)o=t.getPointPosition(s,n),r.lineTo(o.x,o.y)}}bt(Kw,"id","logarithmic"),bt(Kw,"defaults",{ticks:{callback:Ab.formatters.logarithmic,major:{enabled:!0}}});class M_ extends Kb{constructor(n){super(n),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const n=this._padding=Co(eE(this.options)/2),e=this.width=this.maxWidth-n.width,i=this.height=this.maxHeight-n.height;this.xCenter=Math.floor(this.left+e/2+n.left),this.yCenter=Math.floor(this.top+i/2+n.top),this.drawingArea=Math.floor(Math.min(e,i)/2)}determineDataLimits(){const{min:n,max:e}=this.getMinMax(!1);this.min=Xi(n)&&!isNaN(n)?n:0,this.max=Xi(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/eE(this.options))}generateTickLabels(n){Kb.prototype.generateTickLabels.call(this,n),this._pointLabels=this.getLabels().map((e,i)=>{const r=di(this.options.pointLabels.callback,[e,i],this);return r||0===r?r:""}).filter((e,i)=>this.chart.getDataVisibility(i))}fit(){const n=this.options;n.display&&n.pointLabels.display?function bDe(t){const n={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},e=Object.assign({},n),i=[],r=[],o=t._pointLabels.length,s=t.options.pointLabels,a=s.centerPointLabels?Ai/o:0;for(let l=0;l<o;l++){const d=s.setContext(t.getPointLabelContext(l));r[l]=d.padding;const f=t.getPointPosition(l,t.drawingArea+r[l],a),m=Er(d.font),g=vDe(t.ctx,m,t._pointLabels[l]);i[l]=g;const b=Is(t.getIndexAngle(l)+a),M=Math.round(Mw(b));DDe(e,n,b,c6(M,f.x,g.w,0,180),c6(M,f.y,g.h,90,270))}t.setCenterPoint(n.l-e.l,e.r-n.r,n.t-e.t,e.b-n.b),t._pointLabelItems=function yDe(t,n,e){const i=[],r=t._pointLabels.length,o=t.options,s=eE(o)/2,a=t.drawingArea,l=o.pointLabels.centerPointLabels?Ai/r:0;for(let d=0;d<r;d++){const f=t.getPointPosition(d,a+s+e[d],l),m=Math.round(Mw(Is(f.angle+Qi))),g=n[d],b=xDe(f.y,g.h,m),M=MDe(m),y=CDe(f.x,g.w,M);i.push({x:f.x,y:b,textAlign:M,left:y,top:b,right:y+g.w,bottom:b+g.h})}return i}(t,i,r)}(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(n,e,i,r){this.xCenter+=Math.floor((n-e)/2),this.yCenter+=Math.floor((i-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(n,e,i,r))}getIndexAngle(n){return Is(n*(Di/(this._pointLabels.length||1))+La(this.options.startAngle||0))}getDistanceFromCenterForValue(n){if(An(n))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-n)*e:(n-this.min)*e}getValueForDistanceFromCenter(n){if(An(n))return NaN;const e=n/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(n){const e=this._pointLabels||[];if(n>=0&&n<e.length){const i=e[n];return function EDe(t,n,e){return rd(t,{label:e,index:n,type:"pointLabel"})}(this.getContext(),n,i)}}getPointPosition(n,e,i=0){const r=this.getIndexAngle(n)-Qi+i;return{x:Math.cos(r)*e+this.xCenter,y:Math.sin(r)*e+this.yCenter,angle:r}}getPointPositionForValue(n,e){return this.getPointPosition(n,this.getDistanceFromCenterForValue(e))}getBasePosition(n){return this.getPointPositionForValue(n||0,this.getBaseValue())}getPointLabelPosition(n){const{left:e,top:i,right:r,bottom:o}=this._pointLabelItems[n];return{left:e,top:i,right:r,bottom:o}}drawBackground(){const{backgroundColor:n,grid:{circular:e}}=this.options;if(n){const i=this.ctx;i.save(),i.beginPath(),d6(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),i.closePath(),i.fillStyle=n,i.fill(),i.restore()}}drawGrid(){const n=this.ctx,e=this.options,{angleLines:i,grid:r,border:o}=e,s=this._pointLabels.length;let a,l,d;if(e.pointLabels.display&&function TDe(t,n){const{ctx:e,options:{pointLabels:i}}=t;for(let r=n-1;r>=0;r--){const o=i.setContext(t.getPointLabelContext(r)),s=Er(o.font),{x:a,y:l,textAlign:d,left:f,top:m,right:g,bottom:b}=t._pointLabelItems[r],{backdropColor:M}=o;if(!An(M)){const y=xu(o.borderRadius),T=Co(o.backdropPadding);e.fillStyle=M;const k=f-T.left,O=m-T.top,N=g-f+T.width,H=b-m+T.height;Object.values(y).some(U=>0!==U)?(e.beginPath(),d_(e,{x:k,y:O,w:N,h:H,radius:y}),e.fill()):e.fillRect(k,O,N,H)}Cu(e,t._pointLabels[r],a,l+s.lineHeight/2,s,{color:o.color,textAlign:d,textBaseline:"middle"})}}(this,s),r.display&&this.ticks.forEach((f,m)=>{if(0!==m){l=this.getDistanceFromCenterForValue(f.value);const g=this.getContext(m),b=r.setContext(g),M=o.setContext(g);!function wDe(t,n,e,i,r){const o=t.ctx,s=n.circular,{color:a,lineWidth:l}=n;!s&&!i||!a||!l||e<0||(o.save(),o.strokeStyle=a,o.lineWidth=l,o.setLineDash(r.dash),o.lineDashOffset=r.dashOffset,o.beginPath(),d6(t,e,s,i),o.closePath(),o.stroke(),o.restore())}(this,b,l,s,M)}}),i.display){for(n.save(),a=s-1;a>=0;a--){const f=i.setContext(this.getPointLabelContext(a)),{color:m,lineWidth:g}=f;!g||!m||(n.lineWidth=g,n.strokeStyle=m,n.setLineDash(f.borderDash),n.lineDashOffset=f.borderDashOffset,l=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),d=this.getPointPosition(a,l),n.beginPath(),n.moveTo(this.xCenter,this.yCenter),n.lineTo(d.x,d.y),n.stroke())}n.restore()}}drawBorder(){}drawLabels(){const n=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;const r=this.getIndexAngle(0);let o,s;n.save(),n.translate(this.xCenter,this.yCenter),n.rotate(r),n.textAlign="center",n.textBaseline="middle",this.ticks.forEach((a,l)=>{if(0===l&&!e.reverse)return;const d=i.setContext(this.getContext(l)),f=Er(d.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),d.showLabelBackdrop){n.font=f.string,s=n.measureText(a.label).width,n.fillStyle=d.backdropColor;const m=Co(d.backdropPadding);n.fillRect(-s/2-m.left,-o-f.size/2-m.top,s+m.width,f.size+m.height)}Cu(n,a.label,0,-o,f,{color:d.color})}),n.restore()}drawTitle(){}}bt(M_,"id","radialLinear"),bt(M_,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Ab.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}}),bt(M_,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),bt(M_,"descriptors",{angleLines:{_fallback:"grid"}});const eD={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}},ss=Object.keys(eD);function SDe(t,n){return t-n}function u6(t,n){if(An(n))return null;const e=t._adapter,{parser:i,round:r,isoWeekday:o}=t._parseOpts;let s=n;return"function"==typeof i&&(s=i(s)),Xi(s)||(s="string"==typeof i?e.parse(s,i):e.parse(s)),null===s?null:(r&&(s="week"!==r||!Qh(o)&&!0!==o?e.startOf(s,r):e.startOf(s,"isoWeek",o)),+s)}function f6(t,n,e,i){const r=ss.length;for(let o=ss.indexOf(t);o<r-1;++o){const s=eD[ss[o]];if(s.common&&Math.ceil((e-n)/((s.steps?s.steps:Number.MAX_SAFE_INTEGER)*s.size))<=i)return ss[o]}return ss[r-1]}function h6(t,n,e){if(e){if(e.length){const{lo:i,hi:r}=xw(e,n);t[e[i]>=n?e[i]:e[r]]=!0}}else t[n]=!0}function p6(t,n,e){const i=[],r={},o=n.length;let s,a;for(s=0;s<o;++s)a=n[s],r[a]=s,i.push({value:a,major:!1});return 0!==o&&e?function RDe(t,n,e,i){const r=t._adapter,o=+r.startOf(n[0].value,i),s=n[n.length-1].value;let a,l;for(a=o;a<=s;a=+r.add(a,1,i))l=e[a],l>=0&&(n[l].major=!0);return n}(t,i,r,e):i}let tE=(()=>{class t extends ku{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,i={}){const r=e.time||(e.time={}),o=this._adapter=new G1e__date(e.adapters.date);o.init(i),i_(r.displayFormats,o.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(e),this._normalized=i.normalized}parse(e,i){return void 0===e?null:u6(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,i=this._adapter,r=e.time.unit||"day";let{min:o,max:s,minDefined:a,maxDefined:l}=this.getUserBounds();function d(f){!a&&!isNaN(f.min)&&(o=Math.min(o,f.min)),!l&&!isNaN(f.max)&&(s=Math.max(s,f.max))}(!a||!l)&&(d(this._getLabelBounds()),("ticks"!==e.bounds||"labels"!==e.ticks.source)&&d(this.getMinMax(!1))),o=Xi(o)&&!isNaN(o)?o:+i.startOf(Date.now(),r),s=Xi(s)&&!isNaN(s)?s:+i.endOf(Date.now(),r)+1,this.min=Math.min(o,s-1),this.max=Math.max(o+1,s)}_getLabelBounds(){const e=this.getLabelTimestamps();let i=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return e.length&&(i=e[0],r=e[e.length-1]),{min:i,max:r}}buildTicks(){const e=this.options,i=e.time,r=e.ticks,o="labels"===r.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&o.length&&(this.min=this._userMin||o[0],this.max=this._userMax||o[o.length-1]);const s=this.min,l=function c0e(t,n,e){let i=0,r=t.length;for(;i<r&&t[i]<n;)i++;for(;r>i&&t[r-1]>e;)r--;return i>0||r<t.length?t.slice(i,r):t}(o,s,this.max);return this._unit=i.unit||(r.autoSkip?f6(i.minUnit,this.min,this.max,this._getLabelCapacity(s)):function kDe(t,n,e,i,r){for(let o=ss.length-1;o>=ss.indexOf(e);o--){const s=ss[o];if(eD[s].common&&t._adapter.diff(r,i,s)>=n-1)return s}return ss[e?ss.indexOf(e):0]}(this,l.length,i.minUnit,this.min,this.max)),this._majorUnit=r.major.enabled&&"year"!==this._unit?function ADe(t){for(let n=ss.indexOf(t)+1,e=ss.length;n<e;++n)if(eD[ss[n]].common)return ss[n]}(this._unit):void 0,this.initOffsets(o),e.reverse&&l.reverse(),p6(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let o,s,i=0,r=0;this.options.offset&&e.length&&(o=this.getDecimalForValue(e[0]),i=1===e.length?1-o:(this.getDecimalForValue(e[1])-o)/2,s=this.getDecimalForValue(e[e.length-1]),r=1===e.length?s:(s-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;i=Gr(i,0,a),r=Gr(r,0,a),this._offsets={start:i,end:r,factor:1/(i+1+r)}}_generate(){const e=this._adapter,i=this.min,r=this.max,o=this.options,s=o.time,a=s.unit||f6(s.minUnit,i,r,this._getLabelCapacity(i)),l=cn(o.ticks.stepSize,1),d="week"===a&&s.isoWeekday,f=Qh(d)||!0===d,m={};let b,M,g=i;if(f&&(g=+e.startOf(g,"isoWeek",d)),g=+e.startOf(g,f?"day":a),e.diff(r,i,a)>1e5*l)throw new Error(i+" and "+r+" are too far apart with stepSize of "+l+" "+a);const y="data"===o.ticks.source&&this.getDataTimestamps();for(b=g,M=0;b<r;b=+e.add(b,l,a),M++)h6(m,b,y);return(b===r||"ticks"===o.bounds||1===M)&&h6(m,b,y),Object.keys(m).sort((T,k)=>T-k).map(T=>+T)}getLabelForValue(e){const r=this.options.time;return this._adapter.format(e,r.tooltipFormat?r.tooltipFormat:r.displayFormats.datetime)}format(e,i){return this._adapter.format(e,i||this.options.time.displayFormats[this._unit])}_tickFormatFunction(e,i,r,o){const s=this.options,a=s.ticks.callback;if(a)return di(a,[e,i,r],this);const l=s.time.displayFormats,d=this._unit,f=this._majorUnit,g=f&&l[f],b=r[i];return this._adapter.format(e,o||(f&&g&&b&&b.major?g:d&&l[d]))}generateTickLabels(e){let i,r,o;for(i=0,r=e.length;i<r;++i)o=e[i],o.label=this._tickFormatFunction(o.value,i,e)}getDecimalForValue(e){return null===e?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const i=this._offsets,r=this.getDecimalForValue(e);return this.getPixelForDecimal((i.start+r)*i.factor)}getValueForPixel(e){const i=this._offsets,r=this.getDecimalForPixel(e)/i.factor-i.end;return this.min+r*(this.max-this.min)}_getLabelSize(e){const i=this.options.ticks,r=this.ctx.measureText(e).width,o=La(this.isHorizontal()?i.maxRotation:i.minRotation),s=Math.cos(o),a=Math.sin(o),l=this._resolveTickFontOptions(0).size;return{w:r*s+l*a,h:r*a+l*s}}_getLabelCapacity(e){const i=this.options.time,r=i.displayFormats,o=r[i.unit]||r.millisecond,s=this._tickFormatFunction(e,0,p6(this,[e],this._majorUnit),o),a=this._getLabelSize(s),l=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return l>0?l:1}getDataTimestamps(){let i,r,e=this._cache.data||[];if(e.length)return e;const o=this.getMatchingVisibleMetas();if(this._normalized&&o.length)return this._cache.data=o[0].controller.getAllParsedValues(this);for(i=0,r=o.length;i<r;++i)e=e.concat(o[i].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let i,r;if(e.length)return e;const o=this.getLabels();for(i=0,r=o.length;i<r;++i)e.push(u6(this,o[i]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return h8(e.sort(SDe))}}return bt(t,"id","time"),bt(t,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}}),t})();function tD(t,n,e){let o,s,a,l,i=0,r=t.length-1;e?(n>=t[i].pos&&n<=t[r].pos&&({lo:i,hi:r}=tc(t,"pos",n)),({pos:o,time:a}=t[i]),({pos:s,time:l}=t[r])):(n>=t[i].time&&n<=t[r].time&&({lo:i,hi:r}=tc(t,"time",n)),({time:o,pos:a}=t[i]),({time:s,pos:l}=t[r]));const d=s-o;return d?a+(l-a)*(n-o)/d:a}class nE extends tE{constructor(n){super(n),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const n=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(n);this._minPos=tD(e,this.min),this._tableRange=tD(e,this.max)-this._minPos,super.initOffsets(n)}buildLookupTable(n){const{min:e,max:i}=this,r=[],o=[];let s,a,l,d,f;for(s=0,a=n.length;s<a;++s)d=n[s],d>=e&&d<=i&&r.push(d);if(r.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(s=0,a=r.length;s<a;++s)f=r[s+1],l=r[s-1],d=r[s],Math.round((f+l)/2)!==d&&o.push({time:d,pos:s/(a-1)});return o}_getTimestampsForTable(){let n=this._cache.all||[];if(n.length)return n;const e=this.getDataTimestamps(),i=this.getLabelTimestamps();return n=e.length&&i.length?this.normalize(e.concat(i)):e.length?e:i,n=this._cache.all=n,n}getDecimalForValue(n){return(tD(this._table,n)-this._minPos)/this._tableRange}getValueForPixel(n){const e=this._offsets,i=this.getDecimalForPixel(n)/e.factor-e.end;return tD(this._table,i*this._tableRange+this._minPos,!0)}}bt(nE,"id","timeseries"),bt(nE,"defaults",tE.defaults);const NDe=[H1e,gbe,dDe,Object.freeze({__proto__:null,CategoryScale:pDe,LinearScale:Zw,LogarithmicScale:Kw,RadialLinearScale:M_,TimeScale:tE,TimeSeriesScale:nE})],nD=function LDe(t,n){return t===n||t!=t&&n!=n},iD=function PDe(t,n){for(var e=t.length;e--;)if(nD(t[e][0],n))return e;return-1};var VDe=Array.prototype.splice;function tp(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var i=t[n];this.set(i[0],i[1])}}tp.prototype.clear=function ODe(){this.__data__=[],this.size=0},tp.prototype.delete=function HDe(t){var n=this.__data__,e=iD(n,t);return!(e<0||(e==n.length-1?n.pop():VDe.call(n,e,1),--this.size,0))},tp.prototype.get=function jDe(t){var n=this.__data__,e=iD(n,t);return e<0?void 0:n[e][1]},tp.prototype.has=function UDe(t){return iD(this.__data__,t)>-1},tp.prototype.set=function zDe(t,n){var e=this.__data__,i=iD(e,t);return i<0?(++this.size,e.push([t,n])):e[i][1]=n,this};const rD=tp,m6="object"==typeof global&&global&&global.Object===Object&&global;var iye="object"==typeof self&&self&&self.Object===Object&&self;const np=m6||iye||Function("return this")();var oye=np.Symbol,g6=Object.prototype,sye=g6.hasOwnProperty,aye=g6.toString,C_=oye?oye.toStringTag:void 0;var uye=Object.prototype.toString;var _6=oye?oye.toStringTag:void 0;const sD=function gye(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":_6&&_6 in Object(t)?function lye(t){var n=sye.call(t,C_),e=t[C_];try{t[C_]=void 0;var i=!0}catch{}var r=aye.call(t);return i&&(n?t[C_]=e:delete t[C_]),r}(t):function fye(t){return uye.call(t)}(t)},Ru=function _ye(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)};const iE=function Mye(t){if(!Ru(t))return!1;var n=sD(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n};var t,Cye=np["__core-js_shared__"],v6=(t=/[^.]+$/.exec(Cye&&Cye.keys&&Cye.keys.IE_PROTO||""))?"Symbol(src)_1."+t:"";var Eye=Function.prototype.toString;var Rye=/^\[object .+?Constructor\]$/,Lye=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Bye=function Pye(t){return!(!Ru(t)||function xye(t){return!!v6&&v6 in t}(t))&&(iE(t)?Lye:Rye).test(function Sye(t){if(null!=t){try{return Eye.call(t)}catch{}try{return t+""}catch{}}return""}(t))},oE=function Gye(t,n){var e=function Vye(t,n){return t?.[n]}(t,n);return Bye(e)?e:void 0},b6=oE(np,"Map"),x_=oE(Object,"create");var Qye=Object.prototype.hasOwnProperty;var eMe=Object.prototype.hasOwnProperty;function ip(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var i=t[n];this.set(i[0],i[1])}}ip.prototype.clear=function Uye(){this.__data__=x_?x_(null):{},this.size=0},ip.prototype.delete=function zye(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},ip.prototype.get=function Jye(t){var n=this.__data__;if(x_){var e=n[t];return"__lodash_hash_undefined__"===e?void 0:e}return Qye.call(n,t)?n[t]:void 0},ip.prototype.has=function tMe(t){var n=this.__data__;return x_?void 0!==n[t]:eMe.call(n,t)},ip.prototype.set=function rMe(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=x_&&void 0===n?"__lodash_hash_undefined__":n,this};const D6=ip,aD=function dMe(t,n){var e=t.__data__;return function lMe(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}(n)?e["string"==typeof n?"string":"hash"]:e.map};function rp(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var i=t[n];this.set(i[0],i[1])}}rp.prototype.clear=function sMe(){this.size=0,this.__data__={hash:new D6,map:new(b6||rD),string:new D6}},rp.prototype.delete=function uMe(t){var n=aD(this,t).delete(t);return this.size-=n?1:0,n},rp.prototype.get=function hMe(t){return aD(this,t).get(t)},rp.prototype.has=function mMe(t){return aD(this,t).has(t)},rp.prototype.set=function _Me(t,n){var e=aD(this,t),i=e.size;return e.set(t,n),this.size+=e.size==i?0:1,this};const bMe=rp;function op(t){var n=this.__data__=new rD(t);this.size=n.size}op.prototype.clear=function qDe(){this.__data__=new rD,this.size=0},op.prototype.delete=function QDe(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e},op.prototype.get=function ZDe(t){return this.__data__.get(t)},op.prototype.has=function eye(t){return this.__data__.has(t)},op.prototype.set=function yMe(t,n){var e=this.__data__;if(e instanceof rD){var i=e.__data__;if(!b6||i.length<199)return i.push([t,n]),this.size=++e.size,this;e=this.__data__=new bMe(i)}return e.set(t,n),this.size=e.size,this};const CMe=op;var xMe=function(){try{var t=oE(Object,"defineProperty");return t({},"",{}),t}catch{}}();const lD=xMe,sE=function TMe(t,n,e){"__proto__"==n&&lD?lD(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e},aE=function wMe(t,n,e){(void 0!==e&&!nD(t[n],e)||void 0===e&&!(n in t))&&sE(t,n,e)};var SMe=function EMe(t){return function(n,e,i){for(var r=-1,o=Object(n),s=i(n),a=s.length;a--;){var l=s[t?a:++r];if(!1===e(o[l],l,o))break}return n}}();const kMe=SMe;var y6="object"==typeof exports&&exports&&!exports.nodeType&&exports,M6=y6&&"object"==typeof module&&module&&!module.nodeType&&module,C6=M6&&M6.exports===y6?np.Buffer:void 0,x6=C6?C6.allocUnsafe:void 0;const T6=np.Uint8Array,PMe=function LMe(t,n){var e=n?function OMe(t){var n=new t.constructor(t.byteLength);return new T6(n).set(new T6(t)),n}(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)};var w6=Object.create,HMe=function(){function t(){}return function(n){if(!Ru(n))return{};if(w6)return w6(n);t.prototype=n;var e=new t;return t.prototype=void 0,e}}();const GMe=HMe;var YMe=function jMe(t,n){return function(e){return t(n(e))}}(Object.getPrototypeOf,Object);const E6=YMe;var UMe=Object.prototype;const S6=function WMe(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||UMe)},T_=function qMe(t){return null!=t&&"object"==typeof t};const k6=function QMe(t){return T_(t)&&"[object Arguments]"==sD(t)};var A6=Object.prototype,JMe=A6.hasOwnProperty,ZMe=A6.propertyIsEnumerable,KMe=k6(function(){return arguments}())?k6:function(t){return T_(t)&&JMe.call(t,"callee")&&!ZMe.call(t,"callee")};const lE=KMe,cE=Array.isArray;const R6=function nCe(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},dE=function iCe(t){return null!=t&&R6(t.length)&&!iE(t)};var F6="object"==typeof exports&&exports&&!exports.nodeType&&exports,N6=F6&&"object"==typeof module&&module&&!module.nodeType&&module,O6=N6&&N6.exports===F6?np.Buffer:void 0;const I6=(O6?O6.isBuffer:void 0)||function sCe(){return!1};var L6=Function.prototype.toString,pCe=Object.prototype.hasOwnProperty,mCe=L6.call(Object);var yi={};yi["[object Float32Array]"]=yi["[object Float64Array]"]=yi["[object Int8Array]"]=yi["[object Int16Array]"]=yi["[object Int32Array]"]=yi["[object Uint8Array]"]=yi["[object Uint8ClampedArray]"]=yi["[object Uint16Array]"]=yi["[object Uint32Array]"]=!0,yi["[object Arguments]"]=yi["[object Array]"]=yi["[object ArrayBuffer]"]=yi["[object Boolean]"]=yi["[object DataView]"]=yi["[object Date]"]=yi["[object Error]"]=yi["[object Function]"]=yi["[object Map]"]=yi["[object Number]"]=yi["[object Object]"]=yi["[object RegExp]"]=yi["[object Set]"]=yi["[object String]"]=yi["[object WeakMap]"]=!1;var P6="object"==typeof exports&&exports&&!exports.nodeType&&exports,w_=P6&&"object"==typeof module&&module&&!module.nodeType&&module,uE=w_&&w_.exports===P6&&m6.process,$Ce=function(){try{return w_&&w_.require&&w_.require("util").types||uE&&uE.binding&&uE.binding("util")}catch{}}(),V6=$Ce&&$Ce.isTypedArray;const H6=V6?function UCe(t){return function(n){return t(n)}}(V6):function jCe(t){return T_(t)&&R6(t.length)&&!!yi[sD(t)]},fE=function XCe(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]};var JCe=Object.prototype.hasOwnProperty;const KCe=function ZCe(t,n,e){var i=t[n];(!JCe.call(t,n)||!nD(i,e)||void 0===e&&!(n in t))&&sE(t,n,e)};var oxe=/^(?:0|[1-9]\d*)$/;const G6=function sxe(t,n){var e=typeof t;return!!(n=n??9007199254740991)&&("number"==e||"symbol"!=e&&oxe.test(t))&&t>-1&&t%1==0&&t<n};var lxe=Object.prototype.hasOwnProperty;const dxe=function cxe(t,n){var e=cE(t),i=!e&&lE(t),r=!e&&!i&&I6(t),o=!e&&!i&&!r&&H6(t),s=e||i||r||o,a=s?function nxe(t,n){for(var e=-1,i=Array(t);++e<t;)i[e]=n(e);return i}(t.length,String):[],l=a.length;for(var d in t)(n||lxe.call(t,d))&&(!s||!("length"==d||r&&("offset"==d||"parent"==d)||o&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||G6(d,l)))&&a.push(d);return a};var pxe=Object.prototype.hasOwnProperty;const gxe=function mxe(t){if(!Ru(t))return function uxe(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}(t);var n=S6(t),e=[];for(var i in t)"constructor"==i&&(n||!pxe.call(t,i))||e.push(i);return e},j6=function _xe(t){return dE(t)?dxe(t,!0):gxe(t)},bxe=function vxe(t){return function exe(t,n,e,i){var r=!e;e||(e={});for(var o=-1,s=n.length;++o<s;){var a=n[o],l=i?i(e[a],t[a],a,e,t):void 0;void 0===l&&(l=t[a]),r?sE(e,a,l):KCe(e,a,l)}return e}(t,j6(t))},yxe=function Dxe(t,n,e,i,r,o,s){var a=fE(t,e),l=fE(n,e),d=s.get(l);if(d)aE(t,e,d);else{var f=o?o(a,l,e+"",t,n,s):void 0,m=void 0===f;if(m){var g=cE(l),b=!g&&I6(l),M=!g&&!b&&H6(l);f=l,g||b||M?cE(a)?f=a:function rCe(t){return T_(t)&&dE(t)}(a)?f=function BMe(t,n){var e=-1,i=t.length;for(n||(n=Array(i));++e<i;)n[e]=t[e];return n}(a):b?(m=!1,f=function RMe(t,n){if(n)return t.slice();var e=t.length,i=x6?x6(e):new t.constructor(e);return t.copy(i),i}(l,!0)):M?(m=!1,f=PMe(l,!0)):f=[]:function gCe(t){if(!T_(t)||"[object Object]"!=sD(t))return!1;var n=E6(t);if(null===n)return!0;var e=pCe.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&L6.call(e)==mCe}(l)||lE(l)?(f=a,lE(a)?f=bxe(a):(!Ru(a)||iE(a))&&(f=function zMe(t){return"function"!=typeof t.constructor||S6(t)?{}:GMe(E6(t))}(l))):m=!1}m&&(s.set(l,f),r(f,l,i,o,s),s.delete(l)),aE(t,e,f)}},Mxe=function Y6(t,n,e,i,r){t!==n&&kMe(n,function(o,s){if(r||(r=new CMe),Ru(o))yxe(t,n,s,e,Y6,i,r);else{var a=i?i(fE(t,s),o,s+"",t,n,r):void 0;void 0===a&&(a=o),aE(t,s,a)}},j6)},U6=function Cxe(t){return t},Txe=function xxe(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)};var W6=Math.max;const kxe=function Sxe(t){return function(){return t}};var Axe=lD?function(t,n){return lD(t,"toString",{configurable:!0,enumerable:!1,value:kxe(n),writable:!0})}:U6,Fxe=800,Nxe=16,Oxe=Date.now,Lxe=function Ixe(t){var n=0,e=0;return function(){var i=Oxe(),r=Nxe-(i-e);if(e=i,r>0){if(++n>=Fxe)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}(Axe);const Pxe=Lxe,Vxe=function Bxe(t,n){return Pxe(function wxe(t,n,e){return n=W6(void 0===n?t.length-1:n,0),function(){for(var i=arguments,r=-1,o=W6(i.length-n,0),s=Array(o);++r<o;)s[r]=i[n+r];r=-1;for(var a=Array(n+1);++r<n;)a[r]=i[r];return a[n]=e(s),Txe(t,this,a)}}(t,n,U6),t+"")};var Yxe=function jxe(t){return Vxe(function(n,e){var i=-1,r=e.length,o=r>1?e[r-1]:void 0,s=r>2?e[2]:void 0;for(o=t.length>3&&"function"==typeof o?(r--,o):void 0,s&&function Hxe(t,n,e){if(!Ru(e))return!1;var i=typeof n;return!!("number"==i?dE(e)&&G6(n,e.length):"string"==i&&n in e)&&nD(e[n],t)}(e[0],e[1],s)&&(o=r<3?void 0:o,r=1),n=Object(n);++i<r;){var a=e[i];a&&t(n,a,i,o)}return n})}(function(t,n,e){Mxe(t,n,e)});const z6=Yxe;let Uxe=(()=>{class t{constructor(){this.colorschemesOptions=new dr(void 0)}setColorschemesOptions(e){this.pColorschemesOptions=e,this.colorschemesOptions.next(e)}getColorschemesOptions(){return this.pColorschemesOptions}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Wxe=(()=>{class t{constructor(e,i,r){this.zone=i,this.themeService=r,this.type="bar",this.plugins=[],this.chartClick=new ht,this.chartHover=new ht,this.subs=[],this.themeOverrides={},this.ctx=e.nativeElement.getContext("2d"),this.subs.push(this.themeService.colorschemesOptions.pipe(Bh()).subscribe(o=>this.themeChanged(o)))}ngOnChanges(e){const i=["type"],r=Object.getOwnPropertyNames(e);if(r.some(o=>i.includes(o))||r.every(o=>e[o].isFirstChange()))this.render();else{const o=this.getChartConfiguration();this.chart&&(Object.assign(this.chart.config.data,o.data),this.chart.config.plugins&&Object.assign(this.chart.config.plugins,o.plugins),this.chart.config.options&&Object.assign(this.chart.config.options,o.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 zb(this.ctx,this.getChartConfiguration()))}update(e){this.chart&&this.zone.runOutsideAngular(()=>this.chart?.update(e))}hideDataset(e,i){this.chart&&(this.chart.getDatasetMeta(e).hidden=i,this.update())}isDatasetHidden(e){return this.chart?.getDatasetMeta(e)?.hidden}toBase64Image(){return this.chart?.toBase64Image()}themeChanged(e){this.themeOverrides=e,this.chart&&(this.chart.config.options&&Object.assign(this.chart.config.options,this.getChartOptions()),this.update())}getChartOptions(){return z6({onHover:(e,i)=>{!this.chartHover.observed&&!this.chartHover.observers?.length||this.zone.run(()=>this.chartHover.emit({event:e,active:i}))},onClick:(e,i)=>{!this.chartClick.observed&&!this.chartClick.observers?.length||this.zone.run(()=>this.chartClick.emit({event:e,active:i}))}},this.themeOverrides,this.options,{plugins:{legend:{display:this.legend}}})}getChartConfiguration(){return{type:this.type,data:this.getChartData(),options:this.getChartOptions(),plugins:this.plugins}}getChartData(){return this.data?this.data:{labels:this.labels||[],datasets:this.datasets||[]}}}return t.\u0275fac=function(e){return new(e||t)(V(Gt),V(St),V(Uxe))},t.\u0275dir=je({type:t,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:[ti]}),t})();const zxe=[[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]],$xe={plugins:{colors:{enabled:!1}},datasets:{line:{backgroundColor:t=>ad(ld(t.datasetIndex),.4),borderColor:t=>ad(ld(t.datasetIndex),1),pointBackgroundColor:t=>ad(ld(t.datasetIndex),1),pointBorderColor:"#fff"},bar:{backgroundColor:t=>ad(ld(t.datasetIndex),.6),borderColor:t=>ad(ld(t.datasetIndex),1)},get radar(){return this.line},doughnut:{backgroundColor:t=>ad(ld(t.dataIndex),.6),borderColor:"#fff"},get pie(){return this.doughnut},polarArea:{backgroundColor:t=>ad(ld(t.dataIndex),.6),borderColor:t=>ad(ld(t.dataIndex),1)},get bubble(){return this.doughnut},get scatter(){return this.doughnut},get area(){return this.polarArea}}};function ad(t,n){return"rgba("+t.concat(n).join(",")+")"}function hE(t,n){return Math.floor(Math.random()*(n-t+1))+t}function ld(t=0){return zxe[t]||function qxe(){return[hE(0,255),hE(0,255),hE(0,255)]}()}let $6=(()=>{class t{constructor(){this.generateColors=!0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();zb.register(...NDe);let q6=(()=>{class t{constructor(e){e?.plugins&&zb.register(...e?.plugins);const i=z6(e?.generateColors?$xe:{},e?.defaults||{});Ji.set(i)}static forRoot(e){return{ngModule:t,providers:[{provide:$6,useValue:e}]}}}return t.\u0275fac=function(e){return new(e||t)(me($6,8))},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({}),t})();const Xxe=["Gra1"],Qxe=["Gra2"],Jxe=["Gra3"];function Zxe(t,n){if(1&t&&(c(0,"option",26),p(1),u()),2&t){const e=n.$implicit;Hi("value",e.Nombre),h(1),I(e.Nombre)}}let X6=(()=>{class t{constructor(e,i){this.servicios=e,this.Chart=i,this.FAD=new Date,this.FecAnt="",this.FecAct=(new Date).toISOString(),this.FecDes=this.FecAct.substr(0,10),this.FecHas=this.FecAct.substr(0,10),this.Zona="",this.OJE=[],this.donaChartLabels=["Pendiente","Nuevo","Aceptado","Iniciado","Calificado Repartidor","Cancelado Cliente","Terminado","En Devolucion","En Centro","Devuelto"],this.donaChartData={labels:this.donaChartLabels,datasets:[{data:[0,0,0,0,0,0,0,0,0,0],backgroundColor:["#e99047","#60d49b","#29a5dc","#f29b13","#8832cf","#cf5132","#32ad32","#f29b13","#8832cf","#e99047"],borderColor:"rgba(255,255,255,0.5)"}]},this.donaChartType="doughnut",this.donaChartOpt={responsive:!0,maintainAspectRatio:!1,legend:{position:"bottom"}},this.barChartLabels=["Cliente","Vendedor","Repartidor"],this.barChartData={labels:this.barChartLabels,datasets:[{data:[0,0,0],backgroundColor:["#aaf386","#86c7f3","#64a5f3"],borderColor:"rgba(255,255,255,0.5)"}]},this.barChartType="bar",this.barChartOpt={responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1}}},this.lineChartLabels=["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23"],this.lineChartData={labels:this.lineChartLabels,datasets:[{data:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],label:"Nuevo",backgroundColor:"rgba(96,212,155,0.2)",borderColor:"rgba(96,212,155,1)",pointBackgroundColor:"rgba(96,212,155,1)",pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(96,212,155,0.8)"},{data:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],label:"Aceptado",backgroundColor:"rgba(41,165,220,0.2)",borderColor:"rgba(41,165,220,1)",pointBackgroundColor:"rgba(41,165,220,1)",pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(41,165,220,0.8)"},{data:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],label:"Devuelto",backgroundColor:"rgba(233,144,71,0.2)",borderColor:"rgba(233,144,71,1)",pointBackgroundColor:"rgba(233,144,71,1)",pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(233,144,71,0.8)"},{data:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],label:"Terminado",backgroundColor:"rgba(50,173,50,0.2)",borderColor:"rgba(50,173,50,1)",pointBackgroundColor:"rgba(50,173,50,1)",pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(50,173,50,0.8)"},{data:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],label:"Cancelado",backgroundColor:"rgba(207,49,18,0.2)",borderColor:"rgba(207,49,18,1)",pointBackgroundColor:"rgba(207,49,18,1)",pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(207,49,18,0.8)"}]},this.lineChartOptions={responsive:!0,maintainAspectRatio:!1,elements:{line:{tension:.5}}},this.lineChartLegend=!0,this.lineChartType="line"}ngOnInit(){this.FAD=new Date,this.FAD.setMonth(this.FAD.getMonth()-1),this.FecAnt=this.FAD.toISOString(),this.FecDes=this.FecAnt.substr(0,10),this.ActGra()}ActGra(){this.CarDatGraSer(),this.CarDatGraCliMen(),this.CarDatGraHorSol()}chartClicked(e){}chartHovered(e){}CarDatGraSer(){this.servicios.AccSobBD("SELECT","Si","Estatus,COUNT(Estatus)","","","pedidos","WHERE OriZon LIKE |\xb7"+this.Zona+"\xb7| AND FecHorSol BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","GROUP BY Estatus ORDER BY Estatus","","CarVar",this,function(e,i){console.log(e),i.DatGraSer=e.data,i.donaChartLabels=["Pendiente","Nuevo","Aceptado","Iniciado","Calificado Repartidor","Cancelado Cliente","Terminado","En Devolucion","En Centro","Devuelto"],i.donaChartData.datasets[0].data=[0,0,0,0,0,0,0,0,0,0];for(var r=i.donaChartLabels,o=i.donaChartData.datasets[0].data,s=0;s<i.DatGraSer.length;s++)for(var a=0;a<r.length;a++)r[a]==i.DatGraSer[s][0]&&(o[a]=parseFloat(i.DatGraSer[s][1]),i.donaChartData.datasets[0].data[a]=parseFloat(i.DatGraSer[s][1]))})}CarDatGraCliMen(){this.servicios.AccSobBD("SELECT","Si","Tipo,COUNT(Tipo) Can","","","usuarios","WHERE Tipo IN (|Cliente|,|Vendedor|,|Repartidor|) AND FecHorReg BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","GROUP BY Tipo ORDER BY Tipo","","CarVar",this,function(e,i){console.log(e),i.DatGraCliCho=e.data,i.barChartLabels=["Cliente","Vendedor","Repartidor"],i.barChartData.datasets[0].data=[0,0,0];for(var r=i.barChartLabels,o=i.barChartData.datasets[0].data,s=0;s<i.DatGraCliCho.length;s++)for(var a=0;a<r.length;a++)r[a]==i.DatGraCliCho[s].Tipo&&(o[a]=parseFloat(i.DatGraCliCho[s].Can),i.barChartData.datasets[0].data[a]=parseFloat(i.DatGraCliCho[s].Can))})}CarDatGraHorSol(){this.lineChartData.datasets=[{data:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],label:"Nuevo",backgroundColor:"rgba(96,212,155,0.2)",borderColor:"rgba(96,212,155,1)",pointBackgroundColor:"rgba(96,212,155,1)",pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(96,212,155,0.8)"},{data:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],label:"Aceptado",backgroundColor:"rgba(41,165,220,0.2)",borderColor:"rgba(41,165,220,1)",pointBackgroundColor:"rgba(41,165,220,1)",pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(41,165,220,0.8)"},{data:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],label:"Devuelto",backgroundColor:"rgba(233,144,71,0.2)",borderColor:"rgba(233,144,71,1)",pointBackgroundColor:"rgba(233,144,71,1)",pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(233,144,71,0.8)"},{data:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],label:"Terminado",backgroundColor:"rgba(50,173,50,0.2)",borderColor:"rgba(50,173,50,1)",pointBackgroundColor:"rgba(50,173,50,1)",pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(50,173,50,0.8)"},{data:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],label:"Cancelado",backgroundColor:"rgba(207,49,18,0.2)",borderColor:"rgba(207,49,18,1)",pointBackgroundColor:"rgba(207,49,18,1)",pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(207,49,18,0.8)"}],this.lineChartLabels=["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23"],this.servicios.AccSobBD("SELECT","Si","HOUR(FecHorSol),COUNT(*)","","","pedidos","WHERE OriZon LIKE |\xb7"+this.Zona+"\xb7| AND FecHorSol BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","GROUP BY HOUR(FecHorSol) ORDER BY HOUR(FecHorSol)","","CarVar",this,function(e,i){i.DatGraCliCho=e.data,i.servicios.AccSobBD("SELECT","Si","HOUR(FecHorAce),COUNT(*)","","","pedidos","WHERE OriZon LIKE |\xb7"+i.Zona+"\xb7| AND FecHorAce BETWEEN |"+i.FecDes+"| AND |"+i.FecHas+"|","GROUP BY HOUR(FecHorAce) ORDER BY HOUR(FecHorAce)","","CarVar",i,function(r,o){o.DatGraCliChoB=r.data,o.servicios.AccSobBD("SELECT","Si","HOUR(FecHorDev),COUNT(*)","","","pedidos","WHERE OriZon LIKE |\xb7"+o.Zona+"\xb7| AND FecHorDev BETWEEN |"+o.FecDes+"| AND |"+o.FecHas+"|","GROUP BY HOUR(FecHorDev) ORDER BY HOUR(FecHorDev)","","CarVar",o,function(s,a){a.DatGraCliChoC=s.data,a.servicios.AccSobBD("SELECT","Si","HOUR(FecHorFin),COUNT(*)","","","pedidos","WHERE OriZon LIKE |\xb7"+a.Zona+"\xb7| AND FecHorFin BETWEEN |"+a.FecDes+"| AND |"+a.FecHas+"|","GROUP BY HOUR(FecHorFin) ORDER BY HOUR(FecHorFin)","","CarVar",a,function(l,d){d.DatGraCliChoD=l.data,d.servicios.AccSobBD("SELECT","Si","HOUR(FecHorCan),COUNT(*)","","","pedidos","WHERE OriZon LIKE |\xb7"+d.Zona+"\xb7| AND FecHorCan BETWEEN |"+d.FecDes+"| AND |"+d.FecHas+"|","GROUP BY HOUR(FecHorCan) ORDER BY HOUR(FecHorCan)","","CarVar",d,function(f,m){m.DatGraCliChoE=f.data;for(var g=m.lineChartLabels,b=m.lineChartData,M=0;M<m.DatGraCliCho.length;M++)for(var y=0;y<g.length;y++)g[y]==m.DatGraCliCho[M][0]&&(b.datasets[0].data[y]=parseFloat(m.DatGraCliCho[M][1]),m.lineChartData.datasets[0].data[y]=parseFloat(m.DatGraCliCho[M][1]));for(M=0;M<m.DatGraCliChoB.length;M++)for(y=0;y<g.length;y++)g[y]==m.DatGraCliChoB[M][0]&&(b.datasets[1].data[y]=parseFloat(m.DatGraCliChoB[M][1]),m.lineChartData.datasets[1].data[y]=parseFloat(m.DatGraCliChoB[M][1]));for(M=0;M<m.DatGraCliChoC.length;M++)for(y=0;y<g.length;y++)g[y]==m.DatGraCliChoC[M][0]&&(b.datasets[2].data[y]=parseFloat(m.DatGraCliChoC[M][1]),m.lineChartData.datasets[2].data[y]=parseFloat(m.DatGraCliChoC[M][1]));for(M=0;M<m.DatGraCliChoD.length;M++)for(y=0;y<g.length;y++)g[y]==m.DatGraCliChoD[M][0]&&(b.datasets[3].data[y]=parseFloat(m.DatGraCliChoD[M][1]),m.lineChartData.datasets[3].data[y]=parseFloat(m.DatGraCliChoD[M][1]));for(M=0;M<m.DatGraCliChoE.length;M++)for(y=0;y<g.length;y++)g[y]==m.DatGraCliChoE[M][0]&&(b.datasets[4].data[y]=parseFloat(m.DatGraCliChoE[M][1]),m.lineChartData.datasets[4].data[y]=parseFloat(m.DatGraCliChoE[M][1]));void 0!==m.Gra3&&(m.Gra3.ngOnDestroy(),m.Gra3.render())})})})})})}CarLisZona(){this.servicios.AccSobBD("SELECT","Si","*","","","zonas","WHERE NRegistro } 0 AND Estatus = |Activa|","ORDER BY Nombre","","CarVar",this,function(e,i){i.LisZona=e.data})}CarLisExp(){for(;this.OJE.length>0;)this.OJE.pop();for(var e=0;e<this.donaChartLabels.length;e++){let i={};i={Variable:"Servicios "+this.donaChartLabels[e],Valor:this.servicios.NumFor(this.donaChartData[e],2),Desde:this.servicios.ForFec(this.FecDes),Hasta:this.servicios.ForFec(this.FecHas),Zona:this.Zona},this.OJE.push(i)}for(e=0;e<this.barChartLabels.length;e++){let r={};r={Variable:"Usuarios "+this.barChartLabels[e],Valor:this.servicios.NumFor(this.barChartData[e],2),Desde:this.servicios.ForFec(this.FecDes),Hasta:this.servicios.ForFec(this.FecHas),Zona:this.Zona},this.OJE.push(r)}for(e=0;e<this.lineChartLabels.length;e++){let r={};r={Variable:"Solicitud de Servicio a las "+this.lineChartLabels[e]+"Hrs",Valor:this.servicios.NumFor(this.lineChartData[0].data[e],2),Desde:this.servicios.ForFec(this.FecDes),Hasta:this.servicios.ForFec(this.FecHas),Zona:this.Zona},this.OJE.push(r)}for(e=0;e<this.lineChartLabels.length;e++){let r={};r={Variable:"Aceptacion de Servicio a las "+this.lineChartLabels[e]+"Hrs",Valor:this.servicios.NumFor(this.lineChartData[1].data[e],2),Desde:this.servicios.ForFec(this.FecDes),Hasta:this.servicios.ForFec(this.FecHas),Zona:this.Zona},this.OJE.push(r)}this.servicios.exportAsExcelFile(this.OJE,"Resumen")}}return t.\u0275fac=function(e){return new(e||t)(V(Et),V(q6))},t.\u0275cmp=Oe({type:t,selectors:[["app-dash"]],viewQuery:function(e,i){if(1&e&&(Ht(Xxe,5),Ht(Qxe,5),Ht(Jxe,5)),2&e){let r;lt(r=ct())&&(i.Gra1=r.first),lt(r=ct())&&(i.Gra2=r.first),lt(r=ct())&&(i.Gra3=r.first)}},decls:50,vars:17,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"PieMod"],["width","100%","cellpadding","5px;"],["width","20%","align","center","valign","middle"],[1,"input-group","mb-3",2,"margin-bottom","0px !important"],[1,"input-group-prepend"],["id","InpDes",1,"input-group-text"],["type","date","aria-label","Sizing example input","aria-describedby","InpDes",1,"form-control",3,"ngModel","ngModelChange"],["id","InpHas",1,"input-group-text"],["type","date","aria-label","Sizing example input","aria-describedby","InpHas",1,"form-control",3,"ngModel","ngModelChange"],["id","Zona","placeholder","Forma de pago",1,"form-control",3,"ngModel","ngModelChange"],["selected","","value",""],[3,"value",4,"ngFor","ngForOf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],[1,"card-deck","mb-3","text-center",2,"margin","2%"],[1,"card","mb-6","box-shadow"],[1,"card-header"],[1,"my-0","font-weight-normal"],[1,"card-body",2,"height","300px"],["baseChart","",3,"data","labels","type","options","chartHover","chartClick"],["Gra1","base-chart"],["Gra2","base-chart"],[1,"card","mb-12","box-shadow"],["baseChart","","height","300px",3,"data","labels","options","legend","type","chartHover","chartClick"],["Gra3","base-chart"],[3,"value"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Dashboard / "),c(2,"span",1),p(3,"Gr\xe1ficos"),u()(),c(4,"div",2)(5,"table",3)(6,"tr")(7,"td",4)(8,"div",5)(9,"div",6)(10,"span",7),p(11,"Desde"),u()(),c(12,"input",8),R("ngModelChange",function(o){return i.FecDes=o}),u()()(),c(13,"td",4)(14,"div",5)(15,"div",6)(16,"span",9),p(17,"Hasta"),u()(),c(18,"input",10),R("ngModelChange",function(o){return i.FecHas=o}),u()()(),c(19,"td",4)(20,"div",5)(21,"select",11),R("ngModelChange",function(o){return i.Zona=o}),c(22,"option",12),p(23,"Todas las Zonas"),u(),C(24,Zxe,2,2,"option",13),u()()(),c(25,"td",4)(26,"img",14),R("click",function(){return i.ActGra()}),u()()()()(),c(27,"div",15)(28,"div",16)(29,"div",17)(30,"h4",18),p(31,"Estatus de Pedidos"),u()(),c(32,"div",19)(33,"canvas",20,21),R("chartHover",function(o){return i.chartHovered(o)})("chartClick",function(o){return i.chartClicked(o)}),u()()(),c(35,"div",16)(36,"div",17)(37,"h4",18),p(38,"Usuarios"),u()(),c(39,"div",19)(40,"canvas",20,22),R("chartHover",function(o){return i.chartHovered(o)})("chartClick",function(o){return i.chartClicked(o)}),u()()()(),c(42,"div",15)(43,"div",23)(44,"div",17)(45,"h4",18),p(46,"Horario de Pedidos"),u()(),c(47,"div",19)(48,"canvas",24,25),R("chartHover",function(o){return i.chartHovered(o)})("chartClick",function(o){return i.chartClicked(o)}),u()()()()),2&e&&(h(12),_("ngModel",i.FecDes),h(6),_("ngModel",i.FecHas),h(3),_("ngModel",i.Zona),h(3),_("ngForOf",i.LisZona),h(9),_("data",i.donaChartData)("labels",i.donaChartLabels)("type",i.donaChartType)("options",i.donaChartOpt),h(7),_("data",i.barChartData)("labels",i.barChartLabels)("type",i.barChartType)("options",i.barChartOpt),h(8),_("data",i.lineChartData)("labels",i.lineChartLabels)("options",i.lineChartOptions)("legend",i.lineChartLegend)("type",i.lineChartType))},dependencies:[Mt,Do,yo,Si,Hr,Ii,ki,Wxe]}),t})();class pE{constructor(n){this.rawFile=n;const e=n instanceof HTMLInputElement?n.value:n;this["_createFrom"+("string"==typeof e?"FakePath":"Object")](e)}_createFromFakePath(n){this.lastModifiedDate=void 0,this.size=void 0,this.type=`like/${n.slice(n.lastIndexOf(".")+1).toLowerCase()}`,this.name=n.slice(n.lastIndexOf("/")+n.lastIndexOf("\\")+2)}_createFromObject(n){this.size=n.size,this.type=n.type,this.name=n.name}}class Kxe{constructor(n,e,i){this.url="/",this.headers=[],this.withCredentials=!0,this.formData=[],this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.uploader=n,this.some=e,this.options=i,this.file=new pE(e),this._file=e,n.options&&(this.method=n.options.method||"POST",this.alias=n.options.itemAlias||"file"),this.url=n.options.url}upload(){try{this.uploader.uploadItem(this)}catch{this.uploader._onCompleteItem(this,"",0,{}),this.uploader._onErrorItem(this,"",0,{})}}cancel(){this.uploader.cancelItem(this)}remove(){this.uploader.removeFromQueue(this)}onBeforeUpload(){}onBuildForm(n){return{form:n}}onProgress(n){return{progress:n}}onSuccess(n,e,i){return{response:n,status:e,headers:i}}onError(n,e,i){return{response:n,status:e,headers:i}}onCancel(n,e,i){return{response:n,status:e,headers:i}}onComplete(n,e,i){return{response:n,status:e,headers:i}}_onBeforeUpload(){this.isReady=!0,this.isUploading=!0,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!1,this.isError=!1,this.progress=0,this.onBeforeUpload()}_onBuildForm(n){this.onBuildForm(n)}_onProgress(n){this.progress=n,this.onProgress(n)}_onSuccess(n,e,i){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!0,this.isCancel=!1,this.isError=!1,this.progress=100,this.index=void 0,this.onSuccess(n,e,i)}_onError(n,e,i){this.isReady=!1,this.isUploading=!1,this.isUploaded=!0,this.isSuccess=!1,this.isCancel=!1,this.isError=!0,this.progress=0,this.index=void 0,this.onError(n,e,i)}_onCancel(n,e,i){this.isReady=!1,this.isUploading=!1,this.isUploaded=!1,this.isSuccess=!1,this.isCancel=!0,this.isError=!1,this.progress=0,this.index=void 0,this.onCancel(n,e,i)}_onComplete(n,e,i){this.onComplete(n,e,i),this.uploader.options.removeAfterUpload&&this.remove()}_prepareToUploading(){this.index=this.index||++this.uploader._nextIndex,this.isReady=!0}}let eTe=(()=>{class t{static getMimeClass(e){let i="application";return e?.type&&-1!==this.mime_psd.indexOf(e.type)||e?.type?.match("image.*")?i="image":e?.type?.match("video.*")?i="video":e?.type?.match("audio.*")?i="audio":"application/pdf"===e?.type?i="pdf":e?.type&&-1!==this.mime_compress.indexOf(e.type)?i="compress":e?.type&&-1!==this.mime_doc.indexOf(e.type)?i="doc":e?.type&&-1!==this.mime_xsl.indexOf(e.type)?i="xls":e?.type&&-1!==this.mime_ppt.indexOf(e.type)&&(i="ppt"),"application"===i&&e?.name&&(i=this.fileTypeDetection(e.name)),i}static fileTypeDetection(e){const i={jpg:"image",jpeg:"image",tif:"image",psd:"image",bmp:"image",png:"image",nef:"image",tiff:"image",cr2:"image",dwg:"image",cdr:"image",ai:"image",indd:"image",pin:"image",cdp:"image",skp:"image",stp:"image","3dm":"image",mp3:"audio",wav:"audio",wma:"audio",mod:"audio",m4a:"audio",compress:"compress",zip:"compress",rar:"compress","7z":"compress",lz:"compress",z01:"compress",bz2:"compress",gz:"compress",pdf:"pdf",xls:"xls",xlsx:"xls",ods:"xls",mp4:"video",avi:"video",wmv:"video",mpg:"video",mts:"video",flv:"video","3gp":"video",vob:"video",m4v:"video",mpeg:"video",m2ts:"video",mov:"video",doc:"doc",docx:"doc",eps:"doc",txt:"doc",odt:"doc",rtf:"doc",ppt:"ppt",pptx:"ppt",pps:"ppt",ppsx:"ppt",odp:"ppt"},r=e.split(".");if(r.length<2)return"application";const o=r[r.length-1].toLowerCase();return void 0===i[o]?"application":i[o]}}return t.mime_doc=["application/msword","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/vnd.ms-word.document.macroEnabled.12","application/vnd.ms-word.template.macroEnabled.12"],t.mime_xsl=["application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.ms-excel.sheet.macroEnabled.12","application/vnd.ms-excel.template.macroEnabled.12","application/vnd.ms-excel.addin.macroEnabled.12","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],t.mime_ppt=["application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.presentationml.template","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/vnd.ms-powerpoint.addin.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],t.mime_psd=["image/photoshop","image/x-photoshop","image/psd","application/photoshop","application/psd","zz-application/zz-winassoc-psd"],t.mime_compress=["application/x-gtar","application/x-gcompress","application/compress","application/x-tar","application/x-rar-compressed","application/octet-stream","application/x-zip-compressed","application/zip-compressed","application/x-7z-compressed","application/gzip","application/x-bzip2"],t})();class Q6{constructor(n){this.isUploading=!1,this.queue=[],this.progress=0,this._nextIndex=0,this.options={autoUpload:!1,isHTML5:!0,filters:[],removeAfterUpload:!1,disableMultipart:!1,formatDataFunction:e=>e._file,formatDataFunctionIsAsync:!1,url:""},this.setOptions(n),this.response=new ht}setOptions(n){this.options=Object.assign(this.options,n),this.authToken=this.options.authToken,this.authTokenHeader=this.options.authTokenHeader||"Authorization",this.autoUpload=this.options.autoUpload,this.options.filters?.unshift({name:"queueLimit",fn:this._queueLimitFilter}),this.options.maxFileSize&&this.options.filters?.unshift({name:"fileSize",fn:this._fileSizeFilter}),this.options.allowedFileType&&this.options.filters?.unshift({name:"fileType",fn:this._fileTypeFilter}),this.options.allowedMimeType&&this.options.filters?.unshift({name:"mimeType",fn:this._mimeTypeFilter});for(let e=0;e<this.queue.length;e++)this.queue[e].url=this.options.url}addToQueue(n,e,i){let r=e;const o=[];for(const d of n)o.push(d);const s=this._getFilters(i),a=this.queue.length,l=[];o.map(d=>{r||(r=this.options);const f=new pE(d);if(this._isValidFile(f,s,r)){const m=new Kxe(this,d,r);l.push(m),this.queue.push(m),this._onAfterAddingFile(m)}else this._failFilterIndex&&this._onWhenAddingFileFailed(f,s[this._failFilterIndex],r)}),this.queue.length!==a&&(this._onAfterAddingAll(l),this.progress=this._getTotalProgress()),this._render(),this.options.autoUpload&&this.uploadAll()}removeFromQueue(n){const e=this.getIndexOfItem(n),i=this.queue[e];i.isUploading&&i.cancel(),this.queue.splice(e,1),this.progress=this._getTotalProgress()}clearQueue(){for(;this.queue.length;)this.queue[0].remove();this.progress=0}uploadItem(n){const e=this.getIndexOfItem(n),i=this.queue[e],r=this.options.isHTML5?"_xhrTransport":"_iframeTransport";i._prepareToUploading(),!this.isUploading&&(this.isUploading=!0,this[r](i))}cancelItem(n){const e=this.getIndexOfItem(n),i=this.queue[e];i&&i.isUploading&&(this.options.isHTML5?i._xhr:i._form).abort()}uploadAll(){const n=this.getNotUploadedItems().filter(e=>!e.isUploading);n.length&&(n.map(e=>e._prepareToUploading()),n[0].upload())}cancelAll(){this.getNotUploadedItems().map(e=>e.cancel())}isFile(n){return function tTe(t){return File&&t instanceof File}(n)}isFileLikeObject(n){return n instanceof pE}getIndexOfItem(n){return"number"==typeof n?n:this.queue.indexOf(n)}getNotUploadedItems(){return this.queue.filter(n=>!n.isUploaded)}getReadyItems(){return this.queue.filter(n=>n.isReady&&!n.isUploading).sort((n,e)=>n.index-e.index)}onAfterAddingAll(n){return{fileItems:n}}onBuildItemForm(n,e){return{fileItem:n,form:e}}onAfterAddingFile(n){return{fileItem:n}}onWhenAddingFileFailed(n,e,i){return{item:n,filter:e,options:i}}onBeforeUploadItem(n){return{fileItem:n}}onProgressItem(n,e){return{fileItem:n,progress:e}}onProgressAll(n){return{progress:n}}onSuccessItem(n,e,i,r){return{item:n,response:e,status:i,headers:r}}onErrorItem(n,e,i,r){return{item:n,response:e,status:i,headers:r}}onCancelItem(n,e,i,r){return{item:n,response:e,status:i,headers:r}}onCompleteItem(n,e,i,r){return{item:n,response:e,status:i,headers:r}}onCompleteAll(){}_mimeTypeFilter(n){return!(n?.type&&this.options.allowedMimeType&&-1===this.options.allowedMimeType?.indexOf(n.type))}_fileSizeFilter(n){return!(this.options.maxFileSize&&n.size>this.options.maxFileSize)}_fileTypeFilter(n){return!(this.options.allowedFileType&&-1===this.options.allowedFileType.indexOf(eTe.getMimeClass(n)))}_onErrorItem(n,e,i,r){n._onError(e,i,r),this.onErrorItem(n,e,i,r)}_onCompleteItem(n,e,i,r){n._onComplete(e,i,r),this.onCompleteItem(n,e,i,r);const o=this.getReadyItems()[0];this.isUploading=!1,o?o.upload():(this.onCompleteAll(),this.progress=this._getTotalProgress(),this._render())}_headersGetter(n){return e=>e?n[e.toLowerCase()]||void 0:n}_xhrTransport(n){const e=this,i=n._xhr=new XMLHttpRequest;let r;if(this._onBeforeUploadItem(n),"number"!=typeof n._file.size)throw new TypeError("The file specified is no longer valid");if(this.options.disableMultipart)this.options.formatDataFunction&&(r=this.options.formatDataFunction(n));else{r=new FormData,this._onBuildItemForm(n,r);const o=()=>r.append(n.alias,n._file,n.file.name);this.options.parametersBeforeFiles||o(),void 0!==this.options.additionalParameter&&Object.keys(this.options.additionalParameter).forEach(s=>{let a=this.options.additionalParameter?.[s];"string"==typeof a&&a.indexOf("{{file_name}}")>=0&&n.file?.name&&(a=a.replace("{{file_name}}",n.file.name)),r.append(s,a)}),o&&this.options.parametersBeforeFiles&&o()}if(i.upload.onprogress=o=>{const s=Math.round(o.lengthComputable?100*o.loaded/o.total:0);this._onProgressItem(n,s)},i.onload=()=>{const o=this._parseHeaders(i.getAllResponseHeaders()),s=this._transformResponse(i.response,o);this[`_on${this._isSuccessCode(i.status)?"Success":"Error"}Item`](n,s,i.status,o),this._onCompleteItem(n,s,i.status,o)},i.onerror=()=>{const o=this._parseHeaders(i.getAllResponseHeaders()),s=this._transformResponse(i.response,o);this._onErrorItem(n,s,i.status,o),this._onCompleteItem(n,s,i.status,o)},i.onabort=()=>{const o=this._parseHeaders(i.getAllResponseHeaders()),s=this._transformResponse(i.response,o);this._onCancelItem(n,s,i.status,o),this._onCompleteItem(n,s,i.status,o)},n.method&&n.url&&i.open(n.method,n.url,!0),i.withCredentials=n.withCredentials,this.options.headers)for(const o of this.options.headers)i.setRequestHeader(o.name,o.value);if(n.headers.length)for(const o of n.headers)i.setRequestHeader(o.name,o.value);this.authToken&&this.authTokenHeader&&i.setRequestHeader(this.authTokenHeader,this.authToken),i.onreadystatechange=function(){i.readyState==XMLHttpRequest.DONE&&e.response.emit(i.responseText)},this.options.formatDataFunctionIsAsync?r.then(o=>i.send(JSON.stringify(o))):i.send(r),this._render()}_getTotalProgress(n=0){if(this.options.removeAfterUpload)return n;const e=this.getNotUploadedItems().length,r=100/this.queue.length;return Math.round((e?this.queue.length-e:this.queue.length)*r+n*r/100)}_getFilters(n){if(!n)return this.options?.filters||[];if(Array.isArray(n))return n;if("string"==typeof n){const e=n.match(/[^\s,]+/g);return this.options?.filters||[].filter(i=>-1!==e?.indexOf(i.name))}return this.options?.filters||[]}_render(){}_queueLimitFilter(){return void 0===this.options.queueLimit||this.queue.length<this.options.queueLimit}_isValidFile(n,e,i){return this._failFilterIndex=-1,!e.length||e.every(r=>(this._failFilterIndex&&this._failFilterIndex++,r.fn.call(this,n,i)))}_isSuccessCode(n){return n>=200&&n<300||304===n}_transformResponse(n,e){return n}_parseHeaders(n){const e={};let i,r,o;return n&&n.split("\n").map(s=>{o=s.indexOf(":"),i=s.slice(0,o).trim().toLowerCase(),r=s.slice(o+1).trim(),i&&(e[i]=e[i]?e[i]+", "+r:r)}),e}_onWhenAddingFileFailed(n,e,i){this.onWhenAddingFileFailed(n,e,i)}_onAfterAddingFile(n){this.onAfterAddingFile(n)}_onAfterAddingAll(n){this.onAfterAddingAll(n)}_onBeforeUploadItem(n){n._onBeforeUpload(),this.onBeforeUploadItem(n)}_onBuildItemForm(n,e){n._onBuildForm(e),this.onBuildItemForm(n,e)}_onProgressItem(n,e){const i=this._getTotalProgress(e);this.progress=i,n._onProgress(e),this.onProgressItem(n,e),this.onProgressAll(i),this._render()}_onSuccessItem(n,e,i,r){n._onSuccess(e,i,r),this.onSuccessItem(n,e,i,r)}_onCancelItem(n,e,i,r){n._onCancel(e,i,r),this.onCancelItem(n,e,i,r)}}let J6=(()=>{class t{constructor(e){this.onFileSelected=new ht,this.element=e}getOptions(){return this.uploader?.options}getFilters(){return""}isEmptyAfterSelection(){return!!this.element.nativeElement.attributes.multiple}onChange(){const e=this.element.nativeElement.files,i=this.getOptions(),r=this.getFilters();this.uploader?.addToQueue(e,i,r),this.onFileSelected.emit(e),this.isEmptyAfterSelection()&&(this.element.nativeElement.value="")}}return t.\u0275fac=function(e){return new(e||t)(V(Gt))},t.\u0275dir=je({type:t,selectors:[["","ng2FileSelect",""]],hostBindings:function(e,i){1&e&&R("change",function(){return i.onChange()})},inputs:{uploader:"uploader"},outputs:{onFileSelected:"onFileSelected"}}),t})(),nTe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[qd]}),t})();function iTe(t,n){if(1&t&&(c(0,"div",12),p(1),u()),2&t){const e=D();h(1),Rt("",e.servicios.DGF.Acc," registro en ",e.servicios.DGF.DGM.Nombre,"")}}function rTe(t,n){1&t&&(c(0,"span",22),p(1,"*"),u())}function oTe(t,n){if(1&t){const e=ae();c(0,"div",18)(1,"label",19)(2,"strong"),p(3),C(4,rTe,2,0,"span",20),u()(),c(5,"input",21),R("ngModelChange",function(r){z(e);const o=D().index,s=D().index,a=D();return q(a.servicios.DGF.DGM.CamMod[s*a.servicios.DGF.DGM.TabFor.Col.length+o].Val=r)}),u()()}if(2&t){const e=D().index,i=D().index,r=D();h(1),On("for","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),h(2),Be("",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tit," "),h(1),_("ngIf","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Req&&"Buscar"!=r.servicios.DGF.Acc),h(1),On("id","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),_("ngModel",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Val),Ot("disabled","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Blo||null)}}function sTe(t,n){1&t&&(c(0,"span",22),p(1,"*"),u())}function aTe(t,n){if(1&t){const e=ae();c(0,"div",18)(1,"label",19)(2,"strong"),p(3),C(4,sTe,2,0,"span",20),u()(),c(5,"input",23),R("ngModelChange",function(r){z(e);const o=D().index,s=D().index,a=D();return q(a.servicios.DGF.DGM.CamMod[s*a.servicios.DGF.DGM.TabFor.Col.length+o].Val=r)}),u()()}if(2&t){const e=D().index,i=D().index,r=D();h(1),On("for","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),h(2),Be("",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tit," "),h(1),_("ngIf","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Req&&"Buscar"!=r.servicios.DGF.Acc),h(1),On("id","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),_("ngModel",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Val),Ot("disabled","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Blo||null)}}function lTe(t,n){1&t&&(c(0,"span",22),p(1,"*"),u())}function cTe(t,n){if(1&t){const e=ae();c(0,"div",18)(1,"label",19)(2,"strong"),p(3),C(4,lTe,2,0,"span",20),u()(),c(5,"input",24),R("ngModelChange",function(r){z(e);const o=D().index,s=D().index,a=D();return q(a.servicios.DGF.DGM.CamMod[s*a.servicios.DGF.DGM.TabFor.Col.length+o].Val=r)}),u()()}if(2&t){const e=D().index,i=D().index,r=D();h(1),On("for","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),h(2),Be("",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tit," "),h(1),_("ngIf","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Req&&"Buscar"!=r.servicios.DGF.Acc),h(1),On("id","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),_("ngModel",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Val),Ot("disabled","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Blo||null)}}function dTe(t,n){1&t&&(c(0,"span",22),p(1,"*"),u())}function uTe(t,n){if(1&t){const e=ae();c(0,"div",18)(1,"label",19)(2,"strong"),p(3),C(4,dTe,2,0,"span",20),u()(),c(5,"input",24),R("ngModelChange",function(r){z(e);const o=D().index,s=D().index,a=D();return q(a.servicios.DGF.DGM.CamMod[s*a.servicios.DGF.DGM.TabFor.Col.length+o].Val=r)}),u()()}if(2&t){const e=D().index,i=D().index,r=D();h(1),On("for","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),h(2),Be("",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tit," "),h(1),_("ngIf","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Req&&"Buscar"!=r.servicios.DGF.Acc),h(1),On("id","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),_("ngModel",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Val),Ot("disabled","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Blo||null)}}function fTe(t,n){1&t&&(c(0,"span",22),p(1,"*"),u())}function hTe(t,n){if(1&t){const e=ae();c(0,"div",18)(1,"label",19)(2,"strong"),p(3),C(4,fTe,2,0,"span",20),u()(),c(5,"input",24),R("ngModelChange",function(r){z(e);const o=D().index,s=D().index,a=D();return q(a.servicios.DGF.DGM.CamMod[s*a.servicios.DGF.DGM.TabFor.Col.length+o].Val=r)}),u()()}if(2&t){const e=D().index,i=D().index,r=D();h(1),On("for","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),h(2),Be("",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tit," "),h(1),_("ngIf","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Req&&"Buscar"!=r.servicios.DGF.Acc),h(1),On("id","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),_("ngModel",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Val),Ot("disabled","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Blo||null)}}function pTe(t,n){1&t&&(c(0,"span",22),p(1,"*"),u())}function mTe(t,n){if(1&t){const e=ae();c(0,"div",18)(1,"label",19)(2,"strong"),p(3),C(4,pTe,2,0,"span",20),u()(),c(5,"input",25),R("ngModelChange",function(r){z(e);const o=D().index,s=D().index,a=D();return q(a.servicios.DGF.DGM.CamMod[s*a.servicios.DGF.DGM.TabFor.Col.length+o].Val=r)}),u()()}if(2&t){const e=D().index,i=D().index,r=D();h(1),On("for","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),h(2),Be("",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tit," "),h(1),_("ngIf","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Req&&"Buscar"!=r.servicios.DGF.Acc),h(1),On("id","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),_("ngModel",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Val),Ot("disabled","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Blo||null)}}function gTe(t,n){1&t&&(c(0,"span",22),p(1,"*"),u())}function _Te(t,n){if(1&t){const e=ae();c(0,"div",18)(1,"label",19)(2,"strong"),p(3),C(4,gTe,2,0,"span",20),u()(),c(5,"input",26),R("ngModelChange",function(r){z(e);const o=D().index,s=D().index,a=D();return q(a.servicios.DGF.DGM.CamMod[s*a.servicios.DGF.DGM.TabFor.Col.length+o].Val=r)}),u()()}if(2&t){const e=D().index,i=D().index,r=D();h(1),On("for","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),h(2),Be("",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tit," "),h(1),_("ngIf","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Req&&"Buscar"!=r.servicios.DGF.Acc),h(1),On("id","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),_("ngModel",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Val),Ot("disabled","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Blo||null)}}function vTe(t,n){1&t&&(c(0,"span",22),p(1,"*"),u())}function bTe(t,n){if(1&t&&(c(0,"option",29),p(1),u()),2&t){const e=n.$implicit;Hi("value",e.Val),h(1),I(e.Tex)}}function DTe(t,n){if(1&t){const e=ae();c(0,"div",18)(1,"label",19)(2,"strong"),p(3),C(4,vTe,2,0,"span",20),u()(),c(5,"select",27),R("ngModelChange",function(r){z(e);const o=D().index,s=D().index,a=D();return q(a.servicios.DGF.DGM.CamMod[s*a.servicios.DGF.DGM.TabFor.Col.length+o].Val=r)}),C(6,bTe,2,2,"option",28),u()()}if(2&t){const e=D().index,i=D().index,r=D();h(1),On("for","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),h(2),Be("",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tit," "),h(1),_("ngIf","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Req&&"Buscar"!=r.servicios.DGF.Acc),h(1),On("id","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),_("ngModel",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Val),Ot("disabled","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Blo||null),h(1),_("ngForOf",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Opcs)}}function yTe(t,n){1&t&&(c(0,"span",22),p(1,"*"),u())}function MTe(t,n){if(1&t&&(c(0,"option",29),p(1),u()),2&t){const e=n.$implicit;Hi("value",e[0]),h(1),Rt("",e[1]," ",e[2],"")}}function CTe(t,n){if(1&t){const e=ae();c(0,"div",18)(1,"label",19)(2,"strong"),p(3),C(4,yTe,2,0,"span",20),u()(),c(5,"select",27),R("ngModelChange",function(r){z(e);const o=D().index,s=D().index,a=D();return q(a.servicios.DGF.DGM.CamMod[s*a.servicios.DGF.DGM.TabFor.Col.length+o].Val=r)}),C(6,MTe,2,3,"option",28),u()()}if(2&t){const e=D().index,i=D().index,r=D();h(1),On("for","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),h(2),Be("",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tit," "),h(1),_("ngIf","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Req&&"Buscar"!=r.servicios.DGF.Acc),h(1),On("id","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),_("ngModel",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Val),Ot("disabled","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Blo||null),h(1),_("ngForOf",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Qry.Res)}}function xTe(t,n){1&t&&(c(0,"span",22),p(1,"*"),u())}function TTe(t,n){if(1&t){const e=ae();c(0,"div",18)(1,"label",19)(2,"strong"),p(3),C(4,xTe,2,0,"span",20),u()(),c(5,"input",23),R("ngModelChange",function(r){z(e);const o=D().index,s=D().index,a=D();return q(a.servicios.DGF.DGM.CamMod[s*a.servicios.DGF.DGM.TabFor.Col.length+o].Val=r)}),u()()}if(2&t){const e=D().index,i=D().index,r=D();h(1),On("for","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),h(2),Be("",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tit," "),h(1),_("ngIf","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Req&&"Buscar"!=r.servicios.DGF.Acc),h(1),On("id","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),_("ngModel",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Val)}}function wTe(t,n){1&t&&(c(0,"span",22),p(1,"*"),u())}function ETe(t,n){if(1&t){const e=ae();c(0,"div",18)(1,"label",19)(2,"strong"),p(3),C(4,wTe,2,0,"span",20),u()(),c(5,"input",30),R("ngModelChange",function(r){z(e);const o=D().index,s=D().index,a=D();return q(a.servicios.DGF.DGM.CamMod[s*a.servicios.DGF.DGM.TabFor.Col.length+o].Val=r)}),u()()}if(2&t){const e=D().index,i=D().index,r=D();h(1),On("for","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),h(2),Be("",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tit," "),h(1),_("ngIf","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Req&&"Buscar"!=r.servicios.DGF.Acc),h(1),On("id","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),_("ngModel",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Val)}}function STe(t,n){1&t&&(c(0,"span",22),p(1,"*"),u())}function kTe(t,n){if(1&t){const e=ae();c(0,"div",18)(1,"label",19)(2,"strong"),p(3),C(4,STe,2,0,"span",20),u()(),c(5,"input",23),R("ngModelChange",function(r){z(e);const o=D().index,s=D().index,a=D();return q(a.servicios.DGF.DGM.CamMod[s*a.servicios.DGF.DGM.TabFor.Col.length+o].Val=r)}),u()()}if(2&t){const e=D().index,i=D().index,r=D();h(1),On("for","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),h(2),Be("",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tit," "),h(1),_("ngIf","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Req&&"Buscar"!=r.servicios.DGF.Acc),h(1),On("id","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),_("ngModel",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Val)}}function ATe(t,n){1&t&&(c(0,"span",22),p(1,"*"),u())}function RTe(t,n){if(1&t){const e=ae();c(0,"div",18)(1,"label",19)(2,"strong"),p(3),C(4,ATe,2,0,"span",20),u()(),c(5,"input",21),R("ngModelChange",function(r){z(e);const o=D().index,s=D().index,a=D();return q(a.servicios.DGF.DGM.CamMod[s*a.servicios.DGF.DGM.TabFor.Col.length+o].Val=r)}),u()()}if(2&t){const e=D().index,i=D().index,r=D();h(1),On("for","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),h(2),Be("",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tit," "),h(1),_("ngIf","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Req&&"Buscar"!=r.servicios.DGF.Acc),h(1),On("id","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),_("ngModel",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Val)}}function FTe(t,n){1&t&&X(0,"mat-spinner",31),2&t&&_("diameter",50)}function NTe(t,n){if(1&t&&X(0,"img",34),2&t){const e=D(2).index,i=D().index,r=D();nn("src","",r.ApiImg,"",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Car,"/",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Val,"",rt)}}function OTe(t,n){if(1&t&&(c(0,"a",32),C(1,NTe,1,3,"img",33),u()),2&t){const e=D().index,i=D().index,r=D();nn("href","",r.ApiImg,"",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Car,"/",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Val,"",rt),h(1),_("ngIf",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e]&&"Imagen"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tip&&""==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Est)}}function ITe(t,n){1&t&&(c(0,"span",22),p(1,"*"),u())}function LTe(t,n){if(1&t){const e=ae();c(0,"input",36),R("input",function(){z(e);const r=D(2).index,o=D().index,s=D();return q(s.ActVal(o*s.servicios.DGF.DGM.TabFor.Col.length+r))}),u()}if(2&t){const e=D(2).index,i=D().index,r=D();On("id","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),_("uploader",r.uploader)}}function PTe(t,n){if(1&t&&(c(0,"div",18)(1,"label",19)(2,"strong"),p(3),C(4,ITe,2,0,"span",20),u()(),C(5,LTe,1,2,"input",35),u()),2&t){const e=D().index,i=D().index,r=D();h(1),On("for","IB",i*r.servicios.DGF.DGM.TabFor.Col.length+e,""),h(2),Be("",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tit," "),h(1),_("ngIf","Si"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Req&&"Buscar"!=r.servicios.DGF.Acc),h(1),_("ngIf","Si"!=r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Blo)}}function BTe(t,n){if(1&t&&(c(0,"td",14),C(1,oTe,6,6,"div",15),C(2,aTe,6,6,"div",15),C(3,cTe,6,6,"div",15),C(4,uTe,6,6,"div",15),C(5,hTe,6,6,"div",15),C(6,mTe,6,6,"div",15),C(7,_Te,6,6,"div",15),C(8,DTe,7,7,"div",15),C(9,CTe,7,7,"div",15),C(10,TTe,6,5,"div",15),C(11,ETe,6,5,"div",15),C(12,kTe,6,5,"div",15),C(13,RTe,6,5,"div",15),C(14,FTe,1,1,"mat-spinner",16),C(15,OTe,2,4,"a",17),C(16,PTe,6,4,"div",15),u()),2&t){const e=n.index,i=D().index,r=D();h(1),_("ngIf",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e]&&"Texto"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tip),h(1),_("ngIf",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e]&&"Entero"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tip),h(1),_("ngIf",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e]&&"Numero"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tip),h(1),_("ngIf",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e]&&"Porcentaje"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tip),h(1),_("ngIf",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e]&&"Wallet"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tip),h(1),_("ngIf",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e]&&"Fecha"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tip),h(1),_("ngIf",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e]&&"FechaHora"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tip),h(1),_("ngIf",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e]&&"Select"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tip),h(1),_("ngIf",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e]&&"SelectQry"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tip),h(1),_("ngIf",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e]&&"NumTarCre"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tip),h(1),_("ngIf",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e]&&"VenTarCre"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tip),h(1),_("ngIf",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e]&&"CodTarCre"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tip),h(1),_("ngIf",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e]&&"Geocerca"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tip),h(1),_("ngIf",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e]&&"Imagen"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tip&&"Cargando"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Est),h(1),_("ngIf",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e]),h(1),_("ngIf",r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e]&&"Imagen"==r.servicios.DGF.DGM.CamMod[i*r.servicios.DGF.DGM.TabFor.Col.length+e].Tip)}}function VTe(t,n){if(1&t&&(c(0,"tr"),C(1,BTe,17,16,"td",13),u()),2&t){const e=D();h(1),_("ngForOf",e.servicios.DGF.DGM.TabFor.Col)}}function HTe(t,n){if(1&t){const e=ae();c(0,"img",37),R("click",function(){return z(e),q(D().Ejecuta("Agregar"))}),u()}}function GTe(t,n){if(1&t){const e=ae();c(0,"img",38),R("click",function(){return z(e),q(D().Ejecuta("Buscar"))}),u()}}function jTe(t,n){if(1&t){const e=ae();c(0,"img",39),R("click",function(){return z(e),q(D().Ejecuta("Modificar"))}),u()}}function YTe(t,n){if(1&t){const e=ae();c(0,"img",40),R("click",function(){return z(e),q(D().Ejecuta("Eliminar"))}),u()}}let UTe=(()=>{class t{constructor(e,i,r,o){this.router=e,this.servicios=i,this.location=r,this.cd=o,this.Cargando="",this.fileToUpload=null,this.uploader=new Q6({url:this.servicios.getApiImg()+this.servicios.DGF.DGM.Carpeta+"/upload.php",removeAfterUpload:!1,autoUpload:!0}),this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg(),this.uploader.onCompleteItem=(s,a,l,d)=>{var f=JSON.parse(a);this.servicios.DGF.DGM.CamMod[this.IDInpFil].Val=f.name,this.servicios.DGF.DGM.CamMod[this.IDInpFil].Est="",this.Cargando=""}}ngOnInit(){}ngAfterViewInit(){this.uploader.onAfterAddingFile=e=>{e.withCredentials=!1}}Ejecuta(e){this.servicios.VPB=0;let i="",r="",o="",s="",a="";if("Buscar"==e){for(var l=0;l<this.servicios.DGF.DGM.CamMod.length;l++)""!=this.servicios.DGF.DGM.CamMod[l].Val&&(a=""==a?"Fec"==this.servicios.DGF.DGM.CamMod[l].Cmp.substr(0,3)?this.servicios.DGF.DGM.CamMod[l].Cmp+" LIKE |"+this.servicios.DGF.DGM.CamMod[l].Val.substr(0,10)+"\xb7|":this.servicios.DGF.DGM.CamMod[l].SubQry?this.servicios.DGF.DGM.CamMod[l].SubQry+" LIKE |\xb7"+this.servicios.DGF.DGM.CamMod[l].Val+"\xb7|":this.servicios.DGF.DGM.CamMod[l].Cmp+" LIKE |\xb7"+this.servicios.DGF.DGM.CamMod[l].Val+"\xb7|":"Fec"==this.servicios.DGF.DGM.CamMod[l].Cmp.substr(0,3)?a+" AND "+this.servicios.DGF.DGM.CamMod[l].Cmp+" LIKE |"+this.servicios.DGF.DGM.CamMod[l].Val.substr(0,10)+"\xb7|":this.servicios.DGF.DGM.CamMod[l].SubQry?a+" AND "+this.servicios.DGF.DGM.CamMod[l].SubQry+" LIKE |\xb7"+this.servicios.DGF.DGM.CamMod[l].Val+"\xb7|":a+" AND "+this.servicios.DGF.DGM.CamMod[l].Cmp+" LIKE |\xb7"+this.servicios.DGF.DGM.CamMod[l].Val+"\xb7|");return window.localStorage.setItem("buscar"+this.servicios.DGF.DGM.Nombre,a),void this.location.back()}for(var d=0;d<this.servicios.DGF.DGM.CamMod.length;d++){if(!this.servicios.ValCam("IB"+d,this.servicios.DGF.DGM.CamMod[d].Tit,this.servicios.DGF.DGM.CamMod[d].Tip,this.servicios.DGF.DGM.CamMod[d].Val,this.servicios.DGF.DGM.CamMod[d].Req))return;0==d?(r=this.servicios.DGF.DGM.CamMod[d].Cmp,o="|"+this.servicios.DGF.DGM.CamMod[d].Val+"|",s=this.servicios.DGF.DGM.CamMod[d].Cmp+"=|"+this.servicios.DGF.DGM.CamMod[d].Val+"|"):(r=r+","+this.servicios.DGF.DGM.CamMod[d].Cmp,o=o+",|"+this.servicios.DGF.DGM.CamMod[d].Val+"|",s=s+","+this.servicios.DGF.DGM.CamMod[d].Cmp+"=|"+this.servicios.DGF.DGM.CamMod[d].Val+"|")}switch(o=o.replace("+","\xac"),s=s.replace("+","\xac"),e){case"Agregar":i="INSERT";break;case"Modificar":i="UPDATE",a="WHERE NRegistro = "+this.servicios.DGF.Dat.NRegistro;break;case"Eliminar":i="DELETE",a="WHERE NRegistro = "+this.servicios.DGF.Dat.NRegistro}this.servicios.AccSobBD(i,"No",r,o,s,this.servicios.DGF.DGM.Tabla,a,"","","CarVar",this,function(f,m){m.location.back()})}ActVal(e){this.IDInpFil=e,this.servicios.DGF.DGM.CamMod[this.IDInpFil].Est="Cargando",this.Cargando="Si"}Volver(){this.location.back()}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et),V(Po),V(ar))},t.\u0275cmp=Oe({type:t,selectors:[["app-fda"]],decls:14,vars:6,consts:[["class","TitMod",4,"ngIf"],[1,"ConModFor"],[1,"ConModForTab"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","50%","align","center","valign","middle"],["src","assets/img/vol.png","title","Volver",1,"BotModPie",3,"click"],["src","assets/img/agr.png","class","BotModPie","title","Agregar",3,"click",4,"ngIf"],["src","assets/img/bus.png","class","BotModPie","title","Buscar",3,"click",4,"ngIf"],["src","assets/img/mod.png","class","BotModPie","title","Modificar",3,"click",4,"ngIf"],["src","assets/img/eli.png","class","BotModPie","title","Eliminar",3,"click",4,"ngIf"],[1,"TitMod"],["class","ConModForTabTd",4,"ngFor","ngForOf"],[1,"ConModForTabTd"],["class","form-group",4,"ngIf"],["style","margin: 0 auto;",3,"diameter",4,"ngIf"],["target","_blank",3,"href",4,"ngIf"],[1,"form-group"],[3,"for"],["style","color:#f00;",4,"ngIf"],["type","text",1,"form-control",3,"ngModel","id","ngModelChange"],[2,"color","#f00"],["type","number","step","1",1,"form-control",3,"ngModel","id","ngModelChange"],["type","number","step","0.01",1,"form-control",3,"ngModel","id","ngModelChange"],["type","date",1,"form-control",3,"ngModel","id","ngModelChange"],["type","datetime-local",1,"form-control",3,"ngModel","id","ngModelChange"],[1,"form-control",3,"ngModel","id","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["type","text","step","1",1,"form-control",3,"ngModel","id","ngModelChange"],[2,"margin","0 auto",3,"diameter"],["target","_blank",3,"href"],["style","margin-left:20%; height:50px;",3,"src",4,"ngIf"],[2,"margin-left","20%","height","50px",3,"src"],["type","file","class","form-control-file","lang","es","ng2FileSelect","","accept","image/png,image/jpeg",3,"id","uploader","input",4,"ngIf"],["type","file","lang","es","ng2FileSelect","","accept","image/png,image/jpeg",1,"form-control-file",3,"id","uploader","input"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/mod.png","title","Modificar",1,"BotModPie",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(C(0,iTe,2,2,"div",0),c(1,"div",1)(2,"table",2),C(3,VTe,2,1,"tr",3),u()(),c(4,"div",4)(5,"table",5)(6,"tr")(7,"td",6)(8,"img",7),R("click",function(){return i.Volver()}),u()(),c(9,"td",6),C(10,HTe,1,0,"img",8),C(11,GTe,1,0,"img",9),C(12,jTe,1,0,"img",10),C(13,YTe,1,0,"img",11),u()()()()),2&e&&(_("ngIf",i.servicios.DGF),h(3),_("ngForOf",i.servicios.DGF.DGM.TabFor.Fil),h(7),_("ngIf","Agregar"==i.servicios.DGF.Acc&&""==i.Cargando),h(1),_("ngIf","Buscar"==i.servicios.DGF.Acc&&""==i.Cargando),h(1),_("ngIf","Modificar"==i.servicios.DGF.Acc&&""==i.Cargando),h(1),_("ngIf","Eliminar"==i.servicios.DGF.Acc&&""==i.Cargando))},dependencies:[Mt,mt,Do,yo,Si,Ql,Hr,Ii,ki,Yt,J6]}),t})();const WTe=["closeAddExpenseModal3"],zTe=["closeAddExpenseModal4"],$Te=["map"];function qTe(t,n){1&t&&X(0,"th",44)}const Z6=function(t){return{"text-align":t}};function XTe(t,n){if(1&t&&(c(0,"th",45),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,Z6,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function QTe(t,n){1&t&&(c(0,"tr")(1,"td",46),X(2,"mat-spinner",47),u()()),2&t&&(h(2),_("diameter",50))}function JTe(t,n){1&t&&(c(0,"tr")(1,"td",48),p(2,"No existen registros"),u()())}function ZTe(t,n){if(1&t){const e=ae();c(0,"img",59),R("click",function(){z(e);const r=D(2).$implicit;return q(D().Pagos(r))}),u()}}function KTe(t,n){if(1&t){const e=ae();c(0,"img",60),R("click",function(){z(e);const r=D(2).$implicit;return q(D().Detalles(r))}),u()}}function e2e(t,n){1&t&&X(0,"br")}function t2e(t,n){1&t&&X(0,"br")}function n2e(t,n){if(1&t){const e=ae();c(0,"img",61),R("click",function(){z(e);const r=D(2).$implicit;return q(D().Cancelar(r))}),u()}}const i2e=function(t){return{"border-left-color":t}};function r2e(t,n){if(1&t){const e=ae();c(0,"td",52),C(1,ZTe,1,0,"img",53),C(2,KTe,1,0,"img",54),C(3,e2e,1,0,"br",8),C(4,t2e,1,0,"br",8),c(5,"img",55),R("click",function(){z(e);const r=D().$implicit;return q(D().Detalles(r))}),u(),c(6,"img",56),R("click",function(){z(e);const r=D().$implicit;return q(D().Productos(r))}),u(),c(7,"img",57),R("click",function(){z(e);const r=D().$implicit;return q(D().EnvDetPed(r))}),u(),X(8,"br"),C(9,n2e,1,0,"img",58),u()}if(2&t){const e=D().$implicit,i=D();_("ngStyle",ke(6,i2e,i.servicios.ColEstVia(e.Estatus))),h(1),_("ngIf","Pendiente"==e.Estatus&&"fpd.png"!=e.CapPag),h(1),_("ngIf","Preparado"==e.Estatus||"Aceptado"==e.Estatus||"Iniciado"==e.Estatus),h(1),_("ngIf","Pendiente"==e.Estatus&&"fpd.png"!=e.CapPag||"Preparado"==e.Estatus||"Aceptado"==e.Estatus||"Iniciado"==e.Estatus),h(1),_("ngIf","Pendiente"==e.Estatus&&"fpd.png"!=e.CapPag||"Preparado"==e.Estatus||"Aceptado"==e.Estatus||"Iniciado"==e.Estatus),h(5),_("ngIf",("Nuevo"==e.Estatus||"Pendiente"==e.Estatus)&&"fpd.png"!=e.CapPag)}}function o2e(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D().$implicit,i=D().$implicit,r=D();h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function s2e(t,n){if(1&t&&X(0,"img",65),2&t){const e=D().$implicit,i=D().$implicit,r=D();nn("src","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt)}}function a2e(t,n){if(1&t&&(c(0,"td",62),C(1,o2e,2,1,"span",8),c(2,"a",63),C(3,s2e,1,3,"img",64),u()()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(6,Z6,r.servicios.AliCamMod(e.Tip))),h(1),_("ngIf","Imagen"!=e.Tip),h(1),nn("href","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt),h(1),_("ngIf","Imagen"==e.Tip)}}function l2e(t,n){if(1&t&&(c(0,"tr"),C(1,r2e,10,8,"td",49),c(2,"td",50),p(3),u(),C(4,a2e,4,8,"td",51),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function c2e(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function d2e(t,n){if(1&t){const e=ae();c(0,"img",66),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function u2e(t,n){if(1&t&&(c(0,"div",0),p(1,"Detalles del pedido N\xba: "),c(2,"span",1),p(3),u(),c(4,"div",67)(5,"a",68)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.NRegistro)}}const E_=function(t){return{color:t}};function f2e(t,n){if(1&t&&(c(0,"div",69)(1,"div",70)(2,"h3"),p(3,"Pedido"),u()(),c(4,"table",71)(5,"tr")(6,"td",72)(7,"strong"),p(8,"Origen: "),u(),X(9,"br"),c(10,"span"),p(11),u()()(),c(12,"tr")(13,"td",72)(14,"strong"),p(15,"Destino: "),u(),X(16,"br"),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td",50)(21,"strong"),p(22,"Recorrido: "),u(),X(23,"br"),c(24,"span"),p(25),u()(),c(26,"td",50)(27,"strong"),p(28,"Duracion: "),u(),X(29,"br"),c(30,"span"),p(31),u()(),c(32,"td",50)(33,"strong"),p(34,"Espera: "),u(),X(35,"br"),c(36,"span"),p(37),u()()(),c(38,"tr")(39,"td",50)(40,"strong"),p(41,"Servicio Base: "),u(),c(42,"span"),p(43),u()(),c(44,"td",50)(45,"strong"),p(46,"Servicio IVA: "),u(),c(47,"span"),p(48),u()(),c(49,"td",50)(50,"strong"),p(51,"Servicio Total: "),u(),c(52,"span"),p(53),u()()(),c(54,"tr")(55,"td",50)(56,"strong"),p(57,"Producto Base: "),u(),c(58,"span"),p(59),u()(),c(60,"td",50)(61,"strong"),p(62,"Producto IVA: "),u(),c(63,"span"),p(64),u()(),c(65,"td",50)(66,"strong"),p(67,"Producto Total: "),u(),c(68,"span"),p(69),u()()(),c(70,"tr")(71,"td",73)(72,"strong"),p(73,"Solicitado: "),u(),c(74,"span"),p(75),u()(),c(76,"td",50)(77,"strong"),p(78,"Estatus: "),u(),c(79,"span",62),p(80),u()()()()()),2&t){const e=D();h(11),I(e.DetDat.OriDes),h(7),I(e.DetDat.DesDes),h(7),Be("",e.servicios.NumFor(e.DetDat.Recorrido/1e3,2),"Km"),h(6),Be("",e.servicios.NumFor(e.DetDat.Duracion/60,0),"Min"),h(6),Be("",e.servicios.NumFor(e.DetDat.Espera/60,0),"Min"),h(6),Rt("",e.servicios.Pais.SimMon,"",e.servicios.NumFor(e.DetDat.BasSer,2),""),h(5),Rt("",e.servicios.Pais.SimMon,"",e.servicios.NumFor(e.DetDat.ImpSer,2),""),h(5),Rt("",e.servicios.Pais.SimMon,"",e.servicios.NumFor(e.DetDat.TotSer,2),""),h(6),Rt("",e.servicios.Pais.SimMon,"",e.servicios.NumFor(e.DetDat.BasPro,2),""),h(5),Rt("",e.servicios.Pais.SimMon,"",e.servicios.NumFor(e.DetDat.ImpPro,2),""),h(5),Rt("",e.servicios.Pais.SimMon,"",e.servicios.NumFor(e.DetDat.TotPro,2),""),h(6),I(e.servicios.ForFecHorPeq(e.DetDat.FecHorSol)),h(4),_("ngStyle",ke(20,E_,e.servicios.ColEstVia(e.DetDat.Estatus))),h(1),I(e.DetDat.Estatus)}}function h2e(t,n){if(1&t&&X(0,"img",78),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotCli,"",rt)}}function p2e(t,n){if(1&t&&(c(0,"div",74)(1,"div",70)(2,"h3"),p(3,"Cliente"),u()(),c(4,"table",75)(5,"tr")(6,"td",76),C(7,h2e,1,2,"img",77),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()(),c(25,"tr")(26,"td")(27,"strong"),p(28,"Puntos obtenidos: "),u(),c(29,"span",62),p(30),u()()()()()),2&t){const e=D();h(7),_("ngIf",e.DetDat.FotCli),h(5),I(e.DetDat.DesCli),h(6),I(e.DetDat.TelCli),h(6),I(e.DetDat.EmaCli),h(5),_("ngStyle",ke(6,E_,e.servicios.ColPun(e.DetDat.CalCliPun))),h(1),I(e.DetDat.CalCliPun)}}function m2e(t,n){if(1&t&&X(0,"img",78),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotCho,"",rt)}}function g2e(t,n){if(1&t&&(c(0,"div",79)(1,"div",70)(2,"h3"),p(3,"Repartidor"),u()(),c(4,"table",75)(5,"tr")(6,"td",76),C(7,m2e,1,2,"img",77),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()(),c(25,"tr")(26,"td")(27,"strong"),p(28,"Puntos obtenidos: "),u(),c(29,"span",62),p(30),u()()()()()),2&t){const e=D();h(7),_("ngIf",e.DetDat.FotCho),h(5),I(e.DetDat.DesCho),h(6),I(e.DetDat.TelCho),h(6),I(e.DetDat.EmaCho),h(5),_("ngStyle",ke(6,E_,e.servicios.ColPun(e.DetDat.CalRepPun))),h(1),I(e.DetDat.CalRepPun)}}function _2e(t,n){if(1&t&&(c(0,"div",0),p(1,"Productos del pedido N\xba: "),c(2,"span",1),p(3),u(),c(4,"div",67)(5,"a",68)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.NRegistro)}}function v2e(t,n){1&t&&(c(0,"tr")(1,"td",83),X(2,"mat-spinner",47),u()()),2&t&&(h(2),_("diameter",50))}function b2e(t,n){1&t&&(c(0,"tr")(1,"td",84),p(2,"No existen registros"),u()())}function D2e(t,n){if(1&t&&(c(0,"li"),p(1),u()),2&t){const e=n.$implicit,i=D(4);h(1),bC(" ",e.DesOpc,": ",i.servicios.Pais.SimMon,"",i.servicios.NumFor(e.Precio,2)," ")}}function y2e(t,n){if(1&t&&(c(0,"ul",89),C(1,D2e,2,3,"li",9),u()),2&t){const e=D().$implicit;h(1),_("ngForOf",e.Opc)}}function M2e(t,n){if(1&t&&(c(0,"tr")(1,"td",50),X(2,"img",85),u(),c(3,"td",86)(4,"strong"),p(5),u(),C(6,y2e,2,1,"ul",87),u(),c(7,"td",88),p(8),u(),c(9,"td",88),p(10),u(),c(11,"td",88),p(12),u(),c(13,"td",88),p(14),u(),c(15,"td",88),p(16),u(),c(17,"td",88),p(18),u()()),2&t){const e=n.$implicit,i=D(2);h(2),nn("src","",i.ApiImg,"",i.CarPro,"/",e.FotPro,"",rt),h(3),I(e.NomPro),h(1),_("ngIf",e.Opc.length>0),h(2),Rt("",i.servicios.Pais.SimMon,"",i.servicios.NumFor(e.Precio,2),""),h(2),Rt("-",i.servicios.Pais.SimMon,"",i.servicios.NumFor(e.DesMon,2),""),h(2),Rt("+",i.servicios.Pais.SimMon,"",i.servicios.NumFor(e.Opciones,2),""),h(2),Rt("",i.servicios.Pais.SimMon,"",i.servicios.NumFor(e.Base,2),""),h(2),I(i.servicios.NumFor(e.Cantidad,0)),h(2),Rt("",i.servicios.Pais.SimMon,"",i.servicios.NumFor(e.Total,2),"")}}function C2e(t,n){if(1&t&&(c(0,"div",80)(1,"div",70)(2,"h3"),p(3,"Lista de Productos"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr")(7,"th",6),p(8,"Foto"),u(),c(9,"th",81),p(10,"Nombre"),u(),c(11,"th",82),p(12,"Precio"),u(),c(13,"th",82),p(14,"Descuento"),u(),c(15,"th",82),p(16,"Opciones"),u(),c(17,"th",82),p(18,"Base"),u(),c(19,"th",82),p(20,"Cantidad"),u(),c(21,"th",82),p(22,"Total"),u()()(),c(23,"tbody"),C(24,v2e,3,1,"tr",8),C(25,b2e,3,0,"tr",8),C(26,M2e,19,16,"tr",9),u()()()),2&t){const e=D();h(24),_("ngIf",!e.LisPro),h(1),_("ngIf",e.LisPro&&0==e.LisPro.length),h(1),_("ngForOf",e.LisPro)}}function x2e(t,n){if(1&t&&(c(0,"div",0),p(1,"Revisi\xf3n de Pago del Pedido N\xba: "),c(2,"span",1),p(3),u(),c(4,"div",67)(5,"a",68,90)(7,"strong"),p(8,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.NRegistro)}}function T2e(t,n){if(1&t&&X(0,"img",95),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotCli,"",rt)}}function w2e(t,n){1&t&&X(0,"img",95),2&t&&Hi("src",D(2).DetDat.FotCli,rt)}function E2e(t,n){if(1&t&&(c(0,"div",22)(1,"div",70)(2,"h3"),p(3,"Cliente"),u()(),c(4,"table",91)(5,"tr")(6,"td",92),C(7,T2e,1,2,"img",93),C(8,w2e,1,1,"img",93),u(),c(9,"td")(10,"strong"),p(11,"Nombre: "),u(),c(12,"span"),p(13),u(),X(14,"br")(15,"br"),c(16,"strong"),p(17,"Telefono: "),u(),c(18,"span"),p(19),u(),X(20,"br")(21,"br"),c(22,"strong"),p(23,"Email: "),u(),c(24,"span"),p(25),u()()(),c(26,"tr")(27,"td",94)(28,"strong"),p(29,"Forma de Pago: "),u(),c(30,"span"),p(31),u()()()()()),2&t){const e=D();h(7),_("ngIf",e.DetDat.FotCli&&!e.DetDat.FotCli.includes("https://")),h(1),_("ngIf",e.DetDat.FotCli&&e.DetDat.FotCli.includes("https://")),h(5),I(e.DetDat.DesCli),h(6),I(e.DetDat.TelCli),h(6),I(e.DetDat.EmaCli),h(6),I(e.DetDat.ForPag)}}function S2e(t,n){if(1&t&&(c(0,"div",69)(1,"div",70)(2,"h3"),p(3,"Captura del Pago"),u()(),c(4,"table",96)(5,"tr")(6,"td",50)(7,"a",63),X(8,"img",97),u()()()()()),2&t){const e=D();h(7),nn("href","",e.ApiImg,"",e.DGM.Carpeta,"/",e.DetDat.CapPag,"",rt),h(1),nn("src","",e.ApiImg,"",e.DGM.Carpeta,"/",e.DetDat.CapPag,"",rt)}}function k2e(t,n){1&t&&(c(0,"span"),p(1,"Procesando ..."),u())}function A2e(t,n){if(1&t){const e=ae();c(0,"img",108),R("click",function(){return z(e),q(D(2).AplRev())}),u()}}function R2e(t,n){if(1&t){const e=ae();c(0,"div",98)(1,"div",10)(2,"table",99)(3,"tr")(4,"td",100)(5,"div",101)(6,"label",102)(7,"strong"),p(8,"Estatus del Pago"),c(9,"span",103),p(10,"*"),u()()(),c(11,"select",104),R("ngModelChange",function(r){return z(e),q(D().EstRevPag=r)}),c(12,"option",105),p(13,"Aceptado"),u(),c(14,"option",106),p(15,"Rechazado"),u()()()(),c(16,"td",12),C(17,k2e,2,0,"span",8),C(18,A2e,1,0,"img",107),u()()()()()}if(2&t){const e=D();h(11),_("ngModel",e.EstRevPag),h(6),_("ngIf",e.Procesando),h(1),_("ngIf",!e.Procesando)}}function F2e(t,n){if(1&t&&(c(0,"div",0),p(1,"Detalles del pedido N\xba: "),c(2,"span",1),p(3),u(),c(4,"div",67)(5,"a",68,109)(7,"strong"),p(8,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.NRegistro)}}function N2e(t,n){if(1&t&&(c(0,"div",110)(1,"div",70)(2,"h3"),p(3,"Pedido"),u()(),c(4,"table",71)(5,"tr")(6,"td",72)(7,"strong"),p(8,"Origen: "),u(),c(9,"span"),p(10),u()()(),c(11,"tr")(12,"td",72)(13,"strong"),p(14,"Destino: "),u(),c(15,"span"),p(16),u()()(),c(17,"tr")(18,"td",50)(19,"strong"),p(20,"Recorrido: "),u(),c(21,"span"),p(22),u()(),c(23,"td",50)(24,"strong"),p(25,"Duracion: "),u(),c(26,"span"),p(27),u()(),c(28,"td",50)(29,"strong"),p(30,"Espera: "),u(),c(31,"span"),p(32),u()()(),c(33,"tr",111)(34,"td",88)(35,"strong"),p(36,"Servicio Base: "),u(),X(37,"br"),c(38,"span"),p(39),u()(),c(40,"td",88)(41,"strong"),p(42,"Servicio IVA: "),u(),X(43,"br"),c(44,"span"),p(45),u()(),c(46,"td",88)(47,"strong"),p(48,"Servicio Total: "),u(),X(49,"br"),c(50,"span"),p(51),u()()(),c(52,"tr",112)(53,"td",88)(54,"strong"),p(55,"Producto Base: "),u(),X(56,"br"),c(57,"span"),p(58),u()(),c(59,"td",88)(60,"strong"),p(61,"Producto IVA: "),u(),X(62,"br"),c(63,"span"),p(64),u()(),c(65,"td",88)(66,"strong"),p(67,"Producto Total: "),u(),X(68,"br"),c(69,"span"),p(70),u()()(),c(71,"tr")(72,"td",73)(73,"strong"),p(74,"Solicitado: "),u(),c(75,"span"),p(76),u()(),c(77,"td",50)(78,"strong"),p(79,"Estatus: "),u(),c(80,"span",62),p(81),u()()()()()),2&t){const e=D();h(10),I(e.DetDat.OriDes),h(6),I(e.DetDat.DesDes),h(6),Be("",e.servicios.NumFor(e.DetDat.Recorrido/1e3,2),"Km"),h(5),Be("",e.servicios.NumFor(e.DetDat.Duracion/60,0),"Min"),h(5),Be("",e.servicios.NumFor(e.DetDat.Espera/60,0),"Min"),h(7),Rt("",e.servicios.Pais.SimMon,"",e.servicios.NumFor(e.DetDat.BasSer,2),""),h(6),Rt("",e.servicios.Pais.SimMon,"",e.servicios.NumFor(e.DetDat.ImpSer,2),""),h(6),Rt("",e.servicios.Pais.SimMon,"",e.servicios.NumFor(e.DetDat.TotSer,2),""),h(7),Rt("",e.servicios.Pais.SimMon,"",e.servicios.NumFor(e.DetDat.BasPro,2),""),h(6),Rt("",e.servicios.Pais.SimMon,"",e.servicios.NumFor(e.DetDat.ImpPro,2),""),h(6),Rt("",e.servicios.Pais.SimMon,"",e.servicios.NumFor(e.DetDat.TotPro,2),""),h(6),I(e.servicios.ForFecHorPeq(e.DetDat.FecHorSol)),h(4),_("ngStyle",ke(20,E_,e.servicios.ColEstVia(e.DetDat.Estatus))),h(1),I(e.DetDat.Estatus)}}function O2e(t,n){if(1&t&&X(0,"img",78),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotCli,"",rt)}}function I2e(t,n){if(1&t&&(c(0,"div",74)(1,"div",70)(2,"h3"),p(3,"Cliente"),u()(),c(4,"table",75)(5,"tr")(6,"td",76),C(7,O2e,1,2,"img",77),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()(),c(25,"tr")(26,"td")(27,"strong"),p(28,"Puntos obtenidos: "),u(),c(29,"span",62),p(30),u()()()()()),2&t){const e=D();h(7),_("ngIf",e.DetDat.FotCli),h(5),I(e.DetDat.DesCli),h(6),I(e.DetDat.TelCli),h(6),I(e.DetDat.EmaCli),h(5),_("ngStyle",ke(6,E_,e.servicios.ColPun(e.DetDat.CalCliPun))),h(1),I(e.DetDat.CalCliPun)}}function L2e(t,n){if(1&t&&(c(0,"option",120),p(1),u()),2&t){const e=n.$implicit;Hi("value",e.NRegistro),h(1),Rt("",e.Nombre," ",e.Apellido,"")}}function P2e(t,n){if(1&t){const e=ae();c(0,"div",79)(1,"div",70)(2,"h3"),p(3,"Asignar Repartidor"),u()(),c(4,"table",75)(5,"tr"),X(6,"td",113),c(7,"td",114)(8,"div",115)(9,"select",116),R("ngModelChange",function(r){return z(e),q(D().NueMot=r)}),c(10,"option",117),p(11,"Seleccione ..."),u(),C(12,L2e,2,3,"option",118),u()()(),c(13,"td",92)(14,"img",119),R("click",function(){return z(e),q(D().CamMot())}),u()(),X(15,"td",113),u()()()}if(2&t){const e=D();h(9),_("ngModel",e.NueMot),h(3),_("ngForOf",e.LisMot)}}let B2e=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.OriDes="",this.OriLatLon="",this.DesDes="",this.DesLatLon="",this.CarPro="pro",this.DonBus="",this.OJE=[],this.BasURL="",this.EstRevPag="",this.ObsRevPag="",this.LisNomPas="",this.Municipio="",this.CTI="",this.CTF="",this.NueMot="",this.Procesando=!1,this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg(),this.CTI=this.servicios.GenCodAle(27),this.CTF=this.servicios.GenCodAle(47),this.DGM={Nombre:"Pedidos",CamMod:[{Tit:"ID",Cmp:"IdePed",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Ciudad",Cmp:"NRegMun",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"NRegistro,Nombre",Tab:"municipios",Don:"",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Cliente",Cmp:"NRegCli",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"NRegistro,Nombre,Apellido",Tab:"usuarios",Don:"WHERE Estatus = |Activo|",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Vendedor",Cmp:"NRegVen",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"NRegistro,Nombre",Tab:"usuarios",Don:"WHERE Estatus = |Activo|",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Repartidor",Cmp:"NRegRep",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"NRegistro,Nombre,Apellido",Tab:"usuarios",Don:"WHERE Tipo = |Repartidor| AND Estatus = |Activo|",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Pago",Cmp:"ForPag",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Origen",Cmp:"OriDes",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Destino",Cmp:"DesDes",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Servicio Total "+this.servicios.Pais.SimMon,Cmp:"TotSer",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Producto Total "+this.servicios.Pais.SimMon,Cmp:"TotPro",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Solicitado",Cmp:"FecHorSol",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Aceptado",Cmp:"FecHorAce",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Inicio",Cmp:"FecHorIni",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Fin",Cmp:"FecHorFin",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Cancelado",Cmp:"FecHorCan",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Devuelto",Cmp:"FecHorDev",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"Estatus,Estatus",Tab:"pedidos",Don:"",Ord:"GROUP BY Estatus",Res:[]}}],OpcFil:"Si",CamQry:"*,(TotSer\xacTotPro) APagar,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegCli) DesCli,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegCli) FotCli,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegCli) TelCli,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegCli) EmaCli,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegVen) DesVen,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegVen) FotVen,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegVen) TelVen,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegVen) EmaVen,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) DesCho,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) FotCho,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) TelCho,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) EmaCho",Tabla:"pedidos A",Donde:"WHERE Estatus NOT IN (|En Devolucion|)",Ordena:"ORDER BY NRegistro DESC",TabFor:{Fil:[1,2,3,4,5],Col:[1,2,3,4]},Carpeta:"ped"}}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"";let e=window.location.href.split("/");for(let i=0;i<e.length;i++){if("home"==e[i]){console.log(this.BasURL);break}this.BasURL=0==i?e[i]:this.BasURL+"/"+e[i]}this.CarCmpQry(),this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EnvDetPed(e){this.servicios.EnvEmaPed(e.EmaCli,e.NRegistro)}EnvLinPed(e){this.servicios.EnvLinPed(e.NRegCli,e.NRegistro)}Productos(e){this.DetDat=e,this.CarLisPro(e)}CamMot(){this.servicios.ValCam("NueMot","Nuevo Repartidor","Texto",this.NueMot,"Si")&&(this.servicios.AccSobBD("UPDATE","No","","","EstRep = |Desconectado|","usuarios","WHERE NRegistro = "+this.DetDat.NRegRep,"","","Upd",this,function(e,i){}),this.servicios.AccSobBD("UPDATE","No","","","EstRep = |Aceptado|","usuarios","WHERE NRegistro = "+this.NueMot,"","","Upd",this,function(e,i){}),this.servicios.AccSobBD("UPDATE","No","","","NRegRep = "+this.NueMot+", Estatus=|Aceptado|","pedidos","WHERE NRegistro = "+this.DetDat.NRegistro,"","","Upd",this,function(e,i){i.CarLis(),i.servicios.EnvMsgSim("El pedido fue Actualizado","Informacion"),i.closeAddExpenseModal4.nativeElement.click()}))}CarLisMot(e){this.servicios.AccSobBD("SELECT","Si","*","","","usuarios","WHERE NRegistro !="+e+" AND Tipo=|Repartidor| AND Estatus=|Activo|","ORDER BY Nombre,Apellido","","CarVar",this,function(i,r){r.LisMot=i.data})}Pagos(e){this.DetDat=e,this.CarLisPag(e)}AplRev(){if(this.servicios.ValCam("EstRevPag","Estatus del Pago","Texto",this.EstRevPag,"Si"))if(this.Procesando=!0,"Aceptado"==this.EstRevPag){let e="Nuevo";"Comercio"==this.DetDat.Delivery&&(e="Entrega Comercio"),this.servicios.AccSobBD("UPDATE","No","","","Estatus = |"+e+"|","pedidos","WHERE NRegistro = "+this.DetDat.NRegistro,"","","Upd",this,function(i,r){r.servicios.AccSobBD("INSERT","No","NRegUsu,Titulo,Contenido,Accion,Datos,FecHor",r.DetDat.NRegCli+",|Pedidos|,|El pago fue aceptado, tu pedido esta en proceso|,|Pedidos|,|"+r.DetDat.NRegistro+"|,NOW()","","noti","","","","Ins",r,function(o,s){s.servicios.EnvNotPus(s.DetDat.NRegCli,"Pedidos","El pago fue aceptado, tu pedido esta en proceso","Pedidos",s.DetDat.NRegistro,s,function(a,l){console.log(a)}),s.CarLis(),s.closeAddExpenseModal3.nativeElement.click(),s.Procesando=!1,s.EstRevPag="",s.servicios.AccSobBD("INSERT","No","NRegUsu,Transaccion,Descripcion,Monto,FecHor",s.DetDat.NRegCli+",|Abono Pedido|,|Abono al Pedido ID: "+s.DetDat.IdePed+" desde "+s.DetDat.OriDes+" hasta "+s.DetDat.DesDes+"|,"+s.DetDat.APagar+",NOW()","","billetera","","","","Ins",s,function(a,l){console.log(a),l.servicios.AccSobBD("UPDATE","No","","","Saldo=Saldo\xac"+l.DetDat.APagar,"usuarios","WHERE NRegistro="+l.DetDat.NRegCli,"","","Upd",l,function(d,f){})})})})}else"Rechazado"==this.EstRevPag&&this.servicios.AccSobBD("UPDATE","No","","","CapPag = |fpd.png|","pedidos","WHERE NRegistro = "+this.DetDat.NRegistro,"","","Upd",this,function(e,i){i.CarLis(),i.closeAddExpenseModal3.nativeElement.click(),i.Procesando=!1,i.EstRevPag="",i.servicios.AccSobBD("INSERT","No","NRegUsu,Titulo,Contenido,Accion,Datos,FecHor",i.DetDat.NRegCli+",|Pedidos|,|El pago de tu pedido fue rechazado|,|Pedidos|,|"+i.DetDat.NRegistro+"|,NOW()","","noti","","","","Ins",i,function(r,o){o.servicios.EnvNotPus(o.DetDat.NRegCli,"Pedidos","El pago de tu pedido fue rechazado","Pedidos",o.DetDat.NRegistro,o,function(s,a){console.log(s)})})})}CarLisPag(e){this.servicios.AccSobBD("SELECT","Si","*","","","pedidospag A","WHERE NRegPed = "+e.NRegistro+" AND Estatus=|Nuevo|","ORDER BY FecHorReg","","CarVar",this,function(i,r){r.LisPag=i.data})}Detalles(e){this.DetDat=e,this.CarLisMot(e.NRegRep),this.showMap(function(i){i.OriDes=i.DetDat.OriDes,i.OriLatLon=i.DetDat.Origen,i.DesDes=i.DetDat.DesDes,i.DesLatLon=i.DetDat.Destino,i.MosRutMap(i.DetDat.Origen,i.DetDat.Destino)})}Cancelar(e){this.servicios.VPB=0,this.servicios.AccSobBD("UPDATE","No","","","Estatus = |Cancelado Cliente|, FecHorCan=NOW()","pedidos","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(i,r){r.DatRes=i.data,r.CarLis()}),this.servicios.EnvMsgSim("El pedido fue Cancelado","Informacion"),this.servicios.AccSobBD("INSERT","No","NRegUsu,Titulo,Contenido,Accion,Datos,FecHor",e.NRegCli+",|Pedidos|,|El Pedido fue cancelado por Administraci\xf3n|,|Pedidos|,|"+e.NRegistro+"|,NOW()","","noti","","","","Ins",this,function(i,r){})}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarCmpQry(){for(var e=0;e<this.DGM.CamMod.length;e++)if("SelectQry"==this.DGM.CamMod[e].Tip){let i=e;this.servicios.AccSobBD("SELECT","Si",this.DGM.CamMod[e].Qry.Cmps,"","",this.DGM.CamMod[e].Qry.Tab,this.DGM.CamMod[e].Qry.Don,this.DGM.CamMod[e].Qry.Ord,"","CarVar",this,function(r,o){o.DGM.CamMod[i].Qry.Res=r.data})}}CarLis(){this.DatRes=void 0;let e="";""!=this.Municipio&&(e=" AND NRegMun = "+this.Municipio),this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus+e,this.DGM.Ordena,"","CarVar",this,function(i,r){console.log(i),r.DatRes=i.data,r.servicios.VPB=100,r.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}CarLisPro(e){this.servicios.AccSobBD("SELECT","Si","*,(SELECT Nombre FROM productos WHERE NRegistro = A.NRegPro) NomPro,(SELECT Imagen FROM productos WHERE NRegistro = A.NRegPro) FotPro,(Base*Cantidad) TotPro,|| Opc","","","pedidospro A","WHERE NRegPed = "+e.NRegistro,"ORDER BY NomPro","","CarVar",this,function(i,r){r.LisPro=i.data;for(let o=0;o<r.LisPro.length;o++)r.servicios.AccSobBD("SELECT","Si","*,(SELECT Descripcion FROM productosopc WHERE NRegistro=A.NRegOpc) DesOpc","","","pedidosproopc A","WHERE NRegPedPro="+r.LisPro[o].NRegistro,"ORDER BY DesOpc","","CarVar",r,function(s,a){a.LisPro[o].Opc=s.data})})}CarLisMun(){this.servicios.AccSobBD("SELECT","Si","*","","","municipios","WHERE Estatus=|Activo|","ORDER BY Nombre","","CarVar",this,function(e,i){i.LisMun=e.data})}showMap(e){const r={center:new google.maps.LatLng(this.servicios.Pais.Lat,this.servicios.Pais.Lon),zoom:13,mapTypeControl:!1,streetViewControl:!1,zoomControl:!1,zoomControlOptions:{position:google.maps.ControlPosition.RIGHT_TOP},fullscreenControl:!1,fullscreenControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},styles:[]},o=new google.maps.Map(this.mapRef.nativeElement,r);this.map=o,e(this)}MosRutMap(e,i){this.DirSer=new google.maps.DirectionsService,this.DirDis=new google.maps.DirectionsRenderer({suppressMarkers:!0,polylineOptions:{strokeColor:"#154c68",strokeOpacity:.7}});var o=this.DirDis;this.AgrMarRut(e,i),this.DirDis.setMap(this.map),this.DirSer.route({origin:e,destination:i,travelMode:"DRIVING"},function(s,a){"OK"===a&&setTimeout(()=>{o.setDirections(s)},350)})}AgrMarRut(e,i){var o=String(e).split(","),s=new google.maps.LatLng(o[0],o[1]),l=String(i).split(","),d=new google.maps.LatLng(l[0],l[1]);this.infwinOri=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)}),this.infwinDes=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)}),this.infwinOri.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.OriDes+"</td></tr></table></div>"),this.infwinDes.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#ff4b41; text-align:center; vertical-align:middle;' id='tdDV'></td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.DesDes+"</td></tr></table></div>");var f={url:this.ApiImg+"mapa/ori.png",scaledSize:new google.maps.Size(24,24),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(12,12)},m={url:this.ApiImg+"mapa/des.png",scaledSize:new google.maps.Size(24,24),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(12,12)};new google.maps.Size(24,24),new google.maps.Point(0,0),new google.maps.Point(12,12),this.IcoOri=new google.maps.Marker({position:s,map:this.map,icon:f,title:"Origen"}),this.IcoDes=new google.maps.Marker({position:d,map:this.map,icon:m,title:"Destino"})}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-pedidos"]],viewQuery:function(e,i){if(1&e&&(Ht(WTe,5),Ht(zTe,5),Ht($Te,5)),2&e){let r;lt(r=ct())&&(i.closeAddExpenseModal3=r.first),lt(r=ct())&&(i.closeAddExpenseModal4=r.first),lt(r=ct())&&(i.mapRef=r.first)}},decls:68,vars:22,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","70% !important"],[1,"modal-content",2,"height","650px"],["class","TitMod",4,"ngIf"],[1,"container-fluid"],[1,"row",2,"height","350px !important"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #f00"],["id","map"],["map",""],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],[1,"row",2,"height","250px !important"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #00f;",4,"ngIf"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #ff0;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg2"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","80% !important"],[1,"modal-content",2,"height","550px"],[1,"row",2,"height","500px !important"],["class","col-md-12","style","height:95%; padding:10px; overflow:auto; border:0px solid #00f;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg3"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","60% !important"],[1,"modal-content",2,"height","600px"],[1,"row",2,"height","400px !important"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #f00;",4,"ngIf"],[1,"row",2,"height","150px !important"],["class","col-md-12","style","height:100%; padding:10px; border:0px solid #00f;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg4"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","90% !important"],["class","col-md-12","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle; border-left-width:5px;",3,"ngStyle",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle","border-left-width","5px",3,"ngStyle"],["src","assets/img/bil.png","class","BotMod","title","Ver pago","data-toggle","modal","data-target",".bd-example-modal-lg3",3,"click",4,"ngIf"],["src","assets/img/rep.png","class","BotMod","title","Asignar Repartidor","data-toggle","modal","data-target",".bd-example-modal-lg4",3,"click",4,"ngIf"],["src","assets/img/ojo.png","title","Ver detalles","data-toggle","modal","data-target",".bd-example-modal-lg",1,"BotMod",3,"click"],["src","assets/img/caj.png","title","Ver productos","data-toggle","modal","data-target",".bd-example-modal-lg2",1,"BotMod",3,"click"],["src","assets/img/env.png","title","Enviar correo del pedido",1,"BotMod",3,"click"],["src","assets/img/can.png","class","BotMod","title","Cancelar Pedido",3,"click",4,"ngIf"],["src","assets/img/bil.png","title","Ver pago","data-toggle","modal","data-target",".bd-example-modal-lg3",1,"BotMod",3,"click"],["src","assets/img/rep.png","title","Asignar Repartidor","data-toggle","modal","data-target",".bd-example-modal-lg4",1,"BotMod",3,"click"],["src","assets/img/can.png","title","Cancelar Pedido",1,"BotMod",3,"click"],[3,"ngStyle"],["target","_blank",3,"href"],["style","height:100px; border-radius:5px;",3,"src",4,"ngIf"],[2,"height","100px","border-radius","5px",3,"src"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #0f0"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],["cellpadding","5px",2,"width","100%","height","80%","background-color","#f5f5f5"],["colspan","3"],["colspan","2",2,"text-align","center"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #00f"],[2,"width","100%","height","80%","background-color","#f5f5f5"],["rowspan","4",2,"text-align","center","vertical-align","middle"],["style","height:150px; width:150px; border-radius:50%; margin-right:5px;",3,"src",4,"ngIf"],[2,"height","150px","width","150px","border-radius","50%","margin-right","5px",3,"src"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #ff0"],[1,"col-md-12",2,"height","95%","padding","10px","overflow","auto","border","0px solid #00f"],["scope","col",2,"text-align","left"],["scope","col",2,"text-align","right"],["colspan","8","align","center","valign","middle"],["colspan","8","align","center","valign","middle",2,"color","#856404"],["alt","",2,"height","100px","width","150px","border-radius","5px",3,"src"],[2,"text-align","left"],["style","margin:5px;",4,"ngIf"],[2,"text-align","right"],[2,"margin","5px"],["closeAddExpenseModal3",""],["cellpadding","10px",2,"width","100%","height","90%","background-color","#f5f5f5"],[2,"text-align","center","vertical-align","middle"],["style","height:100px; width:100px; border-radius:50%;",3,"src",4,"ngIf"],["colspan","2",2,"text-align","center","font-size","larger","border","2px solid #999","border-radius","10px !important"],[2,"height","100px","width","100px","border-radius","50%",3,"src"],["cellpadding","10",2,"width","100%","height","90%","background-color","#f5f5f5"],[2,"height","300px","border-radius","5px",3,"src"],[1,"col-md-12",2,"height","100%","padding","10px","border","0px solid #00f"],["width","100%","cellpadding","5%"],[2,"width","30%"],[1,"form-group"],["for","EstRevPag"],[2,"color","#f00"],["id","EstRevPag",1,"form-control",3,"ngModel","ngModelChange"],["value","Aceptado"],["value","Rechazado"],["src","assets/img/ace.png","class","BotModPie","title","Aplicar Revisi\xf3n",3,"click",4,"ngIf"],["src","assets/img/ace.png","title","Aplicar Revisi\xf3n",1,"BotModPie",3,"click"],["closeAddExpenseModal4",""],[1,"col-md-12",2,"height","100%","padding","10px","border","0px solid #0f0"],[2,"border-top","1px solid #ccc"],[2,"border-bottom","1px solid #ccc"],[2,"width","10%"],[2,"text-align","left","vertical-align","middle"],[1,"input-group"],["id","NueMot",1,"form-control",3,"ngModel","ngModelChange"],["selected","","value",""],["selected","",3,"value",4,"ngFor","ngForOf"],["src","assets/img/ace.png","title","Cambiar",1,"BotModPie",3,"click"],["selected","",3,"value"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,qTe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,XTe,2,4,"th",7),u()(),c(12,"tbody"),C(13,QTe,3,1,"tr",8),C(14,JTe,3,0,"tr",8),C(15,l2e,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,c2e,2,1,"span",8),u(),c(21,"td",12),C(22,d2e,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),X(27,"td",12),u()()(),c(28,"div",16)(29,"div",17)(30,"div",18),C(31,u2e,8,1,"div",19),c(32,"div",20)(33,"div",21)(34,"div",22),X(35,"div",23,24),u(),C(37,f2e,81,22,"div",25),u(),c(38,"div",26),C(39,p2e,31,8,"div",27),C(40,g2e,31,8,"div",28),u()()()()(),c(41,"div",29)(42,"div",30)(43,"div",31),C(44,_2e,8,1,"div",19),c(45,"div",20)(46,"div",32),C(47,C2e,27,3,"div",33),u()()()()(),c(48,"div",34)(49,"div",35)(50,"div",36),C(51,x2e,9,1,"div",19),c(52,"div",20)(53,"div",37),C(54,E2e,32,6,"div",38),C(55,S2e,9,6,"div",25),u(),c(56,"div",39),C(57,R2e,19,3,"div",40),u()()()()(),c(58,"div",41)(59,"div",42)(60,"div",18),C(61,F2e,9,1,"div",19),c(62,"div",20)(63,"div",21),C(64,N2e,82,22,"div",43),u(),c(65,"div",26),C(66,I2e,31,8,"div",27),C(67,P2e,16,2,"div",28),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus),h(9),_("ngIf",i.DetDat),h(6),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat))},dependencies:[Mt,mt,Wt,Do,yo,Hr,Ii,ki,Yt],styles:["#map[_ngcontent-%COMP%]{height:100%}#map[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(3){opacity:0}#map[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] button.gm-ui-hover-effect[_ngcontent-%COMP%]{display:none!important;margin:0!important;padding:0!important}#map[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(4){height:90%!important;background:#63d2ff!important;border:0px solid #f00}.gm-style-iw[_ngcontent-%COMP%]{width:90%!important;top:5px!important;left:5px!important;background-color:#63d2ff;border:0px solid #f00;border-radius:2px 2px 0 0}"]}),t})();const V2e=["map"];function H2e(t,n){1&t&&X(0,"th",32)}const K6=function(t){return{"text-align":t}};function G2e(t,n){if(1&t&&(c(0,"th",33),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,K6,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function j2e(t,n){1&t&&(c(0,"tr")(1,"td",34),X(2,"mat-spinner",35),u()()),2&t&&(h(2),_("diameter",50))}function Y2e(t,n){1&t&&(c(0,"tr")(1,"td",36),p(2,"No existen registros"),u()())}const U2e=function(t){return{"border-left-color":t}};function W2e(t,n){if(1&t){const e=ae();c(0,"td",40)(1,"img",41),R("click",function(){z(e);const r=D().$implicit;return q(D().Detalles(r))}),u(),c(2,"img",42),R("click",function(){z(e);const r=D().$implicit;return q(D().Productos(r))}),u(),c(3,"img",43),R("click",function(){z(e);const r=D().$implicit;return q(D().EnvLinPed(r))}),u()()}if(2&t){const e=D().$implicit,i=D();_("ngStyle",ke(1,U2e,i.servicios.ColEstVia(e.Estatus)))}}function z2e(t,n){if(1&t&&(c(0,"td",44),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,K6,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function $2e(t,n){if(1&t&&(c(0,"tr"),C(1,W2e,4,3,"td",37),c(2,"td",38),p(3),u(),C(4,z2e,2,4,"td",39),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function q2e(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function X2e(t,n){if(1&t){const e=ae();c(0,"img",45),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function Q2e(t,n){if(1&t&&(c(0,"div",0),p(1,"Detalles del viaje N\xba: "),c(2,"span",1),p(3),u(),c(4,"div",46)(5,"a",47)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.NRegistro)}}const J2e=function(t){return{color:t}};function Z2e(t,n){if(1&t&&(c(0,"div",48)(1,"div",49)(2,"h3"),p(3,"Viaje"),u()(),c(4,"table",50)(5,"tr")(6,"td",51)(7,"strong"),p(8,"Origen: "),u(),c(9,"span"),p(10),u()()(),c(11,"tr")(12,"td",51)(13,"strong"),p(14,"Destino: "),u(),c(15,"span"),p(16),u()()(),c(17,"tr")(18,"td",38)(19,"strong"),p(20,"Recorrido: "),u(),c(21,"span"),p(22),u()(),c(23,"td",38)(24,"strong"),p(25,"Precio: "),u(),c(26,"span"),p(27),u()(),c(28,"td",38)(29,"strong"),p(30,"Pago: "),u(),c(31,"span"),p(32),u()()(),c(33,"tr")(34,"td",52)(35,"strong"),p(36,"Solicitado: "),u(),c(37,"span"),p(38),u()(),c(39,"td",38)(40,"strong"),p(41,"Estatus: "),u(),c(42,"span",44),p(43),u()()()()()),2&t){const e=D();h(10),I(e.DetDat.OriDes),h(6),I(e.DetDat.DesDes),h(6),Be("",e.servicios.NumFor(e.DetDat.Recorrido,0),"Mts"),h(5),Be("$",e.servicios.NumFor(e.DetDat.Precio,2),""),h(5),I(e.DetDat.ForPag),h(6),I(e.servicios.ForFecHorPeq(e.DetDat.FecHorSol)),h(4),_("ngStyle",ke(8,J2e,e.servicios.ColEstVia(e.DetDat.Estatus))),h(1),I(e.DetDat.Estatus)}}function K2e(t,n){if(1&t&&X(0,"img",56),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotCli,"",rt)}}function ewe(t,n){if(1&t&&(c(0,"div",53)(1,"div",49)(2,"h3"),p(3,"Vendedor"),u()(),c(4,"table",50)(5,"tr")(6,"td",54),C(7,K2e,1,2,"img",55),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()(),c(25,"tr")(26,"td")(27,"strong"),p(28,"Puntos obtenidos: "),u(),c(29,"span"),p(30),u()()(),c(31,"tr")(32,"td",52)(33,"strong"),p(34,"Pasajeros: "),u(),c(35,"span"),p(36),u()()()()()),2&t){const e=D();h(7),_("ngIf",e.DetDat.FotCli),h(5),I(e.DetDat.DesCli),h(6),I(e.DetDat.TelCli),h(6),I(e.DetDat.EmaCli),h(6),I(e.DetDat.PunCalCli),h(6),I(e.LisNomPas)}}function twe(t,n){if(1&t&&X(0,"img",56),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotCho,"",rt)}}function nwe(t,n){if(1&t&&(c(0,"div",57)(1,"div",49)(2,"h3"),p(3,"Repartidor"),u()(),c(4,"table",50)(5,"tr")(6,"td",58),C(7,twe,1,2,"img",55),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()(),c(25,"tr")(26,"td",52)(27,"strong"),p(28,"Puntos obtenidos: "),u(),c(29,"span"),p(30),u()()()()()),2&t){const e=D();h(7),_("ngIf",e.DetDat.FotCho),h(5),I(e.DetDat.DesCho),h(6),I(e.DetDat.TelCho),h(6),I(e.DetDat.EmaCho),h(6),I(e.DetDat.PunCalCho)}}function iwe(t,n){if(1&t&&(c(0,"div",0),p(1,"Productos del viaje N\xba: "),c(2,"span",1),p(3),u(),c(4,"div",46)(5,"a",47)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.NRegistro)}}function rwe(t,n){1&t&&(c(0,"tr")(1,"td",62),X(2,"mat-spinner",35),u()()),2&t&&(h(2),_("diameter",50))}function owe(t,n){1&t&&(c(0,"tr")(1,"td",63),p(2,"No existen registros"),u()())}function swe(t,n){if(1&t&&(c(0,"tr")(1,"td",38),X(2,"img",64),u(),c(3,"td",65),p(4),u(),c(5,"td",66),p(6),u(),c(7,"td",66),p(8),u(),c(9,"td",66),p(10),u()()),2&t){const e=n.$implicit,i=D(2);h(2),nn("src","",i.ApiImg,"",i.CarPro,"/",e.FotPro,"",rt),h(2),I(e.NomPro),h(2),I(i.servicios.NumFor(e.Cantidad,0)),h(2),I(i.servicios.NumFor(e.Precio,2)),h(2),I(i.servicios.NumFor(e.TotPro,2))}}function awe(t,n){if(1&t&&(c(0,"div",59)(1,"div",49)(2,"h3"),p(3,"Lista de Productos"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr")(7,"th",6),p(8,"Foto"),u(),c(9,"th",60),p(10,"Nombre"),u(),c(11,"th",61),p(12,"Cantidad"),u(),c(13,"th",61),p(14,"Precio"),u(),c(15,"th",61),p(16,"Total"),u()()(),c(17,"tbody"),C(18,rwe,3,1,"tr",8),C(19,owe,3,0,"tr",8),C(20,swe,11,7,"tr",9),u()()()),2&t){const e=D();h(18),_("ngIf",!e.LisPro),h(1),_("ngIf",e.LisPro&&0==e.LisPro.length),h(1),_("ngForOf",e.LisPro)}}let lwe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.OriDes="",this.OriLatLon="",this.DesDes="",this.DesLatLon="",this.PriDes="",this.PriLatLon="",this.SegDes="",this.SegLatLon="",this.TerDes="",this.TerLatLon="",this.CarPro="pro",this.DonBus="",this.OJE=[],this.LisNomPas="",this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg(),this.DGM={Nombre:"Viajes",CamMod:[{Tit:"Vendedor",Cmp:"DesCli",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegCli)"},{Tit:"Origen",Cmp:"OriDes",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Destino",Cmp:"DesDes",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Calificaci\xf3n Vendedor",Cmp:"PunCalCli",Tip:"Entero",Req:"Si",VD:"",Val:""},{Tit:"Repartidor",Cmp:"DesCho",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0)"},{Tit:"Calificaci\xf3n Repartidor",Cmp:"PunCalCho",Tip:"Entero",Req:"Si",VD:"",Val:""},{Tit:"Recorrido Mts",Cmp:"Recorrido",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Duraci\xf3n Min",Cmp:"Duracion",Tip:"Entero",Req:"Si",VD:"",Val:""},{Tit:"Viaje $",Cmp:"Precio",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Base $",Cmp:"BasPro",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"IVA $",Cmp:"IVAPro",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Total $",Cmp:"TotPro",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Promoci\xf3n Vendedor $",Cmp:"ProCli",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Promoci\xf3n Repartidor $",Cmp:"ProCho",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Ganancia $",Cmp:"Ganancia",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Solicitado",Cmp:"FecHorSol",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Cancelado",Cmp:"FecHorCan",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Inicio",Cmp:"FecHorIni",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Fin",Cmp:"FecHorFin",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Nuevo",Tex:"Nuevo"},{Val:"Aceptado",Tex:"Aceptado"},{Val:"Cerca",Tex:"Cerca"},{Val:"Iniciado",Tex:"Iniciado"},{Val:"Finalizado",Tex:"Finalizado"},{Val:"Calificado Repartidor",Tex:"Calificado Repartidor"},{Val:"Calificado Vendedor",Tex:"Calificado Vendedor"},{Val:"Cancelado Vendedor",Tex:"Cancelado Vendedor"},{Val:"Cancelado Repartidor",Tex:"Cancelado Repartidor"},{Val:"Terminado",Tex:"Terminado"}]}],OpcFil:"Si",CamQry:"*,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegCli) DesCli,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegCli) FotCli,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegCli) TelCli,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegCli) EmaCli,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) DesCho,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) FotCho,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) TelCho,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) EmaCho",Tabla:"viajes A",Donde:"WHERE Estatus NOT IN (|En Devolucion|)",Ordena:"ORDER BY NRegistro DESC",TabFor:{Fil:[1,2,3,4,5],Col:[1,2,3]},Carpeta:""}}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EnvLinPed(e){this.servicios.EnvLinPed(e.NRegCom,e.NRegistro)}Productos(e){this.DetDat=e,this.CarLisPro(e)}Detalles(e){this.DetDat=e,this.CarLisPas(e),this.showMap(function(i){i.OriDes=i.DetDat.OriDes,i.OriLatLon=i.DetDat.Origen,i.DesDes=i.DetDat.DesDes,i.DesLatLon=i.DetDat.Destino,i.PriDes=i.DetDat.PriDes,i.PriLatLon=i.DetDat.Primera,i.SegDes=i.DetDat.SegDes,i.SegLatLon=i.DetDat.Segunda,i.TerDes=i.DetDat.TerDes,i.TerLatLon=i.DetDat.Tercera,i.MosRutMap(i.DetDat.Origen,i.DetDat.Destino,i.DetDat.Primera,i.DetDat.Segunda,i.DetDat.Tercera)})}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}CarLisPro(e){this.servicios.AccSobBD("SELECT","Si","*,(SELECT Nombre FROM productos WHERE NRegistro = A.NRegPro) NomPro,(SELECT Imagen FROM productos WHERE NRegistro = A.NRegPro) FotPro,(Precio*Cantidad) TotPro","","","pedidospro A","WHERE NRegPed = "+e.NRegistro,"ORDER BY NomPro","","CarVar",this,function(i,r){r.LisPro=i.data})}CarLisPas(e){this.LisNomPas="",this.servicios.AccSobBD("SELECT","Si","*","","","viapas","WHERE NRegPed = "+e.NRegistro,"ORDER BY Nombre","","CarVar",this,function(i,r){for(var o=0;o<i.data.length;o++)r.LisNomPas=r.LisNomPas+i.data[o].Nombre,o<i.data.length-1&&(r.LisNomPas=r.LisNomPas+", ")})}showMap(e){const r={center:new google.maps.LatLng(this.servicios.Pais.Lat,this.servicios.Pais.Lon),zoom:13,mapTypeControl:!1,streetViewControl:!1,zoomControl:!1,zoomControlOptions:{position:google.maps.ControlPosition.RIGHT_TOP},fullscreenControl:!1,fullscreenControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},styles:[]};this.map=new google.maps.Map(this.mapRef.nativeElement,r),e(this)}MosRutMap(e,i,r,o,s){this.DirSer=new google.maps.DirectionsService,this.DirDis=new google.maps.DirectionsRenderer({suppressMarkers:!0,polylineOptions:{strokeColor:"#154c68",strokeOpacity:.7}});var a=[];""!=r&&a.push({location:r,stopover:!0}),""!=o&&a.push({location:o,stopover:!0}),""!=s&&a.push({location:s,stopover:!0});var l=this.DirDis;this.AgrMarRut(e,i,r,o,s),this.DirDis.setMap(this.map),this.DirSer.route({origin:e,destination:i,travelMode:"DRIVING"},function(d,f){"OK"===f&&setTimeout(()=>{l.setDirections(d)},350)})}AgrMarRut(e,i,r,o,s){var l=String(e).split(","),d=new google.maps.LatLng(l[0],l[1]),m=String(i).split(","),g=new google.maps.LatLng(m[0],m[1]);if(""!=r)var M=String(r).split(","),y=new google.maps.LatLng(M[0],M[1]);if(""!=o)var k=String(o).split(","),O=new google.maps.LatLng(k[0],k[1]);if(""!=s)var H=String(s).split(","),U=new google.maps.LatLng(H[0],H[1]);this.infwinOri=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)}),this.infwinDes=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)}),""!=r&&(this.infwinPri=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)})),""!=o&&(this.infwinSeg=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)})),""!=s&&(this.infwinTer=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)})),this.infwinOri.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.OriDes+"</td></tr></table></div>"),this.infwinDes.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#ff4b41; text-align:center; vertical-align:middle;' id='tdDV'></td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.DesDes+"</td></tr></table></div>"),""!=r&&this.infwinPri.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.PriDes+"</td></tr></table></div>"),""!=o&&this.infwinSeg.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.SegDes+"</td></tr></table></div>"),""!=s&&this.infwinTer.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.TerDes+"</td></tr></table></div>");var Q={url:this.ApiImg+"mapa/ori.png",scaledSize:new google.maps.Size(24,24),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(12,12)},W={url:this.ApiImg+"mapa/des.png",scaledSize:new google.maps.Size(24,24),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(12,12)},J={url:this.ApiImg+"mapa/par.png",scaledSize:new google.maps.Size(24,24),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(12,12)};this.IcoOri=new google.maps.Marker({position:d,map:this.map,icon:Q,title:"Origen"}),this.IcoDes=new google.maps.Marker({position:g,map:this.map,icon:W,title:"Destino"}),""!=r&&(this.IcoPri=new google.maps.Marker({position:y,map:this.map,icon:J,title:"Primera parada"})),""!=o&&(this.IcoSeg=new google.maps.Marker({position:O,map:this.map,icon:J,title:"Segunda parada"})),""!=s&&(this.IcoTer=new google.maps.Marker({position:U,map:this.map,icon:J,title:"Tercera parada"}))}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-viajes"]],viewQuery:function(e,i){if(1&e&&Ht(V2e,5),2&e){let r;lt(r=ct())&&(i.mapRef=r.first)}},decls:48,vars:14,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","50% !important"],[1,"modal-content",2,"height","550px"],["class","TitMod",4,"ngIf"],[1,"container-fluid"],[1,"row",2,"height","250px !important"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #f00"],["id","map"],["map",""],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #00f;",4,"ngIf"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #ff0;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg2"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","80% !important"],[1,"row",2,"height","500px !important"],["class","col-md-12","style","height:95%; padding:10px; overflow:auto; border:0px solid #00f;",4,"ngIf"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle; border-left-width:5px;",3,"ngStyle",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle","border-left-width","5px",3,"ngStyle"],["src","assets/img/ojo.png","title","Ver detalles","data-toggle","modal","data-target",".bd-example-modal-lg",1,"BotMod",3,"click"],["src","assets/img/caj.png","title","Ver productos","data-toggle","modal","data-target",".bd-example-modal-lg2",1,"BotMod",3,"click"],["src","assets/img/env.png","title","Enviar link del pedido",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #0f0"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],[2,"width","100%","height","80%","background-color","#f5f5f5"],["colspan","3"],["colspan","2",2,"text-align","center"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #00f"],["rowspan","4",2,"text-align","center","vertical-align","middle"],["style","height:100px; width:100px; border-radius:50%; margin-right:5px;",3,"src",4,"ngIf"],[2,"height","100px","width","100px","border-radius","50%","margin-right","5px",3,"src"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #ff0"],["rowspan","3",2,"text-align","center","vertical-align","middle"],[1,"col-md-12",2,"height","95%","padding","10px","overflow","auto","border","0px solid #00f"],["scope","col",2,"text-align","left"],["scope","col",2,"text-align","right"],["colspan","8","align","center","valign","middle"],["colspan","8","align","center","valign","middle",2,"color","#856404"],["alt","",2,"height","100px","width","150px","border-radius","5px",3,"src"],[2,"text-align","left"],[2,"text-align","right"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,H2e,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,G2e,2,4,"th",7),u()(),c(12,"tbody"),C(13,j2e,3,1,"tr",8),C(14,Y2e,3,0,"tr",8),C(15,$2e,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,q2e,2,1,"span",8),u(),c(21,"td",12),C(22,X2e,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),X(27,"td",12),u()()(),c(28,"div",16)(29,"div",17)(30,"div",18),C(31,Q2e,8,1,"div",19),c(32,"div",20)(33,"div",21)(34,"div",22),X(35,"div",23,24),u(),C(37,Z2e,44,10,"div",25),u(),c(38,"div",21),C(39,ewe,37,6,"div",26),C(40,nwe,31,5,"div",27),u()()()()(),c(41,"div",28)(42,"div",29)(43,"div",18),C(44,iwe,8,1,"div",19),c(45,"div",20)(46,"div",30),C(47,awe,21,3,"div",31),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus),h(9),_("ngIf",i.DetDat),h(6),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat))},dependencies:[Mt,mt,Wt,Yt],styles:["#map[_ngcontent-%COMP%]{height:100%}#map[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(3){opacity:0}#map[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] button.gm-ui-hover-effect[_ngcontent-%COMP%]{display:none!important;margin:0!important;padding:0!important}#map[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(4){height:90%!important;background:#ff4b41!important;border:0px solid #f00}.gm-style-iw[_ngcontent-%COMP%]{width:90%!important;top:5px!important;left:5px!important;background-color:#ff4b41;border:0px solid #f00;border-radius:2px 2px 0 0}"]}),t})();function cwe(t,n){1&t&&(c(0,"tr")(1,"td",14),X(2,"mat-spinner",15),u()()),2&t&&(h(2),_("diameter",50))}function dwe(t,n){1&t&&(c(0,"tr")(1,"td",16),p(2,"No existen registros"),u()())}const uwe=function(t){return{color:t}};function fwe(t,n){if(1&t&&(c(0,"tr",17)(1,"th",18),X(2,"img",19)(3,"img",20)(4,"img",21),u(),c(5,"td"),p(6),u(),c(7,"td"),p(8),u(),c(9,"td"),p(10),u(),c(11,"td"),p(12),u(),c(13,"td",22),p(14),u(),c(15,"td"),p(16),u(),c(17,"td",22),p(18),u(),c(19,"td",22),p(20),u(),c(21,"td",22),p(22),u(),c(23,"td",23),p(24),u(),c(25,"td",23),p(26),u(),c(27,"td",23),p(28),u(),c(29,"td",23),p(30),u(),c(31,"td"),p(32),u()()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(15,uwe,i.servicios.ColEstVia(e.Estatus))),h(6),I(e.NRegistro),h(2),I(e.DesCli),h(2),I(e.OriDes),h(2),I(e.DesDes),h(2),I(e.PunCalCli),h(2),I(e.DesCho),h(2),I(e.PunCalCho),h(2),I(e.Recorrido),h(2),I(e.Precio),h(2),I(i.servicios.ForFecHorPeq(e.FecHorSol)),h(2),I(i.servicios.ForFecHorPeq(e.FecHorCan)),h(2),I(i.servicios.ForFecHorPeq(e.FecHorIni)),h(2),I(i.servicios.ForFecHorPeq(e.FecHorFin)),h(2),I(e.Estatus)}}function hwe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.Viajes.length," Registros")}}let pwe=(()=>{class t{constructor(e){this.servicios=e,this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){this.CarLis()}CarLis(){this.servicios.AccSobBD("SELECT","Si","*,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegCli) DesCli,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) DesCho","","","viajes A","","ORDER BY NRegistro DESC","","CarVar",this,function(e,i){i.Viajes=e.data,i.servicios.VPB=100})}}return t.\u0275fac=function(e){return new(e||t)(V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-viajespas"]],decls:52,vars:4,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col"],[4,"ngIf"],[3,"ngStyle",4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie"],["colspan","16","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","16","align","center","valign","middle",2,"color","#856404"],[3,"ngStyle"],["scope","row"],["src","assets/img/ojo.png","title","Ver detalles",1,"BotMod"],["src","assets/img/mod.png","title","Modificar",1,"BotMod"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod"],["align","right"],["align","center"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3,"Viajes"),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),X(8,"td",5),c(9,"th",6),p(10,"N\xba"),u(),c(11,"th",6),p(12,"Vendedor"),u(),c(13,"th",6),p(14,"Origen"),u(),c(15,"th",6),p(16,"Destino"),u(),c(17,"th",6),p(18,"Calificacion Vendedor"),u(),c(19,"th",6),p(20,"Repartidor"),u(),c(21,"th",6),p(22,"Calificacion Repartidor"),u(),c(23,"th",6),p(24,"Recorrido"),u(),c(25,"th",6),p(26,"Precio"),u(),c(27,"th",6),p(28,"Solicitado"),u(),c(29,"th",6),p(30,"Cancelado"),u(),c(31,"th",6),p(32,"Inicio"),u(),c(33,"th",6),p(34,"Fin"),u(),c(35,"th",6),p(36,"Estatus"),u()()(),c(37,"tbody"),C(38,cwe,3,1,"tr",7),C(39,dwe,3,0,"tr",7),C(40,fwe,33,17,"tr",8),u()()(),c(41,"div",9)(42,"table",10)(43,"tr")(44,"td",11),C(45,hwe,2,1,"span",7),u(),X(46,"td",11),c(47,"td",11),X(48,"img",12),u(),X(49,"td",11),c(50,"td",11),X(51,"img",13),u()()()()),2&e&&(h(38),_("ngIf",!i.Viajes),h(1),_("ngIf",i.Viajes&&0==i.Viajes.length),h(1),_("ngForOf",i.Viajes),h(5),_("ngIf",i.Viajes&&0!=i.Viajes.length))},dependencies:[Mt,mt,Wt,Yt]}),t})();const mwe=["map"],gwe=["closeAddExpenseModal"];function _we(t,n){1&t&&X(0,"th",59)}const eH=function(t){return{"text-align":t}};function vwe(t,n){if(1&t&&(c(0,"th",60),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,eH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function bwe(t,n){1&t&&(c(0,"tr")(1,"td",61),X(2,"mat-spinner",62),u()()),2&t&&(h(2),_("diameter",50))}function Dwe(t,n){1&t&&(c(0,"tr")(1,"td",63),p(2,"No existen registros"),u()())}function ywe(t,n){if(1&t){const e=ae();c(0,"td",67)(1,"img",68),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Modificar",r))}),u(),X(2,"br"),c(3,"img",69),R("click",function(){z(e);const r=D().$implicit;return q(D().Geocerca(r))}),u(),c(4,"img",70),R("click",function(){z(e);const r=D().$implicit;return q(D().Zonas(r))}),u(),c(5,"img",71),R("click",function(){z(e);const r=D().$implicit;return q(D().Feriados(r))}),u()()}}function Mwe(t,n){if(1&t&&(c(0,"td",72),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,eH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function Cwe(t,n){if(1&t&&(c(0,"tr"),C(1,ywe,6,0,"td",64),c(2,"td",65),p(3),u(),C(4,Mwe,2,4,"td",66),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function xwe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function Twe(t,n){if(1&t){const e=ae();c(0,"img",73),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function wwe(t,n){if(1&t&&(c(0,"div",0),p(1,"Zonas de la Tarifa: "),c(2,"span",1),p(3),u(),c(4,"div",74)(5,"a",75)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.Nombre)}}function Ewe(t,n){if(1&t&&(c(0,"option",76),p(1),u()),2&t){const e=n.$implicit;Hi("value",e.NRegistro),h(1),I(e.Nombre)}}function Swe(t,n){if(1&t&&(c(0,"option",76),p(1),u()),2&t){const e=n.$implicit;Hi("value",e.NRegistro),h(1),I(e.Nombre)}}function kwe(t,n){1&t&&(c(0,"tr")(1,"td",61),X(2,"mat-spinner",62),u()()),2&t&&(h(2),_("diameter",50))}function Awe(t,n){1&t&&(c(0,"tr")(1,"td",63),p(2,"No existen registros"),u()())}function Rwe(t,n){if(1&t){const e=ae();c(0,"tr")(1,"td",67)(2,"img",68),R("click",function(){const o=z(e).$implicit;return q(D(2).ModDetTar(o))}),u(),c(3,"img",81),R("click",function(){const o=z(e).$implicit,s=D(2);return q(s.EliDetTar(s.DetDat,o))}),u()(),c(4,"td",65),p(5),u(),c(6,"td",82),p(7),u(),c(8,"td",82),p(9),u(),c(10,"td",82),p(11),u(),c(12,"td",83),p(13),u(),c(14,"td",65),p(15),u()()}if(2&t){const e=n.$implicit,i=D(2);h(5),I(e.NRegistro),h(2),I(e.DesZonA),h(2),I(e.Sentido),h(2),I(e.DesZonB),h(2),I(i.servicios.NumFor(e.Precio,2)),h(2),I(e.Estatus)}}function Fwe(t,n){if(1&t&&(c(0,"div",77)(1,"div",25)(2,"h3"),p(3,"Lista de Tarifas por zona"),u()(),c(4,"div",78)(5,"table",3)(6,"thead",4)(7,"tr"),X(8,"th",59),c(9,"th",6),p(10,"N\xba"),u(),c(11,"th",79),p(12,"Zona A"),u(),c(13,"th",79),p(14,"Sentido"),u(),c(15,"th",79),p(16,"Zona B"),u(),c(17,"th",80),p(18,"Precio"),u(),c(19,"th",6),p(20,"Estado"),u()()(),c(21,"tbody"),C(22,kwe,3,1,"tr",8),C(23,Awe,3,0,"tr",8),C(24,Rwe,16,6,"tr",9),u()()()()),2&t){const e=D();h(22),_("ngIf",!e.DetTar),h(1),_("ngIf",e.DetTar&&0==e.DetTar.length),h(1),_("ngForOf",e.DetTar)}}function Nwe(t,n){if(1&t&&(c(0,"div",0),p(1,"Feriados de la Tarifa: "),c(2,"span",1),p(3),u(),c(4,"div",74)(5,"a",75)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.Nombre)}}function Owe(t,n){if(1&t){const e=ae();c(0,"div",84)(1,"div",25)(2,"h3"),p(3,"D\xedas feriados de la semana"),u()(),c(4,"table",85)(5,"tr")(6,"td")(7,"div",28)(8,"label",86)(9,"strong"),p(10,"Lunes"),u()(),c(11,"select",87),R("ngModelChange",function(r){return z(e),q(D().DiaFer[0]=r)}),c(12,"option",88),p(13,"No"),u(),c(14,"option",89),p(15,"Si"),u()()()(),c(16,"td")(17,"div",28)(18,"label",90)(19,"strong"),p(20,"Martes"),u()(),c(21,"select",91),R("ngModelChange",function(r){return z(e),q(D().DiaFer[1]=r)}),c(22,"option",88),p(23,"No"),u(),c(24,"option",89),p(25,"Si"),u()()()(),c(26,"td")(27,"div",28)(28,"label",92)(29,"strong"),p(30,"Miercoles"),u()(),c(31,"select",93),R("ngModelChange",function(r){return z(e),q(D().DiaFer[2]=r)}),c(32,"option",88),p(33,"No"),u(),c(34,"option",89),p(35,"Si"),u()()()(),c(36,"td")(37,"div",28)(38,"label",94)(39,"strong"),p(40,"Jueves"),u()(),c(41,"select",95),R("ngModelChange",function(r){return z(e),q(D().DiaFer[3]=r)}),c(42,"option",88),p(43,"No"),u(),c(44,"option",89),p(45,"Si"),u()()()()(),c(46,"tr")(47,"td")(48,"div",28)(49,"label",96)(50,"strong"),p(51,"Viernes"),u()(),c(52,"select",97),R("ngModelChange",function(r){return z(e),q(D().DiaFer[4]=r)}),c(53,"option",88),p(54,"No"),u(),c(55,"option",89),p(56,"Si"),u()()()(),c(57,"td")(58,"div",28)(59,"label",98)(60,"strong"),p(61,"Sabado"),u()(),c(62,"select",99),R("ngModelChange",function(r){return z(e),q(D().DiaFer[5]=r)}),c(63,"option",88),p(64,"No"),u(),c(65,"option",89),p(66,"Si"),u()()()(),c(67,"td")(68,"div",28)(69,"label",100)(70,"strong"),p(71,"Domingo"),u()(),c(72,"select",101),R("ngModelChange",function(r){return z(e),q(D().DiaFer[6]=r)}),c(73,"option",88),p(74,"No"),u(),c(75,"option",89),p(76,"Si"),u()()()(),c(77,"td",65)(78,"img",102),R("click",function(){z(e);const r=D();return q(r.GuaTarFer(r.DetDat))}),u()()()(),c(79,"div",103)(80,"h3"),p(81,"Horario especial"),u()(),c(82,"table",104)(83,"tr")(84,"td")(85,"div",28)(86,"label",105)(87,"strong"),p(88,"Inicio"),u()(),c(89,"select",106),R("ngModelChange",function(r){return z(e),q(D().HorEspIni=r)}),c(90,"option",107),p(91,"12:00AM"),u(),c(92,"option",108),p(93,"1:00AM"),u(),c(94,"option",109),p(95,"2:00AM"),u(),c(96,"option",110),p(97,"3:00AM"),u(),c(98,"option",111),p(99,"4:00AM"),u(),c(100,"option",112),p(101,"5:00AM"),u(),c(102,"option",113),p(103,"6:00AM"),u(),c(104,"option",114),p(105,"7:00AM"),u(),c(106,"option",115),p(107,"8:00AM"),u(),c(108,"option",116),p(109,"9:00AM"),u(),c(110,"option",117),p(111,"10:00AM"),u(),c(112,"option",118),p(113,"11:00AM"),u(),c(114,"option",119),p(115,"12:00PM"),u(),c(116,"option",120),p(117,"1:00PM"),u(),c(118,"option",121),p(119,"2:00PM"),u(),c(120,"option",122),p(121,"3:00PM"),u(),c(122,"option",123),p(123,"4:00PM"),u(),c(124,"option",124),p(125,"5:00PM"),u(),c(126,"option",125),p(127,"6:00PM"),u(),c(128,"option",126),p(129,"7:00PM"),u(),c(130,"option",127),p(131,"8:00PM"),u(),c(132,"option",128),p(133,"9:00PM"),u(),c(134,"option",129),p(135,"10:00PM"),u(),c(136,"option",130),p(137,"11:00PM"),u()()()(),c(138,"td")(139,"div",28)(140,"label",131)(141,"strong"),p(142,"Fin"),u()(),c(143,"select",132),R("ngModelChange",function(r){return z(e),q(D().HorEspFin=r)}),c(144,"option",107),p(145,"12:00AM"),u(),c(146,"option",108),p(147,"1:00AM"),u(),c(148,"option",109),p(149,"2:00AM"),u(),c(150,"option",110),p(151,"3:00AM"),u(),c(152,"option",111),p(153,"4:00AM"),u(),c(154,"option",112),p(155,"5:00AM"),u(),c(156,"option",113),p(157,"6:00AM"),u(),c(158,"option",114),p(159,"7:00AM"),u(),c(160,"option",115),p(161,"8:00AM"),u(),c(162,"option",116),p(163,"9:00AM"),u(),c(164,"option",117),p(165,"10:00AM"),u(),c(166,"option",118),p(167,"11:00AM"),u(),c(168,"option",119),p(169,"12:00PM"),u(),c(170,"option",120),p(171,"1:00PM"),u(),c(172,"option",121),p(173,"2:00PM"),u(),c(174,"option",122),p(175,"3:00PM"),u(),c(176,"option",123),p(177,"4:00PM"),u(),c(178,"option",124),p(179,"5:00PM"),u(),c(180,"option",125),p(181,"6:00PM"),u(),c(182,"option",126),p(183,"7:00PM"),u(),c(184,"option",127),p(185,"8:00PM"),u(),c(186,"option",128),p(187,"9:00PM"),u(),c(188,"option",129),p(189,"10:00PM"),u(),c(190,"option",130),p(191,"11:00PM"),u()()()(),c(192,"td",65)(193,"img",133),R("click",function(){z(e);const r=D();return q(r.GuaHorEsp(r.DetDat))}),u()()()()()}if(2&t){const e=D();h(11),_("ngModel",e.DiaFer[0]),h(10),_("ngModel",e.DiaFer[1]),h(10),_("ngModel",e.DiaFer[2]),h(10),_("ngModel",e.DiaFer[3]),h(11),_("ngModel",e.DiaFer[4]),h(10),_("ngModel",e.DiaFer[5]),h(10),_("ngModel",e.DiaFer[6]),h(17),_("ngModel",e.HorEspIni),h(54),_("ngModel",e.HorEspFin)}}function Iwe(t,n){1&t&&(c(0,"tr")(1,"td",61),X(2,"mat-spinner",62),u()()),2&t&&(h(2),_("diameter",50))}function Lwe(t,n){1&t&&(c(0,"tr")(1,"td",63),p(2,"No existen registros"),u()())}function Pwe(t,n){if(1&t){const e=ae();c(0,"tr")(1,"td",67)(2,"img",81),R("click",function(){const o=z(e).$implicit,s=D(2);return q(s.EliDetFer(s.DetDat,o))}),u()(),c(3,"td",65),p(4),u(),c(5,"td",82),p(6),u(),c(7,"td",82),p(8),u()()}if(2&t){const e=n.$implicit,i=D(2);h(4),I(e.NRegistro),h(2),I(i.servicios.ForFecHorFer(e.Fecha)),h(2),I(e.Descripcion)}}function Bwe(t,n){if(1&t){const e=ae();c(0,"div",134)(1,"div",25)(2,"h3"),p(3,"Fechas feriadas"),u()(),c(4,"div",135)(5,"table",136)(6,"tr")(7,"td",137)(8,"div",28)(9,"label",138)(10,"strong"),p(11,"Fecha"),c(12,"span",30),p(13,"*"),u()()(),c(14,"input",139),R("ngModelChange",function(r){return z(e),q(D().Fecha=r)}),u()()(),c(15,"td",39)(16,"div",28)(17,"label",140)(18,"strong"),p(19,"Descripcion"),c(20,"span",30),p(21,"*"),u()()(),c(22,"input",141),R("ngModelChange",function(r){return z(e),q(D().Descripcion=r)}),u()()(),c(23,"td",142)(24,"img",143),R("click",function(){z(e);const r=D();return q(r.AgrDetFer(r.DetDat))}),u()()()()(),c(25,"div",144)(26,"table",3)(27,"thead",4)(28,"tr"),X(29,"th",59),c(30,"th",6),p(31,"N\xba"),u(),c(32,"th",79),p(33,"Fecha"),u(),c(34,"th",79),p(35,"Descripcion"),u()()(),c(36,"tbody"),C(37,Iwe,3,1,"tr",8),C(38,Lwe,3,0,"tr",8),C(39,Pwe,9,3,"tr",9),u()()()()}if(2&t){const e=D();h(14),_("ngModel",e.Fecha),h(8),_("ngModel",e.Descripcion),h(15),_("ngIf",!e.DetFer),h(1),_("ngIf",e.DetFer&&0==e.DetFer.length),h(1),_("ngForOf",e.DetFer)}}function Vwe(t,n){if(1&t&&(c(0,"div",0),p(1,"Cobertura de la Tarifa: "),c(2,"span",1),p(3),u(),c(4,"div",74)(5,"a",75,145)(7,"strong"),p(8,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.Nombre)}}function Hwe(t,n){1&t&&(c(0,"p")(1,"strong"),p(2,"Por favor dibuje la geocerca haciendo click en el mapa"),u()())}function Gwe(t,n){if(1&t){const e=ae();c(0,"img",149),R("click",function(){return z(e),q(D(2).ResetGeo())}),u()}}function jwe(t,n){if(1&t){const e=ae();c(0,"div",146)(1,"div",10)(2,"table",11)(3,"tr")(4,"td",147),C(5,Hwe,3,0,"p",8),u(),c(6,"td",12),C(7,Gwe,1,0,"img",148),u(),c(8,"td",12)(9,"img",47),R("click",function(){z(e);const r=D();return q(r.GuaGeo(r.DetDat))}),u()()()()()()}if(2&t){const e=D();h(5),_("ngIf",""==e.DetDat.Puntos),h(2),_("ngIf",""==e.DetDat.Puntos)}}let Ywe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.ZonaA="",this.Sentido="",this.ZonaB="",this.Estatus="",this.NRegDetTarSel=0,this.Fecha="",this.Descripcion="",this.HorEspIni="",this.HorEspFin="",this.PunGeo=[],this.DGM={Nombre:"Tarifas",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Recorrido Base Km",Cmp:"RecBasKil",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Precio Km Base "+this.servicios.Pais.SimMon,Cmp:"RecBasPre",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Precio Km Adicional "+this.servicios.Pais.SimMon,Cmp:"RecAdiPre",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Ganancia Productos %",Cmp:"GananciaPro",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activa",Tex:"Activa"},{Val:"Inactiva",Tex:"Inactiva"}]}],OpcFil:"Si",CamQry:"*",Tabla:"tarifas",Donde:"",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3,4,5],Col:[1,2,3]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarCmpQry(),this.CarLis(),this.CarLisZon()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis(),this.CarLisZon()}Zonas(e){this.DetDat=e,this.CarLisDetTar(e)}GuaTarZon(e){this.servicios.ValCam("ZonaA","Zona A","Texto",this.ZonaA,"Si")&&this.servicios.ValCam("Sentido","Sentido","Texto",this.Sentido,"Si")&&this.servicios.ValCam("ZonaB","Zona B","Texto",this.ZonaB,"Si")&&this.servicios.ValCam("Precio","Precio","Numero",this.Precio,"Si")&&this.servicios.ValCam("Estatus","Estado","Texto",this.Estatus,"Si")&&(0==this.NRegDetTarSel?this.servicios.AccSobBD("INSERT","No","NRegTar,NRegZonA,Sentido,NRegZonB,Precio,Estatus",e.NRegistro+","+this.ZonaA+",|"+this.Sentido+"|,"+this.ZonaB+","+this.Precio+",|"+this.Estatus+"|","","tarifaszonas","","","","Ins",this,function(i,r){r.CarLisDetTar(e)}):this.servicios.AccSobBD("UPDATE","No","","","NRegZonA="+this.ZonaA+", Sentido=|"+this.Sentido+"|, NRegZonB="+this.ZonaB+", Precio="+this.Precio+", Estatus=|"+this.Estatus+"|","tarifaszonas","WHERE NRegistro="+this.NRegDetTarSel,"","","Upd",this,function(i,r){r.CarLisDetTar(e)}),this.ZonaA="",this.Sentido="",this.ZonaB="",this.Precio=null,this.Estatus="",this.NRegDetTarSel=0)}ModDetTar(e){this.NRegDetTarSel=e.NRegistro,this.ZonaA=e.NRegZonA,this.Sentido=e.Sentido,this.ZonaB=e.NRegZonB,this.Precio=e.Precio,this.Estatus=e.Estatus}EliDetTar(e,i){this.servicios.AccSobBD("DELETE","No","","","","tarifaszonas","WHERE NRegistro="+i.NRegistro,"","","Del",this,function(r,o){o.CarLisDetTar(e)})}DefZon(){this.router.navigate(["home/zonas"])}Feriados(e){this.DetDat=e,this.DiaFer=e.DiaFer.split(","),this.HorEspIni=e.HorEspIni,this.HorEspFin=e.HorEspFin,this.CarLisDetFer(e)}GuaTarFer(e){let i=this.DiaFer.toString();this.servicios.AccSobBD("UPDATE","No","","","DiaFer=|"+i+"|","tarifas","WHERE NRegistro="+e.NRegistro,"","","Upd",this,function(r,o){o.servicios.EnvMsgSim("Los cambios fueron guardados","Informacion"),o.CarLis()})}GuaHorEsp(e){this.servicios.AccSobBD("UPDATE","No","","","HorEspIni=|"+this.HorEspIni+"|, HorEspFin=|"+this.HorEspFin+"|","tarifas","WHERE NRegistro="+e.NRegistro,"","","Upd",this,function(i,r){r.servicios.EnvMsgSim("Los cambios fueron guardados","Informacion"),r.CarLis()})}AgrDetFer(e){this.servicios.ValCam("Fecha","Fecha","Texto",this.Fecha,"Si")&&this.servicios.ValCam("Descripcion","Descripcion","Texto",this.Descripcion,"Si")&&(this.servicios.AccSobBD("INSERT","No","NRegTar,Fecha,Descripcion",e.NRegistro+",|"+this.Fecha+"|,|"+this.Descripcion+"|","","tarifasferiados","","","","Ins",this,function(i,r){r.CarLisDetFer(e)}),this.Fecha="",this.Descripcion="")}EliDetFer(e,i){this.servicios.AccSobBD("DELETE","No","","","","tarifasferiados","WHERE NRegistro = "+i.NRegistro,"","","Del",this,function(r,o){o.CarLisDetFer(e)}),this.Fecha="",this.Descripcion=""}Geocerca(e){this.DetDat=e,this.showMap(function(i){i.MosGeoMap(i.DetDat)})}showMap(e){const r={center:new google.maps.LatLng(this.servicios.Pais.Lat,this.servicios.Pais.Lon),zoom:13,mapTypeControl:!0,streetViewControl:!1,zoomControl:!0,zoomControlOptions:{position:google.maps.ControlPosition.RIGHT_TOP},fullscreenControl:!1,fullscreenControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},styles:[]};this.map=new google.maps.Map(this.mapRef.nativeElement,r),e(this)}MosGeoMap(e){if(""!=e.Puntos){var i=new google.maps.LatLngBounds,r=e.Puntos.split("!"),o=[];this.PunGeo.length=0;for(var s=0;s<r.length;s++)r[s]=r[s].replace("(",""),r[s]=r[s].replace(")",""),r[s]=r[s].replace(" ",""),o=r[s].split(","),this.PunGeo.push(new google.maps.LatLng(o[0],o[1])),i.extend(new google.maps.LatLng(o[0],o[1]));o=r[0].split(","),this.PunGeo.push(new google.maps.LatLng(o[0],o[1])),this.Geo0=new google.maps.Polygon({paths:this.PunGeo,strokeColor:"#0000ff",strokeOpacity:.7,strokeWeight:3,fillColor:"#aaaaff",fillOpacity:.1,editable:!0}),this.Geo0.setMap(this.map),setTimeout(()=>{this.map.fitBounds(i)},350)}else this.creator_geo=new PolygonCreator(this.map)}GuaGeo(e){var i="";if(""!=e.Puntos)for(var o,r=this.Geo0.getPaths(),s=0;s<r.getLength();s++){o=r.getAt(s);for(var a=0;a<o.getLength();a++)i+=o.getAt(a),a<o.getLength()-1&&(i+="!")}else{if(null==(i=this.creator_geo.showData()))return void this.servicios.EnvMsgSim("Primero debe crear la geocerca","Advertencia");i=i.replace(/\)\(/gi,")!(")}this.servicios.AccSobBD("UPDATE","No","","","Puntos = |"+i+"|, Estatus = |Activa|","tarifas","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(l,d){d.DatRes=l.data,d.CarLis(),d.servicios.EnvMsgSim("Los cambios fueron guardados","Normal"),d.closeAddExpenseModal.nativeElement.click()}),this.servicios.AccSobBD("UPDATE","No","","","PunGeo = |"+i+"|","usuarios","WHERE NRegistro = "+e.NRegVen,"","","Upd",this,function(l,d){})}ResetGeo(){this.creator_geo.destroy(),this.creator_geo=null,this.creator_geo=new PolygonCreator(this.map)}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarCmpQry(){for(var e=0;e<this.DGM.CamMod.length;e++)if("SelectQry"==this.DGM.CamMod[e].Tip){let i=e;this.servicios.AccSobBD("SELECT","Si",this.DGM.CamMod[e].Qry.Cmps,"","",this.DGM.CamMod[e].Qry.Tab,this.DGM.CamMod[e].Qry.Don,this.DGM.CamMod[e].Qry.Ord,"","CarVar",this,function(r,o){o.DGM.CamMod[i].Qry.Res=r.data})}}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}CarLisZon(){this.servicios.AccSobBD("SELECT","Si","*","","","zonas","WHERE Estatus = |Activa|","ORDER BY Nombre","","CarVar",this,function(e,i){i.LisZon=e.data})}CarLisDetTar(e){this.servicios.AccSobBD("SELECT","Si","*, (SELECT Nombre FROM zonas WHERE NRegistro = A.NRegZonA) DesZonA, (SELECT Nombre FROM zonas WHERE NRegistro = A.NRegZonB) DesZonB","","","tarifaszonas A","WHERE NRegTar = "+e.NRegistro,"ORDER BY NRegistro","","CarVar",this,function(i,r){r.DetTar=i.data})}CarLisDetFer(e){this.servicios.AccSobBD("SELECT","Si","*","","","tarifasferiados","WHERE NRegTar = "+e.NRegistro,"ORDER BY NRegistro","","CarVar",this,function(i,r){r.DetFer=i.data})}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-tarifas"]],viewQuery:function(e,i){if(1&e&&(Ht(mwe,5),Ht(gwe,5)),2&e){let r;lt(r=ct())&&(i.mapRef=r.first),lt(r=ct())&&(i.closeAddExpenseModal=r.first)}},decls:118,vars:22,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["width","10%","align","center","valign","middle"],["src","assets/img/zon.png","title","Definici\xf3n de Zonas",1,"BotModPie",3,"click"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","80% !important"],[1,"modal-content",2,"height","550px"],["class","TitMod",4,"ngIf"],[1,"container-fluid"],[1,"row",2,"height","500px !important"],[1,"col-md-4",2,"height","100%","padding","10px","border","0px solid #f00"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],["cellpadding","5",2,"width","100%","height","90%","background-color","#f5f5f5"],["colspan","2"],[1,"form-group"],["for","ZonaA"],[2,"color","#f00"],["id","ZonaA",1,"form-control",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["for","Sentido"],["id","Sentido",1,"form-control",3,"ngModel","ngModelChange"],["value","Desde y Hasta"],["value","Hasta"],["for","ZonaB"],["id","ZonaB",1,"form-control",3,"ngModel","ngModelChange"],[2,"width","50%"],["for","Precio"],["type","number","step","0.01","id","Precio",1,"form-control",3,"ngModel","ngModelChange"],["for","Estatus"],["id","Estatus",1,"form-control",3,"ngModel","ngModelChange"],["value","Activa"],["value","Inactiva"],["colspan","2",2,"text-align","center"],["src","assets/img/ace.png","title","Guardar",1,"BotModPie",3,"click"],["class","col-md-8","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg2"],["class","col-md-5","style","height:100%; padding:10px; border:0px solid #f00;",4,"ngIf"],["class","col-md-7","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg3"],[1,"row",2,"height","400px !important"],[1,"col-md-12",2,"height","100%","padding","10px","border","0px solid #f00"],["id","map"],["map",""],[1,"row",2,"height","75px !important"],["class","col-md-12","style","height:100%; padding:10px; border:0px solid #00f;",4,"ngIf"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/zontar.png","title","Cobertura de la Tarifa","data-toggle","modal","data-target",".bd-example-modal-lg3",1,"BotMod",3,"click"],["src","assets/img/zon.png","title","Zonas de la Tarifa","data-toggle","modal","data-target",".bd-example-modal-lg",1,"BotMod",3,"click"],["src","assets/img/cal.png","title","Feriados de la Tarifa","data-toggle","modal","data-target",".bd-example-modal-lg2",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],[3,"value"],[1,"col-md-8",2,"height","100%","padding","10px","border","0px solid #0f0"],[2,"height","90%","width","100%","overflow","auto"],["scope","col",2,"text-align","left"],["scope","col",2,"text-align","right"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[2,"text-align","left"],[2,"text-align","right"],[1,"col-md-5",2,"height","100%","padding","10px","border","0px solid #f00"],["cellpadding","10",2,"width","100%","height","50%","background-color","#f5f5f5"],["for","Lunes"],["id","Lunes",1,"form-control",3,"ngModel","ngModelChange"],["value","0"],["value","1"],["for","Martes"],["id","Martes",1,"form-control",3,"ngModel","ngModelChange"],["for","Miercoles"],["id","Miercoles",1,"form-control",3,"ngModel","ngModelChange"],["for","Jueves"],["id","Jueves",1,"form-control",3,"ngModel","ngModelChange"],["for","Viernes"],["id","Viernes",1,"form-control",3,"ngModel","ngModelChange"],["for","Sabado"],["id","Sabado",1,"form-control",3,"ngModel","ngModelChange"],["for","Domingo"],["id","Domingo",1,"form-control",3,"ngModel","ngModelChange"],["src","assets/img/ace.png","title","Guardar d\xedas feriados de la semana",1,"BotModPie",3,"click"],[2,"width","100%","margin-top","10px","background-color","#04579E","color","#fff","text-align","center"],["cellpadding","10",2,"width","100%","height","30%","background-color","#f5f5f5"],["for","HorEspIni"],["id","HorEspIni",1,"form-control",3,"ngModel","ngModelChange"],["value","12:00AM"],["value","1:00AM"],["value","2:00AM"],["value","3:00AM"],["value","4:00AM"],["value","5:00AM"],["value","6:00AM"],["value","7:00AM"],["value","8:00AM"],["value","9:00AM"],["value","10:00AM"],["value","11:00AM"],["value","12:00PM"],["value","1:00PM"],["value","2:00PM"],["value","3:00PM"],["value","4:00PM"],["value","5:00PM"],["value","6:00PM"],["value","7:00PM"],["value","8:00PM"],["value","9:00PM"],["value","10:00PM"],["value","11:00PM"],["for","HorEspFin"],["id","HorEspFin",1,"form-control",3,"ngModel","ngModelChange"],["src","assets/img/ace.png","title","Guardar horario especial",1,"BotModPie",3,"click"],[1,"col-md-7",2,"height","100%","padding","10px","border","0px solid #0f0"],[2,"height","20%","width","100%","border","0px solid #0ff"],["cellpadding","5",2,"width","100%"],[2,"width","40%"],["for","Fecha"],["type","date","id","Fecha",1,"form-control",3,"ngModel","ngModelChange"],["for","Descripcion"],["type","text","id","Descripcion",1,"form-control",3,"ngModel","ngModelChange"],[2,"width","10%","text-align","center"],["src","assets/img/agr.png","title","Agregar",1,"BotMod",3,"click"],[2,"height","70%","width","100%","overflow","auto"],["closeAddExpenseModal",""],[1,"col-md-12",2,"height","100%","padding","10px","border","0px solid #00f"],["width","60%","align","center","valign","middle"],["src","assets/img/reset.png","class","BotModPie","title","Borrar",3,"click",4,"ngIf"],["src","assets/img/reset.png","title","Borrar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,_we,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,vwe,2,4,"th",7),u()(),c(12,"tbody"),C(13,bwe,3,1,"tr",8),C(14,Dwe,3,0,"tr",8),C(15,Cwe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,xwe,2,1,"span",8),u(),c(21,"td",13)(22,"img",14),R("click",function(){return i.DefZon()}),u()(),c(23,"td",12),C(24,Twe,1,0,"img",15),u(),c(25,"td",12)(26,"img",16),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(27,"td",13)(28,"img",17),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),X(29,"td",12),u()()(),c(30,"div",18)(31,"div",19)(32,"div",20),C(33,wwe,8,1,"div",21),c(34,"div",22)(35,"div",23)(36,"div",24)(37,"div",25)(38,"h3"),p(39,"Tarifa por zona"),u()(),c(40,"table",26)(41,"tr")(42,"td",27)(43,"div",28)(44,"label",29)(45,"strong"),p(46,"Zona A"),c(47,"span",30),p(48,"*"),u()()(),c(49,"select",31),R("ngModelChange",function(o){return i.ZonaA=o}),C(50,Ewe,2,2,"option",32),u()()()(),c(51,"tr")(52,"td",27)(53,"div",28)(54,"label",33)(55,"strong"),p(56,"Sentido"),c(57,"span",30),p(58,"*"),u()()(),c(59,"select",34),R("ngModelChange",function(o){return i.Sentido=o}),c(60,"option",35),p(61,"Desde y Hasta"),u(),c(62,"option",36),p(63,"Hasta"),u()()()()(),c(64,"tr")(65,"td",27)(66,"div",28)(67,"label",37)(68,"strong"),p(69,"Zona B"),c(70,"span",30),p(71,"*"),u()()(),c(72,"select",38),R("ngModelChange",function(o){return i.ZonaB=o}),C(73,Swe,2,2,"option",32),u()()()(),c(74,"tr")(75,"td",39)(76,"div",28)(77,"label",40)(78,"strong"),p(79,"Precio"),c(80,"span",30),p(81,"*"),u()()(),c(82,"input",41),R("ngModelChange",function(o){return i.Precio=o}),u()()(),c(83,"td",39)(84,"div",28)(85,"label",42)(86,"strong"),p(87,"Estado"),c(88,"span",30),p(89,"*"),u()()(),c(90,"select",43),R("ngModelChange",function(o){return i.Estatus=o}),c(91,"option",44),p(92,"Activa"),u(),c(93,"option",45),p(94,"Inactiva"),u()()()()(),c(95,"tr")(96,"td",46)(97,"img",47),R("click",function(){return i.GuaTarZon(i.DetDat)}),u()()()()(),C(98,Fwe,25,3,"div",48),u()()()()(),c(99,"div",49)(100,"div",19)(101,"div",20),C(102,Nwe,8,1,"div",21),c(103,"div",22)(104,"div",23),C(105,Owe,194,9,"div",50),C(106,Bwe,40,5,"div",51),u()()()()(),c(107,"div",52)(108,"div",19)(109,"div",20),C(110,Vwe,9,1,"div",21),c(111,"div",22)(112,"div",53)(113,"div",54),X(114,"div",55,56),u()(),c(116,"div",57),C(117,jwe,10,2,"div",58),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(4),_("ngIf",""!=i.DonBus),h(9),_("ngIf",i.DetDat),h(16),_("ngModel",i.ZonaA),h(1),_("ngForOf",i.LisZon),h(9),_("ngModel",i.Sentido),h(13),_("ngModel",i.ZonaB),h(1),_("ngForOf",i.LisZon),h(9),_("ngModel",i.Precio),h(8),_("ngModel",i.Estatus),h(8),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DiaFer),h(1),_("ngIf",i.DiaFer),h(4),_("ngIf",i.DetDat),h(7),_("ngIf",i.DetDat))},dependencies:[Mt,mt,Wt,Do,yo,Si,Ql,Hr,Ii,ki,Yt],styles:["#map[_ngcontent-%COMP%]{height:100%}"]}),t})();function Uwe(t,n){1&t&&X(0,"th",16)}const tH=function(t){return{"text-align":t}};function Wwe(t,n){if(1&t&&(c(0,"th",17),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,tH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function zwe(t,n){1&t&&(c(0,"tr")(1,"td",18),X(2,"mat-spinner",19),u()()),2&t&&(h(2),_("diameter",50))}function $we(t,n){1&t&&(c(0,"tr")(1,"td",20),p(2,"No existen registros"),u()())}function qwe(t,n){if(1&t){const e=ae();c(0,"td",24)(1,"img",25),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Modificar",r))}),u()()}}function Xwe(t,n){if(1&t&&(c(0,"td",26),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,tH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function Qwe(t,n){if(1&t&&(c(0,"tr"),C(1,qwe,2,0,"td",21),c(2,"td",22),p(3),u(),C(4,Xwe,2,4,"td",23),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function Jwe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function Zwe(t,n){if(1&t){const e=ae();c(0,"img",27),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let Kwe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"Impuestos",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Porcentaje",Cmp:"Valor",Tip:"Porcentaje",Req:"Si",VD:"",Val:""}],OpcFil:"Si",CamQry:"*",Tabla:"parametros",Donde:"WHERE Clave IN (|ImpSobPro|,|ImpSobSer|)",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2],Col:[1,2]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-impuestos"]],decls:28,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,Uwe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,Wwe,2,4,"th",7),u()(),c(12,"tbody"),C(13,zwe,3,1,"tr",8),C(14,$we,3,0,"tr",8),C(15,Qwe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,Jwe,2,1,"span",8),u(),c(21,"td",12),C(22,Zwe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),X(27,"td",12),u()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();function eEe(t,n){1&t&&X(0,"th",16)}const nH=function(t){return{"text-align":t}};function tEe(t,n){if(1&t&&(c(0,"th",17),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,nH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function nEe(t,n){1&t&&(c(0,"tr")(1,"td",18),X(2,"mat-spinner",19),u()()),2&t&&(h(2),_("diameter",50))}function iEe(t,n){1&t&&(c(0,"tr")(1,"td",20),p(2,"No existen registros"),u()())}function rEe(t,n){if(1&t){const e=ae();c(0,"td",24)(1,"img",25),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Modificar",r))}),u(),c(2,"img",26),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Eliminar",r))}),u()()}}function oEe(t,n){if(1&t&&(c(0,"td",27),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,nH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function sEe(t,n){if(1&t&&(c(0,"tr"),C(1,rEe,3,0,"td",21),c(2,"td",22),p(3),u(),C(4,oEe,2,4,"td",23),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function aEe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function lEe(t,n){if(1&t){const e=ae();c(0,"img",28),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let cEe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.DGM={Nombre:"Tarjetas",CamMod:[{Tit:"Tipo",Cmp:"Tipo",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Debito",Tex:"Debito"},{Val:"Credito",Tex:"Credito"}]},{Tit:"N\xfamero de Tarjeta",Cmp:"NumTar",Tip:"NumTarCre",Req:"Si",VD:"",Val:""},{Tit:"Vencimiento",Cmp:"VenTar",Tip:"VenTarCre",Req:"Si",VD:"",Val:""},{Tit:"CSC",Cmp:"CodTar",Tip:"CodTarCre",Req:"Si",VD:"",Val:""},{Tit:"Nombre Titular",Cmp:"TitTar",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"C\xe9dula Titular",Cmp:"ID",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activa",Tex:"Activa"},{Val:"Inactiva",Tex:"Inactiva"}]},{Tit:"ID Usuario",Cmp:"NRegUsu",Tip:"Texto",Req:"Si",VD:"",Val:"",Blo:"Si"}],OpcFil:"Si",CamQry:"*",Tabla:"dattar",Donde:"",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3],Col:[1,2,3]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){this.UsuMat.NRegistro&&(this.DGM.Donde="WHERE NRegUsu = "+this.UsuMat.NRegistro,this.DGM.CamMod[7].VD=this.UsuMat.NRegistro),this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100})}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-dattar"]],decls:28,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,eEe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,tEe,2,4,"th",7),u()(),c(12,"tbody"),C(13,nEe,3,1,"tr",8),C(14,iEe,3,0,"tr",8),C(15,sEe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,aEe,2,1,"span",8),u(),c(21,"td",12),C(22,lEe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),X(25,"td",12),c(26,"td",12)(27,"img",15),R("click",function(){return i.EjeFun("Agregar","")}),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();function dEe(t,n){1&t&&X(0,"th",16)}const iH=function(t){return{"text-align":t}};function uEe(t,n){if(1&t&&(c(0,"th",17),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,iH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function fEe(t,n){1&t&&(c(0,"tr")(1,"td",18),X(2,"mat-spinner",19),u()()),2&t&&(h(2),_("diameter",50))}function hEe(t,n){1&t&&(c(0,"tr")(1,"td",20),p(2,"No existen registros"),u()())}function pEe(t,n){if(1&t){const e=ae();c(0,"td",24)(1,"img",25),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Modificar",r))}),u(),c(2,"img",26),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Eliminar",r))}),u()()}}function mEe(t,n){if(1&t&&(c(0,"td",27),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,iH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function gEe(t,n){if(1&t&&(c(0,"tr"),C(1,pEe,3,0,"td",21),c(2,"td",22),p(3),u(),C(4,mEe,2,4,"td",23),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function _Ee(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function vEe(t,n){if(1&t){const e=ae();c(0,"img",28),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let bEe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.DGM={Nombre:"Cuentas",CamMod:[{Tit:"Banco",Cmp:"Banco",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Nombre Titular",Cmp:"TitCue",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"C\xe9dula Titular",Cmp:"ID",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"N\xfamero de Cuenta",Cmp:"NumCue",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activa",Tex:"Activa"},{Val:"Inactiva",Tex:"Inactiva"}]},{Tit:"ID Usuario",Cmp:"NRegUsu",Tip:"Texto",Req:"Si",VD:"",Val:"",Blo:"Si"}],OpcFil:"Si",CamQry:"*",Tabla:"datcue",Donde:"",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2],Col:[1,2,3]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){this.UsuMat.NRegistro&&(this.DGM.Donde="WHERE NRegUsu = "+this.UsuMat.NRegistro,this.DGM.CamMod[5].VD=this.UsuMat.NRegistro),this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100})}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-datcue"]],decls:28,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,dEe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,uEe,2,4,"th",7),u()(),c(12,"tbody"),C(13,fEe,3,1,"tr",8),C(14,hEe,3,0,"tr",8),C(15,gEe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,_Ee,2,1,"span",8),u(),c(21,"td",12),C(22,vEe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),X(25,"td",12),c(26,"td",12)(27,"img",15),R("click",function(){return i.EjeFun("Agregar","")}),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();const DEe=["map"],yEe=["closeAddExpenseModal"];function MEe(t,n){1&t&&X(0,"th",28)}const rH=function(t){return{"text-align":t}};function CEe(t,n){if(1&t&&(c(0,"th",29),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,rH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function xEe(t,n){1&t&&(c(0,"tr")(1,"td",30),X(2,"mat-spinner",31),u()()),2&t&&(h(2),_("diameter",50))}function TEe(t,n){1&t&&(c(0,"tr")(1,"td",32),p(2,"No existen registros"),u()())}function wEe(t,n){if(1&t){const e=ae();c(0,"td",36)(1,"img",37),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Modificar",r))}),u(),c(2,"img",38),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Eliminar",r))}),u(),c(3,"img",39),R("click",function(){z(e);const r=D().$implicit;return q(D().Geocerca(r))}),u()()}}function EEe(t,n){if(1&t&&(c(0,"td",40),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,rH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function SEe(t,n){if(1&t&&(c(0,"tr"),C(1,wEe,4,0,"td",33),c(2,"td",34),p(3),u(),C(4,EEe,2,4,"td",35),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function kEe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function AEe(t,n){if(1&t){const e=ae();c(0,"img",41),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function REe(t,n){if(1&t&&(c(0,"div",0),p(1,"Geocerca de Tarifa: "),c(2,"span",1),p(3),u(),c(4,"div",42)(5,"a",43,44)(7,"strong"),p(8,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.Nombre)}}function FEe(t,n){1&t&&(c(0,"p")(1,"strong"),p(2,"Por favor dibuje la geocerca haciendo click en el mapa"),u()())}function NEe(t,n){if(1&t){const e=ae();c(0,"img",49),R("click",function(){return z(e),q(D(2).ResetGeo())}),u()}}function OEe(t,n){if(1&t){const e=ae();c(0,"div",45)(1,"div",10)(2,"table",11)(3,"tr")(4,"td",46),C(5,FEe,3,0,"p",8),u(),c(6,"td",12),C(7,NEe,1,0,"img",47),u(),c(8,"td",12)(9,"img",48),R("click",function(){z(e);const r=D();return q(r.GuaGeo(r.DetDat))}),u()()()()()()}if(2&t){const e=D();h(5),_("ngIf",""==e.DetDat.Puntos),h(2),_("ngIf",""==e.DetDat.Puntos)}}let IEe=(()=>{class t{constructor(e,i,r){this.router=e,this.servicios=i,this.location=r,this.PunGeo=[],this.DonBus="",this.DGM={Nombre:"Zonas",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"Inactiva",Val:"",Blo:"Si",Opcs:[{Val:"Activa",Tex:"Activa"},{Val:"Inactiva",Tex:"Inactiva"}]}],OpcFil:"Si",CamQry:"*",Tabla:"zonas",Donde:"WHERE NRegistro > 0",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2],Col:[1,2]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}Geocerca(e){this.DetDat=e,this.showMap(function(i){i.MosGeoMap(i.DetDat)})}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100})}showMap(e){const r={center:new google.maps.LatLng(this.servicios.Pais.Lat,this.servicios.Pais.Lon),zoom:13,mapTypeControl:!1,streetViewControl:!1,zoomControl:!1,zoomControlOptions:{position:google.maps.ControlPosition.RIGHT_TOP},fullscreenControl:!1,fullscreenControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},styles:[]};this.map=new google.maps.Map(this.mapRef.nativeElement,r),e(this)}MosGeoMap(e){if(""!=e.Puntos){var i=new google.maps.LatLngBounds,r=e.Puntos.split("!"),o=[];this.PunGeo.length=0;for(var s=0;s<r.length;s++)r[s]=r[s].replace("(",""),r[s]=r[s].replace(")",""),r[s]=r[s].replace(" ",""),o=r[s].split(","),this.PunGeo.push(new google.maps.LatLng(o[0],o[1])),i.extend(new google.maps.LatLng(o[0],o[1]));o=r[0].split(","),this.PunGeo.push(new google.maps.LatLng(o[0],o[1])),this.Geo0=new google.maps.Polygon({paths:this.PunGeo,strokeColor:"#0000ff",strokeOpacity:.7,strokeWeight:3,fillColor:"#aaaaff",fillOpacity:.1,editable:!0}),this.Geo0.setMap(this.map),setTimeout(()=>{this.map.fitBounds(i)},350)}else this.creator_geo=new PolygonCreator(this.map)}GuaGeo(e){var i="";if(""!=e.Puntos)for(var o,r=this.Geo0.getPaths(),s=0;s<r.getLength();s++){o=r.getAt(s);for(var a=0;a<o.getLength();a++)i+=o.getAt(a),a<o.getLength()-1&&(i+="!")}else{if(null==(i=this.creator_geo.showData()))return void this.servicios.EnvMsgSim("Primero debe crear la geocerca","Advertencia");i=i.replace(/\)\(/gi,")!(")}this.servicios.AccSobBD("UPDATE","No","","","Puntos = |"+i+"|, Estatus = |Activa|","zonas","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(l,d){d.DatRes=l.data,d.CarLis(),d.servicios.EnvMsgSim("Los cambios fueron guardados","Normal"),d.closeAddExpenseModal.nativeElement.click()})}ResetGeo(){this.creator_geo.destroy(),this.creator_geo=null,this.creator_geo=new PolygonCreator(this.map)}Volver(){this.location.back()}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et),V(Po))},t.\u0275cmp=Oe({type:t,selectors:[["app-zonas"]],viewQuery:function(e,i){if(1&e&&(Ht(DEe,5),Ht(yEe,5)),2&e){let r;lt(r=ct())&&(i.mapRef=r.first),lt(r=ct())&&(i.closeAddExpenseModal=r.first)}},decls:40,vars:10,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/vol.png","title","Volver",1,"BotModPie",3,"click"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","50% !important"],[1,"modal-content",2,"height","550px"],["class","TitMod",4,"ngIf"],[1,"container-fluid"],[1,"row",2,"height","400px !important"],[1,"col-md-12",2,"height","100%","padding","10px","border","0px solid #f00"],["id","map"],["map",""],[1,"row",2,"height","75px !important"],["class","col-md-12","style","height:100%; padding:10px; border:0px solid #00f;",4,"ngIf"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],["src","assets/img/zon.png","title","Geocerca","data-toggle","modal","data-target",".bd-example-modal-lg",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],["closeAddExpenseModal",""],[1,"col-md-12",2,"height","100%","padding","10px","border","0px solid #00f"],["width","60%","align","center","valign","middle"],["src","assets/img/reset.png","class","BotModPie","title","Borrar",3,"click",4,"ngIf"],["src","assets/img/ace.png","title","Guardar",1,"BotModPie",3,"click"],["src","assets/img/reset.png","title","Borrar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,MEe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,CEe,2,4,"th",7),u()(),c(12,"tbody"),C(13,xEe,3,1,"tr",8),C(14,TEe,3,0,"tr",8),C(15,SEe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,kEe,2,1,"span",8),u(),c(21,"td",12)(22,"img",13),R("click",function(){return i.Volver()}),u()(),c(23,"td",12),C(24,AEe,1,0,"img",14),u(),c(25,"td",12)(26,"img",15),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(27,"td",12)(28,"img",16),R("click",function(){return i.EjeFun("Agregar","")}),u()()()()(),c(29,"div",17)(30,"div",18)(31,"div",19),C(32,REe,9,1,"div",20),c(33,"div",21)(34,"div",22)(35,"div",23),X(36,"div",24,25),u()(),c(38,"div",26),C(39,OEe,10,2,"div",27),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(4),_("ngIf",""!=i.DonBus),h(8),_("ngIf",i.DetDat),h(7),_("ngIf",i.DetDat))},dependencies:[Mt,mt,Wt,Yt],styles:["#map[_ngcontent-%COMP%]{height:100%}"]}),t})();function LEe(t,n){1&t&&X(0,"th",17)}const oH=function(t){return{"text-align":t}};function PEe(t,n){if(1&t&&(c(0,"th",18),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,oH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function BEe(t,n){1&t&&(c(0,"tr")(1,"td",19),X(2,"mat-spinner",20),u()()),2&t&&(h(2),_("diameter",50))}function VEe(t,n){1&t&&(c(0,"tr")(1,"td",21),p(2,"No existen registros"),u()())}function HEe(t,n){if(1&t){const e=ae();c(0,"td",25)(1,"img",26),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Modificar",r))}),u(),c(2,"img",27),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Eliminar",r))}),u()()}}function GEe(t,n){if(1&t&&(c(0,"td",28),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,oH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function jEe(t,n){if(1&t&&(c(0,"tr"),C(1,HEe,3,0,"td",22),c(2,"td",23),p(3),u(),C(4,GEe,2,4,"td",24),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function YEe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function UEe(t,n){if(1&t){const e=ae();c(0,"img",29),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let WEe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"Formas de Pago",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Descripci\xf3n",Cmp:"Descripcion",Tip:"Texto",Req:"No",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activa",Tex:"Activa"},{Val:"Inactiva",Tex:"Inactiva"}]}],OpcFil:"Si",CamQry:"*",Tabla:"forpag",Donde:"",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3],Col:[1]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-forpag"]],decls:29,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,LEe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,PEe,2,4,"th",7),u()(),c(12,"tbody"),C(13,BEe,3,1,"tr",8),C(14,VEe,3,0,"tr",8),C(15,jEe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,YEe,2,1,"span",8),u(),c(21,"td",12),C(22,UEe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(27,"td",12)(28,"img",16),R("click",function(){return i.EjeFun("Agregar","")}),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();function zEe(t,n){if(1&t&&(c(0,"div",52)(1,"div",3)(2,"div",4)(3,"h2"),p(4),u(),c(5,"div"),p(6,"Ganado"),u()(),c(7,"div",5),X(8,"img",53),u()()()),2&t){const e=D();h(4),Rt("",e.servicios.Pais.SimMon,"",e.servicios.NumFor(e.TotGan/1e3,2),"K")}}function $Ee(t,n){1&t&&(c(0,"tr")(1,"td",54),X(2,"mat-spinner",55),u()()),2&t&&(h(2),_("diameter",50))}function qEe(t,n){1&t&&(c(0,"tr")(1,"td",56),p(2,"No existen registros"),u()())}const XEe=function(t){return{color:t}};function QEe(t,n){if(1&t&&(c(0,"tr",57)(1,"td"),p(2),u(),c(3,"td"),p(4),u(),c(5,"td"),p(6),u(),c(7,"td"),p(8),u(),c(9,"td",58),p(10),u(),c(11,"td",59),p(12),u()()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(8,XEe,i.servicios.ColMon(e.Monto))),h(2),I(e.NomUsu),h(2),I(e.TipUsu),h(2),I(e.Transaccion),h(2),I(e.Descripcion),h(2),Rt("",i.servicios.Pais.SimMon,"",i.servicios.NumFor(e.Monto,2),""),h(2),I(i.servicios.ForFecHor(e.FecHor))}}function JEe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}let ZEe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.FAD=new Date,this.FecAnt="",this.FecAct=(new Date).toISOString(),this.FecDes=this.FecAct.substr(0,10),this.FecHas=this.FecAct.substr(0,10),this.TotAbo=0,this.TotRet=0,this.TotCob=0,this.TotGan=0,this.AboMin=0,this.EstAbo="",this.EstRet="",this.OJE=[],this.DGM={Nombre:"Billetera",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Apellido",Cmp:"Apellido",Tip:"Texto",Req:"No",VD:"",Val:""},{Tit:"Telefono",Cmp:"Telefono",Tip:"Texto",Req:"No",VD:"",Val:""},{Tit:"Tipo",Cmp:"Tipo",Tip:"Select",Req:"No",VD:"",Val:"",Opcs:[{Val:"Vendedor",Tex:"Vendedor"},{Val:"Repartidor",Tex:"Repartidor"}]},{Tit:"Email",Cmp:"Email",Tip:"Texto",Req:"No",VD:"",Val:""},{Tit:"Saldo",Cmp:"Saldo",Tip:"Numero",Req:"No",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Nuevo",Tex:"Nuevo"},{Val:"Bloqueado",Tex:"Bloqueado"}]}],OpcFil:"Si",CamQry:"*",Tabla:"usuarios",Donde:"WHERE Tipo IN (|Vendedor|,|Empresa|,|Repartidor|)",Ordena:"ORDER BY NRegistro DESC",TabFor:{Fil:[1,2,3],Col:[1,2]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.FAD.setMonth(this.FAD.getMonth()-1),this.FecAnt=this.FAD.toISOString(),this.FecDes=this.FecAnt.substr(0,10),this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CalTotAbo(),this.CalTotRet(),this.CalTotCob(),this.CalTotGan(),this.CarTra()}ngAfterViewInit(){this.CarParAbo()}BloAct(e){switch(e){case"Abo":"Si"==this.EstAbo?this.EstAbo="No":"No"==this.EstAbo&&(this.EstAbo="Si");break;case"Ret":"Si"==this.EstRet?this.EstRet="No":"No"==this.EstRet&&(this.EstRet="Si")}this.servicios.AccSobBD("UPDATE","No","","","Valor=|"+this.EstAbo+"|","parametros","WHERE Clave=|PerAbo|","","","Upd",this,function(i,r){console.log(i)}),this.servicios.AccSobBD("UPDATE","No","","","Valor=|"+this.EstRet+"|","parametros","WHERE Clave=|PerRet|","","","Upd",this,function(i,r){console.log(i)}),this.servicios.EnvMsgSim("Los cambios fueron guardados","Informacion")}CarParAbo(){this.servicios.AccSobBD("SELECT","Si","*","","","parametros","WHERE Clave IN (|PerAbo|,|PerRet|)","","","CarVar",this,function(e,i){for(let r=0;r<e.data.length;r++)"PerAbo"==e.data[r].Clave&&(i.EstAbo=e.data[r].Valor),"PerRet"==e.data[r].Clave&&(i.EstRet=e.data[r].Valor)})}ActBil(){this.CalTotAbo(),this.CalTotRet(),this.CalTotCob(),this.CalTotGan(),this.CarTra()}VerSolAbo(){this.router.navigate(["home/solabo"])}VerSolRet(){this.router.navigate(["home/solret"])}VerPorCob(){window.localStorage.setItem("buscarRepartidores","Saldo { 0"),this.router.navigate(["home/mancho"])}CalTotAbo(){this.servicios.AccSobBD("SELECT","Si","SUM(Monto) TotAbo","","","billetera","WHERE Transaccion = |Abono| AND FecHor BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.TotAbo=e.data[0].TotAbo,i.servicios.VPB=25})}CalTotRet(){this.servicios.AccSobBD("SELECT","Si","SUM(Monto) TotRet","","","billetera","WHERE Transaccion = |Retiro| AND FecHor BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.TotRet=e.data[0].TotRet,i.servicios.VPB=50})}CalTotCob(){this.servicios.AccSobBD("SELECT","Si","SUM(Saldo) TotCob","","","usuarios","WHERE Saldo { 0 AND Estatus = |Activo|","","","CarVar",this,function(e,i){i.TotCob=e.data[0].TotCob,i.servicios.VPB=75})}CalTotGan(){this.servicios.AccSobBD("SELECT","Si","SUM(Monto) TotGan","","","billetera","WHERE Transaccion = |Cobro Ganancia| AND FecHor BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.TotGan=e.data[0].TotGan,i.servicios.VPB=100})}CarTra(){this.servicios.AccSobBD("SELECT","Si","*, (SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegUsu) NomUsu, (SELECT Tipo FROM usuarios WHERE NRegistro = A.NRegUsu) TipUsu","","","billetera A","WHERE FecHor BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","ORDER BY FecHor DESC","","CarVar",this,function(e,i){i.Trans=e.data,i.DatRes=e.data,i.servicios.VPB=100,i.CarTraExp()})}CarTraExp(){for(var e=0;e<this.DatRes.length;e++){let i={};i.Usuario=this.DatRes[e].NomUsu,i.Tipo=this.DatRes[e].TipUsu,i.Transaccion=this.DatRes[e].Transaccion,i.Descripcion=this.DatRes[e].Descripcion,i.Monto=this.servicios.NumFor(this.DatRes[e].Monto,2),i["Fecha Hora"]=this.servicios.ForFecHor(this.DatRes[e].FecHor),this.OJE.push(i)}}CarOpc(){this.servicios.AccSobBD("SELECT","Si","*","","","opciones","WHERE NRegistro = 1","","","CarVar",this,function(e,i){i.AboMin=e.data[0].BilMonMinAbo})}GuaOpc(){this.servicios.ValCam("AboMin","Monto m\xednimo de Abono","Numero",this.AboMin,"Si")&&this.servicios.AccSobBD("UPDATE","No","","","BilMonMinAbo="+this.AboMin,"opciones","WHERE NRegistro=1","","","Upd",this,function(e,i){i.servicios.EnvMsgSim("Las opciones fueron guardadas","Informacion")})}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-billetera"]],decls:126,vars:14,consts:[[1,"TitMod"],[2,"font-size","18px"],["title","Ver solicitudes de abono",1,"col-md-3","EstAzu",2,"cursor","pointer",3,"click"],[1,"row"],[1,"col-7",2,"padding","20px","text-align","center"],[1,"col-5",2,"background","rgba(255,255,255,0.3)","position","relative"],["src","assets/img/mas.png",2,"height","48px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],["title","Ver solicitudes de retiro",1,"col-md-3","EstAma",2,"cursor","pointer",3,"click"],["src","assets/img/menos.png",2,"height","48px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],["class","col-md-5 EstVer",4,"ngIf"],[1,"col-md-12",2,"height","400px","padding","10px","overflow","auto","border","0px solid #00f"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col"],["scope","col",2,"text-align","right"],["scope","col",2,"text-align","center"],[4,"ngIf"],[3,"ngStyle",4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%","cellpadding","5px;"],["width","20%","align","center","valign","middle"],[2,"width","100%"],["width","50%","align","center","valign","middle"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],[1,"input-group","mb-3",2,"margin-bottom","0px !important"],[1,"input-group-prepend"],["id","InpDes",1,"input-group-text"],["type","date","aria-label","Sizing example input","aria-describedby","InpDes",1,"form-control",3,"ngModel","ngModelChange"],["id","InpHas",1,"input-group-text"],["type","date","aria-label","Sizing example input","aria-describedby","InpHas",1,"form-control",3,"ngModel","ngModelChange"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","50% !important"],[1,"modal-content",2,"height","550px"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],[1,"container-fluid"],[1,"row",2,"height","200px !important"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #f00"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],["cellpadding","10",2,"width","100%","height","80%","background-color","#f5f5f5"],[1,"form-group"],["for","AboMin"],[2,"color","#f00"],["type","number","id","AboMin",1,"form-control",3,"ngModel","ngModelChange"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #0f0"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #00f"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #ff0"],[1,"row",2,"height","75px !important"],[1,"col-md-12",2,"height","100%","padding","10px","border","0px solid #00f"],["width","100%"],["src","assets/img/ace.png","title","Guardar",1,"BotModPie",3,"click"],[1,"col-md-5","EstVer"],["src","assets/img/dinero.png",2,"height","48px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],["colspan","8","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","8","align","center","valign","middle",2,"color","#856404"],[3,"ngStyle"],[2,"text-align","right"],[2,"text-align","center"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2),R("click",function(){return i.VerSolAbo()}),c(5,"div",3)(6,"div",4)(7,"h2"),p(8),u(),c(9,"div"),p(10,"Total Abonado"),u()(),c(11,"div",5),X(12,"img",6),u()()(),c(13,"div",7),R("click",function(){return i.VerSolRet()}),c(14,"div",3)(15,"div",4)(16,"h2"),p(17),u(),c(18,"div"),p(19,"Total Retirado"),u()(),c(20,"div",5),X(21,"img",8),u()()(),C(22,zEe,9,2,"div",9),c(23,"div",10)(24,"table",11)(25,"thead",12)(26,"tr")(27,"th",13),p(28,"Usuario"),u(),c(29,"th",13),p(30,"Tipo"),u(),c(31,"th",13),p(32,"Transacci\xf3n"),u(),c(33,"th",13),p(34,"Descripci\xf3n"),u(),c(35,"th",14),p(36,"Monto"),u(),c(37,"th",15),p(38,"Fecha Hora"),u()()(),c(39,"tbody"),C(40,$Ee,3,1,"tr",16),C(41,qEe,3,0,"tr",16),C(42,QEe,13,10,"tr",17),u()()(),c(43,"div",18)(44,"table",19)(45,"tr")(46,"td",20),C(47,JEe,2,1,"span",16),u(),c(48,"td",20)(49,"table",21)(50,"tr"),X(51,"td",22),c(52,"td",22)(53,"img",23),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,"Billetera")}),u()()()()(),c(54,"td",20)(55,"div",24)(56,"div",25)(57,"span",26),p(58,"Desde"),u()(),c(59,"input",27),R("ngModelChange",function(o){return i.FecDes=o}),u()()(),c(60,"td",20)(61,"div",24)(62,"div",25)(63,"span",28),p(64,"Hasta"),u()(),c(65,"input",29),R("ngModelChange",function(o){return i.FecHas=o}),u()()(),c(66,"td",20)(67,"img",30),R("click",function(){return i.ActBil()}),u()()()()(),c(68,"div",31)(69,"div",32)(70,"div",33)(71,"div",0),p(72),c(73,"div",34)(74,"a",35)(75,"strong"),p(76,"\xd7"),u()()()(),c(77,"div",36)(78,"div",37)(79,"div",38)(80,"div",39)(81,"h3"),p(82,"Abonos"),u()(),c(83,"table",40)(84,"tr")(85,"td")(86,"div",41)(87,"label",42)(88,"strong"),p(89,"Monto m\xednimo de Abono:"),c(90,"span",43),p(91,"*"),u()()(),c(92,"input",44),R("ngModelChange",function(o){return i.AboMin=o}),u()()()()()(),c(93,"div",45)(94,"div",39)(95,"h3"),p(96,"Retiros"),u()(),c(97,"table",40)(98,"tr"),X(99,"td"),u()()()(),c(100,"div",37)(101,"div",46)(102,"div",39)(103,"h3"),p(104,"Por cobrar"),u()(),c(105,"table",40)(106,"tr"),X(107,"td"),u()()(),c(108,"div",47)(109,"div",39)(110,"h3"),p(111,"Ganado"),u()(),c(112,"table",40)(113,"tr"),X(114,"td"),u()()()(),c(115,"div",48)(116,"div",49)(117,"div",18)(118,"table",50)(119,"tr"),X(120,"td",20)(121,"td",20)(122,"td",20)(123,"td",20),c(124,"td",20)(125,"img",51),R("click",function(){return i.GuaOpc()}),u()()()()()()()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),Rt("",i.servicios.Pais.SimMon,"",i.servicios.NumFor(i.TotAbo/1e3,2),"K"),h(9),Rt("",i.servicios.Pais.SimMon,"",i.servicios.NumFor(i.TotRet/1e3,2),"K"),h(5),_("ngIf","Admin"==i.UsuMat.Tipo),h(18),_("ngIf",!i.Trans),h(1),_("ngIf",i.Trans&&0==i.Trans.length),h(1),_("ngForOf",i.Trans),h(5),_("ngIf",i.Trans&&0!=i.Trans.length),h(12),_("ngModel",i.FecDes),h(6),_("ngModel",i.FecHas),h(7),Be("Opcones de ",i.DGM.Nombre," "),h(20),_("ngModel",i.AboMin))},dependencies:[Mt,mt,Wt,Si,Ql,Ii,ki,Yt],styles:[".EstAzu[_ngcontent-%COMP%]{margin:10px;padding:0;background:#49b9e3;color:#fff;border-radius:5px;box-shadow:0 0 5px #00000040;float:left}.EstAma[_ngcontent-%COMP%]{margin:10px;padding:0;background:#efcd67;color:#fff;border-radius:5px;box-shadow:0 0 5px #00000040;float:left}.EstRoj[_ngcontent-%COMP%]{margin:10px;padding:0;background:#d55454;color:#fff;border-radius:5px;box-shadow:0 0 5px #00000040;float:left}.EstVer[_ngcontent-%COMP%]{margin:10px;padding:0;background:#5bc689;color:#fff;border-radius:5px;box-shadow:0 0 5px #00000040;float:left}"]}),t})();function KEe(t,n){1&t&&X(0,"th",16)}const sH=function(t){return{"text-align":t}};function eSe(t,n){if(1&t&&(c(0,"th",17),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,sH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function tSe(t,n){1&t&&(c(0,"tr")(1,"td",18),X(2,"mat-spinner",19),u()()),2&t&&(h(2),_("diameter",50))}function nSe(t,n){1&t&&(c(0,"tr")(1,"td",20),p(2,"No existen registros"),u()())}function iSe(t,n){if(1&t){const e=ae();c(0,"td",24)(1,"img",25),R("click",function(){z(e);const r=D().$implicit;return q(D().Aceptar(r))}),u(),c(2,"img",26),R("click",function(){z(e);const r=D().$implicit;return q(D().Rechazar(r))}),u()()}}function rSe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D().$implicit,i=D().$implicit,r=D();h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function oSe(t,n){if(1&t&&X(0,"img",30),2&t){const e=D().$implicit,i=D().$implicit,r=D();nn("src","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt)}}function sSe(t,n){if(1&t&&(c(0,"td",27),C(1,rSe,2,1,"span",8),c(2,"a",28),C(3,oSe,1,3,"img",29),u()()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(6,sH,r.servicios.AliCamMod(e.Tip))),h(1),_("ngIf","Imagen"!=e.Tip),h(1),nn("href","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt),h(1),_("ngIf","Imagen"==e.Tip)}}function aSe(t,n){if(1&t&&(c(0,"tr"),C(1,iSe,3,0,"td",21),c(2,"td",22),p(3),u(),C(4,sSe,4,8,"td",23),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function lSe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function cSe(t,n){if(1&t){const e=ae();c(0,"img",31),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let dSe=(()=>{class t{constructor(e,i,r){this.router=e,this.servicios=i,this.location=r,this.DonBus="",this.DGM={Nombre:"Solicitud de abono",CamMod:[{Tit:"Usuario",Cmp:"DesUsu",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegUsu)"},{Tit:"Tipo",Cmp:"TipUsu",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT Tipo FROM usuarios WHERE NRegistro = A.NRegUsu)"},{Tit:"Descripci\xf3n",Cmp:"Descripcion",Tip:"Texto",Req:"No",VD:"",Val:""},{Tit:"Captura Abono",Cmp:"Captura",Tip:"Imagen",Req:"No",VD:"fpd.png",Val:"",Car:"abo"},{Tit:"Monto",Cmp:"Monto",Tip:"Numero",Req:"No",VD:"",Val:""},{Tit:"Solicitado",Cmp:"FecHorReg",Tip:"FechaHora",Req:"No",VD:"",Val:""}],OpcFil:"Si",CamQry:"*,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegUsu) DesUsu, (SELECT Tipo FROM usuarios WHERE NRegistro = A.NRegUsu) TipUsu, (SELECT Saldo FROM usuarios WHERE NRegistro = A.NRegUsu) SalUsu",Tabla:"solabo A",Donde:"WHERE Estatus = |Nueva|",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3,4],Col:[1,2]},Carpeta:"abo"},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}Aceptar(e){this.servicios.VPB=0,(new Date).toISOString(),this.servicios.AccSobBD("INSERT","No","NRegUsu,Transaccion,Descripcion,Monto,FecHor","|"+e.NRegUsu+"|,|Abono|,|"+e.Descripcion+"|,"+e.Monto+",NOW()","","billetera","","","","Ins",this,function(r,o){o.servicios.VPB=33,o.servicios.AccSobBD("UPDATE","No","","","Saldo = Saldo \xac "+e.Monto,"usuarios","WHERE NRegistro = "+e.NRegUsu,"","","Upd",o,function(s,a){a.servicios.VPB=66,a.servicios.AccSobBD("UPDATE","No","","","Estatus = |Aceptada|, FecHorRes=NOW()","solabo","WHERE NRegistro = "+e.NRegistro,"","","Upd",a,function(l,d){d.DatRes=l.data,d.CarLis()})})})}Rechazar(e){this.servicios.VPB=0,(new Date).toISOString(),this.servicios.AccSobBD("UPDATE","No","","","Estatus = |Rechazada|, FecHorRes=NOW()","solabo","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(r,o){o.DatRes=r.data,o.CarLis()})}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100})}Volver(){this.location.back()}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et),V(Po))},t.\u0275cmp=Oe({type:t,selectors:[["app-solabo"]],decls:28,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/vol.png","title","Volver",1,"BotModPie",3,"click"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/ace.png","title","Aceptar",1,"BotMod",3,"click"],["src","assets/img/can.png","title","Rechazar",1,"BotMod",3,"click"],[3,"ngStyle"],["target","_blank",3,"href"],["style","height:100px; border-radius:5px;",3,"src",4,"ngIf"],[2,"height","100px","border-radius","5px",3,"src"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / Billetera / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,KEe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,eSe,2,4,"th",7),u()(),c(12,"tbody"),C(13,tSe,3,1,"tr",8),C(14,nSe,3,0,"tr",8),C(15,aSe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,lSe,2,1,"span",8),u(),c(21,"td",12)(22,"img",13),R("click",function(){return i.Volver()}),u()(),X(23,"td",12),c(24,"td",12),C(25,cSe,1,0,"img",14),u(),c(26,"td",12)(27,"img",15),R("click",function(){return i.EjeFun("Buscar","")}),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(5),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();const uSe=["closeAddExpenseModal"],fSe=["closeAddExpenseModal2"];function hSe(t,n){1&t&&X(0,"th",29)}const aH=function(t){return{"text-align":t}};function pSe(t,n){if(1&t&&(c(0,"th",30),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,aH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function mSe(t,n){1&t&&(c(0,"tr")(1,"td",31),X(2,"mat-spinner",32),u()()),2&t&&(h(2),_("diameter",50))}function gSe(t,n){1&t&&(c(0,"tr")(1,"td",33),p(2,"No existen registros"),u()())}function _Se(t,n){if(1&t){const e=ae();c(0,"td",37)(1,"img",38),R("click",function(){z(e);const r=D().$implicit;return q(D().Detalles(r))}),u(),c(2,"img",39),R("click",function(){z(e);const r=D().$implicit;return q(D().Detalles(r))}),u()()}}function vSe(t,n){if(1&t&&(c(0,"td",40),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,aH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function bSe(t,n){if(1&t&&(c(0,"tr"),C(1,_Se,3,0,"td",34),c(2,"td",35),p(3),u(),C(4,vSe,2,4,"td",36),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function DSe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function ySe(t,n){if(1&t){const e=ae();c(0,"img",41),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function MSe(t,n){if(1&t&&(c(0,"div",0),p(1,"Aprobaci\xf3n de solicitud de retiro N\xba: "),c(2,"span",1),p(3),u(),c(4,"div",42)(5,"a",43,44)(7,"strong"),p(8,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.NRegistro)}}function CSe(t,n){if(1&t&&X(0,"img",50),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotUsu,"",rt)}}function xSe(t,n){if(1&t&&(c(0,"div",45)(1,"div",46)(2,"h3"),p(3),u()(),c(4,"table",47)(5,"tr")(6,"td",48),C(7,CSe,1,2,"img",49),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()()()()),2&t){const e=D();h(3),I(e.DetDat.TipUsu),h(4),_("ngIf",e.DetDat.FotUsu),h(5),I(e.DetDat.DesUsu),h(6),I(e.DetDat.TelUsu),h(6),I(e.DetDat.EmaUsu)}}function TSe(t,n){if(1&t&&(c(0,"option",58),p(1),u()),2&t){const e=n.$implicit;Hi("value",e.Banco+" "+e.NumCue+" "+e.TitCue),h(1),I(e.Banco+" "+e.NumCue+" "+e.TitCue)}}function wSe(t,n){if(1&t){const e=ae();c(0,"div",51)(1,"div",46)(2,"h3"),p(3,"Cuenta bancaria"),u()(),c(4,"table",52)(5,"tr")(6,"td")(7,"div",53)(8,"label",54)(9,"strong"),p(10,"Por favor seleccione una cuenta bancaria"),c(11,"span",55),p(12,"*"),u()()(),c(13,"select",56),R("ngModelChange",function(r){return z(e),q(D().CueUsu=r)}),C(14,TSe,2,2,"option",57),u()()()()()()}if(2&t){const e=D();h(13),_("ngModel",e.CueUsu),h(1),_("ngForOf",e.LisCue)}}function ESe(t,n){if(1&t){const e=ae();c(0,"div",59)(1,"div",46)(2,"h3"),p(3,"Transaccion"),u()(),c(4,"table",60)(5,"tr")(6,"td",61)(7,"div",53)(8,"label",62)(9,"strong"),p(10,"Tipo"),c(11,"span",55),p(12,"*"),u()()(),c(13,"select",63),R("ngModelChange",function(r){return z(e),q(D().Tipo=r)}),c(14,"option",64),p(15,"Deposito"),u(),c(16,"option",65),p(17,"Transferencia"),u()()()(),c(18,"td",61)(19,"div",53)(20,"label",66)(21,"strong"),p(22,"N\xfamero de referencia"),c(23,"span",55),p(24,"*"),u()()(),c(25,"input",67),R("ngModelChange",function(r){return z(e),q(D().REF=r)}),u()()(),c(26,"td",61)(27,"div",53)(28,"label",68)(29,"strong"),p(30,"Fecha de transacci\xf3n"),c(31,"span",55),p(32,"*"),u()()(),c(33,"input",69),R("ngModelChange",function(r){return z(e),q(D().Fecha=r)}),u()()()()(),c(34,"div",10)(35,"table",11)(36,"tr"),X(37,"td",12)(38,"td",12),c(39,"td",12)(40,"img",70),R("click",function(){z(e);const r=D();return q(r.Aceptar(r.DetDat))}),u()(),X(41,"td",12)(42,"td",12),u()()()()}if(2&t){const e=D();h(13),_("ngModel",e.Tipo),h(12),_("ngModel",e.REF),h(8),_("ngModel",e.Fecha)}}function SSe(t,n){if(1&t&&(c(0,"div",0),p(1,"Rechazo de solicitud de retiro N\xba: "),c(2,"span",1),p(3),u(),c(4,"div",42)(5,"a",43,71)(7,"strong"),p(8,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.NRegistro)}}function kSe(t,n){if(1&t&&X(0,"img",50),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotUsu,"",rt)}}function ASe(t,n){if(1&t&&(c(0,"div",72)(1,"div",46)(2,"h3"),p(3),u()(),c(4,"table",47)(5,"tr")(6,"td",48),C(7,kSe,1,2,"img",49),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()()()()),2&t){const e=D();h(3),I(e.DetDat.TipUsu),h(4),_("ngIf",e.DetDat.FotUsu),h(5),I(e.DetDat.DesUsu),h(6),I(e.DetDat.TelUsu),h(6),I(e.DetDat.EmaUsu)}}function RSe(t,n){if(1&t){const e=ae();c(0,"div",73)(1,"div",46)(2,"h3"),p(3,"Cuenta bancaria"),u()(),c(4,"table",52)(5,"tr")(6,"td")(7,"div",53)(8,"label",74)(9,"strong"),p(10,"Por favor indique la raz\xf3n del rechazo"),c(11,"span",55),p(12,"*"),u()()(),c(13,"input",75),R("ngModelChange",function(r){return z(e),q(D().Razon=r)}),u()()()()()()}if(2&t){const e=D();h(13),_("ngModel",e.Razon)}}function FSe(t,n){if(1&t){const e=ae();c(0,"div",59)(1,"div",10)(2,"table",11)(3,"tr"),X(4,"td",12)(5,"td",12),c(6,"td",12)(7,"img",70),R("click",function(){z(e);const r=D();return q(r.Rechazar(r.DetDat))}),u()(),X(8,"td",12)(9,"td",12),u()()()()}}let NSe=(()=>{class t{constructor(e,i,r){this.router=e,this.servicios=i,this.location=r,this.DonBus="",this.Tipo="",this.REF="",this.Fecha="",this.DGM={Nombre:"Solicitud de retiro",CamMod:[{Tit:"Usuario",Cmp:"DesUsu",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegUsu)"},{Tit:"Tipo",Cmp:"TipUsu",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT Tipo FROM usuarios WHERE NRegistro = A.NRegUsu)"},{Tit:"Saldo",Cmp:"SalUsu",Tip:"Numero",Req:"Si",VD:"",Val:"",SubQry:"(SELECT Saldo FROM usuarios WHERE NRegistro = A.NRegUsu)"},{Tit:"Descripci\xf3n",Cmp:"Descripcion",Tip:"Texto",Req:"No",VD:"",Val:""},{Tit:"Monto",Cmp:"Monto",Tip:"Numero",Req:"No",VD:"",Val:""},{Tit:"Solicitado",Cmp:"FecHorReg",Tip:"FechaHora",Req:"No",VD:"",Val:""}],OpcFil:"Si",CamQry:"*,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegUsu) DesUsu, (SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegUsu) TelUsu, (SELECT Email FROM usuarios WHERE NRegistro = A.NRegUsu) EmaUsu, (SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegUsu) FotUsu, (SELECT Tipo FROM usuarios WHERE NRegistro = A.NRegUsu) TipUsu, (SELECT Saldo FROM usuarios WHERE NRegistro = A.NRegUsu) SalUsu",Tabla:"solret A",Donde:"WHERE Estatus = |Nueva|",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3],Col:[1,2]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}Detalles(e){this.DetDat=e,this.CarLisCue(e.NRegUsu)}Aceptar(e){if(parseFloat(e.SalUsu)<parseFloat(e.Monto))return void this.servicios.EnvMsgSim("El monto solicitado no puede ser superior al saldo","Advertencia");if(!(this.servicios.ValCam("CueUsu","Cuenta del usuario","Texto",this.CueUsu,"Si")&&this.servicios.ValCam("Tipo","Tipo","Texto",this.Tipo,"Si")&&this.servicios.ValCam("REF","N\xfamero de referencia","Texto",this.REF,"Si")&&this.servicios.ValCam("Fecha","Fecha de transacci\xf3n","Texto",this.Fecha,"Si")))return;let i="Retiro de fondos "+this.Tipo+" REF:"+this.REF+" el "+this.servicios.ForFec(this.Fecha)+" en cuenta "+this.CueUsu;this.servicios.VPB=0,(new Date).toISOString(),this.servicios.AccSobBD("INSERT","No","NRegUsu,Transaccion,Descripcion,Monto,FecHor","|"+e.NRegUsu+"|,|Retiro|,|"+i+"|,("+e.Monto+"*-1),NOW()","","billetera","","","","Ins",this,function(o,s){s.servicios.VPB=33,s.servicios.AccSobBD("UPDATE","No","","","Saldo = Saldo - "+e.Monto,"usuarios","WHERE NRegistro = "+e.NRegUsu,"","","Upd",s,function(a,l){l.servicios.VPB=66,l.servicios.AccSobBD("UPDATE","No","","","Estatus = |Aceptada|, FecHorRes=NOW(), Tipo=|"+l.Tipo+"|, Referencia=|"+l.REF+"|, Fecha=|"+l.Fecha+"|","solret","WHERE NRegistro = "+e.NRegistro,"","","Upd",l,function(d,f){f.DatRes=d.data,f.CarLis(),f.closeAddExpenseModal.nativeElement.click()})})})}Rechazar(e){this.servicios.ValCam("Razon","Raz\xf3n del rechazo","Texto",this.Razon,"Si")&&(this.servicios.VPB=0,(new Date).toISOString(),this.servicios.AccSobBD("UPDATE","No","","","Estatus = |Rechazada|, FecHorRes=NOW(), Respuesta=|"+this.Razon+"|","solret","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(r,o){o.DatRes=r.data,o.CarLis(),o.closeAddExpenseModal2.nativeElement.click()}))}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100})}CarLisCue(e){this.servicios.AccSobBD("SELECT","Si","*","","","datcue","WHERE NRegUsu = "+e,"ORDER BY Banco","","CarVar",this,function(i,r){r.LisCue=i.data})}Volver(){this.location.back()}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et),V(Po))},t.\u0275cmp=Oe({type:t,selectors:[["app-solret"]],viewQuery:function(e,i){if(1&e&&(Ht(uSe,5),Ht(fSe,5)),2&e){let r;lt(r=ct())&&(i.closeAddExpenseModal=r.first),lt(r=ct())&&(i.closeAddExpenseModal2=r.first)}},decls:48,vars:16,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/vol.png","title","Volver",1,"BotModPie",3,"click"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","50% !important"],[1,"modal-content",2,"height","550px"],["class","TitMod",4,"ngIf"],[1,"container-fluid"],[1,"row",2,"height","250px !important"],["class","col-md-5","style","height:100%; padding:10px; border:0px solid #f00;",4,"ngIf"],["class","col-md-7","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],["class","col-md-12","style","height:100%; padding:10px; border:0px solid #00f;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg2"],[1,"modal-content",2,"height","400px"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #f00;",4,"ngIf"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/ace.png","title","Aceptar","data-toggle","modal","data-target",".bd-example-modal-lg",1,"BotMod",3,"click"],["src","assets/img/can.png","title","Rechazar","data-toggle","modal","data-target",".bd-example-modal-lg2",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],["closeAddExpenseModal",""],[1,"col-md-5",2,"height","100%","padding","10px","border","0px solid #f00"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],[2,"width","100%","height","80%","background-color","#f5f5f5"],["rowspan","3",2,"text-align","center","vertical-align","middle"],["style","height:100px; width:100px; border-radius:50%; margin-right:5px;",3,"src",4,"ngIf"],[2,"height","100px","width","100px","border-radius","50%","margin-right","5px",3,"src"],[1,"col-md-7",2,"height","100%","padding","10px","border","0px solid #0f0"],["cellpadding","10",2,"width","100%","height","80%","background-color","#f5f5f5"],[1,"form-group"],["for","CueUsu"],[2,"color","#f00"],["id","CueUsu",1,"form-control",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"col-md-12",2,"height","100%","padding","10px","border","0px solid #00f"],["cellpadding","10",2,"width","100%","height","40%","background-color","#f5f5f5"],[2,"width","33%"],["for","Tipo"],["id","Tipo",1,"form-control",3,"ngModel","ngModelChange"],["value","Deposito"],["value","Transferencia"],["for","REF"],["type","text","id","REF",1,"form-control",3,"ngModel","ngModelChange"],["for","Fecha"],["type","date","id","Fecha",1,"form-control",3,"ngModel","ngModelChange"],["src","assets/img/ace.png","title","Aprobar solicitud de retiro",1,"BotModPie",3,"click"],["closeAddExpenseModal2",""],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #f00"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #0f0"],["for","Razon"],["type","text","id","Razon",1,"form-control",3,"ngModel","ngModelChange"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / Billetera / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,hSe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,pSe,2,4,"th",7),u()(),c(12,"tbody"),C(13,mSe,3,1,"tr",8),C(14,gSe,3,0,"tr",8),C(15,bSe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,DSe,2,1,"span",8),u(),c(21,"td",12)(22,"img",13),R("click",function(){return i.Volver()}),u()(),X(23,"td",12),c(24,"td",12),C(25,ySe,1,0,"img",14),u(),c(26,"td",12)(27,"img",15),R("click",function(){return i.EjeFun("Buscar","")}),u()()()()(),c(28,"div",16)(29,"div",17)(30,"div",18),C(31,MSe,9,1,"div",19),c(32,"div",20)(33,"div",21),C(34,xSe,25,5,"div",22),C(35,wSe,15,2,"div",23),u(),c(36,"div",21),C(37,ESe,43,3,"div",24),u()()()()(),c(38,"div",25)(39,"div",17)(40,"div",26),C(41,SSe,9,1,"div",19),c(42,"div",20)(43,"div",21),C(44,ASe,25,5,"div",27),C(45,RSe,14,1,"div",28),u(),c(46,"div",21),C(47,FSe,10,0,"div",24),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(5),_("ngIf",""!=i.DonBus),h(6),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat))},dependencies:[Mt,mt,Wt,Do,yo,Si,Hr,Ii,ki,Yt]}),t})();function OSe(t,n){1&t&&X(0,"th",17)}const lH=function(t){return{"text-align":t}};function ISe(t,n){if(1&t&&(c(0,"th",18),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,lH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function LSe(t,n){1&t&&(c(0,"tr")(1,"td",19),X(2,"mat-spinner",20),u()()),2&t&&(h(2),_("diameter",50))}function PSe(t,n){1&t&&(c(0,"tr")(1,"td",21),p(2,"No existen registros"),u()())}function BSe(t,n){if(1&t){const e=ae();c(0,"td",25)(1,"img",26),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Modificar",r))}),u(),c(2,"img",27),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Eliminar",r))}),u()()}}function VSe(t,n){if(1&t&&(c(0,"td",28),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,lH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function HSe(t,n){if(1&t&&(c(0,"tr"),C(1,BSe,3,0,"td",22),c(2,"td",23),p(3),u(),C(4,VSe,2,4,"td",24),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function GSe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function jSe(t,n){if(1&t){const e=ae();c(0,"img",29),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let YSe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"Membresias",CamMod:[{Tit:"Descripci\xf3n",Cmp:"Descripcion",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Duraci\xf3n (Dias)",Cmp:"Duracion",Tip:"Entero",Req:"Si",VD:"",Val:""},{Tit:"Precio",Cmp:"Precio",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Status",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activa",Tex:"Activa"},{Val:"Inactiva",Tex:"Inactiva"}]}],OpcFil:"Si",CamQry:"*",Tabla:"membresias",Donde:"",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2],Col:[1,2]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-membresias"]],decls:29,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,OSe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,ISe,2,4,"th",7),u()(),c(12,"tbody"),C(13,LSe,3,1,"tr",8),C(14,PSe,3,0,"tr",8),C(15,HSe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,GSe,2,1,"span",8),u(),c(21,"td",12),C(22,jSe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(27,"td",12)(28,"img",16),R("click",function(){return i.EjeFun("Agregar","")}),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();function USe(t,n){1&t&&X(0,"th",16)}const cH=function(t){return{"text-align":t}};function WSe(t,n){if(1&t&&(c(0,"th",17),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,cH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function zSe(t,n){1&t&&(c(0,"tr")(1,"td",18),X(2,"mat-spinner",19),u()()),2&t&&(h(2),_("diameter",50))}function $Se(t,n){1&t&&(c(0,"tr")(1,"td",20),p(2,"No existen registros"),u()())}function qSe(t,n){if(1&t){const e=ae();c(0,"img",27),R("click",function(){z(e);const r=D(2).$implicit;return q(D().Aceptar(r))}),u()}}function XSe(t,n){if(1&t){const e=ae();c(0,"img",28),R("click",function(){z(e);const r=D(2).$implicit;return q(D().Rechazar(r))}),u()}}const QSe=function(t){return{"border-left-color":t}};function JSe(t,n){if(1&t&&(c(0,"td",24),C(1,qSe,1,0,"img",25),C(2,XSe,1,0,"img",26),u()),2&t){const e=D().$implicit,i=D();_("ngStyle",ke(3,QSe,i.servicios.ColEstPag(e.Estatus))),h(1),_("ngIf","Nuevo"==e.Estatus),h(1),_("ngIf","Nuevo"==e.Estatus)}}function ZSe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D().$implicit,i=D().$implicit,r=D();h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function KSe(t,n){if(1&t&&X(0,"img",32),2&t){const e=D().$implicit,i=D().$implicit,r=D();nn("src","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt)}}function eke(t,n){if(1&t&&(c(0,"td",29),C(1,ZSe,2,1,"span",8),c(2,"a",30),C(3,KSe,1,3,"img",31),u()()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(6,cH,r.servicios.AliCamMod(e.Tip))),h(1),_("ngIf","Imagen"!=e.Tip),h(1),nn("href","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt),h(1),_("ngIf","Imagen"==e.Tip)}}function tke(t,n){if(1&t&&(c(0,"tr"),C(1,JSe,3,5,"td",21),c(2,"td",22),p(3),u(),C(4,eke,4,8,"td",23),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function nke(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function ike(t,n){if(1&t){const e=ae();c(0,"img",33),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let rke=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"Pago Membresias",CamMod:[{Tit:"Membresia",Cmp:"DesMem",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT Descripcion FROM membresias WHERE NRegistro = A.NRegMem)"},{Tit:"Duraci\xf3n (D\xedas)",Cmp:"DurMem",Tip:"Entero",Req:"Si",VD:"",Val:"",SubQry:"(SELECT Duracion FROM membresias WHERE NRegistro = A.NRegMem)"},{Tit:"Vendedor",Cmp:"DesVen",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegUsu AND NRegistro > 0)"},{Tit:"Monto",Cmp:"Monto",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Captura Pago",Cmp:"CapPag",Tip:"Imagen",Req:"No",VD:"fpd.png",Val:"",Car:"pag"},{Tit:"Registrado",Cmp:"FecHorReg",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Status",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Nuevo",Tex:"Nuevo"},{Val:"Procesado",Tex:"Procesado"}]}],OpcFil:"Si",CamQry:"*,(SELECT Descripcion FROM membresias WHERE NRegistro = A.NRegMem) DesMem,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegUsu AND NRegistro > 0) DesVen,(SELECT FecHorIniMem FROM usuarios WHERE NRegistro = A.NRegUsu AND NRegistro > 0) FecFinMem,(SELECT Duracion FROM membresias WHERE NRegistro = A.NRegMem) DurMem",Tabla:"mempag A",Donde:"",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3],Col:[1,2,3]},Carpeta:"pag"},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Aceptar(e){this.servicios.VPB=0,this.servicios.VPB=33,this.servicios.AccSobBD("UPDATE","No","","","0000-00-00 00:00:00"==e.FecFinMem?"FecHorIniMem = NOW(), FecHorFinMem = DATE_ADD(NOW(),INTERVAL "+e.DurMem+" DAY)":"FecHorIniMem = FecHorFinMem, FecHorFinMem = DATE_ADD(FecHorFinMem,INTERVAL "+e.DurMem+" DAY)","usuarios","WHERE NRegistro = "+e.NRegUsu,"","","Upd",this,function(r,o){console.log(r),o.servicios.VPB=66,o.servicios.AccSobBD("UPDATE","No","","","Estatus = |Aceptado|, FecHorPro=NOW()","mempag","WHERE NRegistro = "+e.NRegistro,"","","Upd",o,function(s,a){console.log(s),a.DatRes=s.data,a.CarLis(),a.servicios.AccSobBD("INSERT","No","NRegUsu,Titulo,Contenido,Accion,Datos,FecHor",e.NRegUsu+",|Membres\xeda|,|El pago fue aceptado|,|Membresia|,"+e.NRegistro+",NOW()","","noti","","","","Ins",a,function(l,d){})})})}Rechazar(e){this.servicios.VPB=0,(new Date).toISOString(),this.servicios.AccSobBD("UPDATE","No","","","Estatus = |Rechazado|, FecHorPro=NOW()","mempag","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(r,o){o.DatRes=r.data,o.CarLis(),o.servicios.AccSobBD("INSERT","No","NRegUsu,Titulo,Contenido,Accion,Datos,FecHor",e.NRegUsu+",|Membres\xeda|,|El pago fue rechazado|,|Membresia|,"+e.NRegistro+",NOW()","","noti","","","","Ins",o,function(s,a){})})}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-mempag"]],decls:28,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle; border-left-width:5px;",3,"ngStyle",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle","border-left-width","5px",3,"ngStyle"],["src","assets/img/ace.png","class","BotMod","title","Aceptar",3,"click",4,"ngIf"],["src","assets/img/can.png","class","BotMod","title","Rechazar",3,"click",4,"ngIf"],["src","assets/img/ace.png","title","Aceptar",1,"BotMod",3,"click"],["src","assets/img/can.png","title","Rechazar",1,"BotMod",3,"click"],[3,"ngStyle"],["target","_blank",3,"href"],["style","height:100px; border-radius:5px;",3,"src",4,"ngIf"],[2,"height","100px","border-radius","5px",3,"src"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,USe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,WSe,2,4,"th",7),u()(),c(12,"tbody"),C(13,zSe,3,1,"tr",8),C(14,$Se,3,0,"tr",8),C(15,tke,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,nke,2,1,"span",8),u(),c(21,"td",12),C(22,ike,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),X(27,"td",12),u()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();function oke(t,n){1&t&&X(0,"th",17)}const dH=function(t){return{"text-align":t}};function ske(t,n){if(1&t&&(c(0,"th",18),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,dH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function ake(t,n){1&t&&(c(0,"tr")(1,"td",19),X(2,"mat-spinner",20),u()()),2&t&&(h(2),_("diameter",50))}function lke(t,n){1&t&&(c(0,"tr")(1,"td",21),p(2,"No existen registros"),u()())}function cke(t,n){if(1&t){const e=ae();c(0,"td",25)(1,"img",26),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Modificar",r))}),u(),c(2,"img",27),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Eliminar",r))}),u()()}}function dke(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D().$implicit,i=D().$implicit,r=D();h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function uke(t,n){if(1&t&&X(0,"img",31),2&t){const e=D().$implicit,i=D().$implicit,r=D();nn("src","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt)}}function fke(t,n){if(1&t&&(c(0,"td",28),C(1,dke,2,1,"span",8),c(2,"a",29),C(3,uke,1,3,"img",30),u()()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(6,dH,r.servicios.AliCamMod(e.Tip))),h(1),_("ngIf","Imagen"!=e.Tip),h(1),nn("href","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt),h(1),_("ngIf","Imagen"==e.Tip)}}function hke(t,n){if(1&t&&(c(0,"tr"),C(1,cke,3,0,"td",22),c(2,"td",23),p(3),u(),C(4,fke,4,8,"td",24),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function pke(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function mke(t,n){if(1&t){const e=ae();c(0,"img",32),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let gke=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"Publicidad Superior",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Descripcion",Cmp:"Descripcion",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Imagen",Cmp:"Imagen",Tip:"Imagen",Req:"Si",VD:"fpd.png",Val:"",Car:"pub"},{Tit:"Enlace",Cmp:"Enlace",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Status",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activa",Tex:"Activa"},{Val:"Inactiva",Tex:"Inactiva"}]}],OpcFil:"Si",CamQry:"*",Tabla:"pubuno",Donde:"",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3],Col:[1,2]},Carpeta:"pub"},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-publia"]],decls:29,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["target","_blank",3,"href"],["style","height:100px; border-radius:5px;",3,"src",4,"ngIf"],[2,"height","100px","border-radius","5px",3,"src"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Publicidad / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,oke,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,ske,2,4,"th",7),u()(),c(12,"tbody"),C(13,ake,3,1,"tr",8),C(14,lke,3,0,"tr",8),C(15,hke,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,pke,2,1,"span",8),u(),c(21,"td",12),C(22,mke,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(27,"td",12)(28,"img",16),R("click",function(){return i.EjeFun("Agregar","")}),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();function _ke(t,n){1&t&&X(0,"th",17)}const uH=function(t){return{"text-align":t}};function vke(t,n){if(1&t&&(c(0,"th",18),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,uH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function bke(t,n){1&t&&(c(0,"tr")(1,"td",19),X(2,"mat-spinner",20),u()()),2&t&&(h(2),_("diameter",50))}function Dke(t,n){1&t&&(c(0,"tr")(1,"td",21),p(2,"No existen registros"),u()())}function yke(t,n){if(1&t){const e=ae();c(0,"td",25)(1,"img",26),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Modificar",r))}),u(),c(2,"img",27),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Eliminar",r))}),u()()}}function Mke(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D().$implicit,i=D().$implicit,r=D();h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function Cke(t,n){if(1&t&&X(0,"img",31),2&t){const e=D().$implicit,i=D().$implicit,r=D();nn("src","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt)}}function xke(t,n){if(1&t&&(c(0,"td",28),C(1,Mke,2,1,"span",8),c(2,"a",29),C(3,Cke,1,3,"img",30),u()()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(6,uH,r.servicios.AliCamMod(e.Tip))),h(1),_("ngIf","Imagen"!=e.Tip),h(1),nn("href","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt),h(1),_("ngIf","Imagen"==e.Tip)}}function Tke(t,n){if(1&t&&(c(0,"tr"),C(1,yke,3,0,"td",22),c(2,"td",23),p(3),u(),C(4,xke,4,8,"td",24),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function wke(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function Eke(t,n){if(1&t){const e=ae();c(0,"img",32),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let Ske=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"Publicidad Inferior",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Descripcion",Cmp:"Descripcion",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Imagen",Cmp:"Imagen",Tip:"Imagen",Req:"Si",VD:"fpd.png",Val:"",Car:"pub"},{Tit:"Enlace",Cmp:"Enlace",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Status",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activa",Tex:"Activa"},{Val:"Inactiva",Tex:"Inactiva"}]}],OpcFil:"Si",CamQry:"*",Tabla:"pubdos",Donde:"",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3],Col:[1,2]},Carpeta:"pub"},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-publib"]],decls:29,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["target","_blank",3,"href"],["style","height:100px; border-radius:5px;",3,"src",4,"ngIf"],[2,"height","100px","border-radius","5px",3,"src"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Publicidad / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,_ke,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,vke,2,4,"th",7),u()(),c(12,"tbody"),C(13,bke,3,1,"tr",8),C(14,Dke,3,0,"tr",8),C(15,Tke,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,wke,2,1,"span",8),u(),c(21,"td",12),C(22,Eke,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(27,"td",12)(28,"img",16),R("click",function(){return i.EjeFun("Agregar","")}),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();function kke(t,n){1&t&&X(0,"th",16)}const fH=function(t){return{"text-align":t}};function Ake(t,n){if(1&t&&(c(0,"th",17),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,fH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function Rke(t,n){1&t&&(c(0,"tr")(1,"td",18),X(2,"mat-spinner",19),u()()),2&t&&(h(2),_("diameter",50))}function Fke(t,n){1&t&&(c(0,"tr")(1,"td",20),p(2,"No existen registros"),u()())}const Nke=function(t){return{"border-left-color":t}};function Oke(t,n){if(1&t){const e=ae();c(0,"td",24)(1,"img",25),R("click",function(){z(e);const r=D().$implicit;return q(D().VerDet(r))}),u()()}if(2&t){const e=D().$implicit,i=D();_("ngStyle",ke(1,Nke,i.servicios.ColEstPag(e.Estatus)))}}function Ike(t,n){if(1&t&&(c(0,"td",26),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,fH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function Lke(t,n){if(1&t&&(c(0,"tr"),C(1,Oke,2,3,"td",21),c(2,"td",22),p(3),u(),C(4,Ike,2,4,"td",23),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function Pke(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function Bke(t,n){if(1&t){const e=ae();c(0,"img",27),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let Vke=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg(),this.DGM={Nombre:"Norificaciones",CamMod:[{Tit:"Titulo",Cmp:"Titulo",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Contenido",Cmp:"Contenido",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Registro",Cmp:"FecHor",Tip:"FechaHora",Req:"Si",VD:"",Val:""}],OpcFil:"Si",CamQry:"*",Tabla:"noti",Donde:"",Ordena:"ORDER BY NRegistro DESC",TabFor:{Fil:[1,2,3],Col:[1,2,3]},Carpeta:""}}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.DGM.Donde="WHERE NRegUsu="+this.UsuMat.NRegistro,this.CarLis()}ngAfterViewInit(){}VerDet(e){switch(console.log(e),e.Accion){case"Membres\xedas":window.localStorage.setItem("buscarPago Membresias","NRegistro="+e.Datos),this.router.navigate(["home/mempag"]);break;case"Pedidos":window.localStorage.setItem("buscarPedidos","NRegistro="+e.Datos),this.router.navigate(["home/pedidos"]);break;case"Vendedores":this.router.navigate(["home/manvennue"])}}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-noti"]],decls:28,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle; border-left-width:5px;",3,"ngStyle",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle","border-left-width","5px",3,"ngStyle"],["src","assets/img/ojo.png","title","Modificar",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,kke,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,Ake,2,4,"th",7),u()(),c(12,"tbody"),C(13,Rke,3,1,"tr",8),C(14,Fke,3,0,"tr",8),C(15,Lke,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,Pke,2,1,"span",8),u(),c(21,"td",12),C(22,Bke,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),X(27,"td",12),u()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();function Hke(t,n){1&t&&X(0,"th",17)}const hH=function(t){return{"text-align":t}};function Gke(t,n){if(1&t&&(c(0,"th",18),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,hH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function jke(t,n){1&t&&(c(0,"tr")(1,"td",19),X(2,"mat-spinner",20),u()()),2&t&&(h(2),_("diameter",50))}function Yke(t,n){1&t&&(c(0,"tr")(1,"td",21),p(2,"No existen registros"),u()())}const Uke=function(t){return{"border-left-color":t}};function Wke(t,n){if(1&t){const e=ae();c(0,"td",25)(1,"img",26),R("click",function(){z(e);const r=D().$implicit;return q(D().Aceptar(r))}),u(),c(2,"img",27),R("click",function(){z(e);const r=D().$implicit;return q(D().Rechazar(r))}),u()()}if(2&t){const e=D().$implicit;_("ngStyle",ke(1,Uke,"Nuevo"==e.Estatus?"#2c9722":"#972222"))}}function zke(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D().$implicit,i=D().$implicit,r=D();h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function $ke(t,n){if(1&t&&X(0,"img",31),2&t){const e=D().$implicit,i=D().$implicit,r=D();nn("src","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt)}}function qke(t,n){if(1&t&&(c(0,"td",28),C(1,zke,2,1,"span",8),c(2,"a",29),C(3,$ke,1,3,"img",30),u()()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(6,hH,r.servicios.AliCamMod(e.Tip))),h(1),_("ngIf","Imagen"!=e.Tip),h(1),nn("href","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt),h(1),_("ngIf","Imagen"==e.Tip)}}function Xke(t,n){if(1&t&&(c(0,"tr"),C(1,Wke,3,3,"td",22),c(2,"td",23),p(3),u(),C(4,qke,4,8,"td",24),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function Qke(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function Jke(t,n){if(1&t){const e=ae();c(0,"img",32),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let Zke=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.ApiImg="",this.DonBus="",this.OJE=[],this.DGM={Nombre:"Nuevos Repartidores",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Apellido",Cmp:"Apellido",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"INE",Cmp:"Identificacion",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Telefono",Cmp:"Telefono",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Licencia",Cmp:"Licencia",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Placa",Cmp:"PlaVeh",Tip:"Texto",Req:"No",VD:"",Val:""},{Tit:"Correo",Cmp:"Correo",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Password",Cmp:"Password",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Foto Perfil",Cmp:"PER",Tip:"Imagen",Req:"Si",VD:"fpd.png",Val:"",Car:"usu"},{Tit:"Foto Personal",Cmp:"FPD",Tip:"Imagen",Req:"Si",VD:"fpd.png",Val:"",Car:"fotorepartidor"},{Tit:"Foto Cedula",Cmp:"LPD",Tip:"Imagen",Req:"Si",VD:"lpd.png",Val:"",Car:"fotorepartidor"},{Tit:"Foto Licencia",Cmp:"TPD",Tip:"Imagen",Req:"Si",VD:"lpd.png",Val:"",Car:"fotorepartidor"},{Tit:"Foto certificado de antecedentes",Cmp:"FV1",Tip:"Imagen",Req:"Si",VD:"tpd.png",Val:"",Car:"fotorepartidor"},{Tit:"Foto registro de misnisterio de transporte",Cmp:"FV2",Tip:"Imagen",Req:"Si",VD:"fvd.png",Val:"",Car:"fotorepartidor"},{Tit:"Fecha Registro",Cmp:"FecReg",Tip:"Fecha",Req:"Si",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Nuevo",Tex:"Nuevo"},{Val:"Rechazado",Tex:"Rechazado"}]}],OpcFil:"Si",CamQry:"*,(SELECT Matricula FROM repveh WHERE NRegRep = A.NRegistro * -1 LIMIT 1) PlaVeh",Tabla:"nuecho A",Donde:"WHERE Estatus IN (|Nuevo|,|Repetido|)",Ordena:"ORDER BY NRegistro DESC",TabFor:{Fil:[1,2,3],Col:[1,2,3]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarCmpQry(),this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}Aceptar(e){this.servicios.VPB=0,(new Date).toISOString(),this.servicios.AccSobBD("INSERT","No","Nombre,Apellido,Sexo,TipSan,DNI,RUT,CURP,RFC,FecNac,Email,Telefono,Domicilio,Password,Tipo,FotPer,NRegEmp,Interno,Licencia,Placa,FecHorReg","|"+e.Nombre+"|,|"+e.Apellido+"|,|"+e.Sexo+"|,|"+e.TipSan+"|,|"+e.Identificacion+"|,|"+e.RUT+"|,|"+e.CURP+"|,|"+e.RFC+"|,|"+e.FecNac+"|,|"+e.Correo+"|,|"+e.Telefono+"|,|"+e.Domicilio+"|,|"+e.Password+"|,|Repartidor|,|"+e.PER+"|,|"+e.NRegEmp+"|,|"+e.Interno+"|,|"+e.Licencia+"|,|"+e.PlaVeh+"|,NOW()","","usuarios","","","","Upd",this,function(r,o){var s=r.lastinsertid;o.servicios.VPB=50,o.servicios.AccSobBD("UPDATE","No","","","Estatus = |Aceptado|","nuecho","WHERE NRegistro = "+e.NRegistro,"","","Upd",o,function(a,l){l.DatRes=a.data,l.CarLis();var d=e.NRegistro;l.servicios.AccSobBD("UPDATE","No","","","NRegRep = "+s,"repveh","WHERE NRegRep = "+(d*=-1),"","","Upd",l,function(f,m){}),l.servicios.AccSobBD("UPDATE","No","","","NRegUsu = "+s,"datcue","WHERE NRegUsu = "+d,"","","Upd",l,function(f,m){})})})}Rechazar(e){this.servicios.VPB=0,this.servicios.AccSobBD("UPDATE","No","","","Estatus = |Rechazado|","nuecho","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(i,r){r.DatRes=i.data,r.CarLis()})}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarCmpQry(){for(var e=0;e<this.DGM.CamMod.length;e++)if("SelectQry"==this.DGM.CamMod[e].Tip){let i=e;this.servicios.AccSobBD("SELECT","Si",this.DGM.CamMod[e].Qry.Cmps,"","",this.DGM.CamMod[e].Qry.Tab,this.DGM.CamMod[e].Qry.Don,this.DGM.CamMod[e].Qry.Ord,"","CarVar",this,function(r,o){o.DGM.CamMod[i].Qry.Res=r.data})}}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-regcho"]],decls:29,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Mostrar todos los registros",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle; border-left-width:5px;",3,"ngStyle",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle","border-left-width","5px",3,"ngStyle"],["src","assets/img/ace.png","title","Aceptar",1,"BotMod",3,"click"],["src","assets/img/can.png","title","Rechazar",1,"BotMod",3,"click"],[3,"ngStyle"],["target","_blank",3,"href"],["style","height:100px; border-radius:5px;",3,"src",4,"ngIf"],[2,"height","100px","border-radius","5px",3,"src"],["src","assets/img/ref.png","title","Mostrar todos los registros",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,Hke,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,Gke,2,4,"th",7),u()(),c(12,"tbody"),C(13,jke,3,1,"tr",8),C(14,Yke,3,0,"tr",8),C(15,Xke,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,Qke,2,1,"span",8),u(),c(21,"td",12),C(22,Jke,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(27,"td",12)(28,"img",16),R("click",function(){return i.EjeFun("Agregar","")}),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();function Kke(t,n){1&t&&X(0,"mat-spinner",32),2&t&&_("diameter",50)}function eAe(t,n){if(1&t&&(c(0,"a",33),X(1,"img",34),u()),2&t){const e=D();Mn("href","",e.ApiImg,"men/",e.Valor,"",rt),h(1),Mn("src","",e.ApiImg,"men/",e.Valor,"",rt)}}let tAe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.MemPar="",this.Titulo="",this.Mensaje="",this.ProEnvPus=!1,this.ProEnvMen=!1,this.Cargando="",this.Valor="",this.ValImp="",this.Estado="",this.fileToUpload=null,this.uploader=new Q6({url:this.servicios.getApiImg()+"men/upload.php",removeAfterUpload:!1,autoUpload:!0}),this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg(),this.uploader.onCompleteItem=(r,o,s,a)=>{var l=JSON.parse(o);this.Valor=l.name,this.Estado="Cargado",this.Cargando="",this.ValImp=""}}ngOnInit(){}ngAfterViewInit(){this.uploader.onAfterAddingFile=e=>{e.withCredentials=!1}}ActVal(){this.Estado="Cargando",this.Cargando="Si"}Enviar(){if(this.servicios.ValCam("MemPar","Mensaje para","Texto",this.MemPar,"Si")&&this.servicios.ValCam("Titulo","Titulo","Texto",this.Titulo,"Si")&&this.servicios.ValCam("Mensaje","Mensaje","Texto",this.Mensaje,"Si")){this.ProEnvMen=!0;var e="";switch(this.MemPar){case"Clientes":e="WHERE Tipo = |Cliente|";break;case"Vendedores":e="WHERE Tipo = |Vendedor|";break;case"Repartidores":e="WHERE Tipo = |Repartidor|";break;case"Todos":e="WHERE Tipo IN (|Cliente|,|Vendedor|,|Repartidor|)"}this.servicios.AccSobBD("EJECUTA","No","*","","","","","","INSERT INTO meneme (NRegUsu,Titulo,Imagen,Mensaje,FecHor) SELECT NRegistro,|"+this.Titulo+"|,|"+this.Valor+"|,|"+this.Mensaje+"|,NOW() FROM usuarios "+e,"Sen",this,function(i,r){r.MemPar="",r.Titulo="",r.Estado="",r.Valor="",r.Mensaje="",r.ProEnvMen=!1,r.servicios.EnvMsgSim("El Mensaje Emergente fue enviado a los usuarios","Informacion")})}}EnviarPus(){if(this.servicios.ValCam("MemPar","Mensaje para","Texto",this.MemPar,"Si")&&this.servicios.ValCam("Titulo","Titulo","Texto",this.Titulo,"Si")&&this.servicios.ValCam("Mensaje","Mensaje","Texto",this.Mensaje,"Si")){this.ProEnvPus=!0;var e="";switch(this.MemPar){case"Clientes":e="WHERE TokFCM !=|| AND Tipo = |Cliente|";break;case"Vendedores":e="WHERE TokFCM !=|| AND Tipo = |Vendedor|";break;case"Repartidores":e="WHERE TokFCM !=|| AND Tipo = |Repartidor|";break;case"Todos":e="WHERE TokFCM !=|| AND Tipo IN (|Cliente|,|Vendedor|,|Repartidor|)"}this.servicios.AccSobBD("SELECT","Si","*","","","usuarios",e,"","","CarVar",this,function(i,r){console.log(i);for(let o=0;o<i.data.length;o++)r.servicios.EnvNotPus(i.data[o].NRegistro,r.Titulo,r.Mensaje,r.ApiImg+"/men/"+r.Valor,"",""),o+1==i.data.length&&(r.ProEnvPus=!1,r.servicios.EnvMsgSim("La notificacion push fue enviada a los usuarios","Informacion"));r.MemPar="",r.Titulo="",r.Estado="",r.Valor="",r.Mensaje=""})}}EnvNotPusMas(){this.servicios.AccSobBD("SELECT","Si","*","","","meneme","WHERE Estatus=|Nuevo|","ORDER BY NRegistro","","CarVar",this,function(e,i){for(let r=0;r<e.data.length;r++)i.servicios.EnvNotPus(e.data[r].NRegUsu,e.data[r].Titulo,e.data[r].Mensaje,i.ApiImg+"/men/"+e.data[r].Imagen,"","")})}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-mememe"]],decls:63,vars:9,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"card-deck","mb-2","text-center",2,"margin","2%"],[1,"card","mb-12","box-shadow"],[1,"card-header"],[1,"my-0","font-weight-normal"],[1,"card-body",2,"text-align","left"],["cellpadding","10",2,"width","100%","height","90%"],["colspan","1"],[1,"form-group"],["for","ForPag"],[2,"color","#f00"],["id","MemPar","placeholder","Mensaje para",1,"form-control",3,"ngModel","ngModelChange"],["value",""],["value","Clientes"],["value","Vendedores"],["value","Repartidores"],["value","Todos"],["colspan","2"],["for","Titulo"],["type","text","id","Titulo","placeholder","Por favor escriba el Titulo del mensaje",1,"form-control",3,"ngModel","ngModelChange"],["colspan","1",2,"width","50%"],["style","margin:0 auto;",3,"diameter",4,"ngIf"],["target","_blank",3,"href",4,"ngIf"],["for","IB0"],["type","file","lang","es","id","IB0","ng2FileSelect","","accept","image/png,image/jpeg",1,"form-control-file",3,"ngModel","uploader","ngModelChange","input"],["for","Mensaje"],["type","text","id","Mensaje","placeholder","Por favor escriba el Contenido del mensaje",1,"form-control",3,"ngModel","ngModelChange"],["colspan","2",2,"text-align","right"],["type","button",1,"btn","btn-primary",3,"disabled","click"],["colspan","1",2,"text-align","right"],[2,"margin","0 auto",3,"diameter"],["target","_blank",3,"href"],[2,"margin-left","20%","height","100px",3,"src"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3,"Mensajes Emergentes"),u()(),c(4,"div",2)(5,"div",3)(6,"div",4)(7,"div",5)(8,"h4",6),p(9,"Nuevo Mensaje Emergente"),u()(),c(10,"div",7)(11,"table",8)(12,"tr")(13,"td",9)(14,"div",10)(15,"label",11)(16,"strong"),p(17,"Mensaje para"),c(18,"span",12),p(19,"*"),u()()(),c(20,"select",13),R("ngModelChange",function(o){return i.MemPar=o}),c(21,"option",14),p(22,"Seleccione ..."),u(),c(23,"option",15),p(24,"Clientes"),u(),c(25,"option",16),p(26,"Vendedores"),u(),c(27,"option",17),p(28,"Repartidores"),u(),c(29,"option",18),p(30,"Todos"),u()()()(),c(31,"td",19)(32,"div",10)(33,"label",20)(34,"strong"),p(35,"Titulo"),c(36,"span",12),p(37,"*"),u()()(),c(38,"input",21),R("ngModelChange",function(o){return i.Titulo=o}),u()()()(),c(39,"tr")(40,"td",22),C(41,Kke,1,1,"mat-spinner",23),C(42,eAe,2,4,"a",24),c(43,"div",10)(44,"label",25)(45,"strong"),p(46,"Im\xe1gen"),u()(),c(47,"input",26),R("ngModelChange",function(o){return i.ValImp=o})("input",function(){return i.ActVal()}),u()()(),c(48,"td",19)(49,"div",10)(50,"label",27)(51,"strong"),p(52,"Mensaje"),c(53,"span",12),p(54,"*"),u()()(),c(55,"input",28),R("ngModelChange",function(o){return i.Mensaje=o}),u()()()(),c(56,"tr")(57,"td",29)(58,"button",30),R("click",function(){return i.EnviarPus()}),p(59,"Enviar Notificacion Push"),u()(),c(60,"td",31)(61,"button",30),R("click",function(){return i.Enviar()}),p(62,"Enviar Mensaje Emergente"),u()()()()()()()()),2&e&&(h(20),_("ngModel",i.MemPar),h(18),_("ngModel",i.Titulo),h(3),_("ngIf","Cargando"==i.Estado),h(1),_("ngIf","Cargado"==i.Estado),h(5),_("ngModel",i.ValImp)("uploader",i.uploader),h(8),_("ngModel",i.Mensaje),h(3),_("disabled",i.ProEnvPus),h(3),_("disabled",i.ProEnvMen))},dependencies:[mt,Do,yo,Si,Hr,Ii,ki,Yt,J6]}),t})();function nAe(t,n){1&t&&X(0,"th",16)}const pH=function(t){return{"text-align":t}};function iAe(t,n){if(1&t&&(c(0,"th",17),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,pH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function rAe(t,n){1&t&&(c(0,"tr")(1,"td",18),X(2,"mat-spinner",19),u()()),2&t&&(h(2),_("diameter",50))}function oAe(t,n){1&t&&(c(0,"tr")(1,"td",20),p(2,"No existen registros"),u()())}function sAe(t,n){if(1&t){const e=ae();c(0,"img",26),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Modificar",r))}),u()}}function aAe(t,n){if(1&t&&(c(0,"td",24),C(1,sAe,1,0,"img",25),u()),2&t){const e=D(2);h(1),_("ngIf","Admin"==e.UsuMat.Tipo)}}function lAe(t,n){if(1&t&&(c(0,"td",27),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,pH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function cAe(t,n){if(1&t&&(c(0,"tr"),C(1,aAe,2,1,"td",21),c(2,"td",22),p(3),u(),C(4,lAe,2,4,"td",23),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function dAe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function uAe(t,n){if(1&t){const e=ae();c(0,"img",28),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let fAe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"Parametros",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Valor",Cmp:"Valor",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Simbolo",Cmp:"Simbolo",Tip:"Texto",Req:"No",VD:"",Val:""}],OpcFil:"Si",CamQry:"*",Tabla:"parametros",Donde:"",Ordena:"ORDER BY Clave",TabFor:{Fil:[1,2,3],Col:[1,2]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-parametros"]],decls:28,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","class","BotMod","title","Modificar",3,"click",4,"ngIf"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,nAe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,iAe,2,4,"th",7),u()(),c(12,"tbody"),C(13,rAe,3,1,"tr",8),C(14,oAe,3,0,"tr",8),C(15,cAe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,dAe,2,1,"span",8),u(),c(21,"td",12),C(22,uAe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),X(27,"td",12),u()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();function hAe(t,n){1&t&&X(0,"th",17)}const mH=function(t){return{"text-align":t}};function pAe(t,n){if(1&t&&(c(0,"th",18),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,mH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function mAe(t,n){1&t&&(c(0,"tr")(1,"td",19),X(2,"mat-spinner",20),u()()),2&t&&(h(2),_("diameter",50))}function gAe(t,n){1&t&&(c(0,"tr")(1,"td",21),p(2,"No existen registros"),u()())}function _Ae(t,n){if(1&t){const e=ae();c(0,"img",28),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Modificar",r))}),u()}}function vAe(t,n){if(1&t){const e=ae();c(0,"img",29),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Eliminar",r))}),u()}}function bAe(t,n){if(1&t&&(c(0,"td",25),C(1,_Ae,1,0,"img",26),C(2,vAe,1,0,"img",27),u()),2&t){const e=D(2);h(1),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo)}}function DAe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D().$implicit,i=D().$implicit,r=D();h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function yAe(t,n){if(1&t&&X(0,"img",33),2&t){const e=D().$implicit,i=D().$implicit,r=D();nn("src","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt)}}function MAe(t,n){if(1&t&&(c(0,"td",30),C(1,DAe,2,1,"span",8),c(2,"a",31),C(3,yAe,1,3,"img",32),u()()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(6,mH,r.servicios.AliCamMod(e.Tip))),h(1),_("ngIf","Imagen"!=e.Tip),h(1),nn("href","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt),h(1),_("ngIf","Imagen"==e.Tip)}}function CAe(t,n){if(1&t&&(c(0,"tr"),C(1,bAe,3,2,"td",22),c(2,"td",23),p(3),u(),C(4,MAe,4,8,"td",24),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function xAe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function TAe(t,n){if(1&t){const e=ae();c(0,"img",34),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function wAe(t,n){if(1&t){const e=ae();c(0,"img",35),R("click",function(){return z(e),q(D().EjeFun("Agregar",""))}),u()}}let EAe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"Categor\xedas",CamMod:[{Tit:"Im\xe1gen",Cmp:"Imagen",Tip:"Imagen",Req:"Si",VD:"fpdc.png",Val:"",Car:"cat"},{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Descripcion",Cmp:"Descripcion",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activa",Tex:"Activa"},{Val:"Bloqueada",Tex:"Bloqueada"}]}],OpcFil:"Si",CamQry:"*",Tabla:"categorias",Donde:"",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2],Col:[1,2]},Carpeta:"cat"},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-procat"]],decls:29,vars:9,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","class","BotModPie","title","Agregar",3,"click",4,"ngIf"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","class","BotMod","title","Modificar",3,"click",4,"ngIf"],["src","assets/img/eli.png","class","BotMod","title","Eliminar",3,"click",4,"ngIf"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["target","_blank",3,"href"],["style","height:100px; border-radius:5px;",3,"src",4,"ngIf"],[2,"height","100px","border-radius","5px",3,"src"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Productos / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,hAe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,pAe,2,4,"th",7),u()(),c(12,"tbody"),C(13,mAe,3,1,"tr",8),C(14,gAe,3,0,"tr",8),C(15,CAe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,xAe,2,1,"span",8),u(),c(21,"td",12),C(22,TAe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(27,"td",12),C(28,wAe,1,0,"img",16),u()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus),h(6),_("ngIf","Admin"==i.UsuMat.Tipo))},dependencies:[Mt,mt,Wt,Yt]}),t})();function SAe(t,n){1&t&&X(0,"th",17)}const gH=function(t){return{"text-align":t}};function kAe(t,n){if(1&t&&(c(0,"th",18),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,gH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function AAe(t,n){1&t&&(c(0,"tr")(1,"td",19),X(2,"mat-spinner",20),u()()),2&t&&(h(2),_("diameter",50))}function RAe(t,n){1&t&&(c(0,"tr")(1,"td",21),p(2,"No existen registros"),u()())}function FAe(t,n){if(1&t){const e=ae();c(0,"img",28),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Modificar",r))}),u()}}function NAe(t,n){if(1&t){const e=ae();c(0,"img",29),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Eliminar",r))}),u()}}function OAe(t,n){if(1&t&&(c(0,"td",25),C(1,FAe,1,0,"img",26),C(2,NAe,1,0,"img",27),u()),2&t){const e=D(2);h(1),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo)}}function IAe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D().$implicit,i=D().$implicit,r=D();h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function LAe(t,n){if(1&t&&X(0,"img",33),2&t){const e=D().$implicit,i=D().$implicit,r=D();nn("src","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt)}}function PAe(t,n){if(1&t&&(c(0,"td",30),C(1,IAe,2,1,"span",8),c(2,"a",31),C(3,LAe,1,3,"img",32),u()()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(6,gH,r.servicios.AliCamMod(e.Tip))),h(1),_("ngIf","Imagen"!=e.Tip),h(1),nn("href","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt),h(1),_("ngIf","Imagen"==e.Tip)}}function BAe(t,n){if(1&t&&(c(0,"tr"),C(1,OAe,3,2,"td",22),c(2,"td",23),p(3),u(),C(4,PAe,4,8,"td",24),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function VAe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function HAe(t,n){if(1&t){const e=ae();c(0,"img",34),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function GAe(t,n){if(1&t){const e=ae();c(0,"img",35),R("click",function(){return z(e),q(D().EjeFun("Agregar",""))}),u()}}let jAe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"Especialiddaes",CamMod:[{Tit:"Im\xe1gen",Cmp:"Imagen",Tip:"Imagen",Req:"Si",VD:"fpde.png",Val:"",Car:"esp"},{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Descripcion",Cmp:"Descripcion",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Categor\xeda",Cmp:"NRegCat",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"NRegistro,Nombre",Tab:"categorias",Don:"WHERE Estatus = |Activa|",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activa",Tex:"Activa"},{Val:"Bloqueada",Tex:"Bloqueada"}]}],OpcFil:"Si",CamQry:"*",Tabla:"especialidades",Donde:"",Ordena:"ORDER BY NRegCat",TabFor:{Fil:[1,2,3],Col:[1,2]},Carpeta:"esp"},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarCmpQry(),this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarCmpQry(){for(var e=0;e<this.DGM.CamMod.length;e++)if("SelectQry"==this.DGM.CamMod[e].Tip){let i=e;this.servicios.AccSobBD("SELECT","Si",this.DGM.CamMod[e].Qry.Cmps,"","",this.DGM.CamMod[e].Qry.Tab,this.DGM.CamMod[e].Qry.Don,this.DGM.CamMod[e].Qry.Ord,"","CarVar",this,function(r,o){o.DGM.CamMod[i].Qry.Res=r.data})}}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-proesp"]],decls:29,vars:9,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","class","BotModPie","title","Agregar",3,"click",4,"ngIf"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","class","BotMod","title","Modificar",3,"click",4,"ngIf"],["src","assets/img/eli.png","class","BotMod","title","Eliminar",3,"click",4,"ngIf"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["target","_blank",3,"href"],["style","height:100px; border-radius:5px;",3,"src",4,"ngIf"],[2,"height","100px","border-radius","5px",3,"src"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Productos / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,SAe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,kAe,2,4,"th",7),u()(),c(12,"tbody"),C(13,AAe,3,1,"tr",8),C(14,RAe,3,0,"tr",8),C(15,BAe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,VAe,2,1,"span",8),u(),c(21,"td",12),C(22,HAe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(27,"td",12),C(28,GAe,1,0,"img",16),u()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus),h(6),_("ngIf","Admin"==i.UsuMat.Tipo))},dependencies:[Mt,mt,Wt,Yt]}),t})();const YAe=["InpFilSubPro"],UAe=["InpFilSubSto"];function WAe(t,n){1&t&&X(0,"th",63)}const _H=function(t){return{"text-align":t}};function zAe(t,n){if(1&t&&(c(0,"th",64),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,_H,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function $Ae(t,n){1&t&&(c(0,"tr")(1,"td",65),X(2,"mat-spinner",66),u()()),2&t&&(h(2),_("diameter",50))}function qAe(t,n){1&t&&(c(0,"tr")(1,"td",67),p(2,"No existen registros"),u()())}function XAe(t,n){if(1&t){const e=ae();c(0,"img",77),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Modificar",r))}),u()}}function QAe(t,n){if(1&t){const e=ae();c(0,"img",78),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Eliminar",r))}),u()}}function JAe(t,n){if(1&t){const e=ae();c(0,"td",71),C(1,XAe,1,0,"img",72),C(2,QAe,1,0,"img",73),X(3,"br"),c(4,"img",74),R("click",function(){z(e);const r=D().$implicit;return q(D().Opciones(r))}),u(),c(5,"img",75),R("click",function(){z(e);const r=D().$implicit;return q(D().Opciones2(r))}),u(),c(6,"img",76),R("click",function(){z(e);const r=D().$implicit;return q(D().Opciones3(r))}),u()()}if(2&t){const e=D(2);h(1),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo)}}function ZAe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D().$implicit,i=D().$implicit,r=D();h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function KAe(t,n){if(1&t&&X(0,"img",82),2&t){const e=D().$implicit,i=D().$implicit,r=D();nn("src","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt)}}function eRe(t,n){if(1&t&&(c(0,"td",79),C(1,ZAe,2,1,"span",8),c(2,"a",80),C(3,KAe,1,3,"img",81),u()()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(6,_H,r.servicios.AliCamMod(e.Tip))),h(1),_("ngIf","Imagen"!=e.Tip),h(1),nn("href","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt),h(1),_("ngIf","Imagen"==e.Tip)}}function tRe(t,n){if(1&t&&(c(0,"tr"),C(1,JAe,7,2,"td",68),c(2,"td",69),p(3),u(),C(4,eRe,4,8,"td",70),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function nRe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function iRe(t,n){if(1&t){const e=ae();c(0,"img",83),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function rRe(t,n){if(1&t){const e=ae();c(0,"img",84),R("click",function(){return z(e),q(D().EjeFun("Agregar",""))}),u()}}function oRe(t,n){if(1&t&&(c(0,"div",0),p(1,"Complementos de "),c(2,"span",1),p(3),u(),c(4,"div",41)(5,"a",42)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.Nombre)}}function sRe(t,n){1&t&&(c(0,"tr")(1,"td",87),X(2,"mat-spinner",66),u()()),2&t&&(h(2),_("diameter",50))}function aRe(t,n){1&t&&(c(0,"tr")(1,"td",88),p(2,"No existen registros"),u()())}function lRe(t,n){if(1&t){const e=ae();c(0,"tr")(1,"td",71)(2,"img",77),R("click",function(){const o=z(e).$implicit;return q(D(2).ModDetOpc(o))}),u(),c(3,"img",78),R("click",function(){const o=z(e).$implicit,s=D(2);return q(s.EliDetOpc(s.DetDat,o))}),u()(),c(4,"td",89),p(5),u(),c(6,"td",90),p(7),u(),c(8,"td",69),p(9),u()()}if(2&t){const e=n.$implicit,i=D(2);h(5),I(e.Descripcion),h(2),Rt("",i.servicios.Pais.SimMon,"",i.servicios.NumFor(e.Precio,2),""),h(2),I(e.Estatus)}}function cRe(t,n){if(1&t&&(c(0,"div",51)(1,"div",23)(2,"h3"),p(3,"Lista de Complementos"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr"),X(7,"th",63),c(8,"th",85),p(9,"Descripcion"),u(),c(10,"th",86),p(11,"Precio"),u(),c(12,"th",6),p(13,"Estado"),u()()(),c(14,"tbody"),C(15,sRe,3,1,"tr",8),C(16,aRe,3,0,"tr",8),C(17,lRe,10,4,"tr",9),u()()()),2&t){const e=D();h(15),_("ngIf",!e.LisOpc),h(1),_("ngIf",e.LisOpc&&0==e.LisOpc.length),h(1),_("ngForOf",e.LisOpc)}}function dRe(t,n){if(1&t&&(c(0,"div",0),p(1,"Tallas de "),c(2,"span",1),p(3),u(),c(4,"div",41)(5,"a",42)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.Nombre)}}function uRe(t,n){1&t&&(c(0,"tr")(1,"td",87),X(2,"mat-spinner",66),u()()),2&t&&(h(2),_("diameter",50))}function fRe(t,n){1&t&&(c(0,"tr")(1,"td",88),p(2,"No existen registros"),u()())}function hRe(t,n){if(1&t){const e=ae();c(0,"tr")(1,"td",71)(2,"img",77),R("click",function(){const o=z(e).$implicit;return q(D(2).ModDetOpc2(o))}),u(),c(3,"img",78),R("click",function(){const o=z(e).$implicit,s=D(2);return q(s.EliDetOpc2(s.DetDat,o))}),u()(),c(4,"td",89),p(5),u(),c(6,"td",90),p(7),u(),c(8,"td",69),p(9),u()()}if(2&t){const e=n.$implicit,i=D(2);h(5),I(e.Descripcion),h(2),Rt("",i.servicios.Pais.SimMon,"",i.servicios.NumFor(e.Precio,2),""),h(2),I(e.Estatus)}}function pRe(t,n){if(1&t&&(c(0,"div",51)(1,"div",23)(2,"h3"),p(3,"Lista de Tallas"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr"),X(7,"th",63),c(8,"th",85),p(9,"Descripcion"),u(),c(10,"th",86),p(11,"Precio"),u(),c(12,"th",6),p(13,"Estado"),u()()(),c(14,"tbody"),C(15,uRe,3,1,"tr",8),C(16,fRe,3,0,"tr",8),C(17,hRe,10,4,"tr",9),u()()()),2&t){const e=D();h(15),_("ngIf",!e.LisOpc),h(1),_("ngIf",e.LisOpc&&0==e.LisOpc.length),h(1),_("ngForOf",e.LisOpc)}}function mRe(t,n){if(1&t&&(c(0,"div",0),p(1,"Colores de "),c(2,"span",1),p(3),u(),c(4,"div",41)(5,"a",42)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.Nombre)}}function gRe(t,n){1&t&&(c(0,"tr")(1,"td",87),X(2,"mat-spinner",66),u()()),2&t&&(h(2),_("diameter",50))}function _Re(t,n){1&t&&(c(0,"tr")(1,"td",88),p(2,"No existen registros"),u()())}function vRe(t,n){if(1&t){const e=ae();c(0,"tr")(1,"td",71)(2,"img",77),R("click",function(){const o=z(e).$implicit;return q(D(2).ModDetOpc3(o))}),u(),c(3,"img",78),R("click",function(){const o=z(e).$implicit,s=D(2);return q(s.EliDetOpc3(s.DetDat,o))}),u()(),c(4,"td",89),p(5),u(),c(6,"td",90),p(7),u(),c(8,"td",69),p(9),u()()}if(2&t){const e=n.$implicit,i=D(2);h(5),I(e.Descripcion),h(2),Rt("",i.servicios.Pais.SimMon,"",i.servicios.NumFor(e.Precio,2),""),h(2),I(e.Estatus)}}function bRe(t,n){if(1&t&&(c(0,"div",51)(1,"div",23)(2,"h3"),p(3,"Lista de Colores"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr"),X(7,"th",63),c(8,"th",85),p(9,"Descripcion"),u(),c(10,"th",86),p(11,"Precio"),u(),c(12,"th",6),p(13,"Estado"),u()()(),c(14,"tbody"),C(15,gRe,3,1,"tr",8),C(16,_Re,3,0,"tr",8),C(17,vRe,10,4,"tr",9),u()()()),2&t){const e=D();h(15),_("ngIf",!e.LisOpc),h(1),_("ngIf",e.LisOpc&&0==e.LisOpc.length),h(1),_("ngForOf",e.LisOpc)}}function DRe(t,n){if(1&t&&(c(0,"option",91),p(1),u()),2&t){const e=n.$implicit;Hi("value",e.NRegistro),h(1),I(e.Nombre)}}function yRe(t,n){if(1&t&&(c(0,"option",91),p(1),u()),2&t){const e=n.$implicit;Hi("value",e.NRegistro),h(1),I(e.Nombre)}}let MRe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.Descripcion="",this.Precio="",this.NRegDetOpcSel=0,this.Especialidad="",this.Vendedor="",this.AjuPre="",this.Monto="",this.AjuEst="",this.Estatus="",this.DGM={Nombre:"Productos",CamMod:[{Tit:"Especialidad",Cmp:"NRegEsp",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"NRegistro,Nombre",Tab:"especialidades",Don:"WHERE Estatus = |Activa|",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Vendedor",Cmp:"NRegVen",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"NRegistro,Nombre",Tab:"usuarios",Don:"WHERE Tipo = |Vendedor| AND Estatus = |Activo|",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Im\xe1gen",Cmp:"Imagen",Tip:"Imagen",Req:"Si",VD:"fpdp.png",Val:"",Car:"pro"},{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Descripcion",Cmp:"Descripcion",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Precio",Cmp:"Precio",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Descuento %",Cmp:"Descuento",Tip:"Porcentaje",Req:"Si",VD:"",Val:""},{Tit:"Existencia",Cmp:"Existencia",Tip:"Numero",Req:"No",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Bloqueado",Tex:"Bloqueado"}]}],OpcFil:"Si",CamQry:"*",Tabla:"productos",Donde:"",Ordena:"ORDER BY NRegEsp,NRegVen DESC",TabFor:{Fil:[1,2,3],Col:[1,2,3,4]},Carpeta:"pro"},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarCmpQry(),this.CarLis(),this.CarLisEsp(),this.CarLisVen()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}UplExc(){this.servicios.VPB=25,this.InpFilSubPro.nativeElement.click()}UplSto(){this.servicios.VPB=25,this.InpFilSubSto.nativeElement.click()}Opciones(e){this.DetDat=e,this.CarOpc(this.DetDat.NRegistro)}Opciones2(e){this.DetDat=e,this.CarOpc2(this.DetDat.NRegistro)}Opciones3(e){this.DetDat=e,this.CarOpc3(this.DetDat.NRegistro)}LimPre(){""==this.AjuPre&&(this.Monto="")}LimEst(){""==this.AjuEst&&(this.Estatus="")}EjeModMas(){if(""==this.AjuPre&&""==this.AjuEst)return void this.servicios.EnvMsgSim("No ha seleccionado ajustes","Advertencia");if(""!=this.AjuPre&&!this.servicios.ValCam("Monto","% Variariaci\xf3n","Porcentaje",this.Monto,"Si")||""!=this.AjuEst&&!this.servicios.ValCam("Estatus","Nuevo Estado","Texto",this.Estatus,"Si"))return;let e="";""!=this.Especialidad&&(e=" AND NRegEsp="+this.Especialidad),""!=this.Vendedor&&(e=e+" AND NRegVen="+this.Vendedor),this.servicios.AccSobBD("SELECT","Si","*","","","productos","WHERE 1=1"+e,"ORDER BY Nombre","","CarVar",this,function(i,r){console.log(i),0==i.data.length&&r.servicios.EnvMsgSim("No se encontraron productos para ajustar","Advertencia");for(let o=0;o<i.data.length;o++){let s=i.data[o].Precio,a=i.data[o].Estatus;if(""!=r.AjuPre){let l=i.data[o].Precio*r.Monto/100;"Aumentar"==r.AjuPre&&(s=parseFloat(i.data[o].Precio)+parseFloat(l.toString())),"Rebajar"==r.AjuPre&&(s=parseFloat(i.data[o].Precio)-parseFloat(l.toString()))}""!=r.AjuEst&&(a=r.Estatus),r.servicios.AccSobBD("UPDATE","No","","","Precio=|"+s+"|, Estatus=|"+a+"|","productos","WHERE NRegistro="+i.data[o].NRegistro,"","","Upd",r,function(l,d){})}r.servicios.EnvMsgSim("El ajuste masivo fue realizado","Informacion"),r.CarLis()})}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarCmpQry(){for(var e=0;e<this.DGM.CamMod.length;e++)if("SelectQry"==this.DGM.CamMod[e].Tip){let i=e;this.servicios.AccSobBD("SELECT","Si",this.DGM.CamMod[e].Qry.Cmps,"","",this.DGM.CamMod[e].Qry.Tab,this.DGM.CamMod[e].Qry.Don,this.DGM.CamMod[e].Qry.Ord,"","CarVar",this,function(r,o){o.DGM.CamMod[i].Qry.Res=r.data})}}CarLisEsp(){this.servicios.AccSobBD("SELECT","Si","*","","","especialidades","WHERE Estatus=|Activa|","ORDER BY Nombre","","CarVar",this,function(e,i){i.LisEsp=e.data})}CarLisVen(){this.servicios.AccSobBD("SELECT","Si","*","","","usuarios","WHERE Tipo=|Vendedor| AND Estatus=|Activo|","ORDER BY Nombre","","CarVar",this,function(e,i){i.LisVen=e.data})}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}CarOpc(e){this.servicios.AccSobBD("SELECT","Si","*","","","productosopc","WHERE NRegPro = "+e,"ORDER BY Descripcion","","CarVar",this,function(i,r){r.LisOpc=i.data})}GuaOpc(e){this.servicios.ValCam("Descripcion","Descripcion","Texto",this.Descripcion,"Si")&&this.servicios.ValCam("Precio","Precio","Numero",this.Precio,"Si")&&this.servicios.ValCam("Estatus","Estado","Texto",this.Estatus,"Si")&&(0==this.NRegDetOpcSel?this.servicios.AccSobBD("INSERT","No","NRegPro,Descripcion,Precio,Estatus",e.NRegistro+",|"+this.Descripcion+"|,|"+this.Precio+"|,|"+this.Estatus+"|","","productosopc","","","","Ins",this,function(i,r){r.CarOpc(e.NRegistro)}):this.servicios.AccSobBD("UPDATE","No","","","Descripcion=|"+this.Descripcion+"|, Precio=|"+this.Precio+"|, Estatus=|"+this.Estatus+"|","productosopc","WHERE NRegistro="+this.NRegDetOpcSel,"","","Upd",this,function(i,r){r.CarOpc(e.NRegistro)}),this.Descripcion="",this.Precio="",this.Estatus="",this.NRegDetOpcSel=0)}ModDetOpc(e){this.NRegDetOpcSel=e.NRegistro,this.Descripcion=e.Descripcion,this.Precio=e.Precio,this.Estatus=e.Estatus}EliDetOpc(e,i){this.servicios.AccSobBD("DELETE","No","","","","productosopc","WHERE NRegistro="+i.NRegistro,"","","Del",this,function(r,o){o.CarOpc(e.NRegistro)})}CarOpc2(e){this.servicios.AccSobBD("SELECT","Si","*","","","productosopc2","WHERE NRegPro = "+e,"ORDER BY Descripcion","","CarVar",this,function(i,r){r.LisOpc=i.data})}GuaOpc2(e){this.servicios.ValCam("Descripcion","Descripcion","Texto",this.Descripcion,"Si")&&this.servicios.ValCam("Precio","Precio","Numero",this.Precio,"Si")&&this.servicios.ValCam("Estatus","Estado","Texto",this.Estatus,"Si")&&(0==this.NRegDetOpcSel?this.servicios.AccSobBD("INSERT","No","NRegPro,Descripcion,Precio,Estatus",e.NRegistro+",|"+this.Descripcion+"|,|"+this.Precio+"|,|"+this.Estatus+"|","","productosopc2","","","","Ins",this,function(i,r){r.CarOpc2(e.NRegistro)}):this.servicios.AccSobBD("UPDATE","No","","","Descripcion=|"+this.Descripcion+"|, Precio=|"+this.Precio+"|, Estatus=|"+this.Estatus+"|","productosopc2","WHERE NRegistro="+this.NRegDetOpcSel,"","","Upd",this,function(i,r){r.CarOpc2(e.NRegistro)}),this.Descripcion="",this.Precio="",this.Estatus="",this.NRegDetOpcSel=0)}ModDetOpc2(e){this.NRegDetOpcSel=e.NRegistro,this.Descripcion=e.Descripcion,this.Precio=e.Precio,this.Estatus=e.Estatus}EliDetOpc2(e,i){this.servicios.AccSobBD("DELETE","No","","","","productosopc2","WHERE NRegistro="+i.NRegistro,"","","Del",this,function(r,o){o.CarOpc2(e.NRegistro)})}CarOpc3(e){this.servicios.AccSobBD("SELECT","Si","*","","","productosopc3","WHERE NRegPro = "+e,"ORDER BY Descripcion","","CarVar",this,function(i,r){r.LisOpc=i.data})}GuaOpc3(e){this.servicios.ValCam("Descripcion","Descripcion","Texto",this.Descripcion,"Si")&&this.servicios.ValCam("Precio","Precio","Numero",this.Precio,"Si")&&this.servicios.ValCam("Estatus","Estado","Texto",this.Estatus,"Si")&&(0==this.NRegDetOpcSel?this.servicios.AccSobBD("INSERT","No","NRegPro,Descripcion,Precio,Estatus",e.NRegistro+",|"+this.Descripcion+"|,|"+this.Precio+"|,|"+this.Estatus+"|","","productosopc3","","","","Ins",this,function(i,r){r.CarOpc3(e.NRegistro)}):this.servicios.AccSobBD("UPDATE","No","","","Descripcion=|"+this.Descripcion+"|, Precio=|"+this.Precio+"|, Estatus=|"+this.Estatus+"|","productosopc3","WHERE NRegistro="+this.NRegDetOpcSel,"","","Upd",this,function(i,r){r.CarOpc3(e.NRegistro)}),this.Descripcion="",this.Precio="",this.Estatus="",this.NRegDetOpcSel=0)}ModDetOpc3(e){this.NRegDetOpcSel=e.NRegistro,this.Descripcion=e.Descripcion,this.Precio=e.Precio,this.Estatus=e.Estatus}EliDetOpc3(e,i){this.servicios.AccSobBD("DELETE","No","","","","productosopc3","WHERE NRegistro="+i.NRegistro,"","","Del",this,function(r,o){o.CarOpc3(e.NRegistro)})}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-prodef"]],viewQuery:function(e,i){if(1&e&&(Ht(YAe,5),Ht(UAe,5)),2&e){let r;lt(r=ct())&&(i.InpFilSubPro=r.first),lt(r=ct())&&(i.InpFilSubSto=r.first)}},decls:265,vars:34,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","14.2%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","class","BotModPie","title","Agregar",3,"click",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","80% !important"],[1,"modal-content",2,"height","550px"],["class","TitMod",4,"ngIf"],[1,"container-fluid"],[1,"row",2,"height","500px !important"],[1,"col-md-4",2,"height","100%","padding","10px","border","0px solid #f00"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],["cellpadding","5",2,"width","100%","height","90%","background-color","#f5f5f5"],[1,"form-group"],["for","Descripcion"],[2,"color","#f00"],["type","text","id","Descripcion",1,"form-control",3,"ngModel","ngModelChange"],["for","Precio"],["type","number","step","0.01","id","Precio",1,"form-control",3,"ngModel","ngModelChange"],["for","Estatus"],["id","Estatus",1,"form-control",3,"ngModel","ngModelChange"],["value","Activo"],["value","Inactivo"],["colspan","2",2,"text-align","center"],["src","assets/img/ace.png","title","Guardar",1,"BotModPie",3,"click"],["class","col-md-8","style","height:95%; padding:10px; overflow:auto; border:0px solid #00f;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg2"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg3"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg4"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],["cellpadding","10px",2,"width","100%","height","90%","background-color","#f5f5f5"],["for","Especialidad"],["id","Especialidad",1,"form-control",3,"ngModel","ngModelChange"],["value",""],[3,"value",4,"ngFor","ngForOf"],["for","Vendedor"],["id","Vendedor",1,"form-control",3,"ngModel","ngModelChange"],["src","assets/img/ace.png","title","Ejecutar Modificaci\xf3n Masiva",1,"BotModPie",3,"click"],[1,"col-md-8",2,"height","95%","padding","10px","overflow","auto","border","0px solid #00f"],["for","AjuPre"],["id","AjuPre",1,"form-control",3,"ngModel","ngModelChange"],["value","Aumentar"],["value","Rebajar"],["for","Monto"],["type","number","step","0.01","id","Monto",1,"form-control",3,"ngModel","disabled","ngModelChange"],["for","AjuEst"],["id","AjuEst",1,"form-control",3,"ngModel","ngModelChange"],["value","Cambiar"],["id","Estatus",1,"form-control",3,"ngModel","disabled","ngModelChange"],["value","Bloqueado"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","class","BotMod","title","Modificar",3,"click",4,"ngIf"],["src","assets/img/eli.png","class","BotMod","title","Eliminar",3,"click",4,"ngIf"],["src","assets/img/lay.png","title","Complementos del Producto","data-toggle","modal","data-target",".bd-example-modal-lg",1,"BotMod",3,"click"],["src","assets/img/tam.png","title","Tallas del Producto","data-toggle","modal","data-target",".bd-example-modal-lg2",1,"BotMod",3,"click"],["src","assets/img/col.png","title","Colores del Producto","data-toggle","modal","data-target",".bd-example-modal-lg3",1,"BotMod",3,"click"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["target","_blank",3,"href"],["style","height:100px; border-radius:5px;",3,"src",4,"ngIf"],[2,"height","100px","border-radius","5px",3,"src"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],["scope","col",2,"text-align","left"],["scope","col",2,"text-align","right"],["colspan","8","align","center","valign","middle"],["colspan","8","align","center","valign","middle",2,"color","#856404"],[2,"text-align","left"],[2,"text-align","right"],[3,"value"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Productos / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,WAe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,zAe,2,4,"th",7),u()(),c(12,"tbody"),C(13,$Ae,3,1,"tr",8),C(14,qAe,3,0,"tr",8),C(15,tRe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,nRe,2,1,"span",8),u(),c(21,"td",12),C(22,iRe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),X(25,"td",12)(26,"td",12)(27,"td",12),c(28,"td",12),C(29,rRe,1,0,"img",15),u()()()(),c(30,"div",16)(31,"div",17)(32,"div",18),C(33,oRe,8,1,"div",19),c(34,"div",20)(35,"div",21)(36,"div",22)(37,"div",23)(38,"h3"),p(39,"Complemento"),u()(),c(40,"table",24)(41,"tr")(42,"td")(43,"div",25)(44,"label",26)(45,"strong"),p(46,"Descripci\xf3n"),c(47,"span",27),p(48,"*"),u()()(),c(49,"input",28),R("ngModelChange",function(o){return i.Descripcion=o}),u()()()(),c(50,"tr")(51,"td")(52,"div",25)(53,"label",29)(54,"strong"),p(55,"Precio"),c(56,"span",27),p(57,"*"),u()()(),c(58,"input",30),R("ngModelChange",function(o){return i.Precio=o}),u()()()(),c(59,"tr")(60,"td")(61,"div",25)(62,"label",31)(63,"strong"),p(64,"Estado"),c(65,"span",27),p(66,"*"),u()()(),c(67,"select",32),R("ngModelChange",function(o){return i.Estatus=o}),c(68,"option",33),p(69,"Activo"),u(),c(70,"option",34),p(71,"Inactivo"),u()()()()(),c(72,"tr")(73,"td",35)(74,"img",36),R("click",function(){return i.GuaOpc(i.DetDat)}),u()()()()(),C(75,cRe,18,3,"div",37),u()()()()(),c(76,"div",38)(77,"div",17)(78,"div",18),C(79,dRe,8,1,"div",19),c(80,"div",20)(81,"div",21)(82,"div",22)(83,"div",23)(84,"h3"),p(85,"Tama\xf1o"),u()(),c(86,"table",24)(87,"tr")(88,"td")(89,"div",25)(90,"label",26)(91,"strong"),p(92,"Descripci\xf3n"),c(93,"span",27),p(94,"*"),u()()(),c(95,"input",28),R("ngModelChange",function(o){return i.Descripcion=o}),u()()()(),c(96,"tr")(97,"td")(98,"div",25)(99,"label",29)(100,"strong"),p(101,"Precio"),c(102,"span",27),p(103,"*"),u()()(),c(104,"input",30),R("ngModelChange",function(o){return i.Precio=o}),u()()()(),c(105,"tr")(106,"td")(107,"div",25)(108,"label",31)(109,"strong"),p(110,"Estado"),c(111,"span",27),p(112,"*"),u()()(),c(113,"select",32),R("ngModelChange",function(o){return i.Estatus=o}),c(114,"option",33),p(115,"Activo"),u(),c(116,"option",34),p(117,"Inactivo"),u()()()()(),c(118,"tr")(119,"td",35)(120,"img",36),R("click",function(){return i.GuaOpc2(i.DetDat)}),u()()()()(),C(121,pRe,18,3,"div",37),u()()()()(),c(122,"div",39)(123,"div",17)(124,"div",18),C(125,mRe,8,1,"div",19),c(126,"div",20)(127,"div",21)(128,"div",22)(129,"div",23)(130,"h3"),p(131,"Bebida"),u()(),c(132,"table",24)(133,"tr")(134,"td")(135,"div",25)(136,"label",26)(137,"strong"),p(138,"Descripci\xf3n"),c(139,"span",27),p(140,"*"),u()()(),c(141,"input",28),R("ngModelChange",function(o){return i.Descripcion=o}),u()()()(),c(142,"tr")(143,"td")(144,"div",25)(145,"label",29)(146,"strong"),p(147,"Precio"),c(148,"span",27),p(149,"*"),u()()(),c(150,"input",30),R("ngModelChange",function(o){return i.Precio=o}),u()()()(),c(151,"tr")(152,"td")(153,"div",25)(154,"label",31)(155,"strong"),p(156,"Estado"),c(157,"span",27),p(158,"*"),u()()(),c(159,"select",32),R("ngModelChange",function(o){return i.Estatus=o}),c(160,"option",33),p(161,"Activo"),u(),c(162,"option",34),p(163,"Inactivo"),u()()()()(),c(164,"tr")(165,"td",35)(166,"img",36),R("click",function(){return i.GuaOpc3(i.DetDat)}),u()()()()(),C(167,bRe,18,3,"div",37),u()()()()(),c(168,"div",40)(169,"div",17)(170,"div",18)(171,"div",0),p(172,"Modificaci\xf3n Masiva de Productos "),c(173,"div",41)(174,"a",42)(175,"strong"),p(176,"\xd7"),u()()()(),c(177,"div",20)(178,"div",21)(179,"div",22)(180,"div",23)(181,"h3"),p(182,"Filtros"),u()(),c(183,"table",43)(184,"tr")(185,"td")(186,"div",25)(187,"label",44)(188,"strong"),p(189,"Especialidad"),c(190,"span",27),p(191,"*"),u()()(),c(192,"select",45),R("ngModelChange",function(o){return i.Especialidad=o}),c(193,"option",46),p(194,"Todas"),u(),C(195,DRe,2,2,"option",47),u()()()(),c(196,"tr")(197,"td")(198,"div",25)(199,"label",48)(200,"strong"),p(201,"Vendedor"),c(202,"span",27),p(203,"*"),u()()(),c(204,"select",49),R("ngModelChange",function(o){return i.Vendedor=o}),c(205,"option",46),p(206,"Todos"),u(),C(207,yRe,2,2,"option",47),u()()()(),c(208,"tr")(209,"td",35)(210,"img",50),R("click",function(){return i.EjeModMas()}),u()()()()(),c(211,"div",51)(212,"div",23)(213,"h3"),p(214,"Valores"),u()(),c(215,"table",43)(216,"tr")(217,"td")(218,"div",25)(219,"label",52)(220,"strong"),p(221,"Ajustar Precio"),c(222,"span",27),p(223,"*"),u()()(),c(224,"select",53),R("ngModelChange",function(o){return i.AjuPre=o})("ngModelChange",function(){return i.LimPre()}),c(225,"option",46),p(226,"Sin cambios"),u(),c(227,"option",54),p(228,"Aumentar"),u(),c(229,"option",55),p(230,"Rebajar"),u()()()(),c(231,"td")(232,"div",25)(233,"label",56)(234,"strong"),p(235,"% Variariaci\xf3n"),c(236,"span",27),p(237,"*"),u()()(),c(238,"input",57),R("ngModelChange",function(o){return i.Monto=o}),u()()()(),c(239,"tr")(240,"td")(241,"div",25)(242,"label",58)(243,"strong"),p(244,"Ajustar Estado"),c(245,"span",27),p(246,"*"),u()()(),c(247,"select",59),R("ngModelChange",function(o){return i.AjuEst=o})("ngModelChange",function(){return i.LimEst()}),c(248,"option",46),p(249,"Sin cambios"),u(),c(250,"option",60),p(251,"Cambiar"),u()()()(),c(252,"td")(253,"div",25)(254,"label",31)(255,"strong"),p(256,"Nuevo Estado"),c(257,"span",27),p(258,"*"),u()()(),c(259,"select",61),R("ngModelChange",function(o){return i.Estatus=o}),X(260,"option",46),c(261,"option",33),p(262,"Activo"),u(),c(263,"option",62),p(264,"Bloqueado"),u()()()()()()()()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus),h(7),_("ngIf","Admin"==i.UsuMat.Tipo),h(4),_("ngIf",i.DetDat),h(16),_("ngModel",i.Descripcion),h(9),_("ngModel",i.Precio),h(9),_("ngModel",i.Estatus),h(8),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(16),_("ngModel",i.Descripcion),h(9),_("ngModel",i.Precio),h(9),_("ngModel",i.Estatus),h(8),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(16),_("ngModel",i.Descripcion),h(9),_("ngModel",i.Precio),h(9),_("ngModel",i.Estatus),h(8),_("ngIf",i.DetDat),h(25),_("ngModel",i.Especialidad),h(3),_("ngForOf",i.LisEsp),h(9),_("ngModel",i.Vendedor),h(3),_("ngForOf",i.LisVen),h(17),_("ngModel",i.AjuPre),h(14),_("ngModel",i.Monto)("disabled",""==i.AjuPre),h(9),_("ngModel",i.AjuEst),h(12),_("ngModel",i.Estatus)("disabled",""==i.AjuEst))},dependencies:[Mt,mt,Wt,Do,yo,Si,Ql,Hr,Ii,ki,Yt]}),t})();function CRe(t,n){1&t&&X(0,"th",17)}const vH=function(t){return{"text-align":t}};function xRe(t,n){if(1&t&&(c(0,"th",18),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,vH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function TRe(t,n){1&t&&(c(0,"tr")(1,"td",19),X(2,"mat-spinner",20),u()()),2&t&&(h(2),_("diameter",50))}function wRe(t,n){1&t&&(c(0,"tr")(1,"td",21),p(2,"No existen registros"),u()())}function ERe(t,n){if(1&t){const e=ae();c(0,"img",28),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Modificar",r))}),u()}}function SRe(t,n){if(1&t){const e=ae();c(0,"img",29),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Eliminar",r))}),u()}}function kRe(t,n){if(1&t&&(c(0,"td",25),C(1,ERe,1,0,"img",26),C(2,SRe,1,0,"img",27),u()),2&t){const e=D(2);h(1),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo)}}function ARe(t,n){if(1&t&&(c(0,"td",30),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,vH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function RRe(t,n){if(1&t&&(c(0,"tr"),C(1,kRe,3,2,"td",22),c(2,"td",23),p(3),u(),C(4,ARe,2,4,"td",24),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function FRe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function NRe(t,n){if(1&t){const e=ae();c(0,"img",31),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let ORe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"Centros",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Email",Cmp:"Email",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Telefono",Cmp:"Telefono",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Direccion",Cmp:"Direccion",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Inactivo",Tex:"Inactivo"}]}],OpcFil:"Si",CamQry:"*",Tabla:"centros",Donde:"",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3],Col:[1,2]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarCmpQry(),this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarCmpQry(){for(var e=0;e<this.DGM.CamMod.length;e++)if("SelectQry"==this.DGM.CamMod[e].Tip){let i=e;this.servicios.AccSobBD("SELECT","Si",this.DGM.CamMod[e].Qry.Cmps,"","",this.DGM.CamMod[e].Qry.Tab,this.DGM.CamMod[e].Qry.Don,this.DGM.CamMod[e].Qry.Ord,"","CarVar",this,function(r,o){o.DGM.CamMod[i].Qry.Res=r.data})}}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-cendev"]],decls:29,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","class","BotMod","title","Modificar",3,"click",4,"ngIf"],["src","assets/img/eli.png","class","BotMod","title","Eliminar",3,"click",4,"ngIf"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Devoluciones / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,CRe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,xRe,2,4,"th",7),u()(),c(12,"tbody"),C(13,TRe,3,1,"tr",8),C(14,wRe,3,0,"tr",8),C(15,RRe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,FRe,2,1,"span",8),u(),c(21,"td",12),C(22,NRe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(27,"td",12)(28,"img",16),R("click",function(){return i.EjeFun("Agregar","")}),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();const IRe=["map"],LRe=["closeAddExpenseModal3"];function PRe(t,n){1&t&&X(0,"th",38)}const bH=function(t){return{"text-align":t}};function BRe(t,n){if(1&t&&(c(0,"th",39),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,bH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function VRe(t,n){1&t&&(c(0,"tr")(1,"td",40),X(2,"mat-spinner",41),u()()),2&t&&(h(2),_("diameter",50))}function HRe(t,n){1&t&&(c(0,"tr")(1,"td",42),p(2,"No existen registros"),u()())}function GRe(t,n){if(1&t){const e=ae();c(0,"img",51),R("click",function(){z(e);const r=D(2).$implicit;return q(D().Productos(r))}),u()}}function jRe(t,n){if(1&t){const e=ae();c(0,"img",52),R("click",function(){z(e);const r=D(2).$implicit;return q(D().Devolver(r))}),u()}}const YRe=function(t){return{"border-left-color":t}};function URe(t,n){if(1&t){const e=ae();c(0,"td",46),C(1,GRe,1,0,"img",47),C(2,jRe,1,0,"img",48),c(3,"img",49),R("click",function(){z(e);const r=D().$implicit;return q(D().Detalles(r))}),u(),c(4,"img",50),R("click",function(){z(e);const r=D().$implicit;return q(D().Productos(r))}),u()()}if(2&t){const e=D().$implicit,i=D();_("ngStyle",ke(3,YRe,i.servicios.ColEstVia(e.Estatus))),h(1),_("ngIf","En Devolucion"==e.Estatus),h(1),_("ngIf","En Centro"==e.Estatus)}}function WRe(t,n){if(1&t&&(c(0,"td",53),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,bH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function zRe(t,n){if(1&t&&(c(0,"tr"),C(1,URe,5,5,"td",43),c(2,"td",44),p(3),u(),C(4,WRe,2,4,"td",45),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function $Re(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function qRe(t,n){if(1&t){const e=ae();c(0,"img",54),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function XRe(t,n){if(1&t&&(c(0,"div",0),p(1,"Detalles del viaje N\xba: "),c(2,"span",1),p(3),u(),c(4,"div",55)(5,"a",56)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.NRegistro)}}const QRe=function(t){return{color:t}};function JRe(t,n){if(1&t&&(c(0,"div",57)(1,"div",58)(2,"h3"),p(3,"Viaje"),u()(),c(4,"table",59)(5,"tr")(6,"td",60)(7,"strong"),p(8,"Origen: "),u(),c(9,"span"),p(10),u()()(),c(11,"tr")(12,"td",60)(13,"strong"),p(14,"Destino: "),u(),c(15,"span"),p(16),u()()(),c(17,"tr")(18,"td",44)(19,"strong"),p(20,"Recorrido: "),u(),c(21,"span"),p(22),u()(),c(23,"td",44)(24,"strong"),p(25,"Precio: "),u(),c(26,"span"),p(27),u()(),c(28,"td",44)(29,"strong"),p(30,"Pago: "),u(),c(31,"span"),p(32),u()()(),c(33,"tr")(34,"td",61)(35,"strong"),p(36,"Solicitado: "),u(),c(37,"span"),p(38),u()(),c(39,"td",44)(40,"strong"),p(41,"Estatus: "),u(),c(42,"span",53),p(43),u()()()()()),2&t){const e=D();h(10),I(e.DetDat.OriDes),h(6),I(e.DetDat.DesDes),h(6),Be("",e.servicios.NumFor(e.DetDat.Recorrido,0),"Mts"),h(5),Be("$",e.servicios.NumFor(e.DetDat.Precio,2),""),h(5),I(e.DetDat.ForPag),h(6),I(e.servicios.ForFecHorPeq(e.DetDat.FecHorSol)),h(4),_("ngStyle",ke(8,QRe,e.servicios.ColEstVia(e.DetDat.Estatus))),h(1),I(e.DetDat.Estatus)}}function ZRe(t,n){if(1&t&&X(0,"img",65),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotCli,"",rt)}}function KRe(t,n){if(1&t&&(c(0,"div",62)(1,"div",58)(2,"h3"),p(3,"Vendedor"),u()(),c(4,"table",59)(5,"tr")(6,"td",63),C(7,ZRe,1,2,"img",64),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()(),c(25,"tr")(26,"td")(27,"strong"),p(28,"Puntos obtenidos: "),u(),c(29,"span"),p(30),u()()()()()),2&t){const e=D();h(7),_("ngIf",e.DetDat.FotCli),h(5),I(e.DetDat.DesCli),h(6),I(e.DetDat.TelCli),h(6),I(e.DetDat.EmaCli),h(6),I(e.DetDat.PunCalCli)}}function eFe(t,n){if(1&t&&X(0,"img",65),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotCho,"",rt)}}function tFe(t,n){if(1&t&&(c(0,"div",66)(1,"div",58)(2,"h3"),p(3,"Repartidor"),u()(),c(4,"table",59)(5,"tr")(6,"td",67),C(7,eFe,1,2,"img",64),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()(),c(25,"tr")(26,"td",61)(27,"strong"),p(28,"Puntos obtenidos: "),u(),c(29,"span"),p(30),u()()()()()),2&t){const e=D();h(7),_("ngIf",e.DetDat.FotCho),h(5),I(e.DetDat.DesCho),h(6),I(e.DetDat.TelCho),h(6),I(e.DetDat.EmaCho),h(6),I(e.DetDat.PunCalCho)}}function nFe(t,n){if(1&t&&(c(0,"div",0),p(1,"Productos del viaje N\xba: "),c(2,"span",1),p(3),u(),c(4,"div",55)(5,"a",56)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.NRegistro)}}function iFe(t,n){1&t&&(c(0,"tr")(1,"td",71),X(2,"mat-spinner",41),u()()),2&t&&(h(2),_("diameter",50))}function rFe(t,n){1&t&&(c(0,"tr")(1,"td",72),p(2,"No existen registros"),u()())}function oFe(t,n){if(1&t&&(c(0,"tr")(1,"td",44),X(2,"img",73),u(),c(3,"td",74),p(4),u(),c(5,"td",75),p(6),u(),c(7,"td",75),p(8),u(),c(9,"td",75),p(10),u()()),2&t){const e=n.$implicit,i=D(2);h(2),nn("src","",i.ApiImg,"",i.CarPro,"/",e.FotPro,"",rt),h(2),I(e.NomPro),h(2),I(i.servicios.NumFor(e.Cantidad,0)),h(2),I(i.servicios.NumFor(e.Precio,2)),h(2),I(i.servicios.NumFor(e.TotPro,2))}}function sFe(t,n){if(1&t&&(c(0,"div",68)(1,"div",58)(2,"h3"),p(3,"Lista de Productos"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr")(7,"th",6),p(8,"Foto"),u(),c(9,"th",69),p(10,"Nombre"),u(),c(11,"th",70),p(12,"Cantidad"),u(),c(13,"th",70),p(14,"Precio"),u(),c(15,"th",70),p(16,"Total"),u()()(),c(17,"tbody"),C(18,iFe,3,1,"tr",8),C(19,rFe,3,0,"tr",8),C(20,oFe,11,7,"tr",9),u()()()),2&t){const e=D();h(18),_("ngIf",!e.LisPro),h(1),_("ngIf",e.LisPro&&0==e.LisPro.length),h(1),_("ngForOf",e.LisPro)}}function aFe(t,n){if(1&t&&(c(0,"div",0),p(1,"Recibir devoluci\xf3n del viaje N\xba: "),c(2,"span",1),p(3),u(),c(4,"div",55)(5,"a",56,76)(7,"strong"),p(8,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.NRegistro)}}function lFe(t,n){if(1&t&&(c(0,"option",88),p(1),u()),2&t){const e=n.$implicit;Hi("value",e.NRegistro),h(1),I(e.Nombre)}}function cFe(t,n){if(1&t){const e=ae();c(0,"div",77)(1,"div",58)(2,"h3"),p(3,"Detalles de la Devoluci\xf3n"),u()(),c(4,"table",78)(5,"tr")(6,"td")(7,"div",79)(8,"label",80)(9,"strong"),p(10,"Centro Distribuci\xf3n"),c(11,"span",81),p(12,"*"),u()()(),c(13,"select",82),R("ngModelChange",function(r){return z(e),q(D().CenDis=r)}),c(14,"option",83),p(15,"Seleccione ..."),u(),C(16,lFe,2,2,"option",84),u()()(),c(17,"td")(18,"div",79)(19,"label",85)(20,"strong"),p(21,"Raz\xf3n Devoluci\xf3n"),c(22,"span",81),p(23,"*"),u()()(),c(24,"input",86),R("ngModelChange",function(r){return z(e),q(D().RazDev=r)}),u()()(),c(25,"td",44)(26,"img",87),R("click",function(){return z(e),q(D().Recibir())}),u()()()()()}if(2&t){const e=D();h(13),_("ngModel",e.CenDis),h(3),_("ngForOf",e.LisCen),h(8),_("ngModel",e.RazDev)}}function dFe(t,n){1&t&&(c(0,"tr")(1,"td",71),X(2,"mat-spinner",41),u()()),2&t&&(h(2),_("diameter",50))}function uFe(t,n){1&t&&(c(0,"tr")(1,"td",72),p(2,"No existen registros"),u()())}function fFe(t,n){if(1&t&&(c(0,"tr")(1,"td",44),X(2,"img",73),u(),c(3,"td",74),p(4),u(),c(5,"td",75),p(6),u(),c(7,"td",75),p(8),u(),c(9,"td",75),p(10),u()()),2&t){const e=n.$implicit,i=D(2);h(2),nn("src","",i.ApiImg,"",i.CarPro,"/",e.FotPro,"",rt),h(2),I(e.NomPro),h(2),I(i.servicios.NumFor(e.Cantidad,0)),h(2),I(i.servicios.NumFor(e.Precio,2)),h(2),I(i.servicios.NumFor(e.TotPro,2))}}function hFe(t,n){if(1&t&&(c(0,"div",68)(1,"div",58)(2,"h3"),p(3,"Lista de Productos"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr")(7,"th",6),p(8,"Foto"),u(),c(9,"th",69),p(10,"Nombre"),u(),c(11,"th",70),p(12,"Cantidad"),u(),c(13,"th",70),p(14,"Precio"),u(),c(15,"th",70),p(16,"Total"),u()()(),c(17,"tbody"),C(18,dFe,3,1,"tr",8),C(19,uFe,3,0,"tr",8),C(20,fFe,11,7,"tr",9),u()()()),2&t){const e=D();h(18),_("ngIf",!e.LisPro),h(1),_("ngIf",e.LisPro&&0==e.LisPro.length),h(1),_("ngForOf",e.LisPro)}}let pFe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.OriDes="",this.OriLatLon="",this.DesDes="",this.DesLatLon="",this.PriDes="",this.PriLatLon="",this.SegDes="",this.SegLatLon="",this.TerDes="",this.TerLatLon="",this.CarPro="pro",this.DonBus="",this.OJE=[],this.LisNomPas="",this.CenDis="",this.RazDev="",this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg(),this.DGM={Nombre:"Pedidos",CamMod:[{Tit:"Vendedor",Cmp:"DesVen",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegVen)"},{Tit:"Cliente",Cmp:"DesCli",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegCli)"},{Tit:"Origen",Cmp:"OriDes",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Destino",Cmp:"DesDes",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Repartidor",Cmp:"DesCho",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0)"},{Tit:"Recorrido Mts",Cmp:"Recorrido",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Duraci\xf3n Min",Cmp:"Duracion",Tip:"Entero",Req:"Si",VD:"",Val:""},{Tit:"Solicitado",Cmp:"FecHorSol",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Cancelado",Cmp:"FecHorCan",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Inicio",Cmp:"FecHorIni",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Devuelto",Cmp:"FecHorDev",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Fin",Cmp:"FecHorFin",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Centro Distribuci\xf3n",Cmp:"CenDev",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"NRegistro,Nombre,Telefono",Tab:"centros",Don:"WHERE Estatus = |Activo|",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Raz\xf3n Devoluci\xf3n",Cmp:"RazDev",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Nuevo",Tex:"Nuevo"},{Val:"Aceptado",Tex:"Aceptado"},{Val:"Cerca",Tex:"Cerca"},{Val:"Iniciado",Tex:"Iniciado"},{Val:"Finalizado",Tex:"Finalizado"},{Val:"Calificado Repartidor",Tex:"Calificado Repartidor"},{Val:"Calificado Vendedor",Tex:"Calificado Vendedor"},{Val:"Cancelado Vendedor",Tex:"Cancelado Vendedor"},{Val:"Cancelado Repartidor",Tex:"Cancelado Repartidor"},{Val:"Terminado",Tex:"Terminado"}]}],OpcFil:"Si",CamQry:"*,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegCli) DesCli,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegCli) FotCli,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegCli) TelCli,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegCli) EmaCli,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegVen) DesVen,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegVen) FotVen,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegVen) TelVen,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegVen) EmaVen,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) DesCho,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) FotCho,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) TelCho,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) EmaCho",Tabla:"pedidos A",Donde:"WHERE Estatus IN (|En Devolucion|,|En Centro|)",Ordena:"ORDER BY NRegistro DESC",TabFor:{Fil:[1,2,3,4,5],Col:[1,2,3]},Carpeta:""}}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarCmpQry(),this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}Productos(e){this.DetDat=e,this.CarLisPro(e),this.CarLisCen()}Detalles(e){this.DetDat=e,this.showMap(function(i){i.OriDes=i.DetDat.OriDes,i.OriLatLon=i.DetDat.Origen,i.DesDes=i.DetDat.DesDes,i.DesLatLon=i.DetDat.Destino,i.PriDes=i.DetDat.PriDes,i.PriLatLon=i.DetDat.Primera,i.SegDes=i.DetDat.SegDes,i.SegLatLon=i.DetDat.Segunda,i.TerDes=i.DetDat.TerDes,i.TerLatLon=i.DetDat.Tercera,i.MosRutMap(i.DetDat.Origen,i.DetDat.Destino,i.DetDat.Primera,i.DetDat.Segunda,i.DetDat.Tercera)})}Devolver(e){this.servicios.AccSobBD("UPDATE","No","","","Estatus=|Devuelto|","pedidos","WHERE NRegistro="+e.NRegistro,"","","Upd",this,function(i,r){r.CarLis()})}Recibir(){this.servicios.ValCam("CenDis","Centro Distribuci\xf3n","Texto",this.CenDis,"Si")&&this.servicios.ValCam("RazDev","Raz\xf3n Devoluci\xf3n","Texto",this.RazDev,"Si")&&(this.servicios.AccSobBD("UPDATE","No","","","CenDev="+this.CenDis+", RazDev=|"+this.RazDev+"|, Estatus=|En Centro|, FecHorFin=NOW()","pedidos","WHERE NRegistro="+this.DetDat.NRegistro,"","","Upd",this,function(e,i){i.CarLis(),i.closeAddExpenseModal3.nativeElement.click()}),this.servicios.AccSobBD("UPDATE","No","","","EstRep=|Conectado|","usuarios","WHERE NRegistro="+this.DetDat.NRegRep,"","","Upd",this,function(e,i){}))}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarCmpQry(){for(var e=0;e<this.DGM.CamMod.length;e++)if("SelectQry"==this.DGM.CamMod[e].Tip){let i=e;this.servicios.AccSobBD("SELECT","Si",this.DGM.CamMod[e].Qry.Cmps,"","",this.DGM.CamMod[e].Qry.Tab,this.DGM.CamMod[e].Qry.Don,this.DGM.CamMod[e].Qry.Ord,"","CarVar",this,function(r,o){o.DGM.CamMod[i].Qry.Res=r.data})}}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}CarLisPro(e){this.servicios.AccSobBD("SELECT","Si","*,(SELECT Nombre FROM productos WHERE NRegistro = A.NRegPro) NomPro,(SELECT Imagen FROM productos WHERE NRegistro = A.NRegPro) FotPro,(Precio*Cantidad) TotPro","","","pedidospro A","WHERE NRegPed = "+e.NRegistro,"ORDER BY NomPro","","CarVar",this,function(i,r){r.LisPro=i.data})}CarLisCen(){this.servicios.AccSobBD("SELECT","Si","*","","","centros","WHERE Estatus = |Activo|","ORDER BY Nombre","","CarVar",this,function(e,i){i.LisCen=e.data})}showMap(e){const r={center:new google.maps.LatLng(this.servicios.Pais.Lat,this.servicios.Pais.Lon),zoom:13,mapTypeControl:!1,streetViewControl:!1,zoomControl:!1,zoomControlOptions:{position:google.maps.ControlPosition.RIGHT_TOP},fullscreenControl:!1,fullscreenControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},styles:[]};this.map=new google.maps.Map(this.mapRef.nativeElement,r),e(this)}MosRutMap(e,i,r,o,s){this.DirSer=new google.maps.DirectionsService,this.DirDis=new google.maps.DirectionsRenderer({suppressMarkers:!0,polylineOptions:{strokeColor:"#154c68",strokeOpacity:.7}});var a=[];""!=r&&a.push({location:r,stopover:!0}),""!=o&&a.push({location:o,stopover:!0}),""!=s&&a.push({location:s,stopover:!0});var l=this.DirDis;this.AgrMarRut(e,i,r,o,s),this.DirDis.setMap(this.map),this.DirSer.route({origin:e,destination:i,travelMode:"DRIVING"},function(d,f){"OK"===f&&setTimeout(()=>{l.setDirections(d)},350)})}AgrMarRut(e,i,r,o,s){var l=String(e).split(","),d=new google.maps.LatLng(l[0],l[1]),m=String(i).split(","),g=new google.maps.LatLng(m[0],m[1]);if(""!=r)var M=String(r).split(","),y=new google.maps.LatLng(M[0],M[1]);if(""!=o)var k=String(o).split(","),O=new google.maps.LatLng(k[0],k[1]);if(""!=s)var H=String(s).split(","),U=new google.maps.LatLng(H[0],H[1]);this.infwinOri=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)}),this.infwinDes=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)}),""!=r&&(this.infwinPri=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)})),""!=o&&(this.infwinSeg=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)})),""!=s&&(this.infwinTer=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)})),this.infwinOri.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.OriDes+"</td></tr></table></div>"),this.infwinDes.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#ff4b41; text-align:center; vertical-align:middle;' id='tdDV'></td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.DesDes+"</td></tr></table></div>"),""!=r&&this.infwinPri.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.PriDes+"</td></tr></table></div>"),""!=o&&this.infwinSeg.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.SegDes+"</td></tr></table></div>"),""!=s&&this.infwinTer.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.TerDes+"</td></tr></table></div>");var Q={url:this.ApiImg+"mapa/ori.png",scaledSize:new google.maps.Size(24,24),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(12,12)},W={url:this.ApiImg+"mapa/des.png",scaledSize:new google.maps.Size(24,24),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(12,12)},J={url:this.ApiImg+"mapa/par.png",scaledSize:new google.maps.Size(24,24),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(12,12)};this.IcoOri=new google.maps.Marker({position:d,map:this.map,icon:Q,title:"Origen"}),this.IcoDes=new google.maps.Marker({position:g,map:this.map,icon:W,title:"Destino"}),""!=r&&(this.IcoPri=new google.maps.Marker({position:y,map:this.map,icon:J,title:"Primera parada"})),""!=o&&(this.IcoSeg=new google.maps.Marker({position:O,map:this.map,icon:J,title:"Segunda parada"})),""!=s&&(this.IcoTer=new google.maps.Marker({position:U,map:this.map,icon:J,title:"Tercera parada"}))}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-viadev"]],viewQuery:function(e,i){if(1&e&&(Ht(IRe,5),Ht(LRe,5)),2&e){let r;lt(r=ct())&&(i.mapRef=r.first),lt(r=ct())&&(i.closeAddExpenseModal3=r.first)}},decls:57,vars:17,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","50% !important"],[1,"modal-content",2,"height","550px"],["class","TitMod",4,"ngIf"],[1,"container-fluid"],[1,"row",2,"height","250px !important"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #f00"],["id","map"],["map",""],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #00f;",4,"ngIf"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #ff0;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg2"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","80% !important"],[1,"row",2,"height","500px !important"],["class","col-md-12","style","height:95%; padding:10px; overflow:auto; border:0px solid #00f;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg3"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","70% !important"],[1,"modal-content",2,"height","600px"],[1,"row",2,"height","200px !important"],["class","col-md-12","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],[1,"row",2,"height","350px !important"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle; border-left-width:5px;",3,"ngStyle",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle","border-left-width","5px",3,"ngStyle"],["src","assets/img/rec.png","class","BotMod","title","Recibir Productos","data-toggle","modal","data-target",".bd-example-modal-lg3",3,"click",4,"ngIf"],["src","assets/img/dev.png","class","BotMod","title","Devolver al Vendedor",3,"click",4,"ngIf"],["src","assets/img/ojo.png","title","Ver detalles","data-toggle","modal","data-target",".bd-example-modal-lg",1,"BotMod",3,"click"],["src","assets/img/caj.png","title","Ver productos","data-toggle","modal","data-target",".bd-example-modal-lg2",1,"BotMod",3,"click"],["src","assets/img/rec.png","title","Recibir Productos","data-toggle","modal","data-target",".bd-example-modal-lg3",1,"BotMod",3,"click"],["src","assets/img/dev.png","title","Devolver al Vendedor",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #0f0"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],[2,"width","100%","height","80%","background-color","#f5f5f5"],["colspan","3"],["colspan","2",2,"text-align","center"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #00f"],["rowspan","4",2,"text-align","center","vertical-align","middle"],["style","height:100px; width:100px; border-radius:50%; margin-right:5px;",3,"src",4,"ngIf"],[2,"height","100px","width","100px","border-radius","50%","margin-right","5px",3,"src"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #ff0"],["rowspan","3",2,"text-align","center","vertical-align","middle"],[1,"col-md-12",2,"height","95%","padding","10px","overflow","auto","border","0px solid #00f"],["scope","col",2,"text-align","left"],["scope","col",2,"text-align","right"],["colspan","8","align","center","valign","middle"],["colspan","8","align","center","valign","middle",2,"color","#856404"],["alt","",2,"height","100px","width","150px","border-radius","5px",3,"src"],[2,"text-align","left"],[2,"text-align","right"],["closeAddExpenseModal3",""],[1,"col-md-12",2,"height","100%","padding","10px","border","0px solid #0f0"],["cellpadding","10px",2,"width","100%","height","80%","background-color","#f5f5f5"],[1,"form-group"],["for","CenDis"],[2,"color","#f00"],["id","CenDis",1,"form-control",3,"ngModel","ngModelChange"],["value",""],[3,"value",4,"ngFor","ngForOf"],["for","RazDev"],["type","text","id","RazDev",1,"form-control",3,"ngModel","ngModelChange"],["src","assets/img/ace.png","title","Recibir",1,"BotModPie",3,"click"],[3,"value"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Devoluciones / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,PRe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,BRe,2,4,"th",7),u()(),c(12,"tbody"),C(13,VRe,3,1,"tr",8),C(14,HRe,3,0,"tr",8),C(15,zRe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,$Re,2,1,"span",8),u(),c(21,"td",12),C(22,qRe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),X(27,"td",12),u()()(),c(28,"div",16)(29,"div",17)(30,"div",18),C(31,XRe,8,1,"div",19),c(32,"div",20)(33,"div",21)(34,"div",22),X(35,"div",23,24),u(),C(37,JRe,44,10,"div",25),u(),c(38,"div",21),C(39,KRe,31,5,"div",26),C(40,tFe,31,5,"div",27),u()()()()(),c(41,"div",28)(42,"div",29)(43,"div",18),C(44,nFe,8,1,"div",19),c(45,"div",20)(46,"div",30),C(47,sFe,21,3,"div",31),u()()()()(),c(48,"div",32)(49,"div",33)(50,"div",34),C(51,aFe,9,1,"div",19),c(52,"div",20)(53,"div",35),C(54,cFe,27,3,"div",36),u(),c(55,"div",37),C(56,hFe,21,3,"div",31),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus),h(9),_("ngIf",i.DetDat),h(6),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat))},dependencies:[Mt,mt,Wt,Do,yo,Si,Hr,Ii,ki,Yt],styles:["#map[_ngcontent-%COMP%]{height:100%}#map[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(3){opacity:0}#map[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] button.gm-ui-hover-effect[_ngcontent-%COMP%]{display:none!important;margin:0!important;padding:0!important}#map[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(4){height:90%!important;background:#ff4b41!important;border:0px solid #f00}.gm-style-iw[_ngcontent-%COMP%]{width:90%!important;top:5px!important;left:5px!important;background-color:#ff4b41;border:0px solid #f00;border-radius:2px 2px 0 0}"]}),t})();function mFe(t,n){1&t&&X(0,"th",17)}const DH=function(t){return{"text-align":t}};function gFe(t,n){if(1&t&&(c(0,"th",18),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,DH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function _Fe(t,n){1&t&&(c(0,"tr")(1,"td",19),X(2,"mat-spinner",20),u()()),2&t&&(h(2),_("diameter",50))}function vFe(t,n){1&t&&(c(0,"tr")(1,"td",21),p(2,"No existen registros"),u()())}function bFe(t,n){if(1&t){const e=ae();c(0,"img",28),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Modificar",r))}),u()}}function DFe(t,n){if(1&t){const e=ae();c(0,"img",29),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Eliminar",r))}),u()}}function yFe(t,n){if(1&t&&(c(0,"td",25),C(1,bFe,1,0,"img",26),C(2,DFe,1,0,"img",27),u()),2&t){const e=D(2);h(1),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo)}}function MFe(t,n){if(1&t&&(c(0,"td",30),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,DH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function CFe(t,n){if(1&t&&(c(0,"tr"),C(1,yFe,3,2,"td",22),c(2,"td",23),p(3),u(),C(4,MFe,2,4,"td",24),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function xFe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function TFe(t,n){if(1&t){const e=ae();c(0,"img",31),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let wFe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"Definici\xf3n",CamMod:[{Tit:"Descripci\xf3n",Cmp:"Descripcion",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Evento",Cmp:"Evento",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Registro",Tex:"Registro"},{Val:"Solicitar servicio",Tex:"Solicitar servicio"},{Val:"Finalizar servicio",Tex:"Finalizar servicio"}]},{Tit:"Ocurrencia",Cmp:"Ocurrencia",Tip:"Entero",Req:"Si",VD:"1",Val:""},{Tit:"Usuario",Cmp:"Usuario",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Cliente",Tex:"Cliente"},{Val:"Vendedor",Tex:"Vendedor"},{Val:"Repartidor",Tex:"Repartidor"}]},{Tit:"Cantidad de viajes",Cmp:"CanVia",Tip:"Entero",Req:"No",VD:"0",Val:""},{Tit:"Zona",Cmp:"NRegZon",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"NRegistro,Nombre",Tab:"zonas",Don:"WHERE Estatus = |Activa|",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Desde",Cmp:"FecHorDes",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Hasta",Cmp:"FecHorHas",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Afecta",Cmp:"Afecta",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Billetera",Tex:"Billetera"},{Val:"Tarifa",Tex:"Tarifa"}]},{Tit:"Suma o Resta",Cmp:"SumRes",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Suma",Tex:"Suma"},{Val:"Resta",Tex:"Resta"}]},{Tit:"Tipo de variaci\xf3n",Cmp:"TipVar",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Moneda",Tex:"Moneda"},{Val:"Porcentaje",Tex:"Porcentaje"}]},{Tit:"Variaci\xf3n",Cmp:"Variacion",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Tipo de l\xedmite",Cmp:"TipLim",Tip:"Select",Req:"Si",VD:"Ninguno",Val:"",Opcs:[{Val:"Ninguno",Tex:"Ninguno"},{Val:"Moneda",Tex:"Moneda"}]},{Tit:"L\xedmite",Cmp:"Limite",Tip:"Numero",Req:"Si",VD:"0",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activa",Tex:"Activa"},{Val:"Inactiva",Tex:"Inactiva"}]}],OpcFil:"Si",CamQry:"*",Tabla:"promociones",Donde:"",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3,4,5],Col:[1,2,3]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarCmpQry(),this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarCmpQry(){for(var e=0;e<this.DGM.CamMod.length;e++)if("SelectQry"==this.DGM.CamMod[e].Tip){let i=e;this.servicios.AccSobBD("SELECT","Si",this.DGM.CamMod[e].Qry.Cmps,"","",this.DGM.CamMod[e].Qry.Tab,this.DGM.CamMod[e].Qry.Don,this.DGM.CamMod[e].Qry.Ord,"","CarVar",this,function(r,o){o.DGM.CamMod[i].Qry.Res=r.data})}}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-manpro"]],decls:29,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","class","BotMod","title","Modificar",3,"click",4,"ngIf"],["src","assets/img/eli.png","class","BotMod","title","Eliminar",3,"click",4,"ngIf"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Promociones / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,mFe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,gFe,2,4,"th",7),u()(),c(12,"tbody"),C(13,_Fe,3,1,"tr",8),C(14,vFe,3,0,"tr",8),C(15,CFe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,xFe,2,1,"span",8),u(),c(21,"td",12),C(22,TFe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(27,"td",12)(28,"img",16),R("click",function(){return i.EjeFun("Agregar","")}),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();function EFe(t,n){1&t&&X(0,"th",16)}const yH=function(t){return{"text-align":t}};function SFe(t,n){if(1&t&&(c(0,"th",17),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,yH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function kFe(t,n){1&t&&(c(0,"tr")(1,"td",18),X(2,"mat-spinner",19),u()()),2&t&&(h(2),_("diameter",50))}function AFe(t,n){1&t&&(c(0,"tr")(1,"td",20),p(2,"No existen registros"),u()())}function RFe(t,n){1&t&&X(0,"td",24)}function FFe(t,n){if(1&t&&(c(0,"td",25),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,yH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function NFe(t,n){if(1&t&&(c(0,"tr"),C(1,RFe,1,0,"td",21),c(2,"td",22),p(3),u(),C(4,FFe,2,4,"td",23),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function OFe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function IFe(t,n){if(1&t){const e=ae();c(0,"img",26),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let LFe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"Ejecuci\xf3n",CamMod:[{Tit:"Promoci\xf3n",Cmp:"DesPro",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(NRegistro,| - |,Descripcion) FROM promociones WHERE NRegistro = A.NRegPro)"},{Tit:"Vendedor",Cmp:"DesUsu",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido,| (|,Tipo,|) |) FROM usuarios WHERE NRegistro = A.NRegUsu)"},{Tit:"Descripci\xf3n",Cmp:"Descripcion",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Monto",Cmp:"Monto",Tip:"Numero",Req:"Si",VD:"0",Val:""},{Tit:"Fecha Hora",Cmp:"FecHor",Tip:"FechaHora",Req:"Si",VD:"",Val:""}],OpcFil:"Si",CamQry:"*,(SELECT CONCAT(NRegistro,| - |,Descripcion) FROM promociones WHERE NRegistro = A.NRegPro) DesPro, (SELECT CONCAT(Nombre,| |,Apellido,| (|,Tipo,|) |) FROM usuarios WHERE NRegistro = A.NRegUsu) DesUsu",Tabla:"proeje A",Donde:"",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3,4,5],Col:[1,2,3]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarCmpQry(),this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarCmpQry(){for(var e=0;e<this.DGM.CamMod.length;e++)if("SelectQry"==this.DGM.CamMod[e].Tip){let i=e;this.servicios.AccSobBD("SELECT","Si",this.DGM.CamMod[e].Qry.Cmps,"","",this.DGM.CamMod[e].Qry.Tab,this.DGM.CamMod[e].Qry.Don,this.DGM.CamMod[e].Qry.Ord,"","CarVar",this,function(r,o){o.DGM.CamMod[i].Qry.Res=r.data})}}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-ejepro"]],decls:28,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Promociones / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,EFe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,SFe,2,4,"th",7),u()(),c(12,"tbody"),C(13,kFe,3,1,"tr",8),C(14,AFe,3,0,"tr",8),C(15,NFe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,OFe,2,1,"span",8),u(),c(21,"td",12),C(22,IFe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),X(27,"td",12),u()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();function PFe(t,n){1&t&&X(0,"th",17)}const MH=function(t){return{"text-align":t}};function BFe(t,n){if(1&t&&(c(0,"th",18),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,MH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function VFe(t,n){1&t&&(c(0,"tr")(1,"td",19),X(2,"mat-spinner",20),u()()),2&t&&(h(2),_("diameter",50))}function HFe(t,n){1&t&&(c(0,"tr")(1,"td",21),p(2,"No existen registros"),u()())}function GFe(t,n){if(1&t){const e=ae();c(0,"img",28),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Modificar",r))}),u()}}function jFe(t,n){if(1&t){const e=ae();c(0,"img",29),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Eliminar",r))}),u()}}function YFe(t,n){if(1&t&&(c(0,"td",25),C(1,GFe,1,0,"img",26),C(2,jFe,1,0,"img",27),u()),2&t){const e=D(2);h(1),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo)}}function UFe(t,n){if(1&t&&(c(0,"td",30),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,MH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function WFe(t,n){if(1&t&&(c(0,"tr"),C(1,YFe,3,2,"td",22),c(2,"td",23),p(3),u(),C(4,UFe,2,4,"td",24),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function zFe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function $Fe(t,n){if(1&t){const e=ae();c(0,"img",31),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let qFe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"PQRS Recibidos",CamMod:[{Tit:"Usuario",Cmp:"NRegUsu",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"NRegistro,Nombre,Apellido",Tab:"usuarios",Don:"WHERE Estatus = |Activo|",Ord:"ORDER BY Nombre,Apellido",Res:[]}},{Tit:"PQRS",Cmp:"NRegPQRS",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"NRegistro,Tipo,Categoria",Tab:"pqrsbas",Don:"",Ord:"ORDER BY Tipo,Categoria",Res:[]}},{Tit:"Titulo",Cmp:"Titulo",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Descripcion",Cmp:"Descripcion",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Respuesta",Cmp:"Respuesta",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Nuevo",Tex:"Nuevo"},{Val:"Respondido",Tex:"Respondido"}]}],OpcFil:"Si",CamQry:"*",Tabla:"pqrsrec",Donde:"",Ordena:"ORDER BY NRegistro DESC",TabFor:{Fil:[1,2,3],Col:[1,2,3]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarCmpQry(),this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarCmpQry(){for(var e=0;e<this.DGM.CamMod.length;e++)if("SelectQry"==this.DGM.CamMod[e].Tip){let i=e;this.servicios.AccSobBD("SELECT","Si",this.DGM.CamMod[e].Qry.Cmps,"","",this.DGM.CamMod[e].Qry.Tab,this.DGM.CamMod[e].Qry.Don,this.DGM.CamMod[e].Qry.Ord,"","CarVar",this,function(r,o){o.DGM.CamMod[i].Qry.Res=r.data})}}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-pqrsrec"]],decls:29,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","class","BotMod","title","Modificar",3,"click",4,"ngIf"],["src","assets/img/eli.png","class","BotMod","title","Eliminar",3,"click",4,"ngIf"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Soporte / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,PFe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,BFe,2,4,"th",7),u()(),c(12,"tbody"),C(13,VFe,3,1,"tr",8),C(14,HFe,3,0,"tr",8),C(15,WFe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,zFe,2,1,"span",8),u(),c(21,"td",12),C(22,$Fe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(27,"td",12)(28,"img",16),R("click",function(){return i.EjeFun("Agregar","")}),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();function XFe(t,n){1&t&&X(0,"th",17)}const CH=function(t){return{"text-align":t}};function QFe(t,n){if(1&t&&(c(0,"th",18),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,CH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function JFe(t,n){1&t&&(c(0,"tr")(1,"td",19),X(2,"mat-spinner",20),u()()),2&t&&(h(2),_("diameter",50))}function ZFe(t,n){1&t&&(c(0,"tr")(1,"td",21),p(2,"No existen registros"),u()())}function KFe(t,n){if(1&t){const e=ae();c(0,"img",28),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Modificar",r))}),u()}}function eNe(t,n){if(1&t){const e=ae();c(0,"img",29),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Eliminar",r))}),u()}}function tNe(t,n){if(1&t&&(c(0,"td",25),C(1,KFe,1,0,"img",26),C(2,eNe,1,0,"img",27),u()),2&t){const e=D(2);h(1),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo)}}function nNe(t,n){if(1&t&&(c(0,"td",30),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,CH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function iNe(t,n){if(1&t&&(c(0,"tr"),C(1,tNe,3,2,"td",22),c(2,"td",23),p(3),u(),C(4,nNe,2,4,"td",24),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function rNe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function oNe(t,n){if(1&t){const e=ae();c(0,"img",31),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let sNe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"PQRS Definici\xf3n",CamMod:[{Tit:"Tipo",Cmp:"Tipo",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Petici\xf3n",Tex:"Petici\xf3n"},{Val:"Queja",Tex:"Queja"},{Val:"Reclamo",Tex:"Reclamo"},{Val:"Sugerencia",Tex:"Sugerencia"}]},{Tit:"Categoria",Cmp:"Categoria",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activa",Tex:"Activa"},{Val:"Inactiva",Tex:"Inactiva"}]}],OpcFil:"Si",CamQry:"*",Tabla:"pqrsbas",Donde:"",Ordena:"ORDER BY Tipo",TabFor:{Fil:[1,2,3],Col:[1,2]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-pqrsdef"]],decls:29,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","class","BotMod","title","Modificar",3,"click",4,"ngIf"],["src","assets/img/eli.png","class","BotMod","title","Eliminar",3,"click",4,"ngIf"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Soporte / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,XFe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,QFe,2,4,"th",7),u()(),c(12,"tbody"),C(13,JFe,3,1,"tr",8),C(14,ZFe,3,0,"tr",8),C(15,iNe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,rNe,2,1,"span",8),u(),c(21,"td",12),C(22,oNe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(27,"td",12)(28,"img",16),R("click",function(){return i.EjeFun("Agregar","")}),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();function aNe(t,n){1&t&&X(0,"th",17)}const xH=function(t){return{"text-align":t}};function lNe(t,n){if(1&t&&(c(0,"th",18),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,xH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function cNe(t,n){1&t&&(c(0,"tr")(1,"td",19),X(2,"mat-spinner",20),u()()),2&t&&(h(2),_("diameter",50))}function dNe(t,n){1&t&&(c(0,"tr")(1,"td",21),p(2,"No existen registros"),u()())}function uNe(t,n){if(1&t){const e=ae();c(0,"img",28),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Modificar",r))}),u()}}function fNe(t,n){if(1&t){const e=ae();c(0,"img",29),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Eliminar",r))}),u()}}function hNe(t,n){if(1&t&&(c(0,"td",25),C(1,uNe,1,0,"img",26),C(2,fNe,1,0,"img",27),u()),2&t){const e=D(2);h(1),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo)}}function pNe(t,n){if(1&t&&(c(0,"td",30),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,xH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function mNe(t,n){if(1&t&&(c(0,"tr"),C(1,hNe,3,2,"td",22),c(2,"td",23),p(3),u(),C(4,pNe,2,4,"td",24),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function gNe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function _Ne(t,n){if(1&t){const e=ae();c(0,"img",31),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let vNe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"Preguntas frecuentes",CamMod:[{Tit:"Usuario",Cmp:"Usuario",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Cliente",Tex:"Cliente"},{Val:"Vendedor",Tex:"Vendedor"},{Val:"Repartidor",Tex:"Repartidor"}]},{Tit:"Tema",Cmp:"Tema",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Contacto",Tex:"Contacto"},{Val:"Ser Repartidor",Tex:"Ser Repartidor"},{Val:"Datos personales",Tex:"Datos personales"},{Val:"Pedidos",Tex:"Pedidos"},{Val:"Registro",Tex:"Registro"},{Val:"Billetera",Tex:"Billetera"},{Val:"Pago",Tex:"Pago"},{Val:"Precio",Tex:"Precio"}]},{Tit:"Pregunta",Cmp:"Pregunta",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Respuesta",Cmp:"Respuesta",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activa",Tex:"Activa"},{Val:"Inactiva",Tex:"Inactiva"}]}],OpcFil:"Si",CamQry:"*",Tabla:"prefre",Donde:"",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3],Col:[1,2]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-prefre"]],decls:29,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","class","BotMod","title","Modificar",3,"click",4,"ngIf"],["src","assets/img/eli.png","class","BotMod","title","Eliminar",3,"click",4,"ngIf"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Soporte / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,aNe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,lNe,2,4,"th",7),u()(),c(12,"tbody"),C(13,cNe,3,1,"tr",8),C(14,dNe,3,0,"tr",8),C(15,mNe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,gNe,2,1,"span",8),u(),c(21,"td",12),C(22,_Ne,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(27,"td",12)(28,"img",16),R("click",function(){return i.EjeFun("Agregar","")}),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();const bNe=["closeAddExpenseModal"];function DNe(t,n){1&t&&X(0,"th",26)}const TH=function(t){return{"text-align":t}};function yNe(t,n){if(1&t&&(c(0,"th",27),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,TH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function MNe(t,n){1&t&&(c(0,"tr")(1,"td",28),X(2,"mat-spinner",29),u()()),2&t&&(h(2),_("diameter",50))}function CNe(t,n){1&t&&(c(0,"tr")(1,"td",30),p(2,"No existen registros"),u()())}function xNe(t,n){if(1&t){const e=ae();c(0,"td",34)(1,"img",35),R("click",function(){z(e);const r=D().$implicit;return q(D().Responder(r))}),u()()}}function TNe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D().$implicit,i=D().$implicit,r=D();h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function wNe(t,n){if(1&t&&X(0,"img",39),2&t){const e=D().$implicit,i=D().$implicit,r=D();nn("src","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt)}}function ENe(t,n){if(1&t&&(c(0,"td",36),C(1,TNe,2,1,"span",8),c(2,"a",37),C(3,wNe,1,3,"img",38),u()()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(6,TH,r.servicios.AliCamMod(e.Tip))),h(1),_("ngIf","Imagen"!=e.Tip),h(1),nn("href","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt),h(1),_("ngIf","Imagen"==e.Tip)}}function SNe(t,n){if(1&t&&(c(0,"tr"),C(1,xNe,2,0,"td",31),c(2,"td",32),p(3),u(),C(4,ENe,4,8,"td",33),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function kNe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function ANe(t,n){if(1&t){const e=ae();c(0,"img",40),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function RNe(t,n){if(1&t&&(c(0,"div",0),p(1,"Detalles del reclamo N\xba: "),c(2,"span",1),p(3),u(),c(4,"div",41)(5,"a",42,43)(7,"strong"),p(8,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.NRegistro)}}function FNe(t,n){if(1&t&&X(0,"img",49),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotUsu,"",rt)}}function NNe(t,n){if(1&t&&(c(0,"div",44)(1,"div",45)(2,"h3"),p(3,"Usuario"),u()(),c(4,"table",46)(5,"tr")(6,"td",47),C(7,FNe,1,2,"img",48),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()()()()),2&t){const e=D();h(7),_("ngIf",e.DetDat.FotUsu),h(5),I(e.DetDat.DesUsu),h(6),I(e.DetDat.TelUsu),h(6),I(e.DetDat.EmaUsu)}}function ONe(t,n){if(1&t&&(c(0,"div",50)(1,"div",45)(2,"h3"),p(3,"Reclamo"),u()(),c(4,"table",51)(5,"tr")(6,"td")(7,"strong"),p(8,"Motivo: "),u(),c(9,"span"),p(10),u()()(),c(11,"tr")(12,"td")(13,"strong"),p(14,"Tema: "),u(),c(15,"span"),p(16),u()()(),c(17,"tr")(18,"td")(19,"strong"),p(20,"Comentarios: "),u(),c(21,"span"),p(22),u()()()()()),2&t){const e=D();h(10),I(e.DetDat.Motivo),h(6),I(e.DetDat.Tema),h(6),I(e.DetDat.Comentarios)}}function INe(t,n){if(1&t&&X(0,"img",55),2&t){const e=D(2);Mn("src","",e.ApiImg,"fotoreclamo/",e.DetDat.Foto,"",rt)}}function LNe(t,n){if(1&t&&(c(0,"div",52)(1,"div",45)(2,"h3"),p(3,"Foto"),u()(),c(4,"table",51)(5,"tr")(6,"td",53),C(7,INe,1,2,"img",54),u()()()()),2&t){const e=D();h(7),_("ngIf",e.DetDat.Foto)}}function PNe(t,n){if(1&t){const e=ae();c(0,"div",56)(1,"div",45)(2,"h3"),p(3,"Respuesta"),u()(),c(4,"table",57)(5,"tr",58)(6,"td",59)(7,"div",60)(8,"textarea",61),R("ngModelChange",function(r){return z(e),q(D().TexRes=r)}),u(),c(9,"div",62)(10,"button",63),R("click",function(){z(e);const r=D();return q(r.EnvRes(r.DetDat))}),p(11,"Enviar"),u()()()()()()()}if(2&t){const e=D();h(8),_("ngModel",e.TexRes)}}let BNe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.ApiImg="",this.DonBus="",this.OJE=[],this.TexRes="",this.DGM={Nombre:"Reclamos",CamMod:[{Tit:"Usuario",Cmp:"DesUsu",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido,| (|,Tipo,|)|) FROM usuarios WHERE NRegistro = A.NRegUsu)"},{Tit:"Motivo",Cmp:"Motivo",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Tema",Cmp:"Tema",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Comentarios",Cmp:"Comentarios",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Foto",Cmp:"Foto",Tip:"Imagen",Req:"Si",VD:"fpd.png",Val:"",Car:"fotoreclamo"},{Tit:"Fecha Registro",Cmp:"FecHorReg",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Nuevo",Tex:"Nuevo"},{Val:"Respondido",Tex:"Respondido"}]}],OpcFil:"Si",CamQry:"*,(SELECT CONCAT(Nombre,| |,Apellido,| (|,Tipo,|)|) FROM usuarios WHERE NRegistro = A.NRegUsu) DesUsu,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegUsu) FotUsu,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegUsu) TelUsu,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegUsu) EmaUsu",Tabla:"reclamos A",Donde:"WHERE Estatus = |Nuevo|",Ordena:"ORDER BY NRegistro DESC",TabFor:{Fil:[1,2,3],Col:[1,2,3]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}Responder(e){this.DetDat=e}EnvRes(e){this.servicios.ValCam("TexRes","Respuesta","Texto",this.TexRes,"Si")&&(this.servicios.VPB=0,(new Date).toISOString(),this.servicios.AccSobBD("UPDATE","No","","","NRegUsuSop = |"+this.UsuMat.NRegistro+"|, Respuesta = |"+this.TexRes+"|, FecHorRes = NOW(), Estatus = |Respondida|","reclamos","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(r,o){o.servicios.VPB=100,o.TexRes="",o.CarLis(),o.closeAddExpenseModal.nativeElement.click()}))}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-rectar"]],viewQuery:function(e,i){if(1&e&&Ht(bNe,5),2&e){let r;lt(r=ct())&&(i.closeAddExpenseModal=r.first)}},decls:39,vars:13,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Mostrar todos los registros",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","50% !important"],[1,"modal-content",2,"height","550px"],["class","TitMod",4,"ngIf"],[1,"container-fluid"],[1,"row",2,"height","250px !important"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #f00;",4,"ngIf"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #00f;",4,"ngIf"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #ff0;",4,"ngIf"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/res.png","title","Responder","data-toggle","modal","data-target",".bd-example-modal-lg",1,"BotMod",3,"click"],[3,"ngStyle"],["target","_blank",3,"href"],["style","height:100px; border-radius:5px;",3,"src",4,"ngIf"],[2,"height","100px","border-radius","5px",3,"src"],["src","assets/img/ref.png","title","Mostrar todos los registros",1,"BotModPie",3,"click"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],["closeAddExpenseModal",""],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #f00"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],[2,"width","100%","height","80%","background-color","#f5f5f5"],["rowspan","3",2,"text-align","center","vertical-align","middle"],["style","height:100px; width:100px; border-radius:50%; margin-right:5px;",3,"src",4,"ngIf"],[2,"height","100px","width","100px","border-radius","50%","margin-right","5px",3,"src"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #0f0"],["cellpadding","10",2,"width","100%","height","80%","background-color","#f5f5f5"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #00f"],[2,"text-align","center","vertical-align","middle"],["style","height:150px;",3,"src",4,"ngIf"],[2,"height","150px",3,"src"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #ff0"],[2,"width","100%"],[2,"padding","5px"],[2,"vertical-align","middle"],[1,"input-group","mb-3",2,"margin-top","30px"],["aria-label","Recipient's username","aria-describedby","button-addon2","rows","4","id","TexRes",1,"form-control",2,"resize","none",3,"ngModel","ngModelChange"],[1,"input-group-append"],["type","button","id","button-addon2",1,"btn","btn-outline-secondary",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,DNe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,yNe,2,4,"th",7),u()(),c(12,"tbody"),C(13,MNe,3,1,"tr",8),C(14,CNe,3,0,"tr",8),C(15,SNe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,kNe,2,1,"span",8),u(),c(21,"td",12),C(22,ANe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),X(27,"td",12),u()()(),c(28,"div",16)(29,"div",17)(30,"div",18),C(31,RNe,9,1,"div",19),c(32,"div",20)(33,"div",21),C(34,NNe,25,4,"div",22),C(35,ONe,23,3,"div",23),u(),c(36,"div",21),C(37,LNe,8,1,"div",24),C(38,PNe,12,1,"div",25),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus),h(9),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat))},dependencies:[Mt,mt,Wt,Si,Ii,ki,Yt]}),t})();const VNe=["DivCha"];function HNe(t,n){1&t&&X(0,"th",27)}const wH=function(t){return{"text-align":t}};function GNe(t,n){if(1&t&&(c(0,"th",28),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,wH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function jNe(t,n){1&t&&(c(0,"tr")(1,"td",29),X(2,"mat-spinner",30),u()()),2&t&&(h(2),_("diameter",50))}function YNe(t,n){1&t&&(c(0,"tr")(1,"td",31),p(2,"No existen registros"),u()())}function UNe(t,n){if(1&t){const e=ae();c(0,"td",35)(1,"img",36),R("click",function(){z(e);const r=D().$implicit;return q(D().Responder(r))}),u()()}}function WNe(t,n){if(1&t&&(c(0,"td",37),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,wH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function zNe(t,n){if(1&t&&(c(0,"tr"),C(1,UNe,2,0,"td",32),c(2,"td",33),p(3),u(),C(4,WNe,2,4,"td",34),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function $Ne(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function qNe(t,n){if(1&t){const e=ae();c(0,"img",38),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function XNe(t,n){if(1&t&&(c(0,"div",0),p(1,"Responder consulta de: "),c(2,"span",1),p(3),u(),c(4,"div",39)(5,"a",40)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.DesUsu)}}function QNe(t,n){if(1&t&&X(0,"img",46),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotUsu,"",rt)}}function JNe(t,n){if(1&t&&(c(0,"div",41)(1,"div",42)(2,"h3"),p(3,"Usuario"),u()(),c(4,"table",43)(5,"tr")(6,"td",44),C(7,QNe,1,2,"img",45),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()()()()),2&t){const e=D();h(7),_("ngIf",e.DetDat.FotUsu),h(5),I(e.DetDat.DesUsu),h(6),I(e.DetDat.TelUsu),h(6),I(e.DetDat.EmaUsu)}}function ZNe(t,n){if(1&t&&(c(0,"div",47)(1,"div",42)(2,"h3"),p(3,"Consulta actual"),u()(),c(4,"table",43)(5,"tr",48)(6,"td",49)(7,"strong"),p(8,"Tema: "),u(),c(9,"span"),p(10),u()()(),c(11,"tr",50)(12,"td",51)(13,"strong"),p(14,"Consulta: "),u(),c(15,"span"),p(16),u()()()()()),2&t){const e=D();h(10),I(e.DetDat.Tema),h(6),I(e.DetDat.Consulta)}}function KNe(t,n){1&t&&(c(0,"div",56),X(1,"mat-spinner",30),u()),2&t&&(h(1),_("diameter",50))}function eOe(t,n){if(1&t&&(c(0,"p")(1,"strong"),p(2,"Respuesta: "),u(),p(3),X(4,"br"),c(5,"strong",59)(6,"em"),p(7),u()()()),2&t){const e=D().$implicit,i=D(2);h(3),Be("",e.Respuesta," "),h(4),I(i.servicios.ForFecHorPeq(e.FecHorRes))}}function tOe(t,n){if(1&t&&(c(0,"div",57)(1,"h4",58),p(2),u(),c(3,"p")(4,"strong"),p(5,"Consulta: "),u(),p(6),X(7,"br"),c(8,"strong",59)(9,"em"),p(10),u()()(),C(11,eOe,8,2,"p",8),u()),2&t){const e=n.$implicit,i=D(2);h(2),I(e.Tema),h(4),Be("",e.Consulta," "),h(4),I(i.servicios.ForFecHorPeq(e.FecHorCon)),h(1),_("ngIf",""!=e.Respuesta)}}function nOe(t,n){if(1&t&&(c(0,"div",52)(1,"div",42)(2,"h3"),p(3,"Hilo de consultas"),u()(),c(4,"div",53),C(5,KNe,2,1,"div",54),C(6,tOe,12,4,"div",55),u()()),2&t){const e=D();h(5),_("ngIf",!e.DetDetCon),h(1),_("ngForOf",e.DetDetCon)}}function iOe(t,n){if(1&t){const e=ae();c(0,"div",60)(1,"div",42)(2,"h3"),p(3,"Respuesta"),u()(),c(4,"table",61)(5,"tr",49)(6,"div",62)(7,"textarea",63),R("ngModelChange",function(r){return z(e),q(D().TexRes=r)}),u(),c(8,"div",64)(9,"button",65),R("click",function(){z(e);const r=D();return q(r.EnvRes(r.DetDat))}),p(10,"Enviar"),u()()()()()()}if(2&t){const e=D();h(7),_("ngModel",e.TexRes)}}let rOe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.TexRes="",this.DGM={Nombre:"Consultas",CamMod:[{Tit:"Usuario",Cmp:"DesUsu",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido,| (|,Tipo,|)|) FROM usuarios WHERE NRegistro = A.NRegUsu)"},{Tit:"Tema",Cmp:"Tema",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Billetera",Tex:"Billetera"},{Val:"Favoritos",Tex:"Favoritos"},{Val:"Pago",Tex:"Pago"},{Val:"Precio",Tex:"Precio"},{Val:"Viaje",Tex:"Viaje"}]},{Tit:"Consulta",Cmp:"Consulta",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Consultado",Cmp:"FecHorCon",Tip:"FechaHora",Req:"Si",VD:"",Val:""}],OpcFil:"Si",CamQry:"*,(SELECT CONCAT(Nombre,| |,Apellido,| (|,Tipo,|)|) FROM usuarios WHERE NRegistro = A.NRegUsu) DesUsu,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegUsu) FotUsu,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegUsu) TelUsu,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegUsu) EmaUsu",Tabla:"consultas A",Donde:"WHERE Estatus = |Nueva|",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3],Col:[1,2]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}Responder(e){this.DetDat=e,this.CarDetDetCon(this.DetDat)}EnvRes(e){this.servicios.ValCam("TexRes","Respuesta","Texto",this.TexRes,"Si")&&(this.servicios.VPB=0,(new Date).toISOString(),this.servicios.AccSobBD("UPDATE","No","","","NRegUsuSop = |"+this.UsuMat.NRegistro+"|, Respuesta = |"+this.TexRes+"|, FecHorRes = NOW(), Estatus = |Respondida|","consultas","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(r,o){o.servicios.VPB=100,o.TexRes="",o.CarDetDetCon(o.DetDat)}))}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}CarDetDetCon(e){this.servicios.AccSobBD("SELECT","Si","*","","","consultas","WHERE NRegUsu="+e.NRegUsu,"ORDER BY FecHorCon","","CarVar",this,function(i,r){r.DetDetCon=i.data,document.getElementById("DivCha").scrollTop=999999})}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-consul"]],viewQuery:function(e,i){if(1&e&&Ht(VNe,5),2&e){let r;lt(r=ct())&&(i.myScrollContainer=r.first)}},decls:40,vars:13,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","50% !important"],[1,"modal-content",2,"height","550px"],["class","TitMod",4,"ngIf"],[1,"container-fluid"],[1,"row",2,"height","500px !important"],[1,"col-md-6",2,"padding","0"],["class","col-md-12","style","height:50%; padding:10px; border:0px solid #f00;",4,"ngIf"],["class","col-md-12","style","height:50%; padding:10px; border:0px solid #00f;",4,"ngIf"],["class","col-md-12","style","height:75%; padding:10px; border:0px solid #0f0;",4,"ngIf"],["class","col-md-12 align-items-end","style","height:25%; padding:10px; border:0px solid #ff0;",4,"ngIf"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/res.png","title","Responder","data-toggle","modal","data-target",".bd-example-modal-lg",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],[1,"col-md-12",2,"height","50%","padding","10px","border","0px solid #f00"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],[2,"width","100%","height","80%","background-color","#f5f5f5"],["rowspan","3",2,"text-align","center","vertical-align","middle"],["style","height:100px; width:100px; border-radius:50%; margin-right:5px;",3,"src",4,"ngIf"],[2,"height","100px","width","100px","border-radius","50%","margin-right","5px",3,"src"],[1,"col-md-12",2,"height","50%","padding","10px","border","0px solid #00f"],[2,"height","15%","background-color","#f0f0f0","padding","5px"],[2,"padding","5px"],[2,"height","85%"],[2,"vertical-align","top","padding","10px"],[1,"col-md-12",2,"height","75%","padding","10px","border","0px solid #0f0"],["id","DivCha",2,"width","100%","height","90%","background-color","#f5f5f5","overflow","auto","text-align","center"],["style","width:98%; margin:2%; padding:1%;",4,"ngIf"],["style","width:98%; margin:2%; padding:1%; text-align:justify; border-bottom: 1px dotted #aaa;",4,"ngFor","ngForOf"],[2,"width","98%","margin","2%","padding","1%"],[2,"width","98%","margin","2%","padding","1%","text-align","justify","border-bottom","1px dotted #aaa"],[2,"text-align","center","color","#555"],[2,"color","#777","font-size","12px"],[1,"col-md-12","align-items-end",2,"height","25%","padding","10px","border","0px solid #ff0"],[2,"width","100%"],[1,"input-group","mb-3"],["aria-label","Recipient's username","aria-describedby","button-addon2","rows","2","id","TexRes",1,"form-control",2,"resize","none",3,"ngModel","ngModelChange"],[1,"input-group-append"],["type","button","id","button-addon2",1,"btn","btn-outline-secondary",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Soporte / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,HNe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,GNe,2,4,"th",7),u()(),c(12,"tbody"),C(13,jNe,3,1,"tr",8),C(14,YNe,3,0,"tr",8),C(15,zNe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,$Ne,2,1,"span",8),u(),c(21,"td",12),C(22,qNe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),X(27,"td",12),u()()(),c(28,"div",16)(29,"div",17)(30,"div",18),C(31,XNe,8,1,"div",19),c(32,"div",20)(33,"div",21)(34,"div",22),C(35,JNe,25,4,"div",23),C(36,ZNe,17,2,"div",24),u(),c(37,"div",22),C(38,nOe,7,2,"div",25),C(39,iOe,11,1,"div",26),u()()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus),h(9),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat))},dependencies:[Mt,mt,Wt,Si,Ii,ki,Yt]}),t})();function oOe(t,n){1&t&&X(0,"th",17)}const EH=function(t){return{"text-align":t}};function sOe(t,n){if(1&t&&(c(0,"th",18),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,EH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function aOe(t,n){1&t&&(c(0,"tr")(1,"td",19),X(2,"mat-spinner",20),u()()),2&t&&(h(2),_("diameter",50))}function lOe(t,n){1&t&&(c(0,"tr")(1,"td",21),p(2,"No existen registros"),u()())}function cOe(t,n){if(1&t){const e=ae();c(0,"td",25)(1,"img",26),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Modificar",r))}),u(),c(2,"img",27),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Eliminar",r))}),u()()}}function dOe(t,n){if(1&t&&(c(0,"td",28),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,EH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function uOe(t,n){if(1&t&&(c(0,"tr"),C(1,cOe,3,0,"td",22),c(2,"td",23),p(3),u(),C(4,dOe,2,4,"td",24),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function fOe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function hOe(t,n){if(1&t){const e=ae();c(0,"img",29),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let pOe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"Administradores",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Apellido",Cmp:"Apellido",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Telefono",Cmp:"Telefono",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Email",Cmp:"Email",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Password",Cmp:"Password",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Tipo",Cmp:"Tipo",Tip:"Texto",Req:"Si",VD:"Admin",Val:"",Blo:"Si"},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Bloqueado",Tex:"Bloqueado"}]}],OpcFil:"Si",CamQry:"*",Tabla:"usuarios",Donde:"WHERE Tipo = |Admin|",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3,4],Col:[1,2]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-manadm"]],decls:29,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Usuarios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,oOe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,sOe,2,4,"th",7),u()(),c(12,"tbody"),C(13,aOe,3,1,"tr",8),C(14,lOe,3,0,"tr",8),C(15,uOe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,fOe,2,1,"span",8),u(),c(21,"td",12),C(22,hOe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(27,"td",12)(28,"img",16),R("click",function(){return i.EjeFun("Agregar","")}),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();function mOe(t,n){1&t&&X(0,"th",17)}const SH=function(t){return{"text-align":t}};function gOe(t,n){if(1&t&&(c(0,"th",18),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,SH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function _Oe(t,n){1&t&&(c(0,"tr")(1,"td",19),X(2,"mat-spinner",20),u()()),2&t&&(h(2),_("diameter",50))}function vOe(t,n){1&t&&(c(0,"tr")(1,"td",21),p(2,"No existen registros"),u()())}function bOe(t,n){if(1&t){const e=ae();c(0,"td",25)(1,"img",26),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Modificar",r))}),u(),c(2,"img",27),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Eliminar",r))}),u()()}}function DOe(t,n){if(1&t&&(c(0,"td",28),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,SH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function yOe(t,n){if(1&t&&(c(0,"tr"),C(1,bOe,3,0,"td",22),c(2,"td",23),p(3),u(),C(4,DOe,2,4,"td",24),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function MOe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function COe(t,n){if(1&t){const e=ae();c(0,"img",29),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let xOe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"Soporte",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Apellido",Cmp:"Apellido",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Telefono",Cmp:"Telefono",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Email",Cmp:"Email",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Password",Cmp:"Password",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Tipo",Cmp:"Tipo",Tip:"Texto",Req:"Si",VD:"Soporte",Val:"",Blo:"Si"},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Bloqueado",Tex:"Bloqueado"}]}],OpcFil:"Si",CamQry:"*",Tabla:"usuarios",Donde:"WHERE Tipo = |Soporte|",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3,4],Col:[1,2]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-mansop"]],decls:29,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Usuarios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,mOe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,gOe,2,4,"th",7),u()(),c(12,"tbody"),C(13,_Oe,3,1,"tr",8),C(14,vOe,3,0,"tr",8),C(15,yOe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,MOe,2,1,"span",8),u(),c(21,"td",12),C(22,COe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(27,"td",12)(28,"img",16),R("click",function(){return i.EjeFun("Agregar","")}),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();function TOe(t,n){1&t&&X(0,"th",17)}const kH=function(t){return{"text-align":t}};function wOe(t,n){if(1&t&&(c(0,"th",18),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,kH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function EOe(t,n){1&t&&(c(0,"tr")(1,"td",19),X(2,"mat-spinner",20),u()()),2&t&&(h(2),_("diameter",50))}function SOe(t,n){1&t&&(c(0,"tr")(1,"td",21),p(2,"No existen registros"),u()())}function kOe(t,n){if(1&t){const e=ae();c(0,"td",25)(1,"img",26),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Modificar",r))}),u(),c(2,"img",27),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Eliminar",r))}),u()()}}function AOe(t,n){if(1&t&&(c(0,"td",28),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,kH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function ROe(t,n){if(1&t&&(c(0,"tr"),C(1,kOe,3,0,"td",22),c(2,"td",23),p(3),u(),C(4,AOe,2,4,"td",24),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function FOe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function NOe(t,n){if(1&t){const e=ae();c(0,"img",29),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let OOe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"Supervisores",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Apellido",Cmp:"Apellido",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Telefono",Cmp:"Telefono",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Email",Cmp:"Email",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Password",Cmp:"Password",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Tipo",Cmp:"Tipo",Tip:"Texto",Req:"Si",VD:"Supervisor",Val:"",Blo:"Si"},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Bloqueado",Tex:"Bloqueado"}]}],OpcFil:"Si",CamQry:"*",Tabla:"usuarios",Donde:"WHERE Tipo = |Supervisor|",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3,4],Col:[1,2]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-mansup"]],decls:29,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Usuarios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,TOe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,wOe,2,4,"th",7),u()(),c(12,"tbody"),C(13,EOe,3,1,"tr",8),C(14,SOe,3,0,"tr",8),C(15,ROe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,FOe,2,1,"span",8),u(),c(21,"td",12),C(22,NOe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(27,"td",12)(28,"img",16),R("click",function(){return i.EjeFun("Agregar","")}),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();function IOe(t,n){1&t&&X(0,"th",17)}const AH=function(t){return{"text-align":t}};function LOe(t,n){if(1&t&&(c(0,"th",18),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,AH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function POe(t,n){1&t&&(c(0,"tr")(1,"td",19),X(2,"mat-spinner",20),u()()),2&t&&(h(2),_("diameter",50))}function BOe(t,n){1&t&&(c(0,"tr")(1,"td",21),p(2,"No existen registros"),u()())}function VOe(t,n){if(1&t){const e=ae();c(0,"td",25)(1,"img",26),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Modificar",r))}),u(),c(2,"img",27),R("click",function(){z(e);const r=D().$implicit;return q(D().EjeFun("Eliminar",r))}),u()()}}function HOe(t,n){if(1&t&&(c(0,"td",28),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,AH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function GOe(t,n){if(1&t&&(c(0,"tr"),C(1,VOe,3,0,"td",22),c(2,"td",23),p(3),u(),C(4,HOe,2,4,"td",24),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function jOe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function YOe(t,n){if(1&t){const e=ae();c(0,"img",29),R("click",function(){return z(e),q(D().Refrescar())}),u()}}let UOe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"Contadores",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Apellido",Cmp:"Apellido",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Telefono",Cmp:"Telefono",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Email",Cmp:"Email",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Password",Cmp:"Password",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Tipo",Cmp:"Tipo",Tip:"Texto",Req:"Si",VD:"Contador",Val:"",Blo:"Si"},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Bloqueado",Tex:"Bloqueado"}]}],OpcFil:"Si",CamQry:"*",Tabla:"usuarios",Donde:"WHERE Tipo = |Contador|",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3,4],Col:[1,2]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-mancon"]],decls:29,vars:8,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Usuarios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,IOe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,LOe,2,4,"th",7),u()(),c(12,"tbody"),C(13,POe,3,1,"tr",8),C(14,BOe,3,0,"tr",8),C(15,GOe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,jOe,2,1,"span",8),u(),c(21,"td",12),C(22,YOe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(27,"td",12)(28,"img",16),R("click",function(){return i.EjeFun("Agregar","")}),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus))},dependencies:[Mt,mt,Wt,Yt]}),t})();function WOe(t,n){1&t&&X(0,"th",30)}const RH=function(t){return{"text-align":t}};function zOe(t,n){if(1&t&&(c(0,"th",31),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,RH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function $Oe(t,n){1&t&&(c(0,"tr")(1,"td",32),X(2,"mat-spinner",33),u()()),2&t&&(h(2),_("diameter",50))}function qOe(t,n){1&t&&(c(0,"tr")(1,"td",34),p(2,"No existen registros"),u()())}function XOe(t,n){if(1&t){const e=ae();c(0,"img",41),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Modificar",r))}),u()}}function QOe(t,n){if(1&t){const e=ae();c(0,"img",42),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Eliminar",r))}),u()}}function JOe(t,n){if(1&t&&(c(0,"td",38),C(1,XOe,1,0,"img",39),C(2,QOe,1,0,"img",40),u()),2&t){const e=D(2);h(1),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo)}}function ZOe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D().$implicit,i=D().$implicit,r=D();h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function KOe(t,n){if(1&t&&X(0,"img",46),2&t){const e=D().$implicit,i=D().$implicit,r=D();nn("src","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt)}}function eIe(t,n){if(1&t&&(c(0,"td",43),C(1,ZOe,2,1,"span",8),c(2,"a",44),C(3,KOe,1,3,"img",45),u()()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(6,RH,r.servicios.AliCamMod(e.Tip))),h(1),_("ngIf","Imagen"!=e.Tip),h(1),nn("href","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt),h(1),_("ngIf","Imagen"==e.Tip)}}function tIe(t,n){if(1&t&&(c(0,"tr"),C(1,JOe,3,2,"td",35),c(2,"td",36),p(3),u(),C(4,eIe,4,8,"td",37),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function nIe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function iIe(t,n){if(1&t){const e=ae();c(0,"img",47),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function rIe(t,n){if(1&t){const e=ae();c(0,"img",48),R("click",function(){return z(e),q(D().EjeFun("Agregar",""))}),u()}}function oIe(t,n){if(1&t&&(c(0,"div",0),p(1,"Billetera de "),c(2,"span",1),p(3),u(),c(4,"div",49)(5,"a",50)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,"")}}function sIe(t,n){if(1&t&&X(0,"img",57),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotPer,"",rt)}}function aIe(t,n){if(1&t&&(c(0,"div",51)(1,"div",52)(2,"h3"),p(3),u()(),c(4,"table",53)(5,"tr")(6,"td",54),C(7,sIe,1,2,"img",55),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()(),c(25,"tr")(26,"td",56)(27,"strong"),p(28,"Puntos: "),u(),c(29,"span"),p(30),u()()()()()),2&t){const e=D();h(3),I(e.DetDat.Tipo),h(4),_("ngIf",e.DetDat.FotPer),h(5),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,""),h(6),I(e.DetDat.Telefono),h(6),I(e.DetDat.Email),h(6),I(e.DetDat.Puntos)}}function lIe(t,n){if(1&t){const e=ae();c(0,"div",62)(1,"input",63),R("ngModelChange",function(r){return z(e),q(D(2).MonAju=r)}),u(),c(2,"div",64)(3,"button",65),R("click",function(){z(e);const r=D(2);return q(r.AjuSal(r.DetDat))}),p(4,"Ajustar"),u()()()}if(2&t){const e=D(2);h(1),_("ngModel",e.MonAju)}}const FH=function(t){return{color:t}};function cIe(t,n){if(1&t&&(c(0,"div",58)(1,"div",52)(2,"h3"),p(3,"Saldo"),u()(),c(4,"table",53)(5,"tr")(6,"td",59),p(7),u()(),c(8,"tr")(9,"td",60),C(10,lIe,5,1,"div",61),u()()()()),2&t){const e=D();h(6),_("ngStyle",ke(3,FH,e.servicios.ColSal(e.DetDat.Saldo))),h(1),I(e.servicios.NumFor(e.DetDat.Saldo,2)),h(3),_("ngIf","Admin"==e.UsuMat.Tipo)}}function dIe(t,n){1&t&&(c(0,"tr")(1,"td",69),X(2,"mat-spinner",33),u()()),2&t&&(h(2),_("diameter",50))}function uIe(t,n){1&t&&(c(0,"tr")(1,"td",70),p(2,"No existen registros"),u()())}function fIe(t,n){if(1&t&&(c(0,"tr",43)(1,"td"),p(2),u(),c(3,"td"),p(4),u(),c(5,"td",71),p(6),u(),c(7,"td",36),p(8),u()()),2&t){const e=n.$implicit,i=D(2);_("ngStyle",ke(5,FH,i.servicios.ColMon(e.Monto))),h(2),I(e.Transaccion),h(2),I(e.Descripcion),h(2),I(i.servicios.NumFor(e.Monto,2)),h(2),I(i.servicios.ForFecHor(e.FecHor))}}function hIe(t,n){if(1&t&&(c(0,"div",66)(1,"div",52)(2,"h3"),p(3,"Detalle de Transacciones"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr")(7,"th",67),p(8,"Transacci\xf3n"),u(),c(9,"th",67),p(10,"Descripci\xf3n"),u(),c(11,"th",68),p(12,"Monto"),u(),c(13,"th",6),p(14,"Fecha Hora"),u()()(),c(15,"tbody"),C(16,dIe,3,1,"tr",8),C(17,uIe,3,0,"tr",8),C(18,fIe,9,7,"tr",37),u()()()),2&t){const e=D();h(16),_("ngIf",!e.Trans),h(1),_("ngIf",e.Trans&&0==e.Trans.length),h(1),_("ngForOf",e.Trans)}}function pIe(t,n){if(1&t&&(c(0,"div",0),p(1,"Tarjetas de "),c(2,"span",1),p(3),u(),c(4,"div",49)(5,"a",50)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,"")}}function mIe(t,n){1&t&&(c(0,"tr")(1,"td",69),X(2,"mat-spinner",33),u()()),2&t&&(h(2),_("diameter",50))}function gIe(t,n){1&t&&(c(0,"tr")(1,"td",70),p(2,"No existen registros"),u()())}function _Ie(t,n){if(1&t){const e=ae();c(0,"img",77),R("click",function(){z(e);const r=D().$implicit;return q(D(2).BloTar(r))}),u()}}function vIe(t,n){if(1&t){const e=ae();c(0,"img",78),R("click",function(){z(e);const r=D().$implicit;return q(D(2).ActTar(r))}),u()}}function bIe(t,n){if(1&t&&(c(0,"tr")(1,"td",38),C(2,_Ie,1,0,"img",74),C(3,vIe,1,0,"img",75),u(),c(4,"td",76),p(5),u(),c(6,"td",76),p(7),u(),c(8,"td",76),p(9),u(),c(10,"td",76),p(11),u(),c(12,"td",76),p(13),u(),c(14,"td",36),p(15),u()()),2&t){const e=n.$implicit;h(2),_("ngIf","Activa"==e.Estatus),h(1),_("ngIf","Bloqueada"==e.Estatus),h(2),I(e.Tipo),h(2),I(e.TitTar),h(2),Be("****-****-****-",e.NumTar.substr(-4),""),h(2),I(e.VenTar),h(2),Be("**",e.CodTar.substr(-1),""),h(2),I(e.Estatus)}}function DIe(t,n){if(1&t&&(c(0,"div",72)(1,"div",52)(2,"h3"),p(3,"Lista de Tarjetas"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr"),X(7,"th",30),c(8,"th",73),p(9,"Tipo"),u(),c(10,"th",73),p(11,"Titular"),u(),c(12,"th",73),p(13,"Numero"),u(),c(14,"th",73),p(15,"Vence"),u(),c(16,"th",73),p(17,"CSC"),u(),c(18,"th",6),p(19,"Estado"),u()()(),c(20,"tbody"),C(21,mIe,3,1,"tr",8),C(22,gIe,3,0,"tr",8),C(23,bIe,16,8,"tr",9),u()()()),2&t){const e=D();h(21),_("ngIf",!e.Tarje),h(1),_("ngIf",e.Tarje&&0==e.Tarje.length),h(1),_("ngForOf",e.Tarje)}}let yIe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.FecHorAct=(new Date).toISOString(),this.FecAct=this.FecHorAct.substr(0,10),this.DGM={Nombre:"Clientes",CamMod:[{Tit:"Foto Perfil",Cmp:"FotPer",Tip:"Imagen",Req:"Si",VD:"fpd.png",Val:"",Car:"usu"},{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Apellido",Cmp:"Apellido",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Telefono",Cmp:"Telefono",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Email",Cmp:"Email",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Departamento",Cmp:"Departamento",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"Nombre,Nombre",Tab:"departamentos",Don:"",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Municipio",Cmp:"Municipio",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"Nombre,Nombre",Tab:"municipios",Don:"",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Direcci\xf3n",Cmp:"Domicilio",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Password",Cmp:"Password",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Puntos",Cmp:"Puntos",Tip:"Numero",Req:"Si",VD:"100",Val:"",Blo:"Si"},{Tit:"Registro",Cmp:"FecHorReg",Tip:"FechaHora",Req:"Si",VD:this.FecAct,Val:this.FecAct,Blo:"Si"},{Tit:"Tipo",Cmp:"Tipo",Tip:"Texto",Req:"Si",VD:"Cliente",Val:"",Blo:"Si"},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Bloqueado",Tex:"Bloqueado"}]}],OpcFil:"Si",CamQry:"*",Tabla:"usuarios",Donde:"WHERE Tipo = |Cliente|",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3,4],Col:[1,2,3,4]},Carpeta:"usu"},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis(),this.CarCmpQry()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}Detalles(e){this.DetDat=e,this.CarTra(this.DetDat.NRegistro)}Tarjetas(e){this.DetDat=e,this.CarTar(this.DetDat.NRegistro)}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}CarCmpQry(){for(var e=0;e<this.DGM.CamMod.length;e++)if("SelectQry"==this.DGM.CamMod[e].Tip){let i=e;this.servicios.AccSobBD("SELECT","Si",this.DGM.CamMod[e].Qry.Cmps,"","",this.DGM.CamMod[e].Qry.Tab,this.DGM.CamMod[e].Qry.Don,this.DGM.CamMod[e].Qry.Ord,"","CarVar",this,function(r,o){o.DGM.CamMod[i].Qry.Res=r.data})}}CarTra(e){this.servicios.AccSobBD("SELECT","Si","*","","","billetera","WHERE NRegUsu = "+e,"ORDER BY FecHor DESC","","CarVar",this,function(i,r){r.Trans=i.data})}CarTar(e){this.servicios.AccSobBD("SELECT","Si","*","","","dattar","WHERE NRegUsu = "+e,"ORDER BY TitTar","","CarVar",this,function(i,r){r.Tarje=i.data})}ActTar(e){this.servicios.AccSobBD("UPDATE","No","","","Estatus = |Activa|","dattar","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(i,r){r.CarTar(r.DetDat.NRegistro)})}BloTar(e){this.servicios.AccSobBD("UPDATE","No","","","Estatus = |Bloqueada|","dattar","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(i,r){r.CarTar(r.DetDat.NRegistro)})}AjuSal(e){this.servicios.VPB=0,(new Date).toISOString(),this.servicios.AccSobBD("INSERT","No","NRegUsu,Transaccion,Descripcion,Monto,FecHor","|"+e.NRegistro+"|,|Ajuste|,|Ajuste de saldo realizado por "+this.UsuMat.NRegistro+" - "+this.UsuMat.Nombre+" "+this.UsuMat.Apellido+" ("+this.UsuMat.Tipo+")|,"+this.MonAju+",NOW()","","billetera","","","","Ins",this,function(r,o){o.servicios.VPB=50,o.servicios.AccSobBD("UPDATE","No","","","Saldo = Saldo \xac "+o.MonAju,"usuarios","WHERE NRegistro = "+e.NRegistro,"","","Upd",o,function(s,a){a.servicios.VPB=100,a.CarTra(e.NRegistro),a.CarLis();var l=parseFloat(a.DetDat.Saldo)+a.MonAju;a.DetDat.Saldo=l,a.servicios.EnvEmaAdmAjuBil("Ajuste de saldo de $"+a.servicios.NumFor(a.MonAju,2)+" en la billetera del usuario "+e.NRegistro+"-"+e.Nombre+" "+e.Apellido+" ("+e.Tipo+") realizado por "+a.UsuMat.NRegistro+"-"+a.UsuMat.Nombre+" "+a.UsuMat.Apellido+" ("+a.UsuMat.Tipo+")"),a.servicios.EnvMsgSim("Ajuste realizado con exito","Hecho"),a.MonAju=null})})}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-mancli"]],decls:46,vars:15,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","class","BotModPie","title","Agregar",3,"click",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","50% !important"],[1,"modal-content",2,"height","550px"],["class","TitMod",4,"ngIf"],[1,"container-fluid"],[1,"row",2,"height","200px !important"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #f00;",4,"ngIf"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],[1,"row",2,"height","280px !important"],["class","col-md-12","style","height:100%; padding:10px; overflow:auto; border:0px solid #00f;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg2"],[1,"row",2,"height","500px !important"],["class","col-md-12","style","height:95%; padding:10px; overflow:auto; border:0px solid #00f;",4,"ngIf"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","class","BotMod","title","Modificar",3,"click",4,"ngIf"],["src","assets/img/eli.png","class","BotMod","title","Eliminar",3,"click",4,"ngIf"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["target","_blank",3,"href"],["style","height:100px; border-radius:5px;",3,"src",4,"ngIf"],[2,"height","100px","border-radius","5px",3,"src"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #f00"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],[2,"width","100%","height","80%","background-color","#f5f5f5"],["rowspan","3",2,"text-align","center","vertical-align","middle"],["style","height:100px; width:100px; border-radius:50%; margin-right:5px;",3,"src",4,"ngIf"],["colspan","2",2,"text-align","center"],[2,"height","100px","width","100px","border-radius","50%","margin-right","5px",3,"src"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #0f0"],[2,"text-align","center","font-size","36px",3,"ngStyle"],[2,"text-align","center","vertical-align","middle"],["class","input-group mb-3","style","padding:10px;",4,"ngIf"],[1,"input-group","mb-3",2,"padding","10px"],["type","number","placeholder","Monto del ajuste","aria-label","Monto del ajuste","aria-describedby","basic-addon2","id","MonAju",1,"form-control",3,"ngModel","ngModelChange"],[1,"input-group-append"],["type","button",1,"btn","btn-outline-secondary",3,"click"],[1,"col-md-12",2,"height","100%","padding","10px","overflow","auto","border","0px solid #00f"],["scope","col"],["scope","col",2,"text-align","right"],["colspan","8","align","center","valign","middle"],["colspan","8","align","center","valign","middle",2,"color","#856404"],[2,"text-align","right"],[1,"col-md-12",2,"height","95%","padding","10px","overflow","auto","border","0px solid #00f"],["scope","col",2,"text-align","left"],["src","assets/img/can.png","class","BotMod","title","Bloquear",3,"click",4,"ngIf"],["src","assets/img/ace.png","class","BotMod","title","Activar",3,"click",4,"ngIf"],[2,"text-align","left"],["src","assets/img/can.png","title","Bloquear",1,"BotMod",3,"click"],["src","assets/img/ace.png","title","Activar",1,"BotMod",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Usuarios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,WOe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,zOe,2,4,"th",7),u()(),c(12,"tbody"),C(13,$Oe,3,1,"tr",8),C(14,qOe,3,0,"tr",8),C(15,tIe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,nIe,2,1,"span",8),u(),c(21,"td",12),C(22,iIe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(27,"td",12),C(28,rIe,1,0,"img",16),u()()()(),c(29,"div",17)(30,"div",18)(31,"div",19),C(32,oIe,8,2,"div",20),c(33,"div",21)(34,"div",22),C(35,aIe,31,7,"div",23),C(36,cIe,11,5,"div",24),u(),c(37,"div",25),C(38,hIe,19,3,"div",26),u()()()()(),c(39,"div",27)(40,"div",18)(41,"div",19),C(42,pIe,8,2,"div",20),c(43,"div",21)(44,"div",28),C(45,DIe,24,3,"div",29),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus),h(6),_("ngIf","Admin"==i.UsuMat.Tipo),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat))},dependencies:[Mt,mt,Wt,Si,Ql,Ii,ki,Yt]}),t})();const MIe=["map"],CIe=["closeAddExpenseModal"];function xIe(t,n){1&t&&X(0,"th",44)}const NH=function(t){return{"text-align":t}};function TIe(t,n){if(1&t&&(c(0,"th",45),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,NH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function wIe(t,n){1&t&&(c(0,"tr")(1,"td",46),X(2,"mat-spinner",47),u()()),2&t&&(h(2),_("diameter",50))}function EIe(t,n){1&t&&(c(0,"tr")(1,"td",48),p(2,"No existen registros"),u()())}function SIe(t,n){if(1&t){const e=ae();c(0,"img",58),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Modificar",r))}),u()}}function kIe(t,n){if(1&t){const e=ae();c(0,"img",59),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Eliminar",r))}),u()}}function AIe(t,n){if(1&t){const e=ae();c(0,"td",52),C(1,SIe,1,0,"img",53),C(2,kIe,1,0,"img",54),X(3,"br"),c(4,"img",55),R("click",function(){z(e);const r=D().$implicit;return q(D().Detalles(r))}),u(),c(5,"img",56),R("click",function(){z(e);const r=D().$implicit;return q(D().Delivery(r))}),u(),c(6,"img",57),R("click",function(){z(e);const r=D().$implicit;return q(D().Detalles(r))}),u()()}if(2&t){const e=D(2);h(1),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo)}}function RIe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D().$implicit,i=D().$implicit,r=D();h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function FIe(t,n){if(1&t&&X(0,"img",63),2&t){const e=D().$implicit,i=D().$implicit,r=D();nn("src","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt)}}function NIe(t,n){if(1&t&&(c(0,"td",60),C(1,RIe,2,1,"span",8),c(2,"a",61),C(3,FIe,1,3,"img",62),u()()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(6,NH,r.servicios.AliCamMod(e.Tip))),h(1),_("ngIf","Imagen"!=e.Tip),h(1),nn("href","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt),h(1),_("ngIf","Imagen"==e.Tip)}}function OIe(t,n){if(1&t&&(c(0,"tr"),C(1,AIe,7,2,"td",49),c(2,"td",50),p(3),u(),C(4,NIe,4,8,"td",51),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function IIe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function LIe(t,n){if(1&t){const e=ae();c(0,"img",64),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function PIe(t,n){if(1&t){const e=ae();c(0,"img",65),R("click",function(){return z(e),q(D().EjeFun("Agregar",""))}),u()}}function BIe(t,n){if(1&t&&(c(0,"div",0),p(1,"Billetera de "),c(2,"span",1),p(3),u(),c(4,"div",66)(5,"a",67)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,"")}}function VIe(t,n){if(1&t&&X(0,"img",74),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotPer,"",rt)}}function HIe(t,n){if(1&t&&(c(0,"div",68)(1,"div",69)(2,"h3"),p(3),u()(),c(4,"table",70)(5,"tr")(6,"td",71),C(7,VIe,1,2,"img",72),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()(),c(25,"tr")(26,"td",73)(27,"strong"),p(28,"Puntos: "),u(),c(29,"span"),p(30),u()()()()()),2&t){const e=D();h(3),I(e.DetDat.Tipo),h(4),_("ngIf",e.DetDat.FotPer),h(5),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,""),h(6),I(e.DetDat.Telefono),h(6),I(e.DetDat.Email),h(6),I(e.DetDat.Puntos)}}function GIe(t,n){if(1&t){const e=ae();c(0,"div",79)(1,"input",80),R("ngModelChange",function(r){return z(e),q(D(2).MonAju=r)}),u(),c(2,"div",81)(3,"button",82),R("click",function(){z(e);const r=D(2);return q(r.AjuSal(r.DetDat))}),p(4,"Ajustar"),u()()()}if(2&t){const e=D(2);h(1),_("ngModel",e.MonAju)}}const OH=function(t){return{color:t}};function jIe(t,n){if(1&t&&(c(0,"div",75)(1,"div",69)(2,"h3"),p(3,"Saldo"),u()(),c(4,"table",70)(5,"tr")(6,"td",76),p(7),u()(),c(8,"tr")(9,"td",77),C(10,GIe,5,1,"div",78),u()()()()),2&t){const e=D();h(6),_("ngStyle",ke(3,OH,e.servicios.ColSal(e.DetDat.Saldo))),h(1),I(e.servicios.NumFor(e.DetDat.Saldo,2)),h(3),_("ngIf","Admin"==e.UsuMat.Tipo)}}function YIe(t,n){1&t&&(c(0,"tr")(1,"td",86),X(2,"mat-spinner",47),u()()),2&t&&(h(2),_("diameter",50))}function UIe(t,n){1&t&&(c(0,"tr")(1,"td",87),p(2,"No existen registros"),u()())}function WIe(t,n){if(1&t&&(c(0,"tr",60)(1,"td"),p(2),u(),c(3,"td"),p(4),u(),c(5,"td",88),p(6),u(),c(7,"td",50),p(8),u()()),2&t){const e=n.$implicit,i=D(2);_("ngStyle",ke(5,OH,i.servicios.ColMon(e.Monto))),h(2),I(e.Transaccion),h(2),I(e.Descripcion),h(2),I(i.servicios.NumFor(e.Monto,2)),h(2),I(i.servicios.ForFecHor(e.FecHor))}}function zIe(t,n){if(1&t&&(c(0,"div",83)(1,"div",69)(2,"h3"),p(3,"Detalle de Transacciones"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr")(7,"th",84),p(8,"Transacci\xf3n"),u(),c(9,"th",84),p(10,"Descripci\xf3n"),u(),c(11,"th",85),p(12,"Monto"),u(),c(13,"th",6),p(14,"Fecha Hora"),u()()(),c(15,"tbody"),C(16,YIe,3,1,"tr",8),C(17,UIe,3,0,"tr",8),C(18,WIe,9,7,"tr",51),u()()()),2&t){const e=D();h(16),_("ngIf",!e.Trans),h(1),_("ngIf",e.Trans&&0==e.Trans.length),h(1),_("ngForOf",e.Trans)}}function $Ie(t,n){if(1&t&&(c(0,"div",0),p(1,"Tarjetas de "),c(2,"span",1),p(3),u(),c(4,"div",66)(5,"a",67)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,"")}}function qIe(t,n){1&t&&(c(0,"tr")(1,"td",86),X(2,"mat-spinner",47),u()()),2&t&&(h(2),_("diameter",50))}function XIe(t,n){1&t&&(c(0,"tr")(1,"td",87),p(2,"No existen registros"),u()())}function QIe(t,n){if(1&t){const e=ae();c(0,"img",94),R("click",function(){z(e);const r=D().$implicit;return q(D(2).BloTar(r))}),u()}}function JIe(t,n){if(1&t){const e=ae();c(0,"img",95),R("click",function(){z(e);const r=D().$implicit;return q(D(2).ActTar(r))}),u()}}function ZIe(t,n){if(1&t&&(c(0,"tr")(1,"td",52),C(2,QIe,1,0,"img",91),C(3,JIe,1,0,"img",92),u(),c(4,"td",93),p(5),u(),c(6,"td",93),p(7),u(),c(8,"td",93),p(9),u(),c(10,"td",93),p(11),u(),c(12,"td",93),p(13),u(),c(14,"td",50),p(15),u()()),2&t){const e=n.$implicit;h(2),_("ngIf","Activa"==e.Estatus),h(1),_("ngIf","Bloqueada"==e.Estatus),h(2),I(e.Tipo),h(2),I(e.TitTar),h(2),Be("****-****-****-",e.NumTar.substr(-4),""),h(2),I(e.VenTar),h(2),Be("**",e.CodTar.substr(-1),""),h(2),I(e.Estatus)}}function KIe(t,n){if(1&t&&(c(0,"div",89)(1,"div",69)(2,"h3"),p(3,"Lista de Tarjetas"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr"),X(7,"th",44),c(8,"th",90),p(9,"Tipo"),u(),c(10,"th",90),p(11,"Titular"),u(),c(12,"th",90),p(13,"Numero"),u(),c(14,"th",90),p(15,"Vence"),u(),c(16,"th",90),p(17,"CSC"),u(),c(18,"th",6),p(19,"Estado"),u()()(),c(20,"tbody"),C(21,qIe,3,1,"tr",8),C(22,XIe,3,0,"tr",8),C(23,ZIe,16,8,"tr",9),u()()()),2&t){const e=D();h(21),_("ngIf",!e.Tarje),h(1),_("ngIf",e.Tarje&&0==e.Tarje.length),h(1),_("ngForOf",e.Tarje)}}function e3e(t,n){if(1&t&&(c(0,"div",0),p(1,"Ubicaci\xf3n Delivery: "),c(2,"span",1),p(3),u(),c(4,"div",66)(5,"a",67,96)(7,"strong"),p(8,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.Nombre)}}function t3e(t,n){if(1&t){const e=ae();c(0,"div",97)(1,"div",10)(2,"table",11)(3,"tr")(4,"td",98),X(5,"span",99)(6,"span",100),u(),X(7,"td",12),c(8,"td",12)(9,"img",101),R("click",function(){return z(e),q(D().GuaUbiDel())}),u()()()()()()}}function n3e(t,n){if(1&t&&(c(0,"div",0),p(1,"Horario laboral de "),c(2,"span",1),p(3),u(),c(4,"div",66)(5,"a",67)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,"")}}const Fu=function(t){return{"background-color":t}};function i3e(t,n){if(1&t){const e=ae();c(0,"div",102)(1,"div",69)(2,"h3"),p(3,"Dias laborables"),u()(),c(4,"table",103)(5,"tr",50)(6,"td",104)(7,"table",105)(8,"tr"),X(9,"td",106),c(10,"td",107),R("click",function(){z(e);const r=D();return q(r.CamEstDia(r.DetDat,"0"))}),p(11,"Lunes"),u(),c(12,"td",107),R("click",function(){z(e);const r=D();return q(r.CamEstDia(r.DetDat,"1"))}),p(13,"Martes"),u(),c(14,"td",107),R("click",function(){z(e);const r=D();return q(r.CamEstDia(r.DetDat,"2"))}),p(15,"Miercoles"),u(),c(16,"td",107),R("click",function(){z(e);const r=D();return q(r.CamEstDia(r.DetDat,"3"))}),p(17,"Jueves"),u(),c(18,"td",107),R("click",function(){z(e);const r=D();return q(r.CamEstDia(r.DetDat,"4"))}),p(19,"Viernes"),u(),c(20,"td",107),R("click",function(){z(e);const r=D();return q(r.CamEstDia(r.DetDat,"5"))}),p(21,"Sabado"),u(),c(22,"td",107),R("click",function(){z(e);const r=D();return q(r.CamEstDia(r.DetDat,"6"))}),p(23,"Domingo"),u(),X(24,"td",106),u()()()(),c(25,"tr"),X(26,"td",106),c(27,"td",108)(28,"div",109)(29,"div",110)(30,"span",111),p(31,"Hora Apertura"),u()(),c(32,"input",112),R("ngModelChange",function(r){return z(e),q(D().DetDat.HorTraIni=r)})("ngModelChange",function(){z(e);const r=D();return q(r.ActHor(r.DetDat))}),u()()(),X(33,"td",106),c(34,"td",108)(35,"div",109)(36,"div",110)(37,"span",111),p(38,"Hora Cierre"),u()(),c(39,"input",112),R("ngModelChange",function(r){return z(e),q(D().DetDat.HorTraFin=r)})("ngModelChange",function(){z(e);const r=D();return q(r.ActHor(r.DetDat))}),u()()(),X(40,"td",106),u(),c(41,"tr"),X(42,"td",106),c(43,"td",113),X(44,"img",114),u(),X(45,"td",106),u()()()}if(2&t){const e=D();h(10),_("ngStyle",ke(9,Fu,0==e.DiaLab.Lun?"#999":"#ff4b41")),h(2),_("ngStyle",ke(11,Fu,0==e.DiaLab.Mar?"#999":"#ff4b41")),h(2),_("ngStyle",ke(13,Fu,0==e.DiaLab.Mie?"#999":"#ff4b41")),h(2),_("ngStyle",ke(15,Fu,0==e.DiaLab.Jue?"#999":"#ff4b41")),h(2),_("ngStyle",ke(17,Fu,0==e.DiaLab.Vie?"#999":"#ff4b41")),h(2),_("ngStyle",ke(19,Fu,0==e.DiaLab.Sab?"#999":"#ff4b41")),h(2),_("ngStyle",ke(21,Fu,0==e.DiaLab.Dom?"#999":"#ff4b41")),h(10),_("ngModel",e.DetDat.HorTraIni),h(7),_("ngModel",e.DetDat.HorTraFin)}}let r3e=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.FecHorAct=(new Date).toISOString(),this.FecAct=this.FecHorAct.substr(0,10),this.DiaLab={Lun:0,Mar:0,Mie:0,Jue:0,Vie:0,Sab:0,Dom:0},this.DGM={Nombre:"Vendedores",CamMod:[{Tit:"Foto Perfil",Cmp:"FotPer",Tip:"Imagen",Req:"Si",VD:"fpd.png",Val:"",Car:"usu"},{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Categor\xeda",Cmp:"NRegCat",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"NRegistro,Nombre",Tab:"categorias",Don:"WHERE Estatus = |Activa|",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Telefono",Cmp:"Telefono",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Delivery",Cmp:"DesDel",Tip:"Texto",Req:"No",VD:"",Val:"",Blo:"Si"},{Tit:"Email",Cmp:"Email",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Departamento",Cmp:"Departamento",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"Nombre,Nombre",Tab:"departamentos",Don:"",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Municipio",Cmp:"Municipio",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"Nombre,Nombre",Tab:"municipios",Don:"",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Direcci\xf3n",Cmp:"Domicilio",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Password",Cmp:"Password",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Puntos",Cmp:"Puntos",Tip:"Numero",Req:"Si",VD:"100",Val:"",Blo:"Si"},{Tit:"Registro",Cmp:"FecHorReg",Tip:"FechaHora",Req:"Si",VD:this.FecAct,Val:this.FecAct,Blo:"Si"},{Tit:"Tipo",Cmp:"Tipo",Tip:"Texto",Req:"Si",VD:"Vendedor",Val:"",Blo:"Si"},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Bloqueado",Tex:"Bloqueado"}]}],OpcFil:"Si",CamQry:"*",Tabla:"usuarios",Donde:"WHERE Tipo = |Vendedor|",Ordena:"ORDER BY NRegistro DESC",TabFor:{Fil:[1,2,3,4],Col:[1,2,3,4]},Carpeta:"usu"},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarCmpQry(),this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}Detalles(e){this.DetDat=e,this.CarTra(this.DetDat.NRegistro);let i=e.HorTraDia.split(",");this.DiaLab.Lun=i[0],this.DiaLab.Mar=i[1],this.DiaLab.Mie=i[2],this.DiaLab.Jue=i[3],this.DiaLab.Vie=i[4],this.DiaLab.Sab=i[5],this.DiaLab.Dom=i[6]}Tarjetas(e){this.DetDat=e,this.CarTar(this.DetDat.NRegistro)}CamEstDia(e,i){switch(i){case"0":this.DiaLab.Lun=0==this.DiaLab.Lun?1:0;break;case"1":this.DiaLab.Mar=0==this.DiaLab.Mar?1:0;break;case"2":this.DiaLab.Mie=0==this.DiaLab.Mie?1:0;break;case"3":this.DiaLab.Jue=0==this.DiaLab.Jue?1:0;break;case"4":this.DiaLab.Vie=0==this.DiaLab.Vie?1:0;break;case"5":this.DiaLab.Sab=0==this.DiaLab.Sab?1:0;break;case"6":this.DiaLab.Dom=0==this.DiaLab.Dom?1:0}this.servicios.AccSobBD("UPDATE","No","","","HorTraDia=|"+this.DiaLab.Lun+","+this.DiaLab.Mar+","+this.DiaLab.Mie+","+this.DiaLab.Jue+","+this.DiaLab.Vie+","+this.DiaLab.Sab+","+this.DiaLab.Dom+"|","usuarios","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(o,s){s.servicios.EnvMsgSim("Los cambios fueron guardados","Informacion")})}ActHor(e){this.servicios.AccSobBD("UPDATE","No","","","HorTraIni=|"+e.HorTraIni+"|,HorTraFin=|"+e.HorTraFin+"|","usuarios","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(i,r){r.servicios.EnvMsgSim("Los cambios fueron guardados","Informacion")})}Delivery(e){this.DetDat=e,this.showMap(function(i){})}showMap(e){var i=new google.maps.LatLng(this.servicios.Pais.Lat,this.servicios.Pais.Lon);const r={center:i,zoom:13,mapTypeControl:!1,streetViewControl:!1,zoomControl:!0,zoomControlOptions:{position:google.maps.ControlPosition.RIGHT_TOP},fullscreenControl:!1,fullscreenControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},styles:[]};this.map=new google.maps.Map(this.mapRef.nativeElement,r);const o=new google.maps.Map(this.mapRef.nativeElement,r),s=new google.maps.Geocoder,a=new google.maps.Marker({id:"IDMCSCli",position:i,map:o});var l=window.document.getElementById("pac-input"),d=new google.maps.InfoWindow,f=new google.maps.places.Autocomplete(l);o.addListener("click",function(m){a.setPosition(m.latLng),a.setVisible(!0),o.panTo(a.getPosition()),o.setZoom(16),d.setContent("..."),s.geocode({location:m.latLng},function(g,b){"OK"===b&&g[0]?(d.setContent(g[0].formatted_address),document.getElementById("BusDes").innerHTML=g[0].formatted_address,document.getElementById("BusLatLon").innerHTML=m.latLng.lat()+","+m.latLng.lng(),d.open(o,a)):document.getElementById("BusDes").innerHTML="Sin resultados"})}),f.bindTo("bounds",o),f.setFields(["address_components","geometry","icon","name"]),d.setContent("..."),f.addListener("place_changed",function(){d.close(),a.setVisible(!1);var m=f.getPlace();if(m.geometry){m.geometry.viewport?o.fitBounds(m.geometry.viewport):(o.setCenter(m.geometry.location),o.setZoom(17)),a.setPosition(m.geometry.location),a.setVisible(!0);var g="";m.address_components&&(g=[m.address_components[0]&&m.address_components[0].short_name||"",m.address_components[1]&&m.address_components[1].short_name||"",m.address_components[2]&&m.address_components[2].short_name||""].join(" ")),document.getElementById("BusDes").innerHTML=g,document.getElementById("BusLatLon").innerHTML=m.geometry.location.lat()+","+m.geometry.location.lng(),d.setContent(g),d.open(o,a)}}),e(this)}GuaUbiDel(){""!=document.getElementById("BusLatLon").innerHTML?this.servicios.AccSobBD("UPDATE","No","","","UbiDel=|"+document.getElementById("BusLatLon").innerHTML+"|,DesDel=|"+document.getElementById("BusDes").innerHTML+"|","usuarios","WHERE NRegistro = "+this.DetDat.NRegistro,"","","Upd",this,function(e,i){i.servicios.EnvMsgSim("Los cambios fueron guardados","Informacion"),i.closeAddExpenseModal.nativeElement.click(),i.CarLis()}):this.servicios.EnvMsgSim("Pos favor haga click en la Ubicaci\xf3n Delivery de "+this.DetDat.Nombre,"Advertencia")}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarCmpQry(){for(var e=0;e<this.DGM.CamMod.length;e++)if("SelectQry"==this.DGM.CamMod[e].Tip){let i=e;this.servicios.AccSobBD("SELECT","Si",this.DGM.CamMod[e].Qry.Cmps,"","",this.DGM.CamMod[e].Qry.Tab,this.DGM.CamMod[e].Qry.Don,this.DGM.CamMod[e].Qry.Ord,"","CarVar",this,function(r,o){o.DGM.CamMod[i].Qry.Res=r.data})}}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}CarTra(e){this.servicios.AccSobBD("SELECT","Si","*","","","billetera","WHERE NRegUsu = "+e,"ORDER BY FecHor DESC","","CarVar",this,function(i,r){console.log(i),r.Trans=i.data})}CarTar(e){this.servicios.AccSobBD("SELECT","Si","*","","","dattar","WHERE NRegUsu = "+e,"ORDER BY TitTar","","CarVar",this,function(i,r){r.Tarje=i.data})}ActTar(e){this.servicios.AccSobBD("UPDATE","No","","","Estatus = |Activa|","dattar","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(i,r){r.CarTar(r.DetDat.NRegistro)})}BloTar(e){this.servicios.AccSobBD("UPDATE","No","","","Estatus = |Bloqueada|","dattar","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(i,r){r.CarTar(r.DetDat.NRegistro)})}AjuSal(e){this.servicios.VPB=0,(new Date).toISOString(),this.servicios.AccSobBD("INSERT","No","NRegUsu,Transaccion,Descripcion,Monto,FecHor","|"+e.NRegistro+"|,|Ajuste|,|Ajuste de saldo realizado por "+this.UsuMat.NRegistro+" - "+this.UsuMat.Nombre+" "+this.UsuMat.Apellido+" ("+this.UsuMat.Tipo+")|,"+this.MonAju+",NOW()","","billetera","","","","Ins",this,function(r,o){o.servicios.VPB=50,o.servicios.AccSobBD("UPDATE","No","","","Saldo = Saldo \xac "+o.MonAju,"usuarios","WHERE NRegistro = "+e.NRegistro,"","","Upd",o,function(s,a){a.servicios.VPB=100,a.CarTra(e.NRegistro),a.CarLis();var l=parseFloat(a.DetDat.Saldo)+a.MonAju;a.DetDat.Saldo=l,a.servicios.EnvEmaAdmAjuBil("Ajuste de saldo de $"+a.servicios.NumFor(a.MonAju,2)+" en la billetera del usuario "+e.NRegistro+"-"+e.Nombre+" "+e.Apellido+" ("+e.Tipo+") realizado por "+a.UsuMat.NRegistro+"-"+a.UsuMat.Nombre+" "+a.UsuMat.Apellido+" ("+a.UsuMat.Tipo+")"),a.servicios.EnvMsgSim("Ajuste realizado con exito","Hecho"),a.MonAju=null})})}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-manven"]],viewQuery:function(e,i){if(1&e&&(Ht(MIe,5),Ht(CIe,5)),2&e){let r;lt(r=ct())&&(i.mapRef=r.first),lt(r=ct())&&(i.closeAddExpenseModal=r.first)}},decls:66,vars:19,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","class","BotModPie","title","Agregar",3,"click",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","50% !important"],[1,"modal-content",2,"height","550px"],["class","TitMod",4,"ngIf"],[1,"container-fluid"],[1,"row",2,"height","200px !important"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #f00;",4,"ngIf"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],[1,"row",2,"height","280px !important"],["class","col-md-12","style","height:100%; padding:10px; overflow:auto; border:0px solid #00f;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg2"],[1,"row",2,"height","500px !important"],["class","col-md-12","style","height:95%; padding:10px; overflow:auto; border:0px solid #00f;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg3"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","70% !important"],[1,"row",2,"height","400px !important"],[2,"width","99%","text-align","center"],["id","pac-input","type","text","placeholder","Direcci\xf3n a buscar ...",2,"width","99%","margin","10px","font-size","18px","border-radius","5px"],[1,"col-md-12",2,"height","90%","padding","0px 10px 0px 10px","border","0px solid #f00"],["id","map"],["map",""],[1,"row",2,"height","75px !important"],["class","col-md-12","style","height:100%; padding:10px; border:0px solid #00f;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg4"],[1,"modal-content",2,"height","350px"],[1,"row",2,"height","250px !important"],["class","col-md-12","style","height:100%; padding:10px; border:0px solid #f00;",4,"ngIf"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","class","BotMod","title","Modificar",3,"click",4,"ngIf"],["src","assets/img/eli.png","class","BotMod","title","Eliminar",3,"click",4,"ngIf"],["src","assets/img/bil.png","title","Billetera","data-toggle","modal","data-target",".bd-example-modal-lg",1,"BotMod",3,"click"],["src","assets/img/zontar.png","title","Ubicaci\xf3n Delivery","data-toggle","modal","data-target",".bd-example-modal-lg3",1,"BotMod",3,"click"],["src","assets/img/cal.png","title","Horario laboral","data-toggle","modal","data-target",".bd-example-modal-lg4",1,"BotMod",3,"click"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["target","_blank",3,"href"],["style","height:100px; border-radius:5px;",3,"src",4,"ngIf"],[2,"height","100px","border-radius","5px",3,"src"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #f00"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],[2,"width","100%","height","80%","background-color","#f5f5f5"],["rowspan","3",2,"text-align","center","vertical-align","middle"],["style","height:100px; width:100px; border-radius:50%; margin-right:5px;",3,"src",4,"ngIf"],["colspan","2",2,"text-align","center"],[2,"height","100px","width","100px","border-radius","50%","margin-right","5px",3,"src"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #0f0"],[2,"text-align","center","font-size","36px",3,"ngStyle"],[2,"text-align","center","vertical-align","middle"],["class","input-group mb-3","style","padding:10px;",4,"ngIf"],[1,"input-group","mb-3",2,"padding","10px"],["type","number","placeholder","Monto del ajuste","aria-label","Monto del ajuste","aria-describedby","basic-addon2","id","MonAju",1,"form-control",3,"ngModel","ngModelChange"],[1,"input-group-append"],["type","button",1,"btn","btn-outline-secondary",3,"click"],[1,"col-md-12",2,"height","100%","padding","10px","overflow","auto","border","0px solid #00f"],["scope","col"],["scope","col",2,"text-align","right"],["colspan","8","align","center","valign","middle"],["colspan","8","align","center","valign","middle",2,"color","#856404"],[2,"text-align","right"],[1,"col-md-12",2,"height","95%","padding","10px","overflow","auto","border","0px solid #00f"],["scope","col",2,"text-align","left"],["src","assets/img/can.png","class","BotMod","title","Bloquear",3,"click",4,"ngIf"],["src","assets/img/ace.png","class","BotMod","title","Activar",3,"click",4,"ngIf"],[2,"text-align","left"],["src","assets/img/can.png","title","Bloquear",1,"BotMod",3,"click"],["src","assets/img/ace.png","title","Activar",1,"BotMod",3,"click"],["closeAddExpenseModal",""],[1,"col-md-12",2,"height","100%","padding","10px","border","0px solid #00f"],["width","60%","align","center","valign","middle"],["id","BusDes","type","text",2,"display","none"],["id","BusLatLon","type","text",2,"display","none"],["src","assets/img/ace.png","title","Guardar",1,"BotModPie",3,"click"],[1,"col-md-12",2,"height","100%","padding","10px","border","0px solid #f00"],[2,"width","100%","height","100%","background-color","#f5f5f5"],["colspan","4",2,"text-align","center"],[2,"width","100%","border-collapse","separate","border-spacing","3%"],[2,"width","5%"],[2,"width","10%","color","#ddd","font-weight","bolder","border-radius","10px","cursor","pointer",3,"ngStyle","click"],[2,"width","40%","text-align","center"],[1,"input-group","mb-3",2,"margin-bottom","0px !important"],[1,"input-group-prepend"],["id","InpDes",1,"input-group-text"],["type","time","aria-label","Sizing example input","aria-describedby","InpDes",1,"form-control",3,"ngModel","ngModelChange"],["colspan","3",2,"text-align","center"],["src","assets/img/ace.png","title","Guardar","data-dismiss","modal",1,"BotModPie"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Usuarios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,xIe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,TIe,2,4,"th",7),u()(),c(12,"tbody"),C(13,wIe,3,1,"tr",8),C(14,EIe,3,0,"tr",8),C(15,OIe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,IIe,2,1,"span",8),u(),c(21,"td",12),C(22,LIe,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(27,"td",12),C(28,PIe,1,0,"img",16),u()()()(),c(29,"div",17)(30,"div",18)(31,"div",19),C(32,BIe,8,2,"div",20),c(33,"div",21)(34,"div",22),C(35,HIe,31,7,"div",23),C(36,jIe,11,5,"div",24),u(),c(37,"div",25),C(38,zIe,19,3,"div",26),u()()()()(),c(39,"div",27)(40,"div",18)(41,"div",19),C(42,$Ie,8,2,"div",20),c(43,"div",21)(44,"div",28),C(45,KIe,24,3,"div",29),u()()()()(),c(46,"div",30)(47,"div",31)(48,"div",19),C(49,e3e,9,1,"div",20),c(50,"div",21)(51,"div",32)(52,"div",33),X(53,"input",34),u(),c(54,"div",35),X(55,"div",36,37),u()(),c(57,"div",38),C(58,t3e,10,0,"div",39),u()()()()(),c(59,"div",40)(60,"div",18)(61,"div",41),C(62,n3e,8,2,"div",20),c(63,"div",21)(64,"div",42),C(65,i3e,46,23,"div",43),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus),h(6),_("ngIf","Admin"==i.UsuMat.Tipo),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(9),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat))},dependencies:[Mt,mt,Wt,Si,Ql,Ii,ki,Yt],styles:["#map[_ngcontent-%COMP%]{height:100%}"]}),t})();function o3e(t,n){1&t&&X(0,"th",30)}const IH=function(t){return{"text-align":t}};function s3e(t,n){if(1&t&&(c(0,"th",31),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,IH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function a3e(t,n){1&t&&(c(0,"tr")(1,"td",32),X(2,"mat-spinner",33),u()()),2&t&&(h(2),_("diameter",50))}function l3e(t,n){1&t&&(c(0,"tr")(1,"td",34),p(2,"No existen registros"),u()())}function c3e(t,n){if(1&t){const e=ae();c(0,"img",41),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Modificar",r))}),u()}}function d3e(t,n){if(1&t){const e=ae();c(0,"img",42),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Eliminar",r))}),u()}}function u3e(t,n){if(1&t&&(c(0,"td",38),C(1,c3e,1,0,"img",39),C(2,d3e,1,0,"img",40),u()),2&t){const e=D(2);h(1),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo)}}function f3e(t,n){if(1&t&&(c(0,"td",43),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,IH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function h3e(t,n){if(1&t&&(c(0,"tr"),C(1,u3e,3,2,"td",35),c(2,"td",36),p(3),u(),C(4,f3e,2,4,"td",37),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function p3e(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function m3e(t,n){if(1&t){const e=ae();c(0,"img",44),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function g3e(t,n){if(1&t){const e=ae();c(0,"img",45),R("click",function(){return z(e),q(D().EjeFun("Agregar",""))}),u()}}function _3e(t,n){if(1&t&&(c(0,"div",0),p(1,"Billetera de "),c(2,"span",1),p(3),u(),c(4,"div",46)(5,"a",47)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,"")}}function v3e(t,n){if(1&t&&X(0,"img",54),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotPer,"",rt)}}function b3e(t,n){if(1&t&&(c(0,"div",48)(1,"div",49)(2,"h3"),p(3),u()(),c(4,"table",50)(5,"tr")(6,"td",51),C(7,v3e,1,2,"img",52),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()(),c(25,"tr")(26,"td",53)(27,"strong"),p(28,"Puntos: "),u(),c(29,"span"),p(30),u()()()()()),2&t){const e=D();h(3),I(e.DetDat.Tipo),h(4),_("ngIf",e.DetDat.FotPer),h(5),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,""),h(6),I(e.DetDat.Telefono),h(6),I(e.DetDat.Email),h(6),I(e.DetDat.Puntos)}}const LH=function(t){return{color:t}};function D3e(t,n){if(1&t&&(c(0,"div",55)(1,"div",49)(2,"h3"),p(3,"Saldo"),u()(),c(4,"table",50)(5,"tr")(6,"td",56),p(7),u()()()()),2&t){const e=D();h(6),_("ngStyle",ke(2,LH,e.servicios.ColSal(e.DetDat.Saldo))),h(1),I(e.servicios.NumFor(e.DetDat.Saldo,2))}}function y3e(t,n){1&t&&(c(0,"tr")(1,"td",60),X(2,"mat-spinner",33),u()()),2&t&&(h(2),_("diameter",50))}function M3e(t,n){1&t&&(c(0,"tr")(1,"td",61),p(2,"No existen registros"),u()())}function C3e(t,n){if(1&t&&(c(0,"tr",43)(1,"td"),p(2),u(),c(3,"td"),p(4),u(),c(5,"td",62),p(6),u(),c(7,"td",36),p(8),u()()),2&t){const e=n.$implicit,i=D(2);_("ngStyle",ke(5,LH,i.servicios.ColMon(e.Monto))),h(2),I(e.Transaccion),h(2),I(e.Descripcion),h(2),I(i.servicios.NumFor(e.Monto,2)),h(2),I(i.servicios.ForFecHor(e.FecHor))}}function x3e(t,n){if(1&t&&(c(0,"div",57)(1,"div",49)(2,"h3"),p(3,"Detalle de Transacciones"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr")(7,"th",58),p(8,"Transacci\xf3n"),u(),c(9,"th",58),p(10,"Descripci\xf3n"),u(),c(11,"th",59),p(12,"Monto"),u(),c(13,"th",6),p(14,"Fecha Hora"),u()()(),c(15,"tbody"),C(16,y3e,3,1,"tr",8),C(17,M3e,3,0,"tr",8),C(18,C3e,9,7,"tr",37),u()()()),2&t){const e=D();h(16),_("ngIf",!e.Trans),h(1),_("ngIf",e.Trans&&0==e.Trans.length),h(1),_("ngForOf",e.Trans)}}function T3e(t,n){if(1&t&&(c(0,"div",0),p(1,"Tarjetas de "),c(2,"span",1),p(3),u(),c(4,"div",46)(5,"a",47)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,"")}}function w3e(t,n){1&t&&(c(0,"tr")(1,"td",60),X(2,"mat-spinner",33),u()()),2&t&&(h(2),_("diameter",50))}function E3e(t,n){1&t&&(c(0,"tr")(1,"td",61),p(2,"No existen registros"),u()())}function S3e(t,n){if(1&t){const e=ae();c(0,"img",68),R("click",function(){z(e);const r=D().$implicit;return q(D(2).BloTar(r))}),u()}}function k3e(t,n){if(1&t){const e=ae();c(0,"img",69),R("click",function(){z(e);const r=D().$implicit;return q(D(2).ActTar(r))}),u()}}function A3e(t,n){if(1&t&&(c(0,"tr")(1,"td",38),C(2,S3e,1,0,"img",65),C(3,k3e,1,0,"img",66),u(),c(4,"td",67),p(5),u(),c(6,"td",67),p(7),u(),c(8,"td",67),p(9),u(),c(10,"td",67),p(11),u(),c(12,"td",67),p(13),u(),c(14,"td",36),p(15),u()()),2&t){const e=n.$implicit;h(2),_("ngIf","Activa"==e.Estatus),h(1),_("ngIf","Bloqueada"==e.Estatus),h(2),I(e.Tipo),h(2),I(e.TitTar),h(2),Be("****-****-****-",e.NumTar.substr(-4),""),h(2),I(e.VenTar),h(2),Be("**",e.CodTar.substr(-1),""),h(2),I(e.Estatus)}}function R3e(t,n){if(1&t&&(c(0,"div",63)(1,"div",49)(2,"h3"),p(3,"Lista de Tarjetas"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr"),X(7,"th",30),c(8,"th",64),p(9,"Tipo"),u(),c(10,"th",64),p(11,"Titular"),u(),c(12,"th",64),p(13,"Numero"),u(),c(14,"th",64),p(15,"Vence"),u(),c(16,"th",64),p(17,"CSC"),u(),c(18,"th",6),p(19,"Estado"),u()()(),c(20,"tbody"),C(21,w3e,3,1,"tr",8),C(22,E3e,3,0,"tr",8),C(23,A3e,16,8,"tr",9),u()()()),2&t){const e=D();h(21),_("ngIf",!e.Tarje),h(1),_("ngIf",e.Tarje&&0==e.Tarje.length),h(1),_("ngForOf",e.Tarje)}}let F3e=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.OJE=[],this.DGM={Nombre:"Asociaciones",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Telefono",Cmp:"Telefono",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Email",Cmp:"Email",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Password",Cmp:"Password",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Tipo",Cmp:"Tipo",Tip:"Texto",Req:"Si",VD:"Empresa",Val:"",Blo:"Si"},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Bloqueado",Tex:"Bloqueado"}]}],OpcFil:"Si",CamQry:"*",Tabla:"usuarios",Donde:"WHERE Tipo = |Empresa|",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3,4],Col:[1,2]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}Detalles(e){this.DetDat=e,this.CarTra(this.DetDat.NRegistro)}Tarjetas(e){this.DetDat=e,this.CarTar(this.DetDat.NRegistro)}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}CarTra(e){this.servicios.AccSobBD("SELECT","Si","*","","","billetera","WHERE NRegUsu = "+e,"ORDER BY FecHor DESC","","CarVar",this,function(i,r){r.Trans=i.data})}CarTar(e){this.servicios.AccSobBD("SELECT","Si","*","","","dattar","WHERE NRegUsu = "+e,"ORDER BY TitTar","","CarVar",this,function(i,r){r.Tarje=i.data})}ActTar(e){this.servicios.AccSobBD("UPDATE","No","","","Estatus = |Activa|","dattar","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(i,r){r.CarTar(r.DetDat.NRegistro)})}BloTar(e){this.servicios.AccSobBD("UPDATE","No","","","Estatus = |Bloqueada|","dattar","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(i,r){r.CarTar(r.DetDat.NRegistro)})}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-manemp"]],decls:46,vars:15,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","class","BotModPie","title","Agregar",3,"click",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","50% !important"],[1,"modal-content",2,"height","550px"],["class","TitMod",4,"ngIf"],[1,"container-fluid"],[1,"row",2,"height","200px !important"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #f00;",4,"ngIf"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],[1,"row",2,"height","280px !important"],["class","col-md-12","style","height:100%; padding:10px; overflow:auto; border:0px solid #00f;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg2"],[1,"row",2,"height","500px !important"],["class","col-md-12","style","height:95%; padding:10px; overflow:auto; border:0px solid #00f;",4,"ngIf"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","class","BotMod","title","Modificar",3,"click",4,"ngIf"],["src","assets/img/eli.png","class","BotMod","title","Eliminar",3,"click",4,"ngIf"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #f00"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],[2,"width","100%","height","80%","background-color","#f5f5f5"],["rowspan","3",2,"text-align","center","vertical-align","middle"],["style","height:100px; width:100px; border-radius:50%; margin-right:5px;",3,"src",4,"ngIf"],["colspan","2",2,"text-align","center"],[2,"height","100px","width","100px","border-radius","50%","margin-right","5px",3,"src"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #0f0"],[2,"text-align","center","font-size","48px",3,"ngStyle"],[1,"col-md-12",2,"height","100%","padding","10px","overflow","auto","border","0px solid #00f"],["scope","col"],["scope","col",2,"text-align","right"],["colspan","8","align","center","valign","middle"],["colspan","8","align","center","valign","middle",2,"color","#856404"],[2,"text-align","right"],[1,"col-md-12",2,"height","95%","padding","10px","overflow","auto","border","0px solid #00f"],["scope","col",2,"text-align","left"],["src","assets/img/can.png","class","BotMod","title","Bloquear",3,"click",4,"ngIf"],["src","assets/img/ace.png","class","BotMod","title","Activar",3,"click",4,"ngIf"],[2,"text-align","left"],["src","assets/img/can.png","title","Bloquear",1,"BotMod",3,"click"],["src","assets/img/ace.png","title","Activar",1,"BotMod",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Usuarios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,o3e,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,s3e,2,4,"th",7),u()(),c(12,"tbody"),C(13,a3e,3,1,"tr",8),C(14,l3e,3,0,"tr",8),C(15,h3e,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,p3e,2,1,"span",8),u(),c(21,"td",12),C(22,m3e,1,0,"img",13),u(),c(23,"td",12)(24,"img",14),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(25,"td",12)(26,"img",15),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(27,"td",12),C(28,g3e,1,0,"img",16),u()()()(),c(29,"div",17)(30,"div",18)(31,"div",19),C(32,_3e,8,2,"div",20),c(33,"div",21)(34,"div",22),C(35,b3e,31,7,"div",23),C(36,D3e,8,4,"div",24),u(),c(37,"div",25),C(38,x3e,19,3,"div",26),u()()()()(),c(39,"div",27)(40,"div",18)(41,"div",19),C(42,T3e,8,2,"div",20),c(43,"div",21)(44,"div",28),C(45,R3e,24,3,"div",29),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(2),_("ngIf",""!=i.DonBus),h(6),_("ngIf","Admin"==i.UsuMat.Tipo),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat))},dependencies:[Mt,mt,Wt,Yt]}),t})();function N3e(t,n){1&t&&X(0,"th",57)}const PH=function(t){return{"text-align":t}};function O3e(t,n){if(1&t&&(c(0,"th",58),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,PH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function I3e(t,n){1&t&&(c(0,"tr")(1,"td",59),X(2,"mat-spinner",60),u()()),2&t&&(h(2),_("diameter",50))}function L3e(t,n){1&t&&(c(0,"tr")(1,"td",61),p(2,"No existen registros"),u()())}function P3e(t,n){if(1&t){const e=ae();c(0,"img",70),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Modificar",r))}),u()}}function B3e(t,n){if(1&t){const e=ae();c(0,"img",71),R("click",function(){z(e);const r=D(2).$implicit;return q(D().EjeFun("Eliminar",r))}),u()}}function V3e(t,n){if(1&t){const e=ae();c(0,"td",65),C(1,P3e,1,0,"img",66),C(2,B3e,1,0,"img",67),X(3,"br"),c(4,"img",68),R("click",function(){z(e);const r=D().$implicit;return q(D().Detalles(r))}),u(),c(5,"img",69),R("click",function(){z(e);const r=D().$implicit;return q(D().Vehiculos(r))}),u()()}if(2&t){const e=D(2);h(1),_("ngIf","Admin"==e.UsuMat.Tipo),h(1),_("ngIf","Admin"==e.UsuMat.Tipo)}}function H3e(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D().$implicit,i=D().$implicit,r=D();h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function G3e(t,n){if(1&t&&X(0,"img",75),2&t){const e=D().$implicit,i=D().$implicit,r=D();nn("src","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt)}}function j3e(t,n){if(1&t&&(c(0,"td",72),C(1,H3e,2,1,"span",8),c(2,"a",73),C(3,G3e,1,3,"img",74),u()()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(6,PH,r.servicios.AliCamMod(e.Tip))),h(1),_("ngIf","Imagen"!=e.Tip),h(1),nn("href","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt),h(1),_("ngIf","Imagen"==e.Tip)}}function Y3e(t,n){if(1&t&&(c(0,"tr"),C(1,V3e,6,2,"td",62),c(2,"td",63),p(3),u(),C(4,j3e,4,8,"td",64),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function U3e(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function W3e(t,n){if(1&t){const e=ae();c(0,"td",16)(1,"img",76),R("click",function(){return z(e),q(D().Volver())}),u()()}}function z3e(t,n){if(1&t){const e=ae();c(0,"img",77),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function $3e(t,n){if(1&t){const e=ae();c(0,"img",78),R("click",function(){return z(e),q(D().EjeFun("Agregar",""))}),u()}}function q3e(t,n){if(1&t&&(c(0,"div",0),p(1,"Billetera de "),c(2,"span",1),p(3),u(),c(4,"div",79)(5,"a",80)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,"")}}function X3e(t,n){if(1&t&&X(0,"img",85),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotPer,"",rt)}}function Q3e(t,n){if(1&t&&(c(0,"div",81)(1,"div",33)(2,"h3"),p(3),u()(),c(4,"table",82)(5,"tr")(6,"td",83),C(7,X3e,1,2,"img",84),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()(),c(25,"tr")(26,"td",54)(27,"strong"),p(28,"Puntos: "),u(),c(29,"span"),p(30),u()()()()()),2&t){const e=D();h(3),I(e.DetDat.Tipo),h(4),_("ngIf",e.DetDat.FotPer),h(5),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,""),h(6),I(e.DetDat.Telefono),h(6),I(e.DetDat.Email),h(6),I(e.DetDat.Puntos)}}const BH=function(t){return{color:t}};function J3e(t,n){if(1&t&&(c(0,"div",86)(1,"div",33)(2,"h3"),p(3,"Saldo"),u()(),c(4,"table",82)(5,"tr")(6,"td",87),p(7),u()()()()),2&t){const e=D();h(6),_("ngStyle",ke(2,BH,e.servicios.ColSal(e.DetDat.Saldo))),h(1),I(e.servicios.NumFor(e.DetDat.Saldo,2))}}function Z3e(t,n){1&t&&(c(0,"tr")(1,"td",91),X(2,"mat-spinner",60),u()()),2&t&&(h(2),_("diameter",50))}function K3e(t,n){1&t&&(c(0,"tr")(1,"td",92),p(2,"No existen registros"),u()())}function eLe(t,n){if(1&t&&(c(0,"tr",72)(1,"td"),p(2),u(),c(3,"td"),p(4),u(),c(5,"td",93),p(6),u(),c(7,"td",63),p(8),u()()),2&t){const e=n.$implicit,i=D(2);_("ngStyle",ke(5,BH,i.servicios.ColMon(e.Monto))),h(2),I(e.Transaccion),h(2),I(e.Descripcion),h(2),I(i.servicios.NumFor(e.Monto,2)),h(2),I(i.servicios.ForFecHor(e.FecHor))}}function tLe(t,n){if(1&t&&(c(0,"div",88)(1,"div",33)(2,"h3"),p(3,"Detalle de Transacciones"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr")(7,"th",89),p(8,"Transacci\xf3n"),u(),c(9,"th",89),p(10,"Descripci\xf3n"),u(),c(11,"th",90),p(12,"Monto"),u(),c(13,"th",6),p(14,"Fecha Hora"),u()()(),c(15,"tbody"),C(16,Z3e,3,1,"tr",8),C(17,K3e,3,0,"tr",8),C(18,eLe,9,7,"tr",64),u()()()),2&t){const e=D();h(16),_("ngIf",!e.Trans),h(1),_("ngIf",e.Trans&&0==e.Trans.length),h(1),_("ngForOf",e.Trans)}}function nLe(t,n){if(1&t&&(c(0,"div",0),p(1,"Veh\xedculos de "),c(2,"span",1),p(3),u(),c(4,"div",79)(5,"a",80)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,"")}}function iLe(t,n){1&t&&(c(0,"tr")(1,"td",91),X(2,"mat-spinner",60),u()()),2&t&&(h(2),_("diameter",50))}function rLe(t,n){1&t&&(c(0,"tr")(1,"td",92),p(2,"No existen registros"),u()())}function oLe(t,n){if(1&t){const e=ae();c(0,"tr")(1,"td",65)(2,"img",70),R("click",function(){const o=z(e).$implicit;return q(D(2).ModDetVeh(o))}),u(),c(3,"img",71),R("click",function(){const o=z(e).$implicit,s=D(2);return q(s.EliDetVeh(s.DetDat,o))}),u()(),c(4,"td",96),p(5),u(),c(6,"td",96),p(7),u(),c(8,"td",96),p(9),u(),c(10,"td",96),p(11),u(),c(12,"td",93),p(13),u(),c(14,"td",63),p(15),u()()}if(2&t){const e=n.$implicit;h(5),I(e.Tipo),h(2),I(e.Marca),h(2),I(e.Modelo),h(2),I(e.Matricula),h(2),I(e.Ano),h(2),I(e.Estatus)}}function sLe(t,n){if(1&t&&(c(0,"div",94)(1,"div",33)(2,"h3"),p(3,"Lista de Veh\xedculos"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr"),X(7,"th",57),c(8,"th",95),p(9,"Tipo"),u(),c(10,"th",95),p(11,"Marca"),u(),c(12,"th",95),p(13,"Modelo"),u(),c(14,"th",95),p(15,"Matricula"),u(),c(16,"th",95),p(17,"A\xf1o"),u(),c(18,"th",6),p(19,"Estado"),u()()(),c(20,"tbody"),C(21,iLe,3,1,"tr",8),C(22,rLe,3,0,"tr",8),C(23,oLe,16,6,"tr",9),u()()()),2&t){const e=D();h(21),_("ngIf",!e.Vehic),h(1),_("ngIf",e.Vehic&&0==e.Vehic.length),h(1),_("ngForOf",e.Vehic)}}let aLe=(()=>{class t{constructor(e,i,r){this.router=e,this.servicios=i,this.location=r,this.DonBus="",this.OJE=[],this.Tipo="",this.Marca="",this.Modelo="",this.Matricula="",this.Ano="",this.Estatus="",this.NRegDetVehSel=0,this.FecHorAct=(new Date).toISOString(),this.FecAct=this.FecHorAct.substr(0,10),this.DGM={Nombre:"Repartidores",CamMod:[{Tit:"Foto Perfil",Cmp:"FotPer",Tip:"Imagen",Req:"Si",VD:"fpd.png",Val:"",Car:"usu"},{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Apellido",Cmp:"Apellido",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Cedula",Cmp:"Identificacion",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Telefono",Cmp:"Telefono",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Licencia",Cmp:"Licencia",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Email",Cmp:"Email",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Password",Cmp:"Password",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Billetera",Cmp:"Saldo",Tip:"Wallet",Req:"Si",VD:"0",Val:"",Blo:"Si"},{Tit:"Puntos",Cmp:"Puntos",Tip:"Numero",Req:"Si",VD:"100",Val:"",Blo:"Si"},{Tit:"Registro",Cmp:"FecHorReg",Tip:"FechaHora",Req:"Si",VD:this.FecAct,Val:this.FecAct,Blo:"Si"},{Tit:"Tipo",Cmp:"Tipo",Tip:"Texto",Req:"Si",VD:"Repartidor",Val:"",Blo:"Si"},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Bloqueado",Tex:"Bloqueado"},{Val:"Rechazado",Tex:"Rechazado"},{Val:"Nuevo",Tex:"Nuevo"}]}],OpcFil:"Si",CamQry:"*",Tabla:"usuarios",Donde:"WHERE Tipo = |Repartidor|",Ordena:"ORDER BY NRegistro DESC",TabFor:{Fil:[1,2,3,4,5],Col:[1,2,3]},Carpeta:"usu"},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarCmpQry(),this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}Detalles(e){this.DetDat=e,this.CarTra(this.DetDat.NRegistro)}Vehiculos(e){this.DetDat=e,this.CarVeh(this.DetDat.NRegistro)}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarCmpQry(){for(var e=0;e<this.DGM.CamMod.length;e++)if("SelectQry"==this.DGM.CamMod[e].Tip){let i=e;this.servicios.AccSobBD("SELECT","Si",this.DGM.CamMod[e].Qry.Cmps,"","",this.DGM.CamMod[e].Qry.Tab,this.DGM.CamMod[e].Qry.Don,this.DGM.CamMod[e].Qry.Ord,"","CarVar",this,function(r,o){o.DGM.CamMod[i].Qry.Res=r.data})}}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}CarTra(e){this.servicios.AccSobBD("SELECT","Si","*","","","billetera","WHERE NRegUsu = "+e,"ORDER BY FecHor DESC","","CarVar",this,function(i,r){r.Trans=i.data})}CarVeh(e){this.servicios.AccSobBD("SELECT","Si","*","","","repveh","WHERE NRegRep = "+e,"ORDER BY Marca","","CarVar",this,function(i,r){r.Vehic=i.data})}GuaVeh(e){this.servicios.ValCam("Tipo","Tipo","Texto",this.Tipo,"Si")&&this.servicios.ValCam("Marca","Marca","Texto",this.Marca,"Si")&&this.servicios.ValCam("Modelo","Modelo","Texto",this.Modelo,"Si")&&this.servicios.ValCam("Matricula","Matricula","Texto",this.Matricula,"Si")&&this.servicios.ValCam("Ano","A\xf1o","Texto",this.Ano,"Si")&&this.servicios.ValCam("Estatus","Estado","Texto",this.Estatus,"Si")&&(0==this.NRegDetVehSel?this.servicios.AccSobBD("INSERT","No","NRegRep,Tipo,Marca,Modelo,Matricula,Ano,Estatus",e.NRegistro+",|"+this.Tipo+"|,|"+this.Marca+"|,|"+this.Modelo+"|,|"+this.Matricula+"|,|"+this.Ano+"|,|"+this.Estatus+"|","","repveh","","","","Ins",this,function(i,r){r.CarVeh(e.NRegistro)}):this.servicios.AccSobBD("UPDATE","No","","","Tipo=|"+this.Tipo+"|, Marca=|"+this.Marca+"|, Modelo=|"+this.Modelo+"|, Matricula=|"+this.Matricula+"|, Ano=|"+this.Ano+"|, Estatus=|"+this.Estatus+"|","repveh","WHERE NRegistro="+this.NRegDetVehSel,"","","Upd",this,function(i,r){r.CarVeh(e.NRegistro)}),this.Tipo="",this.Marca="",this.Modelo="",this.Matricula="",this.Ano="",this.Estatus="",this.NRegDetVehSel=0)}ModDetVeh(e){this.NRegDetVehSel=e.NRegistro,this.Tipo=e.Tipo,this.Marca=e.Marca,this.Modelo=e.Modelo,this.Matricula=e.Matricula,this.Ano=e.Ano,this.Estatus=e.Estatus}EliDetVeh(e,i){this.servicios.AccSobBD("DELETE","No","","","","repveh","WHERE NRegistro="+i.NRegistro,"","","Del",this,function(r,o){o.CarVeh(e.NRegistro)})}Volver(){this.location.back()}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et),V(Po))},t.\u0275cmp=Oe({type:t,selectors:[["app-mancho"]],decls:115,vars:22,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["width","10%","align","center","valign","middle",4,"ngIf"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["width","10%","align","center","valign","middle"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","class","BotModPie","title","Agregar",3,"click",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","50% !important"],[1,"modal-content",2,"height","550px"],["class","TitMod",4,"ngIf"],[1,"container-fluid"],[1,"row",2,"height","200px !important"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #f00;",4,"ngIf"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],[1,"row",2,"height","280px !important"],["class","col-md-12","style","height:100%; padding:10px; overflow:auto; border:0px solid #00f;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg2"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","80% !important"],[1,"row",2,"height","500px !important"],[1,"col-md-4",2,"height","100%","padding","10px","border","0px solid #f00"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],["cellpadding","5",2,"width","100%","height","90%","background-color","#f5f5f5"],["colspan","2"],[1,"form-group"],["for","Tipo"],[2,"color","#f00"],["id","Tipo",1,"form-control",3,"ngModel","ngModelChange"],["value","Autom\xf3vil"],["value","Motocicleta"],["for","Marca"],["type","text","id","Marca",1,"form-control",3,"ngModel","ngModelChange"],["for","Modelo"],["type","text","id","Modelo",1,"form-control",3,"ngModel","ngModelChange"],["for","Matricula"],["type","text","id","Matricula",1,"form-control",3,"ngModel","ngModelChange"],["for","Ano"],["type","text","id","Ano",1,"form-control",3,"ngModel","ngModelChange"],["for","Estatus"],["id","Estatus",1,"form-control",3,"ngModel","ngModelChange"],["value","Activo"],["value","Inactivo"],["colspan","2",2,"text-align","center"],["src","assets/img/ace.png","title","Guardar",1,"BotModPie",3,"click"],["class","col-md-8","style","height:95%; padding:10px; overflow:auto; border:0px solid #00f;",4,"ngIf"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/mod.png","class","BotMod","title","Modificar",3,"click",4,"ngIf"],["src","assets/img/eli.png","class","BotMod","title","Eliminar",3,"click",4,"ngIf"],["src","assets/img/bil.png","title","Billetera","data-toggle","modal","data-target",".bd-example-modal-lg",1,"BotMod",3,"click"],["src","assets/img/cars.png","title","Veh\xedculos del Repartidor","data-toggle","modal","data-target",".bd-example-modal-lg2",1,"BotMod",3,"click"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[3,"ngStyle"],["target","_blank",3,"href"],["style","height:100px; border-radius:5px;",3,"src",4,"ngIf"],[2,"height","100px","border-radius","5px",3,"src"],["src","assets/img/vol.png","title","Volver",1,"BotModPie",3,"click"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #f00"],[2,"width","100%","height","80%","background-color","#f5f5f5"],["rowspan","3",2,"text-align","center","vertical-align","middle"],["style","height:100px; width:100px; border-radius:50%; margin-right:5px;",3,"src",4,"ngIf"],[2,"height","100px","width","100px","border-radius","50%","margin-right","5px",3,"src"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #0f0"],[2,"text-align","center","font-size","48px",3,"ngStyle"],[1,"col-md-12",2,"height","100%","padding","10px","overflow","auto","border","0px solid #00f"],["scope","col"],["scope","col",2,"text-align","right"],["colspan","8","align","center","valign","middle"],["colspan","8","align","center","valign","middle",2,"color","#856404"],[2,"text-align","right"],[1,"col-md-8",2,"height","95%","padding","10px","overflow","auto","border","0px solid #00f"],["scope","col",2,"text-align","left"],[2,"text-align","left"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Usuarios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,N3e,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,O3e,2,4,"th",7),u()(),c(12,"tbody"),C(13,I3e,3,1,"tr",8),C(14,L3e,3,0,"tr",8),C(15,Y3e,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,U3e,2,1,"span",8),u(),C(21,W3e,2,0,"td",13),c(22,"td",12),C(23,z3e,1,0,"img",14),u(),c(24,"td",12)(25,"img",15),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(26,"td",16)(27,"img",17),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(28,"td",12),C(29,$3e,1,0,"img",18),u()()()(),c(30,"div",19)(31,"div",20)(32,"div",21),C(33,q3e,8,2,"div",22),c(34,"div",23)(35,"div",24),C(36,Q3e,31,7,"div",25),C(37,J3e,8,4,"div",26),u(),c(38,"div",27),C(39,tLe,19,3,"div",28),u()()()()(),c(40,"div",29)(41,"div",30)(42,"div",21),C(43,nLe,8,2,"div",22),c(44,"div",23)(45,"div",31)(46,"div",32)(47,"div",33)(48,"h3"),p(49,"Veh\xedculo"),u()(),c(50,"table",34)(51,"tr")(52,"td",35)(53,"div",36)(54,"label",37)(55,"strong"),p(56,"Tipo"),c(57,"span",38),p(58,"*"),u()()(),c(59,"select",39),R("ngModelChange",function(o){return i.Tipo=o}),c(60,"option",40),p(61,"Autom\xf3vil"),u(),c(62,"option",41),p(63,"Motocicleta"),u()()()()(),c(64,"tr")(65,"td")(66,"div",36)(67,"label",42)(68,"strong"),p(69,"Marca"),c(70,"span",38),p(71,"*"),u()()(),c(72,"input",43),R("ngModelChange",function(o){return i.Marca=o}),u()()(),c(73,"td")(74,"div",36)(75,"label",44)(76,"strong"),p(77,"Modelo"),c(78,"span",38),p(79,"*"),u()()(),c(80,"input",45),R("ngModelChange",function(o){return i.Modelo=o}),u()()()(),c(81,"tr")(82,"td",35)(83,"div",36)(84,"label",46)(85,"strong"),p(86,"Matricula"),c(87,"span",38),p(88,"*"),u()()(),c(89,"input",47),R("ngModelChange",function(o){return i.Matricula=o}),u()()()(),c(90,"tr")(91,"td")(92,"div",36)(93,"label",48)(94,"strong"),p(95,"A\xf1o"),c(96,"span",38),p(97,"*"),u()()(),c(98,"input",49),R("ngModelChange",function(o){return i.Ano=o}),u()()(),c(99,"td")(100,"div",36)(101,"label",50)(102,"strong"),p(103,"Estado"),c(104,"span",38),p(105,"*"),u()()(),c(106,"select",51),R("ngModelChange",function(o){return i.Estatus=o}),c(107,"option",52),p(108,"Activo"),u(),c(109,"option",53),p(110,"Inactivo"),u()()()()(),c(111,"tr")(112,"td",54)(113,"img",55),R("click",function(){return i.GuaVeh(i.DetDat)}),u()()()()(),C(114,sLe,24,3,"div",56),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(1),_("ngIf",-1!=i.DonBus.indexOf("{")),h(2),_("ngIf",""!=i.DonBus),h(6),_("ngIf","Admin"==i.UsuMat.Tipo),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(16),_("ngModel",i.Tipo),h(13),_("ngModel",i.Marca),h(8),_("ngModel",i.Modelo),h(9),_("ngModel",i.Matricula),h(9),_("ngModel",i.Ano),h(8),_("ngModel",i.Estatus),h(8),_("ngIf",i.DetDat))},dependencies:[Mt,mt,Wt,Do,yo,Si,Hr,Ii,ki,Yt]}),t})();function lLe(t,n){1&t&&X(0,"th",57)}const VH=function(t){return{"text-align":t}};function cLe(t,n){if(1&t&&(c(0,"th",58),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,VH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function dLe(t,n){1&t&&(c(0,"tr")(1,"td",59),X(2,"mat-spinner",60),u()()),2&t&&(h(2),_("diameter",50))}function uLe(t,n){1&t&&(c(0,"tr")(1,"td",61),p(2,"No existen registros"),u()())}function fLe(t,n){if(1&t){const e=ae();c(0,"td",65)(1,"img",66),R("click",function(){z(e);const r=D().$implicit;return q(D().Aceptar(r))}),u(),c(2,"img",67),R("click",function(){z(e);const r=D().$implicit;return q(D().Rechazar(r))}),u(),c(3,"img",68),R("click",function(){z(e);const r=D().$implicit;return q(D().Vehiculos(r))}),u()()}}function hLe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D().$implicit,i=D().$implicit,r=D();h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function pLe(t,n){if(1&t&&X(0,"img",72),2&t){const e=D().$implicit,i=D().$implicit,r=D();nn("src","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt)}}function mLe(t,n){if(1&t&&(c(0,"td",69),C(1,hLe,2,1,"span",8),c(2,"a",70),C(3,pLe,1,3,"img",71),u()()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(6,VH,r.servicios.AliCamMod(e.Tip))),h(1),_("ngIf","Imagen"!=e.Tip),h(1),nn("href","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt),h(1),_("ngIf","Imagen"==e.Tip)}}function gLe(t,n){if(1&t&&(c(0,"tr"),C(1,fLe,4,0,"td",62),c(2,"td",63),p(3),u(),C(4,mLe,4,8,"td",64),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function _Le(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function vLe(t,n){if(1&t){const e=ae();c(0,"td",16)(1,"img",73),R("click",function(){return z(e),q(D().Volver())}),u()()}}function bLe(t,n){if(1&t){const e=ae();c(0,"img",74),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function DLe(t,n){if(1&t&&(c(0,"div",0),p(1,"Billetera de "),c(2,"span",1),p(3),u(),c(4,"div",75)(5,"a",76)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,"")}}function yLe(t,n){if(1&t&&X(0,"img",81),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotPer,"",rt)}}function MLe(t,n){if(1&t&&(c(0,"div",77)(1,"div",32)(2,"h3"),p(3),u()(),c(4,"table",78)(5,"tr")(6,"td",79),C(7,yLe,1,2,"img",80),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()(),c(25,"tr")(26,"td",54)(27,"strong"),p(28,"Puntos: "),u(),c(29,"span"),p(30),u()()()()()),2&t){const e=D();h(3),I(e.DetDat.Tipo),h(4),_("ngIf",e.DetDat.FotPer),h(5),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,""),h(6),I(e.DetDat.Telefono),h(6),I(e.DetDat.Email),h(6),I(e.DetDat.Puntos)}}const HH=function(t){return{color:t}};function CLe(t,n){if(1&t&&(c(0,"div",82)(1,"div",32)(2,"h3"),p(3,"Saldo"),u()(),c(4,"table",78)(5,"tr")(6,"td",83),p(7),u()()()()),2&t){const e=D();h(6),_("ngStyle",ke(2,HH,e.servicios.ColSal(e.DetDat.Saldo))),h(1),I(e.servicios.NumFor(e.DetDat.Saldo,2))}}function xLe(t,n){1&t&&(c(0,"tr")(1,"td",87),X(2,"mat-spinner",60),u()()),2&t&&(h(2),_("diameter",50))}function TLe(t,n){1&t&&(c(0,"tr")(1,"td",88),p(2,"No existen registros"),u()())}function wLe(t,n){if(1&t&&(c(0,"tr",69)(1,"td"),p(2),u(),c(3,"td"),p(4),u(),c(5,"td",89),p(6),u(),c(7,"td",63),p(8),u()()),2&t){const e=n.$implicit,i=D(2);_("ngStyle",ke(5,HH,i.servicios.ColMon(e.Monto))),h(2),I(e.Transaccion),h(2),I(e.Descripcion),h(2),I(i.servicios.NumFor(e.Monto,2)),h(2),I(i.servicios.ForFecHor(e.FecHor))}}function ELe(t,n){if(1&t&&(c(0,"div",84)(1,"div",32)(2,"h3"),p(3,"Detalle de Transacciones"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr")(7,"th",85),p(8,"Transacci\xf3n"),u(),c(9,"th",85),p(10,"Descripci\xf3n"),u(),c(11,"th",86),p(12,"Monto"),u(),c(13,"th",6),p(14,"Fecha Hora"),u()()(),c(15,"tbody"),C(16,xLe,3,1,"tr",8),C(17,TLe,3,0,"tr",8),C(18,wLe,9,7,"tr",64),u()()()),2&t){const e=D();h(16),_("ngIf",!e.Trans),h(1),_("ngIf",e.Trans&&0==e.Trans.length),h(1),_("ngForOf",e.Trans)}}function SLe(t,n){if(1&t&&(c(0,"div",0),p(1,"Veh\xedculos de "),c(2,"span",1),p(3),u(),c(4,"div",75)(5,"a",76)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,"")}}function kLe(t,n){1&t&&(c(0,"tr")(1,"td",87),X(2,"mat-spinner",60),u()()),2&t&&(h(2),_("diameter",50))}function ALe(t,n){1&t&&(c(0,"tr")(1,"td",88),p(2,"No existen registros"),u()())}function RLe(t,n){if(1&t){const e=ae();c(0,"tr")(1,"td",65)(2,"img",92),R("click",function(){const o=z(e).$implicit;return q(D(2).ModDetVeh(o))}),u(),c(3,"img",93),R("click",function(){const o=z(e).$implicit,s=D(2);return q(s.EliDetVeh(s.DetDat,o))}),u()(),c(4,"td",94),p(5),u(),c(6,"td",94),p(7),u(),c(8,"td",94),p(9),u(),c(10,"td",94),p(11),u(),c(12,"td",89),p(13),u(),c(14,"td",63),p(15),u()()}if(2&t){const e=n.$implicit;h(5),I(e.Tipo),h(2),I(e.Marca),h(2),I(e.Modelo),h(2),I(e.Matricula),h(2),I(e.Ano),h(2),I(e.Estatus)}}function FLe(t,n){if(1&t&&(c(0,"div",90)(1,"div",32)(2,"h3"),p(3,"Lista de Veh\xedculos"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr"),X(7,"th",57),c(8,"th",91),p(9,"Tipo"),u(),c(10,"th",91),p(11,"Marca"),u(),c(12,"th",91),p(13,"Modelo"),u(),c(14,"th",91),p(15,"Matricula"),u(),c(16,"th",91),p(17,"A\xf1o"),u(),c(18,"th",6),p(19,"Estado"),u()()(),c(20,"tbody"),C(21,kLe,3,1,"tr",8),C(22,ALe,3,0,"tr",8),C(23,RLe,16,6,"tr",9),u()()()),2&t){const e=D();h(21),_("ngIf",!e.Vehic),h(1),_("ngIf",e.Vehic&&0==e.Vehic.length),h(1),_("ngForOf",e.Vehic)}}let NLe=(()=>{class t{constructor(e,i,r){this.router=e,this.servicios=i,this.location=r,this.DonBus="",this.OJE=[],this.Tipo="",this.Marca="",this.Modelo="",this.Matricula="",this.Ano="",this.Estatus="",this.NRegDetVehSel=0,this.DGM={Nombre:"Nuevos Repartidores",CamMod:[{Tit:"Foto Perfil",Cmp:"FotPer",Tip:"Imagen",Req:"Si",VD:"fpd.png",Val:"",Car:"usu"},{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Apellido",Cmp:"Apellido",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Telefono",Cmp:"Telefono",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Licencia",Cmp:"Licencia",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Email",Cmp:"Email",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Password",Cmp:"Password",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Registro",Cmp:"FecHorReg",Tip:"FechaHora",Req:"Si",VD:"0",Val:"",Blo:"Si"},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Bloqueado",Tex:"Bloqueado"},{Val:"Rechazado",Tex:"Rechazado"},{Val:"Nuevo",Tex:"Nuevo"}]}],OpcFil:"Si",CamQry:"*",Tabla:"usuarios A",Donde:"WHERE Tipo = |Repartidor| AND Estatus = |Nuevo|",Ordena:"ORDER BY NRegistro DESC",TabFor:{Fil:[1,2,3],Col:[1,2,3]},Carpeta:"usu"},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarCmpQry(),this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}Detalles(e){this.DetDat=e,this.CarTra(this.DetDat.NRegistro)}Vehiculos(e){this.DetDat=e,this.CarVeh(this.DetDat.NRegistro)}Aceptar(e){this.servicios.VPB=0,this.servicios.AccSobBD("UPDATE","No","","","Estatus = |Activo|","usuarios","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(i,r){r.DatRes=i.data,r.CarLis()})}Rechazar(e){this.servicios.VPB=0,this.servicios.AccSobBD("UPDATE","No","","","Estatus = |Rechazado|","usuarios","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(i,r){r.DatRes=i.data,r.CarLis()})}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarCmpQry(){for(var e=0;e<this.DGM.CamMod.length;e++)if("SelectQry"==this.DGM.CamMod[e].Tip){let i=e;this.servicios.AccSobBD("SELECT","Si",this.DGM.CamMod[e].Qry.Cmps,"","",this.DGM.CamMod[e].Qry.Tab,this.DGM.CamMod[e].Qry.Don,this.DGM.CamMod[e].Qry.Ord,"","CarVar",this,function(r,o){o.DGM.CamMod[i].Qry.Res=r.data})}}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}CarTra(e){this.servicios.AccSobBD("SELECT","Si","*","","","billetera","WHERE NRegUsu = "+e,"ORDER BY FecHor DESC","","CarVar",this,function(i,r){r.Trans=i.data})}CarVeh(e){this.servicios.AccSobBD("SELECT","Si","*","","","repveh","WHERE NRegRep = "+e,"ORDER BY Marca","","CarVar",this,function(i,r){r.Vehic=i.data})}GuaVeh(e){this.servicios.ValCam("Tipo","Tipo","Texto",this.Tipo,"Si")&&this.servicios.ValCam("Marca","Marca","Texto",this.Marca,"Si")&&this.servicios.ValCam("Modelo","Modelo","Texto",this.Modelo,"Si")&&this.servicios.ValCam("Matricula","Matricula","Texto",this.Matricula,"Si")&&this.servicios.ValCam("Ano","A\xf1o","Texto",this.Ano,"Si")&&this.servicios.ValCam("Estatus","Estado","Texto",this.Estatus,"Si")&&(0==this.NRegDetVehSel?this.servicios.AccSobBD("INSERT","No","NRegRep,Tipo,Marca,Modelo,Matricula,Ano,Estatus",e.NRegistro+",|"+this.Tipo+"|,|"+this.Marca+"|,|"+this.Modelo+"|,|"+this.Matricula+"|,|"+this.Ano+"|,|"+this.Estatus+"|","","repveh","","","","Ins",this,function(i,r){r.CarVeh(e.NRegistro)}):this.servicios.AccSobBD("UPDATE","No","","","Tipo=|"+this.Tipo+"|, Marca=|"+this.Marca+"|, Modelo=|"+this.Modelo+"|, Matricula=|"+this.Matricula+"|, Ano=|"+this.Ano+"|, Estatus=|"+this.Estatus+"|","repveh","WHERE NRegistro="+this.NRegDetVehSel,"","","Upd",this,function(i,r){r.CarVeh(e.NRegistro)}),this.Tipo="",this.Marca="",this.Modelo="",this.Matricula="",this.Ano="",this.Estatus="",this.NRegDetVehSel=0)}ModDetVeh(e){this.NRegDetVehSel=e.NRegistro,this.Tipo=e.Tipo,this.Marca=e.Marca,this.Modelo=e.Modelo,this.Matricula=e.Matricula,this.Ano=e.Ano,this.Estatus=e.Estatus}EliDetVeh(e,i){this.servicios.AccSobBD("DELETE","No","","","","repveh","WHERE NRegistro="+i.NRegistro,"","","Del",this,function(r,o){o.CarVeh(e.NRegistro)})}Volver(){this.location.back()}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et),V(Po))},t.\u0275cmp=Oe({type:t,selectors:[["app-manchonue"]],decls:116,vars:21,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["width","10%","align","center","valign","middle",4,"ngIf"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["width","10%","align","center","valign","middle"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","50% !important"],[1,"modal-content",2,"height","550px"],["class","TitMod",4,"ngIf"],[1,"container-fluid"],[1,"row",2,"height","200px !important"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #f00;",4,"ngIf"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],[1,"row",2,"height","280px !important"],["class","col-md-12","style","height:100%; padding:10px; overflow:auto; border:0px solid #00f;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg2"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","80% !important"],[1,"row",2,"height","500px !important"],[1,"col-md-4",2,"height","100%","padding","10px","border","0px solid #f00"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],["cellpadding","5",2,"width","100%","height","90%","background-color","#f5f5f5"],["colspan","2"],[1,"form-group"],["for","Tipo"],[2,"color","#f00"],["id","Tipo",1,"form-control",3,"ngModel","ngModelChange"],["value","Autom\xf3vil"],["value","Bicicleta"],["value","Motocicleta"],["for","Marca"],["type","text","id","Marca",1,"form-control",3,"ngModel","ngModelChange"],["for","Modelo"],["type","text","id","Modelo",1,"form-control",3,"ngModel","ngModelChange"],["for","Matricula"],["type","text","id","Matricula",1,"form-control",3,"ngModel","ngModelChange"],["for","Ano"],["type","text","id","Ano",1,"form-control",3,"ngModel","ngModelChange"],["for","Estatus"],["id","Estatus",1,"form-control",3,"ngModel","ngModelChange"],["value","Activo"],["value","Inactivo"],["colspan","2",2,"text-align","center"],["src","assets/img/ace.png","title","Guardar",1,"BotModPie",3,"click"],["class","col-md-8","style","height:95%; padding:10px; overflow:auto; border:0px solid #00f;",4,"ngIf"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/ace.png","title","Aceptar",1,"BotMod",3,"click"],["src","assets/img/can.png","title","Rechazar",1,"BotMod",3,"click"],["src","assets/img/cars.png","title","Veh\xedculos del Repartidor","data-toggle","modal","data-target",".bd-example-modal-lg2",1,"BotMod",3,"click"],[3,"ngStyle"],["target","_blank",3,"href"],["style","height:100px; border-radius:5px;",3,"src",4,"ngIf"],[2,"height","100px","border-radius","5px",3,"src"],["src","assets/img/vol.png","title","Volver",1,"BotModPie",3,"click"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #f00"],[2,"width","100%","height","80%","background-color","#f5f5f5"],["rowspan","3",2,"text-align","center","vertical-align","middle"],["style","height:100px; width:100px; border-radius:50%; margin-right:5px;",3,"src",4,"ngIf"],[2,"height","100px","width","100px","border-radius","50%","margin-right","5px",3,"src"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #0f0"],[2,"text-align","center","font-size","48px",3,"ngStyle"],[1,"col-md-12",2,"height","100%","padding","10px","overflow","auto","border","0px solid #00f"],["scope","col"],["scope","col",2,"text-align","right"],["colspan","8","align","center","valign","middle"],["colspan","8","align","center","valign","middle",2,"color","#856404"],[2,"text-align","right"],[1,"col-md-8",2,"height","95%","padding","10px","overflow","auto","border","0px solid #00f"],["scope","col",2,"text-align","left"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[2,"text-align","left"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,lLe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,cLe,2,4,"th",7),u()(),c(12,"tbody"),C(13,dLe,3,1,"tr",8),C(14,uLe,3,0,"tr",8),C(15,gLe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,_Le,2,1,"span",8),u(),C(21,vLe,2,0,"td",13),c(22,"td",12),C(23,bLe,1,0,"img",14),u(),c(24,"td",12)(25,"img",15),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(26,"td",16)(27,"img",17),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),X(28,"td",12),u()()(),c(29,"div",18)(30,"div",19)(31,"div",20),C(32,DLe,8,2,"div",21),c(33,"div",22)(34,"div",23),C(35,MLe,31,7,"div",24),C(36,CLe,8,4,"div",25),u(),c(37,"div",26),C(38,ELe,19,3,"div",27),u()()()()(),c(39,"div",28)(40,"div",29)(41,"div",20),C(42,SLe,8,2,"div",21),c(43,"div",22)(44,"div",30)(45,"div",31)(46,"div",32)(47,"h3"),p(48,"Veh\xedculo"),u()(),c(49,"table",33)(50,"tr")(51,"td",34)(52,"div",35)(53,"label",36)(54,"strong"),p(55,"Tipo"),c(56,"span",37),p(57,"*"),u()()(),c(58,"select",38),R("ngModelChange",function(o){return i.Tipo=o}),c(59,"option",39),p(60,"Autom\xf3vil"),u(),c(61,"option",40),p(62,"Bicicleta"),u(),c(63,"option",41),p(64,"Motocicleta"),u()()()()(),c(65,"tr")(66,"td")(67,"div",35)(68,"label",42)(69,"strong"),p(70,"Marca"),c(71,"span",37),p(72,"*"),u()()(),c(73,"input",43),R("ngModelChange",function(o){return i.Marca=o}),u()()(),c(74,"td")(75,"div",35)(76,"label",44)(77,"strong"),p(78,"Modelo"),c(79,"span",37),p(80,"*"),u()()(),c(81,"input",45),R("ngModelChange",function(o){return i.Modelo=o}),u()()()(),c(82,"tr")(83,"td",34)(84,"div",35)(85,"label",46)(86,"strong"),p(87,"Matricula"),c(88,"span",37),p(89,"*"),u()()(),c(90,"input",47),R("ngModelChange",function(o){return i.Matricula=o}),u()()()(),c(91,"tr")(92,"td")(93,"div",35)(94,"label",48)(95,"strong"),p(96,"A\xf1o"),c(97,"span",37),p(98,"*"),u()()(),c(99,"input",49),R("ngModelChange",function(o){return i.Ano=o}),u()()(),c(100,"td")(101,"div",35)(102,"label",50)(103,"strong"),p(104,"Estado"),c(105,"span",37),p(106,"*"),u()()(),c(107,"select",51),R("ngModelChange",function(o){return i.Estatus=o}),c(108,"option",52),p(109,"Activo"),u(),c(110,"option",53),p(111,"Inactivo"),u()()()()(),c(112,"tr")(113,"td",54)(114,"img",55),R("click",function(){return i.GuaVeh(i.DetDat)}),u()()()()(),C(115,FLe,24,3,"div",56),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(1),_("ngIf",-1!=i.DonBus.indexOf("{")),h(2),_("ngIf",""!=i.DonBus),h(9),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(16),_("ngModel",i.Tipo),h(15),_("ngModel",i.Marca),h(8),_("ngModel",i.Modelo),h(9),_("ngModel",i.Matricula),h(9),_("ngModel",i.Ano),h(8),_("ngModel",i.Estatus),h(8),_("ngIf",i.DetDat))},dependencies:[Mt,mt,Wt,Do,yo,Si,Hr,Ii,ki,Yt]}),t})();function OLe(t,n){1&t&&X(0,"th",28)}const GH=function(t){return{"text-align":t}};function ILe(t,n){if(1&t&&(c(0,"th",29),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,GH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function LLe(t,n){1&t&&(c(0,"tr")(1,"td",30),X(2,"mat-spinner",31),u()()),2&t&&(h(2),_("diameter",50))}function PLe(t,n){1&t&&(c(0,"tr")(1,"td",32),p(2,"No existen registros"),u()())}function BLe(t,n){if(1&t){const e=ae();c(0,"td",36)(1,"img",37),R("click",function(){z(e);const r=D().$implicit;return q(D().Aceptar(r))}),u(),c(2,"img",38),R("click",function(){z(e);const r=D().$implicit;return q(D().Rechazar(r))}),u()()}}function VLe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D().$implicit,i=D().$implicit,r=D();h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function HLe(t,n){if(1&t&&X(0,"img",42),2&t){const e=D().$implicit,i=D().$implicit,r=D();nn("src","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt)}}function GLe(t,n){if(1&t&&(c(0,"td",39),C(1,VLe,2,1,"span",8),c(2,"a",40),C(3,HLe,1,3,"img",41),u()()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(6,GH,r.servicios.AliCamMod(e.Tip))),h(1),_("ngIf","Imagen"!=e.Tip),h(1),nn("href","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt),h(1),_("ngIf","Imagen"==e.Tip)}}function jLe(t,n){if(1&t&&(c(0,"tr"),C(1,BLe,3,0,"td",33),c(2,"td",34),p(3),u(),C(4,GLe,4,8,"td",35),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function YLe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function ULe(t,n){if(1&t){const e=ae();c(0,"td",16)(1,"img",43),R("click",function(){return z(e),q(D().Volver())}),u()()}}function WLe(t,n){if(1&t){const e=ae();c(0,"img",44),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function zLe(t,n){if(1&t&&(c(0,"div",0),p(1,"Billetera de "),c(2,"span",1),p(3),u(),c(4,"div",45)(5,"a",46)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,"")}}function $Le(t,n){if(1&t&&X(0,"img",53),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotPer,"",rt)}}function qLe(t,n){if(1&t&&(c(0,"div",47)(1,"div",48)(2,"h3"),p(3),u()(),c(4,"table",49)(5,"tr")(6,"td",50),C(7,$Le,1,2,"img",51),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()(),c(25,"tr")(26,"td",52)(27,"strong"),p(28,"Puntos: "),u(),c(29,"span"),p(30),u()()()()()),2&t){const e=D();h(3),I(e.DetDat.Tipo),h(4),_("ngIf",e.DetDat.FotPer),h(5),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,""),h(6),I(e.DetDat.Telefono),h(6),I(e.DetDat.Email),h(6),I(e.DetDat.Puntos)}}const jH=function(t){return{color:t}};function XLe(t,n){if(1&t&&(c(0,"div",54)(1,"div",48)(2,"h3"),p(3,"Saldo"),u()(),c(4,"table",49)(5,"tr")(6,"td",55),p(7),u()()()()),2&t){const e=D();h(6),_("ngStyle",ke(2,jH,e.servicios.ColSal(e.DetDat.Saldo))),h(1),I(e.servicios.NumFor(e.DetDat.Saldo,2))}}function QLe(t,n){1&t&&(c(0,"tr")(1,"td",59),X(2,"mat-spinner",31),u()()),2&t&&(h(2),_("diameter",50))}function JLe(t,n){1&t&&(c(0,"tr")(1,"td",60),p(2,"No existen registros"),u()())}function ZLe(t,n){if(1&t&&(c(0,"tr",39)(1,"td"),p(2),u(),c(3,"td"),p(4),u(),c(5,"td",61),p(6),u(),c(7,"td",34),p(8),u()()),2&t){const e=n.$implicit,i=D(2);_("ngStyle",ke(5,jH,i.servicios.ColMon(e.Monto))),h(2),I(e.Transaccion),h(2),I(e.Descripcion),h(2),I(i.servicios.NumFor(e.Monto,2)),h(2),I(i.servicios.ForFecHor(e.FecHor))}}function KLe(t,n){if(1&t&&(c(0,"div",56)(1,"div",48)(2,"h3"),p(3,"Detalle de Transacciones"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr")(7,"th",57),p(8,"Transacci\xf3n"),u(),c(9,"th",57),p(10,"Descripci\xf3n"),u(),c(11,"th",58),p(12,"Monto"),u(),c(13,"th",6),p(14,"Fecha Hora"),u()()(),c(15,"tbody"),C(16,QLe,3,1,"tr",8),C(17,JLe,3,0,"tr",8),C(18,ZLe,9,7,"tr",35),u()()()),2&t){const e=D();h(16),_("ngIf",!e.Trans),h(1),_("ngIf",e.Trans&&0==e.Trans.length),h(1),_("ngForOf",e.Trans)}}let ePe=(()=>{class t{constructor(e,i,r){this.router=e,this.servicios=i,this.location=r,this.DonBus="",this.OJE=[],this.Tipo="",this.Marca="",this.Modelo="",this.Matricula="",this.Ano="",this.Estatus="",this.NRegDetVehSel=0,this.DGM={Nombre:"Nuevos Vendedores",CamMod:[{Tit:"Nombre Comercio",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Nombre",Cmp:"NomCon",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Apellido",Cmp:"ApeCon",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Tel\xe9fono",Cmp:"TelCon",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Identificaci\xf3n",Cmp:"IdeCon",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"DUI Anverso",Cmp:"DUIAnv",Tip:"Imagen",Req:"Si",VD:"fpdda.png",Val:"",Car:"usu"},{Tit:"DUI Reverso",Cmp:"DUIRev",Tip:"Imagen",Req:"Si",VD:"fpddr.png",Val:"",Car:"usu"},{Tit:"Departamento",Cmp:"Departamento",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Municipio",Cmp:"Municipio",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Direcci\xf3n",Cmp:"Domicilio",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Email",Cmp:"Email",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Registro",Cmp:"FecHorReg",Tip:"FechaHora",Req:"Si",VD:"0",Val:"",Blo:"Si"},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Bloqueado",Tex:"Bloqueado"},{Val:"Rechazado",Tex:"Rechazado"},{Val:"Nuevo",Tex:"Nuevo"}]}],OpcFil:"Si",CamQry:"*",Tabla:"usuarios A",Donde:"WHERE Tipo = |Vendedor| AND Estatus = |Nuevo|",Ordena:"ORDER BY NRegistro DESC",TabFor:{Fil:[1,2,3],Col:[1,2,3]},Carpeta:"usu"},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarCmpQry(),this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}Detalles(e){this.DetDat=e,this.CarTra(this.DetDat.NRegistro)}Aceptar(e){this.servicios.VPB=0,this.servicios.AccSobBD("UPDATE","No","","","Estatus = |Activo|","usuarios","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(i,r){r.DatRes=i.data,r.CarLis()})}Rechazar(e){this.servicios.VPB=0,this.servicios.AccSobBD("UPDATE","No","","","Estatus = |Rechazado|","usuarios","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(i,r){r.DatRes=i.data,r.CarLis()})}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarCmpQry(){for(var e=0;e<this.DGM.CamMod.length;e++)if("SelectQry"==this.DGM.CamMod[e].Tip){let i=e;this.servicios.AccSobBD("SELECT","Si",this.DGM.CamMod[e].Qry.Cmps,"","",this.DGM.CamMod[e].Qry.Tab,this.DGM.CamMod[e].Qry.Don,this.DGM.CamMod[e].Qry.Ord,"","CarVar",this,function(r,o){o.DGM.CamMod[i].Qry.Res=r.data})}}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}CarTra(e){this.servicios.AccSobBD("SELECT","Si","*","","","billetera","WHERE NRegUsu = "+e,"ORDER BY FecHor DESC","","CarVar",this,function(i,r){r.Trans=i.data})}Volver(){this.location.back()}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et),V(Po))},t.\u0275cmp=Oe({type:t,selectors:[["app-manvennue"]],decls:39,vars:13,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["width","10%","align","center","valign","middle",4,"ngIf"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["width","10%","align","center","valign","middle"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","50% !important"],[1,"modal-content",2,"height","550px"],["class","TitMod",4,"ngIf"],[1,"container-fluid"],[1,"row",2,"height","200px !important"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #f00;",4,"ngIf"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],[1,"row",2,"height","280px !important"],["class","col-md-12","style","height:100%; padding:10px; overflow:auto; border:0px solid #00f;",4,"ngIf"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/ace.png","title","Aceptar",1,"BotMod",3,"click"],["src","assets/img/can.png","title","Rechazar",1,"BotMod",3,"click"],[3,"ngStyle"],["target","_blank",3,"href"],["style","height:100px; border-radius:5px;",3,"src",4,"ngIf"],[2,"height","100px","border-radius","5px",3,"src"],["src","assets/img/vol.png","title","Volver",1,"BotModPie",3,"click"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #f00"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],[2,"width","100%","height","80%","background-color","#f5f5f5"],["rowspan","3",2,"text-align","center","vertical-align","middle"],["style","height:100px; width:100px; border-radius:50%; margin-right:5px;",3,"src",4,"ngIf"],["colspan","2",2,"text-align","center"],[2,"height","100px","width","100px","border-radius","50%","margin-right","5px",3,"src"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #0f0"],[2,"text-align","center","font-size","48px",3,"ngStyle"],[1,"col-md-12",2,"height","100%","padding","10px","overflow","auto","border","0px solid #00f"],["scope","col"],["scope","col",2,"text-align","right"],["colspan","8","align","center","valign","middle"],["colspan","8","align","center","valign","middle",2,"color","#856404"],[2,"text-align","right"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,OLe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,ILe,2,4,"th",7),u()(),c(12,"tbody"),C(13,LLe,3,1,"tr",8),C(14,PLe,3,0,"tr",8),C(15,jLe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,YLe,2,1,"span",8),u(),C(21,ULe,2,0,"td",13),c(22,"td",12),C(23,WLe,1,0,"img",14),u(),c(24,"td",12)(25,"img",15),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(26,"td",16)(27,"img",17),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),X(28,"td",12),u()()(),c(29,"div",18)(30,"div",19)(31,"div",20),C(32,zLe,8,2,"div",21),c(33,"div",22)(34,"div",23),C(35,qLe,31,7,"div",24),C(36,XLe,8,4,"div",25),u(),c(37,"div",26),C(38,KLe,19,3,"div",27),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(1),_("ngIf",-1!=i.DonBus.indexOf("{")),h(2),_("ngIf",""!=i.DonBus),h(9),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat))},dependencies:[Mt,mt,Wt,Yt]}),t})(),tPe=(()=>{class t{constructor(e){this.servicios=e,this.pdfSrcAdm="../../assets/doc/tercon.pdf",this.pdfSrcSop="../../assets/doc/ayusop.pdf",this.pdfSrcSup="../../assets/doc/ayusup.pdf",this.pdfSrcEmp="../../assets/doc/ayuemp.pdf",this.UsuMat=this.servicios.getUsuMat()}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-ayuda"]],decls:4,vars:0,consts:[[1,"TitMod"],[2,"font-size","18px"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Opciones / "),c(2,"span",1),p(3,"Ayuda"),u()())}}),t})();function nPe(t,n){if(1&t&&(c(0,"option",36),p(1),u()),2&t){const e=n.$implicit;Hi("value",e.Nombre),h(1),I(e.Nombre)}}let iPe=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.FecAct=(new Date).toISOString(),this.FecDes=this.FecAct.substr(0,10),this.FecHas=this.FecAct.substr(0,10),this.TotCli=0,this.TotCho=0,this.TotEmp=0,this.TotGan=0,this.TotCliAct=0,this.TotChoAct=0,this.TotVia=0,this.TotCur=0,this.TotCan=0,this.TotTer=0,this.Zona="",this.OJE=[],this.UsuMat=this.servicios.getUsuMat(),"Empresa"==this.UsuMat.Tipo&&this.router.navigate(["home/dashemp"]),this.DGM="Admin"==this.UsuMat.Tipo?{Nombre:"Viajes",CamMod:[{Tit:"Vendedor",Cmp:"DesCli",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegCli)"},{Tit:"Origen",Cmp:"OriDes",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Destino",Cmp:"DesDes",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Calificaci\xf3n Vendedor",Cmp:"PunCalCli",Tip:"Entero",Req:"Si",VD:"",Val:""},{Tit:"Repartidor",Cmp:"DesCho",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0)"},{Tit:"Calificaci\xf3n Repartidor",Cmp:"PunCalCho",Tip:"Entero",Req:"Si",VD:"",Val:""},{Tit:"Recorrido Mts",Cmp:"Recorrido",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Precio $",Cmp:"Precio",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Zona",Cmp:"OriZon",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Promoci\xf3n Vendedor $",Cmp:"ProCli",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Promoci\xf3n Repartidor $",Cmp:"ProCho",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Ganancia $",Cmp:"Ganancia",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Solicitado",Cmp:"FecHorSol",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Cancelado",Cmp:"FecHorCan",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Inicio",Cmp:"FecHorIni",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Fin",Cmp:"FecHorFin",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Nuevo",Tex:"Nuevo"},{Val:"Aceptado",Tex:"Aceptado"},{Val:"Cerca",Tex:"Cerca"},{Val:"Iniciado",Tex:"Iniciado"},{Val:"Finalizado",Tex:"Finalizado"},{Val:"Calificado Repartidor",Tex:"Calificado Repartidor"},{Val:"Calificado Vendedor",Tex:"Calificado Vendedor"},{Val:"Cancelado Vendedor",Tex:"Cancelado Vendedor"},{Val:"Cancelado Repartidor",Tex:"Cancelado Repartidor"},{Val:"Terminado",Tex:"Terminado"}]}],OpcFil:"Si",CamQry:"*,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegCli) DesCli,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegCli) FotCli,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegCli) TelCli,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegCli) EmaCli,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) DesCho,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) FotCho,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) TelCho,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) EmaCho",Tabla:"viajes A",Donde:"",Ordena:"ORDER BY NRegistro DESC",TabFor:{Fil:[1,2,3,4,5],Col:[1,2,3]},Carpeta:""}:{Nombre:"Viajes",CamMod:[{Tit:"Vendedor",Cmp:"DesCli",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegCli)"},{Tit:"Origen",Cmp:"OriDes",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Destino",Cmp:"DesDes",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Calificaci\xf3n Vendedor",Cmp:"PunCalCli",Tip:"Entero",Req:"Si",VD:"",Val:""},{Tit:"Repartidor",Cmp:"DesCho",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0)"},{Tit:"Calificaci\xf3n Repartidor",Cmp:"PunCalCho",Tip:"Entero",Req:"Si",VD:"",Val:""},{Tit:"Recorrido Mts",Cmp:"Recorrido",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Precio $",Cmp:"Precio",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Solicitado",Cmp:"FecHorSol",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Cancelado",Cmp:"FecHorCan",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Inicio",Cmp:"FecHorIni",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Fin",Cmp:"FecHorFin",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Nuevo",Tex:"Nuevo"},{Val:"Aceptado",Tex:"Aceptado"},{Val:"Cerca",Tex:"Cerca"},{Val:"Iniciado",Tex:"Iniciado"},{Val:"Finalizado",Tex:"Finalizado"},{Val:"Calificado Repartidor",Tex:"Calificado Repartidor"},{Val:"Calificado Vendedor",Tex:"Calificado Vendedor"},{Val:"Cancelado Vendedor",Tex:"Cancelado Vendedor"},{Val:"Cancelado Repartidor",Tex:"Cancelado Repartidor"},{Val:"Terminado",Tex:"Terminado"}]}],OpcFil:"Si",CamQry:"*,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegCli) DesCli,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegCli) FotCli,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegCli) TelCli,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegCli) EmaCli,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) DesCho,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) FotCho,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) TelCho,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) EmaCho",Tabla:"viajes A",Donde:"",Ordena:"ORDER BY NRegistro DESC",TabFor:{Fil:[1,2,3,4,5],Col:[1,2,3]},Carpeta:""},this.DGM2={Nombre:"Repartidores",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Apellido",Cmp:"Apellido",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Telefono",Cmp:"Telefono",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Email",Cmp:"Email",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Password",Cmp:"Password",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Tipo",Cmp:"Tipo",Tip:"Texto",Req:"Si",VD:"Repartidor",Val:"",Blo:"Si"},{Tit:"Billetera",Cmp:"Saldo",Tip:"Wallet",Req:"Si",VD:"0",Val:"",Blo:"Si"},{Tit:"Zona",Cmp:"Zona",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"Nombre,Nombre",Tab:"zonas",Don:"WHERE Estatus = |Activa|",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Bloqueado",Tex:"Bloqueado"}]}],OpcFil:"Si",CamQry:"*",Tabla:"usuarios",Donde:"WHERE Tipo = |Repartidor|",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3],Col:[1,2,3]},Carpeta:""},this.DGM3={Nombre:"Vendedores",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Apellido",Cmp:"Apellido",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Telefono",Cmp:"Telefono",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Email",Cmp:"Email",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Password",Cmp:"Password",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Tipo",Cmp:"Tipo",Tip:"Texto",Req:"Si",VD:"Vendedor",Val:"",Blo:"Si"},{Tit:"Billetera",Cmp:"Saldo",Tip:"Wallet",Req:"Si",VD:"0",Val:"",Blo:"Si"},{Tit:"Cr\xe9dito",Cmp:"Credito",Tip:"Wallet",Req:"Si",VD:"0",Val:"",Blo:"No"},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Bloqueado",Tex:"Bloqueado"}]}],OpcFil:"Si",CamQry:"*",Tabla:"usuarios",Donde:"WHERE Tipo = |Vendedor|",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3],Col:[1,2,3]},Carpeta:""}}ngOnInit(){}ngAfterViewLoad(){this.UsuMat&&(this.CarTotVia(),this.CarTotCur(),this.CarTotCan(),this.CarTotTer(),this.CarTotCliAct(),this.CarTotChoAct(),this.CarLisZona(),this.CarVia())}VerCli(){this.router.navigate(["home/mancli"])}VerCon(){this.router.navigate(["home/mancho"])}VerEmp(){this.router.navigate(["home/manemp"])}VerBil(){this.router.navigate(["home/billetera"])}VerVia(e){var i="";switch(e){case"Todos":i="";break;case"Curso":i="Estatus NOT IN (|Terminado|,|Cancelado Vendedor|,|Cancelado Repartidor|)";break;case"Cancelados":i="Estatus IN (|Cancelado Vendedor|,|Cancelado Repartidor|)";break;case"Terminados":i="Estatus = |Terminado|"}window.localStorage.setItem("buscarViajes",i),this.router.navigate(["home/viajes"])}CarTotVia(){this.servicios.AccSobBD("SELECT","Si","COUNT(*) TotVia","","","pedidos","WHERE OriZon LIKE |\xb7"+this.Zona+"\xb7| AND FecHorSol BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY) AND NRegRep IN (SELECT NRegistro FROM usuarios WHERE NRegEmp = "+this.UsuMat.NRegistro+")","","","CarVar",this,function(e,i){i.TotVia=e.data[0].TotVia})}CarTotCur(){this.servicios.AccSobBD("SELECT","Si","COUNT(*) TotCur","","","pedidos","WHERE OriZon LIKE |\xb7"+this.Zona+"\xb7| AND Estatus NOT IN (|Terminado|,|Cancelado Vendedor|,|Cancelado Repartidor|) AND FecHorSol BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY) AND NRegRep IN (SELECT NRegistro FROM usuarios WHERE NRegEmp = "+this.UsuMat.NRegistro+")","","","CarVar",this,function(e,i){i.TotCur=e.data[0].TotCur})}CarTotCan(){this.servicios.AccSobBD("SELECT","Si","COUNT(*) TotCan","","","pedidos","WHERE OriZon LIKE |\xb7"+this.Zona+"\xb7| AND Estatus IN (|Cancelado Vendedor|,|Cancelado Repartidor|) AND FecHorSol BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY) AND NRegRep IN (SELECT NRegistro FROM usuarios WHERE NRegEmp = "+this.UsuMat.NRegistro+")","","","CarVar",this,function(e,i){i.TotCan=e.data[0].TotCan})}CarTotTer(){this.servicios.AccSobBD("SELECT","Si","COUNT(*) TotTer","","","pedidos","WHERE OriZon LIKE |\xb7"+this.Zona+"\xb7| AND Estatus = |Terminado| AND FecHorSol BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY) AND NRegRep IN (SELECT NRegistro FROM usuarios WHERE NRegEmp = "+this.UsuMat.NRegistro+")","","","CarVar",this,function(e,i){i.TotTer=e.data[0].TotTer})}CarTotCliAct(){this.servicios.AccSobBD("SELECT","Si","COUNT(DISTINCT NRegCli) TotCliAct","","","pedidos","WHERE FecHorSol BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY) AND NRegRep IN (SELECT NRegistro FROM usuarios WHERE NRegEmp = "+this.UsuMat.NRegistro+")","","","CarVar",this,function(e,i){i.TotCliAct=e.data[0].TotCliAct})}CarTotChoAct(){this.servicios.AccSobBD("SELECT","Si","COUNT(DISTINCT NRegRep) TotChoAct","","","pedidos","WHERE FecHorSol BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY) AND NRegRep IN (SELECT NRegistro FROM usuarios WHERE NRegEmp = "+this.UsuMat.NRegistro+")","","","CarVar",this,function(e,i){i.TotChoAct=e.data[0].TotChoAct})}CarLisZona(){this.servicios.AccSobBD("SELECT","Si","*","","","zonas","WHERE NRegistro } 0 AND Estatus = |Activa|","ORDER BY Nombre","","CarVar",this,function(e,i){i.LisZona=e.data})}CarLisExp(){for(;this.OJE.length>0;)this.OJE.pop();let e={};e={Variable:"Viajes Totales",Valor:this.servicios.NumFor(this.TotVia,0),Desde:this.servicios.ForFec(this.FecDes),Hasta:this.servicios.ForFec(this.FecHas),Zona:this.Zona},this.OJE.push(e),e={Variable:"Viajes en Curso",Valor:this.servicios.NumFor(this.TotCur,0),Desde:this.servicios.ForFec(this.FecDes),Hasta:this.servicios.ForFec(this.FecHas),Zona:this.Zona},this.OJE.push(e),e={Variable:"Viajes Cancelados",Valor:this.servicios.NumFor(this.TotCan,0),Desde:this.servicios.ForFec(this.FecDes),Hasta:this.servicios.ForFec(this.FecHas),Zona:this.Zona},this.OJE.push(e),e={Variable:"Viajes Terminados",Valor:this.servicios.NumFor(this.TotTer,0),Desde:this.servicios.ForFec(this.FecDes),Hasta:this.servicios.ForFec(this.FecHas),Zona:this.Zona},this.OJE.push(e),this.servicios.exportAsExcelFile(this.OJE,"Resumen"),this.CarLisExpVia()}CarVia(){this.servicios.AccSobBD("SELECT","Si","*","","","pedidos","WHERE OriZon LIKE |\xb7"+this.Zona+"\xb7| AND Estatus=|Terminado| AND FecHorSol BETWEEN |"+this.FecDes+"| AND (|"+this.FecHas+"| \xac INTERVAL 1 DAY)","","","CarVar",this,function(e,i){i.LisVia=e.data})}CarLisExpVia(){for(;this.OJE.length>0;)this.OJE.pop();for(var e=0;e<this.LisVia.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.LisVia[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}this.servicios.exportAsExcelFile(this.OJE,"Lista de viajes")}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-dashemp"]],decls:95,vars:10,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"PieMod"],["width","100%","cellpadding","5px;"],["width","20%","align","center","valign","middle"],[1,"input-group","mb-3",2,"margin-bottom","0px !important"],[1,"input-group-prepend"],["id","InpDes",1,"input-group-text"],["type","date","aria-label","Sizing example input","aria-describedby","InpDes",1,"form-control",3,"ngModel","ngModelChange"],["id","InpHas",1,"input-group-text"],["type","date","aria-label","Sizing example input","aria-describedby","InpHas",1,"form-control",3,"ngModel","ngModelChange"],["id","Zona","placeholder","Forma de pago",1,"form-control",3,"ngModel","ngModelChange"],["selected","","value",""],[3,"value",4,"ngFor","ngForOf"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],[1,"card-deck","mb-2","text-center",2,"margin","2%"],[1,"card","mb-12","box-shadow"],[1,"card-header"],[1,"my-0","font-weight-normal"],[1,"card-body",2,"text-align","center"],["title","Ver todos los viajes",1,"col-md-6","EstAzu",2,"cursor","pointer",3,"click"],[1,"row"],[1,"col-7",2,"padding","20px"],[1,"col-5",2,"background","rgba(255,255,255,0.3)","position","relative"],["src","assets/img/viajes.png",2,"height","60px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],["title","Ver los viajes en curso",1,"col-md-5","EstAma",2,"cursor","pointer",3,"click"],["src","assets/img/encurso.png",2,"height","60px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],["title","Ver los viajes cancelados",1,"col-md-6","EstRoj",2,"cursor","pointer",3,"click"],["src","assets/img/cancelado.png",2,"height","60px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],["title","Ver los viajes terminados",1,"col-md-5","EstVer",2,"cursor","pointer",3,"click"],["src","assets/img/terminado.png",2,"height","60px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],["title","Ver vendedores",1,"col-md-6","EstAzu",2,"cursor","pointer",3,"click"],["src","assets/img/vendedores.png",2,"height","60px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],["title","Ver repartidores",1,"col-md-5","EstAma",2,"cursor","pointer",3,"click"],["src","assets/img/repartidores.png",2,"height","60px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],[3,"value"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Dashboard / "),c(2,"span",1),p(3,"Resumen"),u()(),c(4,"div",2)(5,"table",3)(6,"tr")(7,"td",4)(8,"div",5)(9,"div",6)(10,"span",7),p(11,"Desde"),u()(),c(12,"input",8),R("ngModelChange",function(o){return i.FecDes=o}),u()()(),c(13,"td",4)(14,"div",5)(15,"div",6)(16,"span",9),p(17,"Hasta"),u()(),c(18,"input",10),R("ngModelChange",function(o){return i.FecHas=o}),u()()(),c(19,"td",4)(20,"div",5)(21,"select",11),R("ngModelChange",function(o){return i.Zona=o}),c(22,"option",12),p(23,"Todas las Zonas"),u(),C(24,nPe,2,2,"option",13),u()()(),c(25,"td",4)(26,"img",14),R("click",function(){return i.CarLisExp()}),u()(),c(27,"td",4)(28,"img",15),R("click",function(){return i.ngAfterViewLoad()}),u()()()()(),c(29,"div",16)(30,"div",17)(31,"div",18)(32,"h4",19),p(33,"Estad\xedsticas de viaje"),u()(),c(34,"div",20)(35,"div",21),R("click",function(){return i.VerVia("Todos")}),c(36,"div",22)(37,"div",23)(38,"h2"),p(39),u(),c(40,"div"),p(41,"Total"),u()(),c(42,"div",24),X(43,"img",25),u()()(),c(44,"div",26),R("click",function(){return i.VerVia("Curso")}),c(45,"div",22)(46,"div",23)(47,"h2"),p(48),u(),c(49,"div"),p(50,"En curso"),u()(),c(51,"div",24),X(52,"img",27),u()()(),c(53,"div",28),R("click",function(){return i.VerVia("Cancelados")}),c(54,"div",22)(55,"div",23)(56,"h2"),p(57),u(),c(58,"div"),p(59,"Cancelados"),u()(),c(60,"div",24),X(61,"img",29),u()()(),c(62,"div",30),R("click",function(){return i.VerVia("Terminados")}),c(63,"div",22)(64,"div",23)(65,"h2"),p(66),u(),c(67,"div"),p(68,"Terminados"),u()(),c(69,"div",24),X(70,"img",31),u()()()()()(),c(71,"div",16)(72,"div",17)(73,"div",18)(74,"h4",19),p(75,"Usuarios Activos"),u()(),c(76,"div",20)(77,"div",32),R("click",function(){return i.VerCli()}),c(78,"div",22)(79,"div",23)(80,"h2"),p(81),u(),c(82,"div"),p(83,"Vendedores"),u()(),c(84,"div",24),X(85,"img",33),u()()(),c(86,"div",34),R("click",function(){return i.VerCon()}),c(87,"div",22)(88,"div",23)(89,"h2"),p(90),u(),c(91,"div"),p(92,"Repartidores"),u()(),c(93,"div",24),X(94,"img",35),u()()()()()()),2&e&&(h(12),_("ngModel",i.FecDes),h(6),_("ngModel",i.FecHas),h(3),_("ngModel",i.Zona),h(3),_("ngForOf",i.LisZona),h(15),I(i.TotVia),h(9),I(i.TotCur),h(9),I(i.TotCan),h(9),I(i.TotTer),h(15),I(i.TotCliAct),h(9),I(i.TotChoAct))},dependencies:[Mt,Do,yo,Si,Hr,Ii,ki],styles:[".EstAzu[_ngcontent-%COMP%]{margin:10px;padding:0;background:#49b9e3;color:#fff;border-radius:5px;box-shadow:0 0 5px #00000040;float:left}.EstAma[_ngcontent-%COMP%]{margin:10px;padding:0;background:#efcd67;color:#fff;border-radius:5px;box-shadow:0 0 5px #00000040;float:left}.EstRoj[_ngcontent-%COMP%]{margin:10px;padding:0;background:#d55454;color:#fff;border-radius:5px;box-shadow:0 0 5px #00000040;float:left}.EstVer[_ngcontent-%COMP%]{margin:10px;padding:0;background:#5bc689;color:#fff;border-radius:5px;box-shadow:0 0 5px #00000040;float:left}"]}),t})();const rPe=["closeAddExpenseModal"],oPe=["closeAddExpenseModal2"],sPe=["map"];function aPe(t,n){1&t&&X(0,"th",35)}const YH=function(t){return{"text-align":t}};function lPe(t,n){if(1&t&&(c(0,"th",36),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,YH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function cPe(t,n){1&t&&(c(0,"tr")(1,"td",37),X(2,"mat-spinner",38),u()()),2&t&&(h(2),_("diameter",50))}function dPe(t,n){1&t&&(c(0,"tr")(1,"td",39),p(2,"No existen registros"),u()())}function uPe(t,n){if(1&t){const e=ae();c(0,"img",49),R("click",function(){z(e);const r=D(2).$implicit;return q(D().Detalles(r))}),u()}}function fPe(t,n){if(1&t){const e=ae();c(0,"img",50),R("click",function(){z(e);const r=D(2).$implicit;return q(D().CanVia(r))}),u()}}function hPe(t,n){if(1&t){const e=ae();c(0,"img",51),R("click",function(){z(e);const r=D(2).$implicit;return q(D().Detalles(r))}),u()}}const pPe=function(t){return{"border-left-color":t}};function mPe(t,n){if(1&t){const e=ae();c(0,"td",43)(1,"img",44),R("click",function(){z(e);const r=D().$implicit;return q(D().Detalles(r))}),u(),C(2,uPe,1,0,"img",45),c(3,"img",46),R("click",function(){z(e);const r=D().$implicit;return q(D().Detalles(r))}),u(),C(4,fPe,1,0,"img",47),C(5,hPe,1,0,"img",48),u()}if(2&t){const e=D().$implicit,i=D();_("ngStyle",ke(4,pPe,i.servicios.ColEstVia(e.Estatus))),h(2),_("ngIf","Terminado"==e.Estatus),h(2),_("ngIf","Nuevo"==e.Estatus||"Aceptado"==e.Estatus||"Cerca"==e.Estatus),h(1),_("ngIf","Calificado Repartidor"==e.Estatus)}}function gPe(t,n){if(1&t&&(c(0,"td",52),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,YH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function _Pe(t,n){if(1&t&&(c(0,"tr"),C(1,mPe,6,6,"td",40),c(2,"td",41),p(3),u(),C(4,gPe,2,4,"td",42),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function vPe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function bPe(t,n){if(1&t){const e=ae();c(0,"img",53),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function DPe(t,n){if(1&t&&(c(0,"div",0),p(1,"Detalles del viaje N\xba: "),c(2,"span",1),p(3),u(),c(4,"div",54)(5,"a",55)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.NRegistro)}}const cD=function(t){return{color:t}};function yPe(t,n){if(1&t&&(c(0,"div",56)(1,"div",57)(2,"h3"),p(3,"Viaje"),u()(),c(4,"table",58)(5,"tr")(6,"td",59)(7,"strong"),p(8,"Origen: "),u(),c(9,"span"),p(10),u()()(),c(11,"tr")(12,"td",59)(13,"strong"),p(14,"Destino: "),u(),c(15,"span"),p(16),u()()(),c(17,"tr")(18,"td",41)(19,"strong"),p(20,"Recorrido: "),u(),c(21,"span"),p(22),u()(),c(23,"td",41)(24,"strong"),p(25,"Precio: "),u(),c(26,"span"),p(27),u()(),c(28,"td",41)(29,"strong"),p(30,"Pago: "),u(),c(31,"span"),p(32),u()()(),c(33,"tr")(34,"td",60)(35,"strong"),p(36,"Solicitado: "),u(),c(37,"span"),p(38),u()(),c(39,"td",41)(40,"strong"),p(41,"Estatus: "),u(),c(42,"span",52),p(43),u()()()()()),2&t){const e=D();h(10),I(e.DetDat.OriDes),h(6),I(e.DetDat.DesDes),h(6),Be("",e.servicios.NumFor(e.DetDat.Recorrido,0),"Mts"),h(5),Be("$",e.servicios.NumFor(e.DetDat.Precio,2),""),h(5),I(e.DetDat.ForPag),h(6),I(e.servicios.ForFecHorPeq(e.DetDat.FecHorSol)),h(4),_("ngStyle",ke(8,cD,e.servicios.ColEstVia(e.DetDat.Estatus))),h(1),I(e.DetDat.Estatus)}}function MPe(t,n){if(1&t&&X(0,"img",65),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotCli,"",rt)}}function CPe(t,n){if(1&t&&(c(0,"div",61)(1,"div",57)(2,"h3"),p(3,"Vendedor"),u()(),c(4,"table",62)(5,"tr")(6,"td",63),C(7,MPe,1,2,"img",64),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()(),c(25,"tr"),X(26,"td"),u(),c(27,"tr"),X(28,"td",60),u()()()),2&t){const e=D();h(7),_("ngIf",e.DetDat.FotCli),h(5),I(e.DetDat.DesCli),h(6),I(e.DetDat.TelCli),h(6),I(e.DetDat.EmaCli)}}function xPe(t,n){if(1&t&&X(0,"img",69),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotCho,"",rt)}}function TPe(t,n){if(1&t&&X(0,"img",69),2&t){const e=D(2);Mn("src","",e.ApiImg,"fotovehiculo/",e.DetDat.FotVeh,"",rt)}}function wPe(t,n){if(1&t&&(c(0,"div",66)(1,"div",57)(2,"h3"),p(3,"Repartidor"),u()(),c(4,"table",62)(5,"tr")(6,"td",67),C(7,xPe,1,2,"img",68),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td",67),C(15,TPe,1,2,"img",68),u(),c(16,"td")(17,"strong"),p(18,"Vehiculo: "),u(),c(19,"span"),p(20),u()()(),c(21,"tr")(22,"td",60)(23,"strong"),p(24,"Puntos obtenidos: "),u(),c(25,"span"),p(26),u()()()()()),2&t){const e=D();h(7),_("ngIf",e.DetDat.FotCho),h(5),I(e.DetDat.DesCho),h(3),_("ngIf",e.DetDat.FotCho),h(5),I(e.DetDat.DesVeh),h(6),I(e.DetDat.PunCalCho)}}function EPe(t,n){if(1&t&&(c(0,"div",0),p(1,"Calificaci\xf3n del viaje N\xba: "),c(2,"span",1),p(3),u(),c(4,"div",54)(5,"a",55,70)(7,"strong"),p(8,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.NRegistro)}}function SPe(t,n){if(1&t&&(c(0,"div",71)(1,"div",57)(2,"h3"),p(3,"Viaje"),u()(),c(4,"table",62)(5,"tr")(6,"td",72)(7,"strong"),p(8,"Origen: "),u(),c(9,"span"),p(10),u()()(),c(11,"tr")(12,"td",72)(13,"strong"),p(14,"Destino: "),u(),c(15,"span"),p(16),u()()(),c(17,"tr")(18,"td",41)(19,"strong"),p(20,"Recorrido: "),u(),c(21,"span"),p(22),u()(),c(23,"td",41)(24,"strong"),p(25,"Precio: "),u(),c(26,"span"),p(27),u()(),c(28,"td",41)(29,"strong"),p(30,"Pago: "),u(),c(31,"span"),p(32),u()()(),c(33,"tr")(34,"td",60)(35,"strong"),p(36,"Solicitado: "),u(),c(37,"span"),p(38),u()(),c(39,"td",41)(40,"strong"),p(41,"Estatus: "),u(),c(42,"span",52),p(43),u()()()()()),2&t){const e=D();h(10),I(e.DetDat.OriDes),h(6),I(e.DetDat.DesDes),h(6),Be("",e.servicios.NumFor(e.DetDat.Recorrido,0),"Mts"),h(5),Be("$",e.servicios.NumFor(e.DetDat.Precio,2),""),h(5),I(e.DetDat.ForPag),h(6),I(e.servicios.ForFecHorPeq(e.DetDat.FecHorSol)),h(4),_("ngStyle",ke(8,cD,e.servicios.ColEstVia(e.DetDat.Estatus))),h(1),I(e.DetDat.Estatus)}}function kPe(t,n){if(1&t&&X(0,"img",69),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotCho,"",rt)}}function APe(t,n){if(1&t&&X(0,"img",69),2&t){const e=D(2);Mn("src","",e.ApiImg,"fotovehiculo/",e.DetDat.FotVeh,"",rt)}}function RPe(t,n){if(1&t&&(c(0,"div",61)(1,"div",57)(2,"h3"),p(3,"Repartidor"),u()(),c(4,"table",62)(5,"tr")(6,"td",67),C(7,kPe,1,2,"img",68),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td",67),C(15,APe,1,2,"img",68),u(),c(16,"td")(17,"strong"),p(18,"Vehiculo: "),u(),c(19,"span"),p(20),u()()(),c(21,"tr"),X(22,"td",60),u()()()),2&t){const e=D();h(7),_("ngIf",e.DetDat.FotCho),h(5),I(e.DetDat.DesCho),h(3),_("ngIf",e.DetDat.FotCho),h(5),I(e.DetDat.DesVeh)}}function FPe(t,n){if(1&t){const e=ae();c(0,"img",77),R("click",function(){return z(e),q(D(2).CalVia=1)}),u()}}function NPe(t,n){if(1&t){const e=ae();c(0,"img",78),R("click",function(){return z(e),q(D(2).CalVia=1)}),u()}}function OPe(t,n){if(1&t){const e=ae();c(0,"img",77),R("click",function(){return z(e),q(D(2).CalVia=2)}),u()}}function IPe(t,n){if(1&t){const e=ae();c(0,"img",78),R("click",function(){return z(e),q(D(2).CalVia=2)}),u()}}function LPe(t,n){if(1&t){const e=ae();c(0,"img",77),R("click",function(){return z(e),q(D(2).CalVia=3)}),u()}}function PPe(t,n){if(1&t){const e=ae();c(0,"img",78),R("click",function(){return z(e),q(D(2).CalVia=3)}),u()}}function BPe(t,n){if(1&t){const e=ae();c(0,"img",77),R("click",function(){return z(e),q(D(2).CalVia=4)}),u()}}function VPe(t,n){if(1&t){const e=ae();c(0,"img",78),R("click",function(){return z(e),q(D(2).CalVia=4)}),u()}}function HPe(t,n){if(1&t){const e=ae();c(0,"img",77),R("click",function(){return z(e),q(D(2).CalVia=5)}),u()}}function GPe(t,n){if(1&t){const e=ae();c(0,"img",78),R("click",function(){return z(e),q(D(2).CalVia=5)}),u()}}function jPe(t,n){if(1&t){const e=ae();c(0,"div",66)(1,"div",57)(2,"h3"),p(3,"\xbfComo calificas este viaje?"),u()(),c(4,"table",62)(5,"tr")(6,"td")(7,"p",73),C(8,FPe,1,0,"img",74),C(9,NPe,1,0,"img",75),C(10,OPe,1,0,"img",74),C(11,IPe,1,0,"img",75),C(12,LPe,1,0,"img",74),C(13,PPe,1,0,"img",75),C(14,BPe,1,0,"img",74),C(15,VPe,1,0,"img",75),C(16,HPe,1,0,"img",74),C(17,GPe,1,0,"img",75),X(18,"br"),p(19),u()()(),c(20,"tr")(21,"td",41)(22,"img",76),R("click",function(){return z(e),q(D().CalViaAct())}),u()()()()()}if(2&t){const e=D();h(8),_("ngIf",e.CalVia>0),h(1),_("ngIf",e.CalVia<1),h(1),_("ngIf",e.CalVia>1),h(1),_("ngIf",e.CalVia<2),h(1),_("ngIf",e.CalVia>2),h(1),_("ngIf",e.CalVia<3),h(1),_("ngIf",e.CalVia>3),h(1),_("ngIf",e.CalVia<4),h(1),_("ngIf",5==e.CalVia),h(1),_("ngIf",e.CalVia<5),h(2),Be(" ",e.CalVia,"/5 ")}}function YPe(t,n){if(1&t&&(c(0,"div",0),p(1,"Problemas del viaje N\xba: "),c(2,"span",1),p(3),u(),c(4,"div",54)(5,"a",55,79)(7,"strong"),p(8,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.NRegistro)}}function UPe(t,n){if(1&t&&(c(0,"div",71)(1,"div",57)(2,"h3"),p(3,"Viaje"),u()(),c(4,"table",58)(5,"tr")(6,"td",59)(7,"strong"),p(8,"Origen: "),u(),c(9,"span"),p(10),u()()(),c(11,"tr")(12,"td",59)(13,"strong"),p(14,"Destino: "),u(),c(15,"span"),p(16),u()()(),c(17,"tr")(18,"td",41)(19,"strong"),p(20,"Recorrido: "),u(),c(21,"span"),p(22),u()(),c(23,"td",41)(24,"strong"),p(25,"Precio: "),u(),c(26,"span"),p(27),u()(),c(28,"td",41)(29,"strong"),p(30,"Pago: "),u(),c(31,"span"),p(32),u()()(),c(33,"tr")(34,"td",60)(35,"strong"),p(36,"Solicitado: "),u(),c(37,"span"),p(38),u()(),c(39,"td",41)(40,"strong"),p(41,"Estatus: "),u(),c(42,"span",52),p(43),u()()()()()),2&t){const e=D();h(10),I(e.DetDat.OriDes),h(6),I(e.DetDat.DesDes),h(6),Be("",e.servicios.NumFor(e.DetDat.Recorrido,0),"Mts"),h(5),Be("$",e.servicios.NumFor(e.DetDat.Precio,2),""),h(5),I(e.DetDat.ForPag),h(6),I(e.servicios.ForFecHorPeq(e.DetDat.FecHorSol)),h(4),_("ngStyle",ke(8,cD,e.servicios.ColEstVia(e.DetDat.Estatus))),h(1),I(e.DetDat.Estatus)}}function WPe(t,n){if(1&t&&X(0,"img",69),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotCho,"",rt)}}function zPe(t,n){if(1&t&&X(0,"img",69),2&t){const e=D(2);Mn("src","",e.ApiImg,"fotovehiculo/",e.DetDat.FotVeh,"",rt)}}function $Pe(t,n){if(1&t&&(c(0,"div",61)(1,"div",57)(2,"h3"),p(3,"Repartidor"),u()(),c(4,"table",62)(5,"tr")(6,"td",67),C(7,WPe,1,2,"img",68),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td",67),C(15,zPe,1,2,"img",68),u(),c(16,"td")(17,"strong"),p(18,"Vehiculo: "),u(),c(19,"span"),p(20),u()()(),c(21,"tr")(22,"td",60)(23,"strong"),p(24,"Puntos obtenidos: "),u(),c(25,"span"),p(26),u()()()()()),2&t){const e=D();h(7),_("ngIf",e.DetDat.FotCho),h(5),I(e.DetDat.DesCho),h(3),_("ngIf",e.DetDat.FotCho),h(5),I(e.DetDat.DesVeh),h(6),I(e.DetDat.PunCalCho)}}function qPe(t,n){if(1&t&&(c(0,"option",94),p(1),u()),2&t){const e=n.$implicit;Hi("value",e.Motivo),h(1),I(e.Motivo)}}function XPe(t,n){if(1&t&&(c(0,"option",94),p(1),u()),2&t){const e=n.$implicit;Hi("value",e.Tema),h(1),I(e.Tema)}}function QPe(t,n){if(1&t){const e=ae();c(0,"div",66)(1,"div",57)(2,"h3"),p(3,"Reportar un problema"),u()(),c(4,"table",80)(5,"tr")(6,"td",81)(7,"div",82)(8,"label",83)(9,"strong"),p(10,"Motivo"),c(11,"span",84),p(12,"*"),u()()(),c(13,"select",85),R("ngModelChange",function(r){return z(e),q(D().Mot=r)})("ngModelChange",function(){return z(e),q(D().CarLisTem())}),C(14,qPe,2,2,"option",86),u()()(),c(15,"td",81)(16,"div",82)(17,"label",87)(18,"strong"),p(19,"Tema"),c(20,"span",84),p(21,"*"),u()()(),c(22,"select",88),R("ngModelChange",function(r){return z(e),q(D().Tem=r)}),C(23,XPe,2,2,"option",86),u()()()(),c(24,"tr")(25,"td",89)(26,"div",90)(27,"textarea",91),R("ngModelChange",function(r){return z(e),q(D().ProCli=r)}),u(),c(28,"div",92)(29,"button",93),R("click",function(){z(e);const r=D();return q(r.EnvRec(r.DetDat))}),p(30,"Enviar"),u()()()()()()()}if(2&t){const e=D();h(13),_("ngModel",e.Mot),h(1),_("ngForOf",e.LisMot),h(8),_("ngModel",e.Tem),h(1),_("ngForOf",e.LisTem),h(4),_("ngModel",e.ProCli)}}function JPe(t,n){if(1&t&&(c(0,"div",0),p(1,"Recibo del viaje N\xba: "),c(2,"span",1),p(3),u(),c(4,"div",54)(5,"a",55,79)(7,"strong"),p(8,"\xd7"),u()()()()),2&t){const e=D();h(3),I(e.DetDat.NRegistro)}}function ZPe(t,n){if(1&t){const e=ae();c(0,"div",56)(1,"div",57)(2,"h3"),p(3,"Viaje"),u()(),c(4,"table",95)(5,"tr")(6,"td",59)(7,"strong"),p(8,"Origen: "),u(),c(9,"span"),p(10),u()()(),c(11,"tr")(12,"td",59)(13,"strong"),p(14,"Destino: "),u(),c(15,"span"),p(16),u()()(),c(17,"tr")(18,"td",41)(19,"strong"),p(20,"Recorrido: "),u(),c(21,"span"),p(22),u()(),c(23,"td",41)(24,"strong"),p(25,"Precio: "),u(),c(26,"span"),p(27),u()(),c(28,"td",41)(29,"strong"),p(30,"Pago: "),u(),c(31,"span"),p(32),u()()(),c(33,"tr")(34,"td",60)(35,"strong"),p(36,"Solicitado: "),u(),c(37,"span"),p(38),u()(),c(39,"td",41)(40,"strong"),p(41,"Estatus: "),u(),c(42,"span",52),p(43),u()()(),c(44,"tr")(45,"td",96)(46,"button",97),R("click",function(){z(e);const r=D();return q(r.servicios.EnvRecCli(r.DetDat.NRegistro,r.UsuMat.Email))}),p(47,"Enviar recibo por email"),u()()()()()}if(2&t){const e=D();h(10),I(e.DetDat.OriDes),h(6),I(e.DetDat.DesDes),h(6),Be("",e.servicios.NumFor(e.DetDat.Recorrido,0),"Mts"),h(5),Be("$",e.servicios.NumFor(e.DetDat.Precio,2),""),h(5),I(e.DetDat.ForPag),h(6),I(e.servicios.ForFecHorPeq(e.DetDat.FecHorSol)),h(4),_("ngStyle",ke(8,cD,e.servicios.ColEstVia(e.DetDat.Estatus))),h(1),I(e.DetDat.Estatus)}}function KPe(t,n){if(1&t&&(c(0,"div",66)(1,"div",57)(2,"h3"),p(3,"Recibo"),u()(),c(4,"div",98)(5,"table",99)(6,"tr")(7,"td",100)(8,"div",101)(9,"div",102)(10,"span",103),p(11,"Click Box App"),u(),X(12,"br"),u(),c(13,"span",104),p(14),u(),X(15,"br"),c(16,"span",104),p(17),u(),c(18,"div",102)(19,"span",104),p(20,"---------------------------------"),u()(),c(21,"span",104),p(22),u(),X(23,"br")(24,"br"),c(25,"span",104),p(26),u(),X(27,"br"),c(28,"div",102)(29,"span",104),p(30,"---------------------------------"),u()(),c(31,"div",105)(32,"span",104),p(33),u()(),c(34,"div",105)(35,"span",104),p(36),u()(),c(37,"div",102)(38,"span",104),p(39,"---------------------------------"),u()(),c(40,"div",106)(41,"span",104),p(42),u()()()()()()()()),2&t){const e=D();h(14),Rt("Recibo nro: ",e.servicios.ForFecHorID(e.DetDat.FecHorSol),"",e.DetDat.NRegistro,""),h(3),Be("Fecha: ",e.servicios.ForFecHorPeq(e.DetDat.FecHorSol),""),h(5),Be("Origen: ",e.DetDat.OriDes,""),h(4),Be("Destino: ",e.DetDat.DesDes,""),h(7),Be("Forma de pago: ",e.DetDat.ForPag,""),h(3),Be("Recorrido: ",e.servicios.NumFor(e.DetDat.Recorrido,0),"Mts"),h(6),Be("Precio: $",e.servicios.NumFor(e.DetDat.Precio,2),"")}}let e4e=(()=>{class t{constructor(e,i,r){this.router=e,this.servicios=i,this.location=r,this.OriDes="",this.OriLatLon="",this.DesDes="",this.DesLatLon="",this.PriDes="",this.PriLatLon="",this.SegDes="",this.SegLatLon="",this.TerDes="",this.TerLatLon="",this.DonBus="",this.Mot="",this.Tem="",this.OJE=[],this.CalVia=0,this.LisNomPas="",this.ProCli="",this.DGM={Nombre:"Viajes",CamMod:[{Tit:"Vendedor",Cmp:"DesCli",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegCli)"},{Tit:"Origen",Cmp:"OriDes",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Destino",Cmp:"DesDes",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Calificaci\xf3n Vendedor",Cmp:"PunCalCli",Tip:"Entero",Req:"Si",VD:"",Val:""},{Tit:"Repartidor",Cmp:"DesCho",Tip:"Texto",Req:"Si",VD:"",Val:"",SubQry:"(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0)"},{Tit:"Calificaci\xf3n Repartidor",Cmp:"PunCalCho",Tip:"Entero",Req:"Si",VD:"",Val:""},{Tit:"Recorrido Mts",Cmp:"Recorrido",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Precio $",Cmp:"Precio",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Solicitado",Cmp:"FecHorSol",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Cancelado",Cmp:"FecHorCan",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Inicio",Cmp:"FecHorIni",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Fin",Cmp:"FecHorFin",Tip:"FechaHora",Req:"Si",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Nuevo",Tex:"Nuevo"},{Val:"Aceptado",Tex:"Aceptado"},{Val:"Cerca",Tex:"Cerca"},{Val:"Iniciado",Tex:"Iniciado"},{Val:"Finalizado",Tex:"Finalizado"},{Val:"Calificado Repartidor",Tex:"Calificado Repartidor"},{Val:"Calificado Vendedor",Tex:"Calificado Vendedor"},{Val:"Cancelado Vendedor",Tex:"Cancelado Vendedor"},{Val:"Cancelado Repartidor",Tex:"Cancelado Repartidor"},{Val:"Terminado",Tex:"Terminado"}]}],OpcFil:"Si",CamQry:"*,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegCli) DesCli,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegCli) FotCli,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegCli) TelCli,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegCli) EmaCli,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) DesCho,(SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) FotCho,(SELECT Telefono FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) TelCho,(SELECT Email FROM usuarios WHERE NRegistro = A.NRegRep AND NRegistro > 0) EmaCho,(SELECT CONCAT(Tipo,| |,Placa) FROM repveh WHERE NRegRep = A.NRegRep AND Estatus = |Activo| LIMIT 1) DesVeh,(SELECT Foto FROM repveh WHERE NRegRep = A.NRegRep AND Estatus = |Activo| LIMIT 1) FotVeh",Tabla:"viajes A",Donde:"",Ordena:"ORDER BY NRegistro DESC",TabFor:{Fil:[1,2,3,4,5],Col:[1,2,3]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.UsuMat.NRegistro&&(this.DGM.Donde="WHERE NRegRep IN (SELECT NRegistro FROM usuarios WHERE NRegEmp = "+this.UsuMat.NRegistro+")"),this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarLis(),this.CarLisMot(),this.CarLisTem(),setInterval(()=>this.CarLis(),1e4)}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}Detalles(e){this.DetDat=e,this.ProCli=e.ProCli,this.CarLisPas(e),this.showMap(function(i){i.OriDes=i.DetDat.OriDes,i.OriLatLon=i.DetDat.Origen,i.DesDes=i.DetDat.DesDes,i.DesLatLon=i.DetDat.Destino,i.PriDes=i.DetDat.PriDes,i.PriLatLon=i.DetDat.Primera,i.SegDes=i.DetDat.SegDes,i.SegLatLon=i.DetDat.Segunda,i.TerDes=i.DetDat.TerDes,i.TerLatLon=i.DetDat.Tercera,i.MosRutMap(i.DetDat.Origen,i.DetDat.Destino,i.DetDat.Primera,i.DetDat.Segunda,i.DetDat.Tercera)})}CanVia(e){(new Date).toISOString(),this.servicios.AccSobBD("UPDATE","No","","","Estatus=|Cancelado Vendedor|, FecHorCan=NOW()","pedidos","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(r,o){o.servicios.EnvMsgSim("El viaje fue cancelado","Informacion"),o.CarLis()})}CalViaAct(){this.servicios.AccSobBD("UPDATE","No","","","PunCalCho = |"+this.CalVia+"|, Estatus=|Terminado|","pedidos","WHERE NRegistro = "+this.DetDat.NRegistro,"","","Upd",this,function(e,i){i.closeAddExpenseModal.nativeElement.click(),i.servicios.EnvMsgSim("El viaje fue calificado","Informacion"),i.CarLis()})}EnvRec(e){this.servicios.ValCam("Mot","Motivo","Texto",this.Mot,"Si")&&this.servicios.ValCam("Tem","Tema","Texto",this.Tem,"Si")&&((new Date).toISOString(),this.servicios.AccSobBD("INSERT","No","NRegUsu,NRegPed,Motivo,Tema,Comentarios,FecHorReg","|"+this.UsuMat.NRegistro+"|,|"+e.NRegistro+"|,|"+this.Mot+"|,|"+this.Tem+"|,|"+this.ProCli+"|,NOW()","","recvia","","","","Ins",this,function(r,o){o.closeAddExpenseModal2.nativeElement.click(),o.servicios.EnvMsgSim("El problema fue registrado","Informacion"),o.CarLis()}))}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}CarLisPas(e){this.LisNomPas="",this.servicios.AccSobBD("SELECT","Si","*","","","viapas","WHERE NRegPed = "+e.NRegistro,"ORDER BY Nombre","","CarVar",this,function(i,r){for(var o=0;o<i.data.length;o++)r.LisNomPas=r.LisNomPas+i.data[o].Nombre,o<i.data.length-1&&(r.LisNomPas=r.LisNomPas+", ")})}CarLisMot(){this.servicios.AccSobBD("SELECT","Si","DISTINCT Motivo","","","reclamos","WHERE Tipo = |Vendedor| AND Estatus = |Activo|","ORDER BY Motivo","","CarVar",this,function(e,i){i.LisMot=e.data})}CarLisTem(){this.servicios.AccSobBD("SELECT","Si","Tema","","","reclamos","WHERE Tipo = |Vendedor| AND Motivo = |"+this.Mot+"| AND Estatus = |Activo|","ORDER BY Motivo","","CarVar",this,function(e,i){i.LisTem=e.data})}showMap(e){const r={center:new google.maps.LatLng(this.servicios.Pais.Lat,this.servicios.Pais.Lon),zoom:13,mapTypeControl:!1,streetViewControl:!1,zoomControl:!1,zoomControlOptions:{position:google.maps.ControlPosition.RIGHT_TOP},fullscreenControl:!1,fullscreenControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},styles:[]};this.map=new google.maps.Map(this.mapRef.nativeElement,r),e(this)}MosRutMap(e,i,r,o,s){this.DirSer=new google.maps.DirectionsService,this.DirDis=new google.maps.DirectionsRenderer({suppressMarkers:!0,polylineOptions:{strokeColor:"#154c68",strokeOpacity:.7}});var a=[];""!=r&&a.push({location:r,stopover:!0}),""!=o&&a.push({location:o,stopover:!0}),""!=s&&a.push({location:s,stopover:!0});var l=this.DirDis;this.AgrMarRut(e,i,r,o,s),this.DirDis.setMap(this.map),this.DirSer.route({origin:e,destination:i,travelMode:"DRIVING"},function(d,f){"OK"===f&&setTimeout(()=>{l.setDirections(d)},350)})}AgrMarRut(e,i,r,o,s){var l=String(e).split(","),d=new google.maps.LatLng(l[0],l[1]),m=String(i).split(","),g=new google.maps.LatLng(m[0],m[1]);if(""!=r)var M=String(r).split(","),y=new google.maps.LatLng(M[0],M[1]);if(""!=o)var k=String(o).split(","),O=new google.maps.LatLng(k[0],k[1]);if(""!=s)var H=String(s).split(","),U=new google.maps.LatLng(H[0],H[1]);this.infwinOri=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)}),this.infwinDes=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)}),""!=r&&(this.infwinPri=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)})),""!=o&&(this.infwinSeg=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)})),""!=s&&(this.infwinTer=new google.maps.InfoWindow({pixelOffset:new google.maps.Size(0,0)})),this.infwinOri.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.OriDes+"</td></tr></table></div>"),this.infwinDes.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#ff4b41; text-align:center; vertical-align:middle;' id='tdDV'></td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.DesDes+"</td></tr></table></div>"),""!=r&&this.infwinPri.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.PriDes+"</td></tr></table></div>"),""!=o&&this.infwinSeg.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.SegDes+"</td></tr></table></div>"),""!=s&&this.infwinTer.setContent("<div style='color:#fff;'><table style='whidth:100%;height:100%'><tr><td style='padding:3px; background:#fff;color:#fff; text-align:center; vertical-align:middle;'>a<br>a</td><td style='padding:3px; text-align:center; vertical-align:middle;'> "+this.TerDes+"</td></tr></table></div>");var Q={url:this.ApiImg+"mapa/ori.png",scaledSize:new google.maps.Size(24,24),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(12,12)},W={url:this.ApiImg+"mapa/des.png",scaledSize:new google.maps.Size(24,24),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(12,12)},J={url:this.ApiImg+"mapa/par.png",scaledSize:new google.maps.Size(24,24),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(12,12)};this.IcoOri=new google.maps.Marker({position:d,map:this.map,icon:Q,title:"Origen"}),this.IcoDes=new google.maps.Marker({position:g,map:this.map,icon:W,title:"Destino"}),""!=r&&(this.IcoPri=new google.maps.Marker({position:y,map:this.map,icon:J,title:"Primera parada"})),""!=o&&(this.IcoSeg=new google.maps.Marker({position:O,map:this.map,icon:J,title:"Segunda parada"})),""!=s&&(this.IcoTer=new google.maps.Marker({position:U,map:this.map,icon:J,title:"Tercera parada"}))}Volver(){this.location.back()}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et),V(Po))},t.\u0275cmp=Oe({type:t,selectors:[["app-viajesemp"]],viewQuery:function(e,i){if(1&e&&(Ht(rPe,5),Ht(oPe,5),Ht(sPe,5)),2&e){let r;lt(r=ct())&&(i.closeAddExpenseModal=r.first),lt(r=ct())&&(i.closeAddExpenseModal2=r.first),lt(r=ct())&&(i.mapRef=r.first)}},decls:70,vars:23,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["src","assets/img/vol.png","title","Volver",1,"BotModPie",3,"click"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","80% !important"],[1,"modal-content",2,"height","550px"],["class","TitMod",4,"ngIf"],[1,"container-fluid"],[1,"row",2,"height","250px !important"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #f00"],["id","map"],["map",""],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #00f;",4,"ngIf"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #ff0;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg2"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","50% !important"],["class","col-md-12","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg3"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg4"],[1,"row",2,"height","500px !important"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle; border-left-width:5px;",3,"ngStyle",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle","border-left-width","5px",3,"ngStyle"],["src","assets/img/ojo.png","title","Ver detalles","data-toggle","modal","data-target",".bd-example-modal-lg",1,"BotMod",3,"click"],["src","assets/img/fac.png","class","BotMod","title","Ver recibo","data-toggle","modal","data-target",".bd-example-modal-lg4",3,"click",4,"ngIf"],["src","assets/img/pro.png","title","Reportar un problema","data-toggle","modal","data-target",".bd-example-modal-lg3",1,"BotMod",3,"click"],["src","assets/img/can.png","class","BotMod","title","Cancelar viaje",3,"click",4,"ngIf"],["src","assets/img/sta.png","class","BotMod","title","Calificar viaje","data-toggle","modal","data-target",".bd-example-modal-lg2",3,"click",4,"ngIf"],["src","assets/img/fac.png","title","Ver recibo","data-toggle","modal","data-target",".bd-example-modal-lg4",1,"BotMod",3,"click"],["src","assets/img/can.png","title","Cancelar viaje",1,"BotMod",3,"click"],["src","assets/img/sta.png","title","Calificar viaje","data-toggle","modal","data-target",".bd-example-modal-lg2",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #0f0"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],["cellpadding","10",2,"width","100%","height","80%","background-color","#f5f5f5"],["colspan","3"],["colspan","2",2,"text-align","center"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #00f"],[2,"width","100%","height","80%","background-color","#f5f5f5"],["rowspan","4",2,"text-align","center","vertical-align","middle"],["style","height:100px; width:100px; border-radius:50%; margin-right:5px;",3,"src",4,"ngIf"],[2,"height","100px","width","100px","border-radius","50%","margin-right","5px",3,"src"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #ff0"],[2,"text-align","center","vertical-align","middle"],["style","height:75px; width:75px; border-radius:50%; margin-right:5px;",3,"src",4,"ngIf"],[2,"height","75px","width","75px","border-radius","50%","margin-right","5px",3,"src"],["closeAddExpenseModal",""],[1,"col-md-12",2,"height","100%","padding","10px","border","0px solid #0f0"],["colspan","3",2,"text-align","center"],[2,"color","#999","text-align","center","font-size","20px","margin-top","0px","border","0px solid #eee","border-radius","10px"],["src","assets/img/stacal1.png","style","height:32px;",3,"click",4,"ngIf"],["src","assets/img/stacal0.png","style","height:32px;",3,"click",4,"ngIf"],["src","assets/img/ace.png","title","Calificar viaje",1,"BotModPie",3,"click"],["src","assets/img/stacal1.png",2,"height","32px",3,"click"],["src","assets/img/stacal0.png",2,"height","32px",3,"click"],["closeAddExpenseModal2",""],["cellpadding","5",2,"width","100%","height","80%","background-color","#f5f5f5"],[2,"width","50%"],[1,"form-group"],["for","Mot"],[2,"color","#f00"],["id","Mot",1,"form-control",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["for","Tem"],["id","Tem",1,"form-control",3,"ngModel","ngModelChange"],["colspan","2"],[1,"input-group","mb-3"],["aria-label","Cu\xe9ntanos mas","aria-describedby","button-addon2","rows","2","id","ProCli","placeholder","Cu\xe9ntanos mas",1,"form-control",2,"resize","none",3,"ngModel","ngModelChange"],[1,"input-group-append"],["type","button","id","button-addon2",1,"btn","btn-outline-secondary",3,"click"],[3,"value"],["cellpadding","10",2,"width","100%","height","90%","background-color","#f5f5f5"],["colspan","3",2,"text-align","center","vertical-align","middle","background-color","#fff"],["type","button",1,"btn","btn-primary",2,"background-color","#ff4b41 !important","border-color","#ff4b41 !important",3,"click"],[2,"width","100%","height","90%","overflow","auto"],["cellpadding","20",2,"width","100%","height","100%","background-color","#f5f5f5"],[2,"vertical-align","middle"],[2,"height","100%","width","100%","background","#fff","box-shadow","0px 0px 5px 0px rgba(0,0,0,0.25)","padding","20px","border","0px solid #f00"],[2,"width","100%","text-align","center"],[2,"text-align","center","font-family","'Courier New', Courier, monospace !important","font-weight","bold","font-size","18px"],[2,"font-family","'Courier New', Courier, monospace !important","font-weight","bold","font-size","14px"],[2,"width","100%","text-align","left"],[2,"width","100%","text-align","right"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,aPe,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,lPe,2,4,"th",7),u()(),c(12,"tbody"),C(13,cPe,3,1,"tr",8),C(14,dPe,3,0,"tr",8),C(15,_Pe,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,vPe,2,1,"span",8),u(),c(21,"td",12)(22,"img",13),R("click",function(){return i.Volver()}),u()(),c(23,"td",12),C(24,bPe,1,0,"img",14),u(),c(25,"td",12)(26,"img",15),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(27,"td",12)(28,"img",16),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()()()()(),c(29,"div",17)(30,"div",18)(31,"div",19),C(32,DPe,8,1,"div",20),c(33,"div",21)(34,"div",22)(35,"div",23),X(36,"div",24,25),u(),C(38,yPe,44,10,"div",26),u(),c(39,"div",22),C(40,CPe,29,4,"div",27),C(41,wPe,27,5,"div",28),u()()()()(),c(42,"div",29)(43,"div",30)(44,"div",19),C(45,EPe,9,1,"div",20),c(46,"div",21)(47,"div",22),C(48,SPe,44,10,"div",31),u(),c(49,"div",22),C(50,RPe,23,4,"div",27),C(51,jPe,23,11,"div",28),u()()()()(),c(52,"div",32)(53,"div",18)(54,"div",19),C(55,YPe,9,1,"div",20),c(56,"div",21)(57,"div",22),C(58,UPe,44,10,"div",31),u(),c(59,"div",22),C(60,$Pe,27,5,"div",27),C(61,QPe,31,5,"div",28),u()()()()(),c(62,"div",33)(63,"div",30)(64,"div",19),C(65,JPe,9,1,"div",20),c(66,"div",21)(67,"div",34),C(68,ZPe,48,10,"div",26),C(69,KPe,43,8,"div",28),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(4),_("ngIf",""!=i.DonBus),h(8),_("ngIf",i.DetDat),h(6),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat))},dependencies:[Mt,mt,Wt,Do,yo,Si,Hr,Ii,ki,Yt],styles:["#map[_ngcontent-%COMP%]{height:100%}#map[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(3){opacity:0}#map[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] button.gm-ui-hover-effect[_ngcontent-%COMP%]{display:none!important;margin:0!important;padding:0!important}#map[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%]:last-child div[_ngcontent-%COMP%] div[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(4){height:90%!important;background:#ff4b41!important;border:0px solid #f00}.gm-style-iw[_ngcontent-%COMP%]{width:90%!important;top:5px!important;left:5px!important;background-color:#ff4b41;border:0px solid #f00;border-radius:2px 2px 0 0}"]}),t})();const t4e=["map"],n4e=["closeAddExpenseModal"],i4e=["closeAddExpenseModal2"],r4e=["BotMapDes"],o4e=["BotMapOri"];function s4e(t,n){if(1&t&&X(0,"img",61),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.UsuMat.FotPer,"",rt)}}const a4e=function(t){return{color:t}};function l4e(t,n){if(1&t&&(c(0,"div",55)(1,"div",49)(2,"h3"),p(3),u()(),c(4,"table",56)(5,"tr")(6,"td",57),C(7,s4e,1,2,"img",58),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()(),c(25,"tr",59)(26,"td",38)(27,"strong"),p(28,"Saldo:"),X(29,"br"),u(),c(30,"span",60),p(31),u()(),c(32,"td",38)(33,"strong"),p(34,"Puntos:"),X(35,"br"),u(),c(36,"span"),p(37),u()()()()()),2&t){const e=D();h(3),I(e.UsuMat.Tipo),h(4),_("ngIf",e.UsuMat.FotPer),h(5),Rt("",e.UsuMat.Nombre," ",e.UsuMat.Apellido,""),h(6),I(e.UsuMat.Telefono),h(6),I(e.UsuMat.Email),h(6),_("ngStyle",ke(9,a4e,e.servicios.ColMon(e.UsuMat.Saldo))),h(1),Be("$",e.servicios.NumFor(e.UsuMat.Saldo,2),""),h(6),I(e.UsuMat.Puntos)}}function c4e(t,n){if(1&t&&(c(0,"option",78),p(1),u()),2&t){const e=n.$implicit;Hi("value",e.Nombre),h(1),I(e.Nombre)}}function d4e(t,n){if(1&t){const e=ae();c(0,"div",62)(1,"div",49)(2,"h3"),p(3,"Viaje"),u()(),c(4,"table",56)(5,"tr")(6,"td",63)(7,"div",64)(8,"input",65),R("ngModelChange",function(r){return z(e),q(D().OriDir=r)})("click",function(){return z(e),q(D().MueMapOri())}),u(),c(9,"div",66)(10,"button",67),R("click",function(){return z(e),q(D().OriDesFav("Origen"))}),p(11,"Favoritos"),u(),c(12,"button",68,69),R("click",function(){return z(e),q(D().OriDes("Origen"))}),p(14,"Mapa"),u()()()()(),c(15,"tr")(16,"td",63)(17,"div",64)(18,"input",70),R("ngModelChange",function(r){return z(e),q(D().DesDir=r)})("click",function(){return z(e),q(D().MueMapDes())}),u(),c(19,"div",66)(20,"button",67),R("click",function(){return z(e),q(D().OriDesFav("Destino"))}),p(21,"Favoritos"),u(),c(22,"button",68,71),R("click",function(){return z(e),q(D().OriDes("Destino"))}),p(24,"Mapa"),u()()()()(),c(25,"tr")(26,"td")(27,"div",72)(28,"label",73)(29,"strong"),p(30,"Forma de pago"),c(31,"span",74),p(32,"*"),u()()(),c(33,"select",75),R("ngModelChange",function(r){return z(e),q(D().ForPag=r)}),C(34,c4e,2,2,"option",76),u()()(),c(35,"td",77)(36,"strong"),p(37,"Distancia:"),X(38,"br"),u(),c(39,"span"),p(40),u()(),c(41,"td",77)(42,"strong"),p(43,"Tarifa:"),X(44,"br"),u(),c(45,"span"),p(46),u()()()()()}if(2&t){const e=D();h(8),_("ngModel",e.OriDir),h(10),_("ngModel",e.DesDir),h(15),_("disabled",e.ViaAct)("ngModel",e.ForPag),h(1),_("ngForOf",e.LisForPag),h(6),Be("",e.servicios.NumFor(e.Distancia,0),"Mts"),h(6),Be("$",e.servicios.NumFor(e.Tarifa,2),"")}}function u4e(t,n){if(1&t&&(c(0,"option",78),p(1),u()),2&t){const e=n.$implicit;Hi("value",e.NRegistro),h(1),I("****-****-****-"+e.NumTar.substr(-4))}}function f4e(t,n){if(1&t){const e=ae();c(0,"div",79)(1,"div",49)(2,"h3"),p(3,"Detalles de la tarjeta de cr\xe9dito"),u()(),c(4,"table",56)(5,"tr")(6,"td")(7,"div",72)(8,"label",80)(9,"strong"),p(10,"Tarjeta de cr\xe9dito"),c(11,"span",74),p(12,"*"),u()()(),c(13,"select",81),R("ngModelChange",function(r){return z(e),q(D().TarCre=r)}),C(14,u4e,2,2,"option",76),u()()()()()()}if(2&t){const e=D();h(13),_("ngModel",e.TarCre),h(1),_("ngForOf",e.LisTarCre)}}function h4e(t,n){if(1&t&&(c(0,"option",78),p(1),u()),2&t){const e=n.$implicit;Hi("value",e.NRegistro),h(1),I("****-****-****-"+e.NumTar.substr(-4))}}function p4e(t,n){if(1&t){const e=ae();c(0,"div",79)(1,"div",49)(2,"h3"),p(3,"Detalles de la tarjeta de d\xe9bito"),u()(),c(4,"table",56)(5,"tr")(6,"td")(7,"div",72)(8,"label",82)(9,"strong"),p(10,"Tarjeta de d\xe9bito"),c(11,"span",74),p(12,"*"),u()()(),c(13,"select",83),R("ngModelChange",function(r){return z(e),q(D().TarDeb=r)}),C(14,h4e,2,2,"option",76),u()()()()()()}if(2&t){const e=D();h(13),_("ngModel",e.TarDeb),h(1),_("ngForOf",e.LisTarDeb)}}function m4e(t,n){1&t&&(c(0,"p")(1,"strong"),p(2,"Por favor espere mientras buscamos un repartidor cercano ..."),u()())}function g4e(t,n){if(1&t){const e=ae();c(0,"button",84),R("click",function(){return z(e),q(D().Solicitar())}),p(1,"Solicitar Click Box"),u()}}function _4e(t,n){if(1&t){const e=ae();c(0,"img",85),R("click",function(){return z(e),q(D().CanViaAct())}),u()}}function v4e(t,n){1&t&&(c(0,"tr")(1,"td",86),X(2,"mat-spinner",87),u()()),2&t&&(h(2),_("diameter",50))}function b4e(t,n){1&t&&(c(0,"tr")(1,"td",88),p(2,"No existen registros"),u()())}function D4e(t,n){if(1&t){const e=ae();c(0,"tr")(1,"td",89)(2,"img",90),R("click",function(){const o=z(e).$implicit;return q(D().AceptarFav(o))}),u(),c(3,"img",91),R("click",function(){const o=z(e).$implicit;return q(D().EliminarFav(o))}),u()(),c(4,"td"),p(5),u(),c(6,"td"),p(7),u()()}if(2&t){const e=n.$implicit;h(5),I(e.Nombre),h(2),I(e.Direccion)}}let y4e=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.NomSitFav="",this.BusOriDes="",this.DesBus="",this.OriDir="",this.OriLatLon="",this.DesDir="",this.DesLatLon="",this.Distancia=0,this.Tarifa=0,this.ForPag="",this.TarCre="",this.TarDeb="",this.InvAct=!1,this.CanInv=!1,this.ViaEst="",this.ViaTar=0,this.CalVia=0,this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.CarLisForPag(),this.UsuMat&&(this.ActSal(),this.CarViaAct(),this.CarLisSitFav(),this.CarLisTarCre(),this.CarLisTarDeb())}ngAfterViewInit(){this.UsuMat&&(this.CarLisTarCre(),this.CarLisTarDeb())}MueMapOri(){this.BotMapOri.nativeElement.click()}MueMapDes(){this.BotMapDes.nativeElement.click()}Solicitar(){if(""!=this.OriLatLon)if(""!=this.DesLatLon)if(""!=this.ForPag)if(0!=this.Distancia)if(0!=this.Tarifa)switch(this.ForPag){case"Efectivo":this.RegSol();break;case"Billetera":this.DatTar.MonTarTot>this.UsuMat.Saldo?this.servicios.EnvMsgSim("Disculpe no dispone de fondos suficientes para solicitar el servicio","Advertencia"):this.RegSol();break;case"Tarjeta Debito":if(""==this.TarDeb)return void this.servicios.EnvMsgSim("Se necesita una tarjeta de d\xe9bito","Advertencia");this.ProPagTarDeb();break;case"Tarjeta Credito":if(""==this.TarCre)return void this.servicios.EnvMsgSim("Se necesita una tarjeta de credito","Advertencia");this.ProPagTarCre()}else this.servicios.EnvMsgSim("Se necesita la tarifa del viaje","Advertencia");else this.servicios.EnvMsgSim("Se necesita la distancia del viaje","Advertencia");else this.servicios.EnvMsgSim("Se necesita una forma de pago","Advertencia");else this.servicios.EnvMsgSim("Se necesita un destino","Advertencia");else this.servicios.EnvMsgSim("Se necesita un origen","Advertencia")}ProPagTarDeb(){for(var e=0;e<this.LisTarDeb.length;e++)if(this.TarDeb==this.LisTarDeb[e].NRegistro){this.OJAPP={APIKEY_ClickBox:"1234567890",CARNUM:this.LisTarDeb[e].NumTar,MONTO:this.Tarifa};break}this.servicios.CobTarDeb(this.OJAPP,this,function(i,r){"Si"==i.data.Res?(r.InsAboBil("Debito",i.data.Ref,i.data.Mon),r.RegSol()):r.servicios.EnvMsgSim("Disculpe no se puede procesar su tarjeta: "+i.data.ResDes,"Advertencia")})}ProPagTarCre(){for(var e=0;e<this.LisTarCre.length;e++)if(this.TarCre==this.LisTarCre[e].NRegistro){this.OJAPP={APIKEY_ClickBox:"1234567890",CARNUM:this.LisTarCre[e].NumTar,MONTO:this.Tarifa};break}this.servicios.CobTarCre(this.OJAPP,this,function(i,r){"Si"==i.data.Res?(r.InsAboBil("Credito",i.data.Ref,i.data.Mon),r.RegSol()):r.servicios.EnvMsgSim("Disculpe no se puede procesar su tarjeta: "+i.data.ResDes,"Advertencia")})}InsAboBil(e,i,r){(new Date).toISOString(),this.servicios.AccSobBD("INSERT","No","NRegUsu,Transaccion,Descripcion,Monto,FecHor",this.UsuMat.NRegistro+",|Abono|,|Abono tarjeta de "+e+" REF:"+i+"|,"+r+",NOW()","","billetera","","","","Ins",this,function(s,a){a.servicios.AccSobBD("UPDATE","No","","","Saldo=Saldo\xac"+r,"usuarios","WHERE NRegistro="+a.UsuMat.NRegistro,"","","Upd",a,function(l,d){})})}RegSol(){(new Date).toISOString(),this.servicios.AccSobBD("INSERT","No","NRegCli,Origen,OriDes,Destino,DesDes,Recorrido,Precio,Ganancia,ForPag,FecHorSol",this.UsuMat.NRegistro+",|"+this.OriLatLon+"|,|"+this.OriDir+"|,|"+this.DesLatLon+"|,|"+this.DesDir+"|,"+this.Distancia+","+this.DatTar.MonTarTot+","+this.DatTar.MonGan+",|"+this.ForPag+"|,NOW()","","pedidos","","","","Ins",this,function(o,s){s.servicios.EnvMsgSim("El viaje fue solicitado","Informacion"),s.CarViaAct()})}CalDisRec(e,i,r){this.DirSer=new google.maps.DirectionsService,this.DirDis=new google.maps.DirectionsRenderer({suppressMarkers:!0,polylineOptions:{strokeColor:"#000000",strokeOpacity:.7}});var o=this.DirDis;this.DirDis.setMap(this.map),this.DirSer.route({origin:e,destination:i,travelMode:"DRIVING"},function(s,a){"OK"===a&&(setTimeout(()=>{o.setDirections(s)},350),r(s))})}OriDes(e){this.BusOriDes=e,this.DesBus="",document.getElementById("BusDes").innerHTML="",document.getElementById("BusLatLon").innerHTML="",this.showMap(function(i){})}OriDesFav(e){this.BusOriDes=e,this.DesBus="",document.getElementById("BusDes").innerHTML="",document.getElementById("BusLatLon").innerHTML="",this.CarLisSitFav()}Aceptar(){""!=document.getElementById("BusDes").innerHTML?("Origen"==this.BusOriDes?(this.OriDir=document.getElementById("BusDes").innerHTML,this.OriLatLon=document.getElementById("BusLatLon").innerHTML):(this.DesDir=document.getElementById("BusDes").innerHTML,this.DesLatLon=document.getElementById("BusLatLon").innerHTML),""!=this.OriLatLon&&""!=this.DesLatLon&&(this.Distancia=0,this.Tarifa=0,this.CalDisRec(this.OriLatLon,this.DesLatLon,function(e){document.getElementById("Distancia").innerHTML=e.routes[0].legs[0].distance.value}),setTimeout(()=>{var e=document.getElementById("Distancia").innerHTML;this.Distancia=parseFloat(e),this.servicios.CalTarVia(this.UsuMat.UbiAct,this.OriLatLon,this.DesLatLon,this.Distancia,this,function(i,r){r.DatTar=i.data,r.Tarifa=r.DatTar.MonTarTot})},1e3)),this.closeAddExpenseModal.nativeElement.click()):this.servicios.EnvMsgSim("Primero debe seleccionar el "+this.BusOriDes,"Advertencia")}AceptarFav(e){"Origen"==this.BusOriDes?(this.OriDir=e.Direccion,this.OriLatLon=e.LatLon):(this.DesDir=e.Direccion,this.DesLatLon=e.LatLon),""!=this.OriLatLon&&""!=this.DesLatLon&&(this.Distancia=0,this.Tarifa=0,this.CalDisRec(this.OriLatLon,this.DesLatLon,function(i){document.getElementById("Distancia").innerHTML=i.routes[0].legs[0].distance.value}),setTimeout(()=>{var i=document.getElementById("Distancia").innerHTML;this.Distancia=parseFloat(i),this.servicios.CalTarVia(this.UsuMat.UbiAct,this.OriLatLon,this.DesLatLon,this.Distancia,this,function(r,o){o.DatTar=r.data,o.Tarifa=o.DatTar.MonTarTot})},1e3)),this.closeAddExpenseModal2.nativeElement.click()}AgregarFav(){""!=document.getElementById("BusDes").innerHTML?this.servicios.ValCam("NomSitFav","Nombre del sitio favorito","Texto",this.NomSitFav,"Si")&&this.servicios.AccSobBD("INSERT","No","NRegUsu,Nombre,Direccion,LatLon",this.UsuMat.NRegistro+",|"+this.NomSitFav+"|,|"+document.getElementById("BusDes").innerHTML+"|,|"+document.getElementById("BusLatLon").innerHTML+"|","","sitfav","","","","Ins",this,function(e,i){i.NomSitFav="",i.CarLisSitFav(),i.servicios.EnvMsgSim("El sitio fue agregado a los favoritos","Informacion")}):this.servicios.EnvMsgSim("Primero debe seleccionar el "+this.BusOriDes,"Advertencia")}EliminarFav(e){this.servicios.AccSobBD("DELETE","No","","","","sitfav","WHERE NRegistro="+e.NRegistro,"","","Del",this,function(i,r){r.CarLisSitFav()})}showMap(e){var i;const r={center:i=new google.maps.LatLng(this.servicios.Pais.Lat,this.servicios.Pais.Lon),zoom:13,mapTypeControl:!1,streetViewControl:!1,zoomControl:!1,zoomControlOptions:{position:google.maps.ControlPosition.RIGHT_TOP},fullscreenControl:!1,fullscreenControlOptions:{position:google.maps.ControlPosition.LEFT_CENTER},styles:[]},o=new google.maps.Map(this.mapRef.nativeElement,r),s=new google.maps.Marker({id:"IDMCSCli",position:i,map:o});s.setVisible(!1);const a=new google.maps.Geocoder;var l=document.getElementById("pac-input"),d=new google.maps.InfoWindow,f=new google.maps.places.Autocomplete(l);o.addListener("click",function(m){s.setPosition(m.latLng),o.panTo(s.getPosition()),o.setZoom(16),d.setContent("..."),a.geocode({location:m.latLng},function(g,b){"OK"===b&&g[0]?(d.setContent(g[0].formatted_address),document.getElementById("BusDes").innerHTML=g[0].formatted_address,document.getElementById("BusLatLon").innerHTML=m.latLng.lat()+","+m.latLng.lng(),d.open(o,s)):document.getElementById("BusDes").innerHTML="Sin resultados"})}),f.bindTo("bounds",o),f.setFields(["address_components","geometry","icon","name"]),d.setContent("..."),f.addListener("place_changed",function(){d.close(),s.setVisible(!1);var m=f.getPlace();if(m.geometry){m.geometry.viewport?o.fitBounds(m.geometry.viewport):(o.setCenter(m.geometry.location),o.setZoom(17)),s.setPosition(m.geometry.location),s.setVisible(!0);var g="";m.address_components&&(g=[m.address_components[0]&&m.address_components[0].short_name||"",m.address_components[1]&&m.address_components[1].short_name||"",m.address_components[2]&&m.address_components[2].short_name||""].join(" ")),document.getElementById("BusDes").innerHTML=g,document.getElementById("BusLatLon").innerHTML=m.geometry.location.lat()+","+m.geometry.location.lng(),d.setContent(g),d.open(o,s)}}),this.map=o,this.CliMar=s,e(this)}CarLisSitFav(){this.servicios.AccSobBD("SELECT","Si","*","","","sitfav","WHERE NRegUsu = "+this.UsuMat.NRegistro+" AND Estatus = |Activo|","ORDER BY Nombre","","CarVar",this,function(e,i){i.SitFav=e.data})}CarLisForPag(){this.servicios.AccSobBD("SELECT","Si","*","","","forpag","WHERE Estatus = |Activa|","ORDER BY Nombre","","CarVar",this,function(e,i){i.LisForPag=e.data})}CarLisTarCre(){this.servicios.AccSobBD("SELECT","Si","*","","","dattar","WHERE NRegUsu = "+this.UsuMat.NRegistro+" AND Tipo = |Credito| AND Estatus = |Activa|","ORDER BY NumTar","","CarVar",this,function(e,i){i.LisTarCre=e.data})}CarLisTarDeb(){this.servicios.AccSobBD("SELECT","Si","*","","","dattar","WHERE NRegUsu = "+this.UsuMat.NRegistro+" AND Tipo = |Debito| AND Estatus = |Activa|","ORDER BY NumTar","","CarVar",this,function(e,i){i.LisTarDeb=e.data})}ActSal(){this.servicios.AccSobBD("SELECT","Si","Saldo","","","usuarios","WHERE NRegistro = "+this.UsuMat.NRegistro,"","","CarVar",this,function(e,i){i.UsuMat.Saldo=e.data[0].Saldo})}CarViaAct(){this.servicios.AccSobBD("SELECT","Si","*,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegRep) NomCho, (SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegRep) FotCho","","","viajes A","WHERE NRegCli = "+this.UsuMat.NRegistro+" AND Estatus IN (|Nuevo|)","ORDER BY NRegistro","","CarVar",this,function(e,i){e.data.length>0&&(i.ViaAct=e.data[0],i.ViaEst=i.ViaAct.Estatus,i.ViaTar=i.ViaAct.Precio,i.OriDir=i.ViaAct.OriDes,i.DesDir=i.ViaAct.DesDes,i.ForPag=i.ViaAct.ForPag,i.Distancia=i.ViaAct.Recorrido,i.Tarifa=i.ViaAct.Precio,i.REV=setInterval(()=>i.RevEstVia(),1e4),"Nuevo"==i.ViaEst&&0==i.InvAct&&i.BusChoDis())})}BusChoDis(){this.servicios.AccSobBD("SELECT","Si","*","","","usuarios","WHERE Tipo=|Repartidor| AND EstatusCho=|Conectado|","ORDER BY NRegistro LIMIT 1","","CarVar",this,function(r,o){r.data.length>0?(o.ChoDis=r.data,o.servicios.AccSobBD("UPDATE","No","","","EstatusCho=|Invitado|","usuarios","WHERE NRegistro = "+o.ChoDis[0].NRegistro,"","","Upd",o,function(s,a){a.servicios.AccSobBD("INSERT","No","NRegPed,NRegRep",a.ViaAct.NRegistro+","+a.ChoDis[0].NRegistro,"","invvia","","","","Ins",a,function(l,d){d.InvAct=!0,setTimeout(function(){d.RevInvEnv(l.lastinsertid,d.ChoDis[0].NRegistro)},3e4)})})):(o.servicios.EnvMsgSim("Disculpe, en este momento no hay repartidores disponibles en su zona, por favor intente mas tarde","Advertencia"),o.CanViaAct(!1))})}RevInvEnv(e,i){this.InvAct=!1,this.CanInv&&(this.CanInv=!1,this.CanViaAct(!1)),"Aceptado"!=this.ViaEst&&(this.servicios.AccSobBD("UPDATE","No","","","EstatusCho=|Conectado|","usuarios","WHERE NRegistro = "+i,"","","Upd",this,function(r,o){}),this.servicios.AccSobBD("UPDATE","No","","","Estatus=|Rechazada|","invvia","WHERE NRegistro = "+e,"","","Upd",this,function(r,o){}),"Nuevo"==this.ViaEst&&this.BusChoDis())}CanViaAct(e=!0){this.InvAct&&(this.CanInv=!0),this.servicios.AccSobBD("UPDATE","No","","","Estatus=|Cancelado Vendedor|","invvia","WHERE NRegPed = "+this.ViaAct.NRegistro,"","","Upd",this,function(r,o){}),(new Date).toISOString(),this.servicios.AccSobBD("UPDATE","No","","","Estatus=|Cancelado Vendedor|, FecHorCan=NOW()","pedidos","WHERE NRegistro = "+this.ViaAct.NRegistro,"","","Upd",this,function(r,o){e&&o.servicios.EnvMsgSim("El viaje fue cancelado","Informacion"),o.ViaAct=void 0,o.ViaEst="",o.ViaTar=0,o.CalVia=0,o.OriDir="",o.DesDir="",o.ForPag="",o.Distancia=0,o.Tarifa=0,clearInterval(o.REV)})}RevEstVia(){this.servicios.AccSobBD("SELECT","Si","*,(SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegRep) NomCho, (SELECT FotPer FROM usuarios WHERE NRegistro = A.NRegRep) FotCho","","","viajes A","WHERE NRegCli = "+this.UsuMat.NRegistro+" AND Estatus IN (|Nuevo|)","ORDER BY NRegistro","","CarVar",this,function(e,i){if(e.data.length>0)i.ViaAct=e.data[0],i.ViaEst=i.ViaAct.Estatus,i.ViaTar=i.ViaAct.Precio;else{i.ViaAct=void 0,i.ViaEst="",i.ViaTar=0,i.CalVia=0,i.OriDir="",i.DesDir="",i.ForPag="",i.Distancia=0,i.Tarifa=0;var r=(new Date).toISOString();i.servicios.VPB=0,window.localStorage.setItem("buscarViajes","FecHorSol LIKE |\xb7"+r.substr(0,10)+"\xb7|"),i.router.navigate(["home/viajesemp"]),clearInterval(i.REV)}})}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-solvia"]],viewQuery:function(e,i){if(1&e&&(Ht(t4e,5),Ht(n4e,5),Ht(i4e,5),Ht(r4e,5),Ht(o4e,5)),2&e){let r;lt(r=ct())&&(i.mapRef=r.first),lt(r=ct())&&(i.closeAddExpenseModal=r.first),lt(r=ct())&&(i.closeAddExpenseModal2=r.first),lt(r=ct())&&(i.BotMapDes=r.first),lt(r=ct())&&(i.BotMapOri=r.first)}},decls:91,vars:14,consts:[[1,"TitMod"],[2,"font-size","18px"],["class","col-md-4","style","height:310px; padding:10px; float:left; border:0px solid #00f;",4,"ngIf"],["class","col-md-8","style","height:310px; padding:10px; float:left; border:0px solid #00f;",4,"ngIf"],["class","col-md-12","style","padding:10px; float:left; border:0px solid #00f;",4,"ngIf"],[1,"row",2,"float","left","margin","0px","padding","0px","width","100%"],[1,"col-md-12",2,"margin","0px","padding","0px","width","100%","border","0px solid #00f"],[1,"PieMod",2,"margin-top","15px"],["width","100%"],["width","50%","align","center","valign","middle"],[4,"ngIf"],["width","25%","align","center","valign","middle"],["type","button","class","btn btn-primary","style","background-color:#ff4b41 !important; border-color:#ff4b41 !important;",3,"click",4,"ngIf"],["src","assets/img/can.png","class","BotModPie","title","Cancelar viaje",3,"click",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","50% !important"],[1,"modal-content",2,"height","550px"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],["closeAddExpenseModal",""],[1,"container-fluid"],[1,"row",2,"height","370px !important"],[1,"col-md-12",2,"height","100%","padding","10px","border","0px solid #f00"],["id","pac-input","type","text","placeholder","Por favor escriba la direcci\xf3n para iniciar la b\xfasqueda y luego haga click en el sitio espec\xedfico",2,"height","40px","width","100%","padding-left","10px","font-size","18px","border","2px solid #d1d1d1","border-radius","5px",3,"ngModel","ngModelChange"],["id","map"],["map",""],["id","infowindow-content"],["src","","width","16","height","16","id","place-icon"],["id","place-name",1,"title"],["id","place-address"],[1,"row",2,"height","100px !important","margin","10px 0px 0px 0px !important"],[1,"col-md-12",2,"height","100%","padding","10px","border","0px solid #00f"],[1,"PieMod"],["width","60%","align","center","valign","middle"],[2,"width","100%","background","#eaeaea"],[2,"vertical-align","middle"],[1,"form-group",2,"margin","10px !important"],["type","text","id","NomSitFav","placeholder","Nombre del sitio favorito",1,"form-control",3,"ngModel","ngModelChange"],[2,"text-align","center"],["src","assets/img/agr.png","title","Agregar a favoritos",1,"BotModPie",3,"click"],["width","20%","align","center","valign","middle"],["id","BusDes","type","text",2,"display","none"],["id","BusLatLon","type","text",2,"display","none"],["id","Distancia","type","text",2,"display","none"],["src","assets/img/ace.png","title","Aceptar",1,"BotModPie",3,"click"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg2"],["closeAddExpenseModal2",""],[1,"row",2,"height","490px !important"],[1,"col-md-12",2,"height","100%","padding","10px","overflow","auto","border","0px solid #f00"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col"],[4,"ngFor","ngForOf"],[1,"col-md-4",2,"height","310px","padding","10px","float","left","border","0px solid #00f"],["cellpadding","10",2,"width","100%","height","90%","background-color","#f5f5f5"],["rowspan","3",2,"text-align","center","vertical-align","middle"],["style","height:100px; width:100px; border-radius:50%; margin-right:5px;",3,"src",4,"ngIf"],[2,"font-size","20px"],[3,"ngStyle"],[2,"height","100px","width","100px","border-radius","50%","margin-right","5px",3,"src"],[1,"col-md-8",2,"height","310px","padding","10px","float","left","border","0px solid #00f"],["colspan","3"],[1,"input-group","mb-3"],["type","text","placeholder","Origen en ...","aria-label","Origen","aria-describedby","button-addon2",1,"form-control",3,"ngModel","ngModelChange","click"],[1,"input-group-append"],["type","button","data-toggle","modal","data-target",".bd-example-modal-lg2",1,"btn","btn-outline-secondary",3,"click"],["type","button","data-toggle","modal","data-target",".bd-example-modal-lg",1,"btn","btn-outline-secondary",3,"click"],["BotMapOri",""],["type","text","placeholder","Destino en ...","aria-label","Destino","aria-describedby","button-addon2",1,"form-control",3,"ngModel","ngModelChange","click"],["BotMapDes",""],[1,"form-group"],["for","ForPag"],[2,"color","#f00"],["id","ForPag","placeholder","Forma de pago",1,"form-control",3,"disabled","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[2,"text-align","center","font-size","18px"],[3,"value"],[1,"col-md-12",2,"padding","10px","float","left","border","0px solid #00f"],["for","TarCre"],["id","TarCre",1,"form-control",3,"ngModel","ngModelChange"],["for","TarDeb"],["id","TarDeb",1,"form-control",3,"ngModel","ngModelChange"],["type","button",1,"btn","btn-primary",2,"background-color","#ff4b41 !important","border-color","#ff4b41 !important",3,"click"],["src","assets/img/can.png","title","Cancelar viaje",1,"BotModPie",3,"click"],["colspan","8","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","8","align","center","valign","middle",2,"color","#856404"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/ace.png","title","Seleccionar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3,"Solicitar viaje"),u()(),C(4,l4e,38,11,"div",2),C(5,d4e,47,7,"div",3),C(6,f4e,15,2,"div",4),C(7,p4e,15,2,"div",4),c(8,"div",5)(9,"div",6)(10,"div",7)(11,"table",8)(12,"tr")(13,"td",9),C(14,m4e,3,0,"p",10),u(),X(15,"td",11),c(16,"td",11),C(17,g4e,2,0,"button",12),C(18,_4e,1,0,"img",13),u()()()()()(),c(19,"div",14)(20,"div",15)(21,"div",16)(22,"div",0),p(23,"Buscar "),c(24,"span",1),p(25),u(),c(26,"div",17)(27,"a",18,19)(29,"strong"),p(30,"\xd7"),u()()()(),c(31,"div",20)(32,"div",21)(33,"div",22)(34,"input",23),R("ngModelChange",function(o){return i.DesBus=o}),u(),X(35,"div",24,25),c(37,"div",26),X(38,"img",27)(39,"span",28)(40,"br")(41,"span",29),u()()(),c(42,"div",30)(43,"div",31)(44,"div",32)(45,"table",8)(46,"tr")(47,"td",33)(48,"table",34)(49,"tr")(50,"td",35)(51,"div",36)(52,"input",37),R("ngModelChange",function(o){return i.NomSitFav=o}),u()()(),c(53,"td",38)(54,"img",39),R("click",function(){return i.AgregarFav()}),u()()()()(),c(55,"td",40),X(56,"span",41)(57,"span",42)(58,"span",43),u(),c(59,"td",40)(60,"img",44),R("click",function(){return i.Aceptar()}),u()()()()()()()()()()(),c(61,"div",45)(62,"div",15)(63,"div",16)(64,"div",0),p(65,"Buscar "),c(66,"span",1),p(67),u(),c(68,"div",17)(69,"a",18,46)(71,"strong"),p(72,"\xd7"),u()()()(),c(73,"div",20)(74,"div",47)(75,"div",48)(76,"div",49)(77,"h3"),p(78,"Lista de favoritos"),u()(),c(79,"table",50)(80,"thead",51)(81,"tr"),X(82,"th",52),c(83,"th",53),p(84,"Nombre"),u(),c(85,"th",53),p(86,"Direccion"),u()()(),c(87,"tbody"),C(88,v4e,3,1,"tr",10),C(89,b4e,3,0,"tr",10),C(90,D4e,8,2,"tr",54),u()()()()()()()()),2&e&&(h(4),_("ngIf",i.UsuMat),h(1),_("ngIf",i.UsuMat),h(1),_("ngIf","Tarjeta Credito"==i.ForPag),h(1),_("ngIf","Tarjeta Debito"==i.ForPag),h(7),_("ngIf",i.ViaAct),h(3),_("ngIf",!i.ViaAct),h(1),_("ngIf",i.ViaAct),h(7),Be("",i.BusOriDes," en mapa"),h(9),_("ngModel",i.DesBus),h(18),_("ngModel",i.NomSitFav),h(15),Be("",i.BusOriDes," en favoritos"),h(21),_("ngIf",!i.SitFav),h(1),_("ngIf",i.SitFav&&0==i.SitFav.length),h(1),_("ngForOf",i.SitFav))},dependencies:[Mt,mt,Wt,Do,yo,Si,Hr,Ii,ki,Yt],styles:["#map[_ngcontent-%COMP%]{height:95%;border-radius:10px}#infowindow-content[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:700}#infowindow-content[_ngcontent-%COMP%]{display:none}#infowindow-content[_ngcontent-%COMP%]{display:inline}"]}),t})();function M4e(t,n){1&t&&(c(0,"tr")(1,"td",20),X(2,"mat-spinner",21),u()()),2&t&&(h(2),_("diameter",50))}function C4e(t,n){1&t&&(c(0,"tr")(1,"td",22),p(2,"No existen registros"),u()())}const x4e=function(t){return{color:t}};function T4e(t,n){if(1&t&&(c(0,"tr",23)(1,"td"),p(2),u(),c(3,"td"),p(4),u(),c(5,"td",24),p(6),u(),c(7,"td",25),p(8),u()()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(5,x4e,i.servicios.ColMon(e.Monto))),h(2),I(e.Transaccion),h(2),I(e.Descripcion),h(2),I(i.servicios.NumFor(e.Monto,2)),h(2),I(i.servicios.ForFecHor(e.FecHor))}}let w4e=(()=>{class t{constructor(e,i){this.router=e,this.servicios=i,this.DonBus="",this.TotAbo=0,this.TotRet=0,this.TotCob=0,this.TotGan=0,this.DGM={Nombre:"Billetera",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Apellido",Cmp:"Apellido",Tip:"Texto",Req:"No",VD:"",Val:""},{Tit:"Telefono",Cmp:"Telefono",Tip:"Texto",Req:"No",VD:"",Val:""},{Tit:"Tipo",Cmp:"Tipo",Tip:"Select",Req:"No",VD:"",Val:"",Opcs:[{Val:"Vendedor",Tex:"Vendedor"},{Val:"Repartidor",Tex:"Repartidor"}]},{Tit:"Email",Cmp:"Email",Tip:"Texto",Req:"No",VD:"",Val:""},{Tit:"Saldo",Cmp:"Saldo",Tip:"Numero",Req:"No",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Nuevo",Tex:"Nuevo"},{Val:"Bloqueado",Tex:"Bloqueado"}]}],OpcFil:"Si",CamQry:"*",Tabla:"usuarios",Donde:"",Ordena:"ORDER BY NRegistro DESC",TabFor:{Fil:[1,2,3],Col:[1,2]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.UsuMat&&(this.DGM.Donde="WHERE NRegistro = "+this.UsuMat.NRegistro,this.ActSal()),this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CalTotAbo(),this.CalTotRet(),this.CarTra()}ngAfterViewInit(){}VerSolAbo(){this.router.navigate(["home/solabo"])}VerSolRet(){this.router.navigate(["home/solret"])}VerPorCob(){window.localStorage.setItem("buscarRepartidores","Saldo { 0"),this.router.navigate(["home/mancho"])}CalTotAbo(){this.servicios.AccSobBD("SELECT","Si","SUM(Monto) TotAbo","","","billetera","WHERE NRegUsu = "+this.UsuMat.NRegistro+" AND Transaccion = |Abono|","","","CarVar",this,function(e,i){i.TotAbo=e.data[0].TotAbo,i.servicios.VPB=25})}CalTotRet(){this.servicios.AccSobBD("SELECT","Si","SUM(Monto) TotRet","","","billetera","WHERE NRegUsu = "+this.UsuMat.NRegistro+" AND Transaccion LIKE |Pago\xb7|","","","CarVar",this,function(e,i){i.TotRet=e.data[0].TotRet,i.servicios.VPB=50})}CarTra(){this.servicios.AccSobBD("SELECT","Si","*, (SELECT CONCAT(Nombre,| |,Apellido) FROM usuarios WHERE NRegistro = A.NRegUsu) NomUsu, (SELECT Tipo FROM usuarios WHERE NRegistro = A.NRegUsu) TipUsu","","","billetera A","WHERE NRegUsu="+this.UsuMat.NRegistro,"ORDER BY FecHor DESC","","CarVar",this,function(e,i){i.Trans=e.data,i.servicios.VPB=100})}ActSal(){this.servicios.AccSobBD("SELECT","Si","Saldo","","","usuarios","WHERE NRegistro = "+this.UsuMat.NRegistro,"","","CarVar",this,function(e,i){i.UsuMat.Saldo=e.data[0].Saldo})}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-bilemp"]],decls:50,vars:7,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"col-md-4","EstAzu"],[1,"row"],[1,"col-7",2,"padding","20px","text-align","center"],[1,"col-5",2,"background","rgba(255,255,255,0.3)","position","relative"],["src","assets/img/mas.png",2,"height","60px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],[1,"col-md-3","EstAma"],["src","assets/img/menos.png",2,"height","60px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],[1,"col-md-4","EstVer"],["src","assets/img/dinero.png",2,"height","60px","position","absolute","top","0","left","0","right","0","bottom","0","margin","auto"],[1,"col-md-12",2,"height","500px","padding","10px","overflow","auto","border","0px solid #00f"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col"],["scope","col",2,"text-align","right"],["scope","col",2,"text-align","center"],[4,"ngIf"],[3,"ngStyle",4,"ngFor","ngForOf"],["colspan","8","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","8","align","center","valign","middle",2,"color","#856404"],[3,"ngStyle"],[2,"text-align","right"],[2,"text-align","center"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"div",3)(6,"div",4)(7,"h2"),p(8),u(),c(9,"div"),p(10,"Total Abonado"),u()(),c(11,"div",5),X(12,"img",6),u()()(),c(13,"div",7)(14,"div",3)(15,"div",4)(16,"h2"),p(17),u(),c(18,"div"),p(19,"Total Pagado"),u()(),c(20,"div",5),X(21,"img",8),u()()(),c(22,"div",9)(23,"div",3)(24,"div",4)(25,"h2"),p(26),u(),c(27,"div"),p(28,"Saldo"),u()(),c(29,"div",5),X(30,"img",10),u()()(),c(31,"div",11)(32,"div",12)(33,"h3"),p(34,"Detalle de Transacciones"),u()(),c(35,"table",13)(36,"thead",14)(37,"tr")(38,"th",15),p(39,"Transacci\xf3n"),u(),c(40,"th",15),p(41,"Descripci\xf3n"),u(),c(42,"th",16),p(43,"Monto"),u(),c(44,"th",17),p(45,"Fecha Hora"),u()()(),c(46,"tbody"),C(47,M4e,3,1,"tr",18),C(48,C4e,3,0,"tr",18),C(49,T4e,9,7,"tr",19),u()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),I(i.servicios.NumFor(i.TotAbo,2)),h(9),I(i.servicios.NumFor(i.TotRet,2)),h(9),I(i.servicios.NumFor(i.UsuMat.Saldo,2)),h(21),_("ngIf",!i.Trans),h(1),_("ngIf",i.Trans&&0==i.Trans.length),h(1),_("ngForOf",i.Trans))},dependencies:[Mt,mt,Wt,Yt],styles:[".EstAzu[_ngcontent-%COMP%]{margin:10px;padding:0;background:#49b9e3;color:#fff;border-radius:5px;box-shadow:0 0 5px #00000040;float:left}.EstAma[_ngcontent-%COMP%]{margin:10px;padding:0;background:#efcd67;color:#fff;border-radius:5px;box-shadow:0 0 5px #00000040;float:left}.EstRoj[_ngcontent-%COMP%]{margin:10px;padding:0;background:#d55454;color:#fff;border-radius:5px;box-shadow:0 0 5px #00000040;float:left}.EstVer[_ngcontent-%COMP%]{margin:10px;padding:0;background:#5bc689;color:#fff;border-radius:5px;box-shadow:0 0 5px #00000040;float:left}"]}),t})();function E4e(t,n){1&t&&X(0,"th",60)}const UH=function(t){return{"text-align":t}};function S4e(t,n){if(1&t&&(c(0,"th",61),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,UH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function k4e(t,n){1&t&&(c(0,"tr")(1,"td",62),X(2,"mat-spinner",63),u()()),2&t&&(h(2),_("diameter",50))}function A4e(t,n){1&t&&(c(0,"tr")(1,"td",64),p(2,"No existen registros"),u()())}function R4e(t,n){if(1&t){const e=ae();c(0,"img",71),R("click",function(){z(e);const r=D(2).$implicit;return q(D().Afiliar(r))}),u()}}function F4e(t,n){if(1&t){const e=ae();c(0,"img",72),R("click",function(){z(e);const r=D(2).$implicit;return q(D().Desafiliar(r))}),u()}}function N4e(t,n){if(1&t&&(c(0,"td",68),C(1,R4e,1,0,"img",69),C(2,F4e,1,0,"img",70),u()),2&t){const e=D().$implicit;h(1),_("ngIf",0==e.NRegEmp),h(1),_("ngIf",0!=e.NRegEmp)}}function O4e(t,n){if(1&t&&(c(0,"td",73),p(1),u()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(2,UH,r.servicios.AliCamMod(e.Tip))),h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function I4e(t,n){if(1&t&&(c(0,"tr"),C(1,N4e,3,2,"td",65),c(2,"td",66),p(3),u(),C(4,O4e,2,4,"td",67),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function L4e(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function P4e(t,n){if(1&t){const e=ae();c(0,"td",16)(1,"img",74),R("click",function(){return z(e),q(D().Volver())}),u()()}}function B4e(t,n){if(1&t){const e=ae();c(0,"img",75),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function V4e(t,n){if(1&t){const e=ae();c(0,"img",76),R("click",function(){return z(e),q(D().EjeFun("Agregar",""))}),u()}}function H4e(t,n){if(1&t&&(c(0,"div",0),p(1,"Billetera de "),c(2,"span",1),p(3),u(),c(4,"div",77)(5,"a",78)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,"")}}function G4e(t,n){if(1&t&&X(0,"img",83),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotPer,"",rt)}}function j4e(t,n){if(1&t&&(c(0,"div",79)(1,"div",33)(2,"h3"),p(3),u()(),c(4,"table",80)(5,"tr")(6,"td",81),C(7,G4e,1,2,"img",82),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()(),c(25,"tr")(26,"td",57)(27,"strong"),p(28,"Puntos: "),u(),c(29,"span"),p(30),u()()()()()),2&t){const e=D();h(3),I(e.DetDat.Tipo),h(4),_("ngIf",e.DetDat.FotPer),h(5),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,""),h(6),I(e.DetDat.Telefono),h(6),I(e.DetDat.Email),h(6),I(e.DetDat.Puntos)}}const WH=function(t){return{color:t}};function Y4e(t,n){if(1&t&&(c(0,"div",84)(1,"div",33)(2,"h3"),p(3,"Saldo"),u()(),c(4,"table",80)(5,"tr")(6,"td",85),p(7),u()()()()),2&t){const e=D();h(6),_("ngStyle",ke(2,WH,e.servicios.ColSal(e.DetDat.Saldo))),h(1),I(e.servicios.NumFor(e.DetDat.Saldo,2))}}function U4e(t,n){1&t&&(c(0,"tr")(1,"td",89),X(2,"mat-spinner",63),u()()),2&t&&(h(2),_("diameter",50))}function W4e(t,n){1&t&&(c(0,"tr")(1,"td",90),p(2,"No existen registros"),u()())}function z4e(t,n){if(1&t&&(c(0,"tr",73)(1,"td"),p(2),u(),c(3,"td"),p(4),u(),c(5,"td",91),p(6),u(),c(7,"td",66),p(8),u()()),2&t){const e=n.$implicit,i=D(2);_("ngStyle",ke(5,WH,i.servicios.ColMon(e.Monto))),h(2),I(e.Transaccion),h(2),I(e.Descripcion),h(2),I(i.servicios.NumFor(e.Monto,2)),h(2),I(i.servicios.ForFecHor(e.FecHor))}}function $4e(t,n){if(1&t&&(c(0,"div",86)(1,"div",33)(2,"h3"),p(3,"Detalle de Transacciones"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr")(7,"th",87),p(8,"Transacci\xf3n"),u(),c(9,"th",87),p(10,"Descripci\xf3n"),u(),c(11,"th",88),p(12,"Monto"),u(),c(13,"th",6),p(14,"Fecha Hora"),u()()(),c(15,"tbody"),C(16,U4e,3,1,"tr",8),C(17,W4e,3,0,"tr",8),C(18,z4e,9,7,"tr",67),u()()()),2&t){const e=D();h(16),_("ngIf",!e.Trans),h(1),_("ngIf",e.Trans&&0==e.Trans.length),h(1),_("ngForOf",e.Trans)}}function q4e(t,n){if(1&t&&(c(0,"div",0),p(1,"Veh\xedculos de "),c(2,"span",1),p(3),u(),c(4,"div",77)(5,"a",78)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,"")}}function X4e(t,n){1&t&&(c(0,"tr")(1,"td",89),X(2,"mat-spinner",63),u()()),2&t&&(h(2),_("diameter",50))}function Q4e(t,n){1&t&&(c(0,"tr")(1,"td",90),p(2,"No existen registros"),u()())}function J4e(t,n){if(1&t){const e=ae();c(0,"tr")(1,"td",68)(2,"img",94),R("click",function(){const o=z(e).$implicit;return q(D(2).ModDetVeh(o))}),u(),c(3,"img",95),R("click",function(){const o=z(e).$implicit,s=D(2);return q(s.EliDetVeh(s.DetDat,o))}),u()(),c(4,"td",96),p(5),u(),c(6,"td",96),p(7),u(),c(8,"td",96),p(9),u(),c(10,"td",66),p(11),u()()}if(2&t){const e=n.$implicit;h(5),I(e.Tipo),h(2),I(e.Pasajeros),h(2),I(e.Placa),h(2),I(e.Estatus)}}function Z4e(t,n){if(1&t&&(c(0,"div",92)(1,"div",33)(2,"h3"),p(3,"Lista de Veh\xedculos"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr"),X(7,"th",60),c(8,"th",93),p(9,"Tipo"),u(),c(10,"th",93),p(11,"Pasajeros"),u(),c(12,"th",93),p(13,"Placa"),u(),c(14,"th",6),p(15,"Estado"),u()()(),c(16,"tbody"),C(17,X4e,3,1,"tr",8),C(18,Q4e,3,0,"tr",8),C(19,J4e,12,4,"tr",9),u()()()),2&t){const e=D();h(17),_("ngIf",!e.Vehic),h(1),_("ngIf",e.Vehic&&0==e.Vehic.length),h(1),_("ngForOf",e.Vehic)}}let K4e=(()=>{class t{constructor(e,i,r){this.router=e,this.servicios=i,this.location=r,this.DonBus="",this.OJE=[],this.Tipo="",this.Pasajeros="",this.Placa="",this.Estatus="",this.NRegDetVehSel=0,this.DGM={Nombre:"Repartidores",CamMod:[{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Apellido",Cmp:"Apellido",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Telefono",Cmp:"Telefono",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Email",Cmp:"Email",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Zona",Cmp:"Zona",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"Nombre,Nombre",Tab:"zonas",Don:"WHERE Estatus = |Activa|",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Empresa",Cmp:"NRegEmp",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"NRegistro,Nombre",Tab:"usuarios",Don:"WHERE Tipo = |Empresa| AND Estatus = |Activo|",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Bloqueado",Tex:"Bloqueado"}]}],OpcFil:"Si",CamQry:"*",Tabla:"usuarios",Donde:"WHERE Tipo = |Repartidor|",Ordena:"ORDER BY NRegistro",TabFor:{Fil:[1,2,3],Col:[1,2,3]},Carpeta:""},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.UsuMat.NRegistro&&(this.DGM.Donde=this.DGM.Donde+" AND NRegEmp IN (0,"+this.UsuMat.NRegistro+")"),this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarCmpQry(),this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}Afiliar(e){this.servicios.AccSobBD("UPDATE","No","","","NRegEmp="+this.UsuMat.NRegistro,"usuarios","WHERE NRegistro="+e.NRegistro,"","","Upd",this,function(i,r){r.CarLis()})}Desafiliar(e){this.servicios.AccSobBD("UPDATE","No","","","NRegEmp=0","usuarios","WHERE NRegistro="+e.NRegistro,"","","Upd",this,function(i,r){r.CarLis()})}Detalles(e){this.DetDat=e,this.CarTra(this.DetDat.NRegistro)}Vehiculos(e){this.DetDat=e,this.CarVeh(this.DetDat.NRegistro)}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarCmpQry(){for(var e=0;e<this.DGM.CamMod.length;e++)if("SelectQry"==this.DGM.CamMod[e].Tip){let i=e;this.servicios.AccSobBD("SELECT","Si",this.DGM.CamMod[e].Qry.Cmps,"","",this.DGM.CamMod[e].Qry.Tab,this.DGM.CamMod[e].Qry.Don,this.DGM.CamMod[e].Qry.Ord,"","CarVar",this,function(r,o){o.DGM.CamMod[i].Qry.Res=r.data})}}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}CarTra(e){this.servicios.AccSobBD("SELECT","Si","*","","","billetera","WHERE NRegUsu = "+e,"ORDER BY FecHor DESC","","CarVar",this,function(i,r){r.Trans=i.data})}CarVeh(e){this.servicios.AccSobBD("SELECT","Si","*","","","repveh","WHERE NRegRep = "+e,"ORDER BY Tipo","","CarVar",this,function(i,r){r.Vehic=i.data})}GuaVeh(e){this.servicios.ValCam("Tipo","Tipo","Texto",this.Tipo,"Si")&&this.servicios.ValCam("Pasajeros","Pasajeros","Texto",this.Pasajeros,"Si")&&this.servicios.ValCam("Placa","Placa","Texto",this.Placa,"Si")&&this.servicios.ValCam("Estatus","Estado","Texto",this.Estatus,"Si")&&(0==this.NRegDetVehSel?this.servicios.AccSobBD("INSERT","No","NRegRep,Tipo,Pasajeros,Placa,Estatus",e.NRegistro+",|"+this.Tipo+"|,|"+this.Pasajeros+"|,|"+this.Placa+"|,|"+this.Estatus+"|","","repveh","","","","Ins",this,function(i,r){r.CarVeh(e.NRegistro)}):this.servicios.AccSobBD("UPDATE","No","","","Tipo=|"+this.Tipo+"|, Pasajeros=|"+this.Pasajeros+"|, Placa=|"+this.Placa+"|, Estatus=|"+this.Estatus+"|","repveh","WHERE NRegistro="+this.NRegDetVehSel,"","","Upd",this,function(i,r){r.CarVeh(e.NRegistro)}),this.Tipo="",this.Pasajeros="",this.Placa="",this.Estatus="",this.NRegDetVehSel=0)}ModDetVeh(e){this.NRegDetVehSel=e.NRegistro,this.Tipo=e.Tipo,this.Pasajeros=e.Pasajeros,this.Placa=e.Placa,this.Estatus=e.Estatus}EliDetVeh(e,i){this.servicios.AccSobBD("DELETE","No","","","","repveh","WHERE NRegistro="+i.NRegistro,"","","Del",this,function(r,o){o.CarVeh(e.NRegistro)})}Volver(){this.location.back()}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et),V(Po))},t.\u0275cmp=Oe({type:t,selectors:[["app-choemp"]],decls:113,vars:20,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["width","10%","align","center","valign","middle",4,"ngIf"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["width","10%","align","center","valign","middle"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","class","BotModPie","title","Agregar",3,"click",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","50% !important"],[1,"modal-content",2,"height","550px"],["class","TitMod",4,"ngIf"],[1,"container-fluid"],[1,"row",2,"height","200px !important"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #f00;",4,"ngIf"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],[1,"row",2,"height","280px !important"],["class","col-md-12","style","height:100%; padding:10px; overflow:auto; border:0px solid #00f;",4,"ngIf"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg2"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","80% !important"],[1,"row",2,"height","500px !important"],[1,"col-md-4",2,"height","100%","padding","10px","border","0px solid #f00"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],["cellpadding","5",2,"width","100%","height","90%","background-color","#f5f5f5"],["colspan","2"],[1,"form-group"],["for","Tipo"],[2,"color","#f00"],["id","Tipo",1,"form-control",3,"ngModel","ngModelChange"],["value","Bicitaxi a pedal"],["value","Bicitaxi El\xe9trico"],["value","Bicitaxi a gasolina"],["for","Pasajeros"],["id","Pasajeros",1,"form-control",3,"ngModel","ngModelChange"],["value","1"],["value","2"],["value","3"],["value","4"],["value","5"],["value","6"],["for","Placa"],["type","text","id","Placa",1,"form-control",3,"ngModel","ngModelChange"],["for","Estatus"],["id","Estatus",1,"form-control",3,"ngModel","ngModelChange"],["value","Activo"],["value","Inactivo"],["colspan","2",2,"text-align","center"],["src","assets/img/ace.png","title","Guardar",1,"BotModPie",3,"click"],["class","col-md-8","style","height:95%; padding:10px; overflow:auto; border:0px solid #00f;",4,"ngIf"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/ace.png","class","BotMod","title","Afiliar",3,"click",4,"ngIf"],["src","assets/img/can.png","class","BotMod","title","Desafiliar",3,"click",4,"ngIf"],["src","assets/img/ace.png","title","Afiliar",1,"BotMod",3,"click"],["src","assets/img/can.png","title","Desafiliar",1,"BotMod",3,"click"],[3,"ngStyle"],["src","assets/img/vol.png","title","Volver",1,"BotModPie",3,"click"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"],["src","assets/img/agr.png","title","Agregar",1,"BotModPie",3,"click"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #f00"],[2,"width","100%","height","80%","background-color","#f5f5f5"],["rowspan","3",2,"text-align","center","vertical-align","middle"],["style","height:100px; width:100px; border-radius:50%; margin-right:5px;",3,"src",4,"ngIf"],[2,"height","100px","width","100px","border-radius","50%","margin-right","5px",3,"src"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #0f0"],[2,"text-align","center","font-size","48px",3,"ngStyle"],[1,"col-md-12",2,"height","100%","padding","10px","overflow","auto","border","0px solid #00f"],["scope","col"],["scope","col",2,"text-align","right"],["colspan","8","align","center","valign","middle"],["colspan","8","align","center","valign","middle",2,"color","#856404"],[2,"text-align","right"],[1,"col-md-8",2,"height","95%","padding","10px","overflow","auto","border","0px solid #00f"],["scope","col",2,"text-align","left"],["src","assets/img/mod.png","title","Modificar",1,"BotMod",3,"click"],["src","assets/img/eli.png","title","Eliminar",1,"BotMod",3,"click"],[2,"text-align","left"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Usuarios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,E4e,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,S4e,2,4,"th",7),u()(),c(12,"tbody"),C(13,k4e,3,1,"tr",8),C(14,A4e,3,0,"tr",8),C(15,I4e,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,L4e,2,1,"span",8),u(),C(21,P4e,2,0,"td",13),c(22,"td",12),C(23,B4e,1,0,"img",14),u(),c(24,"td",12)(25,"img",15),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(26,"td",16)(27,"img",17),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),c(28,"td",12),C(29,V4e,1,0,"img",18),u()()()(),c(30,"div",19)(31,"div",20)(32,"div",21),C(33,H4e,8,2,"div",22),c(34,"div",23)(35,"div",24),C(36,j4e,31,7,"div",25),C(37,Y4e,8,4,"div",26),u(),c(38,"div",27),C(39,$4e,19,3,"div",28),u()()()()(),c(40,"div",29)(41,"div",30)(42,"div",21),C(43,q4e,8,2,"div",22),c(44,"div",23)(45,"div",31)(46,"div",32)(47,"div",33)(48,"h3"),p(49,"Veh\xedculo"),u()(),c(50,"table",34)(51,"tr")(52,"td",35)(53,"div",36)(54,"label",37)(55,"strong"),p(56,"Tipo"),c(57,"span",38),p(58,"*"),u()()(),c(59,"select",39),R("ngModelChange",function(o){return i.Tipo=o}),c(60,"option",40),p(61,"Bicitaxi a pedal"),u(),c(62,"option",41),p(63,"Bicitaxi El\xe9trico"),u(),c(64,"option",42),p(65,"Bicitaxi a gasolina"),u()()()()(),c(66,"tr")(67,"td",35)(68,"div",36)(69,"label",43)(70,"strong"),p(71,"Cantidad Pasajeros"),c(72,"span",38),p(73,"*"),u()()(),c(74,"select",44),R("ngModelChange",function(o){return i.Pasajeros=o}),c(75,"option",45),p(76,"1"),u(),c(77,"option",46),p(78,"2"),u(),c(79,"option",47),p(80,"3"),u(),c(81,"option",48),p(82,"4"),u(),c(83,"option",49),p(84,"5"),u(),c(85,"option",50),p(86,"6"),u()()()()(),c(87,"tr")(88,"td",35)(89,"div",36)(90,"label",51)(91,"strong"),p(92,"Placa"),c(93,"span",38),p(94,"*"),u()()(),c(95,"input",52),R("ngModelChange",function(o){return i.Placa=o}),u()()()(),c(96,"tr")(97,"td",35)(98,"div",36)(99,"label",53)(100,"strong"),p(101,"Estado"),c(102,"span",38),p(103,"*"),u()()(),c(104,"select",54),R("ngModelChange",function(o){return i.Estatus=o}),c(105,"option",55),p(106,"Activo"),u(),c(107,"option",56),p(108,"Inactivo"),u()()()()(),c(109,"tr")(110,"td",57)(111,"img",58),R("click",function(){return i.GuaVeh(i.DetDat)}),u()()()()(),C(112,Z4e,20,3,"div",59),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(1),_("ngIf",-1!=i.DonBus.indexOf("{")),h(2),_("ngIf",""!=i.DonBus),h(6),_("ngIf","Admin"==i.UsuMat.Tipo),h(4),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat),h(4),_("ngIf",i.DetDat),h(16),_("ngModel",i.Tipo),h(15),_("ngModel",i.Pasajeros),h(21),_("ngModel",i.Placa),h(9),_("ngModel",i.Estatus),h(8),_("ngIf",i.DetDat))},dependencies:[Mt,mt,Wt,Do,yo,Si,Hr,Ii,ki,Yt]}),t})(),e5e=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Oe({type:t,selectors:[["app-manclifav"]],decls:2,vars:0,template:function(e,i){1&e&&(c(0,"p"),p(1," manclifav works!\n"),u())}}),t})(),t5e=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Oe({type:t,selectors:[["app-manclicon"]],decls:2,vars:0,template:function(e,i){1&e&&(c(0,"p"),p(1," manclicon works!\n"),u())}}),t})(),n5e=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Oe({type:t,selectors:[["app-manclisitfav"]],decls:2,vars:0,template:function(e,i){1&e&&(c(0,"p"),p(1," manclisitfav works!\n"),u())}}),t})(),i5e=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Oe({type:t,selectors:[["app-manclisitrec"]],decls:2,vars:0,template:function(e,i){1&e&&(c(0,"p"),p(1," manclisitrec works!\n"),u())}}),t})(),r5e=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Oe({type:t,selectors:[["app-mancliforpag"]],decls:2,vars:0,template:function(e,i){1&e&&(c(0,"p"),p(1," mancliforpag works!\n"),u())}}),t})(),o5e=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Oe({type:t,selectors:[["app-manclibil"]],decls:2,vars:0,template:function(e,i){1&e&&(c(0,"p"),p(1," manclibil works!\n"),u())}}),t})(),s5e=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Oe({type:t,selectors:[["app-manchoveh"]],decls:2,vars:0,template:function(e,i){1&e&&(c(0,"p"),p(1," manchoveh works!\n"),u())}}),t})(),a5e=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Oe({type:t,selectors:[["app-manchobil"]],decls:2,vars:0,template:function(e,i){1&e&&(c(0,"p"),p(1," manchobil works!\n"),u())}}),t})(),l5e=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Oe({type:t,selectors:[["app-manchoact"]],decls:2,vars:0,template:function(e,i){1&e&&(c(0,"p"),p(1," manchoact works!\n"),u())}}),t})();function c5e(t,n){1&t&&X(0,"th",28)}const zH=function(t){return{"text-align":t}};function d5e(t,n){if(1&t&&(c(0,"th",29),p(1),u()),2&t){const e=n.$implicit,i=D();_("ngStyle",ke(2,zH,i.servicios.AliCamMod(e.Tip))),h(1),I(e.Tit)}}function u5e(t,n){1&t&&(c(0,"tr")(1,"td",30),X(2,"mat-spinner",31),u()()),2&t&&(h(2),_("diameter",50))}function f5e(t,n){1&t&&(c(0,"tr")(1,"td",32),p(2,"No existen registros"),u()())}function h5e(t,n){if(1&t){const e=ae();c(0,"td",36)(1,"img",37),R("click",function(){z(e);const r=D().$implicit;return q(D().Aceptar(r))}),u(),c(2,"img",38),R("click",function(){z(e);const r=D().$implicit;return q(D().Rechazar(r))}),u()()}}function p5e(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D().$implicit,i=D().$implicit,r=D();h(1),I(r.servicios.ForCamMod(i[e.Cmp],e))}}function m5e(t,n){if(1&t&&X(0,"img",42),2&t){const e=D().$implicit,i=D().$implicit,r=D();nn("src","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt)}}function g5e(t,n){if(1&t&&(c(0,"td",39),C(1,p5e,2,1,"span",8),c(2,"a",40),C(3,m5e,1,3,"img",41),u()()),2&t){const e=n.$implicit,i=D().$implicit,r=D();_("ngStyle",ke(6,zH,r.servicios.AliCamMod(e.Tip))),h(1),_("ngIf","Imagen"!=e.Tip),h(1),nn("href","",r.ApiImg,"",e.Car,"/",r.servicios.ForCamMod(i[e.Cmp],e),"",rt),h(1),_("ngIf","Imagen"==e.Tip)}}function _5e(t,n){if(1&t&&(c(0,"tr"),C(1,h5e,3,0,"td",33),c(2,"td",34),p(3),u(),C(4,g5e,4,8,"td",35),u()),2&t){const e=n.$implicit,i=D();h(1),_("ngIf","Si"==i.DGM.OpcFil),h(2),I(e.NRegistro),h(1),_("ngForOf",i.DGM.CamMod)}}function v5e(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D();h(1),Be("",e.DatRes.length," Registros")}}function b5e(t,n){if(1&t){const e=ae();c(0,"td",16)(1,"img",43),R("click",function(){return z(e),q(D().Volver())}),u()()}}function D5e(t,n){if(1&t){const e=ae();c(0,"img",44),R("click",function(){return z(e),q(D().Refrescar())}),u()}}function y5e(t,n){if(1&t&&(c(0,"div",0),p(1,"Billetera de "),c(2,"span",1),p(3),u(),c(4,"div",45)(5,"a",46)(6,"strong"),p(7,"\xd7"),u()()()()),2&t){const e=D();h(3),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,"")}}function M5e(t,n){if(1&t&&X(0,"img",53),2&t){const e=D(2);Mn("src","",e.ApiImg,"usu/",e.DetDat.FotPer,"",rt)}}function C5e(t,n){if(1&t&&(c(0,"div",47)(1,"div",48)(2,"h3"),p(3),u()(),c(4,"table",49)(5,"tr")(6,"td",50),C(7,M5e,1,2,"img",51),u(),c(8,"td")(9,"strong"),p(10,"Nombre: "),u(),c(11,"span"),p(12),u()()(),c(13,"tr")(14,"td")(15,"strong"),p(16,"Telefono: "),u(),c(17,"span"),p(18),u()()(),c(19,"tr")(20,"td")(21,"strong"),p(22,"Email: "),u(),c(23,"span"),p(24),u()()(),c(25,"tr")(26,"td",52)(27,"strong"),p(28,"Puntos: "),u(),c(29,"span"),p(30),u()()()()()),2&t){const e=D();h(3),I(e.DetDat.Tipo),h(4),_("ngIf",e.DetDat.FotPer),h(5),Rt("",e.DetDat.Nombre," ",e.DetDat.Apellido,""),h(6),I(e.DetDat.Telefono),h(6),I(e.DetDat.Email),h(6),I(e.DetDat.Puntos)}}const $H=function(t){return{color:t}};function x5e(t,n){if(1&t&&(c(0,"div",54)(1,"div",48)(2,"h3"),p(3,"Saldo"),u()(),c(4,"table",49)(5,"tr")(6,"td",55),p(7),u()()()()),2&t){const e=D();h(6),_("ngStyle",ke(2,$H,e.servicios.ColSal(e.DetDat.Saldo))),h(1),I(e.servicios.NumFor(e.DetDat.Saldo,2))}}function T5e(t,n){1&t&&(c(0,"tr")(1,"td",59),X(2,"mat-spinner",31),u()()),2&t&&(h(2),_("diameter",50))}function w5e(t,n){1&t&&(c(0,"tr")(1,"td",60),p(2,"No existen registros"),u()())}function E5e(t,n){if(1&t&&(c(0,"tr",39)(1,"td"),p(2),u(),c(3,"td"),p(4),u(),c(5,"td",61),p(6),u(),c(7,"td",34),p(8),u()()),2&t){const e=n.$implicit,i=D(2);_("ngStyle",ke(5,$H,i.servicios.ColMon(e.Monto))),h(2),I(e.Transaccion),h(2),I(e.Descripcion),h(2),I(i.servicios.NumFor(e.Monto,2)),h(2),I(i.servicios.ForFecHor(e.FecHor))}}function S5e(t,n){if(1&t&&(c(0,"div",56)(1,"div",48)(2,"h3"),p(3,"Detalle de Transacciones"),u()(),c(4,"table",3)(5,"thead",4)(6,"tr")(7,"th",57),p(8,"Transacci\xf3n"),u(),c(9,"th",57),p(10,"Descripci\xf3n"),u(),c(11,"th",58),p(12,"Monto"),u(),c(13,"th",6),p(14,"Fecha Hora"),u()()(),c(15,"tbody"),C(16,T5e,3,1,"tr",8),C(17,w5e,3,0,"tr",8),C(18,E5e,9,7,"tr",35),u()()()),2&t){const e=D();h(16),_("ngIf",!e.Trans),h(1),_("ngIf",e.Trans&&0==e.Trans.length),h(1),_("ngForOf",e.Trans)}}const k5e=[{path:"",component:NK},{path:"login",component:Ime},{path:"conser/:NRegSer",component:age},{path:"home",component:D_e,children:[{path:"",component:qB},{path:"mapa",component:x_e},{path:"resumen",component:qB},{path:"graficos",component:X6},{path:"fda",component:UTe},{path:"pedidos",component:B2e},{path:"viajes",component:lwe},{path:"viajespas",component:pwe},{path:"tarifas",component:Ywe},{path:"impuestos",component:Kwe},{path:"tarjetas",component:cEe},{path:"cuentas",component:bEe},{path:"zonas",component:IEe},{path:"forpag",component:WEe},{path:"billetera",component:ZEe},{path:"solabo",component:dSe},{path:"solret",component:NSe},{path:"membresias",component:YSe},{path:"mempag",component:rke},{path:"puba",component:gke},{path:"pubb",component:Ske},{path:"noti",component:Vke},{path:"regcho",component:Zke},{path:"mememe",component:tAe},{path:"parametros",component:fAe},{path:"procat",component:EAe},{path:"proesp",component:jAe},{path:"prodef",component:MRe},{path:"cendev",component:ORe},{path:"viadev",component:pFe},{path:"defpro",component:wFe},{path:"ejepro",component:LFe},{path:"pqrsrec",component:qFe},{path:"pqrsdef",component:sNe},{path:"prefre",component:vNe},{path:"rectar",component:BNe},{path:"consul",component:rOe},{path:"manadm",component:pOe},{path:"mansop",component:xOe},{path:"mansup",component:OOe},{path:"mancon",component:UOe},{path:"mancli",component:yIe},{path:"manven",component:r3e},{path:"manemp",component:F3e},{path:"mancho",component:aLe},{path:"manchonue",component:NLe},{path:"manvennue",component:ePe},{path:"manpronue",component:(()=>{class t{constructor(e,i,r){this.router=e,this.servicios=i,this.location=r,this.DonBus="",this.OJE=[],this.Tipo="",this.Marca="",this.Modelo="",this.Matricula="",this.Ano="",this.Estatus="",this.NRegDetVehSel=0,this.DGM={Nombre:"Nuevos Productos",CamMod:[{Tit:"Especialidad",Cmp:"NRegEsp",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"NRegistro,Nombre",Tab:"especialidades",Don:"WHERE Estatus = |Activa|",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Vendedor",Cmp:"NRegVen",Tip:"SelectQry",Req:"Si",VD:"",Val:"",Qry:{Cmps:"NRegistro,Nombre",Tab:"usuarios",Don:"WHERE Tipo = |Vendedor| AND Estatus = |Activo|",Ord:"ORDER BY Nombre",Res:[]}},{Tit:"Im\xe1gen",Cmp:"Imagen",Tip:"Imagen",Req:"Si",VD:"fpdp.png",Val:"",Car:"pro"},{Tit:"Nombre",Cmp:"Nombre",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Descripcion",Cmp:"Descripcion",Tip:"Texto",Req:"Si",VD:"",Val:""},{Tit:"Precio",Cmp:"Precio",Tip:"Numero",Req:"Si",VD:"",Val:""},{Tit:"Descuento %",Cmp:"Descuento",Tip:"Porcentaje",Req:"Si",VD:"",Val:""},{Tit:"Existencia",Cmp:"Existencia",Tip:"Numero",Req:"No",VD:"",Val:""},{Tit:"Estado",Cmp:"Estatus",Tip:"Select",Req:"Si",VD:"",Val:"",Opcs:[{Val:"Activo",Tex:"Activo"},{Val:"Bloqueado",Tex:"Bloqueado"}]}],OpcFil:"Si",CamQry:"*",Tabla:"productos",Donde:"WHERE Estatus=|Pendiente|",Ordena:"ORDER BY NRegEsp,NRegVen DESC",TabFor:{Fil:[1,2,3],Col:[1,2,3,4]},Carpeta:"pro"},this.UsuMat=this.servicios.getUsuMat(),this.ApiImg=this.servicios.getApiImg()}ngOnInit(){this.DonBus=""!=window.localStorage.getItem("buscar"+this.DGM.Nombre)&&null!=window.localStorage.getItem("buscar"+this.DGM.Nombre)?""==this.DGM.Donde?"WHERE "+window.localStorage.getItem("buscar"+this.DGM.Nombre):" AND "+window.localStorage.getItem("buscar"+this.DGM.Nombre):"",this.CarCmpQry(),this.CarLis()}ngAfterViewInit(){}Refrescar(){window.localStorage.setItem("buscar"+this.DGM.Nombre,""),this.DonBus="",this.servicios.VPB=0,this.DatRes=null,this.CarLis()}Detalles(e){this.DetDat=e,this.CarTra(this.DetDat.NRegistro)}Aceptar(e){this.servicios.VPB=0,this.servicios.AccSobBD("UPDATE","No","","","Estatus = |Activo|","productos","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(i,r){r.DatRes=i.data,r.CarLis()})}Rechazar(e){this.servicios.VPB=0,this.servicios.AccSobBD("UPDATE","No","","","Estatus = |Rechazado|","productos","WHERE NRegistro = "+e.NRegistro,"","","Upd",this,function(i,r){r.DatRes=i.data,r.CarLis()})}EjeFun(e,i){if("Agregar"==e)for(var r=0;r<this.DGM.CamMod.length;r++)this.DGM.CamMod[r].Val=this.DGM.CamMod[r].VD;else if("Buscar"==e)for(var o=0;o<this.DGM.CamMod.length;o++)this.DGM.CamMod[o].Val="";else for(let s in i)for(o=0;o<this.DGM.CamMod.length;o++)s==this.DGM.CamMod[o].Cmp&&(this.DGM.CamMod[o].Val=i[s]);this.servicios.DGF={Acc:e,Dat:i,DGM:this.DGM},this.router.navigate(["home/fda"])}CarCmpQry(){for(var e=0;e<this.DGM.CamMod.length;e++)if("SelectQry"==this.DGM.CamMod[e].Tip){let i=e;this.servicios.AccSobBD("SELECT","Si",this.DGM.CamMod[e].Qry.Cmps,"","",this.DGM.CamMod[e].Qry.Tab,this.DGM.CamMod[e].Qry.Don,this.DGM.CamMod[e].Qry.Ord,"","CarVar",this,function(r,o){o.DGM.CamMod[i].Qry.Res=r.data})}}CarLis(){this.servicios.AccSobBD("SELECT","Si",this.DGM.CamQry,"","",this.DGM.Tabla,this.DGM.Donde+this.DonBus,this.DGM.Ordena,"","CarVar",this,function(e,i){i.DatRes=e.data,i.servicios.VPB=100,i.CarLisExp()})}CarLisExp(){for(var e=0;e<this.DatRes.length;e++){let r={};for(var i=0;i<this.DGM.CamMod.length;i++)r[this.DGM.CamMod[i].Tit]=this.servicios.ForCamMod(this.DatRes[e][this.DGM.CamMod[i].Cmp],this.DGM.CamMod[i]);this.OJE.push(r)}}CarTra(e){this.servicios.AccSobBD("SELECT","Si","*","","","billetera","WHERE NRegUsu = "+e,"ORDER BY FecHor DESC","","CarVar",this,function(i,r){r.Trans=i.data})}Volver(){this.location.back()}}return t.\u0275fac=function(e){return new(e||t)(V(gt),V(Et),V(Po))},t.\u0275cmp=Oe({type:t,selectors:[["app-manpronue"]],decls:39,vars:13,consts:[[1,"TitMod"],[2,"font-size","18px"],[1,"ConMod"],[1,"table","table-hover","table-striped","table-bordered"],[1,"TabHeaMod"],["scope","col","style","background-color:#fff; border: 1px solid #fff;",4,"ngIf"],["scope","col",2,"text-align","center"],["scope","col",3,"ngStyle",4,"ngFor","ngForOf"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"PieMod"],["width","100%"],["width","20%","align","center","valign","middle"],["width","10%","align","center","valign","middle",4,"ngIf"],["src","assets/img/ref.png","class","BotModPie","title","Refrescar",3,"click",4,"ngIf"],["src","assets/img/bus.png","title","Buscar",1,"BotModPie",3,"click"],["width","10%","align","center","valign","middle"],["src","assets/img/exc.png","title","Exportar",1,"BotModPie",3,"click"],["tabindex","-1","role","dialog","aria-labelledby","myLargeModalLabel","aria-hidden","true",1,"modal","fade","bd-example-modal-lg"],["role","document",1,"modal-dialog","modal-lg","modal-dialog-centered",2,"min-width","50% !important"],[1,"modal-content",2,"height","550px"],["class","TitMod",4,"ngIf"],[1,"container-fluid"],[1,"row",2,"height","200px !important"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #f00;",4,"ngIf"],["class","col-md-6","style","height:100%; padding:10px; border:0px solid #0f0;",4,"ngIf"],[1,"row",2,"height","280px !important"],["class","col-md-12","style","height:100%; padding:10px; overflow:auto; border:0px solid #00f;",4,"ngIf"],["scope","col",2,"background-color","#fff","border","1px solid #fff"],["scope","col",3,"ngStyle"],["colspan","100%","align","center","valign","middle"],[2,"margin","0 auto",3,"diameter"],["colspan","100%","align","center","valign","middle",2,"color","#856404"],["scope","row","style","text-align:center; vertical-align:middle;",4,"ngIf"],[2,"text-align","center"],[3,"ngStyle",4,"ngFor","ngForOf"],["scope","row",2,"text-align","center","vertical-align","middle"],["src","assets/img/ace.png","title","Aceptar",1,"BotMod",3,"click"],["src","assets/img/can.png","title","Rechazar",1,"BotMod",3,"click"],[3,"ngStyle"],["target","_blank",3,"href"],["style","height:100px; border-radius:5px;",3,"src",4,"ngIf"],[2,"height","100px","border-radius","5px",3,"src"],["src","assets/img/vol.png","title","Volver",1,"BotModPie",3,"click"],["src","assets/img/ref.png","title","Refrescar",1,"BotModPie",3,"click"],[2,"float","right"],["data-dismiss","modal",2,"color","#000","cursor","pointer","margin-right","10px"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #f00"],[2,"width","100%","background-color","#04579E","color","#fff","text-align","center"],[2,"width","100%","height","80%","background-color","#f5f5f5"],["rowspan","3",2,"text-align","center","vertical-align","middle"],["style","height:100px; width:100px; border-radius:50%; margin-right:5px;",3,"src",4,"ngIf"],["colspan","2",2,"text-align","center"],[2,"height","100px","width","100px","border-radius","50%","margin-right","5px",3,"src"],[1,"col-md-6",2,"height","100%","padding","10px","border","0px solid #0f0"],[2,"text-align","center","font-size","48px",3,"ngStyle"],[1,"col-md-12",2,"height","100%","padding","10px","overflow","auto","border","0px solid #00f"],["scope","col"],["scope","col",2,"text-align","right"],["colspan","8","align","center","valign","middle"],["colspan","8","align","center","valign","middle",2,"color","#856404"],[2,"text-align","right"]],template:function(e,i){1&e&&(c(0,"div",0),p(1,"Servicios / "),c(2,"span",1),p(3),u()(),c(4,"div",2)(5,"table",3)(6,"thead",4)(7,"tr"),C(8,c5e,1,0,"th",5),c(9,"th",6),p(10,"N\xba"),u(),C(11,d5e,2,4,"th",7),u()(),c(12,"tbody"),C(13,u5e,3,1,"tr",8),C(14,f5e,3,0,"tr",8),C(15,_5e,5,3,"tr",9),u()()(),c(16,"div",10)(17,"table",11)(18,"tr")(19,"td",12),C(20,v5e,2,1,"span",8),u(),C(21,b5e,2,0,"td",13),c(22,"td",12),C(23,D5e,1,0,"img",14),u(),c(24,"td",12)(25,"img",15),R("click",function(){return i.EjeFun("Buscar","")}),u()(),c(26,"td",16)(27,"img",17),R("click",function(){return i.servicios.exportAsExcelFile(i.OJE,i.DGM.Nombre)}),u()(),X(28,"td",12),u()()(),c(29,"div",18)(30,"div",19)(31,"div",20),C(32,y5e,8,2,"div",21),c(33,"div",22)(34,"div",23),C(35,C5e,31,7,"div",24),C(36,x5e,8,4,"div",25),u(),c(37,"div",26),C(38,S5e,19,3,"div",27),u()()()()()),2&e&&(h(3),I(i.DGM.Nombre),h(5),_("ngIf","Si"==i.DGM.OpcFil),h(3),_("ngForOf",i.DGM.CamMod),h(2),_("ngIf",!i.DatRes),h(1),_("ngIf",i.DatRes&&0==i.DatRes.length),h(1),_("ngForOf",i.DatRes),h(5),_("ngIf",i.DatRes&&0!=i.DatRes.length),h(1),_("ngIf",-1!=i.DonBus.indexOf("{")),h(2),_("ngIf",""!=i.DonBus),h(9),_("ngIf",i.DetDat),h(3),_("ngIf",i.DetDat),h(1),_("ngIf",i.DetDat),h(2),_("ngIf",i.DetDat))},dependencies:[Mt,mt,Wt,Yt]}),t})()},{path:"ayuda",component:tPe},{path:"dashemp",component:iPe},{path:"viajesemp",component:e4e},{path:"solvia",component:y4e},{path:"bilemp",component:w4e},{path:"choemp",component:K4e}]},{path:"manclifav",component:e5e},{path:"manclicon",component:t5e},{path:"manclisitfav",component:n5e},{path:"manclisitrec",component:i5e},{path:"mancliforpag",component:r5e},{path:"manclibil",component:o5e},{path:"manchoveh",component:s5e},{path:"manchobil",component:a5e},{path:"manchoact",component:l5e},{path:"dash",component:X6}];let A5e=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[ZI.forRoot(k5e),ZI]}),t})();const R5e=new $e("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),N5e=V2(class{constructor(t){this._elementRef=t}},"primary");let O5e=(()=>{class t extends N5e{constructor(e,i,r,o,s){super(e),this._ngZone=i,this._changeDetectorRef=r,this._animationMode=o,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new ht,this._mode="determinate",this._transitionendHandler=a=>{0===this.animationEnd.observers.length||!a.target||!a.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===o,s&&(s.color&&(this.color=this.defaultColor=s.color),this.mode=s.mode||this.mode)}get value(){return this._value}set value(e){this._value=qH($c(e)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(e){this._bufferValue=qH($c(e)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(e){this._mode=e,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}}return t.\u0275fac=function(e){return new(e||t)(V(Gt),V(St),V(ar),V(Ks,8),V(R5e,8))},t.\u0275cmp=Oe({type:t,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:8,hostBindings:function(e,i){2&e&&(Ot("aria-valuenow",i._isIndeterminate()?null:i.value)("mode",i.mode),Nt("_mat-animation-noopable",i._isNoopAnimation)("mdc-linear-progress--animation-ready",!i._isNoopAnimation)("mdc-linear-progress--indeterminate",i._isIndeterminate()))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[Qt],decls:7,vars:4,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(e,i){1&e&&(c(0,"div",0),X(1,"div",1)(2,"div",2),u(),c(3,"div",3),X(4,"span",4),u(),c(5,"div",5),X(6,"span",4),u()),2&e&&(h(1),ws("flex-basis",i._getBufferBarFlexBasis()),h(2),ws("transform",i._getPrimaryBarTransform()))},styles:["@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half, 83.67142%))}100%{transform:translateX(var(--mdc-linear-progress-primary-full, 200.611057%))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter, 37.651913%))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half, 84.386165%))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full, 160.277782%))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(-10px)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(var(--mdc-linear-progress-primary-half-neg, -83.67142%))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg, -200.611057%))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg, -37.651913%))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg, -84.386165%))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg, -160.277782%))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;width:100%;height:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;width:100%;height:100%}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color, #6200ee)}.mdc-linear-progress__buffer-dots{background-image:url(\"data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23e6e6e6'/%3E%3C/svg%3E\")}.mdc-linear-progress__buffer-bar{background-color:#e6e6e6}.mdc-linear-progress{height:var(--mdc-linear-progress-track-height, 4px)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-track-height, 4px)}.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height, 4px)}.mat-mdc-progress-bar{display:block}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}"],encapsulation:2,changeDetection:0}),t})();function qH(t,n=0,e=100){return Math.max(n,Math.min(e,t))}let I5e=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[vi]}),t})();function L5e(t,n){1&t&&X(0,"mat-progress-bar",2)}function P5e(t,n){1&t&&X(0,"mat-progress-bar",3)}let B5e=(()=>{class t{constructor(e){this.servicios=e,this.title=this.servicios.App.Nombre}}return t.\u0275fac=function(e){return new(e||t)(V(Et))},t.\u0275cmp=Oe({type:t,selectors:[["app-root"]],decls:3,vars:2,consts:[["color","dark","mode","determinate","value","100",4,"ngIf"],["color","dark","mode","indeterminate",4,"ngIf"],["color","dark","mode","determinate","value","100"],["color","dark","mode","indeterminate"]],template:function(e,i){1&e&&(C(0,L5e,1,0,"mat-progress-bar",0),C(1,P5e,1,0,"mat-progress-bar",1),X(2,"router-outlet")),2&e&&(_("ngIf",!i.servicios.Cargando),h(1),_("ngIf",i.servicios.Cargando))},dependencies:[mt,Z1,O5e]}),t})();function XH(t){return new Re(3e3,!1)}function bBe(){return typeof window<"u"&&typeof window.document<"u"}function mE(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function cd(t){switch(t.length){case 0:return new zg;case 1:return t[0];default:return new b5(t)}}function QH(t,n,e,i,r=new Map,o=new Map){const s=[],a=[];let l=-1,d=null;if(i.forEach(f=>{const m=f.get("offset"),g=m==l,b=g&&d||new Map;f.forEach((M,y)=>{let T=y,k=M;if("offset"!==y)switch(T=n.normalizePropertyName(T,s),k){case H2:k=r.get(y);break;case Xl:k=o.get(y);break;default:k=n.normalizeStyleValue(y,T,k,s)}b.set(T,k)}),g||a.push(b),d=b,l=m}),s.length)throw function aBe(t){return new Re(3502,!1)}();return a}function gE(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&_E(e,"start",t)));break;case"done":t.onDone(()=>i(e&&_E(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&_E(e,"destroy",t)))}}function _E(t,n,e){const o=vE(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),s=t._data;return null!=s&&(o._data=s),o}function vE(t,n,e,i,r="",o=0,s){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function Ls(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function JH(t){const n=t.indexOf(":");return[t.substring(1,n),t.slice(n+1)]}let bE=(t,n)=>!1,ZH=(t,n,e)=>[],KH=null;function DE(t){const n=t.parentNode||t.host;return n===KH?null:n}(mE()||typeof Element<"u")&&(bBe()?(KH=(()=>document.documentElement)(),bE=(t,n)=>{for(;n;){if(n===t)return!0;n=DE(n)}return!1}):bE=(t,n)=>t.contains(n),ZH=(t,n,e)=>{if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]});let Nu=null,e7=!1;const t7=bE,n7=ZH;let i7=(()=>{class t{validateStyleProperty(e){return function yBe(t){Nu||(Nu=function MBe(){return typeof document<"u"?document.body:null}()||{},e7=!!Nu.style&&"WebkitAppearance"in Nu.style);let n=!0;return Nu.style&&!function DBe(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in Nu.style,!n&&e7&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Nu.style)),n}(e)}matchesElement(e,i){return!1}containsElement(e,i){return t7(e,i)}getParentElement(e){return DE(e)}query(e,i,r){return n7(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new zg(r,o)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})(),yE=(()=>{class t{}return t.NOOP=new i7,t})();const CBe=1e3,ME="ng-enter",dD="ng-leave",uD="ng-trigger",fD=".ng-trigger",o7="ng-animating",CE=".ng-animating";function rc(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:xE(parseFloat(n[1]),n[2])}function xE(t,n){return"s"===n?t*CBe:t}function hD(t,n,e){return t.hasOwnProperty("duration")?t:function TBe(t,n,e){let r,o=0,s="";if("string"==typeof t){const a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(XH()),{duration:0,delay:0,easing:""};r=xE(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=xE(parseFloat(l),a[4]));const d=a[5];d&&(s=d)}else r=t;if(!e){let a=!1,l=n.length;r<0&&(n.push(function V5e(){return new Re(3100,!1)}()),a=!0),o<0&&(n.push(function H5e(){return new Re(3101,!1)}()),a=!0),a&&n.splice(l,0,XH())}return{duration:r,delay:o,easing:s}}(t,n,e)}function S_(t,n={}){return Object.keys(t).forEach(e=>{n[e]=t[e]}),n}function s7(t){const n=new Map;return Object.keys(t).forEach(e=>{n.set(e,t[e])}),n}function dd(t,n=new Map,e){if(e)for(let[i,r]of e)n.set(i,r);for(let[i,r]of t)n.set(i,r);return n}function l7(t,n,e){return e?n+":"+e+";":""}function c7(t){let n="";for(let e=0;e<t.style.length;e++){const i=t.style.item(e);n+=l7(0,i,t.style.getPropertyValue(i))}for(const e in t.style)t.style.hasOwnProperty(e)&&!e.startsWith("_")&&(n+=l7(0,kBe(e),t.style[e]));t.setAttribute("style",n)}function gl(t,n,e){t.style&&(n.forEach((i,r)=>{const o=wE(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=i}),mE()&&c7(t))}function Ou(t,n){t.style&&(n.forEach((e,i)=>{const r=wE(i);t.style[r]=""}),mE()&&c7(t))}function k_(t){return Array.isArray(t)?1==t.length?t[0]:m5(t):t}const TE=new RegExp("{{\\s*(.+?)\\s*}}","g");function d7(t){let n=[];if("string"==typeof t){let e;for(;e=TE.exec(t);)n.push(e[1]);TE.lastIndex=0}return n}function A_(t,n,e){const i=t.toString(),r=i.replace(TE,(o,s)=>{let a=n[s];return null==a&&(e.push(function j5e(t){return new Re(3003,!1)}()),a=""),a.toString()});return r==i?t:r}function pD(t){const n=[];let e=t.next();for(;!e.done;)n.push(e.value),e=t.next();return n}const SBe=/-+([a-z0-9])/g;function wE(t){return t.replace(SBe,(...n)=>n[1].toUpperCase())}function kBe(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ps(t,n,e){switch(n.type){case 7:return t.visitTrigger(n,e);case 0:return t.visitState(n,e);case 1:return t.visitTransition(n,e);case 2:return t.visitSequence(n,e);case 3:return t.visitGroup(n,e);case 4:return t.visitAnimate(n,e);case 5:return t.visitKeyframes(n,e);case 6:return t.visitStyle(n,e);case 8:return t.visitReference(n,e);case 9:return t.visitAnimateChild(n,e);case 10:return t.visitAnimateRef(n,e);case 11:return t.visitQuery(n,e);case 12:return t.visitStagger(n,e);default:throw function Y5e(t){return new Re(3004,!1)}()}}function u7(t,n){return window.getComputedStyle(t)[n]}const _D="*";function IBe(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function LBe(t,n,e){if(":"==t[0]){const l=function PBe(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return n.push(function iBe(t){return new Re(3016,!1)}()),"* => *"}}(t,e);if("function"==typeof l)return void n.push(l);t=l}const i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function nBe(t){return new Re(3015,!1)}()),n;const r=i[1],o=i[2],s=i[3];n.push(f7(r,s));"<"==o[0]&&!(r==_D&&s==_D)&&n.push(f7(s,r))}(i,e,n)):e.push(t),e}const vD=new Set(["true","1"]),bD=new Set(["false","0"]);function f7(t,n){const e=vD.has(t)||bD.has(t),i=vD.has(n)||bD.has(n);return(r,o)=>{let s=t==_D||t==r,a=n==_D||n==o;return!s&&e&&"boolean"==typeof r&&(s=r?vD.has(t):bD.has(t)),!a&&i&&"boolean"==typeof o&&(a=o?vD.has(n):bD.has(n)),s&&a}}const BBe=new RegExp("s*:selfs*,?","g");function EE(t,n,e,i){return new VBe(t).build(n,e,i)}class VBe{constructor(n){this._driver=n}build(n,e,i){const r=new jBe(e);return this._resetContextStyleTimingState(r),Ps(this,k_(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],s=[];return"@"==n.name.charAt(0)&&e.errors.push(function W5e(){return new Re(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,d=l.name;d.toString().split(/\s*,\s*/).forEach(f=>{l.name=f,o.push(this.visitState(l,e))}),l.name=d}else if(1==a.type){const l=this.visitTransition(a,e);i+=l.queryCount,r+=l.depCount,s.push(l)}else e.errors.push(function z5e(){return new Re(3007,!1)}())}),{type:7,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,e){const i=this.visitStyle(n.styles,e),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{d7(l).forEach(d=>{s.hasOwnProperty(d)||o.add(d)})})}),o.size&&(pD(o.values()),e.errors.push(function $5e(t,n){return new Re(3008,!1)}()))}return{type:0,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=Ps(this,k_(n.animation),e);return{type:1,matchers:IBe(n.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Iu(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(i=>Ps(this,i,e)),options:Iu(n.options)}}visitGroup(n,e){const i=e.currentTime;let r=0;const o=n.steps.map(s=>{e.currentTime=i;const a=Ps(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:o,options:Iu(n.options)}}visitAnimate(n,e){const i=function UBe(t,n){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return SE(hD(t,n).duration,0,"");const e=t;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=SE(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=hD(e,n);return SE(r.duration,r.delay,r.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let r,o=n.styles?n.styles:Yo({});if(5==o.type)r=this.visitKeyframes(o,e);else{let s=n.styles,a=!1;if(!s){a=!0;const d={};i.easing&&(d.easing=i.easing),s=Yo(d)}e.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,e);l.isEmptyStep=a,r=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(n,e){const i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){const i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)"string"==typeof a?a===Xl?i.push(a):e.errors.push(new Re(3002,!1)):i.push(s7(a));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const d=e.collectedStyles.get(e.currentQuerySelector),f=d.get(l);let m=!0;f&&(o!=r&&o>=f.startTime&&r<=f.endTime&&(e.errors.push(function X5e(t,n,e,i,r){return new Re(3010,!1)}()),m=!1),o=f.startTime),m&&d.set(l,{startTime:o,endTime:r}),e.options&&function EBe(t,n,e){const i=n.params||{},r=d7(t);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function G5e(t){return new Re(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(n,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function Q5e(){return new Re(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,d=0;const f=n.steps.map(k=>{const O=this._makeStyleAst(k,e);let N=null!=O.offset?O.offset:function YBe(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}(O.styles),H=0;return null!=N&&(o++,H=O.offset=N),l=l||H<0||H>1,a=a||H<d,d=H,s.push(H),O});l&&e.errors.push(function J5e(){return new Re(3012,!1)}()),a&&e.errors.push(function Z5e(){return new Re(3200,!1)}());const m=n.steps.length;let g=0;o>0&&o<m?e.errors.push(function K5e(){return new Re(3202,!1)}()):0==o&&(g=1/(m-1));const b=m-1,M=e.currentTime,y=e.currentAnimateTimings,T=y.duration;return f.forEach((k,O)=>{const N=g>0?O==b?1:g*O:s[O],H=N*T;e.currentTime=M+y.delay+H,y.duration=H,this._validateStyleAst(k,e),k.offset=N,i.styles.push(k)}),i}visitReference(n,e){return{type:8,animation:Ps(this,k_(n.animation),e),options:Iu(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:Iu(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:Iu(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;const[o,s]=function HBe(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(BBe,"")),t=t.replace(/@\*/g,fD).replace(/@\w+/g,e=>fD+"-"+e.slice(1)).replace(/:animating/g,CE),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,Ls(e.collectedStyles,e.currentQuerySelector,new Map);const a=Ps(this,k_(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:n.selector,options:Iu(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function eBe(){return new Re(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:hD(n.timings,e.errors,!0);return{type:12,animation:Ps(this,k_(n.animation),e),timings:i,options:null}}}class jBe{constructor(n){this.errors=n,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 Iu(t){return t?(t=S_(t)).params&&(t.params=function GBe(t){return t?S_(t):null}(t.params)):t={},t}function SE(t,n,e){return{duration:t,delay:n,easing:e}}function kE(t,n,e,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class DD{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const $Be=new RegExp(":enter","g"),XBe=new RegExp(":leave","g");function AE(t,n,e,i,r,o=new Map,s=new Map,a,l,d=[]){return(new QBe).buildKeyframes(t,n,e,i,r,o,s,a,l,d)}class QBe{buildKeyframes(n,e,i,r,o,s,a,l,d,f=[]){d=d||new DD;const m=new RE(n,e,d,r,o,f,[]);m.options=l;const g=l.delay?rc(l.delay):0;m.currentTimeline.delayNextStep(g),m.currentTimeline.setStyles([s],null,m.errors,l),Ps(this,i,m);const b=m.timelines.filter(M=>M.containsAnimation());if(b.length&&a.size){let M;for(let y=b.length-1;y>=0;y--){const T=b[y];if(T.element===e){M=T;break}}M&&!M.allowOnlyTimelineStyles()&&M.setStyles([a],null,m.errors,l)}return b.length?b.map(M=>M.buildKeyframes()):[kE(e,[],[],[],0,g,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(n.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=n}visitAnimateRef(n,e){const i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(const r of n){const o=r?.delay;if(o){const s="number"==typeof o?o:rc(A_(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime;const s=null!=i.duration?rc(i.duration):null,a=null!=i.delay?rc(i.delay):null;return 0!==s&&n.forEach(l=>{const d=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,d.duration+d.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),Ps(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const i=e.subContextCount;let r=e;const o=n.options;if(o&&(o.params||o.delay)&&(r=e.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=yD);const s=rc(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>Ps(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const i=[];let r=e.currentTimeline.currentTime;const o=n.options&&n.options.delay?rc(n.options.delay):0;n.steps.forEach(s=>{const a=e.createSubContext(n.options);o&&a.delayNextStep(o),Ps(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>e.currentTimeline.mergeTimelineCollectedStyles(s)),e.transformIntoNewTimeline(r),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const i=n.strValue;return hD(e.params?A_(i,e.params,e.errors):i,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const i=e.currentAnimateTimings=this._visitTiming(n.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=n.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(r+o),e.previousNode=n}visitQuery(n,e){const i=e.currentTimeline.currentTime,r=n.options||{},o=r.delay?rc(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=yD);let s=i;const a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((d,f)=>{e.currentQueryIndex=f;const m=e.createSubContext(n.options,d);o&&m.delayNextStep(o),d===e.element&&(l=m.currentTimeline),Ps(this,n.animation,m),m.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,m.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const i=e.parentContext,r=e.currentTimeline,o=n.timings,s=Math.abs(o.duration),a=s*(e.currentQueryTotal-1);let l=s*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const f=e.currentTimeline;l&&f.delayNextStep(l);const m=f.currentTime;Ps(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-m+(r.startTime-i.currentTimeline.startTime)}}const yD={};class RE{constructor(n,e,i,r,o,s,a,l){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=yD,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new MD(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const i=n;let r=this.options;null!=i.duration&&(r.duration=rc(i.duration)),null!=i.delay&&(r.delay=rc(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!e||!s.hasOwnProperty(a))&&(s[a]=A_(o[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const i=n.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return n}createSubContext(n=null,e,i){const r=e||this.element,o=new RE(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=yD,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const r={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new JBe(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=(n=n.replace($Be,"."+this._enterClassName)).replace(XBe,"."+this._leaveClassName);let d=this._driver.query(this.element,n,1!=i);0!==i&&(d=i<0?d.slice(d.length+i,d.length):d.slice(0,i)),a.push(...d)}return!o&&0==a.length&&s.push(function tBe(t){return new Re(3014,!1)}()),a}}class MD{constructor(n,e,i,r){this._driver=n,this.element=e,this.startTime=i,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,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(n){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new MD(this._driver,n,e||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(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Xl),this._currentKeyframe.set(e,Xl);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},s=function ZBe(t,n){const e=new Map;let i;return t.forEach(r=>{if("*"===r){i=i||n.keys();for(let o of i)e.set(o,Xl)}else dd(r,e)}),e}(n,this._globalTimelineStyles);for(let[a,l]of s){const d=A_(l,o,i);this._pendingStyles.set(a,d),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Xl),this._updateStyle(a,d)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const d=dd(a,new Map,this._backFill);d.forEach((f,m)=>{f===H2?n.add(m):f===Xl&&e.add(m)}),i||d.set("offset",l/this.duration),r.push(d)});const o=n.size?pD(n.values()):[],s=e.size?pD(e.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return kE(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class JBe extends MD{constructor(n,e,i,r,o,s,a=!1){super(n,e,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],s=i+e,a=e/s,l=dd(n[0]);l.set("offset",0),o.push(l);const d=dd(n[0]);d.set("offset",m7(a)),o.push(d);const f=n.length-1;for(let m=1;m<=f;m++){let g=dd(n[m]);const b=g.get("offset");g.set("offset",m7((e+b*i)/s)),o.push(g)}i=s,e=0,r="",n=o}return kE(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function m7(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}class FE{}const KBe=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 e8e extends FE{normalizePropertyName(n,e){return wE(n)}normalizeStyleValue(n,e,i,r){let o="";const s=i.toString().trim();if(KBe.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function U5e(t,n){return new Re(3005,!1)}())}return s+o}}function g7(t,n,e,i,r,o,s,a,l,d,f,m,g){return{type:0,element:t,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:d,postStyleProps:f,totalTime:m,errors:g}}const NE={};class _7{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return function t8e(t,n,e,i,r){return t.some(o=>o(n,e,i,r))}(this.ast.matchers,n,e,i,r)}buildStyles(n,e,i){let r=this._stateStyles.get("*");return void 0!==n&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(e,i):new Map}build(n,e,i,r,o,s,a,l,d,f){const m=[],g=this.ast.options&&this.ast.options.params||NE,M=this.buildStyles(i,a&&a.params||NE,m),y=l&&l.params||NE,T=this.buildStyles(r,y,m),k=new Set,O=new Map,N=new Map,H="void"===r,U={params:n8e(y,g),delay:this.ast.options?.delay},Q=f?[]:AE(n,e,this.ast.animation,o,s,M,T,U,d,m);let W=0;if(Q.forEach(ne=>{W=Math.max(ne.duration+ne.delay,W)}),m.length)return g7(e,this._triggerName,i,r,H,M,T,[],[],O,N,W,m);Q.forEach(ne=>{const he=ne.element,pe=Ls(O,he,new Set);ne.preStyleProps.forEach(Ie=>pe.add(Ie));const ue=Ls(N,he,new Set);ne.postStyleProps.forEach(Ie=>ue.add(Ie)),he!==e&&k.add(he)});const J=pD(k.values());return g7(e,this._triggerName,i,r,H,M,T,Q,J,O,N,W)}}function n8e(t,n){const e=S_(n);for(const i in t)t.hasOwnProperty(i)&&null!=t[i]&&(e[i]=t[i]);return e}class i8e{constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i=new Map,r=S_(this.defaultParams);return Object.keys(n).forEach(o=>{const s=n[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=A_(s,r,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(a,s)})}),i}}class o8e{constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new i8e(r.style,r.options&&r.options.params||{},i))}),v7(this.states,"true","1"),v7(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new _7(n,r,this.states))}),this.fallbackTransition=function s8e(t,n,e){return new _7(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,r){return this.transitionFactories.find(s=>s.match(n,e,i,r))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}}function v7(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}const a8e=new DD;class l8e{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){const i=[],r=[],o=EE(this._driver,e,i,r);if(i.length)throw function lBe(t){return new Re(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,e,i){const r=n.element,o=QH(0,this._normalizer,0,n.keyframes,e,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){const r=[],o=this._animations.get(n);let s;const a=new Map;if(o?(s=AE(this._driver,e,o,ME,dD,new Map,new Map,i,a8e,r),s.forEach(f=>{const m=Ls(a,f.element,new Map);f.postStyleProps.forEach(g=>m.set(g,null))})):(r.push(function cBe(){return new Re(3300,!1)}()),s=[]),r.length)throw function dBe(t){return new Re(3504,!1)}();a.forEach((f,m)=>{f.forEach((g,b)=>{f.set(b,this._driver.computeStyle(m,b,Xl))})});const d=cd(s.map(f=>{const m=a.get(f.element);return this._buildPlayer(f,new Map,m)}));return this._playersById.set(n,d),d.onDestroy(()=>this.destroy(n)),this.players.push(d),d}destroy(n){const e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById.get(n);if(!e)throw function uBe(t){return new Re(3301,!1)}();return e}listen(n,e,i,r){const o=vE(e,"","","");return gE(this._getPlayer(n),i,o,r),()=>{}}command(n,e,i,r){if("register"==i)return void this.register(n,r[0]);if("create"==i)return void this.create(n,e,r[0]||{});const o=this._getPlayer(n);switch(i){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(n)}}}const b7="ng-animate-queued",OE="ng-animate-disabled",h8e=[],D7={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},p8e={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ma="__ng_removed";class IE{get params(){return this.options.params}constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function v8e(t){return t??null}(i?n.value:n),i){const o=S_(n);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(n){const e=n.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const R_="void",LE=new IE(R_);class m8e{constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,ga(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw function fBe(t,n){return new Re(3302,!1)}();if(null==i||0==i.length)throw function hBe(t){return new Re(3303,!1)}();if(!function b8e(t){return"start"==t||"done"==t}(i))throw function pBe(t,n){return new Re(3400,!1)}();const o=Ls(this._elementListeners,n,[]),s={name:e,phase:i,callback:r};o.push(s);const a=Ls(this._engine.statesByElement,n,new Map);return a.has(e)||(ga(n,uD),ga(n,uD+"-"+e),a.set(e,LE)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(n,e){return!this._triggers.has(n)&&(this._triggers.set(n,e),!0)}_getTrigger(n){const e=this._triggers.get(n);if(!e)throw function mBe(t){return new Re(3401,!1)}();return e}trigger(n,e,i,r=!0){const o=this._getTrigger(e),s=new PE(this.id,e,n);let a=this._engine.statesByElement.get(n);a||(ga(n,uD),ga(n,uD+"-"+e),this._engine.statesByElement.set(n,a=new Map));let l=a.get(e);const d=new IE(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&d.absorbOptions(l.options),a.set(e,d),l||(l=LE),d.value!==R_&&l.value===d.value){if(!function M8e(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let r=0;r<e.length;r++){const o=e[r];if(!n.hasOwnProperty(o)||t[o]!==n[o])return!1}return!0}(l.params,d.params)){const y=[],T=o.matchStyles(l.value,l.params,y),k=o.matchStyles(d.value,d.params,y);y.length?this._engine.reportError(y):this._engine.afterFlush(()=>{Ou(n,T),gl(n,k)})}return}const g=Ls(this._engine.playersByElement,n,[]);g.forEach(y=>{y.namespaceId==this.id&&y.triggerName==e&&y.queued&&y.destroy()});let b=o.matchTransition(l.value,d.value,n,d.params),M=!1;if(!b){if(!r)return;b=o.fallbackTransition,M=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:b,fromState:l,toState:d,player:s,isFallbackTransition:M}),M||(ga(n,b7),s.onStart(()=>{sp(n,b7)})),s.onDone(()=>{let y=this.players.indexOf(s);y>=0&&this.players.splice(y,1);const T=this._engine.playersByElement.get(n);if(T){let k=T.indexOf(s);k>=0&&T.splice(k,1)}}),this.players.push(s),g.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const i=this._engine.driver.query(n,fD,!0);i.forEach(r=>{if(r[ma])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,e,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(n,e,i,r){const o=this._engine.statesByElement.get(n),s=new Map;if(o){const a=[];if(o.forEach((l,d)=>{if(s.set(d,l.value),this._triggers.has(d)){const f=this.trigger(n,d,R_,r);f&&a.push(f)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,s),i&&cd(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){const r=new Set;e.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,d=i.get(s)||LE,f=new IE(R_),m=new PE(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:d,toState:f,player:m,isFallbackTransition:!0})})}}removeNode(n,e){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,e);else{const o=n[ma];(!o||o===D7)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){ga(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=vE(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,gE(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(i)}),this._queue=[],e.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}elementContainsData(n){let e=!1;return this._elementListeners.has(n)&&(e=!0),e=!!this._queue.find(i=>i.element===n)||e,e}}class g8e{_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i,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 n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){const i=new m8e(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(e);for(;a;){const l=r.get(a);if(l){const d=i.indexOf(l);i.splice(d+1,0,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let r=this._namespaceLookup[n];r&&r.register(e,i)&&this.totalAnimations++}destroy(n,e){if(!n)return;const i=this._fetchNamespace(n);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[n];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,i=this.statesByElement.get(n);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(n,e,i,r){if(CD(e)){const o=this._fetchNamespace(n);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!CD(e))return;const o=e[ma];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),ga(n,OE)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),sp(n,OE))}removeNode(n,e,i,r){if(CD(e)){const o=n?this._fetchNamespace(n):null;if(o?o.removeNode(e,r):this.markElementAsRemoved(n,e,!1,r),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==n&&s.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(n,e,i,r,o){this.collectedLeaveElements.push(e),e[ma]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,r,o){return CD(e)?this._fetchNamespace(n).listen(e,i,r,o):()=>{}}_buildInstruction(n,e,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,fD,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,CE,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return cd(this.players).onDone(()=>n());n()})}processLeaveNode(n){const e=n[ma];if(e&&e.setForRemoval){if(n[ma]=D7,e.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(OE)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)ga(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{e=this._flushAnimations(i,n)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?cd(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function gBe(t){return new Re(3402,!1)}()}_flushAnimations(n,e){const i=new DD,r=[],o=new Map,s=[],a=new Map,l=new Map,d=new Map,f=new Set;this.disabledNodes.forEach(be=>{f.add(be);const Ce=this.driver.query(be,".ng-animate-queued",!0);for(let Ue=0;Ue<Ce.length;Ue++)f.add(Ce[Ue])});const m=this.bodyNode,g=Array.from(this.statesByElement.keys()),b=C7(g,this.collectedEnterElements),M=new Map;let y=0;b.forEach((be,Ce)=>{const Ue=ME+y++;M.set(Ce,Ue),be.forEach(Ae=>ga(Ae,Ue))});const T=[],k=new Set,O=new Set;for(let be=0;be<this.collectedLeaveElements.length;be++){const Ce=this.collectedLeaveElements[be],Ue=Ce[ma];Ue&&Ue.setForRemoval&&(T.push(Ce),k.add(Ce),Ue.hasAnimation?this.driver.query(Ce,".ng-star-inserted",!0).forEach(Ae=>k.add(Ae)):O.add(Ce))}const N=new Map,H=C7(g,Array.from(k));H.forEach((be,Ce)=>{const Ue=dD+y++;N.set(Ce,Ue),be.forEach(Ae=>ga(Ae,Ue))}),n.push(()=>{b.forEach((be,Ce)=>{const Ue=M.get(Ce);be.forEach(Ae=>sp(Ae,Ue))}),H.forEach((be,Ce)=>{const Ue=N.get(Ce);be.forEach(Ae=>sp(Ae,Ue))}),T.forEach(be=>{this.processLeaveNode(be)})});const U=[],Q=[];for(let be=this._namespaceList.length-1;be>=0;be--)this._namespaceList[be].drainQueuedTransitions(e).forEach(Ue=>{const Ae=Ue.player,it=Ue.element;if(U.push(Ae),this.collectedEnterElements.length){const qe=it[ma];if(qe&&qe.setForMove){if(qe.previousTriggersValues&&qe.previousTriggersValues.has(Ue.triggerName)){const ze=qe.previousTriggersValues.get(Ue.triggerName),We=this.statesByElement.get(Ue.element);if(We&&We.has(Ue.triggerName)){const He=We.get(Ue.triggerName);He.value=ze,We.set(Ue.triggerName,He)}}return void Ae.destroy()}}const Le=!m||!this.driver.containsElement(m,it),se=N.get(it),_e=M.get(it),le=this._buildInstruction(Ue,i,_e,se,Le);if(le.errors&&le.errors.length)return void Q.push(le);if(Le)return Ae.onStart(()=>Ou(it,le.fromStyles)),Ae.onDestroy(()=>gl(it,le.toStyles)),void r.push(Ae);if(Ue.isFallbackTransition)return Ae.onStart(()=>Ou(it,le.fromStyles)),Ae.onDestroy(()=>gl(it,le.toStyles)),void r.push(Ae);const de=[];le.timelines.forEach(qe=>{qe.stretchStartingKeyframe=!0,this.disabledNodes.has(qe.element)||de.push(qe)}),le.timelines=de,i.append(it,le.timelines),s.push({instruction:le,player:Ae,element:it}),le.queriedElements.forEach(qe=>Ls(a,qe,[]).push(Ae)),le.preStyleProps.forEach((qe,ze)=>{if(qe.size){let We=l.get(ze);We||l.set(ze,We=new Set),qe.forEach((He,$t)=>We.add($t))}}),le.postStyleProps.forEach((qe,ze)=>{let We=d.get(ze);We||d.set(ze,We=new Set),qe.forEach((He,$t)=>We.add($t))})});if(Q.length){const be=[];Q.forEach(Ce=>{be.push(function _Be(t,n){return new Re(3505,!1)}())}),U.forEach(Ce=>Ce.destroy()),this.reportError(be)}const W=new Map,J=new Map;s.forEach(be=>{const Ce=be.element;i.has(Ce)&&(J.set(Ce,Ce),this._beforeAnimationBuild(be.player.namespaceId,be.instruction,W))}),r.forEach(be=>{const Ce=be.element;this._getPreviousPlayers(Ce,!1,be.namespaceId,be.triggerName,null).forEach(Ae=>{Ls(W,Ce,[]).push(Ae),Ae.destroy()})});const ne=T.filter(be=>T7(be,l,d)),he=new Map;M7(he,this.driver,O,d,Xl).forEach(be=>{T7(be,l,d)&&ne.push(be)});const ue=new Map;b.forEach((be,Ce)=>{M7(ue,this.driver,new Set(be),l,H2)}),ne.forEach(be=>{const Ce=he.get(be),Ue=ue.get(be);he.set(be,new Map([...Array.from(Ce?.entries()??[]),...Array.from(Ue?.entries()??[])]))});const Ie=[],Qe=[],Ve={};s.forEach(be=>{const{element:Ce,player:Ue,instruction:Ae}=be;if(i.has(Ce)){if(f.has(Ce))return Ue.onDestroy(()=>gl(Ce,Ae.toStyles)),Ue.disabled=!0,Ue.overrideTotalTime(Ae.totalTime),void r.push(Ue);let it=Ve;if(J.size>1){let se=Ce;const _e=[];for(;se=se.parentNode;){const le=J.get(se);if(le){it=le;break}_e.push(se)}_e.forEach(le=>J.set(le,it))}const Le=this._buildAnimation(Ue.namespaceId,Ae,W,o,ue,he);if(Ue.setRealPlayer(Le),it===Ve)Ie.push(Ue);else{const se=this.playersByElement.get(it);se&&se.length&&(Ue.parentPlayer=cd(se)),r.push(Ue)}}else Ou(Ce,Ae.fromStyles),Ue.onDestroy(()=>gl(Ce,Ae.toStyles)),Qe.push(Ue),f.has(Ce)&&r.push(Ue)}),Qe.forEach(be=>{const Ce=o.get(be.element);if(Ce&&Ce.length){const Ue=cd(Ce);be.setRealPlayer(Ue)}}),r.forEach(be=>{be.parentPlayer?be.syncPlayerEvents(be.parentPlayer):be.destroy()});for(let be=0;be<T.length;be++){const Ce=T[be],Ue=Ce[ma];if(sp(Ce,dD),Ue&&Ue.hasAnimation)continue;let Ae=[];if(a.size){let Le=a.get(Ce);Le&&Le.length&&Ae.push(...Le);let se=this.driver.query(Ce,CE,!0);for(let _e=0;_e<se.length;_e++){let le=a.get(se[_e]);le&&le.length&&Ae.push(...le)}}const it=Ae.filter(Le=>!Le.destroyed);it.length?D8e(this,Ce,it):this.processLeaveNode(Ce)}return T.length=0,Ie.forEach(be=>{this.players.push(be),be.onDone(()=>{be.destroy();const Ce=this.players.indexOf(be);this.players.splice(Ce,1)}),be.play()}),Ie}elementContainsData(n,e){let i=!1;const r=e[ma];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(n).elementContainsData(e)||i}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,r,o){let s=[];if(e){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!o||o==R_;a.forEach(d=>{d.queued||!l&&d.triggerName!=r||s.push(d)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(n,e,i){const o=e.element,s=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const d=l.element,f=d!==o,m=Ls(i,d,[]);this._getPreviousPlayers(d,f,s,a,e.toState).forEach(b=>{const M=b.getRealPlayer();M.beforeDestroy&&M.beforeDestroy(),b.destroy(),m.push(b)})}Ou(o,e.fromStyles)}_buildAnimation(n,e,i,r,o,s){const a=e.triggerName,l=e.element,d=[],f=new Set,m=new Set,g=e.timelines.map(M=>{const y=M.element;f.add(y);const T=y[ma];if(T&&T.removedBeforeQueried)return new zg(M.duration,M.delay);const k=y!==l,O=function y8e(t){const n=[];return x7(t,n),n}((i.get(y)||h8e).map(W=>W.getRealPlayer())).filter(W=>!!W.element&&W.element===y),N=o.get(y),H=s.get(y),U=QH(0,this._normalizer,0,M.keyframes,N,H),Q=this._buildPlayer(M,U,O);if(M.subTimeline&&r&&m.add(y),k){const W=new PE(n,a,y);W.setRealPlayer(Q),d.push(W)}return Q});d.forEach(M=>{Ls(this.playersByQueriedElement,M.element,[]).push(M),M.onDone(()=>function _8e(t,n,e){let i=t.get(n);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&t.delete(n)}return i}(this.playersByQueriedElement,M.element,M))}),f.forEach(M=>ga(M,o7));const b=cd(g);return b.onDestroy(()=>{f.forEach(M=>sp(M,o7)),gl(l,e.toStyles)}),m.forEach(M=>{Ls(r,M,[]).push(b)}),b}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new zg(n.duration,n.delay)}}class PE{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new zg,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(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>gE(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){Ls(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}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(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function CD(t){return t&&1===t.nodeType}function y7(t,n){const e=t.style.display;return t.style.display=n??"none",e}function M7(t,n,e,i,r){const o=[];e.forEach(l=>o.push(y7(l)));const s=[];i.forEach((l,d)=>{const f=new Map;l.forEach(m=>{const g=n.computeStyle(d,m,r);f.set(m,g),(!g||0==g.length)&&(d[ma]=p8e,s.push(d))}),t.set(d,f)});let a=0;return e.forEach(l=>y7(l,o[a++])),s}function C7(t,n){const e=new Map;if(t.forEach(a=>e.set(a,[])),0==n.length)return e;const i=1,r=new Set(n),o=new Map;function s(a){if(!a)return i;let l=o.get(a);if(l)return l;const d=a.parentNode;return l=e.has(d)?d:r.has(d)?i:s(d),o.set(a,l),l}return n.forEach(a=>{const l=s(a);l!==i&&e.get(l).push(a)}),e}function ga(t,n){t.classList?.add(n)}function sp(t,n){t.classList?.remove(n)}function D8e(t,n,e){cd(e).onDone(()=>t.processLeaveNode(n))}function x7(t,n){for(let e=0;e<t.length;e++){const i=t[e];i instanceof b5?x7(i.players,n):n.push(i)}}function T7(t,n,e){const i=e.get(t);if(!i)return!1;let r=n.get(t);return r?i.forEach(o=>r.add(o)):n.set(t,i),e.delete(t),!0}class xD{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new g8e(n,e,i),this._timelineEngine=new l8e(n,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,e,i,r,o){const s=n+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],d=[],f=EE(this._driver,o,l,d);if(l.length)throw function sBe(t,n){return new Re(3404,!1)}();a=function r8e(t,n,e){return new o8e(t,n,e)}(r,f,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,r){this._transitionEngine.insertNode(n,e,i,r)}onRemove(n,e,i,r){this._transitionEngine.removeNode(n,e,r||!1,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,r){if("@"==i.charAt(0)){const[o,s]=JH(i);this._timelineEngine.command(o,e,s,r)}else this._transitionEngine.trigger(n,e,i,r)}listen(n,e,i,r,o){if("@"==i.charAt(0)){const[s,a]=JH(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(n,e,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let x8e=(()=>{class t{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&gl(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(gl(this._element,this._initialStyles),this._endStyles&&(gl(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Ou(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ou(this._element,this._endStyles),this._endStyles=null),gl(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function BE(t){let n=null;return t.forEach((e,i)=>{(function T8e(t){return"display"===t||"position"===t})(i)&&(n=n||new Map,n.set(i,e))}),n}class w7{constructor(n,e,i,r){this.element=n,this.keyframes=e,this.options=i,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=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),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(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&n.set(r,this._finished?i:u7(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const e="start"===n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class w8e{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,e){return!1}containsElement(n,e){return t7(n,e)}getParentElement(n){return DE(n)}query(n,e,i){return n7(n,e,i)}computeStyle(n,e,i){return window.getComputedStyle(n)[e]}animate(n,e,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const d=new Map,f=s.filter(b=>b instanceof w7);(function ABe(t,n){return 0===t||0===n})(i,r)&&f.forEach(b=>{b.currentSnapshot.forEach((M,y)=>d.set(y,M))});let m=function wBe(t){return t.length?t[0]instanceof Map?t:t.map(n=>s7(n)):[]}(e).map(b=>dd(b));m=function RBe(t,n,e){if(e.size&&n.length){let i=n[0],r=[];if(e.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;o<n.length;o++){let s=n[o];r.forEach(a=>s.set(a,u7(t,a)))}}return n}(n,m,d);const g=function C8e(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=BE(n[0]),n.length>1&&(i=BE(n[n.length-1]))):n instanceof Map&&(e=BE(n)),e||i?new x8e(t,e,i):null}(n,m);return new w7(n,m,l,g)}}let E8e=(()=>{class t extends h5{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:ko.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?m5(e):e;return E7(this._renderer,null,i,"register",[r]),new S8e(i,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(me(Vf),me(It))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})();class S8e extends Ehe{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new k8e(this._id,n,e||{},this._renderer)}}class k8e{constructor(n,e,i,r){this.id=n,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return E7(this._renderer,this.element,this.id,n,e)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}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(n){this._command("setPosition",n)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function E7(t,n,e,i,r){return t.setProperty(n,`@@${e}:${i}`,r)}const S7="@.disabled";let A8e=(()=>{class t{constructor(e,i,r){this.delegate=e,this.engine=i,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(o,s)=>{const a=s?.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(e,i){const o=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let f=this._rendererCache.get(o);return f||(f=new k7("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,f)),f}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=f=>{Array.isArray(f)?f.forEach(l):this.engine.registerTrigger(s,a,e,f.name,f)};return i.data.animation.forEach(l),new R8e(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,r){e>=0&&e<this._microtaskId?this._zone.run(()=>i(r)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,r]))}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()}}return t.\u0275fac=function(e){return new(e||t)(me(Vf),me(xD),me(St))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})();class k7{constructor(n,e,i,r){this.namespaceId=n,this.delegate=e,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,r=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,r)}removeChild(n,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,r){this.delegate.setAttribute(n,e,i,r)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,r){this.delegate.setStyle(n,e,i,r)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){"@"==e.charAt(0)&&e==S7?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class R8e extends k7{constructor(n,e,i,r,o){super(e,i,r,o),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==S7?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if("@"==e.charAt(0)){const r=function F8e(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let o=e.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function N8e(t){const n=t.indexOf(".");return[t.substring(0,n),t.slice(n+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,e,i)}}let O8e=(()=>{class t extends xD{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(me(It),me(yE),me(FE),me(Wd))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})();const A7=[{provide:h5,useClass:E8e},{provide:FE,useFactory:function I8e(){return new e8e}},{provide:xD,useClass:O8e},{provide:Vf,useFactory:function L8e(t,n,e){return new A8e(t,n,e)},deps:[I1,xD,St]}],VE=[{provide:yE,useFactory:()=>new w8e},{provide:Ks,useValue:"BrowserAnimations"},...A7],R7=[{provide:yE,useClass:i7},{provide:Ks,useValue:"NoopAnimations"},...A7];let P8e=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?R7:VE}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({providers:VE,imports:[LO]}),t})();const{isArray:B8e}=Array;function F7(t){return 1===t.length&&B8e(t[0])?t[0]:t}const O7=new kn(pt);function wD(...t){const n=sf(t),e=F7(t);return e.length?new kn(i=>{let r=e.map(()=>[]),o=e.map(()=>!1);i.add(()=>{r=o=null});for(let s=0;!i.closed&&s<e.length;s++)si(e[s]).subscribe(Pn(i,a=>{if(r[s].push(a),r.every(l=>l.length)){const l=r.map(d=>d.shift());i.next(n?n(...l):l),r.some((d,f)=>!d.length&&o[f])&&i.complete()}},()=>{o[s]=!0,!r[s].length&&i.complete()}));return()=>{r=o=null}}):Ci}function HE(...t){const n=sf(t);return ri((e,i)=>{const r=t.length,o=new Array(r);let s=t.map(()=>!1),a=!1;for(let l=0;l<r;l++)si(t[l]).subscribe(Pn(i,d=>{o[l]=d,!a&&!s[l]&&(s[l]=!0,(a=s.every(fs))&&(s=null))},pt));e.subscribe(Pn(i,l=>{if(a){const d=[l,...o];i.next(n?n(...d):d)}}))})}function zVe(t,n){}function $Ve(t,n){if(1&t&&(c(0,"button",3),p(1),C(2,zVe,0,0,"ng-template",4),u()),2&t){const e=n.$implicit;_("ngbPanelToggle",e),h(1),Be(" ",e.title," "),h(1),_("ngTemplateOutlet",null==e.titleTpl?null:e.titleTpl.templateRef)}}function qVe(t,n){}function XVe(t,n){}function QVe(t,n){if(1&t){const e=ae();c(0,"div",8),R("ngbRef",function(r){return z(e),q(D().$implicit.panelDiv=r)}),c(1,"div",9),C(2,XVe,0,0,"ng-template",4),u()()}if(2&t){const e=D().$implicit;Hi("id",e.id),Ot("aria-labelledby",e.id+"-header"),h(2),_("ngTemplateOutlet",(null==e.contentTpl?null:e.contentTpl.templateRef)||null)}}Math,Math,Math;const JVe=function(t,n){return{$implicit:t,opened:n}};function ZVe(t,n){if(1&t&&(c(0,"div")(1,"div",5),C(2,qVe,0,0,"ng-template",6),u(),C(3,QVe,3,3,"div",7),u()),2&t){const e=n.$implicit,i=D(),r=Oo(1);xc("accordion-item "+(e.cardClass||"")),h(1),xc("accordion-header "+(e.type?"bg-"+e.type:i.type?"bg-"+i.type:"")),On("id","",e.id,"-header"),h(1),_("ngTemplateOutlet",(null==e.headerTpl?null:e.headerTpl.templateRef)||r)("ngTemplateOutletContext",km(8,JVe,e,e.isOpen)),h(1),_("ngIf",!i.destroyOnHide||e.isOpen||e.transitionRunning)}}function KVe(t,n){if(1&t){const e=ae();c(0,"button",1),R("click",function(){return z(e),q(D().close())}),u()}}const RD=["*"];function e6e(t,n){if(1&t){const e=ae();c(0,"button",6),R("click",function(){const o=z(e).$implicit,s=D();return s.focus(),q(s.select(o.id,s.NgbSlideEventSource.INDICATOR))}),u()}if(2&t){const e=n.$implicit,i=D();Nt("active",e.id===i.activeId),Ot("aria-labelledby","slide-"+e.id)("aria-controls","slide-"+e.id)("aria-selected",e.id===i.activeId)}}function t6e(t,n){}function n6e(t,n){if(1&t&&(c(0,"div",7)(1,"span",8),Qr(2,9),u(),C(3,t6e,0,0,"ng-template",10),u()),2&t){const e=n.$implicit,i=n.index,r=n.count;_("id","slide-"+e.id),h(2),th(i+1)(r),Sm(2),h(1),_("ngTemplateOutlet",e.tplRef)}}function i6e(t,n){if(1&t){const e=ae();c(0,"button",11),R("click",function(){return z(e),q(D().arrowLeft())}),X(1,"span",12),c(2,"span",8),Qr(3,13),u()()}}function r6e(t,n){if(1&t){const e=ae();c(0,"button",14),R("click",function(){return z(e),q(D().arrowRight())}),X(1,"span",15),c(2,"span",8),Qr(3,16),u()()}}const o6e=["ngbDatepickerDayView",""],s6e=["month"],a6e=["year"];function l6e(t,n){if(1&t&&(c(0,"option",5),p(1),u()),2&t){const e=n.$implicit,i=D();_("value",e),Ot("aria-label",i.i18n.getMonthFullName(e,i.date.year)),h(1),I(i.i18n.getMonthShortName(e,i.date.year))}}function c6e(t,n){if(1&t&&(c(0,"option",5),p(1),u()),2&t){const e=n.$implicit,i=D();_("value",e),h(1),I(i.i18n.getYearNumerals(e))}}function d6e(t,n){if(1&t){const e=ae();c(0,"ngb-datepicker-navigation-select",7),R("select",function(r){return z(e),q(D().select.emit(r))}),u()}if(2&t){const e=D();_("date",e.date)("disabled",e.disabled)("months",e.selectBoxes.months)("years",e.selectBoxes.years)}}function u6e(t,n){1&t&&X(0,"div",0)}function f6e(t,n){1&t&&X(0,"div",0)}function h6e(t,n){if(1&t&&(C(0,u6e,1,0,"div",9),c(1,"div",10),p(2),u(),C(3,f6e,1,0,"div",9)),2&t){const e=n.$implicit,i=n.index,r=D(2);_("ngIf",i>0),h(2),Be(" ",r.i18n.getMonthLabel(e.firstDate)," "),h(1),_("ngIf",i!==r.months.length-1)}}function p6e(t,n){1&t&&C(0,h6e,4,3,"ng-template",8),2&t&&_("ngForOf",D().months)}function m6e(t,n){if(1&t&&(c(0,"div",5),p(1),u()),2&t){const e=D(2);h(1),I(e.i18n.getWeekLabel())}}function g6e(t,n){if(1&t&&(c(0,"div",6),p(1),u()),2&t){const e=n.$implicit;h(1),I(e)}}function _6e(t,n){if(1&t&&(c(0,"div",2),C(1,m6e,2,1,"div",3),C(2,g6e,2,1,"div",4),u()),2&t){const e=D();h(1),_("ngIf",e.datepicker.showWeekNumbers),h(1),_("ngForOf",e.viewModel.weekdays)}}function v6e(t,n){if(1&t&&(c(0,"div",11),p(1),u()),2&t){const e=D(2).$implicit,i=D();h(1),I(i.i18n.getWeekNumerals(e.number))}}function b6e(t,n){}function D6e(t,n){if(1&t&&C(0,b6e,0,0,"ng-template",14),2&t){const e=D().$implicit;_("ngTemplateOutlet",D(3).datepicker.dayTemplate)("ngTemplateOutletContext",e.context)}}function y6e(t,n){if(1&t){const e=ae();c(0,"div",12),R("click",function(r){const s=z(e).$implicit;return D(3).doSelect(s),q(r.preventDefault())}),C(1,D6e,1,2,"ng-template",13),u()}if(2&t){const e=n.$implicit;Nt("disabled",e.context.disabled)("hidden",e.hidden)("ngb-dp-today",e.context.today),_("tabindex",e.tabindex),Ot("aria-label",e.ariaLabel),h(1),_("ngIf",!e.hidden)}}function M6e(t,n){if(1&t&&(c(0,"div",8),C(1,v6e,2,1,"div",9),C(2,y6e,2,9,"div",10),u()),2&t){const e=D().$implicit,i=D();h(1),_("ngIf",i.datepicker.showWeekNumbers),h(1),_("ngForOf",e.days)}}function C6e(t,n){1&t&&C(0,M6e,3,2,"div",7),2&t&&_("ngIf",!n.$implicit.collapsed)}const x6e=["defaultDayTemplate"],T6e=["content"];function w6e(t,n){if(1&t&&X(0,"div",7),2&t){const i=n.currentMonth,r=n.selected,o=n.disabled,s=n.focused;_("date",n.date)("currentMonth",i)("selected",r)("disabled",o)("focused",s)}}function E6e(t,n){if(1&t&&(c(0,"div",12),p(1),u()),2&t){const e=D().$implicit,i=D(2);h(1),Be(" ",i.i18n.getMonthLabel(e.firstDate)," ")}}function S6e(t,n){if(1&t&&(c(0,"div",9),C(1,E6e,2,1,"div",10),X(2,"ngb-datepicker-month",11),u()),2&t){const e=n.$implicit,i=D(2);h(1),_("ngIf","none"===i.navigation||i.displayMonths>1&&"select"===i.navigation),h(1),_("month",e.firstDate)}}function k6e(t,n){1&t&&C(0,S6e,3,2,"div",8),2&t&&_("ngForOf",D().model.months)}function A6e(t,n){if(1&t){const e=ae();c(0,"ngb-datepicker-navigation",13),R("navigate",function(r){return z(e),q(D().onNavigateEvent(r))})("select",function(r){return z(e),q(D().onNavigateDateSelect(r))}),u()}if(2&t){const e=D();_("date",e.model.firstDate)("months",e.model.months)("disabled",e.model.disabled)("showSelect","select"===e.model.navigation)("prevDisabled",e.model.prevDisabled)("nextDisabled",e.model.nextDisabled)("selectBoxes",e.model.selectBoxes)}}function R6e(t,n){}function F6e(t,n){}const N6e=["dialog"],O6e=["ngbNavOutlet",""];function I6e(t,n){}const L6e=function(t){return{$implicit:t}};function P6e(t,n){if(1&t&&(c(0,"div",2),C(1,I6e,0,0,"ng-template",3),u()),2&t){const e=D().$implicit,i=D();_("item",e)("nav",i.nav)("role",i.paneRole),h(1),_("ngTemplateOutlet",(null==e.contentTpl?null:e.contentTpl.templateRef)||null)("ngTemplateOutletContext",ke(5,L6e,e.active||i.isPanelTransitioning(e)))}}function B6e(t,n){if(1&t&&C(0,P6e,2,7,"div",1),2&t){const e=n.$implicit,i=D();_("ngIf",e.isPanelInDom()||i.isPanelTransitioning(e))}}function V6e(t,n){1&t&&(c(0,"span",9),Qr(1,10),u())}function H6e(t,n){1&t&&(c(0,"span",9),Qr(1,11),u())}function G6e(t,n){1&t&&(c(0,"span",9),Qr(1,12),u())}function j6e(t,n){1&t&&(c(0,"span",9),Qr(1,13),u())}function Y6e(t,n){1&t&&p(0,"...")}function U6e(t,n){1&t&&(c(0,"span",15),p(1,"(current)"),u())}function W6e(t,n){if(1&t&&(p(0),C(1,U6e,2,0,"span",14)),2&t){const e=n.$implicit,i=n.currentPage;Be(" ",e," "),h(1),_("ngIf",e===i)}}function z6e(t,n){}const $6e=function(t){return{disabled:!0,currentPage:t}};function q6e(t,n){if(1&t&&(c(0,"a",20),C(1,z6e,0,0,"ng-template",8),u()),2&t){const e=D(2).$implicit,i=D(),r=Oo(9);h(1),_("ngTemplateOutlet",(null==i.tplEllipsis?null:i.tplEllipsis.templateRef)||r)("ngTemplateOutletContext",ke(2,$6e,e))}}function X6e(t,n){}const Q6e=function(t,n,e){return{disabled:t,$implicit:n,currentPage:e}};function J6e(t,n){if(1&t){const e=ae();c(0,"a",21),R("click",function(r){z(e);const o=D().$implicit;return D(2).selectPage(o),q(r.preventDefault())}),C(1,X6e,0,0,"ng-template",8),u()}if(2&t){const e=D().$implicit,i=D(),r=i.disabled,o=i.$implicit,s=D(),a=Oo(11);Ot("tabindex",r?"-1":null)("aria-disabled",r?"true":null),h(1),_("ngTemplateOutlet",(null==s.tplNumber?null:s.tplNumber.templateRef)||a)("ngTemplateOutletContext",kC(4,Q6e,r,e,o))}}function Z6e(t,n){if(1&t&&(c(0,"li",17),C(1,q6e,2,4,"a",18),C(2,J6e,2,8,"a",19),u()),2&t){const e=n.$implicit,i=D(),r=i.$implicit,o=i.disabled,s=D();Nt("active",e===r)("disabled",s.isEllipsis(e)||o),Ot("aria-current",e===r?"page":null),h(1),_("ngIf",s.isEllipsis(e)),h(1),_("ngIf",!s.isEllipsis(e))}}function K6e(t,n){1&t&&C(0,Z6e,3,7,"li",16),2&t&&_("ngForOf",n.pages)}function eHe(t,n){}const JE=function(t,n){return{disabled:t,currentPage:n}};function tHe(t,n){if(1&t){const e=ae();c(0,"li",17)(1,"a",22),R("click",function(r){return z(e),D().selectPage(1),q(r.preventDefault())}),C(2,eHe,0,0,"ng-template",8),u()()}if(2&t){const e=D(),i=Oo(1);Nt("disabled",e.previousDisabled()),h(1),Ot("tabindex",e.previousDisabled()?"-1":null)("aria-disabled",e.previousDisabled()?"true":null),h(1),_("ngTemplateOutlet",(null==e.tplFirst?null:e.tplFirst.templateRef)||i)("ngTemplateOutletContext",km(6,JE,e.previousDisabled(),e.page))}}function nHe(t,n){}const iHe=function(t){return{disabled:t}};function rHe(t,n){if(1&t){const e=ae();c(0,"li",17)(1,"a",23),R("click",function(r){z(e);const o=D();return o.selectPage(o.page-1),q(r.preventDefault())}),C(2,nHe,0,0,"ng-template",8),u()()}if(2&t){const e=D(),i=Oo(3);Nt("disabled",e.previousDisabled()),h(1),Ot("tabindex",e.previousDisabled()?"-1":null)("aria-disabled",e.previousDisabled()?"true":null),h(1),_("ngTemplateOutlet",(null==e.tplPrevious?null:e.tplPrevious.templateRef)||i)("ngTemplateOutletContext",ke(6,iHe,e.previousDisabled()))}}function oHe(t,n){}function sHe(t,n){}function aHe(t,n){if(1&t){const e=ae();c(0,"li",17)(1,"a",24),R("click",function(r){z(e);const o=D();return o.selectPage(o.page+1),q(r.preventDefault())}),C(2,sHe,0,0,"ng-template",8),u()()}if(2&t){const e=D(),i=Oo(5);Nt("disabled",e.nextDisabled()),h(1),Ot("tabindex",e.nextDisabled()?"-1":null)("aria-disabled",e.nextDisabled()?"true":null),h(1),_("ngTemplateOutlet",(null==e.tplNext?null:e.tplNext.templateRef)||i)("ngTemplateOutletContext",km(6,JE,e.nextDisabled(),e.page))}}function lHe(t,n){}function cHe(t,n){if(1&t){const e=ae();c(0,"li",17)(1,"a",25),R("click",function(r){z(e);const o=D();return o.selectPage(o.pageCount),q(r.preventDefault())}),C(2,lHe,0,0,"ng-template",8),u()()}if(2&t){const e=D(),i=Oo(7);Nt("disabled",e.nextDisabled()),h(1),Ot("tabindex",e.nextDisabled()?"-1":null)("aria-disabled",e.nextDisabled()?"true":null),h(1),_("ngTemplateOutlet",(null==e.tplLast?null:e.tplLast.templateRef)||i)("ngTemplateOutletContext",km(6,JE,e.nextDisabled(),e.page))}}const dHe=function(t,n,e){return{$implicit:t,pages:n,disabled:e}};function hHe(t,n){if(1&t&&(c(0,"span"),Qr(1,1),function PF(t,n){const e=yn();let i;const r=t+ei;e.firstCreatePass?(i=function f$(t,n){if(n)for(let e=n.length-1;e>=0;e--){const i=n[e];if(t===i.name)return i}}(n,e.pipeRegistry),e.data[r]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(r,i.onDestroy)):i=e.data[r];const o=i.factory||(i.factory=Sl(i.type)),s=Eo(V);try{const a=Ee(!1),l=o();return Ee(a),function lW(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}(e,Ge(),r,l),l}finally{Eo(s)}}(2,"percent"),u()),2&t){const e=D();h(2),th(BF(2,1,e.getValue()/e.max)),Sm(1)}}function pHe(t,n){1&t&&p(0),2&t&&I(100===n.fill?"\u2605":"\u2606")}function mHe(t,n){}function gHe(t,n){if(1&t){const e=ae();c(0,"span",2),p(1),u(),c(2,"span",3),R("mouseenter",function(){const o=z(e).index;return q(D().enter(o+1))})("click",function(){const o=z(e).index;return q(D().handleClick(o+1))}),C(3,mHe,0,0,"ng-template",4),u()}if(2&t){const e=n.index,i=D(),r=Oo(1);h(1),Be("(",e<i.nextRate?"*":" ",")"),h(1),ws("cursor",i.isInteractive()?"pointer":"default"),h(1),_("ngTemplateOutlet",i.starTemplate||i.starTemplateFromContent||r)("ngTemplateOutletContext",i.contexts[e])}}function _He(t,n){if(1&t){const e=ae();c(0,"button",11),R("click",function(){z(e);const r=D();return q(r.changeHour(r.hourStep))}),X(1,"span",12),c(2,"span",13),Qr(3,14),u()()}if(2&t){const e=D();Nt("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),_("disabled",e.disabled)}}function vHe(t,n){if(1&t){const e=ae();c(0,"button",11),R("click",function(){z(e);const r=D();return q(r.changeHour(-r.hourStep))}),X(1,"span",15),c(2,"span",13),Qr(3,16),u()()}if(2&t){const e=D();Nt("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),_("disabled",e.disabled)}}function bHe(t,n){if(1&t){const e=ae();c(0,"button",11),R("click",function(){z(e);const r=D();return q(r.changeMinute(r.minuteStep))}),X(1,"span",12),c(2,"span",13),Qr(3,17),u()()}if(2&t){const e=D();Nt("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),_("disabled",e.disabled)}}function DHe(t,n){if(1&t){const e=ae();c(0,"button",11),R("click",function(){z(e);const r=D();return q(r.changeMinute(-r.minuteStep))}),X(1,"span",15),c(2,"span",13),Qr(3,18),u()()}if(2&t){const e=D();Nt("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),_("disabled",e.disabled)}}function yHe(t,n){1&t&&(c(0,"div",5),p(1,":"),u())}function MHe(t,n){if(1&t){const e=ae();c(0,"button",11),R("click",function(){z(e);const r=D(2);return q(r.changeSecond(r.secondStep))}),X(1,"span",12),c(2,"span",13),Qr(3,21),u()()}if(2&t){const e=D(2);Nt("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),_("disabled",e.disabled)}}function CHe(t,n){if(1&t){const e=ae();c(0,"button",11),R("click",function(){z(e);const r=D(2);return q(r.changeSecond(-r.secondStep))}),X(1,"span",15),c(2,"span",13),Qr(3,22),u()()}if(2&t){const e=D(2);Nt("btn-sm",e.isSmallSize)("btn-lg",e.isLargeSize)("disabled",e.disabled),_("disabled",e.disabled)}}function xHe(t,n){if(1&t){const e=ae();c(0,"div",19),C(1,MHe,4,7,"button",3),c(2,"input",20),R("change",function(r){return z(e),q(D().updateSecond(r.target.value))})("blur",function(){return z(e),q(D().handleBlur())})("input",function(r){return z(e),q(D().formatInput(r.target))})("keydown.ArrowUp",function(r){z(e);const o=D();return o.changeSecond(o.secondStep),q(r.preventDefault())})("keydown.ArrowDown",function(r){z(e);const o=D();return o.changeSecond(-o.secondStep),q(r.preventDefault())}),u(),C(3,CHe,4,7,"button",3),u()}if(2&t){const e=D();h(1),_("ngIf",e.spinners),h(1),Nt("form-control-sm",e.isSmallSize)("form-control-lg",e.isLargeSize),_("value",e.formatMinSec(null==e.model?null:e.model.second))("readOnly",e.readonlyInputs)("disabled",e.disabled),h(1),_("ngIf",e.spinners)}}function THe(t,n){1&t&&X(0,"div",5)}function wHe(t,n){if(1&t&&(t1(0),Qr(1,27),n1()),2&t){const e=D(2);h(1),th(e.i18n.getAfternoonPeriod()),Sm(1)}}function EHe(t,n){1&t&&Qr(0,28),2&t&&(th(D(2).i18n.getMorningPeriod()),Sm(0))}function SHe(t,n){if(1&t){const e=ae();c(0,"div",23)(1,"button",24),R("click",function(){return z(e),q(D().toggleMeridian())}),C(2,wHe,2,1,"ng-container",25),C(3,EHe,1,1,"ng-template",null,26,co),u()()}if(2&t){const e=Oo(4),i=D();h(1),Nt("btn-sm",i.isSmallSize)("btn-lg",i.isLargeSize)("disabled",i.disabled),_("disabled",i.disabled),h(1),_("ngIf",i.model&&i.model.hour>=12)("ngIfElse",e)}}function kHe(t,n){if(1&t&&(c(0,"strong",3),p(1),u()),2&t){const e=D();h(1),I(e.header)}}function AHe(t,n){}function RHe(t,n){if(1&t){const e=ae();c(0,"div",4),C(1,AHe,0,0,"ng-template",5),c(2,"button",6),R("click",function(){return z(e),q(D().hide())}),u()()}if(2&t){const e=D(),i=Oo(1);h(1),_("ngTemplateOutlet",e.contentHeaderTpl||i)}}function FHe(t,n){if(1&t&&(c(0,"span"),p(1),u()),2&t){const e=D().$implicit;xc(D().highlightClass),h(1),I(e)}}function NHe(t,n){1&t&&p(0),2&t&&I(D().$implicit)}function OHe(t,n){if(1&t&&(C(0,FHe,2,3,"span",1),C(1,NHe,1,1,"ng-template",null,2,co)),2&t){const e=n.odd,i=Oo(2);_("ngIf",e)("ngIfElse",i)}}function to(t){return parseInt(`${t}`,10)}function Z7(t){return null!=t?`${t}`:""}function FD(t,n,e=0){return Math.max(Math.min(t,n),e)}function B_(t){return"string"==typeof t}function Zi(t){return!isNaN(to(t))}function Li(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}function Bu(t){return null!=t}function up(t){return Zi(t)?`0${t}`.slice(-2):""}function eG(t,n){return t&&t.className&&t.className.split&&t.className.split(/\s+/).indexOf(n)>=0}function fp(t){return(t||document.body).getBoundingClientRect()}function tG(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}const nG={animation:!0,transitionTimerDelayMs:5},GHe=()=>{},{transitionTimerDelayMs:jHe}=nG,V_=new Map,jr=(t,n,e,i)=>{let r=i.context||{};const o=V_.get(n);if(o)switch(i.runningTransition){case"continue":return Ci;case"stop":t.run(()=>o.transition$.complete()),r=Object.assign(o.context,r),V_.delete(n)}const s=e(n,i.animation,r)||GHe;if(!i.animation||"none"===window.getComputedStyle(n).transitionProperty)return t.run(()=>s()),yt(void 0).pipe(function VHe(t){return n=>new kn(e=>n.subscribe({next:s=>t.run(()=>e.next(s)),error:s=>t.run(()=>e.error(s)),complete:()=>t.run(()=>e.complete())}))}(t));const a=new vt,l=new vt,d=a.pipe(function H8e(...t){return n=>lh(n,yt(...t))}(!0));V_.set(n,{transition$:a,complete:()=>{l.next(),l.complete()},context:r});const f=function HHe(t){const{transitionDelay:n,transitionDuration:e}=window.getComputedStyle(t);return 1e3*(parseFloat(n)+parseFloat(e))}(n);return t.runOutsideAngular(()=>{const m=wr(n,"transitionend").pipe(Kn(d),zn(({target:b})=>b===n));(function N7(...t){return 1===(t=F7(t)).length?si(t[0]):new kn(function V8e(t){return n=>{let e=[];for(let i=0;e&&!n.closed&&i<t.length;i++)e.push(si(t[i]).subscribe(Pn(n,r=>{if(e){for(let o=0;o<e.length;o++)o!==i&&e[o].unsubscribe();e=null}n.next(r)})))}}(t))})(lb(f+jHe).pipe(Kn(d)),m,l).pipe(Kn(d)).subscribe(()=>{V_.delete(n),t.run(()=>{s(),a.next(),a.complete()})})}),a.asObservable()},iG=(t,n,e)=>{let{direction:i,maxSize:r,dimension:o}=e;const{classList:s}=t;function a(){s.add("collapse"),"show"===i?s.add("show"):s.remove("show")}if(n)return r||(r=function UHe(t,n){if(typeof navigator>"u")return"0px";const{classList:e}=t,i=e.contains("show");i||e.add("show"),t.style[n]="";const r=t.getBoundingClientRect()[n]+"px";return i||e.remove("show"),r}(t,o),e.maxSize=r,t.style[o]="show"!==i?r:"0px",s.remove("collapse"),s.remove("collapsing"),s.remove("show"),fp(t),s.add("collapsing")),t.style[o]="show"===i?r:"0px",()=>{a(),s.remove("collapsing"),t.style[o]=""};a()};let hp=(()=>{class t{constructor(){this.animation=nG.animation}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),WHe=(()=>{class t{constructor(e){this._ngbConfig=e,this.closeOthers=!1}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return t.\u0275fac=function(e){return new(e||t)(me(hp))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),zHe=0,ZE=(()=>{class t{constructor(e){this.templateRef=e}}return t.\u0275fac=function(e){return new(e||t)(V(Zn))},t.\u0275dir=je({type:t,selectors:[["ng-template","ngbPanelHeader",""]],standalone:!0}),t})(),rG=(()=>{class t{constructor(e){this.templateRef=e}}return t.\u0275fac=function(e){return new(e||t)(V(Zn))},t.\u0275dir=je({type:t,selectors:[["ng-template","ngbPanelTitle",""]],standalone:!0}),t})(),oG=(()=>{class t{constructor(e){this.templateRef=e}}return t.\u0275fac=function(e){return new(e||t)(V(Zn))},t.\u0275dir=je({type:t,selectors:[["ng-template","ngbPanelContent",""]],standalone:!0}),t})(),KE=(()=>{class t{constructor(){this.disabled=!1,this.id="ngb-panel-"+zHe++,this.isOpen=!1,this.initClassDone=!1,this.transitionRunning=!1,this.shown=new ht,this.hidden=new ht}ngAfterContentChecked(){this.titleTpl=this.titleTpls.first,this.headerTpl=this.headerTpls.first,this.contentTpl=this.contentTpls.first}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=je({type:t,selectors:[["ngb-panel"]],contentQueries:function(e,i,r){if(1&e&&(pi(r,rG,4),pi(r,ZE,4),pi(r,oG,4)),2&e){let o;lt(o=ct())&&(i.titleTpls=o),lt(o=ct())&&(i.headerTpls=o),lt(o=ct())&&(i.contentTpls=o)}},inputs:{disabled:"disabled",id:"id",title:"title",type:"type",cardClass:"cardClass"},outputs:{shown:"shown",hidden:"hidden"},standalone:!0}),t})(),$He=(()=>{class t{constructor(e){this._El=e,this.ngbRef=new ht}ngOnInit(){this.ngbRef.emit(this._El.nativeElement)}ngOnDestroy(){this.ngbRef.emit(null)}}return t.\u0275fac=function(e){return new(e||t)(V(Gt))},t.\u0275dir=je({type:t,selectors:[["","ngbRef",""]],outputs:{ngbRef:"ngbRef"},standalone:!0}),t})(),sG=(()=>{class t{constructor(e,i){this.accordion=e,this.panel=i}set ngbPanelToggle(e){e&&(this.panel=e)}}return t.\u0275fac=function(e){return new(e||t)(V(dn(()=>eS)),V(KE,9))},t.\u0275dir=je({type:t,selectors:[["button","ngbPanelToggle",""]],hostAttrs:["type","button"],hostVars:5,hostBindings:function(e,i){1&e&&R("click",function(){return i.accordion.toggle(i.panel.id)}),2&e&&(Il("disabled",i.panel.disabled),Ot("aria-expanded",i.panel.isOpen)("aria-controls",i.panel.id),Nt("collapsed",!i.panel.isOpen))},inputs:{ngbPanelToggle:"ngbPanelToggle"},standalone:!0}),t})(),eS=(()=>{class t{constructor(e,i,r){this._ngZone=i,this._changeDetector=r,this.activeIds=[],this.destroyOnHide=!0,this.panelChange=new ht,this.shown=new ht,this.hidden=new ht,this.animation=e.animation,this.type=e.type,this.closeOtherPanels=e.closeOthers}isExpanded(e){return this.activeIds.indexOf(e)>-1}expand(e){this._changeOpenState(this._findPanelById(e),!0)}expandAll(){this.closeOtherPanels?0===this.activeIds.length&&this.panels.length&&this._changeOpenState(this.panels.first,!0):this.panels.forEach(e=>this._changeOpenState(e,!0))}collapse(e){this._changeOpenState(this._findPanelById(e),!1)}collapseAll(){this.panels.forEach(e=>{this._changeOpenState(e,!1)})}toggle(e){const i=this._findPanelById(e);i&&this._changeOpenState(i,!i.isOpen)}ngAfterContentChecked(){B_(this.activeIds)&&(this.activeIds=this.activeIds.split(/\s*,\s*/)),this.panels.forEach(e=>{e.isOpen=!e.disabled&&this.activeIds.indexOf(e.id)>-1}),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0],!1),this._updateActiveIds()),this._ngZone.onStable.pipe(ni(1)).subscribe(()=>{this.panels.forEach(e=>{const i=e.panelDiv;i?e.initClassDone||(e.initClassDone=!0,jr(this._ngZone,i,iG,{animation:!1,runningTransition:"continue",context:{direction:e.isOpen?"show":"hide",dimension:"height"}})):e.initClassDone=!1})})}_changeOpenState(e,i){if(null!=e&&!e.disabled&&e.isOpen!==i){let r=!1;this.panelChange.emit({panelId:e.id,nextState:i,preventDefault:()=>{r=!0}}),r||(e.isOpen=i,e.transitionRunning=!0,i&&this.closeOtherPanels&&this._closeOthers(e.id),this._updateActiveIds(),this._runTransitions(this.animation))}}_closeOthers(e,i=!0){this.panels.forEach(r=>{r.id!==e&&r.isOpen&&(r.isOpen=!1,r.transitionRunning=i)})}_findPanelById(e){return this.panels.find(i=>i.id===e)||null}_updateActiveIds(){this.activeIds=this.panels.filter(e=>e.isOpen&&!e.disabled).map(e=>e.id)}_runTransitions(e){this._changeDetector.detectChanges(),this.panels.forEach(i=>{i.transitionRunning&&jr(this._ngZone,i.panelDiv,iG,{animation:e,runningTransition:"stop",context:{direction:i.isOpen?"show":"hide",dimension:"height"}}).subscribe(()=>{i.transitionRunning=!1;const{id:o}=i;i.isOpen?(i.shown.emit(),this.shown.emit(o)):(i.hidden.emit(),this.hidden.emit(o))})})}}return t.\u0275fac=function(e){return new(e||t)(V(WHe),V(St),V(ar))},t.\u0275cmp=Oe({type:t,selectors:[["ngb-accordion"]],contentQueries:function(e,i,r){if(1&e&&pi(r,KE,4),2&e){let o;lt(o=ct())&&(i.panels=o)}},hostAttrs:["role","tablist",1,"accordion"],hostVars:1,hostBindings:function(e,i){2&e&&Ot("aria-multiselectable",!i.closeOtherPanels)},inputs:{animation:"animation",activeIds:"activeIds",closeOtherPanels:["closeOthers","closeOtherPanels"],destroyOnHide:"destroyOnHide",type:"type"},outputs:{panelChange:"panelChange",shown:"shown",hidden:"hidden"},exportAs:["ngbAccordion"],standalone:!0,features:[sr],decls:3,vars:1,consts:[["ngbPanelHeader",""],["t",""],["ngFor","",3,"ngForOf"],[1,"accordion-button",3,"ngbPanelToggle"],[3,"ngTemplateOutlet"],["role","tab",3,"id"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["role","tabpanel",3,"id","ngbRef",4,"ngIf"],["role","tabpanel",3,"id","ngbRef"],[1,"accordion-body"]],template:function(e,i){1&e&&(C(0,$Ve,3,3,"ng-template",0,1,co),C(2,ZVe,4,11,"ng-template",2)),2&e&&(h(2),_("ngForOf",i.panels))},dependencies:[Mt,Ka,sG,$He,ZE,mt],encapsulation:2}),t})(),aG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[eS]}),t})();const qHe=({classList:t})=>{t.remove("show")};let XHe=(()=>{class t{constructor(e){this._ngbConfig=e,this.dismissible=!0,this.type="warning"}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return t.\u0275fac=function(e){return new(e||t)(me(hp))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),QHe=(()=>{class t{constructor(e,i,r,o){this._renderer=i,this._element=r,this._zone=o,this.closed=new ht,this.dismissible=e.dismissible,this.type=e.type,this.animation=e.animation}close(){const e=jr(this._zone,this._element.nativeElement,qHe,{animation:this.animation,runningTransition:"continue"});return e.subscribe(()=>this.closed.emit()),e}ngOnChanges(e){const i=e.type;i&&!i.firstChange&&(this._renderer.removeClass(this._element.nativeElement,`alert-${i.previousValue}`),this._renderer.addClass(this._element.nativeElement,`alert-${i.currentValue}`))}ngOnInit(){this._renderer.addClass(this._element.nativeElement,`alert-${this.type}`)}}return t.\u0275fac=function(e){return new(e||t)(V(XHe),V(No),V(Gt),V(St))},t.\u0275cmp=Oe({type:t,selectors:[["ngb-alert"]],hostAttrs:["role","alert",1,"alert","show"],hostVars:4,hostBindings:function(e,i){2&e&&Nt("fade",i.animation)("alert-dismissible",i.dismissible)},inputs:{animation:"animation",dismissible:"dismissible",type:"type"},outputs:{closed:"closed"},exportAs:["ngbAlert"],standalone:!0,features:[ti,sr],ngContentSelectors:RD,decls:2,vars:1,consts:function(){let n;return n=$localize`:@@ngb.alert.close:Close`,[["type","button","class","btn-close","aria-label",n,3,"click",4,"ngIf"],["type","button","aria-label",n,1,"btn-close",3,"click"]]},template:function(e,i){1&e&&(Zs(),Vi(0),C(1,KVe,1,0,"button",0)),2&e&&(h(1),_("ngIf",i.dismissible))},dependencies:[mt],styles:["ngb-alert{display:block}\n"],encapsulation:2,changeDetection:0}),t})(),lG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[QHe]}),t})();var fd=(()=>(function(t){t.START="start",t.END="end"}(fd||(fd={})),fd))();const cG=({classList:t})=>t.contains("carousel-item-start")||t.contains("carousel-item-end"),H_=t=>{t.remove("carousel-item-start"),t.remove("carousel-item-end")},ND=t=>{H_(t),t.remove("carousel-item-prev"),t.remove("carousel-item-next")},JHe=(t,n,{direction:e})=>{const{classList:i}=t;return n?(cG(t)?H_(i):(i.add("carousel-item-"+(e===fd.START?"next":"prev")),fp(t),i.add("carousel-item-"+e)),()=>{ND(i),i.add("active")}):(H_(i),ND(i),void i.add("active"))},ZHe=(t,n,{direction:e})=>{const{classList:i}=t;return n?(cG(t)?H_(i):i.add("carousel-item-"+e),()=>{ND(i),i.remove("active")}):(H_(i),ND(i),void i.remove("active"))};let KHe=(()=>{class t{constructor(e){this._ngbConfig=e,this.interval=5e3,this.wrap=!0,this.keyboard=!0,this.pauseOnHover=!0,this.pauseOnFocus=!0,this.showNavigationArrows=!0,this.showNavigationIndicators=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return t.\u0275fac=function(e){return new(e||t)(me(hp))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),e7e=0,t7e=(()=>{class t{constructor(e){this.tplRef=e,this.id="ngb-slide-"+e7e++,this.slid=new ht}}return t.\u0275fac=function(e){return new(e||t)(V(Zn))},t.\u0275dir=je({type:t,selectors:[["ng-template","ngbSlide",""]],inputs:{id:"id"},outputs:{slid:"slid"},standalone:!0}),t})(),n7e=(()=>{class t{constructor(e,i,r,o,s){this._platformId=i,this._ngZone=r,this._cd=o,this._container=s,this.NgbSlideEventSource=Vu,this._destroy$=new vt,this._interval$=new dr(0),this._mouseHover$=new dr(!1),this._focused$=new dr(!1),this._pauseOnHover$=new dr(!1),this._pauseOnFocus$=new dr(!1),this._pause$=new dr(!1),this._wrap$=new dr(!1),this.slide=new ht,this.slid=new ht,this._transitionIds=null,this.animation=e.animation,this.interval=e.interval,this.wrap=e.wrap,this.keyboard=e.keyboard,this.pauseOnHover=e.pauseOnHover,this.pauseOnFocus=e.pauseOnFocus,this.showNavigationArrows=e.showNavigationArrows,this.showNavigationIndicators=e.showNavigationIndicators}set interval(e){this._interval$.next(e)}get interval(){return this._interval$.value}set wrap(e){this._wrap$.next(e)}get wrap(){return this._wrap$.value}set pauseOnHover(e){this._pauseOnHover$.next(e)}get pauseOnHover(){return this._pauseOnHover$.value}set pauseOnFocus(e){this._pauseOnFocus$.next(e)}get pauseOnFocus(){return this._pauseOnFocus$.value}set mouseHover(e){this._mouseHover$.next(e)}get mouseHover(){return this._mouseHover$.value}set focused(e){this._focused$.next(e)}get focused(){return this._focused$.value}arrowLeft(){this.focus(),this.prev(Vu.ARROW_LEFT)}arrowRight(){this.focus(),this.next(Vu.ARROW_RIGHT)}ngAfterContentInit(){fO(this._platformId)&&this._ngZone.runOutsideAngular(()=>{const e=Hm([this.slide.pipe(xt(i=>i.current),el(this.activeId)),this._wrap$,this.slides.changes.pipe(el(null))]).pipe(xt(([i,r])=>{const o=this.slides.toArray(),s=this._getSlideIdxById(i);return r?o.length>1:s<o.length-1}),Bh());Hm([this._pause$,this._pauseOnHover$,this._mouseHover$,this._pauseOnFocus$,this._focused$,this._interval$,e]).pipe(xt(([i,r,o,s,a,l,d])=>i||r&&o||s&&a||!d?0:l),Bh(),na(i=>i>0?lb(i,i):O7),Kn(this._destroy$)).subscribe(()=>this._ngZone.run(()=>this.next(Vu.TIMER)))}),this.slides.changes.pipe(Kn(this._destroy$)).subscribe(()=>{this._transitionIds?.forEach(e=>(t=>{V_.get(t)?.complete()})(this._getSlideElement(e))),this._transitionIds=null,this._cd.markForCheck(),this._ngZone.onStable.pipe(ni(1)).subscribe(()=>{for(const{id:e}of this.slides){const i=this._getSlideElement(e);e===this.activeId?i.classList.add("active"):i.classList.remove("active")}})})}ngAfterContentChecked(){let e=this._getSlideById(this.activeId);this.activeId=e?e.id:this.slides.length?this.slides.first.id:""}ngAfterViewInit(){if(this.activeId){const e=this._getSlideElement(this.activeId);e&&e.classList.add("active")}}ngOnDestroy(){this._destroy$.next()}select(e,i){this._cycleToSelected(e,this._getSlideEventDirection(this.activeId,e),i)}prev(e){this._cycleToSelected(this._getPrevSlide(this.activeId),fd.END,e)}next(e){this._cycleToSelected(this._getNextSlide(this.activeId),fd.START,e)}pause(){this._pause$.next(!0)}cycle(){this._pause$.next(!1)}focus(){this._container.nativeElement.focus()}_cycleToSelected(e,i,r){const o=this._transitionIds;if(o&&(o[0]!==e||o[1]!==this.activeId))return;let s=this._getSlideById(e);if(s&&s.id!==this.activeId){this._transitionIds=[this.activeId,e],this.slide.emit({prev:this.activeId,current:s.id,direction:i,paused:this._pause$.value,source:r});const a={animation:this.animation,runningTransition:"stop",context:{direction:i}},l=[],d=this._getSlideById(this.activeId);if(d){const b=jr(this._ngZone,this._getSlideElement(d.id),ZHe,a);b.subscribe(()=>{d.slid.emit({isShown:!1,direction:i,source:r})}),l.push(b)}const f=this.activeId;this.activeId=s.id;const m=this._getSlideById(this.activeId),g=jr(this._ngZone,this._getSlideElement(s.id),JHe,a);g.subscribe(()=>{m?.slid.emit({isShown:!0,direction:i,source:r})}),l.push(g),wD(...l).pipe(ni(1)).subscribe(()=>{this._transitionIds=null,this.slid.emit({prev:f,current:s.id,direction:i,paused:this._pause$.value,source:r})})}this._cd.markForCheck()}_getSlideEventDirection(e,i){return this._getSlideIdxById(e)>this._getSlideIdxById(i)?fd.END:fd.START}_getSlideById(e){return this.slides.find(i=>i.id===e)||null}_getSlideIdxById(e){const i=this._getSlideById(e);return null!=i?this.slides.toArray().indexOf(i):-1}_getNextSlide(e){const i=this.slides.toArray(),r=this._getSlideIdxById(e);return r===i.length-1?this.wrap?i[0].id:i[i.length-1].id:i[r+1].id}_getPrevSlide(e){const i=this.slides.toArray(),r=this._getSlideIdxById(e);return 0===r?this.wrap?i[i.length-1].id:i[0].id:i[r-1].id}_getSlideElement(e){return this._container.nativeElement.querySelector(`#slide-${e}`)}}return t.\u0275fac=function(e){return new(e||t)(V(KHe),V(Nm),V(St),V(ar),V(Gt))},t.\u0275cmp=Oe({type:t,selectors:[["ngb-carousel"]],contentQueries:function(e,i,r){if(1&e&&pi(r,t7e,4),2&e){let o;lt(o=ct())&&(i.slides=o)}},hostAttrs:["tabIndex","0",1,"carousel","slide"],hostVars:3,hostBindings:function(e,i){1&e&&R("keydown.arrowLeft",function(){return i.keyboard&&i.arrowLeft()})("keydown.arrowRight",function(){return i.keyboard&&i.arrowRight()})("mouseenter",function(){return i.mouseHover=!0})("mouseleave",function(){return i.mouseHover=!1})("focusin",function(){return i.focused=!0})("focusout",function(){return i.focused=!1}),2&e&&(Ot("aria-activedescendant","slide-"+i.activeId),ws("display","block"))},inputs:{animation:"animation",activeId:"activeId",interval:"interval",wrap:"wrap",keyboard:"keyboard",pauseOnHover:"pauseOnHover",pauseOnFocus:"pauseOnFocus",showNavigationArrows:"showNavigationArrows",showNavigationIndicators:"showNavigationIndicators"},outputs:{slide:"slide",slid:"slid"},exportAs:["ngbCarousel"],standalone:!0,features:[sr],decls:6,vars:6,consts:function(){let n,e,i;return n=$localize`:Currently selected slide number read by screen reader@@ngb.carousel.slide-number: Slide ${"\ufffd0\ufffd"}:INTERPOLATION: of ${"\ufffd1\ufffd"}:INTERPOLATION_1: `,e=$localize`:@@ngb.carousel.previous:Previous`,i=$localize`:@@ngb.carousel.next:Next`,[["role","tablist",1,"carousel-indicators"],["type","button","data-bs-target","","role","tab",3,"active","click",4,"ngFor","ngForOf"],[1,"carousel-inner"],["class","carousel-item","role","tabpanel",3,"id",4,"ngFor","ngForOf"],["class","carousel-control-prev","type","button",3,"click",4,"ngIf"],["class","carousel-control-next","type","button",3,"click",4,"ngIf"],["type","button","data-bs-target","","role","tab",3,"click"],["role","tabpanel",1,"carousel-item",3,"id"],[1,"visually-hidden"],n,[3,"ngTemplateOutlet"],["type","button",1,"carousel-control-prev",3,"click"],["aria-hidden","true",1,"carousel-control-prev-icon"],e,["type","button",1,"carousel-control-next",3,"click"],["aria-hidden","true",1,"carousel-control-next-icon"],i]},template:function(e,i){1&e&&(c(0,"div",0),C(1,e6e,1,5,"button",1),u(),c(2,"div",2),C(3,n6e,4,4,"div",3),u(),C(4,i6e,4,0,"button",4),C(5,r6e,4,0,"button",5)),2&e&&(Nt("visually-hidden",!i.showNavigationIndicators),h(1),_("ngForOf",i.slides),h(2),_("ngForOf",i.slides),h(1),_("ngIf",i.showNavigationArrows),h(1),_("ngIf",i.showNavigationArrows))},dependencies:[Mt,Ka,mt],encapsulation:2,changeDetection:0}),t})();var Vu=(()=>(function(t){t.TIMER="timer",t.ARROW_LEFT="arrowLeft",t.ARROW_RIGHT="arrowRight",t.INDICATOR="indicator"}(Vu||(Vu={})),Vu))();let dG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[n7e]}),t})(),uG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({}),t})();class Sr{constructor(n,e,i){this.year=Li(n)?n:null,this.month=Li(e)?e:null,this.day=Li(i)?i:null}static from(n){return n instanceof Sr?n:n?new Sr(n.year,n.month,n.day):null}equals(n){return null!=n&&this.year===n.year&&this.month===n.month&&this.day===n.day}before(n){return!!n&&(this.year===n.year?this.month===n.month?this.day!==n.day&&this.day<n.day:this.month<n.month:this.year<n.year)}after(n){return!!n&&(this.year===n.year?this.month===n.month?this.day!==n.day&&this.day>n.day:this.month>n.month:this.year>n.year)}}function pp(t,n){return!function i7e(t,n){return!t&&!n||!!t&&!!n&&t.equals(n)}(t,n)}function fG(t,n){return!(!t&&!n||t&&n&&t.year===n.year&&t.month===n.month)}function OD(t,n,e){return t&&n&&t.before(n)?n:t&&e&&t.after(e)?e:t||null}function tS(t,n){const{minDate:e,maxDate:i,disabled:r,markDisabled:o}=n;return!(null==t||r||o&&o(t,{year:t.year,month:t.month})||e&&t.before(e)||i&&t.after(i))}function hG(t){return new Sr(t.getFullYear(),t.getMonth()+1,t.getDate())}function ID(t){const n=new Date(t.year,t.month-1,t.day,12);return isNaN(n.getTime())||n.setFullYear(t.year),n}let LD=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:function(){return function f7e(){return new h7e}()},providedIn:"root"}),t})(),h7e=(()=>{class t extends LD{getDaysPerWeek(){return 7}getMonths(){return[1,2,3,4,5,6,7,8,9,10,11,12]}getWeeksPerMonth(){return 6}getNext(e,i="d",r=1){let o=ID(e),s=!0,a=o.getMonth();switch(i){case"y":o.setFullYear(o.getFullYear()+r);break;case"m":a+=r,o.setMonth(a),a%=12,a<0&&(a+=12);break;case"d":o.setDate(o.getDate()+r),s=!1;break;default:return e}return s&&o.getMonth()!==a&&o.setDate(0),hG(o)}getPrev(e,i="d",r=1){return this.getNext(e,i,-r)}getWeekday(e){let r=ID(e).getDay();return 0===r?7:r}getWeekNumber(e,i){7===i&&(i=0);const s=ID(e[(11-i)%7]);s.setDate(s.getDate()+4-(s.getDay()||7));const a=s.getTime();return s.setMonth(0),s.setDate(1),Math.floor(Math.round((a-s.getTime())/864e5)/7)+1}getToday(){return hG(new Date)}isValid(e){if(!(e&&Li(e.year)&&Li(e.month)&&Li(e.day)&&0!==e.year))return!1;const i=ID(e);return!isNaN(i.getTime())&&i.getFullYear()===e.year&&i.getMonth()+1===e.month&&i.getDate()===e.day}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=wi(t)))(i||t)}}(),t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})(),Hu=(()=>{class t{getMonthLabel(e){return`${this.getMonthFullName(e.month,e.year)} ${this.getYearNumerals(e.year)}`}getDayNumerals(e){return`${e.day}`}getWeekNumerals(e){return`${e}`}getYearNumerals(e){return`${e}`}getWeekLabel(){return""}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:function(e){let i=null;return i=e?new e:function p7e(t){return new m7e(t)}(me(ts)),i},providedIn:"root"}),t})(),m7e=(()=>{class t extends Hu{constructor(e){super(),this._locale=e,this._monthsShort=ox(e,mi.Standalone,Kt.Abbreviated),this._monthsFull=ox(e,mi.Standalone,Kt.Wide)}getWeekdayLabel(e,i){const r=$N(this._locale,mi.Standalone,void 0===i?Kt.Short:i);return r.map((s,a)=>r[(a+1)%7])[e-1]||""}getMonthShortName(e){return this._monthsShort[e-1]||""}getMonthFullName(e){return this._monthsFull[e-1]||""}getDayAriaLabel(e){return XN(new Date(e.year,e.month-1,e.day),"fullDate",this._locale)}}return t.\u0275fac=function(e){return new(e||t)(me(ts))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})(),nS=(()=>{class t{constructor(e,i){this._calendar=e,this._i18n=i,this._VALIDATORS={dayTemplateData:r=>{if(this._state.dayTemplateData!==r)return{dayTemplateData:r}},displayMonths:r=>{if(Li(r=to(r))&&r>0&&this._state.displayMonths!==r)return{displayMonths:r}},disabled:r=>{if(this._state.disabled!==r)return{disabled:r}},firstDayOfWeek:r=>{if(Li(r=to(r))&&r>=0&&this._state.firstDayOfWeek!==r)return{firstDayOfWeek:r}},focusVisible:r=>{if(this._state.focusVisible!==r&&!this._state.disabled)return{focusVisible:r}},markDisabled:r=>{if(this._state.markDisabled!==r)return{markDisabled:r}},maxDate:r=>{const o=this.toValidDate(r,null);if(pp(this._state.maxDate,o))return{maxDate:o}},minDate:r=>{const o=this.toValidDate(r,null);if(pp(this._state.minDate,o))return{minDate:o}},navigation:r=>{if(this._state.navigation!==r)return{navigation:r}},outsideDays:r=>{if(this._state.outsideDays!==r)return{outsideDays:r}},weekdays:r=>{const o=!0===r||!1===r?Kt.Short:r,s=!0!==r&&!1!==r||r;if(this._state.weekdayWidth!==o||this._state.weekdaysVisible!==s)return{weekdayWidth:o,weekdaysVisible:s}}},this._model$=new vt,this._dateSelect$=new vt,this._state={dayTemplateData:null,markDisabled:null,maxDate:null,minDate:null,disabled:!1,displayMonths:1,firstDate:null,firstDayOfWeek:1,lastDate:null,focusDate:null,focusVisible:!1,months:[],navigation:"select",outsideDays:"visible",prevDisabled:!1,nextDisabled:!1,selectedDate:null,selectBoxes:{years:[],months:[]},weekdayWidth:Kt.Short,weekdaysVisible:!0}}get model$(){return this._model$.pipe(zn(e=>e.months.length>0))}get dateSelect$(){return this._dateSelect$.pipe(zn(e=>null!==e))}set(e){let i=Object.keys(e).map(r=>this._VALIDATORS[r](e[r])).reduce((r,o)=>({...r,...o}),{});Object.keys(i).length>0&&this._nextState(i)}focus(e){const i=this.toValidDate(e,null);null!=i&&!this._state.disabled&&pp(this._state.focusDate,i)&&this._nextState({focusDate:e})}focusSelect(){tS(this._state.focusDate,this._state)&&this.select(this._state.focusDate,{emitEvent:!0})}open(e){const i=this.toValidDate(e,this._calendar.getToday());null!=i&&!this._state.disabled&&(!this._state.firstDate||fG(this._state.firstDate,i))&&this._nextState({firstDate:i})}select(e,i={}){const r=this.toValidDate(e,null);null!=r&&!this._state.disabled&&(pp(this._state.selectedDate,r)&&this._nextState({selectedDate:r}),i.emitEvent&&tS(r,this._state)&&this._dateSelect$.next(r))}toValidDate(e,i){const r=Sr.from(e);return void 0===i&&(i=this._calendar.getToday()),this._calendar.isValid(r)?r:i}getMonth(e){for(let i of this._state.months)if(e.month===i.number&&e.year===i.year)return i;throw new Error(`month ${e.month} of year ${e.year} not found`)}_nextState(e){const i=this._updateState(e);this._patchContexts(i),this._state=i,this._model$.next(this._state)}_patchContexts(e){const{months:i,displayMonths:r,selectedDate:o,focusDate:s,focusVisible:a,disabled:l,outsideDays:d}=e;e.months.forEach(f=>{f.weeks.forEach(m=>{m.days.forEach(g=>{s&&(g.context.focused=s.equals(g.date)&&a),g.tabindex=!l&&s&&g.date.equals(s)&&s.month===f.number?0:-1,!0===l&&(g.context.disabled=!0),void 0!==o&&(g.context.selected=null!==o&&o.equals(g.date)),f.number!==g.date.month&&(g.hidden="hidden"===d||"collapsed"===d||r>1&&g.date.after(i[0].firstDate)&&g.date.before(i[r-1].lastDate))})})})}_updateState(e){const i=Object.assign({},this._state,e);let r=i.firstDate;if(("minDate"in e||"maxDate"in e)&&(function r7e(t,n){if(n&&t&&n.before(t))throw new Error(`'maxDate' ${n} should be greater than 'minDate' ${t}`)}(i.minDate,i.maxDate),i.focusDate=OD(i.focusDate,i.minDate,i.maxDate),i.firstDate=OD(i.firstDate,i.minDate,i.maxDate),r=i.focusDate),"disabled"in e&&(i.focusVisible=!1),"selectedDate"in e&&0===this._state.months.length&&(r=i.selectedDate),"focusVisible"in e||"focusDate"in e&&(i.focusDate=OD(i.focusDate,i.minDate,i.maxDate),r=i.focusDate,0!==i.months.length&&i.focusDate&&!i.focusDate.before(i.firstDate)&&!i.focusDate.after(i.lastDate)))return i;if("firstDate"in e&&(i.firstDate=OD(i.firstDate,i.minDate,i.maxDate),r=i.firstDate),r){const s=function c7e(t,n,e,i,r){const{displayMonths:o,months:s}=e,a=s.splice(0,s.length);return Array.from({length:o},(d,f)=>{const m=Object.assign(t.getNext(n,"m",f),{day:1});if(s[f]=null,!r){const g=a.findIndex(b=>b.firstDate.equals(m));-1!==g&&(s[f]=a.splice(g,1)[0])}return m}).forEach((d,f)=>{null===s[f]&&(s[f]=function d7e(t,n,e,i,r={}){const{dayTemplateData:o,minDate:s,maxDate:a,firstDayOfWeek:l,markDisabled:d,outsideDays:f,weekdayWidth:m,weekdaysVisible:g}=e,b=t.getToday();r.firstDate=null,r.lastDate=null,r.number=n.month,r.year=n.year,r.weeks=r.weeks||[],r.weekdays=r.weekdays||[],n=function u7e(t,n,e){const i=t.getDaysPerWeek(),r=new Sr(n.year,n.month,1),o=t.getWeekday(r)%i;return t.getPrev(r,"d",(i+o-e)%i)}(t,n,l),g||(r.weekdays.length=0);for(let M=0;M<t.getWeeksPerMonth();M++){let y=r.weeks[M];y||(y=r.weeks[M]={number:0,days:[],collapsed:!0});const T=y.days;for(let k=0;k<t.getDaysPerWeek();k++){0===M&&g&&(r.weekdays[k]=i.getWeekdayLabel(t.getWeekday(n),m));const O=new Sr(n.year,n.month,n.day),N=t.getNext(O),H=i.getDayAriaLabel(O);let U=!!(s&&O.before(s)||a&&O.after(a));!U&&d&&(U=d(O,{month:r.number,year:r.year}));let Q=O.equals(b),W=o?o(O,{month:r.number,year:r.year}):void 0;null===r.firstDate&&O.month===r.number&&(r.firstDate=O),O.month===r.number&&N.month!==r.number&&(r.lastDate=O);let J=T[k];J||(J=T[k]={}),J.date=O,J.context=Object.assign(J.context||{},{$implicit:O,date:O,data:W,currentMonth:r.number,currentYear:r.year,disabled:U,focused:!1,selected:!1,today:Q}),J.tabindex=-1,J.ariaLabel=H,J.hidden=!1,n=N}y.number=t.getWeekNumber(T.map(k=>k.date),l),y.collapsed="collapsed"===f&&T[0].date.month!==r.number&&T[T.length-1].date.month!==r.number}return r}(t,d,e,i,a.shift()||{}))}),s}(this._calendar,r,i,this._i18n,"dayTemplateData"in e||"firstDayOfWeek"in e||"markDisabled"in e||"minDate"in e||"maxDate"in e||"disabled"in e||"outsideDays"in e||"weekdaysVisible"in e);i.months=s,i.firstDate=s[0].firstDate,i.lastDate=s[s.length-1].lastDate,"selectedDate"in e&&!tS(i.selectedDate,i)&&(i.selectedDate=null),"firstDate"in e&&(!i.focusDate||i.focusDate.before(i.firstDate)||i.focusDate.after(i.lastDate))&&(i.focusDate=r);const a=!this._state.firstDate||this._state.firstDate.year!==i.firstDate.year,l=!this._state.firstDate||this._state.firstDate.month!==i.firstDate.month;"select"===i.navigation?(("minDate"in e||"maxDate"in e||0===i.selectBoxes.years.length||a)&&(i.selectBoxes.years=function s7e(t,n,e){if(!t)return[];const i=n?Math.max(n.year,t.year-500):t.year-10,o=(e?Math.min(e.year,t.year+500):t.year+10)-i+1,s=Array(o);for(let a=0;a<o;a++)s[a]=i+a;return s}(i.firstDate,i.minDate,i.maxDate)),("minDate"in e||"maxDate"in e||0===i.selectBoxes.months.length||a)&&(i.selectBoxes.months=function o7e(t,n,e,i){if(!n)return[];let r=t.getMonths(n.year);if(e&&n.year===e.year){const o=r.findIndex(s=>s===e.month);r=r.slice(o)}if(i&&n.year===i.year){const o=r.findIndex(s=>s===i.month);r=r.slice(0,o+1)}return r}(this._calendar,i.firstDate,i.minDate,i.maxDate))):i.selectBoxes={years:[],months:[]},("arrows"===i.navigation||"select"===i.navigation)&&(l||a||"minDate"in e||"maxDate"in e||"disabled"in e)&&(i.prevDisabled=i.disabled||function l7e(t,n,e){const i=Object.assign(t.getPrev(n,"m"),{day:1});return null!=e&&(i.year===e.year&&i.month<e.month||i.year<e.year&&1===e.month)}(this._calendar,i.firstDate,i.minDate),i.nextDisabled=i.disabled||function a7e(t,n,e){const i=Object.assign(t.getNext(n,"m"),{day:1});return null!=e&&i.after(e)}(this._calendar,i.lastDate,i.maxDate))}return i}}return t.\u0275fac=function(e){return new(e||t)(me(LD),me(Hu))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})();var mp=(()=>(function(t){t[t.PREV=0]="PREV",t[t.NEXT=1]="NEXT"}(mp||(mp={})),mp))();let g7e=(()=>{class t{constructor(e){this.i18n=e}isMuted(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)}}return t.\u0275fac=function(e){return new(e||t)(V(Hu))},t.\u0275cmp=Oe({type:t,selectors:[["","ngbDatepickerDayView",""]],hostAttrs:[1,"btn-light"],hostVars:10,hostBindings:function(e,i){2&e&&Nt("bg-primary",i.selected)("text-white",i.selected)("text-muted",i.isMuted())("outside",i.isMuted())("active",i.focused)},inputs:{currentMonth:"currentMonth",date:"date",disabled:"disabled",focused:"focused",selected:"selected"},standalone:!0,features:[sr],attrs:o6e,decls:1,vars:1,template:function(e,i){1&e&&p(0),2&e&&I(i.i18n.getDayNumerals(i.date))},styles:["[ngbDatepickerDayView]{text-align:center;width:2rem;height:2rem;line-height:2rem;border-radius:.25rem;background:transparent}[ngbDatepickerDayView]:hover:not(.bg-primary),[ngbDatepickerDayView].active:not(.bg-primary){background-color:var(--bs-btn-bg);outline:1px solid var(--bs-border-color)}[ngbDatepickerDayView].outside{opacity:.5}\n"],encapsulation:2,changeDetection:0}),t})(),_7e=(()=>{class t{constructor(e,i){this.i18n=e,this._renderer=i,this.select=new ht,this._month=-1,this._year=-1}changeMonth(e){this.select.emit(new Sr(this.date.year,to(e),1))}changeYear(e){this.select.emit(new Sr(to(e),this.date.month,1))}ngAfterViewChecked(){this.date&&(this.date.month!==this._month&&(this._month=this.date.month,this._renderer.setProperty(this.monthSelect.nativeElement,"value",this._month)),this.date.year!==this._year&&(this._year=this.date.year,this._renderer.setProperty(this.yearSelect.nativeElement,"value",this._year)))}}return t.\u0275fac=function(e){return new(e||t)(V(Hu),V(No))},t.\u0275cmp=Oe({type:t,selectors:[["ngb-datepicker-navigation-select"]],viewQuery:function(e,i){if(1&e&&(Ht(s6e,7,Gt),Ht(a6e,7,Gt)),2&e){let r;lt(r=ct())&&(i.monthSelect=r.first),lt(r=ct())&&(i.yearSelect=r.first)}},inputs:{date:"date",disabled:"disabled",months:"months",years:"years"},outputs:{select:"select"},standalone:!0,features:[sr],decls:6,vars:4,consts:function(){let n,e,i,r;return n=$localize`:@@ngb.datepicker.select-month:Select month`,e=$localize`:@@ngb.datepicker.select-month:Select month`,i=$localize`:@@ngb.datepicker.select-year:Select year`,r=$localize`:@@ngb.datepicker.select-year:Select year`,[["aria-label",n,"title",e,1,"form-select",3,"disabled","change"],["month",""],[3,"value",4,"ngFor","ngForOf"],["aria-label",i,"title",r,1,"form-select",3,"disabled","change"],["year",""],[3,"value"]]},template:function(e,i){1&e&&(c(0,"select",0,1),R("change",function(o){return i.changeMonth(o.target.value)}),C(2,l6e,2,3,"option",2),u(),c(3,"select",3,4),R("change",function(o){return i.changeYear(o.target.value)}),C(5,c6e,2,2,"option",2),u()),2&e&&(_("disabled",i.disabled),h(2),_("ngForOf",i.months),h(1),_("disabled",i.disabled),h(2),_("ngForOf",i.years))},dependencies:[Mt],styles:["ngb-datepicker-navigation-select>.form-select{flex:1 1 auto;padding:0 .5rem;font-size:.875rem;height:1.85rem}ngb-datepicker-navigation-select>.form-select:focus{z-index:1}ngb-datepicker-navigation-select>.form-select::-ms-value{background-color:transparent!important}\n"],encapsulation:2,changeDetection:0}),t})(),v7e=(()=>{class t{constructor(e){this.i18n=e,this.navigation=mp,this.months=[],this.navigate=new ht,this.select=new ht}onClickPrev(e){e.currentTarget.focus(),this.navigate.emit(this.navigation.PREV)}onClickNext(e){e.currentTarget.focus(),this.navigate.emit(this.navigation.NEXT)}}return t.\u0275fac=function(e){return new(e||t)(V(Hu))},t.\u0275cmp=Oe({type:t,selectors:[["ngb-datepicker-navigation"]],inputs:{date:"date",disabled:"disabled",months:"months",showSelect:"showSelect",prevDisabled:"prevDisabled",nextDisabled:"nextDisabled",selectBoxes:"selectBoxes"},outputs:{navigate:"navigate",select:"select"},standalone:!0,features:[sr],decls:8,vars:4,consts:function(){let n,e,i,r;return n=$localize`:@@ngb.datepicker.previous-month:Previous month`,e=$localize`:@@ngb.datepicker.previous-month:Previous month`,i=$localize`:@@ngb.datepicker.next-month:Next month`,r=$localize`:@@ngb.datepicker.next-month:Next month`,[[1,"ngb-dp-arrow"],["type","button","aria-label",n,"title",e,1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-chevron"],["class","ngb-dp-navigation-select",3,"date","disabled","months","years","select",4,"ngIf"],[4,"ngIf"],[1,"ngb-dp-arrow","right"],["type","button","aria-label",i,"title",r,1,"btn","btn-link","ngb-dp-arrow-btn",3,"disabled","click"],[1,"ngb-dp-navigation-select",3,"date","disabled","months","years","select"],["ngFor","",3,"ngForOf"],["class","ngb-dp-arrow",4,"ngIf"],[1,"ngb-dp-month-name"]]},template:function(e,i){1&e&&(c(0,"div",0)(1,"button",1),R("click",function(o){return i.onClickPrev(o)}),X(2,"span",2),u()(),C(3,d6e,1,4,"ngb-datepicker-navigation-select",3),C(4,p6e,1,1,null,4),c(5,"div",5)(6,"button",6),R("click",function(o){return i.onClickNext(o)}),X(7,"span",2),u()()),2&e&&(h(1),_("disabled",i.prevDisabled),h(2),_("ngIf",i.showSelect),h(1),_("ngIf",!i.showSelect),h(2),_("disabled",i.nextDisabled))},dependencies:[mt,Mt,_7e],styles:["ngb-datepicker-navigation{display:flex;align-items:center}.ngb-dp-navigation-chevron{border-style:solid;border-width:.2em .2em 0 0;display:inline-block;width:.75em;height:.75em;margin-left:.25em;margin-right:.15em;transform:rotate(-135deg)}.ngb-dp-arrow{display:flex;flex:1 1 auto;padding-right:0;padding-left:0;margin:0;width:2rem;height:2rem}.ngb-dp-arrow.right{justify-content:flex-end}.ngb-dp-arrow.right .ngb-dp-navigation-chevron{transform:rotate(45deg);margin-left:.15em;margin-right:.25em}.ngb-dp-arrow-btn{padding:0 .25rem;margin:0 .5rem;border:none;background-color:transparent;z-index:1}.ngb-dp-arrow-btn:focus{outline-width:1px;outline-style:auto}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.ngb-dp-arrow-btn:focus{outline-style:solid}}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center}.ngb-dp-navigation-select{display:flex;flex:1 1 9rem}\n"],encapsulation:2,changeDetection:0}),t})();var wn=(()=>(function(t){t[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.Space=32]="Space",t[t.PageUp=33]="PageUp",t[t.PageDown=34]="PageDown",t[t.End=35]="End",t[t.Home=36]="Home",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowDown=40]="ArrowDown"}(wn||(wn={})),wn))();let b7e=(()=>{class t{processKey(e,i){const{state:r,calendar:o}=i;switch(e.which){case wn.PageUp:i.focusDate(o.getPrev(r.focusedDate,e.shiftKey?"y":"m",1));break;case wn.PageDown:i.focusDate(o.getNext(r.focusedDate,e.shiftKey?"y":"m",1));break;case wn.End:i.focusDate(e.shiftKey?r.maxDate:r.lastDate);break;case wn.Home:i.focusDate(e.shiftKey?r.minDate:r.firstDate);break;case wn.ArrowLeft:i.focusDate(o.getPrev(r.focusedDate,"d",1));break;case wn.ArrowUp:i.focusDate(o.getPrev(r.focusedDate,"d",o.getDaysPerWeek()));break;case wn.ArrowRight:i.focusDate(o.getNext(r.focusedDate,"d",1));break;case wn.ArrowDown:i.focusDate(o.getNext(r.focusedDate,"d",o.getDaysPerWeek()));break;case wn.Enter:case wn.Space:i.focusSelect();break;default:return}e.preventDefault(),e.stopPropagation()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),iS=(()=>{class t{constructor(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation="select",this.outsideDays="visible",this.showWeekNumbers=!1,this.weekdays=Kt.Short}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),rS=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:function(){return function D7e(){return new y7e}()},providedIn:"root"}),t})(),y7e=(()=>{class t extends rS{fromModel(e){return e&&Li(e.year)&&Li(e.month)&&Li(e.day)?{year:e.year,month:e.month,day:e.day}:null}toModel(e){return e&&Li(e.year)&&Li(e.month)&&Li(e.day)?{year:e.year,month:e.month,day:e.day}:null}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=wi(t)))(i||t)}}(),t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})(),pG=(()=>{class t{constructor(e){this.templateRef=e}}return t.\u0275fac=function(e){return new(e||t)(V(Zn))},t.\u0275dir=je({type:t,selectors:[["ng-template","ngbDatepickerContent",""]],standalone:!0}),t})(),oS=(()=>{class t{constructor(e,i,r,o){this.i18n=e,this.datepicker=i,this._keyboardService=r,this._service=o}set month(e){this.viewModel=this._service.getMonth(e)}onKeyDown(e){this._keyboardService.processKey(e,this.datepicker)}doSelect(e){!e.context.disabled&&!e.hidden&&this.datepicker.onDateSelect(e.date)}}return t.\u0275fac=function(e){return new(e||t)(V(Hu),V(dn(()=>PD)),V(b7e),V(nS))},t.\u0275cmp=Oe({type:t,selectors:[["ngb-datepicker-month"]],hostAttrs:["role","grid"],hostBindings:function(e,i){1&e&&R("keydown",function(o){return i.onKeyDown(o)})},inputs:{month:"month"},standalone:!0,features:[sr],decls:2,vars:2,consts:[["class","ngb-dp-week ngb-dp-weekdays","role","row",4,"ngIf"],["ngFor","",3,"ngForOf"],["role","row",1,"ngb-dp-week","ngb-dp-weekdays"],["class","ngb-dp-weekday ngb-dp-showweek small",4,"ngIf"],["class","ngb-dp-weekday small","role","columnheader",4,"ngFor","ngForOf"],[1,"ngb-dp-weekday","ngb-dp-showweek","small"],["role","columnheader",1,"ngb-dp-weekday","small"],["class","ngb-dp-week","role","row",4,"ngIf"],["role","row",1,"ngb-dp-week"],["class","ngb-dp-week-number small text-muted",4,"ngIf"],["class","ngb-dp-day","role","gridcell",3,"disabled","tabindex","hidden","ngb-dp-today","click",4,"ngFor","ngForOf"],[1,"ngb-dp-week-number","small","text-muted"],["role","gridcell",1,"ngb-dp-day",3,"tabindex","click"],[3,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&(C(0,_6e,3,2,"div",0),C(1,C6e,1,1,"ng-template",1)),2&e&&(_("ngIf",i.viewModel.weekdays.length>0),h(1),_("ngForOf",i.viewModel.weeks))},dependencies:[mt,Mt,Ka],styles:['ngb-datepicker-month{display:block}.ngb-dp-weekday,.ngb-dp-week-number{line-height:2rem;text-align:center;font-style:italic}.ngb-dp-weekday{color:var(--bs-info)}.ngb-dp-week{border-radius:.25rem;display:flex}.ngb-dp-weekdays{border-bottom:1px solid var(--bs-border-color);border-radius:0;background-color:var(--bs-light)}.ngb-dp-day,.ngb-dp-weekday,.ngb-dp-week-number{width:2rem;height:2rem}.ngb-dp-day{cursor:pointer}.ngb-dp-day.disabled,.ngb-dp-day.hidden{cursor:default;pointer-events:none}.ngb-dp-day[tabindex="0"]{z-index:1}\n'],encapsulation:2}),t})(),PD=(()=>{class t{constructor(e,i,r,o,s,a,l,d){this._service=e,this._calendar=i,this.i18n=r,this._elementRef=a,this._ngbDateAdapter=l,this._ngZone=d,this._controlValue=null,this._destroyed$=new vt,this._publicState={},this.navigate=new ht,this.dateSelect=new ht,this.onChange=f=>{},this.onTouched=()=>{},["dayTemplate","dayTemplateData","displayMonths","firstDayOfWeek","footerTemplate","markDisabled","minDate","maxDate","navigation","outsideDays","showWeekNumbers","startDate","weekdays"].forEach(f=>this[f]=o[f]),e.dateSelect$.pipe(Kn(this._destroyed$)).subscribe(f=>{this.dateSelect.emit(f)}),e.model$.pipe(Kn(this._destroyed$)).subscribe(f=>{const m=f.firstDate,g=this.model?this.model.firstDate:null;this._publicState={maxDate:f.maxDate,minDate:f.minDate,firstDate:f.firstDate,lastDate:f.lastDate,focusedDate:f.focusDate,months:f.months.map(k=>k.firstDate)};let b=!1;if(!m.equals(g)&&(this.navigate.emit({current:g?{year:g.year,month:g.month}:null,next:{year:m.year,month:m.month},preventDefault:()=>b=!0}),b&&null!==g))return void this._service.open(g);const M=f.selectedDate,y=f.focusDate,T=this.model?this.model.focusDate:null;this.model=f,pp(M,this._controlValue)&&(this._controlValue=M,this.onTouched(),this.onChange(this._ngbDateAdapter.toModel(M))),pp(y,T)&&T&&f.focusVisible&&this.focus(),s.markForCheck()})}get state(){return this._publicState}get calendar(){return this._calendar}focusDate(e){this._service.focus(Sr.from(e))}focusSelect(){this._service.focusSelect()}focus(){this._ngZone.onStable.asObservable().pipe(ni(1)).subscribe(()=>{const e=this._elementRef.nativeElement.querySelector('div.ngb-dp-day[tabindex="0"]');e&&e.focus()})}navigateTo(e){this._service.open(Sr.from(e?e.day?e:{...e,day:1}:null))}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const e=wr(this._contentEl.nativeElement,"focusin"),i=wr(this._contentEl.nativeElement,"focusout"),{nativeElement:r}=this._elementRef;yd(e,i).pipe(zn(({target:o,relatedTarget:s})=>!(eG(o,"ngb-dp-day")&&eG(s,"ngb-dp-day")&&r.contains(o)&&r.contains(s))),Kn(this._destroyed$)).subscribe(({type:o})=>this._ngZone.run(()=>this._service.set({focusVisible:"focusin"===o})))})}ngOnDestroy(){this._destroyed$.next()}ngOnInit(){if(void 0===this.model){const e={};["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].forEach(i=>e[i]=this[i]),this._service.set(e),this.navigateTo(this.startDate)}this.dayTemplate||(this.dayTemplate=this._defaultDayTemplate)}ngOnChanges(e){const i={};if(["dayTemplateData","displayMonths","markDisabled","firstDayOfWeek","navigation","minDate","maxDate","outsideDays","weekdays"].filter(r=>r in e).forEach(r=>i[r]=this[r]),this._service.set(i),"startDate"in e){const{currentValue:r,previousValue:o}=e.startDate;fG(o,r)&&this.navigateTo(this.startDate)}}onDateSelect(e){this._service.focus(e),this._service.select(e,{emitEvent:!0})}onNavigateDateSelect(e){this._service.open(e)}onNavigateEvent(e){switch(e){case mp.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,"m",1));break;case mp.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,"m",1))}}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._service.set({disabled:e})}writeValue(e){this._controlValue=Sr.from(this._ngbDateAdapter.fromModel(e)),this._service.select(this._controlValue)}}return t.\u0275fac=function(e){return new(e||t)(V(nS),V(LD),V(Hu),V(iS),V(ar),V(Gt),V(rS),V(St))},t.\u0275cmp=Oe({type:t,selectors:[["ngb-datepicker"]],contentQueries:function(e,i,r){if(1&e&&pi(r,pG,7),2&e){let o;lt(o=ct())&&(i.contentTemplate=o.first)}},viewQuery:function(e,i){if(1&e&&(Ht(x6e,7),Ht(T6e,7)),2&e){let r;lt(r=ct())&&(i._defaultDayTemplate=r.first),lt(r=ct())&&(i._contentEl=r.first)}},hostVars:2,hostBindings:function(e,i){2&e&&Nt("disabled",i.model.disabled)},inputs:{dayTemplate:"dayTemplate",dayTemplateData:"dayTemplateData",displayMonths:"displayMonths",firstDayOfWeek:"firstDayOfWeek",footerTemplate:"footerTemplate",markDisabled:"markDisabled",maxDate:"maxDate",minDate:"minDate",navigation:"navigation",outsideDays:"outsideDays",showWeekNumbers:"showWeekNumbers",startDate:"startDate",weekdays:"weekdays"},outputs:{navigate:"navigate",dateSelect:"dateSelect"},exportAs:["ngbDatepicker"],standalone:!0,features:[En([{provide:rs,useExisting:dn(()=>t),multi:!0},nS]),ti,sr],decls:10,vars:5,consts:[["defaultDayTemplate",""],["defaultContentTemplate",""],[1,"ngb-dp-header"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select",4,"ngIf"],[1,"ngb-dp-content"],["content",""],[3,"ngTemplateOutlet"],["ngbDatepickerDayView","",3,"date","currentMonth","selected","disabled","focused"],["class","ngb-dp-month",4,"ngFor","ngForOf"],[1,"ngb-dp-month"],["class","ngb-dp-month-name",4,"ngIf"],[3,"month"],[1,"ngb-dp-month-name"],[3,"date","months","disabled","showSelect","prevDisabled","nextDisabled","selectBoxes","navigate","select"]],template:function(e,i){if(1&e&&(C(0,w6e,1,5,"ng-template",null,0,co),C(2,k6e,1,1,"ng-template",null,1,co),c(4,"div",2),C(5,A6e,1,7,"ngb-datepicker-navigation",3),u(),c(6,"div",4,5),C(8,R6e,0,0,"ng-template",6),u(),C(9,F6e,0,0,"ng-template",6)),2&e){const r=Oo(3);h(5),_("ngIf","none"!==i.navigation),h(1),Nt("ngb-dp-months",!i.contentTemplate),h(2),_("ngTemplateOutlet",(null==i.contentTemplate?null:i.contentTemplate.templateRef)||r),h(1),_("ngTemplateOutlet",i.footerTemplate)}},dependencies:[mt,Mt,Ka,g7e,oS,v7e],styles:["ngb-datepicker{border:1px solid var(--bs-border-color);border-radius:.25rem;display:inline-block}ngb-datepicker-month{pointer-events:auto}ngb-datepicker.dropdown-menu{padding:0}ngb-datepicker.disabled .ngb-dp-weekday,ngb-datepicker.disabled .ngb-dp-week-number,ngb-datepicker.disabled .ngb-dp-month-name{color:var(--bs-text-muted)}.ngb-dp-body{z-index:1055}.ngb-dp-header{border-bottom:0;border-radius:.25rem .25rem 0 0;padding-top:.25rem;background-color:var(--bs-light)}.ngb-dp-months{display:flex}.ngb-dp-month{pointer-events:none}.ngb-dp-month-name{font-size:larger;height:2rem;line-height:2rem;text-align:center;background-color:var(--bs-light)}.ngb-dp-month+.ngb-dp-month .ngb-dp-month-name,.ngb-dp-month+.ngb-dp-month .ngb-dp-week{padding-left:1rem}.ngb-dp-month:last-child .ngb-dp-week{padding-right:.25rem}.ngb-dp-month:first-child .ngb-dp-week{padding-left:.25rem}.ngb-dp-month .ngb-dp-week:last-child{padding-bottom:.25rem}\n"],encapsulation:2,changeDetection:0}),t})();typeof navigator<"u"&&navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));const _G=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function vG(t){const n=Array.from(t.querySelectorAll(_G)).filter(e=>-1!==e.tabIndex);return[n[0],n[n.length-1]]}new Date(1882,10,12),new Date(2174,10,25);let RG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[PD,oS]}),t})(),IG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({}),t})();class Yu{constructor(n,e,i){this.nodes=n,this.viewRef=e,this.componentRef=i}}let z7e=(()=>{class t{constructor(e,i){this._el=e,this._zone=i}ngOnInit(){this._zone.onStable.asObservable().pipe(ni(1)).subscribe(()=>{jr(this._zone,this._el.nativeElement,(e,i)=>{i&&fp(e),e.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return jr(this._zone,this._el.nativeElement,({classList:e})=>e.remove("show"),{animation:this.animation,runningTransition:"stop"})}}return t.\u0275fac=function(e){return new(e||t)(V(Gt),V(St))},t.\u0275cmp=Oe({type:t,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(e,i){2&e&&(xc("modal-backdrop"+(i.backdropClass?" "+i.backdropClass:"")),Nt("show",!i.animation)("fade",i.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!0,features:[sr],decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})();class LG{close(n){}dismiss(n){}}class $7e{constructor(n,e,i,r){this._windowCmptRef=n,this._contentRef=e,this._backdropCmptRef=i,this._beforeDismiss=r,this._closed=new vt,this._dismissed=new vt,this._hidden=new vt,n.instance.dismissEvent.subscribe(o=>{this.dismiss(o)}),this.result=new Promise((o,s)=>{this._resolve=o,this._reject=s}),this.result.then(null,()=>{})}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(Kn(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(Kn(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}close(n){this._windowCmptRef&&(this._closed.next(n),this._resolve(n),this._removeModalElements())}_dismiss(n){this._dismissed.next(n),this._reject(n),this._removeModalElements()}dismiss(n){if(this._windowCmptRef)if(this._beforeDismiss){const e=this._beforeDismiss();!function K7(t){return t&&t.then}(e)?!1!==e&&this._dismiss(n):e.then(i=>{!1!==i&&this._dismiss(n)},()=>{})}else this._dismiss(n)}_removeModalElements(){const n=this._windowCmptRef.instance.hide(),e=this._backdropCmptRef?this._backdropCmptRef.instance.hide():yt(void 0);n.subscribe(()=>{const{nativeElement:i}=this._windowCmptRef.location;i.parentNode.removeChild(i),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),e.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:i}=this._backdropCmptRef.location;i.parentNode.removeChild(i),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),wD(n,e).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var Y_=(()=>(function(t){t[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC"}(Y_||(Y_={})),Y_))();let q7e=(()=>{class t{constructor(e,i,r){this._document=e,this._elRef=i,this._zone=r,this._closed$=new vt,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new ht,this.shown=new vt,this.hidden=new vt}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":B_(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(e){this.dismissEvent.emit(e)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe(ni(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:e}=this._elRef,i={animation:this.animation,runningTransition:"stop"},s=wD(jr(this._zone,e,()=>e.classList.remove("show"),i),jr(this._zone,this._dialogEl.nativeElement,()=>{},i));return s.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),s}_show(){const e={animation:this.animation,runningTransition:"continue"};wD(jr(this._zone,this._elRef.nativeElement,(o,s)=>{s&&fp(o),o.classList.add("show")},e),jr(this._zone,this._dialogEl.nativeElement,()=>{},e)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:e}=this._elRef;this._zone.runOutsideAngular(()=>{wr(e,"keydown").pipe(Kn(this._closed$),zn(r=>r.which===wn.Escape)).subscribe(r=>{this.keyboard?requestAnimationFrame(()=>{r.defaultPrevented||this._zone.run(()=>this.dismiss(Y_.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let i=!1;wr(this._dialogEl.nativeElement,"mousedown").pipe(Kn(this._closed$),ji(()=>i=!1),na(()=>wr(e,"mouseup").pipe(Kn(this._closed$),ni(1))),zn(({target:r})=>e===r)).subscribe(()=>{i=!0}),wr(e,"click").pipe(Kn(this._closed$)).subscribe(({target:r})=>{e===r&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!i&&this._zone.run(()=>this.dismiss(Y_.BACKDROP_CLICK))),i=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:e}=this._elRef;if(!e.contains(document.activeElement)){const i=e.querySelector("[ngbAutofocus]"),r=vG(e)[0];(i||r||e).focus()}}_restoreFocus(){const e=this._document.body,i=this._elWithFocus;let r;r=i&&i.focus&&e.contains(i)?i:e,this._zone.runOutsideAngular(()=>{setTimeout(()=>r.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&jr(this._zone,this._elRef.nativeElement,({classList:e})=>(e.add("modal-static"),()=>e.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}}return t.\u0275fac=function(e){return new(e||t)(V(It),V(Gt),V(St))},t.\u0275cmp=Oe({type:t,selectors:[["ngb-modal-window"]],viewQuery:function(e,i){if(1&e&&Ht(N6e,7),2&e){let r;lt(r=ct())&&(i._dialogEl=r.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(e,i){2&e&&(Ot("aria-modal",!0)("aria-labelledby",i.ariaLabelledBy)("aria-describedby",i.ariaDescribedBy),xc("modal d-block"+(i.windowClass?" "+i.windowClass:"")),Nt("fade",i.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[sr],ngContentSelectors:RD,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(e,i){1&e&&(Zs(),c(0,"div",0,1)(2,"div",2),Vi(3),u()()),2&e&&xc("modal-dialog"+(i.size?" modal-"+i.size:"")+(i.centered?" modal-dialog-centered":"")+i.fullscreenClass+(i.scrollable?" modal-dialog-scrollable":"")+(i.modalDialogClass?" "+i.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2}),t})(),X7e=(()=>{class t{constructor(e){this._document=e}hide(){const e=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),i=this._document.body,r=i.style,{overflow:o,paddingRight:s}=r;if(e>0){const a=parseFloat(window.getComputedStyle(i).paddingRight);r.paddingRight=`${a+e}px`}return r.overflow="hidden",()=>{e>0&&(r.paddingRight=s),r.overflow=o}}}return t.\u0275fac=function(e){return new(e||t)(me(It))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Q7e=(()=>{class t{constructor(e,i,r,o,s,a,l){this._applicationRef=e,this._injector=i,this._environmentInjector=r,this._document=o,this._scrollBar=s,this._rendererFactory=a,this._ngZone=l,this._activeWindowCmptHasChanged=new vt,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._backdropAttributes=["animation","backdropClass"],this._modalRefs=[],this._windowAttributes=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],this._windowCmpts=[],this._activeInstances=new ht,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const d=this._windowCmpts[this._windowCmpts.length-1];((t,n,e,i=!1)=>{t.runOutsideAngular(()=>{const r=wr(n,"focusin").pipe(Kn(e),xt(o=>o.target));wr(n,"keydown").pipe(Kn(e),zn(o=>o.which===wn.Tab),HE(r)).subscribe(([o,s])=>{const[a,l]=vG(n);(s===a||s===n)&&o.shiftKey&&(l.focus(),o.preventDefault()),s===l&&!o.shiftKey&&(a.focus(),o.preventDefault())}),i&&wr(n,"click").pipe(Kn(e),HE(r),xt(o=>o[1])).subscribe(o=>o.focus())})})(this._ngZone,d.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(d.location.nativeElement)}})}_restoreScrollBar(){const e=this._scrollBarRestoreFn;e&&(this._scrollBarRestoreFn=null,e())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(e,i,r){const o=r.container instanceof HTMLElement?r.container:Bu(r.container)?this._document.querySelector(r.container):this._document.body,s=this._rendererFactory.createRenderer(null,null);if(!o)throw new Error(`The specified modal container "${r.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const a=new LG,l=(e=r.injector||e).get(Qs,null)||this._environmentInjector,d=this._getContentRef(e,l,i,a,r);let f=!1!==r.backdrop?this._attachBackdrop(o):void 0,m=this._attachWindowComponent(o,d.nodes),g=new $7e(m,d,f,r.beforeDismiss);return this._registerModalRef(g),this._registerWindowCmpt(m),g.hidden.pipe(ni(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(s.removeClass(this._document.body,"modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),a.close=b=>{g.close(b)},a.dismiss=b=>{g.dismiss(b)},this._applyWindowOptions(m.instance,r),1===this._modalRefs.length&&s.addClass(this._document.body,"modal-open"),f&&f.instance&&(this._applyBackdropOptions(f.instance,r),f.changeDetectorRef.detectChanges()),m.changeDetectorRef.detectChanges(),g}get activeInstances(){return this._activeInstances}dismissAll(e){this._modalRefs.forEach(i=>i.dismiss(e))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(e){let i=tx(z7e,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(i.hostView),e.appendChild(i.location.nativeElement),i}_attachWindowComponent(e,i){let r=tx(q7e,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:i});return this._applicationRef.attachView(r.hostView),e.appendChild(r.location.nativeElement),r}_applyWindowOptions(e,i){this._windowAttributes.forEach(r=>{Bu(i[r])&&(e[r]=i[r])})}_applyBackdropOptions(e,i){this._backdropAttributes.forEach(r=>{Bu(i[r])&&(e[r]=i[r])})}_getContentRef(e,i,r,o,s){return r?r instanceof Zn?this._createFromTemplateRef(r,o):B_(r)?this._createFromString(r):this._createFromComponent(e,i,r,o,s):new Yu([])}_createFromTemplateRef(e,i){const o=e.createEmbeddedView({$implicit:i,close(s){i.close(s)},dismiss(s){i.dismiss(s)}});return this._applicationRef.attachView(o),new Yu([o.rootNodes],o)}_createFromString(e){const i=this._document.createTextNode(`${e}`);return new Yu([[i]])}_createFromComponent(e,i,r,o,s){const l=tx(r,{environmentInjector:i,elementInjector:hi.create({providers:[{provide:LG,useValue:o}],parent:e})}),d=l.location.nativeElement;return s.scrollable&&d.classList.add("component-host-scrollable"),this._applicationRef.attachView(l.hostView),new Yu([[d]],l.hostView,l)}_setAriaHidden(e){const i=e.parentElement;i&&e!==this._document.body&&(Array.from(i.children).forEach(r=>{r!==e&&"SCRIPT"!==r.nodeName&&(this._ariaHiddenValues.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}),this._setAriaHidden(i))}_revertAriaHidden(){this._ariaHiddenValues.forEach((e,i)=>{e?i.setAttribute("aria-hidden",e):i.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(e){const i=()=>{const r=this._modalRefs.indexOf(e);r>-1&&(this._modalRefs.splice(r,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(e),this._activeInstances.emit(this._modalRefs),e.result.then(i,i)}_registerWindowCmpt(e){this._windowCmpts.push(e),this._activeWindowCmptHasChanged.next(),e.onDestroy(()=>{const i=this._windowCmpts.indexOf(e);i>-1&&(this._windowCmpts.splice(i,1),this._activeWindowCmptHasChanged.next())})}}return t.\u0275fac=function(e){return new(e||t)(me(Wd),me(hi),me(Qs),me(It),me(X7e),me(Vf),me(St))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),J7e=(()=>{class t{constructor(e){this._ngbConfig=e,this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return t.\u0275fac=function(e){return new(e||t)(me(hp))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Z7e=(()=>{class t{constructor(e,i,r){this._injector=e,this._modalStack=i,this._config=r}open(e,i={}){const r={...this._config,animation:this._config.animation,...i};return this._modalStack.open(this._injector,e,r)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(e){this._modalStack.dismissAll(e)}hasOpenModals(){return this._modalStack.hasOpenModals()}}return t.\u0275fac=function(e){return new(e||t)(me(hi),me(Q7e),me(J7e))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),PG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({providers:[Z7e]}),t})();const tGe=({classList:t})=>(t.remove("show"),()=>t.remove("active")),nGe=(t,n)=>{n&&fp(t),t.classList.add("show")};let uS=(()=>{class t{constructor(e){this.elRef=e}}return t.\u0275fac=function(e){return new(e||t)(V(Gt))},t.\u0275dir=je({type:t,selectors:[["","ngbNavPane",""]],hostAttrs:[1,"tab-pane"],hostVars:5,hostBindings:function(e,i){2&e&&(Il("id",i.item.panelDomId),Ot("role",i.role?i.role:i.nav.roles?"tabpanel":void 0)("aria-labelledby",i.item.domId),Nt("fade",i.nav.animation))},inputs:{item:"item",nav:"nav",role:"role"},standalone:!0}),t})(),GG=(()=>{class t{constructor(e,i){this._cd=e,this._ngZone=i,this._activePane=null}isPanelTransitioning(e){return this._activePane?.item===e}ngAfterViewInit(){this._updateActivePane(),this.nav.navItemChange$.pipe(Kn(this.nav.destroy$),el(this._activePane?.item||null),Bh(),N2(1)).subscribe(e=>{const i={animation:this.nav.animation,runningTransition:"stop"};this._cd.detectChanges(),this._activePane?jr(this._ngZone,this._activePane.elRef.nativeElement,tGe,i).subscribe(()=>{const r=this._activePane?.item;this._activePane=this._getPaneForItem(e),this._cd.markForCheck(),this._activePane&&(this._activePane.elRef.nativeElement.classList.add("active"),jr(this._ngZone,this._activePane.elRef.nativeElement,nGe,i).subscribe(()=>{e&&(e.shown.emit(),this.nav.shown.emit(e.id))})),r&&(r.hidden.emit(),this.nav.hidden.emit(r.id))}):this._updateActivePane()})}_updateActivePane(){this._activePane=this._getActivePane(),this._activePane?.elRef.nativeElement.classList.add("show"),this._activePane?.elRef.nativeElement.classList.add("active")}_getPaneForItem(e){return this._panes&&this._panes.find(i=>i.item===e)||null}_getActivePane(){return this._panes&&this._panes.find(e=>e.item.active)||null}}return t.\u0275fac=function(e){return new(e||t)(V(ar),V(St))},t.\u0275cmp=Oe({type:t,selectors:[["","ngbNavOutlet",""]],viewQuery:function(e,i){if(1&e&&Ht(uS,5),2&e){let r;lt(r=ct())&&(i._panes=r)}},hostVars:2,hostBindings:function(e,i){2&e&&Nt("tab-content",!0)},inputs:{paneRole:"paneRole",nav:["ngbNavOutlet","nav"]},standalone:!0,features:[sr],attrs:O6e,decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],["ngbNavPane","",3,"item","nav","role",4,"ngIf"],["ngbNavPane","",3,"item","nav","role"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&C(0,B6e,1,1,"ng-template",0),2&e&&_("ngForOf",i.nav.items)},dependencies:[uS,Mt,mt,Ka],encapsulation:2,changeDetection:0}),t})(),jG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[GG]}),t})(),iGe=(()=>{class t{constructor(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),YG=(()=>{class t{constructor(e){this.templateRef=e}}return t.\u0275fac=function(e){return new(e||t)(V(Zn))},t.\u0275dir=je({type:t,selectors:[["ng-template","ngbPaginationEllipsis",""]],standalone:!0}),t})(),UG=(()=>{class t{constructor(e){this.templateRef=e}}return t.\u0275fac=function(e){return new(e||t)(V(Zn))},t.\u0275dir=je({type:t,selectors:[["ng-template","ngbPaginationFirst",""]],standalone:!0}),t})(),WG=(()=>{class t{constructor(e){this.templateRef=e}}return t.\u0275fac=function(e){return new(e||t)(V(Zn))},t.\u0275dir=je({type:t,selectors:[["ng-template","ngbPaginationLast",""]],standalone:!0}),t})(),zG=(()=>{class t{constructor(e){this.templateRef=e}}return t.\u0275fac=function(e){return new(e||t)(V(Zn))},t.\u0275dir=je({type:t,selectors:[["ng-template","ngbPaginationNext",""]],standalone:!0}),t})(),$G=(()=>{class t{constructor(e){this.templateRef=e}}return t.\u0275fac=function(e){return new(e||t)(V(Zn))},t.\u0275dir=je({type:t,selectors:[["ng-template","ngbPaginationNumber",""]],standalone:!0}),t})(),qG=(()=>{class t{constructor(e){this.templateRef=e}}return t.\u0275fac=function(e){return new(e||t)(V(Zn))},t.\u0275dir=je({type:t,selectors:[["ng-template","ngbPaginationPrevious",""]],standalone:!0}),t})(),XG=(()=>{class t{constructor(e){this.templateRef=e}}return t.\u0275fac=function(e){return new(e||t)(V(Zn))},t.\u0275dir=je({type:t,selectors:[["ng-template","ngbPaginationPages",""]],standalone:!0}),t})(),QG=(()=>{class t{constructor(e){this.pageCount=0,this.pages=[],this.page=1,this.pageChange=new ht(!0),this.disabled=e.disabled,this.boundaryLinks=e.boundaryLinks,this.directionLinks=e.directionLinks,this.ellipses=e.ellipses,this.maxSize=e.maxSize,this.pageSize=e.pageSize,this.rotate=e.rotate,this.size=e.size}hasPrevious(){return this.page>1}hasNext(){return this.page<this.pageCount}nextDisabled(){return!this.hasNext()||this.disabled}previousDisabled(){return!this.hasPrevious()||this.disabled}selectPage(e){this._updatePages(e)}ngOnChanges(e){this._updatePages(this.page)}isEllipsis(e){return-1===e}_applyEllipses(e,i){this.ellipses&&(e>0&&(e>2?this.pages.unshift(-1):2===e&&this.pages.unshift(2),this.pages.unshift(1)),i<this.pageCount&&(i<this.pageCount-2?this.pages.push(-1):i===this.pageCount-2&&this.pages.push(this.pageCount-1),this.pages.push(this.pageCount)))}_applyRotation(){let e=0,i=this.pageCount,r=Math.floor(this.maxSize/2);return this.page<=r?i=this.maxSize:this.pageCount-this.page<r?e=this.pageCount-this.maxSize:(e=this.page-r-1,i=this.page+(this.maxSize%2==0?r-1:r)),[e,i]}_applyPagination(){let i=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[i,i+this.maxSize]}_setPageInRange(e){const i=this.page;this.page=FD(e,this.pageCount,1),this.page!==i&&Zi(this.collectionSize)&&this.pageChange.emit(this.page)}_updatePages(e){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),Zi(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(let i=1;i<=this.pageCount;i++)this.pages.push(i);if(this._setPageInRange(e),this.maxSize>0&&this.pageCount>this.maxSize){let i=0,r=this.pageCount;[i,r]=this.rotate?this._applyRotation():this._applyPagination(),this.pages=this.pages.slice(i,r),this._applyEllipses(i,r)}}}return t.\u0275fac=function(e){return new(e||t)(V(iGe))},t.\u0275cmp=Oe({type:t,selectors:[["ngb-pagination"]],contentQueries:function(e,i,r){if(1&e&&(pi(r,YG,5),pi(r,UG,5),pi(r,WG,5),pi(r,zG,5),pi(r,$G,5),pi(r,qG,5),pi(r,XG,5)),2&e){let o;lt(o=ct())&&(i.tplEllipsis=o.first),lt(o=ct())&&(i.tplFirst=o.first),lt(o=ct())&&(i.tplLast=o.first),lt(o=ct())&&(i.tplNext=o.first),lt(o=ct())&&(i.tplNumber=o.first),lt(o=ct())&&(i.tplPrevious=o.first),lt(o=ct())&&(i.tplPages=o.first)}},hostAttrs:["role","navigation"],inputs:{disabled:"disabled",boundaryLinks:"boundaryLinks",directionLinks:"directionLinks",ellipses:"ellipses",rotate:"rotate",collectionSize:"collectionSize",maxSize:"maxSize",page:"page",pageSize:"pageSize",size:"size"},outputs:{pageChange:"pageChange"},standalone:!0,features:[ti,sr],decls:20,vars:12,consts:function(){let n,e,i,r,o,s,a,l;return n=$localize`:@@ngb.pagination.first:««`,e=$localize`:@@ngb.pagination.previous:«`,i=$localize`:@@ngb.pagination.next:»`,r=$localize`:@@ngb.pagination.last:»»`,o=$localize`:@@ngb.pagination.first-aria:First`,s=$localize`:@@ngb.pagination.previous-aria:Previous`,a=$localize`:@@ngb.pagination.next-aria:Next`,l=$localize`:@@ngb.pagination.last-aria:Last`,[["first",""],["previous",""],["next",""],["last",""],["ellipsis",""],["defaultNumber",""],["defaultPages",""],["class","page-item",3,"disabled",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true"],n,e,i,r,["class","visually-hidden",4,"ngIf"],[1,"visually-hidden"],["class","page-item",3,"active","disabled",4,"ngFor","ngForOf"],[1,"page-item"],["class","page-link","tabindex","-1","aria-disabled","true",4,"ngIf"],["class","page-link","href","",3,"click",4,"ngIf"],["tabindex","-1","aria-disabled","true",1,"page-link"],["href","",1,"page-link",3,"click"],["aria-label",o,"href","",1,"page-link",3,"click"],["aria-label",s,"href","",1,"page-link",3,"click"],["aria-label",a,"href","",1,"page-link",3,"click"],["aria-label",l,"href","",1,"page-link",3,"click"]]},template:function(e,i){if(1&e&&(C(0,V6e,2,0,"ng-template",null,0,co),C(2,H6e,2,0,"ng-template",null,1,co),C(4,G6e,2,0,"ng-template",null,2,co),C(6,j6e,2,0,"ng-template",null,3,co),C(8,Y6e,1,0,"ng-template",null,4,co),C(10,W6e,2,2,"ng-template",null,5,co),C(12,K6e,1,1,"ng-template",null,6,co),c(14,"ul"),C(15,tHe,3,9,"li",7),C(16,rHe,3,8,"li",7),C(17,oHe,0,0,"ng-template",8),C(18,aHe,3,9,"li",7),C(19,cHe,3,9,"li",7),u()),2&e){const r=Oo(13);h(14),xc("pagination"+(i.size?" pagination-"+i.size:"")),h(1),_("ngIf",i.boundaryLinks),h(1),_("ngIf",i.directionLinks),h(1),_("ngTemplateOutlet",(null==i.tplPages?null:i.tplPages.templateRef)||r)("ngTemplateOutletContext",kC(8,dHe,i.page,i.pages,i.disabled)),h(1),_("ngIf",i.directionLinks),h(1),_("ngIf",i.boundaryLinks)}},dependencies:[mt,Mt,Ka],encapsulation:2,changeDetection:0}),t})(),JG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[QG]}),t})(),KG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({}),t})(),cGe=(()=>{class t{constructor(){this.max=100,this.animated=!1,this.ariaLabel="progress bar",this.striped=!1,this.showValue=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),dGe=(()=>{class t{constructor(e){this.value=0,this.max=e.max,this.animated=e.animated,this.ariaLabel=e.ariaLabel,this.striped=e.striped,this.textType=e.textType,this.type=e.type,this.showValue=e.showValue,this.height=e.height}set max(e){this._max=!Zi(e)||e<=0?100:e}get max(){return this._max}getValue(){return FD(this.value,this.max)}getPercentValue(){return 100*this.getValue()/this.max}}return t.\u0275fac=function(e){return new(e||t)(V(cGe))},t.\u0275cmp=Oe({type:t,selectors:[["ngb-progressbar"]],hostAttrs:["role","progressbar","aria-valuemin","0",1,"progress"],hostVars:5,hostBindings:function(e,i){2&e&&(Ot("aria-valuenow",i.getValue())("aria-valuemax",i.max)("aria-label",i.ariaLabel),ws("height",i.height))},inputs:{max:"max",animated:"animated",ariaLabel:"ariaLabel",striped:"striped",showValue:"showValue",textType:"textType",type:"type",value:"value",height:"height"},standalone:!0,features:[sr],ngContentSelectors:RD,decls:3,vars:11,consts:function(){let n;return n=$localize`:@@ngb.progressbar.value:${"\ufffd0\ufffd"}:INTERPOLATION:`,[[4,"ngIf"],n]},template:function(e,i){1&e&&(Zs(),c(0,"div"),C(1,hHe,3,3,"span",0),Vi(2),u()),2&e&&(function GR(t,n,e,i,r){Sa(Cs,Za,Wf(Ge(),t,n,e,i,r),!0)}("progress-bar",i.type?i.textType?" bg-"+i.type:" text-bg-"+i.type:"","",i.textType?" text-"+i.textType:"",""),ws("width",i.getPercentValue(),"%"),Nt("progress-bar-animated",i.animated)("progress-bar-striped",i.striped),h(1),_("ngIf",i.showValue))},dependencies:[mt,dO],encapsulation:2,changeDetection:0}),t})(),e9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[dGe]}),t})(),uGe=(()=>{class t{constructor(){this.max=10,this.readonly=!1,this.resettable=!1,this.tabindex=0}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),fGe=(()=>{class t{constructor(e,i){this._changeDetectorRef=i,this.contexts=[],this.disabled=!1,this.hover=new ht,this.leave=new ht,this.rateChange=new ht(!0),this.onChange=r=>{},this.onTouched=()=>{},this.max=e.max,this.readonly=e.readonly,this.tabindex=e.tabindex}ariaValueText(){return`${this.nextRate} out of ${this.max}`}isInteractive(){return!this.readonly&&!this.disabled}enter(e){this.isInteractive()&&this._updateState(e),this.hover.emit(e)}handleBlur(){this.onTouched()}handleClick(e){this.isInteractive()&&this.update(this.resettable&&this.rate===e?0:e)}handleKeyDown(e){switch(e.which){case wn.ArrowDown:case wn.ArrowLeft:this.update(this.rate-1);break;case wn.ArrowUp:case wn.ArrowRight:this.update(this.rate+1);break;case wn.Home:this.update(0);break;case wn.End:this.update(this.max);break;default:return}e.preventDefault()}ngOnChanges(e){e.rate&&this.update(this.rate),e.max&&this._updateMax()}ngOnInit(){this._setupContexts(),this._updateState(this.rate)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}reset(){this.leave.emit(this.nextRate),this._updateState(this.rate)}setDisabledState(e){this.disabled=e}update(e,i=!0){const r=FD(e,this.max,0);this.isInteractive()&&this.rate!==r&&(this.rate=r,this.rateChange.emit(this.rate)),i&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)}writeValue(e){this.update(e,!1),this._changeDetectorRef.markForCheck()}_updateState(e){this.nextRate=e,this.contexts.forEach((i,r)=>i.fill=Math.round(100*FD(e-r,1,0)))}_updateMax(){this.max>0&&(this._setupContexts(),this.update(this.rate))}_setupContexts(){this.contexts=Array.from({length:this.max},(e,i)=>({fill:0,index:i}))}}return t.\u0275fac=function(e){return new(e||t)(V(uGe),V(ar))},t.\u0275cmp=Oe({type:t,selectors:[["ngb-rating"]],contentQueries:function(e,i,r){if(1&e&&pi(r,Zn,5),2&e){let o;lt(o=ct())&&(i.starTemplateFromContent=o.first)}},hostAttrs:["role","slider","aria-valuemin","0",1,"d-inline-flex"],hostVars:5,hostBindings:function(e,i){1&e&&R("blur",function(){return i.handleBlur()})("keydown",function(o){return i.handleKeyDown(o)})("mouseleave",function(){return i.reset()}),2&e&&(Il("tabindex",i.disabled?-1:i.tabindex),Ot("aria-valuemax",i.max)("aria-valuenow",i.nextRate)("aria-valuetext",i.ariaValueText())("aria-disabled",!!i.readonly||null))},inputs:{max:"max",rate:"rate",readonly:"readonly",resettable:"resettable",starTemplate:"starTemplate",tabindex:"tabindex"},outputs:{hover:"hover",leave:"leave",rateChange:"rateChange"},standalone:!0,features:[En([{provide:rs,useExisting:dn(()=>t),multi:!0}]),ti,sr],decls:3,vars:1,consts:[["t",""],["ngFor","",3,"ngForOf"],[1,"visually-hidden"],[3,"mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&(C(0,pHe,1,1,"ng-template",null,0,co),C(2,gHe,4,5,"ng-template",1)),2&e&&(h(2),_("ngForOf",i.contexts))},dependencies:[Mt,Ka],encapsulation:2,changeDetection:0}),t})(),t9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[fGe]}),t})();class n9{constructor(n,e,i){this.hour=to(n),this.minute=to(e),this.second=to(i)}changeHour(n=1){this.updateHour((isNaN(this.hour)?0:this.hour)+n)}updateHour(n){this.hour=Zi(n)?(n<0?24+n:n)%24:NaN}changeMinute(n=1){this.updateMinute((isNaN(this.minute)?0:this.minute)+n)}updateMinute(n){Zi(n)?(this.minute=n%60<0?60+n%60:n%60,this.changeHour(Math.floor(n/60))):this.minute=NaN}changeSecond(n=1){this.updateSecond((isNaN(this.second)?0:this.second)+n)}updateSecond(n){Zi(n)?(this.second=n<0?60+n%60:n%60,this.changeMinute(Math.floor(n/60))):this.second=NaN}isValid(n=!0){return Zi(this.hour)&&Zi(this.minute)&&(!n||Zi(this.second))}toString(){return`${this.hour||0}:${this.minute||0}:${this.second||0}`}}let hGe=(()=>{class t{constructor(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size="medium"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),i9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:function(){return function pGe(){return new mGe}()},providedIn:"root"}),t})(),mGe=(()=>{class t extends i9{fromModel(e){return e&&Li(e.hour)&&Li(e.minute)?{hour:e.hour,minute:e.minute,second:Li(e.second)?e.second:null}:null}toModel(e){return e&&Li(e.hour)&&Li(e.minute)?{hour:e.hour,minute:e.minute,second:Li(e.second)?e.second:null}:null}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=wi(t)))(i||t)}}(),t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})(),r9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Pe({token:t,factory:function(e){let i=null;return i=e?new e:function gGe(t){return new _Ge(t)}(me(ts)),i},providedIn:"root"}),t})(),_Ge=(()=>{class t extends r9{constructor(e){super(),this._periods=zN(e,mi.Standalone,Kt.Narrow)}getMorningPeriod(){return this._periods[0]}getAfternoonPeriod(){return this._periods[1]}}return t.\u0275fac=function(e){return new(e||t)(me(ts))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})();const vGe=/[^0-9]/g;let bGe=(()=>{class t{constructor(e,i,r,o){this._config=e,this._ngbTimeAdapter=i,this._cd=r,this.i18n=o,this.onChange=s=>{},this.onTouched=()=>{},this.meridian=e.meridian,this.spinners=e.spinners,this.seconds=e.seconds,this.hourStep=e.hourStep,this.minuteStep=e.minuteStep,this.secondStep=e.secondStep,this.disabled=e.disabled,this.readonlyInputs=e.readonlyInputs,this.size=e.size}set hourStep(e){this._hourStep=Li(e)?e:this._config.hourStep}get hourStep(){return this._hourStep}set minuteStep(e){this._minuteStep=Li(e)?e:this._config.minuteStep}get minuteStep(){return this._minuteStep}set secondStep(e){this._secondStep=Li(e)?e:this._config.secondStep}get secondStep(){return this._secondStep}writeValue(e){const i=this._ngbTimeAdapter.fromModel(e);this.model=i?new n9(i.hour,i.minute,i.second):new n9,!this.seconds&&(!i||!Zi(i.second))&&(this.model.second=0),this._cd.markForCheck()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e}changeHour(e){this.model?.changeHour(e),this.propagateModelChange()}changeMinute(e){this.model?.changeMinute(e),this.propagateModelChange()}changeSecond(e){this.model?.changeSecond(e),this.propagateModelChange()}updateHour(e){const i=!!this.model&&this.model.hour>=12,r=to(e);this.model?.updateHour(this.meridian&&(i&&r<12||!i&&12===r)?r+12:r),this.propagateModelChange()}updateMinute(e){this.model?.updateMinute(to(e)),this.propagateModelChange()}updateSecond(e){this.model?.updateSecond(to(e)),this.propagateModelChange()}toggleMeridian(){this.meridian&&this.changeHour(12)}formatInput(e){e.value=e.value.replace(vGe,"")}formatHour(e){return Zi(e)?up(this.meridian?e%12==0?12:e%12:e%24):up(NaN)}formatMinSec(e){return up(Zi(e)?e:NaN)}handleBlur(){this.onTouched()}get isSmallSize(){return"small"===this.size}get isLargeSize(){return"large"===this.size}ngOnChanges(e){e.seconds&&!this.seconds&&this.model&&!Zi(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))}propagateModelChange(e=!0){e&&this.onTouched(),this.model?.isValid(this.seconds)?this.onChange(this._ngbTimeAdapter.toModel({hour:this.model.hour,minute:this.model.minute,second:this.model.second})):this.onChange(this._ngbTimeAdapter.toModel(null))}}return t.\u0275fac=function(e){return new(e||t)(V(hGe),V(i9),V(ar),V(r9))},t.\u0275cmp=Oe({type:t,selectors:[["ngb-timepicker"]],inputs:{meridian:"meridian",spinners:"spinners",seconds:"seconds",hourStep:"hourStep",minuteStep:"minuteStep",secondStep:"secondStep",readonlyInputs:"readonlyInputs",size:"size"},exportAs:["ngbTimepicker"],standalone:!0,features:[En([{provide:rs,useExisting:dn(()=>t),multi:!0}]),ti,sr],decls:16,vars:25,consts:function(){let n,e,i,r,o,s,a,l,d,f,m,g,b,M;return n=$localize`:@@ngb.timepicker.HH:HH`,e=$localize`:@@ngb.timepicker.hours:Hours`,i=$localize`:@@ngb.timepicker.MM:MM`,r=$localize`:@@ngb.timepicker.minutes:Minutes`,o=$localize`:@@ngb.timepicker.increment-hours:Increment hours`,s=$localize`:@@ngb.timepicker.decrement-hours:Decrement hours`,a=$localize`:@@ngb.timepicker.increment-minutes:Increment minutes`,l=$localize`:@@ngb.timepicker.decrement-minutes:Decrement minutes`,d=$localize`:@@ngb.timepicker.SS:SS`,f=$localize`:@@ngb.timepicker.seconds:Seconds`,m=$localize`:@@ngb.timepicker.increment-seconds:Increment seconds`,g=$localize`:@@ngb.timepicker.decrement-seconds:Decrement seconds`,b=$localize`:@@ngb.timepicker.PM:${"\ufffd0\ufffd"}:INTERPOLATION:`,M=$localize`:@@ngb.timepicker.AM:${"\ufffd0\ufffd"}:INTERPOLATION:`,[[3,"disabled"],[1,"ngb-tp"],[1,"ngb-tp-input-container","ngb-tp-hour"],["tabindex","-1","type","button","class","btn btn-link",3,"btn-sm","btn-lg","disabled","click",4,"ngIf"],["type","text","maxlength","2","inputmode","numeric","placeholder",n,"aria-label",e,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],[1,"ngb-tp-spacer"],[1,"ngb-tp-input-container","ngb-tp-minute"],["type","text","maxlength","2","inputmode","numeric","placeholder",i,"aria-label",r,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],["class","ngb-tp-spacer",4,"ngIf"],["class","ngb-tp-input-container ngb-tp-second",4,"ngIf"],["class","ngb-tp-meridian",4,"ngIf"],["tabindex","-1","type","button",1,"btn","btn-link",3,"disabled","click"],[1,"chevron","ngb-tp-chevron"],[1,"visually-hidden"],o,[1,"chevron","ngb-tp-chevron","bottom"],s,a,l,[1,"ngb-tp-input-container","ngb-tp-second"],["type","text","maxlength","2","inputmode","numeric","placeholder",d,"aria-label",f,1,"ngb-tp-input","form-control",3,"value","readOnly","disabled","change","blur","input","keydown.ArrowUp","keydown.ArrowDown"],m,g,[1,"ngb-tp-meridian"],["type","button",1,"btn","btn-outline-primary",3,"disabled","click"],[4,"ngIf","ngIfElse"],["am",""],b,M]},template:function(e,i){1&e&&(c(0,"fieldset",0)(1,"div",1)(2,"div",2),C(3,_He,4,7,"button",3),c(4,"input",4),R("change",function(o){return i.updateHour(o.target.value)})("blur",function(){return i.handleBlur()})("input",function(o){return i.formatInput(o.target)})("keydown.ArrowUp",function(o){return i.changeHour(i.hourStep),o.preventDefault()})("keydown.ArrowDown",function(o){return i.changeHour(-i.hourStep),o.preventDefault()}),u(),C(5,vHe,4,7,"button",3),u(),c(6,"div",5),p(7,":"),u(),c(8,"div",6),C(9,bHe,4,7,"button",3),c(10,"input",7),R("change",function(o){return i.updateMinute(o.target.value)})("blur",function(){return i.handleBlur()})("input",function(o){return i.formatInput(o.target)})("keydown.ArrowUp",function(o){return i.changeMinute(i.minuteStep),o.preventDefault()})("keydown.ArrowDown",function(o){return i.changeMinute(-i.minuteStep),o.preventDefault()}),u(),C(11,DHe,4,7,"button",3),u(),C(12,yHe,2,0,"div",8),C(13,xHe,4,9,"div",9),C(14,THe,1,0,"div",8),C(15,SHe,5,9,"div",10),u()()),2&e&&(Nt("disabled",i.disabled),_("disabled",i.disabled),h(3),_("ngIf",i.spinners),h(1),Nt("form-control-sm",i.isSmallSize)("form-control-lg",i.isLargeSize),_("value",i.formatHour(null==i.model?null:i.model.hour))("readOnly",i.readonlyInputs)("disabled",i.disabled),h(1),_("ngIf",i.spinners),h(4),_("ngIf",i.spinners),h(1),Nt("form-control-sm",i.isSmallSize)("form-control-lg",i.isLargeSize),_("value",i.formatMinSec(null==i.model?null:i.model.minute))("readOnly",i.readonlyInputs)("disabled",i.disabled),h(1),_("ngIf",i.spinners),h(1),_("ngIf",i.seconds),h(1),_("ngIf",i.seconds),h(1),_("ngIf",i.meridian),h(1),_("ngIf",i.meridian))},dependencies:[mt],styles:['ngb-timepicker{font-size:1rem}.ngb-tp{display:flex;align-items:center}.ngb-tp-input-container{width:4em}.ngb-tp-chevron:before{border-style:solid;border-width:.29em .29em 0 0;content:"";display:inline-block;height:.69em;left:.05em;position:relative;top:.15em;transform:rotate(-45deg);vertical-align:middle;width:.69em}.ngb-tp-chevron.bottom:before{top:-.3em;transform:rotate(135deg)}.ngb-tp-input{text-align:center}.ngb-tp-hour,.ngb-tp-minute,.ngb-tp-second,.ngb-tp-meridian{display:flex;flex-direction:column;align-items:center;justify-content:space-around}.ngb-tp-spacer{width:1em;text-align:center}\n'],encapsulation:2}),t})(),o9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[bGe]}),t})();const DGe=(t,n)=>{const{classList:e}=t;if(n)return e.add("fade"),fp(t),e.add("show","showing"),()=>{e.remove("showing")};e.add("show")},yGe=({classList:t})=>(t.add("showing"),()=>{t.remove("show","showing")});let MGe=(()=>{class t{constructor(e){this._ngbConfig=e,this.autohide=!0,this.delay=5e3,this.ariaLive="polite"}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return t.\u0275fac=function(e){return new(e||t)(me(hp))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),CGe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=je({type:t,selectors:[["","ngbToastHeader",""]],standalone:!0}),t})(),xGe=(()=>{class t{constructor(e,i,r,o){this.ariaLive=e,this._zone=r,this._element=o,this.contentHeaderTpl=null,this.shown=new ht,this.hidden=new ht,null==this.ariaLive&&(this.ariaLive=i.ariaLive),this.delay=i.delay,this.autohide=i.autohide,this.animation=i.animation}ngAfterContentInit(){this._zone.onStable.asObservable().pipe(ni(1)).subscribe(()=>{this._init(),this.show()})}ngOnChanges(e){"autohide"in e&&(this._clearTimeout(),this._init())}hide(){this._clearTimeout();const e=jr(this._zone,this._element.nativeElement,yGe,{animation:this.animation,runningTransition:"stop"});return e.subscribe(()=>{this.hidden.emit()}),e}show(){const e=jr(this._zone,this._element.nativeElement,DGe,{animation:this.animation,runningTransition:"continue"});return e.subscribe(()=>{this.shown.emit()}),e}_init(){this.autohide&&!this._timeoutID&&(this._timeoutID=setTimeout(()=>this.hide(),this.delay))}_clearTimeout(){this._timeoutID&&(clearTimeout(this._timeoutID),this._timeoutID=null)}}return t.\u0275fac=function(e){return new(e||t)(yc("aria-live"),V(MGe),V(St),V(Gt))},t.\u0275cmp=Oe({type:t,selectors:[["ngb-toast"]],contentQueries:function(e,i,r){if(1&e&&pi(r,CGe,7,Zn),2&e){let o;lt(o=ct())&&(i.contentHeaderTpl=o.first)}},hostAttrs:["role","alert","aria-atomic","true",1,"toast"],hostVars:3,hostBindings:function(e,i){2&e&&(Ot("aria-live",i.ariaLive),Nt("fade",i.animation))},inputs:{animation:"animation",delay:"delay",autohide:"autohide",header:"header"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbToast"],standalone:!0,features:[ti,sr],ngContentSelectors:RD,decls:5,vars:1,consts:function(){let n;return n=$localize`:@@ngb.toast.close-aria:Close`,[["headerTpl",""],[3,"ngIf"],[1,"toast-body"],[1,"me-auto"],[1,"toast-header"],[3,"ngTemplateOutlet"],["type","button","aria-label",n,1,"btn-close",3,"click"]]},template:function(e,i){1&e&&(Zs(),C(0,kHe,2,1,"ng-template",null,0,co),C(2,RHe,3,1,"ng-template",1),c(3,"div",2),Vi(4),u()),2&e&&(h(2),_("ngIf",i.contentHeaderTpl||i.header))},dependencies:[mt,Ka],styles:["ngb-toast{display:block}ngb-toast .toast-header .close{margin-left:auto;margin-bottom:.25rem}\n"],encapsulation:2}),t})(),s9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[xGe]}),t})(),a9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({}),t})(),TGe=(()=>{class t{constructor(){this.highlightClass="ngb-highlight",this.accentSensitive=!0}ngOnChanges(e){!this.accentSensitive&&!String.prototype.normalize&&(console.warn("The `accentSensitive` input in `ngb-highlight` cannot be set to `false` in a browser that does not implement the `String.normalize` function. You will have to include a polyfill in your application to use this feature in the current browser."),this.accentSensitive=!0);const i=Z7(this.result),r=Array.isArray(this.term)?this.term:[this.term],o=d=>this.accentSensitive?d:tG(d),s=r.map(d=>function PHe(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(o(Z7(d)))).filter(d=>d),a=this.accentSensitive?i:tG(i),l=s.length?a.split(new RegExp(`(${s.join("|")})`,"gmi")):[i];if(this.accentSensitive)this.parts=l;else{let d=0;this.parts=l.map(f=>i.substring(d,d+=f.length))}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Oe({type:t,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term",accentSensitive:"accentSensitive"},standalone:!0,features:[ti,sr],decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],[3,"class",4,"ngIf","ngIfElse"],["even",""]],template:function(e,i){1&e&&C(0,OHe,3,2,"ng-template",0),2&e&&_("ngForOf",i.parts)},dependencies:[mt,Mt],styles:[".ngb-highlight{font-weight:700}\n"],encapsulation:2,changeDetection:0}),t})();new $e("live announcer delay",{providedIn:"root",factory:function wGe(){return 100}});let l9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[TGe]}),t})(),c9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({}),t})();const EGe=[aG,lG,dG,uG,RG,IG,PG,jG,c9,JG,KG,e9,t9,o9,s9,a9,l9];let SGe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[EGe,aG,lG,dG,uG,RG,IG,PG,jG,c9,JG,KG,e9,t9,o9,s9,a9,l9]}),t})(),kGe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[vi,vi]}),t})(),FGe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[s5,vi,s5,vi]}),t})(),KGe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[vi,qd,vi]}),t})(),t9e=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[qd,vi,db,db,vi]}),t})(),a9e=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({imports:[vi,vi]}),t})();function l9e(t,n){}class zD{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let m9=(()=>{class t extends ob{constructor(e,i,r,o,s,a,l,d){super(),this._elementRef=e,this._focusTrapFactory=i,this._config=o,this._interactivityChecker=s,this._ngZone=a,this._overlayRef=l,this._focusMonitor=d,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=f=>{this._portalOutlet.hasAttached();const m=this._portalOutlet.attachDomPortal(f);return this._contentAttached(),m},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=r}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),i}attachTemplatePortal(e){this._portalOutlet.hasAttached();const i=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let i=null;if("string"==typeof e?i=this._document.querySelector(e):"boolean"==typeof e?i=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(i=e),this._config.restoreFocus&&i&&"function"==typeof i.focus){const r=k2(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,i=k2();return e===i||e.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=k2())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return t.\u0275fac=function(e){return new(e||t)(V(Gt),V(P2),V(It,8),V(zD),V(nb),V(St),V(Xg),V(Gg))},t.\u0275cmp=Oe({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(e,i){if(1&e&&Ht(Yh,7),2&e){let r;lt(r=ct())&&(i._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,i){2&e&&Ot("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[Qt],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&C(0,l9e,0,0,"ng-template",0)},dependencies:[Yh],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),t})();class hS{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new vt,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!Qv(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{!1!==e.closeOnOverlayDetachments&&this.close()})}close(n,e){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}}const g9=new $e("DialogScrollStrategy"),c9e=new $e("DialogData"),d9e=new $e("DefaultDialogConfig"),f9e={provide:g9,deps:[Qc],useFactory:function u9e(t){return()=>t.scrollStrategies.block()}};let h9e=0,_9=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,i,r,o,s,a){this._overlay=e,this._injector=i,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new vt,this._afterOpenedAtThisLevel=new vt,this._ariaHiddenElements=new Map,this.afterAllClosed=B1(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(el(void 0))),this._scrollStrategy=a}open(e,i){(i={...this._defaultOptions||new zD,...i}).id=i.id||"cdk-dialog-"+h9e++,i.id&&this.getDialogById(i.id);const o=this._getOverlayConfig(i),s=this._overlay.create(o),a=new hS(s,i),l=this._attachContainer(s,a,i);return a.containerInstance=l,this._attachDialogContent(e,a,l,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){pS(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){pS(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),pS(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const i=new z2({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachContainer(e,i,r){const o=r.injector||r.viewContainerRef?.injector,s=[{provide:zD,useValue:r},{provide:hS,useValue:i},{provide:Xg,useValue:e}];let a;r.container?"function"==typeof r.container?a=r.container:(a=r.container.type,s.push(...r.container.providers(r))):a=m9;const l=new $g(a,r.viewContainerRef,hi.create({parent:o||this._injector,providers:s}),r.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof Zn){const s=this._createInjector(o,i,r,void 0);let a={$implicit:o.data,dialogRef:i};o.templateContext&&(a={...a,..."function"==typeof o.templateContext?o.templateContext():o.templateContext}),r.attachTemplatePortal(new rb(e,null,a,s))}else{const s=this._createInjector(o,i,r,this._injector),a=r.attachComponentPortal(new $g(e,o.viewContainerRef,s,o.componentFactoryResolver));i.componentInstance=a.instance}}_createInjector(e,i,r,o){const s=e.injector||e.viewContainerRef?.injector,a=[{provide:c9e,useValue:e.data},{provide:hS,useValue:i}];return e.providers&&("function"==typeof e.providers?a.push(...e.providers(i,e,r)):a.push(...e.providers)),e.direction&&(!s||!s.get(jh,null,{optional:!0}))&&a.push({provide:jh,useValue:{value:e.direction,change:yt()}}),hi.create({parent:s||o,providers:a})}_removeOpenDialog(e,i){const r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let r=i.length-1;r>-1;r--){const o=i[r];o!==e&&"SCRIPT"!==o.nodeName&&"STYLE"!==o.nodeName&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return t.\u0275fac=function(e){return new(e||t)(me(Qc),me(hi),me(d9e,8),me(t,12),me(ub),me(g9))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})();function pS(t,n){let e=t.length;for(;e--;)n(t[e])}let p9e=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({providers:[_9,f9e],imports:[$2,Uh,t5,Uh]}),t})();function m9e(t,n){}class $D{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const mS="mdc-dialog--open",v9="mdc-dialog--opening",b9="mdc-dialog--closing";let v9e=(()=>{class t extends m9{constructor(e,i,r,o,s,a,l,d){super(e,i,r,o,s,a,l,d),this._animationStateChanged=new ht}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}return t.\u0275fac=function(e){return new(e||t)(V(Gt),V(P2),V(It,8),V($D),V(nb),V(St),V(Xg),V(Gg))},t.\u0275cmp=Oe({type:t,selectors:[["ng-component"]],features:[Qt],decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})();const D9="--mat-dialog-transition-duration";function y9(t){return null==t?null:"number"==typeof t?t:t.endsWith("ms")?$c(t.substring(0,t.length-2)):t.endsWith("s")?1e3*$c(t.substring(0,t.length-1)):"0"===t?0:null}let b9e=(()=>{class t extends v9e{constructor(e,i,r,o,s,a,l,d,f){super(e,i,r,o,s,a,l,f),this._animationMode=d,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?y9(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?y9(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(D9,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(v9),this._hostElement.classList.add(mS),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(mS),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(mS),this._animationsEnabled?(this._hostElement.style.setProperty(D9,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(b9),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(v9),this._hostElement.classList.remove(b9)}_waitForAnimationToComplete(e,i){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,e)}}return t.\u0275fac=function(e){return new(e||t)(V(Gt),V(P2),V(It,8),V($D),V(nb),V(St),V(Xg),V(Ks,8),V(Gg))},t.\u0275cmp=Oe({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(e,i){2&e&&(Il("id",i._config.id),Ot("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),Nt("_mat-animation-noopable",!i._animationsEnabled))},features:[Qt],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(c(0,"div",0)(1,"div",1),C(2,m9e,0,0,"ng-template",2),u()())},dependencies:[Yh],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2}),t})();class D9e{constructor(n,e,i){this._ref=n,this._containerInstance=i,this._afterOpened=new vt,this._beforeClosed=new vt,this._state=0,this.disableClose=e.disableClose,this.id=n.id,i._animationStateChanged.pipe(zn(r=>"opened"===r.state),ni(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(zn(r=>"closed"===r.state),ni(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),yd(this.backdropClick(),this.keydownEvents().pipe(zn(r=>27===r.keyCode&&!this.disableClose&&!Qv(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),function y9e(t,n,e){t._closeInteractionType=n,t.close(e)}(this,"keydown"===r.type?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(zn(e=>"closing"===e.state),ni(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}const M9e=new $e("MatMdcDialogData"),C9e=new $e("mat-mdc-dialog-default-options"),M9=new $e("mat-mdc-dialog-scroll-strategy"),T9e={provide:M9,deps:[Qc],useFactory:function x9e(t){return()=>t.scrollStrategies.block()}};let w9e=0,E9e=(()=>{class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,i,r,o,s,a,l,d,f,m){this._overlay=e,this._defaultOptions=r,this._parentDialog=o,this._dialogRefConstructor=l,this._dialogContainerType=d,this._dialogDataToken=f,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new vt,this._afterOpenedAtThisLevel=new vt,this._idPrefix="mat-dialog-",this.dialogConfigClass=$D,this.afterAllClosed=B1(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(el(void 0))),this._scrollStrategy=a,this._dialog=i.get(_9)}open(e,i){let r;(i={...this._defaultOptions||new $D,...i}).id=i.id||`${this._idPrefix}${w9e++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();const o=this._dialog.open(e,{...i,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:zD,useValue:i}]},templateContext:()=>({dialogRef:r}),providers:(s,a,l)=>(r=new this._dialogRefConstructor(s,i,l),r.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:r}])});return r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{const s=this.openDialogs.indexOf(r);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}}return t.\u0275fac=function(e){z0()},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})(),S9e=(()=>{class t extends E9e{constructor(e,i,r,o,s,a,l,d){super(e,i,o,a,l,s,D9e,b9e,M9e,d),this._idPrefix="mat-mdc-dialog-"}}return t.\u0275fac=function(e){return new(e||t)(me(Qc),me(hi),me(Po,8),me(C9e,8),me(M9),me(t,12),me(ub),me(Ks,8))},t.\u0275prov=Pe({token:t,factory:t.\u0275fac}),t})(),k9e=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t}),t.\u0275inj=Ct({providers:[S9e,T9e],imports:[p9e,$2,Uh,vi,vi]}),t})(),A9e=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=wt({type:t,bootstrap:[B5e]}),t.\u0275inj=Ct({providers:[Et],imports:[LO,A5e,Ome,P8e,nee,I5e,kGe,FGe,KGe,O5,t9e,wge,a9e,Age,jme,k9e,SGe,q6,nTe]}),t})();zQ().bootstrapModule(A9e).catch(t=>console.error(t))},4327:function(Me,we){var ee,w;void 0!==(w="function"==typeof(ee=function(){"use strict";function E(ve,Ze,pt){var _t=new XMLHttpRequest;_t.open("GET",ve),_t.responseType="blob",_t.onload=function(){ge(_t.response,Ze,pt)},_t.onerror=function(){console.error("could not download file")},_t.send()}function S(ve){var Ze=new XMLHttpRequest;Ze.open("HEAD",ve,!1);try{Ze.send()}catch{}return 200<=Ze.status&&299>=Ze.status}function B(ve){try{ve.dispatchEvent(new MouseEvent("click"))}catch{var Ze=document.createEvent("MouseEvents");Ze.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),ve.dispatchEvent(Ze)}}var G="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,te=G.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),ge=G.saveAs||("object"!=typeof window||window!==G?function(){}:"download"in HTMLAnchorElement.prototype&&!te?function(ve,Ze,pt){var _t=G.URL||G.webkitURL,ui=document.createElement("a");ui.download=Ze=Ze||ve.name||"download",ui.rel="noopener","string"==typeof ve?(ui.href=ve,ui.origin===location.origin?B(ui):S(ui.href)?E(ve,Ze,pt):B(ui,ui.target="_blank")):(ui.href=_t.createObjectURL(ve),setTimeout(function(){_t.revokeObjectURL(ui.href)},4e4),setTimeout(function(){B(ui)},0))}:"msSaveOrOpenBlob"in navigator?function(ve,Ze,pt){if(Ze=Ze||ve.name||"download","string"!=typeof ve)navigator.msSaveOrOpenBlob(function A(ve,Ze){return typeof Ze>"u"?Ze={autoBom:!1}:"object"!=typeof Ze&&(console.warn("Deprecated: Expected third argument to be a object"),Ze={autoBom:!Ze}),Ze.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(ve.type)?new Blob(["\ufeff",ve],{type:ve.type}):ve}(ve,pt),Ze);else if(S(ve))E(ve,Ze,pt);else{var _t=document.createElement("a");_t.href=ve,_t.target="_blank",setTimeout(function(){B(_t)})}}:function(ve,Ze,pt,_t){if((_t=_t||open("","_blank"))&&(_t.document.title=_t.document.body.innerText="downloading..."),"string"==typeof ve)return E(ve,Ze,pt);var ui="application/octet-stream"===ve.type,at=/constructor/i.test(G.HTMLElement)||G.safari,br=/CriOS\/[\d]+/.test(navigator.userAgent);if((br||ui&&at||te)&&typeof FileReader<"u"){var Ar=new FileReader;Ar.onloadend=function(){var ds=Ar.result;ds=br?ds:ds.replace(/^data:[^;]*;/,"data:attachment/file;"),_t?_t.location.href=ds:location=ds,_t=null},Ar.readAsDataURL(ve)}else{var Wo=G.URL||G.webkitURL,ac=Wo.createObjectURL(ve);_t?_t.location=ac:location.href=ac,_t=null,setTimeout(function(){Wo.revokeObjectURL(ac)},4e4)}});G.saveAs=ge.saveAs=ge,Me.exports=ge})?ee.apply(we,[]):ee)&&(Me.exports=w)},7088:function(Me,we,ee){!function(P){"use strict";P.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(A){return/^nm$/i.test(A)},meridiem:function(A,E,S){return A<12?S?"vm":"VM":S?"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(A){return A+(1===A||8===A||A>=20?"ste":"de")},week:{dow:1,doy:4}})}(ee(5439))},2502:function(Me,we,ee){!function(P){"use strict";var w=function(G){return 0===G?0:1===G?1:2===G?2:G%100>=3&&G%100<=10?3:G%100>=11?4:5},A={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"]},E=function(G){return function(te,ge,ve,Ze){var pt=w(te),_t=A[G][w(te)];return 2===pt&&(_t=_t[ge?0:1]),_t.replace(/%d/i,te)}},S=["\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"];P.defineLocale("ar-dz",{months:S,monthsShort:S,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(G){return"\u0645"===G},meridiem:function(G,te,ge){return G<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:E("s"),ss:E("s"),m:E("m"),mm:E("m"),h:E("h"),hh:E("h"),d:E("d"),dd:E("d"),M:E("M"),MM:E("M"),y:E("y"),yy:E("y")},postformat:function(G){return G.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(ee(5439))},128:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},4519:function(Me,we,ee){!function(P){"use strict";var w={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},A=function(te){return 0===te?0:1===te?1:2===te?2:te%100>=3&&te%100<=10?3:te%100>=11?4:5},E={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"]},S=function(te){return function(ge,ve,Ze,pt){var _t=A(ge),ui=E[te][A(ge)];return 2===_t&&(ui=ui[ve?0:1]),ui.replace(/%d/i,ge)}},B=["\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"];P.defineLocale("ar-ly",{months:B,monthsShort:B,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(te){return"\u0645"===te},meridiem:function(te,ge,ve){return te<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:S("s"),ss:S("s"),m:S("m"),mm:S("m"),h:S("h"),hh:S("h"),d:S("d"),dd:S("d"),M:S("M"),MM:S("M"),y:S("y"),yy:S("y")},preparse:function(te){return te.replace(/\u060c/g,",")},postformat:function(te){return te.replace(/\d/g,function(ge){return w[ge]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(ee(5439))},5443:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},7642:function(Me,we,ee){!function(P){"use strict";var w={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},A={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};P.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(S){return"\u0645"===S},meridiem:function(S,B,G){return S<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(S){return S.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(B){return A[B]}).replace(/\u060c/g,",")},postformat:function(S){return S.replace(/\d/g,function(B){return w[B]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(ee(5439))},8592:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},7038:function(Me,we,ee){!function(P){"use strict";var w={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},A={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},E=function(ge){return 0===ge?0:1===ge?1:2===ge?2:ge%100>=3&&ge%100<=10?3:ge%100>=11?4:5},S={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"]},B=function(ge){return function(ve,Ze,pt,_t){var ui=E(ve),at=S[ge][E(ve)];return 2===ui&&(at=at[Ze?0:1]),at.replace(/%d/i,ve)}},G=["\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"];P.defineLocale("ar",{months:G,monthsShort:G,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(ge){return"\u0645"===ge},meridiem:function(ge,ve,Ze){return ge<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:B("s"),ss:B("s"),m:B("m"),mm:B("m"),h:B("h"),hh:B("h"),d:B("d"),dd:B("d"),M:B("M"),MM:B("M"),y:B("y"),yy:B("y")},preparse:function(ge){return ge.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(ve){return A[ve]}).replace(/\u060c/g,",")},postformat:function(ge){return ge.replace(/\d/g,function(ve){return w[ve]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(ee(5439))},1213:function(Me,we,ee){!function(P){"use strict";var w={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"};P.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(E){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(E)},meridiem:function(E,S,B){return E<4?"gec\u0259":E<12?"s\u0259h\u0259r":E<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(E){if(0===E)return E+"-\u0131nc\u0131";var S=E%10;return E+(w[S]||w[E%100-S]||w[E>=100?100:null])},week:{dow:1,doy:7}})}(ee(5439))},9191:function(Me,we,ee){!function(P){"use strict";function A(S,B,G){return"m"===G?B?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===G?B?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":S+" "+function w(S,B){var G=S.split("_");return B%10==1&&B%100!=11?G[0]:B%10>=2&&B%10<=4&&(B%100<10||B%100>=20)?G[1]:G[2]}({ss:B?"\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:B?"\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:B?"\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"}[G],+S)}P.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:A,mm:A,h:A,hh:A,d:"\u0434\u0437\u0435\u043d\u044c",dd:A,M:"\u043c\u0435\u0441\u044f\u0446",MM:A,y:"\u0433\u043e\u0434",yy:A},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(S){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(S)},meridiem:function(S,B,G){return S<4?"\u043d\u043e\u0447\u044b":S<12?"\u0440\u0430\u043d\u0456\u0446\u044b":S<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(S,B){switch(B){case"M":case"d":case"DDD":case"w":case"W":return S%10!=2&&S%10!=3||S%100==12||S%100==13?S+"-\u044b":S+"-\u0456";case"D":return S+"-\u0433\u0430";default:return S}},week:{dow:1,doy:7}})}(ee(5439))},322:function(Me,we,ee){!function(P){"use strict";P.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(A){var E=A%10,S=A%100;return 0===A?A+"-\u0435\u0432":0===S?A+"-\u0435\u043d":S>10&&S<20?A+"-\u0442\u0438":1===E?A+"-\u0432\u0438":2===E?A+"-\u0440\u0438":7===E||8===E?A+"-\u043c\u0438":A+"-\u0442\u0438"},week:{dow:1,doy:7}})}(ee(5439))},8042:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},5903:function(Me,we,ee){!function(P){"use strict";var w={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},A={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};P.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(S){return S.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(B){return A[B]})},postformat:function(S){return S.replace(/\d/g,function(B){return w[B]})},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(S,B){return 12===S&&(S=0),"\u09b0\u09be\u09a4"===B?S<4?S:S+12:"\u09ad\u09cb\u09b0"===B||"\u09b8\u0995\u09be\u09b2"===B?S:"\u09a6\u09c1\u09aa\u09c1\u09b0"===B?S>=3?S:S+12:"\u09ac\u09bf\u0995\u09be\u09b2"===B||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===B?S+12:void 0},meridiem:function(S,B,G){return S<4?"\u09b0\u09be\u09a4":S<6?"\u09ad\u09cb\u09b0":S<12?"\u09b8\u0995\u09be\u09b2":S<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":S<18?"\u09ac\u09bf\u0995\u09be\u09b2":S<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(ee(5439))},9620:function(Me,we,ee){!function(P){"use strict";var w={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},A={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};P.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(S){return S.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(B){return A[B]})},postformat:function(S){return S.replace(/\d/g,function(B){return w[B]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(S,B){return 12===S&&(S=0),"\u09b0\u09be\u09a4"===B&&S>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===B&&S<5||"\u09ac\u09bf\u0995\u09be\u09b2"===B?S+12:S},meridiem:function(S,B,G){return S<4?"\u09b0\u09be\u09a4":S<10?"\u09b8\u0995\u09be\u09b2":S<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":S<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(ee(5439))},9645:function(Me,we,ee){!function(P){"use strict";var w={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},A={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};P.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(S){return S.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(B){return A[B]})},postformat:function(S){return S.replace(/\d/g,function(B){return w[B]})},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(S,B){return 12===S&&(S=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===B&&S>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===B&&S<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===B?S+12:S},meridiem:function(S,B,G){return S<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":S<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":S<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":S<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(ee(5439))},5020:function(Me,we,ee){!function(P){"use strict";function w(at,br,Ar){return at+" "+function S(at,br){return 2===br?function B(at){var br={m:"v",b:"v",d:"z"};return void 0===br[at.charAt(0)]?at:br[at.charAt(0)]+at.substring(1)}(at):at}({mm:"munutenn",MM:"miz",dd:"devezh"}[Ar],at)}function E(at){return at>9?E(at%10):at}var G=[/^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],te=/^(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,_t=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];P.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:_t,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:_t,monthsRegex:te,monthsShortRegex:te,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:G,longMonthsParse:G,shortMonthsParse:G,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:w,h:"un eur",hh:"%d eur",d:"un devezh",dd:w,M:"ur miz",MM:w,y:"ur bloaz",yy:function A(at){switch(E(at)){case 1:case 3:case 4:case 5:case 9:return at+" bloaz";default:return at+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(at){return at+(1===at?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(at){return"g.m."===at},meridiem:function(at,br,Ar){return at<12?"a.m.":"g.m."}})}(ee(5439))},4792:function(Me,we,ee){!function(P){"use strict";function w(E,S,B){var G=E+" ";switch(B){case"ss":return G+(1===E?"sekunda":2===E||3===E||4===E?"sekunde":"sekundi");case"m":return S?"jedna minuta":"jedne minute";case"mm":return G+(1===E?"minuta":2===E||3===E||4===E?"minute":"minuta");case"h":return S?"jedan sat":"jednog sata";case"hh":return G+(1===E?"sat":2===E||3===E||4===E?"sata":"sati");case"dd":return G+(1===E?"dan":"dana");case"MM":return G+(1===E?"mjesec":2===E||3===E||4===E?"mjeseca":"mjeseci");case"yy":return G+(1===E?"godina":2===E||3===E||4===E?"godine":"godina")}}P.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:w,m:w,mm:w,h:w,hh:w,d:"dan",dd:w,M:"mjesec",MM:w,y:"godinu",yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(ee(5439))},7980:function(Me,we,ee){!function(P){"use strict";P.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(A,E){var S=1===A?"r":2===A?"n":3===A?"r":4===A?"t":"\xe8";return("w"===E||"W"===E)&&(S="a"),A+S},week:{dow:1,doy:4}})}(ee(5439))},7322:function(Me,we,ee){!function(P){"use strict";var w={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("_")},A="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),E=[/^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],S=/^(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 B(ge){return ge>1&&ge<5&&1!=~~(ge/10)}function G(ge,ve,Ze,pt){var _t=ge+" ";switch(Ze){case"s":return ve||pt?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return ve||pt?_t+(B(ge)?"sekundy":"sekund"):_t+"sekundami";case"m":return ve?"minuta":pt?"minutu":"minutou";case"mm":return ve||pt?_t+(B(ge)?"minuty":"minut"):_t+"minutami";case"h":return ve?"hodina":pt?"hodinu":"hodinou";case"hh":return ve||pt?_t+(B(ge)?"hodiny":"hodin"):_t+"hodinami";case"d":return ve||pt?"den":"dnem";case"dd":return ve||pt?_t+(B(ge)?"dny":"dn\xed"):_t+"dny";case"M":return ve||pt?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return ve||pt?_t+(B(ge)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):_t+"m\u011bs\xedci";case"y":return ve||pt?"rok":"rokem";case"yy":return ve||pt?_t+(B(ge)?"roky":"let"):_t+"lety"}}P.defineLocale("cs",{months:w,monthsShort:A,monthsRegex:S,monthsShortRegex:S,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:E,longMonthsParse:E,shortMonthsParse:E,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:G,ss:G,m:G,mm:G,h:G,hh:G,d:G,dd:G,M:G,MM:G,y:G,yy:G},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(ee(5439))},365:function(Me,we,ee){!function(P){"use strict";P.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(A){return A+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(A)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(A)?"\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}})}(ee(5439))},2092:function(Me,we,ee){!function(P){"use strict";P.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(A){var S="";return A>20?S=40===A||50===A||60===A||80===A||100===A?"fed":"ain":A>0&&(S=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][A]),A+S},week:{dow:1,doy:4}})}(ee(5439))},7387:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},9459:function(Me,we,ee){!function(P){"use strict";function w(E,S,B,G){var te={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[E+" Tage",E+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[E+" Monate",E+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[E+" Jahre",E+" Jahren"]};return S?te[B][0]:te[B][1]}P.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:w,mm:"%d Minuten",h:w,hh:"%d Stunden",d:w,dd:w,w,ww:"%d Wochen",M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(ee(5439))},3694:function(Me,we,ee){!function(P){"use strict";function w(E,S,B,G){var te={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[E+" Tage",E+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[E+" Monate",E+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[E+" Jahre",E+" Jahren"]};return S?te[B][0]:te[B][1]}P.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:w,mm:"%d Minuten",h:w,hh:"%d Stunden",d:w,dd:w,w,ww:"%d Wochen",M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(ee(5439))},4307:function(Me,we,ee){!function(P){"use strict";function w(E,S,B,G){var te={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[E+" Tage",E+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[E+" Monate",E+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[E+" Jahre",E+" Jahren"]};return S?te[B][0]:te[B][1]}P.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:w,mm:"%d Minuten",h:w,hh:"%d Stunden",d:w,dd:w,w,ww:"%d Wochen",M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(ee(5439))},9659:function(Me,we,ee){!function(P){"use strict";var w=["\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"],A=["\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"];P.defineLocale("dv",{months:w,monthsShort:w,weekdays:A,weekdaysShort:A,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(S){return"\u0789\u078a"===S},meridiem:function(S,B,G){return S<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(S){return S.replace(/\u060c/g,",")},postformat:function(S){return S.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(ee(5439))},3460:function(Me,we,ee){!function(P){"use strict";P.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(E,S){return E?"string"==typeof S&&/D/.test(S.substring(0,S.indexOf("MMMM")))?this._monthsGenitiveEl[E.month()]:this._monthsNominativeEl[E.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(E,S,B){return E>11?B?"\u03bc\u03bc":"\u039c\u039c":B?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(E){return"\u03bc"===(E+"").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(E,S){var B=this._calendarEl[E],G=S&&S.hours();return function w(E){return typeof Function<"u"&&E instanceof Function||"[object Function]"===Object.prototype.toString.call(E)}(B)&&(B=B.apply(S)),B.replace("{}",G%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}})}(ee(5439))},4369:function(Me,we,ee){!function(P){"use strict";P.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(A){var E=A%10;return A+(1==~~(A%100/10)?"th":1===E?"st":2===E?"nd":3===E?"rd":"th")},week:{dow:0,doy:4}})}(ee(5439))},530:function(Me,we,ee){!function(P){"use strict";P.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(A){var E=A%10;return A+(1==~~(A%100/10)?"th":1===E?"st":2===E?"nd":3===E?"rd":"th")}})}(ee(5439))},9998:function(Me,we,ee){!function(P){"use strict";P.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(A){var E=A%10;return A+(1==~~(A%100/10)?"th":1===E?"st":2===E?"nd":3===E?"rd":"th")},week:{dow:1,doy:4}})}(ee(5439))},3391:function(Me,we,ee){!function(P){"use strict";P.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(A){var E=A%10;return A+(1==~~(A%100/10)?"th":1===E?"st":2===E?"nd":3===E?"rd":"th")},week:{dow:1,doy:4}})}(ee(5439))},5414:function(Me,we,ee){!function(P){"use strict";P.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(A){var E=A%10;return A+(1==~~(A%100/10)?"th":1===E?"st":2===E?"nd":3===E?"rd":"th")}})}(ee(5439))},9615:function(Me,we,ee){!function(P){"use strict";P.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(A){var E=A%10;return A+(1==~~(A%100/10)?"th":1===E?"st":2===E?"nd":3===E?"rd":"th")},week:{dow:0,doy:6}})}(ee(5439))},1248:function(Me,we,ee){!function(P){"use strict";P.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(A){var E=A%10;return A+(1==~~(A%100/10)?"th":1===E?"st":2===E?"nd":3===E?"rd":"th")},week:{dow:1,doy:4}})}(ee(5439))},3767:function(Me,we,ee){!function(P){"use strict";P.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(A){var E=A%10;return A+(1==~~(A%100/10)?"th":1===E?"st":2===E?"nd":3===E?"rd":"th")},week:{dow:1,doy:4}})}(ee(5439))},4530:function(Me,we,ee){!function(P){"use strict";P.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(A){return"p"===A.charAt(0).toLowerCase()},meridiem:function(A,E,S){return A>11?S?"p.t.m.":"P.T.M.":S?"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}})}(ee(5439))},8944:function(Me,we,ee){!function(P){"use strict";var w="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),A="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),E=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],S=/^(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;P.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(G,te){return G?/-MMM-/.test(te)?A[G.month()]:w[G.month()]:w},monthsRegex:S,monthsShortRegex:S,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:E,longMonthsParse:E,shortMonthsParse:E,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}})}(ee(5439))},9116:function(Me,we,ee){!function(P){"use strict";var w="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),A="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),E=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],S=/^(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;P.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(G,te){return G?/-MMM-/.test(te)?A[G.month()]:w[G.month()]:w},monthsRegex:S,monthsShortRegex:S,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:E,longMonthsParse:E,shortMonthsParse:E,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"})}(ee(5439))},3609:function(Me,we,ee){!function(P){"use strict";var w="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),A="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),E=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],S=/^(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;P.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(G,te){return G?/-MMM-/.test(te)?A[G.month()]:w[G.month()]:w},monthsRegex:S,monthsShortRegex:S,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:E,longMonthsParse:E,shortMonthsParse:E,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}})}(ee(5439))},6866:function(Me,we,ee){!function(P){"use strict";var w="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),A="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),E=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],S=/^(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;P.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(G,te){return G?/-MMM-/.test(te)?A[G.month()]:w[G.month()]:w},monthsRegex:S,monthsShortRegex:S,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:E,longMonthsParse:E,shortMonthsParse:E,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"})}(ee(5439))},6725:function(Me,we,ee){!function(P){"use strict";function w(E,S,B,G){var te={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[E+"sekundi",E+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[E+" minuti",E+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[E+" tunni",E+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[E+" kuu",E+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[E+" aasta",E+" aastat"]};return S?te[B][2]?te[B][2]:te[B][1]:G?te[B][0]:te[B][1]}P.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:w,ss:w,m:w,mm:w,h:w,hh:w,d:w,dd:"%d p\xe4eva",M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(ee(5439))},7931:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},6417:function(Me,we,ee){!function(P){"use strict";var w={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},A={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};P.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(S){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(S)},meridiem:function(S,B,G){return S<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(S){return S.replace(/[\u06f0-\u06f9]/g,function(B){return A[B]}).replace(/\u060c/g,",")},postformat:function(S){return S.replace(/\d/g,function(B){return w[B]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(ee(5439))},944:function(Me,we,ee){!function(P){"use strict";var w="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),A=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",w[7],w[8],w[9]];function E(G,te,ge,ve){var Ze="";switch(ge){case"s":return ve?"muutaman sekunnin":"muutama sekunti";case"ss":Ze=ve?"sekunnin":"sekuntia";break;case"m":return ve?"minuutin":"minuutti";case"mm":Ze=ve?"minuutin":"minuuttia";break;case"h":return ve?"tunnin":"tunti";case"hh":Ze=ve?"tunnin":"tuntia";break;case"d":return ve?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":Ze=ve?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return ve?"kuukauden":"kuukausi";case"MM":Ze=ve?"kuukauden":"kuukautta";break;case"y":return ve?"vuoden":"vuosi";case"yy":Ze=ve?"vuoden":"vuotta"}return function S(G,te){return G<10?te?A[G]:w[G]:G}(G,ve)+" "+Ze}P.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:E,ss:E,m:E,mm:E,h:E,hh:E,d:E,dd:E,M:E,MM:E,y:E,yy:E},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(ee(5439))},1766:function(Me,we,ee){!function(P){"use strict";P.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(A){return A},week:{dow:1,doy:4}})}(ee(5439))},5867:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},6848:function(Me,we,ee){!function(P){"use strict";P.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(A,E){switch(E){default:case"M":case"Q":case"D":case"DDD":case"d":return A+(1===A?"er":"e");case"w":case"W":return A+(1===A?"re":"e")}}})}(ee(5439))},7773:function(Me,we,ee){!function(P){"use strict";P.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(A,E){switch(E){default:case"M":case"Q":case"D":case"DDD":case"d":return A+(1===A?"er":"e");case"w":case"W":return A+(1===A?"re":"e")}},week:{dow:1,doy:4}})}(ee(5439))},1636:function(Me,we,ee){!function(P){"use strict";var E=/(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,S=[/^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];P.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:E,monthsShortRegex:E,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:S,longMonthsParse:S,shortMonthsParse:S,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(G,te){switch(te){case"D":return G+(1===G?"er":"");default:case"M":case"Q":case"DDD":case"d":return G+(1===G?"er":"e");case"w":case"W":return G+(1===G?"re":"e")}},week:{dow:1,doy:4}})}(ee(5439))},4940:function(Me,we,ee){!function(P){"use strict";var w="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),A="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");P.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(S,B){return S?/-MMM-/.test(B)?A[S.month()]:w[S.month()]:w},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(S){return S+(1===S||8===S||S>=20?"ste":"de")},week:{dow:1,doy:4}})}(ee(5439))},1402:function(Me,we,ee){!function(P){"use strict";P.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],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(te){return te+(1===te?"d":te%10==2?"na":"mh")},week:{dow:1,doy:4}})}(ee(5439))},6924:function(Me,we,ee){!function(P){"use strict";P.defineLocale("gd",{months:["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"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],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(te){return te+(1===te?"d":te%10==2?"na":"mh")},week:{dow:1,doy:4}})}(ee(5439))},6398:function(Me,we,ee){!function(P){"use strict";P.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(A){return 0===A.indexOf("un")?"n"+A:"en "+A},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}})}(ee(5439))},2457:function(Me,we,ee){!function(P){"use strict";function w(E,S,B,G){var te={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:[E+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",E+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[E+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",E+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[E+" \u0935\u0930\u093e\u0902\u0928\u0940",E+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[E+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",E+" \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:[E+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",E+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[E+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",E+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return G?te[B][0]:te[B][1]}P.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: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}(\u0935\u0947\u0930)/,ordinal:function(E,S){return"D"===S?E+"\u0935\u0947\u0930":E},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(E,S){return 12===E&&(E=0),"\u0930\u093e\u0924\u0940"===S?E<4?E:E+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===S?E:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===S?E>12?E:E+12:"\u0938\u093e\u0902\u091c\u0947"===S?E+12:void 0},meridiem:function(E,S,B){return E<4?"\u0930\u093e\u0924\u0940":E<12?"\u0938\u0915\u093e\u0933\u0940\u0902":E<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":E<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(ee(5439))},2545:function(Me,we,ee){!function(P){"use strict";function w(E,S,B,G){var te={s:["thoddea sekondamni","thodde sekond"],ss:[E+" sekondamni",E+" sekond"],m:["eka mintan","ek minut"],mm:[E+" mintamni",E+" mintam"],h:["eka voran","ek vor"],hh:[E+" voramni",E+" voram"],d:["eka disan","ek dis"],dd:[E+" disamni",E+" dis"],M:["eka mhoinean","ek mhoino"],MM:[E+" mhoineamni",E+" mhoine"],y:["eka vorsan","ek voros"],yy:[E+" vorsamni",E+" vorsam"]};return G?te[B][0]:te[B][1]}P.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: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}(er)/,ordinal:function(E,S){return"D"===S?E+"er":E},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(E,S){return 12===E&&(E=0),"rati"===S?E<4?E:E+12:"sokallim"===S?E:"donparam"===S?E>12?E:E+12:"sanje"===S?E+12:void 0},meridiem:function(E,S,B){return E<4?"rati":E<12?"sokallim":E<16?"donparam":E<20?"sanje":"rati"}})}(ee(5439))},2641:function(Me,we,ee){!function(P){"use strict";var w={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},A={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};P.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(S){return S.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(B){return A[B]})},postformat:function(S){return S.replace(/\d/g,function(B){return w[B]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(S,B){return 12===S&&(S=0),"\u0ab0\u0abe\u0aa4"===B?S<4?S:S+12:"\u0ab8\u0ab5\u0abe\u0ab0"===B?S:"\u0aac\u0aaa\u0acb\u0ab0"===B?S>=10?S:S+12:"\u0ab8\u0abe\u0a82\u0a9c"===B?S+12:void 0},meridiem:function(S,B,G){return S<4?"\u0ab0\u0abe\u0aa4":S<10?"\u0ab8\u0ab5\u0abe\u0ab0":S<17?"\u0aac\u0aaa\u0acb\u0ab0":S<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(ee(5439))},7536:function(Me,we,ee){!function(P){"use strict";P.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(A){return 2===A?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":A+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(A){return 2===A?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":A+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(A){return 2===A?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":A+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(A){return 2===A?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":A%10==0&&10!==A?A+" \u05e9\u05e0\u05d4":A+" \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(A){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(A)},meridiem:function(A,E,S){return A<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":A<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":A<12?S?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":A<18?S?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(ee(5439))},6335:function(Me,we,ee){!function(P){"use strict";var w={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},A={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},E=[/^\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];P.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:E,longMonthsParse:E,shortMonthsParse:[/^\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],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(G){return G.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(te){return A[te]})},postformat:function(G){return G.replace(/\d/g,function(te){return w[te]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(G,te){return 12===G&&(G=0),"\u0930\u093e\u0924"===te?G<4?G:G+12:"\u0938\u0941\u092c\u0939"===te?G:"\u0926\u094b\u092a\u0939\u0930"===te?G>=10?G:G+12:"\u0936\u093e\u092e"===te?G+12:void 0},meridiem:function(G,te,ge){return G<4?"\u0930\u093e\u0924":G<10?"\u0938\u0941\u092c\u0939":G<17?"\u0926\u094b\u092a\u0939\u0930":G<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(ee(5439))},7458:function(Me,we,ee){!function(P){"use strict";function w(E,S,B){var G=E+" ";switch(B){case"ss":return G+(1===E?"sekunda":2===E||3===E||4===E?"sekunde":"sekundi");case"m":return S?"jedna minuta":"jedne minute";case"mm":return G+(1===E?"minuta":2===E||3===E||4===E?"minute":"minuta");case"h":return S?"jedan sat":"jednog sata";case"hh":return G+(1===E?"sat":2===E||3===E||4===E?"sata":"sati");case"dd":return G+(1===E?"dan":"dana");case"MM":return G+(1===E?"mjesec":2===E||3===E||4===E?"mjeseca":"mjeseci");case"yy":return G+(1===E?"godina":2===E||3===E||4===E?"godine":"godina")}}P.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:w,m:w,mm:w,h:w,hh:w,d:"dan",dd:w,M:"mjesec",MM:w,y:"godinu",yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(ee(5439))},6540:function(Me,we,ee){!function(P){"use strict";var w="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function A(B,G,te,ge){var ve=B;switch(te){case"s":return ge||G?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return ve+(ge||G)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(ge||G?" perc":" perce");case"mm":return ve+(ge||G?" perc":" perce");case"h":return"egy"+(ge||G?" \xf3ra":" \xf3r\xe1ja");case"hh":return ve+(ge||G?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(ge||G?" nap":" napja");case"dd":return ve+(ge||G?" nap":" napja");case"M":return"egy"+(ge||G?" h\xf3nap":" h\xf3napja");case"MM":return ve+(ge||G?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(ge||G?" \xe9v":" \xe9ve");case"yy":return ve+(ge||G?" \xe9v":" \xe9ve")}return""}function E(B){return(B?"":"[m\xfalt] ")+"["+w[this.day()]+"] LT[-kor]"}P.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(B){return"u"===B.charAt(1).toLowerCase()},meridiem:function(B,G,te){return B<12?!0===te?"de":"DE":!0===te?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return E.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return E.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:A,ss:A,m:A,mm:A,h:A,hh:A,d:A,dd:A,M:A,MM:A,y:A,yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(ee(5439))},5283:function(Me,we,ee){!function(P){"use strict";P.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(A){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(A)},meridiem:function(A){return A<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":A<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":A<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(A,E){switch(E){case"DDD":case"w":case"W":case"DDDo":return 1===A?A+"-\u056b\u0576":A+"-\u0580\u0564";default:return A}},week:{dow:1,doy:7}})}(ee(5439))},8780:function(Me,we,ee){!function(P){"use strict";P.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(A,E){return 12===A&&(A=0),"pagi"===E?A:"siang"===E?A>=11?A:A+12:"sore"===E||"malam"===E?A+12:void 0},meridiem:function(A,E,S){return A<11?"pagi":A<15?"siang":A<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}})}(ee(5439))},4205:function(Me,we,ee){!function(P){"use strict";function w(S){return S%100==11||S%10!=1}function A(S,B,G,te){var ge=S+" ";switch(G){case"s":return B||te?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return w(S)?ge+(B||te?"sek\xfandur":"sek\xfandum"):ge+"sek\xfanda";case"m":return B?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return w(S)?ge+(B||te?"m\xedn\xfatur":"m\xedn\xfatum"):B?ge+"m\xedn\xfata":ge+"m\xedn\xfatu";case"hh":return w(S)?ge+(B||te?"klukkustundir":"klukkustundum"):ge+"klukkustund";case"d":return B?"dagur":te?"dag":"degi";case"dd":return w(S)?B?ge+"dagar":ge+(te?"daga":"d\xf6gum"):B?ge+"dagur":ge+(te?"dag":"degi");case"M":return B?"m\xe1nu\xf0ur":te?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return w(S)?B?ge+"m\xe1nu\xf0ir":ge+(te?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):B?ge+"m\xe1nu\xf0ur":ge+(te?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return B||te?"\xe1r":"\xe1ri";case"yy":return w(S)?ge+(B||te?"\xe1r":"\xe1rum"):ge+(B||te?"\xe1r":"\xe1ri")}}P.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:A,ss:A,m:A,mm:A,h:"klukkustund",hh:A,d:A,dd:A,M:A,MM:A,y:A,yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(ee(5439))},9985:function(Me,we,ee){!function(P){"use strict";P.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(A){return(/^[0-9].+$/.test(A)?"tra":"in")+" "+A},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}})}(ee(5439))},4211:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},1003:function(Me,we,ee){!function(P){"use strict";P.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(A,E){return"\u5143"===E[1]?1:parseInt(E[1]||A,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(A){return"\u5348\u5f8c"===A},meridiem:function(A,E,S){return A<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(A){return A.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(A){return this.week()!==A.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(A,E){switch(E){case"y":return 1===A?"\u5143\u5e74":A+"\u5e74";case"d":case"D":case"DDD":return A+"\u65e5";default:return A}},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"}})}(ee(5439))},420:function(Me,we,ee){!function(P){"use strict";P.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(A,E){return 12===A&&(A=0),"enjing"===E?A:"siyang"===E?A>=11?A:A+12:"sonten"===E||"ndalu"===E?A+12:void 0},meridiem:function(A,E,S){return A<11?"enjing":A<15?"siyang":A<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}})}(ee(5439))},851:function(Me,we,ee){!function(P){"use strict";P.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(A){return A.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(E,S,B){return"\u10d8"===B?S+"\u10e8\u10d8":S+B+"\u10e8\u10d8"})},past:function(A){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(A)?A.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(A)?A.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):A},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(A){return 0===A?A:1===A?A+"-\u10da\u10d8":A<20||A<=100&&A%20==0||A%100==0?"\u10db\u10d4-"+A:A+"-\u10d4"},week:{dow:1,doy:7}})}(ee(5439))},6074:function(Me,we,ee){!function(P){"use strict";var w={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"};P.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(E){return E+(w[E]||w[E%10]||w[E>=100?100:null])},week:{dow:1,doy:7}})}(ee(5439))},3343:function(Me,we,ee){!function(P){"use strict";var w={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},A={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};P.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(S){return"\u179b\u17d2\u1784\u17b6\u1785"===S},meridiem:function(S,B,G){return S<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(S){return S.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(B){return A[B]})},postformat:function(S){return S.replace(/\d/g,function(B){return w[B]})},week:{dow:1,doy:4}})}(ee(5439))},4799:function(Me,we,ee){!function(P){"use strict";var w={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},A={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};P.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(S){return S.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(B){return A[B]})},postformat:function(S){return S.replace(/\d/g,function(B){return w[B]})},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(S,B){return 12===S&&(S=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===B?S<4?S:S+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===B?S:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===B?S>=10?S:S+12:"\u0cb8\u0c82\u0c9c\u0cc6"===B?S+12:void 0},meridiem:function(S,B,G){return S<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":S<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":S<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":S<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(S){return S+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(ee(5439))},3549:function(Me,we,ee){!function(P){"use strict";P.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(A,E){switch(E){case"d":case"D":case"DDD":return A+"\uc77c";case"M":return A+"\uc6d4";case"w":case"W":return A+"\uc8fc";default:return A}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(A){return"\uc624\ud6c4"===A},meridiem:function(A,E,S){return A<12?"\uc624\uc804":"\uc624\ud6c4"}})}(ee(5439))},1037:function(Me,we,ee){!function(P){"use strict";var w={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},A={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},E=["\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"];P.defineLocale("ku",{months:E,monthsShort:E,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(B){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(B)},meridiem:function(B,G,te){return B<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(B){return B.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(G){return A[G]}).replace(/\u060c/g,",")},postformat:function(B){return B.replace(/\d/g,function(G){return w[G]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(ee(5439))},3125:function(Me,we,ee){!function(P){"use strict";var w={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"};P.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(E){return E+(w[E]||w[E%10]||w[E>=100?100:null])},week:{dow:1,doy:7}})}(ee(5439))},9586:function(Me,we,ee){!function(P){"use strict";function w(G,te,ge,ve){var Ze={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 te?Ze[ge][0]:Ze[ge][1]}function S(G){if(G=parseInt(G,10),isNaN(G))return!1;if(G<0)return!0;if(G<10)return 4<=G&&G<=7;if(G<100){var te=G%10;return S(0===te?G/10:te)}if(G<1e4){for(;G>=10;)G/=10;return S(G)}return S(G/=1e3)}P.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:function A(G){return S(G.substr(0,G.indexOf(" ")))?"a "+G:"an "+G},past:function E(G){return S(G.substr(0,G.indexOf(" ")))?"viru "+G:"virun "+G},s:"e puer Sekonnen",ss:"%d Sekonnen",m:w,mm:"%d Minutten",h:w,hh:"%d Stonnen",d:w,dd:"%d Deeg",M:w,MM:"%d M\xe9int",y:w,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(ee(5439))},2349:function(Me,we,ee){!function(P){"use strict";P.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(A){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===A},meridiem:function(A,E,S){return A<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(A){return"\u0e97\u0eb5\u0ec8"+A}})}(ee(5439))},2400:function(Me,we,ee){!function(P){"use strict";var w={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 E(ge,ve,Ze,pt){return ve?B(Ze)[0]:pt?B(Ze)[1]:B(Ze)[2]}function S(ge){return ge%10==0||ge>10&&ge<20}function B(ge){return w[ge].split("_")}function G(ge,ve,Ze,pt){var _t=ge+" ";return 1===ge?_t+E(0,ve,Ze[0],pt):ve?_t+(S(ge)?B(Ze)[1]:B(Ze)[0]):pt?_t+B(Ze)[1]:_t+(S(ge)?B(Ze)[1]:B(Ze)[2])}P.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:function A(ge,ve,Ze,pt){return ve?"kelios sekund\u0117s":pt?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:G,m:E,mm:G,h:E,hh:G,d:E,dd:G,M:E,MM:G,y:E,yy:G},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(ge){return ge+"-oji"},week:{dow:1,doy:4}})}(ee(5439))},9991:function(Me,we,ee){!function(P){"use strict";var w={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 A(te,ge,ve){return ve?ge%10==1&&ge%100!=11?te[2]:te[3]:ge%10==1&&ge%100!=11?te[0]:te[1]}function E(te,ge,ve){return te+" "+A(w[ve],te,ge)}function S(te,ge,ve){return A(w[ve],te,ge)}P.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:function B(te,ge){return ge?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:E,m:S,mm:E,h:S,hh:E,d:S,dd:E,M:S,MM:E,y:S,yy:E},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(ee(5439))},8477:function(Me,we,ee){!function(P){"use strict";var w={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(E,S){return 1===E?S[0]:E>=2&&E<=4?S[1]:S[2]},translate:function(E,S,B){var G=w.words[B];return 1===B.length?S?G[0]:G[1]:E+" "+w.correctGrammaticalCase(E,G)}};P.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:w.translate,m:w.translate,mm:w.translate,h:w.translate,hh:w.translate,d:"dan",dd:w.translate,M:"mjesec",MM:w.translate,y:"godinu",yy:w.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(ee(5439))},5118:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},5943:function(Me,we,ee){!function(P){"use strict";P.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(A){var E=A%10,S=A%100;return 0===A?A+"-\u0435\u0432":0===S?A+"-\u0435\u043d":S>10&&S<20?A+"-\u0442\u0438":1===E?A+"-\u0432\u0438":2===E?A+"-\u0440\u0438":7===E||8===E?A+"-\u043c\u0438":A+"-\u0442\u0438"},week:{dow:1,doy:7}})}(ee(5439))},3849:function(Me,we,ee){!function(P){"use strict";P.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(A,E){return 12===A&&(A=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===E&&A>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===E||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===E?A+12:A},meridiem:function(A,E,S){return A<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":A<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":A<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":A<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(ee(5439))},1977:function(Me,we,ee){!function(P){"use strict";function w(E,S,B,G){switch(B){case"s":return S?"\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 E+(S?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return E+(S?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return E+(S?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return E+(S?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return E+(S?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return E+(S?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return E}}P.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(E){return"\u04ae\u0425"===E},meridiem:function(E,S,B){return E<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: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} \u04e9\u0434\u04e9\u0440/,ordinal:function(E,S){switch(S){case"d":case"D":case"DDD":return E+" \u04e9\u0434\u04e9\u0440";default:return E}}})}(ee(5439))},6184:function(Me,we,ee){!function(P){"use strict";var w={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},A={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function E(B,G,te,ge){var ve="";if(G)switch(te){case"s":ve="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":ve="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":ve="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":ve="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":ve="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":ve="%d \u0924\u093e\u0938";break;case"d":ve="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":ve="%d \u0926\u093f\u0935\u0938";break;case"M":ve="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":ve="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":ve="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":ve="%d \u0935\u0930\u094d\u0937\u0947"}else switch(te){case"s":ve="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":ve="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":ve="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":ve="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":ve="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":ve="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":ve="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":ve="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":ve="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":ve="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":ve="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":ve="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return ve.replace(/%d/i,B)}P.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:E,ss:E,m:E,mm:E,h:E,hh:E,d:E,dd:E,M:E,MM:E,y:E,yy:E},preparse:function(B){return B.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(G){return A[G]})},postformat:function(B){return B.replace(/\d/g,function(G){return w[G]})},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(B,G){return 12===B&&(B=0),"\u092a\u0939\u093e\u091f\u0947"===G||"\u0938\u0915\u093e\u0933\u0940"===G?B:"\u0926\u0941\u092a\u093e\u0930\u0940"===G||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===G||"\u0930\u093e\u0924\u094d\u0930\u0940"===G?B>=12?B:B+12:void 0},meridiem:function(B,G,te){return B>=0&&B<6?"\u092a\u0939\u093e\u091f\u0947":B<12?"\u0938\u0915\u093e\u0933\u0940":B<17?"\u0926\u0941\u092a\u093e\u0930\u0940":B<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(ee(5439))},4524:function(Me,we,ee){!function(P){"use strict";P.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(A,E){return 12===A&&(A=0),"pagi"===E?A:"tengahari"===E?A>=11?A:A+12:"petang"===E||"malam"===E?A+12:void 0},meridiem:function(A,E,S){return A<11?"pagi":A<15?"tengahari":A<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}})}(ee(5439))},485:function(Me,we,ee){!function(P){"use strict";P.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(A,E){return 12===A&&(A=0),"pagi"===E?A:"tengahari"===E?A>=11?A:A+12:"petang"===E||"malam"===E?A+12:void 0},meridiem:function(A,E,S){return A<11?"pagi":A<15?"tengahari":A<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}})}(ee(5439))},6681:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},2024:function(Me,we,ee){!function(P){"use strict";var w={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},A={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};P.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(S){return S.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(B){return A[B]})},postformat:function(S){return S.replace(/\d/g,function(B){return w[B]})},week:{dow:1,doy:4}})}(ee(5439))},2688:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},8914:function(Me,we,ee){!function(P){"use strict";var w={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},A={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};P.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(S){return S.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(B){return A[B]})},postformat:function(S){return S.replace(/\d/g,function(B){return w[B]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(S,B){return 12===S&&(S=0),"\u0930\u093e\u0924\u093f"===B?S<4?S:S+12:"\u092c\u093f\u0939\u093e\u0928"===B?S:"\u0926\u093f\u0909\u0901\u0938\u094b"===B?S>=10?S:S+12:"\u0938\u093e\u0901\u091d"===B?S+12:void 0},meridiem:function(S,B,G){return S<3?"\u0930\u093e\u0924\u093f":S<12?"\u092c\u093f\u0939\u093e\u0928":S<16?"\u0926\u093f\u0909\u0901\u0938\u094b":S<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}})}(ee(5439))},2272:function(Me,we,ee){!function(P){"use strict";var w="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),A="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),E=[/^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],S=/^(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;P.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(G,te){return G?/-MMM-/.test(te)?A[G.month()]:w[G.month()]:w},monthsRegex:S,monthsShortRegex:S,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:E,longMonthsParse:E,shortMonthsParse:E,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(G){return G+(1===G||8===G||G>=20?"ste":"de")},week:{dow:1,doy:4}})}(ee(5439))},1758:function(Me,we,ee){!function(P){"use strict";var w="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),A="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),E=[/^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],S=/^(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;P.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(G,te){return G?/-MMM-/.test(te)?A[G.month()]:w[G.month()]:w},monthsRegex:S,monthsShortRegex:S,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:E,longMonthsParse:E,shortMonthsParse:E,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(G){return G+(1===G||8===G||G>=20?"ste":"de")},week:{dow:1,doy:4}})}(ee(5439))},1510:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},2797:function(Me,we,ee){!function(P){"use strict";P.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(A,E){var S=1===A?"r":2===A?"n":3===A?"r":4===A?"t":"\xe8";return("w"===E||"W"===E)&&(S="a"),A+S},week:{dow:1,doy:4}})}(ee(5439))},7944:function(Me,we,ee){!function(P){"use strict";var w={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},A={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};P.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(S){return S.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(B){return A[B]})},postformat:function(S){return S.replace(/\d/g,function(B){return w[B]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(S,B){return 12===S&&(S=0),"\u0a30\u0a3e\u0a24"===B?S<4?S:S+12:"\u0a38\u0a35\u0a47\u0a30"===B?S:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===B?S>=10?S:S+12:"\u0a38\u0a3c\u0a3e\u0a2e"===B?S+12:void 0},meridiem:function(S,B,G){return S<4?"\u0a30\u0a3e\u0a24":S<10?"\u0a38\u0a35\u0a47\u0a30":S<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":S<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(ee(5439))},1605:function(Me,we,ee){!function(P){"use strict";var w="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),A="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),E=[/^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 S(te){return te%10<5&&te%10>1&&~~(te/10)%10!=1}function B(te,ge,ve){var Ze=te+" ";switch(ve){case"ss":return Ze+(S(te)?"sekundy":"sekund");case"m":return ge?"minuta":"minut\u0119";case"mm":return Ze+(S(te)?"minuty":"minut");case"h":return ge?"godzina":"godzin\u0119";case"hh":return Ze+(S(te)?"godziny":"godzin");case"ww":return Ze+(S(te)?"tygodnie":"tygodni");case"MM":return Ze+(S(te)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return Ze+(S(te)?"lata":"lat")}}P.defineLocale("pl",{months:function(te,ge){return te?/D MMMM/.test(ge)?A[te.month()]:w[te.month()]:w},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:E,longMonthsParse:E,shortMonthsParse:E,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:B,m:B,mm:B,h:B,hh:B,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:B,M:"miesi\u0105c",MM:B,y:"rok",yy:B},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(ee(5439))},3840:function(Me,we,ee){!function(P){"use strict";P.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"})}(ee(5439))},4225:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},5128:function(Me,we,ee){!function(P){"use strict";function w(E,S,B){var te=" ";return(E%100>=20||E>=100&&E%100==0)&&(te=" de "),E+te+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[B]}P.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:w,m:"un minut",mm:w,h:"o or\u0103",hh:w,d:"o zi",dd:w,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:w,M:"o lun\u0103",MM:w,y:"un an",yy:w},week:{dow:1,doy:7}})}(ee(5439))},5127:function(Me,we,ee){!function(P){"use strict";function A(B,G,te){return"m"===te?G?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":B+" "+function w(B,G){var te=B.split("_");return G%10==1&&G%100!=11?te[0]:G%10>=2&&G%10<=4&&(G%100<10||G%100>=20)?te[1]:te[2]}({ss:G?"\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:G?"\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"}[te],+B)}var E=[/^\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];P.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:E,longMonthsParse:E,shortMonthsParse:E,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(B){if(B.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(B){if(B.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:A,m:A,mm:A,h:"\u0447\u0430\u0441",hh:A,d:"\u0434\u0435\u043d\u044c",dd:A,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:A,M:"\u043c\u0435\u0441\u044f\u0446",MM:A,y:"\u0433\u043e\u0434",yy:A},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(B){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(B)},meridiem:function(B,G,te){return B<4?"\u043d\u043e\u0447\u0438":B<12?"\u0443\u0442\u0440\u0430":B<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(B,G){switch(G){case"M":case"d":case"DDD":return B+"-\u0439";case"D":return B+"-\u0433\u043e";case"w":case"W":return B+"-\u044f";default:return B}},week:{dow:1,doy:4}})}(ee(5439))},2525:function(Me,we,ee){!function(P){"use strict";var w=["\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"],A=["\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"];P.defineLocale("sd",{months:w,monthsShort:w,weekdays:A,weekdaysShort:A,weekdaysMin:A,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(S){return"\u0634\u0627\u0645"===S},meridiem:function(S,B,G){return S<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(S){return S.replace(/\u060c/g,",")},postformat:function(S){return S.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(ee(5439))},9893:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},3123:function(Me,we,ee){!function(P){"use strict";P.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(A){return A+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(A){return"\u0db4.\u0dc0."===A||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===A},meridiem:function(A,E,S){return A>11?S?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":S?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(ee(5439))},9635:function(Me,we,ee){!function(P){"use strict";var w="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),A="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function E(G){return G>1&&G<5}function S(G,te,ge,ve){var Ze=G+" ";switch(ge){case"s":return te||ve?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return te||ve?Ze+(E(G)?"sekundy":"sek\xfand"):Ze+"sekundami";case"m":return te?"min\xfata":ve?"min\xfatu":"min\xfatou";case"mm":return te||ve?Ze+(E(G)?"min\xfaty":"min\xfat"):Ze+"min\xfatami";case"h":return te?"hodina":ve?"hodinu":"hodinou";case"hh":return te||ve?Ze+(E(G)?"hodiny":"hod\xedn"):Ze+"hodinami";case"d":return te||ve?"de\u0148":"d\u0148om";case"dd":return te||ve?Ze+(E(G)?"dni":"dn\xed"):Ze+"d\u0148ami";case"M":return te||ve?"mesiac":"mesiacom";case"MM":return te||ve?Ze+(E(G)?"mesiace":"mesiacov"):Ze+"mesiacmi";case"y":return te||ve?"rok":"rokom";case"yy":return te||ve?Ze+(E(G)?"roky":"rokov"):Ze+"rokmi"}}P.defineLocale("sk",{months:w,monthsShort:A,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:S,ss:S,m:S,mm:S,h:S,hh:S,d:S,dd:S,M:S,MM:S,y:S,yy:S},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(ee(5439))},8106:function(Me,we,ee){!function(P){"use strict";function w(E,S,B,G){var te=E+" ";switch(B){case"s":return S||G?"nekaj sekund":"nekaj sekundami";case"ss":return te+(1===E?S?"sekundo":"sekundi":2===E?S||G?"sekundi":"sekundah":E<5?S||G?"sekunde":"sekundah":"sekund");case"m":return S?"ena minuta":"eno minuto";case"mm":return te+(1===E?S?"minuta":"minuto":2===E?S||G?"minuti":"minutama":E<5?S||G?"minute":"minutami":S||G?"minut":"minutami");case"h":return S?"ena ura":"eno uro";case"hh":return te+(1===E?S?"ura":"uro":2===E?S||G?"uri":"urama":E<5?S||G?"ure":"urami":S||G?"ur":"urami");case"d":return S||G?"en dan":"enim dnem";case"dd":return te+(1===E?S||G?"dan":"dnem":2===E?S||G?"dni":"dnevoma":S||G?"dni":"dnevi");case"M":return S||G?"en mesec":"enim mesecem";case"MM":return te+(1===E?S||G?"mesec":"mesecem":2===E?S||G?"meseca":"mesecema":E<5?S||G?"mesece":"meseci":S||G?"mesecev":"meseci");case"y":return S||G?"eno leto":"enim letom";case"yy":return te+(1===E?S||G?"leto":"letom":2===E?S||G?"leti":"letoma":E<5?S||G?"leta":"leti":S||G?"let":"leti")}}P.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: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:7}})}(ee(5439))},8799:function(Me,we,ee){!function(P){"use strict";P.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(A){return"M"===A.charAt(0)},meridiem:function(A,E,S){return A<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}})}(ee(5439))},2872:function(Me,we,ee){!function(P){"use strict";var w={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(E,S){return E%10>=1&&E%10<=4&&(E%100<10||E%100>=20)?E%10==1?S[0]:S[1]:S[2]},translate:function(E,S,B,G){var ge,te=w.words[B];return 1===B.length?"y"===B&&S?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":G||S?te[0]:te[1]:(ge=w.correctGrammaticalCase(E,te),"yy"===B&&S&&"\u0433\u043e\u0434\u0438\u043d\u0443"===ge?E+" \u0433\u043e\u0434\u0438\u043d\u0430":E+" "+ge)}};P.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:w.translate,m:w.translate,mm:w.translate,h:w.translate,hh:w.translate,d:w.translate,dd:w.translate,M:w.translate,MM:w.translate,y:w.translate,yy:w.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(ee(5439))},7949:function(Me,we,ee){!function(P){"use strict";var w={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(E,S){return E%10>=1&&E%10<=4&&(E%100<10||E%100>=20)?E%10==1?S[0]:S[1]:S[2]},translate:function(E,S,B,G){var ge,te=w.words[B];return 1===B.length?"y"===B&&S?"jedna godina":G||S?te[0]:te[1]:(ge=w.correctGrammaticalCase(E,te),"yy"===B&&S&&"godinu"===ge?E+" godina":E+" "+ge)}};P.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:w.translate,m:w.translate,mm:w.translate,h:w.translate,hh:w.translate,d:w.translate,dd:w.translate,M:w.translate,MM:w.translate,y:w.translate,yy:w.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(ee(5439))},6167:function(Me,we,ee){!function(P){"use strict";P.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(A,E,S){return A<11?"ekuseni":A<15?"emini":A<19?"entsambama":"ebusuku"},meridiemHour:function(A,E){return 12===A&&(A=0),"ekuseni"===E?A:"emini"===E?A>=11?A:A+12:"entsambama"===E||"ebusuku"===E?0===A?0:A+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(ee(5439))},9713:function(Me,we,ee){!function(P){"use strict";P.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(A){var E=A%10;return A+(1==~~(A%100/10)?":e":1===E||2===E?":a":":e")},week:{dow:1,doy:4}})}(ee(5439))},1982:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},2732:function(Me,we,ee){!function(P){"use strict";var w={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},A={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};P.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(S){return S+"\u0bb5\u0ba4\u0bc1"},preparse:function(S){return S.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(B){return A[B]})},postformat:function(S){return S.replace(/\d/g,function(B){return w[B]})},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(S,B,G){return S<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":S<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":S<10?" \u0b95\u0bbe\u0bb2\u0bc8":S<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":S<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":S<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(S,B){return 12===S&&(S=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===B?S<2?S:S+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===B||"\u0b95\u0bbe\u0bb2\u0bc8"===B||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===B&&S>=10?S:S+12},week:{dow:0,doy:6}})}(ee(5439))},3636:function(Me,we,ee){!function(P){"use strict";P.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(A,E){return 12===A&&(A=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===E?A<4?A:A+12:"\u0c09\u0c26\u0c2f\u0c02"===E?A:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===E?A>=10?A:A+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===E?A+12:void 0},meridiem:function(A,E,S){return A<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":A<10?"\u0c09\u0c26\u0c2f\u0c02":A<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":A<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(ee(5439))},2115:function(Me,we,ee){!function(P){"use strict";P.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(A){var E=A%10;return A+(1==~~(A%100/10)?"th":1===E?"st":2===E?"nd":3===E?"rd":"th")},week:{dow:1,doy:4}})}(ee(5439))},9801:function(Me,we,ee){!function(P){"use strict";var w={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"};P.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(E,S){return 12===E&&(E=0),"\u0448\u0430\u0431"===S?E<4?E:E+12:"\u0441\u0443\u0431\u04b3"===S?E:"\u0440\u04ef\u0437"===S?E>=11?E:E+12:"\u0431\u0435\u0433\u043e\u04b3"===S?E+12:void 0},meridiem:function(E,S,B){return E<4?"\u0448\u0430\u0431":E<11?"\u0441\u0443\u0431\u04b3":E<16?"\u0440\u04ef\u0437":E<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(E){return E+(w[E]||w[E%10]||w[E>=100?100:null])},week:{dow:1,doy:7}})}(ee(5439))},2868:function(Me,we,ee){!function(P){"use strict";P.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(A){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===A},meridiem:function(A,E,S){return A<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"}})}(ee(5439))},1310:function(Me,we,ee){!function(P){"use strict";var w={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"};P.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(E,S){switch(S){case"d":case"D":case"Do":case"DD":return E;default:if(0===E)return E+"'unjy";var B=E%10;return E+(w[B]||w[E%100-B]||w[E>=100?100:null])}},week:{dow:1,doy:7}})}(ee(5439))},2360:function(Me,we,ee){!function(P){"use strict";P.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(A){return A},week:{dow:1,doy:4}})}(ee(5439))},6645:function(Me,we,ee){!function(P){"use strict";var w="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function S(te,ge,ve,Ze){var pt=function B(te){var ge=Math.floor(te%1e3/100),ve=Math.floor(te%100/10),Ze=te%10,pt="";return ge>0&&(pt+=w[ge]+"vatlh"),ve>0&&(pt+=(""!==pt?" ":"")+w[ve]+"maH"),Ze>0&&(pt+=(""!==pt?" ":"")+w[Ze]),""===pt?"pagh":pt}(te);switch(ve){case"ss":return pt+" lup";case"mm":return pt+" tup";case"hh":return pt+" rep";case"dd":return pt+" jaj";case"MM":return pt+" jar";case"yy":return pt+" DIS"}}P.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:function A(te){var ge=te;return-1!==te.indexOf("jaj")?ge.slice(0,-3)+"leS":-1!==te.indexOf("jar")?ge.slice(0,-3)+"waQ":-1!==te.indexOf("DIS")?ge.slice(0,-3)+"nem":ge+" pIq"},past:function E(te){var ge=te;return-1!==te.indexOf("jaj")?ge.slice(0,-3)+"Hu\u2019":-1!==te.indexOf("jar")?ge.slice(0,-3)+"wen":-1!==te.indexOf("DIS")?ge.slice(0,-3)+"ben":ge+" ret"},s:"puS lup",ss:S,m:"wa\u2019 tup",mm:S,h:"wa\u2019 rep",hh:S,d:"wa\u2019 jaj",dd:S,M:"wa\u2019 jar",MM:S,y:"wa\u2019 DIS",yy:S},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(ee(5439))},8374:function(Me,we,ee){!function(P){"use strict";var w={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"};P.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(E,S,B){return E<12?B?"\xf6\xf6":"\xd6\xd6":B?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(E){return"\xf6s"===E||"\xd6S"===E},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(E,S){switch(S){case"d":case"D":case"Do":case"DD":return E;default:if(0===E)return E+"'\u0131nc\u0131";var B=E%10;return E+(w[B]||w[E%100-B]||w[E>=100?100:null])}},week:{dow:1,doy:7}})}(ee(5439))},256:function(Me,we,ee){!function(P){"use strict";function A(E,S,B,G){var te={s:["viensas secunds","'iensas secunds"],ss:[E+" secunds",E+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[E+" m\xeduts",E+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[E+" \xfeoras",E+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[E+" ziuas",E+" ziuas"],M:["'n mes","'iens mes"],MM:[E+" mesen",E+" mesen"],y:["'n ar","'iens ar"],yy:[E+" ars",E+" ars"]};return G||S?te[B][0]:te[B][1]}P.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(E){return"d'o"===E.toLowerCase()},meridiem:function(E,S,B){return E>11?B?"d'o":"D'O":B?"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:A,ss:A,m:A,mm:A,h:A,hh:A,d:A,dd:A,M:A,MM:A,y:A,yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(ee(5439))},1631:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},1595:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},6050:function(Me,we,ee){!function(P){"use strict";P.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(A,E){return 12===A&&(A=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===E||"\u0633\u06d5\u06be\u06d5\u0631"===E||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===E?A:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===E||"\u0643\u06d5\u0686"===E?A+12:A>=11?A:A+12},meridiem:function(A,E,S){var B=100*A+E;return B<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":B<900?"\u0633\u06d5\u06be\u06d5\u0631":B<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":B<1230?"\u0686\u06c8\u0634":B<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(A,E){switch(E){case"d":case"D":case"DDD":return A+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return A+"-\u06be\u06d5\u067e\u062a\u06d5";default:return A}},preparse:function(A){return A.replace(/\u060c/g,",")},postformat:function(A){return A.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(ee(5439))},5610:function(Me,we,ee){!function(P){"use strict";function A(G,te,ge){return"m"===ge?te?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===ge?te?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":G+" "+function w(G,te){var ge=G.split("_");return te%10==1&&te%100!=11?ge[0]:te%10>=2&&te%10<=4&&(te%100<10||te%100>=20)?ge[1]:ge[2]}({ss:te?"\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:te?"\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:te?"\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"}[ge],+G)}function S(G){return function(){return G+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}P.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:function E(G,te){var ge={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===G?ge.nominative.slice(1,7).concat(ge.nominative.slice(0,1)):G?ge[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(te)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(te)?"genitive":"nominative"][G.day()]:ge.nominative},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:S("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:S("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:S("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:S("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return S("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return S("[\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:A,m:A,mm:A,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:A,d:"\u0434\u0435\u043d\u044c",dd:A,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:A,y:"\u0440\u0456\u043a",yy:A},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(G){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(G)},meridiem:function(G,te,ge){return G<4?"\u043d\u043e\u0447\u0456":G<12?"\u0440\u0430\u043d\u043a\u0443":G<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(G,te){switch(te){case"M":case"d":case"DDD":case"w":case"W":return G+"-\u0439";case"D":return G+"-\u0433\u043e";default:return G}},week:{dow:1,doy:7}})}(ee(5439))},6077:function(Me,we,ee){!function(P){"use strict";var w=["\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"],A=["\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"];P.defineLocale("ur",{months:w,monthsShort:w,weekdays:A,weekdaysShort:A,weekdaysMin:A,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(S){return"\u0634\u0627\u0645"===S},meridiem:function(S,B,G){return S<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(S){return S.replace(/\u060c/g,",")},postformat:function(S){return S.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(ee(5439))},2207:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},2862:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},8093:function(Me,we,ee){!function(P){"use strict";P.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(A){return/^ch$/i.test(A)},meridiem:function(A,E,S){return A<12?S?"sa":"SA":S?"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(A){return A},week:{dow:1,doy:4}})}(ee(5439))},5590:function(Me,we,ee){!function(P){"use strict";P.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(A){var E=A%10;return A+(1==~~(A%100/10)?"th":1===E?"st":2===E?"nd":3===E?"rd":"th")},week:{dow:1,doy:4}})}(ee(5439))},9058:function(Me,we,ee){!function(P){"use strict";P.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}})}(ee(5439))},7908:function(Me,we,ee){!function(P){"use strict";P.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(A,E){return 12===A&&(A=0),"\u51cc\u6668"===E||"\u65e9\u4e0a"===E||"\u4e0a\u5348"===E?A:"\u4e0b\u5348"===E||"\u665a\u4e0a"===E?A+12:A>=11?A:A+12},meridiem:function(A,E,S){var B=100*A+E;return B<600?"\u51cc\u6668":B<900?"\u65e9\u4e0a":B<1130?"\u4e0a\u5348":B<1230?"\u4e2d\u5348":B<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(A){return A.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(A){return this.week()!==A.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(A,E){switch(E){case"d":case"D":case"DDD":return A+"\u65e5";case"M":return A+"\u6708";case"w":case"W":return A+"\u5468";default:return A}},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}})}(ee(5439))},8867:function(Me,we,ee){!function(P){"use strict";P.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(A,E){return 12===A&&(A=0),"\u51cc\u6668"===E||"\u65e9\u4e0a"===E||"\u4e0a\u5348"===E?A:"\u4e2d\u5348"===E?A>=11?A:A+12:"\u4e0b\u5348"===E||"\u665a\u4e0a"===E?A+12:void 0},meridiem:function(A,E,S){var B=100*A+E;return B<600?"\u51cc\u6668":B<900?"\u65e9\u4e0a":B<1200?"\u4e0a\u5348":1200===B?"\u4e2d\u5348":B<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(A,E){switch(E){case"d":case"D":case"DDD":return A+"\u65e5";case"M":return A+"\u6708";case"w":case"W":return A+"\u9031";default:return A}},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"}})}(ee(5439))},1133:function(Me,we,ee){!function(P){"use strict";P.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(A,E){return 12===A&&(A=0),"\u51cc\u6668"===E||"\u65e9\u4e0a"===E||"\u4e0a\u5348"===E?A:"\u4e2d\u5348"===E?A>=11?A:A+12:"\u4e0b\u5348"===E||"\u665a\u4e0a"===E?A+12:void 0},meridiem:function(A,E,S){var B=100*A+E;return B<600?"\u51cc\u6668":B<900?"\u65e9\u4e0a":B<1130?"\u4e0a\u5348":B<1230?"\u4e2d\u5348":B<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(A,E){switch(E){case"d":case"D":case"DDD":return A+"\u65e5";case"M":return A+"\u6708";case"w":case"W":return A+"\u9031";default:return A}},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"}})}(ee(5439))},3291:function(Me,we,ee){!function(P){"use strict";P.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(A,E){return 12===A&&(A=0),"\u51cc\u6668"===E||"\u65e9\u4e0a"===E||"\u4e0a\u5348"===E?A:"\u4e2d\u5348"===E?A>=11?A:A+12:"\u4e0b\u5348"===E||"\u665a\u4e0a"===E?A+12:void 0},meridiem:function(A,E,S){var B=100*A+E;return B<600?"\u51cc\u6668":B<900?"\u65e9\u4e0a":B<1130?"\u4e0a\u5348":B<1230?"\u4e2d\u5348":B<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(A,E){switch(E){case"d":case"D":case"DDD":return A+"\u65e5";case"M":return A+"\u6708";case"w":case"W":return A+"\u9031";default:return A}},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"}})}(ee(5439))},5439:function(Me,we,ee){(Me=ee.nmd(Me)).exports=function(){"use strict";var P,br;function w(){return P.apply(null,arguments)}function E(v){return v instanceof Array||"[object Array]"===Object.prototype.toString.call(v)}function S(v){return null!=v&&"[object Object]"===Object.prototype.toString.call(v)}function B(v,x){return Object.prototype.hasOwnProperty.call(v,x)}function G(v){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(v).length;var x;for(x in v)if(B(v,x))return!1;return!0}function te(v){return void 0===v}function ge(v){return"number"==typeof v||"[object Number]"===Object.prototype.toString.call(v)}function ve(v){return v instanceof Date||"[object Date]"===Object.prototype.toString.call(v)}function Ze(v,x){var L,F=[],j=v.length;for(L=0;L<j;++L)F.push(x(v[L],L));return F}function pt(v,x){for(var F in x)B(x,F)&&(v[F]=x[F]);return B(x,"toString")&&(v.toString=x.toString),B(x,"valueOf")&&(v.valueOf=x.valueOf),v}function _t(v,x,F,L){return d0(v,x,F,L,!0).utc()}function at(v){return null==v._pf&&(v._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),v._pf}function Ar(v){if(null==v._isValid){var x=at(v),F=br.call(x.parsedDateParts,function(j){return null!=j}),L=!isNaN(v._d.getTime())&&x.overflow<0&&!x.empty&&!x.invalidEra&&!x.invalidMonth&&!x.invalidWeekday&&!x.weekdayMismatch&&!x.nullInput&&!x.invalidFormat&&!x.userInvalidated&&(!x.meridiem||x.meridiem&&F);if(v._strict&&(L=L&&0===x.charsLeftOver&&0===x.unusedTokens.length&&void 0===x.bigHour),null!=Object.isFrozen&&Object.isFrozen(v))return L;v._isValid=L}return v._isValid}function Wo(v){var x=_t(NaN);return null!=v?pt(at(x),v):at(x).userInvalidated=!0,x}br=Array.prototype.some?Array.prototype.some:function(v){var L,x=Object(this),F=x.length>>>0;for(L=0;L<F;L++)if(L in x&&v.call(this,x[L],L,x))return!0;return!1};var ac=w.momentProperties=[],ds=!1;function _p(v,x){var F,L,j,fe=ac.length;if(te(x._isAMomentObject)||(v._isAMomentObject=x._isAMomentObject),te(x._i)||(v._i=x._i),te(x._f)||(v._f=x._f),te(x._l)||(v._l=x._l),te(x._strict)||(v._strict=x._strict),te(x._tzm)||(v._tzm=x._tzm),te(x._isUTC)||(v._isUTC=x._isUTC),te(x._offset)||(v._offset=x._offset),te(x._pf)||(v._pf=at(x)),te(x._locale)||(v._locale=x._locale),fe>0)for(F=0;F<fe;F++)te(j=x[L=ac[F]])||(v[L]=j);return v}function Dl(v){_p(this,v),this._d=new Date(null!=v._d?v._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===ds&&(ds=!0,w.updateOffset(this),ds=!1)}function us(v){return v instanceof Dl||null!=v&&null!=v._isAMomentObject}function lc(v){!1===w.suppressDeprecationWarnings&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+v)}function Wr(v,x){var F=!0;return pt(function(){if(null!=w.deprecationHandler&&w.deprecationHandler(null,v),F){var j,fe,Ee,L=[],At=arguments.length;for(fe=0;fe<At;fe++){if(j="","object"==typeof arguments[fe]){for(Ee in j+="\n["+fe+"] ",arguments[0])B(arguments[0],Ee)&&(j+=Ee+": "+arguments[0][Ee]+", ");j=j.slice(0,-2)}else j=arguments[fe];L.push(j)}lc(v+"\nArguments: "+Array.prototype.slice.call(L).join("")+"\n"+(new Error).stack),F=!1}return x.apply(this,arguments)},x)}var Xu,$_={};function qu(v,x){null!=w.deprecationHandler&&w.deprecationHandler(v,x),$_[v]||(lc(x),$_[v]=!0)}function Gs(v){return typeof Function<"u"&&v instanceof Function||"[object Function]"===Object.prototype.toString.call(v)}function fs(v,x){var L,F=pt({},v);for(L in x)B(x,L)&&(S(v[L])&&S(x[L])?(F[L]={},pt(F[L],v[L]),pt(F[L],x[L])):null!=x[L]?F[L]=x[L]:delete F[L]);for(L in v)B(v,L)&&!B(x,L)&&S(v[L])&&(F[L]=pt({},F[L]));return F}function bp(v){null!=v&&this.set(v)}w.suppressDeprecationWarnings=!1,w.deprecationHandler=null,Xu=Object.keys?Object.keys:function(v){var x,F=[];for(x in v)B(v,x)&&F.push(x);return F};function js(v,x,F){var L=""+Math.abs(v);return(v>=0?F?"+":"":"-")+Math.pow(10,Math.max(0,x-L.length)).toString().substr(1)+L}var Dp=/(\[[^\[]*\])|(\\)?([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,Qu=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,vt={},yl={};function Tt(v,x,F,L){var j=L;"string"==typeof L&&(j=function(){return this[L]()}),v&&(yl[v]=j),x&&(yl[x[0]]=function(){return js(j.apply(this,arguments),x[1],x[2])}),F&&(yl[F]=function(){return this.localeData().ordinal(j.apply(this,arguments),v)})}function ri(v){return v.match(/\[[\s\S]/)?v.replace(/^\[|\]$/g,""):v.replace(/\\/g,"")}function Ju(v,x){return v.isValid()?(x=xt(x,v.localeData()),vt[x]=vt[x]||function Pn(v){var F,L,x=v.match(Dp);for(F=0,L=x.length;F<L;F++)x[F]=yl[x[F]]?yl[x[F]]:ri(x[F]);return function(j){var Ee,fe="";for(Ee=0;Ee<L;Ee++)fe+=Gs(x[Ee])?x[Ee].call(j,v):x[Ee];return fe}}(x),vt[x](v)):v.localeData().invalidDate()}function xt(v,x){var F=5;function L(j){return x.longDateFormat(j)||j}for(Qu.lastIndex=0;F>=0&&Qu.test(v);)v=v.replace(Qu,L),Qu.lastIndex=0,F-=1;return v}var Zu={};function Rr(v,x){var F=v.toLowerCase();Zu[F]=Zu[F+"s"]=Zu[x]=v}function hs(v){return"string"==typeof v?Zu[v]||Zu[v.toLowerCase()]:void 0}function Ku(v){var F,L,x={};for(L in v)B(v,L)&&(F=hs(L))&&(x[F]=v[L]);return x}var XD={};function Dr(v,x){XD[v]=x}function Mp(v){return v%4==0&&v%100!=0||v%400==0}function ps(v){return v<0?Math.ceil(v)||0:Math.floor(v)}function mn(v){var x=+v,F=0;return 0!==x&&isFinite(x)&&(F=ps(x)),F}function zo(v,x){return function(F){return null!=F?(JD(this,v,F),w.updateOffset(this,x),this):ef(this,v)}}function ef(v,x){return v.isValid()?v._d["get"+(v._isUTC?"UTC":"")+x]():NaN}function JD(v,x,F){v.isValid()&&!isNaN(F)&&("FullYear"===x&&Mp(v.year())&&1===v.month()&&29===v.date()?(F=mn(F),v._d["set"+(v._isUTC?"UTC":"")+x](F,v.month(),Dd(F,v.month()))):v._d["set"+(v._isUTC?"UTC":"")+x](F))}var rf,Q_=/\d/,$o=/\d\d/,KD=/\d{3}/,J_=/\d{4}/,Cp=/[+-]?\d{6}/,oi=/\d\d?/,tf=/\d\d\d\d?/,xp=/\d\d\d\d\d\d?/,md=/\d{1,3}/,nf=/\d{1,4}/,gd=/[+-]?\d{1,6}/,cc=/\d+/,_d=/[+-]?\d+/,Z_=/Z|[+-]\d\d:?\d\d/gi,vd=/Z|[+-]\d\d(?::?\d\d)?/gi,si=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function ft(v,x,F){rf[v]=Gs(x)?x:function(L,j){return L&&F?F:x}}function ey(v,x){return B(rf,v)?rf[v](x._strict,x._locale):new RegExp(function ty(v){return io(v.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(x,F,L,j,fe){return F||L||j||fe}))}(v))}function io(v){return v.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}rf={};var Tp={};function Gn(v,x){var F,j,L=x;for("string"==typeof v&&(v=[v]),ge(x)&&(L=function(fe,Ee){Ee[x]=mn(fe)}),j=v.length,F=0;F<j;F++)Tp[v[F]]=L}function To(v,x){Gn(v,function(F,L,j,fe){j._w=j._w||{},x(F,j._w,j,fe)})}function ny(v,x,F){null!=x&&B(Tp,v)&&Tp[v](x,F._a,F,v)}var xi,Dn=0,ro=1,Ci=2,rr=3,ms=4,Ys=5,ya=6,sf=7,bd=8;function Dd(v,x){if(isNaN(v)||isNaN(x))return NaN;var F=function iy(v,x){return(v%x+x)%x}(x,12);return v+=(x-F)/12,1===F?Mp(v)?29:28:31-F%7%2}xi=Array.prototype.indexOf?Array.prototype.indexOf:function(v){var x;for(x=0;x<this.length;++x)if(this[x]===v)return x;return-1},Tt("M",["MM",2],"Mo",function(){return this.month()+1}),Tt("MMM",0,0,function(v){return this.localeData().monthsShort(this,v)}),Tt("MMMM",0,0,function(v){return this.localeData().months(this,v)}),Rr("month","M"),Dr("month",8),ft("M",oi),ft("MM",oi,$o),ft("MMM",function(v,x){return x.monthsShortRegex(v)}),ft("MMMM",function(v,x){return x.monthsRegex(v)}),Gn(["M","MM"],function(v,x){x[ro]=mn(v)-1}),Gn(["MMM","MMMM"],function(v,x,F,L){var j=F._locale.monthsParse(v,L,F._strict);null!=j?x[ro]=j:at(F).invalidMonth=v});var ry="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),e0="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),t0=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,oy=si,n0=si;function Bi(v,x,F){var L,j,fe,Ee=v.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],L=0;L<12;++L)fe=_t([2e3,L]),this._shortMonthsParse[L]=this.monthsShort(fe,"").toLocaleLowerCase(),this._longMonthsParse[L]=this.months(fe,"").toLocaleLowerCase();return F?"MMM"===x?-1!==(j=xi.call(this._shortMonthsParse,Ee))?j:null:-1!==(j=xi.call(this._longMonthsParse,Ee))?j:null:"MMM"===x?-1!==(j=xi.call(this._shortMonthsParse,Ee))||-1!==(j=xi.call(this._longMonthsParse,Ee))?j:null:-1!==(j=xi.call(this._longMonthsParse,Ee))||-1!==(j=xi.call(this._shortMonthsParse,Ee))?j:null}function wp(v,x){var F;if(!v.isValid())return v;if("string"==typeof x)if(/^\d+$/.test(x))x=mn(x);else if(!ge(x=v.localeData().monthsParse(x)))return v;return F=Math.min(v.date(),Dd(v.year(),x)),v._d["set"+(v._isUTC?"UTC":"")+"Month"](x,F),v}function af(v){return null!=v?(wp(this,v),w.updateOffset(this,!0),this):ef(this,"Month")}function lf(){function v(Ee,At){return At.length-Ee.length}var j,fe,x=[],F=[],L=[];for(j=0;j<12;j++)fe=_t([2e3,j]),x.push(this.monthsShort(fe,"")),F.push(this.months(fe,"")),L.push(this.months(fe,"")),L.push(this.monthsShort(fe,""));for(x.sort(v),F.sort(v),L.sort(v),j=0;j<12;j++)x[j]=io(x[j]),F[j]=io(F[j]);for(j=0;j<24;j++)L[j]=io(L[j]);this._monthsRegex=new RegExp("^("+L.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+F.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+x.join("|")+")","i")}function Md(v){return Mp(v)?366:365}Tt("Y",0,0,function(){var v=this.year();return v<=9999?js(v,4):"+"+v}),Tt(0,["YY",2],0,function(){return this.year()%100}),Tt(0,["YYYY",4],0,"year"),Tt(0,["YYYYY",5],0,"year"),Tt(0,["YYYYYY",6,!0],0,"year"),Rr("year","y"),Dr("year",1),ft("Y",_d),ft("YY",oi,$o),ft("YYYY",nf,J_),ft("YYYYY",gd,Cp),ft("YYYYYY",gd,Cp),Gn(["YYYYY","YYYYYY"],Dn),Gn("YYYY",function(v,x){x[Dn]=2===v.length?w.parseTwoDigitYear(v):mn(v)}),Gn("YY",function(v,x){x[Dn]=w.parseTwoDigitYear(v)}),Gn("Y",function(v,x){x[Dn]=parseInt(v,10)}),w.parseTwoDigitYear=function(v){return mn(v)+(mn(v)>68?1900:2e3)};var dn=zo("FullYear",!0);function Sp(v,x,F,L,j,fe,Ee){var At;return v<100&&v>=0?(At=new Date(v+400,x,F,L,j,fe,Ee),isFinite(At.getFullYear())&&At.setFullYear(v)):At=new Date(v,x,F,L,j,fe,Ee),At}function Ml(v){var x,F;return v<100&&v>=0?((F=Array.prototype.slice.call(arguments))[0]=v+400,x=new Date(Date.UTC.apply(null,F)),isFinite(x.getUTCFullYear())&&x.setUTCFullYear(v)):x=new Date(Date.UTC.apply(null,arguments)),x}function kp(v,x,F){var L=7+x-F;return-(7+Ml(v,0,L).getUTCDay()-x)%7+L-1}function Cd(v,x,F,L,j){var tn,Bn,At=1+7*(x-1)+(7+F-L)%7+kp(v,L,j);return At<=0?Bn=Md(tn=v-1)+At:At>Md(v)?(tn=v+1,Bn=At-Md(v)):(tn=v,Bn=At),{year:tn,dayOfYear:Bn}}function Re(v,x,F){var fe,Ee,L=kp(v.year(),x,F),j=Math.floor((v.dayOfYear()-L-1)/7)+1;return j<1?fe=j+qo(Ee=v.year()-1,x,F):j>qo(v.year(),x,F)?(fe=j-qo(v.year(),x,F),Ee=v.year()+1):(Ee=v.year(),fe=j),{week:fe,year:Ee}}function qo(v,x,F){var L=kp(v,x,F),j=kp(v+1,x,F);return(Md(v)-L+j)/7}Tt("w",["ww",2],"wo","week"),Tt("W",["WW",2],"Wo","isoWeek"),Rr("week","w"),Rr("isoWeek","W"),Dr("week",5),Dr("isoWeek",5),ft("w",oi),ft("ww",oi,$o),ft("W",oi),ft("WW",oi,$o),To(["w","ww","W","WW"],function(v,x,F,L){x[L.substr(0,1)]=mn(v)});function Ap(v,x){return v.slice(x,7).concat(v.slice(0,x))}Tt("d",0,"do","day"),Tt("dd",0,0,function(v){return this.localeData().weekdaysMin(this,v)}),Tt("ddd",0,0,function(v){return this.localeData().weekdaysShort(this,v)}),Tt("dddd",0,0,function(v){return this.localeData().weekdays(this,v)}),Tt("e",0,0,"weekday"),Tt("E",0,0,"isoWeekday"),Rr("day","d"),Rr("weekday","e"),Rr("isoWeekday","E"),Dr("day",11),Dr("weekday",11),Dr("isoWeekday",11),ft("d",oi),ft("e",oi),ft("E",oi),ft("dd",function(v,x){return x.weekdaysMinRegex(v)}),ft("ddd",function(v,x){return x.weekdaysShortRegex(v)}),ft("dddd",function(v,x){return x.weekdaysRegex(v)}),To(["dd","ddd","dddd"],function(v,x,F,L){var j=F._locale.weekdaysParse(v,L,F._strict);null!=j?x.d=j:at(F).invalidWeekday=v}),To(["d","e","E"],function(v,x,F,L){x[L]=mn(v)});var kS="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ma="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),AS="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),RS=si,FS=si,NS=si;function IS(v,x,F){var L,j,fe,Ee=v.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],L=0;L<7;++L)fe=_t([2e3,1]).day(L),this._minWeekdaysParse[L]=this.weekdaysMin(fe,"").toLocaleLowerCase(),this._shortWeekdaysParse[L]=this.weekdaysShort(fe,"").toLocaleLowerCase(),this._weekdaysParse[L]=this.weekdays(fe,"").toLocaleLowerCase();return F?"dddd"===x?-1!==(j=xi.call(this._weekdaysParse,Ee))?j:null:"ddd"===x?-1!==(j=xi.call(this._shortWeekdaysParse,Ee))?j:null:-1!==(j=xi.call(this._minWeekdaysParse,Ee))?j:null:"dddd"===x?-1!==(j=xi.call(this._weekdaysParse,Ee))||-1!==(j=xi.call(this._shortWeekdaysParse,Ee))||-1!==(j=xi.call(this._minWeekdaysParse,Ee))?j:null:"ddd"===x?-1!==(j=xi.call(this._shortWeekdaysParse,Ee))||-1!==(j=xi.call(this._weekdaysParse,Ee))||-1!==(j=xi.call(this._minWeekdaysParse,Ee))?j:null:-1!==(j=xi.call(this._minWeekdaysParse,Ee))||-1!==(j=xi.call(this._weekdaysParse,Ee))||-1!==(j=xi.call(this._shortWeekdaysParse,Ee))?j:null}function Ct(){function v(Xr,or){return or.length-Xr.length}var fe,Ee,At,tn,Bn,x=[],F=[],L=[],j=[];for(fe=0;fe<7;fe++)Ee=_t([2e3,1]).day(fe),At=io(this.weekdaysMin(Ee,"")),tn=io(this.weekdaysShort(Ee,"")),Bn=io(this.weekdays(Ee,"")),x.push(At),F.push(tn),L.push(Bn),j.push(At),j.push(tn),j.push(Bn);x.sort(v),F.sort(v),L.sort(v),j.sort(v),this._weekdaysRegex=new RegExp("^("+j.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+L.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+F.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+x.join("|")+")","i")}function dc(){return this.hours()%12||12}function Rp(v,x){Tt(v,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),x)})}function r0(v,x){return x._meridiemParse}Tt("H",["HH",2],0,"hour"),Tt("h",["hh",2],0,dc),Tt("k",["kk",2],0,function fy(){return this.hours()||24}),Tt("hmm",0,0,function(){return""+dc.apply(this)+js(this.minutes(),2)}),Tt("hmmss",0,0,function(){return""+dc.apply(this)+js(this.minutes(),2)+js(this.seconds(),2)}),Tt("Hmm",0,0,function(){return""+this.hours()+js(this.minutes(),2)}),Tt("Hmmss",0,0,function(){return""+this.hours()+js(this.minutes(),2)+js(this.seconds(),2)}),Rp("a",!0),Rp("A",!1),Rr("hour","h"),Dr("hour",13),ft("a",r0),ft("A",r0),ft("H",oi),ft("h",oi),ft("k",oi),ft("HH",oi,$o),ft("hh",oi,$o),ft("kk",oi,$o),ft("hmm",tf),ft("hmmss",xp),ft("Hmm",tf),ft("Hmmss",xp),Gn(["H","HH"],rr),Gn(["k","kk"],function(v,x,F){var L=mn(v);x[rr]=24===L?0:L}),Gn(["a","A"],function(v,x,F){F._isPm=F._locale.isPM(v),F._meridiem=v}),Gn(["h","hh"],function(v,x,F){x[rr]=mn(v),at(F).bigHour=!0}),Gn("hmm",function(v,x,F){var L=v.length-2;x[rr]=mn(v.substr(0,L)),x[ms]=mn(v.substr(L)),at(F).bigHour=!0}),Gn("hmmss",function(v,x,F){var L=v.length-4,j=v.length-2;x[rr]=mn(v.substr(0,L)),x[ms]=mn(v.substr(L,2)),x[Ys]=mn(v.substr(j)),at(F).bigHour=!0}),Gn("Hmm",function(v,x,F){var L=v.length-2;x[rr]=mn(v.substr(0,L)),x[ms]=mn(v.substr(L))}),Gn("Hmmss",function(v,x,F){var L=v.length-4,j=v.length-2;x[rr]=mn(v.substr(0,L)),x[ms]=mn(v.substr(L,2)),x[Ys]=mn(v.substr(j))});var df=zo("Hours",!0);var Cl,Np={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,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",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ry,monthsShort:e0,week:{dow:0,doy:6},weekdays:kS,weekdaysMin:AS,weekdaysShort:Ma,meridiemParse:/[ap]\.?m?\.?/i},ai={},kt={};function py(v,x){var F,L=Math.min(v.length,x.length);for(F=0;F<L;F+=1)if(v[F]!==x[F])return F;return L}function Eo(v){return v&&v.toLowerCase().replace("_","-")}function jn(v){var x=null;if(void 0===ai[v]&&Me&&Me.exports&&function HS(v){return null!=v.match("^[^/\\\\]*$")}(v))try{x=Cl._abbr,ee(6700)("./"+v),xl(x)}catch{ai[v]=null}return ai[v]}function xl(v,x){var F;return v&&((F=te(x)?So(v):a0(v,x))?Cl=F:typeof console<"u"&&console.warn&&console.warn("Locale "+v+" not found. Did you forget to load it?")),Cl._abbr}function a0(v,x){if(null!==x){var F,L=Np;if(x.abbr=v,null!=ai[v])qu("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."),L=ai[v]._config;else if(null!=x.parentLocale)if(null!=ai[x.parentLocale])L=ai[x.parentLocale]._config;else{if(null==(F=jn(x.parentLocale)))return kt[x.parentLocale]||(kt[x.parentLocale]=[]),kt[x.parentLocale].push({name:v,config:x}),null;L=F._config}return ai[v]=new bp(fs(L,x)),kt[v]&&kt[v].forEach(function(j){a0(j.name,j.config)}),xl(v),ai[v]}return delete ai[v],null}function So(v){var x;if(v&&v._locale&&v._locale._abbr&&(v=v._locale._abbr),!v)return Cl;if(!E(v)){if(x=jn(v))return x;v=[v]}return function s0(v){for(var F,L,j,fe,x=0;x<v.length;){for(F=(fe=Eo(v[x]).split("-")).length,L=(L=Eo(v[x+1]))?L.split("-"):null;F>0;){if(j=jn(fe.slice(0,F).join("-")))return j;if(L&&L.length>=F&&py(fe,L)>=F-1)break;F--}x++}return Cl}(v)}function uc(v){var x,F=v._a;return F&&-2===at(v).overflow&&(x=F[ro]<0||F[ro]>11?ro:F[Ci]<1||F[Ci]>Dd(F[Dn],F[ro])?Ci:F[rr]<0||F[rr]>24||24===F[rr]&&(0!==F[ms]||0!==F[Ys]||0!==F[ya])?rr:F[ms]<0||F[ms]>59?ms:F[Ys]<0||F[Ys]>59?Ys:F[ya]<0||F[ya]>999?ya:-1,at(v)._overflowDayOfYear&&(x<Dn||x>Ci)&&(x=Ci),at(v)._overflowWeeks&&-1===x&&(x=sf),at(v)._overflowWeekday&&-1===x&&(x=bd),at(v).overflow=x),v}var my=/^\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)?)?$/,gy=/^\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)?)?$/,_y=/Z|[+-]\d\d(?::?\d\d)?/,xd=[["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]],Tl=[["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/]],fc=/^\/?Date\((-?\d+)/i,vy=/^(?:(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}))$/,me={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ip(v){var x,F,fe,Ee,At,tn,L=v._i,j=my.exec(L)||gy.exec(L),Bn=xd.length,Xr=Tl.length;if(j){for(at(v).iso=!0,x=0,F=Bn;x<F;x++)if(xd[x][1].exec(j[1])){Ee=xd[x][0],fe=!1!==xd[x][2];break}if(null==Ee)return void(v._isValid=!1);if(j[3]){for(x=0,F=Xr;x<F;x++)if(Tl[x][1].exec(j[3])){At=(j[2]||" ")+Tl[x][0];break}if(null==At)return void(v._isValid=!1)}if(!fe&&null!=At)return void(v._isValid=!1);if(j[4]){if(!_y.exec(j[4]))return void(v._isValid=!1);tn="Z"}v._f=Ee+(At||"")+(tn||""),xn(v)}else v._isValid=!1}function uf(v){var x=parseInt(v,10);return x<=49?2e3+x:x<=999?1900+x:x}function l0(v){var F,x=vy.exec(function Lp(v){return v.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(v._i));if(x){if(F=function Pt(v,x,F,L,j,fe){var Ee=[uf(v),e0.indexOf(x),parseInt(F,10),parseInt(L,10),parseInt(j,10)];return fe&&Ee.push(parseInt(fe,10)),Ee}(x[4],x[3],x[2],x[5],x[6],x[7]),!function Td(v,x,F){return!v||Ma.indexOf(v)===new Date(x[0],x[1],x[2]).getDay()||(at(F).weekdayMismatch=!0,F._isValid=!1,!1)}(x[1],F,v))return;v._a=F,v._tzm=function by(v,x,F){if(v)return me[v];if(x)return 0;var L=parseInt(F,10),j=L%100;return(L-j)/100*60+j}(x[8],x[9],x[10]),v._d=Ml.apply(null,v._a),v._d.setUTCMinutes(v._d.getUTCMinutes()-v._tzm),at(v).rfc2822=!0}else v._isValid=!1}function oo(v,x,F){return v??x??F}function ko(v){var x,F,j,fe,Ee,L=[];if(!v._d){for(j=function Us(v){var x=new Date(w.now());return v._useUTC?[x.getUTCFullYear(),x.getUTCMonth(),x.getUTCDate()]:[x.getFullYear(),x.getMonth(),x.getDate()]}(v),v._w&&null==v._a[Ci]&&null==v._a[ro]&&function Ca(v){var x,F,L,j,fe,Ee,At,tn,Bn;null!=(x=v._w).GG||null!=x.W||null!=x.E?(fe=1,Ee=4,F=oo(x.GG,v._a[Dn],Re(Oe(),1,4).year),L=oo(x.W,1),((j=oo(x.E,1))<1||j>7)&&(tn=!0)):(fe=v._locale._week.dow,Ee=v._locale._week.doy,Bn=Re(Oe(),fe,Ee),F=oo(x.gg,v._a[Dn],Bn.year),L=oo(x.w,Bn.week),null!=x.d?((j=x.d)<0||j>6)&&(tn=!0):null!=x.e?(j=x.e+fe,(x.e<0||x.e>6)&&(tn=!0)):j=fe),L<1||L>qo(F,fe,Ee)?at(v)._overflowWeeks=!0:null!=tn?at(v)._overflowWeekday=!0:(At=Cd(F,L,j,fe,Ee),v._a[Dn]=At.year,v._dayOfYear=At.dayOfYear)}(v),null!=v._dayOfYear&&(Ee=oo(v._a[Dn],j[Dn]),(v._dayOfYear>Md(Ee)||0===v._dayOfYear)&&(at(v)._overflowDayOfYear=!0),F=Ml(Ee,0,v._dayOfYear),v._a[ro]=F.getUTCMonth(),v._a[Ci]=F.getUTCDate()),x=0;x<3&&null==v._a[x];++x)v._a[x]=L[x]=j[x];for(;x<7;x++)v._a[x]=L[x]=null==v._a[x]?2===x?1:0:v._a[x];24===v._a[rr]&&0===v._a[ms]&&0===v._a[Ys]&&0===v._a[ya]&&(v._nextDay=!0,v._a[rr]=0),v._d=(v._useUTC?Ml:Sp).apply(null,L),fe=v._useUTC?v._d.getUTCDay():v._d.getDay(),null!=v._tzm&&v._d.setUTCMinutes(v._d.getUTCMinutes()-v._tzm),v._nextDay&&(v._a[rr]=24),v._w&&typeof v._w.d<"u"&&v._w.d!==fe&&(at(v).weekdayMismatch=!0)}}function xn(v){if(v._f!==w.ISO_8601)if(v._f!==w.RFC_2822){v._a=[],at(v).empty=!0;var F,L,j,fe,Ee,Bn,Xr,x=""+v._i,At=x.length,tn=0;for(Xr=(j=xt(v._f,v._locale).match(Dp)||[]).length,F=0;F<Xr;F++)(L=(x.match(ey(fe=j[F],v))||[])[0])&&((Ee=x.substr(0,x.indexOf(L))).length>0&&at(v).unusedInput.push(Ee),x=x.slice(x.indexOf(L)+L.length),tn+=L.length),yl[fe]?(L?at(v).empty=!1:at(v).unusedTokens.push(fe),ny(fe,L,v)):v._strict&&!L&&at(v).unusedTokens.push(fe);at(v).charsLeftOver=At-tn,x.length>0&&at(v).unusedInput.push(x),v._a[rr]<=12&&!0===at(v).bigHour&&v._a[rr]>0&&(at(v).bigHour=void 0),at(v).parsedDateParts=v._a.slice(0),at(v).meridiem=v._meridiem,v._a[rr]=function ff(v,x,F){var L;return null==F?x:null!=v.meridiemHour?v.meridiemHour(x,F):(null!=v.isPM&&((L=v.isPM(F))&&x<12&&(x+=12),!L&&12===x&&(x=0)),x)}(v._locale,v._a[rr],v._meridiem),null!==(Bn=at(v).era)&&(v._a[Dn]=v._locale.erasConvertYear(Bn,v._a[Dn])),ko(v),uc(v)}else l0(v);else Ip(v)}function Ws(v){var x=v._i,F=v._f;return v._locale=v._locale||So(v._l),null===x||void 0===F&&""===x?Wo({nullInput:!0}):("string"==typeof x&&(v._i=x=v._locale.preparse(x)),us(x)?new Dl(uc(x)):(ve(x)?v._d=x:E(F)?function Pp(v){var x,F,L,j,fe,Ee,At=!1,tn=v._f.length;if(0===tn)return at(v).invalidFormat=!0,void(v._d=new Date(NaN));for(j=0;j<tn;j++)fe=0,Ee=!1,x=_p({},v),null!=v._useUTC&&(x._useUTC=v._useUTC),x._f=v._f[j],xn(x),Ar(x)&&(Ee=!0),fe+=at(x).charsLeftOver,fe+=10*at(x).unusedTokens.length,at(x).score=fe,At?fe<L&&(L=fe,F=x):(null==L||fe<L||Ee)&&(L=fe,F=x,Ee&&(At=!0));pt(v,F||x)}(v):F?xn(v):function wd(v){var x=v._i;te(x)?v._d=new Date(w.now()):ve(x)?v._d=new Date(x.valueOf()):"string"==typeof x?function Dy(v){var x=fc.exec(v._i);null===x?(Ip(v),!1===v._isValid&&(delete v._isValid,l0(v),!1===v._isValid&&(delete v._isValid,v._strict?v._isValid=!1:w.createFromInputFallback(v)))):v._d=new Date(+x[1])}(v):E(x)?(v._a=Ze(x.slice(0),function(F){return parseInt(F,10)}),ko(v)):S(x)?function Bp(v){if(!v._d){var x=Ku(v._i);v._a=Ze([x.year,x.month,void 0===x.day?x.date:x.day,x.hour,x.minute,x.second,x.millisecond],function(L){return L&&parseInt(L,10)}),ko(v)}}(v):ge(x)?v._d=new Date(x):w.createFromInputFallback(v)}(v),Ar(v)||(v._d=null),v))}function d0(v,x,F,L,j){var fe={};return(!0===x||!1===x)&&(L=x,x=void 0),(!0===F||!1===F)&&(L=F,F=void 0),(S(v)&&G(v)||E(v)&&0===v.length)&&(v=void 0),fe._isAMomentObject=!0,fe._useUTC=fe._isUTC=j,fe._l=F,fe._i=v,fe._f=x,fe._strict=L,function c0(v){var x=new Dl(uc(Ws(v)));return x._nextDay&&(x.add(1,"d"),x._nextDay=void 0),x}(fe)}function Oe(v,x,F,L){return d0(v,x,F,L,!1)}w.createFromInputFallback=Wr("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(v){v._d=new Date(v._i+(v._useUTC?" UTC":""))}),w.ISO_8601=function(){},w.RFC_2822=function(){};var yy=Wr("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var v=Oe.apply(null,arguments);return this.isValid()&&v.isValid()?v<this?this:v:Wo()}),My=Wr("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var v=Oe.apply(null,arguments);return this.isValid()&&v.isValid()?v>this?this:v:Wo()});function u0(v,x){var F,L;if(1===x.length&&E(x[0])&&(x=x[0]),!x.length)return Oe();for(F=x[0],L=1;L<x.length;++L)(!x[L].isValid()||x[L][v](F))&&(F=x[L]);return F}var je=["year","quarter","month","week","day","hour","minute","second","millisecond"];function yr(v){var x=Ku(v),F=x.year||0,L=x.quarter||0,j=x.month||0,fe=x.week||x.isoWeek||0,Ee=x.day||0,At=x.hour||0,tn=x.minute||0,Bn=x.second||0,Xr=x.millisecond||0;this._isValid=function so(v){var x,L,F=!1,j=je.length;for(x in v)if(B(v,x)&&(-1===xi.call(je,x)||null!=v[x]&&isNaN(v[x])))return!1;for(L=0;L<j;++L)if(v[je[L]]){if(F)return!1;parseFloat(v[je[L]])!==mn(v[je[L]])&&(F=!0)}return!0}(x),this._milliseconds=+Xr+1e3*Bn+6e4*tn+1e3*At*60*60,this._days=+Ee+7*fe,this._months=+j+3*L+12*F,this._data={},this._locale=So(),this._bubble()}function xa(v){return v instanceof yr}function zr(v){return v<0?-1*Math.round(-1*v):Math.round(v)}function Vp(v,x){Tt(v,0,0,function(){var F=this.utcOffset(),L="+";return F<0&&(F=-F,L="-"),L+js(~~(F/60),2)+x+js(~~F%60,2)})}Vp("Z",":"),Vp("ZZ",""),ft("Z",vd),ft("ZZ",vd),Gn(["Z","ZZ"],function(v,x,F){F._useUTC=!0,F._tzm=gs(vd,v)});var hf=/([\+\-]|\d\d)/gi;function gs(v,x){var j,fe,F=(x||"").match(v);return null===F?null:0===(fe=60*(j=((F[F.length-1]||[])+"").match(hf)||["-",0,0])[1]+mn(j[2]))?0:"+"===j[0]?fe:-fe}function dt(v,x){var F,L;return x._isUTC?(F=x.clone(),L=(us(v)||ve(v)?v.valueOf():Oe(v).valueOf())-F.valueOf(),F._d.setTime(F._d.valueOf()+L),w.updateOffset(F,!1),F):Oe(v).local()}function Jt(v){return-Math.round(v._d.getTimezoneOffset())}function pc(){return!!this.isValid()&&this._isUTC&&0===this._offset}w.updateOffset=function(){};var p0=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,mc=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Jn(v,x){var j,fe,Ee,F=v,L=null;return xa(v)?F={ms:v._milliseconds,d:v._days,M:v._months}:ge(v)||!isNaN(+v)?(F={},x?F[x]=+v:F.milliseconds=+v):(L=p0.exec(v))?(j="-"===L[1]?-1:1,F={y:0,d:mn(L[Ci])*j,h:mn(L[rr])*j,m:mn(L[ms])*j,s:mn(L[Ys])*j,ms:mn(zr(1e3*L[ya]))*j}):(L=mc.exec(v))?F={y:vs(L[2],j="-"===L[1]?-1:1),M:vs(L[3],j),w:vs(L[4],j),d:vs(L[5],j),h:vs(L[6],j),m:vs(L[7],j),s:vs(L[8],j)}:null==F?F={}:"object"==typeof F&&("from"in F||"to"in F)&&(Ee=function zs(v,x){var F;return v.isValid()&&x.isValid()?(x=dt(x,v),v.isBefore(x)?F=El(v,x):((F=El(x,v)).milliseconds=-F.milliseconds,F.months=-F.months),F):{milliseconds:0,months:0}}(Oe(F.from),Oe(F.to)),(F={}).ms=Ee.milliseconds,F.M=Ee.months),fe=new yr(F),xa(v)&&B(v,"_locale")&&(fe._locale=v._locale),xa(v)&&B(v,"_isValid")&&(fe._isValid=v._isValid),fe}function vs(v,x){var F=v&&parseFloat(v.replace(",","."));return(isNaN(F)?0:F)*x}function El(v,x){var F={};return F.months=x.month()-v.month()+12*(x.year()-v.year()),v.clone().add(F.months,"M").isAfter(x)&&--F.months,F.milliseconds=+x-+v.clone().add(F.months,"M"),F}function gc(v,x){return function(F,L){var fe;return null!==L&&!isNaN(+L)&&(qu(x,"moment()."+x+"(period, number) is deprecated. Please use moment()."+x+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),fe=F,F=L,L=fe),Gp(this,Jn(F,L),v),this}}function Gp(v,x,F,L){var j=x._milliseconds,fe=zr(x._days),Ee=zr(x._months);v.isValid()&&(L=L??!0,Ee&&wp(v,ef(v,"Month")+Ee*F),fe&&JD(v,"Date",ef(v,"Date")+fe*F),j&&v._d.setTime(v._d.valueOf()+j*F),L&&w.updateOffset(v,fe||Ee))}Jn.fn=yr.prototype,Jn.invalid=function Fr(){return Jn(NaN)};var ei=gc(1,"add"),jS=gc(-1,"subtract");function gf(v){return"string"==typeof v||v instanceof String}function m0(v){return us(v)||ve(v)||gf(v)||ge(v)||function vf(v){var x=E(v),F=!1;return x&&(F=0===v.filter(function(L){return!ge(L)&&gf(v)}).length),x&&F}(v)||function _f(v){var j,x=S(v)&&!G(v),F=!1,L=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],Ee=L.length;for(j=0;j<Ee;j+=1)F=F||B(v,L[j]);return x&&F}(v)||null==v}function Df(v,x){if(v.date()<x.date())return-Df(x,v);var F=12*(x.year()-v.year())+(x.month()-v.month()),L=v.clone().add(F,"months");return-(F+(x-L<0?(x-L)/(L-v.clone().add(F-1,"months")):(x-L)/(v.clone().add(F+1,"months")-L)))||0}function wy(v){var x;return void 0===v?this._locale._abbr:(null!=(x=So(v))&&(this._locale=x),this)}w.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",w.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ey=Wr("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(v){return void 0===v?this.localeData():this.locale(v)});function Sy(){return this._locale}var Yp=1e3,Sd=60*Yp,kd=60*Sd,Up=3506328*kd;function Ad(v,x){return(v%x+x)%x}function ky(v,x,F){return v<100&&v>=0?new Date(v+400,x,F)-Up:new Date(v,x,F).valueOf()}function Ay(v,x,F){return v<100&&v>=0?Date.UTC(v+400,x,F)-Up:Date.UTC(v,x,F)}function zp(v,x){return x.erasAbbrRegex(v)}function Cf(){var j,fe,v=[],x=[],F=[],L=[],Ee=this.eras();for(j=0,fe=Ee.length;j<fe;++j)x.push(io(Ee[j].name)),v.push(io(Ee[j].abbr)),F.push(io(Ee[j].narrow)),L.push(io(Ee[j].name)),L.push(io(Ee[j].abbr)),L.push(io(Ee[j].narrow));this._erasRegex=new RegExp("^("+L.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+x.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+v.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+F.join("|")+")","i")}function bc(v,x){Tt(0,[v,v.length],0,x)}function $p(v,x,F,L,j){var fe;return null==v?Re(this,L,j).year:(x>(fe=qo(v,L,j))&&(x=fe),jy.call(this,v,x,F,L,j))}function jy(v,x,F,L,j){var fe=Cd(v,x,F,L,j),Ee=Ml(fe.year,0,fe.dayOfYear);return this.year(Ee.getUTCFullYear()),this.month(Ee.getUTCMonth()),this.date(Ee.getUTCDate()),this}Tt("N",0,0,"eraAbbr"),Tt("NN",0,0,"eraAbbr"),Tt("NNN",0,0,"eraAbbr"),Tt("NNNN",0,0,"eraName"),Tt("NNNNN",0,0,"eraNarrow"),Tt("y",["y",1],"yo","eraYear"),Tt("y",["yy",2],0,"eraYear"),Tt("y",["yyy",3],0,"eraYear"),Tt("y",["yyyy",4],0,"eraYear"),ft("N",zp),ft("NN",zp),ft("NNN",zp),ft("NNNN",function Mf(v,x){return x.erasNameRegex(v)}),ft("NNNNN",function By(v,x){return x.erasNarrowRegex(v)}),Gn(["N","NN","NNN","NNNN","NNNNN"],function(v,x,F,L){var j=F._locale.erasParse(v,L,F._strict);j?at(F).era=j:at(F).invalidEra=v}),ft("y",cc),ft("yy",cc),ft("yyy",cc),ft("yyyy",cc),ft("yo",function Ya(v,x){return x._eraYearOrdinalRegex||cc}),Gn(["y","yy","yyy","yyyy"],Dn),Gn(["yo"],function(v,x,F,L){var j;F._locale._eraYearOrdinalRegex&&(j=v.match(F._locale._eraYearOrdinalRegex)),x[Dn]=F._locale.eraYearOrdinalParse?F._locale.eraYearOrdinalParse(v,j):parseInt(v,10)}),Tt(0,["gg",2],0,function(){return this.weekYear()%100}),Tt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),bc("gggg","weekYear"),bc("ggggg","weekYear"),bc("GGGG","isoWeekYear"),bc("GGGGG","isoWeekYear"),Rr("weekYear","gg"),Rr("isoWeekYear","GG"),Dr("weekYear",1),Dr("isoWeekYear",1),ft("G",_d),ft("g",_d),ft("GG",oi,$o),ft("gg",oi,$o),ft("GGGG",nf,J_),ft("gggg",nf,J_),ft("GGGGG",gd,Cp),ft("ggggg",gd,Cp),To(["gggg","ggggg","GGGG","GGGGG"],function(v,x,F,L){x[L.substr(0,2)]=mn(v)}),To(["gg","GG"],function(v,x,F,L){x[L]=w.parseTwoDigitYear(v)}),Tt("Q",0,"Qo","quarter"),Rr("quarter","Q"),Dr("quarter",7),ft("Q",Q_),Gn("Q",function(v,x){x[ro]=3*(mn(v)-1)}),Tt("D",["DD",2],"Do","date"),Rr("date","D"),Dr("date",9),ft("D",oi),ft("DD",oi,$o),ft("Do",function(v,x){return v?x._dayOfMonthOrdinalParse||x._ordinalParse:x._dayOfMonthOrdinalParseLenient}),Gn(["D","DD"],Ci),Gn("Do",function(v,x){x[Ci]=mn(v.match(oi)[0])});var Ge=zo("Date",!0);Tt("DDD",["DDDD",3],"DDDo","dayOfYear"),Rr("dayOfYear","DDD"),Dr("dayOfYear",4),ft("DDD",md),ft("DDDD",KD),Gn(["DDD","DDDD"],function(v,x,F){F._dayOfYear=mn(v)}),Tt("m",["mm",2],0,"minute"),Rr("minute","m"),Dr("minute",14),ft("m",oi),ft("mm",oi,$o),Gn(["m","mm"],ms);var z=zo("Minutes",!1);Tt("s",["ss",2],0,"second"),Rr("second","s"),Dr("second",15),ft("s",oi),ft("ss",oi,$o),Gn(["s","ss"],Ys);var li,qp,q=zo("Seconds",!1);for(Tt("S",0,0,function(){return~~(this.millisecond()/100)}),Tt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Tt(0,["SSS",3],0,"millisecond"),Tt(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Tt(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Tt(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Tt(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Tt(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Tt(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Rr("millisecond","ms"),Dr("millisecond",16),ft("S",md,Q_),ft("SS",md,$o),ft("SSS",md,KD),li="SSSS";li.length<=9;li+="S")ft(li,cc);function Rd(v,x){x[ya]=mn(1e3*("0."+v))}for(li="S";li.length<=9;li+="S")Gn(li,Rd);qp=zo("Milliseconds",!1),Tt("z",0,0,"zoneAbbr"),Tt("zz",0,0,"zoneName");var Xe=Dl.prototype;function Qp(v){return v}Xe.add=ei,Xe.calendar=function YS(v,x){1===arguments.length&&(arguments[0]?m0(arguments[0])?(v=arguments[0],x=void 0):function _c(v){var j,x=S(v)&&!G(v),F=!1,L=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(j=0;j<L.length;j+=1)F=F||B(v,L[j]);return x&&F}(arguments[0])&&(x=arguments[0],v=void 0):(v=void 0,x=void 0));var F=v||Oe(),L=dt(F,this).startOf("day"),j=w.calendarFormat(this,L)||"sameElse",fe=x&&(Gs(x[j])?x[j].call(this,F):x[j]);return this.format(fe||this.localeData().calendar(j,this,Oe(F)))},Xe.clone=function Ao(){return new Dl(this)},Xe.diff=function US(v,x,F){var L,j,fe;if(!this.isValid())return NaN;if(!(L=dt(v,this)).isValid())return NaN;switch(j=6e4*(L.utcOffset()-this.utcOffset()),x=hs(x)){case"year":fe=Df(this,L)/12;break;case"month":fe=Df(this,L);break;case"quarter":fe=Df(this,L)/3;break;case"second":fe=(this-L)/1e3;break;case"minute":fe=(this-L)/6e4;break;case"hour":fe=(this-L)/36e5;break;case"day":fe=(this-L-j)/864e5;break;case"week":fe=(this-L-j)/6048e5;break;default:fe=this-L}return F?fe:ps(fe)},Xe.endOf=function Ry(v){var x,F;if(void 0===(v=hs(v))||"millisecond"===v||!this.isValid())return this;switch(F=this._isUTC?Ay:ky,v){case"year":x=F(this.year()+1,0,1)-1;break;case"quarter":x=F(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":x=F(this.year(),this.month()+1,1)-1;break;case"week":x=F(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":x=F(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":x=F(this.year(),this.month(),this.date()+1)-1;break;case"hour":x=this._d.valueOf(),x+=kd-Ad(x+(this._isUTC?0:this.utcOffset()*Sd),kd)-1;break;case"minute":x=this._d.valueOf(),x+=Sd-Ad(x,Sd)-1;break;case"second":x=this._d.valueOf(),x+=Yp-Ad(x,Yp)-1}return this._d.setTime(x),w.updateOffset(this,!0),this},Xe.format=function $S(v){v||(v=this.isUtc()?w.defaultFormatUtc:w.defaultFormat);var x=Ju(this,v);return this.localeData().postformat(x)},Xe.from=function qS(v,x){return this.isValid()&&(us(v)&&v.isValid()||Oe(v).isValid())?Jn({to:this,from:v}).locale(this.locale()).humanize(!x):this.localeData().invalidDate()},Xe.fromNow=function XS(v){return this.from(Oe(),v)},Xe.to=function QS(v,x){return this.isValid()&&(us(v)&&v.isValid()||Oe(v).isValid())?Jn({from:this,to:v}).locale(this.locale()).humanize(!x):this.localeData().invalidDate()},Xe.toNow=function JS(v){return this.to(Oe(),v)},Xe.get=function ZD(v){return Gs(this[v=hs(v)])?this[v]():this},Xe.invalidAt=function Iy(){return at(this).overflow},Xe.isAfter=function bs(v,x){var F=us(v)?v:Oe(v);return!(!this.isValid()||!F.isValid())&&("millisecond"===(x=hs(x)||"millisecond")?this.valueOf()>F.valueOf():F.valueOf()<this.clone().startOf(x).valueOf())},Xe.isBefore=function jp(v,x){var F=us(v)?v:Oe(v);return!(!this.isValid()||!F.isValid())&&("millisecond"===(x=hs(x)||"millisecond")?this.valueOf()<F.valueOf():this.clone().endOf(x).valueOf()<F.valueOf())},Xe.isBetween=function Ed(v,x,F,L){var j=us(v)?v:Oe(v),fe=us(x)?x:Oe(x);return!!(this.isValid()&&j.isValid()&&fe.isValid())&&("("===(L=L||"()")[0]?this.isAfter(j,F):!this.isBefore(j,F))&&(")"===L[1]?this.isBefore(fe,F):!this.isAfter(fe,F))},Xe.isSame=function bf(v,x){var L,F=us(v)?v:Oe(v);return!(!this.isValid()||!F.isValid())&&("millisecond"===(x=hs(x)||"millisecond")?this.valueOf()===F.valueOf():(L=F.valueOf(),this.clone().startOf(x).valueOf()<=L&&L<=this.clone().endOf(x).valueOf()))},Xe.isSameOrAfter=function Ds(v,x){return this.isSame(v,x)||this.isAfter(v,x)},Xe.isSameOrBefore=function xy(v,x){return this.isSame(v,x)||this.isBefore(v,x)},Xe.isValid=function Oy(){return Ar(this)},Xe.lang=Ey,Xe.locale=wy,Xe.localeData=Sy,Xe.max=My,Xe.min=yy,Xe.parsingFlags=function Wp(){return pt({},at(this))},Xe.set=function wS(v,x){if("object"==typeof v){var L,F=function QD(v){var F,x=[];for(F in v)B(v,F)&&x.push({unit:F,priority:XD[F]});return x.sort(function(L,j){return L.priority-j.priority}),x}(v=Ku(v)),j=F.length;for(L=0;L<j;L++)this[F[L].unit](v[F[L].unit])}else if(Gs(this[v=hs(v)]))return this[v](x);return this},Xe.startOf=function Sl(v){var x,F;if(void 0===(v=hs(v))||"millisecond"===v||!this.isValid())return this;switch(F=this._isUTC?Ay:ky,v){case"year":x=F(this.year(),0,1);break;case"quarter":x=F(this.year(),this.month()-this.month()%3,1);break;case"month":x=F(this.year(),this.month(),1);break;case"week":x=F(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":x=F(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":x=F(this.year(),this.month(),this.date());break;case"hour":x=this._d.valueOf(),x-=Ad(x+(this._isUTC?0:this.utcOffset()*Sd),kd);break;case"minute":x=this._d.valueOf(),x-=Ad(x,Sd);break;case"second":x=this._d.valueOf(),x-=Ad(x,Yp)}return this._d.setTime(x),w.updateOffset(this,!0),this},Xe.subtract=jS,Xe.toArray=function Ny(){var v=this;return[v.year(),v.month(),v.date(),v.hour(),v.minute(),v.second(),v.millisecond()]},Xe.toObject=function _0(){var v=this;return{years:v.year(),months:v.month(),date:v.date(),hours:v.hours(),minutes:v.minutes(),seconds:v.seconds(),milliseconds:v.milliseconds()}},Xe.toDate=function Fy(){return new Date(this.valueOf())},Xe.toISOString=function WS(v){if(!this.isValid())return null;var x=!0!==v,F=x?this.clone().utc():this;return F.year()<0||F.year()>9999?Ju(F,x?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Gs(Date.prototype.toISOString)?x?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Ju(F,"Z")):Ju(F,x?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Xe.inspect=function zS(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var F,L,v="moment",x="";return this.isLocal()||(v=0===this.utcOffset()?"moment.utc":"moment.parseZone",x="Z"),F="["+v+'("]',L=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(F+L+"-MM-DD[T]HH:mm:ss.SSS"+x+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(Xe[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Xe.toJSON=function v0(){return this.isValid()?this.toISOString():null},Xe.toString=function Ty(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Xe.unix=function g0(){return Math.floor(this.valueOf()/1e3)},Xe.valueOf=function ti(){return this._d.valueOf()-6e4*(this._offset||0)},Xe.creationData=function Qo(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Xe.eraName=function Ly(){var v,x,F,L=this.localeData().eras();for(v=0,x=L.length;v<x;++v)if(F=this.clone().startOf("day").valueOf(),L[v].since<=F&&F<=L[v].until||L[v].until<=F&&F<=L[v].since)return L[v].name;return""},Xe.eraNarrow=function yf(){var v,x,F,L=this.localeData().eras();for(v=0,x=L.length;v<x;++v)if(F=this.clone().startOf("day").valueOf(),L[v].since<=F&&F<=L[v].until||L[v].until<=F&&F<=L[v].since)return L[v].narrow;return""},Xe.eraAbbr=function Ro(){var v,x,F,L=this.localeData().eras();for(v=0,x=L.length;v<x;++v)if(F=this.clone().startOf("day").valueOf(),L[v].since<=F&&F<=L[v].until||L[v].until<=F&&F<=L[v].since)return L[v].abbr;return""},Xe.eraYear=function Py(){var v,x,F,L,j=this.localeData().eras();for(v=0,x=j.length;v<x;++v)if(F=j[v].since<=j[v].until?1:-1,L=this.clone().startOf("day").valueOf(),j[v].since<=L&&L<=j[v].until||j[v].until<=L&&L<=j[v].since)return(this.year()-w(j[v].since).year())*F+j[v].offset;return this.year()},Xe.year=dn,Xe.isLeapYear=function Lt(){return Mp(this.year())},Xe.weekYear=function Xt(v){return $p.call(this,v,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Xe.isoWeekYear=function M0(v){return $p.call(this,v,this.isoWeek(),this.isoWeekday(),1,4)},Xe.quarter=Xe.quarters=function Yy(v){return null==v?Math.ceil((this.month()+1)/3):this.month(3*(v-1)+this.month()%3)},Xe.month=af,Xe.daysInMonth=function Wn(){return Dd(this.year(),this.month())},Xe.week=Xe.weeks=function cy(v){var x=this.localeData().week(this);return null==v?x:this.add(7*(v-x),"d")},Xe.isoWeek=Xe.isoWeeks=function cf(v){var x=Re(this,1,4).week;return null==v?x:this.add(7*(v-x),"d")},Xe.weeksInYear=function Hy(){var v=this.localeData()._week;return qo(this.year(),v.dow,v.doy)},Xe.weeksInWeekYear=function Gy(){var v=this.localeData()._week;return qo(this.weekYear(),v.dow,v.doy)},Xe.isoWeeksInYear=function ZS(){return qo(this.year(),1,4)},Xe.isoWeeksInISOWeekYear=function Vy(){return qo(this.isoWeekYear(),1,4)},Xe.date=Ge,Xe.day=Xe.days=function Fn(v){if(!this.isValid())return null!=v?this:NaN;var x=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=v?(v=function wo(v,x){return"string"!=typeof v?v:isNaN(v)?"number"==typeof(v=x.weekdaysParse(v))?v:null:parseInt(v,10)}(v,this.localeData()),this.add(v-x,"d")):x},Xe.weekday=function LS(v){if(!this.isValid())return null!=v?this:NaN;var x=(this.day()+7-this.localeData()._week.dow)%7;return null==v?x:this.add(v-x,"d")},Xe.isoWeekday=function PS(v){if(!this.isValid())return null!=v?this:NaN;if(null!=v){var x=function SS(v,x){return"string"==typeof v?x.weekdaysParse(v)%7||7:isNaN(v)?null:v}(v,this.localeData());return this.day(this.day()%7?x:x-7)}return this.day()||7},Xe.dayOfYear=function yn(v){var x=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==v?x:this.add(v-x,"d")},Xe.hour=Xe.hours=df,Xe.minute=Xe.minutes=z,Xe.second=Xe.seconds=q,Xe.millisecond=Xe.milliseconds=qp,Xe.utcOffset=function Ti(v,x,F){var j,L=this._offset||0;if(!this.isValid())return null!=v?this:NaN;if(null!=v){if("string"==typeof v){if(null===(v=gs(vd,v)))return this}else Math.abs(v)<16&&!F&&(v*=60);return!this._isUTC&&x&&(j=Jt(this)),this._offset=v,this._isUTC=!0,null!=j&&this.add(j,"m"),L!==v&&(!x||this._changeInProgress?Gp(this,Jn(v-L,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,w.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?L:Jt(this)},Xe.utc=function wl(v){return this.utcOffset(0,v)},Xe.local=function Nr(v){return this._isUTC&&(this.utcOffset(0,v),this._isUTC=!1,v&&this.subtract(Jt(this),"m")),this},Xe.parseZone=function hc(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var v=gs(Z_,this._i);null!=v?this.utcOffset(v):this.utcOffset(0,!0)}return this},Xe.hasAlignedHourOffset=function Fi(v){return!!this.isValid()&&(v=v?Oe(v).utcOffset():0,(this.utcOffset()-v)%60==0)},Xe.isDST=function pf(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Xe.isLocal=function sn(){return!!this.isValid()&&!this._isUTC},Xe.isUtcOffset=function Hp(){return!!this.isValid()&&this._isUTC},Xe.isUtc=pc,Xe.isUTC=pc,Xe.zoneAbbr=function $s(){return this._isUTC?"UTC":""},Xe.zoneName=function Xp(){return this._isUTC?"Coordinated Universal Time":""},Xe.dates=Wr("dates accessor is deprecated. Use date instead.",Ge),Xe.months=Wr("months accessor is deprecated. Use month instead",af),Xe.years=Wr("years accessor is deprecated. Use year instead",dn),Xe.zone=Wr("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function _s(v,x){return null!=v?("string"!=typeof v&&(v=-v),this.utcOffset(v,x),this):-this.utcOffset()}),Xe.isDSTShifted=Wr("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function mf(){if(!te(this._isDSTShifted))return this._isDSTShifted;var x,v={};return _p(v,this),(v=Ws(v))._a?(x=v._isUTC?_t(v._a):Oe(v._a),this._isDSTShifted=this.isValid()&&function h0(v,x,F){var Ee,L=Math.min(v.length,x.length),j=Math.abs(v.length-x.length),fe=0;for(Ee=0;Ee<L;Ee++)(F&&v[Ee]!==x[Ee]||!F&&mn(v[Ee])!==mn(x[Ee]))&&fe++;return fe+j}(v._a,x.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var Ut=bp.prototype;function Jo(v,x,F,L){var j=So(),fe=_t().set(L,x);return j[F](fe,v)}function Jp(v,x,F){if(ge(v)&&(x=v,v=void 0),v=v||"",null!=x)return Jo(v,x,F,"month");var L,j=[];for(L=0;L<12;L++)j[L]=Jo(v,L,F,"month");return j}function Ua(v,x,F,L){"boolean"==typeof v?(ge(x)&&(F=x,x=void 0),x=x||""):(F=x=v,v=!1,ge(x)&&(F=x,x=void 0),x=x||"");var Ee,j=So(),fe=v?j._week.dow:0,At=[];if(null!=F)return Jo(x,(F+fe)%7,L,"day");for(Ee=0;Ee<7;Ee++)At[Ee]=Jo(x,(Ee+fe)%7,L,"day");return At}Ut.calendar=function q_(v,x,F){var L=this._calendar[v]||this._calendar.sameElse;return Gs(L)?L.call(x,F):L},Ut.longDateFormat=function vS(v){var x=this._longDateFormat[v],F=this._longDateFormat[v.toUpperCase()];return x||!F?x:(this._longDateFormat[v]=F.match(Dp).map(function(L){return"MMMM"===L||"MM"===L||"DD"===L||"dddd"===L?L.slice(1):L}).join(""),this._longDateFormat[v])},Ut.invalidDate=function bS(){return this._invalidDate},Ut.ordinal=function MS(v){return this._ordinal.replace("%d",v)},Ut.preparse=Qp,Ut.postformat=Qp,Ut.relativeTime=function xS(v,x,F,L){var j=this._relativeTime[F];return Gs(j)?j(v,x,F,L):j.replace(/%d/i,v)},Ut.pastFuture=function TS(v,x){var F=this._relativeTime[v>0?"future":"past"];return Gs(F)?F(x):F.replace(/%s/i,x)},Ut.set=function vp(v){var x,F;for(F in v)B(v,F)&&(Gs(x=v[F])?this[F]=x:this["_"+F]=x);this._config=v,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Ut.eras=function b0(v,x){var F,L,j,fe=this._eras||So("en")._eras;for(F=0,L=fe.length;F<L;++F)switch("string"==typeof fe[F].since&&(j=w(fe[F].since).startOf("day"),fe[F].since=j.valueOf()),typeof fe[F].until){case"undefined":fe[F].until=1/0;break;case"string":j=w(fe[F].until).startOf("day").valueOf(),fe[F].until=j.valueOf()}return fe},Ut.erasParse=function D0(v,x,F){var L,j,Ee,At,tn,fe=this.eras();for(v=v.toUpperCase(),L=0,j=fe.length;L<j;++L)if(Ee=fe[L].name.toUpperCase(),At=fe[L].abbr.toUpperCase(),tn=fe[L].narrow.toUpperCase(),F)switch(x){case"N":case"NN":case"NNN":if(At===v)return fe[L];break;case"NNNN":if(Ee===v)return fe[L];break;case"NNNNN":if(tn===v)return fe[L]}else if([Ee,At,tn].indexOf(v)>=0)return fe[L]},Ut.erasConvertYear=function Mr(v,x){var F=v.since<=v.until?1:-1;return void 0===x?w(v.since).year():w(v.since).year()+(x-v.offset)*F},Ut.erasAbbrRegex=function vc(v){return B(this,"_erasAbbrRegex")||Cf.call(this),v?this._erasAbbrRegex:this._erasRegex},Ut.erasNameRegex=function y0(v){return B(this,"_erasNameRegex")||Cf.call(this),v?this._erasNameRegex:this._erasRegex},Ut.erasNarrowRegex=function Fo(v){return B(this,"_erasNarrowRegex")||Cf.call(this),v?this._erasNarrowRegex:this._erasRegex},Ut.months=function sy(v,x){return v?E(this._months)?this._months[v.month()]:this._months[(this._months.isFormat||t0).test(x)?"format":"standalone"][v.month()]:E(this._months)?this._months:this._months.standalone},Ut.monthsShort=function ay(v,x){return v?E(this._monthsShort)?this._monthsShort[v.month()]:this._monthsShort[t0.test(x)?"format":"standalone"][v.month()]:E(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Ut.monthsParse=function yd(v,x,F){var L,j,fe;if(this._monthsParseExact)return Bi.call(this,v,x,F);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),L=0;L<12;L++){if(j=_t([2e3,L]),F&&!this._longMonthsParse[L]&&(this._longMonthsParse[L]=new RegExp("^"+this.months(j,"").replace(".","")+"$","i"),this._shortMonthsParse[L]=new RegExp("^"+this.monthsShort(j,"").replace(".","")+"$","i")),!F&&!this._monthsParse[L]&&(fe="^"+this.months(j,"")+"|^"+this.monthsShort(j,""),this._monthsParse[L]=new RegExp(fe.replace(".",""),"i")),F&&"MMMM"===x&&this._longMonthsParse[L].test(v))return L;if(F&&"MMM"===x&&this._shortMonthsParse[L].test(v))return L;if(!F&&this._monthsParse[L].test(v))return L}},Ut.monthsRegex=function Qn(v){return this._monthsParseExact?(B(this,"_monthsRegex")||lf.call(this),v?this._monthsStrictRegex:this._monthsRegex):(B(this,"_monthsRegex")||(this._monthsRegex=n0),this._monthsStrictRegex&&v?this._monthsStrictRegex:this._monthsRegex)},Ut.monthsShortRegex=function Ep(v){return this._monthsParseExact?(B(this,"_monthsRegex")||lf.call(this),v?this._monthsShortStrictRegex:this._monthsShortRegex):(B(this,"_monthsShortRegex")||(this._monthsShortRegex=oy),this._monthsShortStrictRegex&&v?this._monthsShortStrictRegex:this._monthsShortRegex)},Ut.week=function qt(v){return Re(v,this._week.dow,this._week.doy).week},Ut.firstDayOfYear=function ES(){return this._week.doy},Ut.firstDayOfWeek=function ly(){return this._week.dow},Ut.weekdays=function dy(v,x){var F=E(this._weekdays)?this._weekdays:this._weekdays[v&&!0!==v&&this._weekdays.isFormat.test(x)?"format":"standalone"];return!0===v?Ap(F,this._week.dow):v?F[v.day()]:F},Ut.weekdaysMin=function uy(v){return!0===v?Ap(this._weekdaysMin,this._week.dow):v?this._weekdaysMin[v.day()]:this._weekdaysMin},Ut.weekdaysShort=function OS(v){return!0===v?Ap(this._weekdaysShort,this._week.dow):v?this._weekdaysShort[v.day()]:this._weekdaysShort},Ut.weekdaysParse=function Xo(v,x,F){var L,j,fe;if(this._weekdaysParseExact)return IS.call(this,v,x,F);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),L=0;L<7;L++){if(j=_t([2e3,1]).day(L),F&&!this._fullWeekdaysParse[L]&&(this._fullWeekdaysParse[L]=new RegExp("^"+this.weekdays(j,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[L]=new RegExp("^"+this.weekdaysShort(j,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[L]=new RegExp("^"+this.weekdaysMin(j,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[L]||(fe="^"+this.weekdays(j,"")+"|^"+this.weekdaysShort(j,"")+"|^"+this.weekdaysMin(j,""),this._weekdaysParse[L]=new RegExp(fe.replace(".",""),"i")),F&&"dddd"===x&&this._fullWeekdaysParse[L].test(v))return L;if(F&&"ddd"===x&&this._shortWeekdaysParse[L].test(v))return L;if(F&&"dd"===x&&this._minWeekdaysParse[L].test(v))return L;if(!F&&this._weekdaysParse[L].test(v))return L}},Ut.weekdaysRegex=function BS(v){return this._weekdaysParseExact?(B(this,"_weekdaysRegex")||Ct.call(this),v?this._weekdaysStrictRegex:this._weekdaysRegex):(B(this,"_weekdaysRegex")||(this._weekdaysRegex=RS),this._weekdaysStrictRegex&&v?this._weekdaysStrictRegex:this._weekdaysRegex)},Ut.weekdaysShortRegex=function Pe(v){return this._weekdaysParseExact?(B(this,"_weekdaysRegex")||Ct.call(this),v?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(B(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=FS),this._weekdaysShortStrictRegex&&v?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Ut.weekdaysMinRegex=function VS(v){return this._weekdaysParseExact?(B(this,"_weekdaysRegex")||Ct.call(this),v?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(B(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=NS),this._weekdaysMinStrictRegex&&v?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Ut.isPM=function hy(v){return"p"===(v+"").toLowerCase().charAt(0)},Ut.meridiem=function Fp(v,x,F){return v>11?F?"pm":"PM":F?"am":"AM"},xl("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(v){var x=v%10;return v+(1===mn(v%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")}}),w.lang=Wr("moment.lang is deprecated. Use moment.locale instead.",xl),w.langData=Wr("moment.langData is deprecated. Use moment.localeData instead.",So);var ys=Math.abs;function Kp(v,x,F,L){var j=Jn(x,F);return v._milliseconds+=L*j._milliseconds,v._days+=L*j._days,v._months+=L*j._months,v._bubble()}function tm(v){return v<0?Math.floor(v):Math.ceil(v)}function im(v){return 4800*v/146097}function xf(v){return 146097*v/4800}function Ms(v){return function(){return this.as(v)}}var Xy=Ms("ms"),Qy=Ms("s"),qr=Ms("m"),kl=Ms("h"),fi=Ms("d"),rm=Ms("w"),Jy=Ms("M"),w0=Ms("Q"),Zy=Ms("y");function qs(v){return function(){return this.isValid()?this._data[v]:NaN}}var Tf=qs("milliseconds"),wf=qs("seconds"),om=qs("minutes"),E0=qs("hours"),tM=qs("days"),Dc=qs("months"),Fd=qs("years");var Wa=Math.round,za={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ek(v,x,F,L,j){return j.relativeTime(x||1,!!F,v,L)}var Nd=Math.abs;function Al(v){return(v>0)-(v<0)||+v}function Od(){if(!this.isValid())return this.localeData().invalidDate();var L,j,fe,Ee,tn,Bn,Xr,or,v=Nd(this._milliseconds)/1e3,x=Nd(this._days),F=Nd(this._months),At=this.asSeconds();return At?(L=ps(v/60),j=ps(L/60),v%=60,L%=60,fe=ps(F/12),F%=12,Ee=v?v.toFixed(3).replace(/\.?0+$/,""):"",tn=At<0?"-":"",Bn=Al(this._months)!==Al(At)?"-":"",Xr=Al(this._days)!==Al(At)?"-":"",or=Al(this._milliseconds)!==Al(At)?"-":"",tn+"P"+(fe?Bn+fe+"Y":"")+(F?Bn+F+"M":"")+(x?Xr+x+"D":"")+(j||L||v?"T":"")+(j?or+j+"H":"")+(L?or+L+"M":"")+(v?or+Ee+"S":"")):"P0D"}var hn=yr.prototype;return hn.isValid=function Nn(){return this._isValid},hn.abs=function Zp(){var v=this._data;return this._milliseconds=ys(this._milliseconds),this._days=ys(this._days),this._months=ys(this._months),v.milliseconds=ys(v.milliseconds),v.seconds=ys(v.seconds),v.minutes=ys(v.minutes),v.hours=ys(v.hours),v.months=ys(v.months),v.years=ys(v.years),this},hn.add=function em(v,x){return Kp(this,v,x,1)},hn.subtract=function qy(v,x){return Kp(this,v,x,-1)},hn.as=function x0(v){if(!this.isValid())return NaN;var x,F,L=this._milliseconds;if("month"===(v=hs(v))||"quarter"===v||"year"===v)switch(x=this._days+L/864e5,F=this._months+im(x),v){case"month":return F;case"quarter":return F/3;case"year":return F/12}else switch(x=this._days+Math.round(xf(this._months)),v){case"week":return x/7+L/6048e5;case"day":return x+L/864e5;case"hour":return 24*x+L/36e5;case"minute":return 1440*x+L/6e4;case"second":return 86400*x+L/1e3;case"millisecond":return Math.floor(864e5*x)+L;default:throw new Error("Unknown unit "+v)}},hn.asMilliseconds=Xy,hn.asSeconds=Qy,hn.asMinutes=qr,hn.asHours=kl,hn.asDays=fi,hn.asWeeks=rm,hn.asMonths=Jy,hn.asQuarters=w0,hn.asYears=Zy,hn.valueOf=function T0(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*mn(this._months/12):NaN},hn._bubble=function nm(){var j,fe,Ee,At,tn,v=this._milliseconds,x=this._days,F=this._months,L=this._data;return v>=0&&x>=0&&F>=0||v<=0&&x<=0&&F<=0||(v+=864e5*tm(xf(F)+x),x=0,F=0),L.milliseconds=v%1e3,j=ps(v/1e3),L.seconds=j%60,fe=ps(j/60),L.minutes=fe%60,Ee=ps(fe/60),L.hours=Ee%24,x+=ps(Ee/24),F+=tn=ps(im(x)),x-=tm(xf(tn)),At=ps(F/12),F%=12,L.days=x,L.months=F,L.years=At,this},hn.clone=function Ky(){return Jn(this)},hn.get=function eM(v){return v=hs(v),this.isValid()?this[v+"s"]():NaN},hn.milliseconds=Tf,hn.seconds=wf,hn.minutes=om,hn.hours=E0,hn.days=tM,hn.weeks=function nM(){return ps(this.days()/7)},hn.months=Dc,hn.years=Fd,hn.humanize=function nk(v,x){if(!this.isValid())return this.localeData().invalidDate();var j,fe,F=!1,L=za;return"object"==typeof v&&(x=v,v=!1),"boolean"==typeof v&&(F=v),"object"==typeof x&&(L=Object.assign({},za,x),null!=x.s&&null==x.ss&&(L.ss=x.s-1)),fe=function iM(v,x,F,L){var j=Jn(v).abs(),fe=Wa(j.as("s")),Ee=Wa(j.as("m")),At=Wa(j.as("h")),tn=Wa(j.as("d")),Bn=Wa(j.as("M")),Xr=Wa(j.as("w")),or=Wa(j.as("y")),$a=fe<=F.ss&&["s",fe]||fe<F.s&&["ss",fe]||Ee<=1&&["m"]||Ee<F.m&&["mm",Ee]||At<=1&&["h"]||At<F.h&&["hh",At]||tn<=1&&["d"]||tn<F.d&&["dd",tn];return null!=F.w&&($a=$a||Xr<=1&&["w"]||Xr<F.w&&["ww",Xr]),($a=$a||Bn<=1&&["M"]||Bn<F.M&&["MM",Bn]||or<=1&&["y"]||["yy",or])[2]=x,$a[3]=+v>0,$a[4]=L,ek.apply(null,$a)}(this,!F,L,j=this.localeData()),F&&(fe=j.pastFuture(+this,fe)),j.postformat(fe)},hn.toISOString=Od,hn.toString=Od,hn.toJSON=Od,hn.locale=wy,hn.localeData=Sy,hn.toIsoString=Wr("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Od),hn.lang=Ey,Tt("X",0,0,"unix"),Tt("x",0,0,"valueOf"),ft("x",_d),ft("X",/[+-]?\d+(\.\d{1,3})?/),Gn("X",function(v,x,F){F._d=new Date(1e3*parseFloat(v))}),Gn("x",function(v,x,F){F._d=new Date(mn(v))}),w.version="2.29.4",function A(v){P=v}(Oe),w.fn=Xe,w.min=function wt(){return u0("isBefore",[].slice.call(arguments,0))},w.max=function Cy(){return u0("isAfter",[].slice.call(arguments,0))},w.now=function(){return Date.now?Date.now():+new Date},w.utc=_t,w.unix=function Uy(v){return Oe(1e3*v)},w.months=function Ta(v,x){return Jp(v,x,"months")},w.isDate=ve,w.locale=xl,w.invalid=Wo,w.duration=Jn,w.isMoment=us,w.weekdays=function C0(v,x,F){return Ua(v,x,F,"weekdays")},w.parseZone=function KS(){return Oe.apply(null,arguments).parseZone()},w.localeData=So,w.isDuration=xa,w.monthsShort=function Wy(v,x){return Jp(v,x,"monthsShort")},w.weekdaysMin=function $y(v,x,F){return Ua(v,x,F,"weekdaysMin")},w.defineLocale=a0,w.updateLocale=function GS(v,x){if(null!=x){var F,L,j=Np;null!=ai[v]&&null!=ai[v].parentLocale?ai[v].set(fs(ai[v]._config,x)):(null!=(L=jn(v))&&(j=L._config),x=fs(j,x),null==L&&(x.abbr=v),(F=new bp(x)).parentLocale=ai[v],ai[v]=F),xl(v)}else null!=ai[v]&&(null!=ai[v].parentLocale?(ai[v]=ai[v].parentLocale,v===xl()&&xl(v)):null!=ai[v]&&delete ai[v]);return ai[v]},w.locales=function Op(){return Xu(ai)},w.weekdaysShort=function zy(v,x,F){return Ua(v,x,F,"weekdaysShort")},w.normalizeUnits=hs,w.relativeTimeRounding=function rM(v){return void 0===v?Wa:"function"==typeof v&&(Wa=v,!0)},w.relativeTimeThreshold=function tk(v,x){return void 0!==za[v]&&(void 0===x?za[v]:(za[v]=x,"s"===v&&(za.ss=x-1),!0))},w.calendarFormat=function $r(v,x){var F=v.diff(x,"days",!0);return F<-6?"sameElse":F<-1?"lastWeek":F<0?"lastDay":F<1?"sameDay":F<2?"nextDay":F<7?"nextWeek":"sameElse"},w.prototype=Xe,w.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"},w}()},6700:(Me,we,ee)=>{var P={"./af":7088,"./af.js":7088,"./ar":7038,"./ar-dz":2502,"./ar-dz.js":2502,"./ar-kw":128,"./ar-kw.js":128,"./ar-ly":4519,"./ar-ly.js":4519,"./ar-ma":5443,"./ar-ma.js":5443,"./ar-sa":7642,"./ar-sa.js":7642,"./ar-tn":8592,"./ar-tn.js":8592,"./ar.js":7038,"./az":1213,"./az.js":1213,"./be":9191,"./be.js":9191,"./bg":322,"./bg.js":322,"./bm":8042,"./bm.js":8042,"./bn":9620,"./bn-bd":5903,"./bn-bd.js":5903,"./bn.js":9620,"./bo":9645,"./bo.js":9645,"./br":5020,"./br.js":5020,"./bs":4792,"./bs.js":4792,"./ca":7980,"./ca.js":7980,"./cs":7322,"./cs.js":7322,"./cv":365,"./cv.js":365,"./cy":2092,"./cy.js":2092,"./da":7387,"./da.js":7387,"./de":4307,"./de-at":9459,"./de-at.js":9459,"./de-ch":3694,"./de-ch.js":3694,"./de.js":4307,"./dv":9659,"./dv.js":9659,"./el":3460,"./el.js":3460,"./en-au":4369,"./en-au.js":4369,"./en-ca":530,"./en-ca.js":530,"./en-gb":9998,"./en-gb.js":9998,"./en-ie":3391,"./en-ie.js":3391,"./en-il":5414,"./en-il.js":5414,"./en-in":9615,"./en-in.js":9615,"./en-nz":1248,"./en-nz.js":1248,"./en-sg":3767,"./en-sg.js":3767,"./eo":4530,"./eo.js":4530,"./es":6866,"./es-do":8944,"./es-do.js":8944,"./es-mx":9116,"./es-mx.js":9116,"./es-us":3609,"./es-us.js":3609,"./es.js":6866,"./et":6725,"./et.js":6725,"./eu":7931,"./eu.js":7931,"./fa":6417,"./fa.js":6417,"./fi":944,"./fi.js":944,"./fil":1766,"./fil.js":1766,"./fo":5867,"./fo.js":5867,"./fr":1636,"./fr-ca":6848,"./fr-ca.js":6848,"./fr-ch":7773,"./fr-ch.js":7773,"./fr.js":1636,"./fy":4940,"./fy.js":4940,"./ga":1402,"./ga.js":1402,"./gd":6924,"./gd.js":6924,"./gl":6398,"./gl.js":6398,"./gom-deva":2457,"./gom-deva.js":2457,"./gom-latn":2545,"./gom-latn.js":2545,"./gu":2641,"./gu.js":2641,"./he":7536,"./he.js":7536,"./hi":6335,"./hi.js":6335,"./hr":7458,"./hr.js":7458,"./hu":6540,"./hu.js":6540,"./hy-am":5283,"./hy-am.js":5283,"./id":8780,"./id.js":8780,"./is":4205,"./is.js":4205,"./it":4211,"./it-ch":9985,"./it-ch.js":9985,"./it.js":4211,"./ja":1003,"./ja.js":1003,"./jv":420,"./jv.js":420,"./ka":851,"./ka.js":851,"./kk":6074,"./kk.js":6074,"./km":3343,"./km.js":3343,"./kn":4799,"./kn.js":4799,"./ko":3549,"./ko.js":3549,"./ku":1037,"./ku.js":1037,"./ky":3125,"./ky.js":3125,"./lb":9586,"./lb.js":9586,"./lo":2349,"./lo.js":2349,"./lt":2400,"./lt.js":2400,"./lv":9991,"./lv.js":9991,"./me":8477,"./me.js":8477,"./mi":5118,"./mi.js":5118,"./mk":5943,"./mk.js":5943,"./ml":3849,"./ml.js":3849,"./mn":1977,"./mn.js":1977,"./mr":6184,"./mr.js":6184,"./ms":485,"./ms-my":4524,"./ms-my.js":4524,"./ms.js":485,"./mt":6681,"./mt.js":6681,"./my":2024,"./my.js":2024,"./nb":2688,"./nb.js":2688,"./ne":8914,"./ne.js":8914,"./nl":1758,"./nl-be":2272,"./nl-be.js":2272,"./nl.js":1758,"./nn":1510,"./nn.js":1510,"./oc-lnc":2797,"./oc-lnc.js":2797,"./pa-in":7944,"./pa-in.js":7944,"./pl":1605,"./pl.js":1605,"./pt":4225,"./pt-br":3840,"./pt-br.js":3840,"./pt.js":4225,"./ro":5128,"./ro.js":5128,"./ru":5127,"./ru.js":5127,"./sd":2525,"./sd.js":2525,"./se":9893,"./se.js":9893,"./si":3123,"./si.js":3123,"./sk":9635,"./sk.js":9635,"./sl":8106,"./sl.js":8106,"./sq":8799,"./sq.js":8799,"./sr":7949,"./sr-cyrl":2872,"./sr-cyrl.js":2872,"./sr.js":7949,"./ss":6167,"./ss.js":6167,"./sv":9713,"./sv.js":9713,"./sw":1982,"./sw.js":1982,"./ta":2732,"./ta.js":2732,"./te":3636,"./te.js":3636,"./tet":2115,"./tet.js":2115,"./tg":9801,"./tg.js":9801,"./th":2868,"./th.js":2868,"./tk":1310,"./tk.js":1310,"./tl-ph":2360,"./tl-ph.js":2360,"./tlh":6645,"./tlh.js":6645,"./tr":8374,"./tr.js":8374,"./tzl":256,"./tzl.js":256,"./tzm":1595,"./tzm-latn":1631,"./tzm-latn.js":1631,"./tzm.js":1595,"./ug-cn":6050,"./ug-cn.js":6050,"./uk":5610,"./uk.js":5610,"./ur":6077,"./ur.js":6077,"./uz":2862,"./uz-latn":2207,"./uz-latn.js":2207,"./uz.js":2862,"./vi":8093,"./vi.js":8093,"./x-pseudo":5590,"./x-pseudo.js":5590,"./yo":9058,"./yo.js":9058,"./zh-cn":7908,"./zh-cn.js":7908,"./zh-hk":8867,"./zh-hk.js":8867,"./zh-mo":1133,"./zh-mo.js":1133,"./zh-tw":3291,"./zh-tw.js":3291};function w(E){var S=A(E);return ee(S)}function A(E){if(!ee.o(P,E)){var S=new Error("Cannot find module '"+E+"'");throw S.code="MODULE_NOT_FOUND",S}return P[E]}w.keys=function(){return Object.keys(P)},w.resolve=A,Me.exports=w,w.id=6700}},Me=>{Me(Me.s=2769)}]);