PageSourceSearch

https://trigg.com.br/main-es2015.e37d4bde6e63e8463750.js

js trigg.com.br collected 2026-09-25 03:04:12 UTC 818,899 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{"+J/9":function(t,e,n){"use strict";n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return g})),n.d(e,"d",(function(){return f})),n.d(e,"c",(function(){return m}));var i=n("fXoL"),s=(n("dEu6"),n("XNiG")),r=n("LRne"),o=n("HDdC"),a=n("xgIS");n("3N8a"),n("IjjT");var l=n("VRyK"),c=(n("/uUt"),n("3UWI")),h=n("pLZG");n("1G5W"),n("JX91"),n("7o/Q"),n("eIep"),n("quSY"),n("WMd4"),n("9ppp"),n("Ylt2");var u=n("LSvS"),d=n("FWMu");n("chLL");let p=(()=>{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._scrolled=new s.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new o.a(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Object(c.a)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(r.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(h.a)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_scrollableContainsElement(t,e){let n=e.nativeElement,i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Object(a.a)(window.document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(i.Vb(i.A),i.Vb(u.a))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(i.Ib)({factory:function(){return new t(Object(i.Vb)(i.A),Object(i.Vb)(u.a))},token:t,providedIn:"root"}),t})(),g=(()=>{class t{}return t.\u0275mod=i.Kb({type:t}),t.\u0275inj=i.Jb({factory:function(e){return new(e||t)},imports:[[d.a,u.b],d.a]}),t})(),f=(()=>{class t{constructor(t,e){this._platform=t,e.runOutsideAngular(()=>{this._change=t.isBrowser?Object(l.a)(Object(a.a)(window,"resize"),Object(a.a)(window,"orientationchange")):Object(r.a)(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=document.documentElement,e=t.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||t.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||t.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Object(c.a)(t)):this._change}_updateViewportSize(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(i.Vb(u.a),i.Vb(i.A))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(i.Ib)({factory:function(){return new t(Object(i.Vb)(u.a),Object(i.Vb)(i.A))},token:t,providedIn:"root"}),t})();const m={provide:f,deps:[[new i.B,new i.K,f],u.a,i.A],useFactory:function(t,e,n){return t||new f(e,n)}}},"/uUt":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("7o/Q");function s(t,e){return n=>n.lift(new r(t,e))}
1class r{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}class o extends i.a{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},0:function(t,e,n){t.exports=n("zUnb")},"0DX0":function(t,e,n){"use strict";n.d(e,"c",(function(){return z})),n.d(e,"a",(function(){return $})),n.d(e,"b",(function(){return B}));var i=n("XNiG"),s=n("fXoL"),r=n("R0Ic"),o=n("6KbF"),a=n("IzEk"),l=n("1G5W"),c=n("OCB9"),h=n("ofXK"),u=n("j14s"),d=n("R1ws"),p=n("tkJt");const g=["mat-button",""],f=["*"],m=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class b{constructor(t){this._elementRef=t}}const _=Object(u.h)(Object(u.j)(Object(u.i)(b)));let v=(()=>{class t extends _{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const i of m)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);t.nativeElement.classList.add("mat-button-base"),this._focusMonitor.monitor(this._elementRef,!0),this.isRoundButton&&(this.color="accent")}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t="program",e){this._focusMonitor.focusVia(this._getHostElement(),t,e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(s.l),s.Mb(p.d),s.Mb(d.a,8))},t.\u0275cmp=s.Gb({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){var n;1&t&&s.Kc(u.e,!0),2&t&&s.rc(n=s.Zb())&&(e.ripple=n.first)},hostVars:3,hostBindings:function(t,e){2&t&&(s.Cb("disabled",e.disabled||null),s.Eb("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[s.yb],attrs:g,ngContentSelectors:f,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(s.hc(),s.Rb(0,"span",0),s.gc(1),s.Qb(),s.Nb(2,"div",1),s.Nb(3,"div",2)),2&t&&(s.Bb(2),s.Eb("mat-button-ripple-round",e.isRoundButton||e.isIconButton),s.ic("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[u.e],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;
1transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-high-contrast:black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],encapsulation:2,changeDetection:0}),t})(),y=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)},imports:[[h.b,u.f,u.d],u.d]}),t})();var w=n("LSvS"),S=n("itXk"),C=n("GyhO"),O=n("HDdC"),T=n("zP0r"),x=n("Kj3r"),E=n("lJxs"),M=n("JX91"),P=n("dEu6");const A=new Set;let k,I=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):D}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!A.has(t))try{k||(k=document.createElement("style"),k.setAttribute("type","text/css"),document.head.appendChild(k)),k.sheet&&(k.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),A.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(w.a))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(s.Ib)({factory:function(){return new t(Object(s.Vb)(w.a))},token:t,providedIn:"root"}),t})();function D(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let R=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=ne
1w i.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return N(Object(P.a)(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=N(Object(P.a)(t)).map(t=>this._registerQuery(t).observable);let n=Object(S.a)(e);return n=Object(C.a)(n.pipe(Object(a.a)(1)),n.pipe(Object(T.a)(1),Object(x.a)(0))),n.pipe(Object(E.a)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(t=>{e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new O.a(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe(Object(M.a)(e),Object(E.a)(e=>({query:t,matches:e.matches})),Object(l.a)(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(I),s.Vb(s.A))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(s.Ib)({factory:function(){return new t(Object(s.Vb)(I),Object(s.Vb)(s.A))},token:t,providedIn:"root"}),t})();function N(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}function V(t,e){if(1&t){const t=s.Sb();s.Rb(0,"div",1),s.Rb(1,"button",2),s.Yb("click",(function(){return s.vc(t),s.cc().action()})),s.Hc(2),s.Qb(),s.Qb()}if(2&t){const t=s.cc();s.Bb(2),s.Ic(t.data.action)}}function L(t,e){}class H{constructor(t,e){this._overlayRef=e,this._afterDismissed=new i.a,this._afterOpened=new i.a,this._onAction=new i.a,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(()=>this.dismiss()),t._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())}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),t)}_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.asObservable()}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction.asObservable()}}const j=new s.r("MatSnackBarData");class B{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let F=(()=>{class t{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(H),s.Mb(j))},t.\u0275cmp=s.Gb({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(t,e){1&t&&(s.Rb(0,"span"),s.Hc(1),s.Qb(),s.Fc(2,V,3,1,"div",0)),2&t&&(s.Bb(1),s.Ic(e.data.message),s.Bb(1),s.ic("ngIf",e.hasAction))},directives:[h.l,v],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}"],encapsulation:2,changeDetection:0}),t})();const G={snackBarState:Object(r.m)("state",[Object(r.j)("void, hidden",Object(r.k)({transform:"scale(0.8)",opacity:0}
1)),Object(r.j)("visible",Object(r.k)({transform:"scale(1)",opacity:1})),Object(r.l)("* => visible",Object(r.e)("150ms cubic-bezier(0, 0, 0.2, 1)")),Object(r.l)("* => void, * => hidden",Object(r.e)("75ms cubic-bezier(0.4, 0.0, 1, 1)",Object(r.k)({opacity:0})))])};let U=(()=>{class t extends o.a{constructor(t,e,n,s){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this.snackBarConfig=s,this._destroyed=!1,this._onExit=new i.a,this._onEnter=new i.a,this._animationState="void",this._role="assertive"!==s.politeness||s.announcementMessage?"off"===s.politeness?null:"status":"alert"}attachComponentPortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}onAnimationEnd(t){const{fromState:e,toState:n}=t;if(("void"===n&&"void"!==e||"hidden"===n)&&this._completeExit(),"visible"===n){const t=this._onEnter;this._ngZone.run(()=>{t.next(),t.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){return this._animationState="hidden",this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(a.a)(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(e=>t.classList.add(e)):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")}_assertNotAttached(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(s.A),s.Mb(s.l),s.Mb(s.h),s.Mb(B))},t.\u0275cmp=s.Gb({type:t,selectors:[["snack-bar-container"]],viewQuery:function(t,e){var n;1&t&&s.Bc(o.c,!0),2&t&&s.rc(n=s.Zb())&&(e._portalOutlet=n.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:2,hostBindings:function(t,e){1&t&&s.Dc("@state.done",(function(t){return e.onAnimationEnd(t)})),2&t&&(s.Cb("role",e._role),s.Ec("@state",e._animationState))},features:[s.yb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&s.Fc(0,L,0,0,"ng-template",0)},directives:[o.c],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}@media (-ms-high-contrast:active){.mat-snack-bar-container{border:solid 1px}}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],encapsulation:2,data:{animation:[G.snackBarState]}}),t})(),z=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)},imports:[[c.d,o.h,h.b,y,u.d],u.d]}),t})();const W=new s.r("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new B}});let $=(()=>{class t{constructor(t,e,n,i,s,r){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=i,this._parentSnackBar=s,this._defaultConfig=r,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){const i=Object.assign({},this._defaultConfig,n);return i.data={message:t,action:e},i.announcementMessage||(i.announcementMessage=t),this.openFromComponent(F,i)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){const n=new o.g(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[B,e]])),i=new o.d(U,e.viewContainerRef,n),s=t.attach(i);return s.instance.snackBarConfig=e,s.instance}_attach(t,e){const n=Object.assign({},new B,this._defaultConfig,e),i=this._createOverlay(n),r=this._attachSnackBarContainer(i,n),a=new H(r,i);if(t instanceof s.M){const e=new o.i(t,null,{$implicit:n.data,snackBarRef:a});a.instance=r.attachTemplatePortal(e)}else{const e=this._createInjector(n,a),i=new o.d(t,void 0,e),s=r.attachComponentPortal(i);a.instance=s.instance}return this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait)").pipe(Object(l.a)(i.detachments())).subscribe(t=>{const e=i.overlayElement.classList;t.matches?e.add("mat-snack-bar-handset"):e.remove("mat-snack-bar-handset")}),this._animateSnackBar(a,n),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration)),e.announcementMessage&&this._live.announce(e.announcementMessage,e.politeness)}_createOverlay(t){const e=new c.b;e.direction=t.direction;let n=this._overlay.position().global();const i="rtl"===t.direction,s="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!i||"end"===t.horizontalPosition&&i,r=!s&&"center"!==t.horizontalPosition;return s?n.left("0"):r?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){return new o.g(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[H,e],[j,t.data]]))}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(c.a),s.Vb(p.f),s.Vb(s.s),s.Vb(R),s.Vb(t,12),s.Vb(W))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac,providedIn:z}),t.ngInjectableDef=Object(s.Ib)({factory:function(){return new t(Object(s.Vb)(c.a),Object(s.Vb)(p.f),Object(s.Vb)(s.o),Object(s.Vb)(R),Object(s.Vb)(t,12),Object(s.Vb)(W))},token:t,providedIn:z}),t})()},"0EUg":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("bHdf");function s(){return Object(i.a)(1)}},"1G5W":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("zx2A");function s(t){return e=>e.lift(new r(t))}
1class r{constructor(t){this.notifier=t}call(t,e){const n=new o(t),s=Object(i.c)(this.notifier,new i.a(n));return s&&!n.seenValue?(n.add(s),e.subscribe(n)):n}}class o extends i.b{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},"1yKT":function(t,e,n){"use strict";function i(t,e,n,i){return new(n||(n=Promise))((function(s,r){function o(t){try{l(i.next(t))}catch(e){r(e)}}function a(t){try{l(i.throw(t))}catch(e){r(e)}}function l(t){var e;t.done?s(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,a)}l((i=i.apply(t,e||[])).next())}))}n.d(e,"a",(function(){return i}))},"2QA8":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2dEz":function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return h})),n.d(e,"c",(function(){return u}));var i=n("dEu6"),s=n("fXoL"),r=n("HDdC"),o=n("XNiG"),a=n("Kj3r");let l=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(s.Ib)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),c=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=Object(i.d)(t);return new r.a(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new o.a,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(l))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(s.Ib)({factory:function(){return new t(Object(s.Vb)(l))},token:t,providedIn:"root"}),t})(),h=(()=>{class t{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new s.n,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(i.b)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Object(i.e)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(Object(a.a)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(c),s.Mb(s.l),s.Mb(s.A))},t.\u0275dir=s.Hb({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),u=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)},providers:[l]}),t})()},"2fFW":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));let i=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank y
1ou. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},"3+Bf":function(t,e,n){"use strict";n.d(e,"k",(function(){return i})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return r})),n.d(e,"j",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"f",(function(){return l})),n.d(e,"g",(function(){return c})),n.d(e,"l",(function(){return h})),n.d(e,"i",(function(){return u})),n.d(e,"b",(function(){return d})),n.d(e,"n",(function(){return p})),n.d(e,"h",(function(){return g})),n.d(e,"a",(function(){return f})),n.d(e,"m",(function(){return m})),n.d(e,"o",(function(){return b}));const i=9,s=13,r=27,o=32,a=35,l=36,c=37,h=38,u=39,d=40,p=48,g=57,f=65,m=90;function b(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},"3N8a":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("quSY");class s extends i.a{constructor(t,e){super()}schedule(t,e=0){return this}}class r extends s{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,i=void 0;try{this.work(t)}catch(s){n=!0,i=!!s&&s||new Error(s)}if(n)return this.unsubscribe(),i}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},"3Pt+":function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return Ft})),n.d(e,"c",(function(){return p})),n.d(e,"d",(function(){return zt})),n.d(e,"e",(function(){return $t})),n.d(e,"f",(function(){return Lt})),n.d(e,"g",(function(){return At})),n.d(e,"h",(function(){return Xt})),n.d(e,"i",(function(){return O})),n.d(e,"j",(function(){return l})),n.d(e,"k",(function(){return _})),n.d(e,"l",(function(){return y})),n.d(e,"m",(function(){return w})),n.d(e,"n",(function(){return _t})),n.d(e,"o",(function(){return xt})),n.d(e,"p",(function(){return Kt})),n.d(e,"q",(function(){return Bt})),n.d(e,"r",(function(){return E})),n.d(e,"s",(function(){return Et}));var i=n("fXoL"),s=n("ofXK"),r=n("cp0P"),o=n("Cfvw"),a=n("lJxs");const l=new i.r("NgValueAccessor"),c={provide:l,useExisting:Object(i.V)(()=>h),multi:!0};let h=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.F),i.Mb(i.l))},t.\u0275dir=i.Hb({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&i.Yb("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[i.Ab([c])]}),t})();const u={provide:l,useExisting:Object(i.V)(()=>p),multi:!0},d=new i.r("CompositionEventMode");let p=(()=>{class t{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Object(s.x)()?Object(s.x)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}
1_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.F),i.Mb(i.l),i.Mb(d,8))},t.\u0275dir=i.Hb({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(t,e){1&t&&i.Yb("input",(function(t){return e._handleInput(t.target.value)}))("blur",(function(){return e.onTouched()}))("compositionstart",(function(){return e._compositionStart()}))("compositionend",(function(t){return e._compositionEnd(t.target.value)}))},features:[i.Ab([u])]}),t})(),g=(()=>{class t{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}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Hb({type:t}),t})(),f=(()=>{class t extends g{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return m(e||t)},t.\u0275dir=i.Hb({type:t,features:[i.yb]}),t})();const m=i.Tb(f);function b(){throw new Error("unimplemented")}class _ extends g{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return b()}get asyncValidator(){return b()}}class v{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}let y=(()=>{class t extends v{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(_,2))},t.\u0275dir=i.Hb({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.Eb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[i.yb]}),t})(),w=(()=>{class t extends v{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(f,2))},t.\u0275dir=i.Hb({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.Eb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[i.yb]}),t})();function S(t){return null==t||0===t.length}function C(t){return null!=t&&"number"==typeof t.length}const O=new i.r("NgValidators"),T=new i.r("NgAsyncValidators"),x=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class E{static min(t){return e=>{if(S(e.value)||S(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}}static max(t){return e=>{if(S(e.value)||S(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return S(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return S(t.value)||x.test(t.value)?null:{email:!0}}static minLength(t){return e=>S(e.value)||!C(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null}static maxLength(t){return e=>C(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}static pattern(t){if(!t)return E.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(S(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(M);return 0==e.length?null:function(t){return A(function(t,e){return e.map(e=>e(t))}(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(M);return 0==e.length?null:function(t){const n=function(t,e){return e.map(e=>e(t))}(t,e).map(P);return Object(r.a)(n).pipe(Object(a.a)(A))}}}function M(t){return null!=t}function P(t){const e=Object(i.tb)(t)?Object(o.a)(t):t;if(!Object(i.sb)(e))throw new Error("Expected validator to return Promise or Observable.");return e}function A(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function k(t){return t.validate?e=>t.validate(e):t}function I(t){return t.validate?e=>t.validate(e):t}const D={provide:l,useExisting:Object(i.V)(()=>R),multi:!0};let R=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.F),i.Mb(i.l))},t.\u0275dir=i.Hb({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&i.Yb("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[i.Ab([D])]}),t})();const N={provide:l,useExisting:Object(i.V)(()=>L),multi:!0};let V=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}
1select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})(),L=(()=>{class t{constructor(t,e,n,i){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=i,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(_),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){throw new Error('\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.F),i.Mb(i.l),i.Mb(V),i.Mb(i.s))},t.\u0275dir=i.Hb({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&i.Yb("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i.Ab([N])]}),t})();const H={provide:l,useExisting:Object(i.V)(()=>j),multi:!0};let j=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.F),i.Mb(i.l))},t.\u0275dir=i.Hb({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&i.Yb("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[i.Ab([H])]}),t})();const B='\n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });',F='\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });',G='\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>';class U{static controlParentException(){throw new Error("formControlName must be used with a parent formGroup directive.  You'll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      "+B)}static ngModelGroupException(){throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n       that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n       Option 1:  Update the parent to be formGroupName (reactive form strategy)\n\n        ${F}\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        ${G}`)}static missingFormException(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       "+B)}static groupParentException(){throw new Error("formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\
1n\n      Example:\n\n      "+F)}static arrayParentException(){throw new Error('formArrayName must be used with a parent formGroup directive.  You\'ll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n        Example:\n\n        \n    <div [formGroup]="myGroup">\n      <div formArrayName="cities">\n        <div *ngFor="let city of cityArray.controls; index as i">\n          <input [formControlName]="i">\n        </div>\n      </div>\n    </div>\n\n    In your class:\n\n    this.cityArray = new FormArray([new FormControl(\'SF\')]);\n    this.myGroup = new FormGroup({\n      cities: this.cityArray\n    });')}static disabledAttrWarning(){console.warn("\n      It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n      when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n      you. We recommend using this approach to avoid 'changed after checked' errors.\n\n      Example:\n      form = new FormGroup({\n        first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n        last: new FormControl('Drew', Validators.required)\n      });\n    ")}static ngModelWarning(t){console.warn(`\n    It looks like you're using ngModel on the same form field as ${t}.\n    Support for using the ngModel input property and ngModelChange event with\n    reactive form directives has been deprecated in Angular v6 and will be removed\n    in a future version of Angular.\n\n    For more information on this, see our API docs here:\n    https://angular.io/api/forms/${"formControl"
1===t?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n    `)}}const z={provide:l,useExisting:Object(i.V)(()=>W),multi:!0};let W=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.F),i.Mb(i.l))},t.\u0275dir=i.Hb({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&i.Yb("change",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[i.Ab([z])]}),t})();const $={provide:l,useExisting:Object(i.V)(()=>X),multi:!0};let X=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(void 0!==e.selectedOptions){const t=e.selectedOptions;for(let e=0;e<t.length;e++){const i=t.item(e),s=this._getOptionValue(i.value);n.push(s)}}else{const t=e.options;for(let e=0;e<t.length;e++){const i=t.item(e);if(i.selected){const t=this._getOptionValue(i.value);n.push(t)}}}this.value=n,t(n)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(t){const e=(this._idCounter++).toString();return this._optionMap.set(e,t),e}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e)._value,t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.F),i.Mb(i.l))},t.\u0275dir=i.Hb({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,e){1&t&&i.Yb("change",(function(t){return e.onChange(t.target)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[i.Ab([$])]}),t})();function K(t,e){return[...e.path,t]}function q(t,e){t||J(e,"Cannot find control with"),e.valueAccessor||J(e,"No value accessor for form control with"),t.validator=E.compose([t.validator,e.validator]),t.asyncValidator=E.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Q(t,e)})}(t,e),function(t,e){t.registerOnChange((t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Q(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(t=>{e.valueAccessor.setDisabledState(t)}
1),e._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())}),e._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())})}function Q(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Z(t,e){null==t&&J(e,"Cannot find control with"),t.validator=E.compose([t.validator,e.validator]),t.asyncValidator=E.composeAsync([t.asyncValidator,e.asyncValidator])}function Y(t){return J(t,"There is no FormControl instance attached to form control element with")}function J(t,e){let n;throw n=t.path.length>1?`path: '${t.path.join(" -> ")}'`:t.path[0]?`name: '${t.path}'`:"unspecified name attribute",new Error(`${e} ${n}`)}function tt(t){return null!=t?E.compose(t.map(k)):null}function et(t){return null!=t?E.composeAsync(t.map(I)):null}function nt(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}const it=[h,j,R,W,X,L];function st(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function rt(t,e){if(!e)return null;Array.isArray(e)||J(t,"Value accessor was not provided as an array for form control with");let n=void 0,i=void 0,s=void 0;return e.forEach(e=>{var r;e.constructor===p?n=e:(r=e,it.some(t=>r.constructor===t)?(i&&J(t,"More than one built-in value accessor matches form control with"),i=e):(s&&J(t,"More than one custom value accessor matches form control with"),s=e))}),s||i||n||(J(t,"No valid value accessor for form control with"),null)}function ot(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function at(t){return(ut(t)?t.validators:t)||null}function lt(t){return Array.isArray(t)?tt(t):t||null}function ct(t,e){return(ut(e)?e.asyncValidators:t)||null}function ht(t){return Array.isArray(t)?et(t):t||null}function ut(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class dt{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=lt(this._rawValidators),this._composedAsyncValidatorFn=ht(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=lt(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=ht(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}
vendor: 8,236 bytes, line 1
1disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;const e=P(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let i=t;return e.forEach(t=>{i=i instanceof gt?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof ft&&i.at(t)||null}),i}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new i.n,this.statusChanges=new i.n}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ut(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class pt extends dt{constructor(t=null,e,n){super(at(e),ct(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_forEachChild(t){}_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(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class gt extends dt{constructor(t,e,n){super(at(e),ct(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof pt?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>t(this.controls[e],e))}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class ft extends dt{constructor(t,e,n){super(at(e),ct(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControl
1s(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof pt?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const mt={provide:f,useExisting:Object(i.V)(()=>_t)},bt=(()=>Promise.resolve(null))();let _t=(()=>{class t extends f{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.n,this.form=new gt({},tt(t),et(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){bt.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),q(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}
1removeControl(t){bt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),ot(this._directives,t)})}addFormGroup(t){bt.then(()=>{const e=this._findContainer(t.path),n=new gt({});Z(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){bt.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){bt.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,st(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(O,10),i.Mb(T,10))},t.\u0275dir=i.Hb({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&i.Yb("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Ab([mt]),i.yb]}),t})(),vt=(()=>{class t extends f{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return K(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}
1get validator(){return tt(this._validators)}get asyncValidator(){return et(this._asyncValidators)}_checkParentType(){}}return t.\u0275fac=function(e){return yt(e||t)},t.\u0275dir=i.Hb({type:t,features:[i.yb]}),t})();const yt=i.Tb(vt);class wt{static modelParentException(){throw new Error(`\n      ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\n      formGroup's partner directive "formControlName" instead.  Example:\n\n      ${B}\n\n      Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n      Example:\n\n      \n    <div [formGroup]="myGroup">\n       <input formControlName="firstName">\n       <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n    </div>\n  `)}static formGroupNameException(){throw new Error(`\n      ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n      Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n      ${F}\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      ${G}`)}static missingNameException(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n      control must be defined as \'standalone\' in ngModelOptions.\n\n      Example 1: <input [(ngModel)]="person.firstName" name="first">\n      Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}static modelGroupParentException(){throw new Error(`\n      ngModelGroup cannot be used with a parent formGroup directive.\n\n      Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n      ${F}\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      ${G}`)}}const St={provide:f,useExisting:Object(i.V)(()=>Ct)};let Ct=(()=>{class t extends vt{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){this._parent instanceof t||this._parent instanceof _t||wt.modelGroupParentException()}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(f,5),i.Mb(O,10),i.Mb(T,10))},t.\u0275dir=i.Hb({type:t,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[i.Ab([St]),i.yb]}),t})();const Ot={provide:_,useExisting:Object(i.V)(()=>xt)},Tt=(()=>Promise.resolve(null))();let xt=(()=>{class t extends _{constructor(t,e,n,s){super(),this.control=new pt,this._registered=!1,this.update=new i.n,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=rt(this,s)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),nt(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?K(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return tt(this._rawValidators)}get asyncValidator(){return et(this._rawAsyncValidators)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_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(){q(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){!(this._parent instanceof Ct)&&this._parent instanceof vt?wt.formGroupNameException():this._parent instanceof Ct||this._parent instanceof _t||wt.modelParentException()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||wt.missingNameException()}_updateValue(t){Tt.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;Tt.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(f,9),i.Mb(O,10),i.Mb(T,10),i.Mb(l,10))},t.\u0275dir=i.Hb({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:[i.Ab([Ot]),i.yb,i.zb]}),t})(),Et=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Hb({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const Mt=new i.r("NgModelWithFormControlWarning"),Pt={provide:f,useExisting:Object(i.V)(()=>At)};let At=(()=>
1{class t extends f{constructor(t,e){super(),this._validators=t,this._asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new i.n}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return q(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){ot(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);Z(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormGroup(t){}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){const e=this.form.get(t.path);Z(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormArray(t){}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,st(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=this.form.get(t.path);t.control!==e&&(function(t,e){e.valueAccessor.registerOnChange(()=>Y(e)),e.valueAccessor.registerOnTouched(()=>Y(e)),e._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(t.control,t),e&&q(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const t=tt(this._validators);this.form.validator=E.compose([this.form.validator,t]);const e=et(this._asyncValidators);this.form.asyncValidator=E.composeAsync([this.form.asyncValidator,e])}_checkFormPresent(){this.form||U.missingFormException()}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(O,10),i.Mb(T,10))},t.\u0275dir=i.Hb({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i.Yb("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Ab([Pt]),i.yb,i.zb]}),t})();const kt={provide:f,useExisting:Object(i.V)(()=>It)};let It=(()=>{class t extends vt{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){Nt(this._parent)&&U.groupParentException()}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(f,13),i.Mb(O,10),i.Mb(T,10))},t.\u0275dir=i.Hb({type:t,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[i.Ab([kt]),i.yb]}),t})();const Dt={provide:f,useExisting:Object(i.V)(()=>Rt)};let Rt=(()=>{class t extends f{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return K(null==this.name?this.name:this.name.toString(),this._parent)}
1get validator(){return tt(this._validators)}get asyncValidator(){return et(this._asyncValidators)}_checkParentType(){Nt(this._parent)&&U.arrayParentException()}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(f,13),i.Mb(O,10),i.Mb(T,10))},t.\u0275dir=i.Hb({type:t,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[i.Ab([Dt]),i.yb]}),t})();function Nt(t){return!(t instanceof It||t instanceof At||t instanceof Rt)}const Vt={provide:_,useExisting:Object(i.V)(()=>Lt)};let Lt=(()=>{class t extends _{constructor(t,e,n,s,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new i.n,this._ngModelWarningSent=!1,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=rt(this,s)}set isDisabled(t){U.disabledAttrWarning()}ngOnChanges(e){var n,s;this._added||this._setUpControl(),nt(e,this.viewModel)&&("formControlName",n=t,this,s=this._ngModelWarningConfig,Object(i.X)()&&"never"!==s&&((null!==s&&"once"!==s||n._ngModelWarningSentOnce)&&("always"!==s||this._ngModelWarningSent)||(U.ngModelWarning("formControlName"),n._ngModelWarningSentOnce=!0,this._ngModelWarningSent=!0)),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return K(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return tt(this._rawValidators)}get asyncValidator(){return et(this._rawAsyncValidators)}_checkParentType(){!(this._parent instanceof It)&&this._parent instanceof vt?U.ngModelGroupException():this._parent instanceof It||this._parent instanceof At||this._parent instanceof Rt||U.controlParentException()}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(f,13),i.Mb(O,10),i.Mb(T,10),i.Mb(l,10),i.Mb(Mt,8))},t.\u0275dir=i.Hb({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i.Ab([Vt]),i.yb,i.zb]}),t._ngModelWarningSentOnce=!1,t})();const Ht={provide:O,useExisting:Object(i.V)(()=>Bt),multi:!0},jt={provide:O,useExisting:Object(i.V)(()=>Ft),multi:!0};let Bt=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()}validate(t){return this.required?E.required(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Hb({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&i.Cb("required",e.required?"":null)},inputs:{required:"required"},features:[i.Ab([Ht])]}),t})(),Ft=(()=>{class t extends Bt{validate(t){return this.required?E.requiredTrue(t):null}}return t.\u0275fac=function(e){return Gt(e||t)},t.\u0275dir=i.Hb({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Cb("required",e.required?"":null)},features:[i.Ab([jt]),i.yb]}),t})();const Gt=i.Tb(Ft),Ut={provide:O,useExisting:Object(i.V)(()=>zt),multi:!0};let zt=(()=>{class t{constructor(){this._enabled=!1}set email(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()}validate(t){return this._enabled?E.email(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Hb({type:t,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[i.Ab([Ut])]}),t}
1)(),Wt=(()=>{class t{}return t.\u0275mod=i.Kb({type:t}),t.\u0275inj=i.Jb({factory:function(e){return new(e||t)}}),t})(),$t=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let i=null,s=null,r=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(i=null!=e.validators?e.validators:null,s=null!=e.asyncValidators?e.asyncValidators:null,r=null!=e.updateOn?e.updateOn:void 0):(i=null!=e.validator?e.validator:null,s=null!=e.asyncValidator?e.asyncValidator:null)),new gt(n,{asyncValidators:s,updateOn:r,validators:i})}control(t,e,n){return new pt(t,e,n)}array(t,e,n){const i=t.map(t=>this._createControl(t));return new ft(i,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof pt||t instanceof gt||t instanceof ft?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})(),Xt=(()=>{class t{}return t.\u0275mod=i.Kb({type:t}),t.\u0275inj=i.Jb({factory:function(e){return new(e||t)},providers:[V],imports:[Wt]}),t})(),Kt=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Mt,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275mod=i.Kb({type:t}),t.\u0275inj=i.Jb({factory:function(e){return new(e||t)},providers:[$t,V],imports:[Wt]}),t})()},"3UWI":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n("D0XW"),s=n("zx2A");class r{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new o(t,this.durationSelector))}}class o extends s.b{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const i=Object(s.c)(n,new s.a(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var a=n("PqYM");function l(t,e=i.a){return n=()=>Object(a.a)(t,e),function(t){return t.lift(new r(n))};var n}},"4I5i":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},"5+tZ":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("lJxs"),s=n("Cfvw"),r=n("zx2A");function o(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(o((n,r)=>Object(s.a)(t(n,r)).pipe(Object(i.a)((t,i)=>e(n,t,r,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new a(t,n)))}class a{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}class l extends r.b{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(e)}_innerSub(t){const e=new r.a(this),n=this.destination;n.add(e);const i=Object(r.c)(t,e);i!==e&&n.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"6KbF":function(t,e,n){"use strict";n.d(e,"d",(function(){return o})),n.d(e,"i",(function(){return a})),n.d(e,"a",(function(){return l})),n.d(e,"e",(function(){return c})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return u})),n.d(e,"f",(function(){return d})),n.d(e,"h",(function(){return g})),n.d(e,"g",(function(){return f}));var i=n("fXoL");function s(){throw Error("Host already has a portal attached")}class r{attach(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&s(),this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class o extends r{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef
1=e,this.injector=n,this.componentFactoryResolver=i}}class a extends r{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class l{constructor(){this._isDisposed=!1}hasAttached(){return!!this._attachedPortal}attach(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&s(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof o?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof a?(this._attachedPortal=t,this.attachTemplatePortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class c extends l{constructor(t,e,n,i){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.detectChanges(),n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let h=(()=>{class t extends a{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.M),i.Mb(i.Q))},t.\u0275dir=i.Hb({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[i.yb]}),t})(),u=(()=>{class t extends l{constructor(t,e){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new i.n}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i=e.createComponent(n,e.length,t.injector||e.injector);return super.setDisposeFn(()=>i.destroy()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.j),i.Mb(i.Q))},t.\u0275dir=i.Hb({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.yb]}),t})(),d=(()=>{class t extends u{}return t.\u0275fac=function(e){return p(e||t)},t.\u0275dir=i.Hb({type:t,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[i.Ab([{provide:u,useExisting:t}]),i.yb]}),t})();const p=i.Tb(d);let g=(()=>{class t{}return t.\u0275mod=i.Kb({type:t}),t.\u0275inj=i.Jb({factory:function(e){return new(e||t)}}),t})();class f{constructor(t,e){this._parentInjector=t,this._customTokens=e}get(t,e){const n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)}}},"7o/Q":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n("n6bG"),s=n("gRHU"),r=n("quSY"),o=n("2QA8"),a=n("2fFW"),l=n("NJ4a");class c extends r.a{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.a;break;case 1:if(!t){this.destination=s.a;break}if("object"==typeof t){t instanceof c?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new h(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new h(this,t,e,n)}}[o.a](){return this}static create(t,e,n){const i=new c(t,e,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class h extends c{constructor(t,e,n,r){let o;super(),this._parentSubscriber=t;let a=this;
1Object(i.a)(e)?o=e:e&&(o=e.next,n=e.error,r=e.complete,e!==s.a&&(a=Object.create(e),Object(i.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=r}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=a.a;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(l.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(l.a)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(l.a)(n)}}__tryOrSetError(t,e,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return a.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(Object(l.a)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"9YtQ":function(t,e,n){"use strict";n.d(e,"a",(function(){return _})),n.d(e,"b",(function(){return m}));var i=n("fXoL"),s=n("ofXK");const r={CHROME:"Chrome",FIREFOX:"Firefox",SAFARI:"Safari",OPERA:"Opera",IE:"IE",MS_EDGE:"MS-Edge",MS_EDGE_CHROMIUM:"MS-Edge-Chromium",FB_MESSANGER:"FB-Messanger",SAMSUNG:"Samsung",UCBROWSER:"UC-Browser",UNKNOWN:"Unknown"},o={HTC:/HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\bEVO\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel/,NEXUS_PHONE:/Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6/,DELL:/Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\b001DL\b|\b101DL\b|\bGS01\b/,MOTOROLA:new RegExp("Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|\n      A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|\n      MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|\n      ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|\n      WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|\n      XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|\n      XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052"),SAMSUNG:new RegExp("\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|\n      GT-B3210|GT-B33
110|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|\n      GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|\n      GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|\n      GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|\n      GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|\n      GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|\n      GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|\n      GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|\n      GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|\n      GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|\n      GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|\n      GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|\n      GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|\n      GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|\n      GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|\n      GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|\n      GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|\n      SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|\n      SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|\n      SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|\n      SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|\n      SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|\n      SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|\n      SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|\n      SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|\n      SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|\n      SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|\n      SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|\n      SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|\n      SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|\n      SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|\n      SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|\n      SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|\n      SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|\n      SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|\n      SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|\n      SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|\n      SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|\n      SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|\n      SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|\n      SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|
1SGH-X630|\n      SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|\n      SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|\n      SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|\n      SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|\n      SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|\n      SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|\n      SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|\n      GT-N7105|SCH-I535|SM-N900A|SM-N900T|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|\n      GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|\n      GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|\n      SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|\n      SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|\n      SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F"),LG:new RegExp("\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|\n      LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|\n      C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|\n      LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|\n      VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|\n      MS323|M257)"),SONY:/SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533/,ASUS:/Asus.*Galaxy|PadFone.*Mobile/,NOKIA_LUMIA:/Lumia [0-9]{3,4}/,MICROMAX:/Micromax.*\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\b/,PALM:/PalmSource|Palm/,VERTU:/Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature/,PANTECH:new RegExp("PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|\n        IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|\n        IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|\n        CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|\n        P2000|P7040|P7000|C790"),FLY:/IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250/,WIKO:new RegExp("KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|\n        SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLI
1M|CINK SLIM 2|CINK +|\n        CINK KING|CINK PEAX|CINK SLIM|SUBLIM"),I_MOBILE:/i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)/,SIMVALLEY:/\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\b/,WOLFGANG:/AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q/,ALCATEL:/Alcatel/,NINTENDO:/Nintendo (3DS|Switch)/,AMOI:/Amoi/,INQ:/INQ/,VITA:/\bVita\b/,BLACKBERRY:/\bBlackBerry\b|\bBB10\b|rim[0-9]+/,FIREFOX_OS:/\bFirefox-OS\b/,IPHONE:/\biPhone\b/,iPod:/\biPod\b/,ANDROID:/\bAndroid\b/,WINDOWS_PHONE:/\bWindows-Phone\b/,GENERIC_PHONE:new RegExp("Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|\n        up.link|vodafone|\\bwap\\b|nokia|Nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser")},a={iPad:/iPad|iPad.*Mobile/,NexusTablet:/Android.*Nexus[\s]+(7|9|10)/,GoogleTablet:/Android.*Pixel C/,SamsungTablet:new RegExp("SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|\n        GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|\n        SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|\n        GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|\n        SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|\n        GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|\n        SHV-E230S|SHW-M180K|SHW-M180L|SM-T290|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|\n        SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|\n        GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|\n        SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|\n        GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|\n        SM-T510|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|\n        SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|\n        SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|\n        SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|\n        SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|\n        SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|\n        SM-T719|SM-T813|SM-T819|SM-T580|SM-T590|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|\n        SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835"),Kindle:new RegExp("Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|\n        KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome        /[0-9.]+ (?!Mobile)"),SurfaceTablet:/Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)/,HPTablet:/HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10/,AsusTablet:new RegExp("^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|\n        TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|\n        Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|\n        ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|\n        ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b"),BlackBerryTablet:/PlayBook|RIM Tablet/,HTCtablet:/HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410/,MotorolaTablet:/xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617/,NookTablet:/Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2/,AcerTablet:new RegExp("Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|\n        W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\n        \\bA3-A20\\b|\\bA3-A30"),ToshibaTablet:/Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO/,LGTablet:/\bL-06C|
1LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\b/,FujitsuTablet:/Android.*\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\b/,PrestigioTablet:new RegExp("PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|\n        PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|\n        PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|\n        PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|\n        PMT5887|PMT5001|PMT5002"),LenovoTablet:new RegExp("Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|\n        YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|\n        B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304F|TB-X304L|TB-X704F|TB-8703F|Tab2A7-10F|TB2-X30L"),DellTablet:/Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7/,YarvikTablet:new RegExp("Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|\n        TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|\n        TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|\n        TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|\n        TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b"),MedionTablet:/Android.*\bOYO\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB/,ArnovaTablet:/97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2/,IntensoTablet:/INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004/,IRUTablet:/M702pro/,MegafonTablet:/MegaFon V9|\bZTE V9\b|Android.*\bMT7A\b/,EbodaTablet:/E-Boda (Supreme|Impresspeed|Izzycomm|Essential)/,AllViewTablet:/Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)/,ArchosTablet:new RegExp("\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10|\n         Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b"),AinolTablet:/NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark/,NokiaLumiaTablet:/Lumia 2520/,SonyTablet:new RegExp("Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|\n        SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|\n        EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|\n        SGP612|SGP712"),PhilipsTablet:/\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\b/,CubeTablet:/Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT/,CobyTablet:new RegExp("MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|\n        MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010"),MIDTablet:new RegExp("M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|\n        MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|\n        MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10"),MSITablet:new RegExp("MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|\n        Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b"),SMiTTablet:/Android.*(\bMID\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)/,RockChipTablet:/Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A/,FlyTablet:/IQ310|Fly Vision/,bqTablet:new RegExp("Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|\n        Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))|Maxwell.*Lite|Maxwell.*Plus"),HuaweiTablet:new RegExp("MediaPad|MediaPad 7 Youth|MediaPad T3 10|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|\n        S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-W09"),NecTablet:/\bN-06D|\bN-08D/,PantechTablet:/Pantech.*P4100/,BronchoTablet:/Broncho.*(N701|N708|N802|a710)/,VersusTablet:/TOUCHPAD.*[78910]|\bTOUCHTAB\b/,ZyncTablet:/z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900/,PositivoTablet:/TB07STA|TB10STA|TB07FTA|TB10FTA/,NabiTablet:/Android.*\b
1Nabi/,KoboTablet:/Kobo Touch|\bK080\b|\bVox\b Build|\bArc\b Build/,DanewTablet:/DSlide.*\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\b/,TexetTablet:new RegExp("NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|\n        TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|\n        TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|\n        TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|\n        TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|\n        TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|\n        TB-436|TB-416|TB-146SE|TB-126SE"),PlaystationTablet:/Playstation.*(Portable|Vita)/,TrekstorTablet:/ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab/,PyleAudioTablet:/\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\b/,AdvanTablet:new RegExp("Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|\n        T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b"),DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|\n        Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:/Android.*\bG1\b(?!\))/,MicromaxTablet:/Funbook|Micromax.*\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\b/,KarbonnTablet:/Android.*\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\b/,AllFineTablet:/Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide/,PROSCANTablet:new RegExp("\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|\n        PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|\n        PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|\n        PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b"),YONESTablet:/BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026/,ChangJiaTablet:new RegExp("TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|\n        TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|\n        TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|\n        TPC10111|TPC10203|TPC10205|TPC10503"),GUTablet:/TX-A1301|TX-M9002|Q702|kf026/,PointOfViewTablet:new RegExp("TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|\n        TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|\n        TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|\n        TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10"),OvermaxTablet:new RegExp("OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|\n        MagicTab|Stream|TB-08|TB-09)|Qualcore 1027"),HCLTablet:/HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync/,DPSTablet:/DPS Dream 9|DPS Dual 7/,VistureTablet:/V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10/,CrestaTablet:/CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989/,MediatekTablet:/\bMT8125|MT8389|MT8135|MT8377\b/,ConcordeTablet:/Concorde([ ]+)?Tab|ConCorde ReadMan/,GoCleverTablet:new RegExp("GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|\n        TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|\n        GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|\n        TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|\n        TAB R104|TAB R83.3|TAB A1042"),ModecomTablet:new RegExp("FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|\n        FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|\n        FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003"),VoninoTablet:new RegExp("\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|\n        Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|\n        Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b"),ECSTablet:/V07OT2|TM105A|S10OT1|TR10CS1/,StorexTablet:/eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab/,VodafoneTablet:/SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497/,EssentielBTablet:/Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2/,RossMoorTablet:/RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711/,iMobileTablet:/i-mobile i-note/,TolinoTablet:/tolino tab [0-9.]+|tolino shine/,AudioSonicTablet:/\bC-22Q|T7-QC|T-17B|T-17P\b/,AMPETablet:/Android.* A78 /,SkkTablet:/Android.* (SKYPAD|PHOENIX|CYCLOPS)/,TecnoTablet:/TECNO P9|TECNO DP8D/,JXDTablet:new RegExp("Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|\n        S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|\n        P1000|P300|S18|S6600|S9100)\\b"),iJoyTablet:new RegExp("Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|\n        Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|\n        Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|\n        Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|\n        Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)"),FX2Tablet:/FX2 PAD7|FX2 PAD10/,XoroTablet:new RegExp("KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|\n        PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|\n        PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|\n        TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151"),ViewsonicTablet:/ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a/,VerizonTablet:/QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1/,OdysTablet:/LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\bXELIO\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10/,CaptivaTablet:/CAPTIVA PAD/,IconbitTablet:new RegExp("NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|\n        NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S"),TeclastTablet:new RegExp("T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\n        \\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\n        \\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\n        \\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\n        \\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\n        \\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\n        \\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\n        \\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\n        \\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi"),OndaTablet:new RegExp("\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|\n        V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|\n        V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|\n        Vi40)\\b[s]+|V10 \\b4G\\b"),JaytechTablet:/TPC-PA762/,BlaupunktTablet:/Endeavour 800NG|Endeavour 1010/,DigmaTablet:/\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\b/,EvolioTablet:/ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\bEvotab\b|\bNeura\b/,LavaTablet:/QPAD E704|\bIvoryS\b|E-TAB IVORY|\bE-TAB\b/,AocTablet:/MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712/,MpmanTablet:new RegExp("MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\n        \\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|\n        MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010"),CelkonTablet:/CT695|CT888|CT[\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\bCT-1\b/,WolderTablet:new RegExp("miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|\n        POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|\n        FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b"),MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:/\bMI PAD\b|\bHM NOTE 1W\b/,NibiruTablet:/Nibiru M1|Nibiru Jupiter One/,NexoTablet:/NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI/,LeaderTablet:new RegExp("TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|\n        TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100"),UbislateTablet:/UbiSlate[\s]?7C/,PocketBookTablet:/Pocketbook/,KocasoTablet:/\b(TB-1207)\b/,HisenseTablet:/\b(F5281|E2371)\b/,Hudl:/Hudl HT7S3|Hudl 2/,TelstraTablet:/T-Hub2/,GenericTablet:new RegExp("Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|\n        A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|\n        Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107")}
1,l={BLACKBERRY:"Blackberry",FIREFOX_OS:"Firefox-OS",CHROME_BOOK:"Chrome-Book",WINDOWS_PHONE:"Windows-Phone",VITA:"Vita",PS4:"PS4",CHROMECAST:"Chromecast",APPLE_TV:"Apple-TV",GOOGLE_TV:"Google-TV",ANDROID:"Android",Tesla:"Tesla",iPad:"iPad",IPHONE:"iPhone",iPod:"iPod",UNKNOWN:"Unknown",HTC:"HTC",NEXUS_PHONE:"Nexus Phone",NexusTablet:"Nexus Tablet",DELL:"Dell",MOTOROLA:"Motorola",SAMSUNG:"Samsung",LG:"LG",SONY:"Sony",ASUS:"Asus",NOKIA_LUMIA:"Nokia Lumia",MICROMAX:"Micromax",PALM:"Palm",VERTU:"Vertu",PANTECH:"PANTECH",FLY:"Fly",WIKO:"WIKO",I_MOBILE:"i-mobile",SIMVALLEY:"Simvalley",WOLFGANG:"Wolfgang",ALCATEL:"Alcatel",NINTENDO:"Nintendo",AMOI:"Amoi",INQ:"INQ",GENERIC_PHONE:"Generic Phone"},c=Object.assign({},o,a,{FIREFOX_OS:{and:[/\bFirefox\b/,/\bMobile\b/]},CHROME_BOOK:/\bCrOS\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,CHROMECAST:/\bCrKey\b/,APPLE_TV:/^iTunes-AppleTV\/4.1$/,GOOGLE_TV:/\bGoogleTV\b/,Tesla:/Tesla\/([0-9]{4}.[0-9]{1,2}.?[0-9]{0,2}.?[0-9]{0,2})-(.{7})/}),h={WINDOWS_3_11:/Win16/,WINDOWS_95:/(Windows 95|Win95|Windows_95)/,WINDOWS_ME:/(Win 9x 4.90|Windows ME)/,WINDOWS_98:/(Windows 98|Win98)/,WINDOWS_CE:/Windows CE/,WINDOWS_2000:/(Windows NT 5.0|Windows 2000)/,WINDOWS_XP:/(Windows NT 5.1|Windows XP)/,WINDOWS_SERVER_2003:/Windows NT 5.2/,WINDOWS_VISTA:/Windows NT 6.0/,WINDOWS_7:/(Windows 7|Windows NT 6.1)/,WINDOWS_8_1:/(Windows 8.1|Windows NT 6.3)/,WINDOWS_8:/(Windows 8|Windows NT 6.2)/,WINDOWS_10:/(Windows NT 10.0)/,WINDOWS_PHONE_7_5:/(Windows Phone OS 7.5)/,WINDOWS_PHONE_8_1:/(Windows Phone 8.1)/,WINDOWS_PHONE_10:/(Windows Phone 10)/,WINDOWS_NT_4_0:{and:[/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/,{not:/Windows NT 10.0/}]},MACOSX:/(MAC OS X\s*[^ 0-9])/,MACOSX_3:/(Darwin 10.3|Mac OS X 10.3)/,MACOSX_4:/(Darwin 10.4|Mac OS X 10.4)/,MACOSX_5:/(Mac OS X 10.5)/,MACOSX_6:/(Mac OS X 10.6)/,MACOSX_7:/(Mac OS X 10.7)/,MACOSX_8:/(Mac OS X 10.8)/,MACOSX_9:/(Mac OS X 10.9)/,MACOSX_10:/(Mac OS X 10.10)/,MACOSX_11:/(Mac OS X 10.11)/,MACOSX_12:/(Mac OS X 10.12)/,MACOSX_13:/(Mac OS X 10.13)/,MACOSX_14:/(Mac OS X 10.14)/,MACOSX_15:/(Mac OS X 10.15)/,iOS:/(iPhone OS\s*[0-9_]+)/},u={CHROME:[/\bChrome\/([\d\.]+)\b/,/\bCriOS\/([\d\.]+)\b/,/\bHeadlessChrome\/([\d\.]+)\b/],FIREFOX:[/\bFirefox\/([\d\.]+)\b/,/\bFxiOS\/([\d\.]+)\b/],SAFARI:[/\bVersion\/([\d\.]+)\b/,/\bSafari\/([\d\.]+)\b/],OPERA:[/\bVersion\/([\d\.]+)\b/,/\bOPR\/([\d\.]+)\b/],IE:[/\bMSIE ([\d\.]+\w?)\b/,/\brv:([\d\.]+\w?)\b/],MS_EDGE:/\bEdg(?:e|A|iOS)\/([\d\.]+)\b/,MS_EDGE_CHROMIUM:/\bEdg\/([\d\.]+)\b/,SAMSUNG:/\bSamsungBrowser\/([\d\.]+)\b/,UCBROWSER:/\bUCBrowser\/([\d\.]+)\b/},d=Object.keys(h).reduce((function(t,e){return t[e]=h[e],t}),{}),p=Object.keys(u).reduce((function(t,e){return t[r[e]]=u[e],t}),{});
1var g=Object.freeze({BROWSERS:r,MOBILES_RE:o,TABLETS_RE:a,DEVICES:l,OS:{WINDOWS:"Windows",MAC:"Mac",IOS:"iOS",ANDROID:"Android",LINUX:"Linux",UNIX:"Unix",FIREFOX_OS:"Firefox-OS",CHROME_OS:"Chrome-OS",WINDOWS_PHONE:"Windows-Phone",UNKNOWN:"Unknown"},OS_VERSIONS:{WINDOWS_3_11:"windows-3-11",WINDOWS_95:"windows-95",WINDOWS_ME:"windows-me",WINDOWS_98:"windows-98",WINDOWS_CE:"windows-ce",WINDOWS_2000:"windows-2000",WINDOWS_XP:"windows-xp",WINDOWS_SERVER_2003:"windows-server-2003",WINDOWS_VISTA:"windows-vista",WINDOWS_7:"windows-7",WINDOWS_8_1:"windows-8-1",WINDOWS_8:"windows-8",WINDOWS_10:"windows-10",WINDOWS_PHONE_7_5:"windows-phone-7-5",WINDOWS_PHONE_8_1:"windows-phone-8-1",WINDOWS_PHONE_10:"windows-phone-10",WINDOWS_NT_4_0:"windows-nt-4-0",MACOSX_15:"mac-os-x-15",MACOSX_14:"mac-os-x-14",MACOSX_13:"mac-os-x-13",MACOSX_12:"mac-os-x-12",MACOSX_11:"mac-os-x-11",MACOSX_10:"mac-os-x-10",MACOSX_9:"mac-os-x-9",MACOSX_8:"mac-os-x-8",MACOSX_7:"mac-os-x-7",MACOSX_6:"mac-os-x-6",MACOSX_5:"mac-os-x-5",MACOSX_4:"mac-os-x-4",MACOSX_3:"mac-os-x-3",MACOSX_2:"mac-os-x-2",MACOSX:"mac-os-x",iOS:"iOS",UNKNOWN:"unknown"},OS_RE:{WINDOWS:{and:[{or:[/\bWindows|(Win\d\d)\b/,/\bWin 9x\b/]},{not:/\bWindows Phone\b/}]},MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\bWindows Phone\b/]}}]},IOS:{and:[{or:[/\biPad\b/,/\biPhone\b/,/\biPod\b/]},{not:/\bWindows Phone\b/}]},ANDROID:{and:[/\bAndroid\b/,{not:/\bWindows Phone\b/}]},LINUX:/\bLinux\b/,UNIX:/\bUNIX\b/,FIREFOX_OS:{and:[/\bFirefox\b/,/Mobile\b/]},CHROME_OS:/\bCrOS\b/,WINDOWS_PHONE:{or:[/\bIEMobile\b/,/\bWindows Phone\b/]},PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/},BROWSERS_RE:{CHROME:{and:[{or:[/\bChrome\b/,/\bCriOS\b/,/\bHeadlessChrome\b/]},{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},FIREFOX:{or:[/\bFirefox\b/,/\bFxiOS\b/]},SAFARI:{and:[/^((?!CriOS).)*\Safari\b.*$/,{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bWindows Phone\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},OPERA:{or:[/Opera\b/,/\bOPR\b/]},IE:{or:[/\bMSIE\b/,/\bTrident\b/,/^Mozilla\/5\.0 \(Windows NT 10\.0; Win64; x64\)$/]},MS_EDGE:{or:[/\bEdg(e|A|iOS)\b/]},MS_EDGE_CHROMIUM:/\bEdg\/\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/,FB_MESSANGER:/\bFBAN\/MessengerForiOS\b/,SAMSUNG:/\bSamsungBrowser\b/,UCBROWSER:/\bUCBrowser\b/},DEVICES_RE:c,OS_VERSIONS_RE_MAP:h,BROWSER_VERSIONS_RE_MAP:u,OS_VERSIONS_RE:d,BROWSER_VERSIONS_RE:p});class f{constructor(){}test(t,e){let n=this;return"string"==typeof e&&(e=new RegExp(e)),e instanceof RegExp?e.test(t):e&&Array.isArray(e.and)?e.and.every((function(e){return n.test(t,e)})):e&&Array.isArray(e.or)?e.or.some((function(e){return n.test(t,e)})):!(!e||!e.not||n.test(t,e.not))}exec(t,e){let n=this;return"string"==typeof e&&(e=new RegExp(e)),e instanceof RegExp?e.exec(t):e&&Array.isArray(e)?e.reduce((function(e,i){return e||n.exec(t,i)}),null):null}}let m=(()=>{let t=class{constructor(t){this.platformId=t,this.ua="",this.userAgent="",this.os="",this.browser="",this.device="",this.os_version="",this.browser_version="",this.reTree=new f,Object(s.t)(this.platformId)&&"undefined"!=typeof window&&(this.userAgent=window.navigator.userAgent),this.setDeviceInfo(this.userAgent)}setDeviceInfo(t=this.userAgent){t!==this.userAgent&&(this.userAgent=t);let e=[{const:"OS",prop:"os"},{const:"BROWSERS",prop:"browser"},{const:"DEVICES",prop:"device"},{const:"OS_VERSIONS",prop:"os_version"}];if(e.forEach(e=>{this[e.prop]=Object.keys(g[e.const]).reduce((n,i)=>"device"===g[e.const][i]&&Object(s.t)(this.platformId)&&(this.reTree.test(this.userAgent,a.iPad)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)?(n[g[e.const][i]]="iPad",Object):(n[g[e.const][i]]=this.reTree.test(t,g[e.const+"_RE"][i]),n),{})}),e.forEach(t=>{this[t.prop]=Object.keys(g[t.const]).map(e=>g[t.const][e]).reduce((e,n)=>"device"===t.prop&&e===g[t.const].ANDROID?this[t.prop][n]?n:e:e===g[t.const].UNKNOWN&&this[t.prop][n]?n:e,g[t.const].UNKNOWN)}),this.browser_version="0",this.browser!==r.UNKNOWN){let e=this.reTree.exec(t,p[this.browser]);e&&(this.browser_version=e[1])}}getDeviceInfo(){return{userAgent:this.userAgent,os:this.os,browser:this.browser,device:this.device,os_version:this.os_version,browser_version:this.browser_version}}isMobile(t=this.userAgent){return!this.isTablet(t)&&!!Object.keys(o).find(e=>this.reTree.test(t,o[e]))}isTablet(t=this.userAgent){return!(!Object(s.t)(this.platformId)||!(this.reTree.test(this.userAgent,a.iPad)||"undefined"!=typeof navigator&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1))||!!Object.keys(a).find(e=>!!this.reTree.test(t,a[e]))}isDesktop(t=this.userAgent){const e=[l.PS4,l.CHROME_BOOK,l.UNKNOWN];return(this.device!==l.UNKNOWN||!this.isMobile(t)&&!this.isTablet(t))&&e.indexOf(this.device)>-1}};
1return t.\u0275fac=function(e){return new(e||t)(i.Vb(i.C))},t.\u0275prov=i.Ib({token:t,factory:function(e){return t.\u0275fac(e)},providedIn:"root"}),t.ngInjectableDef=Object(i.T)({factory:function(){return new t(Object(i.W)(i.C))},token:t,providedIn:"root"}),t})();var b;let _=(()=>{let t=b=class{static forRoot(){return{ngModule:b,providers:[m]}}};return t.\u0275mod=i.Kb({type:t}),t.\u0275inj=i.Jb({factory:function(e){return new(e||t)},imports:[[s.b]]}),t})()},"9ppp":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},AytR:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i={production:!0,application:{api:"https://api.trigg.com.br",ccxp:"https://ccxp.trigg.com.br",web:"https://web.trigg.com.br"},api:{biz:"https://dxdbtxrrg2.execute-api.us-east-1.amazonaws.com/deploy"}}},BFxc:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("7o/Q"),s=n("4I5i"),r=n("EY2u");function o(t){return function(e){return 0===t?Object(r.b)():e.lift(new a(t))}}class a{constructor(t){if(this.total=t,this.total<0)throw new s.a}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends i.a{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let s=0;s<n;s++){const s=e++%n;t.next(i[s])}}t.complete()}}},Cfvw:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var i=n("HDdC"),s=n("SeVD"),r=n("quSY"),o=n("kJWO"),a=n("jZKg"),l=n("Lhse"),c=n("c2HN"),h=n("I55L");function u(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.a]}(t))return function(t,e){return new i.a(n=>{const i=new r.a;return i.add(e.schedule(()=>{const s=t[o.a]();i.add(s.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if(Object(c.a)(t))return function(t,e){return new i.a(n=>{const i=new r.a;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if(Object(h.a)(t))return Object(a.a)(t,e);if(function(t){return t&&"function"==typeof t[l.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.a(n=>{const i=new r.a;let s;return i.add(()=>{s&&"function"==typeof s.return&&s.return()}),i.add(e.schedule(()=>{s=t[l.a](),i.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=s.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())})))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof i.a?t:new i.a(Object(s.a)(t))}},D0XW:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("3N8a");const s=new(n("IjjT").a)(i.a)},DH7j:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},EY2u:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return r}));var i=n("HDdC");const s=new i.a(t=>t.complete());function r(t){return t?function(t){return new i.a(e=>t.schedule(()=>e.complete()))}(t):s}},FWMu:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a}));var i=n("ofXK"),s=n("fXoL");const r=new s.r("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(s.W)(i.d)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new s.n,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(r,8))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(s.Ib)({factory:function(){return new t(Object(s.Vb)(r,8))},token:t,providedIn:"root"}),t})(),a=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)}}),t})()},"G/Ji":function(t,e,n){"use strict";n.d(e,"b",(function(){return _})),n.d(e,"a",(function(){return v}));var i=n("dEu6"),s=n("ofXK"),r=n("fXoL"),o=n("j14s"),a=n("R1ws"),l=n("LSvS");function c(t,e){if(1&t&&(r.bc(),r.Nb(0,"circle",3)),2&t){const t=r.cc();r.Cc("animation-name","mat-progress-spinner-stroke-rotate-"+t.diameter)("stroke-dashoffset",t._strokeDashOffset,"px")("stroke-dasharray",t._strokeCircumference,"px")("stroke-width",t._circleStrokeWidth,"%"),r.Cb("r",t._circleRadius)}}function h(t,e){if(1&t&&(r.bc(),r.Nb(0,"circle",3)),2&t){const t=r.cc();r.Cc("stroke-dashoffset",t._strokeDashOffset,"px")("stroke-dasharray",t._strokeCircumference,"px")("stroke-width",t._circleStrokeWidth,"%"),r.Cb("r",t._circleRadius)}}function u(t,e){if(1&t&&(r.bc(),r.Nb(0,"circle",3)),2&t){const t=r.cc();r.Cc("animation-name","mat-progress-spinner-stroke-rotate-"+t.diameter)("stroke-dashoffset",t._strokeDashOffset,"px")("stroke-dasharray",t._strokeCircumference,"px")("stroke-width",t._circleStrokeWidth,"%"),r.Cb("r",t._circleRadius)}}function d(t,e){if(1&t&&(r.bc(),r.Nb(0,"circle",3)),2&t){const t=r.cc();r.Cc("stroke-dashoffset",t._strokeDashOffset,"px")("stroke-dasharray",t._strokeCircumference,"px")("stroke-width",t._circleStrokeWidth,"%"),r.Cb("r",t._circleRadius)}}const p=".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}
1@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}";class g{constructor(t){this._elementRef=t}}const f=Object(o.h)(g,"primary"),m=new r.r("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let b=(()=>{class t extends f{constructor(e,n,i,s,r){super(e),this._elementRef=e,this._document=i,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const o=t._diameters;o.has(i.head)||o.set(i.head,new Set([100])),this._fallbackAnimation=n.EDGE||n.TRIDENT,this._noopAnimations="NoopAnimations"===s&&!!r&&!r._forceAnimations,r&&(r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=Object(i.e)(t),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Object(i.e)(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Object(i.e)(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=function(t,e){if("undefined"!=typeof window){const n=e.head;if(n&&(n.createShadowRoot||n.attachShadow)){const e=t.getRootNode?t.getRootNode():null;if(e instanceof window.ShadowRoot)return e}}return null}(t,this._document)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}get _circleRadius(){return(this.diameter-10)/2}get _viewBox(){const t=2*this._circleRadius+this.strokeWidth;return`0 0 ${t} ${t}`}get _strokeCircumference(){return 2*Math.PI*this._circleRadius}get _strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null}get _circleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const e=this._styleRoot,n=this._diameter,i=t._diameters;let s=i.get(e);if(!s||!s.has(n)){const t=this._document.createElement("style");t.setAttribute("mat-spinner-animation",n+""),t.textContent=this._getAnimationText(),e.appendChild(t),s||(s=new Set,i.set(e,s)),s.add(n)}}_getAnimationText(){return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,""+.95*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMET
1ER/g,""+this.diameter)}}return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.l),r.Mb(l.a),r.Mb(s.d,8),r.Mb(a.a,8),r.Mb(m))},t.\u0275cmp=r.Gb({type:t,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(r.Cb("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),r.Cc("width",e.diameter,"px")("height",e.diameter,"px"),r.Eb("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[r.yb],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(r.bc(),r.Rb(0,"svg",0),r.Fc(1,c,1,9,"circle",1),r.Fc(2,h,1,7,"circle",2),r.Qb()),2&t&&(r.Cc("width",e.diameter,"px")("height",e.diameter,"px"),r.ic("ngSwitch","indeterminate"===e.mode),r.Cb("viewBox",e._viewBox),r.Bb(1),r.ic("ngSwitchCase",!0),r.Bb(1),r.ic("ngSwitchCase",!1))},directives:[s.n,s.o],styles:[p],encapsulation:2,changeDetection:0}),t._diameters=new WeakMap,t})(),_=(()=>{class t extends b{constructor(t,e,n,i,s){super(t,e,n,i,s),this.mode="indeterminate"}}return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.l),r.Mb(l.a),r.Mb(s.d,8),r.Mb(a.a,8),r.Mb(m))},t.\u0275cmp=r.Gb({type:t,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,e){2&t&&(r.Cc("width",e.diameter,"px")("height",e.diameter,"px"),r.Eb("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[r.yb],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(r.bc(),r.Rb(0,"svg",0),r.Fc(1,u,1,9,"circle",1),r.Fc(2,d,1,7,"circle",2),r.Qb()),2&t&&(r.Cc("width",e.diameter,"px")("height",e.diameter,"px"),r.ic("ngSwitch","indeterminate"===e.mode),r.Cb("viewBox",e._viewBox),r.Bb(1),r.ic("ngSwitchCase",!0),r.Bb(1),r.ic("ngSwitchCase",!1))},directives:[s.n,s.o],styles:[p],encapsulation:2,changeDetection:0}),t})(),v=(()=>{class t{}return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)},imports:[[o.d,s.b],o.d]}),t})()},GyhO:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("LRne"),s=n("0EUg");function r(...t){return Object(s.a)()(Object(i.a)(...t))}},HDdC:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n("7o/Q"),s=n("2QA8"),r=n("gRHU"),o=n("kJWO"),a=n("mCNh"),l=n("2fFW");let c=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:o}=this,a=function(t,e,n){if(t){if(t instanceof i.a)return t;if(t[s.a])return t[s.a]()}return t||e||n?new i.a(t,e,n):new i.a(r.a)}(t,e,n);if(a.add(o?o.call(a,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),l.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){l.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:s}=t;if(e||s)return!1;t=n&&n instanceof i.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=h(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(s){n(s),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[o.a](){return this}pipe(...t){return 0===t.length?this:Object(a.b)(t)(this)}toPromise(t){return new(t=h(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function h(t){if(t||(t=l.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},I55L:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},IjjT:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));let i=(()=>
1{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class s extends i{constructor(t,e=i.now){super(t,()=>s.delegate&&s.delegate!==this?s.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return s.delegate&&s.delegate!==this?s.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},IzEk:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("7o/Q"),s=n("4I5i"),r=n("EY2u");function o(t){return e=>0===t?Object(r.b)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new s.a}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends i.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},JIr8:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("zx2A");function s(t){return function(e){const n=new r(t),i=e.lift(n);return n.caught=i}}class r{constructor(t){this.selector=t}call(t,e){return e.subscribe(new o(t,this.selector,this.caught))}}class o extends i.b{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const s=new i.a(this);this.add(s);const r=Object(i.c)(n,s);r!==s&&this.add(r)}}}},JX91:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("GyhO"),s=n("z+Ro");function r(...t){const e=t[t.length-1];return Object(s.a)(e)?(t.pop(),n=>Object(i.a)(t,n,e)):e=>Object(i.a)(t,e)}},Kj3r:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q"),s=n("D0XW");function r(t,e=s.a){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))}}class a extends i.a{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function l(t){t.debouncedNext()}},Kqap:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("7o/Q");function s(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new r(t,e,n))}}
1class r{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new o(t,this.accumulator,this.seed,this.hasSeed))}}class o extends i.a{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}},LRne:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("z+Ro"),s=n("yCtX"),r=n("jZKg");function o(...t){let e=t[t.length-1];return Object(i.a)(e)?(t.pop(),Object(r.a)(t,e)):Object(s.a)(t)}},LSvS:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return l})),n.d(e,"e",(function(){return h})),n.d(e,"f",(function(){return d})),n.d(e,"g",(function(){return f})),n.d(e,"d",(function(){return m})),n.d(e,"c",(function(){return p}));var i=n("fXoL"),s=n("ofXK");let r;try{r="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(b){r=!1}let o,a=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Object(s.t)(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&&!r)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(i.Vb(i.C,8))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(i.Ib)({factory:function(){return new t(Object(i.Vb)(i.C,8))},token:t,providedIn:"root"}),t})(),l=(()=>{class t{}return t.\u0275mod=i.Kb({type:t}),t.\u0275inj=i.Jb({factory:function(e){return new(e||t)}}),t})();const c=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function h(){if(o)return o;if("object"!=typeof document||!document)return o=new Set(c),o;let t=document.createElement("input");return o=new Set(c.filter(e=>(t.setAttribute("type",e),t.type===e))),o}let u;function d(t){return function(){if(null==u&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>u=!0}))}finally{u=u||!1}return u}()?t:!!t.capture}const p=function(){var t={NORMAL:0,NEGATED:1,INVERTED:2};return t[t.NORMAL]="NORMAL",t[t.NEGATED]="NEGATED",t[t.INVERTED]="INVERTED",t}();let g;function f(){return!("object"!=typeof document||!("scrollBehavior"in document.documentElement.style))}function m(){if("object"!=typeof document||!document)return p.NORMAL;if(!g){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.height="1px",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),g=p.NORMAL,0===t.scrollLeft&&(t.scrollLeft=1,g=0===t.scrollLeft?p.NEGATED:p.INVERTED),t.parentNode.removeChild(t)}return g}},LcAk:function(t,e,n){"use strict";n.d(e,"f",(function(){return L})),n.d(e,"a",(function(){return x})),n.d(e,"b",(function(){return A})),n.d(e,"d",(function(){return I})),n.d(e,"h",(function(){return D})),n.d(e,"e",(function(){return R})),n.d(e,"c",(function(){return N})),n.d(e,"g",(function(){return T}));var i=n("R0Ic"),s=n("fXoL"),r=n("ofXK"),o=n("6KbF"),a=n("3+Bf"),l=n("XNiG"),c=n("NXyV"),h=n("LRne"),u=n("pLZG"),d=n("IzEk"),p=n("JX91"),g=n("FWMu"),f=n("OCB9"),m=n("j14s"),b=n("tkJt");function _(t,e){}class v{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.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}
1const y=[Object(i.j)("void, exit",Object(i.k)({opacity:0,transform:"scale(0.7)"})),Object(i.j)("enter",Object(i.k)({transform:"none"})),Object(i.l)("* => enter",Object(i.e)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(i.k)({transform:"none",opacity:1}))),Object(i.l)("* => void, * => exit",Object(i.e)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(i.k)({opacity:0})))],w={dialogContainer:Object(i.m)("dialogContainer",y),slideDialog:Object(i.m)("slideDialog",y)};function S(){throw Error("Attempting to attach dialog content after content is already attached")}let C=(()=>{class t extends o.a{constructor(t,e,n,i,r){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._document=i,this._config=r,this._elementFocusedBeforeDialogWasOpened=null,this._state="enter",this._animationStateChanged=new s.n,this._ariaLabelledBy=r.ariaLabelledBy||null}attachComponentPortal(t){return this._portalOutlet.hasAttached()&&S(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached()&&S(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)}_trapFocus(){const t=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(t)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{const e=this._document.activeElement;e===t||t.contains(e)||t.focus()}}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;this._config.restoreFocus&&t&&"function"==typeof t.focus&&t.focus(),this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus()))}_onAnimationDone(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(s.l),s.Mb(b.e),s.Mb(s.h),s.Mb(r.d,8),s.Mb(v))},t.\u0275cmp=s.Gb({type:t,selectors:[["mat-dialog-container"]],viewQuery:function(t,e){var n;1&t&&s.Bc(o.c,!0),2&t&&s.rc(n=s.Zb())&&(e._portalOutlet=n.first)},hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&s.Dc("@dialogContainer.start",(function(t){return e._onAnimationStart(t)}))("@dialogContainer.done",(function(t){return e._onAnimationDone(t)})),2&t&&(s.Cb("id",e._id)("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),s.Ec("@dialogContainer",e._state))},features:[s.yb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&s.Fc(0,_,0,0,"ng-template",0)},directives:[o.c],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[w.dialogContainer]}}),t})(),O=0;class T{constructor(t,e,n,i="mat-dialog-"+O++){this._overlayRef=t,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new l.a,this._afterClosed=new l.a,this._beforeClosed=new l.a,this._state=0,e._id=i,e._animationStateChanged.pipe(Object(u.a)(t=>
1"done"===t.phaseName&&"enter"===t.toState),Object(d.a)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(Object(u.a)(t=>"done"===t.phaseName&&"exit"===t.toState),Object(d.a)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._overlayRef.dispose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(Object(u.a)(t=>t.keyCode===a.e&&!this.disableClose&&!Object(a.o)(t))).subscribe(t=>{t.preventDefault(),this.close()})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(Object(u.a)(t=>"start"===t.phaseName),Object(d.a)(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._state=2,this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>{this._overlayRef.dispose()},e.totalTime+100)}),this._containerInstance._startExitAnimation(),this._state=1}afterOpened(){return this._afterOpened.asObservable()}afterClosed(){return this._afterClosed.asObservable()}beforeClosed(){return this._beforeClosed.asObservable()}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}afterOpen(){return this.afterOpened()}beforeClose(){return this.beforeClosed()}getState(){return this._state}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}const x=new s.r("MatDialogData"),E=new s.r("mat-dialog-default-options"),M=new s.r("mat-dialog-scroll-strategy"),P={provide:M,deps:[f.a],useFactory:function(t){return()=>t.scrollStrategies.block()}};let A=(()=>{class t{constructor(t,e,n,i,s,r,o){this._overlay=t,this._injector=e,this._location=n,this._defaultOptions=i,this._parentDialog=r,this._overlayContainer=o,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new l.a,this._afterOpenedAtThisLevel=new l.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(c.a)(()=>this.openDialogs.length?this._afterAllClosed:this._afterAllClosed.pipe(Object(p.a)(void 0))),this._scrollStrategy=s}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}get afterOpen(){return this.afterOpened}get _afterAllClosed(){const t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel}open(t,e){if((e=function(t,e){return Object.assign({},e,t)}(e,this._defaultOptions||new v)).id&&this.getDialogById(e.id))throw Error(`Dialog with id "${e.id}" exists already. The dialog id must be unique.`);const n=this._createOverlay(e),i=this._attachDialogContainer(n,e),s=this._attachDialogContent(t,i,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new f.b({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=new o.g(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[v,e]
1])),i=new o.d(C,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}_attachDialogContent(t,e,n,i){const r=new T(n,e,this._location,i.id);if(i.hasBackdrop&&n.backdropClick().subscribe(()=>{r.disableClose||r.close()}),t instanceof s.M)e.attachTemplatePortal(new o.i(t,null,{$implicit:i.data,dialogRef:r}));else{const n=this._createInjector(i,r,e),s=e.attachComponentPortal(new o.d(t,void 0,n));r.componentInstance=s.instance}return r.updateSize(i.width,i.height).updatePosition(i.position),r}_createInjector(t,e,n){const i=t&&t.viewContainerRef&&t.viewContainerRef.injector,s=new WeakMap([[C,n],[x,t.data],[T,e]]);return!t.direction||i&&i.get(g.b,null)||s.set(g.b,{value:t.direction,change:Object(h.a)()}),new o.g(i||this._injector,s)}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let i=e[n];i===t||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(f.a),s.Vb(s.s),s.Vb(r.h,8),s.Vb(E,8),s.Vb(M),s.Vb(t,12),s.Vb(f.c))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})(),k=0,I=(()=>{class t{constructor(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=V(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(T,8),s.Mb(s.l),s.Mb(A))},t.\u0275dir=s.Hb({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,e){1&t&&s.Yb("click",(function(){return e.dialogRef.close(e.dialogResult)})),2&t&&s.Cb("aria-label",e.ariaLabel||null)("type",e.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[s.zb]}),t})(),D=(()=>{class t{constructor(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+k++}ngOnInit(){this._dialogRef||(this._dialogRef=V(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(T,8),s.Mb(s.l),s.Mb(A))},t.\u0275dir=s.Hb({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&s.Ub("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),R=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Hb({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Hb({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})();function V(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(t=>t.id===n.id):null}let L=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)},providers:[A,P],imports:[[r.b,f.d,o.h,m.d],m.d]}),t})()},Lhse:function(t,e,n){"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",(function(){return s}));const s=i()},NJ4a:function(t,e,n){"use strict";function i(t){setTimeout(()=>{throw t},0)}n.d(e,"a",(function(){return i}))},NXyV:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}
1));var i=n("HDdC"),s=n("Cfvw"),r=n("EY2u");function o(t){return new i.a(e=>{let n;try{n=t()}catch(i){return void e.error(i)}return(n?Object(s.a)(n):Object(r.b)()).subscribe(e)})}},OCB9:function(t,e,n){"use strict";n.d(e,"a",(function(){return H})),n.d(e,"c",(function(){return A})),n.d(e,"b",(function(){return O})),n.d(e,"d",(function(){return B}));var i=n("dEu6"),s=n("+J/9"),r=n("fXoL"),o=n("LSvS"),a=n("FWMu"),l=n("ofXK"),c=n("XNiG"),h=n("quSY"),u=n("HDdC"),d=n("VRyK"),p=n("IzEk"),g=n("1G5W"),f=n("6KbF");n("3+Bf");class m{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Object(i.c)(-this._previousScrollPosition.left),t.style.top=Object(i.c)(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",s=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=i,n.scrollBehavior=s}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}function b(){return Error("Scroll strategy has already been attached.")}class _{constructor(t,e,n,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){if(this._overlayRef)throw b();this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class v{enable(){}disable(){}attach(){}}function y(t,e){return e.some(e=>t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right)}function w(t,e){return e.some(e=>t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right)}class S{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(t){if(this._overlayRef)throw b();this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();y(t,[{width:e,height:n,bottom:n,right:e,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 C=(()=>{class t{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new v,this.close=t=>new _(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new m(this._viewportRuler,this._document),this.reposition=t=>new S(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=i}}return t.\u0275fac=function(e){return new(e||t)(r.Vb(s.a),r.Vb(s.d),r.Vb(r.A),r.Vb(l.d))},t.\u0275prov=r.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(r.Ib)({factory:function(){return new t(Object(r.Vb)(s.a),Object(r.Vb)(s.d),Object(r.Vb)(r.A),Object(r.Vb)(l.d))},token:t,providedIn:"root"}),t})();class O{constructor(t){if(this.scrollStrategy=new v,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class T{constructor(t,e,n,i,s){this.offsetX=n,this.offsetY=i,this.panelClass=s,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class x{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}function E(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "top", "bottom" or "center".`)}function M(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error(`ConnectedPosition: Invalid ${t} "${e}". Expected "start", "end" or "center".`)}let P=(()=>
1{class t{constructor(t){this._attachedOverlays=[],this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEventSubscriptions>0){e[n]._keydownEvents.next(t);break}},this._document=t}ngOnDestroy(){this._detach()}add(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()}_detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(r.Vb(l.d))},t.\u0275prov=r.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(r.Ib)({factory:function(){return new t(Object(r.Vb)(l.d))},token:t,providedIn:"root"}),t})(),A=(()=>{class t{constructor(t){this._document=t}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t=this._document.getElementsByClassName("cdk-overlay-container");for(let n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);const e=this._document.createElement("div");e.classList.add("cdk-overlay-container"),this._document.body.appendChild(e),this._containerElement=e}}return t.\u0275fac=function(e){return new(e||t)(r.Vb(l.d))},t.\u0275prov=r.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(r.Ib)({factory:function(){return new t(Object(r.Vb)(l.d))},token:t,providedIn:"root"}),t})();class k{constructor(t,e,n,i,s,r,o,a){this._portalOutlet=t,this._host=e,this._pane=n,this._config=i,this._ngZone=s,this._keyboardDispatcher=r,this._document=o,this._location=a,this._backdropElement=null,this._backdropClick=new c.a,this._attachments=new c.a,this._detachments=new c.a,this._locationChanges=h.a.EMPTY,this._backdropClickHandler=t=>
1this._backdropClick.next(t),this._keydownEventsObservable=new u.a(t=>{const e=this._keydownEvents.subscribe(t);return this._keydownEventSubscriptions++,()=>{e.unsubscribe(),this._keydownEventSubscriptions--}}),this._keydownEvents=new c.a,this._keydownEventSubscriptions=0,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Object(p.a)(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._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),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 t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick.asObservable()}attachments(){return this._attachments.asObservable()}detachments(){return this._detachments.asObservable()}keydownEvents(){return this._keydownEventsObservable}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign({},this._config,t),this._updateElementSize()}setDirection(t){this._config=Object.assign({},this._config,{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Object(i.c)(this._config.width),t.height=Object(i.c)(this._config.height),t.minWidth=Object(i.c)(this._config.minWidth),t.minHeight=Object(i.c)(this._config.minHeight),t.maxWidth=Object(i.c)(this._config.maxWidth),t.maxHeight=Object(i.c)(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"auto":"none"}_attachBackdrop(){this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const s=t.classList;Object(i.a)(e).forEach(t=>{t&&(n?s.add(t):s.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.asObservable().pipe(Object(g.a)(Object(d.a)(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._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}
1class I{constructor(t,e,n,i,s){this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=s,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new c.a,this._resizeSubscription=h.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,i=[];let s;for(let r of this._preferredPositions){let o=this._getOriginPoint(t,r),a=this._getOverlayPoint(o,e,r),l=this._getOverlayFit(a,e,n,r);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,o);this._canFitWithFlexibleDimensions(l,a,n)?i.push({position:r,origin:o,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(o,r)}):(!s||s.overlayFit.visibleArea<l.visibleArea)&&(s={overlayFit:l,overlayPoint:a,originPoint:o,position:r,overlayRect:e})}if(i.length){let t=null,e=-1;for(const n of i){const i=n.boundingBoxRect.width*n.boundingBoxRect.height*(n.position.weight||1);i>e&&(e=i,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.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&&D(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,i;if("center"==e.originX)n=t.left+t.width/2;else{const i=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;n="start"==e.originX?i:s}return i="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:i}}_getOverlayPoint(t,e,n){let i,s;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+s}}_getOverlayFit(t,e,n,i){let{x:s,y:r}=t,o=this._getOffset(i,"x"),a=this._getOffset(i,"y");o&&(s+=o),a&&(r+=a);let l=0-r,c=r+e.height-n.height,h=this._subtractOverflows(e.width,0-s,s+e.width-n.width),u=this._subtractOverflows(e.height,l,c),d=h*u;return{visibleArea:d,isCompletelyWithinViewport:e.width*e.height===d,fitsInViewportVertically:u===e.height,fitsInViewportHorizontally:h==e.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const i=n.bottom-e.y,s=n.right-e.x,r=this._overlayRef.getConfig().minHeight,o=this._overlayRef.getConfig().minWidth,a=t.fitsInViewportHorizontally||null!=o&&o<=s;return(t.fitsInViewportVertically||null!=r&&r<=i)&&a}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=this._viewportRect,s=Math.max(t.x+e.width-i.right,0),r=Math.max(t.y+e.height-i.bottom,0),o=Math.max(i.top-n.top-t.y,0),a=Math.max(i.left-n.left-t.x,0);let l=0,c=0;return l=e.width<=i.width?a||-s:t.x<this._viewportMargin?i.left-n.left-t.x:0,c=e.height<=i.height?o||-r:t.y<this._viewportMargin?i.top-n.top-t.y:0,this._previousPushAmount={x:l,y:c},{x:t.x+l,y:t.y+c}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChanges.observers.length){const e=this._getScrollVisibility(),n=new x(t,e);this._positionChanges.next(n)}this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;const e=this._boundingBox.querySelectorAll(this._transformOriginSelector);let n,i=t.overlayY;n="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(let s=0;s<e.length;s++)e[s].style.transformOrigin=`${n} ${i}`}_calculateBoundingBoxRect(t,e){const n=this._viewportRect,i=this._isRtl();let s,r,o,a,l,c;if("top"===e.overlayY)r=t.y,s=n.height-r+this._viewportMargin;else if("bottom"===e.overlayY)o=n.height-t.y+2*this._viewportMargin,s=n.height-o+this._viewportMargin;else{const e=Math.min(n.bottom-t.y+n.top,t.y),i=this._lastBoundingBoxSize.height;s=2*e,r=t.y-e,s>i&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-i/2)}if("end"===e.overlayX&&!i||"start"===e.overlayX&&i)c=n.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!i||"end"===e.overlayX&&i)l=t.x,a=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),i=this._lastBoundingBoxSize.width;a=2*e,l=t.x-e,a>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-i/2)}return{top:r,left:l,bottom:o,right:c,width:a,height:s}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right="",s.width=s.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;s.height=Object(i.c)(n.height),s.top=Object(i.c)(n.top),s.bottom=Object(i.c)(n.bottom),s.width=Object(i.c)(n.width),s.left=Object(i.c)(n.left),s.right=Object(i.c)(n.right),s.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",s.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(s.maxHeight=Object(i.c)(t)),r&&(s.maxWidth=Object(i.c)(r))}this._lastBoundingBoxSize=n,D(this._boundingBox.style,s)}_resetBoundingBoxStyles(){D(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){D(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={};if(this._hasExactPosition()){const i=this._viewportRuler.getViewportScrollPosition();D(n,this._getExactOverlayY(e,t,i)),D(n,this._getExactOverlayX(e,t,i))}else n.position="static";let i="",s=this._getOffset(e,"x"),r=this._getOffset(e,"y");s&&(i+=`translateX(${s}px) `),r&&(i+=`translateY(${r}px)`),n.transform=i.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),D(this._pane.style,n)}_getExactOverlayY(t,e,n){let s={top:null,bottom:null},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=o,"bottom"===t.overlayY?s.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":s.top=Object(i.c)(r.y),s}_getExactOverlayX(t,e,n){let s,r={left:null,right:null},o=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Object(i.c)(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:w(t,n),isOriginOutsideView:y(t,n),isOverlayClipped:w(e,n),isOverlayOutsideView:y(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(t=>{M("originX",t.originX),E("originY",t.originY),M("overlayX",t.overlayX),E("overlayY",t.overlayY)})}_addPanelClasses(t){this._pane&&Object(i.a)(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEac
1h(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof r.l)return t.nativeElement.getBoundingClientRect();if(t instanceof HTMLElement)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function D(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}class R{constructor(t,e,n,i,s,r,o){this._preferredPositions=[],this._positionStrategy=new I(n,i,s,r,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e)}get _isRtl(){return"rtl"===this._overlayRef.getDirection()}get onPositionChange(){return this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,i){const s=new T(t,e,n,i);return this._preferredPositions.push(s),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}class N{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig();t.position=this._cssPosition,t.marginLeft="100%"===n.width?"0":this._leftOffset,t.marginTop="100%"===n.height?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,"100%"===n.width?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems="100%"===n.height?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let V=(()=>
1{class t{constructor(t,e,n,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}global(){return new N}connectedTo(t,e,n){return new R(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new I(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(r.Vb(s.d),r.Vb(l.d),r.Vb(o.a),r.Vb(A))},t.\u0275prov=r.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(r.Ib)({factory:function(){return new t(Object(r.Vb)(s.d),Object(r.Vb)(l.d),Object(r.Vb)(o.a),Object(r.Vb)(A))},token:t,providedIn:"root"}),t})(),L=0,H=(()=>{class t{constructor(t,e,n,i,s,r,o,a,l,c){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=s,this._injector=r,this._ngZone=o,this._document=a,this._directionality=l,this._location=c}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),s=new O(t);return s.direction=s.direction||this._directionality.value,new k(i,e,n,s,this._ngZone,this._keyboardDispatcher,this._document,this._location)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+L++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(r.g)),new f.e(t,this._componentFactoryResolver,this._appRef,this._injector)}}return t.\u0275fac=function(e){return new(e||t)(r.Vb(C),r.Vb(A),r.Vb(r.j),r.Vb(V),r.Vb(P),r.Vb(r.s),r.Vb(r.A),r.Vb(l.d),r.Vb(a.b),r.Vb(l.h,8))},t.\u0275prov=r.Ib({token:t,factory:t.\u0275fac}),t})();const j={provide:new r.r("cdk-connected-overlay-scroll-strategy"),deps:[H],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let B=(()=>{class t{}return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)},providers:[H,j],imports:[[a.a,f.h,s.b],s.b]}),t})()},P64T:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var i=n("mrSG"),s=n("IzEk"),r=n("fXoL"),o=n("9YtQ"),a=n("jhN1"),l=n("tk/3"),c=n("tyNb");let h=(()=>{class t{constructor(t,e,n,i){this.deviceService=t,this.meta=e,this.http=n,this.route=i,this.searchText=""}validarDevice(){let t="";return t=!1===this.deviceService.isMobile()?"https://www.trigg.com.br":"Android"===this.deviceService.os?"https://play.google.com/store/apps/details?id=com.trigg.triggcc":"https://apps.apple.com/app/id1173594355",t}validarDeviceAtivo(){return!0===this.deviceService.isMobile()?"Android"===this.deviceService.os?1:2:0}scrollToElementPageAndAnchor(t){const e=window.location.href,n=e.substring(e.indexOf("#")+1);n===e?document.getElementById(t).scrollIntoView({behavior:"smooth",block:"start"}):document.getElementById(n).scrollIntoView({behavior:"smooth",block:"start"})}ScrollIntoView(t){document.querySelector(t).scrollIntoView({behavior:"smooth",block:"start"})}eventEmitter(t,e,n,i){dataLayer.push({event:t,event_category:e,event_label:n,event_value:i});try{fbq.push("trackCustom",t,{event_category:e,event_label:n,event_value:i})}catch(s){console.log(s)}}getYearNow(){return(new Date).getFullYear()}generateTags(t){t=Object.assign({title:"",description:"",image:"",slug:"",keywords:""},t),this.meta.updateTag({name:"title",content:t.title}),this.meta.updateTag({name:"description",content:t.description}),this.meta.updateTag({name:"keywords",content:t.keywords}),this.meta.updateTag({name:"image",content:"https://trigg.com.br/"+t.image}),this.meta.updateTag({name:"url",content:"https://trigg.com.br/"+t.slug}),this.meta.updateTag({rel:"canonical",content:"https://trigg.com.br/"+t.slug}),this.meta.updateTag({name:"twitter:card",content:"summary"}),this.meta.updateTag({name:"twitter:site",content:"@trigg_br"}),this.meta.updateTag({name:"twitter:title",content:t.title}),this.meta.updateTag({name:"twitter:description",content:t.description}),this.meta.updateTag({name:"twitter:image",content:t.image}),this.meta.updateTag({property:"og:type",content:"article"}),this.meta.updateTag({property:"og:site_name",content:"Trigg"}),this.meta.updateTag({property:"og:title",content:t.title}),this.meta.updateTag({property:"og:description",content:t.description}),this.meta.updateTag({property:"og:image",content:"https://trigg.com.br/"+t.image}),this.meta.updateTag({property:"og:url",content:"https://trigg.com.br/"+t.slug})}getFaq(t){return Object(i.a)(this,void 0,void 0,(function*(){let e=yield this.http.get("https://trigg-files.s3.amazonaws.com/PUBLIC/SITE/faq-content.json").toProm
1ise().then(e=>{this.faqInfo=[e],console.log(this.faqInfo[0].category);for(let n=0;n<this.faqInfo[0].category.length;n++)this.faqInfo[0].category[n].slug===t&&(this.faqInfoMain=this.faqInfo[0].category[n].topic);return console.log("final",this.faqInfoMain),this.faqInfoMain}).catch((function(t){console.log("error",t)}));return console.log("return",e),e}))}filterFaq(t){setTimeout(()=>{this.route.queryParams.pipe(Object(s.a)(1)).subscribe(e=>{e[t]&&(this.searchText=e[t],console.log(e))})},100)}}return t.\u0275fac=function(e){return new(e||t)(r.Vb(o.b),r.Vb(a.f),r.Vb(l.a),r.Vb(c.a))},t.\u0275prov=r.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},PCNd:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n("tyNb"),s=n("ofXK"),r=n("3Pt+"),o=n("tmjD"),a=n("fXoL");let l=(()=>{class t{}return t.\u0275mod=a.Kb({type:t}),t.\u0275inj=a.Jb({factory:function(e){return new(e||t)},imports:[[s.b,i.g,r.p,r.h,o.b.forRoot({validation:!0})],i.g,r.p,r.h,s.b]}),t})()},PqYM:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n("HDdC"),s=n("D0XW"),r=n("DH7j");function o(t){return!Object(r.a)(t)&&t-parseFloat(t)+1>=0}var a=n("z+Ro");function l(t=0,e,n){let r=-1;return o(e)?r=Number(e)<1?1:Number(e):Object(a.a)(e)&&(n=e),Object(a.a)(n)||(n=s.a),new i.a(e=>{const i=o(t)?t:+t-n.now();return n.schedule(c,i,{index:0,period:r,subscriber:e})})}function c(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}},R0Ic:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return m})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return p})),n.d(e,"g",(function(){return l})),n.d(e,"h",(function(){return g})),n.d(e,"i",(function(){return c})),n.d(e,"j",(function(){return u})),n.d(e,"k",(function(){return h})),n.d(e,"l",(function(){return d})),n.d(e,"m",(function(){return o})),n.d(e,"n",(function(){return b})),n.d(e,"o",(function(){return _}));class i{}class s{}const r="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function l(t,e=null){return{type:3,steps:t,options:e}}function c(t,e=null){return{type:2,steps:t,options:e}}function h(t){return{type:6,styles:t,offset:null}}function u(t,e,n){return{type:0,name:t,styles:e,options:n}}function d(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function p(t=null){return{type:9,options:t}}function g(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function f(t){Promise.resolve(null).then(t)}class m{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){f(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){}getPosition(){return 0}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class b{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0;const s=this.players.length;0==s?f(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==s&&this._onFinish()}),t.onDestroy(()=>{++n==s&&this._onDestroy()}),t.onStart(()=>{++i==s&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}
1init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){let t=0;return this.players.forEach(e=>{const n=e.getPosition();t=Math.min(n,t)}),t}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const _="!"},R1ws:function(t,e,n){"use strict";n.d(e,"a",(function(){return fe})),n.d(e,"b",(function(){return be}));var i=n("fXoL"),s=n("jhN1"),r=n("R0Ic");function o(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function a(t){switch(t.length){case 0:return new r.d;case 1:return t[0];default:return new r.n(t)}}function l(t,e,n,i,s={},o={}){const a=[],l=[];let c=-1,h=null;if(i.forEach(t=>{const n=t.offset,i=n==c,u=i&&h||{};Object.keys(t).forEach(n=>{let i=n,l=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),l){case r.o:l=s[n];break;case r.a:l=o[n];break;default:l=e.normalizeStyleValue(n,i,l,a)}u[i]=l}),i||l.push(u),h=u,c=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return l}function c(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&h(n,"start",t)));break;case"done":t.onDone(()=>i(n&&h(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&h(n,"destroy",t)))}}function h(t,e,n){const i=n.totalTime,s=u(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),r=t._data;return null!=r&&(s._data=r),s}function u(t,e,n,i,s="",r=0,o){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:s,totalTime:r,disabled:!!o}}function d(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function p(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let g=(t,e)=>!1,f=(t,e)=>!1,m=(t,e,n)=>[];const b=o();(b||"undefined"!=typeof Element)&&(g=(t,e)=>t.contains(e),f=(()=>{if(b||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):f}})(),m=(t,e,n)=>{let i=[];if(n)i.push(...t.querySelectorAll(e));else{const n=t.querySelector(e);n&&i.push(n)}return i});let _=null,v=!1;function y(t){_||(_=("undefined"!=typeof document?document.body:null)||{},v=!!_.style&&"WebkitAppearance"in _.style);let e=!0;return _.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in _.style,!e&&v)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in _.style),e}const w=f,S=g,C=m;function O(t){const e={};return Object.keys(t).forEach(n=>{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}let T=(()=>{class t{validateStyleProperty(t){return y(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return S(t,e)}query(t,e,n){return C(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,s,o=[],a){return new r.d(n,i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})(),x=(()=>{class t{}return t.NOOP=new T,t})();function E(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:M(parseFloat(e[1]),e[2])}function M(t,e){switch(e){case"s":return 1e3*t;default:return t}}function P(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,s=0,r="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}
1" is invalid.`),{duration:0,delay:0,easing:""};i=M(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(s=M(parseFloat(o),n[4]));const a=n[5];a&&(r=a)}else i=t;if(!n){let n=!1,r=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),s<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(r,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:s,easing:r}}(t,e,n)}function A(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function k(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else A(t,n);return n}function I(t,e,n){return n?e+":"+n+";":""}function D(t){let e="";for(let n=0;n<t.style.length;n++){const i=t.style.item(n);e+=I(0,i,t.style.getPropertyValue(i))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=I(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function R(t,e,n){t.style&&(Object.keys(e).forEach(i=>{const s=G(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[s]),t.style[s]=e[i]}),o()&&D(t))}function N(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=G(e);t.style[n]=""}),o()&&D(t))}function V(t){return Array.isArray(t)?1==t.length?t[0]:Object(r.i)(t):t}const L=new RegExp("{{\\s*(.+?)\\s*}}","g");function H(t){let e=[];
1if("string"==typeof t){let n;for(;n=L.exec(t);)e.push(n[1]);L.lastIndex=0}return e}function j(t,e,n){const i=t.toString(),s=i.replace(L,(t,i)=>{let s=e[i];return e.hasOwnProperty(i)||(n.push("Please provide a value for the animation param "+i),s=""),s.toString()});return s==i?t:s}function B(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const F=/-+([a-z0-9])/g;function G(t){return t.replace(F,(...t)=>t[1].toUpperCase())}function U(t,e){return 0===t||0===e}function z(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let r=e[0],o=[];if(i.forEach(t=>{r.hasOwnProperty(t)||o.push(t),r[t]=n[t]}),o.length)for(var s=1;s<e.length;s++){let n=e[s];o.forEach((function(e){n[e]=$(t,e)}))}}return e}function W(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function $(t,e){return window.getComputedStyle(t)[e]}function X(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const s=i[1],r=i[2],o=i[3];e.push(Q(s,o)),"<"!=r[0]||"*"==s&&"*"==o||e.push(Q(o,s))}(t,n,e)):n.push(t),n}const K=new Set(["true","1"]),q=new Set(["false","0"]);function Q(t,e){const n=K.has(t)||q.has(t),i=K.has(e)||q.has(e);return(s,r)=>{let o="*"==t||t==s,a="*"==e||e==r;return!o&&n&&"boolean"==typeof s&&(o=s?K.has(t):q.has(t)),!a&&i&&"boolean"==typeof r&&(a=r?K.has(e):q.has(e)),o&&a}}const Z=new RegExp("s*:selfs*,?","g");function Y(t,e,n){return new J(t).build(e,n)}class J{constructor(t){this._driver=t}build(t,e){const n=new tt(e);return this._resetContextStyleTimingState(n),W(this,V(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const s=[],r=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,s.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const s=this.visitTransition(t,e);n+=s.queryCount,i+=s.depCount,r.push(s)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:s,transitions:r,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const s=new Set,r=i||{};if(n.styles.forEach(t=>{if(et(t)){const e=t;Object.keys(e).forEach(t=>{H(e[t]).forEach(t=>{r.hasOwnProperty(t)||s.add(t)})})}}),s.size){const n=B(s.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=W(this,V(t.animation),e);return{type:1,matchers:X(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:nt(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>W(this,t,e)),options:nt(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const s=t.steps.map(t=>{e.currentTime=n;const s=W(this,t,e);return i=Math.max(i,e.currentTime),s});return e.currentTime=i,{type:3,steps:s,options:nt(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return it(P(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=it(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||P(i,e),it(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let s=t.styles?t.styles:Object(r.k)({});if(5==s.type)i=this.visitKeyframes(s,e);else{let s=t.styles,o=!1;if(!s){o=!0;const t={};n.easing&&(t.easing=n.easing),s=Object(r.k)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(s,e);a.isEmptyStep=o,i=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);
1return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==r.a?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,s=null;return n.forEach(t=>{if(et(t)){const e=t,n=e.easing;if(n&&(s=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:s,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,s=e.currentTime;n&&s>0&&(s-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const r=e.collectedStyles[e.currentQuerySelector],o=r[n];let a=!0;o&&(s!=i&&s>=o.startTime&&i<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${s}ms" and "${i}ms"`),a=!1),s=o.startTime),a&&(r[n]={startTime:s,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},s=H(t);s.length&&s.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const s=[];let r=!1,o=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(et(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(et(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),o=o||c<0||c>1,r=r||c<a,a=c,s.push(c),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),r&&e.errors.push("Please ensure that all keyframe offsets are in order");const c=t.steps.length;let h=0;i>0&&i<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(h=1/(c-1));const u=c-1,d=e.currentTime,p=e.currentAnimateTimings,g=p.duration;return l.forEach((t,i)=>{const r=h>0?i==u?1:h*i:s[i],o=r*g;e.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:W(this,V(t.animation),e),options:nt(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:nt(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:nt(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[s,r]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(Z,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+s:s,d(e.collectedStyles,e.currentQuerySelector,{});const o=W(this,V(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:s,limit:i.limit||0,optional:!!i.optional,includeSelf:r,animation:o,originalSelector:t.selector,options:nt(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:P(t.timings,e.errors,!0);return{type:12,animation:W(this,V(t.animation),e),timings:n,options:null}}}class tt{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function et(t){return!Array.isArray(t)&&"object"==typeof t}function nt(t){var e;return t?(t=A(t)).params&&(t.params=(e=t.params)?A(e):null):t={},t}function it(t,e,n){return{duration:t,delay:e,easing:n}}function st(t,e,n,i,s,r,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:s,delay:r,totalTime:s+r,easing:o,subTimeline:a}}class rt{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const ot=new RegExp(":enter","g"),at=new RegExp(":leave","g");function lt(t,e,n,i,s,r={},o={},a,l,c=[]){return(new ct).buildKeyframes(t,e,n,i,s,r,o,a,l,c)}class ct{buildKeyframes(t,e,n,i,s,r,o,a,l,c=[]){l=l||new rt;const h=new ut(t,e,l,i,s,c,[]);h.options=a,h.currentTimeline.setStyles([r],null,h.errors,a),W(this,n,h);const u=h.timelines.filter(t=>t.containsAnimation());if(u.length&&Object.keys(o).length){const t=u[u.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,h.errors,a)}return u.length?u.map(t=>t.buildKeyframes()):[st(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}
1visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),s=e.currentTimeline.currentTime,r=this._visitSubInstructions(n,i,i.options);s!=r&&e.transformIntoNewTimeline(r)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const s=null!=n.duration?E(n.duration):null,r=null!=n.delay?E(n.delay):null;return 0!==s&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,s,r);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),W(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const s=t.options;if(s&&(s.params||s.delay)&&(i=e.createSubContext(s),i.transformIntoNewTimeline(),null!=s.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ht);const t=E(s.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>W(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const s=t.options&&t.options.delay?E(t.options.delay):0;t.steps.forEach(r=>{const o=e.createSubContext(t.options);s&&o.delayNextStep(s),W(this,r,o),i=Math.max(i,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return P(e.params?j(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const s=t.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(n.duration),this.visitStyle(s,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const s=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(s):n.setStyles(t.styles,s,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,s=n.duration,r=e.createSubContext().currentTimeline;r.easing=n.easing,t.styles.forEach(t=>{r.forwardTime((t.offset||0)*s),r.setStyles(t.styles,t.easing,e.errors,e.options),r.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(r),e.transformIntoNewTimeline(i+s),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},s=i.delay?E(i.delay):0;s&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ht);let r=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,i)=>{e.currentQueryIndex=i;const o=e.createSubContext(t.options,n);s&&o.delayNextStep(s),n===e.element&&(a=o.currentTimeline),W(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,s=t.timings,r=Math.abs(s.duration),o=r*(e.currentQueryTotal-1);let a=r*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;W(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const ht={};class ut{constructor(t,e,n,i,s,r,o,a){this._driver=t,this.element=e,this.subInstru
1ctions=n,this._enterClassName=i,this._leaveClassName=s,this.errors=r,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ht,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new dt(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=E(n.duration)),null!=n.delay&&(i.delay=E(n.delay));const s=n.params;if(s){let t=i.params;t||(t=this.options.params={}),Object.keys(s).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=j(s[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,s=new ut(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(t){return this.previousNode=ht,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},s=new pt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(s),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,s,r){let o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(ot,"."+this._enterClassName)).replace(at,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return s||0!=o.length||r.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class dt{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),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.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new dt(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEac
1h(t=>{this._backFill[t]=this._globalTimelineStyles[t]||r.a,this._currentKeyframe[t]=r.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const s=i&&i.params||{},o=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=r.a})):k(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=j(o[t],s,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:r.a),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((s,o)=>{const a=k(s,!0);Object.keys(a).forEach(n=>{const i=a[n];i==r.o?t.add(n):i==r.a&&e.add(n)}),n||(a.offset=o/this.duration),i.push(a)});const s=t.size?B(t.values()):[],o=e.size?B(e.values()):[];if(n){const t=i[0],e=A(t);t.offset=0,e.offset=1,i=[t,e]}return st(this.element,i,s,o,this.duration,this.startTime,this.easing,!1)}}class pt extends dt{constructor(t,e,n,i,s,r,o=!1){super(t,e,r.delay),this.element=e,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=s,this._stretchStartingKeyframe=o,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],r=n+e,o=e/r,a=k(t[0],!1);a.offset=0,s.push(a);const l=k(t[0],!1);l.offset=gt(o),s.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let o=k(t[i],!1);o.offset=gt((e+o.offset*n)/r),s.push(o)}n=r,e=0,i="",t=s}return st(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function gt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class ft{}class mt extends ft{normalizePropertyName(t,e){return G(t)}normalizeStyleValue(t,e,n,i){let s="";const r=n.toString().trim();if(bt[e]&&0!==n&&"0"!==n)if("number"==typeof n)s="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return r+s}}const bt=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("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".split(",")))();function _t(t,e,n,i,s,r,o,a,l,c,h,u,d){return{type:0,element:t,triggerName:e,isRemovalTransition:s,fromState:n,fromStyles:r,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:h,totalTime:u,errors:d}}const vt={};class yt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,s){return t.some(t=>t(e,n,i,s))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],s=this._stateStyles[t],r=i?i.buildStyles(e,n):{};return s?s.buildStyles(e,n):r}build(t,e,n,i,s,r,o,a,l,c){const h=[],u=this.ast.options&&this.ast.options.params||vt,p=this.buildStyles(n,o&&o.params||vt,h),g=a&&a.params||vt,f=this.buildStyles(i,g,h),m=new Set,b=new Map,_=new Map,v="void"===i,y={params:Object.assign(Object.assign({},u),g)},w=c?[]:lt(t,e,this.ast.animation,s,r,p,f,y,l,h);let S=0;if(w.forEach(t=>{S=Math.max(t.duration+t.delay,S)}),h.length)return _t(e,this._triggerName,n,i,v,p,f,[],[],b,_,S,h);
1w.forEach(t=>{const n=t.element,i=d(b,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const s=d(_,n,{});t.postStyleProps.forEach(t=>s[t]=!0),n!==e&&m.add(n)});const C=B(m.values());return _t(e,this._triggerName,n,i,v,p,f,w,C,b,_,S)}}class wt{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},i=A(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const s=t;Object.keys(s).forEach(t=>{let r=s[t];r.length>1&&(r=j(r,i,e)),n[t]=r})}}),n}}class St{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new wt(t.style,t.options&&t.options.params||{})}),Ct(this.states,"true","1"),Ct(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new yt(t,e,this.states))}),this.fallbackTransition=new yt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(s=>s.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Ct(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const Ot=new rt;class Tt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=Y(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,s=l(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,s,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],s=this._animations[t];let o;const l=new Map;if(s?(o=lt(this._driver,e,s,"ng-enter","ng-leave",{},{},n,Ot,i),o.forEach(t=>{const e=d(l,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error("Unable to create the animation due to the following errors: "+i.join("\n"));l.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,r.a)})});const c=a(o.map(t=>{const e=l.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e}listen(t,e,n,i){const s=u(e,"","","");return c(this._getPlayer(t),n,s,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const s=this._getPlayer(t);switch(n){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const xt=[],Et={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Mt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Pt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=A(t);delete e.value,this.options=e}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const At=new Pt("void");class kt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"
1+t,Ht(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(s=n)&&"done"!=s)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var s;const r=d(this._elementListeners,t,[]),o={name:e,phase:n,callback:i};r.push(o);const a=d(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Ht(t,"ng-trigger"),Ht(t,"ng-trigger-"+e),a[e]=At),()=>{this._engine.afterFlush(()=>{const t=r.indexOf(o);t>=0&&r.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,i=!0){const s=this._getTrigger(e),r=new Dt(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Ht(t,"ng-trigger"),Ht(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const l=new Pt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o[e]=l,a||(a=At),"void"!==l.value&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let s=0;s<n.length;s++){const i=n[s];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}(a.params,l.params)){const e=[],n=s.matchStyles(a.value,a.params,e),i=s.matchStyles(l.value,l.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{N(t,n),R(t,i)})}return}const c=d(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let h=s.matchTransition(a.value,l.value,t,l.params),u=!1;if(!h){if(!i)return;h=s.fallbackTransition,u=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:a,toState:l,player:r,isFallbackTransition:u}),u||(Ht(t,"ng-animate-queued"),r.onStart(()=>{jt(t,"ng-animate-queued")})),r.onDone(()=>{let e=this.players.indexOf(r);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(r);t>=0&&n.splice(t,1)}}),this.players.push(r),c.push(r),r}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,".ng-trigger",!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const s=this._engine.statesByElement.get(t);if(s){const r=[];if(Object.keys(s).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,"void",i);n&&r.push(n)}}),r.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&a(r).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const i=e.name;if(n.has(i))return;n.add(i);const s=this._triggers[i].fallbackTransition,r=this._engine.statesByElement.get(t)[i]||At,o=new Pt("void"),a=new Dt(this.id,i,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:i,transition:s,fromState:r,toState:o,player:a,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t.__ng_removed;i&&i!==Et||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Ht(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const s=n.element,r=this._elementListeners.get(s);
1r&&r.forEach(e=>{if(e.name==n.triggerName){const i=u(s,n.triggerName,n.fromState.value,n.toState.value);i._data=t,c(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class It{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,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=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new kt(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let s=n;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,e)){this._namespaceList.splice(s+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i<t.length;i++){const s=n[t[i]].namespaceId;if(s){const t=this._fetchNamespace(s);t&&e.add(t)}}}return e}trigger(t,e,n,i){if(Rt(e)){const s=this._fetchNamespace(t);if(s)return s.trigger(e,n,i),!0}return!1}insertNode(t,e,n,i){if(!Rt(e))return;const s=e.__ng_removed;if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Ht(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),jt(t,"ng-animate-disabled"))}removeNode(t,e,n,i){if(Rt(e)){const s=t?this._fetchNamespace(t):null;if(s?s.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,s){return Rt(e)?this._fetchNamespace(t).listen(e,n,i,s):()=>{}}_buildInstruction(t,e,n,i,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,s)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return a(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=Et,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEac
1h(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Ht(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?a(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))}_flushAnimations(t,e){const n=new rt,i=[],s=new Map,o=[],l=new Map,c=new Map,h=new Map,u=new Set;this.disabledNodes.forEach(t=>{u.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)u.add(e[n])});const p=this.bodyNode,g=Array.from(this.statesByElement.keys()),f=Lt(g,this.collectedEnterElements),m=new Map;let b=0;f.forEach((t,e)=>{const n="ng-enter"+b++;m.set(e,n),t.forEach(t=>Ht(t,n))});const _=[],v=new Set,y=new Set;for(let r=0;r<this.collectedLeaveElements.length;r++){const t=this.collectedLeaveElements[r],e=t.__ng_removed;e&&e.setForRemoval&&(_.push(t),v.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>v.add(t)):y.add(t))}const w=new Map,S=Lt(g,Array.from(v));S.forEach((t,e)=>{const n="ng-leave"+b++;w.set(e,n),t.forEach(t=>Ht(t,n))}),t.push(()=>{f.forEach((t,e)=>{const n=m.get(e);t.forEach(t=>jt(t,n))}),S.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>jt(t,n))}),_.forEach(t=>{this.processLeaveNode(t)})});const C=[],O=[];for(let r=this._namespaceList.length-1;r>=0;r--)this._namespaceList[r].drainQueuedTransitions(e).forEach(t=>{const e=t.player,s=t.element;if(C.push(e),this.collectedEnterElements.length){const t=s.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const r=!p||!this.driver.containsElement(p,s),a=w.get(s),u=m.get(s),g=this._buildInstruction(t,n,u,a,r);if(g.errors&&g.errors.length)O.push(g);else{if(r)return e.onStart(()=>N(s,g.fromStyles)),e.onDestroy(()=>R(s,g.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>N(s,g.fromStyles)),e.onDestroy(()=>R(s,g.toStyles)),void i.push(e);g.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(s,g.timelines),o.push({instruction:g,player:e,element:s}),g.queriedElements.forEach(t=>d(l,t,[]).push(e)),g.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=c.get(e);t||c.set(e,t=new Set),n.forEach(e=>t.add(e))}}),g.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=h.get(e);i||h.set(e,i=new Set),n.forEach(t=>i.add(t))})}});if(O.length){const t=[];O.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),C.forEach(t=>t.destroy()),this.reportError(t)}const T=new Map,x=new Map;o.forEach(t=>{const e=t.element;n.has(e)&&(x.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,T))}
1),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{d(T,e,[]).push(t),t.destroy()})});const E=_.filter(t=>Ft(t,c,h)),M=new Map;Vt(M,this.driver,y,h,r.a).forEach(t=>{Ft(t,c,h)&&E.push(t)});const P=new Map;f.forEach((t,e)=>{Vt(P,this.driver,new Set(t),c,r.o)}),E.forEach(t=>{const e=M.get(t),n=P.get(t);M.set(t,Object.assign(Object.assign({},e),n))});const A=[],k=[],I={};o.forEach(t=>{const{element:e,player:r,instruction:o}=t;if(n.has(e)){if(u.has(e))return r.onDestroy(()=>R(e,o.toStyles)),r.disabled=!0,r.overrideTotalTime(o.totalTime),void i.push(r);let t=I;if(x.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=x.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>x.set(e,t))}const n=this._buildAnimation(r.namespaceId,o,T,s,P,M);if(r.setRealPlayer(n),t===I)A.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=a(e)),i.push(r)}}else N(e,o.fromStyles),r.onDestroy(()=>R(e,o.toStyles)),k.push(r),u.has(e)&&i.push(r)}),k.forEach(t=>{const e=s.get(t.element);if(e&&e.length){const n=a(e);t.setRealPlayer(n)}}
1),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let r=0;r<_.length;r++){const t=_[r],e=t.__ng_removed;if(jt(t,"ng-leave"),e&&e.hasAnimation)continue;let n=[];if(l.size){let e=l.get(t);e&&e.length&&n.push(...e);let i=this.driver.query(t,".ng-animating",!0);for(let t=0;t<i.length;t++){let e=l.get(i[t]);e&&e.length&&n.push(...e)}}const i=n.filter(t=>!t.destroyed);i.length?Bt(this,t,i):this.processLeaveNode(t)}return _.length=0,A.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),A}elementContainsData(t,e){let n=!1;const i=e.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,s){let r=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(r=e)}else{const e=this.playersByElement.get(t);if(e){const t=!s||"void"==s;e.forEach(e=>{e.queued||(t||e.triggerName==i)&&r.push(e)})}}return(n||i)&&(r=r.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),r}_beforeAnimationBuild(t,e,n){const i=e.element,s=e.isRemovalTransition?void 0:t,r=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==i,l=d(n,t,[]);this._getPreviousPlayers(t,a,s,r,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}N(i,e.fromStyles)}_buildAnimation(t,e,n,i,s,o){const c=e.triggerName,h=e.element,u=[],p=new Set,g=new Set,f=e.timelines.map(e=>{const a=e.element;p.add(a);const d=a.__ng_removed;if(d&&d.removedBeforeQueried)return new r.d(e.duration,e.delay);const f=a!==h,m=function(t){const e=[];return function t(e,n){for(let i=0;i<e.length;i++){const s=e[i];s instanceof r.n?t(s.players,n):n.push(s)}}(t,e),e}((n.get(a)||xt).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===a),b=s.get(a),_=o.get(a),v=l(0,this._normalizer,0,e.keyframes,b,_),y=this._buildPlayer(e,v,m);if(e.subTimeline&&i&&g.add(a),f){const e=new Dt(t,c,a);e.setRealPlayer(y),u.push(e)}return y});u.forEach(t=>{d(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),p.forEach(t=>Ht(t,"ng-animating"));const m=a(f);return m.onDestroy(()=>{p.forEach(t=>jt(t,"ng-animating")),R(h,e.toStyles)}),g.forEach(t=>{d(i,t,[]).push(m)}),m}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new r.d(t.duration,t.delay)}}class Dt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new r.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEac
1h(e=>{this._queuedCallbacks[e].forEach(n=>c(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){d(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Rt(t){return t&&1===t.nodeType}function Nt(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Vt(t,e,n,i,s){const r=[];n.forEach(t=>r.push(Nt(t)));const o=[];i.forEach((n,i)=>{const r={};n.forEach(t=>{const n=r[t]=e.computeStyle(i,t,s);n&&0!=n.length||(i.__ng_removed=Mt,o.push(i))}),t.set(i,r)});let a=0;return n.forEach(t=>Nt(t,r[a++])),o}function Lt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),s=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let r=s.get(e);if(r)return r;const o=e.parentNode;return r=n.has(o)?o:i.has(o)?1:t(o),s.set(e,r),r}(t);1!==e&&n.get(e).push(t)}),n}function Ht(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function jt(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Bt(t,e,n){a(n).onDone(()=>t.processLeaveNode(e))}function Ft(t,e,n){const i=n.get(t);if(!i)return!1;let s=e.get(t);return s?i.forEach(t=>s.add(t)):e.set(t,i),n.delete(t),!0}class Gt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new It(t,e,n),this._timelineEngine=new Tt(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,s){const r=t+"-"+i;let o=this._triggerCache[r];if(!o){const t=[],e=Y(this._driver,s,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new St(t,e)}(i,e),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(e,i,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,s]=p(n);this._timelineEngine.command(t,e,s,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,s){if("@"==n.charAt(0)){const[t,i]=p(n);return this._timelineEngine.listen(t,e,i,s)}return this._transitionEngine.listen(t,e,n,i,s)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Ut(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=Wt(e[0]),e.length>1&&(i=Wt(e[e.length-1]))):e&&(n=Wt(e)),n||i?new zt(t,n,i):null}let zt=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let s=t.initialStylesByElement.get(e);s||t.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&R(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(R(this._element,this._initialStyles),this._endStyles&&(R(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(N(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(N(this._element,this._endStyles),this._endStyles=null),R(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Wt(t){let e=null;const n=Object.keys(t);for(let i=0;i<n.length;i++){const s=n[i];$t(s)&&(e=e||{},e[s]=t[s])}return e}function $t(t){return"display"===t||"position"===t}class Xt{constructor(t,e,n,i,s,r,o){this._element=t,this._name=e,this._duration=n,this._delay=i,this._easing=s,this._fillMode=r,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=Jt(t,"").trim();n.length&&(function(t,e){let n=0;for(let i=0;i<t.length;i++)","===t.charAt(i)&&n++}(n),e=`${n}, ${e}`),Yt(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Zt(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Kt(this._element,this._name,"paused")}resume(){Kt(this._element,this._name,"running")}setPosition(t){const e=qt(this._element,this._name);this._position=t*this._duration,Yt(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Zt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=Jt(t,"").split(","),i=Qt(n,e);i>=0&&(n.splice(i,1),Yt(t,"",n.join(",")))}(this._element,this._name))}}function Kt(t,e,n){Yt(t,"PlayState",n,qt(t,e))}function qt(t,e){const n=Jt(t,"");return n.indexOf(",")>0?Qt(n.split(","),e):Qt([n],e)}function Qt(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Zt(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function Yt(t,e,n,i){const s="animation"+e;if(null!=i){const e=t.style[s];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[s]=n}function Jt(t,e){return t.style["animation"+e]}class te{constructor(t,e,n,i,s,r,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=s,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=i+s,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>
1=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Xt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:$(this.element,n))})}this.currentSnapshot=t}}class ee extends r.d{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=O(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class ne{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return y(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return S(t,e)}query(t,e,n){return C(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>O(t));let i=`@keyframes ${e} {\n`,s="";n.forEach(t=>{s=" ";const e=parseFloat(t.offset);i+=`${s}${100*e}% {\n`,s+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${s}animation-timing-function: ${n};\n`));default:return void(i+=`${s}${e}: ${n};\n`)}}),i+=s+"}\n"}),i+="}\n";const r=document.createElement("style");return r.innerHTML=i,r}animate(t,e,n,i,s,r=[],o){o&&this._notifyFaultyScrubber();const a=r.filter(t=>t instanceof te),l={};U(n,i)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}
1(e=z(t,e,l));if(0==n)return new ee(t,c);const h="gen_css_kf_"+this._count++,u=this.buildKeyframeElement(t,h,e);document.querySelector("head").appendChild(u);const d=Ut(t,e),p=new te(t,e,h,n,i,s,c,d);return p.onDestroy(()=>{var t;(t=u).parentNode.removeChild(t)}),p}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n","  visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class ie{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),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}_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(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:$(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class se{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(re().toString()),this._cssKeyframesDriver=new ne}validateStyleProperty(t){return y(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return S(t,e)}query(t,e,n){return C(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,s,r=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,s,r);const a={duration:n,delay:i,fill:0==i?"both":"forwards"};s&&(a.easing=s);const l={},c=r.filter(t=>t instanceof ie);U(n,i)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const h=Ut(t,e=z(t,e=e.map(t=>k(t,!1)),l));return new ie(t,e,a,h)}}function re(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var oe=n("ofXK");let ae=(()=>{class t extends r.b{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:i.R.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?Object(r.i)(t):t;return he(this._renderer,null,e,"register",[n]),new le(e,this._renderer)}}
1return t.\u0275fac=function(e){return new(e||t)(i.Vb(i.G),i.Vb(oe.d))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})();class le extends r.c{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new ce(this._id,t,e||{},this._renderer)}}class ce{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return he(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}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")}setPosition(t){this._command("setPosition",t)}getPosition(){return 0}}function he(t,e,n,i,s){return t.setProperty(e,`@@${n}:${i}`,s)}let ue=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new de("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,s=e.id+"-"+this._currentId;this._currentId++,this.engine.register(s,t);const r=e=>{Array.isArray(e)?e.forEach(r):this.engine.registerTrigger(i,s,t,e.name,e)};return e.data.animation.forEach(r),new pe(this,s,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}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)(i.Vb(i.G),i.Vb(Gt),i.Vb(i.A))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})();class de{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class pe extends de{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let s=e.substr(1),r="";return"@"!=s.charAt(0)&&([s,r]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(s)),this.engine.listen(this.namespaceId,i,s,r,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let ge=(()=>{class t extends Gt{constructor(t,e,n){super(t.body,e,n)}}
1return t.\u0275fac=function(e){return new(e||t)(i.Vb(oe.d),i.Vb(x),i.Vb(ft))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})();const fe=new i.r("AnimationModuleType"),me=[{provide:x,useFactory:function(){return"function"==typeof re()?new se:new ne}},{provide:fe,useValue:"BrowserAnimations"},{provide:r.b,useClass:ae},{provide:ft,useFactory:function(){return new mt}},{provide:Gt,useClass:ge},{provide:i.G,useFactory:function(t,e,n){return new ue(t,e,n)},deps:[s.i,Gt,i.A]}];let be=(()=>{class t{}return t.\u0275mod=i.Kb({type:t}),t.\u0275inj=i.Jb({factory:function(e){return new(e||t)},providers:me,imports:[s.a]}),t})()},SeVD:function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var i=n("ngJS"),s=n("NJ4a"),r=n("Lhse"),o=n("kJWO"),a=n("I55L"),l=n("c2HN"),c=n("XoHu");const h=t=>{if(t&&"function"==typeof t[o.a])return h=t,t=>{const e=h[o.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Object(a.a)(t))return Object(i.a)(t);if(Object(l.a)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,s.a),t);if(t&&"function"==typeof t[r.a])return e=t,t=>{const n=e[r.a]();for(;;){let e;try{e=n.next()}catch(i){return t.error(i),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=Object(c.a)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,h}},SpAZ:function(t,e,n){"use strict";function i(t){return t}n.d(e,"a",(function(){return i}))},SxV6:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n("sVev"),s=n("pLZG"),r=n("IzEk"),o=n("xbPD"),a=n("XDbj"),l=n("SpAZ");function c(t,e){const n=arguments.length>=2;return c=>c.pipe(t?Object(s.a)((e,n)=>t(e,n,c)):l.a,Object(r.a)(1),n?Object(o.a)(e):Object(a.a)(()=>new i.a))}},TY1r:function(t,e,n){"use strict";n.d(e,"b",(function(){return D})),n.d(e,"a",(function(){return I}));var i=n("ofXK"),s=n("tk/3"),r=n("fXoL"),o=n("jhN1"),a=n("LRne"),l=n("z6cu"),c=n("cp0P"),h=n("vkgz"),u=n("lJxs"),d=n("JIr8"),p=n("nYR2"),g=n("w1tV"),f=n("IzEk"),m=n("dEu6"),b=n("j14s");const _=["*"];function v(t){return Error(`Unable to find icon with the name "${t}"`)}function y(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function w(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class S{constructor(t,e){this.options=e,t.nodeName?this.svgElement=t:this.url=t}}let C=(()=>{class t{constructor(t,e,n,i){this._httpClient=t,this._sanitizer=e,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}addSvgIconInNamespace(t,e,n,i){return this._addSvgIconConfig(t,e,new S(n,i))}addSvgIconLiteralInNamespace(t,e,n,i){const s=this._sanitizer.sanitize(r.J.HTML,n);if(!s)throw w(n);const o=this._createSvgElementForSingleIcon(s,i);return this._addSvgIconConfig(t,e,new S(o,i))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,n){return this._addSvgIconSetConfig(t,new S(e,n))}addSvgIconSetLiteralInNamespace(t,e,n){const i=this._sanitizer.sanitize(r.J.HTML,e);if(!i)throw w(e);const s=this._svgElementFromString(i);return this._addSvgIconSetConfig(t,new S(s,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(r.J.RESOURCE_URL,t);if(!e)throw y(t);const n=this._cachedIconsByUrl.get(e);return n?Object(a.a)(O(n)):this._loadSvgIconFromConfig(new S(t)).pipe(Object(h.a)(t=>this._cachedIconsByUrl.set(e,t)),Object(u.a)(t=>O(t)))}getNamedSvgIcon(t,e=""){const n=T(e,t),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);const s=this._iconSetConfigs.get(e);return s?this._getSvgFromIconSetConfigs(t,s):Object(l.a)(v(n))}ngOnDestroy(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgElement?Object(a.a)(O(t.svgElement)):this._loadSvgIconFromConfig(t).pipe(Object(h.a)(e=>
1t.svgElement=e),Object(u.a)(t=>O(t)))}_getSvgFromIconSetConfigs(t,e){const n=this._extractIconWithNameFromAnySet(t,e);if(n)return Object(a.a)(n);const i=e.filter(t=>!t.svgElement).map(t=>this._loadSvgIconSetFromConfig(t).pipe(Object(d.a)(e=>{const n=`Loading icon set URL: ${this._sanitizer.sanitize(r.J.RESOURCE_URL,t.url)} failed: ${e.message}`;return this._errorHandler?this._errorHandler.handleError(new Error(n)):console.error(n),Object(a.a)(null)})));return Object(c.a)(i).pipe(Object(u.a)(()=>{const n=this._extractIconWithNameFromAnySet(t,e);if(!n)throw v(t);return n}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){const i=e[n];if(i.svgElement){const e=this._extractSvgIconFromSet(i.svgElement,t,i.options);if(e)return e}}return null}_loadSvgIconFromConfig(t){return this._fetchUrl(t.url).pipe(Object(u.a)(e=>this._createSvgElementForSingleIcon(e,t.options)))}_loadSvgIconSetFromConfig(t){return t.svgElement?Object(a.a)(t.svgElement):this._fetchUrl(t.url).pipe(Object(u.a)(e=>(t.svgElement||(t.svgElement=this._svgElementFromString(e)),t.svgElement)))}_createSvgElementForSingleIcon(t,e){const n=this._svgElementFromString(t);return this._setSvgAttributes(n,e),n}_extractSvgIconFromSet(t,e,n){const i=t.querySelector(`[id="${e}"]`);if(!i)return null;const s=i.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,n);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),n);const r=this._svgElementFromString("<svg></svg>");return r.appendChild(s),this._setSvgAttributes(r,n)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const n=e.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}_toSvgElement(t){const e=this._svgElementFromString("<svg></svg>"),n=t.attributes;for(let i=0;i<n.length;i++){const{name:t,value:s}=n[i];"id"!==t&&e.setAttribute(t,s)}for(let i=0;i<t.childNodes.length;i++)t.childNodes[i].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[i].cloneNode(!0));return e}_setSvgAttributes(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}_fetchUrl(t){if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==t)throw Error(`Cannot fetch icon from URL "${t}".`);const e=this._sanitizer.sanitize(r.J.RESOURCE_URL,t);if(!e)throw y(t);const n=this._inProgressUrlFetches.get(e);if(n)return n;const i=this._httpClient.get(e,{responseType:"text"}).pipe(Object(p.a)(()=>this._inProgressUrlFetches.delete(e)),Object(g.a)());return this._inProgressUrlFetches.set(e,i),i}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(T(t,e),n),this}_addSvgIconSetConfig(t,e){const n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}}return t.\u0275fac=function(e){return new(e||t)(r.Vb(s.a,8),r.Vb(o.b),r.Vb(i.d,8),r.Vb(r.m,8))},t.\u0275prov=r.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(r.Ib)({factory:function(){return new t(Object(r.Vb)(s.a,8),Object(r.Vb)(o.b),Object(r.Vb)(i.d,8),Object(r.Vb)(r.m,8))},token:t,providedIn:"root"}),t})();function O(t){return t.cloneNode(!0)}function T(t,e){return t+":"+e}class x{constructor(t){this._elementRef=t}}const E=Object(b.h)(x),M=new r.r("mat-icon-location",{providedIn:"root",factory:function(){const t=Object(r.W)(i.d),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}}),P=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],A=P.map(t=>`[${t}]`).join(", "),k=/^url\(['"]?#(.*?)['"]?\)$/;let I=(()=>{class t extends E{constructor(t,e,n,i,s){super(t),this._iconRegistry=e,this._location=i,this._errorHandler=s,this._inline=!1,n||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=Object(m.b)(t)}get fontSet(){return this._fontSet}set fontSet(t){this._fontSet=this._cleanupFontValue(t)}get fontIcon(){return this._fontIcon}set fontIcon(t){this._fontIcon=this._cleanupFontValue(t)}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnChanges(t){const e=t.svgIcon;
1if(e)if(this.svgIcon){const[t,e]=this._splitIconName(this.svgIcon);this._iconRegistry.getNamedSvgIcon(e,t).pipe(Object(f.a)(1)).subscribe(t=>this._setSvgElement(t),n=>{const i=`Error retrieving icon ${t}:${e}! ${n.message}`;this._errorHandler?this._errorHandler.handleError(new Error(i)):console.error(i)})}else e.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()}ngOnInit(){this._usingFontIcon()&&this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&this._location&&t.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let n=0;n<e.length;n++)e[n].textContent+=" ";if(this._location){const e=this._location.getPathname();this._previousPath=e,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(e)}this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){const n=t.childNodes[e];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||t.removeChild(n)}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,e=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),e&&t.classList.add(e),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}
1_prependPathToReferences(t){const e=this._elementsWithExternalReferences;e&&e.forEach((e,n)=>{e.forEach(e=>{n.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(A),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<e.length;i++)P.forEach(t=>{const s=e[i],r=s.getAttribute(t),o=r?r.match(k):null;if(o){let e=n.get(s);e||(e=[],n.set(s,e)),e.push({name:t,value:o[1]})}})}}return t.\u0275fac=function(e){return new(e||t)(r.Mb(r.l),r.Mb(C),r.Wb("aria-hidden"),r.Mb(M,8),r.Mb(r.m,8))},t.\u0275cmp=r.Gb({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:4,hostBindings:function(t,e){2&t&&r.Eb("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color)},inputs:{color:"color",inline:"inline",fontSet:"fontSet",fontIcon:"fontIcon",svgIcon:"svgIcon"},exportAs:["matIcon"],features:[r.yb,r.zb],ngContentSelectors:_,decls:1,vars:0,template:function(t,e){1&t&&(r.hc(),r.gc(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1,1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0}),t})(),D=(()=>{class t{}return t.\u0275mod=r.Kb({type:t}),t.\u0275inj=r.Jb({factory:function(e){return new(e||t)},imports:[[b.d],b.d]}),t})()},VRyK:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("HDdC"),s=n("z+Ro"),r=n("bHdf"),o=n("yCtX");function a(...t){let e=Number.POSITIVE_INFINITY,n=null,a=t[t.length-1];return Object(s.a)(a)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof i.a?t[0]:Object(r.a)(e)(Object(o.a)(t,n))}},WMd4:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("EY2u"),s=n("LRne"),r=n("z6cu");let o=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Object(s.a)(this.value);case"E":return Object(r.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})()},XDbj:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("sVev"),s=n("7o/Q");function r(t=l){return e=>e.lift(new o(t))}class o{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new a(t,this.errorFactory))}}class a extends s.a{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function l(){return new i.a}},XNiG:function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return h}));var i=n("HDdC"),s=n("7o/Q"),r=n("quSY"),o=n("9ppp"),a=n("Ylt2"),l=n("2QA8");class c extends s.a{constructor(t){super(t),this.destination=t}}let h=(()=>{class t extends i.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.a](){return new c(this)}lift(t){const e=new u(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.a;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let s=0;s<n;s++)i[s].next(t)}}error(t){if(this.closed)throw new o.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,i=e.slice();for(let s=0;s<n;s++)i[s].error(t);this.observers.length=0}complete(){if(this.closed)throw new o.a;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let i=0;i<e;i++)n[i].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new o.a;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new o.a;return this.hasError?(t.error(this.thrownError),r.a.EMPTY):this.isStopped?(t.complete(),r.a.EMPTY):(this.observers.push(t),new a.a(this,t))}asObservable(){const t=new i.a;return t.source=this,t}}return t.create=(t,e)=>new u(t,e),t})();class u extends h{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):r.a.EMPTY}}},XoHu:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,"a",(function(){return i}))},Ylt2:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("quSY");class s extends i.a{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}
1unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},bHdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("5+tZ"),s=n("SpAZ");function r(t=Number.POSITIVE_INFINITY){return Object(i.a)(s.a,t)}},bOdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("5+tZ");function s(t,e){return Object(i.a)(t,e,1)}},bhfF:function(t,e,n){"use strict";n.d(e,"a",(function(){return ct})),n.d(e,"b",(function(){return ut})),n.d(e,"c",(function(){return lt}));var i=n("fXoL"),s=n("ofXK"),r=n("XNiG"),o=n("VRyK"),a=n("LRne"),l=n("Cfvw"),c=n("vkgz"),h=n("pLZG"),u=n("eIep"),d=n("SxV6"),p=n("IzEk"),g=n("zP0r"),f=n("lJxs"),m=n("Kqap"),b=n("BFxc"),_=n("xbPD"),v=n("mCNh");function y(t,e,n){return 0===n?[e]:(t.push(e),t)}var w=n("D0XW"),S=n("7o/Q"),C=n("WMd4");class O{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new T(t,this.delay,this.scheduler))}}class T extends S.a{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,s=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(s);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(T.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new x(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(C.a.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(C.a.createComplete()),this.unsubscribe()}}class x{constructor(t,e){this.time=t,this.notification=e}}var E=n("tyNb"),M=n("R0Ic"),P=n("jhN1");const A=function(t,e){return{isMouseDragable:t,isTouchDragable:e}};function k(t,e){if(1&t&&(i.Rb(0,"div",4),i.Nb(1,"owl-stage",5),i.Qb()),2&t){const t=i.cc();i.Bb(1),i.ic("owlDraggable",i.nc(3,A,null==t.owlDOMData?null:t.owlDOMData.isMouseDragable,null==t.owlDOMData?null:t.owlDOMData.isTouchDragable))("stageData",t.stageData)("slidesData",t.slidesData)}}const I=function(t,e){return{active:t,"owl-dot-text":e}};function D(t,e){if(1&t){const t=i.Sb();i.Rb(0,"div",11),i.Yb("click",(function(){i.vc(t);const n=e.$implicit;return i.cc(2).moveByDot(n.id)})),i.Nb(1,"span",12),i.Qb()}if(2&t){const t=e.$implicit;i.ic("ngClass",i.nc(2,I,t.active,t.showInnerContent)),i.Bb(1),i.ic("innerHTML",t.innerContent,i.wc)}}const R=function(t){return{disabled:t}};function N(t,e){if(1&t){const t=i.Sb();i.Pb(0),i.Rb(1,"div",6),i.Rb(2,"div",7),i.Yb("click",(function(){return i.vc(t),i.cc().prev()})),i.Qb(),i.Rb(3,"div",8),i.Yb("click",(function(){return i.vc(t),i.cc().next()})),i.Qb(),i.Qb(),i.Rb(4,"div",9),i.Fc(5,D,2,5,"div",10),i.Qb(),i.Ob()}if(2&t){const t=i.cc();i.Bb(1),i.ic("ngClass",i.mc(7,R,null==t.navData?null:t.navData.disabled)),i.Bb(1),i.ic("ngClass",i.mc(9,R,null==t.navData||null==t.navData.prev?null:t.navData.prev.disabled))("innerHTML",null==t.navData||null==t.navData.prev?null:t.navData.prev.htmlText,i.wc),i.Bb(1),i.ic("ngClass",i.mc(11,R,null==t.navData||null==t.navData.next?null:t.navData.next.disabled))("innerHTML",null==t.navData||null==t.navData.next?null:t.navData.next.htmlText,i.wc),i.Bb(1),i.ic("ngClass",i.mc(13,R,null==t.dotsData?null:t.dotsData.disabled)),i.Bb(1),i.ic("ngForOf",null==t.dotsData?null:t.dotsData.dots)}}const V=function(t,e,n,i,s){return{"owl-rtl":t,"owl-loaded":e,"owl-responsive":n,"owl-drag":i,"owl-grab":s}};function L(t,e){}function H(t,e){if(1&t&&i.Fc(0,L,0,0,"ng-template",4),2&t){const t=i.cc().$implicit;i.ic("ngTemplateOutlet",t.tplRef)}}const j=function(t,e,n,i){return{width:t,"margin-left":e,"margin-right":n,left:i}};function B(t,e){if(1&t){const t=i.Sb();i.Pb(0),i.Rb(1,"div",2),i.Yb("animationend",(function(){i.vc(t);const n=e.$implicit;return i.cc().clear(n.id)})),i.Fc(2,H,1,1,void 0,3),i.Qb(),i.Ob()}if(2&t){const t=e.$implicit;i.Bb(1),i.ic("ngClass",t.classes)("ngStyle",i.pc(4,j,t.width+"px",t.marginL?t.marginL+"px":"",t.marginR?t.marginR+"px":"",t.left))("@autoHeight",t.heightState),i.Bb(1),i.ic("ngIf",t.load)}}const F=function(t,e,n,i,s){return{width:t,transform:e,transition:n,"padding-left":i,"padding-right":s}};let G=(()=>{class t{constructor(t){this.eventManager=t,this.resizeSubject=ne
1w r.a,this.eventManager.addGlobalEventListener("window","resize",this.onResize.bind(this)),this.eventManager.addGlobalEventListener("window","onload",this.onLoaded.bind(this))}get onResize$(){return this.resizeSubject.asObservable()}onResize(t){this.resizeSubject.next(t.target)}onLoaded(t){this.windowWidth=t.target}}return t.\u0275fac=function(e){return new(e||t)(i.Vb(P.c))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})();class U{constructor(){this.items=3,this.skip_validateItems=!1,this.loop=!1,this.center=!1,this.rewind=!1,this.mouseDrag=!0,this.touchDrag=!0,this.pullDrag=!0,this.freeDrag=!1,this.margin=0,this.stagePadding=0,this.merge=!1,this.mergeFit=!0,this.autoWidth=!1,this.startPosition=0,this.rtl=!1,this.smartSpeed=250,this.fluidSpeed=!1,this.dragEndSpeed=!1,this.responsive={},this.responsiveRefreshRate=200,this.nav=!1,this.navText=["prev","next"],this.navSpeed=!1,this.slideBy=1,this.dots=!0,this.dotsEach=!1,this.dotsData=!1,this.dotsSpeed=!1,this.autoplay=!1,this.autoplayTimeout=5e3,this.autoplayHoverPause=!1,this.autoplaySpeed=!1,this.autoplayMouseleaveTimeout=1,this.lazyLoad=!1,this.lazyLoadEager=0,this.slideTransition="",this.animateOut=!1,this.animateIn=!1,this.autoHeight=!1,this.URLhashListener=!1}}class z{constructor(){this.items="number",this.skip_validateItems="boolean",this.loop="boolean",this.center="boolean",this.rewind="boolean",this.mouseDrag="boolean",this.touchDrag="boolean",this.pullDrag="boolean",this.freeDrag="boolean",this.margin="number",this.stagePadding="number",this.merge="boolean",this.mergeFit="boolean",this.autoWidth="boolean",this.startPosition="number|string",this.rtl="boolean",this.smartSpeed="number",this.fluidSpeed="boolean",this.dragEndSpeed="number|boolean",this.responsive={},this.responsiveRefreshRate="number",this.nav="boolean",this.navText="string[]",this.navSpeed="number|boolean",this.slideBy="number|string",this.dots="boolean",this.dotsEach="number|boolean",this.dotsData="boolean",this.dotsSpeed="number|boolean",this.autoplay="boolean",this.autoplayTimeout="number",this.autoplayHoverPause="boolean",this.autoplaySpeed="number|boolean",this.autoplayMouseleaveTimeout="number",this.lazyLoad="boolean",this.lazyLoadEager="number",this.slideTransition="string",this.animateOut="string|boolean",this.animateIn="string|boolean",this.autoHeight="boolean",this.URLhashListener="boolean"}}let W=(()=>{class t{constructor(t){this.errorHandler=t}log(t,...e){Object(i.X)()&&console.log(t,...e)}error(t){this.errorHandler.handleError(t)}warn(t,...e){console.warn(t,...e)}}return t.\u0275fac=function(e){return new(e||t)(i.Vb(i.m))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})();var $=function(t){return t.Event="event",t.State="state",t}({}),X=function(t){return t.Default="default",t.Inner="inner",t.Outer="outer",t}({});let K=(()=>{class t{constructor(t){this.logger=t,this._viewSettingsShipper$=new r.a,this._initializedCarousel$=new r.a,this._changeSettingsCarousel$=new r.a,this._changedSettingsCarousel$=new r.a,this._translateCarousel$=new r.a,this._translatedCarousel$=new r.a,this._resizeCarousel$=new r.a,this._resizedCarousel$=new r.a,this._refreshCarousel$=new r.a,this._refreshedCarousel$=new r.a,this._dragCarousel$=new r.a,this._draggedCarousel$=new r.a,this.settings={items:0},this.owlDOMData={rtl:!1,isResponsive:!1,isRefreshed:!1,isLoaded:!1,isLoading:!1,isMouseDragable:!1,isGrab:!1,isTouchDragable:!1},this.stageData={transform:"translate3d(0px,0px,0px)",transition:"0s",width:0,paddingL:0,paddingR:0},this._items=[],this._widths=[],this._supress={},this._plugins={},this._current=null,this._clones=[],this._mergers=[],this._speed=null,this._coordinates=[],this._breakpoint=null,this.clonedIdPrefix="cloned-",this._options={},this._invalidated={},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},this._pipe=[{filter:["width","items","settings"],run:t=>{t.current=this._items&&this._items[this.relative(this._current)].id}},{filter:["width","items","settings"],run:t=>{const e=this.settings.margin||"",n=this.settings.rtl,i={"margin-left":n?e:"","margin-right":n?"":e};!this.settings.autoWidth||this.slidesData.forEach(t=>{t.marginL=i["margin-left"],t.marginR=i["margin-right"]}),t.css=i}},{filter:["width","items","settings"],run:t=>{const e=+(this.width()/this.settings.items).toFixed(3)-this.settings.margin,n=!this.settings.autoWidth,i=[];let s=null,r=this._items.length;for(t.items={merge:!1,width:e};r--;)s=this._mergers[r],s=this.settings.mergeFit&&Math.min(s,this.settings.items)||s,t.items.merge=s>1||t.items.merge,i[r]=n?e*s:this._items[r].width?this._items[r].width:e;this._widths=i,this.slidesData.forEach((e,n)=>{e.width=this._widths[n],e.marginR=t.css["margin-right"],e.marginL=t.css["margin-left"]})}},{filter:["items","settings"],run:()=>{const t=[],e=this._items,n=this.settings,i=Math.max(2*n.items,4),s=2*Math.ceil(e.length/2);let r=[],o=[],a=n.loop&&e.length?n.rewind?i:Math.max(i,s):0;for(a/=2;a--;)t.push(this.normalize(t.length/2,!0)),r.push(Object.assign({},this.slidesData[t[t.length-1]])),t.push(this.normalize(e.length-1-(t.length-1)/2,!0)),o.unshift(Object.assign({},this.slidesData[t[t.length-1]]));this._clones=t,r=r.map(t=>(t.id=`${this.clonedIdPrefix}${t.id}`,t.isActive=!1,t.isCloned=!0,t)),o=o.map(t=>(t.id=`${this.clonedIdPrefix}${t.id}`,t.isActive=!1,t.isCloned=!0,t)),this.slidesData=o.concat(this.slidesData).concat(r)}},{filter:["width","items","settings"],run:()=>{const t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,n=[];let i=-1,s=0,r=0;for(;++i<e;)s=n[i-1]||0,r=this._widths[this.relative(i)]+this.settings.margin,n.push(s+r*t);this._coordinates=n}},{filter:["width","items","settings"],run:()=>{const t=this.settings.stagePadding,e=this._coordinates,n={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.stageData.width=n.width,this.stageData.paddingL=n["padding-left"],this.stageData.paddingR=n["padding-right"]}},{filter:["width","items","settings"],run:t=>{let e=t.current?this.slidesData.findIndex(e=>e.id===t.current):0;e=Math.max(this.minimum(),Math.min(this.maximum(),e)),this.reset(e)}},{filter:["position"],run:()=>{this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:()=>{const t=this.settings.rtl?1:-1,e=2*this.settings.stagePadding,n=[];let i,s,r,o,a,l;if(i=this.coordinates(this.current()),"number"==typeof i?i+=e:i=0,s=i+this.width()*t,-1===t&&this.settings.center){const t=this._coordinates.filter(t=>this.settings.items%2==1?t>=i:t>i);i=t.length?t[t.length-1]:i}for(a=0,l=this._coordinates.length;a<l;a++)r=Math.ceil(this._coordinates[a-1]||0),o=Math.ceil(Math.abs(this._coordinates[a])+e*t),(this._op(r,"<=",i)&&this._op(r,">
1",s)||this._op(o,"<",i)&&this._op(o,">",s))&&n.push(a);this.slidesData.forEach(t=>(t.isActive=!1,t)),n.forEach(t=>{this.slidesData[t].isActive=!0}),this.settings.center&&(this.slidesData.forEach(t=>(t.isCentered=!1,t)),this.slidesData[this.current()].isCentered=!0)}}]}get invalidated(){return this._invalidated}get states(){return this._states}getViewCurSettings(){return this._viewSettingsShipper$.asObservable()}getInitializedState(){return this._initializedCarousel$.asObservable()}getChangeState(){return this._changeSettingsCarousel$.asObservable()}getChangedState(){return this._changedSettingsCarousel$.asObservable()}getTranslateState(){return this._translateCarousel$.asObservable()}getTranslatedState(){return this._translatedCarousel$.asObservable()}getResizeState(){return this._resizeCarousel$.asObservable()}getResizedState(){return this._resizedCarousel$.asObservable()}getRefreshState(){return this._refreshCarousel$.asObservable()}getRefreshedState(){return this._refreshedCarousel$.asObservable()}getDragState(){return this._dragCarousel$.asObservable()}getDraggedState(){return this._draggedCarousel$.asObservable()}setOptions(t){const e=new U,n=this._validateOptions(t,e);this._options=Object.assign(Object.assign({},e),n)}_validateOptions(t,e){const n=Object.assign({},t),i=new z,s=(n,i)=>(this.logger.log(`options.${i} must be type of ${n}; ${i}=${t[i]} skipped to defaults: ${i}=${e[i]}`),e[i]);for(const r in n)if(n.hasOwnProperty(r))if("number"===i[r])this._isNumeric(n[r])?(n[r]=+n[r],n[r]="items"===r?this._validateItems(n[r],n.skip_validateItems):n[r]):n[r]=s(i[r],r);else if("boolean"===i[r]&&"boolean"!=typeof n[r])n[r]=s(i[r],r);else if("number|boolean"!==i[r]||this._isNumberOrBoolean(n[r]))if("number|string"!==i[r]||this._isNumberOrString(n[r]))if("string|boolean"!==i[r]||this._isStringOrBoolean(n[r])){if("string[]"===i[r])if(Array.isArray(n[r])){let t=!1;n[r].forEach(e=>{t="string"==typeof e}),t||(n[r]=s(i[r],r))}else n[r]=s(i[r],r)}else n[r]=s(i[r],r);else n[r]=s(i[r],r);else n[r]=s(i[r],r);return n}_validateItems(t,e){let n=t;return t>this._items.length?e?this.logger.log("The option 'items' in your options is bigger than the number of slides. The navigation got disabled"):(n=this._items.length,this.logger.log("The option 'items' in your options is bigger than the number of slides. This option is updated to the current number of slides and the navigation got disabled")):t===this._items.length&&(this.settings.dots||this.settings.nav)&&this.logger.log("Option 'items' in your options is equal to the number of slides. So the navigation got disabled"),n}setCarouselWidth(t){this._width=t}setup(t,e,n){this.setCarouselWidth(t),this.setItems(e),this._defineSlidesData(),this.setOptions(n),this.settings=Object.assign({},this._options),this.setOptionsForViewport(),this._trigger("change",{property:{name:"settings",value:this.settings}}),this.invalidate("settings"),this._trigger("changed",{property:{name:"settings",value:this.settings}})}setOptionsForViewport(){const t=this._width,e=this._options.responsive;let n=-1;if(!Object.keys(e).length)return;if(!t)return void(this.settings.items=1);for(const s in e)e.hasOwnProperty(s)&&+s<=t&&+s>n&&(n=Number(s));this.settings=Object.assign(Object.assign(Object.assign({},this._options),e[n]),{items:e[n]&&e[n].items?this._validateItems(e[n].items,this._options.skip_validateItems):this._options.items}),delete this.settings.responsive,this.owlDOMData.isResponsive=!0,this.owlDOMData.isMouseDragable=this.settings.mouseDrag,this.owlDOMData.isTouchDragable=this.settings.touchDrag;const i=[];this._items.forEach(t=>{i.push(this.settings.merge?t.dataMerge:1)}),this._mergers=i,this._breakpoint=n,this.invalidate("settings")}initialize(t){this.enter("initializing"),this.owlDOMData.rtl=this.settings.rtl,this._mergers.length&&(this._mergers=[]),t.forEach(t=>{this._mergers.push(this.settings.merge?t.dataMerge:1)}),this._clones=[],this.reset(this._isNumeric(this.settings.startPosition)?+this.settings.startPosition:0),this.invalidate("items"),this.refresh(),this.owlDOMData.isLoaded=!0,this.owlDOMData.isMouseDragable=this.settings.mouseDrag,this.owlDOMData.isTouchDragable=this.settings.touchDrag,this.sendChanges(),this.leave("initializing"),this._trigger("initialized")}sendChanges(){this._viewSettingsShipper$.next({owlDOMData:this.owlDOMData,stageData:this.stageData,slidesData:this.slidesData,navData:this.navData,dotsData:this.dotsData})}_optionsLogic(){this.settings.autoWidth&&(this.settings.stagePadding=0,this.settings.merge=!1)}update(){let t=0;const e=this._pipe.length,n=t=>this._invalidated[t],i={};for(;t<e;){const e=this._pipe[t].filter.filter(n);(this._invalidated.all||e.length>0)&&this._pipe[t].run(i),t++}this.slidesData.forEach(t=>t.classes=this.setCurSlideClasses(t)),this.sendChanges(),this._invalidated={},this.is("valid")||this.enter("valid")}width(t){switch(t=t||X.Default){case X.Inner:case X.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}}refresh(){this.enter("refreshing"),this._trigger("refresh"),this._defineSlidesData(),this.setOptionsForViewport(),this._optionsLogic(),this.update(),this.leave("refreshing"),this._trigger("refreshed")}onResize(t){if(!this._items.length)return!1;this.setCarouselWidth(t),this.enter("resizing"),this._trigger("resize"),this.invalidate("width"),this.refresh(),this.leave("resizing"),this._trigger("resized")}prepareDragging(t){let e,n=null;return e=this.stageData.transform.replace(/.*\(|\)| |[^,-\d]\w|\)/g,"").split(","),n={x:+e[0],y:+e[1]},this.is("animating")&&this.invalidate("position"),"mousedown"===t.type&&(this.owlDOMData.isGrab=!0),this.speed(0),n}enterDragging(){this.enter("dragging"),this._trigger("drag")}
1defineNewCoordsDrag(t,e){let n=null,i=null,s=null;const r=this.difference(e.pointer,this.pointer(t)),o=this.difference(e.stage.start,r);return!!this.is("dragging")&&(this.settings.loop?(n=this.coordinates(this.minimum()),i=+this.coordinates(this.maximum()+1)-n,o.x=((o.x-n)%i+i)%i+n):(n=this.coordinates(this.settings.rtl?this.maximum():this.minimum()),i=this.coordinates(this.settings.rtl?this.minimum():this.maximum()),s=this.settings.pullDrag?-1*r.x/5:0,o.x=Math.max(Math.min(o.x,n+s),i+s)),o)}finishDragging(t,e,n){const i=this.difference(e.pointer,this.pointer(t)),s=e.stage.current,r=["right","left"][+(this.settings.rtl?i.x<+this.settings.rtl:i.x>+this.settings.rtl)];let o,a,l;(0!==i.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(+this.settings.dragEndSpeed||this.settings.smartSpeed),o=this.closest(s.x,0!==i.x?r:e.direction),a=this.current(),l=this.current(-1===o?void 0:o),a!==l&&(this.invalidate("position"),this.update()),e.direction=r,(Math.abs(i.x)>3||(new Date).getTime()-e.time>300)&&n()),this.is("dragging")&&(this.leave("dragging"),this._trigger("dragged"))}closest(t,e){const n=this.width();let i=this.coordinates(),s=-1;this.settings.center&&(i=i.map(t=>(0===t&&(t+=1e-6),t)));for(let r=0;r<i.length&&("left"===e&&t>i[r]-30&&t<i[r]+30?s=r:"right"===e&&t>i[r]-n-30&&t<i[r]-n+30?s=r+1:this._op(t,"<",i[r])&&this._op(t,">",i[r+1]||i[r]-n)?s="left"===e?r+1:r:null===e&&t>i[r]-30&&t<i[r]+30&&(s=r),-1===s);r++);return this.settings.loop||(this._op(t,">",i[this.minimum()])?s=t=this.minimum():this._op(t,"<",i[this.maximum()])&&(s=t=this.maximum())),s}animate(t){const e=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),e&&(this.enter("animating"),this._trigger("translate")),this.stageData.transform="translate3d("+t+"px,0px,0px)",this.stageData.transition=this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}is(t){return this._states.current[t]&&this._states.current[t]>0}current(t){return void 0===t?this._current:0!==this._items.length?(t=this.normalize(t),this._current!==t&&(this._trigger("change",{property:{name:"position",value:t}}),this._current=t,this.invalidate("position"),this._trigger("changed",{property:{name:"position",value:this._current}})),this._current):void 0}invalidate(t){return"string"==typeof t&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),Object.keys(this._invalidated)}reset(t){void 0!==(t=this.normalize(t))&&(this._speed=0,this._current=t,this._suppress(["translate","translated"]),this.animate(this.coordinates(t)),this._release(["translate","translated"]))}normalize(t,e){const n=this._items.length,i=e?0:this._clones.length;return!this._isNumeric(t)||n<1?t=void 0:(t<0||t>=n+i)&&(t=((t-i/2)%n+n)%n+i/2),t}relative(t){return this.normalize(t-=this._clones.length/2,!0)}maximum(t=!1){const e=this.settings;let n,i,s,r=this._coordinates.length;if(e.loop)r=this._clones.length/2+this._items.length-1;else if(e.autoWidth||e.merge){for(n=this._items.length,i=this.slidesData[--n].width,s=this._width;n--&&(i+=+this.slidesData[n].width+this.settings.margin,!(i>s)););r=n+1}else r=e.center?this._items.length-1:this._items.length-e.items;return t&&(r-=this._clones.length/2),Math.max(r,0)}minimum(t=!1){return t?0:this._clones.length/2}items(t){return void 0===t?this._items.slice():(t=this.normalize(t,!0),[this._items[t]])}mergers(t){return void 0===t?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])}clones(t){const e=this._clones.length/2,n=e+this._items.length,i=t=>t%2==0?n+t/2:e-(t+1)/2;return void 0===t?this._clones.map((t,e)=>i(e)):this._clones.map((e,n)=>e===t?i(n):null).filter(t=>t)}speed(t){return void 0!==t&&(this._speed=t),this._speed}coordinates(t){let e,n,i=1,s=t-1;return void 0===t?(n=this._coordinates.map((t,e)=>this.coordinates(e)),n):(this.settings.center?(this.settings.rtl&&(i=-1,s=t+1),e=this._coordinates[t],e+=(this.width()-e+(this._coordinates[s]||0))/2*i):e=this._coordinates[s]||0,e=Math.ceil(e),e)}_duration(t,e,n){return 0===n?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(+n||this.settings.smartSpeed)}to(t,e){let n=this.current(),i=null,s=t-this.relative(n),r=this.maximum(),o=0;const a=+(s>0)-+(s<0),l=this._items.length,c=this.minimum();this.settings.loop?(!this.settings.rewind&&Math.abs(s)>l/2&&(s+=-1*a*l),i=(((t=n+s)-c)%l+l)%l+c,i!==t&&i-s<=r&&i-s>0&&(n=i-s,t=i,o=30,this.reset(n),this.sendChanges())):this.settings.rewind?(r+=1,t=(t%r+r)%r):t=Math.max(c,Math.min(r,t)),setTimeout(()=>{this.speed(this._duration(n,t,e)),this.current(t),this.update()},o)}next(t){t=t||!1,this.to(this.relative(this.current())+1,t)}prev(t){t=t||!1,this.to(this.relative(this.current())-1,t)}onTransitionEnd(t){if(void 0!==t)return!1;this.leave("animating"),this._trigger("translated")}_viewport(){let t;return this._width?t=this._width:this.logger.log("Can not detect viewport width."),t}setItems(t){this._items=t}_defineSlidesData(){let t;this.slidesData&&this.slidesData.length&&(t=new Map,this.slidesData.forEach(e
1=>{e.load&&t.set(e.id,e.load)})),this.slidesData=this._items.map(e=>({id:""+e.id,isActive:!1,tplRef:e.tplRef,dataMerge:e.dataMerge,width:0,isCloned:!1,load:!!t&&t.get(e.id),hashFragment:e.dataHash}))}setCurSlideClasses(t){const e={active:t.isActive,center:t.isCentered,cloned:t.isCloned,animated:t.isAnimated,"owl-animated-in":t.isDefAnimatedIn,"owl-animated-out":t.isDefAnimatedOut};return this.settings.animateIn&&(e[this.settings.animateIn]=t.isCustomAnimatedIn),this.settings.animateOut&&(e[this.settings.animateOut]=t.isCustomAnimatedOut),e}_op(t,e,n){const i=this.settings.rtl;switch(e){case"<":return i?t>n:t<n;case">":return i?t<n:t>n;case">=":return i?t<=n:t>=n;case"<=":return i?t>=n:t<=n}}_trigger(t,e,n,i,s){switch(t){case"initialized":this._initializedCarousel$.next(t);break;case"change":this._changeSettingsCarousel$.next(e);break;case"changed":this._changedSettingsCarousel$.next(e);break;case"drag":this._dragCarousel$.next(t);break;case"dragged":this._draggedCarousel$.next(t);break;case"resize":this._resizeCarousel$.next(t);break;case"resized":this._resizedCarousel$.next(t);break;case"refresh":this._refreshCarousel$.next(t);break;case"refreshed":this._refreshedCarousel$.next(t);break;case"translate":this._translateCarousel$.next(t);break;case"translated":this._translatedCarousel$.next(t)}}enter(t){[t].concat(this._states.tags[t]||[]).forEach(t=>{void 0===this._states.current[t]&&(this._states.current[t]=0),this._states.current[t]++})}leave(t){[t].concat(this._states.tags[t]||[]).forEach(t=>{(0===this._states.current[t]||this._states.current[t])&&this._states.current[t]--})}register(t){t.type===$.State&&(this._states.tags[t.name]=this._states.tags[t.name]?this._states.tags[t.name].concat(t.tags):t.tags,this._states.tags[t.name]=this._states.tags[t.name].filter((e,n)=>this._states.tags[t.name].indexOf(e)===n))}_suppress(t){t.forEach(t=>{this._supress[t]=!0})}_release(t){t.forEach(t=>{delete this._supress[t]})}pointer(t){const e={x:null,y:null};return(t=(t=t.originalEvent||t||window.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(e.x=t.pageX,e.y=t.pageY):(e.x=t.clientX,e.y=t.clientY),e}_isNumeric(t){return!isNaN(parseFloat(t))}_isNumberOrBoolean(t){return this._isNumeric(t)||"boolean"==typeof t}_isNumberOrString(t){return this._isNumeric(t)||"string"==typeof t}_isStringOrBoolean(t){return"string"==typeof t||"boolean"==typeof t}difference(t,e){return{x:t.x-e.x,y:t.y-e.y}}}return t.\u0275fac=function(e){return new(e||t)(i.Vb(W))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})(),q=(()=>{class t{constructor(t){this.carouselService=t,this._initialized=!1,this._pages=[],this._navData={disabled:!1,prev:{disabled:!1,htmlText:""},next:{disabled:!1,htmlText:""}},this._dotsData={disabled:!1,dots:[]},this.spyDataStreams()}ngOnDestroy(){this.navSubscription.unsubscribe()}spyDataStreams(){const t=this.carouselService.getInitializedState().pipe(Object(c.a)(t=>{this.initialize(),this._updateNavPages(),this.draw(),this.update(),this.carouselService.sendChanges()})),e=this.carouselService.getChangedState().pipe(Object(h.a)(t=>"position"===t.property.name),Object(c.a)(t=>{this.update()})),n=this.carouselService.getRefreshedState().pipe(Object(c.a)(()=>{this._updateNavPages(),this.draw(),this.update(),this.carouselService.sendChanges()})),i=Object(o.a)(t,e,n);this.navSubscription=i.subscribe(()=>{})}initialize(){this._navData.disabled=!0,this._navData.prev.htmlText=this.carouselService.settings.navText[0],this._navData.next.htmlText=this.carouselService.settings.navText[1],this._dotsData.disabled=!0,this.carouselService.navData=this._navData,this.carouselService.dotsData=this._dotsData}_updateNavPages(){let t,e,n;const i=this.carouselService.clones().length/2,s=i+this.carouselService.items().length,r=this.carouselService.maximum(!0),o=[],a=this.carouselService.settings;let l=a.center||a.autoWidth||a.dotsData?1:a.dotsEach||a.items;if(l=+l,"page"!==a.slideBy&&(a.slideBy=Math.min(+a.slideBy,a.items)),a.dots||"page"===a.slideBy)for(t=i,e=0,n=0;t<s;t++){if(e>=l||0===e){if(o.push({start:Math.min(r,t-i),end:t-i+l-1}),Math.min(r,t-i)===r)break;e=0,++n}e+=this.carouselService.mergers(this.carouselService.relative(t))}this._pages=o}draw(){let t;const e=this.carouselService.settings,n=this.carouselService.items(),i=n.length<=e.items;if(this._navData.disabled=!e.nav||i,this._dotsData.disabled=!e.dots||i,e.dots)if(t=this._pages.length-this._dotsData.dots.length,e.dotsData&&0!==t)this._dotsData.dots=[],n.forEac
1h(t=>{this._dotsData.dots.push({active:!1,id:"dot-"+t.id,innerContent:t.dotContent,showInnerContent:!0})});else if(t>0){const e=this._dotsData.dots.length>0?this._dotsData.dots.length:0;for(let n=0;n<t;n++)this._dotsData.dots.push({active:!1,id:"dot-"+(n+e),innerContent:"",showInnerContent:!1})}else t<0&&this._dotsData.dots.splice(t,Math.abs(t));this.carouselService.navData=this._navData,this.carouselService.dotsData=this._dotsData}update(){this._updateNavButtons(),this._updateDots()}_updateNavButtons(){const t=this.carouselService.settings,e=t.loop||t.rewind,n=this.carouselService.relative(this.carouselService.current());t.nav&&(this._navData.prev.disabled=!e&&n<=this.carouselService.minimum(!0),this._navData.next.disabled=!e&&n>=this.carouselService.maximum(!0)),this.carouselService.navData=this._navData}_updateDots(){let t;this.carouselService.settings.dots&&(this._dotsData.dots.forEach(t=>{!0===t.active&&(t.active=!1)}),t=this._current(),this._dotsData.dots.length&&(this._dotsData.dots[t].active=!0),this.carouselService.dotsData=this._dotsData)}_current(){const t=this.carouselService.relative(this.carouselService.current());let e;const n=this._pages.filter((e,n)=>e.start<=t&&e.end>=t).pop();return e=this._pages.findIndex(t=>t.start===n.start&&t.end===n.end),e}_getPosition(t){let e,n;const i=this.carouselService.settings;return"page"===i.slideBy?(e=this._current(),n=this._pages.length,t?++e:--e,e=this._pages[(e%n+n)%n].start):(e=this.carouselService.relative(this.carouselService.current()),n=this.carouselService.items().length,t?e+=+i.slideBy:e-=+i.slideBy),e}next(t){this.carouselService.to(this._getPosition(!0),t)}prev(t){this.carouselService.to(this._getPosition(!1),t)}to(t,e,n){let i;!n&&this._pages.length?(i=this._pages.length,this.carouselService.to(this._pages[(t%i+i)%i].start,e)):this.carouselService.to(t,e)}moveByDot(t){const e=this._dotsData.dots.findIndex(e=>t===e.id);this.to(e,this.carouselService.settings.dotsSpeed)}toSlideById(t){const e=this.carouselService.slidesData.findIndex(e=>e.id===t&&!1===e.isCloned);-1!==e&&e!==this.carouselService.current()&&this.carouselService.to(this.carouselService.relative(e),!1)}}return t.\u0275fac=function(e){return new(e||t)(i.Vb(K))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})();const Q=new i.r("WindowToken");class Z{get nativeWindow(){throw new Error("Not implemented.")}}const Y=[{provide:Z,useClass:(()=>{class t extends Z{constructor(){super()}get nativeWindow(){return window}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})()},{provide:Q,useFactory:function(t,e){return Object(s.t)(e)?t.nativeWindow:{setTimeout:(t,e)=>{},clearTimeout:t=>{}}},deps:[Z,i.C]}],J=new i.r("DocumentToken");class tt{get nativeDocument(){throw new Error("Not implemented.")}}const et=[{provide:tt,useClass:(()=>{class t extends tt{constructor(){super()}get nativeDocument(){return document}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})()},{provide:J,useFactory:function(t,e){return Object(s.t)(e)?t.nativeDocument:{hidden:!1,visibilityState:"visible"}},deps:[tt,i.C]}];let nt=(()=>{class t{constructor(t,e,n){this.carouselService=t,this._timeout=null,this._paused=!1,this.winRef=e,this.docRef=n,this.spyDataStreams()}ngOnDestroy(){this.autoplaySubscription.unsubscribe()}spyDataStreams(){const t=this.carouselService.getInitializedState().pipe(Object(c.a)(()=>{this.carouselService.settings.autoplay&&this.play()})),e=this.carouselService.getChangedState().pipe(Object(c.a)(t=>{this._handleChangeObservable(t)})),n=this.carouselService.getResizedState().pipe(Object(c.a)(()=>{this.carouselService.settings.autoplay?this.play():this.stop()})),i=Object(o.a)(t,e,n);this.autoplaySubscription=i.subscribe(()=>{})}play(t,e){this._paused&&(this._paused=!1,this._setAutoPlayInterval(this.carouselService.settings.autoplayMouseleaveTimeout)),this.carouselService.is("rotating")||(this.carouselService.enter("rotating"),this._setAutoPlayInterval())}_getNextTimeout(t,e){return this._timeout&&this.winRef.clearTimeout(this._timeout),this._isArtificialAutoplayTimeout=!!t,this.winRef.setTimeout(()=>{this._paused||this.carouselService.is("busy")||this.carouselService.is("interacting")||this.docRef.hidden||this.carouselService.next(e||this.carouselService.settings.autoplaySpeed)},t||this.carouselService.settings.autoplayTimeout)}_setAutoPlayInterval(t){this._timeout=this._getNextTimeout(t)}stop(){this.carouselService.is("rotating")&&(this._paused=!0,this.winRef.clearTimeout(this._timeout),this.carouselService.leave("rotating"))}pause(){this.carouselService.is("rotating")&&(this._paused=!0)}_handleChangeObservable(t){"settings"===t.property.name?this.carouselService.settings.autoplay?this.play():this.stop():"position"===t.property.name&&this.carouselService.settings.autoplay&&this._setAutoPlayInterval()}_playAfterTranslated(){Object(a.a)("translated").pipe(Object(u.a)(t=>this.carouselService.getTranslatedState()),Object(d.a)(),Object(h.a)(()=>this._isArtificialAutoplayTimeout),Object(c.a)(()=>this._setAutoPlayInterval())).subscribe(()=>{})}startPausing(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&this.pause()}startPlayingMouseLeave(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&(this.play(),this._playAfterTranslated())}startPlayingTouchEnd(){this.carouselService.settings.autoplayHoverPause&&this.carouselService.is("rotating")&&(this.play(),this._playAfterTranslated())}}
1return t.\u0275fac=function(e){return new(e||t)(i.Vb(K),i.Vb(Q),i.Vb(J))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})(),it=(()=>{class t{constructor(t){this.carouselService=t,this.spyDataStreams()}ngOnDestroy(){this.lazyLoadSubscription.unsubscribe()}spyDataStreams(){const t=this.carouselService.getInitializedState().pipe(Object(c.a)(()=>{const t=this.carouselService.settings&&!this.carouselService.settings.lazyLoad;this.carouselService.slidesData.forEach(e=>e.load=!!t)})),e=this.carouselService.getChangeState(),n=this.carouselService.getResizedState(),i=Object(o.a)(t,e,n).pipe(Object(c.a)(t=>this._defineLazyLoadSlides(t)));this.lazyLoadSubscription=i.subscribe(()=>{})}_defineLazyLoadSlides(t){if(this.carouselService.settings&&this.carouselService.settings.lazyLoad&&(t.property&&"position"===t.property.name||"initialized"===t||"resized"===t)){const e=this.carouselService.settings,n=this.carouselService.clones().length;let i=e.center&&Math.ceil(e.items/2)||e.items,s=e.center&&-1*i||0,r=(t.property&&void 0!==t.property.value?t.property.value:this.carouselService.current())+s;for(e.lazyLoadEager>0&&(i+=e.lazyLoadEager,e.loop&&(r-=e.lazyLoadEager,i++));s++<i;)this._load(n/2+this.carouselService.relative(r)),n&&this.carouselService.clones(this.carouselService.relative(r)).forEach(t=>this._load(t)),r++}}_load(t){this.carouselService.slidesData[t].load||(this.carouselService.slidesData[t].load=!0)}}return t.\u0275fac=function(e){return new(e||t)(i.Vb(K))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})(),st=(()=>{class t{constructor(t){this.carouselService=t,this.swapping=!0,this.previous=void 0,this.next=void 0,this.spyDataStreams()}ngOnDestroy(){this.animateSubscription.unsubscribe()}spyDataStreams(){const t=this.carouselService.getChangeState().pipe(Object(c.a)(t=>{"position"===t.property.name&&(this.previous=this.carouselService.current(),this.next=t.property.value)})),e=this.carouselService.getDragState(),n=this.carouselService.getDraggedState(),i=this.carouselService.getTranslatedState(),s=Object(o.a)(e,n,i).pipe(Object(c.a)(t=>this.swapping="translated"===t)),r=this.carouselService.getTranslateState().pipe(Object(c.a)(t=>{this.swapping&&(this.carouselService._options.animateOut||this.carouselService._options.animateIn)&&this._swap()})),a=Object(o.a)(t,r,s).pipe();this.animateSubscription=a.subscribe(()=>{})}_swap(){if(1!==this.carouselService.settings.items)return;let t;this.carouselService.speed(0);const e=this.carouselService.slidesData[this.previous],n=this.carouselService.slidesData[this.next],i=this.carouselService.settings.animateIn,s=this.carouselService.settings.animateOut;this.carouselService.current()!==this.previous&&(s&&(t=+this.carouselService.coordinates(this.previous)-+this.carouselService.coordinates(this.next),this.carouselService.slidesData.forEach(n=>{n.id===e.id&&(n.left=t+"px",n.isAnimated=!0,n.isDefAnimatedOut=!0,n.isCustomAnimatedOut=!0)})),i&&this.carouselService.slidesData.forEach(t=>{t.id===n.id&&(t.isAnimated=!0,t.isDefAnimatedIn=!0,t.isCustomAnimatedIn=!0)}))}clear(t){this.carouselService.slidesData.forEach(e=>{e.id===t&&(e.left="",e.isAnimated=!1,e.isDefAnimatedOut=!1,e.isCustomAnimatedOut=!1,e.isDefAnimatedIn=!1,e.isCustomAnimatedIn=!1,e.classes=this.carouselService.setCurSlideClasses(e))}),this.carouselService.onTransitionEnd()}}return t.\u0275fac=function(e){return new(e||t)(i.Vb(K))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})(),rt=(()=>{class t{constructor(t){this.carouselService=t,this.spyDataStreams()}ngOnDestroy(){this.autoHeightSubscription.unsubscribe()}spyDataStreams(){const t=this.carouselService.getInitializedState().pipe(Object(c.a)(t=>{this.carouselService.settings.autoHeight?this.update():this.carouselService.slidesData.forEach(t=>t.heightState="full")})),e=this.carouselService.getChangedState().pipe(Object(c.a)(t=>{this.carouselService.settings.autoHeight&&"position"===t.property.name&&this.update()})),n=this.carouselService.getRefreshedState().pipe(Object(c.a)(t=>{this.carouselService.settings.autoHeight&&this.update()})),i=Object(o.a)(t,e,n);this.autoHeightSubscription=i.subscribe(()=>{})}update(){const t=this.carouselService.settings.items;let e=this.carouselService.current(),n=e+t;this.carouselService.settings.center&&(e=t%2==1?e-(t-1)/2:e-t/2,n=t%2==1?e+t:e+t+1),this.carouselService.slidesData.forEach((t,i)=>{t.heightState=i>=e&&i<n?"full":"nulled"})}}
1return t.\u0275fac=function(e){return new(e||t)(i.Vb(K))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})(),ot=(()=>{class t{constructor(t,e,n){this.carouselService=t,this.route=e,this.router=n,this.spyDataStreams(),this.route||(this.route={fragment:Object(a.a)("no route").pipe(Object(p.a)(1))}),this.router||(this.router={navigate:(t,e)=>{}})}ngOnDestroy(){this.hashSubscription.unsubscribe()}spyDataStreams(){const t=this.carouselService.getInitializedState().pipe(Object(c.a)(()=>this.listenToRoute())),e=this.carouselService.getChangedState().pipe(Object(c.a)(t=>{if(this.carouselService.settings.URLhashListener&&"position"===t.property.name){const t=this.carouselService.current(),e=this.carouselService.slidesData[t].hashFragment;if(!e||e===this.currentHashFragment)return;this.router.navigate(["./"],{fragment:e,relativeTo:this.route})}})),n=Object(o.a)(t,e);this.hashSubscription=n.subscribe(()=>{})}rewind(t){const e=this.carouselService.slidesData.findIndex(e=>e.hashFragment===t&&!1===e.isCloned);-1!==e&&e!==this.carouselService.current()&&this.carouselService.to(this.carouselService.relative(e),!1)}listenToRoute(){const t="URLHash"===this.carouselService.settings.startPosition?0:2;this.route.fragment.pipe(Object(g.a)(t)).subscribe(t=>{this.currentHashFragment=t,this.rewind(t)})}}return t.\u0275fac=function(e){return new(e||t)(i.Vb(K),i.Vb(E.a,8),i.Vb(E.c,8))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})(),at=0,lt=(()=>{class t{constructor(t){this.tplRef=t,this.id="owl-slide-"+at++,this._dataMerge=1,this.width=0,this.dotContent="",this.dataHash=""}set dataMerge(t){this._dataMerge=this.isNumeric(t)?t:1}get dataMerge(){return this._dataMerge}isNumeric(t){return!isNaN(parseFloat(t))}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.M))},t.\u0275dir=i.Hb({type:t,selectors:[["ng-template","carouselSlide",""]],inputs:{id:"id",width:"width",dotContent:"dotContent",dataHash:"dataHash",dataMerge:"dataMerge"}}),t})(),ct=(()=>{class t{constructor(t,e,n,s,r,o,a,l,c,h,u,d){this.el=t,this.resizeService=e,this.carouselService=n,this.navigationService=s,this.autoplayService=r,this.lazyLoadService=o,this.animateService=a,this.autoHeightService=l,this.hashService=c,this.logger=h,this.changeDetectorRef=u,this.translated=new i.n,this.dragging=new i.n,this.change=new i.n,this.changed=new i.n,this.initialized=new i.n,this.slidesData=[],this.carouselLoaded=!1,this.docRef=d}onVisibilityChange(t){if(this.carouselService.settings.autoplay)switch(this.docRef.visibilityState){case"visible":this.autoplayService.play();break;case"hidden":this.autoplayService.stop()}}ngOnInit(){this.spyDataStreams(),this.carouselWindowWidth=this.el.nativeElement.querySelector(".owl-carousel").clientWidth}ngAfterContentChecked(){}ngAfterContentInit(){this.slides.toArray().length?(this.carouselService.setup(this.carouselWindowWidth,this.slides.toArray(),this.options),this.carouselService.initialize(this.slides.toArray()),this._winResizeWatcher()):this.logger.log("There are no slides to show. So the carousel won't be rendered"),this._slidesChangesSubscription=this.slides.changes.pipe(Object(c.a)(t=>{t.toArray().length?(this.carouselService.setup(this.carouselWindowWidth,t.toArray(),this.options),this.carouselService.initialize(t.toArray())):(this.carouselLoaded=!1,this.logger.log("There are no slides to show. So the carousel won't be re-rendered"))})).subscribe(()=>{})}ngOnDestroy(){this.resizeSubscription&&this.resizeSubscription.unsubscribe(),this._slidesChangesSubscription&&this._slidesChangesSubscription.unsubscribe(),this._allObservSubscription&&this._allObservSubscription.unsubscribe()}spyDataStreams(){this._viewCurSettings$=this.carouselService.getViewCurSettings().pipe(Object(c.a)(t=>{this.owlDOMData=t.owlDOMData,this.stageData=t.stageData,this.slidesData=t.slidesData,this.carouselLoaded||(this.carouselLoaded=!0),this.navData=t.navData,this.dotsData=t.dotsData,this.changeDetectorRef.markForCheck()})),this._initializedCarousel$=this.carouselService.getInitializedState().pipe(Object(c.a)(()=>{this.gatherTranslatedData(),this.initialized.emit(this.slidesOutputData)})),this._translatedCarousel$=this.carouselService.getTranslatedState().pipe(Object(c.a)(()=>{this.gatherTranslatedData(),this.translated.emit(this.slidesOutputData)})),this._changeCarousel$=this.carouselService.getChangeState().pipe(Object(c.a)(()=>{this.gatherTranslatedData(),this.change.emit(this.slidesOutputData)})),this._changedCarousel$=this.carouselService.getChangeState().pipe(Object(u.a)(t=>{const e=Object(a.a)(t).pipe(Object(h.a)(()=>"position"===t.property.name),Object(u.a)(()=>Object(l.a)(this.slidesData)),Object(g.a)(t.property.value),Object(p.a)(this.carouselService.settings.items),Object(f.a)(t=>{const e=this.carouselService.clonedIdPrefix,n=t.id.indexOf(e)>=0?t.id.slice(e.length):t.id;return Object.assign(Object.assign({},t),{id:n,isActive:!0})}),function(t,e){return arguments.length>=2?function(n){return Object(v.a)(Object(m.a)(t,e),Object(b.a)(1),Object(_.a)(e))(n)}:function(e){return Object(v.a)(Object(m.a)((e,n,i)=>t(e,n,i+1)),Object(b.a)(1))(e)}}(y,[]),Object(f.a)(e=>({slides:e,startPosition:this.carouselService.relative(t.property.value)})));return Object(o.a)(e)}),Object(c.a)(t=>{this.gatherTranslatedData(),this.changed.emit(t.slides.length?t:this.slidesOutputData)})),this._draggingCarousel$=this.carouselService.getDragState().pipe(Object(c.a)(()=>{this.gatherTranslatedData(),this.dragging.emit({dragging:!0,data:this.slidesOutputData})}),Object(u.a)(()=>this.carouselService.getDraggedState().pipe(Object(f.a)(()=>!!this.carouselService.is("animating")))),Object(u.a)(t=>t?this.carouselService.getTranslatedState().pipe(Object(d.a)()):Object(a.a)("not animating")),Object(c.a)(()=>{this.dragging.emit({dragging:!1,data:this.slidesOutputData})})),this._carouselMerge$=Object(o.a)(this._viewCurSettings$,this._translatedCarousel$,this._draggingCarousel$,this._changeCarousel$,this._changedCarousel$,this._initializedCarousel$),this._allObservSubscription=this._carouselMerge$.subscribe(()=>{})}_winResizeWatcher(){Object.keys(this.carouselService._options.responsive).length&&(this.resizeSubscription=this.resizeService.onResize$.pipe(Object(h.a)(()=>this.carouselWindowWidth!==this.el.nativeElement.querySelector(".owl-carousel").clientWidth),function(t,e=w.a){var n;const i=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return t=>t.lift(new O(i,e))}(this.carouselService.settings.responsiveRefreshRate)).subscribe(()=>{this.carouselService.onResize(this.el.nativeElement.querySelector(".owl-carousel").clientWidth),this.carouselWindowWidth=this.el.nativeElement.querySelector(".owl-carousel").clientWidth}
1))}onTransitionEnd(){this.carouselService.onTransitionEnd()}next(){this.carouselLoaded&&this.navigationService.next(this.carouselService.settings.navSpeed)}prev(){this.carouselLoaded&&this.navigationService.prev(this.carouselService.settings.navSpeed)}moveByDot(t){this.carouselLoaded&&this.navigationService.moveByDot(t)}to(t){this.carouselLoaded&&this.navigationService.toSlideById(t)}gatherTranslatedData(){let t;const e=this.carouselService.clonedIdPrefix,n=this.slidesData.filter(t=>!0===t.isActive).map(t=>({id:t.id.indexOf(e)>=0?t.id.slice(e.length):t.id,width:t.width,marginL:t.marginL,marginR:t.marginR,center:t.isCentered}));t=this.carouselService.relative(this.carouselService.current()),this.slidesOutputData={startPosition:t,slides:n}}startPausing(){this.autoplayService.startPausing()}startPlayML(){this.autoplayService.startPlayingMouseLeave()}startPlayTE(){this.autoplayService.startPlayingTouchEnd()}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.l),i.Mb(G),i.Mb(K),i.Mb(q),i.Mb(nt),i.Mb(it),i.Mb(st),i.Mb(rt),i.Mb(ot),i.Mb(W),i.Mb(i.h),i.Mb(J))},t.\u0275cmp=i.Gb({type:t,selectors:[["owl-carousel-o"]],contentQueries:function(t,e,n){var s;1&t&&i.Fb(n,lt,!1),2&t&&i.rc(s=i.Zb())&&(e.slides=s)},hostBindings:function(t,e){1&t&&i.Yb("visibilitychange",(function(t){return e.onVisibilityChange(t)}),!1,i.tc)},inputs:{options:"options"},outputs:{translated:"translated",dragging:"dragging",change:"change",changed:"changed",initialized:"initialized"},features:[i.Ab([q,nt,K,it,st,rt,ot])],decls:4,vars:9,consts:[[1,"owl-carousel","owl-theme",3,"ngClass","mouseover","mouseleave","touchstart","touchend"],["owlCarousel",""],["class","owl-stage-outer",4,"ngIf"],[4,"ngIf"],[1,"owl-stage-outer"],[3,"owlDraggable","stageData","slidesData"],[1,"owl-nav",3,"ngClass"],[1,"owl-prev",3,"ngClass","innerHTML","click"],[1,"owl-next",3,"ngClass","innerHTML","click"],[1,"owl-dots",3,"ngClass"],["class","owl-dot",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"owl-dot",3,"ngClass","click"],[3,"innerHTML"]],template:function(t,e){1&t&&(i.Rb(0,"div",0,1),i.Yb("mouseover",(function(){return e.startPausing()}))("mouseleave",(function(){return e.startPlayML()}))("touchstart",(function(){return e.startPausing()}))("touchend",(function(){return e.startPlayTE()})),i.Fc(2,k,2,6,"div",2),i.Fc(3,N,6,15,"ng-container",3),i.Qb()),2&t&&(i.ic("ngClass",i.qc(3,V,null==e.owlDOMData?null:e.owlDOMData.rtl,null==e.owlDOMData?null:e.owlDOMData.isLoaded,null==e.owlDOMData?null:e.owlDOMData.isResponsive,null==e.owlDOMData?null:e.owlDOMData.isMouseDragable,null==e.owlDOMData?null:e.owlDOMData.isGrab)),i.Bb(2),i.ic("ngIf",e.carouselLoaded),i.Bb(1),i.ic("ngIf",e.slides.toArray().length))},directives:function(){return[s.j,s.l,ht,s.k]},styles:[".owl-theme[_ngcontent-%COMP%] { display: block; }"]}),t})(),ht=(()=>{class t{constructor(t,e,n,i,s){this.zone=t,this.el=e,this.renderer=n,this.carouselService=i,this.animateService=s,this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null,active:!1,moving:!1},this._oneDragMove$=new r.a,this.bindOneMouseTouchMove=t=>{this._oneMouseTouchMove(t)},this.bindOnDragMove=t=>{this._onDragMove(t)},this.bindOnDragEnd=t=>{this._onDragEnd(t)},this._oneClickHandler=()=>{this.listenerOneClick=this.renderer.listen(this._drag.target,"click",()=>!1),this.listenerOneClick()}}onMouseDown(t){this.owlDraggable.isMouseDragable&&this._onDragStart(t)}onTouchStart(t){this.owlDraggable.isTouchDragable&&this._onDragStart(t)}onTouchCancel(t){this._onDragEnd(t)}
1onDragStart(){if(this.owlDraggable.isMouseDragable)return!1}onSelectStart(){if(this.owlDraggable.isMouseDragable)return!1}ngOnInit(){this._oneMoveSubsription=this._oneDragMove$.pipe(Object(d.a)()).subscribe(()=>{this._sendChanges()})}ngOnDestroy(){this._oneMoveSubsription.unsubscribe()}_onDragStart(t){let e=null;3!==t.which&&(e=this._prepareDragging(t),this._drag.time=(new Date).getTime(),this._drag.target=t.target,this._drag.stage.start=e,this._drag.stage.current=e,this._drag.pointer=this._pointer(t),this.listenerMouseUp=this.renderer.listen(document,"mouseup",this.bindOnDragEnd),this.listenerTouchEnd=this.renderer.listen(document,"touchend",this.bindOnDragEnd),this.zone.runOutsideAngular(()=>{this.listenerOneMouseMove=this.renderer.listen(document,"mousemove",this.bindOneMouseTouchMove),this.listenerOneTouchMove=this.renderer.listen(document,"touchmove",this.bindOneMouseTouchMove)}))}_oneMouseTouchMove(t){const e=this._difference(this._drag.pointer,this._pointer(t));this.listenerATag&&this.listenerATag(),Math.abs(e.x)<3&&Math.abs(e.y)<3&&this._is("valid")||Math.abs(e.x)<3&&Math.abs(e.x)<Math.abs(e.y)&&this._is("valid")||(this.listenerOneMouseMove(),this.listenerOneTouchMove(),this._drag.moving=!0,this.blockClickAnchorInDragging(t),this.listenerMouseMove=this.renderer.listen(document,"mousemove",this.bindOnDragMove),this.listenerTouchMove=this.renderer.listen(document,"touchmove",this.bindOnDragMove),t.preventDefault(),this._enterDragging(),this._oneDragMove$.next(t))}blockClickAnchorInDragging(t){let e=t.target;for(;e&&!(e instanceof HTMLAnchorElement);)e=e.parentElement;e instanceof HTMLAnchorElement&&(this.listenerATag=this.renderer.listen(e,"click",()=>!1))}_onDragMove(t){let e;const n=this.carouselService.defineNewCoordsDrag(t,this._drag);!1!==n&&(e=n,t.preventDefault(),this._drag.stage.current=e,this._animate(e.x-this._drag.stage.start.x))}_animate(t){this.renderer.setStyle(this.el.nativeElement.children[0],"transform",`translate3d(${t}px,0px,0px`),this.renderer.setStyle(this.el.nativeElement.children[0],"transition","0s")}_onDragEnd(t){this.carouselService.owlDOMData.isGrab=!1,this.listenerOneMouseMove(),this.listenerOneTouchMove(),this._drag.moving&&(this.renderer.setStyle(this.el.nativeElement.children[0],"transform",""),this.renderer.setStyle(this.el.nativeElement.children[0],"transition",this.carouselService.speed(+this.carouselService.settings.dragEndSpeed||this.carouselService.settings.smartSpeed)/1e3+"s"),this._finishDragging(t),this.listenerMouseMove(),this.listenerTouchMove()),this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null,active:!1,moving:!1},this.listenerMouseUp(),this.listenerTouchEnd()}_prepareDragging(t){return this.carouselService.prepareDragging(t)}_finishDragging(t){this.carouselService.finishDragging(t,this._drag,this._oneClickHandler)}_pointer(t){return this.carouselService.pointer(t)}_difference(t,e){return this.carouselService.difference(t,e)}_is(t){return this.carouselService.is(t)}_enter(t){this.carouselService.enter(t)}_sendChanges(){this.carouselService.sendChanges()}onTransitionEnd(){this.carouselService.onTransitionEnd()}_enterDragging(){this.carouselService.enterDragging()}clear(t){this.animateService.clear(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.A),i.Mb(i.l),i.Mb(i.F),i.Mb(K),i.Mb(st))},t.\u0275cmp=i.Gb({type:t,selectors:[["owl-stage"]],hostBindings:function(t,e){1&t&&i.Yb("mousedown",(function(t){return e.onMouseDown(t)}))("touchstart",(function(t){return e.onTouchStart(t)}))("touchcancel",(function(t){return e.onTouchCancel(t)}))("dragstart",(function(){return e.onDragStart()}))("selectstart",(function(){return e.onSelectStart()}))},inputs:{owlDraggable:"owlDraggable",stageData:"stageData",slidesData:"slidesData"},decls:3,vars:8,consts:[[1,"owl-stage",3,"ngStyle","transitionend"],[4,"ngFor","ngForOf"],[1,"owl-item",3,"ngClass","ngStyle","animationend"],[4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&(i.Rb(0,"div"),i.Rb(1,"div",0),i.Yb("transitionend",(function(){return e.onTransitionEnd()})),i.Fc(2,B,3,9,"ng-container",1),i.Qb(),i.Qb()),2&t&&(i.Bb(1),i.ic("ngStyle",i.qc(2,F,e.stageData.width+"px",e.stageData.transform,e.stageData.transition,e.stageData.paddingL?e.stageData.paddingL+"px":"",e.stageData.paddingR?e.stageData.paddingR+"px":"")),i.Bb(1),i.ic("ngForOf",e.slidesData))}
1,directives:[s.m,s.k,s.j,s.l,s.p],encapsulation:2,data:{animation:[Object(M.m)("autoHeight",[Object(M.j)("nulled",Object(M.k)({height:0})),Object(M.j)("full",Object(M.k)({height:"*"})),Object(M.l)("full => nulled",[Object(M.e)("700ms 350ms")]),Object(M.l)("nulled => full",[Object(M.e)(350)])])]}}),t})(),ut=(()=>{class t{}return t.\u0275mod=i.Kb({type:t}),t.\u0275inj=i.Jb({factory:function(e){return new(e||t)},providers:[Y,G,et,W],imports:[[s.b]]}),t})()},c2HN:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",(function(){return i}))},chLL:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return a})),n.d(e,"c",(function(){return o}));var i=n("HDdC"),s=n("LRne"),r=(n("XNiG"),n("fXoL"));function o(t){return t&&"function"==typeof t.connect}class a extends class{}{constructor(t){super(),this._data=t}connect(){return this._data instanceof i.a?this._data:Object(s.a)(this._data)}disconnect(){}}let l=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(r.Ib)({factory:function(){return new t},token:t,providedIn:"root"}),t})()},cp0P:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n("HDdC"),s=n("DH7j"),r=n("lJxs"),o=n("XoHu"),a=n("Cfvw");function l(...t){if(1===t.length){const e=t[0];if(Object(s.a)(e))return c(e,null);if(Object(o.a)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return c(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return c(t=1===t.length&&Object(s.a)(t[0])?t[0]:t,null).pipe(Object(r.a)(t=>e(...t)))}return c(t,null)}function c(t,e){return new i.a(n=>{const i=t.length;if(0===i)return void n.complete();const s=new Array(i);let r=0,o=0;for(let l=0;l<i;l++){const c=Object(a.a)(t[l]);let h=!1;n.add(c.subscribe({next:t=>{h||(h=!0,o++),s[l]=t},error:t=>n.error(t),complete:()=>{r++,r!==i&&h||(o===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=s[n],t),{}):s),n.complete())}}))}})}},dCan:function(t,e,n){"use strict";n.d(e,"b",(function(){return W})),n.d(e,"a",(function(){return U})),n.d(e,"c",(function(){return j})),n.d(e,"e",(function(){return B})),n.d(e,"d",(function(){return F})),n.d(e,"f",(function(){return G}));var i=n("fXoL"),s=n("R0Ic"),r=n("dEu6"),o=n("XNiG"),a=n("quSY"),l=n("chLL");let c=0,h=(()=>{class t{constructor(){this._stateChanges=new o.a,this._openCloseAllActions=new o.a,this.id="cdk-accordion-"+c++,this._multi=!1}get multi(){return this._multi}set multi(t){this._multi=Object(r.b)(t)}openAll(){this._openCloseAll(!0)}closeAll(){this._openCloseAll(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete()}_openCloseAll(t){this.multi&&this._openCloseAllActions.next(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Hb({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[i.zb]}),t})(),u=0,d=(()=>{class t{constructor(t,e,n){this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this._openCloseAllSubscription=a.a.EMPTY,this.closed=new i.n,this.opened=new i.n,this.destroyed=new i.n,this.expandedChange=new i.n,this.id="cdk-accordion-child-"+u++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=n.listen((t,e)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===e&&this.id!==t&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(t){t=Object(r.b)(t),this._expanded!==t&&(this._expanded=t,this.expandedChange.emit(t),t?(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(t){this._disabled=Object(r.b)(t)}
1ngOnDestroy(){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(t=>{this.disabled||(this.expanded=t)})}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(h,12),i.Mb(i.h),i.Mb(l.b))},t.\u0275dir=i.Hb({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[i.Ab([{provide:h,useValue:void 0}])]}),t})(),p=(()=>{class t{}return t.\u0275mod=i.Kb({type:t}),t.\u0275inj=i.Jb({factory:function(e){return new(e||t)}}),t})();var g=n("6KbF"),f=n("ofXK"),m=n("R1ws"),b=n("EY2u"),_=n("VRyK"),v=n("/uUt"),y=n("JX91"),w=n("pLZG"),S=n("IzEk"),C=n("tkJt"),O=n("3+Bf");const T=["body"];function x(t,e){}const E=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],M=["mat-expansion-panel-header","*","mat-action-row"],P=function(t,e){return{collapsedHeight:t,expandedHeight:e}},A=function(t,e){return{value:t,params:e}};function k(t,e){if(1&t&&i.Nb(0,"span",2),2&t){const t=i.cc();i.ic("@indicatorRotate",t._getExpandedState())}}const I=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],D=["mat-panel-title","mat-panel-description","*"],R=new i.r("MAT_ACCORDION"),N={indicatorRotate:Object(s.m)("indicatorRotate",[Object(s.j)("collapsed, void",Object(s.k)({transform:"rotate(0deg)"})),Object(s.j)("expanded",Object(s.k)({transform:"rotate(180deg)"})),Object(s.l)("expanded <=> collapsed, void => collapsed",Object(s.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),expansionHeaderHeight:Object(s.m)("expansionHeight",[Object(s.j)("collapsed, void",Object(s.k)({height:"{{collapsedHeight}}"}),{params:{collapsedHeight:"48px"}}),Object(s.j)("expanded",Object(s.k)({height:"{{expandedHeight}}"}),{params:{expandedHeight:"64px"}}),Object(s.l)("expanded <=> collapsed, void => collapsed",Object(s.g)([Object(s.h)("@indicatorRotate",Object(s.f)(),{optional:!0}),Object(s.e)("225ms cubic-bezier(0.4,0.0,0.2,1)")]))]),bodyExpansion:Object(s.m)("bodyExpansion",[Object(s.j)("collapsed, void",Object(s.k)({height:"0px",visibility:"hidden"})),Object(s.j)("expanded",Object(s.k)({height:"*",visibility:"visible"})),Object(s.l)("expanded <=> collapsed, void => collapsed",Object(s.e)("225ms cubic-bezier(0.4,0.0,0.2,1)"))])};let V=(()=>{class t{constructor(t){this._template=t}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.M))},t.\u0275dir=i.Hb({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),L=0;const H=new i.r("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let j=(()=>{class t extends d{constructor(t,e,n,s,r,a,l){super(t,e,n),this._viewContainerRef=s,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new i.n,this.afterCollapse=new i.n,this._inputChanges=new o.a,this._headerId="mat-expansion-panel-header-"+L++,this._bodyAnimationDone=new o.a,this.accordion=t,this._document=r,this._bodyAnimationDone.pipe(Object(v.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{"void"!==t.fromState&&("expanded"===t.toState?this.afterExpand.emit():"collapsed"===t.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=Object(r.b)(t)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}_hasSpacing(){return!!this.accordion&&"default"===(this.expanded?this.accordion.displayMode:this._getExpandedState())}_getExpandedState(){return this.expanded?"expanded":"collapsed"}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(Object(y.a)(null),Object(w.a)(()=>this.expanded&&!this._portal),Object(S.a)(1)).subscribe(()=>{this._portal=new g.i(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const t=this._document.activeElement,e=this._body.nativeElement;return t===e||e.contains(t)}return!1}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(R,12),i.Mb(i.h),i.Mb(l.b),i.Mb(i.Q),i.Mb(f.d),i.Mb(m.a,8),i.Mb(H,8))},t.\u0275cmp=i.Gb({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(t,e,n){var s;1&t&&i.Fb(n,V,!0),2&t&&i.rc(s=i.Zb())&&(e._lazyContent=s.first)},viewQuery:function(t,e){var n;1&t&&i.Kc(T,!0),2&t&&i.rc(n=i.Zb())&&(e._body=n.first)},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,e){2&t&&i.Eb("mat-expanded",e.expanded)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-expansion-panel-spacing",e._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[i.Ab([{provide:R,useValue:void 0}]),i.yb,i.zb],ngContentSelectors:M,decls:7,vars:4,consts:[["role","regi
1on",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,e){1&t&&(i.hc(E),i.gc(0),i.Rb(1,"div",0,1),i.Yb("@bodyExpansion.done",(function(t){return e._bodyAnimationDone.next(t)})),i.Rb(3,"div",2),i.gc(4,1),i.Fc(5,x,0,0,"ng-template",3),i.Qb(),i.gc(6,2),i.Qb()),2&t&&(i.Bb(1),i.ic("@bodyExpansion",e._getExpandedState())("id",e.id),i.Cb("aria-labelledby",e._headerId),i.Bb(4),i.ic("cdkPortalOutlet",e._portal))},directives:[g.c],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(.4,0,.2,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.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}@media (-ms-high-contrast:active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel._mat-animation-noopable,.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.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 button.mat-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[N.bodyExpansion]},changeDetection:0}),t})(),B=(()=>{class t{constructor(t,e,n,i,s){this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=i,this._parentChangeSubscription=a.a.EMPTY,this._animationsDisabled=!0;const r=t.accordion?t.accordion._stateChanges.pipe(Object(w.a)(t=>!(!t.hideToggle&&!t.togglePosition))):b.a;this._parentChangeSubscription=Object(_.a)(t.opened,t.closed,r,t._inputChanges.pipe(Object(w.a)(t=>!!(t.hideToggle||t.disabled||t.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(Object(w.a)(()=>t._containsFocus())).subscribe(()=>n.focusVia(e,"program")),n.monitor(e).subscribe(e=>{e&&t.accordion&&t.accordion._handleHeaderFocus(this)}),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.collapsedHeight)}_animationStarted(){this._animationsDisabled=!1}get disabled(){return this.panel.disabled}_toggle(){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}_keydown(t){switch(t.keyCode){case O.j:case O.d:Object(O.o)(t)||(t.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t))}}focus(t="program",e){this._focusMonitor.focusVia(this._element,t,e)}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(j,1),i.Mb(i.l),i.Mb(C.d),i.Mb(i.h),i.Mb(H,8))},t.\u0275cmp=i.Gb({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header"],hostVars:19,hostBindings:function(t,e){1&t&&(i.Dc("@expansionHeight.start",(function(){return e._animationStarted()})),i.Yb("click",(function(){return e._toggle()}))("keydown",(function(t){return e._keydown(t)}))),2&t&&(i.Cb("id",e.panel._headerId)("tabindex",e.disabled?-1:0)("aria-controls",e._getPanelId())("aria-expanded",e._isExpanded())("aria-disabled",e.panel.disabled),i.Ec("@.disabled",e._animationsDisabled)("@expansionHeight",i.nc(16,A,e._getExpandedState(),i.nc(13,P,e.collapsedHeight,e.expandedHeight))),i.Eb("mat-expanded",e._isExpanded())("mat-expansion-toggle-indicator-after","after"===e._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===e._getTogglePosition()))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:D,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(t,e){1&t&&(i.hc(I),i.Rb(0,"span",0),i.gc(1),i.gc(2,1),i.gc(3,2),i.Qb(),i.Fc(4,k,1,1,"span",1)),2&t&&(i.Bb(4),i.ic("ngIf",e._showToggle(
1)))},directives:[f.l],styles:[".mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:0}.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-expansion-panel-header-description,.mat-expansion-panel-header-title{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-description,[dir=rtl] .mat-expansion-panel-header-title{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}"],encapsulation:2,data:{animation:[N.indicatorRotate,N.expansionHeaderHeight]},changeDetection:0}),t})(),F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Hb({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),t})(),G=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Hb({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),U=(()=>{class t extends h{constructor(){super(...arguments),this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(t){this._hideToggle=Object(r.b)(t)}ngAfterContentInit(){this._keyManager=new C.c(this._headers).withWrap()}_handleHeaderKeydown(t){const{keyCode:e}=t,n=this._keyManager;e===O.f?Object(O.o)(t)||(n.setFirstItemActive(),t.preventDefault()):e===O.c?Object(O.o)(t)||(n.setLastItemActive(),t.preventDefault()):this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}}return t.\u0275fac=function(e){return z(e||t)},t.\u0275dir=i.Hb({type:t,selectors:[["mat-accordion"]],contentQueries:function(t,e,n){var s;1&t&&i.Fb(n,B,!0),2&t&&i.rc(s=i.Zb())&&(e._headers=s)},hostAttrs:[1,"mat-accordion"],inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[i.Ab([{provide:R,useExisting:t}]),i.yb]}),t})();const z=i.Tb(U);let W=(()=>{class t{}return t.\u0275mod=i.Kb({type:t}),t.\u0275inj=i.Jb({factory:function(e){return new(e||t)},imports:[[f.b,p,g.h]]}),t})()},dEu6:function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"e",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return l}));var i=n("fXoL");function s(t){return null!=t&&""+t!="false"}function r(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function o(t){return Array.isArray(t)?t:[t]}function a(t){return null==t?"":"string"==typeof t?t:t+"px"}function l(t){return t instanceof i.l?t.nativeElement:t}},eIep:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("lJxs"),s=n("Cfvw"),r=n("zx2A");function o(t,e){return"function"==typeof e?n=>n.pipe(o((n,r)=>Object(s.a)(t(n,r)).pipe(Object(i.a)((t,i)=>e(n,t,r,i))))):e=>e.lift(new a(t))}class a{constructor(t){this.project=t}call(t,e){return e.subscribe(new l(t,this.project))}}class l extends r.b{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new r.a(this),i=this.destination;i.add(n),this.innerSubscription=Object(r.c)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}},fXoL:function(t,e,n){"use strict";n.d(e,"a",(function(){return Dr})),n.d(e,"b",(function(){return $l})),n.d(e,"c",(function(){return Fl})),n.d(e,"d",(function(){return jl})),n.d(e,"e",(function(){return Bl})),n.d(e,"f",(function(){return Vc})),n.d(e,"g",(function(){return xc})),n.d(e,"h",(function(){return fr})),n.d(e,"i",(function(){return ic})),n.d(e,"j",(function(){return oa})),n.d(e,"k",(function(){return ql})),n.d(e,"l",(function(){return aa})),n.d(e,"m",(function(){return An})),n.d(e,"n",(function(){return fl})),n.d(e,"o",(function(){return X})),n.d(e,"p",(function(){return h})),n.d(e,"q",(function(){return g})),n.d(e,"r",(function(){return $})),n.d(e,"s",(function(){return Ir})),n.d(e,"t",(function(){return xa})),n.d(e,"u",(function(){return Ea})),n.d(e,"v",(function(){return Kl})),n.d(e,"w",(function(){return lt})),n.d(e,"x",(function(){return Mc})),n.d(e,"y",(function(){return at})),n.d(e,"z",(function(){return wc})),n.d(e,"A",(function(){return oc})),n.d(e,"B",(function(){return u})),n.d(e,"C",(function(){return Wl})),n.d(e,"D",(function(){return zl})),n.d(e,"E",(function(){return bl})),n.d(e,"F",(function(){return ua})),n.d(e,"G",(function(){return ca})),n.d(e,"H",(function(){return ha})),n.d(e,"I",(function(){return pa})),n.d(e,"J",(function(){return _i})),n.d(e,"K",(function(){return p})),n.d(e,"L",(function(){return kc})),n.d(e,"M",(function(){return ka})),n.d(e,"N",(function(){return gc})),n.d(e,"O",(function(){return br})),n.d(e,"P",(function(){return ga})),n.d(e,"Q",(function(){return Da})),n.d(e,"R",(function(){return bt})),n.d(e,"S",(function(){return Sc})),n.d(e,"T",(function(){return _})),n.d(e,"U",(function(){return Kn})),n.d(e,"V",(function(){return k})),n.d(e,"W",(function(){return it})),n.d(e,"X",(function(){return Xn})),n.d(e,"Y",(function(){return Rc})),n.d(e,"Z",(function(){return bc})),n.d(e,"ab",(function(){return Xl})),n.d(e,"bb",(function(){return _r})),n.d(e,"cb",(function(){return qa})),n.d(e,"db",(function(){return mi})),n.d(e,"eb",(function(){return Jn})),n.d(e,"fb",(function(){return Hn})),n.d(e,"gb",(function(){return Bn})),n.d(e,"hb",(function(){return zn}
1)),n.d(e,"ib",(function(){return Gn})),n.d(e,"jb",(function(){return Fn})),n.d(e,"kb",(function(){return Un})),n.d(e,"lb",(function(){return Wa})),n.d(e,"mb",(function(){return Dc})),n.d(e,"nb",(function(){return $a})),n.d(e,"ob",(function(){return Xa})),n.d(e,"pb",(function(){return jn})),n.d(e,"qb",(function(){return H})),n.d(e,"rb",(function(){return Hr})),n.d(e,"sb",(function(){return oo})),n.d(e,"tb",(function(){return ro})),n.d(e,"ub",(function(){return za})),n.d(e,"vb",(function(){return Xt})),n.d(e,"wb",(function(){return M})),n.d(e,"xb",(function(){return Ln})),n.d(e,"yb",(function(){return Wo})),n.d(e,"zb",(function(){return Ft})),n.d(e,"Ab",(function(){return ia})),n.d(e,"Bb",(function(){return Gi})),n.d(e,"Cb",(function(){return Wr})),n.d(e,"Db",(function(){return Mo})),n.d(e,"Eb",(function(){return Eo})),n.d(e,"Fb",(function(){return Al})),n.d(e,"Gb",(function(){return wt})),n.d(e,"Hb",(function(){return Mt})),n.d(e,"Ib",(function(){return b})),n.d(e,"Jb",(function(){return v})),n.d(e,"Kb",(function(){return Tt})),n.d(e,"Lb",(function(){return Pt})),n.d(e,"Mb",(function(){return qr})),n.d(e,"Nb",(function(){return eo})),n.d(e,"Ob",(function(){return io})),n.d(e,"Pb",(function(){return no})),n.d(e,"Qb",(function(){return to})),n.d(e,"Rb",(function(){return Jr})),n.d(e,"Sb",(function(){return so})),n.d(e,"Tb",(function(){return xn})),n.d(e,"Ub",(function(){return Go})),n.d(e,"Vb",(function(){return nt})),n.d(e,"Wb",(function(){return Qr})),n.d(e,"Xb",(function(){return Hl})),n.d(e,"Yb",(function(){return ao})),n.d(e,"Zb",(function(){return Dl})),n.d(e,"ac",(function(){return je})),n.d(e,"bc",(function(){return He})),n.d(e,"cc",(function(){return po})),n.d(e,"dc",(function(){return hl})),n.d(e,"ec",(function(){return ul})),n.d(e,"fc",(function(){return dl})),n.d(e,"gc",(function(){return mo})),n.d(e,"hc",(function(){return fo})),n.d(e,"ic",(function(){return Zr})),n.d(e,"jc",(function(){return bo})),n.d(e,"kc",(function(){return _o})),n.d(e,"lc",(function(){return el})),n.d(e,"mc",(function(){return nl})),n.d(e,"nc",(function(){return il})),n.d(e,"oc",(function(){return sl})),n.d(e,"pc",(function(){return rl})),n.d(e,"qc",(function(){return ol})),n.d(e,"rc",(function(){return xl})),n.d(e,"sc",(function(){return Kr})),n.d(e,"tc",(function(){return an})),n.d(e,"uc",(function(){return on})),n.d(e,"vc",(function(){return pe})),n.d(e,"wc",(function(){return vi})),n.d(e,"xc",(function(){return wi})),n.d(e,"yc",(function(){return yi})),n.d(e,"zc",(function(){return xt})),n.d(e,"Ac",(function(){return kl})),n.d(e,"Bc",(function(){return El})),n.d(e,"Cc",(function(){return xo})),n.d(e,"Dc",(function(){return lo})),n.d(e,"Ec",(function(){return Uo})),n.d(e,"Fc",(function(){return Xr})),n.d(e,"Gc",(function(){return Ll})),n.d(e,"Hc",(function(){return jo})),n.d(e,"Ic",(function(){return Bo})),n.d(e,"Jc",(function(){return Fo})),n.d(e,"Kc",(function(){return Ml}));var i=n("XNiG"),s=n("quSY"),r=n("HDdC"),o=n("VRyK"),a=n("w1tV");function l(t){return{toString:t}.toString()}function c(t,e,n){return l(()=>{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return i.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,i){const s=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;s.length<=i;)s.push(null);return(s[i]=s[i]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}const h=c("Inject",t=>({token:t})),u=c("Optional"),d=c("Self"),p=c("SkipSelf");var g=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function f(t){for(let e in t)if(t[e]===f)return e;throw Error("Could not find renamed property on target object.")}function m(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function b(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}const _=b;function v(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function y(t){return w(t,t[C])||w(t,t[x])}function w(t,e){return e&&e.token===t?e:null}function S(t){return t&&(t.hasOwnProperty(O)||t.hasOwnProperty(E))?t[O]:null}const C=f({\u0275prov:f}),O=f({\u0275inj:f}),T=f({\u0275provFallback:f}),x=f({ngInjectableDef:f}),E=f({ngInjectorDef:f});function M(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(M).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function P(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const A=f({__forward_ref__:f});function k(t){return t.__forward_ref__=k,t.toString=function(){return M(this())},t}function I(t){return D(t)?t():t}function D(t){return"function"==typeof t&&t.hasOwnProperty(A)&&t.__forward_ref__===k}const R="undefined"!=typeof globalThis&&globalThis,N="undefined"!=typeof window&&window,V="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,L="undefined"!=typeof global&&global,H=R||L||N||V,j=f({\u0275cmp:f}),B=f({\u0275dir:f}),F=f({\u0275pipe:f}),G=f({\u0275mod:f}),U=f({\u0275loc:f}),z=f({\u0275fac:f}),W=f({__NG_ELEMENT_ID__:f});class ${constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=b({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const X=new $("INJECTOR",-1),K={},q=/\n/gm,Q=f({provide:String,useValue:f});let Z,Y=void 0;function J(t){const e=Y;return Y=t,e}function tt(t){const e=Z;return Z=t,e}function et(t,e=g.Default){if(void 0===Y)throw new Error("inject() must be called from an injection context");return null===Y?st(t,void 0,e):Y.get(t,e&g.Optional?null:void 0,e)}function nt(t,e=g.Default){return(Z||et)(I(t),e)}const it=nt;function st(t,e,n){const i=y(t);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&g.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${M(t)}]`)}function rt(t){const e=[];for(let n=0;n<t.length;n++){const i=I(t[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");let t=void 0,n=g.Default;for(let e=0;e<i.length;e++){const s=i[e];s instanceof u||"Optional"===s.ngMetadataName||s===u?n|=g.Optional:s instanceof p||"SkipSelf"===s.ngMetadataName||s===p?n|=g.SkipSelf:s instanceof d||"Self"===s.ngMetadataName||s===d?n|=g.Self:t=s instanceof h||s===h?s.token:s}e.push(nt(t,n))}else e.push(nt(i))}return e}class ot{get(t,e=K){if(e===K){const e=new Error(`NullInjectorError: No provider for ${M(t)}!`);throw e.name="NullInjectorError",e}return e}}class at{}class lt{}function ct(t,e){t.forEach(t=>Array.isArray(t)?ct(t,e):e(t))}function ht(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function ut(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function dt(t,e){const n=[];for(let i=0;i<t;i++)n.push(e);return n}function pt(t,e,n){let i=ft(t,e);return i>=0?t[1|i]=n:(i=~i,function(t,e,n,i){let s=t.length;if(s==e)t.push(n,i);else if(1===s)t.push(i,t[0]),t[0]=n;
vendor: 4,298 bytes, line 1
1else{for(s--,t.push(t[s-1],t[s]);s>e;)t[s]=t[s-2],s--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function gt(t,e){const n=ft(t,e);if(n>=0)return t[1|n]}function ft(t,e){return function(t,e,n){let i=0,s=t.length>>1;for(;s!==i;){const n=i+(s-i>>1),r=t[n<<1];if(e===r)return n<<1;r>e?s=n:i=n+1}return~(s<<1)}(t,e)}var mt=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),bt=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const _t={},vt=[];let yt=0;function wt(t){return l(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===mt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||vt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||bt.Emulated,id:"c",styles:t.styles||vt,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,s=t.features,r=t.pipes;return n.id+=yt++,n.inputs=Et(t.inputs,e),n.outputs=Et(t.outputs),s&&s.forEach(t=>t(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map(St):null,n.pipeDefs=r?()=>("function"==typeof r?r():r).map(Ct):null,n})}function St(t){return At(t)||function(t){return t[B]||null}(t)}function Ct(t){return function(t){return t[F]||null}(t)}const Ot={};function Tt(t){const e={type:t.type,bootstrap:t.bootstrap||vt,declarations:t.declarations||vt,imports:t.imports||vt,exports:t.exports||vt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&l(()=>{Ot[t.id]=t.type}),e}function xt(t,e){return l(()=>{const n=It(t,!0);n.declarations=e.declarations||vt,n.imports=e.imports||vt,n.exports=e.exports||vt})}function Et(t,e){if(null==t)return _t;const n={};for(const i in t)if(t.hasOwnProperty(i)){let s=t[i],r=s;Array.isArray(s)&&(r=s[1],s=s[0]),n[s]=i,e&&(e[s]=r)}return n}const Mt=wt;function Pt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function At(t){return t[j]||null}function kt(t,e){return t.hasOwnProperty(z)?t[z]:null}function It(t,e){const n=t[G]||null;if(!n&&!0===e)throw new Error(`Type ${M(t)} does not have '\u0275mod' property.`);return n}function Dt(t){return Array.isArray(t)&&"object"==typeof t[1]}function Rt(t){return Array.isArray(t)&&!0===t[1]}function Nt(t){return 0!=(8&t.flags)}function Vt(t){return 2==(2&t.flags)}function Lt(t){return 1==(1&t.flags)}function Ht(t){return null!==t.template}function jt(t){return 0!=(512&t[2])}class Bt{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function Ft(){return Gt}function Gt(t){return t.type.prototype.ngOnChanges&&(t.setInput=zt),Ut}function Ut(){const t=Wt(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===_t)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function zt(t,e,n,i){const s=Wt(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:_t,current:null}),r=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],l=o[a];r[a]=new Bt(l&&l.currentValue,e,o===_t),t[i]=e}function Wt(t){return t.__ngSimpleChanges__||null}Ft.ngInherit=!0;let $t=void 0;function Xt(t){$t=t}function Kt(){return void 0!==$t?$t:"undefined"!=typeof document?document:void 0}function qt(t){return!!t.listen}const Qt={createRenderer:(t,e)=>Kt()};function Zt(t){for(;Array.isArray(t);)t=t[0];return t}function Yt(t,e){return Zt(e[t+20])}function Jt(t,e){return Zt(e[t.index])}function te(t,e){return t.data[e+20]}function ee(t,e){return t[e+20]}function ne(t,e){const n=e[t];return Dt(n)?n:n[0]}function ie(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function se(t){return 4==(4&t[2])}function re(t){return 128==(128&t[2])}function oe(t,e){return null===t||null==e?null:t[e]}function ae(t){t[18]=0}function le(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}
1const ce={lFrame:ke(null),bindingsEnabled:!0,checkNoChangesMode:!1};function he(){return ce.bindingsEnabled}function ue(){return ce.lFrame.lView}function de(){return ce.lFrame.tView}function pe(t){ce.lFrame.contextLView=t}function ge(){return ce.lFrame.previousOrParentTNode}function fe(t,e){ce.lFrame.previousOrParentTNode=t,ce.lFrame.isParent=e}function me(){return ce.lFrame.isParent}function be(){ce.lFrame.isParent=!1}function _e(){return ce.checkNoChangesMode}function ve(t){ce.checkNoChangesMode=t}function ye(){const t=ce.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function we(){return ce.lFrame.bindingIndex++}function Se(t){const e=ce.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Ce(t,e){const n=ce.lFrame;n.bindingIndex=n.bindingRootIndex=t,Oe(e)}function Oe(t){ce.lFrame.currentDirectiveIndex=t}function Te(t){const e=ce.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function xe(){return ce.lFrame.currentQueryIndex}function Ee(t){ce.lFrame.currentQueryIndex=t}function Me(t,e){const n=Ae();ce.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function Pe(t,e){const n=Ae(),i=t[1];ce.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=i,n.contextLView=t,n.bindingIndex=i.bindingStartIndex}function Ae(){const t=ce.lFrame,e=null===t?null:t.child;return null===e?ke(t):e}function ke(t){const e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function Ie(){const t=ce.lFrame;return ce.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}const De=Ie;function Re(){const t=Ie();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Ne(){return ce.lFrame.selectedIndex}function Ve(t){ce.lFrame.selectedIndex=t}function Le(){const t=ce.lFrame;return te(t.tView,t.selectedIndex)}function He(){ce.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function je(){ce.lFrame.currentNamespace=null}function Be(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n<i;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:i,ngAfterContentChecked:s,ngAfterViewInit:r,ngAfterViewChecked:o,ngOnDestroy:a}=e;i&&(t.contentHooks||(t.contentHooks=[])).push(-n,i),s&&((t.contentHooks||(t.contentHooks=[])).push(n,s),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,s)),r&&(t.viewHooks||(t.viewHooks=[])).push(-n,r),o&&((t.viewHooks||(t.viewHooks=[])).push(n,o),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,o)),null!=a&&(t.destroyHooks||(t.destroyHooks=[])).push(n,a)}}function Fe(t,e,n){ze(t,e,3,n)}function Ge(t,e,n,i){(3&t[2])===n&&ze(t,e,n,i)}function Ue(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function ze(t,e,n,i){const s=null!=i?i:-1;let r=0;for(let o=void 0!==i?65535&t[18]:0;o<e.length;o++)if("number"==typeof e[o+1]){if(r=e[o],null!=i&&r>=i)break}else e[o]<0&&(t[18]+=65536),(r<s||-1==s)&&(We(t,n,e,o),t[18]=(4294901760&t[18])+o+2),o++}function We(t,e,n,i){const s=n[i]<0,r=n[i+1],o=t[s?-n[i]:n[i]];s?t[2]>>11<t[18]>>16&&(3&t[2])===e&&(t[2]+=2048,r.call(o)):r.call(o)}class $e{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Xe(t,e,n){const i=qt(t);let s=0;for(;s<n.length;){const r=n[s];if("number"==typeof r){if(0!==r)break;s++;const o=n[s++],a=n[s++],l=n[s++];i?t.setAttribute(e,a,l,o):e.setAttributeNS(o,a,l)}else{const o=r,a=n[++s];qe(o)?i&&t.setProperty(e,o,a):i?t.setAttribute(e,o,a):e.setAttribute(o,a),s++}}return s}function Ke(t){return 3===t||4===t||6===t}function qe(t){return 64===t.charCodeAt(0)}function Qe(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let i=0;i<e.length;i++){const s=e[i];"number"==typeof s?n=s:0===n||Ze(t,n,s,null,-1===n||2===n?e[++i]:null)}}return t}function Ze(t,e,n,i,s){let r=0,o=t.length;if(-1===e)o=-1;else for(;r<t.length;){const n=t[r++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=r-1;break}}}for(;r<t.length;){const e=t[r];if("number"==typeof e)break;
1if(e===n){if(null===i)return void(null!==s&&(t[r+1]=s));if(i===t[r+1])return void(t[r+2]=s)}r++,null!==i&&r++,null!==s&&r++}-1!==o&&(t.splice(o,0,e),r=o+1),t.splice(r++,0,n),null!==i&&t.splice(r++,0,i),null!==s&&t.splice(r++,0,s)}function Ye(t){return-1!==t}function Je(t){return 32767&t}function tn(t){return t>>16}function en(t,e){let n=tn(t),i=e;for(;n>0;)i=i[15],n--;return i}function nn(t){return"string"==typeof t?t:null==t?"":""+t}function sn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():nn(t)}const rn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(H))();function on(t){return{name:"window",target:t.ownerDocument.defaultView}}function an(t){return{name:"document",target:t.ownerDocument}}function ln(t){return t instanceof Function?t():t}let cn=!0;function hn(t){const e=cn;return cn=t,e}let un=0;function dn(t,e){const n=gn(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,pn(i.data,t),pn(e,null),pn(i.blueprint,null));const s=fn(t,e),r=t.injectorIndex;if(Ye(s)){const t=Je(s),n=en(s,e),i=n[1].data;for(let s=0;s<8;s++)e[r+s]=n[t+s]|i[t+s]}return e[r+8]=s,r}function pn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function gn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function fn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=e[6],i=1;for(;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,i++;return n?n.injectorIndex|i<<16:-1}function mn(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(W)&&(i=n[W]),null==i&&(i=n[W]=un++);const s=255&i,r=1<<s,o=64&s,a=32&s,l=e.data;128&s?o?a?l[t+7]|=r:l[t+6]|=r:a?l[t+5]|=r:l[t+4]|=r:o?a?l[t+3]|=r:l[t+2]|=r:a?l[t+1]|=r:l[t]|=r}(t,e,n)}function bn(t,e,n,i=g.Default,s){if(null!==t){const s=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(W)?t[W]:void 0;return"number"==typeof e&&e>0?255&e:e}(n);if("function"==typeof s){Me(e,t);try{const t=s();if(null!=t||i&g.Optional)return t;throw new Error(`No provider for ${sn(n)}!`)}finally{De()}}else if("number"==typeof s){if(-1===s)return new On(t,e);let r=null,o=gn(t,e),a=-1,l=i&g.Host?e[16][6]:null;for((-1===o||i&g.SkipSelf)&&(a=-1===o?fn(t,e):e[o+8],Cn(i,!1)?(r=e[1],o=Je(a),e=en(a,e)):o=-1);-1!==o;){a=e[o+8];const t=e[1];if(Sn(s,o,t.data)){const t=vn(o,e,n,r,i,l);if(t!==_n)return t}Cn(i,e[1].data[o+8]===l)&&Sn(s,o,e)?(r=t,o=Je(a),e=en(a,e)):o=-1}}}if(i&g.Optional&&void 0===s&&(s=null),0==(i&(g.Self|g.Host))){const t=e[9],r=tt(void 0);try{return t?t.get(n,s,i&g.Optional):st(n,s,i&g.Optional)}finally{tt(r)}}if(i&g.Optional)return s;throw new Error(`NodeInjector: NOT_FOUND [${sn(n)}]`)}const _n={};function vn(t,e,n,i,s,r){const o=e[1],a=o.data[t+8],l=yn(a,o,n,null==i?Vt(a)&&cn:i!=o&&3===a.type,s&g.Host&&r===a);return null!==l?wn(e,o,l,a):_n}function yn(t,e,n,i,s){const r=t.providerIndexes,o=e.data,a=1048575&r,l=t.directiveStart,c=r>>20,h=s?a+c:t.directiveEnd;for(let u=i?a:a+c;u<h;u++){const t=o[u];if(u<l&&n===t||u>=l&&t.type===n)return u}if(s){const t=o[l];if(t&&Ht(t)&&t.type===n)return l}return null}function wn(t,e,n,i){let s=t[n];const r=e.data;if(s instanceof $e){const o=s;if(o.resolving)throw new Error("Circular dep for "+sn(r[n]));const a=hn(o.canSeeViewProviders);let l;o.resolving=!0,o.injectImpl&&(l=tt(o.injectImpl)),Me(t,i);try{s=t[n]=o.factory(void 0,r,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:r}=e.type.prototype;if(i){const i=Gt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,s),r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r))}(n,r[n],e)}finally{o.injectImpl&&tt(l),hn(a),o.resolving=!1,De()}}return s}function Sn(t,e,n){const i=64&t,s=32&t;let r;return r=128&t?i?s?n[e+7]:n[e+6]:s?n[e+5]:n[e+4]:i?s?n[e+3]:n[e+2]:s?n[e+1]:n[e],!!(r&1<<t)}function Cn(t,e){return!(t&g.Self||t&g.Host&&e)}class On{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return bn(this._tNode,this._lView,t,void 0,e)}}function Tn(t){const e=t;if(D(t))return()=>{const t=Tn(I(e));return t?t():null};let n=kt(e);if(null===n){const t=S(e);n=t&&t.factory}return n||null}function xn(t){return l(()=>{const e=t.prototype.constructor,n=e[z]||Tn(e),i=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==i;){const t=s[z]||Tn(s);if(t&&t!==n)return t;s=Object.getPrototypeOf(s)}return t=>new t})}function En(t){return t.ngDebugContext}function Mn(t){return t.ngOriginalError}function Pn(t,...e){t.error(...e)}class An{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t.ngErrorLogger||Pn}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?En(t)?En(t):this._findContext(Mn(t)):null}_findOriginalError(t){let e=Mn(t);for(;e&&Mn(e);)e=Mn(e);return e}}class kn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class In extends kn{getTypeName(){return"HTML"}}class Dn extends kn{getTypeName(){return"Style"}}
1class Rn extends kn{getTypeName(){return"Script"}}class Nn extends kn{getTypeName(){return"URL"}}class Vn extends kn{getTypeName(){return"ResourceURL"}}function Ln(t){return t instanceof kn?t.changingThisBreaksApplicationSecurity:t}function Hn(t,e){const n=jn(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===e}function jn(t){return t instanceof kn&&t.getTypeName()||null}function Bn(t){return new In(t)}function Fn(t){return new Dn(t)}function Gn(t){return new Rn(t)}function Un(t){return new Nn(t)}function zn(t){return new Vn(t)}let Wn=!0,$n=!1;function Xn(){return $n=!0,Wn}function Kn(){if($n)throw new Error("Cannot enable prod mode after platform setup.");Wn=!1}class qn{getInertBodyElement(t){t="<body><remove></remove>"+t+"</body>";try{const e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}}class Qn{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=t,e;const n=this.inertDocument.createElement("body");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0<i;i--){const n=e.item(i).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Zn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Yn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Jn(t){return(t=String(t)).match(Zn)||t.match(Yn)?t:(Xn()&&console.warn(`WARNING: sanitizing unsafe URL value ${t} (see http://g.co/ng/security#xss)`),"unsafe:"+t)}function ti(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function ei(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const ni=ti("area,br,col,hr,img,wbr"),ii=ti("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),si=ti("rp,rt"),ri=ei(si,ii),oi=ei(ni,ei(ii,ti("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")),ei(si,ti("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")),ri),ai=ti("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),li=ti("srcset"),ci=ei(ai,li,ti("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ti("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")),hi=ti("script,style,template");class ui{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!oi.hasOwnProperty(e))return this.sanitizedSomething=!0,!hi.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let s=0;s<n.length;s++){const t=n.item(s),e=t.name,r=e.toLowerCase();if(!ci.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let o=t.value;
vendor: 5,638 bytes, line 1
1ai[r]&&(o=Jn(o)),li[r]&&(i=o,o=(i=String(i)).split(",").map(t=>Jn(t.trim())).join(", ")),this.buf.push(" ",e,'="',gi(o),'"')}var i;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();oi.hasOwnProperty(e)&&!ni.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(gi(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e}}const di=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pi=/([^\#-~ |!])/g;function gi(t){return t.replace(/&/g,"&amp;").replace(di,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(pi,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let fi;function mi(t,e){let n=null;try{fi=fi||function(t){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(t){return!1}}()?new qn:new Qn(t)}(t);let i=e?String(e):"";n=fi.getInertBodyElement(i);let s=5,r=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=r,r=n.innerHTML,n=fi.getInertBodyElement(i)}while(i!==r);const o=new ui,a=o.sanitizeChildren(bi(n)||n);return Xn()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const t=bi(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function bi(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var _i=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function vi(t){const e=Si();return e?e.sanitize(_i.HTML,t)||"":Hn(t,"HTML")?Ln(t):mi(Kt(),nn(t))}function yi(t){const e=Si();return e?e.sanitize(_i.URL,t)||"":Hn(t,"URL")?Ln(t):Jn(nn(t))}function wi(t){const e=Si();if(e)return e.sanitize(_i.RESOURCE_URL,t)||"";if(Hn(t,"ResourceURL"))return Ln(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}function Si(){const t=ue();return t&&t[12]}function Ci(t,e){t.__ngContext__=e}function Oi(t){throw new Error("Multiple components match node with tagname "+t.tagName)}function Ti(){throw new Error("Cannot mix multi providers and regular providers")}function xi(t,e,n){let i=t.length;for(;;){const s=t.indexOf(e,n);if(-1===s)return s;if(0===s||t.charCodeAt(s-1)<=32){const n=e.length;if(s+n===i||t.charCodeAt(s+n)<=32)return s}n=s+1}}function Ei(t,e,n){let i=0;for(;i<t.length;){let s=t[i++];if(n&&"class"===s){if(s=t[i],-1!==xi(s.toLowerCase(),e,0))return!0}else if(1===s){for(;i<t.length&&"string"==typeof(s=t[i++]);)if(s.toLowerCase()===e)return!0;return!1}}return!1}function Mi(t){return 0===t.type&&"ng-template"!==t.tagName}function Pi(t,e,n){return e===(0!==t.type||n?t.tagName:"ng-template")}function Ai(t,e,n){let i=4;const s=t.attrs||[],r=function(t){for(let e=0;e<t.length;e++)if(Ke(t[e]))return e;return t.length}(s);let o=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!o)if(4&i){if(i=2|1&i,""!==l&&!Pi(t,l,n)||""===l&&1===e.length){if(ki(i))return!1;o=!0}}else{const c=8&i?l:e[++a];if(8&i&&null!==t.attrs){if(!Ei(t.attrs,c,n)){if(ki(i))return!1;o=!0}continue}const h=Ii(8&i?"class":l,s,Mi(t),n);if(-1===h){if(ki(i))return!1;o=!0;continue}if(""!==c){let t;t=h>r?"":s[h+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==xi(e,c,0)||2&i&&c!==t){if(ki(i))return!1;o=!0}}}}else{if(!o&&!ki(i)&&!ki(l))return!1;if(o&&ki(l))continue;o=!1,i=l|1&i}}return ki(i)||o}function ki(t){return 0==(1&t)}function Ii(t,e,n,i){if(null===e)return-1;let s=0;if(i||!n){let n=!1;for(;s<e.length;){const i=e[s];if(i===t)return s;if(3===i||6===i)n=!0;else{if(1===i||2===i){let t=e[++s];for(;"string"==typeof t;)t=e[++s];continue}if(4===i)break;if(0===i){s+=4;continue}}s+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const i=t[n];if("number"==typeof i)return-1;if(i===e)return n;n++}return-1}(e,t)}function Di(t,e,n=!1){for(let i=0;i<e.length;i++)if(Ai(t,e[i],n))return!0;return!1}function Ri(t,e){t:for(let n=0;n<e.length;n++){const i=e[n];if(t.length===i.length){for(let e=0;e<t.length;e++)if(t[e]!==i[e])continue t;return!0}}return!1}function Ni(t,e){return t?":not("+e.trim()+")":e}function Vi(t){let e=t[0],n=1,i=2,s="",r=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&i){const e=t[++n];s+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&i?s+="."+o:4&i&&(s+=" "+o);else""===s||ki(o)||(e+=Ni(r,s),s=""),i=o,r=r||!ki(i);n++}return""!==s&&(e+=Ni(r,s)),e}const Li={};function Hi(t){const e=t[3];return Rt(e)?e[3]:e}function ji(t){return Fi(t[13])}function Bi(t){return Fi(t[4])}function Fi(t){for(;null!==t&&!Rt(t);)t=t[4];return t}function Gi(t){Ui(de(),ue(),Ne()+t,_e())}function Ui(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&Fe(e,i,n)}else{const i=t.preOrderHooks;null!==i&&Ge(e,i,0,n)}Ve(n)}function zi(t,e){return t<<17|e<<2}function Wi(t){return t>>17&32767}function $i(t){return 2|t}function Xi(t){return(131068&t)>>2}function Ki(t,e){return-131069&t|e<<2}function qi(t){return 1|t}function Qi(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;i<n.length;i+=2){const s=n[i],r=n[i+1];if(-1!==r){const n=t.data[r];Ee(s),n.contentQueries(2,e[r],r)}}}function Zi(t,e,n){return qt(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Yi(t,e,n,i,s,r,o,a,l,c){const h=e.blueprint.slice();
1return h[0]=s,h[2]=140|i,ae(h),h[3]=h[15]=t,h[8]=n,h[10]=o||t&&t[10],h[11]=a||t&&t[11],h[12]=l||t&&t[12]||null,h[9]=c||t&&t[9]||null,h[6]=r,h[16]=2==e.type?t[16]:h,h}function Ji(t,e,n,i,s,r){const o=n+20,a=t.data[o]||function(t,e,n,i,s,r){const o=ge(),a=me(),l=a?o:o&&o.parent,c=t.data[n]=hs(0,l&&l!==e?l:null,i,n,s,r);return null===t.firstChild&&(t.firstChild=c),o&&(!a||null!=o.child||null===c.parent&&2!==o.type?a||(o.next=c):o.child=c),c}(t,e,o,i,s,r);return fe(a,!0),a}function ts(t,e,n){Pe(e,e[6]);try{const i=t.viewQuery;null!==i&&Is(1,i,n);const s=t.template;null!==s&&is(t,e,s,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&Qi(t,e),t.staticViewQueries&&Is(2,t.viewQuery,n);const r=t.components;null!==r&&function(t,e){for(let n=0;n<e.length;n++)Es(t,e[n])}(e,r)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),i}finally{e[2]&=-5,Re()}}function es(t,e,n,i){const s=e[2];if(256==(256&s))return;Pe(e,e[6]);const r=_e();try{ae(e),ce.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&is(t,e,n,2,i);const o=3==(3&s);if(!r)if(o){const n=t.preOrderCheckHooks;null!==n&&Fe(e,n,null)}else{const n=t.preOrderHooks;null!==n&&Ge(e,n,0,null),Ue(e,0)}if(function(t){for(let e=ji(t);null!==e;e=Bi(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],i=n[3];0==(1024&n[2])&&le(i,1),n[2]|=1024}}}(e),function(t){for(let e=ji(t);null!==e;e=Bi(e))for(let t=10;t<e.length;t++){const n=e[t],i=n[1];re(n)&&es(i,n,i.template,n[8])}}(e),null!==t.contentQueries&&Qi(t,e),!r)if(o){const n=t.contentCheckHooks;null!==n&&Fe(e,n)}else{const n=t.contentHooks;null!==n&&Ge(e,n,1),Ue(e,1)}!function(t,e){try{const n=t.expandoInstructions;if(null!==n){let i=t.expandoStartIndex,s=-1,r=-1;for(let t=0;t<n.length;t++){const o=n[t];"number"==typeof o?o<=0?(r=0-o,Ve(r),i+=9+n[++t],s=i):i+=o:(null!==o&&(Ce(i,s),o(2,e[s])),s++)}}}finally{Ve(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)xs(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&Is(2,l,i),!r)if(o){const n=t.viewCheckHooks;null!==n&&Fe(e,n)}else{const n=t.viewHooks;null!==n&&Ge(e,n,2),Ue(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),r||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,le(e[3],-1))}finally{Re()}}function ns(t,e,n,i){const s=e[10],r=!_e(),o=se(e);try{r&&!o&&s.begin&&s.begin(),o&&ts(t,e,i),es(t,e,n,i)}finally{r&&!o&&s.end&&s.end()}}function is(t,e,n,i,s){const r=Ne();try{Ve(-1),2&i&&e.length>20&&Ui(t,e,0,_e()),n(i,s)}finally{Ve(r)}}function ss(t,e,n){if(Nt(e)){const i=e.directiveEnd;for(let s=e.directiveStart;s<i;s++){const e=t.data[s];e.contentQueries&&e.contentQueries(1,n[s],s)}}}function rs(t,e,n){he()&&(function(t,e,n,i){const s=n.directiveStart,r=n.directiveEnd;t.firstCreatePass||dn(n,e),Ci(i,e);const o=n.initialInputs;for(let a=s;a<r;a++){const i=t.data[a],r=Ht(i);r&&Ss(e,n,i);const l=wn(e,t,a,n);Ci(l,e),null!==o&&Cs(0,a-s,l,i,0,o),r&&(ne(n.index,e)[8]=l)}}(t,e,n,Jt(n,e)),128==(128&n.flags)&&function(t,e,n){const i=n.directiveStart,s=n.directiveEnd,r=t.expandoInstructions,o=t.firstCreatePass,a=n.index-20,l=ce.lFrame.currentDirectiveIndex;try{Ve(a);for(let n=i;n<s;n++){const i=t.data[n],s=e[n];Oe(n),null!==i.hostBindings||0!==i.hostVars||null!==i.hostAttrs?ms(i,s):o&&r.push(null)}}finally{Ve(-1),Oe(l)}}(t,e,n))}function os(t,e,n=Jt){const i=e.localNames;if(null!==i){let s=e.index+1;for(let r=0;r<i.length;r+=2){const o=i[r+1],a=-1===o?n(e,t):t[o];t[s++]=a}}}function as(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=ls(1,-1,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function ls(t,e,n,i,s,r,o,a,l,c){const h=20+i,u=h+s,d=function(t,e){const n=[];for(let i=0;i<e;i++)n.push(i<t?null:Li);return n}(h,u);return d[1]={type:t,id:e,blueprint:d,template:n,queries:null,viewQuery:a,node:null,data:d.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:u,expandoInstructions: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 r?r():r,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:c,incompleteFirstPass:!1}
1}function cs(t,e,n,i){const s=Rs(e);s.push(n),t.firstCreatePass&&function(t){return t.cleanup||(t.cleanup=[])}(t).push(i,s.length-1)}function hs(t,e,n,i,s,r){return{type:n,index:i,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:s,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function us(t,e,n){for(let i in t)if(t.hasOwnProperty(i)){const s=t[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(e,s):n[i]=[e,s]}return n}function ds(t,e,n,i,s,r,o,a){const l=Jt(e,n);let c,h=e.inputs;var u;!a&&null!=h&&(c=h[i])?(Ls(t,n,c,i,s),Vt(e)&&function(t,e){const n=ne(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3===e.type&&(i="class"===(u=i)?"className":"for"===u?"htmlFor":"formaction"===u?"formAction":"innerHtml"===u?"innerHTML":"readonly"===u?"readOnly":"tabindex"===u?"tabIndex":u,s=null!=o?o(s,e.tagName||"",i):s,qt(r)?r.setProperty(l,i,s):qe(i)||(l.setProperty?l.setProperty(i,s):l[i]=s))}function ps(t,e,n,i){let s=!1;if(he()){const r=function(t,e,n){const i=t.directiveRegistry;let s=null;if(i)for(let r=0;r<i.length;r++){const o=i[r];Di(n,o.selectors,!1)&&(s||(s=[]),mn(dn(n,e),t,o.type),Ht(o)?(2&n.flags&&Oi(n),_s(t,n),s.unshift(o)):s.push(o))}return s}(t,e,n),o=null===i?null:{"":-1};if(null!==r){let i=0;s=!0,ys(n,t.data.length,r.length);for(let t=0;t<r.length;t++){const e=r[t];e.providersResolver&&e.providersResolver(e)}bs(t,n,r.length);let a=!1,l=!1;for(let s=0;s<r.length;s++){const c=r[s];n.mergedAttrs=Qe(n.mergedAttrs,c.hostAttrs),ws(t,e,c),vs(t.data.length-1,c,o),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const h=c.type.prototype;!a&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index-20),a=!0),l||!h.ngOnChanges&&!h.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index-20),l=!0),gs(t,c),i+=c.hostVars}!function(t,e){const n=e.directiveEnd,i=t.data,s=e.attrs,r=[];let o=null,a=null;for(let l=e.directiveStart;l<n;l++){const t=i[l],n=t.inputs,c=null===s||Mi(e)?null:Os(n,s);r.push(c),o=us(n,l,o),a=us(t.outputs,l,a)}null!==o&&(o.hasOwnProperty("class")&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=r,e.inputs=o,e.outputs=a}(t,n),fs(t,e,i)}o&&function(t,e,n){if(e){const i=t.localNames=[];for(let t=0;t<e.length;t+=2){const s=n[e[t+1]];if(null==s)throw new Error(`Export of name '${e[t+1]}' not found!`);i.push(e[t],s)}}}(n,i,o)}return n.mergedAttrs=Qe(n.mergedAttrs,n.attrs),s}function gs(t,e){const n=t.expandoInstructions;n.push(e.hostBindings),0!==e.hostVars&&n.push(e.hostVars)}function fs(t,e,n){for(let i=0;i<n;i++)e.push(Li),t.blueprint.push(Li),t.data.push(null)}function ms(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function bs(t,e,n){const i=20-e.index,s=t.data.length-(1048575&e.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(i,s,n)}function _s(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function vs(t,e,n){if(n){if(e.exportAs)for(let i=0;i<e.exportAs.length;i++)n[e.exportAs[i]]=t;Ht(e)&&(n[""]=t)}}function ys(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function ws(t,e,n){t.data.push(n);const i=n.factory||(n.factory=kt(n.type)),s=new $e(i,Ht(n),null);t.blueprint.push(s),e.push(s)}function Ss(t,e,n){const i=Jt(e,t),s=as(n),r=t[10],o=Ms(t,Yi(t,s,null,n.onPush?64:16,i,e,r,r.createRenderer(i,n)));t[e.index]=o}function Cs(t,e,n,i,s,r){const o=r[e];if(null!==o){const t=i.setInput;for(let e=0;e<o.length;){const s=o[e++],r=o[e++],a=o[e++];null!==t?i.setInput(n,a,s,r):n[r]=a}}}function Os(t,e){let n=null,i=0;for(;i<e.length;){const s=e[i];if(0!==s)if(5!==s){if("number"==typeof s)break;t.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,t[s],e[i+1])),i+=2}else i+=2;else i+=4}return n}function Ts(t,e,n,i){return new Array(t,!0,!1,e,null,0,i,n,null,null)}function xs(t,e){const n=ne(e,t);if(re(n)){const t=n[1];80&n[2]?es(t,n,t.template,n[8]):n[5]>0&&function t(e){for(let i=ji(e);null!==i;i=Bi(i))for(let e=10;e<i.length;e++){const n=i[e];if(1024&n[2]){const t=n[1];es(t,n,t.template,n[8])}else n[5]>0&&t(n)}const n=e[1].components;if(null!==n)for(let i=0;i<n.length;i++){const s=ne(n[i],e);re(s)&&s[5]>0&&t(s)}}(n)}}function Es(t,e){const n=ne(e,t),i=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(i,n),ts(i,n,n[8])}function Ms(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function Ps(t){for(;t;){t[2]|=64;const e=Hi(t);if(jt(t)&&!e)return t;t=e}return null}function As(t,e,n){const i=e[10];i.begin&&i.begin();try{es(t,e,t.template,n)}catch(s){throw Vs(e,s),s}finally{i.end&&i.end()}}function ks(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],i=ie(n),s=i[1];ns(s,i,s.template,n)}}(t[8])}function Is(t,e,n){Ee(0),e(t,n)}const Ds=(()=>Promise.resolve(null))();function Rs(t){return t[7]||(t[7]=[])}function Ns(t,e,n){return(null===t||Ht(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}function Vs(t,e){const n=t[9],i=n?n.get(An,null):null;i&&i.handleError(e)}function Ls(t,e,n,i,s){for(let r=0;r<n.length;){const o=n[r++],a=n[r++],l=e[o],c=t.data[o];null!==c.setInput?c.setInput(l,s,i,a):l[a]=s}}function Hs(t,e){const n=e[3];return-1===t.index?Rt(n)?n:null:n}function js(t,e){const n=Hs(t,e);return n?Zs(e[11],n[7]):null}function Bs(t,e,n,i,s){if(null!=i){let r,o=!1;Rt(i)?r=i:Dt(i)&&(o=!0,i=i[0]);const a=Zt(i);0===t&&null!==n?null==s?qs(e,n,a):Ks(e,n,a,s||null):1===t&&null!==n?Ks(e,n,a,s||null):2===t?function(t,e,n){const i=Zs(t,e);i&&function(t,e,n,i){qt(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=r&&function(t,e,n,i,s){const r=n[7];r!==Zt(n)&&Bs(e,t,i,r,s);for(let o=10;o<n.length;o++){const s=n[o];nr(s[1],s,t,e,i,r)}}(e,t,r,n,s)}}function Fs(t,e,n,i){const s=js(t.node,e);s&&nr(t,e,e[11],n?1:2,s,i)}function Gs(t,e){const n=t[9],i=n.indexOf(e);1024&e[2]&&le(e[3],-1),n.splice(i,1)}function Us(t,e){if(t.length<=10)return;const n=10+e,i=t[n];if(i){const s=i[17];null!==s&&s!==t&&Gs(s,i),e>0&&(t[n-1][4]=i[4]);const r=ut(t,10+e);Fs(i[1],i,!1,null);const o=r[19];null!==o&&o.detachView(r[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function zs(t,e){if(!(256&e[2])){const n=e[11];qt(n)&&n.destroyNode&&nr(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return $s(t[1],t);for(;e;){let n=null;if(Dt(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Dt(e)&&$s(e[1],e),e=Ws(e,t);null===e&&(e=t),Dt(e)&&$s(e[1],e),n=e&&e[4]}e=n}}(e)}}function Ws(t,e){let n;return Dt(t)&&(n=t[6])&&2===n.type?Hs(n,t):t[3]===e?null:t[3]}function $s(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i<n.length;
1i+=2){const t=e[n[i]];if(!(t instanceof $e)){const e=n[i+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2)e[n+1].call(t[e[n]]);else e.call(t)}}}(t,e),function(t,e){const n=t.cleanup;if(null!==n){const t=e[7];for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+1],r="function"==typeof s?s(e):Zt(e[s]),o=t[n[i+2]],a=n[i+3];"boolean"==typeof a?r.removeEventListener(n[i],o,a):a>=0?t[a]():t[-a].unsubscribe(),i+=2}else n[i].call(t[n[i+1]]);e[7]=null}}(t,e);const n=e[6];n&&3===n.type&&qt(e[11])&&e[11].destroy();const i=e[17];if(null!==i&&Rt(e[3])){i!==e[3]&&Gs(i,e);const n=e[19];null!==n&&n.detachView(t)}}}function Xs(t,e,n){let i=e.parent;for(;null!=i&&(4===i.type||5===i.type);)i=(e=i).parent;if(null==i){const t=n[6];return 2===t.type?js(t,n):n[0]}if(e&&5===e.type&&4&e.flags)return Jt(e,n).parentNode;if(2&i.flags){const e=t.data,n=e[e[i.index].directiveStart].encapsulation;if(n!==bt.ShadowDom&&n!==bt.Native)return null}return Jt(i,n)}function Ks(t,e,n,i){qt(t)?t.insertBefore(e,n,i):e.insertBefore(n,i,!0)}function qs(t,e,n){qt(t)?t.appendChild(e,n):e.appendChild(n)}function Qs(t,e,n,i){null!==i?Ks(t,e,n,i):qs(t,e,n)}function Zs(t,e){return qt(t)?t.parentNode(e):e.parentNode}function Ys(t,e){if(2===t.type){const n=Hs(t,e);return null===n?null:tr(n.indexOf(e,10)-10,n)}return 4===t.type||5===t.type?Jt(t,e):null}function Js(t,e,n,i){const s=Xs(t,i,e);if(null!=s){const t=e[11],r=Ys(i.parent||e[6],e);if(Array.isArray(n))for(let e=0;e<n.length;e++)Qs(t,s,n[e],r);else Qs(t,s,n,r)}}function tr(t,e){const n=10+t+1;if(n<e.length){const t=e[n],i=t[1].firstChild;if(null!==i)return function t(e,n){if(null!==n){const i=n.type;if(3===i)return Jt(n,e);if(0===i)return tr(-1,e[n.index]);if(4===i||5===i){const i=n.child;if(null!==i)return t(e,i);{const t=e[n.index];return Rt(t)?tr(-1,t):Zt(t)}}{const i=e[16],s=i[6],r=Hi(i),o=s.projection[n.projection];return null!=o?t(r,o):t(e,n.next)}}return null}(t,i)}return e[7]}function er(t,e,n,i,s,r,o){for(;null!=n;){const a=i[n.index],l=n.type;o&&0===e&&(a&&Ci(Zt(a),i),n.flags|=4),64!=(64&n.flags)&&(4===l||5===l?(er(t,e,n.child,i,s,r,!1),Bs(e,t,s,a,r)):1===l?ir(t,e,i,n,s,r):Bs(e,t,s,a,r)),n=o?n.projectionNext:n.next}}function nr(t,e,n,i,s,r){er(n,i,t.node.child,e,s,r,!1)}function ir(t,e,n,i,s,r){const o=n[16],a=o[6].projection[i.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)Bs(e,t,s,a[l],r);else er(t,e,a,o[3],s,r,!0)}function sr(t,e,n){qt(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function rr(t,e,n){qt(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}class or{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const t=this._lView;return null==t[0]?function t(e,n,i,s,r=!1){for(;null!==i;){const o=n[i.index];if(null!==o&&s.push(Zt(o)),Rt(o))for(let e=10;e<o.length;e++){const n=o[e],i=n[1].firstChild;null!==i&&t(n[1],n,i,s)}const a=i.type;if(4===a||5===a)t(e,n,i.child,s);else if(1===a){const e=n[16],r=e[6].projection[i.projection];if(Array.isArray(r))s.push(...r);else{const n=Hi(e);t(n[1],n,r,s,!0)}}i=r?i.projectionNext:i.next}return s}(t[1],t,t[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}zs(this._lView[1],this._lView)}onDestroy(t){cs(this._lView[1],this._lView,null,t)}markForCheck(){Ps(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){As(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){ve(!0);try{As(t,e,n)}finally{ve(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,nr(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a Vie
1wContainer!");this._appRef=t}}class ar extends or{constructor(t){super(t),this._view=t}detectChanges(){ks(this._view)}checkNoChanges(){!function(t){ve(!0);try{ks(t)}finally{ve(!1)}}(this._view)}get context(){return null}}let lr,cr,hr;function ur(t,e,n){return lr||(lr=class extends t{}),new lr(Jt(e,n))}function dr(t,e,n,i){return cr||(cr=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Yi(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];const i=this._declarationView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),ts(e,n,t),new or(n)}}),0===n.type?new cr(i,n,ur(e,n,i)):null}function pr(t,e,n,i){let s;hr||(hr=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return ur(e,this._hostTNode,this._hostView)}get injector(){return new On(this._hostTNode,this._hostView)}get parentInjector(){const t=fn(this._hostTNode,this._hostView),e=en(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){const t=n.parent.injectorIndex;let e=n.parent;for(;null!=e.parent&&t==e.parent.injectorIndex;)e=e.parent;return e}let i=tn(t),s=e,r=e[6];for(;i>1;)s=s[15],r=s[6],i--;return r}(t,this._hostView,this._hostTNode);return Ye(t)&&null!=n?new On(n,e):new On(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,s){const r=n||this.parentInjector;if(!s&&null==t.ngModule&&r){const t=r.get(at,null);t&&(s=t)}const o=t.create(r,i,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView,i=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Rt(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new hr(e,e[6],e[3]);i.detach(i.indexOf(t))}}const s=this._adjustIndex(e);return function(t,e,n,i){const s=10+i,r=n.length;i>0&&(n[s-1][4]=e),i<r-10?(e[4]=n[s],ht(n,10+i,e)):(n.push(e),e[4]=null),e[3]=n;const o=e[17];null!==o&&n!==o&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(o,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(i,n,this._lContainer,s),Fs(i,n,!0,tr(s,this._lContainer)),t.attachToViewContainerRef(this),ht(this._lContainer[8],s,t),t}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(t,e)}indexOf(t){const e=this._lContainer[8];return null!==e?e.indexOf(t):-1}remove(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1);!function(t,e){const n=Us(t,e);n&&zs(n[1],n)}(this._lContainer,e),ut(this._lContainer[8],e)}detach(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1),n=Us(this._lContainer,e);return n&&null!=ut(this._lContainer[8],e)?new or(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const r=i[n.index];if(Rt(r))s=r;else{let t;if(4===n.type)t=Zt(r);else if(t=i[11].createComment(""),jt(i)){const e=i[11],s=Jt(n,i);Ks(e,Zs(e,s),t,function(t,e){return qt(t)?t.nextSibling(e):e.nextSibling}(e,s))}else Js(i[1],i,t,n);i[n.index]=s=Ts(r,i,t,n),Ms(i,s)}return new hr(s,n,i)}function gr(t=!1){return function(t,e,n){if(!n&&Vt(t)){const n=ne(t.index,e);return new or(n,n)}return 3===t.type||0===t.type||4===t.type||5===t.type?new or(e[16],e):null}(ge(),ue(),t)}let fr=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>mr(),t})();const mr=gr,br=Function,_r=new $("Set Injector scope."),vr={},yr={},wr=[];let Sr=void 0;function Cr(){return void 0===Sr&&(Sr=new ot),Sr}function Or(t,e=null,n=null,i){return new Tr(t,n,e||Cr(),i)}class Tr{constructor(t,e,n,i=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];e&&ct(e,n=>this.processProvider(n,t,e)),ct([t],t=>this.processInjectorType(t,[],s)),this.records.set(X,Mr(void 0,this));const r=this.records.get(_r);this.scope=null!=r?r.value:null,this.source=i||("object"==typeof t?null:M(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=K,n=g.Default){this.assertNotDestroyed();const i=J(this);try{if(!(n&g.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof $)&&y(t);e=n&&this.injectableDefInScope(n)?Mr(xr(t),vr):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&g.Self?Cr():this.parent).get(t,e=n&g.Optional&&e===K?null:e)}catch(r){if("NullInjectorError"===r.name){if((r.ngTempTokenPath=r.ngTempTokenPath||[]).unshift(M(t)),i)throw r;return function(t,e,n,i){const s=t.ngTempTokenPath;throw e.__source&&s.unshift(e.__source),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let s=M(e);if(Array.isArray(e))s=e.map(M).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];
1t.push(n+":"+("string"==typeof i?JSON.stringify(i):M(i)))}s=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${s}]: ${t.replace(q,"\n  ")}`}("\n"+t.message,s,n,i),t.ngTokenPath=s,t.ngTempTokenPath=null,t}(r,t,"R3InjectorError",this.source)}throw r}finally{J(i)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(M(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=I(t)))return!1;let i=S(t);const s=null==i&&t.ngModule||void 0,r=void 0===s?t:s,o=-1!==n.indexOf(r);if(void 0!==s&&(i=S(s)),null==i)return!1;if(null!=i.imports&&!o){let t;n.push(r);try{ct(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:i}=t[e];ct(i,t=>this.processProvider(t,n,i||wr))}}this.injectorDefTypes.add(r),this.records.set(r,Mr(i.factory,vr));const a=i.providers;if(null!=a&&!o){const e=t;ct(a,t=>this.processProvider(t,e,a))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let i=Ar(t=I(t))?t:I(t&&t.provide);const s=function(t,e,n){return Pr(t)?Mr(void 0,t.useValue):Mr(Er(t,e,n),vr)}(t,e,n);if(Ar(t)||!0!==t.multi){const t=this.records.get(i);t&&void 0!==t.multi&&Ti()}else{let e=this.records.get(i);e?void 0===e.multi&&Ti():(e=Mr(void 0,vr,!0),e.factory=()=>rt(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,s)}hydrate(t,e){var n;return e.value===yr?function(t){throw new Error("Cannot instantiate cyclic dependency! "+t)}(M(t)):e.value===vr&&(e.value=yr,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function xr(t){const e=y(t),n=null!==e?e.factory:kt(t);if(null!==n)return n;const i=S(t);if(null!==i)return i.factory;if(t instanceof $)throw new Error(`Token ${M(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=dt(e,"?");throw new Error(`Can't resolve all parameters for ${M(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[C]||t[x]||t[T]&&t[T]());if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Er(t,e,n){let i=void 0;if(Ar(t)){const e=I(t);return kt(e)||xr(e)}if(Pr(t))i=()=>I(t.useValue);else if((s=t)&&s.useFactory)i=()=>t.useFactory(...rt(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>nt(I(t.useExisting));else{const s=I(t&&(t.useClass||t.provide));if(s||function(t,e,n){let i="";throw t&&e&&(i=` - only instances of Provider and Type are allowed, got: [${e.map(t=>t==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${M(t)}'`+i)}(e,n,t),!function(t){return!!t.deps}(t))return kt(s)||xr(s);i=()=>new s(...rt(t.deps))}var s;return i}function Mr(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Pr(t){return null!==t&&"object"==typeof t&&Q in t}function Ar(t){return"function"==typeof t}const kr=function(t,e,n){return function(t,e=null,n=null,i){const s=Or(t,e,n,i);return s._resolveInjectorDefTypes(),s}({name:n},e,t,n)};let Ir=(()=>{class t{static create(t,e){return Array.isArray(t)?kr(t,e,""):kr(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=K,t.NULL=new ot,t.\u0275prov=b({token:t,providedIn:"any",factory:()=>nt(X)}),t.__NG_ELEMENT_ID__=-1,t})();const Dr=new $("AnalyzeForEntryComponents");function Rr(t,e,n){let i=n?t.styles:null,s=n?t.classes:null,r=0;if(null!==e)for(let o=0;o<e.length;o++){const t=e[o];"number"==typeof t?r=t:1==r?s=P(s,t):2==r&&(i=P(i,t+": "+e[++o]+";"))}n?t.styles=i:t.stylesWithoutHost=i,n?t.classes=s:t.classesWithoutHost=s}let Nr=null;function Vr(){if(!Nr){const t=H.Symbol;if(t&&t.iterator)Nr=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Nr=n)}}}return Nr}class Lr{constructor(t){this.wrapped=t}static wrap(t){return new Lr(t)}static unwrap(t){return Lr.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof Lr}}function Hr(t){return!!jr(t)&&(Array.isArray(t)||!(t instanceof Map)&&
1Vr()in t)}function jr(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Br(t,e,n){return t[e]=n}function Fr(t,e){return t[e]}function Gr(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Ur(t,e,n,i){const s=Gr(t,e,n);return Gr(t,e+1,i)||s}function zr(t,e,n,i,s,r){const o=Ur(t,e,n,i);return Ur(t,e+2,s,r)||o}function Wr(t,e,n,i){const s=ue();return Gr(s,we(),e)&&(de(),function(t,e,n,i,s,r){const o=Jt(t,e),a=e[11];if(null==i)qt(a)?a.removeAttribute(o,n,r):o.removeAttribute(n);else{const e=null==s?nn(i):s(i,t.tagName||"",n);qt(a)?a.setAttribute(o,n,e,r):r?o.setAttributeNS(r,n,e):o.setAttribute(n,e)}}(Le(),s,t,e,n,i)),Wr}function $r(t,e,n,i){return Gr(t,we(),n)?e+nn(n)+i:Li}function Xr(t,e,n,i,s,r,o,a){const l=ue(),c=de(),h=t+20,u=c.firstCreatePass?function(t,e,n,i,s,r,o,a,l){const c=e.consts,h=Ji(e,n[6],t,0,o||null,oe(c,a));ps(e,n,h,oe(c,l)),Be(e,h);const u=h.tViews=ls(2,-1,i,s,r,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c),d=hs(0,null,2,-1,null,null);return d.injectorIndex=h.injectorIndex,u.node=d,null!==e.queries&&(e.queries.template(e,h),u.queries=e.queries.embeddedTView(h)),h}(t,c,l,e,n,i,s,r,o):c.data[h];fe(u,!1);const d=l[11].createComment("");Js(c,l,d,u),Ci(d,l),Ms(l,l[h]=Ts(d,l,d,u)),Lt(u)&&rs(c,l,u),null!=o&&os(l,u,a)}function Kr(t){return ee(ce.lFrame.contextLView,t)}function qr(t,e=g.Default){const n=ue();return null==n?nt(t,e):bn(ge(),n,I(t),e)}function Qr(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let i=0;for(;i<t;){const s=n[i];if(Ke(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<t&&"string"==typeof n[i];)i++;else{if(s===e)return n[i+1];i+=2}}}return null}(ge(),t)}function Zr(t,e,n){const i=ue();return Gr(i,we(),e)&&ds(de(),Le(),i,t,e,i[11],n,!1),Zr}function Yr(t,e,n,i,s){const r=s?"class":"style";Ls(t,n,e.inputs[r],r,i)}function Jr(t,e,n,i){const s=ue(),r=de(),o=20+t,a=s[11],l=s[o]=Zi(e,a,ce.lFrame.currentNamespace),c=r.firstCreatePass?function(t,e,n,i,s,r,o){const a=e.consts,l=oe(a,r),c=Ji(e,n[6],t,3,s,l);return ps(e,n,c,oe(a,o)),null!==c.attrs&&Rr(c,c.attrs,!1),null!==c.mergedAttrs&&Rr(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}(t,r,s,0,e,n,i):r.data[o];fe(c,!0);const h=c.mergedAttrs;null!==h&&Xe(a,l,h);const u=c.classes;null!==u&&rr(a,l,u);const d=c.styles;null!==d&&sr(a,l,d),Js(r,s,l,c),0===ce.lFrame.elementDepthCount&&Ci(l,s),ce.lFrame.elementDepthCount++,Lt(c)&&(rs(r,s,c),ss(r,c,s)),null!==i&&os(s,c)}function to(){let t=ge();me()?be():(t=t.parent,fe(t,!1));const e=t;ce.lFrame.elementDepthCount--;const n=de();n.firstCreatePass&&(Be(n,t),Nt(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Yr(n,e,ue(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Yr(n,e,ue(),e.stylesWithoutHost,!1)}function eo(t,e,n,i){Jr(t,e,n,i),to()}function no(t,e,n){const i=ue(),s=de(),r=t+20,o=s.firstCreatePass?function(t,e,n,i,s){const r=e.consts,o=oe(r,i),a=Ji(e,n[6],t,4,"ng-container",o);return null!==o&&Rr(a,o,!0),ps(e,n,a,oe(r,s)),null!==e.queries&&e.queries.elementStart(e,a),a}
1(t,s,i,e,n):s.data[r];fe(o,!0);const a=i[r]=i[11].createComment("");Js(s,i,a,o),Ci(a,i),Lt(o)&&(rs(s,i,o),ss(s,o,i)),null!=n&&os(i,o)}function io(){let t=ge();const e=de();me()?be():(t=t.parent,fe(t,!1)),e.firstCreatePass&&(Be(e,t),Nt(t)&&e.queries.elementEnd(t))}function so(){return ue()}function ro(t){return!!t&&"function"==typeof t.then}function oo(t){return!!t&&"function"==typeof t.subscribe}function ao(t,e,n=!1,i){const s=ue(),r=de(),o=ge();return co(r,s,s[11],o,t,e,n,i),ao}function lo(t,e,n=!1,i){const s=ge(),r=ue(),o=de();return co(o,r,Ns(Te(o.data),s,r),s,t,e,n,i),lo}function co(t,e,n,i,s,r,o=!1,a){const l=Lt(i),c=t.firstCreatePass&&(t.cleanup||(t.cleanup=[])),h=Rs(e);let u=!0;if(3===i.type){const d=Jt(i,e),p=a?a(d):_t,g=p.target||d,f=h.length,m=a?t=>a(Zt(t[i.index])).target:i.index;if(qt(n)){let o=null;if(!a&&l&&(o=function(t,e,n,i){const s=t.cleanup;if(null!=s)for(let r=0;r<s.length-1;r+=2){const t=s[r];if(t===n&&s[r+1]===i){const t=e[7],n=s[r+2];return t.length>n?t[n]:null}"string"==typeof t&&(r+=2)}return null}(t,e,s,i.index)),null!==o)(o.__ngLastListenerFn__||o).__ngNextListenerFn__=r,o.__ngLastListenerFn__=r,u=!1;else{r=uo(i,e,r,!1);const t=n.listen(p.name||g,s,r);h.push(r,t),c&&c.push(s,m,f,f+1)}}else r=uo(i,e,r,!0),g.addEventListener(s,r,o),h.push(r),c&&c.push(s,m,f,o)}const d=i.outputs;let p;if(u&&null!==d&&(p=d[s])){const t=p.length;if(t)for(let n=0;n<t;n+=2){const t=e[p[n]][p[n+1]].subscribe(r),o=h.length;h.push(r,t),c&&c.push(s,i.index,o,-(o+1))}}}function ho(t,e,n){try{return!1!==e(n)}catch(i){return Vs(t,i),!1}}function uo(t,e,n,i){return function s(r){if(r===Function)return n;const o=2&t.flags?ne(t.index,e):e;0==(32&e[2])&&Ps(o);let a=ho(e,n,r),l=s.__ngNextListenerFn__;for(;l;)a=ho(e,l,r)&&a,l=l.__ngNextListenerFn__;return i&&!1===a&&(r.preventDefault(),r.returnValue=!1),a}}function po(t=1){return function(t){return(ce.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,ce.lFrame.contextLView))[8]}(t)}function go(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let s=0;s<e.length;s++){const r=e[s];if("*"!==r){if(null===i?Di(t,r,!0):Ri(i,r))return s}else n=s}return n}function fo(t){const e=ue()[16][6];if(!e.projection){const n=e.projection=dt(t?t.length:1,null),i=n.slice();let s=e.child;for(;null!==s;){const e=t?go(s,t):0;null!==e&&(i[e]?i[e].projectionNext=s:n[e]=s,i[e]=s),s=s.next}}}function mo(t,e=0,n){const i=ue(),s=de(),r=Ji(s,i[6],t,1,null,n||null);null===r.projection&&(r.projection=e),be(),function(t,e,n){ir(e[11],0,e,n,Xs(t,n,e),Ys(n.parent||e[6],e))}(s,i,r)}function bo(t,e,n){return _o(t,"",e,"",n),bo}function _o(t,e,n,i,s){const r=ue(),o=$r(r,e,n,i);return o!==Li&&ds(de(),Le(),r,t,o,r[11],s,!1),_o}const vo=[];function yo(t,e,n,i,s){const r=t[n+1],o=null===e;let a=i?Wi(r):Xi(r),l=!1;for(;0!==a&&(!1===l||o);){const n=t[a+1];wo(t[a],e)&&(l=!0,t[a+1]=i?qi(n):$i(n)),a=i?Wi(n):Xi(n)}l&&(t[n+1]=i?$i(r):qi(r))}function wo(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&ft(t,e)>=0}const So={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Co(t){return t.substring(So.key,So.keyEnd)}function Oo(t,e){const n=So.textEnd;return n===e?-1:(e=So.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,So.key=e,n),To(t,e,n))}function To(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function xo(t,e,n){return Ao(t,e,n,!1),xo}function Eo(t,e){return Ao(t,e,null,!0),Eo}function Mo(t){!function(t,e,n,i){const s=de(),r=Se(2);s.firstUpdatePass&&Io(s,null,r,!0);const o=ue();if(n!==Li&&Gr(o,r,n)){const i=s.data[Ne()+20];if(Ho(i,!0)&&!ko(s,r)){let t=i.classesWithoutHost;null!==t&&(n=P(t,n||"")),Yr(s,i,o,n,!0)}else!function(t,e,n,i,s,r,o,a){s===Li&&(s=vo);let l=0,c=0,h=0<s.length?s[0]:null,u=0<r.length?r[0]:null;for(;null!==h||null!==u;){const o=l<s.length?s[l+1]:void 0,d=c<r.length?r[c+1]:void 0;let p=null,g=void 0;h===u?(l+=2,c+=2,o!==d&&(p=u,g=d)):null===u||null!==h&&h<u?(l+=2,p=h):(c+=2,p=u,g=d),null!==p&&No(t,e,n,i,p,g,!0,a),h=l<s.length?s[l]:null,u=c<r.length?r[c]:null}}
1(s,i,o,o[11],o[r+1],o[r+1]=function(t,e,n){if(null==n||""===n)return vo;const i=[],s=Ln(n);if(Array.isArray(s))for(let r=0;r<s.length;r++)t(i,s[r],!0);else if("object"==typeof s)for(const r in s)s.hasOwnProperty(r)&&t(i,r,s[r]);else"string"==typeof s&&e(i,s);return i}(t,e,n),0,r)}}(pt,Po,t)}function Po(t,e){for(let n=function(t){return function(t){So.key=0,So.keyEnd=0,So.value=0,So.valueEnd=0,So.textEnd=t.length}(t),Oo(t,To(t,0,So.textEnd))}(e);n>=0;n=Oo(e,n))pt(t,Co(e),!0)}function Ao(t,e,n,i){const s=ue(),r=de(),o=Se(2);r.firstUpdatePass&&Io(r,t,o,i),e!==Li&&Gr(s,o,e)&&No(r,r.data[Ne()+20],s,s[11],t,s[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=M(Ln(t)))),t}(e,n),i,o)}function ko(t,e){return e>=t.expandoStartIndex}function Io(t,e,n,i){const s=t.data;if(null===s[n+1]){const r=s[Ne()+20],o=ko(t,n);Ho(r,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){const s=Te(t);let r=i?e.residualClasses:e.residualStyles;if(null===s)0===(i?e.classBindings:e.styleBindings)&&(n=Ro(n=Do(null,t,e,n,i),e.attrs,i),r=null);else{const o=e.directiveStylingLast;if(-1===o||t[o]!==s)if(n=Do(s,t,e,n,i),null===r){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==Xi(i))return t[Wi(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=Do(null,t,e,n[1],i),n=Ro(n,e.attrs,i),function(t,e,n,i){t[Wi(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else r=function(t,e,n){let i=void 0;const s=e.directiveEnd;for(let r=1+e.directiveStylingLast;r<s;r++)i=Ro(i,t[r].hostAttrs,n);return Ro(i,e.attrs,n)}(t,e,i)}return void 0!==r&&(i?e.residualClasses=r:e.residualStyles=r),n}(s,r,e,i),function(t,e,n,i,s,r){let o=r?e.classBindings:e.styleBindings,a=Wi(o),l=Xi(o);t[i]=n;let c,h=!1;if(Array.isArray(n)){const t=n;c=t[1],(null===c||ft(t,c)>0)&&(h=!0)}else c=n;if(s)if(0!==l){const e=Wi(t[a+1]);t[i+1]=zi(e,a),0!==e&&(t[e+1]=Ki(t[e+1],i)),t[a+1]=131071&t[a+1]|i<<17}else t[i+1]=zi(a,0),0!==a&&(t[a+1]=Ki(t[a+1],i)),a=i;else t[i+1]=zi(l,0),0===a?a=i:t[l+1]=Ki(t[l+1],i),l=i;h&&(t[i+1]=$i(t[i+1])),yo(t,c,i,!0),yo(t,c,i,!1),function(t,e,n,i,s){const r=s?t.residualClasses:t.residualStyles;null!=r&&"string"==typeof e&&ft(r,e)>=0&&(n[i+1]=qi(n[i+1]))}(e,c,t,i,r),o=zi(a,l),r?e.classBindings=o:e.styleBindings=o}(s,r,e,n,o,i)}}function Do(t,e,n,i,s){let r=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(r=e[a],i=Ro(i,r.hostAttrs,s),r!==t);)a++;return null!==t&&(n.directiveStylingLast=a),i}function Ro(t,e,n){const i=n?1:2;let s=-1;if(null!==e)for(let r=0;r<e.length;r++){const o=e[r];"number"==typeof o?s=o:s===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),pt(t,o,!!n||e[++r]))}return void 0===t?null:t}function No(t,e,n,i,s,r,o,a){if(3!==e.type)return;const l=t.data,c=l[a+1];Lo(1==(1&c)?Vo(l,e,n,s,Xi(c),o):void 0)||(Lo(r)||function(t){return 2==(2&t)}(c)&&(r=Vo(l,null,n,s,a,o)),function(t,e,n,i,s){const r=qt(t);if(e)s?r?t.addClass(n,i):n.classList.add(i):r?t.removeClass(n,i):n.classList.remove(i);else{const e=-1==i.indexOf("-")?void 0:2;null==s?r?t.removeStyle(n,i,e):n.style.removeProperty(i):r?t.setStyle(n,i,s,e):n.style.setProperty(i,s)}}(i,o,Yt(Ne(),n),s,r))}function Vo(t,e,n,i,s,r){const o=null===e;let a=void 0;for(;s>0;){const e=t[s],r=Array.isArray(e),l=r?e[1]:e,c=null===l;let h=n[s+1];h===Li&&(h=c?vo:void 0);let u=c?gt(h,i):l===i?h:void 0;if(r&&!Lo(u)&&(u=gt(e,i)),Lo(u)&&(a=u,o))return a;const d=t[s+1];s=o?Wi(d):Xi(d)}if(null!==e){let t=r?e.residualClasses:e.residualStyles;null!=t&&(a=gt(t,i))}return a}function Lo(t){return void 0!==t}function Ho(t,e){return 0!=(t.flags&(e?16:32))}function jo(t,e=""){const n=ue(),i=de(),s=t+20,r=i.firstCreatePass?Ji(i,n[6],t,3,null,null):i.data[s],o=n[s]=function(t,e){return qt(e)?e.createText(t):e.createTextNode(t)}(e,n[11]);Js(i,n,o,r),fe(r,!1)}function Bo(t){return Fo("",t,""),Bo}function Fo(t,e,n){const i=ue(),s=$r(i,t,e,n);return s!==Li&&function(t,e,n){const i=Yt(e,t),s=t[11];qt(s)?s.setValue(i,n):i.textContent=n}(i,Ne(),s),Fo}function Go(t,e,n){const i=ue();return Gr(i,we(),e)&&ds(de(),Le(),i,t,e,i[11],n,!0),Go}function Uo(t,e,n){const i=ue();
vendor: 11,896 bytes, line 1
1if(Gr(i,we(),e)){const s=de(),r=Le();ds(s,r,i,t,e,Ns(Te(s.data),r,i),n,!0)}return Uo}function zo(t,e){const n=ie(t)[1],i=n.data.length-1;Be(n,{directiveStart:i,directiveEnd:i+1})}function Wo(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const i=[t];for(;e;){let s=void 0;if(Ht(t))s=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");s=e.\u0275dir}if(s){if(n){i.push(s);const e=t;e.inputs=$o(t.inputs),e.declaredInputs=$o(t.declaredInputs),e.outputs=$o(t.outputs);const n=s.hostBindings;n&&qo(t,n);const r=s.viewQuery,o=s.contentQueries;if(r&&Xo(t,r),o&&Ko(t,o),m(t.inputs,s.inputs),m(t.declaredInputs,s.declaredInputs),m(t.outputs,s.outputs),Ht(s)&&s.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(s.data.animation)}}const e=s.features;if(e)for(let i=0;i<e.length;i++){const s=e[i];s&&s.ngInherit&&s(t),s===Wo&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let i=t.length-1;i>=0;i--){const s=t[i];s.hostVars=e+=s.hostVars,s.hostAttrs=Qe(s.hostAttrs,n=Qe(n,s.hostAttrs))}}(i)}function $o(t){return t===_t?{}:t===vt?[]:t}function Xo(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function Ko(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,s)=>{e(t,i,s),n(t,i,s)}:e}function qo(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}function Qo(t,e,n,i,s){if(t=I(t),Array.isArray(t))for(let r=0;r<t.length;r++)Qo(t[r],e,n,i,s);else{const r=de(),o=ue();let a=Ar(t)?t:I(t.provide),l=Er(t);const c=ge(),h=1048575&c.providerIndexes,u=c.directiveStart,d=c.providerIndexes>>20;if(Ar(t)||!t.multi){const i=new $e(l,s,qr),p=Jo(a,e,s?h:h+d,u);-1===p?(mn(dn(c,o),r,a),Zo(r,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(i),o.push(i)):(n[p]=i,o[p]=i)}else{const p=Jo(a,e,h+d,u),g=Jo(a,e,h,h+d),f=p>=0&&n[p],m=g>=0&&n[g];if(s&&!m||!s&&!f){mn(dn(c,o),r,a);const h=function(t,e,n,i,s){const r=new $e(t,n,qr);return r.multi=[],r.index=e,r.componentProviders=0,Yo(r,s,i&&!n),r}(s?ea:ta,n.length,s,i,l);!s&&m&&(n[g].providerFactory=h),Zo(r,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),n.push(h),o.push(h)}else Zo(r,t,p>-1?p:g,Yo(n[s?g:p],l,!s&&i));!s&&i&&m&&n[g].componentProviders++}}}function Zo(t,e,n,i){const s=Ar(e);if(s||e.useClass){const r=(e.useClass||e).prototype.ngOnDestroy;if(r){const o=t.destroyHooks||(t.destroyHooks=[]);if(!s&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,r]):o[t+1].push(i,r)}else o.push(n,r)}}}function Yo(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Jo(t,e,n,i){for(let s=n;s<i;s++)if(e[s]===t)return s;return-1}function ta(t,e,n,i){return na(this.multi,[])}function ea(t,e,n,i){const s=this.multi;let r;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=wn(n,n[1],this.providerFactory.index,i);r=e.slice(0,t),na(s,r);for(let n=t;n<e.length;n++)r.push(e[n])}else r=[],na(s,r);return r}function na(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function ia(t,e=[]){return n=>{n.providersResolver=(n,i)=>function(t,e,n){const i=de();if(i.firstCreatePass){const s=Ht(t);Qo(n,i.data,i.blueprint,s,!0),Qo(e,i.data,i.blueprint,s,!1)}}(n,i?i(t):t,e)}}class sa{}class ra{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${M(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let oa=(()=>{class t{}return t.NULL=new ra,t})(),aa=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>la(t),t})();const la=function(t){return ur(t,ge(),ue())};class ca{}var ha=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});let ua=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>da(),t})();const da=function(){const t=ue(),e=ne(ge().index,t);return function(t){const e=t[11];if(qt(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Dt(e)?e:t)};let pa=(()=>{class t{}return t.\u0275prov=b({token:t,providedIn:"root",factory:()=>null}),t})();class ga{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const fa=new ga("10.1.0-next.3");class ma{constructor(){}supports(t){return Hr(t)}create(t){return new _a(t)}}const ba=(t,e)=>e;class _a{constructor(t){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=t||ba}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,s=null;for(;e||n;){const r=!n||e&&e.currentIndex<Sa(n,i,s)?e:n,o=Sa(r,i,s),a=r.currentIndex;if(r===n)i--,n=n._nextRemoved;else if(e=e._next,null==r.previousIndex)i++;else{s||(s=[]);const t=o-i,e=a-i;if(t!=e){for(let n=0;n<t;n++){const i=n<s.length?s[n]:s[n]=0,r=i+n;e<=r&&r<t&&(s[n]=i+1)}s[r.previousIndex]=e-t}}o!==a&&t(r,o,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Hr(t))throw new Error(`Error trying to diff '${M(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,i,s=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],i=this._trackByFn(e,n),null!==s&&Object.is(s.trackById,i)?(r&&(s=this._verifyReinsertion(s,n,i,e)),Object.is(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,i,e),r=!0),s=s._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Vr()]();let i;for(;!(i=n.next()).done;)e(i.value)}}(t,t=>{i=this._trackByFn(e,t),null!==s&&Object.is(s.trackById,i)?(r&&(s=this._verifyReinsertion(s,t,i,e)),Object.is(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,i,e),r=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,i){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,i)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,i)):t=this._addAfter(new va(e,n),s,i),t}_verifyReinsertion(t,e,n,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=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(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new wa),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new wa),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class va{constructor(t,e){this.item=t,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 ya{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class wa{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new ya,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Sa(t,e,n){const i=t.previousIndex;if(null===i)return i;let s=0;return n&&i<n.length&&(s=n[i]),i+e+s}class Ca{constructor(){}supports(t){return t instanceof Map||jr(t)}create(){return new Oa}}class Oa{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(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;
1e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||jr(t)))throw new Error(`Error trying to diff '${M(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const i=n._prev,s=n._next;return i&&(i._next=s),s&&(s._prev=i),n._next=null,n._prev=null,n}const n=new Ta(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Ta{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let xa=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new p,new u]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=b({token:t,providedIn:"root",factory:()=>new t([new ma])}),t})(),Ea=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new p,new u]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=b({token:t,providedIn:"root",factory:()=>new t([new Ca])}),t})();const Ma=[new Ca],Pa=new xa([new ma]),Aa=new Ea(Ma);let ka=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ia(t,aa),t})();const Ia=function(t,e){return dr(t,e,ge(),ue())};let Da=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ra(t,aa),t})();const Ra=function(t,e){return pr(t,e,ge(),ue())},Na={};class Va extends oa{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=At(t);return new ja(e,this.ngModule)}}function La(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Ha=new $("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>rn});
1class ja extends sa{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Vi).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return La(this.componentDef.inputs)}get outputs(){return La(this.componentDef.outputs)}create(t,e,n,i){const s=(i=i||this.ngModule)?function(t,e){return{get:(n,i,s)=>{const r=t.get(n,Na,s);return r!==Na||i===Na?r:e.get(n,i,s)}}}(t,i.injector):t,r=s.get(ca,Qt),o=s.get(pa,null),a=r.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(qt(t))return t.selectRootElement(e,n===bt.ShadowDom);let i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(a,n,this.componentDef.encapsulation):Zi(l,r.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),h=this.componentDef.onPush?576:528,u={components:[],scheduler:rn,clean:Ds,playerHandler:null,flags:0},d=ls(0,-1,null,1,0,null,null,null,null,null),p=Yi(null,d,u,h,null,null,r,a,o,s);let g,f;Pe(p,null);try{const t=function(t,e,n,i,s,r){const o=n[1];n[20]=t;const a=Ji(o,null,0,3,null,null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Rr(a,l,!0),null!==t&&(Xe(s,t,l),null!==a.classes&&rr(s,t,a.classes),null!==a.styles&&sr(s,t,a.styles)));const c=i.createRenderer(t,e),h=Yi(n,as(e),null,e.onPush?64:16,n[20],a,i,c,void 0);return o.firstCreatePass&&(mn(dn(a,n),o,e.type),_s(o,a),ys(a,n.length,1)),Ms(n,h),n[20]=h}(c,this.componentDef,p,r,a);if(c)if(n)Xe(a,c,["ng-version",fa.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,s=2;for(;i<t.length;){let r=t[i];if("string"==typeof r)2===s?""!==r&&e.push(r,t[++i]):8===s&&n.push(r);else{if(!ki(s))break;s=r}i++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&Xe(a,c,t),e&&e.length>0&&rr(a,c,e.join(" "))}if(f=te(d,0),void 0!==e){const t=f.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const i=e[n];t.push(null!=i?Array.from(i):null)}}g=function(t,e,n,i,s){const r=n[1],o=function(t,e,n){const i=ge();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),bs(t,i,1),ws(t,e,n));const s=wn(e,t,e.length-1,i);Ci(s,e);const r=Jt(i,e);return r&&Ci(r,e),s}(r,n,e);i.components.push(o),t[8]=o,s&&s.forEach(t=>t(o,e)),e.contentQueries&&e.contentQueries(1,o,n.length-1);const a=ge();if(r.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){Ve(a.index-20);const t=n[1];gs(t,e),fs(t,n,e.hostVars),ms(e,o)}return o}(t,this.componentDef,p,u,[zo]),ts(d,p,null)}finally{Re()}const m=new Ba(this.componentType,g,ur(aa,f,p),p,f);return d.node.child=f,m}}class Ba extends class{}{constructor(t,e,n,i,s){super(),this.location=n,this._rootLView=i,this._tNode=s,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new ar(i),function(t,e,n,i){let s=t.node;null==s&&(t.node=s=hs(0,null,2,-1,null,null)),i[6]=s}(i[1],0,0,i),this.componentType=t}get injector(){return new On(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const Fa=void 0;var Ga=["en",[["a","p"],["AM","PM"],Fa],[["AM","PM"],Fa,Fa],[["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"]],Fa,[["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"]],Fa,[["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}",Fa,"{1} 'at' {0}",Fa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Ua={};function za(t,e,n){"string"!=typeof e&&(n=e,e=t[qa.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),Ua[e]=t,n&&(Ua[e][qa.ExtraData]=n)}function Wa(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Ka(e);if(n)return n;const i=e.split("-")[0];if(n=Ka(i),n)return n;if("en"===i)return Ga;throw new Error(`Missing locale data for the locale "${t}".`)}function $a(t){return Wa(t)[qa.CurrencyCode]||null}function Xa(t){return Wa(t)[qa.PluralCase]}
1function Ka(t){return t in Ua||(Ua[t]=H.ng&&H.ng.common&&H.ng.common.locales&&H.ng.common.locales[t]),Ua[t]}var qa=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});let Qa="en-US";function Za(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,i){throw new Error("ASSERTION ERROR: "+t+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(Qa=t.toLowerCase().replace(/_/g,"-"))}const Ya=new Map;class Ja extends at{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Va(this);const n=It(t),i=t[U]||null;i&&Za(i),this._bootstrapComponents=ln(n.bootstrap),this._r3Injector=Or(t,e,[{provide:at,useValue:this},{provide:oa,useValue:this.componentFactoryResolver}],M(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Ir.THROW_IF_NOT_FOUND,n=g.Default){return t===Ir||t===at||t===X?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class tl extends lt{constructor(t){super(),this.moduleType=t,null!==It(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${M(e)} vs ${M(e.name)}`)})(t,Ya.get(t),e),Ya.set(t,e)}let n=e.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new Ja(this.moduleType,t)}}function el(t,e,n){const i=ye()+t,s=ue();return s[i]===Li?Br(s,i,n?e.call(n):e()):Fr(s,i)}function nl(t,e,n,i){return function(t,e,n,i,s,r){const o=e+n;return Gr(t,o,s)?Br(t,o+1,r?i.call(r,s):i(s)):al(t,o+1)}(ue(),ye(),t,e,n,i)}function il(t,e,n,i,s){return ll(ue(),ye(),t,e,n,i,s)}function sl(t,e,n,i,s,r){return function(t,e,n,i,s,r,o,a){const l=e+n;return function(t,e,n,i,s){const r=Ur(t,e,n,i);return Gr(t,e+2,s)||r}(t,l,s,r,o)?Br(t,l+3,a?i.call(a,s,r,o):i(s,r,o)):al(t,l+3)}(ue(),ye(),t,e,n,i,s,r)}function rl(t,e,n,i,s,r,o){return cl(ue(),ye(),t,e,n,i,s,r,o)}function ol(t,e,n,i,s,r,o,a){const l=ye()+t,c=ue(),h=zr(c,l,n,i,s,r);return Gr(c,l+4,o)||h?Br(c,l+5,a?e.call(a,n,i,s,r,o):e(n,i,s,r,o)):Fr(c,l+5)}function al(t,e){const n=t[e];return n===Li?void 0:n}function ll(t,e,n,i,s,r,o){const a=e+n;return Ur(t,a,s,r)?Br(t,a+2,o?i.call(o,s,r):i(s,r)):al(t,a+2)}function cl(t,e,n,i,s,r,o,a,l){const c=e+n;return zr(t,c,s,r,o,a)?Br(t,c+4,l?i.call(l,s,r,o,a):i(s,r,o,a)):al(t,c+4)}function hl(t,e){const n=de();let i;const s=t+20;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new Error(`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[s]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,i.onDestroy)):i=n.data[s];const r=i.factory||(i.factory=kt(i.type)),o=tt(qr),a=hn(!1),l=r();return hn(a),tt(o),function(t,e,n,i){const s=n+20;s>=t.data.length&&(t.data[s]=null,t.blueprint[s]=null),e[s]=i}(n,ue(),t,l),l}function ul(t,e,n,i){const s=ue(),r=ee(s,t);return gl(s,pl(s,t)?ll(s,ye(),e,r.transform,n,i,r):r.transform(n,i))}function dl(t,e,n,i,s,r){const o=ue(),a=ee(o,t);return gl(o,pl(o,t)?cl(o,ye(),e,a.transform,n,i,s,r,a):a.transform(n,i,s,r))}function pl(t,e){return t[1].data[e+20].pure}function gl(t,e){return Lr.isWrapped(e)&&(e=Lr.unwrap(e),t[ce.lFrame.bindingIndex]=Li),e}const fl=class extends i.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let i,r=t=>null,o=()=>null;t&&"object"==typeof t?(i=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(r=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(o=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()}
1)):(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(i,r,o);return t instanceof s.a&&t.add(a),a}};function ml(){return this._results[Vr()]()}class bl{constructor(){this.dirty=!0,this._results=[],this.changes=new fl,this.length=0;const t=Vr(),e=bl.prototype;e[t]||(e[t]=ml)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=function t(e,n){void 0===n&&(n=e);for(let i=0;i<e.length;i++){let s=e[i];Array.isArray(s)?(n===e&&(n=e.slice(0,i)),t(s,n)):n!==e&&n.push(s)}return n}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class _l{constructor(t){this.queryList=t,this.matches=null}clone(){return new _l(this.queryList)}setDirty(){this.queryList.setDirty()}}class vl{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,i=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);i.push(this.queries[n.indexInDeclarationView].clone())}return new vl(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==Vl(t,e).matches&&this.queries[e].setDirty()}}class yl{constructor(t,e,n,i=null){this.predicate=t,this.descendants=e,this.isStatic=n,this.read=i}}class wl{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const i=null!==e?e.length:0,s=this.getByIndex(n).embeddedTView(t,i);s&&(s.indexInDeclarationView=n,null!==e?e.push(s):e=[s])}return null!==e?new wl(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Sl{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Sl(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){const e=this._declarationNodeIndex;let n=t.parent;for(;null!==n&&4===n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(t,e){if(Array.isArray(this.metadata.predicate)){const n=this.metadata.predicate;for(let i=0;i<n.length;i++)this.matchTNodeWithReadOption(t,e,Cl(e,n[i]))}else{const n=this.metadata.predicate;n===ka?0===e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,yn(e,t,n,!1,!1))}}matchTNodeWithReadOption(t,e,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===aa||i===Da||i===ka&&0===e.type)this.addMatch(e.index,-2);else{const n=yn(e,t,i,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function Cl(t,e){const n=t.localNames;if(null!==n)for(let i=0;i<n.length;i+=2)if(n[i]===e)return n[i+1];return null}function Ol(t,e,n,i){return-1===n?function(t,e){return 3===t.type||4===t.type?ur(aa,t,e):0===t.type?dr(ka,aa,t,e):null}(e,t):-2===n?function(t,e,n){return n===aa?ur(aa,e,t):n===ka?dr(ka,aa,e,t):n===Da?pr(Da,aa,e,t):void 0}(t,e,i):wn(t,t[1],n,e)}function Tl(t,e,n,i){const s=e[19].queries[i];if(null===s.matches){const i=t.data,r=n.matches,o=[];for(let t=0;t<r.length;t+=2){const s=r[t];o.push(s<0?null:Ol(e,i[s],r[t+1],n.metadata.read))}s.matches=o}return s.matches}function xl(t){const e=ue(),n=de(),i=xe();Ee(i+1);const s=Vl(n,i);if(t.dirty&&se(e)===s.metadata.isStatic){if(null===s.matches)t.reset([]);else{const r=s.crossesNgTemplate?function t(e,n,i,s){const r=e.queries.getByIndex(i),o=r.matches;if(null!==o){const a=Tl(e,n,r,i);for(let e=0;e<o.length;e+=2){const i=o[e];if(i>0)s.push(a[e/2]);else{const r=o[e+1],a=n[-i];for(let e=10;e<a.length;e++){const n=a[e];n[17]===n[3]&&t(n[1],n,r,s)}if(null!==a[9]){const e=a[9];for(let n=0;n<e.length;n++){const i=e[n];t(i[1],i,r,s)}}}}}return s}(n,e,i,[]):Tl(n,e,s,i);t.reset(r),t.notifyOnChanges()}return!0}return!1}function El(t,e,n){Pl(de(),ue(),t,e,n,!0)}function Ml(t,e,n){Pl(de(),ue(),t,e,n,!1)}function Pl(t,e,n,i,s,r){t.firstCreatePass&&(Nl(t,new yl(n,i,r,s),-1),r&&(t.staticViewQueries=!0)),Rl(t,e)}function Al(t,e,n,i){Il(de(),ue(),e,n,i,!1,ge(),t)}function kl(t,e,n,i){Il(de(),ue(),e,n,i,!0,ge(),t)}function Il(t,e,n,i,s,r,o,a){t.firstCreatePass&&(Nl(t,new yl(n,i,r,s),o.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(t.contentQueries.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(t,a),r&&(t.staticContentQueries=!0)),Rl(t,e)}function Dl(){return t=ue(),e=xe(),t[19].queries[e].queryList;var t,e}function Rl(t,e){const n=new bl;cs(t,e,n,n.destroy),null===e[19]&&(e[19]=new vl),e[19].queries.push(new _l(n))}function Nl(t,e,n){null===t.queries&&(t.queries=new wl),t.queries.track(new Sl(e,n))}function Vl(t,e){return t.queries.getByIndex(e)}function Ll(t,e){return dr(ka,aa,t,e)}function Hl(t=g.Default){const e=gr(!0);if(null!=e||t&g.Optional)return e;throw new Error("No provider for ChangeDetectorRef!")}
vendor: 10,080 bytes, line 1
1const jl=new $("Application Initializer");let Bl=(()=>{class t{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();ro(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(nt(jl,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();const Fl=new $("AppId"),Gl={provide:Fl,useFactory:function(){return`${Ul()}${Ul()}${Ul()}`},deps:[]};function Ul(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const zl=new $("Platform Initializer"),Wl=new $("Platform ID"),$l=new $("appBootstrapListener");let Xl=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();const Kl=new $("LocaleId"),ql=new $("DefaultCurrencyCode");class Ql{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Zl=function(t){return new tl(t)},Yl=Zl,Jl=function(t){return Promise.resolve(Zl(t))},tc=function(t){const e=Zl(t),n=ln(It(t).declarations).reduce((t,e)=>{const n=At(e);return n&&t.push(new ja(n)),t},[]);return new Ql(e,n)},ec=tc,nc=function(t){return Promise.resolve(tc(t))};let ic=(()=>{class t{constructor(){this.compileModuleSync=Yl,this.compileModuleAsync=Jl,this.compileModuleAndAllComponentsSync=ec,this.compileModuleAndAllComponentsAsync=nc}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();const sc=(()=>Promise.resolve(0))();function rc(t){"undefined"==typeof Zone?sc.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class oc{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new fl(!1),this.onMicrotaskEmpty=new fl(!1),this.onStable=new fl(!1),this.onError=new fl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=H.requestAnimationFrame,e=H.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(H,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,hc(t),cc(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),hc(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,i,s,r,o,a)=>{try{return uc(t),n.invokeTask(s,r,o,a)}finally{e&&"eventTask"===r.type&&e(),dc(t)}},onInvoke:(e,n,i,s,r,o,a)=>{try{return uc(t),e.invoke(i,s,r,o,a)}finally{dc(t)}},onHasTask:(e,n,i,s)=>{e.hasTask(i,s),n===i&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,hc(t),cc(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,i,s)=>(e.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!oc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(oc.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const s=this._inner,r=s.scheduleEventTask("NgZoneEvent: "+i,t,lc,ac,ac);try{return s.runTask(r,e,n)}finally{s.cancelTask(r)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function ac(){}const lc={};function cc(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 hc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function uc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function dc(t){t._nesting--,cc(t)}class pc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new fl,this.onMicrotaskEmpty=new fl,this.onStable=new fl,this.onError=new fl}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,i){return t.apply(e,n)}}let gc=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{oc.assertNotInAngularZone(),rc(()=>{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())rc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(nt(oc))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})(),fc=(()=>{class t{constructor(){this._applications=new Map,vc.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return vc.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();class mc{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function bc(t){vc=t}let _c,vc=new mc;const yc=new $("AllowMultipleToken");class wc{constructor(t,e){this.name=t,this.token=e}}function Sc(t,e,n=[]){const i="Platform: "+e,s=new $(i);return(e=[])=>{let r=Cc();if(!r||r.injector.get(yc,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:_r,useValue:"platform"});!function(t){if(_c&&!_c.destroyed&&!_c.injector.get(yc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");_c=t.get(Oc);const e=t.get(zl,null);e&&e.forEach(t=>t())}(Ir.create({providers:t,name:i}))}return function(t){const e=Cc();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function Cc(){return _c&&!_c.destroyed?_c:null}let Oc=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new pc:("zone.js"===t?void 0:t)||new oc({enableLongStackTrace:Xn(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),i=[{provide:oc,useValue:n}];return n.run(()=>{const e=Ir.create({providers:i,parent:this.injector,name:t.moduleType.name}),s=t.create(e),r=s.injector.get(An,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>Ec(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{r.handleError(t)}})),function(t,e,n){try{const i=n();return ro(i)?i.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(r,n,()=>{const t=s.injector.get(Bl);
1return t.runInitializers(),t.donePromise.then(()=>(Za(s.injector.get(Kl,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=Tc({},e);return function(t,e,n){const i=new tl(n);return Promise.resolve(i)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(xc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${M(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(nt(Ir))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();function Tc(t,e){return Array.isArray(e)?e.reduce(Tc,t):Object.assign(Object.assign({},t),e)}let xc=(()=>{class t{constructor(t,e,n,i,s,l){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=s,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Xn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const c=new r.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),h=new r.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{oc.assertNotInAngularZone(),rc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{oc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(c,h.pipe(Object(a.a)()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof sa?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(at),s=n.create(Ir.NULL,[],e||n.selector,i);s.onDestroy(()=>{this._unloadComponent(s)});const r=s.injector.get(gc,null);return r&&s.injector.get(fc).registerApplication(s.location.nativeElement,r),this._loadComponent(s),Xn()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Ec(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get($l,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),Ec(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(nt(oc),nt(Xl),nt(Ir),nt(An),nt(oa),nt(Bl))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();function Ec(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Mc{}class Pc{}const Ac={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let kc=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Ac}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split("#");return void 0===i&&(i="default"),n("zn8P")(e).then(t=>t[i]).then(t=>Ic(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split("#"),s="NgFactory";return void 0===i&&(i="default",s=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+s]).then(t=>Ic(t,e,i))}}return t.\u0275fac=function(e){return new(e||t)(nt(ic),nt(Pc,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();function Ic(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Dc=function(t){return null},Rc=Sc(null,"core",[{provide:Wl,useValue:"unknown"},{provide:Oc,deps:[Ir]},{provide:fc,deps:[]},{provide:Xl,deps:[]}]),Nc=[{provide:xc,useClass:xc,deps:[oc,Xl,Ir,An,oa,Bl]},{provide:Ha,deps:[oc],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Bl,useClass:Bl,deps:[[new u,jl]]},{provide:ic,useClass:ic,deps:[]},Gl,{provide:xa,useFactory:function(){return Pa},deps:[]},{provide:Ea,useFactory:function(){return Aa},deps:[]},{provide:Kl,useFactory:function(t){return Za(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new h(Kl),new u,new p]]},{provide:ql,useValue:"USD"}];let Vc=(()=>{class t{constructor(t){}}return t.\u0275mod=Tt({type:t}),t.\u0275inj=v({factory:function(e){return new(e||t)(nt(xc))},providers:Nc}),t})()},gRHU:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("2fFW"),s=n("NJ4a");const r={closed:!0,next(t){},error(t){if(i.a.useDeprecatedSynchronousErrorHandling)throw t;Object(s.a)(t)},complete(){}}},itXk:function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var i=n("z+Ro"),s=n("DH7j"),r=n("7o/Q");class o extends r.a{notifyNext(t,e,n,i,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class a extends r.a{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var l=n("SeVD"),c=n("HDdC");function h(t,e,n,i,s=new a(t,n,i)){if(!s.closed)return e instanceof c.a?e.
1subscribe(s):Object(l.a)(e)(s)}var u=n("yCtX");const d={};function p(...t){let e=void 0,n=void 0;return Object(i.a)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(s.a)(t[0])&&(t=t[0]),Object(u.a)(t,n).lift(new g(e))}class g{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new f(t,this.resultSelector))}}class f extends o{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(d),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n<e;n++)this.add(h(this,t[n],void 0,n))}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n){const i=this.values,s=this.toRespond?i[n]===d?--this.toRespond:this.toRespond:0;i[n]=e,0===s&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},j14s:function(t,e,n){"use strict";n.d(e,"d",(function(){return f})),n.d(e,"j",(function(){return m})),n.d(e,"h",(function(){return b})),n.d(e,"i",(function(){return _})),n.d(e,"l",(function(){return v})),n.d(e,"k",(function(){return y})),n.d(e,"a",(function(){return w})),n.d(e,"b",(function(){return A})),n.d(e,"f",(function(){return P})),n.d(e,"c",(function(){return E})),n.d(e,"e",(function(){return M})),n.d(e,"g",(function(){return x}));var i=n("fXoL"),s=n("jhN1"),r=n("FWMu");const o=new i.P("8.2.3");var a=n("dEu6"),l=n("XNiG"),c=(n("HDdC"),n("LSvS")),h=(n("JX91"),n("tkJt")),u=n("R1ws");n("3+Bf"),n("ofXK");const d=new i.P("8.2.3"),p=new i.r("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let g,f=(()=>{class t{constructor(t,e){this._sanityChecksEnabled=t,this._hammerLoader=e,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_areChecksEnabled(){return this._sanityChecksEnabled&&Object(i.X)()&&!this._isTestEnv()}_isTestEnv(){const t=this._window;return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._document||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){d.full!==o.full&&console.warn("The Angular Material version ("+d.full+") does not match the Angular CDK version ("+o.full+").\nPlease ensure the versions of these two packages exactly match.")}_checkHammerIsAvailable(){!this._hasCheckedHammer&&this._window&&(!this._areChecksEnabled()||this._window.Hammer||this._hammerLoader||console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)}}return t.\u0275mod=i.Kb({type:t}),t.\u0275inj=i.Jb({factory:function(e){return new(e||t)(i.Vb(p,8),i.Vb(s.d,8))},imports:[[r.a],r.a]}),t})();function m(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(a.b)(t)}}}function b(t,e){return class extends t{get color(){return this._color}set color(t){const n=t||e;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),n&&this._elementRef.nativeElement.classList.add("mat-"+n),this._color=n)}constructor(...t){super(...t),this.color=e}}}function _(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(a.b)(t)}}}function v(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?t:e}}}function y(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new l.a}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}try{g="undefined"!=typeof Intl}catch(k){g=!1}let w=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(i.Ib)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const S=function(){var t={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};return t[t.FADING_IN]="FADING_IN",t[t.VISIBLE]="VISIBLE",t[t.FADING_OUT]="FADING_OUT",t[t.HIDDEN]="HIDDEN",t}();class C{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=S.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const O={enterDuration:450,exitDuration:400},T=Object(c.f)({passive:!0});class x{constructor(t,e,n,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=t=>{const e=Object(h.g)(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||e||n||(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))},this._onTouchStart=t=>{if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let t=0;t<e.length;t++)this.fadeInRipple(e[t].clientX,e[t].clientY,this._target.rippleConfig)}},this._onPointerUp=()=>{this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEac
1h(t=>{!t.config.persistent&&(t.state===S.VISIBLE||t.config.terminateOnPointerUp&&t.state===S.FADING_IN)&&t.fadeOut()}))},i.isBrowser&&(this._containerElement=Object(a.d)(n),this._triggerEvents.set("mousedown",this._onMousedown).set("mouseup",this._onPointerUp).set("mouseleave",this._onPointerUp).set("touchstart",this._onTouchStart).set("touchend",this._onPointerUp).set("touchcancel",this._onPointerUp))}fadeInRipple(t,e,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign({},O,n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const r=n.radius||function(t,e,n){const i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),s=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+s*s)}(t,e,i),o=t-i.left,a=e-i.top,l=s.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=o-r+"px",c.style.top=a-r+"px",c.style.height=2*r+"px",c.style.width=2*r+"px",c.style.backgroundColor=n.color||null,c.style.transitionDuration=l+"ms",this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const h=new C(this,c,n);return h.state=S.FADING_IN,this._activeRipples.add(h),n.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(()=>{const t=h===this._mostRecentTransientRipple;h.state=S.VISIBLE,n.persistent||t&&this._isPointerDown||h.fadeOut()},l),h}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,i=Object.assign({},O,t.config.animation);n.style.transitionDuration=i.exitDuration+"ms",n.style.opacity="0",t.state=S.FADING_OUT,this._runTimeoutOutsideZone(()=>{t.state=S.HIDDEN,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){const e=Object(a.d)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(()=>{this._triggerEvents.forEach((t,n)=>{e.addEventListener(n,t,T)})}),this._triggerElement=e)}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_removeTriggerEvents(){this._triggerElement&&this._triggerEvents.forEach((t,e)=>{this._triggerElement.removeEventListener(e,t,T)})}}const E=new i.r("mat-ripple-global-options");let M=(()=>{class t{constructor(t,e,n,i,s){this._elementRef=t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new x(this,e,t,n),"NoopAnimations"===s&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign({},this._globalOptions.animation,this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign({},this.rippleConfig,n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign({},this.rippleConfig,t))}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.l),i.Mb(i.A),i.Mb(c.a),i.Mb(E,8),i.Mb(u.a,8))},t.\u0275dir=i.Hb({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&i.Eb("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),P=(()=>{class t{}return t.\u0275mod=i.Kb({type:t}),t.\u0275inj=i.Jb({factory:function(e){return new(e||t)},imports:[[f,c.b],f]}),t})();const A=new i.r("mat-label-global-options")},jZKg:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("HDdC"),s=n("quSY");function r(t,e){return new i.a(n=>{const i=new s.a;let r=0;return i.add(e.schedule((function(){r!==t.length?(n.next(t[r++]),n.closed||i.add(this.schedule())):n.complete()}
1))),i})}},ja3W:function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var i=n("fXoL"),s=n("P64T"),r=n("bhfF");let o=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Gb({type:t,selectors:[["app-banner-dm"]],decls:8,vars:0,consts:[[1,"banner-trigg-dm","flex","justify-center"],["href","https://blog.vocedm.com.br/dm-assume-a-operacao-de-cartoes-da-fintech-trigg","target","_blank",1,"link"],["src","/assets/images/www/home/banners/dmpag/container-desktop.png",1,"image-desktop"],["src","/assets/images/www/home/banners/dmpag/container-mobile.png",1,"image-mobile"],[1,"footer"],["src","/assets/images/www/home/banners/dmpag/footer-text-desktop.png",1,"footer-desktop"],["src","/assets/images/www/home/banners/dmpag/footer-text-mobile.png",1,"footer-mobile"]],template:function(t,e){1&t&&(i.Rb(0,"section",0),i.Rb(1,"a",1),i.Hc(2,"\xa0"),i.Qb(),i.Nb(3,"img",2),i.Nb(4,"img",3),i.Rb(5,"div",4),i.Nb(6,"img",5),i.Nb(7,"img",6),i.Qb(),i.Qb())},styles:[".banner-trigg-dm[_ngcontent-%COMP%]{width:100%;height:100vh;min-height:770px;background:url(/assets/images/www/home/banners/dmpag/bg-patter-green.jpg) 0 0;position:relative;display:flex;align-items:center;padding-left:24px;padding-right:24px}.banner-trigg-dm[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;bottom:0;z-index:100}.banner-trigg-dm[_ngcontent-%COMP%]   img.image-desktop[_ngcontent-%COMP%]{max-width:1199px;display:block;-o-object-fit:contain;object-fit:contain;padding-bottom:69px;position:relative;z-index:10}.banner-trigg-dm[_ngcontent-%COMP%]   img.image-mobile[_ngcontent-%COMP%]{display:none}.banner-trigg-dm[_ngcontent-%COMP%] > .footer[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%;height:189px;-o-object-fit:cover;object-fit:cover;background:url(/assets/images/www/home/banners/dmpag/bg-patter-pink-desktop.png) bottom repeat-x;background-size:cover;position:absolute;bottom:0;right:0;left:0}.banner-trigg-dm[_ngcontent-%COMP%] > .footer[_ngcontent-%COMP%]   img.footer-desktop[_ngcontent-%COMP%]{width:1199px;height:auto;padding-left:24px;padding-right:24px}.banner-trigg-dm[_ngcontent-%COMP%] > .footer[_ngcontent-%COMP%]   img.footer-mobile[_ngcontent-%COMP%]{display:none}@media only screen and (max-width:1024px){.banner-trigg-dm[_ngcontent-%COMP%]{padding-left:20px;padding-right:12px}.banner-trigg-dm[_ngcontent-%COMP%]   img.image-desktop[_ngcontent-%COMP%]{display:none}.banner-trigg-dm[_ngcontent-%COMP%]   img.image-mobile[_ngcontent-%COMP%]{max-width:400px;padding-bottom:100px;display:block}.banner-trigg-dm[_ngcontent-%COMP%] > .footer[_ngcontent-%COMP%]{height:140px}.banner-trigg-dm[_ngcontent-%COMP%] > .footer[_ngcontent-%COMP%]   img.footer-desktop[_ngcontent-%COMP%]{display:none}.banner-trigg-dm[_ngcontent-%COMP%] > .footer[_ngcontent-%COMP%]   img.footer-mobile[_ngcontent-%COMP%]{max-width:330px;display:block}}@media only screen and (max-width:768px){.banner-trigg-dm[_ngcontent-%COMP%]   img.image-mobile[_ngcontent-%COMP%]{padding-bottom:100px;display:block}.banner-trigg-dm[_ngcontent-%COMP%] > .footer[_ngcontent-%COMP%]{height:159px}}@media only screen and (max-width:450px){.banner-trigg-dm[_ngcontent-%COMP%]   img.image-mobile[_ngcontent-%COMP%]{max-width:464px}}"]}),t})();function a(t,e){1&t&&i.Nb(0,"app-banner-dm")}function l(t,e){if(1&t){const t=i.Sb();i.Rb(0,"section",3),i.Rb(1,"div",4),i.Rb(2,"div",5),i.Rb(3,"div",6),i.Rb(4,"div",7),i.Rb(5,"div"),i.Rb(6,"p",8),i.Hc(7," Quer saber como ficar em dia com a Trigg? "),i.Qb(),i.Rb(8,"p",9),i.Hc(9,"A gente te ajuda!"),i.Qb(),i.Qb(),i.Rb(10,"div"),i.Rb(11,"h1",10),i.Rb(12,"p",11),i.Rb(13,"span",12),i.Hc(14,"Negocie suas"),i.Qb(),i.Qb(),i.Rb(15,"p",13),i.Rb(16,"span",14),i.Hc(17,"Negocie suas"),i.Qb(),i.Qb(),i.Rb(18,"p",11),i.Rb(19,"span",12),i.Hc(20,"pend\xeancias"),i.Qb(),i.Qb(),i.Rb(21,"p",11),i.Rb(22,"span",12),i.Hc(23,"com at\xe9 90%"),i.Qb(),i.Qb(),i.Rb(24,"p",13),i.Rb(25,"span",14),i.Hc(26,"pend\xeancias com at\xe9 90%"),i.Qb(),i.Qb(),i.Rb(27,"p",13),i.Rb(28,"span",12),i.Hc(29,"de desconto!"),i.Qb(),i.Qb(),i.Qb(),i.Qb(),i.Rb(30,"div",15),i.Rb(31,"a",16),i.Yb("click",(function(){return i.vc(t),i.cc().sendEvent("botao_negociar_banner_home","negociar-divida","bt_saiba_mais_slide_trigg_friends",null)})),i.Rb(32,"span",17),i.Hc(33,"VEM CONVERSAR!"),i.Qb(),i.Qb(),i.Qb(),i.Qb(),i.Qb(),i.Qb(),i.Qb(),i.Qb()}}let c=(()=>{class t{constructor(t){this.coreService=t,this.urlPecaCartao="",this.customOptions={loop:!0,mouseDrag:!1,touchDrag:!0,pullDrag:!0,dots:!0,navSpeed:700,animateOut:"bounceOutRight",animateIn:"bounceInLeft",items:1,autoHeight:!0,navText:['<img class="w-auto" src="/assets/images/www/home/arrow_left.svg" alt="Seta esquerda">','<img class="w-auto" src="/assets/images/www/home/arrow_right.svg" alt="seta direita">'],responsive:{0:{items:1,autoplay:!1},400:{items:1,autoplay:!1},740:{items:1,autoplay:!1},940:{items:1,autoplay:!0,autoplayTimeout:1e4}},nav:!0},this.urlPecaCartao=t.validarDevice()}ngOnInit(){}scrollHome(t){this.coreService.scrollToElementPageAndAnchor(t)}sendEvent(t,e,n,i){this.coreService.eventEmitter(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(s.a))},t.\u0275cmp=i.Gb({type:t,selectors:[["app-somos-trigg"]],decls:4,vars:1,consts:[["id","somos-trigg-topo",1,"somos-trigg"],[3,"options"],["carouselSlide",""],[1,"somos-trigg","bg-img-slide","bg-img-slide-negocie","flex","justify-center"],[1,"container","sm:mx-6","md:mx-6","lg:mx-6"],[1,"lg:flex","lg:h-screen","height-mobile"],[1,"lg:w-2/3","lg:pt-0","pt-24","w-full","flex","self-center"],[1,"lg:pt-0","pt-2","banner-desc","flex","flex-col","gap-6"],[1,"text-white","max-w-xs","sm:pr-16","md:pr-16","lg:pr-16"],[1,"text-white","max-w-xs","pr-16"],[1,"font-bold","text-carousel","text-white","lg:pr-40","flex","flex-col","gap-1"],[1,"sm:block","md:block","lg:block","hidden"],[1,"bg-pink","text-white","rounded-md","uppercase","pt-2","px-2","sm:text-4xl","text-2xl"],[1,"sm:hidden","md:hidden","lg:hidden","block"],[1,"text-white","uppercase","pt-2","sm:text-4xl","text-2xl"],[1,"flex","lg:justify-start","justify-center"],["target","_blank","href","https://negocie.trigg.com.br/login/?utm_medium=display&utm_source=banner&utm_campaing=negocia&utm_id=banner_portal",1,"flex","bg-black","bt-main-trigg-slide","text-white",3,"click"],[1,"bold"]],template:function(t,e){1&t&&(i.Rb(0,"section",0),i.Rb(1,"owl-carousel-o",1),i.Fc(2,a,1,0,"ng-template",2),i.Fc(3,l,34,0,"ng-template",2),i.Qb(),i.Qb()),2&t&&(i.Bb(1),i.ic("options",e.customOptions))},directives:[r.a,r.c,o],styles:[".ngx-slider-span[_ngcontent-%COMP%]   .ngx-slider-selection[_ngcontent-%COMP%]{height:12px;background:#4bd992;background-repeat:no-repeat}  .custom-slider .ngx-slider .ngx-slider-selection{background:#4bd992}.bt-home[_ngcontent-%COMP%]{cursor:pointer}.bt-home.hidden[_ngcontent-%COMP%]{display:none!important}.bt-home[_ngcontent-%COMP%]:hover{background-color:#fff!important;color:#00bab3!important}.bt-home[_ngcontent-%COMP%]:hover   .hover-seta[_ngcontent-%COMP%]{color:#00bab3}.bt-home[_ngcontent-%COMP%]:hover   .normal-seta[_ngcontent-%COMP%]{display:none}.bt-home[_ngcontent-%COMP%]   .hover-seta[_ngcontent-%COMP%]{color:#fff}.bt-saiba-mais-home.hidden[_ngcontent-%COMP%]{display:none!important}.bt-saiba-mais-home[_ngcontent-%COMP%]:hover{background-color:#e2f7f6!important;color:#00bab3!important;border:1.5px solid #00bab3}.bt-saiba-mais-home[_ngcontent-%COMP%]:hover   .hover-seta[_ngcontent-%COMP%]{color:#00bab3}.bt-saiba-mais-home[_ngcontent-%COMP%]   .hover-seta[_ngcontent-%COMP%]{color:#fff}.letrasMiudas[_ngcontent-%COMP%]{font-size:10px}@media only screen and (min-width:1024px){.img-bolao[_ngcontent-%COMP%]{width:600px;overflow:hidden;position:relative}.img-bolao[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{position:relative;min-width:720px;left:-50px}}@media only screen and (min-width:768px){.box-content-white[_ngcontent-%COMP%]{max-width:180px;max-height:200px}}.bg-pink[_ngcontent-%COMP%]{color:#fff;background-color:#d8386c;height:55px;padding:8px 10px 0;margin-bottom:0;display:inline-flex;justify-content:center;align-items:center;border-radius:8px}@media screen and (max-width:767px){.bg-pink[_ngcontent-%COMP%]{height:40px;padding:5px 10px 0}}@media only screen and (max-width:766px){.img-bolao[_ngcontent-%COMP%]{z-index:9999;position:relative}.img-bolao[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{position:relative;
1left:5px}}@media screen and (max-width:1024px){h1.text-carousel[_ngcontent-%COMP%]{max-width:600px}}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{position:relative}.letras-pequenas1[_ngcontent-%COMP%]{position:absolute;left:-145px;bottom:200px;transform:rotate(270deg)}.letras-pequenas1[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{font-size:10px}.letras-pequenas2[_ngcontent-%COMP%]{position:absolute;right:-140px;top:270px;transform:rotate(270deg);display:none}.letras-pequenas2[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{font-size:10px}@media screen and (max-width:767px){.letras-pequenas1[_ngcontent-%COMP%]{display:none}.letras-pequenas2[_ngcontent-%COMP%]{display:block}}.bt-main-trigg-slide[_ngcontent-%COMP%]{width:300px;justify-content:center;align-self:center;font-size:14px;font-family:Roboto,sans-serif;border-radius:8px;height:60px;font-weight:500;letter-spacing:.92px}.bt-main-trigg-slide[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:flex;align-self:center}.bt-parcele[_ngcontent-%COMP%]{color:#fff;background-color:#000;border:2px solid #000}.bt-parcele[_ngcontent-%COMP%]:hover{background-color:#fff!important;color:#00bab3!important;border:2px solid transparent}.bt-saiba-mais-empresta[_ngcontent-%COMP%]{color:#fff;background-color:#000;border:2px solid #000}.bt-saiba-mais-empresta[_ngcontent-%COMP%]:hover{background-color:#fff!important;color:#00bab3!important;border:2px solid transparent}.somos-trigg.bg-img-slide[_ngcontent-%COMP%]{background-size:cover;height:auto}.somos-trigg.bg-img-slide.bg-img-slide-bf[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/bg_bf.png);background-size:cover;height:100vh;padding-bottom:93px}.somos-trigg.bg-img-slide[_ngcontent-%COMP%]   .title-slide-bf[_ngcontent-%COMP%]{font-family:gilroyExtrabold;font-size:40px;letter-spacing:0;color:#fff;text-transform:uppercase}.somos-trigg.bg-img-slide[_ngcontent-%COMP%]   .chamada-slide-bf[_ngcontent-%COMP%]{font-family:Nunito,sans-serif;font-size:20px;letter-spacing:0;color:#000;padding-top:16px}.somos-trigg.bg-img-slide[_ngcontent-%COMP%]   .data-campanha-slide-bf[_ngcontent-%COMP%]{padding-top:16px}.somos-trigg.bg-img-slide[_ngcontent-%COMP%]   .certificado-slide-bf[_ngcontent-%COMP%], .somos-trigg.bg-img-slide[_ngcontent-%COMP%]   .data-campanha-slide-bf[_ngcontent-%COMP%]{font-family:Nunito,sans-serif;font-size:13px;letter-spacing:0;color:#000}.somos-trigg.bg-img-slide.bg-img-slide-parcele[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/bg_main.png);background-size:cover}.somos-trigg.bg-img-slide.bg-img-slide-friends[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/bg_friends.png);background-size:cover}.somos-trigg.bg-img-slide.bg-img-slide-trigg-friends[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/banners/triggfriends/WEB-BANNERS-TF-05-2023\\ 1.png);background-size:cover}.somos-trigg.bg-img-slide.bg-img-slide-fatura-na-faixa[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/banners/faturaNaFaixa/bg.png);background-size:cover}.somos-trigg.bg-img-slide.bg-img-slide-assistencias[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/banners/assistencias/WEB-BANNER-ASSISTENCIAS-06-2023\\ 1.png);background-size:cover}.somos-trigg.bg-img-slide.bg-img-slide-depoimentos[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/banners/depoimentos/WEB-BANNER-LPCONEXOES-06-2023\\ 1.png);background-size:cover}.somos-trigg.bg-img-slide.bg-img-slide-negocie[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/banners/negociacao/WEB-BANNER-COBRANCAV2-06-2023\\ 1.png);background-size:cover}.somos-trigg.bg-img-slide.bg-img-slide-natal[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/bg_natal.jpg);background-size:100%;background-position:50%}.somos-trigg.bg-img-slide.bg-img-slide-lp[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/bg_lp.png)}.somos-trigg.bg-img-slide.bg-img-slide-home-protegida[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/bg_home_protegida.jpg)}.somos-trigg.bg-img-slide.bg-img-slide-trigg-empresta[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/bg_trigg_empresta.jpg)}.somos-trigg.bg-img-slide.bg-img-slide-dc[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/bg_dc.jpg)}.somos-trigg.bg-img-slide.bg-img-slide-balao[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/balao-da-sorte/bg-desktop.png);background-size:cover;height:100vh}@media only screen and (max-width:768px){.somos-trigg.bg-img-slide.bg-img-slide-balao[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/balao-da-sorte/bg-mobile.png);background-size:cover}}
1.somos-trigg.bg-img-slide.bg-img-slide-dmpag[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/banners/dmpag/bg-pattern.png);background-size:contain;background-position:-40px top;background-color:#d63a6b;height:100vh}.somos-trigg.bg-img-slide.bg-img-slide-dmpag[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:100vh;-o-object-fit:contain;object-fit:contain;-o-object-position:bottom center;object-position:bottom center}.somos-trigg.bg-img-slide.bg-img-slide-dmpag[_ngcontent-%COMP%]   img.img-desktop[_ngcontent-%COMP%]{display:block}.somos-trigg.bg-img-slide.bg-img-slide-dmpag[_ngcontent-%COMP%]   img.img-mobile[_ngcontent-%COMP%]{display:none}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .img-slide-friends[_ngcontent-%COMP%]{width:593px;height:483px;margin-top:30px}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .img-slide-parcele[_ngcontent-%COMP%]{width:593px;height:566px;margin-top:90px}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .img-slide-natal[_ngcontent-%COMP%]{width:100%;height:auto}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .img-slide-trigg-empresta[_ngcontent-%COMP%]{width:660px;height:auto}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .img-carrosel-base[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .img-carrosel-base[_ngcontent-%COMP%]   img.img-two[_ngcontent-%COMP%]{width:598px}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .p-slide-two[_ngcontent-%COMP%]{padding-left:9%}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .text-carousel[_ngcontent-%COMP%]{font-family:gilroyExtrabold;font-weight:900;font-size:54px;line-height:1.2}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .desc-carousel[_ngcontent-%COMP%]{font-size:20px;font-weight:600;font-family:Nunito,sans-serif;max-width:391px;line-height:1.2}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .desc-carousel.big-space[_ngcontent-%COMP%]{max-width:451px}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .desc-carousel.biggest-space[_ngcontent-%COMP%]{max-width:100%}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .desc-trigg-empresta[_ngcontent-%COMP%]{font-size:20px;font-weight:400;font-family:Nunito,sans-serif;color:#000;line-height:1.2}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .desc-secound-trigg-empresta[_ngcontent-%COMP%]{font-size:16px;font-weight:400;font-family:Nunito,sans-serif;color:#000;line-height:1.2}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .text-sm-carousel[_ngcontent-%COMP%]{font-size:22px;font-family:Nunito,sans-serif}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .main-topicos-slider-home[_ngcontent-%COMP%]{margin-top:30px;margin-bottom:50px}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .main-topicos-slider-home[_ngcontent-%COMP%]   .topicos-slider-home[_ngcontent-%COMP%]{margin-bottom:15px}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .main-topicos-slider-home[_ngcontent-%COMP%]   .topicos-slider-home[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:18px;color:#fff;font-weight:700;font-family:Nunito,sans-serif;margin-left:20px}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .main-topicos-slider-home[_ngcontent-%COMP%]   .topicos-slider-home[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-left:20px;letter-spacing:0;color:#232432;font-family:Nunito,sans-serif}.somos-trigg.bg-img-diagonal[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/bg-vazado-2.jpg);background-size:100%;height:auto}.black-light[_ngcontent-%COMP%]{color:#232432}@media (max-width:1720px){.somos-trigg.bg-img-slide[_ngcontent-%COMP%]{background-size:cover;height:auto}.somos-trigg.bg-img-slide.bg-img-slide-dmpag[_ngcontent-%COMP%]{background:none;background-color:#d63a6b}.somos-trigg.bg-img-slide.bg-img-slide-dmpag[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:auto;-o-object-position:bottom;object-position:bottom;-o-object-fit:cover;object-fit:cover}}
1@media (max-width:1366px){.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .img-carrosel-base[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:auto}}@media only screen and (max-width:768px){.somos-trigg[_ngcontent-%COMP%]   .height-mobile[_ngcontent-%COMP%], .somos-trigg[_ngcontent-%COMP%]   .height-mobile-2[_ngcontent-%COMP%]{height:100vh}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .p-slide-two[_ngcontent-%COMP%]{padding:0}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .img-carrosel-base[_ngcontent-%COMP%]{display:flex;justify-content:center}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .img-carrosel-base[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding:1rem}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .img-carrosel-base[_ngcontent-%COMP%]   img.img-two[_ngcontent-%COMP%]{position:relative;z-index:1;width:264px;padding:0;height:auto;bottom:0}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .text-carousel[_ngcontent-%COMP%]{font-size:28px;padding-top:0;width:100%;padding-left:20px}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .text-sm-carousel[_ngcontent-%COMP%]{font-size:17px;padding:0 20px}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .bt-main-trigg[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%;border-radius:0;left:0;height:65px;z-index:2}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .bt-main-trigg-slide[_ngcontent-%COMP%]{width:162px;position:relative;height:60px;z-index:2}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .img-slide-home-protegida[_ngcontent-%COMP%]{width:284px;height:303px;padding:0!important;margin-top:10px}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .img-slide-friends[_ngcontent-%COMP%]{width:342px;height:316px;padding:0!important;margin-top:30px}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .img-slide-trigg-empresta[_ngcontent-%COMP%]{width:375px;height:auto}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .img-slide-parcele[_ngcontent-%COMP%]{width:333px;height:318px;padding:0!important;margin-top:30px}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .main-topicos-slider-home[_ngcontent-%COMP%]{margin-top:15px;margin-left:5px;margin-bottom:30px}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .main-topicos-slider-home[_ngcontent-%COMP%]   .topicos-slider-home[_ngcontent-%COMP%]{margin-bottom:15px;height:30px}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .main-topicos-slider-home[_ngcontent-%COMP%]   .topicos-slider-home[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:30px}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .main-topicos-slider-home[_ngcontent-%COMP%]   .topicos-slider-home[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:15px;color:#fff;font-weight:700;font-family:Nunito,sans-serif;margin-left:20px}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .main-topicos-slider-home[_ngcontent-%COMP%]   .topicos-slider-home[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{display:none}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .desc-carousel[_ngcontent-%COMP%], .somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .desc-trigg-empresta[_ngcontent-%COMP%]{font-size:17px;padding-left:20px}.somos-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .desc-secound-trigg-empresta[_ngcontent-%COMP%]{font-size:14px;padding-left:20px}.somos-trigg.bg-img-slide.bg-img-slide-bf[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/bg_bf_mobile.png);background-size:cover;height:100vh;padding-bottom:50px}.somos-trigg.bg-img-slide[_ngcontent-%COMP%]   .title-slide-bf[_ngcontent-%COMP%]{font-size:32px;line-height:1.2}.somos-trigg.bg-img-slide[_ngcontent-%COMP%]   .chamada-slide-bf[_ngcontent-%COMP%]{font-size:18px;padding-top:10px}.somos-trigg.bg-img-slide[_ngcontent-%COMP%]   .data-campanha-slide-bf[_ngcontent-%COMP%]{font-size:10px;padding-top:10px}.somos-trigg.bg-img-slide[_ngcontent-%COMP%]   .certificado-slide-bf[_ngcontent-%COMP%]{font-size:10px}.somos-trigg.bg-img-slide.bg-img-slide-parcele[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/bg_main_mobile.png);background-size:cover;height:100vh}.somos-trigg.bg-img-slide.bg-img-slide-friends[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/bg_friends_mobile.png);background-size:cover;height:100vh}.somos-trigg.bg-img-slide.bg-img-slide-home-protegida[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/bg_home_protegida_mobile.png)}.somos-trigg.bg-img-slide.bg-img-slide-trigg-empresta[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/bg_trigg_empresta_mobile.jpg)}.somos-trigg.bg-img-slide.bg-img-slide-lp[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/bg_lp_mobile.png)}.somos-trigg.bg-img-slide.bg-img-slide-trigg-friends[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/banners/triggfriends/MOBILE-BANNERS-TF-05-2023\\ 1.png);background-size:cover;background-position:50% 50%}.somos-trigg.bg-img-slide.bg-img-slide-fatura-na-faixa[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/banners/faturaNaFaixa/bg-mobile-2.png);background-size:cover;background-position:50% 50%}.somos-trigg.bg-img-slide.bg-img-slide-assistencias[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/banners/assistencias/MOBILE-BANNER-ASSISTENCIAS-06-2023\\ 1.png);background-size:cover;background-position:50% 50%}.somos-trigg.bg-img-slide.bg-img-slide-depoimentos[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/banners/depoimentos/
1MOBILE-BANNER-LPCONEXOES-06-2023\\ 1.png);background-size:cover;background-position:50% 50%}.somos-trigg.bg-img-slide.bg-img-slide-negocie[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/banners/negociacao/MOBILE-BANNER-COBRANCAV2-06-2023\\ 1.png);background-size:cover;background-position:50% 50%}.somos-trigg.bg-img-slide.bg-img-slide-natal[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/bg_natal_mobile.png);background-size:100%;background-position:top}.somos-trigg.bg-img-slide.bg-img-slide-dc[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/bg_dc_mobile.png);background-size:cover;height:100vh}.somos-trigg.bg-img-slide.bg-img-slide-dmpag[_ngcontent-%COMP%]{background:url(/assets/images/www/home/banners/dmpag/bg-pattern.png) bottom;background-size:contain}.somos-trigg.bg-img-slide.bg-img-slide-dmpag[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:100vh}.somos-trigg.bg-img-slide.bg-img-slide-dmpag[_ngcontent-%COMP%]   img.img-desktop[_ngcontent-%COMP%]{display:none}.somos-trigg.bg-img-slide.bg-img-slide-dmpag[_ngcontent-%COMP%]   img.img-mobile[_ngcontent-%COMP%]{display:block}}.banner-desc[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.2rem}.banner-desc[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.4rem}.banner-desc[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{font-size:1rem}[class*=bt-][_ngcontent-%COMP%]:hover{background-color:#fff!important;color:#00bab3!important;border:2px solid transparent}@media only screen and (max-width:768px){.bt-main-trigg-slide[_ngcontent-%COMP%]{width:100%!important}.banner-desc[_ngcontent-%COMP%]{padding:0 20px}.banner-desc[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{padding-left:0!important}.banner-desc[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1rem}.banner-desc[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:1.2rem}.banner-desc[_ngcontent-%COMP%]   small[_ngcontent-%COMP%]{font-size:.9rem}.desc-mobile-end[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-end}}@media only screen and (max-width:660px){.somos-trigg[_ngcontent-%COMP%]   .bg-img-slide.bg-img-slide-dmpag[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:100vh;-o-object-position:bottom;object-position:bottom;-o-object-fit:cover;object-fit:cover}.somos-trigg[_ngcontent-%COMP%]   .bg-img-slide.bg-img-slide-dmpag[_ngcontent-%COMP%]   img.img-desktop[_ngcontent-%COMP%]{display:none}.somos-trigg[_ngcontent-%COMP%]   .bg-img-slide.bg-img-slide-dmpag[_ngcontent-%COMP%]   img.img-mobile[_ngcontent-%COMP%]{display:block}}"]}),t})(),h=(()=>{class t{constructor(t){this.date=t.getYearNow()}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(s.a))},t.\u0275cmp=i.Gb({type:t,selectors:[["app-tarifas-trigg"]],decls:43,vars:1,consts:[[1,"tarifas-trigg","bg-img-diagonal","flex","justify-center"],[1,"container","lg:flex"],[1,"lg:w-4/5","lg:m-auto","lg:p-20","sm:p-10","lg:flex","lg:self-center","mt-20","mb-20","w-full"],[1,"lg:w-full","text-center"],[1,"lg:w-full","text-white","leading-tight"],[1,"text-black"],[1,"mt-3","mb-6","lg:font-semibold","color-gray-dark"],[1,"border-solid","border-white","border-2","rounded-lg","mb-4"],[1,"tabela-tarifas","px-4"],[1,"flex","self-center"],[1,"font-title","lg:w-4/5","w-3/5","text-white","font-bold","border-table"],[1,"font-title","lg:w-1/5","w-2/5","text-white","font-bold","border-table"],[1,"font-value","lg:w-4/5","w-3/5","text-white","font-semibold","border-table"],[1,"font-value","lg:w-1/5","w-2/5","text-white","font-semibold","border-table"],[1,"font-value","lg:w-4/5","w-3/5","text-white","font-semibold"],[1,"font-value","lg:w-1/5","w-2/5","text-white","font-semibold"],[1,"mb-4","lg:font-semibold","text-white","text-center"],[1,"flex","justify-center","gap-4"],["href","https://conteudo2.trigg.com.br/cartao/contrato.pdf","target","_blank",1,"w-1/2","lg:mr-2","lg:mb-0","mb-4","bt-contrato","text-black","border-solid","border-2","border-black","rounded-lg","items-center"]],template:function(t,e){1&t&&(i.Rb(0,"section",0),i.Rb(1,"div",1),i.Rb(2,"div",2),i.Rb(3,"div",3),i.Rb(4,"h1",4),i.Hc(5,"Tarifas dos Cart\xf5es "),i.Rb(6,"span",5),i.Hc(7,"Trigg"),i.Qb(),i.Qb(),i.Rb(8,"h2",6),i.Hc(9),i.Qb(),i.Rb(10,"div",7),i.Rb(11,"div",8),i.Rb(12,"div",9),i.Rb(13,"div",10),i.Hc(14,"Tarifa"),i.Qb(),i.Rb(15,"div",11),i.Hc(16,"Valor"),i.Qb(),i.Qb(),i.Rb(17,"div",9),i.Rb(18,"div",12),i.Hc(19,"Anuidade"),i.Qb(),i.Rb(20,"div",13),i.Hc(21,"R$ 19,90/m\xeas"),i.Qb(),i.Qb(),i.Rb(22,"div",9),i.Rb(23,"div",12),i.Hc(24,"Saque Nacional"),i.Qb(),i.Rb(25,"div",13),i.Hc(26,"R$ 10,00"),i.Qb(),i.Qb(),i.Rb(27,"div",9),i.Rb(28,"div",12),i.Hc(29,"S
1aque Internacional"),i.Qb(),i.Rb(30,"div",13),i.Hc(31,"R$ 10,00"),i.Qb(),i.Qb(),i.Rb(32,"div",9),i.Rb(33,"div",14),i.Hc(34,"Emiss\xe3o de cart\xe3o"),i.Qb(),i.Rb(35,"div",15),i.Hc(36,"R$ 29,90/un."),i.Qb(),i.Qb(),i.Qb(),i.Qb(),i.Rb(37,"h2",16),i.Hc(38,"Todos os cart\xf5es Trigg s\xe3o Visa Gold Internacional"),i.Qb(),i.Rb(39,"div",17),i.Rb(40,"a",18),i.Rb(41,"span"),i.Hc(42,"Contrato"),i.Qb(),i.Qb(),i.Qb(),i.Qb(),i.Qb(),i.Qb(),i.Qb()),2&t&&(i.Bb(9),i.Jc("Tarifas vigentes ",e.date,""))},styles:[".ngx-slider-span[_ngcontent-%COMP%]   .ngx-slider-selection[_ngcontent-%COMP%]{height:12px;background:#4bd992;background-repeat:no-repeat}  .custom-slider .ngx-slider .ngx-slider-selection{background:#4bd992}.bt-home[_ngcontent-%COMP%]{cursor:pointer}.bt-home.hidden[_ngcontent-%COMP%]{display:none!important}.bt-home[_ngcontent-%COMP%]:hover{background-color:#fff!important;color:#00bab3!important}.bt-home[_ngcontent-%COMP%]:hover   .hover-seta[_ngcontent-%COMP%]{color:#00bab3}.bt-home[_ngcontent-%COMP%]:hover   .normal-seta[_ngcontent-%COMP%]{display:none}.bt-home[_ngcontent-%COMP%]   .hover-seta[_ngcontent-%COMP%]{color:#fff}.bt-saiba-mais-home.hidden[_ngcontent-%COMP%]{display:none!important}.bt-saiba-mais-home[_ngcontent-%COMP%]:hover{background-color:#e2f7f6!important;color:#00bab3!important;border:1.5px solid #00bab3}.bt-saiba-mais-home[_ngcontent-%COMP%]:hover   .hover-seta[_ngcontent-%COMP%]{color:#00bab3}.bt-saiba-mais-home[_ngcontent-%COMP%]   .hover-seta[_ngcontent-%COMP%]{color:#fff}.letrasMiudas[_ngcontent-%COMP%]{font-size:10px}.tarifas-trigg.bg-img-diagonal[_ngcontent-%COMP%]{background-image:url(/assets/images/www/home/bg-vazado-2.jpg);background-size:100%;height:100vh}.tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-family:gilroyExtrabold;font-weight:900;font-size:48px}.tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{letter-spacing:0;font-family:Nunito,sans-serif}.tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   h2.color-gray-dark[_ngcontent-%COMP%]{color:#232432;font-size:18px}.tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   h2.text-white[_ngcontent-%COMP%]{font-size:18px}.tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .tabela-tarifas[_ngcontent-%COMP%]   .font-title[_ngcontent-%COMP%]{font-size:16px;font-family:gilroyExtrabold}.tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .tabela-tarifas[_ngcontent-%COMP%]   .font-value[_ngcontent-%COMP%]{font-size:15px;font-family:Nunito,sans-serif}.tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .tabela-tarifas[_ngcontent-%COMP%]   .border-table[_ngcontent-%COMP%]{border-bottom:1px solid #fff}.tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .tabela-tarifas[_ngcontent-%COMP%]   .font-title[_ngcontent-%COMP%], .tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .tabela-tarifas[_ngcontent-%COMP%]   .font-value[_ngcontent-%COMP%]{padding:1rem 0}.tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .bt-contrato[_ngcontent-%COMP%], .tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .bt-cotacao-dolar[_ngcontent-%COMP%]{display:flex;justify-content:center;font-size:14px;border-radius:8px;font-weight:500;font-family:Roboto,sans-serif;width:210px;height:60px}.tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .bt-contrato[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], .tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .bt-cotacao-dolar[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{align-self:center}.tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .bt-contrato[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .bt-cotacao-dolar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:24px;height:24px}.tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .bt-contrato[_ngcontent-%COMP%]:hover, .tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .bt-cotacao-dolar[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.1)}@media only screen and (max-width:768px){.tarifas-trigg.bg-img-diagonal[_ngcontent-%COMP%]{height:auto}.tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{padding:0 1rem}.tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px}.tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   h2.color-gray-dark[_ngcontent-%COMP%]{font-size:16px}.tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   h2.text-white[_ngcontent-%COMP%]{font-size:14px}.tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .image-tarifas[_ngcontent-%COMP%]{max-width:365px;height:314px}.tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .bt-contrato[_ngcontent-%COMP%], .tarifas-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .bt-cotacao-dolar[_ngcontent-%COMP%]{width:100%}}"]}),t})();var u=n("tyNb"),d=n("TY1r");let p=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Gb({type:t,selectors:[["app-sobre-trigg"]],decls:35,vars:0,consts:[[1,"sobre-tr
1igg","lg:py-32","flex","justify-center"],[1,"container","bg-white","lg:flex","rounded-lg"],[1,"lg:w-1/2","w-full","lg:rounded-l-lg","rounded-t-lg"],["src","/assets/images/www/home/evento-trigg.jpg","alt","Evento Trigg",1,"lg:rounded-l-lg"],[1,"lg:w-1/2","lg:p-10","w-full","flex","self-center","lg:rounded-r-lg","rounded-b-lg"],[1,"leading-tight","mb-2"],[1,"primary"],[1,"text","lg:mb-8","mb-4"],[1,"img-topic","flex"],["src","/assets/images/www/produtos/tick.svg",1,"mr-4"],[1,"hastag","font-bold","lg:mt-4","hidden","lg:mb-10","mb-6"],["routerLink","/sobre-nos","href","",1,"bt-saiba-mais","bt-home","bt-saiba-mais-home","text-white"],["aria-hidden","false","aria-label","right icon",1,"mx-2","hover-seta","flex","self-center"]],template:function(t,e){1&t&&(i.Rb(0,"section",0),i.Rb(1,"div",1),i.Rb(2,"div",2),i.Nb(3,"img",3),i.Qb(),i.Rb(4,"div",4),i.Rb(5,"div"),i.Rb(6,"h1",5),i.Hc(7,"Vivemos "),i.Rb(8,"span",6),i.Hc(9,"tecnologia!"),i.Qb(),i.Qb(),i.Rb(10,"div",7),i.Rb(11,"div",8),i.Nb(12,"img",9),i.Rb(13,"div"),i.Hc(14,"Compartilhamos nossa cultura e aprendizados"),i.Qb(),i.Qb(),i.Rb(15,"div",8),i.Nb(16,"img",9),i.Rb(17,"div"),i.Hc(18,"Estamos sempre em busca do diferente"),i.Qb(),i.Qb(),i.Rb(19,"div",8),i.Nb(20,"img",9),i.Rb(21,"div"),i.Hc(22,"Queremos transformar o mercado financeiro com tecnologia digital"),i.Qb(),i.Qb(),i.Rb(23,"div",8),i.Nb(24,"img",9),i.Rb(25,"div"),i.Hc(26,"Trabalhamos para descomplicar sua vida financeira"),i.Qb(),i.Qb(),i.Qb(),i.Rb(27,"p",10),i.Hc(28,"#Viva o seu "),i.Rb(29,"span",6),i.Hc(30,"melhor lado!"),i.Qb(),i.Qb(),i.Rb(31,"a",11),i.Hc(32,"Quem somos"),i.Rb(33,"mat-icon",12),i.Hc(34,"east "),i.Qb(),i.Qb(),i.Qb(),i.Qb(),i.Qb(),i.Qb())},directives:[u.f,d.a],styles:[".ngx-slider-span[_ngcontent-%COMP%]   .ngx-slider-selection[_ngcontent-%COMP%]{height:12px;background:#4bd992;background-repeat:no-repeat}  .custom-slider .ngx-slider .ngx-slider-selection{background:#4bd992}.bt-home[_ngcontent-%COMP%]{cursor:pointer}.bt-home.hidden[_ngcontent-%COMP%]{display:none!important}.bt-home[_ngcontent-%COMP%]:hover{background-color:#fff!important;color:#00bab3!important}.bt-home[_ngcontent-%COMP%]:hover   .hover-seta[_ngcontent-%COMP%]{color:#00bab3}.bt-home[_ngcontent-%COMP%]:hover   .normal-seta[_ngcontent-%COMP%]{display:none}.bt-home[_ngcontent-%COMP%]   .hover-seta[_ngcontent-%COMP%]{color:#fff}.bt-saiba-mais-home.hidden[_ngcontent-%COMP%]{display:none!important}.bt-saiba-mais-home[_ngcontent-%COMP%]:hover{background-color:#e2f7f6!important;color:#00bab3!important;border:1.5px solid #00bab3}.bt-saiba-mais-home[_ngcontent-%COMP%]:hover   .hover-seta[_ngcontent-%COMP%]{color:#00bab3}.bt-saiba-mais-home[_ngcontent-%COMP%]   .hover-seta[_ngcontent-%COMP%]{color:#fff}.letrasMiudas[_ngcontent-%COMP%]{font-size:10px}.sobre-trigg[_ngcontent-%COMP%]{background-color:#f0f2f5}.sobre-trigg[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{color:#29292b;font-family:gilroyExtrabold;font-weight:900;font-size:48px;letter-spacing:0}.sobre-trigg[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{letter-spacing:0}.sobre-trigg[_ngcontent-%COMP%]   .hastag[_ngcontent-%COMP%], .sobre-trigg[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{color:#29292b;font-size:18px;font-family:Nunito,sans-serif}.sobre-trigg[_ngcontent-%COMP%]   .primary[_ngcontent-%COMP%]{color:#00bab3}.sobre-trigg[_ngcontent-%COMP%]   .bt-saiba-mais[_ngcontent-%COMP%]{background-color:#00bab3;display:flex;width:74%;justify-content:center;padding:1rem 0;font-size:18px;border-radius:5px;font-weight:600;font-family:Nunito,sans-serif;border:1.5px solid #00bab3}.sobre-trigg[_ngcontent-%COMP%]   .img-topic[_ngcontent-%COMP%]{align-self:start;font-size:16px}.sobre-trigg[_ngcontent-%COMP%]   .img-topic[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:35px;height:35px;top:-7px;position:relative}@media only screen and (max-width:768px){.sobre-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{margin:95px 10px}.sobre-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:28px;padding:50px 10px 0}.sobre-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px;padding:0 10px}
1.sobre-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{border-radius:10px 10px 0 0}.sobre-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .hastag[_ngcontent-%COMP%]{font-size:16px;padding:0 10px}.sobre-trigg[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .bt-saiba-mais[_ngcontent-%COMP%]{width:96%;margin:0 2% 50px}.sobre-trigg[_ngcontent-%COMP%]   .img-topic[_ngcontent-%COMP%]{height:auto;align-self:start;font-size:14px;padding-left:15px}.sobre-trigg[_ngcontent-%COMP%]   .img-topic[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{top:1px;position:relative;margin-bottom:7px}}"]}),t})();var g=n("ofXK");function f(t,e){if(1&t){const t=i.Sb();i.Rb(0,"div",1),i.Rb(1,"div",2),i.Rb(2,"div",3),i.Nb(3,"img",4),i.Qb(),i.Rb(4,"div",5),i.Rb(5,"h1",6),i.Hc(6,"AVISO IMPORTANTE"),i.Qb(),i.Qb(),i.Rb(7,"div",7),i.Rb(8,"p"),i.Hc(9,"Devido ao cen\xe1rio de chuvas intensas em "),i.Rb(10,"strong"),i.Hc(11,"algumas regi\xf5es do Brasil"),i.Qb(),i.Hc(12,", seu Trigg "),i.Rb(13,"strong"),i.Hc(14,"pode"),i.Qb(),i.Hc(15," levar um tempo maior para chegar."),i.Qb(),i.Rb(16,"p",5),i.Hc(17,"Nosso time segue trabalhando para agilizar a sua entrega."),i.Qb(),i.Rb(18,"p",5),i.Hc(19,"Contamos com a sua compreens\xe3o!"),i.Qb(),i.Rb(20,"p",5),i.Hc(21,"#BeTrigg"),i.Qb(),i.Qb(),i.Rb(22,"div",8),i.Rb(23,"button",9),i.Yb("click",(function(){return i.vc(t),i.cc().hiddenModal()})),i.Hc(24,"Fechar"),i.Qb(),i.Qb(),i.Qb(),i.Qb()}}let m=(()=>{class t{constructor(){}ngOnInit(){this.ativo=!1}hiddenModal(){this.ativo=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Gb({type:t,selectors:[["app-modal-aviso"]],decls:1,vars:1,consts:[["class","base-modal lg:flex justify-center items-center",4,"ngIf"],[1,"base-modal","lg:flex","justify-center","items-center"],[1,"modal"],[1,"flex","justify-center"],["src","/assets/images/www/home/mapa.png","alt",""],[1,"mt-2"],[1,"text-center"],[1,"mt-4","text-center"],[1,"lg:mt-5","mt-10","flex","justify-center"],[3,"click"]],template:function(t,e){1&t&&i.Fc(0,f,25,0,"div",0),2&t&&i.ic("ngIf",e.ativo)},directives:[g.l],styles:[".base-modal[_ngcontent-%COMP%]{width:100%;height:100vh;position:fixed;top:0;background:rgba(0,0,0,.7);z-index:90}.base-modal[_ngcontent-%COMP%]   .modal[_ngcontent-%COMP%]{width:590px;height:459px;background-color:#fff;border-radius:15px;padding:40px 24px}.base-modal[_ngcontent-%COMP%]   .modal[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-size:20px;font-weight:700;color:#00bab3}.base-modal[_ngcontent-%COMP%]   .modal[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:Nunito,sans-serif;font-size:15px;color:#9397a3}.base-modal[_ngcontent-%COMP%]   .modal[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;font-weight:500;font-size:14px;width:189px;height:52px;color:#fff;background:#00bab3;border-radius:8px;display:flex;justify-content:center;align-items:center;border:1px solid #00bab3}.base-modal[_ngcontent-%COMP%]   .modal[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover{background-color:#fff;color:#00bab3}@media only screen and (max-width:768px){.base-modal[_ngcontent-%COMP%]{padding:20px}.base-modal[_ngcontent-%COMP%]   .modal[_ngcontent-%COMP%]{width:100%;height:auto;padding:40px 22px}.base-modal[_ngcontent-%COMP%]   .modal[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{width:221px}}"]}),t})(),b=(()=>{class t{constructor(t){this.coreService=t,this.coreAux=t}ngOnInit(){this.coreAux.scrollToElementPageAndAnchor("1")}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(s.a))},t.\u0275cmp=i.Gb({type:t,selectors:[["app-home"]],decls:4,vars:0,consts:[["id","1"]],template:function(t,e){1&t&&(i.Nb(0,"app-somos-trigg",0),i.Nb(1,"app-tarifas-trigg"),i.Nb(2,"app-sobre-trigg"),i.Nb(3,"app-modal-aviso"))},directives:[c,h,p,m],styles:[""]}),t})()},jhN1:function(t,e,n){"use strict";n.d(e,"a",(function(){return j})),n.d(e,"b",(function(){return D})),n.d(e,"c",(function(){return p})),n.d(e,"d",(function(){return x})),n.d(e,"e",(function(){return E})),n.d(e,"f",(function(){return F})),n.d(e,"g",(function(){return U})),n.d(e,"h",(function(){return L})),n.d(e,"i",(function(){return w}));var i=n("ofXK"),s=n("fXoL");class r extends i.v{constructor(){super()}supportsDOMEvents(){return!0}}class o extends r{static makeCurrent(){Object(i.z)(new o)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=l||(l=document.querySelector("base"),l)?l.getAttribute("href"):null;return null==e?null:(n=e,a||(a=document.createElement("a")),a.setAttribute("href",n),"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname);var n}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Object(i.y)(document.cookie,t)}}let a,l=null;const c=new s.r("TRANSITION_ID"),h=[{provide:s.d,useFactory:function(t,e,n){return()=>{n.get(s.e).donePromise.then(()=>{const n=Object(i.x)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[c,i.d,s.s],multi:!0}];class u{static init(){Object(s.Z)(new u)}addToWindow(t){s.qb.getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},s.qb.getAllAngularTestabilities=()=>t.getAllTestabilities(),s.qb.getAllAngularRootElements=()=>t.getAllRootElements(),s.qb.frameworkStabilizers||(s.qb.frameworkStabilizers=[]),s.qb.frameworkStabilizers.push(t=>{const e=s.qb.getAllAngularTestabilities();let n=e.length,i=!1;const r=function(e){i=i||e,n--,0==n&&t(i)};e.forEach((function(t){t.whenStable(r)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const s=t.getTestability(e);return null!=s?s:n?Object(i.x)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const d=new s.r("EventManagerPlugins");let p=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let i=0;i<n.length;i++){const e=n[i];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error("No event manager plugin found for event "+t)}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(d),s.Vb(s.A))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})();class g{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const s=Object(i.x)().getGlobalEventTarget(this._doc,t);if(!s)throw new Error(`Unsupported event target ${s} for event ${e}`);return this.addEventListener(s,e,n)}}let f=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})(),m=(()=>{class t extends f{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}
1onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Object(i.x)().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(i.d))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})();const b={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/"},_=/%COMP%/g;function v(t,e,n){for(let i=0;i<e.length;i++){let s=e[i];Array.isArray(s)?v(t,s,n):(s=s.replace(_,t),n.push(s))}return n}function y(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let w=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new S(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case s.R.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new C(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case s.R.Native:case s.R.ShadowDom:return new O(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=v(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(p),s.Vb(m),s.Vb(s.c))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})();class S{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(b[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+":"+e;const s=b[i];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=b[n];i?t.removeAttributeNS(i,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,i){i&s.H.DashCase?t.style.setProperty(e,n,i&s.H.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&s.H.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,y(n)):this.eventManager.addEventListener(t,e,y(n))}}class C extends S{constructor(t,e,n,i){super(t),this.component=n;const s=v(i+"-"+n.id,n.styles,[]);e.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(_,i+"-"+n.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(_,t)}(i+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class O extends S{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=i,this.shadowRoot=i.encapsulation===s.R.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const r=v(i.id,i.styles,[]);for(let s=0;s<r.length;s++){const t=document.createElement("style");t.textContent=r[s],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let T=(()=>{class t extends g{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(i.d))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})();
1const x=new s.r("HammerLoader");let E=(()=>{class t{constructor(){this.events=[],this.overrides={}}buildHammer(t){const e=new Hammer(t,this.options);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(const n in this.overrides)e.get(n).set(this.overrides[n]);return e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})();const M=["alt","control","meta","shift"],P={"\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"},A={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},k={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let I=(()=>{class t extends g{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,s){const r=t.parseEventName(n),o=t.eventCallback(r.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(i.x)().onAndCancel(e,r.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const s=t._normalizeKey(n.pop());let r="";return M.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),r+=t+".")}),r+=s,0!=n.length||0===s.length?null:{domEventName:i,fullKey:r}}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&A.hasOwnProperty(e)&&(e=A[e]))}return P[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),M.forEach(i=>{i!=n&&(0,k[i])(t)&&(e+=i+".")}),e+=n,e}static eventCallback(e,n,i){return s=>{t.getEventFullKey(s)===e&&i.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(i.d))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})(),D=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(s.Ib)({factory:function(){return Object(s.Vb)(N)},token:t,providedIn:"root"}),t})();function R(t){return new N(t.get(i.d))}let N=(()=>{class t extends D{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case s.J.NONE:return e;case s.J.HTML:return Object(s.fb)(e,"HTML")?Object(s.xb)(e):Object(s.db)(this._doc,String(e));case s.J.STYLE:return Object(s.fb)(e,"Style")?Object(s.xb)(e):e;case s.J.SCRIPT:if(Object(s.fb)(e,"Script"))return Object(s.xb)(e);throw new Error("unsafe value used in a script context");case s.J.URL:return Object(s.pb)(e),Object(s.fb)(e,"URL")?Object(s.xb)(e):Object(s.eb)(String(e));case s.J.RESOURCE_URL:if(Object(s.fb)(e,"ResourceURL"))return Object(s.xb)(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return Object(s.gb)(t)}bypassSecurityTrustStyle(t){return Object(s.jb)(t)}bypassSecurityTrustScript(t){return Object(s.ib)(t)}bypassSecurityTrustUrl(t){return Object(s.kb)(t)}bypassSecurityTrustResourceUrl(t){return Object(s.hb)(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(i.d))},t.\u0275prov=Object(s.Ib)({factory:function(){return R(Object(s.Vb)(s.o))},token:t,providedIn:"root"}),t})();const V=[{provide:s.C,useValue:i.w},{provide:s.D,useValue:function(){o.makeCurrent(),u.init()},multi:!0},{provide:i.d,useFactory:function(){return Object(s.vb)(document),document},deps:[]}],L=Object(s.S)(s.Y,"browser",V),H=[[],{provide:s.bb,useValue:"root"},{provide:s.m,useFactory:function(){return new s.m},deps:[]},{provide:d,useClass:T,multi:!0,deps:[i.d,s.A,s.C]},{provide:d,useClass:I,multi:!0,deps:[i.d]},[],{provide:w,useClass:w,deps:[p,m,s.c]},{provide:s.G,useExisting:w},{provide:f,useExisting:m},{provide:m,useClass:m,deps:[i.d]},{provide:s.N,useClass:s.N,deps:[s.A]}
1,{provide:p,useClass:p,deps:[d,s.A]},[]];let j=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:s.c,useValue:e.appId},{provide:c,useExisting:s.c},h]}}}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)(s.Vb(t,12))},providers:H,imports:[i.b,s.f]}),t})();function B(){return new F(Object(s.Vb)(i.d))}let F=(()=>{class t{constructor(t){this._doc=t,this._dom=Object(i.x)()}addTag(t,e=!1){return t?this._getOrCreateElement(t,e):null}addTags(t,e=!1){return t?t.reduce((t,n)=>(n&&t.push(this._getOrCreateElement(n,e)),t),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];const e=this._doc.querySelectorAll(`meta[${t}]`);return e?[].slice.call(e):[]}updateTag(t,e){if(!t)return null;e=e||this._parseSelector(t);const n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,e=!1){if(!e){const e=this._parseSelector(t),n=this.getTag(e);if(n&&this._containsAttributes(t,n))return n}const n=this._dom.createElement("meta");return this._setMetaElementAttributes(t,n),this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(t,e){return Object.keys(t).forEach(n=>e.setAttribute(n,t[n])),e}_parseSelector(t){const e=t.name?"name":"property";return`${e}="${t[e]}"`}_containsAttributes(t,e){return Object.keys(t).every(n=>e.getAttribute(n)===t[n])}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(i.d))},t.\u0275prov=Object(s.Ib)({factory:B,token:t,providedIn:"root"}),t})();function G(){return new U(Object(s.Vb)(i.d))}let U=(()=>{class t{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(i.d))},t.\u0275prov=Object(s.Ib)({factory:G,token:t,providedIn:"root"}),t})();"undefined"!=typeof window&&window},kJWO:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},lJxs:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("7o/Q");function s(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new r(t,e))}}
1class r{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends i.a{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},mCNh:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return r}));var i=n("SpAZ");function s(...t){return r(t)}function r(t){return 0===t.length?i.a:1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}}},mgaL:function(t,e,n){"use strict";n.d(e,"a",(function(){return ut})),n.d(e,"b",(function(){return ct}));var i=n("XNiG"),s=n("7o/Q"),r=n("D0XW");n("zx2A");const o={leading:!0,trailing:!1};function a(t,e=r.a,n=o){return i=>i.lift(new l(t,e,n.leading,n.trailing))}class l{constructor(t,e,n,i){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=i}call(t,e){return e.subscribe(new c(t,this.duration,this.scheduler,this.leading,this.trailing))}}class c extends s.a{constructor(t,e,n,i,s){super(t),this.duration=e,this.scheduler=n,this.leading=i,this.trailing=s,this._hasTrailingValue=!1,this._trailingValue=null}_next(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(h,this.duration,{subscriber:this})),this.leading?this.destination.next(t):this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0))}_complete(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}clearThrottle(){const t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)}}function h(t){const{subscriber:e}=t;e.clearThrottle()}var u=n("vkgz"),d=n("/uUt"),p=n("pLZG"),g="undefined"!=typeof window?window:{screen:{},navigator:{}},f=(g.matchMedia||function(){return{matches:!1}}).bind(g),m=!1,b=function(){};g.addEventListener&&g.addEventListener("p",b,{get passive(){return m=!0}}),g.removeEventListener&&g.removeEventListener("p",b,!1);var _=m,v="ontouchstart"in g,y=(v||"TouchEvent"in g&&f("(any-pointer: coarse)"),g.navigator.userAgent||""),w=(f("(pointer: coarse)").matches&&/iPad|Macintosh/.test(y)&&Math.min(g.screen.width||0,g.screen.height||0),(f("(pointer: coarse)").matches||!f("(pointer: fine)").matches&&v)&&/Windows.*Firefox/.test(y),f("(any-pointer: fine)").matches||f("(any-hover: hover)"),n("fXoL")),S=n("3Pt+"),C=n("ofXK");const O=["tooltipTemplate"],T=["leftOuterSelectionBar"],x=["rightOuterSelectionBar"],E=["fullBar"],M=["selectionBar"],P=["minHandle"],A=["maxHandle"],k=["floorLabel"],I=["ceilLabel"],D=["minHandleLabel"],R=["maxHandleLabel"],N=["combinedLabel"],V=["ticksElement"];function L(t,e){if(1&t&&w.Nb(0,"ngx-slider-tooltip-wrapper",31),2&t){const t=w.cc().$implicit,e=w.cc();w.ic("template",e.tooltipTemplate)("tooltip",t.valueTooltip)("placement",t.valueTooltipPlacement)("content",t.value)}}function H(t,e){if(1&t&&w.Nb(0,"span",32),2&t){const t=w.cc().$implicit;w.ic("innerHTML",t.legend,w.wc)}}const j=function(t){return{"ngx-slider-selected":t}};function B(t,e){if(1&t&&(w.Rb(0,"span",27),w.Nb(1,"ngx-slider-tooltip-wrapper",28),w.Fc(2,L,1,4,"ngx-slider-tooltip-wrapper",29),w.Fc(3,H,1,1,"span",30),w.Qb()),2&t){const t=e.$implicit,n=w.cc();w.ic("ngClass",w.mc(7,j,t.selected))("ngStyle",t.style),w.Bb(1),w.ic("template",n.tooltipTemplate)("tooltip",t.tooltip)("placement",t.tooltipPlacement),w.Bb(1),w.ic("ngIf",null!=t.value),w.Bb(1),w.ic("ngIf",null!=t.legend)}}function F(t,e){}function G(t,e){1&t&&w.Fc(0,F,0,0,"ng-template")}const U=function(t,e,n){return{tooltip:t,placement:e,content:n}};function z(t,e){if(1&t&&(w.Pb(0),w.Fc(1,G,1,0,void 0,1),w.Ob()),2&t){const t=w.cc();w.Bb(1),w.ic("ngTemplateOutlet",t.template)("ngTemplateOutletContext",w.oc(2,U,t.tooltip,t.placement,t.content))}}function W(t,e){if(1&t&&(w.Pb(0),w.Rb(1,"div",2),w.Hc(2),w.Qb(),w.Ob()),2&t){const t=w.cc();w.Bb(1),w.Cb("title",t.tooltip)("data-tooltip-placement",t.placement),w.Bb(1),w.Jc(" ",t.content," ")}}const $=function(){var t={Low:0,High:1,Floor:2,Ceil:3,TickValue:4};return t[t.Low]="Low",t[t.High]="High",t[t.Floor]="Floor",t[t.Ceil]="Ceil",t[t.TickValue]="TickValue",t}();class X{constructor(){this.floor=0,this.ceil=null,this.step=1,this.minRange=null,this.maxRange=null,this.pushRange=!1,this.minLimit=null,this.maxLimit=null,this.translate=null,this.combineLabels=null,this.getLegend=null,this.get
1StepLegend=null,this.stepsArray=null,this.bindIndexForStepsArray=!1,this.draggableRange=!1,this.draggableRangeOnly=!1,this.showSelectionBar=!1,this.showSelectionBarEnd=!1,this.showSelectionBarFromValue=null,this.showOuterSelectionBars=!1,this.hidePointerLabels=!1,this.hideLimitLabels=!1,this.autoHideLimitLabels=!0,this.readOnly=!1,this.disabled=!1,this.showTicks=!1,this.showTicksValues=!1,this.tickStep=null,this.tickValueStep=null,this.ticksArray=null,this.ticksTooltip=null,this.ticksValuesTooltip=null,this.vertical=!1,this.getSelectionBarColor=null,this.getTickColor=null,this.getPointerColor=null,this.keyboardSupport=!0,this.scale=1,this.rotate=0,this.enforceStep=!0,this.enforceRange=!0,this.enforceStepsArray=!0,this.noSwitching=!1,this.onlyBindHandles=!1,this.rightToLeft=!1,this.reversedControls=!1,this.boundPointerLabels=!0,this.logScale=!1,this.customValueToPosition=null,this.customPositionToValue=null,this.precisionLimit=12,this.selectionBarGradient=null,this.ariaLabel="ngx-slider",this.ariaLabelledBy=null,this.ariaLabelHigh="ngx-slider-max",this.ariaLabelledByHigh=null,this.handleDimension=null,this.barDimension=null,this.animate=!0,this.animateOnMove=!1}}const K=function(){var t={Min:0,Max:1};return t[t.Min]="Min",t[t.Max]="Max",t}();class q{}class Q{static isNullOrUndefined(t){return null==t}static areArraysEqual(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(t[n]!==e[n])return!1;return!0}static linearValueToPosition(t,e,n){return(t-e)/(n-e)}static logValueToPosition(t,e,n){return((t=Math.log(t))-(e=Math.log(e)))/((n=Math.log(n))-e)}static linearPositionToValue(t,e,n){return t*(n-e)+e}static logPositionToValue(t,e,n){return e=Math.log(e),n=Math.log(n),Math.exp(t*(n-e)+e)}static findStepIndex(t,e){const n=e.map(e=>Math.abs(t-e.value));let i=0;for(let s=0;s<e.length;s++)n[s]!==n[i]&&n[s]<n[i]&&(i=s);return i}}class Z{static isTouchEvent(t){return void 0!==window.TouchEvent?t instanceof TouchEvent:void 0!==t.touches}static isResizeObserverAvailable(){return void 0!==window.ResizeObserver}}class Y{static roundToPrecisionLimit(t,e){return+t.toPrecision(e)}static isModuloWithinPrecisionLimit(t,e,n){const i=Math.pow(10,-n);return Math.abs(t%e)<=i||Math.abs(Math.abs(t%e)-e)<=i}static clampToRange(t,e,n){return Math.min(Math.max(t,e),n)}}class J{constructor(){this.eventName=null,this.events=null,this.eventsSubscription=null,this.teardownCallback=null}}class tt{constructor(t){this.renderer=t}attachPassiveEventListener(t,e,n,s){if(!0!==_)return this.attachEventListener(t,e,n,s);const r=new J;r.eventName=e,r.events=new i.a;const o=t=>{r.events.next(t)};return t.addEventListener(e,o,{passive:!0,capture:!1}),r.teardownCallback=()=>{t.removeEventListener(e,o,{passive:!0,capture:!1})},r.eventsSubscription=r.events.pipe(Q.isNullOrUndefined(s)?Object(u.a)(()=>{}):a(s,void 0,{leading:!0,trailing:!0})).subscribe(t=>{n(t)}),r}detachEventListener(t){Q.isNullOrUndefined(t.eventsSubscription)||(t.eventsSubscription.unsubscribe(),t.eventsSubscription=null),Q.isNullOrUndefined(t.events)||(t.events.complete(),t.events=null),Q.isNullOrUndefined(t.teardownCallback)||(t.teardownCallback(),t.teardownCallback=null)}attachEventListener(t,e,n,s){const r=new J;return r.eventName=e,r.events=new i.a,r.teardownCallback=this.renderer.listen(t,e,t=>{r.events.next(t)}),r.eventsSubscription=r.events.pipe(Q.isNullOrUndefined(s)?Object(u.a)(()=>{}):a(s,void 0,{leading:!0,trailing:!0})).subscribe(t=>{n(t)}),r}}let et=(()=>{class t{constructor(t,e,n){this.elemRef=t,this.renderer=e,this.changeDetectionRef=n,this._position=0,this._dimension=0,this._alwaysHide=!1,this._vertical=!1,this._scale=1,this._rotate=0,this.opacity=1,this.visibility="visible",this.left="",this.bottom="",this.height="",this.width="",this.transform="",this.eventListeners=[],this.eventListenerHelper=new tt(this.renderer)}get position(){return this._position}get dimension(){return this._dimension}get alwaysHide(){return this._alwaysHide}get vertical(){return this._vertical}get scale(){return this._scale}get rotate(){return this._rotate}setAlwaysHide(t){this._alwaysHide=t,this.visibility=t?"hidden":"visible"}hide(){this.opacity=0}show(){this.alwaysHide||(this.opacity=1)}isVisible(){return!this.alwaysHide&&0!==this.opacity}setVertical(t){this._vertical=t,this._vertical?(this.left="",this.width=""):(this.bottom="",this.height="")}setScale(t){this._scale=t}setRotate(t){this._rotate=t,this.transform="rotate("+t+"deg)"}getRotate(){return this._rotate}setPosition(t){this._position===t||this.isRefDestroyed()||this.changeDetectionRef.markForCheck(),this._position=t,this._vertical?this.bottom=Math.round(t)+"px":this.left=Math.round(t)+"px"}calculateDimension(){const t=this.getBoundingClientRect();this._dimension=this.vertical?(t.bottom-t.top)*this.scale:(t.right-t.left)*this.scale}setDimension(t){this._dimension===t||this.isRefDestroyed()||this.changeDetectionRef.markForCheck(),this._dimension=t,this._vertical?this.height=Math.round(t)+"px":this.width=Math.round(t)+"px"}getBoundingClientRect(){return this.elemRef.nativeElement.getBoundingClientRect()}on(t,e,n){const i=this.eventListenerHelper.attachEventListener(this.elemRef.nativeElement,t,e,n);this.eventListeners.push(i)}onPassive(t,e,n){const i=this.eventListenerHelper.attachPassiveEventListener(this.elemRef.nativeElement,t,e,n);this.eventListeners.push(i)}off(t){let e,n;Q.isNullOrUndefined(t)?(e=[],n=this.eventListeners):(e=this.eventListeners.filter(e=>e.eventName!==t),n=this.eventListeners.filter(e=>e.eventName===t));for(const i of n)this.eventListenerHelper.detachEventListener(i);this.eventListeners=e}isRefDestroyed(){return Q.isNullOrUndefined(this.changeDetectionRef)||this.changeDetectionRef.destroyed}}return t.\u0275fac=function(e){return new(e||t)(w.Mb(w.l),w.Mb(w.F),w.Mb(w.h))},t.\u0275dir=w.Hb({type:t,selectors:[["","ngxSliderElement",""]],hostVars:14,hostBindings:function(t,e){2&t&&w.Cc("opacity",e.opacity)("visibility",e.visibility)("left",e.left)("bottom",e.bottom)("height",e.height)("width",e.width)("transform",e.transform)}}),t})(),nt=(()=>{class t extends et{constructor(t,e,n){super(t,e,n),this.active=!1,this.role="",this.tabindex="",this.ariaOrientation="",this.ariaLabel="",this.ariaLabelledBy="",this.ariaValueNow="",this.ariaValueText="",this.ariaValueMin="",this.ariaValueMax=""}focus(){this.elemRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(w.Mb(w.l),w.Mb(w.F),w.Mb(w.h))},t.\u0275dir=w.Hb({type:t,selectors:[["","ngxSliderHandle",""]],hostVars:11,hostBindings:function(t,e){2&t&&(w.Cb("role",e.role)("tabindex",e.tabindex)("aria-orientation",e.ariaOrientation)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledBy)("aria-valuenow",e.ariaValueNow)("aria-valuetext",e.ariaValueText)("aria-valuemin",e.ariaValueMin)("aria-valuemax",e.ariaValueMax),w.Eb("ngx-slider-active",e.active))},features:[w.yb]}),t})(),it=(()=>{class t extends et{constructor(t,e,n){super(t,e,n),this._value=null}get value(){return this._value}setValue(t){let e=!1;!this.alwaysHide&&(Q.isNullOrUndefined(this.value)||this.value.length!==t.length||this.value.length>0&&0===this.dimension)&&(e=!0),this._value=t,this.elemRef.nativeElement.innerHTML=t,e&&this.calculateDimension()}}return t.\u0275fac=function(e){return new(e||t)(w.Mb(w.l),w.Mb(w.F),w.Mb(w.h))},t.\u0275dir=w.Hb({type:t,selectors:[["","ngxSliderLabel",""]],features:[w.yb]}),t})();class st{constructor(){this.selected=!1,this.style={},this.tooltip=null,this.tooltipPlacement=null,this.value=null,this.valueTooltip=null,this.valueTooltipPlacement=null,this.legend=null}}class rt{constructor(){this.active=!1,this.value=0,this.difference=0,this.position=0,this.lowLimit=0,this.highLim
1it=0}}class ot{static compare(t,e){return!(Q.isNullOrUndefined(t)&&Q.isNullOrUndefined(e)||Q.isNullOrUndefined(t)!==Q.isNullOrUndefined(e)||t.value!==e.value||t.highValue!==e.highValue)}}class at extends ot{static compare(t,e){return!(Q.isNullOrUndefined(t)&&Q.isNullOrUndefined(e)||Q.isNullOrUndefined(t)!==Q.isNullOrUndefined(e)||t.value!==e.value||t.highValue!==e.highValue||t.forceChange!==e.forceChange)}}const lt={provide:S.j,useExisting:Object(w.V)(()=>ct),multi:!0};let ct=(()=>{class t{constructor(t,e,n,s){this.renderer=t,this.elementRef=e,this.changeDetectionRef=n,this.zone=s,this.value=null,this.valueChange=new w.n,this.highValue=null,this.highValueChange=new w.n,this.options=new X,this.userChangeStart=new w.n,this.userChange=new w.n,this.userChangeEnd=new w.n,this.initHasRun=!1,this.inputModelChangeSubject=new i.a,this.inputModelChangeSubscription=null,this.outputModelChangeSubject=new i.a,this.outputModelChangeSubscription=null,this.viewLowValue=null,this.viewHighValue=null,this.viewOptions=new X,this.handleHalfDimension=0,this.maxHandlePosition=0,this.currentTrackingPointer=null,this.currentFocusPointer=null,this.firstKeyDown=!1,this.touchId=null,this.dragging=new rt,this.sliderElementVerticalClass=!1,this.sliderElementAnimateClass=!1,this.sliderElementWithLegendClass=!1,this.sliderElementDisabledAttr=null,this.sliderElementAriaLabel="ngx-slider",this.barStyle={},this.minPointerStyle={},this.maxPointerStyle={},this.fullBarTransparentClass=!1,this.selectionBarDraggableClass=!1,this.ticksUnderValuesClass=!1,this.intermediateTicks=!1,this.ticks=[],this.eventListenerHelper=null,this.onMoveEventListener=null,this.onEndEventListener=null,this.moving=!1,this.resizeObserver=null,this.onTouchedCallback=null,this.onChangeCallback=null,this.eventListenerHelper=new tt(this.renderer)}set manualRefresh(t){this.unsubscribeManualRefresh(),this.manualRefreshSubscription=t.subscribe(()=>{setTimeout(()=>this.calculateViewDimensionsAndDetectChanges())})}set triggerFocus(t){this.unsubscribeTriggerFocus(),this.triggerFocusSubscription=t.subscribe(t=>{this.focusPointer(t)})}get range(){return!Q.isNullOrUndefined(this.value)&&!Q.isNullOrUndefined(this.highValue)}get showTicks(){return this.viewOptions.showTicks}ngOnInit(){this.viewOptions=new X,Object.assign(this.viewOptions,this.options),this.updateDisabledState(),this.updateVerticalState(),this.updateAriaLabel()}ngAfterViewInit(){this.applyOptions(),this.subscribeInputModelChangeSubject(),this.subscribeOutputModelChangeSubject(),this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.updateVerticalState(),this.manageElementsStyle(),this.updateDisabledState(),this.calculateViewDimensions(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),this.initHandles(),this.manageEventsBindings(),this.updateAriaLabel(),this.subscribeResizeObserver(),this.initHasRun=!0,this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}ngOnChanges(t){Q.isNullOrUndefined(t.options)||JSON.stringify(t.options.previousValue)===JSON.stringify(t.options.currentValue)||this.onChangeOptions(),Q.isNullOrUndefined(t.value)&&Q.isNullOrUndefined(t.highValue)||this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}ngOnDestroy(){this.unbindEvents(),this.unsubscribeResizeObserver(),this.unsubscribeInputModelChangeSubject(),this.unsubscribeOutputModelChangeSubject(),this.unsubscribeManualRefresh(),this.unsubscribeTriggerFocus()}writeValue(t){t instanceof Array?(this.value=t[0],this.highValue=t[1]):this.value=t,this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!1})}registerOnChange(t){this.onChangeCallback=t}registerOnTouched(t){this.onTouchedCallback=t}setDisabledState(t){this.viewOptions.disabled=t,this.updateDisabledState()}setAriaLabel(t){this.viewOptions.ariaLabel=t,this.updateAriaLabel()}onResize(t){this.calculateViewDimensionsAndDetectChanges()}subscribeInputModelChangeSubject(){this.inputModelChangeSubscription=this.inputModelChangeSubject.pipe(Object(d.a)(at.compare),Object(p.a)(t=>!t.forceChange&&!t.internalChange)).subscribe(t=>this.applyInputModelChange(t))}subscribeOutputModelChangeSubject(){this.outputModelChangeSubscription=this.outputModelChangeSubject.pipe(Object(d.a)(at.compare)).subscribe(t=>this.publishOutputModelChange(t))}subscribeResizeObserver(){Z.isResizeObserverAvailable()&&(this.resizeObserver=new ResizeObserver(()=>this.calculateViewDimensionsAndDetectChanges()),this.resizeObserver.observe(this.elementRef.nativeElement))}unsubscribeResizeObserver(){Z.isResizeObserverAvailable()&&null!==this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}unsubscribeOnMove(){Q.isNullOrUndefined(this.onMoveEventListener)||(this.eventListenerHelper.detachEventListener(this.onMoveEventListener),this.onMoveEventListener=null)}unsubscribeOnEnd(){Q.isNullOrUndefined(this.onEndEventListener)||(this.eventListenerHelper.detachEventListener(this.onEndEventListener),this.onEndEventListener=null)}unsubscribeInputModelChangeSubject(){Q.isNullOrUndefined(this.inputModelChangeSubscription)||(this.inputModelChangeSubscription.unsubscribe(),this.inputModelChangeSubscription=null)}unsubscribeOutputModelChangeSubject(){Q.isNullOrUndefined(this.outputModelChangeSubscription)||(this.outputModelChangeSubscription.unsubscribe(),this.outputModelChangeSubscription=null)}unsubscribeManualRefresh(){Q.isNullOrUndefined(this.manualRefreshSubscription)||(this.manualRefreshSubscription.unsubscribe(),this.manualRefreshSubscription=null)}unsubscribeTriggerFocus(){Q.isNullOrUndefined(this.triggerFocusSubscription)||(this.triggerFocusSubscription.unsubscribe(),this.triggerFocusSubscription=null)}getPointerElement(t){return t===K.Min?this.minHandleElement:t===K.Max?this.maxHandleElement:null}getCurrentTrackingValue(){return this.currentTrackingPointer===K.Min?this.viewLowValue:this.currentTrackingPointer===K.Max?this.viewHighValue:null}modelValueToViewValue(t){return Q.isNullOrUndefined(t)?NaN:Q.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?+t:Q.findStepIndex(+t,this.viewOptions.stepsArray)}viewValueToModelValue(t){return Q.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray?t:this.getStepValue(t)}getStepValue(t){const e=this.viewOptions.stepsArray[t];return Q.isNullOrUndefined(e)?NaN:e.value}applyViewChange(){this.value=this.viewValueToModelValue(this.viewLowValue),this.range&&(this.highValue=this.viewValueToModelValue(this.viewHighValue)),this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,userEventInitiated:!0,forceChange:!1}),this.inputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!1,internalChange:!0})}applyInputModelChange(t){const e=this.normaliseModelValues(t),n=!ot.compare(t,e);n&&(this.value=e.value,this.highValue=e.highValue),this.viewLowValue=this.modelValueToViewValue(e.value),this.viewHighValue=this.range?this.modelValueToViewValue(e.highValue):null,this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.updateTicksScale(),this.updateAriaAttributes(),this.range&&this.updateCombinedLabel(),this.outputModelChangeSubject.next({value:e.value,highValue:e.highValue,forceChange:n,userEventInitiated:!1})}publishOutputModelChange(t){const e=()=>{this.valueChange.emit(t.value),this.range&&this.highValueChange.emit(t.highValue),Q.isNullOrUndefined(this.onChangeCallback)||this.onChangeCallback(this.range?[t.value,t.highValue]:t.value),Q.isNullOrUndefined(this.onTouchedCallback)||this.onTouchedCallback(this.range?[t.value,t.highValue]:t.value)};t.userEventInitiated?(e(),this.userChange.emit(this.getChangeContext())):setTimeout(()=>{e()})}normaliseModelValues(t){const e=new ot;if(e.value=t.value,e.highValue=t.highValue,!Q.isNullOrUndefined(this.viewOptions.stepsArray)){if(this.viewOptions.enforceStepsArray){const t=Q.findStepIndex(e.value,this.viewOptions.stepsArray);if(e.value=this.viewOptions.stepsArray[t].value,this.range){const t=Q.findStepIndex(e.highValue,this.viewOptions.stepsArray);e.highValue=this.viewOptions.stepsArray[t].value}}return e}if(this.viewOptions.enforceStep&&(e.value=this.roundStep(e.value),this.range&&(e.highValue=this.roundStep(e.highValue))),this.viewOptions.enforceRange&&(e.value=Y.clampToRange(e.value,this.viewOptions.floor,this.viewOptions.ceil),this.range&&(e.highValue=Y.clampToRange(e.highValue,this.viewOptions.floor,this.viewOptions.ceil)),this.range&&t.value>t.highValue))if(this.viewOptions.noSwitching)e.value=e.highValue;else{const n=t.value;e.value=t.highValue,e.highValue=n}return e}renormaliseModelValues(){const t={value:this.value,highValue:this.highValue},e=this.normaliseModelValues(t);ot.compare(e,t)||(this.value=e.value,this.highValue=e.highValue,this.outputModelChangeSubject.next({value:this.value,highValue:this.highValue,forceChange:!0,userEventInitiated:!1}))}onChangeOptions(){if(!this.initHasRun)return;const t=this.getOptionsInfluencingEventBindings(this.viewOptions);this.applyOptions();const e=this.getOptionsInfluencingEventBindings(this.viewOptions),n=!Q.areArraysEqual(t,e);this.renormaliseModelValues(),this.viewLowValue=this.modelValueToViewValue(this.value),this.viewHighValue=this.range?this.modelValueToViewValue(this.highValue):null,this.resetSlider(n)}applyOptions(){if(this.viewOptions=new X,Object.assign(this.viewOptions,this.options),this.viewOptions.draggableRange=this.range&&this.viewOptions.draggableRange,this.viewOptions.draggableRangeOnly=this.range&&this.viewOptions.draggableRangeOnly,this.viewOptions.draggableRangeOnly&&(this.viewOptions.draggableRange=!0),this.viewOptions.showTicks=this.viewOptions.showTicks||this.viewOptions.showTicksValues||!Q.isNullOrUndefined(this.viewOptions.ticksArray),!this.viewOptions.showTicks||Q.isNullOrUndefined(this.viewOptions.tickStep)&&Q.isNullOrUndefined(this.viewOptions.ticksArray)||(this.intermediateTicks=!0),this.viewOptions.showSelectionBar=this.viewOptions.showSelectionBar||this.viewOptions.showSelectionBarEnd||!Q.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue),Q.isNullOrUndefined(this.viewOptions.stepsArray)?this.applyFloorCeilOptions():this.applyStepsArrayOptions(),Q.isNullOrUndefined(this.viewOptions.combineLabels)&&(this.viewOptions.combineLabels=(t,e)=>t+" - "+e),this.viewOptions.logScale&&0===this.viewOptions.floor)throw Error("Can't use floor=0 with logarithmic scale")}
1applyStepsArrayOptions(){this.viewOptions.floor=0,this.viewOptions.ceil=this.viewOptions.stepsArray.length-1,this.viewOptions.step=1,Q.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=t=>String(this.viewOptions.bindIndexForStepsArray?this.getStepValue(t):t))}applyFloorCeilOptions(){if(Q.isNullOrUndefined(this.viewOptions.step)?this.viewOptions.step=1:(this.viewOptions.step=+this.viewOptions.step,this.viewOptions.step<=0&&(this.viewOptions.step=1)),Q.isNullOrUndefined(this.viewOptions.ceil)||Q.isNullOrUndefined(this.viewOptions.floor))throw Error("floor and ceil options must be supplied");this.viewOptions.ceil=+this.viewOptions.ceil,this.viewOptions.floor=+this.viewOptions.floor,Q.isNullOrUndefined(this.viewOptions.translate)&&(this.viewOptions.translate=t=>String(t))}resetSlider(t=!0){this.manageElementsStyle(),this.addAccessibility(),this.updateCeilLabel(),this.updateFloorLabel(),t&&(this.unbindEvents(),this.manageEventsBindings()),this.updateDisabledState(),this.updateAriaLabel(),this.calculateViewDimensions(),this.refocusPointerIfNeeded()}focusPointer(t){t!==K.Min&&t!==K.Max&&(t=K.Min),t===K.Min?this.minHandleElement.focus():this.range&&t===K.Max&&this.maxHandleElement.focus()}refocusPointerIfNeeded(){Q.isNullOrUndefined(this.currentFocusPointer)||(this.onPointerFocus(this.currentFocusPointer),this.getPointerElement(this.currentFocusPointer).focus())}manageElementsStyle(){this.updateScale(),this.floorLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels),this.ceilLabelElement.setAlwaysHide(this.viewOptions.showTicksValues||this.viewOptions.hideLimitLabels);const t=this.viewOptions.showTicksValues&&!this.intermediateTicks;this.minHandleLabelElement.setAlwaysHide(t||this.viewOptions.hidePointerLabels),this.maxHandleLabelElement.setAlwaysHide(t||!this.range||this.viewOptions.hidePointerLabels),this.combinedLabelElement.setAlwaysHide(t||!this.range||this.viewOptions.hidePointerLabels),this.selectionBarElement.setAlwaysHide(!this.range&&!this.viewOptions.showSelectionBar),this.leftOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.rightOuterSelectionBarElement.setAlwaysHide(!this.range||!this.viewOptions.showOuterSelectionBars),this.fullBarTransparentClass=this.range&&this.viewOptions.showOuterSelectionBars,this.selectionBarDraggableClass=this.viewOptions.draggableRange&&!this.viewOptions.onlyBindHandles,this.ticksUnderValuesClass=this.intermediateTicks&&this.options.showTicksValues,this.sliderElementVerticalClass!==this.viewOptions.vertical&&(this.updateVerticalState(),setTimeout(()=>{this.resetSlider()})),this.sliderElementAnimateClass!==this.viewOptions.animate&&setTimeout(()=>{this.sliderElementAnimateClass=this.viewOptions.animate}),this.updateRotate()}manageEventsBindings(){this.viewOptions.disabled||this.viewOptions.readOnly?this.unbindEvents():this.bindEvents()}updateDisabledState(){this.sliderElementDisabledAttr=this.viewOptions.disabled?"disabled":null}updateAriaLabel(){this.sliderElementAriaLabel=this.viewOptions.ariaLabel||"nxg-slider"}updateVerticalState(){this.sliderElementVerticalClass=this.viewOptions.vertical;for(const t of this.getAllSliderElements())Q.isNullOrUndefined(t)||t.setVertical(this.viewOptions.vertical)}updateScale(){for(const t of this.getAllSliderElements())t.setScale(this.viewOptions.scale)}updateRotate(){for(const t of this.getAllSliderElements())t.setRotate(this.viewOptions.rotate)}getAllSliderElements(){return[this.leftOuterSelectionBarElement,this.rightOuterSelectionBarElement,this.fullBarElement,this.selectionBarElement,this.minHandleElement,this.maxHandleElement,this.floorLabelElement,this.ceilLabelElement,this.minHandleLabelElement,this.maxHandleLabelElement,this.combinedLabelElement,this.ticksElement]}initHandles(){this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.range&&this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateSelectionBar(),this.range&&this.updateCombinedLabel(),this.updateTicksScale()}addAccessibility(){this.updateAriaAttributes(),this.minHandleElement.role="slider",this.minHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.minHandleElement.ariaOrientation=this.viewOptions.vertical||0!==this.viewOptions.rotate?"vertical":"horizontal",Q.isNullOrUndefined(this.viewOptions.ariaLabel)?Q.isNullOrUndefined(this.viewOptions.ariaLabelledBy)||(this.minHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledBy):this.minHandleElement.ariaLabel=this.viewOptions.ariaLabel,this.range&&(this.maxHandleElement.role="slider",this.maxHandleElement.tabindex=!this.viewOptions.keyboardSupport||this.viewOptions.readOnly||this.viewOptions.disabled?"":"0",this.maxHandleElement.ariaOrientation=this.viewOptions.vertical||0!==this.viewOptions.rotate?"vertical":"horizontal",Q.isNullOrUndefined(this.viewOptions.ariaLabelHigh)?Q.isNullOrUndefined(this.viewOptions.ariaLabelledByHigh)||(this.maxHandleElement.ariaLabelledBy=this.viewOptions.ariaLabelledByHigh):this.maxHandleElement.ariaLabel=this.viewOptions.ariaLabelHigh)}updateAriaAttributes(){this.minHandleElement.ariaValueNow=(+this.value).toString(),this.minHandleElement.ariaValueText=this.viewOptions.translate(+this.value,$.Low),this.minHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.minHandleElement.ariaValueMax=this.viewOptions.ceil.toString(),this.range&&(this.maxHandleElement.ariaValueNow=(+this.highValue).toString(),this.maxHandleElement.ariaValueText=this.viewOptions.translate(+this.highValue,$.High),this.maxHandleElement.ariaValueMin=this.viewOptions.floor.toString(),this.maxHandleElement.ariaValueMax=this.viewOptions.ceil.toString())}calculateViewDimensions(){Q.isNullOrUndefined(this.viewOptions.handleDimension)?this.minHandleElement.calculateDimension():this.minHandleElement.setDimension(this.viewOptions.handleDimension);const t=this.minHandleElement.dimension;this.handleHalfDimension=t/2,Q.isNullOrUndefined(this.viewOptions.barDimension)?this.fullBarElement.calculateDimension():this.fullBarElement.setDimension(this.viewOptions.barDimension),this.maxHandlePosition=this.fullBarElement.dimension-t,this.initHasRun&&(this.updateFloorLabel(),this.updateCeilLabel(),this.initHandles())}calculateViewDimensionsAndDetectChanges(){this.calculateViewDimensions(),this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}isRefDestroyed(){return this.changeDetectionRef.destroyed}updateTicksScale(){if(!this.viewOptions.showTicks)return void setTimeout(()=>{this.sliderElementWithLegendClass=!1});const t=Q.isNullOrUndefined(this.viewOptions.ticksArray)?this.getTicksArray():this.viewOptions.ticksArray,e=this.viewOptions.vertical?"translateY":"translateX";this.viewOptions.rightToLeft&&t.reverse();const n=Q.isNullOrUndefined(this.viewOptions.tickValueStep)?Q.isNullOrUndefined(this.viewOptions.tickStep)?this.viewOptions.step:this.viewOptions.tickStep:this.viewOptions.tickValueStep;let i=!1;const s=t.map(t=>{let s=this.valueToPosition(t);this.viewOptions.vertical&&(s=this.maxHandlePosition-s);const r=e+"("+Math.round(s)+"px)",o=new st;o.selected=this.isTickSelected(t),o.style={"-webkit-transform":r,"-moz-transform":r,"-o-transform":r,"-ms-transform":r,transform:r},o.selected&&!Q.isNullOrUndefined(this.viewOptions.getSelectionBarColor)&&(o.style["background-color"]=this.getSelectionBarColor()),o.selected||Q.isNullOrUndefined(this.viewOptions.getTickColor)||(o.style["background-color"]=this.getTickColor(t)),Q.isNullOrUndefined(this.viewOptions.ticksTooltip)||(o.tooltip=this.viewOptions.ticksTooltip(t),o.tooltipPlacement=this.viewOptions.vertical?"right":"top"),this.viewOptions.showTicksValues&&!Q.isNullOrUndefined(n)&&Y.isModuloWithinPrecisionLimit(t,n,this.viewOptions.precisionLimit)&&(o.value=this.getDisplayValue(t,$.TickValue),Q.isNullOrUndefined(this.viewOptions.ticksValuesTooltip)||(o.valueTooltip=this.viewOptions.ticksValuesTooltip(t),o.valueTooltipPlacement=this.viewOptions.vertical?"right":"top"));let a=null;if(Q.isNullOrUndefined(this.viewOptions.stepsArray))Q.isNullOrUndefined(this.viewOptions.getLegend)||(a=this.viewOptions.getLegend(t));else{const e=this.viewOptions.stepsArray[t];Q.isNullOrUndefined(this.viewOptions.getStepLegend)?Q.isNullOrUndefined(e)||(a=e.legend):a=this.viewOptions.getStepLegend(e)}return Q.isNullOrUndefined(a)||(o.legend=a,i=!0),o});if(setTimeout(()=>{this.sliderElementWithLegendClass=i}),Q.isNullOrUndefined(this.ticks)||this.ticks.length!==s.length)this.ticks=s;else for(let r=0;r<s.length;++r)Object.assign(this.ticks[r],s[r]);this.isRefDestroyed()||this.changeDetectionRef.detectChanges()}getTicksArray(){const t=Q.isNullOrUndefined(this.viewOptions.tickStep)?this.viewOptions.step:this.viewOptions.tickStep,e=[],n=1+Math.floor(Y.roundToPrecisionLimit(Math.abs(this.viewOptions.ceil-this.viewOptions.floor)/t,this.viewOptions.precisionLimit));for(let i=0;i<n;++i)e.push(Y.roundToPrecisionLimit(this.viewOptions.floor+t*i,this.viewOptions.precisionLimit));return e}isTickSelected(t){if(!this.range)if(Q.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)){if(this.viewOptions.showSelectionBarEnd){if
1(t>=this.viewLowValue)return!0}else if(this.viewOptions.showSelectionBar&&t<=this.viewLowValue)return!0}else{const e=this.viewOptions.showSelectionBarFromValue;if(this.viewLowValue>e&&t>=e&&t<=this.viewLowValue)return!0;if(this.viewLowValue<e&&t<=e&&t>=this.viewLowValue)return!0}return!!(this.range&&t>=this.viewLowValue&&t<=this.viewHighValue)}updateFloorLabel(){this.floorLabelElement.alwaysHide||(this.floorLabelElement.setValue(this.getDisplayValue(this.viewOptions.floor,$.Floor)),this.floorLabelElement.calculateDimension(),this.floorLabelElement.setPosition(this.viewOptions.rightToLeft?this.fullBarElement.dimension-this.floorLabelElement.dimension:0))}updateCeilLabel(){this.ceilLabelElement.alwaysHide||(this.ceilLabelElement.setValue(this.getDisplayValue(this.viewOptions.ceil,$.Ceil)),this.ceilLabelElement.calculateDimension(),this.ceilLabelElement.setPosition(this.viewOptions.rightToLeft?0:this.fullBarElement.dimension-this.ceilLabelElement.dimension))}updateHandles(t,e){t===K.Min?this.updateLowHandle(e):t===K.Max&&this.updateHighHandle(e),this.updateSelectionBar(),this.updateTicksScale(),this.range&&this.updateCombinedLabel()}getHandleLabelPos(t,e){const n=t===K.Min?this.minHandleLabelElement.dimension:this.maxHandleLabelElement.dimension,i=e-n/2+this.handleHalfDimension,s=this.fullBarElement.dimension-n;return this.viewOptions.boundPointerLabels?this.viewOptions.rightToLeft&&t===K.Min||!this.viewOptions.rightToLeft&&t===K.Max?Math.min(i,s):Math.min(Math.max(i,0),s):i}updateLowHandle(t){this.minHandleElement.setPosition(t),this.minHandleLabelElement.setValue(this.getDisplayValue(this.viewLowValue,$.Low)),this.minHandleLabelElement.setPosition(this.getHandleLabelPos(K.Min,t)),Q.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.minPointerStyle={backgroundColor:this.getPointerColor(K.Min)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateHighHandle(t){this.maxHandleElement.setPosition(t),this.maxHandleLabelElement.setValue(this.getDisplayValue(this.viewHighValue,$.High)),this.maxHandleLabelElement.setPosition(this.getHandleLabelPos(K.Max,t)),Q.isNullOrUndefined(this.viewOptions.getPointerColor)||(this.maxPointerStyle={backgroundColor:this.getPointerColor(K.Max)}),this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}updateFloorAndCeilLabelsVisibility(){if(this.viewOptions.hidePointerLabels)return;let t=!1,e=!1;const n=this.isLabelBelowFloorLabel(this.minHandleLabelElement),i=this.isLabelAboveCeilLabel(this.minHandleLabelElement),s=this.isLabelAboveCeilLabel(this.maxHandleLabelElement),r=this.isLabelBelowFloorLabel(this.combinedLabelElement),o=this.isLabelAboveCeilLabel(this.combinedLabelElement);if(n?(t=!0,this.floorLabelElement.hide()):(t=!1,this.floorLabelElement.show()),i?(e=!0,this.ceilLabelElement.hide()):(e=!1,this.ceilLabelElement.show()),this.range){const i=this.combinedLabelElement.isVisible()?o:s,a=this.combinedLabelElement.isVisible()?r:n;i?this.ceilLabelElement.hide():e||this.ceilLabelElement.show(),a?this.floorLabelElement.hide():t||this.floorLabelElement.show()}}isLabelBelowFloorLabel(t){const e=t.position,n=this.floorLabelElement.position;return this.viewOptions.rightToLeft?e+t.dimension>=n-2:e<=n+this.floorLabelElement.dimension+2}isLabelAboveCeilLabel(t){const e=t.position,n=this.ceilLabelElement.position;return this.viewOptions.rightToLeft?e<=n+this.ceilLabelElement.dimension+2:e+t.dimension>=n-2}updateSelectionBar(){let t=0,e=0;const n=this.viewOptions.rightToLeft?!this.viewOptions.showSelectionBarEnd:this.viewOptions.showSelectionBarEnd,i=this.viewOptions.rightToLeft?this.maxHandleElement.position+this.handleHalfDimension:this.minHandleElement.position+this.handleHalfDimension;if(this.range)e=Math.abs(this.maxHandleElement.position-this.minHandleElement.position),t=i;else if(Q.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue))n?(e=Math.ceil(Math.abs(this.maxHandlePosition-this.minHandleElement.position)+this.handleHalfDimension),t=Math.floor(this.minHandleElement.position+this.handleHalfDimension)):(e=this.minHandleElement.position+this.handleHalfDimension,t=0);else{const n=this.viewOptions.showSelectionBarFromValue,i=this.valueToPosition(n);(this.viewOptions.rightToLeft?this.viewLowValue<=n:this.viewLowValue>n)?(e=this.minHandleElement.position-i,t=i+this.handleHalfDimension):(e=i-this.minHandleElement.position,t=this.minHandleElement.position+this.handleHalfDimension)}if(this.selectionBarElement.setDimension(e),this.selectionBarElement.setPosition(t),this.range&&this.viewOptions.showOuterSelectionBars&&(this.viewOptions.rightToLeft?(this.rightOuterSelectionBarElement.setDimension(t),this.rightOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.leftOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(t+e)),this.leftOuterSelectionBarElement.setPosition(t+e)):(this.leftOuterSelectionBarElement.setDimension(t),this.leftOuterSelectionBarElement.setPosition(0),this.fullBarElement.calculateDimension(),this.rightOuterSelectionBarElement.setDimension(this.fullBarElement.dimension-(t+e)),this.rightOuterSelectionBarElement.setPosition(t+e))),Q.isNullOrUndefined(this.viewOptions.getSelectionBarColor)){if(!Q.isNullOrUndefined(this.viewOptions.selectionBarGradient)){const i=Q.isNullOrUndefined(this.viewOptions.showSelectionBarFromValue)?0:this.valueToPosition(this.viewOptions.showSelectionBarFromValue),s=i-t>0&&!n||i-t<=0&&n;this.barStyle={backgroundImage:"linear-gradient(to "+(this.viewOptions.vertical?s?"bottom":"top":s?"left":"right")+", "+this.viewOptions.selectionBarGradient.from+" 0%,"+this.viewOptions.selectionBarGradient.to+" 100%)"},this.viewOptions.vertical?(this.barStyle.backgroundPosition="center "+(i+e+t+(s?-this.handleHalfDimension:0))+"px",this.barStyle.backgroundSize="100% "+(this.fullBarElement.dimension-this.handleHalfDimension)+"px"):(this.barStyle.backgroundPosition=i-t+(s?this.handleHalfDimension:0)+"px center",this.barStyle.backgroundSize=this.fullBarElement.dimension-this.handleHalfDimension+"px 100%")}}else{const t=this.getSelectionBarColor();this.barStyle={backgroundColor:t}}}getSelectionBarColor(){return this.range?this.viewOptions.getSelectionBarColor(this.value,this.highValue):this.viewOptions.getSelectionBarColor(this.value)}getPointerColor(t){return this.viewOptions.getPointerColor(t===K.Max?this.highValue:this.value,t)}getTickColor(t){return this.viewOptions.getTickColor(t)}updateCombinedLabel(){let t=null;if(t=this.viewOptions.rightToLeft?this.minHandleLabelElement.position-this.minHandleLabelElement.dimension-10<=this.maxHandleLabelElement.position:this.minHandleLabelElement.position+this.minHandleLabelElement.dimension+10>=this.maxHandleLabelElement.position,t){const t=this.getDisplayValue(this.viewLowValue,$.Low),e=this.getDisplayValue(this.viewHighValue,$.High),n=this.viewOptions.rightToLeft?this.viewOptions.combineLabels(e,t):this.viewOptions.combineLabels(t,e);this.combinedLabelElement.setValue(n);const i=this.viewOptions.boundPointerLabels?Math.min(Math.max(this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2,0),this.fullBarElement.dimension-this.combinedLabelElement.dimension):this.selectionBarElement.position+this.selectionBarElement.dimension/2-this.combinedLabelElement.dimension/2;this.combinedLabelElement.setPosition(i),this.minHandleLabelElement.hide(),this.maxHandleLabelElement.hide(),this.combinedLabelElement.show()}else this.updateHighHandle(this.valueToPosition(this.viewHighValue)),this.updateLowHandle(this.valueToPosition(this.viewLowValue)),this.maxHandleLabelElement.show(),this.minHandleLabelElement.show(),this.combinedLabelElement.hide();this.viewOptions.autoHideLimitLabels&&this.updateFloorAndCeilLabelsVisibility()}getDisplayValue(t,e){return Q.isNullOrUndefined(this.viewOptions.stepsArray)||this.viewOptions.bindIndexForStepsArray||(t=this.getStepValue(t)),this.viewOptions.translate(t,e)}roundStep(t,e){const n=Q.isNullOrUndefined(e)?this.viewOptions.step:e;let i=Y.roundToPrecisionLimit((t-this.viewOptions.floor)/n,this.viewOptions.precisionLimit);return i=Math.round(i)*n,Y.roundToPrecisionLimit(this.viewOptions.floor+i,this.viewOptions.precisionLimit)}valueToPosition(t){let e=Q.linearValueToPosition;Q.isNullOrUndefined(this.viewOptions.customValueToPosition)?this.viewOptions.logScale&&(e=Q.logValueToPosition):e=this.viewOptions.customValueToPosition;let n=e(t=Y.clampToRange(t,this.viewOptions.floor,this.viewOptions.ceil),this.viewOptions.floor,this.viewOptions.ceil);return Q.isNullOrUndefined(n)&&(n=0),this.viewOptions.rightToLeft&&(n=1-n),n*this.maxHandlePosition}positionToValue(t){let e=t/this.maxHandlePosition;this.viewOptions.rightToLeft&&(e=1-e);let n=Q.linearPositionToValue;Q.isNullOrUndefined(this.viewOptions.customPositionToValue)?this.viewOptions.logScale&&(n=Q.logPositionToValue):n=this.viewOptions.customPositionToValue;const i=n(e,this.viewOptions.floor,this.viewOptions.ceil);return Q.isNullOrUndefined(i)?0:i}getEventXY(t,e){if(t instanceof MouseEvent)return this.viewOptions.vertical||0!==this.viewOptions.rotate?t.clientY:t.clientX;let n=0;const i=t.touches;if(!Q.isNullOrUndefined(e))for(let s=0;s<i.length;s++)if(i[s].identifier===e){n=s;break}return this.viewOptions.vertical||0!==this.viewOptions.rotate?i[n].clientY:i[n].clientX}getEventPosition(t,e){const n=this.elementRef.nativeElement.getBoundingClientRect(),i=this.viewOptions.vertical||0!==this.viewOptions.rotate?n.bottom:n.left;let s=0;return s=this.viewOptions.vertical||0!==this.viewOptions.rotate?-this.getEventXY(t,e)+i:this.getEventXY(t,e)-i,s*this.viewOptions.scale-this.handleHalfDimension}getNearestHandle(t){if(!this.range)return K.Min;const e=this.getEventPosition(t),n=Math.abs(e-this.minHandleElement.position),i=Math.abs(e-this.maxHandleElement.position);return n<i?K.Min:n>i?K.Max:this.viewOptions.rightToLeft?e>this.minHandleElement.position?K.Min:K.Max:e<this.minHandleElement.position?K.Min:K.Max}bindEvents(){const t=this.viewOptions.draggableRange;this.viewOptions.onlyBindHandles||this.selectionBarElement.on("mousedown",e=>this.onBarStart(null,t,e,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.on("mousedown",e=>this.onBarStart(K.Min,t,e,!0,!0)),this.maxHandleElement.on("mousedown",e=>this.onBarStart(K.Max,t,e,!0,!0))):(this.minHandleElement.on("mousedown",t=>this.onStart(K.Min,t,!0,!0)),this.range&&this.maxHandleElement.on("mousedown",t=>this.onStart(K.Max,t,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.on("mousedown",t=>this.onStart(null,t,!0,!0,!0)),this.ticksElement.on("mousedown",t=>this.onStart(null,t,!0,!0,!0,!0)))),this.viewOptions.onlyBindHandles||this.selectionBarElement.onPassive("touchstart",e=>this.onBarStart(null,t,e,!0,!0,!0)),this.viewOptions.draggableRangeOnly?(this.minHandleElement.onPassive("touchstart",e=>this.onBarStart(K.Min,t,e,!0,!0)),this.maxHandleElement.onPassive("touchstart",e=>this.onBarStart(K.Max,t,e,!0,!0))):(this.minHandleElement.onPassive("touchstart",t=>this.onStart(K.Min,t,!0,!0)),this.range&&this.maxHandleElement.onPassive("touchstart",t=>this.onStart(K.Max,t,!0,!0)),this.viewOptions.onlyBindHandles||(this.fullBarElement.onPassive("touchstart",t=>this.onStart(null,t,!0,!0,!0)),this.ticksElement.onPassive("touchstart",t=>this.onStart(null,t,!1,!1,!0,!0)))),this.viewOptions.keyboardSupport&&(this.minHandleElement.on("focus",()=>this.onPointerFocus(K.Min)),this.range&&this.maxHandleElement.on("focus",()=>this.onPointerFocus(K.Max)))}getOptionsInfluencingEventBindings(t){return[t.disabled,t.readOnly,t.draggableRange,t.draggableRangeOnly,t.onlyBindHandles,t.keyboardSupport]}unbindEvents(){this.unsubscribeOnMove(),this.unsubscribeOnEnd();for(const t of this.getAllSliderElements())Q.isNullOrUndefined(t)||t.off()}onBarStart(t,e,n,i,s,r,o){e?this.onDragStart(t,n,i,s):this.onStart(t,n,i,s,r,o)}onStart(t,e,n,i,s,r){e.stopPropagation(),Z.isTouchEvent(e)||_||e.preventDefault(),this.moving=!1,this.calculateViewDimensions(),Q.isNullOrUndefined(t)&&(t=this.getNearestHandle(e)),this.currentTrackingPointer=t;const o=this.getPointerElement(t);if(o.active=!0,this.viewOptions.keyboardSupport&&o.focus(),n){this.unsubscribeOnMove();const t=t=>this.dragging.active?this.onDragMove(t):this.onMove(t);this.onMoveEventListener=Z.isTouchEvent(e)?this.eventListenerHelper.attachPassiveEventListener(document,"touchmove",t):this.eventListenerHelper.attachEventListener(document,"mousemove",t)}if(i){this.unsubscribeOnEnd();const t=t=>this.onEnd(t);this.onEndEventListener=Z.isTouchEvent(e)?this.eventListenerHelper.attachPassiveEventListener(document,"touchend",t):this.eventListenerHelper.attachEventListener(document,"mouseup",t)}this.userChangeStart.emit(this.getChangeContext()),Z.isTouchEvent(e)&&!Q.isNullOrUndefined(e.changedTouches)&&Q.isNullOrUndefined(this.touchId)&&(this.touchId=e.changedTouches[0].identifier),s&&this.onMove(e,!0),r&&this.onEnd(e)}onMove(t,e){let n=null;if(Z.isTouchEvent(t)){const e=t.changedTouches;for(let t=0;t<e.length;t++)if(e[t].identifier===this.touchId){n=e[t];break}if(Q.isNullOrUndefined(n))return}
1this.viewOptions.animate&&!this.viewOptions.animateOnMove&&this.moving&&(this.sliderElementAnimateClass=!1),this.moving=!0;const i=Q.isNullOrUndefined(n)?this.getEventPosition(t):this.getEventPosition(t,n.identifier);let s;i<=0?s=this.viewOptions.rightToLeft?this.viewOptions.ceil:this.viewOptions.floor:i>=this.maxHandlePosition?s=this.viewOptions.rightToLeft?this.viewOptions.floor:this.viewOptions.ceil:(s=this.positionToValue(i),s=e&&!Q.isNullOrUndefined(this.viewOptions.tickStep)?this.roundStep(s,this.viewOptions.tickStep):this.roundStep(s)),this.positionTrackingHandle(s)}onEnd(t){Z.isTouchEvent(t)&&t.changedTouches[0].identifier!==this.touchId||(this.moving=!1,this.viewOptions.animate&&(this.sliderElementAnimateClass=!0),this.touchId=null,this.viewOptions.keyboardSupport||(this.minHandleElement.active=!1,this.maxHandleElement.active=!1,this.currentTrackingPointer=null),this.dragging.active=!1,this.unsubscribeOnMove(),this.unsubscribeOnEnd(),this.userChangeEnd.emit(this.getChangeContext()))}onPointerFocus(t){const e=this.getPointerElement(t);e.on("blur",()=>this.onPointerBlur(e)),e.on("keydown",t=>this.onKeyboardEvent(t)),e.on("keyup",()=>this.onKeyUp()),e.active=!0,this.currentTrackingPointer=t,this.currentFocusPointer=t,this.firstKeyDown=!0}onKeyUp(){this.firstKeyDown=!0,this.userChangeEnd.emit(this.getChangeContext())}onPointerBlur(t){t.off("blur"),t.off("keydown"),t.off("keyup"),t.active=!1,Q.isNullOrUndefined(this.touchId)&&(this.currentTrackingPointer=null,this.currentFocusPointer=null)}getKeyActions(t){const e=this.viewOptions.ceil-this.viewOptions.floor;let n=t+this.viewOptions.step,i=t-this.viewOptions.step,s=t+e/10,r=t-e/10;this.viewOptions.reversedControls&&(n=t-this.viewOptions.step,i=t+this.viewOptions.step,s=t-e/10,r=t+e/10);const o={UP:n,DOWN:i,LEFT:i,RIGHT:n,PAGEUP:s,PAGEDOWN:r,HOME:this.viewOptions.reversedControls?this.viewOptions.ceil:this.viewOptions.floor,END:this.viewOptions.reversedControls?this.viewOptions.floor:this.viewOptions.ceil};return this.viewOptions.rightToLeft&&(o.LEFT=n,o.RIGHT=i,(this.viewOptions.vertical||0!==this.viewOptions.rotate)&&(o.UP=i,o.DOWN=n)),o}onKeyboardEvent(t){const e=this.getCurrentTrackingValue(),n=Q.isNullOrUndefined(t.keyCode)?t.which:t.keyCode,i=this.getKeyActions(e)[{38:"UP",40:"DOWN",37:"LEFT",39:"RIGHT",33:"PAGEUP",34:"PAGEDOWN",36:"HOME",35:"END"}[n]];if(Q.isNullOrUndefined(i)||Q.isNullOrUndefined(this.currentTrackingPointer))return;t.preventDefault(),this.firstKeyDown&&(this.firstKeyDown=!1,this.userChangeStart.emit(this.getChangeContext()));const s=Y.clampToRange(i,this.viewOptions.floor,this.viewOptions.ceil),r=this.roundStep(s);if(this.viewOptions.draggableRangeOnly){const t=this.viewHighValue-this.viewLowValue;let e,n;this.currentTrackingPointer===K.Min?(e=r,n=r+t,n>this.viewOptions.ceil&&(n=this.viewOptions.ceil,e=n-t)):this.currentTrackingPointer===K.Max&&(n=r,e=r-t,e<this.viewOptions.floor&&(e=this.viewOptions.floor,n=e+t)),this.positionTrackingBar(e,n)}else this.positionTrackingHandle(r)}onDragStart(t,e,n,i){const s=this.getEventPosition(e);this.dragging=new rt,this.dragging.active=!0,this.dragging.value=this.positionToValue(s),this.dragging.difference=this.viewHighValue-this.viewLowValue,this.dragging.lowLimit=this.viewOptions.rightToLeft?this.minHandleElement.position-s:s-this.minHandleElement.position,this.dragging.highLimit=this.viewOptions.rightToLeft?s-this.maxHandleElement.position:this.maxHandleElement.position-s,this.onStart(t,e,n,i)}getMinValue(t,e,n){const i=this.viewOptions.rightToLeft;let s=null;return s=e?n?i?this.viewOptions.floor:this.viewOptions.ceil-this.dragging.difference:i?this.viewOptions.ceil-this.dragging.difference:this.viewOptions.floor:this.positionToValue(i?t+this.dragging.lowLimit:t-this.dragging.lowLimit),this.roundStep(s)}getMaxValue(t,e,n){const i=this.viewOptions.rightToLeft;let s=null;return s=e?n?i?this.viewOptions.floor+this.dragging.difference:this.viewOptions.ceil:i?this.viewOptions.ceil:this.viewOptions.floor+this.dragging.difference:i?this.positionToValue(t+this.dragging.lowLimit)+this.dragging.difference:this.positionToValue(t-this.dragging.lowLimit)+this.dragging.difference,this.roundStep(s)}onDragMove(t){const e=this.getEventPosition(t);let n,i,s,r;
1this.viewOptions.animate&&!this.viewOptions.animateOnMove&&this.moving&&(this.sliderElementAnimateClass=!1),this.moving=!0,this.viewOptions.rightToLeft?(n=this.dragging.lowLimit,i=this.dragging.highLimit,s=this.maxHandleElement,r=this.minHandleElement):(n=this.dragging.highLimit,i=this.dragging.lowLimit,s=this.minHandleElement,r=this.maxHandleElement);const o=e>=this.maxHandlePosition-n;let a,l;if(e<=i){if(0===s.position)return;a=this.getMinValue(e,!0,!1),l=this.getMaxValue(e,!0,!1)}else if(o){if(r.position===this.maxHandlePosition)return;l=this.getMaxValue(e,!0,!0),a=this.getMinValue(e,!0,!0)}else a=this.getMinValue(e,!1,!1),l=this.getMaxValue(e,!1,!1);this.positionTrackingBar(a,l)}positionTrackingBar(t,e){!Q.isNullOrUndefined(this.viewOptions.minLimit)&&t<this.viewOptions.minLimit&&(e=Y.roundToPrecisionLimit((t=this.viewOptions.minLimit)+this.dragging.difference,this.viewOptions.precisionLimit)),!Q.isNullOrUndefined(this.viewOptions.maxLimit)&&e>this.viewOptions.maxLimit&&(t=Y.roundToPrecisionLimit((e=this.viewOptions.maxLimit)-this.dragging.difference,this.viewOptions.precisionLimit)),this.viewLowValue=t,this.viewHighValue=e,this.applyViewChange(),this.updateHandles(K.Min,this.valueToPosition(t)),this.updateHandles(K.Max,this.valueToPosition(e))}positionTrackingHandle(t){t=this.applyMinMaxLimit(t),this.range&&(this.viewOptions.pushRange?t=this.applyPushRange(t):(this.viewOptions.noSwitching&&(this.currentTrackingPointer===K.Min&&t>this.viewHighValue?t=this.applyMinMaxRange(this.viewHighValue):this.currentTrackingPointer===K.Max&&t<this.viewLowValue&&(t=this.applyMinMaxRange(this.viewLowValue))),t=this.applyMinMaxRange(t),this.currentTrackingPointer===K.Min&&t>this.viewHighValue?(this.viewLowValue=this.viewHighValue,this.applyViewChange(),this.updateHandles(K.Min,this.maxHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=K.Max,this.minHandleElement.active=!1,this.maxHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.maxHandleElement.focus()):this.currentTrackingPointer===K.Max&&t<this.viewLowValue&&(this.viewHighValue=this.viewLowValue,this.applyViewChange(),this.updateHandles(K.Max,this.minHandleElement.position),this.updateAriaAttributes(),this.currentTrackingPointer=K.Min,this.maxHandleElement.active=!1,this.minHandleElement.active=!0,this.viewOptions.keyboardSupport&&this.minHandleElement.focus()))),this.getCurrentTrackingValue()!==t&&(this.currentTrackingPointer===K.Min?(this.viewLowValue=t,this.applyViewChange()):this.currentTrackingPointer===K.Max&&(this.viewHighValue=t,this.applyViewChange()),this.updateHandles(this.currentTrackingPointer,this.valueToPosition(t)),this.updateAriaAttributes())}applyMinMaxLimit(t){return!Q.isNullOrUndefined(this.viewOptions.minLimit)&&t<this.viewOptions.minLimit?this.viewOptions.minLimit:!Q.isNullOrUndefined(this.viewOptions.maxLimit)&&t>this.viewOptions.maxLimit?this.viewOptions.maxLimit:t}applyMinMaxRange(t){const e=Math.abs(t-(this.currentTrackingPointer===K.Min?this.viewHighValue:this.viewLowValue));if(!Q.isNullOrUndefined(this.viewOptions.minRange)&&e<this.viewOptions.minRange){if(this.currentTrackingPointer===K.Min)return Y.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.minRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===K.Max)return Y.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.minRange,this.viewOptions.precisionLimit)}if(!Q.isNullOrUndefined(this.viewOptions.maxRange)&&e>this.viewOptions.maxRange){if(this.currentTrackingPointer===K.Min)return Y.roundToPrecisionLimit(this.viewHighValue-this.viewOptions.maxRange,this.viewOptions.precisionLimit);if(this.currentTrackingPointer===K.Max)return Y.roundToPrecisionLimit(this.viewLowValue+this.viewOptions.maxRange,this.viewOptions.precisionLimit)}return t}applyPushRange(t){const e=this.currentTrackingPointer===K.Min?this.viewHighValue-t:t-this.viewLowValue,n=Q.isNullOrUndefined(this.viewOptions.minRange)?this.viewOptions.step:this.viewOptions.minRange,i=this.viewOptions.maxRange;return e<n?(this.currentTrackingPointer===K.Min?(this.viewHighValue=Y.roundToPrecisionLimit(Math.min(t+n,this.viewOptions.ceil),this.viewOptions.precisionLimit),t=Y.roundToPrecisionLimit(this.viewHighValue-n,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(K.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===K.Max&&(this.viewLowValue=Y.roundToPrecisionLimit(Math.max(t-n,this.viewOptions.floor),this.viewOptions.precisionLimit),t=Y.roundToPrecisionLimit(this.viewLowValue+n,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(K.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()):!Q.isNullOrUndefined(i)&&e>i&&(this.currentTrackingPointer===K.Min?(this.viewHighValue=Y.roundToPrecisionLimit(t+i,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(K.Max,this.valueToPosition(this.viewHighValue))):this.currentTrackingPointer===K.Max&&(this.viewLowValue=Y.roundToPrecisionLimit(t-i,this.viewOptions.precisionLimit),this.applyViewChange(),this.updateHandles(K.Min,this.valueToPosition(this.viewLowValue))),this.updateAriaAttributes()),t}getChangeContext(){const t=new q;return t.pointerType=this.currentTrackingPointer,t.value=+this.value,this.range&&(t.highValue=+this.highValue),t}}return t.\u0275fac=function(e){return new(e||t)(w.Mb(w.F),w.Mb(w.l),w.Mb(w.h),w.Mb(w.A))},t.\u0275cmp=w.Gb({type:t,selectors:[["ngx-slider"]],contentQueries:function(t,e,n){var i;1&t&&w.Fb(n,O,!0),2&t&&w.rc(i=w.Zb())&&(e.tooltipTemplate=i.first)},viewQuery:function(t,e){var n;1&t&&(w.Kc(T,!0,et),w.Kc(x,!0,et),w.Kc(E,!0,et),w.Kc(M,!0,et),w.Kc(P,!0,nt),w.Kc(A,!0,nt),w.Kc(k,!0,it),w.Kc(I,!0,it),w.Kc(D,!0,it),w.Kc(R,!0,it),w.Kc(N,!0,it),w.Kc(V,!0,et)),2&t&&(w.rc(n=w.Zb())&&(e.leftOuterSelectionBarElement=n.first),w.rc(n=w.Zb())&&(e.rightOuterSelectionBarElement=n.first),w.rc(n=w.Zb())&&(e.fullBarElement=n.first),w.rc(n=w.Zb())&&(e.selectionBarElement=n.first),w.rc(n=w.Zb())&&(e.minHandleElement=n.first),w.rc(n=w.Zb())&&(e.maxHandleElement=n.first),w.rc(n=w.Zb())&&(e.floorLabelElement=n.first),w.rc(n=w.Zb())&&(e.ceilLabelElement=n.first),w.rc(n=w.Zb())&&(e.minHandleLabelElement=n.first),w.rc(n=w.Zb())&&(e.maxHandleLabelElement=n.first),w.rc(n=w.Zb())&&(e.combinedLabelElement=n.first),w.rc(n=w.Zb())&&(e.ticksElement=n.first))},hostAttrs:[1,"ngx-slider"],hostVars:8,hostBindings:function(t,e){1&t&&w.Yb("resize",(function(t){return e.onResize(t)}
1),!1,w.uc),2&t&&(w.Cb("disabled",e.sliderElementDisabledAttr)("aria-label",e.sliderElementAriaLabel),w.Eb("vertical",e.sliderElementVerticalClass)("animate",e.sliderElementAnimateClass)("with-legend",e.sliderElementWithLegendClass))},inputs:{value:"value",highValue:"highValue",options:"options",manualRefresh:"manualRefresh",triggerFocus:"triggerFocus"},outputs:{valueChange:"valueChange",highValueChange:"highValueChange",userChangeStart:"userChangeStart",userChange:"userChange",userChangeEnd:"userChangeEnd"},features:[w.Ab([lt]),w.zb],decls:29,vars:13,consts:[["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-left-out-selection"],["leftOuterSelectionBar",""],[1,"ngx-slider-span","ngx-slider-bar"],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-right-out-selection"],["rightOuterSelectionBar",""],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-full-bar"],["fullBar",""],["ngxSliderElement","",1,"ngx-slider-span","ngx-slider-bar-wrapper","ngx-slider-selection-bar"],["selectionBar",""],[1,"ngx-slider-span","ngx-slider-bar","ngx-slider-selection",3,"ngStyle"],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-min",3,"ngStyle"],["minHandle",""],["ngxSliderHandle","",1,"ngx-slider-span","ngx-slider-pointer","ngx-slider-pointer-max",3,"ngStyle"],["maxHandle",""],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-floor"],["floorLabel",""],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-limit","ngx-slider-ceil"],["ceilLabel",""],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-value"],["minHandleLabel",""],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-model-high"],["maxHandleLabel",""],["ngxSliderLabel","",1,"ngx-slider-span","ngx-slider-bubble","ngx-slider-combined"],["combinedLabel",""],["ngxSliderElement","",1,"ngx-slider-ticks",3,"hidden"],["ticksElement",""],["class","ngx-slider-tick",3,"ngClass","ngStyle",4,"ngFor","ngForOf"],[1,"ngx-slider-tick",3,"ngClass","ngStyle"],[3,"template","tooltip","placement"],["class","ngx-slider-span ngx-slider-tick-value",3,"template","tooltip","placement","content",4,"ngIf"],["class","ngx-slider-span ngx-slider-tick-legend",3,"innerHTML",4,"ngIf"],[1,"ngx-slider-span","ngx-slider-tick-value",3,"template","tooltip","placement","content"],[1,"ngx-slider-span","ngx-slider-tick-legend",3,"innerHTML"]],template:function(t,e){1&t&&(w.Rb(0,"span",0,1),w.Nb(2,"span",2),w.Qb(),w.Rb(3,"span",3,4),w.Nb(5,"span",2),w.Qb(),w.Rb(6,"span",5,6),w.Nb(8,"span",2),w.Qb(),w.Rb(9,"span",7,8),w.Nb(11,"span",9),w.Qb(),w.Nb(12,"span",10,11),w.Nb(14,"span",12,13),w.Nb(16,"span",14,15),w.Nb(18,"span",16,17),w.Nb(20,"span",18,19),w.Nb(22,"span",20,21),w.Nb(24,"span",22,23),w.Rb(26,"span",24,25),w.Fc(28,B,4,9,"span",26),w.Qb()),2&t&&(w.Bb(6),w.Eb("ngx-slider-transparent",e.fullBarTransparentClass),w.Bb(3),w.Eb("ngx-slider-draggable",e.selectionBarDraggableClass),w.Bb(2),w.ic("ngStyle",e.barStyle),w.Bb(1),w.ic("ngStyle",e.minPointerStyle),w.Bb(2),w.Cc("display",e.range?"inherit":"none"),w.ic("ngStyle",e.maxPointerStyle),w.Bb(12),w.Eb("ngx-slider-ticks-values-under",e.ticksUnderValuesClass),w.ic("hidden",!e.showTicks),w.Bb(2),w.ic("ngForOf",e.ticks))},directives:function(){return[et,C.m,nt,it,C.k,C.j,ht,C.l]},styles:[".ngx-slider{display:inline-block;position:relative;height:4px;width:100%;margin:35px 0 15px;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;touch-action:pan-y}  .ngx-slider.with-legend{margin-bottom:40px}  .ngx-slider[disabled]{cursor:not-allowed}  .ngx-slider[disabled] .ngx-slider-pointer{cursor:not-allowed;background-color:#d8e0f3}  .ngx-slider[disabled] .ngx-slider-draggable{cursor:not-allowed}  .ngx-slider[disabled] .ngx-slider-selection{background:#8b91a2}  .ngx-slider[disabled] .ngx-slider-tick{cursor:not-allowed}  .ngx-slider[disabled] .ngx-slider-tick.ngx-slider-selected{background:#8b91a2}  .ngx-slider .ngx-slider-span{white-space:nowrap;position:absolute;display:inline-block}  .ngx-slider .ngx-slider-base{width:100%;height:100%;padding:0}
1  .ngx-slider .ngx-slider-bar-wrapper{left:0;box-sizing:border-box;margin-top:-16px;padding-top:16px;width:100%;height:32px;z-index:1}  .ngx-slider .ngx-slider-draggable{cursor:move}  .ngx-slider .ngx-slider-bar{left:0;width:100%;height:4px;z-index:1;background:#d8e0f3;border-radius:2px}  .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-transparent .ngx-slider-bar{background:0 0}  .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-left-out-selection .ngx-slider-bar{background:#df002d}  .ngx-slider .ngx-slider-bar-wrapper.ngx-slider-right-out-selection .ngx-slider-bar{background:#03a688}  .ngx-slider .ngx-slider-selection{z-index:2;background:#0db9f0;border-radius:2px}  .ngx-slider .ngx-slider-pointer{cursor:pointer;width:32px;height:32px;top:-14px;background-color:#0db9f0;z-index:3;border-radius:16px}  .ngx-slider .ngx-slider-pointer:after{content:'';width:8px;height:8px;position:absolute;top:12px;left:12px;border-radius:4px;background:#fff}  .ngx-slider .ngx-slider-pointer:hover:after{background-color:#fff}  .ngx-slider .ngx-slider-pointer.ngx-slider-active{z-index:4}  .ngx-slider .ngx-slider-pointer.ngx-slider-active:after{background-color:#451aff}
1  .ngx-slider .ngx-slider-bubble{cursor:default;bottom:16px;padding:1px 3px;color:#55637d;font-size:16px}  .ngx-slider .ngx-slider-bubble.ngx-slider-limit{color:#55637d}  .ngx-slider .ngx-slider-ticks{box-sizing:border-box;width:100%;height:0;position:absolute;left:0;top:-3px;margin:0;z-index:1;list-style:none}  .ngx-slider .ngx-slider-ticks-values-under .ngx-slider-tick-value{top:auto;bottom:-36px}  .ngx-slider .ngx-slider-tick{text-align:center;cursor:pointer;width:10px;height:10px;background:#d8e0f3;border-radius:50%;position:absolute;top:0;left:0;margin-left:11px}  .ngx-slider .ngx-slider-tick.ngx-slider-selected{background:#0db9f0}  .ngx-slider .ngx-slider-tick-value{position:absolute;top:-34px;-webkit-transform:translate(-50%,0);transform:translate(-50%,0)}  .ngx-slider .ngx-slider-tick-legend{position:absolute;top:24px;-webkit-transform:translate(-50%,0);transform:translate(-50%,0);max-width:50px;white-space:normal}  .ngx-slider.vertical{position:relative;width:4px;height:100%;margin:0 20px;padding:0;vertical-align:baseline;touch-action:pan-x}  .ngx-slider.vertical .ngx-slider-base{width:100%;height:100%;padding:0}  .ngx-slider.vertical .ngx-slider-bar-wrapper{top:auto;left:0;margin:0 0 0 -16px;padding:0 0 0 16px;height:100%;width:32px}  .ngx-slider.vertical .ngx-slider-bar{bottom:0;left:auto;width:4px;height:100%}  .ngx-slider.vertical .ngx-slider-pointer{left:-14px!important;top:auto;bottom:0}  .ngx-slider.vertical .ngx-slider-bubble{left:16px!important;bottom:0}  .ngx-slider.vertical .ngx-slider-ticks{height:100%;width:0;left:-3px;top:0;z-index:1}  .ngx-slider.vertical .ngx-slider-tick{vertical-align:middle;margin-left:auto;margin-top:11px}  .ngx-slider.vertical .ngx-slider-tick-value{left:24px;top:auto;-webkit-transform:translate(0,-28%);transform:translate(0,-28%)}  .ngx-slider.vertical .ngx-slider-tick-legend{top:auto;right:24px;-webkit-transform:translate(0,-28%);transform:translate(0,-28%);max-width:none;white-space:nowrap}  .ngx-slider.vertical .ngx-slider-ticks-values-under .ngx-slider-tick-value{bottom:auto;left:auto;right:24px}  .ngx-slider *{transition:none}  .ngx-slider.animate .ngx-slider-bar-wrapper{transition:.3s linear}  .ngx-slider.animate .ngx-slider-selection{transition:background-color .3s linear}  .ngx-slider.animate .ngx-slider-pointer{transition:.3s linear}  .ngx-slider.animate .ngx-slider-pointer:after{transition:.3s linear}  .ngx-slider.animate .ngx-slider-bubble{transition:.3s linear}  .ngx-slider.animate .ngx-slider-bubble.ngx-slider-limit{transition:opacity .3s linear}  .ngx-slider.animate .ngx-slider-bubble.ngx-slider-combined{transition:opacity .3s linear}  .ngx-slider.animate .ngx-slider-tick{transition:background-color .3s linear}"]}),t})(),ht=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=w.Gb({type:t,selectors:[["ngx-slider-tooltip-wrapper"]],inputs:{template:"template",tooltip:"tooltip",placement:"placement",content:"content"},decls:2,vars:2,consts:[[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ngx-slider-inner-tooltip"]],template:function(t,e){1&t&&(w.Fc(0,z,2,6,"ng-container",0),w.Fc(1,W,3,3,"ng-container",0)),2&t&&(w.ic("ngIf",e.template),w.Bb(1),w.ic("ngIf",!e.template))},directives:[C.l,C.p],styles:[".ngx-slider-inner-tooltip[_ngcontent-%COMP%]{height:100%}"]}),t})(),ut=(()=>{class t{}return t.\u0275mod=w.Kb({type:t}),t.\u0275inj=w.Jb({factory:function(e){return new(e||t)},imports:[[C.b]]}),t})()},mrSG:function(t,e,n){"use strict";function i(t,e,n,i){return new(n||(n=Promise))((function(s,r){function o(t){try{l(i.next(t))}catch(e){r(e)}}function a(t){try{l(i.throw(t))}catch(e){r(e)}}function l(t){var e;t.done?s(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,a)}l((i=i.apply(t,e||[])).next())}))}n.d(e,"a",(function(){return i}))},n6bG:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,"a",(function(){return i}))},nYR2:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("7o/Q"),s=n("quSY");function r(t){return e=>e.lift(new o(t))}class o{constructor(t){this.callback=t}call(t,e){return e.subscribe(new a(t,this.callback))}}class a extends i.a{constructor(t,e){super(t),this.add(new s.a(e))}}},ngJS:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=t=>e=>{for(let n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.complete()}},ofXK:function(t,e,n){"use strict";n.d(e,"a",(function(){return y}
1)),n.d(e,"b",(function(){return Ct})),n.d(e,"c",(function(){return St})),n.d(e,"d",(function(){return l})),n.d(e,"e",(function(){return wt})),n.d(e,"f",(function(){return S})),n.d(e,"g",(function(){return u})),n.d(e,"h",(function(){return C})),n.d(e,"i",(function(){return _})),n.d(e,"j",(function(){return lt})),n.d(e,"k",(function(){return ht})),n.d(e,"l",(function(){return dt})),n.d(e,"m",(function(){return _t})),n.d(e,"n",(function(){return mt})),n.d(e,"o",(function(){return bt})),n.d(e,"p",(function(){return vt})),n.d(e,"q",(function(){return w})),n.d(e,"r",(function(){return c})),n.d(e,"s",(function(){return xt})),n.d(e,"t",(function(){return Tt})),n.d(e,"u",(function(){return ot})),n.d(e,"v",(function(){return a})),n.d(e,"w",(function(){return Ot})),n.d(e,"x",(function(){return r})),n.d(e,"y",(function(){return at})),n.d(e,"z",(function(){return o}));var i=n("fXoL");let s=null;function r(){return s}function o(t){s||(s=t)}class a{}const l=new i.r("DocumentToken");let c=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Ib)({factory:h,token:t,providedIn:"platform"}),t})();function h(){return Object(i.Vb)(d)}const u=new i.r("Location Initialized");let d=(()=>{class t extends c{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=r().getLocation(),this._history=r().getHistory()}getBaseHrefFromDOM(){return r().getBaseHref(this._doc)}onPopState(t){r().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){r().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){p()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){p()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(i.Vb(l))},t.\u0275prov=Object(i.Ib)({factory:g,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function g(){return new d(Object(i.Vb)(l))}function f(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function m(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function b(t){return t&&"?"!==t[0]?"?"+t:t}let _=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Ib)({factory:v,token:t,providedIn:"root"}),t})();function v(t){const e=Object(i.Vb)(l).location;return new w(Object(i.Vb)(c),e&&e.origin||"")}const y=new i.r("appBaseHref");let w=(()=>{class t extends _{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}
1getBaseHref(){return this._baseHref}prepareExternalUrl(t){return f(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+b(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const s=this.prepareExternalUrl(n+b(i));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,i){const s=this.prepareExternalUrl(n+b(i));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(i.Vb(c),i.Vb(y,8))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})(),S=(()=>{class t extends _{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=f(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let s=this.prepareExternalUrl(n+b(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,i){let s=this.prepareExternalUrl(n+b(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(i.Vb(c),i.Vb(y,8))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})(),C=(()=>{class t{constructor(t,e){this._subject=new i.n,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=m(T(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+b(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,T(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(i.Vb(_),i.Vb(c))},t.normalizeQueryParams=b,t.joinWithSlash=f,t.stripTrailingSlash=m,t.\u0275prov=Object(i.Ib)({factory:O,token:t,providedIn:"root"}),t})();function O(){return new C(Object(i.Vb)(_),Object(i.Vb)(c))}function T(t){return t.replace(/\/index.html$/,"")}const x={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var E=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scie
1ntific=3]="Scientific",t}({}),M=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),P=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),A=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),k=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),I=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function D(t,e){return j(Object(i.lb)(t)[i.cb.DateFormat],e)}function R(t,e){return j(Object(i.lb)(t)[i.cb.TimeFormat],e)}function N(t,e){return j(Object(i.lb)(t)[i.cb.DateTimeFormat],e)}function V(t,e){const n=Object(i.lb)(t),s=n[i.cb.NumberSymbols][e];if(void 0===s){if(e===I.CurrencyDecimal)return n[i.cb.NumberSymbols][I.Decimal];if(e===I.CurrencyGroup)return n[i.cb.NumberSymbols][I.Group]}return s}const L=i.ob;function H(t){if(!t[i.cb.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[i.cb.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function j(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function B(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const F=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,G={},U=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{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 z=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),W=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),$=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function X(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,(function(t,n){return null!=e&&n in e?e[n]:t}))),t}function K(t,e,n="-",i,s){let r="";(t<0||s&&t<=0)&&(s?t=1-t:(t=-t,r=n));let o=String(t);for(;o.length<e;)o="0"+o;return i&&(o=o.substr(o.length-e)),r+o}function q(t,e,n=0,i=!1,s=!1){return function(r,o){let a=function(t,e){switch(t){case W.FullYear:return e.getFullYear();case W.Month:return e.getMonth();case W.Date:return e.getDate();case W.Hours:return e.getHours();case W.Minutes:return e.getMinutes();case W.Seconds:return e.getSeconds();case W.FractionalSeconds:return e.getMilliseconds();case W.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,r);if((n>0||a>-n)&&(a+=n),t===W.Hours)0===a&&-12===n&&(a=12);else if(t===W.FractionalSeconds)return l=e,K(a,3).substr(0,l);var l;const c=V(o,I.MinusSign);return K(a,e,c,i,s)}}function Q(t,e,n=P.Format,s=!1){return function(r,o){return function(t,e,n,s,r,o){switch(n){case $.Months:return function(t,e,n){const s=Object(i.lb)(t),r=j([s[i.cb.MonthsFormat],s[i.cb.MonthsStandalone]],e);return j(r,n)}(e,r,s)[t.getMonth()];case $.Days:return function(t,e,n){const s=Object(i.lb)(t),r=j([s[i.cb.DaysFormat],s[i.cb.DaysStandalone]],e);return j(r,n)}(e,r,s)[t.getDay()];case $.DayPeriods:const a=t.getHours(),l=t.getMinutes();if(o){const t=function(t){const e=Object(i.lb)(t);return H(e),(e[i.cb.ExtraData][2]||[]).map(t=>"string"==typeof t?B(t):[B(t[0]),B(t[1])])}(e),n=function(t,e,n){const s=Object(i.lb)(t);H(s);const r=j([s[i.cb.ExtraData][0],s[i.cb.ExtraData][1]],e)||[];return j(r,n)||[]}(e,r,s),o=t.findIndex(t=>{if(Array.isArray(t)){const[e,n]=t,i=a>=e.hours&&l>=e.minutes,s=a<n.hours||a===n.hours&&l<n.minutes;if(e.hours<n.hours){if(i&&s)return!0}else if(i||s)return!0}else if(t.hours===a&&t.minutes===l)return!0;return!1});if(-1!==o)return n[o]}return function(t,e,n){const s=Object(i.lb)(t),r=j([s[i.cb.DayPeriodsFormat],s[i.cb.DayPeriodsStandalone]],e);return j(r,n)}(e,r,s)[a<12?0:1];case $.Eras:return function(t,e){return j(Object(i.lb)(t)[i.cb.Eras
1],e)}(e,s)[t.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(r,o,t,e,n,s)}}function Z(t){return function(e,n,i){const s=-1*i,r=V(n,I.MinusSign),o=s>0?Math.floor(s/60):Math.ceil(s/60);switch(t){case z.Short:return(s>=0?"+":"")+K(o,2,r)+K(Math.abs(s%60),2,r);case z.ShortGMT:return"GMT"+(s>=0?"+":"")+K(o,1,r);case z.Long:return"GMT"+(s>=0?"+":"")+K(o,2,r)+":"+K(Math.abs(s%60),2,r);case z.Extended:return 0===i?"Z":(s>=0?"+":"")+K(o,2,r)+":"+K(Math.abs(s%60),2,r);default:throw new Error(`Unknown zone width "${t}"`)}}}function Y(t,e=!1){return function(n,i){let s;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();s=1+Math.floor((e+t)/7)}else{const t=(r=n,new Date(r.getFullYear(),r.getMonth(),r.getDate()+(4-r.getDay()))),e=function(t){const e=new Date(t,0,1).getDay();return new Date(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),i=t.getTime()-e.getTime();s=1+Math.round(i/6048e5)}var r;return K(s,t,V(i,I.MinusSign))}}const J={};function tt(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function et(t){return t instanceof Date&&!isNaN(t.valueOf())}const nt=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function it(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}class st{}let rt=(()=>{class t extends st{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(L(e||this.locale)(t)){case M.Zero:return"zero";case M.One:return"one";case M.Two:return"two";case M.Few:return"few";case M.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(i.Vb(i.v))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})();function ot(t,e,n){return Object(i.ub)(t,e,n)}function at(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(s)}return null}let lt=(()=>{class t{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(i.rb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(i.wb)(t.item));this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.t),i.Mb(i.u),i.Mb(i.l),i.Mb(i.F))},t.\u0275dir=i.Hb({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class ct{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}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 ht=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){Object(i.X)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new ct(null,this._ngForOf,-1,-1),null===i?void 0:i),s=new ut(t,n);e.push(s)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,i);const r=new ut(t,s);e.push(r)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,i=this._viewContainer.length;n<i;n++){const t=this._viewContainer.get(n);
vendor: 4,307 bytes, line 1
1t.context.index=n,t.context.count=i,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.Q),i.Mb(i.M),i.Mb(i.t))},t.\u0275dir=i.Hb({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class ut{constructor(t,e){this.record=t,this.view=e}}let dt=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new pt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){gt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){gt("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.Q),i.Mb(i.M))},t.\u0275dir=i.Hb({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class pt{constructor(){this.$implicit=null,this.ngIf=null}}function gt(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(i.wb)(e)}'.`)}class ft{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let mt=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Hb({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t})(),bt=(()=>{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new ft(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.Q),i.Mb(i.M),i.Mb(mt,1))},t.\u0275dir=i.Hb({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),_t=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,i]=t.split(".");null!=(e=null!=e&&i?`${e}${i}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.l),i.Mb(i.u),i.Mb(i.F))},t.\u0275dir=i.Hb({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}
1),t})(),vt=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(t){const e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)}_hasContextShapeChanged(t){const e=Object.keys(t.previousValue||{}),n=Object.keys(t.currentValue||{});if(e.length===n.length){for(let t of n)if(-1===e.indexOf(t))return!0;return!1}return!0}_updateExistingContext(t){for(let e of Object.keys(t))this._viewRef.context[e]=this.ngTemplateOutletContext[e]}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.Q))},t.\u0275dir=i.Hb({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[i.zb]}),t})();function yt(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${Object(i.wb)(t)}'`)}let wt=(()=>{class t{constructor(t){this.locale=t}transform(e,n="mediumDate",s,r){if(null==e||""===e||e!=e)return null;try{return function(t,e,n,s){let r=function(t){if(et(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){const[e,n,i]=t.split("-").map(t=>+t);return new Date(e,n-1,i)}let n;if(n=t.match(F))return function(t){const e=new Date(0);let n=0,i=0;const s=t[8]?e.setUTCFullYear:e.setFullYear,r=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),s.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const o=Number(t[4]||0)-n,a=Number(t[5]||0)-i,l=Number(t[6]||0),c=Math.round(1e3*parseFloat("0."+(t[7]||0)));return r.call(e,o,a,l,c),e}(n)}const e=new Date(t);if(!et(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=function t(e,n){const s=function(t){return Object(i.lb)(t)[i.cb.LocaleId]}(e);if(G[s]=G[s]||{},G[s][n])return G[s][n];let r="";switch(n){case"shortDate":r=D(e,k.Short);break;case"mediumDate":r=D(e,k.Medium);break;case"longDate":r=D(e,k.Long);break;case"fullDate":r=D(e,k.Full);break;case"shortTime":r=R(e,k.Short);break;case"mediumTime":r=R(e,k.Medium);break;case"longTime":r=R(e,k.Long);break;case"fullTime":r=R(e,k.Full);break;case"short":const n=t(e,"shortTime"),i=t(e,"shortDate");r=X(N(e,k.Short),[n,i]);break;case"medium":const s=t(e,"mediumTime"),o=t(e,"mediumDate");r=X(N(e,k.Medium),[s,o]);break;case"long":const a=t(e,"longTime"),l=t(e,"longDate");r=X(N(e,k.Long),[a,l]);break;case"full":const c=t(e,"fullTime"),h=t(e,"fullDate");r=X(N(e,k.Full),[c,h])}return r&&(G[s][n]=r),r}(n,e)||e;let o,a=[];for(;e;){if(o=U.exec(e),!o){a.push(e);break}{a=a.concat(o.slice(1));const t=a.pop();if(!t)break;e=t}}let l=r.getTimezoneOffset();s&&(l=tt(s,l),r=function(t,e,n){const i=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(tt(e,i)-i))}(r,s));let c="";return a.forEach(t=>{const e=function(t){if(J[t])return J[t];let e;switch(t){case"G":case"GG":case"GGG":e=Q($.Eras,A.Abbreviated);break;case"GGGG":e=Q($.Eras,A.Wide);break;case"GGGGG":e=Q($.Eras,A.Narrow);break;case"y":e=q(W.FullYear,1,0,!1,!0);break;case"yy":e=q(W.FullYear,2,0,!0,!0);break;case"yyy":e=q(W.FullYear,3,0,!1,!0);break;case"yyyy":e=q(W.FullYear,4,0,!1,!0);break;case"M":case"L":e=q(W.Month,1,1);break;case"MM":case"LL":e=q(W.Month,2,1);break;case"MMM":e=Q($.Months,A.Abbreviated);break;case"MMMM":e=Q($.Months,A.Wide);break;case"MMMMM":e=Q($.Months,A.Narrow);break;case"LLL":e=Q($.Months,A.Abbreviated,P.Standalone);break;case"LLLL":e=Q($.Months,A.Wide,P.Standalone);break;case"LLLLL":e=Q($.Months,A.Narrow,P.Standalone);break;case"w":e=Y(1);break;case"ww":e=Y(2);break;case"W":e=Y(1,!0);break;case"d":e=q(W.Date,1);break;case"dd":e=q(W.Date,2);break;case"E":case"EE":case"EEE":e=Q($.Days,A.Abbreviated);break;case"EEEE":e=Q($.Days,A.Wide);break;case"EEEEE":e=Q($.Days,A.Narrow);break;case"EEEEEE":e=Q($.Days,A.Short);break;case"a":case"aa":case"aaa":e=Q($.DayPeriods,A.Abbreviated);break;case"aaaa":e=Q($.DayPeriods,A.Wide);break;case"aaaaa":e=Q($.DayPeriods,A.Narrow);break;
1case"b":case"bb":case"bbb":e=Q($.DayPeriods,A.Abbreviated,P.Standalone,!0);break;case"bbbb":e=Q($.DayPeriods,A.Wide,P.Standalone,!0);break;case"bbbbb":e=Q($.DayPeriods,A.Narrow,P.Standalone,!0);break;case"B":case"BB":case"BBB":e=Q($.DayPeriods,A.Abbreviated,P.Format,!0);break;case"BBBB":e=Q($.DayPeriods,A.Wide,P.Format,!0);break;case"BBBBB":e=Q($.DayPeriods,A.Narrow,P.Format,!0);break;case"h":e=q(W.Hours,1,-12);break;case"hh":e=q(W.Hours,2,-12);break;case"H":e=q(W.Hours,1);break;case"HH":e=q(W.Hours,2);break;case"m":e=q(W.Minutes,1);break;case"mm":e=q(W.Minutes,2);break;case"s":e=q(W.Seconds,1);break;case"ss":e=q(W.Seconds,2);break;case"S":e=q(W.FractionalSeconds,1);break;case"SS":e=q(W.FractionalSeconds,2);break;case"SSS":e=q(W.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Z(z.Short);break;case"ZZZZZ":e=Z(z.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Z(z.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Z(z.Long);break;default:return null}return J[t]=e,e}(t);c+=e?e(r,n,l):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}(e,n,r||this.locale,s)}catch(o){throw yt(t,o.message)}}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.v))},t.\u0275pipe=i.Lb({name:"date",type:t,pure:!0}),t})(),St=(()=>{class t{constructor(t,e="USD"){this._locale=t,this._defaultCurrencyCode=e}transform(e,n,s="symbol",r,o){if(function(t){return null==t||""===t||t!=t}(e))return null;o=o||this._locale,"boolean"==typeof s&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),s=s?"symbol":"code");let a=n||this._defaultCurrencyCode;"code"!==s&&(a="symbol"===s||"symbol-narrow"===s?function(t,e,n="en"){const s=function(t){return Object(i.lb)(t)[i.cb.Currencies]}(n)[t]||x[t]||[],r=s[1];return"narrow"===e&&"string"==typeof r?r:s[0]||t}(a,"symbol"===s?"wide":"narrow",o):s);try{return function(t,e,n,s,r){const o=function(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(";"),s=i[0],r=i[1],o=-1!==s.indexOf(".")?s.split("."):[s.substring(0,s.lastIndexOf("0")+1),s.substring(s.lastIndexOf("0")+1)],a=o[0],l=o[1]||"";n.posPre=a.substr(0,a.indexOf("#"));for(let h=0;h<l.length;h++){const t=l.charAt(h);"0"===t?n.minFrac=n.maxFrac=h+1:"#"===t?n.maxFrac=h+1:n.posSuf+=t}const c=a.split(",");if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,r){const t=s.length-n.posPre.length-n.posSuf.length,e=r.indexOf("#");n.negPre=r.substr(0,e).replace(/'/g,""),n.negSuf=r.substr(e+t).replace(/'/g,"")}else n.negPre=e+n.posPre,n.negSuf=n.posSuf;return n}(function(t,e){return Object(i.lb)(t)[i.cb.NumberFormats][e]}(e,E.Currency),V(e,I.MinusSign));return o.minFrac=function(t){let e;const n=x[t];return n&&(e=n[2]),"number"==typeof e?e:2}(s),o.maxFrac=o.minFrac,function(t,e,n,i,s,r,o=!1){let a="",l=!1;if(isFinite(t)){let c=function(t){let e,n,i,s,r,o=Math.abs(t)+"",a=0;for((n=o.indexOf("."))>-1&&(o=o.replace(".","")),(i=o.search(/e/i))>0?(n<0&&(n=i),n+=+o.slice(i+1),o=o.substring(0,i)):n<0&&(n=o.length),i=0;"0"===o.charAt(i);i++);if(i===(r=o.length))e=[0],n=1;else{for(r--;"0"===o.charAt(r);)r--;for(n-=i,e=[],s=0;i<=r;i++,s++)e[s]=Number(o.charAt(i))}return n>22&&(e=e.splice(0,21),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}(t);o&&(c=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(c));let h=e.minInt,u=e.minFrac,d=e.maxFrac;if(r){const t=r.match(nt);if(null===t)throw new Error(r+" is not a valid digit info");const e=t[1],n=t[3],i=t[5];null!=e&&(h=it(e)),null!=n&&(u=it(n)),null!=i?d=it(i):null!=n&&u>d&&(d=u)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let i=t.digits,s=i.length-t.integerLen;const r=Math.min(Math.max(e,s),n);let o=r+t.integerLen,a=i[o];if(o>0){i.splice(Math.max(t.integerLen,o));for(let t=o;t<i.length;t++)i[t]=0}else{s=Math.max(0,s),t.integerLen=1,i.length=Math.max(1,o=r+1),i[0]=0;for(let t=1;t<o;t++)i[t]=0}if(a>=5)if(o-1<0){for(let e=0;e>o;e--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[o-1]++;for(;s<Math.max(0,r);s++)i.push(0);let l=0!==r;
1const c=e+t.integerLen,h=i.reduceRight((function(t,e,n,i){return i[n]=(e+=t)<10?e:e-10,l&&(0===i[n]&&n>=c?i.pop():l=!1),e>=10?1:0}),0);h&&(i.unshift(h),t.integerLen++)}(c,u,d);let p=c.digits,g=c.integerLen;const f=c.exponent;let m=[];for(l=p.every(t=>!t);g<h;g++)p.unshift(0);for(;g<0;g++)p.unshift(0);g>0?m=p.splice(g,p.length):(m=p,p=[0]);const b=[];for(p.length>=e.lgSize&&b.unshift(p.splice(-e.lgSize,p.length).join(""));p.length>e.gSize;)b.unshift(p.splice(-e.gSize,p.length).join(""));p.length&&b.unshift(p.join("")),a=b.join(V(n,i)),m.length&&(a+=V(n,s)+m.join("")),f&&(a+=V(n,I.Exponential)+"+"+f)}else a=V(n,I.Infinity);return a=t<0&&!l?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}(t,o,e,I.CurrencyGroup,I.CurrencyDecimal,r).replace("\xa4",n).replace("\xa4","").trim()}(function(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),o,a,n,r)}catch(l){throw yt(t,l.message)}}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(i.v),i.Mb(i.k))},t.\u0275pipe=i.Lb({name:"currency",type:t,pure:!0}),t})(),Ct=(()=>{class t{}return t.\u0275mod=i.Kb({type:t}),t.\u0275inj=i.Jb({factory:function(e){return new(e||t)},providers:[{provide:st,useClass:rt}]}),t})();const Ot="browser";function Tt(t){return t===Ot}let xt=(()=>{class t{}return t.\u0275prov=Object(i.Ib)({token:t,providedIn:"root",factory:()=>new Et(Object(i.Vb)(l),window,Object(i.Vb)(i.m))}),t})();class Et{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);const n=this.document.querySelector(`[name='${t}']`);if(n)return void this.scrollToElement(n)}catch(e){this.errorHandler.handleError(e)}}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],i-s[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}},pKmL:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var i=n("ofXK"),s=n("PCNd"),r=n("TY1r"),o=n("G/Ji"),a=n("LcAk"),l=n("dCan"),c=n("mgaL"),h=n("0DX0"),u=n("bhfF"),d=n("tk/3"),p=n("fXoL");let g=(()=>{class t{}return t.\u0275mod=p.Kb({type:t}),t.\u0275inj=p.Jb({factory:function(e){return new(e||t)},imports:[[i.b,s.a,r.b,o.a,a.f,l.b,c.a,h.c,u.b,d.b],s.a,o.a,a.f,r.b,l.b,h.c,u.b,d.b]}),t})()},pLZG:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("7o/Q");function s(t,e){return function(n){return n.lift(new r(t,e))}}
1class r{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}class o extends i.a{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},quSY:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("DH7j"),s=n("XoHu"),r=n("n6bG");const o=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let a=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:a,_unsubscribe:c,_subscriptions:h}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(Object(r.a)(c)){a&&(this._unsubscribe=void 0);try{c.call(this)}catch(u){e=u instanceof o?l(u.errors):[u]}}if(Object(i.a)(h)){let t=-1,n=h.length;for(;++t<n;){const n=h[t];if(Object(s.a)(n))try{n.unsubscribe()}catch(u){e=e||[],u instanceof o?e=e.concat(l(u.errors)):e.push(u)}}}if(e)throw new o(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:i}=n;if(null===i)n._parentOrParents=this;else if(i instanceof t){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}const s=this._subscriptions;return null===s?this._subscriptions=[n]:s.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}var e;return t.EMPTY=((e=new t).closed=!0,e),t})();function l(t){return t.reduce((t,e)=>t.concat(e instanceof o?e.errors:e),[])}},sVev:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})()},"tk/3":function(t,e,n){"use strict";n.d(e,"a",(function(){return x})),n.d(e,"b",(function(){return F})),n.d(e,"c",(function(){return d}));var i=n("fXoL"),s=n("LRne"),r=n("HDdC"),o=n("bOdf"),a=n("pLZG"),l=n("lJxs"),c=n("ofXK");class h{}class u{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),s=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}
vendor: 8,615 bytes, line 1
1copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const s=t.value;if(s){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===s.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return g(t)}encodeValue(t){return g(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function g(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class f{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.split("&").forEach(t=>{const i=t.indexOf("="),[s,r]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],o=n.get(s)||[];o.push(r),n.set(s,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new f({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function m(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function b(t){return"undefined"!=typeof Blob&&t instanceof Blob}function _(t){return"undefined"!=typeof FormData&&t instanceof FormData}class v{constructor(t,e,n,i){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,s=i):s=n,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.params&&(this.params=s.params)),this.headers||(this.headers=new d),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new f,this.urlWithParams=e}serializeBody(){return null===this.body?null:m(this.body)||b(this.body)||_(this.body)||"string"==typeof this.body?this.body:this.body instanceof f?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||_(this.body)?null:b(this.body)?this.body.type||null:m(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof f?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,i=t.responseType||this.responseType,s=void 0!==t.body?t.body:this.body,r=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,o=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let a=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(a=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),a)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new v(e,n,s,{params:l,headers:a,reportProgress:o,responseType:i,withCredentials:r})}}var y=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class w{constructor(t,e=200,n="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class S extends w{constructor(t={}){super(t),this.type=y.ResponseHeader}clone(t={}){return new S({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class C extends w{constructor(t={}){super(t),this.type=y.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new C({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class O extends w{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function T(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let x=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof v)i=t;else{let s=void 0;s=n.headers instanceof d?n.headers:new d(n.headers);let r=void 0;n.params&&(r=n.params instanceof f?n.params:new f({fromObject:n.params})),i=new v(t,e,void 0!==n.body?n.body:null,{headers:s,params:r,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const r=Object(s.a)(i).pipe(Object(o.a)(t=>this.handler.handle(t)));if(t instanceof v||"events"===n.observe)return r;const c=r.pipe(Object(a.a)(t=>t instanceof C));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return c.pipe(Object(l.a)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return c.pipe(Object(l.a)(t=>t.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new f).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,T(n,e))}post(t,e,n={}){return this.request("POST",t,T(n,e))}put(t,e,n={}){return this.request("PUT",t,T(n,e))}}
1return t.\u0275fac=function(e){return new(e||t)(i.Vb(h))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})();class E{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const M=new i.r("HTTP_INTERCEPTORS");let P=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})();const A=/^\)\]\}',?\n/;class k{}let I=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})(),D=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new r.a(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let s=null;const r=()=>{if(null!==s)return s;const e=1223===n.status?204:n.status,i=n.statusText||"OK",r=new d(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return s=new S({headers:r,status:e,statusText:i,url:o}),s},o=()=>{let{headers:i,status:s,statusText:o,url:a}=r(),l=null;204!==s&&(l=void 0===n.response?n.responseText:n.response),0===s&&(s=l?200:0);let c=s>=200&&s<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(A,"");try{l=""!==l?JSON.parse(l):null}catch(h){l=t,c&&(c=!1,l={error:h,text:l})}}c?(e.next(new C({body:l,headers:i,status:s,statusText:o,url:a||void 0})),e.complete()):e.error(new O({error:l,headers:i,status:s,statusText:o,url:a||void 0}))},a=t=>{const{url:i}=r(),s=new O({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(s)};let l=!1;const c=i=>{l||(e.next(r()),l=!0);let s={type:y.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(s.total=i.total),"text"===t.responseType&&n.responseText&&(s.partialText=n.responseText),e.next(s)},h=t=>{let n={type:y.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),t.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",h)),n.send(i),e.next({type:y.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",o),t.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",h)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(i.Vb(k))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})();const R=new i.r("XSRF_COOKIE_NAME"),N=new i.r("XSRF_HEADER_NAME");class V{}let L=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(c.y)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(i.Vb(c.d),i.Vb(i.C),i.Vb(R))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})(),H=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}
1return t.\u0275fac=function(e){return new(e||t)(i.Vb(V),i.Vb(N))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})(),j=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(M,[]);this.chain=t.reduceRight((t,e)=>new E(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Vb(u),i.Vb(i.s))},t.\u0275prov=i.Ib({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:H,useClass:P}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:R,useValue:e.cookieName}:[],e.headerName?{provide:N,useValue:e.headerName}:[]]}}}return t.\u0275mod=i.Kb({type:t}),t.\u0275inj=i.Jb({factory:function(e){return new(e||t)},providers:[H,{provide:M,useExisting:H,multi:!0},{provide:V,useClass:L},{provide:R,useValue:"XSRF-TOKEN"},{provide:N,useValue:"X-XSRF-TOKEN"}]}),t})(),F=(()=>{class t{}return t.\u0275mod=i.Kb({type:t}),t.\u0275inj=i.Jb({factory:function(e){return new(e||t)},providers:[x,{provide:h,useClass:j},D,{provide:u,useExisting:D},I,{provide:k,useExisting:I}],imports:[[B.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},tkJt:function(t,e,n){"use strict";n.d(e,"c",(function(){return b})),n.d(e,"e",(function(){return S})),n.d(e,"f",(function(){return T})),n.d(e,"d",(function(){return E})),n.d(e,"b",(function(){return M})),n.d(e,"g",(function(){return P})),n.d(e,"a",(function(){return A}));var i=n("ofXK"),s=n("fXoL"),r=n("XNiG"),o=n("quSY"),a=n("LRne"),l=n("3+Bf"),c=n("vkgz"),h=n("Kj3r"),u=n("pLZG"),d=n("lJxs"),p=n("IzEk"),g=n("LSvS"),f=n("dEu6"),m=n("2dEz");class b extends class{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new r.a,this._typeaheadSubscription=o.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new r.a,this.change=new r.a,t instanceof s.E&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){if(this._items.length&&this._items.some(t=>"function"!=typeof t.getLabel))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(c.a)(t=>this._pressedLetters.push(t)),Object(h.a)(t),Object(u.a)(()=>this._pressedLetters.length>0),Object(d.a)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n<e.length+1;n++){const i=(this._activeItemIndex+n)%e.length,s=e[i];if(!this._skipPredicateFn(s)&&0===s.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(i);break}}this._pressedLetters=[]}),this}setActiveItem(t){const e=this._activeItemIndex;this.updateActiveItem(t),this._activeItemIndex!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(e=>!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case l.k:return void this.tabOut.next();case l.b:if(this._vertical&&n){this.setNextItemActive();break}return;case l.l:if(this._vertical&&n){this.setPreviousItemActive();break}return;case l.i:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.g:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((n||Object(l.o)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=l.a&&e<=l.m||e>=l.n&&e<=l.h)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}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(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}updateActiveItemIndex(t){this.updateActiveItem(t)}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof s.E?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let _=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){const t=e&&e.nodeName.toLowerCase();if(-1===y(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===t)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}let i=t.nodeName.toLowerCase(),s=y(t);if(t.hasAttribute("contenteditable"))return-1!==s;if("iframe"===i)return!1;if("audio"===i){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}
1if("video"===i){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==i||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0}isFocusable(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||v(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(g.a))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(s.Ib)({factory:function(){return new t(Object(s.Vb)(g.a))},token:t,providedIn:"root"}),t})();function v(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function y(t){if(!v(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class w{constructor(t,e,n,i,s=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null}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(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n<e.length;n++)e[n].hasAttribute("cdk-focus-"+t)?console.warn(`Found use of deprecated attribute 'cdk-focus-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]):e[n].hasAttribute("cdk-focus-region-"+t)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${t}', use 'cdkFocusRegion${t}' instead. The deprecated attribute will be removed in 8.0.0.`,e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return t?(t.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",t),Object(s.X)()&&!this._checker.isFocusable(t)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",t),t.focu
1s(),!0):this.focusFirstTabbableElement()}focusFirstTabbableElement(){const t=this._getRegionBoundary("start");return t&&t.focus(),!!t}focusLastTabbableElement(){const t=this._getRegionBoundary("end");return t&&t.focus(),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=0;n<e.length;n++){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(t)return t}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=e.length-1;n>=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Object(p.a)(1)).subscribe(t)}}let S=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new w(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(_),s.Vb(s.A),s.Vb(i.d))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(s.Ib)({factory:function(){return new t(Object(s.Vb)(_),Object(s.Vb)(s.A),Object(s.Vb)(i.d))},token:t,providedIn:"root"}),t})();const C=new s.r("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),O=new s.r("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let T=(()=>{class t{constructor(t,e,n,i){this._ngZone=e,this._defaultOptions=i,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let i,s;return 1===e.length&&"number"==typeof e[0]?s=e[0]:[i,s]=e,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==s&&n&&(s=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div");for(let n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);return e.classList.add("cdk-live-announcer-element"),e.classList.add("cdk-visually-hidden"),e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),this._document.body.appendChild(e),e}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(C,8),s.Vb(s.A),s.Vb(i.d),s.Vb(O,8))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(s.Ib)({factory:function(){return new t(Object(s.Vb)(C,8),Object(s.Vb)(s.A),Object(s.Vb)(i.d),Object(s.Vb)(O,8))},token:t,providedIn:"root"}),t})();const x=Object(g.f)({passive:!0,capture:!0});let E=(()=>{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=()=>{this._lastTouchTarget||this._setOriginForCurrentEventQueue("mouse")},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=t.composedPath?t.composedPath()[0]:t.target,this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)}}monitor(t,e=!1){if(!this._platform.isBrowser)return Object(a.a)(null);const n=Object(f.d)(t);if(this._elementInfo.has(n)){let t=this._elementInfo.get(n);return t.checkChildren=e,t.subject.asObservable()}let i={unlisten:()=>{}
1,checkChildren:e,subject:new r.a};this._elementInfo.set(n,i),this._incrementMonitoredElementCount();let s=t=>this._onFocus(t,n),o=t=>this._onBlur(t,n);return this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",s,!0),n.addEventListener("blur",o,!0)}),i.unlisten=()=>{n.removeEventListener("focus",s,!0),n.removeEventListener("blur",o,!0)},i.subject.asObservable()}stopMonitoring(t){const e=Object(f.d)(t),n=this._elementInfo.get(e);n&&(n.unlisten(),n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._decrementMonitoredElementCount())}focusVia(t,e,n){const i=Object(f.d)(t);this._setOriginForCurrentEventQueue(e),"function"==typeof i.focus&&i.focus(n)}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_setClasses(t,e){this._elementInfo.get(t)&&(this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e))}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originTimeoutId=setTimeout(()=>this._origin=null,1)})}_wasCausedByTouch(t){let e=t.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);if(!n||!n.checkChildren&&e!==t.target)return;let i=this._origin;i||(i=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"),this._setClasses(e,i),this._emitOrigin(n.subject,i),this._lastFocusOrigin=i}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_incrementMonitoredElementCount(){1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular(()=>{document.addEventListener("keydown",this._documentKeydownListener,x),document.addEventListener("mousedown",this._documentMousedownListener,x),document.addEventListener("touchstart",this._documentTouchstartListener,x),window.addEventListener("focus",this._windowFocusListener)})}_decrementMonitoredElementCount(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,x),document.removeEventListener("mousedown",this._documentMousedownListener,x),document.removeEventListener("touchstart",this._documentTouchstartListener,x),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(s.A),s.Vb(g.a))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac,providedIn:"root"}),t.ngInjectableDef=Object(s.Ib)({factory:function(){return new t(Object(s.Vb)(s.A),Object(s.Vb)(g.a))},token:t,providedIn:"root"}),t})(),M=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new s.n,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(s.l),s.Mb(E))},t.\u0275dir=s.Hb({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t})();function P(t){return 0===t.buttons}let A=(()=>{class t{}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)},imports:[[i.b,g.b,m.c]]}),t})()},tmjD:function(t,e,n){"use strict";n.d(e,"a",(function(){return m})),n.d(e,"b",(function(){return _}));var i=n("1yKT"),s=n("fXoL"),r=n("3Pt+"),o=n("ofXK");const a=new s.r("config"),l=new s.r("NEW_CONFIG"),c=new s.r("INITIAL_CONFIG"),h={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:".",clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:void 0,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}},u=["Hh:m0:s0","Hh:m0","m0:s0"],d=["percent","Hh","s0","m0","separator","d0/M0/0000","d0/M0","d0","M0"];let p=(()=>{let t=class{constructor(t){this._config=t,this.maskExpression="",this.actualValue="",this.shownMaskExpression="",this._formatWithSeparators=(t,e,n,i)=>{const s=t.split(n),r=s.length>1?`${n}${s[1]}`:"";let o=s[0];const a=this.separatorLimit.replace(/\s/g,"");a&&+a&&(o="-"===o[0]?"-"+o.slice(1,o.length).slice(0,a.length):o.slice(0,a.length));const l=/(\d+)(\d{3})/;for(;e&&l.test(o);)o=o.replace(l,"$1"+e+"$2");return void 0===i?o+r:0===i?o:o+r.substr(0,i+1)},this.percentage=t=>Number(t)>
1=0&&Number(t)<=100,this.getPrecision=t=>{const e=t.split(".");return e.length>1?Number(e[e.length-1]):1/0},this.checkInputPrecision=(t,e,n)=>{if(e<1/0){const i=new RegExp(this._charToRegExpExpression(n)+`\\d{${e}}.*$`),s=t.match(i);(s&&s[0].length-1>e||0===e&&t.endsWith(n))&&(t=t.substring(0,t.length-1))}return t},this._shift=new Set,this.clearIfNotMatch=this._config.clearIfNotMatch,this.dropSpecialCharacters=this._config.dropSpecialCharacters,this.maskSpecialCharacters=this._config.specialCharacters,this.maskAvailablePatterns=this._config.patterns,this.prefix=this._config.prefix,this.suffix=this._config.suffix,this.thousandSeparator=this._config.thousandSeparator,this.decimalMarker=this._config.decimalMarker,this.hiddenInput=this._config.hiddenInput,this.showMaskTyped=this._config.showMaskTyped,this.placeHolderCharacter=this._config.placeHolderCharacter,this.validation=this._config.validation,this.separatorLimit=this._config.separatorLimit,this.allowNegativeNumbers=this._config.allowNegativeNumbers}applyMaskWithPattern(t,e){const[n,i]=e;return this.customPattern=i,this.applyMask(t,n)}applyMask(t,e,n=0,i=(()=>{})){if(null==t||void 0===e)return"";let s=0,r="",o=!1,a=!1,l=1,c=!1;t.slice(0,this.prefix.length)===this.prefix&&(t=t.slice(this.prefix.length,t.length)),this.suffix&&t.endsWith(this.suffix)&&(t=t.slice(0,t.length-this.suffix.length));const h=t.toString().split("");"IP"===e&&(this.ipError=!!(h.filter(t=>"."===t).length<3&&h.length<7),e="099.099.099.099");const u=[];for(let f=0;f<t.length;f++)t[f].match("\\d")&&u.push(t[f]);if("CPF_CNPJ"===e&&(this.cpfCnpjError=!(11===u.length||14===u.length),e=u.length>11?"00.000.000/0000-00":"000.000.000-00"),e.startsWith("percent")){if(t.match("[a-z]|[A-Z]")||t.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/]/)){t=this._stripToDecimal(t);const n=this.getPrecision(e);t=this.checkInputPrecision(t,n,".")}if(t.indexOf(".")>0&&!this.percentage(t.substring(0,t.indexOf(".")))){const e=t.substring(0,t.indexOf(".")-1);t=`${e}${t.substring(t.indexOf("."),t.length)}`}r=this.percentage(t)?t:t.substring(0,t.length-1)}else if(e.startsWith("separator")){(t.match("[w\u0430-\u044f\u0410-\u042f]")||t.match("[\u0401\u0451\u0410-\u044f]")||t.match("[a-z]|[A-Z]")||t.match(/[-@#!$%\\^&*()_\xa3\xac'+|~=`{}\[\]:";<>.?\/]/)||t.match("[^A-Za-z0-9,]"))&&(t=this._stripToDecimal(t)),t=t.length>1&&"0"===t[0]&&t[1]!==this.decimalMarker?t.slice(1,t.length):t;const i=this._charToRegExpExpression(this.thousandSeparator),s=this._charToRegExpExpression(this.decimalMarker),o='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(i,"").replace(s,""),c=new RegExp("["+o+"]");t.match(c)&&(t=t.substring(0,t.length-1));const h=this.getPrecision(e),u=(t=this.checkInputPrecision(t,h,this.decimalMarker)).replace(new RegExp(i,"g"),"");r=this._formatWithSeparators(u,this.thousandSeparator,this.decimalMarker,h);const d=r.indexOf(",")-t.indexOf(","),p=r.length-t.length;if(p>0&&","!==r[n]){a=!0;let t=0;do{this._shift.add(n+t),t++}while(t<p)}else 0!==d&&n>0&&!(r.indexOf(",")>=n&&n>3)||!(r.indexOf(".")>=n&&n>3)&&p<=0?(this._shift.clear(),a=!0,l=p,this._shift.add(n+=p)):this._shift.clear()}else for(let f=0,m=h[0];f<h.length&&s!==e.length;f++,m=h[f])if(this._checkSymbolMask(m,e[s])&&"?"===e[s+1])r+=m,s+=2;else if("*"===e[s+1]&&o&&this._checkSymbolMask(m,e[s+2]))r+=m,s+=3,o=!1;else if(this._checkSymbolMask(m,e[s])&&"*"===e[s+1])r+=m,o=!0;else if("?"===e[s+1]&&this._checkSymbolMask(m,e[s+2]))r+=m,s+=3;else if(this._checkSymbolMask(m,e[s])||this.hiddenInput&&this.maskAvailablePatterns[e[s]]&&this.maskAvailablePatterns[e[s]].symbol===m){if("H"===e[s]&&Number(m)>2){s+=1;const t=/[*?]/g.test(e.slice(0,s))?h.length:s;this._shift.add(t+this.prefix.length||0),f--;continue}if("h"===e[s]&&"2"===r&&Number(m)>3){s+=1,f--;continue}if("m"===e[s]&&Number(m)>5){s+=1;const t=/[*?]/g.test(e.slice(0,s))?h.length:s;this._shift.add(t+this.prefix.length||0),f--;continue}if("s"===e[s]&&Number(m)>5){s+=1;const t=/[*?]/g.test(e.slice(0,s))?h.length:s;this._shift.add(t+this.prefix.length||0),f--;continue}const n=31;if("d"===e[s]&&(Number(t.slice(s,s+2))>n||"/"===t[s+1])){s+=1;const t=/[*?]/g.test(e.slice(0,s))?h.length:s;this._shift.add(t+this.prefix.length||0),f--;continue}if("M"===e[s]){const i=12,r=0===s&&(Number(m)>2||Number(t.slice(s,s+2))>i||"/"===t[s+1]),o=t.slice(s-3,s-1).includes("/")&&("/"===t[s-2]&&Number(t.slice(s-1,s+1))>i&&"/"!==t[s]||"/"===t[s]||"/"===t[s-3]&&Number(t.slice(s-2,s))>i&&"/"!==t[s-1]||"/"===t[s-1]),a=Number(t.slice(s-3,s-1))<=n&&!t.slice(s-3,s-1).includes("/")&&"/"===t[s-1]&&(Number(t.slice(s,s+2))>i||"/"===t[s+1]),l=Number(t.slice(s-3,s-1))>n&&!t.slice(s-3,s-1).includes("/")&&!t.slice(s-2,s).includes("/")&&Number(t.slice(s-2,s))>i,c=Number(t.slice(s-3,s-1))<=n&&!t.slice(s-3,s-1).includes("/")&&"/"!==t[s-1]&&Number(t.slice(s-1,s+1))>i;if(r||o||a||l||c){s+=1;const t=/[*?]/g.test(e.slice(0,s))?h.length:s;this._shift.add(t+this.prefix.length||0),f--;continue}}r+=m,s++}else if(-1!==this.maskSpecialCharacters.indexOf(e[s])){r+=e[s],s++;const t=/[*?]/g.test(e.slice(0,s))?h.length:s;this._shift.add(t+this.prefix.length||0),f--}else this.maskSpecialCharacters.indexOf(m)>-1&&this.maskAvailablePatterns[e[s]]&&this.maskAvailablePatterns[e[s]].optional?(h[s]&&"099.099.099.099"!==e&&"000.000.000-00"!==e&&"00.000.000/0000-00"!==e&&(r+=h[s]),s++,f--):"*"===this.maskExpression[s+1]&&this._findSpecialChar(this.maskExpression[s+2])&&this._findSpecialChar(m)===this.maskExpression[s+2]&&o||"?"===this.maskExpression[s+1]&&this._findSpecialChar(this.maskExpression[s+2])&&this._findSpecialChar(m)===this.maskExpression[s+2]&&o?(s+=3,r+=m):this.showMaskTyped&&this.maskSpecialCharacters.indexOf(m)<0&&m!==this.placeHolderCharacter&&(c=!0);r.length+1===e.length&&-1!==this.maskSpecialCharacters.indexOf(e[e.length-1])&&(r+=e[e.length-1]);let d=n+1;for(;this._shift.has(d);)l++,d++;let p=this._shift.has(n)?l:0;c&&p--,i(p,a),l<0&&this._shift.clear();let g=`${this.prefix}${r}${this.suffix}`;return 0===r.length&&(g=`${this.prefix}${r}`),g}_findSpecialChar(t){return this.maskSpecialCharacters.find(e=>e===t)}_checkSymbolMask(t,e){return this.maskAvailablePatterns=this.customPattern?this.customPattern:this.maskAvailablePatterns,this.maskAvailablePatterns[e]&&this.maskAvailablePatterns[e].pattern&&this.maskAvailablePatterns[e].pattern.test(t)}_stripToDecimal(t){return t.split("").filter((t,e)=>t.match("^-?\\d")||"."===t||","===t||"-"===t&&0===e&&this.allowNegativeNumbers).join("")}_charToRegExpExpression(t){if(t){const e="[\\^$.|?*+()";return" "===t?"\\s":e.indexOf(t)>=0?"\\"+t:t}return t}};return t.\u0275fac=function(e){return new(e||t)(s.Vb(a))},t.\u0275prov=s.Ib({token:t,factory:function(e){return t.\u0275fac(e)}}),t})(),g=(()=>{let t=class extends p{constructor(t,e,n,i){super(e),this.document=t,this._config=e,this._elementRef=n,this._renderer=i,this.maskExpression="",this.isNumberValue=!1,this.placeHolderCharacter="_",this.maskIsShown="",this.selStart=null,this.selEnd=null,this.writingValue=!1,this.onChange=t=>{},this._formElement=this._elementRef.nativeElement}applyMask(t,e,n=0,i=(()=>{})){if(!e)return t;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():"","IP"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(t||"#")),"CPF_CNPJ"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(t||"#")),!t&&this.showMaskTyped)return this.formControlResult(this.prefix),this.prefix+this.maskIsShown;const s=t&&"number"==typeof this.selStart?t[this.selStart]:"";let r="";if(void 0!==this.hiddenInput){let e=this.actualValue.split("");""!==t&&e.length?"number"==typeof this.selStart&&"number"==typeof this.selEnd&&(t.length>e.length?e.splice(this.selStart,0,s):t.length<e.length&&(e.length-t.length==1?e.
1splice(this.selStart-1,1):e.splice(this.selStart,this.selEnd-this.selStart))):e=[],r=this.actualValue.length?this.shiftTypedSymbols(e.join("")):t}r=Boolean(r)&&r.length?r:t;const o=super.applyMask(r,e,n,i);if(this.actualValue=this.getActualValue(o),"."===this.thousandSeparator&&"."===this.decimalMarker&&(this.decimalMarker=","),this.maskExpression.startsWith("separator")&&!0===this.dropSpecialCharacters&&(this.maskSpecialCharacters=this.maskSpecialCharacters.filter(t=>t!==this.decimalMarker)),this.formControlResult(o),!this.showMaskTyped)return this.hiddenInput&&o&&o.length?this.hideInput(o,this.maskExpression):o;const a=this.prefix+this.maskIsShown;return o+("IP"===this.maskExpression||"CPF_CNPJ"===this.maskExpression?a:a.slice(o.length))}applyValueChanges(t=0,e=(()=>{})){this._formElement.value=this.applyMask(this._formElement.value,this.maskExpression,t,e),this._formElement!==this.document.activeElement&&this.clearIfNotMatchFn()}hideInput(t,e){return t.split("").map((t,n)=>this.maskAvailablePatterns&&this.maskAvailablePatterns[e[n]]&&this.maskAvailablePatterns[e[n]].symbol?this.maskAvailablePatterns[e[n]].symbol:t).join("")}getActualValue(t){const e=t.split("").filter((t,e)=>this._checkSymbolMask(t,this.maskExpression[e])||this.maskSpecialCharacters.includes(this.maskExpression[e])&&t===this.maskExpression[e]);return e.join("")===t?e.join(""):t}shiftTypedSymbols(t){let e="";return(t&&t.split("").map((n,i)=>{if(this.maskSpecialCharacters.includes(t[i+1])&&t[i+1]!==this.maskExpression[i+1])return e=n,t[i+1];if(e.length){const t=e;return e="",t}return n})||[]).join("")}showMaskInInput(t){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}if(this.showMaskTyped){if(t){if("IP"===this.maskExpression)return this._checkForIp(t);if("CPF_CNPJ"===this.maskExpression)return this._checkForCpfCnpj(t)}return this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==this._formElement.value.replace(/_/g,"").length&&(this.formElementProperty=["value",""],this.applyMask(this._formElement.value,this.maskExpression))}set formElementProperty([t,e]){this._renderer.setProperty(this._formElement,t,e)}checkSpecialCharAmount(t){return t.split("").filter(t=>this._findSpecialChar(t)).length}removeMask(t){return this._removeMask(this._removeSuffix(this._removePrefix(t)),this.maskSpecialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(t){if("#"===t)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;const e=[];for(let n=0;n<t.length;n++)t[n].match("\\d")&&e.push(t[n]);return e.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:e.length>3&&e.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:e.length>6&&e.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(t){const e=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,n=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if("#"===t)return e;const i=[];for(let s=0;s<t.length;s++)t[s].match("\\d")&&i.push(t[s]);return i.length<=3?e.slice(i.length,e.length):i.length>3&&i.length<=6?e.slice(i.length+1,e.length):i.length>6&&i.length<=9?e.slice(i.length+2,e.length):i.length>9&&i.length<11?e.slice(i.length+3,e.length):11===i.length?"":12===i.length?n.slice(17===t.length?16:15,n.length):i.length>12&&i.length<=14?n.slice(i.length+4,n.length):""}formControlResult(t){this.writingValue||(Array.isArray(this.dropSpecialCharacters)?this.onChange(this._removeMask(this._removeSuffix(this._removePrefix(t)),this.dropSpecialCharacters)):this.onChange(this.dropSpecialCharacters?this._checkSymbol
1s(t):this._removeSuffix(this._removePrefix(t))))}_removeMask(t,e){return t?t.replace(this._regExpForRemove(e),""):t}_removePrefix(t){return this.prefix&&t?t.replace(this.prefix,""):t}_removeSuffix(t){return this.suffix&&t?t.replace(this.suffix,""):t}_retrieveSeparatorValue(t){return this._removeMask(this._removeSuffix(this._removePrefix(t)),this.maskSpecialCharacters)}_regExpForRemove(t){return new RegExp(t.map(t=>"\\"+t).join("|"),"gi")}_checkSymbols(t){if(""===t)return t;const e=this._retrieveSeparatorPrecision(this.maskExpression);let n=this._retrieveSeparatorValue(t);return"."!==this.decimalMarker&&(n=n.replace(this.decimalMarker,".")),this.isNumberValue?e?t===this.decimalMarker?null:this._checkPrecision(this.maskExpression,n):Number(n):n}_retrieveSeparatorPrecision(t){const e=t.match(new RegExp("^separator\\.([^d]*)"));return e?Number(e[1]):null}_checkPrecision(t,e){return t.indexOf("2")>0?Number(e).toFixed(2):Number(e)}};return t.\u0275fac=function(e){return new(e||t)(s.Vb(o.d),s.Vb(a),s.Vb(s.l),s.Vb(s.F))},t.\u0275prov=s.Ib({token:t,factory:function(e){return t.\u0275fac(e)}}),t})();var f;let m=(()=>{let t=f=class{constructor(t,e,n){this.document=t,this._maskService=e,this._config=n,this.maskExpression="",this.specialCharacters=[],this.patterns={},this.prefix="",this.suffix="",this.thousandSeparator=" ",this.decimalMarker=".",this.dropSpecialCharacters=null,this.hiddenInput=null,this.showMaskTyped=null,this.placeHolderCharacter=null,this.shownMaskExpression=null,this.showTemplate=null,this.clearIfNotMatch=null,this.validation=null,this.separatorLimit=null,this.allowNegativeNumbers=null,this._maskValue="",this._position=null,this._maskExpressionArray=[],this.onChange=t=>{},this.onTouch=()=>{}}ngOnChanges(t){const{maskExpression:e,specialCharacters:n,patterns:i,prefix:s,suffix:r,thousandSeparator:o,decimalMarker:a,dropSpecialCharacters:l,hiddenInput:c,showMaskTyped:h,placeHolderCharacter:u,shownMaskExpression:d,showTemplate:p,clearIfNotMatch:g,validation:f,separatorLimit:m,allowNegativeNumbers:b}=t;if(e&&(this._maskValue=e.currentValue||"",e.currentValue&&e.currentValue.split("||").length>1&&(this._maskExpressionArray=e.currentValue.split("||").sort((t,e)=>t.length-e.length),this._maskValue=this._maskExpressionArray[0],this.maskExpression=this._maskExpressionArray[0],this._maskService.maskExpression=this._maskExpressionArray[0])),n){if(!n.currentValue||!Array.isArray(n.currentValue))return;this._maskService.maskSpecialCharacters=n.currentValue||[]}i&&i.currentValue&&(this._maskService.maskAvailablePatterns=i.currentValue),s&&(this._maskService.prefix=s.currentValue),r&&(this._maskService.suffix=r.currentValue),o&&(this._maskService.thousandSeparator=o.currentValue),a&&(this._maskService.decimalMarker=a.currentValue),l&&(this._maskService.dropSpecialCharacters=l.currentValue),c&&(this._maskService.hiddenInput=c.currentValue),h&&(this._maskService.showMaskTyped=h.currentValue),u&&(this._maskService.placeHolderCharacter=u.currentValue),d&&(this._maskService.shownMaskExpression=d.currentValue),p&&(this._maskService.showTemplate=p.currentValue),g&&(this._maskService.clearIfNotMatch=g.currentValue),f&&(this._maskService.validation=f.currentValue),m&&(this._maskService.separatorLimit=m.currentValue),b&&(this._maskService.allowNegativeNumbers=b.currentValue,this._maskService.allowNegativeNumbers&&(this._maskService.maskSpecialCharacters=this._maskService.maskSpecialCharacters.filter(t=>"-"!==t))),this._applyMask()}validate({value:t}
1){if(!this._maskService.validation||!this._maskValue)return null;if(this._maskService.ipError)return this._createValidationError(t);if(this._maskService.cpfCnpjError)return this._createValidationError(t);if(this._maskValue.startsWith("separator"))return null;if(d.includes(this._maskValue))return null;if(this._maskService.clearIfNotMatch)return null;if(u.includes(this._maskValue))return this._validateTime(t);if(t&&t.toString().length>=1){let e=0;for(const n in this._maskService.maskAvailablePatterns)if(this._maskService.maskAvailablePatterns[n].optional&&!0===this._maskService.maskAvailablePatterns[n].optional){if(this._maskValue.indexOf(n)!==this._maskValue.lastIndexOf(n)?e+=this._maskValue.split("").filter(t=>t===n).join("").length:-1!==this._maskValue.indexOf(n)&&e++,-1!==this._maskValue.indexOf(n)&&t.toString().length>=this._maskValue.indexOf(n))return null;if(e===this._maskValue.length)return null}if(1===this._maskValue.indexOf("{")&&t.toString().length===this._maskValue.length+Number(this._maskValue.split("{")[1].split("}")[0])-4)return null;if(1===this._maskValue.indexOf("*")||1===this._maskValue.indexOf("?"))return null;if(this._maskValue.indexOf("*")>1&&t.toString().length<this._maskValue.indexOf("*")||this._maskValue.indexOf("?")>1&&t.toString().length<this._maskValue.indexOf("?")||1===this._maskValue.indexOf("{"))return this._createValidationError(t);if(-1===this._maskValue.indexOf("*")||-1===this._maskValue.indexOf("?")){const n=this._maskService.dropSpecialCharacters?this._maskValue.length-this._maskService.checkSpecialCharAmount(this._maskValue)-e:this._maskValue.length-e;if(t.toString().length<n)return this._createValidationError(t)}}return null}onInput(t){const e=t.target;if(this._inputValue=e.value,this._setMask(),!this._maskValue)return void this.onChange(e.value);const n=1===e.selectionStart?e.selectionStart+this._maskService.prefix.length:e.selectionStart;let i=0,s=!1;if(this._maskService.applyValueChanges(n,(t,e)=>{i=t,s=e}),this.document.activeElement!==e)return;this._position=1===this._position&&1===this._inputValue.length?null:this._position;let r=this._position?this._inputValue.length+n+i:n+("Backspace"!==this._code||s?i:0);r>this._getActualInputLength()&&(r=this._getActualInputLength()),e.setSelectionRange(r,r),(this.maskExpression.includes("H")||this.maskExpression.includes("M"))&&0===i&&e.setSelectionRange(e.selectionStart+1,e.selectionStart+1),this._position=null}onBlur(){this._maskValue&&this._maskService.clearIfNotMatchFn(),this.onTouch()}onFocus(t){if(!this._maskValue)return;const e=t.target;null!==e&&null!==e.selectionStart&&e.selectionStart===e.selectionEnd&&e.selectionStart>this._maskService.prefix.length&&38!==t.keyCode&&this._maskService.showMaskTyped&&(this._maskService.maskIsShown=this._maskService.showMaskInInput(),e.setSelectionRange&&this._maskService.prefix+this._maskService.maskIsShown===e.value?(e.focus(),e.setSelectionRange(0,0)):e.selectionStart>this._maskService.actualValue.length&&e.setSelectionRange(this._maskService.actualValue.length,this._maskService.actualValue.length));const n=e.value&&e.value!==this._maskService.prefix?e.value:this._maskService.prefix+this._maskService.maskIsShown;e.value!==n&&(e.value=n),(e.selectionStart||e.selectionEnd)<=this._maskService.prefix.length?e.selectionStart=this._maskService.prefix.length:e.selectionEnd>this._getActualInputLength()&&(e.selectionEnd=this._getActualInputLength())}onKeyDown(t){if(!this._maskValue)return;this._code=t.code?t.code:t.key;const e=t.target;if(this._inputValue=e.value,this._setMask(),38===t.keyCode&&t.preventDefault(),37===t.keyCode||8===t.keyCode||46===t.keyCode){if(8===t.keyCode&&0===e.value.length&&(e.selectionStart=e.selectionEnd),8===t.keyCode&&0!==e.selectionStart)if(this.specialCharacters=this.specialCharacters||this._config.specialCharacters,this.prefix.length>1&&e.selectionStart<=this.prefix.length)e.setSelectionRange(this.prefix.length,this.prefix.length);else{if(this._inputValue.length!==e.selectionStart&&1!==e.selectionStart)for(;this.specialCharacters.includes(this._inputValue[e.selectionStart-1].toString())&&
1(this.prefix.length>=1&&e.selectionStart>this.prefix.length||0===this.prefix.length);)e.setSelectionRange(e.selectionStart-1,e.selectionStart-1);this.suffixCheckOnPressDelete(t.keyCode,e)}this.suffixCheckOnPressDelete(t.keyCode,e),this._maskService.prefix.length&&e.selectionStart<=this._maskService.prefix.length&&e.selectionEnd<=this._maskService.prefix.length&&t.preventDefault();const n=e.selectionStart;8!==t.keyCode||e.readOnly||0!==n||e.selectionEnd!==e.value.length||0===e.value.length||(this._position=this._maskService.prefix?this._maskService.prefix.length:0,this._maskService.applyMask(this._maskService.prefix,this._maskService.maskExpression,this._position))}this.suffix&&this.suffix.length>1&&this._inputValue.length-this.suffix.length<e.selectionStart?e.setSelectionRange(this._inputValue.length-this.suffix.length,this._inputValue.length):(65===t.keyCode&&!0===t.ctrlKey||65===t.keyCode&&!0===t.metaKey)&&(e.setSelectionRange(0,this._getActualInputLength()),t.preventDefault()),this._maskService.selStart=e.selectionStart,this._maskService.selEnd=e.selectionEnd}writeValue(t){return Object(i.a)(this,void 0,void 0,(function*(){void 0===t&&(t=""),"number"==typeof t&&(t=String(t),t="."!==this.decimalMarker?t.replace(".",this.decimalMarker):t,this._maskService.isNumberValue=!0),t&&this._maskService.maskExpression||this._maskService.maskExpression&&(this._maskService.prefix||this._maskService.showMaskTyped)?(this._maskService.writingValue=!0,this._maskService.formElementProperty=["value",this._maskService.applyMask(t,this._maskService.maskExpression)],this._maskService.writingValue=!1):this._maskService.formElementProperty=["value",t],this._inputValue=t}))}registerOnChange(t){this.onChange=t,this._maskService.onChange=this.onChange}registerOnTouched(t){this.onTouch=t}suffixCheckOnPressDelete(t,e){46===t&&this.suffix.length>0&&this._inputValue.length-this.suffix.length<=e.selectionStart&&e.setSelectionRange(this._inputValue.length-this.suffix.length,this._inputValue.length),8===t&&(this.suffix.length>1&&this._inputValue.length-this.suffix.length<e.selectionStart&&e.setSelectionRange(this._inputValue.length-this.suffix.length,this._inputValue.length),1===this.suffix.length&&this._inputValue.length===e.selectionStart&&e.setSelectionRange(e.selectionStart-1,e.selectionStart-1))}setDisabledState(t){this._maskService.formElementProperty=["disabled",t]}onModelChange(t){t||(this._maskService.actualValue="")}_repeatPatternSymbols(t){return t.match(/{[0-9]+}/)&&t.split("").reduce((e,n,i)=>{if(this._start="{"===n?i:this._start,"}"!==n)return this._maskService._findSpecialChar(n)?e+n:e;this._end=i;const s=Number(t.slice(this._start+1,this._end));return e+new Array(s+1).join(t[this._start-1])},"")||t}_applyMask(){this._maskService.maskExpression=this._repeatPatternSymbols(this._maskValue||""),this._maskService.formElementProperty=["value",this._maskService.applyMask(this._inputValue,this._maskService.maskExpression)]}_validateTime(t){const e=this._maskValue.split("").filter(t=>":"!==t).length;return null===t||0===t.length?null:0==+t[t.length-1]&&t.length<e||t.length<=e-2?this._createValidationError(t):null}_getActualInputLength(){return this._maskService.actualValue.length||this._maskService.actualValue.length+this._maskService.prefix.length}_createValidationError(t){return{mask:{requiredMask:this._maskValue,actualValue:t}}}_setMask(){this._maskExpressionArray.length>0&&this._maskExpressionArray.some(t=>{const e=this._maskService.removeMask(this._inputValue).length<=this._maskService.removeMask(t).length;if(this._inputValue&&e)return this._maskValue=t,this.maskExpression=t,this._maskService.maskExpression=t,e;this._maskValue=this._maskExpressionArray[this._maskExpressionArray.length-1],this.maskExpression=this._maskExpressionArray[this._maskExpressionArray.length-1],this._maskService.maskExpression=this._maskExpressionArray[this._maskExpressionArray.length-1]})}};return t.\u0275fac=function(e){return new(e||t)(s.Mb(o.d),s.Mb(g),s.Mb(a))},t.\u0275dir=s.Hb({type:t,selectors:[["input","mask",""],["textarea","mask",""]],hostBindings:function(t,e){1&t&&s.Yb("input",(function(t){return e.onInput(t)}))("blur",(function(){return e.onBlur()}))("click",(function(t){return e.onFocus(t)}))("keydown",(function(t){return e.onKeyDown(t)}))("ngModelChange",(function(t){return e.onModelChange(t)}
1))},inputs:{maskExpression:["mask","maskExpression"],specialCharacters:"specialCharacters",patterns:"patterns",prefix:"prefix",suffix:"suffix",thousandSeparator:"thousandSeparator",decimalMarker:"decimalMarker",dropSpecialCharacters:"dropSpecialCharacters",hiddenInput:"hiddenInput",showMaskTyped:"showMaskTyped",placeHolderCharacter:"placeHolderCharacter",shownMaskExpression:"shownMaskExpression",showTemplate:"showTemplate",clearIfNotMatch:"clearIfNotMatch",validation:"validation",separatorLimit:"separatorLimit",allowNegativeNumbers:"allowNegativeNumbers"},features:[s.Ab([{provide:r.j,useExisting:Object(s.V)(()=>f),multi:!0},{provide:r.i,useExisting:Object(s.V)(()=>f),multi:!0},g]),s.zb]}),t})();var b;let _=(()=>{let t=b=class{static forRoot(t){return{ngModule:b,providers:[{provide:l,useValue:t},{provide:c,useValue:h},{provide:a,useFactory:v,deps:[c,l]},p]}}static forChild(){return{ngModule:b}}};return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)}}),t})();function v(t,e){return Object.assign(Object.assign({},t),e instanceof Function?e():e)}},tyNb:function(t,e,n){"use strict";n.d(e,"a",(function(){return Rt})),n.d(e,"b",(function(){return N})),n.d(e,"c",(function(){return qe})),n.d(e,"d",(function(){return Qe})),n.d(e,"e",(function(){return Je})),n.d(e,"f",(function(){return Ze})),n.d(e,"g",(function(){return un})),n.d(e,"h",(function(){return tn}));var i=n("ofXK"),s=n("fXoL"),r=n("LRne"),o=n("Cfvw"),a=n("XNiG"),l=n("9ppp");class c extends a.a{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new l.a;return this._value}next(t){super.next(this._value=t)}}var h=n("itXk"),u=n("HDdC"),d=n("sVev"),p=n("NXyV"),g=n("EY2u"),f=n("lJxs"),m=n("0EUg"),b=n("pLZG"),_=n("BFxc"),v=n("XDbj"),y=n("xbPD"),w=n("SpAZ"),S=n("eIep"),C=n("IzEk"),O=n("JX91"),T=n("Kqap"),x=n("JIr8"),E=n("SxV6"),M=n("5+tZ"),P=n("vkgz"),A=n("bOdf"),k=n("nYR2"),I=n("bHdf");class D{constructor(t,e){this.id=t,this.url=e}}class R extends D{constructor(t,e,n="imperative",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class N extends D{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class V extends D{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class L extends D{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class H extends D{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class j extends D{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class B extends D{constructor(t,e,n,i,s){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class F extends D{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class G extends D{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class U{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class z{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class W{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ${constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class X{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class K{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class q{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Q{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Z(t){return new Q(t)}function Y(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function J(t,e,n){const i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.length<t.length))return null;const s={};for(let r=0;r<i.length;r++){const e=i[r],n=t[r];
1if(e.startsWith(":"))s[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,i.length),posParams:s}}function tt(t,e){const n=Object.keys(t),i=Object.keys(e);if(!n||!i||n.length!=i.length)return!1;let s;for(let r=0;r<n.length;r++)if(s=n[r],!et(t[s],e[s]))return!1;return!0}function et(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;const n=[...t].sort(),i=[...e].sort();return n.every((t,e)=>i[e]===t)}return t===e}function nt(t){return Array.prototype.concat.apply([],t)}function it(t){return t.length>0?t[t.length-1]:null}function st(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function rt(t){return Object(s.sb)(t)?t:Object(s.tb)(t)?Object(o.a)(Promise.resolve(t)):Object(r.a)(t)}function ot(t,e,n){return n?function(t,e){return tt(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!ht(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children){if(!e.children[i])return!1;if(!t(e.children[i],n.children[i]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>et(t[n],e[n]))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,i,s){if(n.segments.length>s.length)return!!ht(n.segments.slice(0,s.length),s)&&!i.hasChildren();if(n.segments.length===s.length){if(!ht(n.segments,s))return!1;for(const e in i.children){if(!n.children[e])return!1;if(!t(n.children[e],i.children[e]))return!1}return!0}{const t=s.slice(0,n.segments.length),r=s.slice(n.segments.length);return!!ht(n.segments,t)&&!!n.children.primary&&e(n.children.primary,i,r)}}(e,n,n.segments)}(t.root,e.root)}class at{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Z(this.queryParams)),this._queryParamMap}toString(){return gt.serialize(this)}}class lt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,st(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ft(this)}}class ct{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Z(this.parameters)),this._parameterMap}toString(){return wt(this)}}function ht(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function ut(t,e){let n=[];return st(t.children,(t,i)=>{"primary"===i&&(n=n.concat(e(t,i)))}),st(t.children,(t,i)=>{"primary"!==i&&(n=n.concat(e(t,i)))}),n}class dt{}class pt{parse(t){const e=new xt(t);return new at(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+function t(e,n){if(!e.hasChildren())return ft(e);if(n){const n=e.children.primary?t(e.children.primary,!1):"",i=[];return st(e.children,(e,n)=>{"primary"!==n&&i.push(`${n}:${t(e,!1)}`)}),i.length>0?`${n}(${i.join("//")})`:n}{const n=ut(e,(n,i)=>"primary"===i?[t(e.children.primary,!1)]:[`${i}:${t(n,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children.primary?`${ft(e)}/${n[0]}`:`${ft(e)}/(${n.join("//")})`}}(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${bt(e)}=${bt(t)}`).join("&"):`${bt(e)}=${bt(n)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const gt=new pt;function ft(t){return t.segments.map(t=>wt(t)).join("/")}function mt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function bt(t){return mt(t).replace(/%3B/gi,";")}function _t(t){return mt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function vt(t){return decodeURIComponent(t)}function yt(t){return vt(t.replace(/\+/g,"%20"))}function wt(t){return`${_t(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${_t(t)}=${_t(e[t])}`).join("")}`;var e}const St=/^[^\/()?;=#]+/;function Ct(t){const e=t.match(St);return e?e[0]:""}const Ot=/^[^=?&#]+/,Tt=/^[^?&#]+/;class xt{constructor(t){this.url=t,this.remaining=t}
1parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new lt([],{}):new lt([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new lt(t,e)),n}parseSegment(){const t=Ct(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new ct(vt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=Ct(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=Ct(this.remaining);t&&(n=t,this.capture(n))}t[vt(e)]=vt(n)}parseQueryParam(t){const e=function(t){const e=t.match(Ot);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(Tt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=yt(e),s=yt(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(s)}else t[i]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Ct(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let s=void 0;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s="primary");const r=this.parseChildren();e[s]=1===Object.keys(r).length?r.primary:new lt([],r),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Et{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=Mt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Mt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Pt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Pt(t,this._root).map(t=>t.value)}}function Mt(t,e){if(t===e.value)return e;for(const n of e.children){const e=Mt(t,n);if(e)return e}return null}function Pt(t,e){if(t===e.value)return[e];for(const n of e.children){const i=Pt(t,n);if(i.length)return i.unshift(e),i}return[]}class At{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function kt(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class It extends Et{constructor(t,e){super(t),this.snapshot=e,Ht(this,t)}toString(){return this.snapshot.toString()}}function Dt(t,e){const n=function(t,e){const n=new Vt([],{},{},"",{},"primary",e,null,t.root,-1,{});return new Lt("",new At(n,[]))}(t,e),i=new c([new ct("",{})]),s=new c({}),r=new c({}),o=new c({}),a=new c(""),l=new Rt(i,s,o,a,r,"primary",e,n.root);return l.snapshot=n.root,new It(new At(l,[]),n)}class Rt{constructor(t,e,n,i,s,r,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=r,this.component=o,this._futureSnapshot=a}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(Object(f.a)(t=>Z(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(f.a)(t=>Z(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Nt(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;
1i--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class Vt{constructor(t,e,n,i,s,r,o,a,l,c,h){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=s,this.outlet=r,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=h}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=Z(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Z(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Lt extends Et{constructor(t,e){super(e),this.url=t,Ht(this,e)}toString(){return jt(this._root)}}function Ht(t,e){e.value._routerState=t,e.children.forEach(e=>Ht(t,e))}function jt(t){const e=t.children.length>0?` { ${t.children.map(jt).join(", ")} } `:"";return`${t.value}${e}`}function Bt(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,tt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),tt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!tt(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),tt(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function Ft(t,e){var n,i;return tt(t.params,e.params)&&ht(n=t.url,i=e.url)&&n.every((t,e)=>tt(t.parameters,i[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||Ft(t.parent,e.parent))}function Gt(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Ut(t,e,n,i,s){let r={};return i&&st(i,(t,e)=>{r[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new at(n.root===t?e:function t(e,n,i){const s={};return st(e.children,(e,r)=>{s[r]=e===n?i:t(e,n,i)}),new lt(e.segments,s)}(n.root,t,e),r,s)}class zt{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Gt(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(i&&i!==it(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Wt{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function $t(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function Xt(t,e,n){if(t||(t=new lt([],{})),0===t.segments.length&&t.hasChildren())return Kt(t,e,n);const i=function(t,e,n){let i=0,s=e;const r={match:!1,pathIndex:0,commandIndex:0};for(;s<t.segments.length;){if(i>=n.length)return r;const e=t.segments[s],o=$t(n[i]),a=i<n.length-1?n[i+1]:null;if(s>0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!Yt(o,a,e))return r;i+=2}else{if(!Yt(o,{},e))return r;i++}s++}return{match:!0,pathIndex:s,commandIndex:i}}(t,e,n),s=n.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){const e=new lt(t.segments.slice(0,i.pathIndex),{});return e.children.primary=new lt(t.segments.slice(i.pathIndex),t.children),Kt(e,0,s)}return i.match&&0===s.length?new lt(t.segments,{}):i.match&&!t.hasChildren()?qt(t,e,n):i.match?Kt(t,0,s):qt(t,e,n)}function Kt(t,e,n){if(0===n.length)return new lt(t.segments,{});{const i=function(t){return"object"==typeof t[0]&&null!==t[0]&&t[0].outlets?t[0].outlets:{primary:t}}(n),s={};return st(i,(n,i)=>{null!==n&&(s[i]=Xt(t.children[i],e,n))}),st(t.children,(t,e)=>{void 0===i[e]&&(s[e]=t)}),new lt(t.segments,s)}}function qt(t,e,n){const i=t.segments.slice(0,e);let s=0;for(;s<n.length;){if("object"==typeof n[s]&&null!==n[s]&&void 0!==n[s].outlets){const t=Qt(n[s].outlets);return new lt(i,t)}if(0===s&&Gt(n[0])){i.push(new ct(t.segments[e].path,n[0])),s++;continue}const r=$t(n[s]),o=s<n.length-1?n[s+1]:null;r&&o&&Gt(o)?(i.push(new ct(r,Zt(o))),s+=2):(i.push(new ct(r,{})),s++)}return new lt(i,{})}function Qt(t){const e={};return st(t,(t,n)=>{null!==t&&(e[n]=qt(new lt([],{}),0,t))}),e}function Zt(t){const e={};return st(t,(t,n)=>e[n]=""+t),e}function Yt(t,e,n){return t==n.path&&tt(e,n.parameters)}class Jt{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Bt(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=kt(e);
1t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),st(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,s=e?e.value:null;if(i===s)if(i.component){const s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const i=kt(t),s=t.value.component?n.children:e;st(i,(t,e)=>this.deactivateRouteAndItsChildren(t,s)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const i=kt(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new K(t.value.snapshot))}),t.children.length&&this.forwardEvent(new $(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,s=e?e.value:null;if(Bt(i),i===s)if(i.component){const s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),te(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(i.snapshot),s=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=s,e.outlet&&e.outlet.activateWith(i,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function te(t){Bt(t.value),t.children.forEach(te)}class ee{constructor(t,e){this.routes=t,this.module=e}}function ne(t){return"function"==typeof t}function ie(t){return t instanceof at}const se=Symbol("INITIAL_VALUE");function re(){return Object(S.a)(t=>Object(h.a)(...t.map(t=>t.pipe(Object(C.a)(1),Object(O.a)(se)))).pipe(Object(T.a)((t,e)=>{let n=!1;return e.reduce((t,i,s)=>{if(t!==se)return t;if(i===se&&(n=!0),!n){if(!1===i)return i;if(s===e.length-1||ie(i))return i}return t},t)},se),Object(b.a)(t=>t!==se),Object(f.a)(t=>ie(t)?t:!0===t),Object(C.a)(1)))}class oe{constructor(t){this.segmentGroup=t||null}}class ae{constructor(t){this.urlTree=t}}function le(t){return new u.a(e=>e.error(new oe(t)))}function ce(t){return new u.a(e=>e.error(new ae(t)))}function he(t){return new u.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class ue{constructor(t,e,n,i,r){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(s.y)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(Object(f.a)(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(x.a)(t=>{if(t instanceof ae)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof oe)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe(Object(f.a)(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(Object(x.a)(t=>{if(t instanceof oe)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new lt([],{primary:t}):t;return new at(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(f.a)(t=>new lt([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return Object(r.a)({});const n=[],i=[],s={};return st(t,(t,r)=>{const o=e(r,t).pipe(Object(f.a)(t=>s[r]=t));"primary"===r?n.push(o):i.push(o)}),r.a.apply(null,n.concat(i)).pipe(Object(m.a)(),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?Object(b.a)((e,n)=>t(e,n,i)):w.a,Object(_.a)(1),n?Object(y.a)(e):Object(v.a)(()=>new d.a))}(),Object(f.a)(()=>s))}(n.children,(n,i)=>
1this.expandSegmentGroup(t,e,i,n))}expandSegment(t,e,n,i,s,o){return Object(r.a)(...n).pipe(Object(f.a)(a=>this.expandSegmentAgainstRoute(t,e,n,a,i,s,o).pipe(Object(x.a)(t=>{if(t instanceof oe)return Object(r.a)(null);throw t}))),Object(m.a)(),Object(E.a)(t=>!!t),Object(x.a)((t,n)=>{if(t instanceof d.a||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,i,s))return Object(r.a)(new lt([],{}));throw new oe(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,i,s,r,o){return fe(i)!==r?le(e):void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r):le(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,r):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?ce(s):this.lineralizeSegments(n,s).pipe(Object(M.a)(n=>{const s=new lt(n,{});return this.expandSegment(t,s,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,s,r){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=de(e,i,s);if(!o)return le(e);const h=this.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?ce(h):this.lineralizeSegments(i,h).pipe(Object(M.a)(i=>this.expandSegment(t,e,n,i.concat(s.slice(l)),r,!1)))}matchSegmentAgainstRoute(t,e,n,i){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(f.a)(t=>(n._loadedConfig=t,new lt(i,{})))):Object(r.a)(new lt(i,{}));const{matched:s,consumedSegments:o,lastChild:a}=de(e,n,i);if(!s)return le(e);const l=i.slice(a);return this.getChildConfig(t,n,i).pipe(Object(M.a)(t=>{const n=t.module,i=t.routes,{segmentGroup:s,slicedSegments:a}=function(t,e,n,i){return n.length>0&&function(t,e,n){return n.some(n=>ge(t,e,n)&&"primary"!==fe(n))}(t,n,i)?{segmentGroup:pe(new lt(e,function(t,e){const n={};n.primary=e;for(const i of t)""===i.path&&"primary"!==fe(i)&&(n[fe(i)]=new lt([],{}));return n}(i,new lt(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>ge(t,e,n))}(t,n,i)?{segmentGroup:pe(new lt(t.segments,function(t,e,n,i){const s={};for(const r of n)ge(t,e,r)&&!i[fe(r)]&&(s[fe(r)]=new lt([],{}));return Object.assign(Object.assign({},i),s)}(t,n,i,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,o,l,i);return 0===a.length&&s.hasChildren()?this.expandChildren(n,i,s).pipe(Object(f.a)(t=>new lt(o,t))):0===i.length&&0===a.length?Object(r.a)(new lt(o,{})):this.expandSegment(n,s,i,a,"primary",!0).pipe(Object(f.a)(t=>new lt(o.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Object(r.a)(new ee(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(r.a)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(Object(M.a)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(f.a)(t=>(e._loadedConfig=t,t))):function(t){return new u.a(e=>e.error(Y(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Object(r.a)(new ee([],t))}runCanLoadGuards(t,e,n){const i=e.canLoad;if(!i||0===i.length)return Object(r.a)(!0);const s=i.map(i=>{const s=t.get(i);let r;if(function(t){return t&&ne(t.canLoad)}(s))r=s.canLoad(e,n);else{if(!ne(s))throw new Error("Invalid CanLoad guard");r=s(e,n)}return rt(r)});return Object(r.a)(s).pipe(re(),Object(P.a)(t=>{if(!ie(t))return;const e=Y(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),Object(f.a)(t=>!0===t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(r.a)(n);if(i.numberOfChildren>1||!i.children.primary)return he(t.redirectTo);i=i.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const s=this.createSegmentGroup(t,e.root,n,i);return new at(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};
1return st(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);n[i]=e[s]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const s=this.createSegments(t,e.segments,n,i);let r={};return st(e.children,(e,s)=>{r[s]=this.createSegmentGroup(t,e,n,i)}),new lt(s,r)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function de(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const i=(e.matcher||J)(n,t,e);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function pe(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new lt(t.segments.concat(e.segments),e.children)}return t}function ge(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function fe(t){return t.outlet||"primary"}class me{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class be{constructor(t,e){this.component=t,this.route=e}}function _e(t,e,n){const i=t._root;return function t(e,n,i,s,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=kt(n);return e.children.forEach(e=>{!function(e,n,i,s,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,a=n?n.value:null,l=i?i.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const c=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!ht(t.url,e.url);case"pathParamsOrQueryParamsChange":return!ht(t.url,e.url)||!tt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ft(t,e)||!tt(t.queryParams,e.queryParams);case"paramsChange":default:return!Ft(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new me(s)):(o.data=a.data,o._resolvedData=a._resolvedData),t(e,n,o.component?l?l.children:null:i,s,r),c&&r.canDeactivateChecks.push(new be(l&&l.outlet&&l.outlet.component||null,a))}else a&&ye(n,l,r),r.canActivateChecks.push(new me(s)),t(e,null,o.component?l?l.children:null:i,s,r)}(e,o[e.value.outlet],i,s.concat([e.value]),r),delete o[e.value.outlet]}),st(o,(t,e)=>ye(t,i.getContext(e),r)),r}(i,e?e._root:null,n,[i.value])}function ve(t,e,n){const i=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function ye(t,e,n){const i=kt(t),s=t.value;st(i,(t,i)=>{ye(t,s.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new be(s.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,s))}function we(t,e){return null!==t&&e&&e(new X(t)),Object(r.a)(!0)}function Se(t,e){return null!==t&&e&&e(new W(t)),Object(r.a)(!0)}function Ce(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return Object(r.a)(!0);const s=i.map(i=>Object(p.a)(()=>{const s=ve(i,e,n);let r;if(function(t){return t&&ne(t.canActivate)}(s))r=rt(s.canActivate(e,t));else{if(!ne(s))throw new Error("Invalid CanActivate guard");r=rt(s(e,t))}return r.pipe(Object(E.a)())}));return Object(r.a)(s).pipe(re())}function Oe(t,e,n){const i=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>Object(p.a)(()=>{const s=e.guards.map(s=>{const r=ve(s,e.node,n);let o;if(function(t){return t&&ne(t.canActivateChild)}(r))o=rt(r.canActivateChild(i,t));else{if(!ne(r))throw new Error("Invalid CanActivateChild guard");o=rt(r(i,t))}
1return o.pipe(Object(E.a)())});return Object(r.a)(s).pipe(re())}));return Object(r.a)(s).pipe(re())}class Te{}class xe{constructor(t,e,n,i,s,r){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=r}recognize(){try{const t=Pe(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary"),n=new Vt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new At(n,e),s=new Lt(this.url,i);return this.inheritParamsAndData(s._root),Object(r.a)(s)}catch(t){return new u.a(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=Nt(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=ut(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};t.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join("/"),i=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${i}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,i){for(const r of t)try{return this.processSegmentAgainstRoute(r,e,n,i)}catch(s){if(!(s instanceof Te))throw s}if(this.noLeftoversInUrl(e,n,i))return[];throw new Te}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo)throw new Te;if((t.outlet||"primary")!==i)throw new Te;let s,r=[],o=[];if("**"===t.path){const r=n.length>0?it(n).parameters:{};s=new Vt(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ie(t),i,t.component,t,Ee(e),Me(e)+n.length,De(t))}else{const a=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Te;return{consumedSegments:[],lastChild:0,parameters:{}}}const i=(e.matcher||J)(n,t,e);if(!i)throw new Te;const s={};st(i.posParams,(t,e)=>{s[e]=t.path});const r=i.consumed.length>0?Object.assign(Object.assign({},s),i.consumed[i.consumed.length-1].parameters):s;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:r}}(e,t,n);r=a.consumedSegments,o=n.slice(a.lastChild),s=new Vt(r,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Ie(t),i,t.component,t,Ee(e),Me(e)+r.length,De(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=Pe(e,r,o,a,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return[new At(s,t)]}if(0===a.length&&0===c.length)return[new At(s,[])];const h=this.processSegment(a,l,c,"primary");return[new At(s,h)]}}function Ee(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Me(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Pe(t,e,n,i,s){if(n.length>0&&function(t,e,n){return n.some(n=>Ae(t,e,n)&&"primary"!==ke(n))}(t,n,i)){const s=new lt(e,function(t,e,n,i){const s={};s.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const r of n)if(""===r.path&&"primary"!==ke(r)){const n=new lt([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[ke(r)]=n}return s}(t,e,i,new lt(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Ae(t,e,n))}(t,n,i)){const r=new lt(t.segments,function(t,e,n,i,s,r){const o={};for(const a of i)if(Ae(t,n,a)&&!s[ke(a)]){const n=new lt([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===r?t.segments.length:e.length,o[ke(a)]=n}return Object.assign(Object.assign({},s),o)}(t,e,n,i,t.children,s));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}const r=new lt(t.segments,t.children);return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:n}}function Ae(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function ke(t){return t.outlet||"primary"}function Ie(t){return t.data||{}}function De(t){return t.resolve||{}}function Re(t){return function(e){return e.pipe(Object(S.a)(e=>{const n=t(e);return n?Object(o.a)(n).pipe(Object(f.a)(()=>e)):Object(o.a)([e])}))}}class Ne{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}let Ve=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Gb({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&s.Nb(0,"router-outlet")},directives:function(){return[tn]},encapsulation:2}),t})();function Le(t,e=""){for(let n=0;n<t.length;n++){const i=t[n];He(i,je(e,i))}}function He(t,e){if(!t)throw new Error(`\n      Invalid configuration of route '${e}': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    `);if(Array.isArray(t))throw new Error(`Invalid configuration of route '${e}': Array cannot be specified`);if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&"primary"!==t.outlet)throw new Error(`Invalid configuration of route '${e}': a componentless route without children or loadChildren cannot have a named outlet set`);if(t.redirectTo&&t.children)throw new Error(`Invalid configuration of route '${e}': redirectTo and children cannot be used together`);if(t.redirectTo&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': redirectTo and loadChildren cannot be used together`);if(t.children&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': children and loadChildren cannot be used together`);if(t.redirectTo&&t.component)throw new Error(`Invalid configuration of route '${e}': redirectTo and component cannot be used together`);if(t.path&&t.matcher)throw new Error(`Invalid configuration of route '${e}': path and matcher cannot be used together`);if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error(`Invalid configuration of route '${e}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===t.path&&void 0===t.matcher)throw new Error(`Invalid configuration of route '${e}': routes must have either a path or a matcher specified`);if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error(`Invalid configuration of route '${e}': path cannot start with a slash`);if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error(`Invalid configuration of route '{path: "${e}", redirectTo: "${t.redirectTo}"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error(`Invalid configuration of route '${e}': pathMatch can only be set to 'prefix' or 'full'`);t.children&&Le(t.children,e)}function je(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:`${t}/${e.path}`:"":t}function Be(t){const e=t.children&&t.children.map(Be),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=Ve),n}const Fe=new s.r("ROUTES");class Ge{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(f.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new ee(nt(i.injector.get(Fe)).map(Be),i)}))}loadModuleFactory(t){return"string"==typeof t?Object(o.a)(this.loader.load(t)):rt(t()).pipe(Object(M.a)(t=>t instanceof s.w?Object(r.a)(t):Object(o.a)(this.compiler.compileModuleAsync(t))))}}
1class Ue{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new ze,this.attachRef=null}}class ze{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new Ue,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class We{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function $e(t){throw t}function Xe(t,e,n){return e.parse("/")}function Ke(t,e){return Object(r.a)(null)}let qe=(()=>{class t{constructor(t,e,n,i,r,o,l,h){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=h,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new a.a,this.errorHandler=$e,this.malformedUriErrorHandler=Xe,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Ke,afterPreactivation:Ke},this.urlHandlingStrategy=new We,this.routeReuseStrategy=new Ne,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=r.get(s.y),this.console=r.get(s.ab);const u=r.get(s.A);this.isNgZoneEnabled=u instanceof s.A,this.resetConfig(h),this.currentUrlTree=new at(new lt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ge(o,l,t=>this.triggerEvent(new U(t)),t=>this.triggerEvent(new z(t))),this.routerState=Dt(this.currentUrlTree,this.rootComponentType),this.transitions=new c({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(Object(b.a)(t=>0!==t.id),Object(f.a)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Object(S.a)(t=>{let n=!1,i=!1;return Object(r.a)(t).pipe(Object(P.a)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object(S.a)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(r.a)(t).pipe(Object(S.a)(t=>{const n=this.transitions.getValue();return e.next(new R(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?g.a:[t]}),Object(S.a)(t=>Promise.resolve(t)),(i=this.ngModule.injector,s=this.configLoader,o=this.urlSerializer,a=this.config,function(t){return t.pipe(Object(S.a)(t=>function(t,e,n,i,s){return new ue(t,e,n,i,s).apply()}(i,s,o,t.extractedUrl,a).pipe(Object(f.a)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),Object(P.a)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,i,s){return function(r){return r.pipe(Object(M.a)(r=>function(t,e,n,i,s="emptyOnly",r="legacy"){return new xe(t,e,n,i,s,r).recognize()}(t,e,r.urlAfterRedirects,n(r.urlAfterRedirects),i,s).pipe(Object(f.a)(t=>Object.assign(Object.assign({},r),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(P.a)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Object(P.a)(t=>{const n=new H(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var i,s,o,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:s,restoredState:o,extras:a}=t,l=new R(n,this.serializeUrl(i),s,o);e.next(l);const c=Dt(i,this.rootComponentType).snapshot;return Object(r.a)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:i,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}
1))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),g.a}),Re(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),Object(P.a)(t=>{const e=new j(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(f.a)(t=>Object.assign(Object.assign({},t),{guards:_e(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(Object(M.a)(n=>{const{targetSnapshot:i,currentSnapshot:s,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?Object(r.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return Object(o.a)(t).pipe(Object(M.a)(t=>function(t,e,n,i,s){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(r.a)(!0);const a=o.map(r=>{const o=ve(r,e,s);let a;if(function(t){return t&&ne(t.canDeactivate)}(o))a=rt(o.canDeactivate(t,e,n,i));else{if(!ne(o))throw new Error("Invalid CanDeactivate guard");a=rt(o(t,e,n,i))}return a.pipe(Object(E.a)())});return Object(r.a)(a).pipe(re())}(t.component,t.route,n,e,i)),Object(E.a)(t=>!0!==t,!0))}(l,i,s,t).pipe(Object(M.a)(n=>n&&"boolean"==typeof n?function(t,e,n,i){return Object(o.a)(e).pipe(Object(A.a)(e=>Object(o.a)([Se(e.route.parent,i),we(e.route,i),Oe(t,e.path,n),Ce(t,e.route,n)]).pipe(Object(m.a)(),Object(E.a)(t=>!0!==t,!0))),Object(E.a)(t=>!0!==t,!0))}(i,a,t,e):Object(r.a)(n)),Object(f.a)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Object(P.a)(t=>{if(ie(t.guardsResult)){const e=Y(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Object(P.a)(t=>{const e=new B(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Object(b.a)(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new V(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),Re(t=>{if(t.guards.canActivateChecks.length)return Object(r.a)(t).pipe(Object(P.a)(t=>{const e=new F(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(S.a)(t=>{let n=!1;return Object(r.a)(t).pipe((i=this.paramsInheritanceStrategy,s=this.ngModule.injector,function(t){return t.pipe(Object(M.a)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return Object(r.a)(t);let a=0;return Object(o.a)(n).pipe(Object(A.a)(t=>function(t,e,n,i){return function(t,e,n,i){const s=Object.keys(t);if(0===s.length)return Object(r.a)({});const a={};return Object(o.a)(s).pipe(Object(M.a)(s=>function(t,e,n,i){const s=ve(t,e,i);return rt(s.resolve?s.resolve(e,n):s(e,n))}(t[s],e,n,i).pipe(Object(P.a)(t=>{a[s]=t}))),Object(_.a)(1),Object(M.a)(()=>Object.keys(a).length===s.length?Object(r.a)(a):g.a))}(t._resolve,t,e,i).pipe(Object(f.a)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Nt(t,n).resolve),null)))}(t.route,e,i,s)),Object(P.a)(()=>a++),Object(_.a)(1),Object(M.a)(e=>a===n.length?Object(r.a)(t):g.a))}))}),Object(P.a)({next:()=>n=!0,complete:()=>{if(!n){const n=new V(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(n),t.resolve(!1)}}}));var i,s}),Object(P.a)(t=>{const e=new G(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Re(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!o})}),Object(f.a)(t=>{const e=function(t,e,n){const i=function t(e,n,i){if(i&&e.shouldReuseRoute(n.value,i.value.snapshot)){const s=i.value;s._futureSnapshot=n.value;const r=function(e,n,i){return n.children.map(n=>{for(const s of i.children)if(e.shouldReuseRoute(s.value.snapshot,n.value))return t(e,n,s);return t(e,n)})}(e,n,i);return new At(s,r)}{const i=e.retrieve(n.value);if(i){const t=i.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");
1if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(let i=0;i<e.children.length;++i)t(e.children[i],n.children[i])}(n,t),t}{const i=new Rt(new c((s=n.value).url),new c(s.params),new c(s.queryParams),new c(s.fragment),new c(s.data),s.outlet,s.component,s),r=n.children.map(n=>t(e,n));return new At(i,r)}}var s}(t,e._root,n?n._root:void 0);return new It(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Object(P.a)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(s=this.rootContexts,a=this.routeReuseStrategy,l=t=>this.triggerEvent(t),Object(f.a)(t=>(new Jt(a,t.targetRouterState,t.currentRouterState,l).activate(s),t))),Object(P.a)({next(){n=!0},complete(){n=!0}}),Object(k.a)(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new V(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null}),Object(x.a)(n=>{if(i=!0,(s=n)&&s.ngNavigationCancelingError){const i=ie(n.url);i||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new V(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(s),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const i=new L(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(r){t.reject(r)}}var s;return g.a}));var s,a,l}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:i}=e;this.scheduleNavigation(i,t,n,{replaceUrl:!0})},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Le(t),this.config=t.map(Be),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:r,preserveQueryParams:o,queryParamsHandling:a,preserveFragment:l}=e;Object(s.X)()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const c=n||this.routerState.root,h=l?this.currentUrlTree.fragment:r;let u=null;if(a)switch(a){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}else u=o?this.currentUrlTree.queryParams:i||null;return null!==u&&(u=this.removeEmptyProps(u)),function(t,e,n,i,s){if(0===n.length)return Ut(e.root,e.root,e,i,s);const r=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new zt(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return st(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===s?(i.split("/").forEach((i,s)=>{0==s&&"."===i||(0==s&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new zt(n,e,i)}(n);if(r.toRoot())return Ut(e.root,new lt([],{}),e,i,s);const o=function(t,e,n){if(t.isAbsolute)return new Wt(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new Wt(t,t===e.root,0)}const i=Gt(t.commands[0])?0:1;return function(t,e,n){let i=t,s=e,r=n;for(;r>s;){if(r-=s,i=i.parent,!i)throw new Error("Invalid number of '../'");s=i.segments.length}return new Wt(i,!1,s-r)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(r,e,t),a=o.processChildren?Kt(o.segmentGroup,o.index,r.commands):Xt(o.segmentGroup,o.index,r.commands);return Ut(o.segmentGroup,a,e,i,s)}(c,this.currentUrlTree,t,u,h)}navigateByUrl(t,e={skipLocationChange:!1}){Object(s.X)()&&this.isNgZoneEnabled&&!s.A.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did 
1you forget to call 'ngZone.run()'?");const n=ie(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){if(ie(t))return ot(this.currentUrlTree,t,e);const n=this.parseUrl(t);return ot(this.currentUrlTree,n,e)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new N(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,i,s){const r=this.getTransition(),o="imperative"!==e&&"imperative"===(null==r?void 0:r.source),a=(this.lastSuccessfulId===r.id||this.currentNavigation?r.rawUrl:r.urlAfterRedirects).toString()===t.toString();if(o&&a)return Promise.resolve(!0);let l,c,h;s?(l=s.resolve,c=s.reject,h=s.promise):h=new Promise((t,e)=>{l=t,c=e});const u=++this.navigationId;return this.setTransition({id:u,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:l,reject:c,promise:h,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),h.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,i){const s=this.urlSerializer.serialize(t);i=i||{},this.location.isCurrentPathEqualTo(s)||e?this.location.replaceState(s,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(s,"",Object.assign(Object.assign({},i),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(s.O),s.Vb(dt),s.Vb(ze),s.Vb(i.h),s.Vb(s.s),s.Vb(s.x),s.Vb(s.i),s.Vb(void 0))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})(),Qe=(()=>{class t{constructor(t,e,n,i,s){this.router=t,this.route=e,this.commands=[],null==n&&i.setAttribute(s.nativeElement,"tabindex","0")}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(s.X)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:Ye(this.skipLocationChange),replaceUrl:Ye(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Ye(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Ye(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(qe),s.Mb(Rt),s.Wb("tabindex"),s.Mb(s.F),s.Mb(s.l))},t.\u0275dir=s.Hb({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&s.Yb("click",(function(){return e.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"}}),t})(),Ze=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(t=>{t instanceof N&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Object(s.X)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t}ngOnChanges(t){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i){if(0!==t||e||n||i)return!0;
1if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:Ye(this.skipLocationChange),replaceUrl:Ye(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Ye(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Ye(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(qe),s.Mb(Rt),s.Mb(i.i))},t.\u0275dir=s.Hb({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&s.Yb("click",(function(t){return e.onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)})),2&t&&(s.Ub("href",e.href,s.yc),s.Cb("target",e.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[s.zb]}),t})();function Ye(t){return""===t||!!t}let Je=(()=>{class t{constructor(t,e,n,i,s,r){this.router=t,this.element=e,this.renderer=n,this.cdr=i,this.link=s,this.linkWithHref=r,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe(t=>{t instanceof N&&this.update()})}ngAfterContentInit(){this.links.changes.subscribe(t=>this.update()),this.linksWithHrefs.changes.subscribe(t=>this.update()),this.update()}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){this.subscription.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){return e=>t.isActive(e.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(qe),s.Mb(s.l),s.Mb(s.F),s.Mb(s.h),s.Mb(Qe,8),s.Mb(Ze,8))},t.\u0275dir=s.Hb({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){var i;1&t&&(s.Fb(n,Qe,!0),s.Fb(n,Ze,!0)),2&t&&(s.rc(i=s.Zb())&&(e.links=i),s.rc(i=s.Zb())&&(e.linksWithHrefs=i))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[s.zb]}),t})(),tn=(()=>{class t{constructor(t,e,n,i,r){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new s.n,this.deactivateEvents=new s.n,this.name=i||"primary",t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;
1const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,s=new en(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(s.Mb(ze),s.Mb(s.Q),s.Mb(s.j),s.Wb("name"),s.Mb(s.h))},t.\u0275dir=s.Hb({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class en{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Rt?this.route:t===ze?this.childContexts:this.parent.get(t,e)}}class nn{}class sn{preload(t,e){return Object(r.a)(null)}}let rn=(()=>{class t{constructor(t,e,n,i,s){this.router=t,this.injector=i,this.preloadingStrategy=s,this.loader=new Ge(e,n,e=>t.triggerEvent(new U(e)),e=>t.triggerEvent(new z(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(b.a)(t=>t instanceof N),Object(A.a)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(s.y);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return Object(o.a)(n).pipe(Object(I.a)(),Object(f.a)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(M.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(qe),s.Vb(s.x),s.Vb(s.i),s.Vb(s.s),s.Vb(nn))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})(),on=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof R?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof N&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof q&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new q(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(qe),s.Vb(i.s),s.Vb(void 0))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})();const an=new s.r("ROUTER_CONFIGURATION"),ln=new s.r("ROUTER_FORROOT_GUARD"),cn=[i.h,{provide:dt,useClass:pt},{provide:qe,useFactory:function(t,e,n,s,r,o,a,l={},c,h){const u=new qe(null,t,e,n,s,r,o,nt(a));if(c&&(u.urlHandlingStrategy=c),h&&(u.routeReuseStrategy=h),l.errorHandler&&(u.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(u.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){const t=Object(i.x)();u.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return l.onSameUrlNavigation&&(u.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(u.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(u.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(u.relativeLinkResolution=l.relativeLinkResolution),u},deps:[dt,ze,i.h,s.s,s.x,s.i,Fe,an,[class{},new s.B],[class{},new s.B]]},ze,{provide:Rt,useFactory:function(t){return t.routerState.root},deps:[qe]},{provide:s.x,useClass:s.L},rn,sn,class{preload(t,e){return e().pipe(Object(x.a)(()=>Object(r.a)(null)))}},{provide:an,useValue:{enableTracing:!1}}];function hn(){return new s.z("Router",qe)}let un=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[cn,fn(e),{provide:ln,useFactory:gn,deps:[[qe,new s.B,new s.K]]},{provide:an,useValue:n||{}},{provide:i.i,useFactory:pn,deps:[i.r,[new s.p(i.a),new s.B],an]},{provide:on,useFactory:dn,deps:[qe,i.s,an]},{provide:nn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:sn},{provide:s.z,multi:!0,useFactory:hn},[mn,{provide:s.d,multi:!0,useFactory:bn,deps:[mn]},{provide:vn,useFactory:_n,deps:[mn]},{provide:s.b,multi:!0,useExisting:vn}]]}}static forChild(e){return{ngModule:t,providers:[fn(e)]}}}return t.\u0275mod=s.Kb({type:t}),t.\u0275inj=s.Jb({factory:function(e){return new(e||t)(s.Vb(ln,8),s.Vb(qe,8))}}),t})();function dn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new on(t,e,n)}function pn(t,e,n={}){return n.useHash?new i.f(t,e):new i.q(t,e)}function gn(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function fn(t){return[{provide:s.a,multi:!0,useValue:t},{provide:Fe,multi:!0,useValue:t}]}let mn=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new a.a}appInitializer(){return this.injector.get(i.g,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(qe),i=this.injector.get(an);if(this.isLegacyDisabled(i)||this.isLegacyEnabled(i))t(!0);else if("disabled"===i.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==i.initialNavigation)throw new Error(`Invalid initialNavigation options: '${i.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Object(r.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(an),n=this.injector.get(rn),i=this.injector.get(on),r=this.injector.get(qe),o=this.injector.get(s.g);t===o.components[0]&&(this.isLegacyEnabled(e)?r.initialNavigation():this.isLegacyDisabled(e)&&r.setUpLocationChangeListener(),n.setUpPreloading(),i.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}return t.\u0275fac=function(e){return new(e||t)(s.Vb(s.s))},t.\u0275prov=s.Ib({token:t,factory:t.\u0275fac}),t})();function bn(t){return t.appInitializer.bind(t)}function _n(t){return t.bootstrapListener.bind(t)}const vn=new s.r("Router Initializer")},vT00:function(t,e,n){var i,s,r;
1!function(o){if("object"==typeof t.exports){var a=o(0,e);void 0!==a&&(t.exports=a)}else s=[n,e],void 0===(r="function"==typeof(i=o)?i.apply(e,s):i)||(t.exports=r)}((function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=void 0;e.default=["pt",[["AM","PM"],n,n],n,[["D","S","T","Q","Q","S","S"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xe1b."],["domingo","segunda-feira","ter\xe7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xe1bado"],["dom.","seg.","ter.","qua.","qui.","sex.","s\xe1b."]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","fev.","mar.","abr.","mai.","jun.","jul.","ago.","set.","out.","nov.","dez."],["janeiro","fevereiro","mar\xe7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]],n,[["a.C.","d.C."],n,["antes de Cristo","depois de Cristo"]],0,[6,0],["dd/MM/y","d 'de' MMM 'de' y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",n,n,n],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4\xa0#,##0.00","#E0"],"BRL","R$","Real brasileiro",{AUD:["AU$","$"],JPY:["JP\xa5","\xa5"],PTE:["Esc."],RON:[n,"L"],SYP:[n,"S\xa3"],THB:["\u0e3f"],TWD:["NT$"],USD:["US$","$"]},"ltr",function(t){var e=Math.floor(Math.abs(t));return e===Math.floor(e)&&e>=0&&e<=1?1:5}]}))},vkgz:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("7o/Q");function s(){}var r=n("n6bG");function o(t,e,n){return function(i){return i.lift(new a(t,e,n))}}class a{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}class l extends i.a{constructor(t,e,n,i){super(t),this._tapNext=s,this._tapError=s,this._tapComplete=s,this._tapError=n||s,this._tapComplete=i||s,Object(r.a)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||s,this._tapError=e.error||s,this._tapComplete=e.complete||s)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},w1tV:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var i=n("XNiG"),s=n("HDdC"),r=n("7o/Q"),o=n("quSY");function a(){return function(t){return t.lift(new l(t))}}class l{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new c(t,n),s=e.subscribe(i);return i.closed||(i.connection=n.connect()),s}}class c extends r.a{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}class h extends s.a{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new o.a,t.add(this.source.subscribe(new d(this.getSubject(),this))),t.closed&&(this._connection=null,t=o.a.EMPTY)),t}refCount(){return a()(this)}}const u=(()=>{const t=h.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class d extends i.b{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function p(){return new i.a}function g(){return t=>{return a()((e=p,function(t){let n;n="function"==typeof e?e:function(){return e};const i=Object.create(t,u);return i.source=t,i.subjectFactory=n,i})(t));var e}}},xbPD:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("7o/Q");function s(t=null){return e=>e.lift(new r(t))}
1class r{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new o(t,this.defaultValue))}}class o extends i.a{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},xgIS:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var i=n("HDdC"),s=n("DH7j"),r=n("n6bG"),o=n("lJxs");function a(t,e,n,l){return Object(r.a)(n)&&(l=n,n=void 0),l?a(t,e,n).pipe(Object(o.a)(t=>Object(s.a)(t)?l(...t):l(t))):new i.a(i=>{!function t(e,n,i,s,r){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,i,r),o=()=>t.removeEventListener(n,i,r)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(n,i),o=()=>t.off(n,i)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(n,i),o=()=>t.removeListener(n,i)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,a=e.length;o<a;o++)t(e[o],n,i,s,r)}s.add(o)}(t,e,(function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)}),i,n)})}},yCtX:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("HDdC"),s=n("ngJS"),r=n("jZKg");function o(t,e){return e?Object(r.a)(t,e):new i.a(Object(s.a)(t))}},yLV6:function(t,e,n){var i;!function(s,r,o,a){"use strict";var l,c=["","webkit","Moz","MS","ms","o"],h=r.createElement("div"),u=Math.round,d=Math.abs,p=Date.now;function g(t,e,n){return setTimeout(w(t,n),e)}function f(t,e,n){return!!Array.isArray(t)&&(m(t,n[e],n),!0)}function m(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(void 0!==t.length)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function b(t,e,n){var i="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=s.console&&(s.console.warn||s.console.log);return r&&r.call(s.console,i,n),t.apply(this,arguments)}}l="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(null!=i)for(var s in i)i.hasOwnProperty(s)&&(e[s]=i[s])}return e}:Object.assign;var _=b((function(t,e,n){for(var i=Object.keys(e),s=0;s<i.length;)(!n||n&&void 0===t[i[s]])&&(t[i[s]]=e[i[s]]),s++;return t}),"extend","Use `assign`."),v=b((function(t,e){return _(t,e,!0)}),"merge","Use `assign`.");function y(t,e,n){var i,s=e.prototype;(i=t.prototype=Object.create(s)).constructor=t,i._super=s,n&&l(i,n)}function w(t,e){return function(){return t.apply(e,arguments)}}function S(t,e){return"function"==typeof t?t.apply(e&&e[0]||void 0,e):t}function C(t,e){return void 0===t?e:t}function O(t,e,n){m(M(e),(function(e){t.addEventListener(e,n,!1)}))}function T(t,e,n){m(M(e),(function(e){t.removeEventListener(e,n,!1)}))}function x(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function E(t,e){return t.indexOf(e)>-1}function M(t){return t.trim().split(/\s+/g)}function P(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function A(t){return Array.prototype.slice.call(t,0)}function k(t,e,n){for(var i=[],s=[],r=0;r<t.length;){var o=e?t[r][e]:t[r];P(s,o)<0&&i.push(t[r]),s[r]=o,r++}return n&&(i=e?i.sort((function(t,n){return t[e]>n[e]})):i.sort()),i}function I(t,e){for(var n,i,s=e[0].toUpperCase()+e.slice(1),r=0;r<c.length;){if((i=(n=c[r])?n+s:e)in t)return i;r++}}var D=1;function R(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||s}var N="ontouchstart"in s,V=void 0!==I(s,"PointerEvent"),L=N&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),H=["x","y"],j=["clientX","clientY"];function B(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){
vendor: 14,122 bytes, line 1
1S(t.options.enable,[t])&&n.handler(e)},this.init()}function F(t,e,n){var i=n.pointers.length,s=n.changedPointers.length,r=1&e&&i-s==0,o=12&e&&i-s==0;n.isFirst=!!r,n.isFinal=!!o,r&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,i=e.pointers,s=i.length;n.firstInput||(n.firstInput=G(e)),s>1&&!n.firstMultiple?n.firstMultiple=G(e):1===s&&(n.firstMultiple=!1);var r=n.firstInput,o=n.firstMultiple,a=o?o.center:r.center,l=e.center=U(i);e.timeStamp=p(),e.deltaTime=e.timeStamp-r.timeStamp,e.angle=X(a,l),e.distance=$(a,l),function(t,e){var n=e.center,i=t.offsetDelta||{},s=t.prevDelta||{},r=t.prevInput||{};1!==e.eventType&&4!==r.eventType||(s=t.prevDelta={x:r.deltaX||0,y:r.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=s.x+(n.x-i.x),e.deltaY=s.y+(n.y-i.y)}(n,e),e.offsetDirection=W(e.deltaX,e.deltaY);var c,h,u=z(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=u.x,e.overallVelocityY=u.y,e.overallVelocity=d(u.x)>d(u.y)?u.x:u.y,e.scale=o?(c=o.pointers,$((h=i)[0],h[1],j)/$(c[0],c[1],j)):1,e.rotation=o?function(t,e){return X(e[1],e[0],j)+X(t[1],t[0],j)}(o.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,i,s,r,o=t.lastInterval||e,a=e.timeStamp-o.timeStamp;if(8!=e.eventType&&(a>25||void 0===o.velocity)){var l=e.deltaX-o.deltaX,c=e.deltaY-o.deltaY,h=z(a,l,c);i=h.x,s=h.y,n=d(h.x)>d(h.y)?h.x:h.y,r=W(l,c),t.lastInterval=e}else n=o.velocity,i=o.velocityX,s=o.velocityY,r=o.direction;e.velocity=n,e.velocityX=i,e.velocityY=s,e.direction=r}(n,e);var g=t.element;x(e.srcEvent.target,g)&&(g=e.srcEvent.target),e.target=g}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function G(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:u(t.pointers[n].clientX),clientY:u(t.pointers[n].clientY)},n++;return{timeStamp:p(),pointers:e,center:U(e),deltaX:t.deltaX,deltaY:t.deltaY}}function U(t){var e=t.length;if(1===e)return{x:u(t[0].clientX),y:u(t[0].clientY)};for(var n=0,i=0,s=0;s<e;)n+=t[s].clientX,i+=t[s].clientY,s++;return{x:u(n/e),y:u(i/e)}}function z(t,e,n){return{x:e/t||0,y:n/t||0}}function W(t,e){return t===e?1:d(t)>=d(e)?t<0?2:4:e<0?8:16}function $(t,e,n){n||(n=H);var i=e[n[0]]-t[n[0]],s=e[n[1]]-t[n[1]];return Math.sqrt(i*i+s*s)}function X(t,e,n){return n||(n=H),180*Math.atan2(e[n[1]]-t[n[1]],e[n[0]]-t[n[0]])/Math.PI}B.prototype={handler:function(){},init:function(){this.evEl&&O(this.element,this.evEl,this.domHandler),this.evTarget&&O(this.target,this.evTarget,this.domHandler),this.evWin&&O(R(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&T(this.element,this.evEl,this.domHandler),this.evTarget&&T(this.target,this.evTarget,this.domHandler),this.evWin&&T(R(this.element),this.evWin,this.domHandler)}};var K={mousedown:1,mousemove:2,mouseup:4};function q(){this.evEl="mousedown",this.evWin="mousemove mouseup",this.pressed=!1,B.apply(this,arguments)}y(q,B,{handler:function(t){var e=K[t.type];1&e&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=4),this.pressed&&(4&e&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var Q={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},Z={2:"touch",3:"pen",4:"mouse",5:"kinect"},Y="pointerdown",J="pointermove pointerup pointercancel";function tt(){this.evEl=Y,this.evWin=J,B.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}s.MSPointerEvent&&!s.PointerEvent&&(Y="MSPointerDown",J="MSPointerMove MSPointerUp MSPointerCancel"),y(tt,B,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),s=Q[i],r=Z[t.pointerType]||t.pointerType,o="touch"==r,a=P(e,t.pointerId,"pointerId");1&s&&(0===t.button||o)?a<0&&(e.push(t),a=e.length-1):12&s&&(n=!0),a<0||(e[a]=t,this.callback(this.manager,s,{pointers:e,changedPointers:[t],pointerType:r,srcEvent:t}),n&&e.splice(a,1))}});var et={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function nt(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,B.apply(this,arguments)}function it(t,e){var n=A(t.touches),i=A(t.changedTouches);return 12&e&&(n=k(n.concat(i),"identifier",!0)),[n,i]}y(nt,B,{handler:function(t){var e=et[t.type];if(1===e&&(this.started=!0),this.started){var n=it.call(this,t,e);12&e&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}});var st={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function rt(){this.evTarget="touchstart touchmove touchend touchcancel",this.targetIds={},B.apply(this,arguments)}function ot(t,e){var n=A(t.touches),i=this.targetIds;if(3&e&&1===n.length)return i[n[0].identifier]=!0,[n,n];var s,r,o=A(t.changedTouches),a=[],l=this.target;if(r=n.filter((function(t){return x(t.target,l)})),1===e)for(s=0;s<r.length;)i[r[s].identifier]=!0,s++;for(s=0;s<o.length;)i[o[s].identifier]&&a.push(o[s]),12&e&&delete i[o[s].identifier],s++;return a.length?[k(r.concat(a),"identifier",!0),a]:void 0}function at(){B.apply(this,arguments);var t=w(this.handler,this);this.touch=new rt(this.manager,t),this.mouse=new q(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function lt(t,e){1&t?(this.primaryTouch=e.changedPointers[0].identifier,ct.call(this,e)):12&t&&ct.call(this,e)}function ct(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var i=this.lastTouches;setTimeout((function(){var t=i.indexOf(n);t>-1&&i.splice(t,1)}),2500)}}function ht(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var s=this.lastTouches[i],r=Math.abs(e-s.x),o=Math.abs(n-s.y);if(r<=25&&o<=25)return!0}return!1}y(rt,B,{handler:function(t){var e=st[t.type],n=ot.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}),y(at,B,{handler:function(t,e,n){var i="mouse"==n.pointerType;if(!(i&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if("touch"==n.pointerType)lt.call(this,e,n);else if(i&&ht.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var ut=I(h.style,"touchAction"),dt=void 0!==ut,pt=function(){if(!dt)return!1;var t={},e=s.CSS&&s.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){t[n]=!e||s.CSS.supports("touch-action",n)})),t}();function gt(t,e){this.manager=t,this.set(e)}function ft(t){this.options=l({},this.defaults,t||{}),this.id=D++,this.manager=null,this.options.enable=C(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function mt(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function bt(t){return 16==t?"down":8==t?"up":2==t?"left":4==t?"right":""}function _t(t,e){var n=e.manager;return n?n.get(t):t}function vt(){ft.apply(this,arguments)}function yt(){vt.apply(this,arguments),this.pX=null,this.pY=null}function wt(){vt.apply(this,arguments)}function St(){ft.apply(this,arguments),this._timer=null,this._input=null}function Ct(){vt.apply(this,arguments)}function Ot(){vt.apply(this,arguments)}function Tt(){ft.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function xt(t,e){return(e=e||{}).recognizers=C(e.recognizers,xt.defaults.preset),new Et(t,e)}function Et(t,e){var n;this.options=l({},xt.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((n=this).options.inputClass||(V?tt:L?rt:N?at:q))(n,F),this.touchAction=new gt(this,this.options.touchAction),Mt(this,!0),m(this.options.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}function Mt(t,e){var n,i=t.element;i.style&&(m(t.options.cssProps,(function(s,r){n=I(i.style,r),e?(t.oldCssProps[n]=i.style[n],i.style[n]=s):i.style[n]=t.oldCssProps[n]||""})),e||(t.oldCssProps={}))}gt.prototype={set:function(t){"compute"==t&&(t=this.compute()),dt&&this.manager.element.style&&pt[t]&&(this.manager.element.style[ut]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return m(this.manager.recognizers,(function(e){S(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(E(t,"none"))return"none";var e=E(t,"pan-x"),n=E(t,"pan-y");return e&&n?"none":e||n?e?"pan-x":"pan-y":E(t,"manipulation")?"manipulation":"auto"}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var i=this.actions,s=E(i,"none")&&!pt.none,r=E(i,"pan-y")&&!pt["pan-y"],o=E(i,"pan-x")&&!pt["pan-x"];if(s&&1===t.pointers.length&&t.distance<2&&t.deltaTime<250)return;if(!o||!r)return s||r&&6&n||o&&24&n?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}},ft.prototype={defaults:{},set:function(t){return l(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(f(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=_t(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return f(t,"dropRecognizeWith",this)||(t=_t(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(f(t,"requireFailure",this))return this;var e=this.requireFail;return-1===P(e,t=_t(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(f(t,"dropRequireFailure",this))return this;t=_t(t,this);var e=P(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function i(n){e.manager.emit(n,t)}n<8&&i(e.options.event+mt(n)),i(e.options.event),t.additionalEvent&&i(t.additionalEvent),n>=8&&i(e.options.event+mt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},recognize:function(t){var e=l({},t);if(!S(this.options.enable,[this,e]))return this.reset(),void(this.state=32);56&this.state&&(this.state=1),this.state=this.process(e),30&this.state&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},y(vt,ft,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=6&e,s=this.attrTest(t);return i&&(8&n||!s)?16|e:i||s?4&n?8|e:2&e?4|e:2:32}}),y(yt,vt,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var t=this.options.direction,e=[];return 6&t&&e.push("pan-y"),24&t&&e.push("pan-x"),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,s=t.direction,r=t.deltaX,o=t.deltaY;return s&e.direction||(6&e.direction?(s=0===r?1:r<0?2:4,n=r!=this.pX,i=Math.abs(t.deltaX)):(s=0===o?1:o<0?8:16,n=o!=this.pY,i=Math.abs(t.deltaY))),t.direction=s,n&&i>e.threshold&&s&e.direction},attrTest:function(t){return vt.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=bt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),y(wt,vt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?"in":"out")),this._super.emit.call(this,t)}}),y(St,ft,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,s=t.deltaTime>e.time;if(this._input=t,!i||!n||12&t.eventType&&!s)this.reset();else if(1&t.eventType)this.reset(),this._timer=g((function(){this.state=8,this.tryEmit()}),e.time,this);else if(4&t.eventType)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=p(),this.manager.emit(this.options.event,this._input)))}}),y(Ct,vt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),y(Ot,vt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return yt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return 30&n?e=t.overallVelocity:6&n?e=t.overallVelocityX:24&n&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&d(e)>this.options.velocity&&4&t.eventType},emit:function(t){var e=bt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),y(Tt,ft,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,s=t.deltaTime<e.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(i&&s&&n){if(4!=t.eventType)return this.failTimeout();var r=!this.pTime||t.timeStamp-this.pTime<e.interval,o=!this.pCenter||$(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,o&&r?this.count+=1:this.count=1,this._input=t,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=g((function(){this.state=8,this.tryEmit()}
1),e.interval,this),2):8}return 32},failTimeout:function(){return this._timer=g((function(){this.state=32}),this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),xt.VERSION="2.0.7",xt.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[Ct,{enable:!1}],[wt,{enable:!1},["rotate"]],[Ot,{direction:6}],[yt,{direction:6},["swipe"]],[Tt],[Tt,{event:"doubletap",taps:2},["tap"]],[St]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Et.prototype={set:function(t){return l(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var i=this.recognizers,s=e.curRecognizer;(!s||s&&8&s.state)&&(s=e.curRecognizer=null);for(var r=0;r<i.length;)n=i[r],2===e.stopped||s&&n!=s&&!n.canRecognizeWith(s)?n.reset():n.recognize(t),!s&&14&n.state&&(s=e.curRecognizer=n),r++}},get:function(t){if(t instanceof ft)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(f(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(f(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=P(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(void 0!==t&&void 0!==e){var n=this.handlers;return m(M(t),(function(t){n[t]=n[t]||[],n[t].push(e)})),this}},off:function(t,e){if(void 0!==t){var n=this.handlers;return m(M(t),(function(t){e?n[t]&&n[t].splice(P(n[t],e),1):delete n[t]})),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var n=r.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](e),i++}},destroy:function(){this.element&&Mt(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(xt,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:Et,Input:B,TouchAction:gt,TouchInput:rt,MouseInput:q,PointerEventInput:tt,TouchMouseInput:at,SingleTouchInput:nt,Recognizer:ft,AttrRecognizer:vt,Tap:Tt,Pan:yt,Swipe:Ot,Pinch:wt,Rotate:Ct,Press:St,on:O,off:T,each:m,merge:v,extend:_,assign:l,inherit:y,bindFn:w,prefixed:I}),(void 0!==s?s:"undefined"!=typeof self?self:{}).Hammer=xt,void 0===(i=(function(){return xt}).call(e,n,e,t))||(t.exports=i)}(window,document)},"z+Ro":function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,"a",(function(){return i}))},z6cu:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("HDdC");function s(t,e){return new i.a(e?n=>e.schedule(r,0,{error:t,subscriber:n}):e=>e.error(t))}function r({error:t,subscriber:e}){e.error(t)}},zP0r:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("7o/Q");function s(t){return e=>e.lift(new r(t))}
1class r{constructor(t){this.total=t}call(t,e){return e.subscribe(new o(t,this.total))}}class o extends i.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){++this.count>this.total&&this.destination.next(t)}}},zUnb:function(t,e,n){"use strict";n.r(e),n("yLV6");var i=n("fXoL"),s=n("AytR"),r=n("pKmL"),o=n("jhN1"),a=n("R1ws"),l=n("tyNb"),c=n("ofXK"),h=n("vT00"),u=n.n(h);const d=[{path:"",loadChildren:()=>Promise.all([n.e(5),n.e(0),n.e(19)]).then(n.bind(null,"OkuX")).then(t=>t.WwwModule)},{path:"parceiro/:tag",loadChildren:()=>n.e(20).then(n.bind(null,"XXLA")).then(t=>t.PartnerModule)},{path:"mobile",loadChildren:()=>n.e(22).then(n.bind(null,"BUuc")).then(t=>t.MobileModule)},{path:"chat",loadChildren:()=>n.e(21).then(n.bind(null,"CgF7")).then(t=>t.ChatModule)},{path:"prospect",loadChildren:()=>n.e(23).then(n.bind(null,"K5dV")).then(t=>t.ProspectModule)},{path:"cadastro",loadChildren:()=>Promise.all([n.e(1),n.e(2),n.e(0),n.e(31)]).then(n.bind(null,"eYNf")).then(t=>t.CadastroModule)},{path:"beta",loadChildren:()=>Promise.all([n.e(2),n.e(5),n.e(30)]).then(n.bind(null,"9ovq")).then(t=>t.BetaModule)},{path:"qrcode",loadChildren:()=>n.e(18).then(n.bind(null,"wCZE")).then(t=>t.QrcodeModule)},{path:"guiabolso",children:[{path:"**",component:n("ja3W").a,resolve:{url:"externalUrlRedirectResolver"},data:{externalUrl:"triggcc://guiabolso/"},pathMatch:"prefix"}]},{path:"**",redirectTo:""}];let p=(()=>{class t{}return t.\u0275mod=i.Kb({type:t}),t.\u0275inj=i.Jb({factory:function(e){return new(e||t)},providers:[{provide:"externalUrlRedirectResolver",useValue:(t,e)=>{window.location.href=t.data.externalUrl+"?"+new URLSearchParams(t.queryParams).toString()}}],imports:[[l.g.forRoot(d,{useHash:!1,anchorScrolling:"enabled"})],l.g]}),t})(),g=(()=>{class t{constructor(t){this.router=t,this.router.events.subscribe(t=>{})}}return t.\u0275fac=function(e){return new(e||t)(i.Mb(l.c))},t.\u0275cmp=i.Gb({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(t,e){1&t&&i.Nb(0,"router-outlet")},directives:[l.h],styles:[""]}),t})();var f=n("bhfF"),m=n("mgaL"),b=n("9YtQ");Object(c.u)(u.a);let _=(()=>{class t{}return t.\u0275mod=i.Kb({type:t,bootstrap:[g]}),t.\u0275inj=i.Jb({factory:function(e){return new(e||t)},providers:[{provide:i.v,useValue:"pt"},{provide:"googleTagManagerId",useValue:"GTM-PXQZQLS"}],imports:[[o.a,p,r.a,a.b,f.b,l.g,m.a,b.a.forRoot()]]}),t})();s.a.production&&Object(i.U)(),o.h().bootstrapModule(_).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"},zx2A:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return l}));var i=n("7o/Q"),s=n("HDdC"),r=n("SeVD");class o extends i.a{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class a extends i.a{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function l(t,e){if(!e.closed)return t instanceof s.a?t.subscribe(e):Object(r.a)(t)(e)}}},[[0,3]]]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.